swagger.yaml 1.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. ordertime:
  3848. description: 委托时间
  3849. type: string
  3850. origin:
  3851. description: 原产地
  3852. type: string
  3853. performancetemplateid:
  3854. description: 履约计划模板ID
  3855. type: integer
  3856. remark:
  3857. description: 备注
  3858. type: string
  3859. userid:
  3860. description: 用户ID
  3861. type: integer
  3862. validtime:
  3863. description: 有效期限
  3864. type: string
  3865. warehouseids:
  3866. description: 仓库ID - 多个, 逗号分隔
  3867. type: string
  3868. warehouseinfosdisplay:
  3869. type: string
  3870. wrtradeorderid:
  3871. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3872. type: string
  3873. wrtradeorderstatus:
  3874. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3875. type: integer
  3876. zscategory:
  3877. description: 钻石分类 - 枚举”ZSCategory“
  3878. type: integer
  3879. zscategorydisplay:
  3880. type: string
  3881. zsclaritytype:
  3882. description: 净度 - 两个, 逗号分隔
  3883. type: string
  3884. zsclaritytypedisplay:
  3885. type: string
  3886. zscolortype:
  3887. description: 颜色 - 两个, 逗号分隔
  3888. type: string
  3889. zscolortypedisplay:
  3890. type: string
  3891. zscrystaltype:
  3892. description: 晶型 - 多个,逗号分隔
  3893. type: string
  3894. zscrystaltypedisplay:
  3895. type: string
  3896. zscurrencytype:
  3897. description: 货币类型 - 多个, 逗号分隔
  3898. type: string
  3899. zscurrencytypedisplay:
  3900. type: string
  3901. zscuttype:
  3902. description: 切工 - 两个, 逗号分隔
  3903. type: string
  3904. zscuttypedisplay:
  3905. type: string
  3906. zsczcolor1type:
  3907. description: 彩钻颜色1, 逗号分隔
  3908. type: string
  3909. zsczcolor1typedisplay:
  3910. type: string
  3911. zsczcolor2type:
  3912. description: 彩钻颜色2, 逗号分隔
  3913. type: string
  3914. zsczcolor2typedisplay:
  3915. type: string
  3916. zsczcolor3type:
  3917. description: 彩钻颜色3, 逗号分隔
  3918. type: string
  3919. zsczcolor3typedisplay:
  3920. type: string
  3921. zsfluorescencetype:
  3922. description: 荧光 - 多个, 逗号分隔
  3923. type: string
  3924. zsfluorescencetypedisplay:
  3925. type: string
  3926. zspolishtype:
  3927. description: 抛光度 - 两个, 逗号分隔
  3928. type: string
  3929. zspolishtypedisplay:
  3930. type: string
  3931. zsshapetype:
  3932. description: 形状 - 多个, 逗号分隔
  3933. type: string
  3934. zsshapetypedisplay:
  3935. type: string
  3936. zssize:
  3937. description: 尺寸 - 两个小数, 逗号分隔
  3938. type: string
  3939. zsstyletype:
  3940. description: 款式 - 多个, 逗号分隔
  3941. type: string
  3942. zsstyletypedisplay:
  3943. type: string
  3944. zssymmetrytype:
  3945. description: 对称度 - 两个, 逗号分隔
  3946. type: string
  3947. zssymmetrytypedisplay:
  3948. type: string
  3949. zstabledisplay:
  3950. description: 求购信息
  3951. type: string
  3952. type: object
  3953. models.Clientfixedadconfig:
  3954. properties:
  3955. adsort:
  3956. description: 排序
  3957. type: integer
  3958. adtype:
  3959. description: 广告位类型 - 1:新品抢购(HSBY)
  3960. type: integer
  3961. areauserid:
  3962. description: 所属机构ID
  3963. type: integer
  3964. createdate:
  3965. description: 创建时间
  3966. type: string
  3967. creatorid:
  3968. description: 创建人
  3969. type: integer
  3970. imagepath:
  3971. description: 图片
  3972. type: string
  3973. isshow:
  3974. description: 是否展示 - 0:不展示 1:展示
  3975. type: integer
  3976. modifierid:
  3977. description: 操作人
  3978. type: integer
  3979. recsize:
  3980. description: 推荐尺寸
  3981. type: string
  3982. title:
  3983. description: 标题
  3984. type: string
  3985. updatedate:
  3986. description: 更新时间
  3987. type: string
  3988. urlcontent:
  3989. description: 链接(地址或商品ID)
  3990. type: string
  3991. urltype:
  3992. description: 链接类型 - 1:直接地址 2:商品ID
  3993. type: integer
  3994. required:
  3995. - adsort
  3996. - adtype
  3997. type: object
  3998. models.DgFactoryItem:
  3999. properties:
  4000. dgfactoryitemid:
  4001. description: 选择项ID(SEQ_DGFACTORYITEM)
  4002. type: integer
  4003. dgfactoryitemtypeid:
  4004. description: 要素项类型
  4005. type: integer
  4006. dgfactoryitemvalue:
  4007. description: 要素项值(类型为仓库时填写仓库名称)
  4008. type: string
  4009. orderindex:
  4010. description: 顺序
  4011. type: integer
  4012. type: object
  4013. models.Division:
  4014. properties:
  4015. autoid:
  4016. description: 自增ID
  4017. type: integer
  4018. divisioncode:
  4019. description: 行政代码
  4020. type: string
  4021. divisionlevel:
  4022. description: 行政级别
  4023. type: string
  4024. divisionname:
  4025. description: 行政名称
  4026. type: string
  4027. modifierid:
  4028. description: 修改人
  4029. type: integer
  4030. modifytime:
  4031. description: 修改时间
  4032. type: string
  4033. parentcode:
  4034. description: 上级行政代码
  4035. type: string
  4036. pathname:
  4037. description: 路径名称
  4038. type: string
  4039. postcode:
  4040. description: 邮政编码
  4041. type: string
  4042. separablename:
  4043. description: 可拆分的全称
  4044. type: string
  4045. shortcode:
  4046. description: 地区简码
  4047. type: string
  4048. required:
  4049. - autoid
  4050. - divisioncode
  4051. type: object
  4052. models.Enumdicitem:
  4053. properties:
  4054. autoid:
  4055. description: 自增ID
  4056. type: integer
  4057. bankmappedvalue:
  4058. description: 银行服务对应值
  4059. type: string
  4060. enumdiccode:
  4061. description: 所属枚举代码
  4062. type: string
  4063. enumdicid:
  4064. description: 所属枚举ID
  4065. type: integer
  4066. enumdicname:
  4067. description: 枚举项名称
  4068. type: string
  4069. enumitemname:
  4070. description: 枚举项值
  4071. type: integer
  4072. enumitemstatus:
  4073. description: 枚举项状态 - 1.启用 2.不启用
  4074. type: integer
  4075. enumitemvalue:
  4076. description: 通用值 - [币种通用简写]
  4077. type: string
  4078. param1:
  4079. description: 参数1[币种:币种小数位]
  4080. type: string
  4081. param2:
  4082. description: 参数1[币种:币种显示单位]
  4083. type: string
  4084. remark:
  4085. description: 备注
  4086. type: string
  4087. required:
  4088. - autoid
  4089. - enumdiccode
  4090. - enumdicid
  4091. - enumitemname
  4092. type: object
  4093. models.Ermcp2AreaExposure:
  4094. properties:
  4095. areauserid:
  4096. description: 所属机构
  4097. type: integer
  4098. enumdicname:
  4099. description: 单位
  4100. type: string
  4101. futureqty:
  4102. description: 期货套期量
  4103. type: number
  4104. futureqtychange:
  4105. description: 期货变动量 = FutureQty - OriFutureQty
  4106. type: number
  4107. goodsunitid:
  4108. description: 单位ID
  4109. type: integer
  4110. hedgedspotexposure:
  4111. description: 被套期现货敞口量
  4112. type: number
  4113. hedgedspratio:
  4114. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4115. type: number
  4116. hedgedtotalexposourechange:
  4117. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4118. type: number
  4119. hedgedtotalexposure:
  4120. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4121. type: number
  4122. hedgeplanqty:
  4123. description: 套期计划量
  4124. type: number
  4125. hedgeplanqtychange:
  4126. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4127. type: number
  4128. hedgespotqty:
  4129. description: 被套期现货量
  4130. type: number
  4131. middlegoodsid:
  4132. description: 套保品种
  4133. type: integer
  4134. middlegoodsname:
  4135. description: 套保品种名称
  4136. type: string
  4137. orifutureqty:
  4138. description: 期初期货套期量
  4139. type: number
  4140. orihedgedspotexposure:
  4141. description: 期初被套期现货敞口量
  4142. type: number
  4143. orihedgedtotalexposure:
  4144. description: 期初套期敞口量
  4145. type: number
  4146. orihedgeplanqty:
  4147. description: 期初套期计划量
  4148. type: number
  4149. orihedgespotqty:
  4150. description: 期初被套期现货量
  4151. type: number
  4152. orispotexposure:
  4153. description: 期初现货敞口量
  4154. type: number
  4155. orispotqty:
  4156. description: 期初现货总量
  4157. type: number
  4158. oritotalexposure:
  4159. description: 期初总敞口量
  4160. type: number
  4161. spotexposure:
  4162. description: 现货敞口量
  4163. type: number
  4164. spotqty:
  4165. description: 现货总量
  4166. type: number
  4167. spotqtychange:
  4168. description: 现货变动量 = SpotQty - OriSpotQty
  4169. type: number
  4170. spratio:
  4171. description: 总期现比例 = 期货套期量/现货敞口量
  4172. type: number
  4173. totalexposure:
  4174. description: 总敞口量 = 现货敞口量 + 期货套期量
  4175. type: number
  4176. totalexposurechange:
  4177. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4178. type: number
  4179. updatetime:
  4180. description: 更新时间 --DATE
  4181. type: string
  4182. type: object
  4183. models.Ermcp2hedgeditem:
  4184. properties:
  4185. accountname:
  4186. description: 套期主体
  4187. type: string
  4188. applyid:
  4189. description: 申请人
  4190. type: integer
  4191. applysrc:
  4192. description: 申请来源 - 1:管理端 2:终端
  4193. type: integer
  4194. areauserid:
  4195. description: 企业ID
  4196. type: integer
  4197. auditid:
  4198. description: 审核人
  4199. type: integer
  4200. auditremark:
  4201. description: 审核备注
  4202. type: string
  4203. auditsrc:
  4204. description: 审核来源 - 1:管理端 2:终端
  4205. type: integer
  4206. audittime:
  4207. description: 审核时间
  4208. type: string
  4209. audittradedate:
  4210. description: 审核交易日(yyyyMMdd)
  4211. type: string
  4212. createtime:
  4213. description: 申请时间
  4214. type: string
  4215. curprice:
  4216. description: 当前市场价
  4217. type: number
  4218. curstock:
  4219. description: 期末库存量 = 采购总量 - 销售总量
  4220. type: number
  4221. deliverygoodsid:
  4222. description: 现货品种ID
  4223. type: integer
  4224. enddate:
  4225. description: 完成日期
  4226. type: string
  4227. endtradedate:
  4228. description: 完成交易日
  4229. type: string
  4230. enumdicname:
  4231. description: 单位
  4232. type: string
  4233. exeamount:
  4234. description: 执行市价总额
  4235. type: number
  4236. exeavgprice:
  4237. description: 执行市场均价= 执行市价总额 / 执行现货量
  4238. type: number
  4239. execontractamount:
  4240. description: 执行定价总额
  4241. type: number
  4242. exeqty:
  4243. description: 执行现货量
  4244. type: number
  4245. exerestamount:
  4246. description: 执行剩余市价总额【现货贸易】
  4247. type: number
  4248. futurefloatpl:
  4249. description: 期货浮动损益
  4250. type: number
  4251. futurehedgepl:
  4252. description: 期货实际损益
  4253. type: number
  4254. futurehedgeplchange:
  4255. description: 期货实际损益变动
  4256. type: number
  4257. futurepl:
  4258. description: 期货套期损益
  4259. type: number
  4260. futureplchange:
  4261. description: 期货套期损益变动
  4262. type: number
  4263. hedgeamount:
  4264. description: 套期市价总额
  4265. type: number
  4266. hedgecontractamount:
  4267. description: 套期定价总额 【定价采购合同】【现货贸易】
  4268. type: number
  4269. hedgeditemid:
  4270. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4271. type: string
  4272. hedgeditemname:
  4273. description: 项目名称
  4274. type: string
  4275. hedgeditemnum:
  4276. description: 项目编号
  4277. type: string
  4278. hedgeditemstatus:
  4279. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4280. type: integer
  4281. hedgedtype:
  4282. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4283. type: integer
  4284. hedgeqty:
  4285. description: 套期现货量
  4286. type: number
  4287. hedgerate:
  4288. description: 套保比率
  4289. type: number
  4290. hedgerestamount:
  4291. description: 套期剩余市价总额【现货贸易】
  4292. type: number
  4293. hedgesumpl:
  4294. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4295. type: number
  4296. middlegoodslist:
  4297. description: 套期商品列表
  4298. items:
  4299. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4300. type: array
  4301. oriavgprice:
  4302. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4303. type: number
  4304. orifuturehedgepl:
  4305. description: 期初期货实际损益
  4306. type: number
  4307. orifuturepl:
  4308. description: 期初期货套期损益
  4309. type: number
  4310. orispothedgepl:
  4311. description: 期初现货实际损益
  4312. type: number
  4313. orispotpl:
  4314. description: 期初现货套期损益
  4315. type: number
  4316. planenddate:
  4317. description: 计划结束日期
  4318. type: string
  4319. planstartdate:
  4320. description: 计划开始日期
  4321. type: string
  4322. remark:
  4323. description: 备注
  4324. type: string
  4325. spotbookamount:
  4326. description: 现货账面总额
  4327. type: number
  4328. spotfloatpl:
  4329. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4330. type: number
  4331. spothedgepl:
  4332. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4333. type: number
  4334. spothedgeplchange:
  4335. description: 现货实际损益变动
  4336. type: number
  4337. spotpl:
  4338. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4339. type: number
  4340. spotplchange:
  4341. description: 现货套期损益变动
  4342. type: number
  4343. spottradepl:
  4344. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4345. type: number
  4346. sumobspl:
  4347. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4348. type: number
  4349. tradeuserid:
  4350. description: 交易用户ID
  4351. type: integer
  4352. unexeqty:
  4353. description: 未执行现货量 = 套期现货量 - 执行现货量
  4354. type: number
  4355. updatetime:
  4356. description: 更新时间
  4357. type: string
  4358. vatpl:
  4359. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4360. type: number
  4361. vatrate:
  4362. description: 增值税
  4363. type: number
  4364. wrstandardid:
  4365. description: 现货商品ID
  4366. type: integer
  4367. wrstandardname:
  4368. description: 商品名称
  4369. type: string
  4370. type: object
  4371. models.Ermcp2hedgeditemlink:
  4372. properties:
  4373. areauserid:
  4374. description: 企业ID
  4375. type: integer
  4376. createtime:
  4377. description: '[关联时间]创建时间'
  4378. type: string
  4379. customeruserid:
  4380. description: 对手方 【3:采购合同 4:销售合同】
  4381. type: integer
  4382. deliverygoodsid:
  4383. description: 现货品种ID
  4384. type: integer
  4385. enumdicname:
  4386. description: 单位
  4387. type: string
  4388. hedgeditemid:
  4389. description: 被套期项目ID
  4390. type: integer
  4391. hedgeditemlinkid:
  4392. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4393. type: integer
  4394. hedgeditemnum:
  4395. description: 项目编号
  4396. type: string
  4397. hedgedtype:
  4398. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4399. type: integer
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: 关联数量
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID
  4417. type: integer
  4418. spotpricedamount:
  4419. description: '[关联定价总额]定价总额'
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量【项目关联时值】
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. required:
  4440. - relatedspotcontractid
  4441. type: object
  4442. models.Ermcp2hedgeditemsDetail:
  4443. properties:
  4444. accountname:
  4445. description: 套期主体
  4446. type: string
  4447. areauserid:
  4448. description: 企业ID
  4449. type: integer
  4450. createtime:
  4451. description: '[日期时间]创建时间'
  4452. type: string
  4453. customeruserid:
  4454. description: 对手方 【3:采购合同 4:销售合同】
  4455. type: integer
  4456. deliverygoodsid:
  4457. description: 现货品种ID
  4458. type: integer
  4459. enumdicname:
  4460. description: 单位
  4461. type: string
  4462. hedgeditemid:
  4463. description: 被套期项目ID
  4464. type: string
  4465. hedgeditemspotid:
  4466. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4467. type: string
  4468. hedgedtype:
  4469. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4470. type: integer
  4471. hedgeplanno:
  4472. description: 计划编号
  4473. type: string
  4474. middlegoodschange:
  4475. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4476. type: number
  4477. oriavgprice:
  4478. description: 期初市场价[当初市场价]
  4479. type: number
  4480. relatedamount:
  4481. description: 市价总额 = 关联数量 * 期初市场价
  4482. type: number
  4483. relatedhedgeplanid:
  4484. description: 关联计划ID 【1:采购计划 2:销售计划】
  4485. type: integer
  4486. relatedqty:
  4487. description: '[期间变化量]关联数量'
  4488. type: number
  4489. relatedspotcontractid:
  4490. description: 关联合同ID 【3:采购合同 4:销售合同】
  4491. type: integer
  4492. relatedtype:
  4493. description: 关联类型 - 1:套期关联 2:执行关联
  4494. type: integer
  4495. spotgoodsbrandid:
  4496. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4497. type: integer
  4498. spotpricedamount:
  4499. description: 定价总额
  4500. type: number
  4501. spotpricedavgprice:
  4502. description: 现货均价 = 定价总额 / 关联数量
  4503. type: number
  4504. spottype:
  4505. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4506. type: integer
  4507. tradeuserid:
  4508. description: 交易用户ID
  4509. type: integer
  4510. unexeqty:
  4511. description: 未执行现货量 = 套期现货量 - 执行现货量
  4512. type: number
  4513. wrstandardid:
  4514. description: 现货商品ID
  4515. type: integer
  4516. wrstandardname:
  4517. description: 现货商品
  4518. type: string
  4519. type: object
  4520. models.Ermcp2hedgeditemspot:
  4521. properties:
  4522. areauserid:
  4523. description: 企业ID
  4524. type: integer
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. hedgeplanno:
  4547. description: 计划编号
  4548. type: string
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2hedgeditemspotDetail:
  4592. properties:
  4593. accountname:
  4594. description: 对手方
  4595. type: string
  4596. areauserid:
  4597. description: 企业ID
  4598. type: integer
  4599. brandname:
  4600. description: 品牌
  4601. type: string
  4602. contractno:
  4603. description: 合同编号
  4604. type: string
  4605. createtime:
  4606. description: 创建时间
  4607. type: string
  4608. customeruserid:
  4609. description: 对手方 【3:采购合同 4:销售合同】
  4610. type: integer
  4611. deliverygoodsid:
  4612. description: 现货品种ID
  4613. type: integer
  4614. enumdicname:
  4615. description: 单位
  4616. type: string
  4617. hedgeditemid:
  4618. description: 被套期项目ID
  4619. type: string
  4620. hedgeditemspotid:
  4621. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4622. type: string
  4623. hedgedtype:
  4624. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4625. type: integer
  4626. oriavgprice:
  4627. description: 期初市场价[当初市场价]
  4628. type: number
  4629. relatedamount:
  4630. description: 市价总额 = 关联数量 * 期初市场价
  4631. type: number
  4632. relatedhedgeplanid:
  4633. description: 关联计划ID 【1:采购计划 2:销售计划】
  4634. type: integer
  4635. relatedqty:
  4636. description: 关联数量[数量]
  4637. type: number
  4638. relatedspotcontractid:
  4639. description: 关联合同ID 【3:采购合同 4:销售合同】
  4640. type: integer
  4641. relatedtype:
  4642. description: 关联类型 - 1:套期关联 2:执行关联
  4643. type: integer
  4644. spotgoodsbrandid:
  4645. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4646. type: integer
  4647. spotpricedamount:
  4648. description: 定价总额[金额]
  4649. type: number
  4650. spotpricedavgprice:
  4651. description: 现货均价 = 定价总额 / 关联数量
  4652. type: number
  4653. spottype:
  4654. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4655. type: integer
  4656. tradeuserid:
  4657. description: 交易用户ID
  4658. type: integer
  4659. wrstandardid:
  4660. description: 现货商品ID
  4661. type: integer
  4662. wrstandardname:
  4663. description: 现货商品
  4664. type: string
  4665. required:
  4666. - hedgeditemid
  4667. type: object
  4668. models.Ermcp2himiddlegoods:
  4669. properties:
  4670. futurehedgeqty:
  4671. description: 期货持仓套期量
  4672. type: number
  4673. hedgeditemid:
  4674. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4675. type: integer
  4676. hiexpsoure:
  4677. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4678. type: number
  4679. middlegoodscode:
  4680. description: 套保商品代码
  4681. type: string
  4682. middlegoodsid:
  4683. description: 套保品种ID
  4684. type: integer
  4685. middlegoodsname:
  4686. description: 套保商品名称
  4687. type: string
  4688. unexehedgeqty:
  4689. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4690. type: number
  4691. required:
  4692. - hedgeditemid
  4693. - middlegoodsid
  4694. type: object
  4695. models.Ermcp2stockspotchangelog:
  4696. properties:
  4697. accountname:
  4698. description: 套期主体
  4699. type: string
  4700. aftervalue:
  4701. description: 现货量
  4702. type: number
  4703. beforevalue:
  4704. description: 变更前现货量
  4705. type: number
  4706. contractno:
  4707. description: '[编号]现货合同编号'
  4708. type: string
  4709. contracttype:
  4710. description: 现货合同类型 - 1:采购 -1:销售
  4711. type: integer
  4712. createtime:
  4713. description: 创建时间
  4714. type: string
  4715. customerusername:
  4716. description: 对手方
  4717. type: string
  4718. deliverygoodsid:
  4719. description: 现货品种ID
  4720. type: integer
  4721. exetype:
  4722. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4723. type: integer
  4724. logid:
  4725. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4726. type: string
  4727. logvalue:
  4728. description: '[期间变化量]现货量变更值'
  4729. type: number
  4730. middlegoodschange:
  4731. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4732. type: number
  4733. operatelogtype:
  4734. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4735. 27:生产出库
  4736. type: integer
  4737. relatedid:
  4738. description: 现货合同ID
  4739. type: integer
  4740. spotgoodsbrandid:
  4741. description: 现货品牌ID
  4742. type: integer
  4743. tradedate:
  4744. description: 交易日(yyyyMMdd)
  4745. type: string
  4746. userid:
  4747. description: 机构ID
  4748. type: integer
  4749. warehouseinfoid:
  4750. description: 仓库ID
  4751. type: integer
  4752. wrfactortypeid:
  4753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4754. type: integer
  4755. wrstandardid:
  4756. description: 现货商品ID
  4757. type: integer
  4758. wrstandardname:
  4759. description: 商品名称
  4760. type: string
  4761. type: object
  4762. models.Ermcp3AreaSpot:
  4763. properties:
  4764. areauserid:
  4765. description: 所属机构
  4766. type: integer
  4767. convertratio:
  4768. description: 套保系数
  4769. type: number
  4770. decreaseqty:
  4771. description: 减少数量=-(销售已定价数量+采购计划数量)
  4772. type: number
  4773. enumdicname:
  4774. description: 单位名称
  4775. type: string
  4776. increaseqty:
  4777. description: 增加数量=销售计划数量+采购已定价数量
  4778. type: number
  4779. oritoalspotqty:
  4780. description: 昨日数量
  4781. type: number
  4782. totalspotqty:
  4783. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4784. type: number
  4785. unitid:
  4786. description: 现货商品单位id
  4787. type: integer
  4788. updatetime:
  4789. description: 更新时间
  4790. type: string
  4791. wrstandardcode:
  4792. description: 现货商品代码
  4793. type: string
  4794. wrstandardid:
  4795. description: 现货商品ID(SEQ_WRSTANDARD)
  4796. type: integer
  4797. wrstandardname:
  4798. description: 现货商品名称
  4799. type: string
  4800. type: object
  4801. models.Ermcp3AreaSpotDetail:
  4802. properties:
  4803. contracttype:
  4804. description: 合同类型 1-采购 -1-销售
  4805. type: integer
  4806. createtime:
  4807. description: 创建时间
  4808. type: string
  4809. enumdicname:
  4810. description: 现货商品单位名称
  4811. type: string
  4812. logtype:
  4813. description: 记录类型 1-套保 2-现货合同
  4814. type: integer
  4815. qty:
  4816. description: 数量
  4817. type: number
  4818. recordname:
  4819. description: 类型名称
  4820. type: string
  4821. relatedid:
  4822. description: 套保计划ID/现货合同ID
  4823. type: string
  4824. relatedno:
  4825. description: 编号
  4826. type: string
  4827. strtime:
  4828. description: 时间
  4829. type: string
  4830. wrstandardcode:
  4831. description: 现货商品代码
  4832. type: string
  4833. wrstandardid:
  4834. description: 现货商品ID(SEQ_WRSTANDARD)
  4835. type: integer
  4836. wrstandardname:
  4837. description: 现货商品名称
  4838. type: string
  4839. type: object
  4840. models.Ermcp3AreaSpotPLReport:
  4841. properties:
  4842. accountid:
  4843. description: 期货账户ID (作废, 默认为0)
  4844. type: integer
  4845. accountname:
  4846. description: 机构名称
  4847. type: string
  4848. actualpl:
  4849. description: 现货损益
  4850. type: number
  4851. areauserid:
  4852. description: 所属机构\交易用户ID
  4853. type: integer
  4854. begindate:
  4855. description: 开始交易日
  4856. type: string
  4857. biztype:
  4858. description: 业务类型 - 1:套保 2:套利
  4859. type: integer
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. curamount:
  4864. description: 期末额
  4865. type: number
  4866. curaverageprice:
  4867. description: 期初均价
  4868. type: number
  4869. curbuyamount:
  4870. description: 期末采购总额
  4871. type: number
  4872. curbuyqty:
  4873. description: 期末采购总量
  4874. type: number
  4875. curmarketvalue:
  4876. description: 期初均价
  4877. type: number
  4878. curqty:
  4879. description: 期末量
  4880. type: number
  4881. currencyid:
  4882. description: 结算币种ID【原值】
  4883. type: integer
  4884. currencyname:
  4885. description: 币种名称
  4886. type: string
  4887. cursellamount:
  4888. description: 期末销售总额
  4889. type: number
  4890. cursellqty:
  4891. description: 期末销售总量
  4892. type: number
  4893. curspotprice:
  4894. description: 期初均价
  4895. type: number
  4896. cycletime:
  4897. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4898. type: string
  4899. cycletype:
  4900. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4901. type: integer
  4902. deliverygoodscode:
  4903. description: 现货品种代码
  4904. type: string
  4905. deliverygoodsid:
  4906. description: 现货品种ID
  4907. type: integer
  4908. deliverygoodsname:
  4909. description: 现货品种名称
  4910. type: string
  4911. enddate:
  4912. description: 结束交易日
  4913. type: string
  4914. enumdicname:
  4915. description: 现货品种单位名称(作废)
  4916. type: string
  4917. floatpl:
  4918. description: 期初均价
  4919. type: number
  4920. goodsunitid:
  4921. description: 现货品种单位id(作废)
  4922. type: integer
  4923. oriamount:
  4924. description: 期初额
  4925. type: number
  4926. oriaverageprice:
  4927. description: 期初均价
  4928. type: number
  4929. oribuyamount:
  4930. description: 期初采购总额
  4931. type: number
  4932. oribuyqty:
  4933. description: 期初采购总量
  4934. type: number
  4935. oriqty:
  4936. description: 期初量
  4937. type: number
  4938. orisellamount:
  4939. description: 期初销售总额
  4940. type: number
  4941. orisellqty:
  4942. description: 期初销售总量
  4943. type: number
  4944. reckondate:
  4945. description: 日照时期(yyyyMMdd)
  4946. type: string
  4947. spotgoodsbrandid:
  4948. description: 现货品牌ID
  4949. type: integer
  4950. todaybuyamount:
  4951. description: 今日采购额(今采购额)
  4952. type: number
  4953. todaybuyaverageprice:
  4954. description: 期初均价
  4955. type: number
  4956. todaybuyqty:
  4957. description: 今日采购量(今采购量)
  4958. type: number
  4959. todayinqty:
  4960. description: 今日入库量(今入库量)
  4961. type: number
  4962. todayoutqty:
  4963. description: 今日出库量(今出库量)
  4964. type: number
  4965. todaysellamount:
  4966. description: 今日销售额(今销售额)
  4967. type: number
  4968. todaysellaverageprice:
  4969. description: 期初均价
  4970. type: number
  4971. todaysellqty:
  4972. description: 今日销售量(今销售量)
  4973. type: number
  4974. unitid:
  4975. description: 品类单位id
  4976. type: integer
  4977. unitidname:
  4978. description: 品类单位名称
  4979. type: string
  4980. updatetime:
  4981. description: 更新时间
  4982. type: string
  4983. wrfactortypeid:
  4984. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4985. type: integer
  4986. wrstandardcode:
  4987. description: 现货商品(品类)代码
  4988. type: string
  4989. wrstandardid:
  4990. description: 现货品类ID
  4991. type: integer
  4992. wrstandardname:
  4993. description: 现货商品(品类)名称
  4994. type: string
  4995. type: object
  4996. models.Ermcp3AreaStock:
  4997. properties:
  4998. brandname:
  4999. description: 品牌名称
  5000. type: string
  5001. curstock:
  5002. description: 期末库存量(今日量)
  5003. type: number
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货品种id
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. enumdicname:
  5014. description: 单位名称
  5015. type: string
  5016. goodsunitid:
  5017. description: 现货商品单位id
  5018. type: integer
  5019. oristock:
  5020. description: 期初库存量(昨日量)
  5021. type: number
  5022. spotgoodsbrandid:
  5023. description: 现货品牌ID
  5024. type: integer
  5025. todaybuyinqty:
  5026. description: 今日采购入库量
  5027. type: number
  5028. todayproduceinqty:
  5029. description: 今日生产入库量
  5030. type: number
  5031. todayproduceoutqty:
  5032. description: 今日生产出库量
  5033. type: number
  5034. todayselloutqty:
  5035. description: 今日销售出库量
  5036. type: number
  5037. unitid:
  5038. description: 单位id
  5039. type: integer
  5040. updatetime:
  5041. description: 更新时间
  5042. type: string
  5043. userid:
  5044. description: 机构ID
  5045. type: integer
  5046. username:
  5047. description: 机构名称
  5048. type: string
  5049. warehousecode:
  5050. description: 仓库代码
  5051. type: string
  5052. warehouseinfoid:
  5053. description: 仓库ID
  5054. type: string
  5055. warehousename:
  5056. description: 仓库名称
  5057. type: string
  5058. warehousetype:
  5059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: string
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. required:
  5071. - userid
  5072. type: object
  5073. models.Ermcp3AreaStockApply:
  5074. properties:
  5075. applyid:
  5076. description: 申请人
  5077. type: integer
  5078. applyname:
  5079. description: 申请人名称
  5080. type: string
  5081. applyremark:
  5082. description: 申请备注
  5083. type: string
  5084. applysrc:
  5085. description: 申请来源 - 1:管理端 2:终端
  5086. type: integer
  5087. applystatus:
  5088. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5089. type: integer
  5090. applytime:
  5091. description: 申请时间
  5092. type: string
  5093. auditid:
  5094. description: 审核人
  5095. type: integer
  5096. auditname:
  5097. description: 审核人名称
  5098. type: string
  5099. auditremark:
  5100. description: 审核备注
  5101. type: string
  5102. auditsrc:
  5103. description: 审核来源 - 1:管理端 2:终端
  5104. type: integer
  5105. audittime:
  5106. description: 审核时间
  5107. type: string
  5108. audittradedate:
  5109. description: 审核交易日(yyyyMMdd)
  5110. type: string
  5111. brandname:
  5112. description: 品牌名称
  5113. type: string
  5114. buynickname:
  5115. description: 采购方昵称
  5116. type: string
  5117. buyuserid:
  5118. description: 采购方userid
  5119. type: integer
  5120. buyusername:
  5121. description: 采购方名称
  5122. type: string
  5123. contractno:
  5124. description: 合同编号
  5125. type: string
  5126. contractqty:
  5127. description: 合同量
  5128. type: number
  5129. contracttype:
  5130. description: 现货合同类型 - 1:采购 -1:销售
  5131. type: integer
  5132. deliverygoodscode:
  5133. description: 现货品种代码
  5134. type: string
  5135. deliverygoodsid:
  5136. description: 现货品种id
  5137. type: integer
  5138. deliverygoodsname:
  5139. description: 现货品种名称
  5140. type: string
  5141. detailjson:
  5142. description: 明细数据
  5143. type: string
  5144. enumdicname:
  5145. description: 现货商品单位名称
  5146. type: string
  5147. inoutapplyid:
  5148. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5149. type: string
  5150. inouttype:
  5151. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5152. type: integer
  5153. pricetype:
  5154. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5155. type: integer
  5156. qty:
  5157. description: 数量
  5158. type: number
  5159. sellnickname:
  5160. description: 销售方昵称
  5161. type: string
  5162. selluserid:
  5163. description: 销售方userid
  5164. type: integer
  5165. sellusername:
  5166. description: 销售方名称
  5167. type: string
  5168. spotcontractid:
  5169. description: 关联现货合同ID
  5170. type: string
  5171. spotgoodsbrandid:
  5172. description: 现货品牌ID
  5173. type: integer
  5174. unitid:
  5175. description: 单位id
  5176. type: integer
  5177. userid:
  5178. description: 机构ID
  5179. type: integer
  5180. warehousecode:
  5181. description: 仓库代码
  5182. type: string
  5183. warehouseinfoid:
  5184. description: 现货仓库ID
  5185. type: string
  5186. warehousename:
  5187. description: 仓库名称
  5188. type: string
  5189. warehousetype:
  5190. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5191. type: integer
  5192. wrstandardcode:
  5193. description: 品类代码
  5194. type: string
  5195. wrstandardid:
  5196. description: 品类ID
  5197. type: integer
  5198. wrstandardname:
  5199. description: 品类名称
  5200. type: string
  5201. type: object
  5202. models.Ermcp3AreaStockApplySum:
  5203. properties:
  5204. brandname:
  5205. description: 品牌名称
  5206. type: string
  5207. inouttype:
  5208. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5209. type: integer
  5210. spotcontractid:
  5211. description: 关联现货合同ID
  5212. type: string
  5213. spotgoodsbrandid:
  5214. description: 品牌id
  5215. type: integer
  5216. totalqty:
  5217. description: 总数量
  5218. type: number
  5219. wrstandardid:
  5220. description: 品类id
  5221. type: integer
  5222. wrstandardname:
  5223. description: 品类名称
  5224. type: string
  5225. type: object
  5226. models.Ermcp3AreaStockReportEx:
  5227. properties:
  5228. begindate:
  5229. description: 开始交易日
  5230. type: string
  5231. brandname:
  5232. description: 品牌名称
  5233. type: string
  5234. curstock:
  5235. description: 期末库存量
  5236. type: number
  5237. cycletime:
  5238. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5239. type: string
  5240. cycletype:
  5241. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5242. type: integer
  5243. deliverygoodscode:
  5244. description: 现货品种代码
  5245. type: string
  5246. deliverygoodsid:
  5247. description: 现货品种id
  5248. type: integer
  5249. deliverygoodsname:
  5250. description: 现货品种名称
  5251. type: string
  5252. diffqty:
  5253. description: 库存变化量 = 期末 - 期初
  5254. type: number
  5255. enddate:
  5256. description: 结束交易日
  5257. type: string
  5258. enumdicname:
  5259. description: 单位名称
  5260. type: string
  5261. goodsunitid:
  5262. description: 现货单位id
  5263. type: integer
  5264. oristock:
  5265. description: 期初库存量
  5266. type: number
  5267. reckondate:
  5268. description: 日照时期(yyyyMMdd)
  5269. type: string
  5270. spotgoodsbrandid:
  5271. description: 现货品牌ID
  5272. type: integer
  5273. todaybuyinqty:
  5274. description: 今采购入库量
  5275. type: number
  5276. todayproduceinqty:
  5277. description: 今内部入库量
  5278. type: number
  5279. todayproduceoutqty:
  5280. description: 今内部出库量
  5281. type: number
  5282. todayselloutqty:
  5283. description: 今销售出库量
  5284. type: number
  5285. unbuyinqty:
  5286. description: 采购未入库量(数据库未找到相关字段?)
  5287. type: number
  5288. unitid:
  5289. description: 品类单位id
  5290. type: integer
  5291. unselloutqty:
  5292. description: 销售未出库量(数据库未找到相关字段?)
  5293. type: number
  5294. updatetime:
  5295. description: 更新时间
  5296. type: string
  5297. userid:
  5298. description: 机构ID
  5299. type: integer
  5300. username:
  5301. description: 机构名称
  5302. type: string
  5303. warehousecode:
  5304. description: 仓库代码
  5305. type: string
  5306. warehouseinfoid:
  5307. description: 仓库ID
  5308. type: string
  5309. warehousename:
  5310. description: 仓库名称
  5311. type: string
  5312. warehousetype:
  5313. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5314. type: integer
  5315. wrstandardcode:
  5316. description: 品类代码
  5317. type: string
  5318. wrstandardid:
  5319. description: 品类ID
  5320. type: integer
  5321. wrstandardname:
  5322. description: 品类名称
  5323. type: string
  5324. type: object
  5325. models.Ermcp3ArealSumPL:
  5326. properties:
  5327. accountname:
  5328. description: 机构名称
  5329. type: string
  5330. areauserid:
  5331. description: 所属机构\交易用户ID
  5332. type: integer
  5333. begindate:
  5334. description: 开始交易日
  5335. type: string
  5336. currencyid:
  5337. description: 结算币种ID
  5338. type: integer
  5339. currencyname:
  5340. description: 币种名称
  5341. type: string
  5342. cycletime:
  5343. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5344. type: string
  5345. cycletype:
  5346. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5347. type: integer
  5348. enddate:
  5349. description: 结束交易日
  5350. type: string
  5351. enumdicname:
  5352. description: 单位名称(套保品种)
  5353. type: string
  5354. futureactualpl:
  5355. description: 期货损益
  5356. type: number
  5357. futurefloatpl:
  5358. description: 期货浮动损益
  5359. type: number
  5360. futurespotratio:
  5361. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5362. type: number
  5363. goodsunitid:
  5364. description: 套保品种单位id
  5365. type: integer
  5366. hedgeexposurepl:
  5367. description: 套保敞口损益
  5368. type: number
  5369. middlegoodscode:
  5370. description: 套保品种代码
  5371. type: string
  5372. middlegoodsid:
  5373. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5374. type: integer
  5375. middlegoodsname:
  5376. description: 套保品种名称
  5377. type: string
  5378. reckondate:
  5379. description: 日照时期(yyyyMMdd)
  5380. type: string
  5381. spotactualpl:
  5382. description: 现货损益
  5383. type: number
  5384. spotfloatpl:
  5385. description: 现货浮动损益
  5386. type: number
  5387. sumactualpl:
  5388. description: 实际损益 = (ActualPL + FutureActualPL)
  5389. type: number
  5390. sumpl:
  5391. description: 总敞口损益 | 汇总损益
  5392. type: number
  5393. totalfutureqty:
  5394. description: 期货头寸总量
  5395. type: number
  5396. totalneedhedgeqty:
  5397. description: 应套保总量
  5398. type: number
  5399. totalspotqty:
  5400. description: 现货头寸总量
  5401. type: number
  5402. updatetime:
  5403. description: 更新时间
  5404. type: string
  5405. type: object
  5406. models.Ermcp3Brand:
  5407. properties:
  5408. areauserid:
  5409. description: 用户id
  5410. type: integer
  5411. brandid:
  5412. description: 品牌id
  5413. type: integer
  5414. brandname:
  5415. description: 品牌名称
  5416. type: string
  5417. deliverygoodsid:
  5418. description: 品种ID
  5419. type: integer
  5420. isvalid:
  5421. description: 是否有效
  5422. type: integer
  5423. type: object
  5424. models.Ermcp3Contract:
  5425. properties:
  5426. accountid:
  5427. description: 期货账户id
  5428. type: string
  5429. amount:
  5430. description: 金额 [1:一口价、3:暂定价]
  5431. type: number
  5432. attachment:
  5433. description: 附件
  5434. type: string
  5435. auditremark:
  5436. description: 审核意见
  5437. type: string
  5438. audittime:
  5439. description: 审核时间
  5440. type: string
  5441. biztype:
  5442. description: 业务类型 1-套保 2-套利
  5443. type: integer
  5444. brandname:
  5445. description: 品牌名称
  5446. type: string
  5447. buynickname:
  5448. description: 销售方昵称
  5449. type: string
  5450. buyuserid:
  5451. description: 采购方ID
  5452. type: integer
  5453. buyusername:
  5454. description: 采购方名称
  5455. type: string
  5456. contracctstatus:
  5457. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5458. type: integer
  5459. contractmargin:
  5460. description: 合同保证金
  5461. type: number
  5462. contractno:
  5463. description: 现货合同编号
  5464. type: string
  5465. contracttype:
  5466. description: 现货合同类型 - 1:采购 -1:销售
  5467. type: integer
  5468. convertfactor:
  5469. description: 标仓系数(品类)
  5470. type: number
  5471. createtime:
  5472. description: 创建时间
  5473. type: string
  5474. currencyid:
  5475. description: 币种id
  5476. type: integer
  5477. currencyname:
  5478. description: 币种名称
  5479. type: string
  5480. deliveryenddate:
  5481. description: 交收期(结束)
  5482. type: string
  5483. deliverygoodscode:
  5484. description: 现货品种代码
  5485. type: string
  5486. deliverygoodsid:
  5487. description: 现货品种ID
  5488. type: integer
  5489. deliverygoodsname:
  5490. description: 现货品种名称
  5491. type: string
  5492. deliverystartdate:
  5493. description: 交收期(开始)
  5494. type: string
  5495. enddate:
  5496. description: 点价结束日期 [2:点价 3:暂定价]
  5497. type: string
  5498. enumdicname:
  5499. description: 单位名称
  5500. type: string
  5501. goodscode:
  5502. description: 点价合约代码
  5503. type: string
  5504. goodsid:
  5505. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5506. type: integer
  5507. goodsname:
  5508. description: 点价商品名称
  5509. type: string
  5510. margin:
  5511. description: 当前保证金
  5512. type: number
  5513. meruserid:
  5514. description: 跟单员id
  5515. type: integer
  5516. meruserlogincode:
  5517. description: 跟单员登录代码
  5518. type: string
  5519. merusername:
  5520. description: 跟单员名称
  5521. type: string
  5522. pointdesc:
  5523. description: 点价备注
  5524. type: string
  5525. price:
  5526. description: 价格\暂定价 [1:一口价、3:暂定价]
  5527. type: number
  5528. pricemove:
  5529. description: 升贴水 [2:点价 3:暂定价]
  5530. type: number
  5531. pricetype:
  5532. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5533. type: integer
  5534. producttype:
  5535. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5536. type: integer
  5537. qty:
  5538. description: 数量
  5539. type: number
  5540. remark:
  5541. description: 备注
  5542. type: string
  5543. saleuserid:
  5544. description: 业务员id
  5545. type: integer
  5546. saleuserlogincode:
  5547. description: 业务员登录代码
  5548. type: string
  5549. saleusername:
  5550. description: 业务员名称
  5551. type: string
  5552. sellnickname:
  5553. description: 采购方昵称
  5554. type: string
  5555. selluserid:
  5556. description: 销售方ID
  5557. type: integer
  5558. sellusername:
  5559. description: 销售方名称
  5560. type: string
  5561. spotcontractid:
  5562. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5563. type: string
  5564. spotgoodsbrandid:
  5565. description: 现货品牌ID(DGFactoryItem表的ID)
  5566. type: integer
  5567. spotgoodsdesc:
  5568. description: 商品型号
  5569. type: string
  5570. startdate:
  5571. description: 点价开始日期 [2:点价 3:暂定价]
  5572. type: string
  5573. subjectid:
  5574. description: 交易主体ID
  5575. type: integer
  5576. subjectname:
  5577. description: 交易主体名称
  5578. type: string
  5579. tradeuserid:
  5580. description: 交易员id
  5581. type: integer
  5582. tradeuserlogincode:
  5583. description: 交易员登录代码
  5584. type: string
  5585. tradeusername:
  5586. description: 交易员名称
  5587. type: string
  5588. unitid:
  5589. description: 单位id(取品类上的单位id)
  5590. type: integer
  5591. updatetime:
  5592. description: 更新时间
  5593. type: string
  5594. userid:
  5595. description: 所属机构ID
  5596. type: integer
  5597. vatrate:
  5598. description: 增值税率
  5599. type: number
  5600. wrstandardcode:
  5601. description: 品类代码
  5602. type: string
  5603. wrstandardid:
  5604. description: 品类ID
  5605. type: integer
  5606. wrstandardname:
  5607. description: 品类名称
  5608. type: string
  5609. type: object
  5610. models.Ermcp3ContractMiddleGoodsCfg:
  5611. properties:
  5612. agreeunit:
  5613. description: 合约乘数
  5614. type: number
  5615. convertratio:
  5616. description: 期货品种系数
  5617. type: number
  5618. covertqty:
  5619. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5620. type: integer
  5621. middlegoodsid:
  5622. description: 套保品种ID
  5623. type: integer
  5624. middlegoodspricedqty3:
  5625. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5626. example: "0"
  5627. type: string
  5628. pendingpricedqty:
  5629. description: 待点价量
  5630. example: "0"
  5631. type: string
  5632. relatedmiddlegoodsqty:
  5633. description: 已关联量(套保品种-期货)
  5634. example: "0"
  5635. type: string
  5636. spotcontractid:
  5637. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5638. type: string
  5639. type: object
  5640. models.Ermcp3ExposureContractDetail:
  5641. properties:
  5642. biztype:
  5643. description: 业务类型 1-套保 2-套利
  5644. type: integer
  5645. brandname:
  5646. description: 品牌名称
  5647. type: string
  5648. buyuserid:
  5649. description: 采购方id
  5650. type: integer
  5651. buyusername:
  5652. description: 采购方名称
  5653. type: string
  5654. contractno:
  5655. description: 合同编号
  5656. type: string
  5657. contracttype:
  5658. description: 现货合同类型 - 1:采购 -1:销售
  5659. type: integer
  5660. convertfactor:
  5661. description: 标仓系数
  5662. type: number
  5663. convertratio:
  5664. description: 折算系数(套保品种)
  5665. type: number
  5666. curqty:
  5667. description: 今定价量
  5668. type: number
  5669. deliverygoodscode:
  5670. description: 现货品种代码
  5671. type: string
  5672. deliverygoodsid:
  5673. description: 现货品种id
  5674. type: integer
  5675. deliverygoodsname:
  5676. description: 现货品种名称
  5677. type: string
  5678. diffhedgeqty:
  5679. description: 套保变动量
  5680. type: number
  5681. diffneedhedgeqty:
  5682. description: 应套保变动量
  5683. type: number
  5684. diffqty:
  5685. description: 套保品种今变动量
  5686. type: number
  5687. enumdicname:
  5688. description: 单位名称
  5689. type: string
  5690. mgunitname:
  5691. description: 套保品种单位名称
  5692. type: string
  5693. middlegoodscode:
  5694. description: 套保品种代码
  5695. type: string
  5696. middlegoodsid:
  5697. description: 套保品种id
  5698. type: integer
  5699. middlegoodsname:
  5700. description: 套保品种名称
  5701. type: string
  5702. needarbitrageratio:
  5703. description: 应套利比例
  5704. type: number
  5705. needhedgeratio:
  5706. description: 应套保比例
  5707. type: number
  5708. pricedqty:
  5709. description: 已定价量
  5710. type: number
  5711. qty:
  5712. description: 合同量
  5713. type: number
  5714. reckondate:
  5715. description: 交易日(reckondate)
  5716. type: string
  5717. selluserid:
  5718. description: 销售方id
  5719. type: integer
  5720. sellusername:
  5721. description: 销售方名称
  5722. type: string
  5723. spotcontractid:
  5724. description: 合同id
  5725. type: string
  5726. todaypricedqty:
  5727. description: 今定价量
  5728. type: number
  5729. tradedate:
  5730. description: 交易日
  5731. type: string
  5732. unitid:
  5733. description: 品类单位id
  5734. type: integer
  5735. userid:
  5736. description: 机构id
  5737. type: integer
  5738. username:
  5739. description: 交易用户
  5740. type: string
  5741. wrstandardcode:
  5742. description: 现货商品代码
  5743. type: string
  5744. wrstandardid:
  5745. description: 现货商品id
  5746. type: integer
  5747. wrstandardname:
  5748. description: 现货商品名称
  5749. type: string
  5750. type: object
  5751. models.Ermcp3ExposureDetail:
  5752. properties:
  5753. areauserid:
  5754. description: 机构ID
  5755. type: integer
  5756. changeQty:
  5757. description: 套保变动量
  5758. type: number
  5759. contracttype:
  5760. description: 现货合同类型 - 1:采购 -1:销售
  5761. type: integer
  5762. convertfactor:
  5763. description: 标仓系数
  5764. type: number
  5765. convertratio:
  5766. description: 折算系数
  5767. type: number
  5768. createtime:
  5769. description: 时间
  5770. type: string
  5771. enumdicname:
  5772. description: 现货商品单位名称
  5773. type: string
  5774. logtype:
  5775. description: 类型 - 1:套保计划 2:现货合同
  5776. type: integer
  5777. mgunitid:
  5778. description: 套保品种单位id
  5779. type: integer
  5780. mgunitidname:
  5781. description: 套保品种单位名称
  5782. type: string
  5783. middlegoodsId:
  5784. description: 套保商品id
  5785. type: integer
  5786. middlegoodscode:
  5787. description: 套保商品代码
  5788. type: string
  5789. middlegoodsname:
  5790. description: 套保商品名称
  5791. type: string
  5792. qty:
  5793. description: 数量
  5794. type: number
  5795. relateNo:
  5796. description: 现货合同/套保计划编号
  5797. type: string
  5798. unitid:
  5799. description: 现货商品单位id
  5800. type: integer
  5801. wrstandardcode:
  5802. description: 现货商品代码
  5803. type: string
  5804. wrstandardid:
  5805. description: 现货商品ID(SEQ_WRSTANDARD)
  5806. type: integer
  5807. wrstandardname:
  5808. description: 现货商品名称
  5809. type: string
  5810. type: object
  5811. models.Ermcp3ExposureFutuDetail:
  5812. properties:
  5813. accountid:
  5814. description: 交易账户id
  5815. type: integer
  5816. accountname:
  5817. description: 交易账户
  5818. type: string
  5819. begindate:
  5820. description: 开始交易日
  5821. type: string
  5822. buyorsell:
  5823. description: 方向 0-买 1-卖
  5824. type: integer
  5825. diffmgqty:
  5826. description: 套保品种今变化量
  5827. type: number
  5828. diffneedqty:
  5829. description: 应套保总量变化量
  5830. type: number
  5831. difftradeqty:
  5832. description: 交易品种今变化量
  5833. type: number
  5834. enddate:
  5835. description: 结束交易日
  5836. type: string
  5837. enumdicname:
  5838. description: 单位名称
  5839. type: string
  5840. goodscode:
  5841. description: 商品代码
  5842. type: string
  5843. goodsid:
  5844. description: 商品id
  5845. type: integer
  5846. goodsname:
  5847. description: 商品名称
  5848. type: string
  5849. holdqty:
  5850. description: 期末持仓量
  5851. type: number
  5852. middlegoodscode:
  5853. description: 套保商品代码
  5854. type: string
  5855. middlegoodsid:
  5856. description: 套保商品id
  5857. type: integer
  5858. middlegoodsname:
  5859. description: 套保商品名称
  5860. type: string
  5861. oriholdqty:
  5862. description: 期初持仓量
  5863. type: number
  5864. reckondate:
  5865. description: 交易日(RECKONDATE)
  5866. type: string
  5867. todaycloseqty:
  5868. description: 今平仓量
  5869. type: number
  5870. todayopenqty:
  5871. description: 今开仓量
  5872. type: number
  5873. tradedate:
  5874. description: 交易日(RECKONDATE)
  5875. type: string
  5876. username:
  5877. description: 用户名称(交易用户)
  5878. type: string
  5879. type: object
  5880. models.Ermcp3ExposureHedgeplanDetail:
  5881. properties:
  5882. biztype:
  5883. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5884. type: integer
  5885. changqty:
  5886. description: 应套保总量变化量
  5887. type: number
  5888. contracttype:
  5889. description: 计划类型 - 1:采购 -1:销售
  5890. type: integer
  5891. convertratio:
  5892. description: 折算系数(套保品种)
  5893. type: number
  5894. deliverygoodscode:
  5895. description: 现货商品代码
  5896. type: string
  5897. deliverygoodsid:
  5898. description: 现货商品id
  5899. type: integer
  5900. deliverygoodsname:
  5901. description: 现货商吕名称
  5902. type: string
  5903. dgunitid:
  5904. description: 现货商品单位id
  5905. type: integer
  5906. dgunitidname:
  5907. description: 单位名称(现货商品)
  5908. type: string
  5909. diffqty:
  5910. description: 套保品种今变动量
  5911. type: number
  5912. enumdicname:
  5913. description: 单位名称(品类)
  5914. type: string
  5915. hedgeplanid:
  5916. description: 套保计划id
  5917. type: string
  5918. hedgeplanno:
  5919. description: 套保计划名称
  5920. type: string
  5921. hedgeplanstatus:
  5922. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5923. type: integer
  5924. mgunitidname:
  5925. description: 单位名称(套保商品)
  5926. type: string
  5927. middlegoodscode:
  5928. description: 套保品种代码
  5929. type: string
  5930. middlegoodsid:
  5931. description: 套保品种id
  5932. type: integer
  5933. middlegoodsname:
  5934. description: 套保品种名称
  5935. type: string
  5936. needarbitrageratio:
  5937. description: 应套利比例
  5938. type: number
  5939. needhedgeratio:
  5940. description: 应套保比例
  5941. type: number
  5942. pricedqty:
  5943. description: 已定价量
  5944. type: number
  5945. qty:
  5946. description: 合同量
  5947. type: number
  5948. reckondate:
  5949. description: 交易日(reckondate)
  5950. type: string
  5951. tradedate:
  5952. description: 交易日(登记日)
  5953. type: string
  5954. unitid:
  5955. description: 品类单位id
  5956. type: integer
  5957. userid:
  5958. description: 机构id
  5959. type: integer
  5960. wrstandardcode:
  5961. description: 品类代码
  5962. type: string
  5963. wrstandardid:
  5964. description: 品类id
  5965. type: integer
  5966. wrstandardname:
  5967. description: 品类名称
  5968. type: string
  5969. type: object
  5970. models.Ermcp3ExposureParamChLog:
  5971. properties:
  5972. accountid:
  5973. description: 期货账户ID (作废, 默认为0)
  5974. type: integer
  5975. aftervalue:
  5976. description: 应套保\套利量变更后(调整后应套保总量)
  5977. type: number
  5978. areauserid:
  5979. description: 所属机构\交易用户ID
  5980. type: integer
  5981. beforevalue:
  5982. description: 应套保\套利量变更前(调整前应套保总量)
  5983. type: number
  5984. begindate:
  5985. description: 开始交易日
  5986. type: string
  5987. changelogtype:
  5988. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5989. type: integer
  5990. curvalue:
  5991. description: 当前套保\套利量(套保总量|套利总量)
  5992. type: number
  5993. diffvalue:
  5994. description: 应套保总量变化量
  5995. type: number
  5996. enddate:
  5997. description: 结束交易日
  5998. type: string
  5999. logdatetime:
  6000. description: 流水日期
  6001. type: string
  6002. logid:
  6003. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6004. type: string
  6005. middlegoodscode:
  6006. description: 套保品种代码
  6007. type: string
  6008. middlegoodsid:
  6009. description: 套保品种
  6010. type: integer
  6011. middlegoodsname:
  6012. description: 套保品种名称
  6013. type: string
  6014. paramaftervalue:
  6015. description: 参数变更后(调整后参数值)
  6016. type: number
  6017. parambeforevalue:
  6018. description: 参数变更前(调整前参数值)
  6019. type: number
  6020. reckondate:
  6021. description: 交易日(reckondate)
  6022. type: string
  6023. tradedate:
  6024. description: 交易日(yyyyMMdd)
  6025. type: string
  6026. type: object
  6027. models.Ermcp3ExpourseReport:
  6028. properties:
  6029. accountid:
  6030. description: 期货账户ID (作废, 默认为0)
  6031. type: integer
  6032. accountname:
  6033. description: 机构名称
  6034. type: string
  6035. arbitrageqty:
  6036. description: 套利量
  6037. type: number
  6038. areauserid:
  6039. description: 所属机构\交易用户ID
  6040. type: integer
  6041. begindate:
  6042. description: 开始交易日
  6043. type: string
  6044. buyfutureqty:
  6045. description: 买入期货数量
  6046. type: number
  6047. buyplanqty:
  6048. description: 采购计划数量
  6049. type: number
  6050. buypricedqty:
  6051. description: 采购合同已定价数量
  6052. type: number
  6053. cycletime:
  6054. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6055. type: string
  6056. cycletype:
  6057. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6058. type: integer
  6059. diffexposure:
  6060. description: 变动量(套保敞口)
  6061. type: number
  6062. difffutuqty:
  6063. description: 变动量(期货)
  6064. type: number
  6065. diffhedgeqty:
  6066. description: 变动量(现货应套保总量)
  6067. type: number
  6068. diffmgqtya:
  6069. description: 套保变动量
  6070. type: number
  6071. diffmgqtyb:
  6072. description: 套利变动量
  6073. type: number
  6074. diffneedqty:
  6075. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6076. type: number
  6077. diffqty:
  6078. description: 变动量(总敞口)
  6079. type: number
  6080. diffspotqty:
  6081. description: 变动量(现货) | 除税变动量
  6082. type: number
  6083. enddate:
  6084. description: 结束交易日
  6085. type: string
  6086. enumdicname:
  6087. description: 单位名称
  6088. type: string
  6089. hedgeqty:
  6090. description: 套保量
  6091. type: number
  6092. mgneedhedgeratio:
  6093. description: 套保比例(套保品的)
  6094. type: number
  6095. middlegoodsid:
  6096. description: 套保品种ID
  6097. type: integer
  6098. middlegoodsname:
  6099. description: 套保商品名称
  6100. type: string
  6101. middlgoodscode:
  6102. description: 套保商品代码
  6103. type: string
  6104. needarbitrageqty:
  6105. description: 应套利量
  6106. type: number
  6107. needarbitrageratio:
  6108. description: 套利比例(套保品的)
  6109. type: number
  6110. needhedgeexposoure:
  6111. description: 应套保敞口(套保敞口)
  6112. type: number
  6113. needhedgeqty:
  6114. description: 应套保量
  6115. type: number
  6116. needhedgeratio:
  6117. description: 应套保敞口比例
  6118. type: number
  6119. needqty:
  6120. description: 应套总量 = 应套保量 + 应套利量
  6121. type: number
  6122. oriarbitrageqty:
  6123. description: 期初套利量
  6124. type: number
  6125. oribuyfutureqty:
  6126. description: 期初买入期货数量
  6127. type: number
  6128. oribuyplanqty:
  6129. description: 期初采购计划数量
  6130. type: number
  6131. oribuypricedqty:
  6132. description: 期初采购合同已定价数量
  6133. type: number
  6134. orihedgeqty:
  6135. description: 期初套保量
  6136. type: number
  6137. orineedarbitrageqty:
  6138. description: 期初应套利量
  6139. type: number
  6140. orineedhedgeexposoure:
  6141. description: 期初应套保敞口
  6142. type: number
  6143. orineedhedgeqty:
  6144. description: 期初应套保量
  6145. type: number
  6146. orisellfutureqty:
  6147. description: 期初卖出期货数量
  6148. type: number
  6149. orisellplanqty:
  6150. description: 期初销售计划数量
  6151. type: number
  6152. orisellpricedqty:
  6153. description: 期初销售合同已定价数量
  6154. type: number
  6155. oritotalexposure:
  6156. description: 期初实时总敞口
  6157. type: number
  6158. oritotalfutureqty:
  6159. description: 期初期货头寸总量
  6160. type: number
  6161. oritotalneedhedgeqty:
  6162. description: 期初应套保总量
  6163. type: number
  6164. oritotalspotqty:
  6165. description: 期初现货头寸总量
  6166. type: number
  6167. reckondate:
  6168. description: 日照时期(yyyyMMdd)
  6169. type: string
  6170. sellfutureqty:
  6171. description: 卖出期货数量
  6172. type: number
  6173. sellplanqty:
  6174. description: 销售计划数量
  6175. type: number
  6176. sellpricedqty:
  6177. description: 销售合同已定价数量
  6178. type: number
  6179. totalexposure:
  6180. description: 实时总敞口(总敞口)
  6181. type: number
  6182. totalfutureqty:
  6183. description: 期货头寸总量(期货总量)
  6184. type: number
  6185. totalhedgeratio:
  6186. description: 敞口比例
  6187. type: number
  6188. totalneedhedgeqty:
  6189. description: 应套保总量(现货应套保总量)
  6190. type: number
  6191. totalspotqty:
  6192. description: 现货头寸总量 | 除税总量
  6193. type: number
  6194. unitid:
  6195. description: 单位id
  6196. type: integer
  6197. updatetime:
  6198. description: 更新时间
  6199. type: string
  6200. type: object
  6201. models.Ermcp3FinanceReport:
  6202. properties:
  6203. accountname:
  6204. description: 机构名称
  6205. type: string
  6206. areauserid:
  6207. description: 所属机构\交易用户ID
  6208. type: integer
  6209. begindate:
  6210. description: 开始交易日
  6211. type: string
  6212. biztype:
  6213. description: 业务类型 - 1:套保 2:套利
  6214. type: integer
  6215. brandname:
  6216. description: 品牌名称
  6217. type: string
  6218. buypreinvoicedamount:
  6219. description: 采购预收票额(预收票额)
  6220. type: number
  6221. buyprepaidamount:
  6222. description: 采购预付款额(预付货款额)
  6223. type: number
  6224. buytodayinvoiceamount:
  6225. description: 采购今收票额(今收票额)
  6226. type: number
  6227. buytodayrefundamount:
  6228. description: 采购今收退款额(今收退款额)
  6229. type: number
  6230. buytodaysettleamount:
  6231. description: 采购今付款额(今付货款额)
  6232. type: number
  6233. buyuninvoicedamount:
  6234. description: 采购应收票额(应收票额)
  6235. type: number
  6236. buyunpaidamount:
  6237. description: 采购应付款额(应付货款额)
  6238. type: number
  6239. currencyid:
  6240. description: 结算币种ID
  6241. type: integer
  6242. currencyname:
  6243. description: 币种名称
  6244. type: string
  6245. cycletime:
  6246. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6247. type: string
  6248. cycletype:
  6249. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6250. type: integer
  6251. deliverygoodscode:
  6252. description: 现货品种代码
  6253. type: string
  6254. deliverygoodsid:
  6255. description: 现货品种ID
  6256. type: integer
  6257. deliverygoodsname:
  6258. description: 现货品种名称
  6259. type: string
  6260. enddate:
  6261. description: 结束交易日
  6262. type: string
  6263. reckondate:
  6264. description: 日照时期(yyyyMMdd)
  6265. type: string
  6266. sellpreinvoicedamount:
  6267. description: 销售预开票额(预开票额)
  6268. type: number
  6269. sellprepaidamount:
  6270. description: 销售预收款额(预收货款额)
  6271. type: number
  6272. selltodayinvoiceamount:
  6273. description: 销售今开票额(今开票额)
  6274. type: number
  6275. selltodayrefundamount:
  6276. description: 销售今付退款额(今付退款额)
  6277. type: number
  6278. selltodaysettleamount:
  6279. description: 销售今收款额(今收货款额)
  6280. type: number
  6281. selluninvoicedamount:
  6282. description: 销售应开票额(应开票额)
  6283. type: number
  6284. sellunpaidamount:
  6285. description: 销售应收款额(应收货款额)
  6286. type: number
  6287. spotgoodsbrandid:
  6288. description: 现货品牌ID
  6289. type: integer
  6290. todaypaysum:
  6291. description: 今付款合计
  6292. type: number
  6293. todayreceivesum:
  6294. description: 今收款合计
  6295. type: number
  6296. updatetime:
  6297. description: 更新时间
  6298. type: string
  6299. wrfactortypeid:
  6300. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6301. type: integer
  6302. wrstandardcode:
  6303. description: 品类代码
  6304. type: string
  6305. wrstandardid:
  6306. description: 现货商品ID
  6307. type: integer
  6308. wrstandardname:
  6309. description: 品类名称
  6310. type: string
  6311. type: object
  6312. models.Ermcp3GoodsGroup:
  6313. properties:
  6314. agreeunit:
  6315. description: 合约单位
  6316. type: number
  6317. areauserid:
  6318. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6319. type: integer
  6320. canshort:
  6321. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6322. type: integer
  6323. closepricemode:
  6324. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6325. type: integer
  6326. createtime:
  6327. description: 创建时间
  6328. type: string
  6329. creatorid:
  6330. description: 创建人
  6331. type: integer
  6332. currencyid:
  6333. description: 报价货币ID
  6334. type: integer
  6335. decimalplace:
  6336. description: 报价小数位
  6337. type: integer
  6338. enumdicname:
  6339. description: 单位名称
  6340. type: string
  6341. exchangefullname:
  6342. description: 交易所全称
  6343. type: string
  6344. excludecfg:
  6345. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6346. type: integer
  6347. exexchangecode:
  6348. description: 交易所代码
  6349. type: string
  6350. exexchangeid:
  6351. description: 外部交易所ID[通道交易]
  6352. type: integer
  6353. exexchangename:
  6354. description: 交易所名称
  6355. type: string
  6356. goodsgroupid:
  6357. description: 商品组ID(自增ID)
  6358. type: integer
  6359. goodsgroupname:
  6360. description: 商品组名称
  6361. type: string
  6362. goodsgroupstatus:
  6363. description: 商品组状态 - 1:正常 2:注销
  6364. type: integer
  6365. goodunitid:
  6366. description: 报价单位ID
  6367. type: integer
  6368. groupcategroyid:
  6369. description: 品种分类ID
  6370. type: integer
  6371. innerdealmode:
  6372. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. marketid:
  6375. description: 所属市场ID
  6376. type: integer
  6377. modifierid:
  6378. description: 修改人
  6379. type: integer
  6380. modifytime:
  6381. description: 修改时间
  6382. type: string
  6383. outerdealmode:
  6384. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6385. type: integer
  6386. outergroupcode:
  6387. description: 外部商品组代码[通道交易]
  6388. type: string
  6389. quoteminunit:
  6390. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6391. type: integer
  6392. quotesourcegroupid:
  6393. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6394. type: integer
  6395. syncgoodsqty:
  6396. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6397. type: integer
  6398. required:
  6399. - areauserid
  6400. type: object
  6401. models.Ermcp3HPMiddleGoods:
  6402. properties:
  6403. biztype:
  6404. description: 业务类型 1:套保 2:套利
  6405. type: integer
  6406. contracttype:
  6407. description: 合同类型 1:采购 -1:销售
  6408. type: integer
  6409. convertratio:
  6410. description: 折算系数
  6411. type: number
  6412. customername:
  6413. description: 对手手名称
  6414. type: string
  6415. customeruserid:
  6416. description: 对手id
  6417. type: integer
  6418. enumdicname:
  6419. description: 现货单位名称
  6420. type: string
  6421. hedgeplanid:
  6422. description: 计划id
  6423. type: string
  6424. hedgeplanno:
  6425. description: 计划编号
  6426. type: string
  6427. middlegoodsid:
  6428. description: 套保品种ID
  6429. type: integer
  6430. middlegoodsplanqty3:
  6431. description: 应套保计划量
  6432. type: number
  6433. needhedgeratio:
  6434. description: 套保比例
  6435. type: number
  6436. pricedqty:
  6437. description: 已定价量
  6438. type: number
  6439. relatedmiddlegoodsqty:
  6440. description: 已关联量(套保品种)(期货)
  6441. type: number
  6442. unitid:
  6443. description: 现货单位id
  6444. type: integer
  6445. userid:
  6446. description: 用户id
  6447. type: integer
  6448. vatrate:
  6449. description: 增值税率
  6450. type: number
  6451. wrstandardcode:
  6452. description: 现货商品代码
  6453. type: string
  6454. wrstandardid:
  6455. description: 现货商品id
  6456. type: integer
  6457. wrstandardname:
  6458. description: 现货商品名称
  6459. type: string
  6460. type: object
  6461. models.Ermcp3HedgePlan:
  6462. properties:
  6463. accountid:
  6464. description: 资金账号
  6465. type: integer
  6466. areauserid:
  6467. description: 用户ID
  6468. type: integer
  6469. auditid:
  6470. description: 审核id
  6471. type: integer
  6472. auditname:
  6473. description: 审核人名称
  6474. type: string
  6475. auditremark:
  6476. description: 审核备注
  6477. type: string
  6478. auditsrc:
  6479. description: 审核来源 1-管理端 2-终端
  6480. type: integer
  6481. audittime:
  6482. description: 审核时间
  6483. type: string
  6484. contracttype:
  6485. description: 计划类型 - 1:采购 -1:销售
  6486. type: integer
  6487. convertfactor:
  6488. description: 标仓系数
  6489. type: number
  6490. createtime:
  6491. description: 创建时间
  6492. type: string
  6493. currencyid:
  6494. description: 币种id
  6495. type: integer
  6496. currencyname:
  6497. description: 币种名称
  6498. type: string
  6499. deliverygoodscode:
  6500. description: 现货品种代码
  6501. type: string
  6502. deliverygoodsid:
  6503. description: 现货品种ID
  6504. type: integer
  6505. deliverygoodsname:
  6506. description: 现货品种名称
  6507. type: string
  6508. enumdicname:
  6509. description: 单位名称(现货商品)
  6510. type: string
  6511. hedgeplanid:
  6512. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6513. type: string
  6514. hedgeplanno:
  6515. description: 套保计划编号(名称)
  6516. type: string
  6517. hedgeplanstatus:
  6518. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6519. type: integer
  6520. planqty:
  6521. description: 计划数量
  6522. type: number
  6523. plantime:
  6524. description: 计划时间
  6525. type: string
  6526. producttype:
  6527. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6528. type: integer
  6529. remark:
  6530. description: 备注
  6531. type: string
  6532. spotgoodsdesc:
  6533. description: 商品型号
  6534. type: string
  6535. taaccountname:
  6536. description: 资金账号名称
  6537. type: string
  6538. tradeuserid:
  6539. description: 交易用户id
  6540. type: integer
  6541. tradeusername:
  6542. description: 交易用户名称
  6543. type: string
  6544. unitid:
  6545. description: 单位id(现货商品)
  6546. type: integer
  6547. updatetime:
  6548. description: 更新时间
  6549. type: string
  6550. vatrate:
  6551. description: 增值税率
  6552. type: number
  6553. wrstandardcode:
  6554. description: 品类代码
  6555. type: string
  6556. wrstandardid:
  6557. description: 品类id
  6558. type: integer
  6559. wrstandardname:
  6560. description: 品类名称
  6561. type: string
  6562. wrunitid:
  6563. description: 品类单位id
  6564. type: integer
  6565. wrunitidame:
  6566. description: 品类单位名称
  6567. type: string
  6568. type: object
  6569. models.Ermcp3InnerTradeLink:
  6570. properties:
  6571. accountid:
  6572. description: 期货账号代码 | 资金账号ID
  6573. type: integer
  6574. buyorsell:
  6575. description: 方向 - 0:买 1:卖
  6576. type: integer
  6577. channelbuildtype:
  6578. description: 委托单据类型 0:无 1:建仓 2:平仓
  6579. type: integer
  6580. currencyid:
  6581. description: 币种id
  6582. type: integer
  6583. currencyname:
  6584. description: 结算币种 名称
  6585. type: string
  6586. goodscode:
  6587. description: 商品代码
  6588. type: string
  6589. goodsid:
  6590. description: 商品ID
  6591. type: integer
  6592. goodsname:
  6593. description: 商品名称
  6594. type: string
  6595. outtradeid:
  6596. description: 外部成交单号
  6597. type: string
  6598. taname:
  6599. description: 期货账户名称
  6600. type: string
  6601. tradeid:
  6602. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6603. type: string
  6604. tradeprice:
  6605. description: 成交价格
  6606. type: number
  6607. tradeqty:
  6608. description: 期货成交数量
  6609. type: integer
  6610. tradetime:
  6611. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6612. type: string
  6613. username:
  6614. description: 用户名称
  6615. type: string
  6616. type: object
  6617. models.Ermcp3OutTradeLink:
  6618. properties:
  6619. buyorsell:
  6620. description: 买卖方向 - 0:买 1:卖
  6621. type: integer
  6622. channelbuildtype:
  6623. description: 开平标志- 0:无 1:建仓 2:平仓
  6624. type: integer
  6625. currencyname:
  6626. description: 币种名称
  6627. type: string
  6628. exexchangecode:
  6629. description: 交易所代码
  6630. type: string
  6631. exexchangename:
  6632. description: 交易所名称
  6633. type: string
  6634. goodscode:
  6635. description: 合约代码
  6636. type: string
  6637. goodsid:
  6638. description: 合约id
  6639. type: integer
  6640. goodsname:
  6641. description: 合约名称
  6642. type: string
  6643. hasinnerorder:
  6644. description: 是否有内部单关联 - 0:无 1:有
  6645. type: integer
  6646. hedgeaccountcode:
  6647. description: 外部账号 | 对冲账号
  6648. type: string
  6649. outtradeid:
  6650. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6651. type: string
  6652. tradeprice:
  6653. description: 成交价格
  6654. type: number
  6655. tradeqty:
  6656. description: 成交数量
  6657. type: integer
  6658. tradetime:
  6659. description: 成交时间
  6660. type: string
  6661. type: object
  6662. models.Ermcp3PaAreaAuditCfg:
  6663. properties:
  6664. areauserid:
  6665. description: 用户ID
  6666. type: integer
  6667. buyinauditflag:
  6668. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. costratioauditflag:
  6671. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. customerauditflag:
  6674. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. deliveryauditflag:
  6677. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6678. type: integer
  6679. invoiceauditflag:
  6680. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6681. type: integer
  6682. mgneedhedgeratioauditflag:
  6683. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. moneyauditflag:
  6686. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. operatorid:
  6689. description: 操作人
  6690. type: integer
  6691. operatorsrc:
  6692. description: 操作来源 - 1:管理端 2:终端
  6693. type: integer
  6694. pointpriceauditflag:
  6695. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. produceinauditflag:
  6698. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. produceoutauditflag:
  6701. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. selloutauditflag:
  6704. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6705. type: integer
  6706. sgconvertratioauditflag:
  6707. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6708. type: integer
  6709. sgvtaratioauditflag:
  6710. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6711. type: integer
  6712. spotcontractauditflag:
  6713. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6714. type: integer
  6715. updatetime:
  6716. description: 更新时间
  6717. type: string
  6718. type: object
  6719. models.Ermcp3PaAreaSubject:
  6720. properties:
  6721. areauserid:
  6722. description: 所属机构
  6723. type: integer
  6724. canmodify:
  6725. description: 是否可修改 - 0:否 1:是
  6726. type: integer
  6727. createtime:
  6728. description: 创建时间
  6729. type: string
  6730. creatorid:
  6731. description: 创建人ID
  6732. type: string
  6733. creatorsrc:
  6734. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6735. type: integer
  6736. modifierid:
  6737. description: 修改人
  6738. type: string
  6739. modifiersrc:
  6740. description: 修改人来源 - 1:管理端 2:终端
  6741. type: integer
  6742. modifytime:
  6743. description: 修改时间
  6744. type: string
  6745. parentsubjectid:
  6746. description: 上级主体ID
  6747. type: string
  6748. remark:
  6749. description: 备注
  6750. type: string
  6751. subjectid:
  6752. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6753. type: integer
  6754. subjectname:
  6755. description: 主体名称
  6756. type: string
  6757. subjectstatus:
  6758. description: '主体状态 - 1:正常 2: 停用'
  6759. type: integer
  6760. subjecttype:
  6761. description: 主体类型 - 1:交易主体 2:业务部门
  6762. type: integer
  6763. type: object
  6764. models.Ermcp3PaTradeLink:
  6765. properties:
  6766. accountid:
  6767. description: 期货账户代码 | 账号ID
  6768. type: integer
  6769. agreeunit:
  6770. description: 合约乘数
  6771. type: number
  6772. buyorsell:
  6773. description: 方向 - 0:买 1:卖
  6774. type: integer
  6775. channelbuildtype:
  6776. description: 委托单据类型 0:无 1:建仓 2:平仓
  6777. type: integer
  6778. charge:
  6779. description: 手续费
  6780. type: number
  6781. closepl:
  6782. description: 平仓盈亏
  6783. type: number
  6784. closetype:
  6785. description: 平仓方式 - 0:无 1:平今 2:平昨
  6786. type: integer
  6787. convertratio:
  6788. description: 折算系数
  6789. type: number
  6790. enumdicname:
  6791. description: 单位名称
  6792. type: string
  6793. executeprice:
  6794. description: 执行价 [期权]
  6795. type: integer
  6796. goodscode:
  6797. description: 合约代码
  6798. type: string
  6799. goodsgroupid:
  6800. description: 对冲品种ID[期货合约商品组ID]
  6801. type: integer
  6802. goodsid:
  6803. description: 商品ID
  6804. type: integer
  6805. goodsname:
  6806. description: 合约名称
  6807. type: string
  6808. goodunitid:
  6809. description: 单位id
  6810. type: integer
  6811. hedgeflag:
  6812. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6813. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6814. type: integer
  6815. marketid:
  6816. description: 市场ID
  6817. type: integer
  6818. middlegoodsid:
  6819. description: 套保品种ID
  6820. type: integer
  6821. middlegoodsqty:
  6822. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6823. type: number
  6824. optioncode:
  6825. description: 期权代码 [期权]
  6826. type: string
  6827. ordertype:
  6828. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6829. type: integer
  6830. ordertypename:
  6831. description: 订单类型
  6832. type: string
  6833. parentaccountid:
  6834. description: 所属母账户
  6835. type: integer
  6836. premium:
  6837. description: 权利金 [期权]
  6838. type: number
  6839. relatedlot:
  6840. description: 已关联数量(已关联数量手) | db:关联手数
  6841. type: number
  6842. relatedouttradeid:
  6843. description: 关联外部成交单ID
  6844. type: string
  6845. relatedqty:
  6846. description: 关联数量
  6847. type: number
  6848. spotcontractid:
  6849. description: 现货合同ID [4:套期保值\10\11]
  6850. type: string
  6851. taname:
  6852. description: 期货账户名称
  6853. type: string
  6854. tradeamount:
  6855. description: 成交金额(账户)
  6856. type: number
  6857. tradedate:
  6858. description: 交易日(yyyyMMdd)
  6859. type: string
  6860. tradeid:
  6861. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6862. type: string
  6863. tradelot:
  6864. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6865. type: integer
  6866. tradeprice:
  6867. description: 成交价格
  6868. type: number
  6869. tradetime:
  6870. description: 时间 | db:成交时间
  6871. type: string
  6872. tradetype:
  6873. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6874. type: integer
  6875. userid:
  6876. description: 所属机构 - 所属母账户的UserID
  6877. type: string
  6878. username:
  6879. description: 用户名称
  6880. type: string
  6881. type: object
  6882. models.Ermcp3ParamChangeApp:
  6883. properties:
  6884. aftervalue:
  6885. description: 变更后
  6886. type: number
  6887. applicationid:
  6888. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6889. type: string
  6890. applyid:
  6891. description: 申请人
  6892. type: string
  6893. applyname:
  6894. description: 申请人名称(代码)
  6895. type: string
  6896. applyremark:
  6897. description: 申请备注
  6898. type: string
  6899. applysrc:
  6900. description: 申请来源 - 1:管理端 2:终端
  6901. type: integer
  6902. applystatus:
  6903. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6904. type: integer
  6905. applytime:
  6906. description: 申请时间
  6907. type: string
  6908. areauserid:
  6909. description: 所属机构用户ID
  6910. type: integer
  6911. auditid:
  6912. description: 审核人
  6913. type: string
  6914. auditname:
  6915. description: 审核人名称(代码)
  6916. type: string
  6917. auditremark:
  6918. description: 审核备注
  6919. type: string
  6920. auditsrc:
  6921. description: 审核来源 - 1:管理端 2:终端
  6922. type: integer
  6923. audittime:
  6924. description: 审核时间
  6925. type: string
  6926. audittradedate:
  6927. description: 审核交易日(yyyyMMdd)
  6928. type: string
  6929. beforevalue:
  6930. description: 变更前
  6931. type: number
  6932. deliverygoodscode:
  6933. description: 品种代码
  6934. type: string
  6935. deliverygoodsid:
  6936. description: 品种id
  6937. type: integer
  6938. deliverygoodsname:
  6939. description: 品种名称
  6940. type: string
  6941. middlegoodscode:
  6942. description: 套保品种代码
  6943. type: string
  6944. middlegoodsid:
  6945. description: 套保品种ID [ParamChangeType = 2,3,4]
  6946. type: integer
  6947. middlegoodsname:
  6948. description: 套保品种名称
  6949. type: string
  6950. operatetype:
  6951. description: 操作类型 - 1:新增 2:修改
  6952. type: integer
  6953. paramchangetype:
  6954. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6955. type: integer
  6956. wrstandardcode:
  6957. description: 现货商品代码
  6958. type: string
  6959. wrstandardid:
  6960. description: 现货商品ID [ParamChangeType = 1,2,3]
  6961. type: integer
  6962. wrstandardname:
  6963. description: 现货商品名称
  6964. type: string
  6965. type: object
  6966. models.Ermcp3RootUserAccount:
  6967. properties:
  6968. accountname:
  6969. description: 账户名称(机构名称)
  6970. type: string
  6971. accountstatus:
  6972. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6973. type: integer
  6974. applysrc:
  6975. description: 申请来源 - 1:管理端 2:终端
  6976. type: integer
  6977. auditremark:
  6978. description: 审核备注
  6979. type: string
  6980. auditsrc:
  6981. description: 审核来源 - 1:管理端 2:终端
  6982. type: integer
  6983. audittime:
  6984. description: 审核时间
  6985. type: string
  6986. audituserid:
  6987. description: 审核人
  6988. type: integer
  6989. broker:
  6990. description: 所属经纪人ID
  6991. type: integer
  6992. canceltime:
  6993. description: 销户时间
  6994. type: string
  6995. canceluserid:
  6996. description: 销户人
  6997. type: integer
  6998. canrecommend:
  6999. description: 是否可推荐 - 0:不可 1;可
  7000. type: integer
  7001. createtime:
  7002. description: 创建时间
  7003. type: string
  7004. creatorid:
  7005. description: 创建人
  7006. type: integer
  7007. hasauth:
  7008. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7009. type: integer
  7010. isanonymous:
  7011. description: 是否匿名下单 - 0:否 1:是
  7012. type: integer
  7013. maxinvestornum:
  7014. description: 最大用户数(经纪会员下投资者个数)
  7015. type: integer
  7016. memberuserid:
  7017. description: 所属会员ID
  7018. type: integer
  7019. modifierid:
  7020. description: 修改人
  7021. type: integer
  7022. modifyremark:
  7023. description: 变更备注
  7024. type: string
  7025. modifystatus:
  7026. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7027. type: integer
  7028. modifytime:
  7029. description: 修改时间
  7030. type: string
  7031. nickname:
  7032. description: 昵称
  7033. type: string
  7034. parenttopuser:
  7035. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7036. type: string
  7037. parentuserid:
  7038. description: 所属机构ID
  7039. type: integer
  7040. reckonaccountid:
  7041. description: 默认结算资金账号ID(机构分润使用) 作废
  7042. type: integer
  7043. refercount:
  7044. description: 推荐总人数
  7045. type: integer
  7046. refereeuserid:
  7047. description: 推荐人ID
  7048. type: integer
  7049. refernum:
  7050. description: 推荐码
  7051. type: string
  7052. rootuserid:
  7053. description: 根用户ID
  7054. type: integer
  7055. subaccountlevel:
  7056. description: 子账户层数
  7057. type: integer
  7058. subarealevelpath:
  7059. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7060. type: string
  7061. userid:
  7062. description: 用户ID
  7063. type: integer
  7064. usertype:
  7065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7066. type: integer
  7067. type: object
  7068. models.Ermcp3SCMiddleGoods:
  7069. properties:
  7070. biztype:
  7071. description: 业务类型 1:套保 2:套利
  7072. type: integer
  7073. contractno:
  7074. description: 合同编号
  7075. type: string
  7076. contracttype:
  7077. description: 合同类型 1:采购 -1:销售
  7078. type: integer
  7079. convertratio:
  7080. description: 折算系数
  7081. type: number
  7082. customername:
  7083. description: 对手手名称
  7084. type: string
  7085. customeruserid:
  7086. description: 对手id
  7087. type: integer
  7088. deliverygoodscode:
  7089. description: 现货品种代码
  7090. type: string
  7091. deliverygoodsid:
  7092. description: 现货品种ID
  7093. type: integer
  7094. deliverygoodsname:
  7095. description: 现货品种名称
  7096. type: string
  7097. enumdicname:
  7098. description: 现货单位名称
  7099. type: string
  7100. middlegoodsid:
  7101. description: 套保品种ID
  7102. type: integer
  7103. middlegoodspricedqty3:
  7104. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7105. type: number
  7106. needhedgeratio:
  7107. description: 套保比例
  7108. type: number
  7109. pricedqty:
  7110. description: 已定价量
  7111. type: number
  7112. relatedmiddlegoodsqty:
  7113. description: 已关联量(套保品种)(期货)
  7114. type: number
  7115. spotcontractid:
  7116. description: 合同编号
  7117. type: string
  7118. unitid:
  7119. description: 现货单位id
  7120. type: integer
  7121. userid:
  7122. description: 用户id
  7123. type: integer
  7124. vatrate:
  7125. description: 增值税率
  7126. type: number
  7127. wrstandardcode:
  7128. description: 现货商品代码
  7129. type: string
  7130. wrstandardid:
  7131. description: 现货商品id
  7132. type: integer
  7133. wrstandardname:
  7134. description: 现货商品名称
  7135. type: string
  7136. type: object
  7137. models.Ermcp3SCMiddleGoodsReport:
  7138. properties:
  7139. begindate:
  7140. description: 开始交易日
  7141. type: string
  7142. contractno:
  7143. description: 合同编号
  7144. type: string
  7145. contracttype:
  7146. description: 合同类型 1:采购 -1:销售
  7147. type: integer
  7148. convertratio:
  7149. description: 期初均价
  7150. type: number
  7151. cycletime:
  7152. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7153. type: string
  7154. cycletype:
  7155. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7156. type: integer
  7157. deliverygoodscode:
  7158. description: 品种代码
  7159. type: string
  7160. deliverygoodsid:
  7161. description: 现货品种ID
  7162. type: integer
  7163. deliverygoodsname:
  7164. description: 品种名称
  7165. type: string
  7166. diffprice:
  7167. description: 期初均价
  7168. type: number
  7169. diffqty:
  7170. description: 期初均价
  7171. type: number
  7172. enddate:
  7173. description: 结束交易日
  7174. type: string
  7175. hedgeplanqty:
  7176. description: 期初均价
  7177. type: number
  7178. matchname:
  7179. description: 交易对手方(个人:用户名称 企业:简称)
  7180. type: string
  7181. matchnickname:
  7182. description: 交易对手方昵称
  7183. type: string
  7184. middlegoodscode:
  7185. description: 套保品种代码
  7186. type: string
  7187. middlegoodsid:
  7188. description: 套保品种ID
  7189. type: integer
  7190. middlegoodsname:
  7191. description: 套保品种名称
  7192. type: string
  7193. middlegoodspricedqty:
  7194. description: 期初均价
  7195. type: number
  7196. middlegoodspricedqty2:
  7197. description: 期初均价
  7198. type: number
  7199. middlegoodspricedqty3:
  7200. description: 期初均价
  7201. type: number
  7202. needhedgeratio:
  7203. description: 期初均价
  7204. type: number
  7205. pricedamount:
  7206. description: 期初均价
  7207. type: number
  7208. pricedamount2:
  7209. description: 期初均价
  7210. type: number
  7211. pricedqty:
  7212. description: 期初均价
  7213. type: number
  7214. reckondate:
  7215. description: 日照时期(yyyyMMdd)
  7216. type: string
  7217. relatedmiddlegoodsamount:
  7218. description: 期初均价
  7219. type: number
  7220. relatedmiddlegoodsqty:
  7221. description: 期初均价
  7222. type: number
  7223. spotcontractid:
  7224. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7225. type: string
  7226. todayavgfutuprice:
  7227. description: 期初均价
  7228. type: number
  7229. todayavgprice:
  7230. description: 期初均价
  7231. type: number
  7232. todayavgprice2:
  7233. description: 期初均价
  7234. type: number
  7235. todaypricedamount:
  7236. description: 期初均价
  7237. type: number
  7238. todaypricedamount2:
  7239. description: 期初均价
  7240. type: number
  7241. todaypricedqty:
  7242. description: 期初均价
  7243. type: number
  7244. todayrelatedfutureqty:
  7245. description: 期初均价
  7246. type: number
  7247. todayrelatedmiddlegoodsamount:
  7248. description: 期初均价
  7249. type: number
  7250. todayrelatedmiddlegoodsqty:
  7251. description: 期初均价
  7252. type: number
  7253. updatetime:
  7254. description: 更新时间
  7255. type: string
  7256. userid:
  7257. description: 合同所属用户id
  7258. type: integer
  7259. vatrate:
  7260. description: 期初均价
  7261. type: number
  7262. wrstandardcode:
  7263. description: 商品(品类) 代码
  7264. type: string
  7265. wrstandardid:
  7266. description: 现货商品ID
  7267. type: integer
  7268. wrstandardname:
  7269. description: 商品(品类) 名称
  7270. type: string
  7271. type: object
  7272. models.Ermcp3SellBuyContract:
  7273. properties:
  7274. accountid:
  7275. description: 期货账户id
  7276. type: string
  7277. accountname:
  7278. description: 账户名称
  7279. type: string
  7280. attachment:
  7281. description: 附件
  7282. type: string
  7283. audittime:
  7284. description: 审核时间
  7285. type: string
  7286. bizsubjectid:
  7287. description: 归属业务部门ID - SubjectID
  7288. type: integer
  7289. biztype:
  7290. description: 业务类型 1-套保 2-套利
  7291. type: integer
  7292. brandname:
  7293. description: 品牌名称
  7294. type: string
  7295. contracctstatus:
  7296. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7297. type: integer
  7298. contractmargin:
  7299. description: 合同保证金
  7300. type: number
  7301. contractno:
  7302. description: 合同编号
  7303. type: string
  7304. contracttype:
  7305. description: 合同类型 1-采购, -1-销售
  7306. type: integer
  7307. convertfactor:
  7308. description: 标仓系数(品类)
  7309. type: number
  7310. createtime:
  7311. description: 创建时间
  7312. type: string
  7313. currencyid:
  7314. description: 币种id
  7315. type: integer
  7316. currencyname:
  7317. description: 币种名称
  7318. type: string
  7319. daikaiamount:
  7320. description: 应收(开)票额 | 未收票额
  7321. type: number
  7322. deliveryenddate:
  7323. description: 交割结束日
  7324. type: string
  7325. deliverygoodscode:
  7326. description: 现货品种代码
  7327. type: string
  7328. deliverygoodsid:
  7329. description: 现货商品ID
  7330. type: integer
  7331. deliverygoodsname:
  7332. description: 现货品种名称
  7333. type: string
  7334. deliverystartdate:
  7335. description: 交割开始日
  7336. type: string
  7337. enddate:
  7338. description: 点价结束日
  7339. type: string
  7340. enumdicname:
  7341. description: 单位名称
  7342. type: string
  7343. goodscode:
  7344. description: 点价商品代码
  7345. type: string
  7346. goodsgroupid:
  7347. description: 点价商品组id
  7348. type: integer
  7349. goodsid:
  7350. description: 点价商品ID
  7351. type: integer
  7352. goodsname:
  7353. description: 点价商品名称
  7354. type: string
  7355. invoiceamount:
  7356. description: 已开票额
  7357. type: number
  7358. loanamount:
  7359. description: 贷款总额=已定价额+调整金额
  7360. type: number
  7361. margin:
  7362. description: 保证金
  7363. type: number
  7364. meruserid:
  7365. description: 跟单员id
  7366. type: integer
  7367. meruserlogincode:
  7368. description: 跟单员登录代码
  7369. type: string
  7370. merusername:
  7371. description: 跟单员名称
  7372. type: string
  7373. nickname:
  7374. description: 账户昵称
  7375. type: string
  7376. orireckonrealqty:
  7377. description: 应交收量
  7378. type: number
  7379. payamount:
  7380. description: 已收付额(收款或付款)
  7381. type: number
  7382. preinvoiceamount:
  7383. description: 预收(开)票额
  7384. type: number
  7385. prepayamount:
  7386. description: 预收付额
  7387. type: number
  7388. price:
  7389. description: 价格
  7390. type: number
  7391. pricedamount:
  7392. description: 已定价额
  7393. type: number
  7394. pricedavg:
  7395. description: 已点均价
  7396. type: number
  7397. pricedqty:
  7398. description: 已定价量
  7399. type: number
  7400. pricemove:
  7401. description: 升贴水
  7402. type: number
  7403. pricetype:
  7404. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7405. type: integer
  7406. producttype:
  7407. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7408. type: integer
  7409. qty:
  7410. description: 合同量
  7411. type: number
  7412. reckonadjustamount:
  7413. description: 调整金额
  7414. type: number
  7415. reckonedamount:
  7416. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7417. type: number
  7418. reckonotheramount:
  7419. description: 其它费用
  7420. type: number
  7421. reckonrealqty:
  7422. description: 已交收量
  7423. type: number
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. saleuserid:
  7428. description: 业务员id
  7429. type: integer
  7430. saleuserlogincode:
  7431. description: 业务员登录代码
  7432. type: string
  7433. saleusername:
  7434. description: 业务员名称
  7435. type: string
  7436. spotcontractid:
  7437. description: 合同ID
  7438. type: string
  7439. spotgoodsbrandid:
  7440. description: 现货品牌ID(DGFactoryItem表的ID)
  7441. type: integer
  7442. spotgoodsdesc:
  7443. description: 商品型号(商品规格)
  7444. type: string
  7445. startdate:
  7446. description: 点价开始日
  7447. type: string
  7448. subjectid:
  7449. description: 交易主体ID
  7450. type: integer
  7451. subjectname:
  7452. description: 交易主体名称
  7453. type: string
  7454. totalamount:
  7455. description: 合计总额
  7456. type: number
  7457. tradeuserid:
  7458. description: 交易员id
  7459. type: integer
  7460. tradeuserlogincode:
  7461. description: 交易员登录代码
  7462. type: string
  7463. tradeusername:
  7464. description: 交易员名称
  7465. type: string
  7466. unpayamount:
  7467. description: 应收付款额(应支付或应收款) | 未付款额
  7468. type: number
  7469. unpricedqty:
  7470. description: 未定价量
  7471. type: number
  7472. unsureqty:
  7473. description: 未确定量 | 未交收量
  7474. type: number
  7475. userid:
  7476. description: 机构ID
  7477. type: integer
  7478. vatrate:
  7479. description: 增值税率
  7480. type: number
  7481. wrstandardcode:
  7482. description: 品类代码
  7483. type: string
  7484. wrstandardid:
  7485. description: 品类ID
  7486. type: integer
  7487. wrstandardname:
  7488. description: 品类名称
  7489. type: string
  7490. type: object
  7491. models.Ermcp3SpotGoodsPrice:
  7492. properties:
  7493. areauserid:
  7494. description: 所属机构id
  7495. type: integer
  7496. brandname:
  7497. description: 品牌名称
  7498. type: string
  7499. currencyid:
  7500. description: 报价货币ID
  7501. type: integer
  7502. currencyname:
  7503. description: 币种名称
  7504. type: string
  7505. deliverygoodscode:
  7506. description: 现货商品代码
  7507. type: string
  7508. deliverygoodsid:
  7509. description: 现货商品id
  7510. type: integer
  7511. deliverygoodsname:
  7512. description: 现货商品名称
  7513. type: string
  7514. enumdicname:
  7515. description: 现货商品单位名称
  7516. type: string
  7517. gbenumdicname:
  7518. description: 品类单位名称
  7519. type: string
  7520. gmunitid:
  7521. description: 品类单位id
  7522. type: integer
  7523. isvalid:
  7524. description: 是否有效 - 0:无效 1:有效
  7525. type: integer
  7526. operateid:
  7527. description: 最后操作人
  7528. type: integer
  7529. operatesrc:
  7530. description: 最后操作来源 - 1:管理端 2:终端
  7531. type: integer
  7532. operatetime:
  7533. description: 最后操作时间
  7534. type: string
  7535. operatorname:
  7536. description: 操作人名称
  7537. type: string
  7538. spotgoodsbrandid:
  7539. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7540. type: integer
  7541. spotgoodsprice:
  7542. description: 现货价格
  7543. type: number
  7544. tradedate:
  7545. description: 交易日(yyyyMMdd)
  7546. type: string
  7547. unitid:
  7548. description: 现货商品单位id
  7549. type: integer
  7550. wrstandardcode:
  7551. description: 品类代码
  7552. type: string
  7553. wrstandardid:
  7554. description: 现货品类ID(通用则为0)
  7555. type: integer
  7556. wrstandardname:
  7557. description: 品类名称
  7558. type: string
  7559. type: object
  7560. models.Ermcp3SpotGoodsPriceLog:
  7561. properties:
  7562. areauserid:
  7563. description: 所属机构id
  7564. type: integer
  7565. brandname:
  7566. description: 品牌名称
  7567. type: string
  7568. currencyid:
  7569. description: 报价货币ID
  7570. type: integer
  7571. deliverygoodscode:
  7572. description: 现货商品代码
  7573. type: string
  7574. deliverygoodsid:
  7575. description: 现货商品id
  7576. type: integer
  7577. deliverygoodsname:
  7578. description: 现货商品名称
  7579. type: string
  7580. enumdicname:
  7581. description: 现货商品单位名称
  7582. type: string
  7583. gbenumdicname:
  7584. description: 品类单位名称
  7585. type: string
  7586. gmunitid:
  7587. description: 品类单位id
  7588. type: integer
  7589. logid:
  7590. description: 日志id
  7591. type: integer
  7592. operateid:
  7593. description: 最后操作人
  7594. type: integer
  7595. operatesrc:
  7596. description: 最后操作来源 - 1:管理端 2:终端
  7597. type: integer
  7598. operatetime:
  7599. description: 最后操作时间
  7600. type: string
  7601. operatorname:
  7602. description: 操作人名称
  7603. type: string
  7604. spotgoodsbrandid:
  7605. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7606. type: integer
  7607. spotgoodsprice:
  7608. description: 现货价格
  7609. type: number
  7610. tradedate:
  7611. description: 交易日(yyyyMMdd)
  7612. type: string
  7613. unitid:
  7614. description: 现货商品单位id
  7615. type: integer
  7616. wrstandardcode:
  7617. description: 品类代码
  7618. type: string
  7619. wrstandardid:
  7620. description: 现货品类ID(通用则为0)
  7621. type: integer
  7622. wrstandardname:
  7623. description: 品类名称
  7624. type: string
  7625. type: object
  7626. models.Ermcp3SubTaaccount:
  7627. properties:
  7628. accountid:
  7629. description: 资金账户ID
  7630. type: integer
  7631. parentaccountcode:
  7632. description: 所属根账号代码(母账号代码)
  7633. type: string
  7634. parentaccountid:
  7635. description: 所属根账号(母账号)
  7636. type: integer
  7637. taname:
  7638. description: 资金账号名称
  7639. type: string
  7640. tradestatus:
  7641. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7642. type: integer
  7643. username:
  7644. description: 交易用户
  7645. type: string
  7646. type: object
  7647. models.Ermcp3TaFutuReDataReport:
  7648. properties:
  7649. accountid:
  7650. description: 交易账户
  7651. type: integer
  7652. accountname:
  7653. description: 交易账号名称
  7654. type: string
  7655. agreeunit:
  7656. description: 商品合约单位
  7657. type: number
  7658. begindate:
  7659. description: 开始交易日
  7660. type: string
  7661. buyorsell:
  7662. description: 持仓方向
  7663. type: integer
  7664. charge:
  7665. description: 手续费
  7666. type: number
  7667. closeavgprice:
  7668. description: 期初均价
  7669. type: number
  7670. closepl:
  7671. description: 平仓损益
  7672. type: number
  7673. currencyid:
  7674. description: 结算币种ID
  7675. type: integer
  7676. currencyname:
  7677. description: 币种名称
  7678. type: string
  7679. cycletime:
  7680. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7681. type: string
  7682. cycletype:
  7683. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7684. type: integer
  7685. enddate:
  7686. description: 结束交易日
  7687. type: string
  7688. enumdicname:
  7689. description: 单位名称
  7690. type: string
  7691. floatpl:
  7692. description: 浮动损益
  7693. type: number
  7694. goodscode:
  7695. description: 交易合约代码
  7696. type: string
  7697. goodsgroupid:
  7698. description: 交易品种
  7699. type: integer
  7700. goodsgroupname:
  7701. description: 交易品种名称
  7702. type: string
  7703. goodsgroupspotqty:
  7704. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7705. type: number
  7706. goodsid:
  7707. description: 交易合约
  7708. type: integer
  7709. goodsname:
  7710. description: 交易合约名称
  7711. type: string
  7712. goodunitid:
  7713. description: 交易合约单位id
  7714. type: integer
  7715. holdamount:
  7716. description: 期末持仓额
  7717. type: number
  7718. holdqty:
  7719. description: 期初均价
  7720. type: number
  7721. lastholdamount:
  7722. description: 当前持仓额
  7723. type: number
  7724. lastprice:
  7725. description: 最新价
  7726. type: number
  7727. middlegoodsid:
  7728. description: 套保品种id
  7729. type: integer
  7730. middlegoodsname:
  7731. description: 套保商品名称
  7732. type: string
  7733. middlegoodsqty:
  7734. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7735. type: number
  7736. middlgoodscode:
  7737. description: 套保商品代码
  7738. type: string
  7739. openamount:
  7740. description: 期末开仓额
  7741. type: number
  7742. openavgprice:
  7743. description: 期初均价
  7744. type: number
  7745. oriholdamount:
  7746. description: 期初持仓额
  7747. type: number
  7748. oriholdqty:
  7749. description: 期初均价
  7750. type: number
  7751. oriopenamount:
  7752. description: 期初开仓额
  7753. type: number
  7754. outergroupcode:
  7755. description: 交易品种代码
  7756. type: string
  7757. qtydecimalplace:
  7758. description: 成交量小数位
  7759. type: integer
  7760. reckondate:
  7761. description: 日照时期(yyyyMMdd)
  7762. type: string
  7763. reckonholdamount:
  7764. description: 结算持仓额
  7765. type: number
  7766. reckonpl:
  7767. description: 结算损益
  7768. type: number
  7769. reckonpl2:
  7770. description: 结算逐笔盈亏
  7771. type: number
  7772. reckonprice:
  7773. description: 结算价
  7774. type: number
  7775. relateduserid:
  7776. description: 账户关联用户ID
  7777. type: integer
  7778. todaycloseamount:
  7779. description: 今平仓额
  7780. type: number
  7781. todaycloseqty:
  7782. description: 期初均价
  7783. type: number
  7784. todaygoodsgroupspotqty:
  7785. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7786. type: number
  7787. todaymiddlegoodsqty:
  7788. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7789. type: number
  7790. todayopenamount:
  7791. description: 今开仓额
  7792. type: number
  7793. todayopenqty:
  7794. description: 期初均价
  7795. type: number
  7796. userid:
  7797. description: 账户所属用户ID
  7798. type: integer
  7799. type: object
  7800. models.Ermcp3TradeLinkDetail:
  7801. properties:
  7802. accountid:
  7803. description: 资金账号
  7804. type: integer
  7805. agreeunit:
  7806. description: 合约乘数
  7807. type: number
  7808. areauserid:
  7809. description: 所属机构
  7810. type: string
  7811. bizsubjectid:
  7812. description: 归属业务部门ID - SubjectID
  7813. type: string
  7814. buyorsell:
  7815. description: 方向 - 0:买 1:卖
  7816. type: integer
  7817. channelbuildtype:
  7818. description: 委托单据类型 0:无 1:建仓 2:平仓
  7819. type: integer
  7820. contractno:
  7821. description: 现货编号 (合同编号)
  7822. type: string
  7823. convertratio:
  7824. description: 折算系数
  7825. type: number
  7826. createtime:
  7827. description: 关联时间 | 创建时间
  7828. type: string
  7829. creatorid:
  7830. description: 创建人ID
  7831. type: string
  7832. creatorsrc:
  7833. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7834. type: integer
  7835. enumdicname:
  7836. description: 单位名称
  7837. type: string
  7838. goodscode:
  7839. description: 合约代码
  7840. type: string
  7841. goodsgroupid:
  7842. description: 对冲品种ID[期货合约商品组ID]
  7843. type: integer
  7844. goodsid:
  7845. description: 商品ID
  7846. type: integer
  7847. goodsname:
  7848. description: 合约名称
  7849. type: string
  7850. hedgeflag:
  7851. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7852. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7853. type: integer
  7854. linkdetailid:
  7855. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7856. type: string
  7857. linkstatus:
  7858. description: 关联状态 - 1:成功 2:失败 3:解绑
  7859. type: integer
  7860. middlegoodscode:
  7861. description: 套保品种代码
  7862. type: string
  7863. middlegoodsid:
  7864. description: 套保品种ID
  7865. type: integer
  7866. middlegoodsname:
  7867. description: 套保品种名称
  7868. type: string
  7869. relatedlot:
  7870. description: 关联手数
  7871. type: number
  7872. relatedmode:
  7873. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7874. type: integer
  7875. relatedqty:
  7876. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7877. type: number
  7878. retcode:
  7879. description: 返回码
  7880. type: integer
  7881. saleuserid:
  7882. description: 业务员ID
  7883. type: string
  7884. spotcontractid:
  7885. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7886. type: string
  7887. taname:
  7888. description: 期货账户
  7889. type: string
  7890. tradedate:
  7891. description: 关联交易日(yyyyMMdd)
  7892. type: string
  7893. tradeid:
  7894. description: 期货订单号 | 内部成交单ID
  7895. type: string
  7896. tradelot:
  7897. description: 成交数量 | 成交手数
  7898. type: integer
  7899. tradeprice:
  7900. description: 成交价格
  7901. type: number
  7902. tradetime:
  7903. description: 期货成交时间
  7904. type: string
  7905. tradetradedate:
  7906. description: 成交交易日(yyyyMMdd)
  7907. type: string
  7908. username:
  7909. description: 用户名称
  7910. type: string
  7911. type: object
  7912. models.Ermcp3Wrstandard:
  7913. properties:
  7914. areauserid:
  7915. description: 所属机构
  7916. type: integer
  7917. cantrade:
  7918. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7919. type: integer
  7920. convertfactor:
  7921. description: 标仓系数
  7922. type: number
  7923. createtime:
  7924. description: 创建时间
  7925. type: string
  7926. creatorid:
  7927. description: 创建人
  7928. type: integer
  7929. deliverygoodsid:
  7930. description: 现货品种ID
  7931. type: integer
  7932. enumdicname:
  7933. description: 品类单位名称
  7934. type: string
  7935. isvalid:
  7936. description: 是否有效 0-无效(停用) 1-有效(正常)
  7937. type: integer
  7938. minivalue:
  7939. description: 最小变动值
  7940. type: integer
  7941. minivaluedp:
  7942. description: 最小变动值小数位
  7943. type: integer
  7944. realminivalue:
  7945. description: 实际最小变动值
  7946. type: integer
  7947. realminivaluedp:
  7948. description: 实际最小变动值小数位
  7949. type: integer
  7950. remark:
  7951. description: 备注
  7952. type: string
  7953. unitid:
  7954. description: 品类单位ID
  7955. type: integer
  7956. updatetime:
  7957. description: 更新时间
  7958. type: string
  7959. wrstandardcode:
  7960. description: 品类代码
  7961. type: string
  7962. wrstandardid:
  7963. description: 品类ID(SEQ_WRSTANDARD)
  7964. type: integer
  7965. wrstandardname:
  7966. description: 品类名称
  7967. type: string
  7968. type: object
  7969. models.Ermcp8EnableHedgeditem:
  7970. properties:
  7971. accountname:
  7972. description: 套期主体
  7973. type: string
  7974. hedgeditemid:
  7975. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7976. type: string
  7977. hedgeditemname:
  7978. description: 项目名称
  7979. type: string
  7980. hedgeditemnum:
  7981. description: 项目编号
  7982. type: string
  7983. hedgedtype:
  7984. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7985. type: integer
  7986. planenddate:
  7987. description: 计划结束日期
  7988. type: string
  7989. planstartdate:
  7990. description: 计划开始日期
  7991. type: string
  7992. wrstandardid:
  7993. description: 现货商品ID
  7994. type: integer
  7995. wrstandardname:
  7996. description: 现货商品
  7997. type: string
  7998. type: object
  7999. models.Ermcp8HedgeditemReport:
  8000. properties:
  8001. accountname:
  8002. description: 套期主体
  8003. type: string
  8004. areauserid:
  8005. description: 企业ID
  8006. type: integer
  8007. curprice:
  8008. description: '[当日现货市场价]当前市场价'
  8009. type: number
  8010. enumdicname:
  8011. description: 单位
  8012. type: string
  8013. exeamount:
  8014. description: '[执行现货金额]执行市价总额'
  8015. type: number
  8016. exeavgprice:
  8017. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8018. type: number
  8019. exeqty:
  8020. description: '[执行数量]执行现货量'
  8021. type: number
  8022. futurehedgepl:
  8023. description: 期货实际损益
  8024. type: number
  8025. futurehedgeplchange:
  8026. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8027. type: number
  8028. futurepl:
  8029. description: 期货套期损益
  8030. type: number
  8031. futureplchange:
  8032. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8033. type: number
  8034. hedgeamount:
  8035. description: '[套期现货金额]套期市价总额'
  8036. type: number
  8037. hedgeditemnum:
  8038. description: 项目编号,模糊查询
  8039. type: string
  8040. hedgeditemstatus:
  8041. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8042. type: integer
  8043. hedgedtype:
  8044. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8045. type: integer
  8046. hedgeqty:
  8047. description: '[套期数量]套期现货量'
  8048. type: number
  8049. oriavgprice:
  8050. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8051. type: number
  8052. orifuturehedgepl:
  8053. description: 期初期货实际损益
  8054. type: number
  8055. orifuturepl:
  8056. description: 期初期货套期损益
  8057. type: number
  8058. orispothedgepl:
  8059. description: 期初现货实际损益
  8060. type: number
  8061. orispotpl:
  8062. description: 期初现货套期损益
  8063. type: number
  8064. planenddate:
  8065. description: 计划结束日期
  8066. type: string
  8067. planstartdate:
  8068. description: 计划开始日期
  8069. type: string
  8070. spothedgepl:
  8071. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8072. type: number
  8073. spothedgeplchange:
  8074. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8075. type: number
  8076. spotpl:
  8077. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8078. type: number
  8079. spotplchange:
  8080. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8081. type: number
  8082. tradeuserid:
  8083. description: 交易用户ID
  8084. type: integer
  8085. unexeqty:
  8086. description: 未执行现货量 = 套期现货量 - 执行现货量
  8087. type: number
  8088. wrstandardcode:
  8089. description: 现货品类代码
  8090. type: string
  8091. wrstandardid:
  8092. description: 现货商品ID
  8093. type: integer
  8094. wrstandardname:
  8095. description: '[现货商品]现货品类名称'
  8096. type: string
  8097. type: object
  8098. models.Ermcp8RunningHedgeditem:
  8099. properties:
  8100. accountname:
  8101. description: 套期主体
  8102. type: string
  8103. applyid:
  8104. description: 申请人
  8105. type: integer
  8106. applysrc:
  8107. description: 申请来源 - 1:管理端 2:终端
  8108. type: integer
  8109. areauserid:
  8110. description: 企业ID
  8111. type: integer
  8112. auditid:
  8113. description: 审核人
  8114. type: integer
  8115. auditremark:
  8116. description: 审核备注
  8117. type: string
  8118. auditsrc:
  8119. description: 审核来源 - 1:管理端 2:终端
  8120. type: integer
  8121. audittime:
  8122. description: 审核时间
  8123. type: string
  8124. audittradedate:
  8125. description: 审核交易日(yyyyMMdd)
  8126. type: string
  8127. createtime:
  8128. description: 申请时间
  8129. type: string
  8130. curprice:
  8131. description: 当前市场价
  8132. type: number
  8133. curstock:
  8134. description: 期末库存量 = 采购总量 - 销售总量
  8135. type: number
  8136. deliverygoodsid:
  8137. description: 现货品种ID
  8138. type: integer
  8139. enddate:
  8140. description: 完成日期
  8141. type: string
  8142. endtradedate:
  8143. description: 完成交易日
  8144. type: string
  8145. enumdicname:
  8146. description: 单位
  8147. type: string
  8148. exeamount:
  8149. description: 执行市价总额
  8150. type: number
  8151. exeavgprice:
  8152. description: 执行市场均价= 执行市价总额 / 执行现货量
  8153. type: number
  8154. execontractamount:
  8155. description: 执行定价总额
  8156. type: number
  8157. exeqty:
  8158. description: 执行现货量
  8159. type: number
  8160. exerestamount:
  8161. description: 执行剩余市价总额【现货贸易】
  8162. type: number
  8163. futurefloatpl:
  8164. description: 期货浮动损益
  8165. type: number
  8166. futurehedgepl:
  8167. description: 期货实际损益
  8168. type: number
  8169. futurehedgeplchange:
  8170. description: 期货实际损益变动
  8171. type: number
  8172. futurepl:
  8173. description: 期货套期损益
  8174. type: number
  8175. futureplchange:
  8176. description: 期货套期损益变动
  8177. type: number
  8178. hedgeamount:
  8179. description: 套期市价总额
  8180. type: number
  8181. hedgecontractamount:
  8182. description: 套期定价总额 【定价采购合同】【现货贸易】
  8183. type: number
  8184. hedgeditemid:
  8185. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8186. type: string
  8187. hedgeditemname:
  8188. description: 项目名称
  8189. type: string
  8190. hedgeditemnum:
  8191. description: 项目编号
  8192. type: string
  8193. hedgeditemstatus:
  8194. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8195. type: integer
  8196. hedgedtype:
  8197. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8198. type: integer
  8199. hedgeqty:
  8200. description: 套期现货量
  8201. type: number
  8202. hedgerate:
  8203. description: 套保比率
  8204. type: number
  8205. hedgerestamount:
  8206. description: 套期剩余市价总额【现货贸易】
  8207. type: number
  8208. hedgesumpl:
  8209. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8210. type: number
  8211. middlegoodslist:
  8212. description: 套期商品列表
  8213. items:
  8214. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8215. type: array
  8216. oriavgprice:
  8217. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8218. type: number
  8219. orifuturehedgepl:
  8220. description: 期初期货实际损益
  8221. type: number
  8222. orifuturepl:
  8223. description: 期初期货套期损益
  8224. type: number
  8225. orispothedgepl:
  8226. description: 期初现货实际损益
  8227. type: number
  8228. orispotpl:
  8229. description: 期初现货套期损益
  8230. type: number
  8231. planenddate:
  8232. description: 计划结束日期
  8233. type: string
  8234. planstartdate:
  8235. description: 计划开始日期
  8236. type: string
  8237. remark:
  8238. description: 备注
  8239. type: string
  8240. spotbookamount:
  8241. description: 现货账面总额
  8242. type: number
  8243. spotfloatpl:
  8244. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8245. type: number
  8246. spothedgepl:
  8247. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8248. type: number
  8249. spothedgeplchange:
  8250. description: 现货实际损益变动
  8251. type: number
  8252. spotpl:
  8253. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8254. type: number
  8255. spotplchange:
  8256. description: 现货套期损益变动
  8257. type: number
  8258. spottradepl:
  8259. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8260. type: number
  8261. sumobspl:
  8262. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8263. type: number
  8264. tradeuserid:
  8265. description: 交易用户ID
  8266. type: integer
  8267. unexeqty:
  8268. description: 未执行现货量 = 套期现货量 - 执行现货量
  8269. type: number
  8270. updatetime:
  8271. description: 更新时间
  8272. type: string
  8273. vatpl:
  8274. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8275. type: number
  8276. vatrate:
  8277. description: 增值税
  8278. type: number
  8279. wrstandardid:
  8280. description: 现货商品ID
  8281. type: integer
  8282. wrstandardname:
  8283. description: 商品名称
  8284. type: string
  8285. type: object
  8286. models.ErmcpBizGroupEx:
  8287. properties:
  8288. acclist:
  8289. description: 账号列表
  8290. items:
  8291. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8292. type: array
  8293. bizgroupid:
  8294. description: 业务分组id
  8295. type: integer
  8296. biztype:
  8297. description: 业务类型 1-套保 2-套利
  8298. type: integer
  8299. wrlist:
  8300. description: 现货商品表
  8301. items:
  8302. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8303. type: array
  8304. type: object
  8305. models.ErmcpBizGroupSpotGoods:
  8306. properties:
  8307. areauserid:
  8308. description: 所属机构id
  8309. type: integer
  8310. bizgroupid:
  8311. description: 分组id
  8312. type: integer
  8313. biztype:
  8314. description: 业务类型 1-套保 2-套利
  8315. type: integer
  8316. deliverygoodscode:
  8317. description: 现货商品代码
  8318. type: string
  8319. deliverygoodsid:
  8320. description: 现货商品id
  8321. type: integer
  8322. deliverygoodsname:
  8323. description: 现货商品名称
  8324. type: string
  8325. unitid:
  8326. description: 现货商品单位id
  8327. type: integer
  8328. type: object
  8329. models.ErmcpBizGroupTaAccount:
  8330. properties:
  8331. accountid:
  8332. description: 账号id
  8333. type: integer
  8334. accountname:
  8335. description: 账号名称
  8336. type: string
  8337. areauserid:
  8338. description: 所属机构id
  8339. type: integer
  8340. bizgroupid:
  8341. description: 业务分组id
  8342. type: integer
  8343. ismain:
  8344. description: 是否主账号 1-是 0-否
  8345. type: integer
  8346. type: object
  8347. models.ErmcpDGFactoryItem:
  8348. properties:
  8349. areauserid:
  8350. description: 用户id
  8351. type: integer
  8352. deliverygoodsid:
  8353. description: 现货品种ID
  8354. type: integer
  8355. dgfactoryitemid:
  8356. description: 选择项ID(SEQ_DGFACTORYITEM)
  8357. type: integer
  8358. dgfactoryitemtypeid:
  8359. description: 要素项类型
  8360. type: integer
  8361. dgfactoryitemvalue:
  8362. description: 要素项值(类型为仓库时填写仓库名称)
  8363. type: string
  8364. isvalid:
  8365. description: 是否有效 - 0:无效 1:有效
  8366. type: integer
  8367. orderindex:
  8368. description: 顺序
  8369. type: integer
  8370. warehouseid:
  8371. description: 仓库ID(类型为仓库时填写)
  8372. type: integer
  8373. type: object
  8374. models.ErmcpDeliveryGoods:
  8375. properties:
  8376. agreeunit:
  8377. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8378. type: integer
  8379. areauserid:
  8380. description: 所属机构
  8381. type: integer
  8382. auditflag:
  8383. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8384. type: integer
  8385. categoryid:
  8386. description: 类别ID(SEQ_WRCATEGORY)
  8387. type: integer
  8388. deliverygoodscode:
  8389. description: 现货品种代码
  8390. type: string
  8391. deliverygoodsid:
  8392. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8393. type: integer
  8394. deliverygoodsname:
  8395. description: 现货品种名称
  8396. type: string
  8397. deliverygoodstype:
  8398. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8399. type: integer
  8400. dgstatus:
  8401. description: 品种状态 - 作废 - 0:未激活 1:正常
  8402. type: integer
  8403. enumdicname:
  8404. description: 现货品种单位名称
  8405. type: string
  8406. goodsunitid:
  8407. description: 现货品种单位ID
  8408. type: integer
  8409. isvalid:
  8410. description: 是否有效 - 0:无效 1:有效
  8411. type: integer
  8412. qtydecimalplace:
  8413. description: 成交量小数位
  8414. type: integer
  8415. remark:
  8416. description: 备注
  8417. type: string
  8418. standardqty:
  8419. description: 标准数量(库位数量) [标准品特有]
  8420. type: integer
  8421. standardqtyrange:
  8422. description: 标准数量偏差范围 [标准品特有]
  8423. type: integer
  8424. type: object
  8425. models.ErmcpFuturesCompany:
  8426. properties:
  8427. brokerid:
  8428. description: 经纪公司代码
  8429. type: string
  8430. channeladdress:
  8431. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8432. type: string
  8433. channelid:
  8434. description: 对冲渠道ID
  8435. type: string
  8436. createtime:
  8437. description: 创建时间
  8438. type: string
  8439. creatorid:
  8440. description: 创建人
  8441. type: string
  8442. fcid:
  8443. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8444. type: integer
  8445. fcname:
  8446. description: 期货公司名称
  8447. type: string
  8448. isvalid:
  8449. description: 是否有效 - 0:无效 1:有效
  8450. type: integer
  8451. mhpaddress:
  8452. description: MHP服务地址(IP:Port)
  8453. type: string
  8454. riskrulegroupid:
  8455. description: 风控规则组ID
  8456. type: string
  8457. tradefeetmpid:
  8458. description: 手续费模板ID[TradeConfigTmpType为2]
  8459. type: string
  8460. trademargintmpid:
  8461. description: 保证金模板ID [TradeConfigTmpType为1]
  8462. type: string
  8463. traderatetmpid:
  8464. description: 汇率模板ID[TradeConfigTmpType为3]
  8465. type: string
  8466. updatetime:
  8467. description: 更新时间
  8468. type: string
  8469. updatorid:
  8470. description: 更新人
  8471. type: string
  8472. type: object
  8473. models.ErmcpGGConvertCfg:
  8474. properties:
  8475. convertratio:
  8476. description: 折算系数
  8477. type: number
  8478. destgoodsgroupid:
  8479. description: 目标品种ID
  8480. type: integer
  8481. dstcode:
  8482. description: 目录品种代码
  8483. type: string
  8484. dstexchangecode:
  8485. description: 目标期货交易所
  8486. type: string
  8487. dstname:
  8488. description: 目标品种名称
  8489. type: string
  8490. dstunitid:
  8491. description: 目标品种单位ID
  8492. type: integer
  8493. dstunitidname:
  8494. description: 目标品种单位名称
  8495. type: string
  8496. modifytime:
  8497. description: 修改时间
  8498. type: string
  8499. srccode:
  8500. description: 源品种代码
  8501. type: string
  8502. srcexchangecode:
  8503. description: 源期货交易所
  8504. type: string
  8505. srcgoodsgroupid:
  8506. description: 源品种ID
  8507. type: integer
  8508. srcname:
  8509. description: 源品种名称
  8510. type: string
  8511. srcunitid:
  8512. description: 源品种单位ID
  8513. type: integer
  8514. srcunitidname:
  8515. description: 源品种单位名称
  8516. type: string
  8517. type: object
  8518. models.ErmcpGoods:
  8519. properties:
  8520. agreeunit:
  8521. description: 合约单位
  8522. type: number
  8523. areauserid:
  8524. description: 所属机构
  8525. type: integer
  8526. auditaccountid:
  8527. description: 审核操作员账号
  8528. type: integer
  8529. audittime:
  8530. description: 审核时间
  8531. type: string
  8532. cancelaccountid:
  8533. description: 注销操作员账号
  8534. type: integer
  8535. canceltime:
  8536. description: 注销时间
  8537. type: string
  8538. closepricemode:
  8539. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8540. type: integer
  8541. closepriceparam:
  8542. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8543. type: number
  8544. createtime:
  8545. description: 创建时间
  8546. type: string
  8547. creatorid:
  8548. description: 创建人
  8549. type: integer
  8550. currencyid:
  8551. description: 报价货币ID
  8552. type: integer
  8553. cutmode:
  8554. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8555. type: integer
  8556. decimalplace:
  8557. description: 报价小数位
  8558. type: integer
  8559. delistingdate:
  8560. description: 商品退市时间(状态:退市) -- 已作废
  8561. type: string
  8562. delistingmode:
  8563. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8564. type: integer
  8565. deliveryflag:
  8566. description: 交割标志 - 0:不可交割 1:可交割
  8567. type: integer
  8568. enumdicname:
  8569. description: 单位名称
  8570. type: string
  8571. forceclosemode:
  8572. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8573. type: integer
  8574. forceclosevalue:
  8575. description: 定期强平参数 [收益权]
  8576. type: integer
  8577. goodscode:
  8578. description: 商品代码(内部)
  8579. type: string
  8580. goodscurrencyid:
  8581. description: 合约货币ID
  8582. type: integer
  8583. goodsgroupid:
  8584. description: 所属商品组ID
  8585. type: integer
  8586. goodsid:
  8587. description: 商品ID(自增ID SEQ_GOODS)
  8588. type: integer
  8589. goodsname:
  8590. description: 商品名称
  8591. type: string
  8592. goodsquotetype:
  8593. description: '合约报价类型: 1-直接报价 2-间接报价'
  8594. type: integer
  8595. goodsstatus:
  8596. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8597. type: integer
  8598. goodstradetype:
  8599. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8600. type: integer
  8601. goodunitid:
  8602. description: 报价单位ID
  8603. type: integer
  8604. hasquoter:
  8605. description: 是否有报价商 - 0:无报价商 1:有报价商
  8606. type: integer
  8607. hqprotecttime:
  8608. description: 行情保护时间(秒)
  8609. type: integer
  8610. innerdealmode:
  8611. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8612. type: integer
  8613. isbuylimited:
  8614. description: 是否限制建仓量 - 0:不限制 1:限制
  8615. type: integer
  8616. isvisible:
  8617. description: 游客是否可见 - 0:不可见 1:可见
  8618. type: integer
  8619. lasttradedate:
  8620. description: 最后交易日期(状态:待退市)
  8621. type: string
  8622. listingdate:
  8623. description: 交易开始日期
  8624. type: string
  8625. marketid:
  8626. description: 所属市场ID
  8627. type: integer
  8628. modifierid:
  8629. description: 修改人
  8630. type: integer
  8631. modifystatus:
  8632. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8633. type: integer
  8634. modifytime:
  8635. description: 修改时间
  8636. type: string
  8637. outerdealmode:
  8638. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8639. type: integer
  8640. outgoodscode:
  8641. description: 商品代码(外部)
  8642. type: string
  8643. pictureurl:
  8644. description: 商品图片
  8645. type: string
  8646. qtydecimalplace:
  8647. description: 成交量小数位
  8648. type: integer
  8649. quotegear:
  8650. description: 行情档位(1-10)
  8651. type: integer
  8652. quoteminunit:
  8653. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8654. type: integer
  8655. quoteshowtype:
  8656. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8657. type: integer
  8658. quoteshowtypeinterval:
  8659. description: 行情报价间隔时间(秒)(成交价时为0)
  8660. type: integer
  8661. relatedgoodsid:
  8662. description: 关联参考商品ID
  8663. type: integer
  8664. remark:
  8665. description: 备注
  8666. type: string
  8667. trademode:
  8668. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8669. 21:竞拍-大宗式 22:受托竞价
  8670. type: integer
  8671. required:
  8672. - goodscode
  8673. - goodsid
  8674. - goodsname
  8675. - marketid
  8676. type: object
  8677. models.ErmcpGoodsBrand:
  8678. properties:
  8679. areauserid:
  8680. description: 所属机构
  8681. type: integer
  8682. brandid:
  8683. description: BrandID(SEQ_SPOTGOODSBRAND)
  8684. type: integer
  8685. brandname:
  8686. description: 品牌名称
  8687. type: string
  8688. createtime:
  8689. description: 创建时间
  8690. type: string
  8691. creatorid:
  8692. description: 创建人
  8693. type: integer
  8694. creatorsrc:
  8695. description: 创建人来源 - 1:管理端 2:终端
  8696. type: integer
  8697. deliverygoodsid:
  8698. description: 现货品种ID
  8699. type: integer
  8700. isvalid:
  8701. description: 是否有效 - 0:无效 1:有效
  8702. type: integer
  8703. updatetime:
  8704. description: 更新时间
  8705. type: string
  8706. updatorid:
  8707. description: 更新人
  8708. type: integer
  8709. updatorsrc:
  8710. description: 更新人来源 - 1:管理端 2:终端
  8711. type: integer
  8712. wrstandardid:
  8713. description: 现货商品ID
  8714. type: integer
  8715. type: object
  8716. models.ErmcpGoodsModel:
  8717. properties:
  8718. areauserid:
  8719. description: 所属机构
  8720. type: integer
  8721. convertfactor:
  8722. description: 标仓系数
  8723. type: number
  8724. createtime:
  8725. description: 创建时间
  8726. type: string
  8727. creatorid:
  8728. description: 创建人
  8729. type: integer
  8730. creatorsrc:
  8731. description: 创建人来源 - 1:管理端 2:终端
  8732. type: integer
  8733. deliverygoodsid:
  8734. description: 现货品种ID
  8735. type: integer
  8736. isvalid:
  8737. description: 是否有效 - 0:无效 1:有效
  8738. type: integer
  8739. modelid:
  8740. description: ModelID(SEQ_SPOTGOODSMODEL)
  8741. type: integer
  8742. modelname:
  8743. description: 型号名称
  8744. type: string
  8745. updatetime:
  8746. description: 更新时间
  8747. type: string
  8748. updatorid:
  8749. description: 更新人
  8750. type: integer
  8751. updatorsrc:
  8752. description: 更新人来源 - 1:管理端 2:终端
  8753. type: integer
  8754. wrstandardid:
  8755. description: 现货商品ID
  8756. type: integer
  8757. type: object
  8758. models.ErmcpHisExposure:
  8759. properties:
  8760. needhedgeexposoure:
  8761. description: 应套保敞口
  8762. type: number
  8763. reckondate:
  8764. description: 日照时期(yyyyMMdd)
  8765. type: string
  8766. totalexposure:
  8767. description: 总敞口
  8768. type: number
  8769. type: object
  8770. models.ErmcpLoginTaAccount:
  8771. properties:
  8772. accountid:
  8773. description: 账号id
  8774. type: integer
  8775. accountname:
  8776. description: 账号名称
  8777. type: string
  8778. type: object
  8779. models.ErmcpLoginUser:
  8780. properties:
  8781. acclist:
  8782. description: 关联资金账号
  8783. items:
  8784. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8785. type: array
  8786. accountname:
  8787. description: 用户名称
  8788. type: string
  8789. clientroleid:
  8790. description: 角色id(usertype=2)
  8791. type: integer
  8792. createtime:
  8793. description: 创建时间
  8794. type: string
  8795. logincode:
  8796. description: 登录代码
  8797. type: string
  8798. loginid:
  8799. description: 登录id(LOGINID)
  8800. type: integer
  8801. loginname:
  8802. description: 登录名称(loginaccount表中的accountname字段)
  8803. type: string
  8804. loginstatus:
  8805. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8806. type: integer
  8807. memberuserid:
  8808. description: 所属会员id
  8809. type: integer
  8810. mobile:
  8811. description: 手机号
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. password:
  8817. description: 密码(不可解密)
  8818. type: string
  8819. rolename:
  8820. description: 角色名称
  8821. type: string
  8822. rolestatus:
  8823. description: 角色状态 1-启用 2-停用
  8824. type: integer
  8825. roletype:
  8826. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8827. type: string
  8828. userid:
  8829. description: 用户id
  8830. type: integer
  8831. usertype:
  8832. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8833. type: integer
  8834. type: object
  8835. models.ErmcpLoginUserEx:
  8836. properties:
  8837. accountstatus:
  8838. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8839. type: integer
  8840. mobile:
  8841. description: 手机号
  8842. type: string
  8843. querytype:
  8844. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8845. type: integer
  8846. roleid:
  8847. description: 角色id(交易账户->用户id)
  8848. type: integer
  8849. rolename:
  8850. description: 角色名称(交易账户->用户名称)
  8851. type: string
  8852. userlist:
  8853. description: 用户列表
  8854. items:
  8855. $ref: '#/definitions/models.ErmcpLoginUser'
  8856. type: array
  8857. usertype:
  8858. description: 用户类型 2-机构 7-企业成员(云平台)
  8859. type: integer
  8860. type: object
  8861. models.ErmcpMiddleGoodsModel:
  8862. properties:
  8863. areauserid:
  8864. description: 机构用户ID
  8865. type: integer
  8866. createtime:
  8867. description: 修改时间
  8868. type: string
  8869. enumdicname:
  8870. description: 单位名称
  8871. type: string
  8872. evaluateratio:
  8873. description: 估价系数
  8874. type: number
  8875. goodsgroupid:
  8876. description: 关联期货品种ID
  8877. type: integer
  8878. goodsunitid:
  8879. description: 单位ID
  8880. type: integer
  8881. isvalid:
  8882. description: 状态 0-无效(停用) 1-有效(正常)
  8883. type: integer
  8884. middlegoodscode:
  8885. description: 套保品种代码
  8886. type: string
  8887. middlegoodsid:
  8888. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8889. type: integer
  8890. middlegoodsname:
  8891. description: 套保品种名称
  8892. type: string
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. needarbitrageratio:
  8897. description: 套利比例
  8898. type: number
  8899. needhedgeratio:
  8900. description: 套保比率
  8901. type: number
  8902. qtydecimalplace:
  8903. description: 数量小数位
  8904. type: integer
  8905. relatedgoodsid:
  8906. description: 关联交易商品ID
  8907. type: integer
  8908. relatedgoodstype:
  8909. description: 关联商品类型 - 1:期货合约 2:现货品种
  8910. type: integer
  8911. remark:
  8912. description: 备注
  8913. type: string
  8914. type: object
  8915. models.ErmcpMiddlegoodsRelateGoods:
  8916. properties:
  8917. agreeunit:
  8918. description: 合约乘数
  8919. type: number
  8920. convertratio:
  8921. description: 折算系数
  8922. type: number
  8923. enumdicname:
  8924. description: 单位名称(交易商品)
  8925. type: string
  8926. goodscode:
  8927. description: 交易商品代码
  8928. type: string
  8929. goodsgroupid:
  8930. description: 交易品种id
  8931. type: integer
  8932. goodsid:
  8933. description: 商品Id
  8934. type: integer
  8935. goodsname:
  8936. description: 交易商品名称
  8937. type: string
  8938. goodunitid:
  8939. description: 交易商品单位id
  8940. type: integer
  8941. middlegoodsid:
  8942. description: 套保商品id
  8943. type: integer
  8944. middlegoodsname:
  8945. description: 套保商品名称
  8946. type: string
  8947. middlegoodsswcode:
  8948. description: 套保商品代码
  8949. type: string
  8950. needarbitrageratio:
  8951. description: 应套利比例
  8952. type: number
  8953. needhedgeratio:
  8954. description: 应套保比例
  8955. type: number
  8956. type: object
  8957. models.ErmcpRole:
  8958. properties:
  8959. areauserid:
  8960. description: 所属机构
  8961. type: integer
  8962. autoid:
  8963. description: 角色ID(自增ID)
  8964. type: integer
  8965. modifierid:
  8966. description: 修改人(创建人)
  8967. type: integer
  8968. modifiername:
  8969. description: 修改人名称
  8970. type: string
  8971. modifytime:
  8972. description: 修改时间(创建时间)
  8973. type: string
  8974. rolename:
  8975. description: 角色名称
  8976. type: string
  8977. rolestatus:
  8978. description: 角色状态 - 1:启用 2:停用
  8979. type: integer
  8980. roletype:
  8981. description: 角色类型 - 1- 管理端 2- 交易端
  8982. type: integer
  8983. type: object
  8984. models.ErmcpRoleMenu:
  8985. properties:
  8986. iconame:
  8987. description: 菜单图标
  8988. type: string
  8989. ishadrole:
  8990. description: 是否有权限
  8991. type: boolean
  8992. menutype:
  8993. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8994. type: integer
  8995. parentcode:
  8996. description: 上级资源代码
  8997. type: string
  8998. remark:
  8999. description: 菜单备注
  9000. type: string
  9001. resourcecode:
  9002. description: 菜单代码
  9003. type: string
  9004. resourcelevel:
  9005. description: 级别
  9006. type: integer
  9007. resourcename:
  9008. description: 菜单名称
  9009. type: string
  9010. roleid:
  9011. description: 角色id
  9012. type: integer
  9013. sort:
  9014. description: 排序
  9015. type: integer
  9016. url:
  9017. description: URL
  9018. type: string
  9019. userid:
  9020. description: 用户id
  9021. type: integer
  9022. type: object
  9023. models.ErmcpRoleMenuEx:
  9024. properties:
  9025. menu:
  9026. $ref: '#/definitions/models.ErmcpRoleMenu'
  9027. description: 父级菜单
  9028. subMenu:
  9029. description: 子级菜单
  9030. items:
  9031. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9032. type: array
  9033. type: object
  9034. models.ErmcpSpotContractModelEx:
  9035. properties:
  9036. accountname:
  9037. description: 套期主体
  9038. type: string
  9039. amount:
  9040. description: 金额 [1:一口价、3:暂定价]
  9041. type: number
  9042. attachment:
  9043. description: 附件
  9044. type: string
  9045. auditremark:
  9046. description: 审核意见
  9047. type: string
  9048. audittime:
  9049. description: 审核时间
  9050. type: string
  9051. avgprice:
  9052. description: 定价均价 = 已定价金额 / 已定价量
  9053. type: number
  9054. brandname:
  9055. description: 品牌名称
  9056. type: string
  9057. buyuserid:
  9058. description: 采购方ID
  9059. type: integer
  9060. buyusername:
  9061. description: 采购方名称
  9062. type: string
  9063. contracctstatus:
  9064. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9065. type: integer
  9066. contractmargin:
  9067. description: 合同保证金
  9068. type: number
  9069. contractno:
  9070. description: '[合同编号]现货合同编号'
  9071. type: string
  9072. contracttype:
  9073. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9074. type: integer
  9075. convertfactor:
  9076. description: 标仓系数
  9077. type: number
  9078. createtime:
  9079. description: 创建时间
  9080. type: string
  9081. customername:
  9082. description: 对手方
  9083. type: string
  9084. customeruserid:
  9085. description: 客户ID
  9086. type: integer
  9087. deliveryenddate:
  9088. description: 交收期(结束)
  9089. type: string
  9090. deliverygoodscode:
  9091. description: 现货品种代码
  9092. type: string
  9093. deliverygoodsid:
  9094. description: 现货品种ID
  9095. type: integer
  9096. deliverygoodsname:
  9097. description: 现货品种名称
  9098. type: string
  9099. deliverystartdate:
  9100. description: 交收期(开始)
  9101. type: string
  9102. enddate:
  9103. description: 点价结束日期 [2:点价 3:暂定价]
  9104. type: string
  9105. enumdicname:
  9106. description: 单位名称
  9107. type: string
  9108. goodscode:
  9109. description: 点价合约代码
  9110. type: string
  9111. goodsid:
  9112. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9113. type: integer
  9114. goodsname:
  9115. description: 点价商品名称
  9116. type: string
  9117. isrelated:
  9118. description: 是否已关联计划项目 - 0:否 1:是
  9119. type: integer
  9120. isrelated2:
  9121. description: 是否已关联现货项目 - 0:否 1:是
  9122. type: integer
  9123. margin:
  9124. description: 当前保证金
  9125. type: number
  9126. modelname:
  9127. description: 型号名称
  9128. type: string
  9129. price:
  9130. description: 价格\暂定价 [1:一口价、3:暂定价]
  9131. type: number
  9132. pricedamount:
  9133. description: 已定价金额 = (点价价格+升贴水) * 数量
  9134. type: number
  9135. pricedqty:
  9136. description: 已定价量
  9137. type: number
  9138. pricemove:
  9139. description: 升贴水 [2:点价 3:暂定价]
  9140. type: number
  9141. pricetype:
  9142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9143. type: integer
  9144. producttype:
  9145. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9146. type: integer
  9147. qty:
  9148. description: '[合同数量]数量'
  9149. type: number
  9150. remark:
  9151. description: 备注
  9152. type: string
  9153. selluserid:
  9154. description: 销售方ID
  9155. type: integer
  9156. sellusername:
  9157. description: 销售方名称
  9158. type: string
  9159. spotamount:
  9160. description: 合同现货金额 [不含升贴水]
  9161. type: number
  9162. spotavgprice:
  9163. description: 现货均价 = 合同现货金额 / 已定价量
  9164. type: number
  9165. spotcontractid:
  9166. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9167. type: string
  9168. spotgoodsbrandid:
  9169. description: 现货品牌ID
  9170. type: integer
  9171. spotgoodsdesc:
  9172. description: 商品型号
  9173. type: string
  9174. spotgoodsmodelid:
  9175. description: 现货型号ID
  9176. type: integer
  9177. startdate:
  9178. description: 点价开始日期 [2:点价 3:暂定价]
  9179. type: string
  9180. tradeuserid:
  9181. description: 交易用户ID
  9182. type: integer
  9183. unpricedqty:
  9184. description: 未定价量 = 合同数量 - 已定价量
  9185. type: number
  9186. updatetime:
  9187. description: 更新时间
  9188. type: string
  9189. userid:
  9190. description: 机构ID
  9191. type: integer
  9192. wrstandardcode:
  9193. description: 现货商品代码
  9194. type: string
  9195. wrstandardid:
  9196. description: 现货商品ID
  9197. type: integer
  9198. wrstandardname:
  9199. description: '[现货商品]现货商品名称'
  9200. type: string
  9201. type: object
  9202. models.ErmcpTaAccount:
  9203. properties:
  9204. accountid:
  9205. description: 账户id
  9206. type: integer
  9207. accountname:
  9208. description: 账户名称
  9209. type: string
  9210. currencyid:
  9211. description: 币种id
  9212. type: integer
  9213. hedgeaccountcode:
  9214. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9215. type: string
  9216. ismain:
  9217. description: 是否主账户 0-否 1-是
  9218. type: integer
  9219. parentaccountid:
  9220. description: 父账户id
  9221. type: integer
  9222. relateduserid:
  9223. description: 关联userid
  9224. type: integer
  9225. tradefeetmpid:
  9226. description: 手续费模板id
  9227. type: integer
  9228. tradefeetmpname:
  9229. description: 手续费模板名称
  9230. type: string
  9231. trademargintmpid:
  9232. description: 保证金模板id
  9233. type: integer
  9234. trademargintmpname:
  9235. description: 保证金模板名称
  9236. type: string
  9237. traderatetmpid:
  9238. description: 汇率模板id
  9239. type: integer
  9240. traderatetmpname:
  9241. description: 汇率模板名称
  9242. type: string
  9243. tradestatus:
  9244. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9245. type: integer
  9246. userid:
  9247. description: 用户id
  9248. type: integer
  9249. type: object
  9250. models.ErmcpTaAccountEx:
  9251. properties:
  9252. mainAcc:
  9253. $ref: '#/definitions/models.ErmcpTaAccountM'
  9254. description: 主账号
  9255. subacclist:
  9256. description: 子账号列表
  9257. items:
  9258. $ref: '#/definitions/models.ErmcpTaAccount'
  9259. type: array
  9260. type: object
  9261. models.ErmcpTaAccountInfo:
  9262. properties:
  9263. accountid:
  9264. description: 资金账户ID
  9265. type: integer
  9266. accountname:
  9267. description: 账户名称
  9268. type: string
  9269. balance:
  9270. description: 期初余额
  9271. type: number
  9272. capitalbalance:
  9273. description: 本金余额[外部子账户实际出入金余额]
  9274. type: number
  9275. closepl:
  9276. description: 今日平仓盈亏
  9277. type: number
  9278. creditdecrease:
  9279. description: 今日授信减少
  9280. type: number
  9281. creditincrease:
  9282. description: 今日授信增加
  9283. type: number
  9284. curdebt:
  9285. description: 期末欠款
  9286. type: number
  9287. currencyid:
  9288. description: 货币ID
  9289. type: integer
  9290. currentbalance:
  9291. description: 期末余额
  9292. type: number
  9293. freezecharge:
  9294. description: 手续费冻结
  9295. type: number
  9296. freezemargin:
  9297. description: 冻结保证金
  9298. type: number
  9299. fromaccountid:
  9300. description: 所属上级账户
  9301. type: integer
  9302. inamount:
  9303. description: 今日入金金额(包括三方入金)
  9304. type: number
  9305. ismain:
  9306. description: 是否母账号 0:不是母账户 1:是母账户
  9307. type: integer
  9308. mortgagecredit:
  9309. description: 授信金额
  9310. type: number
  9311. oridebt:
  9312. description: 期初欠款
  9313. type: number
  9314. orifreezecharge:
  9315. description: 期初手续费冻结
  9316. type: number
  9317. orifreezemargin:
  9318. description: 期初冻结保证金
  9319. type: number
  9320. orimortgagecredit:
  9321. description: 期初授信金额
  9322. type: number
  9323. oriothercredit:
  9324. description: 期初其它授信金额
  9325. type: number
  9326. oriotherfreezemargin:
  9327. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9328. type: number
  9329. orioutamountfreeze:
  9330. description: 期初出金冻结
  9331. type: number
  9332. oriusedmargin:
  9333. description: 期初占用保证金
  9334. type: number
  9335. othercredit:
  9336. description: 其它授信金额
  9337. type: number
  9338. othercreditdecrease:
  9339. description: 今日其它授信减少
  9340. type: number
  9341. othercreditincrease:
  9342. description: 今日其它授信增加
  9343. type: number
  9344. otherfreezemargin:
  9345. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9346. type: number
  9347. outamount:
  9348. description: 今日出金金额(包括三方出金)
  9349. type: number
  9350. outamountfreeze:
  9351. description: 出金冻结
  9352. type: number
  9353. outthreshold:
  9354. description: 出金阈值
  9355. type: number
  9356. parentaccountid:
  9357. description: 所属根账号
  9358. type: integer
  9359. paycharge:
  9360. description: 今日手续费支出
  9361. type: number
  9362. relateduserid:
  9363. description: 关联用户
  9364. type: integer
  9365. signstatus:
  9366. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9367. type: integer
  9368. sublevelpath:
  9369. description: 账号层级路径(逗号分隔,首尾加逗号)
  9370. type: string
  9371. taaccounttype:
  9372. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9373. type: integer
  9374. thirdinamount:
  9375. description: 今日三方入金
  9376. type: number
  9377. thirdoutamount:
  9378. description: 今日三方出金
  9379. type: number
  9380. tradestatus:
  9381. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9382. type: integer
  9383. transferamount:
  9384. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9385. type: number
  9386. usedmargin:
  9387. description: 占用保证金
  9388. type: number
  9389. userid:
  9390. description: 用户ID
  9391. type: integer
  9392. type: object
  9393. models.ErmcpTaAccountM:
  9394. properties:
  9395. accountid:
  9396. description: 账户id
  9397. type: integer
  9398. accountname:
  9399. description: 账户名称
  9400. type: string
  9401. currencyid:
  9402. description: 币种id
  9403. type: integer
  9404. fcid:
  9405. description: 期货公司id
  9406. type: integer
  9407. fcname:
  9408. description: 期货公司代码
  9409. type: string
  9410. hedgeaccountcode:
  9411. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9412. type: string
  9413. ismain:
  9414. description: 是否主账户 0-否 1-是
  9415. type: integer
  9416. parentaccountid:
  9417. description: 父账户id
  9418. type: integer
  9419. relateduserid:
  9420. description: 关联userid
  9421. type: integer
  9422. tradefeetmpid:
  9423. description: 手续费模板id
  9424. type: integer
  9425. tradefeetmpname:
  9426. description: 手续费模板名称
  9427. type: string
  9428. trademargintmpid:
  9429. description: 保证金模板id
  9430. type: integer
  9431. trademargintmpname:
  9432. description: 保证金模板名称
  9433. type: string
  9434. traderatetmpid:
  9435. description: 汇率模板id
  9436. type: integer
  9437. traderatetmpname:
  9438. description: 汇率模板名称
  9439. type: string
  9440. tradestatus:
  9441. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9442. type: integer
  9443. userid:
  9444. description: 用户id
  9445. type: integer
  9446. type: object
  9447. models.ErmcpTradeConfigTMP:
  9448. properties:
  9449. areauserid:
  9450. description: 所属机构
  9451. type: integer
  9452. basiccurrencyid:
  9453. description: 基本币种ID[汇率] - 目标币种
  9454. type: integer
  9455. mainaccountid:
  9456. description: 主账户ID
  9457. type: integer
  9458. modifierid:
  9459. description: 修改人
  9460. type: integer
  9461. remark:
  9462. description: 备注
  9463. type: string
  9464. tradeconfigtmpid:
  9465. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9466. type: integer
  9467. tradeconfigtmpname:
  9468. description: 交易配置模板名称
  9469. type: string
  9470. tradeconfigtmptype:
  9471. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9472. type: integer
  9473. updatetime:
  9474. description: 更新时间
  9475. type: string
  9476. type: object
  9477. models.Ermcpjrlinkpos:
  9478. properties:
  9479. areauserid:
  9480. description: 所属企业
  9481. type: integer
  9482. averageprice:
  9483. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9484. type: number
  9485. closepl:
  9486. description: 总平仓盈亏 [期货损益]
  9487. type: number
  9488. executeprice:
  9489. description: 执行价 - 1:期货单 为 0
  9490. type: integer
  9491. futurehedgeqty:
  9492. description: 期货套期量
  9493. type: number
  9494. goodsid:
  9495. description: 期货合约
  9496. type: integer
  9497. middlegoodscode:
  9498. description: 套保商品代码
  9499. type: string
  9500. middlegoodsname:
  9501. description: 套保商品名称
  9502. type: string
  9503. netqty:
  9504. description: 净头寸
  9505. type: number
  9506. optioncode:
  9507. description: 期权代码
  9508. type: string
  9509. ordertype:
  9510. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9511. type: integer
  9512. reckonpl:
  9513. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9514. type: number
  9515. spotcontractid:
  9516. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9517. type: string
  9518. todayfutureclosepl:
  9519. description: 今日平仓盈亏
  9520. type: number
  9521. totalbuyamount:
  9522. description: 买金额 [期货]
  9523. type: number
  9524. totalbuyholdamount:
  9525. description: 买持仓总金额[期货]
  9526. type: number
  9527. totalbuyqty:
  9528. description: 买数量
  9529. type: number
  9530. totalcharge:
  9531. description: 手续费
  9532. type: number
  9533. totalpremium:
  9534. description: 权利金 [期权]
  9535. type: number
  9536. totalsellamount:
  9537. description: 卖金额 [期货]
  9538. type: number
  9539. totalsellholdamount:
  9540. description: 卖持仓总金额[期货]
  9541. type: number
  9542. totalsellqty:
  9543. description: 卖数量
  9544. type: number
  9545. updatetime:
  9546. description: 更新时间
  9547. type: string
  9548. required:
  9549. - spotcontractid
  9550. type: object
  9551. models.Ermcppatradelinkdetail:
  9552. properties:
  9553. agreeunit:
  9554. description: 合约乘数
  9555. type: number
  9556. amount:
  9557. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9558. type: number
  9559. areauserid:
  9560. description: 所属机构
  9561. type: integer
  9562. bizsubjectid:
  9563. description: 归属业务部门ID - SubjectID
  9564. type: integer
  9565. buyorsell:
  9566. description: 方向 - 0:买 1:卖
  9567. type: integer
  9568. convertratio:
  9569. description: 品种系数
  9570. type: number
  9571. createtime:
  9572. description: 创建时间
  9573. type: string
  9574. creatorid:
  9575. description: 创建人ID
  9576. type: integer
  9577. creatorsrc:
  9578. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9579. type: integer
  9580. goodsgroupid:
  9581. description: 对冲品种ID[期货合约商品组ID]
  9582. type: integer
  9583. goodsid:
  9584. description: 商品ID
  9585. type: integer
  9586. hedgeditemid:
  9587. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9588. type: integer
  9589. hedgeflag:
  9590. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9591. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9592. type: integer
  9593. linkdetailid:
  9594. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9595. type: string
  9596. linkstatus:
  9597. description: 关联状态 - 1:成功 2:失败 3:解绑
  9598. type: integer
  9599. middlegoodsid:
  9600. description: 套保品种ID
  9601. type: integer
  9602. name:
  9603. description: 账户名/子账户
  9604. type: string
  9605. optioncode:
  9606. description: '[期货合约]期权代码 [期权]'
  9607. type: string
  9608. ordertype:
  9609. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9610. type: integer
  9611. relatedlot:
  9612. description: '[数量]关联手数'
  9613. type: number
  9614. relatedmode:
  9615. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9616. type: integer
  9617. relatedqty:
  9618. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9619. type: number
  9620. retcode:
  9621. description: 返回码
  9622. type: integer
  9623. saleuserid:
  9624. description: 业务员ID
  9625. type: integer
  9626. tradedate:
  9627. description: 关联交易日(yyyyMMdd)
  9628. type: string
  9629. tradeid:
  9630. description: '[成交单号]内部成交单ID'
  9631. type: string
  9632. tradelot:
  9633. description: 成交手数
  9634. type: integer
  9635. tradeprice:
  9636. description: '[价格]成交价格'
  9637. type: number
  9638. tradetime:
  9639. description: 日期时间
  9640. type: string
  9641. tradetradedate:
  9642. description: 成交交易日(yyyyMMdd)
  9643. type: string
  9644. required:
  9645. - hedgeditemid
  9646. type: object
  9647. models.Exchangerateconfig:
  9648. properties:
  9649. descurrencyid:
  9650. description: 目标币种ID
  9651. type: integer
  9652. exchangerate:
  9653. description: 汇率
  9654. type: number
  9655. oricurrencyid:
  9656. description: 源币种ID
  9657. type: integer
  9658. remark:
  9659. description: 备注
  9660. type: string
  9661. type: object
  9662. models.Externalexchange:
  9663. properties:
  9664. autoid:
  9665. description: AutoID - SEQ_EXTERNALEXCHANGE
  9666. type: integer
  9667. exchangefullname:
  9668. description: 外部交易所全称
  9669. type: string
  9670. exexchangecode:
  9671. description: 外部交易所代码
  9672. type: string
  9673. exexchangename:
  9674. description: 外部交易所名称(简称)
  9675. type: string
  9676. ismarketprice:
  9677. description: 是否支持市价 - 0:不支持 1:支持
  9678. type: integer
  9679. quotegear:
  9680. description: 行情档位(1-10)
  9681. type: integer
  9682. showbrokerflag:
  9683. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9684. type: integer
  9685. updatetime:
  9686. description: 更新时间
  9687. type: string
  9688. required:
  9689. - autoid
  9690. type: object
  9691. models.Funcmenulist:
  9692. properties:
  9693. iconame:
  9694. description: 菜单图标
  9695. type: string
  9696. menutype:
  9697. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9698. type: integer
  9699. parentcode:
  9700. description: 上级资源代码
  9701. type: string
  9702. remark:
  9703. description: 备注
  9704. type: string
  9705. resourcecode:
  9706. description: 资源代码
  9707. type: string
  9708. resourcelevel:
  9709. description: 级别 1-一级 2-二级 3-三级 4-四级
  9710. type: integer
  9711. resourcename:
  9712. description: 资源名
  9713. type: string
  9714. sort:
  9715. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9716. type: integer
  9717. url:
  9718. description: URL
  9719. type: string
  9720. required:
  9721. - resourcecode
  9722. type: object
  9723. models.Fworderoperate:
  9724. properties:
  9725. advanceamount:
  9726. description: 总预付款
  9727. type: number
  9728. advanceproofaddr:
  9729. description: 预付款收款凭证(确认结算费用时)
  9730. type: string
  9731. bankfee:
  9732. description: 汇款银行手续费
  9733. type: number
  9734. bankproofaddr:
  9735. description: 广钻汇款银行手续费凭证(确认结算费用时)
  9736. type: string
  9737. customsproofaddr:
  9738. description: 海关税费保证金收据(确认结算费用时)
  9739. type: string
  9740. logisticsfee:
  9741. description: 代缴物流保险费
  9742. type: number
  9743. logisticsproofaddr:
  9744. description: 代缴物流保险费凭证(确认结算费用时)
  9745. type: string
  9746. operatetime:
  9747. description: 操作时间
  9748. type: string
  9749. operatoraccount:
  9750. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  9751. type: string
  9752. operatorid:
  9753. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  9754. type: integer
  9755. operatorname:
  9756. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  9757. type: string
  9758. operatorsrc:
  9759. description: 操作人来源 - 1:管理端 2:终端
  9760. type: integer
  9761. orderid:
  9762. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  9763. type: string
  9764. otherfee:
  9765. description: 其它费用
  9766. type: number
  9767. remark:
  9768. description: 操作备注
  9769. type: string
  9770. servicefee:
  9771. description: 综合服务费
  9772. type: number
  9773. settleamount:
  9774. description: 总结算费用 - 实际扣除资金,不含税费保证金
  9775. type: number
  9776. status:
  9777. description: 操作后单据状态 - 枚举"GZBSStatus"
  9778. type: integer
  9779. taxmargin:
  9780. description: 税费保证金
  9781. type: number
  9782. totalfee:
  9783. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  9784. type: number
  9785. required:
  9786. - orderid
  9787. - status
  9788. type: object
  9789. models.GErmcpspotgoodsprice:
  9790. properties:
  9791. chg:
  9792. description: 涨跌幅
  9793. type: number
  9794. currencyid:
  9795. description: 报价货币ID
  9796. type: integer
  9797. deliverygoodsid:
  9798. description: 现货品种ID
  9799. type: integer
  9800. prespotgoodsprice:
  9801. description: 上日价格
  9802. type: number
  9803. spotgoodsbrandid:
  9804. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9805. type: integer
  9806. spotgoodsprice:
  9807. description: 【最新价】当前价格
  9808. type: number
  9809. srcmarketname:
  9810. description: 来源市场名称
  9811. type: string
  9812. todaypricedtotalamount:
  9813. description: 今日定价金额
  9814. type: number
  9815. todaypricedtotalqty:
  9816. description: 今日定价总量
  9817. type: number
  9818. todayspotgoodsprice:
  9819. description: 今日指定价
  9820. type: number
  9821. tradedate:
  9822. description: 【日期】交易日
  9823. type: string
  9824. wrstandardcode:
  9825. description: 现货商品代码
  9826. type: string
  9827. wrstandardid:
  9828. description: 现货商品ID(通用则为0)
  9829. type: integer
  9830. wrstandardname:
  9831. description: 【名称】现货商品名称
  9832. type: string
  9833. ystspotgoodsprice:
  9834. description: 昨价
  9835. type: number
  9836. type: object
  9837. models.GThjuserscorelog:
  9838. properties:
  9839. createtime:
  9840. description: 记账时间
  9841. type: string
  9842. redpacketvalue:
  9843. description: 红包值【抽奖】
  9844. type: number
  9845. score:
  9846. description: 变动积分
  9847. type: number
  9848. scoreconfigtype:
  9849. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9850. 7:抽奖配置
  9851. type: integer
  9852. stype:
  9853. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9854. 6:自己供求下单积分 7:抽奖配置'
  9855. type: string
  9856. type: object
  9857. models.GZGoods:
  9858. properties:
  9859. address:
  9860. description: 详细地址
  9861. type: string
  9862. cerno:
  9863. description: 证书编号 - 类型:2,4,5
  9864. type: string
  9865. cityname:
  9866. description: 城市名称
  9867. type: string
  9868. countryname:
  9869. description: 国家名称
  9870. type: string
  9871. cpcertno:
  9872. description: 金伯利证书编号 - 类型:3
  9873. type: string
  9874. districtname:
  9875. description: 地区名称
  9876. type: string
  9877. goodsno:
  9878. description: 商品编号
  9879. type: string
  9880. imagepath:
  9881. description: 商品照片(相对地址)
  9882. type: string
  9883. isvalid:
  9884. description: 是否有效 - 0:无效 1:有效
  9885. type: integer
  9886. kppath:
  9887. description: 金伯利证书图片(相对地址) - 类型:3
  9888. type: string
  9889. kpweight:
  9890. description: 金伯利证书重量 - 类型:3
  9891. type: string
  9892. marketprice:
  9893. description: 市场价
  9894. type: string
  9895. mobile:
  9896. description: 手机号码
  9897. type: string
  9898. origin:
  9899. description: 原产地 - 类型:3
  9900. type: string
  9901. performancetemplateid:
  9902. description: 履约计划模板ID
  9903. type: integer
  9904. price:
  9905. description: 总价(价格) - 类型:1,2,3,4,5
  9906. type: number
  9907. priceper:
  9908. description: 克拉单价 - 类型:1,2,3,5
  9909. type: string
  9910. provincename:
  9911. description: 省名称
  9912. type: string
  9913. remainqty:
  9914. description: 剩余重量
  9915. type: number
  9916. remark:
  9917. description: 备注
  9918. type: string
  9919. sellusername:
  9920. description: 账户名称(机构名称)
  9921. type: string
  9922. settingmaterial:
  9923. description: 镶嵌材料 - 类型:4
  9924. type: string
  9925. size1:
  9926. description: 尺寸1 - 类型:2,4,5
  9927. type: string
  9928. size2:
  9929. description: 尺寸2 - 类型:2,4,5
  9930. type: string
  9931. size3:
  9932. description: 尺寸3 - 类型:2,4,5
  9933. type: string
  9934. sizedisplay:
  9935. description: 尺寸
  9936. type: string
  9937. stonedesc:
  9938. description: 配石描述 - 类型:4
  9939. type: string
  9940. userid:
  9941. description: 用户ID
  9942. type: integer
  9943. warehouseid:
  9944. description: 仓库ID
  9945. type: integer
  9946. warehousenamedisplay:
  9947. type: string
  9948. weight:
  9949. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9950. type: number
  9951. weightavg:
  9952. description: 平均单颗重量 - 类型:1,3
  9953. type: number
  9954. wrpath:
  9955. description: 仓单扫描件(相对地址)
  9956. type: string
  9957. wrstandardid:
  9958. description: 现货商品ID
  9959. type: integer
  9960. wrtradeorderid:
  9961. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9962. type: string
  9963. zscategory:
  9964. description: 钻石分类 - 枚举”ZSCategory“
  9965. type: integer
  9966. zscategorydisplay:
  9967. type: string
  9968. zscerttype:
  9969. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9970. type: integer
  9971. zscerttypedisplay:
  9972. type: string
  9973. zsclaritytype1:
  9974. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9975. type: integer
  9976. zsclaritytype1display:
  9977. type: string
  9978. zsclaritytype2:
  9979. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9980. type: integer
  9981. zsclaritytype2display:
  9982. type: string
  9983. zscolortype1:
  9984. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9985. type: integer
  9986. zscolortype1display:
  9987. type: string
  9988. zscolortype2:
  9989. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9990. type: integer
  9991. zscolortype2display:
  9992. type: string
  9993. zscrystaltype:
  9994. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9995. type: string
  9996. zscrystaltypedisplay:
  9997. type: string
  9998. zscurrencytype:
  9999. description: 货币类型 - 枚举“ZSCurrencyType”
  10000. type: integer
  10001. zscurrencytypedisplay:
  10002. type: string
  10003. zscurrencytypedisplayunit:
  10004. type: string
  10005. zscuttype1:
  10006. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10007. type: integer
  10008. zscuttype1display:
  10009. type: string
  10010. zscuttype2:
  10011. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10012. type: integer
  10013. zscuttype2display:
  10014. type: string
  10015. zsczcolor1type:
  10016. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10017. type: integer
  10018. zsczcolor1typedisplay:
  10019. type: string
  10020. zsczcolor2type:
  10021. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10022. type: integer
  10023. zsczcolor2typedisplay:
  10024. type: string
  10025. zsczcolor3type:
  10026. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10027. type: integer
  10028. zsczcolor3typedisplay:
  10029. type: string
  10030. zsfluorescencetype1:
  10031. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10032. type: integer
  10033. zsfluorescencetype1display:
  10034. type: string
  10035. zsfluorescencetype2:
  10036. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10037. type: integer
  10038. zsfluorescencetype2display:
  10039. type: string
  10040. zspolishtype1:
  10041. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10042. type: integer
  10043. zspolishtype1display:
  10044. type: string
  10045. zspolishtype2:
  10046. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10047. type: integer
  10048. zspolishtype2display:
  10049. type: string
  10050. zsshapetype:
  10051. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  10052. type: string
  10053. zsshapetypedisplay:
  10054. type: string
  10055. zsstyletype:
  10056. description: 款式 - 类型:4
  10057. type: integer
  10058. zsstyletypedisplay:
  10059. type: string
  10060. zssymmetrytype1:
  10061. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10062. type: integer
  10063. zssymmetrytype1display:
  10064. type: string
  10065. zssymmetrytype2:
  10066. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10067. type: integer
  10068. zssymmetrytype2display:
  10069. type: string
  10070. required:
  10071. - goodsno
  10072. type: object
  10073. models.GZHomeData:
  10074. properties:
  10075. purchasedtransactions:
  10076. description: 已购买的交易
  10077. type: integer
  10078. transactioninpurchase:
  10079. description: 求购中的交易
  10080. type: integer
  10081. transactionsonsale:
  10082. description: 出售中的交易
  10083. type: integer
  10084. transactionssold:
  10085. description: 已卖出的交易
  10086. type: integer
  10087. unhandledmessage:
  10088. description: 未处理消息
  10089. type: integer
  10090. type: object
  10091. models.GZWarehouseinfo:
  10092. properties:
  10093. address:
  10094. description: 详细地址
  10095. type: string
  10096. areauserid:
  10097. description: 所属机构
  10098. type: integer
  10099. autoid:
  10100. description: 自增ID
  10101. type: integer
  10102. cityid:
  10103. description: 市
  10104. type: integer
  10105. cityname:
  10106. description: 城市名称
  10107. type: string
  10108. contactname:
  10109. description: 联系人
  10110. type: string
  10111. contactnum:
  10112. description: 联系电话
  10113. type: string
  10114. countryid:
  10115. description: 国家
  10116. type: integer
  10117. countryname:
  10118. description: 国家名称
  10119. type: string
  10120. createtime:
  10121. description: 创建时间
  10122. type: string
  10123. districtid:
  10124. description: 区
  10125. type: integer
  10126. districtname:
  10127. description: 地区名称
  10128. type: string
  10129. hasvideo:
  10130. description: 是否有视频 - 0:无 1:有
  10131. type: integer
  10132. provinceid:
  10133. description: 省
  10134. type: integer
  10135. provincename:
  10136. description: 省名称
  10137. type: string
  10138. remark:
  10139. description: 审核备注
  10140. type: string
  10141. videourl:
  10142. description: 视频地址
  10143. type: string
  10144. warehousecode:
  10145. description: 仓库代码
  10146. type: string
  10147. warehousename:
  10148. description: 仓库名称
  10149. type: string
  10150. warehousestatus:
  10151. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10152. type: integer
  10153. warehousetype:
  10154. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10155. type: integer
  10156. type: object
  10157. models.Goods:
  10158. properties:
  10159. agreeunit:
  10160. description: 合约单位
  10161. type: number
  10162. areauserid:
  10163. description: 所属机构
  10164. type: integer
  10165. auditaccountid:
  10166. description: 审核操作员账号
  10167. type: integer
  10168. audittime:
  10169. description: 审核时间
  10170. type: string
  10171. cancelaccountid:
  10172. description: 注销操作员账号
  10173. type: integer
  10174. canceltime:
  10175. description: 注销时间
  10176. type: string
  10177. closepricemode:
  10178. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10179. type: integer
  10180. closepriceparam:
  10181. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10182. type: number
  10183. createtime:
  10184. description: 创建时间
  10185. type: string
  10186. creatorid:
  10187. description: 创建人
  10188. type: integer
  10189. currencyid:
  10190. description: 报价货币ID
  10191. type: integer
  10192. cutmode:
  10193. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10194. type: integer
  10195. decimalplace:
  10196. description: 报价小数位
  10197. type: integer
  10198. delistingdate:
  10199. description: 商品退市时间(状态:退市) -- 已作废
  10200. type: string
  10201. delistingmode:
  10202. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10203. type: integer
  10204. deliveryflag:
  10205. description: 交割标志 - 0:不可交割 1:可交割
  10206. type: integer
  10207. forceclosemode:
  10208. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10209. type: integer
  10210. forceclosevalue:
  10211. description: 定期强平参数 [收益权]
  10212. type: integer
  10213. goodscode:
  10214. description: 商品代码(内部)
  10215. type: string
  10216. goodscurrencyid:
  10217. description: 合约货币ID
  10218. type: integer
  10219. goodsgroupid:
  10220. description: 所属商品组ID
  10221. type: integer
  10222. goodsid:
  10223. description: 商品ID(自增ID SEQ_GOODS)
  10224. type: integer
  10225. goodsname:
  10226. description: 商品名称
  10227. type: string
  10228. goodsquotetype:
  10229. description: '合约报价类型: 1-直接报价 2-间接报价'
  10230. type: integer
  10231. goodsstatus:
  10232. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10233. type: integer
  10234. goodstradetype:
  10235. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10236. type: integer
  10237. goodunitid:
  10238. description: 报价单位ID
  10239. type: integer
  10240. hasquoter:
  10241. description: 是否有报价商 - 0:无报价商 1:有报价商
  10242. type: integer
  10243. hqprotecttime:
  10244. description: 行情保护时间(秒)
  10245. type: integer
  10246. innerdealmode:
  10247. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10248. type: integer
  10249. isbuylimited:
  10250. description: 是否限制建仓量 - 0:不限制 1:限制
  10251. type: integer
  10252. isvisible:
  10253. description: 游客是否可见 - 0:不可见 1:可见
  10254. type: integer
  10255. lasttradedate:
  10256. description: 最后交易日期(状态:待退市)
  10257. type: string
  10258. listingdate:
  10259. description: 交易开始日期
  10260. type: string
  10261. marketid:
  10262. description: 所属市场ID
  10263. type: integer
  10264. modifierid:
  10265. description: 修改人
  10266. type: integer
  10267. modifystatus:
  10268. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10269. type: integer
  10270. modifytime:
  10271. description: 修改时间
  10272. type: string
  10273. outerdealmode:
  10274. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10275. type: integer
  10276. outgoodscode:
  10277. description: 商品代码(外部)
  10278. type: string
  10279. pictureurl:
  10280. description: 商品图片
  10281. type: string
  10282. qtydecimalplace:
  10283. description: 成交量小数位
  10284. type: integer
  10285. quotegear:
  10286. description: 行情档位(1-10)
  10287. type: integer
  10288. quoteminunit:
  10289. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10290. type: integer
  10291. quoteshowtype:
  10292. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10293. type: integer
  10294. quoteshowtypeinterval:
  10295. description: 行情报价间隔时间(秒)(成交价时为0)
  10296. type: integer
  10297. remark:
  10298. description: 备注
  10299. type: string
  10300. required:
  10301. - goodscode
  10302. - goodsid
  10303. - goodsname
  10304. - marketid
  10305. type: object
  10306. models.GoodsIDAndName:
  10307. properties:
  10308. goodscode:
  10309. description: 商品代码(内部)
  10310. type: string
  10311. goodsid:
  10312. description: 商品ID(自增ID SEQ_GOODS)
  10313. type: integer
  10314. goodsname:
  10315. description: 商品名称
  10316. type: string
  10317. marketid:
  10318. description: 所属市场ID
  10319. type: integer
  10320. required:
  10321. - goodscode
  10322. - goodsid
  10323. - goodsname
  10324. - marketid
  10325. type: object
  10326. models.Goodsgroup:
  10327. properties:
  10328. agreeunit:
  10329. description: 合约单位
  10330. type: number
  10331. canshort:
  10332. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10333. type: integer
  10334. closepricemode:
  10335. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10336. type: integer
  10337. closepriceparam:
  10338. description: 强平最新价浮动比例 - 方式为2时使用
  10339. type: number
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. currencyid:
  10347. description: 报价货币ID
  10348. type: integer
  10349. decimalplace:
  10350. description: 报价小数位
  10351. type: integer
  10352. exercisetype:
  10353. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10354. type: integer
  10355. exexchangeid:
  10356. description: 外部交易所ID[通道交易]
  10357. type: integer
  10358. goodsgroupid:
  10359. description: 商品组ID(自增ID)
  10360. type: integer
  10361. goodsgroupname:
  10362. description: 商品组名称
  10363. type: string
  10364. goodsgroupstatus:
  10365. description: 商品组状态 - 1:正常 2:注销
  10366. type: integer
  10367. goodunitid:
  10368. description: 报价单位ID
  10369. type: integer
  10370. innerdealmode:
  10371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10372. type: integer
  10373. isbuylimited:
  10374. description: 是否限制建仓量 - 0:不限制 1:限制
  10375. type: integer
  10376. marketid:
  10377. description: 所属市场ID
  10378. type: integer
  10379. modifierid:
  10380. description: 修改人
  10381. type: integer
  10382. modifytime:
  10383. description: 修改时间
  10384. type: string
  10385. outerdealmode:
  10386. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10387. type: integer
  10388. outergroupcode:
  10389. description: 外部商品组代码[通道交易]
  10390. type: string
  10391. premiumdecimalplace:
  10392. description: 权利金小数位[场外期权]
  10393. type: integer
  10394. premiumspreadalgorithm:
  10395. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10396. type: integer
  10397. premiumspreadvalue:
  10398. description: 权利金点差值[场外期权]
  10399. type: number
  10400. qtydecimalplace:
  10401. description: 成交量小数位
  10402. type: integer
  10403. quotegear:
  10404. description: 行情档位(1-10)
  10405. type: integer
  10406. quoteminunit:
  10407. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10408. type: integer
  10409. quoterid:
  10410. description: 报价商ID[场外期权]
  10411. type: integer
  10412. quotesourcegroupid:
  10413. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10414. type: integer
  10415. syncgoodsqty:
  10416. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10417. type: integer
  10418. required:
  10419. - goodsgroupid
  10420. - goodsgroupname
  10421. - goodsgroupstatus
  10422. - marketid
  10423. type: object
  10424. models.Goodssortbypreposition:
  10425. properties:
  10426. goodscode:
  10427. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10428. type: string
  10429. goodsgroupcode:
  10430. description: 品种代码
  10431. type: string
  10432. prepositionqty:
  10433. description: 昨持仓量
  10434. type: integer
  10435. sortindex:
  10436. description: 排序
  10437. type: integer
  10438. tradedate:
  10439. description: 交易日
  10440. type: string
  10441. updatetime:
  10442. description: 更新时间
  10443. type: string
  10444. required:
  10445. - goodscode
  10446. - tradedate
  10447. type: object
  10448. models.GzbsfworderM:
  10449. properties:
  10450. accountid:
  10451. description: 资金账户ID
  10452. type: integer
  10453. addresscn:
  10454. description: 地址(中文)
  10455. type: string
  10456. addressen:
  10457. description: 地址(英文)
  10458. type: string
  10459. advanceamount:
  10460. description: 总预付款
  10461. type: number
  10462. colorrange:
  10463. description: 颜色范围
  10464. type: string
  10465. companynamecn:
  10466. description: 收货人(中文)
  10467. type: string
  10468. companynameen:
  10469. description: 收货人(英文)
  10470. type: string
  10471. contactfax:
  10472. description: 收货人传真
  10473. type: string
  10474. contactname:
  10475. description: 收货人姓名
  10476. type: string
  10477. contactphoneno:
  10478. description: 收货人电话
  10479. type: string
  10480. contentrange:
  10481. description: 【内容】内容范围
  10482. type: string
  10483. createtime:
  10484. description: 创建时间
  10485. type: string
  10486. executestatus:
  10487. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10488. type: integer
  10489. gzbsdeliverytype:
  10490. description: 收货方式 - 枚举"GZBSDeliveryType"
  10491. type: integer
  10492. gzbsstatus:
  10493. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10494. type: integer
  10495. gzbsstatusdisplay:
  10496. description: 单据状态
  10497. type: string
  10498. handlestatus:
  10499. description: 处理状态
  10500. type: integer
  10501. orderdate:
  10502. description: 单据日期
  10503. type: string
  10504. orderid:
  10505. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10506. type: string
  10507. orderno:
  10508. description: 单据编号 - GZDEBSFW+单据流水号
  10509. type: string
  10510. ordersn:
  10511. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10512. type: string
  10513. origincountry:
  10514. description: 原产国
  10515. type: string
  10516. otherlogistics:
  10517. description: 指定其它物流
  10518. type: string
  10519. priceper:
  10520. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10521. type: number
  10522. settleamount:
  10523. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10524. type: number
  10525. shaperange:
  10526. description: 形状范围
  10527. type: string
  10528. taxmargin:
  10529. description: 税费保证金 - 确认结算费用时退回
  10530. type: number
  10531. totalamount:
  10532. description: 总值(美元)
  10533. type: number
  10534. totalgrossweightgm:
  10535. description: 总毛重(克)
  10536. type: number
  10537. totalnetweightgm:
  10538. description: 总净重(克)
  10539. type: number
  10540. totalnetweigthct:
  10541. description: 总净重(克拉)
  10542. type: number
  10543. totalnumber:
  10544. description: 总粒数
  10545. type: integer
  10546. userid:
  10547. description: 用户ID
  10548. type: integer
  10549. weightrange:
  10550. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10551. type: string
  10552. required:
  10553. - userid
  10554. type: object
  10555. models.GzbsfworderdetailM:
  10556. properties:
  10557. colorinfo:
  10558. description: 彩钻信息
  10559. type: string
  10560. createtime:
  10561. description: 创建时间
  10562. type: string
  10563. grossweightgm:
  10564. description: 毛重(克)
  10565. type: number
  10566. gzcjshape:
  10567. description: 形状(字符)
  10568. type: string
  10569. netweigthct:
  10570. description: 净重(克拉)
  10571. type: number
  10572. netweigthgm:
  10573. description: 净重(克)
  10574. type: number
  10575. ordercontent:
  10576. description: 内容
  10577. type: string
  10578. orderdetailid:
  10579. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10580. type: string
  10581. orderid:
  10582. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10583. type: string
  10584. orderindex:
  10585. description: 顺序
  10586. type: integer
  10587. perprice:
  10588. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10589. type: number
  10590. remark:
  10591. description: 备注(其它)
  10592. type: string
  10593. totalamount:
  10594. description: 总值(美元)
  10595. type: number
  10596. type: object
  10597. models.Gzbsfworderoperate:
  10598. properties:
  10599. advanceproofaddr:
  10600. description: 预付款收款凭证(确认结算费用时)
  10601. type: string
  10602. bankfee:
  10603. description: 汇款银行手续费
  10604. type: number
  10605. bankproofaddr:
  10606. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10607. type: string
  10608. customsproofaddr:
  10609. description: 海关税费保证金收据(确认结算费用时)
  10610. type: string
  10611. gzbsstatus:
  10612. description: 操作后单据状态 - 枚举"GZBSStatus"
  10613. type: integer
  10614. logisticsfee:
  10615. description: 代缴物流保险费
  10616. type: number
  10617. logisticsproofaddr:
  10618. description: 代缴物流保险费凭证(确认结算费用时)
  10619. type: string
  10620. operatetime:
  10621. description: 操作时间
  10622. type: string
  10623. operatoraccount:
  10624. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10625. type: string
  10626. operatorid:
  10627. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10628. type: integer
  10629. operatorname:
  10630. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10631. type: string
  10632. operatorsrc:
  10633. description: 操作人来源 - 1:管理端 2:终端
  10634. type: integer
  10635. orderid:
  10636. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10637. type: integer
  10638. otherfee:
  10639. description: 其它费用
  10640. type: number
  10641. remark:
  10642. description: 操作备注
  10643. type: string
  10644. servicefee:
  10645. description: 综合服务费
  10646. type: number
  10647. taxmargin:
  10648. description: 税费保证金
  10649. type: number
  10650. totalfee:
  10651. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10652. type: number
  10653. required:
  10654. - orderid
  10655. type: object
  10656. models.Gzcertaddressconfig:
  10657. properties:
  10658. certregion:
  10659. description: 证书地域 - 1:国内 2:国际
  10660. type: integer
  10661. certtype:
  10662. description: 证书类型
  10663. type: string
  10664. orderindex:
  10665. description: 显示顺序
  10666. type: integer
  10667. orgcnname:
  10668. description: 机构名称(中文)
  10669. type: string
  10670. orgenname:
  10671. description: 机构名称(英文)
  10672. type: string
  10673. queryaddress:
  10674. description: 查询地址
  10675. type: string
  10676. remark:
  10677. description: 备注
  10678. type: string
  10679. updatetime:
  10680. description: 更新时间
  10681. type: string
  10682. type: object
  10683. models.Gzcertaddressparam:
  10684. properties:
  10685. certtype:
  10686. description: 证书类型
  10687. type: string
  10688. orderindex:
  10689. description: 参数顺序
  10690. type: integer
  10691. paramkey:
  10692. description: 参数Key
  10693. type: string
  10694. paramname:
  10695. description: 参数名称
  10696. type: string
  10697. updatetime:
  10698. description: 更新时间
  10699. type: string
  10700. type: object
  10701. models.GzcjbsorderfileM:
  10702. properties:
  10703. canmembervisit:
  10704. description: 会员是否可访问 - 1:可 2:不可
  10705. type: integer
  10706. fileaddress:
  10707. description: 文件地址
  10708. type: string
  10709. filegentype:
  10710. description: 文件生成类型 - 1:系统生成 2:手动上传
  10711. type: integer
  10712. filename:
  10713. description: 文件名称
  10714. type: string
  10715. operatetime:
  10716. description: 操作时间
  10717. type: string
  10718. operatoraccount:
  10719. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10720. type: string
  10721. operatorid:
  10722. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10723. type: integer
  10724. operatorsrc:
  10725. description: 操作人来源 - 1:管理端 2:终端
  10726. type: integer
  10727. orderfileid:
  10728. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10729. type: integer
  10730. orderid:
  10731. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10732. type: integer
  10733. required:
  10734. - orderid
  10735. type: object
  10736. models.GzcjjcorderM:
  10737. properties:
  10738. accountid:
  10739. description: 资金账户ID
  10740. type: integer
  10741. addresscn:
  10742. description: 地址(中文)
  10743. type: string
  10744. addressen:
  10745. description: 地址(英文)
  10746. type: string
  10747. advanceamount:
  10748. description: 总预付款
  10749. type: number
  10750. colorrange:
  10751. description: 颜色范围
  10752. type: string
  10753. companynamecn:
  10754. description: 公司名称(中文)
  10755. type: string
  10756. companynameen:
  10757. description: 公司名称(英文)
  10758. type: string
  10759. contactname:
  10760. description: 联系人姓名
  10761. type: string
  10762. contactphoneno:
  10763. description: 联系人电话
  10764. type: string
  10765. contactposition:
  10766. description: 联系人职位
  10767. type: string
  10768. createtime:
  10769. description: 创建时间
  10770. type: string
  10771. email:
  10772. description: 邮箱
  10773. type: string
  10774. executestatus:
  10775. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10776. type: integer
  10777. gzcjaccount:
  10778. description: 送检账户
  10779. type: string
  10780. gzcjaccounttype:
  10781. description: 检测账户类型 - 枚举"GZCJAccountType"
  10782. type: integer
  10783. gzcjcategorytype:
  10784. description: 货物品类 - 枚举"GZCJCategoryType"
  10785. type: integer
  10786. gzcjcategorytypedisplay:
  10787. description: 货物品类
  10788. type: string
  10789. gzcjdeliverytype:
  10790. description: 收货方式 - 枚举"GZCJDeliveryType"
  10791. type: integer
  10792. gzcjdeliverytypedisplay:
  10793. description: 收货方式
  10794. type: string
  10795. gzcjstatus:
  10796. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10797. type: integer
  10798. gzcjstatusdisplay:
  10799. description: 单据状态(出境检测)
  10800. type: string
  10801. handlestatus:
  10802. description: 处理状态
  10803. type: integer
  10804. invoiceremark:
  10805. description: 复核备注 - 发票装箱单使用
  10806. type: string
  10807. orderid:
  10808. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10809. type: integer
  10810. orderidstr:
  10811. description: 单据ID 字符(801+Unix秒时间戳(10位)+xxxxxx)
  10812. type: string
  10813. orderno:
  10814. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10815. type: string
  10816. ordersn:
  10817. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10818. type: string
  10819. origincountry:
  10820. description: 原产国
  10821. type: string
  10822. processingcountry:
  10823. description: 成品钻石加工国
  10824. type: string
  10825. realservicefee:
  10826. description: 应收综合服务费
  10827. type: number
  10828. servicefeesum:
  10829. description: 汇总综合服务费 - 明细上值汇总
  10830. type: number
  10831. settleamount:
  10832. description: 总结算费用
  10833. type: number
  10834. shaperange:
  10835. description: 形状范围
  10836. type: string
  10837. totalamount:
  10838. description: 总金额(美元)
  10839. type: number
  10840. totalgrossweight:
  10841. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10842. * 200
  10843. type: number
  10844. totalnumber:
  10845. description: 总粒数
  10846. type: integer
  10847. totalweight:
  10848. description: 总克拉数(保留3位小数)
  10849. type: number
  10850. totalweightgm:
  10851. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10852. type: number
  10853. userid:
  10854. description: 用户ID
  10855. type: integer
  10856. weightrange:
  10857. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10858. type: string
  10859. zsorigin:
  10860. description: 天然钻石毛坯原产地
  10861. type: string
  10862. required:
  10863. - userid
  10864. type: object
  10865. models.GzcjjcorderdetailM:
  10866. properties:
  10867. amount:
  10868. description: 参考货值(USD)
  10869. type: number
  10870. colorinfo:
  10871. description: 彩钻信息
  10872. type: string
  10873. createtime:
  10874. description: 创建时间
  10875. type: string
  10876. gzcjmarktype:
  10877. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10878. type: integer
  10879. gzcjpublishtype:
  10880. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10881. type: integer
  10882. gzcjpublishtypestring:
  10883. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10884. type: string
  10885. gzcjservicetype:
  10886. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10887. type: integer
  10888. gzcjservicetypestring:
  10889. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10890. type: string
  10891. gzcjshapetype:
  10892. description: 形状 - 枚举"GZCJShapeType"
  10893. type: integer
  10894. gzcjshapetypestring:
  10895. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10896. type: string
  10897. gzno:
  10898. description: 货物编号
  10899. type: string
  10900. orderdetailid:
  10901. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10902. type: string
  10903. orderid:
  10904. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10905. type: string
  10906. orderindex:
  10907. description: 顺序
  10908. type: integer
  10909. origincertno:
  10910. description: 原证书号【送检账户为“广钻账户”】
  10911. type: string
  10912. remark:
  10913. description: 备注(其它)
  10914. type: string
  10915. servicefee:
  10916. description: 综合服务费 - 根据市场配置计算
  10917. type: number
  10918. weight:
  10919. description: 重量(CT)
  10920. type: number
  10921. type: object
  10922. models.Gzcjjcorderoperate:
  10923. properties:
  10924. advanceamount:
  10925. description: 总预付款
  10926. type: number
  10927. advanceproofaddr:
  10928. description: 预付检测费和海关税费银行凭证(确认结算费用时)
  10929. type: string
  10930. bankfee:
  10931. description: 汇款银行手续费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10932. type: number
  10933. bankproofaddr:
  10934. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10935. type: string
  10936. customsfee:
  10937. description: 海关税费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10938. type: number
  10939. customsproofaddr:
  10940. description: 海关税费凭证(确认结算费用时)
  10941. type: string
  10942. exchangerate:
  10943. description: 汇率 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10944. type: number
  10945. giaproofaddr:
  10946. description: GIA检测费凭证(确认结算费用时)
  10947. type: string
  10948. giarmbfee:
  10949. description: GIA检测费(¥) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10950. type: number
  10951. giausdfee:
  10952. description: GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10953. type: number
  10954. logisticsfee:
  10955. description: 代缴物流保险费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10956. type: number
  10957. logisticsproofaddr:
  10958. description: 代缴物流保险费凭证(确认结算费用时)
  10959. type: string
  10960. operatetime:
  10961. description: 操作时间
  10962. type: string
  10963. operatoraccount:
  10964. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10965. type: string
  10966. operatorid:
  10967. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10968. type: integer
  10969. operatorname:
  10970. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10971. type: string
  10972. operatorsrc:
  10973. description: 操作人来源 - 1:管理端 2:终端
  10974. type: integer
  10975. orderid:
  10976. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10977. type: string
  10978. otherfee:
  10979. description: 其它费用
  10980. type: number
  10981. remark:
  10982. description: 操作备注
  10983. type: string
  10984. servicefee:
  10985. description: 综合服务费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10986. type: number
  10987. settleamount:
  10988. description: 总结算费用
  10989. type: number
  10990. status:
  10991. description: 操作后单据状态 - 枚举"GZCJStatus"
  10992. type: integer
  10993. totalfee:
  10994. description: 总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus
  10995. = 10.预付款确认中\13.付款确认中] 时
  10996. type: number
  10997. required:
  10998. - orderid
  10999. - status
  11000. type: object
  11001. models.Gzrapaportprice:
  11002. properties:
  11003. dollar:
  11004. description: 美元
  11005. type: string
  11006. rmb:
  11007. description: 人民币
  11008. type: string
  11009. type: object
  11010. models.Hedgeinnerholderdetail:
  11011. properties:
  11012. accountid:
  11013. description: 账号ID
  11014. type: integer
  11015. buyorsell:
  11016. description: 方向 - 0:买 1:卖
  11017. type: integer
  11018. freezeqty:
  11019. description: 冻结数量 - 按单平使用
  11020. type: integer
  11021. goodsid:
  11022. description: 商品ID
  11023. type: integer
  11024. holderamount:
  11025. description: 持仓金额 [商品币种]
  11026. type: number
  11027. holderdays:
  11028. description: 剩余冻结天数
  11029. type: integer
  11030. holderprice:
  11031. description: 持仓价格
  11032. type: number
  11033. holderqty:
  11034. description: 持仓数量
  11035. type: integer
  11036. marketid:
  11037. description: 市场ID
  11038. type: integer
  11039. openprice:
  11040. description: 建仓价格
  11041. type: number
  11042. openqty:
  11043. description: 建仓数量
  11044. type: integer
  11045. parentaccountid:
  11046. description: 所属母账户
  11047. type: integer
  11048. releaseamount:
  11049. description: 释放持仓金额[商品币种]
  11050. type: number
  11051. tradeamount:
  11052. description: 成交金额[账户]
  11053. type: number
  11054. tradedate:
  11055. description: 交易日(yyyyMMdd)
  11056. type: string
  11057. tradeid:
  11058. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11059. type: string
  11060. tradetime:
  11061. description: 交易时间
  11062. type: string
  11063. required:
  11064. - buyorsell
  11065. - tradeid
  11066. type: object
  11067. models.Hedgemarketopenlog:
  11068. properties:
  11069. accountid:
  11070. description: 资金账号[外部母账户]
  11071. type: integer
  11072. fcname:
  11073. description: 期货公司名称
  11074. type: string
  11075. handlestatus:
  11076. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  11077. type: integer
  11078. marketid:
  11079. description: 市场ID
  11080. type: integer
  11081. status:
  11082. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  11083. type: integer
  11084. tradedate:
  11085. description: 交易日(yyyyMMdd)
  11086. type: string
  11087. updatetime:
  11088. description: 更新时间
  11089. type: string
  11090. required:
  11091. - accountid
  11092. type: object
  11093. models.HistoryData:
  11094. properties:
  11095. c:
  11096. description: 收盘价
  11097. type: number
  11098. f:
  11099. description: 是否补充数据
  11100. type: boolean
  11101. h:
  11102. description: 最高价
  11103. type: number
  11104. hv:
  11105. description: 持仓量
  11106. type: integer
  11107. l:
  11108. description: 最低价
  11109. type: number
  11110. o:
  11111. description: 开盘价
  11112. type: number
  11113. s:
  11114. description: 结算价,日线周期(包括)以上才有
  11115. type: number
  11116. ts:
  11117. description: 时间
  11118. type: string
  11119. tt:
  11120. description: 总金额
  11121. type: number
  11122. tv:
  11123. description: 总量(成交量)
  11124. type: integer
  11125. type: object
  11126. models.HsbyBuyMyPayOrder:
  11127. properties:
  11128. agreeunit:
  11129. description: 合约单位
  11130. type: number
  11131. buyaccountid:
  11132. description: 买方账号ID[报价币种]
  11133. type: integer
  11134. buyorderid:
  11135. description: 买方委托单号
  11136. type: string
  11137. createtime:
  11138. description: 创建时间
  11139. type: string
  11140. currencysign:
  11141. description: 货币符号
  11142. type: string
  11143. decimalplace:
  11144. description: 报价小数位
  11145. type: integer
  11146. goodscode:
  11147. description: 商品代码(内部)
  11148. type: string
  11149. goodsid:
  11150. description: 商品ID
  11151. type: integer
  11152. goodsname:
  11153. description: 商品名称
  11154. type: string
  11155. marketid:
  11156. description: 市场ID
  11157. type: integer
  11158. offamount:
  11159. description: 优惠金额
  11160. type: number
  11161. originalamount:
  11162. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  11163. type: number
  11164. payamount:
  11165. description: 支付金额 = TradeAmount + TradeCharge
  11166. type: number
  11167. payflag:
  11168. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11169. type: integer
  11170. paylimitedtime:
  11171. description: 支付期限
  11172. type: string
  11173. paytime:
  11174. description: 付款时间
  11175. type: string
  11176. picurls1:
  11177. description: 预售商品介绍图片[多张用逗号分隔]
  11178. type: string
  11179. picurls2:
  11180. description: 挂牌商品介绍图片[多张用逗号分隔]
  11181. type: string
  11182. sellaccountid:
  11183. description: 卖方账号ID[报价币种]
  11184. type: integer
  11185. sellorderid:
  11186. description: 卖方委托单号
  11187. type: string
  11188. tradeamount:
  11189. description: 成交金额
  11190. type: number
  11191. tradecharge:
  11192. description: 成交手续费(买方)
  11193. type: number
  11194. tradedate:
  11195. description: 交易日(yyyyMMdd)
  11196. type: string
  11197. tradeid:
  11198. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11199. type: string
  11200. trademode:
  11201. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11202. 21:竞拍-大宗式 22:受托竞价
  11203. type: integer
  11204. tradeprice:
  11205. description: 成交价格
  11206. type: number
  11207. tradeqty:
  11208. description: 成交数量
  11209. type: integer
  11210. vendorname1:
  11211. description: 预售商品供应商名称
  11212. type: string
  11213. vendorname2:
  11214. description: 挂牌商品供应商名称
  11215. type: string
  11216. required:
  11217. - goodscode
  11218. - goodsname
  11219. - tradeid
  11220. - trademode
  11221. type: object
  11222. models.HsbyBuyMyTradeDetail:
  11223. properties:
  11224. accountid:
  11225. description: 账户ID[报价币种]
  11226. type: integer
  11227. agreeunit:
  11228. description: 合约单位
  11229. type: number
  11230. amount:
  11231. description: 金额 = 价格 * 数量 * 合约单位
  11232. type: number
  11233. buyorsell:
  11234. description: 买卖 - 0:买 1:卖
  11235. type: integer
  11236. currencysign:
  11237. description: 货币符号
  11238. type: string
  11239. decimalplace:
  11240. description: 报价小数位
  11241. type: integer
  11242. goodscode:
  11243. description: 商品代码(内部)
  11244. type: string
  11245. goodsid:
  11246. description: 商品ID
  11247. type: integer
  11248. goodsname:
  11249. description: 商品名称
  11250. type: string
  11251. marketid:
  11252. description: 市场ID
  11253. type: integer
  11254. orderamount:
  11255. description: 委托金额
  11256. type: number
  11257. orderid:
  11258. description: 单号(成交单号)
  11259. type: string
  11260. picurls1:
  11261. description: 预售商品介绍图片[多张用逗号分隔]
  11262. type: string
  11263. picurls2:
  11264. description: 挂牌商品介绍图片[多张用逗号分隔]
  11265. type: string
  11266. price:
  11267. description: 价格
  11268. type: number
  11269. qty:
  11270. description: 数量
  11271. type: integer
  11272. time:
  11273. description: 时间
  11274. type: string
  11275. trademode:
  11276. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11277. 21:竞拍-大宗式 22:受托竞价
  11278. type: integer
  11279. vendorname1:
  11280. description: 预售商品供应商名称
  11281. type: string
  11282. vendorname2:
  11283. description: 挂牌商品供应商名称
  11284. type: string
  11285. required:
  11286. - accountid
  11287. - buyorsell
  11288. - goodscode
  11289. - goodsid
  11290. - goodsname
  11291. - marketid
  11292. - orderid
  11293. - qty
  11294. - time
  11295. - trademode
  11296. type: object
  11297. models.HsbyGoodsOrderDetail:
  11298. properties:
  11299. buyorsell:
  11300. description: 买卖 - 0:买 1:卖
  11301. type: integer
  11302. currencysign:
  11303. description: 货币符号
  11304. type: string
  11305. customername:
  11306. description: 客户名称(企业名称),已脱敏
  11307. type: string
  11308. enableqty:
  11309. description: 可用数量
  11310. type: integer
  11311. goodunit:
  11312. description: 报价单位
  11313. type: string
  11314. orderid:
  11315. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11316. type: string
  11317. orderprice:
  11318. description: 委托价格
  11319. type: number
  11320. ordertime:
  11321. description: 委托时间
  11322. type: string
  11323. required:
  11324. - buyorsell
  11325. - orderid
  11326. - ordertime
  11327. type: object
  11328. models.HsbyListingGoodsDetail:
  11329. properties:
  11330. agreeunit:
  11331. description: 合约单位
  11332. type: number
  11333. buymaxqty:
  11334. description: 购买上限 [71] - 0为不限
  11335. type: integer
  11336. currency:
  11337. description: 货币
  11338. type: string
  11339. currencysign:
  11340. description: 货币符号
  11341. type: string
  11342. decimalplace:
  11343. description: 报价小数位
  11344. type: integer
  11345. desccityid:
  11346. description: 目的地(市)ID
  11347. type: integer
  11348. descprovinceid:
  11349. description: 目的地(省)ID
  11350. type: integer
  11351. goodscode:
  11352. description: 商品代码(内部)
  11353. type: string
  11354. goodsdesc:
  11355. description: 商品详情
  11356. type: string
  11357. goodsid:
  11358. description: 商品ID(自增ID SEQ_GOODS)
  11359. type: integer
  11360. goodsname:
  11361. description: 商品名称
  11362. type: string
  11363. goodsprice:
  11364. description: 商品价格
  11365. type: number
  11366. hotindex:
  11367. description: 景点热度
  11368. type: integer
  11369. last:
  11370. description: 现价
  11371. type: number
  11372. limitdown:
  11373. description: 跌停价
  11374. type: number
  11375. limitup:
  11376. description: 涨停价
  11377. type: number
  11378. lotsize:
  11379. description: 手数最小变动单位
  11380. type: integer
  11381. marketid:
  11382. description: 所属市场ID
  11383. type: integer
  11384. picurls:
  11385. description: 介绍图片[多张用逗号分隔]
  11386. type: string
  11387. quoteminunit:
  11388. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11389. type: integer
  11390. stepvalue:
  11391. description: 价格最小变动单位
  11392. type: number
  11393. trademode:
  11394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11395. 21:竞拍-大宗式 22:受托竞价
  11396. type: integer
  11397. vendorattr:
  11398. description: 供应商附件(多张,逗号分隔)
  11399. type: string
  11400. vendorname:
  11401. description: 供应商名称
  11402. type: string
  11403. vendorphone:
  11404. description: 供应商客服电话
  11405. type: string
  11406. videourls:
  11407. description: 介绍视频[多张用逗号分隔]
  11408. type: string
  11409. required:
  11410. - goodscode
  11411. - goodsid
  11412. - goodsname
  11413. - marketid
  11414. - trademode
  11415. type: object
  11416. models.HsbyMarketGoods:
  11417. properties:
  11418. accountid:
  11419. description: 账户ID[报价币种]
  11420. type: integer
  11421. agreeunit:
  11422. description: 合约单位
  11423. type: number
  11424. buyorsell:
  11425. description: 买卖 - 0:买 1:卖
  11426. type: integer
  11427. categoryid:
  11428. description: 类别ID(WRCATEGORY)
  11429. type: integer
  11430. currency:
  11431. description: 货币
  11432. type: string
  11433. currencysign:
  11434. description: 货币符号
  11435. type: string
  11436. customername:
  11437. description: 卖家名称
  11438. type: string
  11439. decimalplace:
  11440. description: 报价小数位
  11441. type: integer
  11442. goodscode:
  11443. description: 商品代码(内部)
  11444. type: string
  11445. goodsid:
  11446. description: 商品ID
  11447. type: integer
  11448. goodsname:
  11449. description: 商品名称
  11450. type: string
  11451. goodsprice:
  11452. description: 商品价格
  11453. type: number
  11454. hascoupon:
  11455. description: 是否可用优惠卷
  11456. type: boolean
  11457. hotindex:
  11458. description: 景点热度
  11459. type: integer
  11460. marketid:
  11461. description: 市场ID
  11462. type: integer
  11463. orderid:
  11464. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11465. type: string
  11466. orderprice:
  11467. description: 委托价格
  11468. type: number
  11469. orderstatus:
  11470. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11471. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11472. 16:成交失败违约(荷兰式竞拍专用)
  11473. type: integer
  11474. picurls:
  11475. description: 介绍图片[多张用逗号分隔]
  11476. type: string
  11477. quoteminunit:
  11478. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11479. type: integer
  11480. sellUserID:
  11481. description: 卖方UserID
  11482. type: integer
  11483. trademode:
  11484. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11485. 21:竞拍-大宗式 22:受托竞价
  11486. type: integer
  11487. videourls:
  11488. description: 介绍视频[多张用逗号分隔]
  11489. type: string
  11490. required:
  11491. - accountid
  11492. - buyorsell
  11493. - goodscode
  11494. - goodsid
  11495. - goodsname
  11496. - marketid
  11497. - orderid
  11498. - trademode
  11499. type: object
  11500. models.HsbyMarketGoodsDetail:
  11501. properties:
  11502. accountid:
  11503. description: 账户ID[报价币种]
  11504. type: integer
  11505. agreeunit:
  11506. description: 合约单位
  11507. type: number
  11508. buymaxqty:
  11509. description: 购买上限 [71] - 0为不限
  11510. type: integer
  11511. buyorsell:
  11512. description: 买卖 - 0:买 1:卖
  11513. type: integer
  11514. cancelqty:
  11515. description: 撤单数量
  11516. type: integer
  11517. categoryid:
  11518. description: 类别ID(WRCATEGORY)
  11519. type: integer
  11520. currency:
  11521. description: 货币
  11522. type: string
  11523. currencysign:
  11524. description: 货币符号
  11525. type: string
  11526. customername:
  11527. description: 卖家名称
  11528. type: string
  11529. decimalplace:
  11530. description: 报价小数位
  11531. type: integer
  11532. goodscode:
  11533. description: 商品代码(内部)
  11534. type: string
  11535. goodsdesc:
  11536. description: 商品详情
  11537. type: string
  11538. goodsid:
  11539. description: 商品ID
  11540. type: integer
  11541. goodsname:
  11542. description: 商品名称
  11543. type: string
  11544. goodsprice:
  11545. description: 商品价格
  11546. type: number
  11547. hotindex:
  11548. description: 景点热度
  11549. type: integer
  11550. lotsize:
  11551. description: 手数最小变动单位
  11552. type: integer
  11553. marketid:
  11554. description: 市场ID
  11555. type: integer
  11556. orderid:
  11557. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11558. type: string
  11559. orderprice:
  11560. description: 委托价格
  11561. type: number
  11562. orderqty:
  11563. description: 委托数量
  11564. type: integer
  11565. orderstatus:
  11566. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11567. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11568. 16:成交失败违约(荷兰式竞拍专用)
  11569. type: integer
  11570. picurls:
  11571. description: 介绍图片[多张用逗号分隔]
  11572. type: string
  11573. quoteminunit:
  11574. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11575. type: integer
  11576. sellUserID:
  11577. description: 卖方UserID
  11578. type: integer
  11579. trademode:
  11580. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11581. 21:竞拍-大宗式 22:受托竞价
  11582. type: integer
  11583. tradeqty:
  11584. description: 成交数量
  11585. type: integer
  11586. vendorattr:
  11587. description: 供应商附件(多张,逗号分隔)
  11588. type: string
  11589. vendorname:
  11590. description: 供应商名称
  11591. type: string
  11592. vendorphone:
  11593. description: 供应商客服电话
  11594. type: string
  11595. videourls:
  11596. description: 介绍视频[多张用逗号分隔]
  11597. type: string
  11598. required:
  11599. - accountid
  11600. - buyorsell
  11601. - goodscode
  11602. - goodsid
  11603. - goodsname
  11604. - marketid
  11605. - orderid
  11606. - orderqty
  11607. - trademode
  11608. type: object
  11609. models.HsbyMarketInfo:
  11610. properties:
  11611. marketid:
  11612. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11613. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11614. type: integer
  11615. marketname:
  11616. description: 市场名称
  11617. type: string
  11618. marketstatus:
  11619. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11620. type: integer
  11621. trademode:
  11622. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11623. 21:竞拍-大宗式 22:受托竞价
  11624. type: integer
  11625. required:
  11626. - marketid
  11627. - marketstatus
  11628. - trademode
  11629. type: object
  11630. models.HsbyMyGoods:
  11631. properties:
  11632. accountid:
  11633. description: 账号Id
  11634. type: integer
  11635. agreeunit:
  11636. description: 合约单位
  11637. type: number
  11638. buyaverageprice:
  11639. description: 持仓均价
  11640. type: number
  11641. buycurholderamount:
  11642. description: 买当前持仓总金额[商品币种]
  11643. type: number
  11644. buycurpositionqty:
  11645. description: 买当前持仓总数量
  11646. type: integer
  11647. buymaxqty:
  11648. description: 购买上限 [71] - 0为不限
  11649. type: integer
  11650. currencysign:
  11651. description: 货币符号
  11652. type: string
  11653. decimalplace:
  11654. description: 报价小数位
  11655. type: integer
  11656. enableqty:
  11657. description: 可用数量
  11658. type: integer
  11659. goodscode:
  11660. description: 商品代码(内部)
  11661. type: string
  11662. goodsid:
  11663. description: 商品Id
  11664. type: integer
  11665. goodsname:
  11666. description: 商品名称
  11667. type: string
  11668. goodsprice:
  11669. description: 商品价格
  11670. type: number
  11671. goodsstatus:
  11672. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11673. type: integer
  11674. last:
  11675. description: 现价(仅使用于挂牌点选)
  11676. type: number
  11677. limitdown:
  11678. description: 跌停价(仅使用于挂牌点选)
  11679. type: number
  11680. limitup:
  11681. description: 涨停价(仅使用于挂牌点选)
  11682. type: number
  11683. lotsize:
  11684. description: 手数最小变动单位
  11685. type: integer
  11686. marketid:
  11687. description: 所属市场ID
  11688. type: integer
  11689. picurls:
  11690. description: 介绍图片[多张用逗号分隔]
  11691. type: string
  11692. quoteminunit:
  11693. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11694. type: integer
  11695. stepvalue:
  11696. description: 价格最小变动单位
  11697. type: number
  11698. trademode:
  11699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11700. 21:竞拍-大宗式 22:受托竞价
  11701. type: integer
  11702. required:
  11703. - accountid
  11704. - goodscode
  11705. - goodsid
  11706. - goodsname
  11707. - marketid
  11708. - trademode
  11709. type: object
  11710. models.HsbyMyPackage:
  11711. properties:
  11712. accountid:
  11713. description: 账户ID
  11714. type: integer
  11715. address:
  11716. description: 提货人详细地址
  11717. type: string
  11718. agreeunit:
  11719. description: 合约单位
  11720. type: number
  11721. amount:
  11722. description: 提货金额
  11723. type: number
  11724. auditer:
  11725. description: 审核人
  11726. type: integer
  11727. audittime:
  11728. description: 审核时间
  11729. type: string
  11730. averageprice:
  11731. description: 均价
  11732. type: number
  11733. cardnum:
  11734. description: 提货人证件号码
  11735. type: string
  11736. cardtypeid:
  11737. description: 提货人证件类型
  11738. type: integer
  11739. checkremark:
  11740. description: 审核备注
  11741. type: string
  11742. currencysign:
  11743. description: 货币符号
  11744. type: string
  11745. decimalplace:
  11746. description: 报价小数位
  11747. type: integer
  11748. goodscode:
  11749. description: 商品代码(内部)
  11750. type: string
  11751. goodsid:
  11752. description: 商品ID
  11753. type: integer
  11754. goodsname:
  11755. description: 商品名称
  11756. type: string
  11757. handlestatus:
  11758. description: 处理状态
  11759. type: integer
  11760. marketid:
  11761. description: 市场ID
  11762. type: integer
  11763. phonenum:
  11764. description: 提货人联系方式
  11765. type: string
  11766. picurls:
  11767. description: 介绍图片[多张用逗号分隔]
  11768. type: string
  11769. qty:
  11770. description: 提货数量
  11771. type: number
  11772. recivername:
  11773. description: 提货人姓名
  11774. type: string
  11775. reqtime:
  11776. description: 更新时间
  11777. type: string
  11778. takemode:
  11779. description: 提货方式 - 2:自提 3:配送
  11780. type: integer
  11781. takeorderid:
  11782. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11783. type: string
  11784. takeorderstatus:
  11785. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11786. type: integer
  11787. takeremark:
  11788. description: 提货备注
  11789. type: string
  11790. tradedate:
  11791. description: 交易日(yyyyMMdd)
  11792. type: string
  11793. trademode:
  11794. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11795. 21:竞拍-大宗式 22:受托竞价
  11796. type: integer
  11797. userid:
  11798. description: 用户ID
  11799. type: integer
  11800. vendorname:
  11801. description: 供应商名称
  11802. type: string
  11803. required:
  11804. - goodscode
  11805. - goodsname
  11806. - takeorderid
  11807. - trademode
  11808. type: object
  11809. models.HsbyPreGoods:
  11810. properties:
  11811. agreeunit:
  11812. description: 合约单位
  11813. type: number
  11814. currency:
  11815. description: 货币
  11816. type: string
  11817. currencysign:
  11818. description: 货币符号
  11819. type: string
  11820. decimalplace:
  11821. description: 报价小数位
  11822. type: integer
  11823. desccityid:
  11824. description: 目的地(市)
  11825. type: integer
  11826. descprovinceid:
  11827. description: 目的地(省)
  11828. type: integer
  11829. enableqty:
  11830. description: 剩余数量
  11831. type: integer
  11832. goodscode:
  11833. description: 商品代码(内部)
  11834. type: string
  11835. goodsid:
  11836. description: 商品ID(自增ID SEQ_GOODS)
  11837. type: integer
  11838. goodsname:
  11839. description: 商品名称
  11840. type: string
  11841. goodsstatus:
  11842. description: 商品状态- 2:未上市 3:上市
  11843. type: integer
  11844. lasttradedate:
  11845. description: 最后交易日期(状态:待退市)
  11846. type: string
  11847. listingdate:
  11848. description: 交易开始日期
  11849. type: string
  11850. marketid:
  11851. description: 所属市场ID
  11852. type: integer
  11853. picurls:
  11854. description: 介绍图片[多张用逗号分隔]
  11855. type: string
  11856. presaledqty:
  11857. description: 已预售量(预售结束时更新)
  11858. type: integer
  11859. presaleqty:
  11860. description: 预售数量
  11861. type: integer
  11862. quoteminunit:
  11863. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11864. type: integer
  11865. refprice:
  11866. description: 参考价格[一口价]
  11867. type: number
  11868. relatedgoodsid:
  11869. description: 关联交易合约ID
  11870. type: integer
  11871. trademode:
  11872. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11873. 21:竞拍-大宗式 22:受托竞价
  11874. type: integer
  11875. videourls:
  11876. description: 介绍视频[多张用逗号分隔]
  11877. type: string
  11878. required:
  11879. - goodscode
  11880. - goodsid
  11881. - goodsname
  11882. - marketid
  11883. - trademode
  11884. type: object
  11885. models.HsbyPreGoodsDetail:
  11886. properties:
  11887. agreeunit:
  11888. description: 合约单位
  11889. type: number
  11890. buymaxqty:
  11891. description: 购买上限 [71] - 0为不限
  11892. type: integer
  11893. currency:
  11894. description: 货币
  11895. type: string
  11896. currencysign:
  11897. description: 货币符号
  11898. type: string
  11899. customername:
  11900. description: 发行单位
  11901. type: string
  11902. decimalplace:
  11903. description: 报价小数位
  11904. type: integer
  11905. desccityid:
  11906. description: 目的地(市)ID
  11907. type: integer
  11908. descprovinceid:
  11909. description: 目的地(省)ID
  11910. type: integer
  11911. enableqty:
  11912. description: 剩余数量
  11913. type: integer
  11914. goodscode:
  11915. description: 商品代码(内部)
  11916. type: string
  11917. goodsdesc:
  11918. description: 商品详情
  11919. type: string
  11920. goodsid:
  11921. description: 商品ID(自增ID SEQ_GOODS)
  11922. type: integer
  11923. goodsname:
  11924. description: 商品名称
  11925. type: string
  11926. goodsstatus:
  11927. description: 商品状态- 2:未上市 3:上市
  11928. type: integer
  11929. goodunit:
  11930. description: 报价单位
  11931. type: string
  11932. lasttradedate:
  11933. description: 最后交易日期(状态:待退市)
  11934. type: string
  11935. listingdate:
  11936. description: 交易开始日期
  11937. type: string
  11938. lotsize:
  11939. description: 手数最小变动单位
  11940. type: integer
  11941. marketid:
  11942. description: 所属市场ID
  11943. type: integer
  11944. picurls:
  11945. description: 介绍图片[多张用逗号分隔]
  11946. type: string
  11947. presaledqty:
  11948. description: 已预售量(预售结束时更新)
  11949. type: integer
  11950. presaleqty:
  11951. description: 预售数量
  11952. type: integer
  11953. quoteminunit:
  11954. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11955. type: integer
  11956. refprice:
  11957. description: 参考价格[一口价]
  11958. type: number
  11959. relatedgoodsid:
  11960. description: 关联交易合约ID
  11961. type: integer
  11962. stepvalue:
  11963. description: 价格最小变动单位
  11964. type: number
  11965. trademode:
  11966. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11967. 21:竞拍-大宗式 22:受托竞价
  11968. type: integer
  11969. vendorattr:
  11970. description: 供应商附件(多张,逗号分隔)
  11971. type: string
  11972. vendorname:
  11973. description: 供应商名称
  11974. type: string
  11975. vendorphone:
  11976. description: 供应商客服电话
  11977. type: string
  11978. videourls:
  11979. description: 介绍视频[多张用逗号分隔]
  11980. type: string
  11981. required:
  11982. - goodscode
  11983. - goodsid
  11984. - goodsname
  11985. - marketid
  11986. - trademode
  11987. type: object
  11988. models.HsbySellCollectionOrder:
  11989. properties:
  11990. agreeunit:
  11991. description: 合约单位
  11992. type: number
  11993. buyaccountid:
  11994. description: 买方账号ID[报价币种]
  11995. type: integer
  11996. buyorderid:
  11997. description: 买方委托单号
  11998. type: string
  11999. createtime:
  12000. description: 创建时间
  12001. type: string
  12002. currencysign:
  12003. description: 货币符号
  12004. type: string
  12005. decimalplace:
  12006. description: 报价小数位
  12007. type: integer
  12008. goodscode:
  12009. description: 商品代码(内部)
  12010. type: string
  12011. goodsid:
  12012. description: 商品ID
  12013. type: integer
  12014. goodsname:
  12015. description: 商品名称
  12016. type: string
  12017. marketid:
  12018. description: 市场ID
  12019. type: integer
  12020. offamount:
  12021. description: 优惠金额
  12022. type: number
  12023. payamount:
  12024. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  12025. type: number
  12026. payflag:
  12027. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12028. type: integer
  12029. paylimitedtime:
  12030. description: 支付期限
  12031. type: string
  12032. paytime:
  12033. description: 付款时间
  12034. type: string
  12035. picurls:
  12036. description: 商品介绍图片[多张用逗号分隔]
  12037. type: string
  12038. sellaccountid:
  12039. description: 卖方账号ID[报价币种]
  12040. type: integer
  12041. sellorderid:
  12042. description: 卖方委托单号
  12043. type: string
  12044. tradeamount:
  12045. description: 成交金额
  12046. type: number
  12047. tradecharge:
  12048. description: 成交手续费(买方)
  12049. type: number
  12050. tradedate:
  12051. description: 交易日(yyyyMMdd)
  12052. type: string
  12053. tradeid:
  12054. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12055. type: string
  12056. trademode:
  12057. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12058. 21:竞拍-大宗式 22:受托竞价
  12059. type: integer
  12060. tradeprice:
  12061. description: 成交价格
  12062. type: number
  12063. tradeqty:
  12064. description: 成交数量
  12065. type: integer
  12066. required:
  12067. - goodscode
  12068. - goodsname
  12069. - tradeid
  12070. - trademode
  12071. type: object
  12072. models.HsbySellMyDetail:
  12073. properties:
  12074. accountid:
  12075. description: 账户ID[报价币种]
  12076. type: integer
  12077. agreeunit:
  12078. description: 合约单位
  12079. type: number
  12080. buyorsell:
  12081. description: 买卖 - 0:买 1:卖
  12082. type: integer
  12083. currencysign:
  12084. description: 货币符号
  12085. type: string
  12086. decimalplace:
  12087. description: 报价小数位
  12088. type: integer
  12089. goodscode:
  12090. description: 商品代码(内部)
  12091. type: string
  12092. goodsid:
  12093. description: 商品ID
  12094. type: integer
  12095. goodsname:
  12096. description: 商品名称
  12097. type: string
  12098. marketid:
  12099. description: 市场ID
  12100. type: integer
  12101. orderid:
  12102. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  12103. type: string
  12104. ordertype:
  12105. description: 单据类型:0 - 发布中, 1 - 已完成
  12106. type: integer
  12107. picurls:
  12108. description: 介绍图片[多张用逗号分隔]
  12109. type: string
  12110. price:
  12111. description: 价格
  12112. type: number
  12113. qty:
  12114. description: 数量
  12115. type: integer
  12116. time:
  12117. description: 时间
  12118. type: string
  12119. trademode:
  12120. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12121. 21:竞拍-大宗式 22:受托竞价
  12122. type: integer
  12123. vendorname:
  12124. description: 供应商名称
  12125. type: string
  12126. required:
  12127. - accountid
  12128. - buyorsell
  12129. - goodscode
  12130. - goodsid
  12131. - goodsname
  12132. - marketid
  12133. - orderid
  12134. - time
  12135. - trademode
  12136. type: object
  12137. models.HsbyTopGoods:
  12138. properties:
  12139. agreeunit:
  12140. description: 合约单位
  12141. type: number
  12142. currency:
  12143. description: 货币
  12144. type: string
  12145. currencysign:
  12146. description: 货币符号
  12147. type: string
  12148. decimalplace:
  12149. description: 报价小数位
  12150. type: integer
  12151. desccityid:
  12152. description: 目的地(市)
  12153. type: integer
  12154. descprovinceid:
  12155. description: 目的地(省)
  12156. type: integer
  12157. goodscode:
  12158. description: 商品代码(内部)
  12159. type: string
  12160. goodsid:
  12161. description: 商品ID(自增ID SEQ_GOODS)
  12162. type: integer
  12163. goodsname:
  12164. description: 商品名称
  12165. type: string
  12166. hotindex:
  12167. description: 景点热度
  12168. type: integer
  12169. last:
  12170. description: 现价
  12171. type: number
  12172. marketid:
  12173. description: 所属市场ID
  12174. type: integer
  12175. picurls:
  12176. description: 介绍图片[多张用逗号分隔]
  12177. type: string
  12178. quoteminunit:
  12179. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12180. type: integer
  12181. trademode:
  12182. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12183. 21:竞拍-大宗式 22:受托竞价
  12184. type: integer
  12185. videourls:
  12186. description: 介绍视频[多张用逗号分隔]
  12187. type: string
  12188. required:
  12189. - goodscode
  12190. - goodsid
  12191. - goodsname
  12192. - marketid
  12193. - trademode
  12194. type: object
  12195. models.HybsMyBuyOrderDetail:
  12196. properties:
  12197. accountid:
  12198. description: 账户ID[报价币种]
  12199. type: integer
  12200. agreeunit:
  12201. description: 合约单位
  12202. type: number
  12203. buyorsell:
  12204. description: 买卖 - 0:买 1:卖
  12205. type: integer
  12206. cancelqty:
  12207. description: 撤单数量
  12208. type: integer
  12209. currencysign:
  12210. description: 货币符号
  12211. type: string
  12212. decimalplace:
  12213. description: 报价小数位
  12214. type: integer
  12215. goodscode:
  12216. description: 商品代码(内部)
  12217. type: string
  12218. goodsid:
  12219. description: 商品ID
  12220. type: integer
  12221. goodsname:
  12222. description: 商品名称
  12223. type: string
  12224. listingselecttype:
  12225. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12226. type: integer
  12227. marketid:
  12228. description: 市场ID
  12229. type: integer
  12230. mybuystatus:
  12231. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12232. type: integer
  12233. orderamount:
  12234. description: 委托金额
  12235. type: number
  12236. orderid:
  12237. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12238. type: string
  12239. orderprice:
  12240. description: 委托价格
  12241. type: number
  12242. orderqty:
  12243. description: 委托数量
  12244. type: integer
  12245. orderstatus:
  12246. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12247. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12248. 16:成交失败违约(荷兰式竞拍专用)
  12249. type: integer
  12250. ordertime:
  12251. description: 委托时间
  12252. type: string
  12253. picurls1:
  12254. description: 预售商品介绍图片[多张用逗号分隔]
  12255. type: string
  12256. picurls2:
  12257. description: 挂牌商品介绍图片[多张用逗号分隔]
  12258. type: string
  12259. trademode:
  12260. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12261. 21:竞拍-大宗式 22:受托竞价
  12262. type: integer
  12263. tradeqty:
  12264. description: 成交数量
  12265. type: integer
  12266. vendorname1:
  12267. description: 预售商品供应商名称
  12268. type: string
  12269. vendorname2:
  12270. description: 挂牌商品供应商名称
  12271. type: string
  12272. required:
  12273. - accountid
  12274. - buyorsell
  12275. - goodscode
  12276. - goodsid
  12277. - goodsname
  12278. - marketid
  12279. - orderid
  12280. - orderqty
  12281. - ordertime
  12282. - trademode
  12283. type: object
  12284. models.InternalEnableTradeDetail:
  12285. properties:
  12286. agreeunit:
  12287. description: 合约乘数
  12288. type: number
  12289. areauserid:
  12290. description: 企业ID
  12291. type: integer
  12292. convertratio:
  12293. description: 品种系数
  12294. type: number
  12295. deliverygoodscode:
  12296. description: 现货品种代码
  12297. type: string
  12298. deliverygoodsid:
  12299. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12300. type: integer
  12301. deliverygoodsname:
  12302. description: 现货品种名称
  12303. type: string
  12304. futurehedgeqty:
  12305. description: '[已关联数量]期货持仓套期量'
  12306. type: number
  12307. goodsid:
  12308. description: 期货合约ID
  12309. type: integer
  12310. hedgeditemid:
  12311. description: 被套期项目ID
  12312. type: string
  12313. hedgeditemnum:
  12314. description: 项目编号
  12315. type: string
  12316. tradeuserid:
  12317. description: 交易用户ID
  12318. type: integer
  12319. unexehedgeqty:
  12320. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12321. type: number
  12322. unexespotqty:
  12323. description: 未执行现货量
  12324. type: number
  12325. wrstandardcode:
  12326. description: 现货品类代码
  12327. type: string
  12328. wrstandardid:
  12329. description: 现货品类ID(SEQ_WRSTANDARD)
  12330. type: integer
  12331. wrstandardname:
  12332. description: 现货品类名称
  12333. type: string
  12334. required:
  12335. - areauserid
  12336. - goodsid
  12337. - tradeuserid
  12338. type: object
  12339. models.InternalUncorrelatedTradeDetail:
  12340. properties:
  12341. accountid:
  12342. description: 账号ID
  12343. type: integer
  12344. accountname:
  12345. description: 套期主体
  12346. type: string
  12347. agreeunit:
  12348. description: 合约乘数
  12349. type: number
  12350. areauserid:
  12351. description: 所属机构
  12352. type: integer
  12353. bizsubjectid:
  12354. description: 归属业务部门ID - SubjectID
  12355. type: integer
  12356. buyorsell:
  12357. description: 方向 - 0:买 1:卖
  12358. type: integer
  12359. channelbuildtype:
  12360. description: 委托单据类型 0:无 1:建仓 2:平仓
  12361. type: integer
  12362. convertratio:
  12363. description: 品种系数
  12364. type: number
  12365. createtime:
  12366. description: 创建时间
  12367. type: string
  12368. creatorid:
  12369. description: 创建人ID
  12370. type: integer
  12371. creatorsrc:
  12372. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12373. type: integer
  12374. enableqty:
  12375. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12376. type: number
  12377. enumdicname:
  12378. description: 单位
  12379. type: string
  12380. goodscode:
  12381. description: 合约代码
  12382. type: string
  12383. goodsgroupid:
  12384. description: 对冲品种ID[期货合约商品组ID]
  12385. type: integer
  12386. goodsid:
  12387. description: 商品ID
  12388. type: integer
  12389. goodsname:
  12390. description: 合约名称
  12391. type: string
  12392. hedgeditemid:
  12393. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12394. type: integer
  12395. hedgeflag:
  12396. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12397. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12398. type: integer
  12399. linkdetailid:
  12400. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12401. type: string
  12402. linkstatus:
  12403. description: 关联状态 - 1:成功 2:失败 3:解绑
  12404. type: integer
  12405. middlegoodsid:
  12406. description: 套保品种ID
  12407. type: integer
  12408. middlegoodsqty:
  12409. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12410. type: number
  12411. relatedlot:
  12412. description: '[数量]关联手数'
  12413. type: number
  12414. relatedmode:
  12415. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12416. type: integer
  12417. relatedqty:
  12418. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12419. type: number
  12420. retcode:
  12421. description: 返回码
  12422. type: integer
  12423. saleuserid:
  12424. description: 业务员ID
  12425. type: integer
  12426. tradedate:
  12427. description: 关联交易日(yyyyMMdd)
  12428. type: string
  12429. tradeid:
  12430. description: 成交单号
  12431. type: string
  12432. tradelot:
  12433. description: 成交手数
  12434. type: integer
  12435. tradeprice:
  12436. description: 成交价
  12437. type: number
  12438. tradetime:
  12439. description: 成交时间
  12440. type: string
  12441. tradetradedate:
  12442. description: 成交交易日(yyyyMMdd)
  12443. type: string
  12444. tradeuserid:
  12445. description: 交易用户ID
  12446. type: integer
  12447. type: object
  12448. models.Loginaccount:
  12449. properties:
  12450. accountname:
  12451. description: 账户名称
  12452. type: string
  12453. canoutin:
  12454. description: 是否可出入金 - 0:不可 1:可
  12455. type: integer
  12456. clientroleid:
  12457. description: 终端角色ID
  12458. type: integer
  12459. haslogined:
  12460. description: 是否已登录 - 0:未登录 1:已登录
  12461. type: integer
  12462. hasupdatedpwd:
  12463. description: 是否已更改密码 - 0:未修改 1:已修改
  12464. type: integer
  12465. lastloginip:
  12466. description: 最新登录地址
  12467. type: string
  12468. lastloginmode:
  12469. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  12470. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12471. type: integer
  12472. lastloginremark:
  12473. description: 最新登录描述
  12474. type: string
  12475. lastlogintime:
  12476. description: 最新登录时间
  12477. type: string
  12478. logincode:
  12479. description: 登录代码
  12480. type: string
  12481. loginfailnum:
  12482. description: 连续登录失败次数(登录成功时清零)
  12483. type: integer
  12484. loginid:
  12485. description: 登陆账号
  12486. type: integer
  12487. loginport:
  12488. description: 最新登录端口
  12489. type: integer
  12490. loginstatus:
  12491. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  12492. type: integer
  12493. loginusertype:
  12494. description: 登录账号类型 - 1:投资者 2:机构交易员
  12495. type: integer
  12496. mobile:
  12497. description: 手机号码(加密存储)
  12498. type: string
  12499. modifierid:
  12500. description: 修改人
  12501. type: integer
  12502. modifysrc:
  12503. description: 审核来源 - 1:管理端 2:终端
  12504. type: integer
  12505. modifytime:
  12506. description: 修改时间
  12507. type: string
  12508. pwdwrongcount:
  12509. description: 密码错误次数
  12510. type: integer
  12511. relateduserid:
  12512. description: 关联用户ID(机构)
  12513. type: integer
  12514. taaccountrighttype:
  12515. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  12516. type: integer
  12517. unfreezetime:
  12518. description: 账户解冻时间
  12519. type: string
  12520. userid:
  12521. description: 用户ID
  12522. type: integer
  12523. required:
  12524. - loginid
  12525. type: object
  12526. models.MainAccountInfo:
  12527. properties:
  12528. accountid:
  12529. description: 账号id
  12530. type: integer
  12531. accountname:
  12532. description: 账号名称(taaccount表中的名称)
  12533. type: string
  12534. appid:
  12535. description: AppID
  12536. type: string
  12537. authcode:
  12538. description: 授权码
  12539. type: string
  12540. brokerid:
  12541. description: 经纪商id
  12542. type: string
  12543. fcid:
  12544. description: 期货公司id
  12545. type: integer
  12546. fcname:
  12547. description: 期货公司代码
  12548. type: string
  12549. hedgeaccountcode:
  12550. description: 外部账号代码(主账号登录代码)
  12551. type: string
  12552. hedgeaccountpwd:
  12553. description: 密码
  12554. type: string
  12555. ismain:
  12556. description: 是否主账号
  12557. type: integer
  12558. relateduserid:
  12559. description: 关联用户id
  12560. type: integer
  12561. userid:
  12562. description: 关联用户id
  12563. type: integer
  12564. type: object
  12565. models.Market:
  12566. properties:
  12567. auctionwrtype:
  12568. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  12569. type: integer
  12570. canacceptquote:
  12571. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12572. type: integer
  12573. cangoodsexercise:
  12574. description: '[期权]是否可现货行权- 0:否 1:是'
  12575. type: integer
  12576. cangoodsexercisetype:
  12577. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12578. type: integer
  12579. canmanualquotestrike:
  12580. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12581. type: integer
  12582. canmutistage:
  12583. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12584. type: integer
  12585. canpreexercise:
  12586. description: '[期权]是否可预申报- 0:否 1:是'
  12587. type: integer
  12588. clearinterval:
  12589. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12590. type: integer
  12591. contracttmp:
  12592. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12593. type: string
  12594. exchareaid:
  12595. description: 所属交易所,可以没有
  12596. type: integer
  12597. goodstype:
  12598. description: 商品类型 - 1:交易商品 2:仓单商品
  12599. type: integer
  12600. hasrebate:
  12601. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12602. type: integer
  12603. hastradecredit:
  12604. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12605. type: integer
  12606. haswr:
  12607. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12608. type: integer
  12609. isdeductmargin:
  12610. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12611. type: integer
  12612. isrecordsource:
  12613. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12614. type: integer
  12615. isreleasemargin:
  12616. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12617. type: integer
  12618. marginformula:
  12619. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12620. type: integer
  12621. marginformula2:
  12622. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12623. type: integer
  12624. marketid:
  12625. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12626. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12627. type: integer
  12628. marketname:
  12629. description: 市场名称
  12630. type: string
  12631. marketserviceid:
  12632. description: 市场服务ID
  12633. type: integer
  12634. marketstatus:
  12635. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12636. type: integer
  12637. markettype:
  12638. description: 市场类型- 1:非交易服务 2:交易服务
  12639. type: integer
  12640. matchermode:
  12641. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  12642. type: integer
  12643. openmethod:
  12644. description: 开盘模式 - 0 自动 1手动
  12645. type: integer
  12646. otcuserid:
  12647. description: 场外期权做市商[场外期权]
  12648. type: integer
  12649. outersynctime:
  12650. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12651. type: string
  12652. pendingflag:
  12653. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12654. type: integer
  12655. pendingtime:
  12656. description: 待开市时间[通道交易-对冲](HH:mm)
  12657. type: string
  12658. performancetempid:
  12659. description: 履约计划模板ID - 作废
  12660. type: integer
  12661. premiumquotemode:
  12662. description: 权利金报价方式 - 1:自动 2:手动
  12663. type: integer
  12664. rebateratio:
  12665. description: 返利比率[竞价式]
  12666. type: number
  12667. reckonorder:
  12668. description: 结算顺序
  12669. type: integer
  12670. reckonpricealgorithm:
  12671. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12672. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12673. type: integer
  12674. reckonpriceparam:
  12675. description: 结算价参数
  12676. type: integer
  12677. reckontime:
  12678. description: 结算时间[通道交易-对冲](HH:mm)
  12679. type: string
  12680. roleprioritytype:
  12681. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12682. type: integer
  12683. selllistingauditflag:
  12684. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12685. type: integer
  12686. trademarkettype:
  12687. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12688. type: integer
  12689. trademode:
  12690. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12691. 21:竞拍-大宗式 22:受托竞价
  12692. type: integer
  12693. tradeproperty:
  12694. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12695. 8:场外期权
  12696. type: integer
  12697. tradetype:
  12698. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12699. type: integer
  12700. required:
  12701. - marketid
  12702. - marketstatus
  12703. - openmethod
  12704. - reckonpricealgorithm
  12705. - trademode
  12706. - tradeproperty
  12707. type: object
  12708. models.Marketcalendar:
  12709. properties:
  12710. holidaydate:
  12711. description: 节假日期(yyyy-MM-dd)
  12712. type: string
  12713. marketid:
  12714. description: 市场ID
  12715. type: integer
  12716. type: object
  12717. models.Marketrun:
  12718. properties:
  12719. afternexttradedate:
  12720. description: 下下交易日
  12721. type: string
  12722. clearquoteflag:
  12723. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  12724. type: integer
  12725. lastreckondate:
  12726. description: 最新交易日(结算成功)
  12727. type: string
  12728. machinedate:
  12729. description: 机器时间
  12730. type: string
  12731. manualflag:
  12732. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  12733. type: integer
  12734. marketid:
  12735. description: 市场ID
  12736. type: integer
  12737. nexttradedate:
  12738. description: 下一交易日
  12739. type: string
  12740. pretradedate:
  12741. description: 上一交易日
  12742. type: string
  12743. reckonflag:
  12744. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  12745. type: integer
  12746. runstatus:
  12747. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  12748. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  12749. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  12750. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  12751. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  12752. 62.今日免清算
  12753. type: integer
  12754. sectionid:
  12755. description: 时间段号[多时段时用]
  12756. type: integer
  12757. tradedate:
  12758. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  12759. type: string
  12760. tradedate2:
  12761. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  12762. type: string
  12763. updatetime:
  12764. description: 更新时间
  12765. type: string
  12766. required:
  12767. - marketid
  12768. - nexttradedate
  12769. - reckonflag
  12770. - runstatus
  12771. - tradedate
  12772. - tradedate2
  12773. type: object
  12774. models.Messageboard:
  12775. properties:
  12776. contactnum:
  12777. description: 联系电话
  12778. type: string
  12779. createtime:
  12780. description: 创建时间
  12781. type: string
  12782. message:
  12783. description: 留言信息
  12784. type: string
  12785. messageboardid:
  12786. description: 留言簿ID(SEQ_MessageBoard)
  12787. type: integer
  12788. userid:
  12789. description: 用户ID
  12790. type: integer
  12791. required:
  12792. - messageboardid
  12793. type: object
  12794. models.MyBargainApply:
  12795. properties:
  12796. accountid:
  12797. description: 摘牌资金账号
  12798. type: integer
  12799. applyprice:
  12800. description: 申请价格
  12801. type: string
  12802. applyremark:
  12803. description: 申请备注
  12804. type: string
  12805. applystatus:
  12806. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  12807. type: integer
  12808. applytime:
  12809. description: 申请时间
  12810. type: string
  12811. buyorsell:
  12812. description: 买卖 - 0:买 1:卖
  12813. type: integer
  12814. buyusername:
  12815. description: 买方
  12816. type: string
  12817. confirmprice:
  12818. description: 可接受价格(拒绝时填写)-作废
  12819. type: number
  12820. confirmqty:
  12821. description: 可接受数量(拒绝时填写)-作废
  12822. type: integer
  12823. confirmremark:
  12824. description: 确认备注
  12825. type: string
  12826. confirmtime:
  12827. description: 确认时间
  12828. type: string
  12829. confirmuserid:
  12830. description: 确认人
  12831. type: integer
  12832. goodsno:
  12833. description: 商品编号
  12834. type: string
  12835. handlestatus:
  12836. description: 处理状态
  12837. type: integer
  12838. ladingbillid:
  12839. description: 摘牌方提单ID [卖]
  12840. type: integer
  12841. marketid:
  12842. description: 市场ID
  12843. type: integer
  12844. matchaccountid:
  12845. description: 挂牌方资金账号
  12846. type: integer
  12847. matchuserid:
  12848. description: 挂牌方用户ID
  12849. type: integer
  12850. performancetemplateid:
  12851. description: 履约计划模板ID
  12852. type: integer
  12853. price:
  12854. description: 价格
  12855. type: number
  12856. priceper:
  12857. description: 克拉单价 - 类型:1,2,3,5
  12858. type: string
  12859. qty:
  12860. description: 申请数量
  12861. type: number
  12862. refprice:
  12863. description: 参考价格
  12864. type: string
  12865. retcode:
  12866. description: 委托返回代码
  12867. type: integer
  12868. sellusername:
  12869. description: 卖方
  12870. type: string
  12871. sizedisplay:
  12872. description: 尺寸
  12873. type: string
  12874. subnum:
  12875. description: 摘牌方提单子单号 [卖]
  12876. type: integer
  12877. tradedate:
  12878. description: 交易日(yyyyMMdd)
  12879. type: string
  12880. userid:
  12881. description: 摘牌人用户ID
  12882. type: integer
  12883. warehousenamedisplay:
  12884. type: string
  12885. wrbargainid:
  12886. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  12887. type: string
  12888. wrtradeorderid:
  12889. description: 关联委托单ID
  12890. type: string
  12891. zscerttypedisplay:
  12892. type: string
  12893. zsclaritytype1display:
  12894. type: string
  12895. zsclaritytype2display:
  12896. type: string
  12897. zscolortype1display:
  12898. type: string
  12899. zscolortype2display:
  12900. type: string
  12901. zscrystaltypedisplay:
  12902. type: string
  12903. zscurrencytypedisplay:
  12904. type: string
  12905. zscurrencytypedisplayunit:
  12906. type: string
  12907. zscuttype1display:
  12908. type: string
  12909. zscuttype2display:
  12910. type: string
  12911. zsczcolor1typedisplay:
  12912. type: string
  12913. zsczcolor2typedisplay:
  12914. type: string
  12915. zsczcolor3typedisplay:
  12916. type: string
  12917. zsfluorescencetype1display:
  12918. type: string
  12919. zsfluorescencetype2display:
  12920. type: string
  12921. zspolishtype1display:
  12922. type: string
  12923. zspolishtype2display:
  12924. type: string
  12925. zsshapetypedisplay:
  12926. type: string
  12927. zsstyletypedisplay:
  12928. type: string
  12929. zssymmetrytype1display:
  12930. type: string
  12931. zssymmetrytype2display:
  12932. type: string
  12933. required:
  12934. - userid
  12935. type: object
  12936. models.MyBuyOrder:
  12937. properties:
  12938. accountid:
  12939. description: 资金账户ID
  12940. type: integer
  12941. marketid:
  12942. description: 市场ID
  12943. type: integer
  12944. ordertime:
  12945. description: 委托时间
  12946. type: string
  12947. origin:
  12948. description: 原产地
  12949. type: string
  12950. performancetemplateid:
  12951. description: 履约计划模板ID
  12952. type: integer
  12953. remark:
  12954. description: 备注
  12955. type: string
  12956. userid:
  12957. description: 用户ID
  12958. type: integer
  12959. validtime:
  12960. description: 有效期限
  12961. type: string
  12962. warehouseids:
  12963. description: 仓库ID - 多个, 逗号分隔
  12964. type: string
  12965. warehouseinfosdisplay:
  12966. type: string
  12967. wrtradeorderid:
  12968. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  12969. type: string
  12970. wrtradeorderstatus:
  12971. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  12972. type: integer
  12973. zscategory:
  12974. description: 钻石分类 - 枚举”ZSCategory“
  12975. type: integer
  12976. zscategorydisplay:
  12977. type: string
  12978. zsclaritytype:
  12979. description: 净度 - 两个, 逗号分隔
  12980. type: string
  12981. zsclaritytypedisplay:
  12982. type: string
  12983. zscolortype:
  12984. description: 颜色 - 两个, 逗号分隔
  12985. type: string
  12986. zscolortypedisplay:
  12987. type: string
  12988. zscrystaltype:
  12989. description: 晶型 - 多个,逗号分隔
  12990. type: string
  12991. zscrystaltypedisplay:
  12992. type: string
  12993. zscurrencytype:
  12994. description: 货币类型 - 多个, 逗号分隔
  12995. type: string
  12996. zscurrencytypedisplay:
  12997. type: string
  12998. zscuttype:
  12999. description: 切工 - 两个, 逗号分隔
  13000. type: string
  13001. zscuttypedisplay:
  13002. type: string
  13003. zsczcolor1type:
  13004. description: 彩钻颜色1, 逗号分隔
  13005. type: string
  13006. zsczcolor1typedisplay:
  13007. type: string
  13008. zsczcolor2type:
  13009. description: 彩钻颜色2, 逗号分隔
  13010. type: string
  13011. zsczcolor2typedisplay:
  13012. type: string
  13013. zsczcolor3type:
  13014. description: 彩钻颜色3, 逗号分隔
  13015. type: string
  13016. zsczcolor3typedisplay:
  13017. type: string
  13018. zsfluorescencetype:
  13019. description: 荧光 - 多个, 逗号分隔
  13020. type: string
  13021. zsfluorescencetypedisplay:
  13022. type: string
  13023. zspolishtype:
  13024. description: 抛光度 - 两个, 逗号分隔
  13025. type: string
  13026. zspolishtypedisplay:
  13027. type: string
  13028. zsshapetype:
  13029. description: 形状 - 多个, 逗号分隔
  13030. type: string
  13031. zsshapetypedisplay:
  13032. type: string
  13033. zssize:
  13034. description: 尺寸 - 两个小数, 逗号分隔
  13035. type: string
  13036. zsstyletype:
  13037. description: 款式 - 多个, 逗号分隔
  13038. type: string
  13039. zsstyletypedisplay:
  13040. type: string
  13041. zssymmetrytype:
  13042. description: 对称度 - 两个, 逗号分隔
  13043. type: string
  13044. zssymmetrytypedisplay:
  13045. type: string
  13046. zstabledisplay:
  13047. description: 求购信息
  13048. type: string
  13049. required:
  13050. - userid
  13051. type: object
  13052. models.MyCoupon:
  13053. properties:
  13054. accountid:
  13055. description: 资金账户ID
  13056. type: integer
  13057. areauserid:
  13058. description: 所属机构
  13059. type: integer
  13060. conditionvalue:
  13061. description: 条件阈值(可为0)
  13062. type: number
  13063. couponcategroy:
  13064. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  13065. type: integer
  13066. couponname:
  13067. description: 优惠券名称
  13068. type: string
  13069. coupontypeid:
  13070. description: 优惠券类型ID
  13071. type: string
  13072. couponvalue:
  13073. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13074. type: number
  13075. curfreezeqty:
  13076. description: 期末冻结数量
  13077. type: integer
  13078. curqty:
  13079. description: 期末数量
  13080. type: integer
  13081. isgeneral:
  13082. description: 是否通用券 - 0:否 1:是
  13083. type: integer
  13084. isunusable:
  13085. description: 是否不可用
  13086. type: boolean
  13087. limitedflag:
  13088. description: 是否指定商品 - 0:不限 1:限制
  13089. type: integer
  13090. limitedgoodsids:
  13091. description: 指定商品IDs[逗号分隔,前后加逗号]
  13092. type: string
  13093. orifreezeqty:
  13094. description: 期初冻结数量
  13095. type: integer
  13096. oriqty:
  13097. description: 期初数量
  13098. type: integer
  13099. reasontype:
  13100. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  13101. type: integer
  13102. todaydecrease:
  13103. description: 今日减少
  13104. type: integer
  13105. todayincrease:
  13106. description: 今日增加
  13107. type: integer
  13108. userid:
  13109. description: 用户ID
  13110. type: integer
  13111. userscope:
  13112. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  13113. type: string
  13114. required:
  13115. - accountid
  13116. - coupontypeid
  13117. type: object
  13118. models.MyCouponHold:
  13119. properties:
  13120. accountid:
  13121. description: 资金账户ID
  13122. type: integer
  13123. conditionvalue:
  13124. description: 条件阈值(可为0)
  13125. type: number
  13126. couponcategroy:
  13127. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  13128. type: integer
  13129. couponholdid:
  13130. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  13131. type: string
  13132. couponname:
  13133. description: 优惠券名称
  13134. type: string
  13135. coupontypeid:
  13136. description: 优惠券类型ID - SEQ_COUPONTYPE
  13137. type: string
  13138. couponvalue:
  13139. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13140. type: number
  13141. createtime:
  13142. description: 创建时间
  13143. type: string
  13144. enddate:
  13145. description: 结束日期
  13146. type: string
  13147. giveapplyid:
  13148. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  13149. type: integer
  13150. holdstatus:
  13151. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  13152. type: integer
  13153. isgeneral:
  13154. description: 是否通用券 - 0:否 1:是
  13155. type: integer
  13156. limitedflag:
  13157. description: 是否指定商品 - 0:不限 1:限制
  13158. type: integer
  13159. limitedgoodsids:
  13160. description: 指定商品IDs[逗号分隔]
  13161. type: string
  13162. qty:
  13163. description: 数量(按1平铺)
  13164. type: integer
  13165. startdate:
  13166. description: 开始日期
  13167. type: string
  13168. userid:
  13169. description: 用户ID
  13170. type: integer
  13171. userscope:
  13172. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  13173. type: string
  13174. required:
  13175. - couponholdid
  13176. type: object
  13177. models.MyDeListing:
  13178. properties:
  13179. buyaccountid:
  13180. description: 买方账号ID
  13181. type: integer
  13182. buychargevalue:
  13183. description: 买方手续费
  13184. type: number
  13185. buyuserid:
  13186. description: 买方用户ID
  13187. type: integer
  13188. deliverygoodsid:
  13189. description: 现货品种ID
  13190. type: integer
  13191. exchangerate:
  13192. description: 汇率
  13193. type: number
  13194. goodsno:
  13195. description: 商品编号
  13196. type: string
  13197. marketid:
  13198. description: 市场ID
  13199. type: integer
  13200. matchusername:
  13201. description: 对手方
  13202. type: string
  13203. oritradeamount:
  13204. description: 成交金额[商品币种]
  13205. type: number
  13206. performanceplanid:
  13207. description: 履约计划ID/合同ID
  13208. type: string
  13209. price:
  13210. description: 价格
  13211. type: number
  13212. qty:
  13213. description: 成交重量
  13214. type: number
  13215. sellaccountid:
  13216. description: 卖方账号ID
  13217. type: integer
  13218. sellchargevalue:
  13219. description: 卖方手续费
  13220. type: number
  13221. selluserid:
  13222. description: 卖方用户ID
  13223. type: integer
  13224. sizedisplay:
  13225. description: 尺寸
  13226. type: string
  13227. tradeamount:
  13228. description: 成交金额
  13229. type: number
  13230. tradedate:
  13231. description: 交易日(yyyyMMdd)
  13232. type: string
  13233. tradeprice:
  13234. description: 成交价格
  13235. type: number
  13236. tradetime:
  13237. description: 成交时间
  13238. type: string
  13239. userid:
  13240. description: 用户ID
  13241. type: integer
  13242. warehousenamedisplay:
  13243. type: string
  13244. wrfactortypeid:
  13245. description: 仓单要素类型ID
  13246. type: integer
  13247. wrstandardid:
  13248. description: 现货商品ID
  13249. type: integer
  13250. wrtradedetailid:
  13251. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13252. type: string
  13253. zscategory:
  13254. description: 钻石分类 - 枚举”ZSCategory“
  13255. type: integer
  13256. zscategorydisplay:
  13257. type: string
  13258. zscerttypedisplay:
  13259. type: string
  13260. zsclaritytype1display:
  13261. type: string
  13262. zsclaritytype2display:
  13263. type: string
  13264. zscolortype1display:
  13265. type: string
  13266. zscolortype2display:
  13267. type: string
  13268. zscrystaltypedisplay:
  13269. type: string
  13270. zscurrencytype:
  13271. description: 货币类型 - 枚举“ZSCurrencyType”
  13272. type: integer
  13273. zscurrencytypedisplay:
  13274. type: string
  13275. zscurrencytypedisplayunit:
  13276. type: string
  13277. zscuttype1display:
  13278. type: string
  13279. zscuttype2display:
  13280. type: string
  13281. zsczcolor1typedisplay:
  13282. type: string
  13283. zsczcolor2typedisplay:
  13284. type: string
  13285. zsczcolor3typedisplay:
  13286. type: string
  13287. zsfluorescencetype1display:
  13288. type: string
  13289. zsfluorescencetype2display:
  13290. type: string
  13291. zspolishtype1display:
  13292. type: string
  13293. zspolishtype2display:
  13294. type: string
  13295. zsshapetypedisplay:
  13296. type: string
  13297. zsstyletypedisplay:
  13298. type: string
  13299. zssymmetrytype1display:
  13300. type: string
  13301. zssymmetrytype2display:
  13302. type: string
  13303. required:
  13304. - userid
  13305. type: object
  13306. models.MyDelistingApply:
  13307. properties:
  13308. applyprice:
  13309. description: 申请价格
  13310. type: number
  13311. applyqty:
  13312. description: 申请数量
  13313. type: number
  13314. applyremark:
  13315. description: 申请备注
  13316. type: string
  13317. applystatus:
  13318. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13319. type: integer
  13320. applytime:
  13321. description: 申请时间
  13322. type: string
  13323. auditremark:
  13324. description: 确认备注
  13325. type: string
  13326. audittime:
  13327. description: 确认时间
  13328. type: string
  13329. buyuserid:
  13330. description: 买方用户ID
  13331. type: integer
  13332. buyusername:
  13333. description: 买方
  13334. type: string
  13335. buywrtradeorderid:
  13336. description: 买委托单ID
  13337. type: string
  13338. cerno:
  13339. description: 证书编号 - 类型:2,4,5
  13340. type: string
  13341. goodsno:
  13342. description: 商品编号
  13343. type: string
  13344. ladingbillid:
  13345. description: 卖方提单ID
  13346. type: string
  13347. marketid:
  13348. description: 市场ID
  13349. type: integer
  13350. performancetemplateid:
  13351. description: 履约计划模板ID
  13352. type: integer
  13353. price:
  13354. description: 价格
  13355. type: number
  13356. priceper:
  13357. description: 克拉单价
  13358. type: string
  13359. sellaccountid:
  13360. description: 卖方账户ID
  13361. type: integer
  13362. selldelistingapplyid:
  13363. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13364. type: string
  13365. selltradeorderid:
  13366. description: 卖方委托ID(买方确认成交后更新)
  13367. type: string
  13368. selluserid:
  13369. description: 卖方用户ID
  13370. type: integer
  13371. sellusername:
  13372. description: 卖方
  13373. type: string
  13374. sizedisplay:
  13375. description: 尺寸
  13376. type: string
  13377. subnum:
  13378. description: 卖方提单子单号
  13379. type: integer
  13380. warehouseinfosdisplay:
  13381. type: string
  13382. weight:
  13383. description: 克拉重量
  13384. type: number
  13385. wrfactortypeid:
  13386. description: 仓单要素类型ID
  13387. type: string
  13388. wrstandardid:
  13389. description: 现货商品ID
  13390. type: integer
  13391. zsallproperties:
  13392. type: string
  13393. zscategorydisplay:
  13394. type: string
  13395. zscerttype:
  13396. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13397. type: integer
  13398. zscerttypedisplay:
  13399. description: 证书类型
  13400. type: string
  13401. zsclaritytypedisplay:
  13402. type: string
  13403. zscolortypedisplay:
  13404. type: string
  13405. zscrystaltypedisplay:
  13406. type: string
  13407. zscurrencytypedisplay:
  13408. type: string
  13409. zscurrencytypedisplayunit:
  13410. description: 价格单位
  13411. type: string
  13412. zscuttypedisplay:
  13413. type: string
  13414. zsczcolor1typedisplay:
  13415. type: string
  13416. zsczcolor2typedisplay:
  13417. type: string
  13418. zsczcolor3typedisplay:
  13419. type: string
  13420. zsfluorescencetypedisplay:
  13421. type: string
  13422. zspolishtypedisplay:
  13423. type: string
  13424. zsshapetypedisplay:
  13425. type: string
  13426. zssizedisplay:
  13427. type: string
  13428. zsstyletypedisplay:
  13429. type: string
  13430. zssymmetrytypedisplay:
  13431. type: string
  13432. zstabledisplay:
  13433. type: string
  13434. required:
  13435. - selluserid
  13436. type: object
  13437. models.MyFavorite:
  13438. properties:
  13439. accountname:
  13440. description: 账户名称(机构名称)
  13441. type: string
  13442. buyorsell:
  13443. description: 买卖 - 0:买 1:卖
  13444. type: integer
  13445. favoritestatus:
  13446. description: 收藏状态 - 1:正常 2:失效
  13447. type: integer
  13448. goodsno:
  13449. description: 商品编号
  13450. type: string
  13451. marketid:
  13452. description: 市场ID
  13453. type: integer
  13454. marketprice:
  13455. description: 市场价
  13456. type: string
  13457. price:
  13458. description: 价格
  13459. type: number
  13460. priceper:
  13461. description: 克拉单价
  13462. type: string
  13463. sellusername:
  13464. description: 卖家
  13465. type: string
  13466. sizedisplay:
  13467. description: 尺寸
  13468. type: string
  13469. userid:
  13470. description: 用户ID
  13471. type: integer
  13472. warehousenamedisplay:
  13473. description: 仓库名称
  13474. type: string
  13475. weight:
  13476. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13477. type: number
  13478. weightavg:
  13479. description: 平均单颗重量 - 类型:1,3
  13480. type: number
  13481. wrfactortypeid:
  13482. description: 仓单要素类型ID/商品ID(77)
  13483. type: string
  13484. wrstandardid:
  13485. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  13486. type: integer
  13487. wrtradeorderid:
  13488. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13489. type: string
  13490. zscategory:
  13491. description: 钻石分类 - 枚举”ZSCategory“
  13492. type: integer
  13493. zscategorydisplay:
  13494. type: string
  13495. zscerttypedisplay:
  13496. type: string
  13497. zsclaritytype1display:
  13498. type: string
  13499. zsclaritytype2display:
  13500. type: string
  13501. zscolortype1display:
  13502. type: string
  13503. zscolortype2display:
  13504. type: string
  13505. zscrystaltypedisplay:
  13506. type: string
  13507. zscurrencytypedisplay:
  13508. type: string
  13509. zscurrencytypedisplayunit:
  13510. type: string
  13511. zscuttype1display:
  13512. type: string
  13513. zscuttype2display:
  13514. type: string
  13515. zsczcolor1typedisplay:
  13516. type: string
  13517. zsczcolor2typedisplay:
  13518. type: string
  13519. zsczcolor3typedisplay:
  13520. type: string
  13521. zsfluorescencetype1display:
  13522. type: string
  13523. zsfluorescencetype2display:
  13524. type: string
  13525. zspolishtype1display:
  13526. type: string
  13527. zspolishtype2display:
  13528. type: string
  13529. zsshapetypedisplay:
  13530. type: string
  13531. zsstyletypedisplay:
  13532. type: string
  13533. zssymmetrytype1display:
  13534. type: string
  13535. zssymmetrytype2display:
  13536. type: string
  13537. required:
  13538. - userid
  13539. type: object
  13540. models.MyPerformanc:
  13541. properties:
  13542. accountname:
  13543. description: '[对手方]账户名称(机构名称)'
  13544. type: string
  13545. amount:
  13546. description: 履约金额
  13547. type: number
  13548. buyaccountid:
  13549. description: 买方账号
  13550. type: integer
  13551. buyerfreezeamount:
  13552. description: 买方履约前冻结资金
  13553. type: number
  13554. buyerfreezeamountremain:
  13555. description: 买方履约前冻结资金剩余
  13556. type: number
  13557. buyerinfo:
  13558. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13559. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  13560. type: string
  13561. buyorsell:
  13562. description: 方向 - 0:买 1:卖
  13563. type: integer
  13564. buypaidamount:
  13565. description: 买方已冻/已扣金额
  13566. type: number
  13567. buytodayamount:
  13568. description: 买方今日扣/冻金额 (待开市时清零)
  13569. type: number
  13570. curstepid:
  13571. description: 当前步骤ID
  13572. type: string
  13573. goodsno:
  13574. description: 商品编号
  13575. type: string
  13576. overshortamount:
  13577. description: 溢短金额
  13578. type: number
  13579. paymenttype:
  13580. description: 买方支付方式 - 1:冻结 2:扣款
  13581. type: integer
  13582. performanceplanid:
  13583. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13584. type: string
  13585. performancestatus:
  13586. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13587. 9:超时待处理 10:超时关闭
  13588. type: integer
  13589. price:
  13590. description: 价格
  13591. type: number
  13592. priceper:
  13593. description: 克拉单价
  13594. type: string
  13595. relatedorderid:
  13596. description: 关联单号(履约类型的关联单号)
  13597. type: string
  13598. remaindays:
  13599. description: 剩余天数
  13600. type: integer
  13601. sellerfreezeamount:
  13602. description: 卖方履约前冻结资金
  13603. type: number
  13604. sellerfreezeamountremain:
  13605. description: 卖方履约前冻结资金剩余
  13606. type: number
  13607. sellerinfo:
  13608. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13609. "xxxxxxxx"}'
  13610. type: string
  13611. sellreceivedamount:
  13612. description: 卖方已收金额
  13613. type: number
  13614. selltodayamount:
  13615. description: 卖方今日收取金额(待开市时清零)
  13616. type: number
  13617. sizedisplay:
  13618. description: 尺寸
  13619. type: string
  13620. steptypeid:
  13621. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13622. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13623. type: integer
  13624. warehousenamedisplay:
  13625. type: string
  13626. zscategorydisplay:
  13627. type: string
  13628. zscerttypedisplay:
  13629. type: string
  13630. zsclaritytype1display:
  13631. type: string
  13632. zsclaritytype2display:
  13633. type: string
  13634. zscolortype1display:
  13635. type: string
  13636. zscolortype2display:
  13637. type: string
  13638. zscrystaltypedisplay:
  13639. type: string
  13640. zscurrencytypedisplay:
  13641. type: string
  13642. zscurrencytypedisplayunit:
  13643. type: string
  13644. zscuttype1display:
  13645. type: string
  13646. zscuttype2display:
  13647. type: string
  13648. zsczcolor1typedisplay:
  13649. type: string
  13650. zsczcolor2typedisplay:
  13651. type: string
  13652. zsczcolor3typedisplay:
  13653. type: string
  13654. zsfluorescencetype1display:
  13655. type: string
  13656. zsfluorescencetype2display:
  13657. type: string
  13658. zspolishtype1display:
  13659. type: string
  13660. zspolishtype2display:
  13661. type: string
  13662. zsshapetypedisplay:
  13663. type: string
  13664. zsstyletypedisplay:
  13665. type: string
  13666. zssymmetrytype1display:
  13667. type: string
  13668. zssymmetrytype2display:
  13669. type: string
  13670. type: object
  13671. models.MyRefer:
  13672. properties:
  13673. accountname:
  13674. description: 用户名(脱敏)
  13675. type: string
  13676. createtime:
  13677. description: 时间(yyyy-mm-dd)
  13678. type: string
  13679. score:
  13680. description: 积分
  13681. type: number
  13682. type: object
  13683. models.MySellOrder:
  13684. properties:
  13685. accountid:
  13686. description: 资金账号
  13687. type: integer
  13688. applyid:
  13689. description: 申请单ID
  13690. type: integer
  13691. attachment1:
  13692. description: 附件1
  13693. type: string
  13694. attachment2:
  13695. description: 附件2
  13696. type: string
  13697. buyorsell:
  13698. description: 买卖 - 0:买 1:卖
  13699. type: integer
  13700. canbargain:
  13701. description: 是否可议价 - 0:不可 1:可
  13702. type: integer
  13703. cancelqty:
  13704. description: 撤销数量
  13705. type: integer
  13706. canceltime:
  13707. description: 撤销时间
  13708. type: string
  13709. cerno:
  13710. type: string
  13711. chargealgorithm:
  13712. description: 手续费收取方式 1:比率 2:固定
  13713. type: integer
  13714. chargealgorithmvalue:
  13715. description: 手续费设置值(交易所部分)
  13716. type: number
  13717. chargealgorithmvalue2:
  13718. description: 手续费设置值(会员部分)
  13719. type: number
  13720. clientordertime:
  13721. description: 客户端委托时间
  13722. type: string
  13723. cpcertno:
  13724. type: string
  13725. exchangerate:
  13726. description: 汇率[67]
  13727. type: number
  13728. firstratio:
  13729. description: 首付比率 - [挂牌时指定,摘牌时使用]
  13730. type: number
  13731. fixedprice:
  13732. description: '[克拉单价]固定价格 - [挂牌]'
  13733. type: number
  13734. freezecharge:
  13735. description: 冻结手续费
  13736. type: number
  13737. freezefirstamount:
  13738. description: 冻结首付金额 - [摘牌]
  13739. type: number
  13740. freezemargin:
  13741. description: 冻结保证金
  13742. type: number
  13743. goodsno:
  13744. description: 商品编号
  13745. type: string
  13746. imagepath:
  13747. type: string
  13748. isspecified:
  13749. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  13750. type: integer
  13751. kppath:
  13752. type: string
  13753. kpweight:
  13754. type: string
  13755. marginalgorithm:
  13756. description: 保证金方式 - 1:比率 2:固定
  13757. type: integer
  13758. marginvalue:
  13759. description: 保证金设置值
  13760. type: number
  13761. marketid:
  13762. description: 市场ID
  13763. type: integer
  13764. marketprice:
  13765. type: string
  13766. orderamount:
  13767. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  13768. type: number
  13769. ordertime:
  13770. description: 委托时间
  13771. type: string
  13772. performancetemplateid:
  13773. description: 履约计划模板ID
  13774. type: integer
  13775. price:
  13776. description: 价格
  13777. type: number
  13778. pricefactor:
  13779. description: 价格系数(浮动价时填写) - [挂牌]
  13780. type: number
  13781. pricemove:
  13782. description: 升贴水(浮动价时填写) - [挂牌]
  13783. type: number
  13784. priceper:
  13785. type: string
  13786. relatedwrtradeorderid:
  13787. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  13788. type: integer
  13789. remark:
  13790. type: string
  13791. retcode:
  13792. description: 错误代码
  13793. type: integer
  13794. selledqty:
  13795. description: 成交重量
  13796. type: number
  13797. settingmaterial:
  13798. type: string
  13799. size1:
  13800. type: string
  13801. size2:
  13802. type: string
  13803. size3:
  13804. type: string
  13805. sizedisplay:
  13806. description: 尺寸
  13807. type: string
  13808. stonedesc:
  13809. type: string
  13810. totalqty:
  13811. description: 总重量
  13812. type: number
  13813. tradedate:
  13814. description: 交易日(yyyyMMdd)
  13815. type: string
  13816. tradeprice:
  13817. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13818. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13819. type: number
  13820. unfreezecharge:
  13821. description: 解冻手续费
  13822. type: number
  13823. unfreezefirstamount:
  13824. description: 解冻首付金额 - [摘牌]
  13825. type: number
  13826. unfreezemargin:
  13827. description: 解冻保证金
  13828. type: number
  13829. userid:
  13830. description: 用户ID
  13831. type: integer
  13832. uuid:
  13833. description: 发起端唯一id
  13834. type: string
  13835. validtime:
  13836. description: 有效期限
  13837. type: string
  13838. validtype:
  13839. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  13840. type: integer
  13841. warehousenamedisplay:
  13842. type: string
  13843. wrbargainid:
  13844. description: 议价申请单ID
  13845. type: integer
  13846. wrfactortypeid:
  13847. description: 仓单要素类型ID/商品ID(77)
  13848. type: integer
  13849. wrpath:
  13850. type: string
  13851. wrpricetype:
  13852. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13853. type: integer
  13854. wrstandardid:
  13855. description: 现货商品ID
  13856. type: integer
  13857. wrtradeorderid:
  13858. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13859. type: string
  13860. wrtradeorderstatus:
  13861. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  13862. type: integer
  13863. wrtradetype:
  13864. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13865. type: integer
  13866. wrtransferuserid:
  13867. description: 仓单受让用户 - [摘牌]
  13868. type: integer
  13869. zscategory:
  13870. description: 钻石分类 - 枚举”ZSCategory“
  13871. type: integer
  13872. zscategorydisplay:
  13873. description: 钻石分类 - 描述
  13874. type: string
  13875. zscerttypedisplay:
  13876. type: string
  13877. zsclaritytype1display:
  13878. type: string
  13879. zsclaritytype2display:
  13880. type: string
  13881. zscolortype1display:
  13882. type: string
  13883. zscolortype2display:
  13884. type: string
  13885. zscrystaltype:
  13886. type: string
  13887. zscrystaltypedisplay:
  13888. type: string
  13889. zscurrencytype:
  13890. description: 货币类型 - 枚举“ZSCurrencyType”
  13891. type: integer
  13892. zscurrencytypedisplay:
  13893. type: string
  13894. zscurrencytypedisplayunit:
  13895. type: string
  13896. zscuttype1display:
  13897. type: string
  13898. zscuttype2display:
  13899. type: string
  13900. zsczcolor1typedisplay:
  13901. type: string
  13902. zsczcolor2typedisplay:
  13903. type: string
  13904. zsczcolor3typedisplay:
  13905. type: string
  13906. zsfluorescencetype1display:
  13907. type: string
  13908. zsfluorescencetype2display:
  13909. type: string
  13910. zspolishtype1display:
  13911. type: string
  13912. zspolishtype2display:
  13913. type: string
  13914. zsshapetypedisplay:
  13915. type: string
  13916. zsstyletypedisplay:
  13917. type: string
  13918. zssymmetrytype1display:
  13919. type: string
  13920. zssymmetrytype2display:
  13921. type: string
  13922. required:
  13923. - userid
  13924. type: object
  13925. models.MyUsedCoupon:
  13926. properties:
  13927. accountid:
  13928. description: 资金账户ID(买方)
  13929. type: integer
  13930. conditionvalue:
  13931. description: 条件阈值(可为0)
  13932. type: number
  13933. couponcategroy:
  13934. description: 种类 - 1:现金券 2:折扣券
  13935. type: integer
  13936. couponname:
  13937. description: 优惠券名称
  13938. type: string
  13939. coupontypeid:
  13940. description: 优惠券类型ID(买方)
  13941. type: string
  13942. couponvalue:
  13943. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  13944. type: number
  13945. createtime:
  13946. description: 创建时间
  13947. type: string
  13948. goodsid:
  13949. description: 商品ID
  13950. type: integer
  13951. handlestatus:
  13952. description: 处理状态
  13953. type: integer
  13954. marketid:
  13955. description: 市场ID
  13956. type: integer
  13957. offamount:
  13958. description: 优惠金额
  13959. type: number
  13960. orderid:
  13961. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13962. type: string
  13963. sellaccountid:
  13964. description: 资金账户ID(卖方)
  13965. type: integer
  13966. tradeamount:
  13967. description: 成交金额
  13968. type: number
  13969. tradeid:
  13970. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13971. type: string
  13972. usedqty:
  13973. description: 使用数量
  13974. type: integer
  13975. required:
  13976. - coupontypeid
  13977. - orderid
  13978. type: object
  13979. models.MyWRPosition:
  13980. properties:
  13981. cerno:
  13982. description: 证书编号 - 类型:2,4,5
  13983. type: string
  13984. cpcertno:
  13985. description: 金伯利证书编号 - 类型:3
  13986. type: string
  13987. ffreezeqty:
  13988. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  13989. type: number
  13990. ftotalqty:
  13991. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  13992. type: number
  13993. goodsno:
  13994. description: 商品编号
  13995. type: string
  13996. imagepath:
  13997. description: 商品照片(相对地址)
  13998. type: string
  13999. isvalid:
  14000. description: 是否有效 - 0:无效 1:有效
  14001. type: integer
  14002. kppath:
  14003. description: 金伯利证书图片(相对地址) - 类型:3
  14004. type: string
  14005. kpweight:
  14006. description: 金伯利证书重量 - 类型:3
  14007. type: string
  14008. ladingbillid:
  14009. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14010. type: string
  14011. marketflag:
  14012. description: 是否上架,0-全部 1-是 2-否
  14013. type: integer
  14014. marketprice:
  14015. description: 市场价
  14016. type: string
  14017. origin:
  14018. description: 原产地 - 类型:3
  14019. type: string
  14020. price:
  14021. description: 总价(价格) - 类型:1,2,3,4,5
  14022. type: number
  14023. priceper:
  14024. description: 克拉单价 - 类型:1,2,3,5
  14025. type: string
  14026. remark:
  14027. description: 备注
  14028. type: string
  14029. sellmobile:
  14030. description: 手机号码(加密存储)
  14031. type: string
  14032. sellusername:
  14033. description: 账户名称(机构名称)
  14034. type: string
  14035. settingmaterial:
  14036. description: 镶嵌材料 - 类型:4
  14037. type: string
  14038. size1:
  14039. description: 尺寸1 - 类型:2,4,5
  14040. type: string
  14041. size2:
  14042. description: 尺寸2 - 类型:2,4,5
  14043. type: string
  14044. size3:
  14045. description: 尺寸3 - 类型:2,4,5
  14046. type: string
  14047. sizedisplay:
  14048. description: 尺寸
  14049. type: string
  14050. stonedesc:
  14051. description: 配石描述 - 类型:4
  14052. type: string
  14053. subnum:
  14054. description: 提单子单号
  14055. type: integer
  14056. userid:
  14057. description: 用户ID
  14058. type: integer
  14059. warehouseid:
  14060. description: 仓库ID
  14061. type: integer
  14062. warehousenamedisplay:
  14063. type: string
  14064. weight:
  14065. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14066. type: number
  14067. weightavg:
  14068. description: 平均单颗重量 - 类型:1,3
  14069. type: number
  14070. wrpath:
  14071. description: 仓单扫描件(相对地址)
  14072. type: string
  14073. wrstandardid:
  14074. description: 现货商品ID
  14075. type: integer
  14076. wrtradeorderid:
  14077. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14078. type: string
  14079. wruserid:
  14080. description: 登录用户ID
  14081. type: integer
  14082. zscategory:
  14083. description: 钻石分类 - 枚举”ZSCategory“
  14084. type: integer
  14085. zscategorydisplay:
  14086. type: string
  14087. zscerttype:
  14088. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  14089. type: integer
  14090. zscerttypedisplay:
  14091. type: string
  14092. zsclaritytype1:
  14093. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  14094. type: integer
  14095. zsclaritytype1display:
  14096. type: string
  14097. zsclaritytype2:
  14098. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  14099. type: integer
  14100. zsclaritytype2display:
  14101. type: string
  14102. zscolortype1:
  14103. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  14104. type: integer
  14105. zscolortype1display:
  14106. type: string
  14107. zscolortype2:
  14108. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  14109. type: integer
  14110. zscolortype2display:
  14111. type: string
  14112. zscrystaltype:
  14113. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  14114. type: string
  14115. zscrystaltypedisplay:
  14116. type: string
  14117. zscurrencytype:
  14118. description: 货币类型 - 枚举“ZSCurrencyType”
  14119. type: integer
  14120. zscurrencytypedisplay:
  14121. type: string
  14122. zscurrencytypedisplayunit:
  14123. type: string
  14124. zscuttype1:
  14125. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  14126. type: integer
  14127. zscuttype1display:
  14128. type: string
  14129. zscuttype2:
  14130. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  14131. type: integer
  14132. zscuttype2display:
  14133. type: string
  14134. zsczcolor1type:
  14135. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  14136. type: integer
  14137. zsczcolor1typedisplay:
  14138. type: string
  14139. zsczcolor2type:
  14140. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  14141. type: integer
  14142. zsczcolor2typedisplay:
  14143. type: string
  14144. zsczcolor3type:
  14145. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  14146. type: integer
  14147. zsczcolor3typedisplay:
  14148. type: string
  14149. zsfluorescencetype1:
  14150. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  14151. type: integer
  14152. zsfluorescencetype1display:
  14153. type: string
  14154. zsfluorescencetype2:
  14155. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  14156. type: integer
  14157. zsfluorescencetype2display:
  14158. type: string
  14159. zspolishtype1:
  14160. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  14161. type: integer
  14162. zspolishtype1display:
  14163. type: string
  14164. zspolishtype2:
  14165. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  14166. type: integer
  14167. zspolishtype2display:
  14168. type: string
  14169. zsshapetype:
  14170. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  14171. type: string
  14172. zsshapetypedisplay:
  14173. type: string
  14174. zsstyletype:
  14175. description: 款式 - 类型:4
  14176. type: integer
  14177. zsstyletypedisplay:
  14178. type: string
  14179. zssymmetrytype1:
  14180. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  14181. type: integer
  14182. zssymmetrytype1display:
  14183. type: string
  14184. zssymmetrytype2:
  14185. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  14186. type: integer
  14187. zssymmetrytype2display:
  14188. type: string
  14189. required:
  14190. - wruserid
  14191. type: object
  14192. models.NewFuncmenulist:
  14193. properties:
  14194. authtype:
  14195. description: 权限类型 - 1:菜单 2:组件 3:按钮
  14196. type: integer
  14197. buttonname:
  14198. description: 按钮名称
  14199. type: string
  14200. buttontype:
  14201. description: 按钮类型 - 存按钮样式
  14202. type: string
  14203. component:
  14204. description: 组件名或组件地址
  14205. type: string
  14206. hidden:
  14207. description: 是否隐藏 - 0:显示 1:隐藏
  14208. type: integer
  14209. iconame:
  14210. description: 菜单图标
  14211. type: string
  14212. menutype:
  14213. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14214. type: integer
  14215. parentcode:
  14216. description: 上级资源代码
  14217. type: string
  14218. remark:
  14219. description: Remark
  14220. type: string
  14221. resourcecode:
  14222. description: 资源代码
  14223. type: string
  14224. resourcelevel:
  14225. description: 级别1-一级 2-二级 3-三级4-四级
  14226. type: integer
  14227. resourcename:
  14228. description: 资源名(Title)
  14229. type: string
  14230. sort:
  14231. description: 排序
  14232. type: integer
  14233. url:
  14234. description: Url
  14235. type: string
  14236. urltype:
  14237. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14238. type: integer
  14239. required:
  14240. - resourcecode
  14241. type: object
  14242. models.OperationPrimaryMenu:
  14243. properties:
  14244. Children:
  14245. description: 二级功能菜单
  14246. items:
  14247. $ref: '#/definitions/models.OperationSecondaryMenu'
  14248. type: array
  14249. Key:
  14250. description: 菜单KEY
  14251. type: string
  14252. Label:
  14253. description: 菜单标题
  14254. type: string
  14255. type: object
  14256. models.OperationSecondaryMenu:
  14257. properties:
  14258. Key:
  14259. description: 菜单KEY
  14260. type: string
  14261. Label:
  14262. description: 菜单标题
  14263. type: string
  14264. TabList:
  14265. description: 三级功能菜单
  14266. items:
  14267. $ref: '#/definitions/models.OperationTabMenu'
  14268. type: array
  14269. type: object
  14270. models.OperationTabMenu:
  14271. properties:
  14272. Key:
  14273. description: 菜单KEY
  14274. type: string
  14275. Label:
  14276. description: 菜单标题
  14277. type: string
  14278. type: object
  14279. models.Patradelinkdetail:
  14280. properties:
  14281. accountname:
  14282. description: 套期主体
  14283. type: string
  14284. agreeunit:
  14285. description: 合约乘数
  14286. type: number
  14287. amount:
  14288. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14289. type: number
  14290. areauserid:
  14291. description: 所属机构
  14292. type: integer
  14293. bizsubjectid:
  14294. description: 归属业务部门ID - SubjectID
  14295. type: integer
  14296. buyorsell:
  14297. description: 方向 - 0:买 1:卖
  14298. type: integer
  14299. convertratio:
  14300. description: 品种系数
  14301. type: number
  14302. convertratiochange:
  14303. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14304. type: number
  14305. createtime:
  14306. description: '[日期时间]创建时间'
  14307. type: string
  14308. creatorid:
  14309. description: 创建人ID
  14310. type: integer
  14311. creatorsrc:
  14312. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14313. type: integer
  14314. goodscode:
  14315. description: 商品代码(内部)
  14316. type: string
  14317. goodsgroupid:
  14318. description: 对冲品种ID[期货合约商品组ID]
  14319. type: integer
  14320. goodsid:
  14321. description: 商品ID
  14322. type: integer
  14323. hedgeditemid:
  14324. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14325. type: integer
  14326. hedgeflag:
  14327. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14328. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14329. type: integer
  14330. linkdetailid:
  14331. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14332. type: string
  14333. linkstatus:
  14334. description: 关联状态 - 1:成功 2:失败 3:解绑
  14335. type: integer
  14336. middlegoodsid:
  14337. description: 套保品种ID
  14338. type: integer
  14339. name:
  14340. description: 账户名/子账户
  14341. type: string
  14342. optioncode:
  14343. description: '[期货合约]期权代码 [期权]'
  14344. type: string
  14345. ordertype:
  14346. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14347. type: integer
  14348. relatedlot:
  14349. description: '[数量]关联手数'
  14350. type: number
  14351. relatedmode:
  14352. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14353. type: integer
  14354. relatedqty:
  14355. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14356. type: number
  14357. retcode:
  14358. description: 返回码
  14359. type: integer
  14360. saleuserid:
  14361. description: 业务员ID
  14362. type: integer
  14363. tradedate:
  14364. description: 关联交易日(yyyyMMdd)
  14365. type: string
  14366. tradeid:
  14367. description: '[成交单号]内部成交单ID'
  14368. type: string
  14369. tradelot:
  14370. description: 成交手数
  14371. type: integer
  14372. tradeprice:
  14373. description: '[价格]成交价格'
  14374. type: number
  14375. tradetradedate:
  14376. description: 成交交易日(yyyyMMdd)
  14377. type: string
  14378. type: object
  14379. models.PromotionIncome:
  14380. properties:
  14381. profitmonth:
  14382. description: 时间
  14383. type: string
  14384. profitstatus:
  14385. description: 状态 - 1:已支付 2:未支付 3:支取中
  14386. type: integer
  14387. sumamount:
  14388. description: 金额
  14389. type: number
  14390. type: object
  14391. models.PromotionIncomeDetail:
  14392. properties:
  14393. buyorsell:
  14394. description: 方向
  14395. type: string
  14396. market:
  14397. description: 市场
  14398. type: string
  14399. profitamount:
  14400. description: 金额
  14401. type: number
  14402. profitroletype:
  14403. description: 级别
  14404. type: string
  14405. tradetime:
  14406. description: 时间
  14407. type: string
  14408. wrstandardcode:
  14409. description: 现货商品代码
  14410. type: string
  14411. wrstandardid:
  14412. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14413. type: integer
  14414. wrstandardname:
  14415. description: 现货商品名称
  14416. type: string
  14417. type: object
  14418. models.PurchaseTransfer:
  14419. properties:
  14420. pictureurls:
  14421. description: 详情图片(逗号分隔)
  14422. type: string
  14423. refgoodsid:
  14424. description: 参考商品ID
  14425. type: integer
  14426. thumurls:
  14427. description: 缩略图片(1:1)(逗号分隔)
  14428. type: string
  14429. unitid:
  14430. description: 现货商品单位ID
  14431. type: integer
  14432. wrstandardcode:
  14433. description: 现货商品代码
  14434. type: string
  14435. wrstandardid:
  14436. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14437. type: integer
  14438. wrstandardname:
  14439. description: 现货商品名称(模糊查询)
  14440. type: string
  14441. type: object
  14442. models.QhjAccountOutInApply:
  14443. properties:
  14444. accountcode:
  14445. description: 资金账号
  14446. type: string
  14447. accountname:
  14448. description: 用户名称(名称)
  14449. type: string
  14450. accountpwd:
  14451. description: 资金密码
  14452. type: string
  14453. accountticket:
  14454. description: 最新账户服务流水号
  14455. type: string
  14456. amount:
  14457. description: 金额
  14458. type: number
  14459. applyremark:
  14460. description: 申请备注
  14461. type: string
  14462. applystatus:
  14463. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  14464. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  14465. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  14466. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  14467. type: integer
  14468. auditid:
  14469. description: 审核人
  14470. type: integer
  14471. audittime:
  14472. description: 审核时间
  14473. type: string
  14474. bank_apply_ticket:
  14475. description: 银行申请流水
  14476. type: string
  14477. bankaccountname:
  14478. description: 银行账户名
  14479. type: string
  14480. bankaccountno:
  14481. description: 银行卡号
  14482. type: string
  14483. bankid:
  14484. description: 银行编号
  14485. type: string
  14486. bankticket:
  14487. description: 银行流水
  14488. type: string
  14489. branchbankid:
  14490. description: 银行支行号
  14491. type: string
  14492. branchbankname:
  14493. description: 银行支行名称
  14494. type: string
  14495. capamountout:
  14496. description: 出金(劣后本金) - 外部子账户
  14497. type: number
  14498. certificatephotourl:
  14499. description: 凭证地址
  14500. type: string
  14501. charge:
  14502. description: 手续费
  14503. type: number
  14504. checkerrorflag:
  14505. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  14506. type: integer
  14507. currency:
  14508. description: 币种
  14509. type: string
  14510. cusbankid:
  14511. description: 托管银行编号
  14512. type: string
  14513. cusbankname:
  14514. description: 托管银行名称
  14515. type: string
  14516. cusbankshortname:
  14517. description: 托管银行简称
  14518. type: string
  14519. exchticket:
  14520. description: 银行服务流水号
  14521. type: string
  14522. executetype:
  14523. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  14524. 7:外部子账户:入金 8:外部子账户:出金'
  14525. type: integer
  14526. extendinfo:
  14527. description: 扩展信息
  14528. type: string
  14529. extoperateid:
  14530. description: 交易服务流水号
  14531. type: integer
  14532. infamount:
  14533. description: 劣后金额(自有)
  14534. type: number
  14535. logincode:
  14536. description: 登录账号(账号)
  14537. type: string
  14538. netaddr:
  14539. description: 调转网址
  14540. type: string
  14541. priamount:
  14542. description: 优先金额(授信)
  14543. type: number
  14544. reauditid:
  14545. description: 复审人
  14546. type: integer
  14547. reauditremark:
  14548. description: 复审备注
  14549. type: string
  14550. reaudittime:
  14551. description: 复审时间
  14552. type: string
  14553. relatedorderid:
  14554. description: 三方关联ID
  14555. type: string
  14556. remark:
  14557. description: 备注
  14558. type: string
  14559. remark2:
  14560. description: 备注(失败原因)
  14561. type: string
  14562. soucreamount:
  14563. description: 原始出入金金额
  14564. type: number
  14565. soucrecurrencyid:
  14566. description: 原始出入金币种
  14567. type: integer
  14568. tradedate:
  14569. description: 交易日(yyyyMMdd)
  14570. type: string
  14571. updatetime:
  14572. description: 更新时间(申请时间)
  14573. type: string
  14574. userid:
  14575. description: 用户id
  14576. type: integer
  14577. userinfotype:
  14578. description: 账户类型 1-个人 2-企业
  14579. type: integer
  14580. type: object
  14581. models.QhjAgreementChangeLog:
  14582. properties:
  14583. agreementcontent:
  14584. description: 协议内容
  14585. type: string
  14586. agreementfrequency:
  14587. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14588. type: integer
  14589. agreementid:
  14590. description: 协议ID
  14591. type: integer
  14592. agreementname:
  14593. description: 协议名称
  14594. type: string
  14595. agreementno:
  14596. description: 协议编号
  14597. type: string
  14598. agreementtype:
  14599. description: 协议类型 - 1:注册 2:登录 3:交易
  14600. type: integer
  14601. agreementversion:
  14602. description: 协议版本号
  14603. type: integer
  14604. logid:
  14605. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  14606. type: integer
  14607. reviserid:
  14608. description: 修改人
  14609. type: integer
  14610. revisersrc:
  14611. description: 修改来源 - 1:管理端 2:终端
  14612. type: integer
  14613. updatetime:
  14614. description: 更新时间
  14615. type: string
  14616. type: object
  14617. models.QhjAgreementConfig:
  14618. properties:
  14619. agreementcontent:
  14620. description: 协议内容
  14621. type: string
  14622. agreementfrequency:
  14623. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14624. type: integer
  14625. agreementid:
  14626. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  14627. type: integer
  14628. agreementname:
  14629. description: 协议名称
  14630. type: string
  14631. agreementno:
  14632. description: 协议编号
  14633. type: string
  14634. agreementtype:
  14635. description: 协议类型 - 1:注册 2:登录 3:交易
  14636. type: integer
  14637. agreementversion:
  14638. description: 协议版本号(从1开始每次修改加1)
  14639. type: integer
  14640. createtime:
  14641. description: 创建时间
  14642. type: string
  14643. creatorid:
  14644. description: 创建人
  14645. type: integer
  14646. creatorsrc:
  14647. description: 创建来源 - 1:管理端 2:终端
  14648. type: integer
  14649. isvalid:
  14650. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  14651. type: integer
  14652. reviserid:
  14653. description: 修改人
  14654. type: integer
  14655. revisersrc:
  14656. description: 修改来源 - 1:管理端 2:终端
  14657. type: integer
  14658. updatetime:
  14659. description: 更新时间
  14660. type: string
  14661. type: object
  14662. models.QhjAreaFinanceConfig:
  14663. properties:
  14664. additionalratio:
  14665. description: 追加款比例
  14666. type: number
  14667. advanceratio:
  14668. description: 预付款比例
  14669. type: number
  14670. alarmratio:
  14671. description: 告警比例
  14672. type: number
  14673. consumptiondirectreward:
  14674. description: 消费直推奖励值
  14675. type: number
  14676. consumptionenabled:
  14677. description: 是否启用消费奖励 - 0:不启用 1:启用
  14678. type: integer
  14679. consumptionindirectreward:
  14680. description: 消费间推奖励值
  14681. type: number
  14682. consumptionmodel:
  14683. description: 消费奖励方式 - 1:比率 2:固定
  14684. type: integer
  14685. customerservicenum:
  14686. description: 客服电话
  14687. type: string
  14688. dayinterestrate:
  14689. description: 日利率
  14690. type: number
  14691. disableconsumptiontips:
  14692. description: 关闭消费奖励提示
  14693. type: string
  14694. modifierid:
  14695. description: 修改人ID
  14696. type: integer
  14697. modifysrc:
  14698. description: 审核来源 - 1:管理端 2:终端
  14699. type: integer
  14700. modifytime:
  14701. description: 修改时间
  14702. type: string
  14703. promotionvalue:
  14704. description: 推广奖励值(固定)
  14705. type: number
  14706. scoreconfigvalue1:
  14707. description: 提货积分配置1
  14708. type: integer
  14709. scoreconfigvalue2:
  14710. description: 提货积分配置2
  14711. type: integer
  14712. userid:
  14713. description: 机构用户ID其他做市关系,都设置为 1
  14714. type: integer
  14715. username:
  14716. description: 用户名称
  14717. type: string
  14718. type: object
  14719. models.QhjBankAccountSign:
  14720. properties:
  14721. accountcode:
  14722. description: 资金账号
  14723. type: string
  14724. accountname:
  14725. description: 资金账号对应的账号名(UserName)
  14726. type: string
  14727. accountname2:
  14728. description: 资金账号对应的账号名(UserName) - 密文
  14729. type: string
  14730. accounttype:
  14731. description: 账户类型(UserType)
  14732. type: integer
  14733. applicationtime:
  14734. description: 最后一次更新的时间
  14735. type: string
  14736. applyexchticket:
  14737. description: 申请流水
  14738. type: string
  14739. auditid:
  14740. description: 审核人
  14741. type: integer
  14742. audittime:
  14743. description: 审核时间
  14744. type: string
  14745. bankaccountname:
  14746. description: 签约银行卡账号名
  14747. type: string
  14748. bankaccountname2:
  14749. description: 签约银行卡账号名 - 密文
  14750. type: string
  14751. bankaccountno:
  14752. description: 银行卡号
  14753. type: string
  14754. bankaccountno2:
  14755. description: 银行卡号 - 密文
  14756. type: string
  14757. bankaccounttype:
  14758. description: 银行账户类型 - 1-对私; 2-对公
  14759. type: integer
  14760. bankcardtype:
  14761. description: 银行卡类型
  14762. type: integer
  14763. bankchildaccount:
  14764. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  14765. type: string
  14766. bankcity:
  14767. description: 开户行城市
  14768. type: string
  14769. bankid:
  14770. description: 签约银行ID
  14771. type: string
  14772. bankname:
  14773. description: 签约银行名称
  14774. type: string
  14775. bankprovince:
  14776. description: 开户行省份
  14777. type: string
  14778. branchbankid:
  14779. description: 签约银行支行号
  14780. type: string
  14781. branchbankname:
  14782. description: 签约银行支行名称
  14783. type: string
  14784. cardno:
  14785. description: 证件号码
  14786. type: string
  14787. cardno2:
  14788. description: 证件号码 - 密文
  14789. type: string
  14790. cardtype:
  14791. description: 证件类型
  14792. type: string
  14793. currency:
  14794. description: 币种
  14795. type: string
  14796. cusbankid:
  14797. description: 托管银行编号
  14798. type: string
  14799. cusbankname:
  14800. description: 托管银行名称
  14801. type: string
  14802. direct:
  14803. description: 方向(可以判断那方先发起的签约)
  14804. type: integer
  14805. exchticket:
  14806. description: 最后一次签约成功的流水号
  14807. type: string
  14808. extendinfo:
  14809. description: 扩展信息(JSON字符串)
  14810. type: string
  14811. mobilephone:
  14812. description: 手机号
  14813. type: string
  14814. mobilephone2:
  14815. description: 手机号 - 密文
  14816. type: string
  14817. netaddr:
  14818. description: 调转网址
  14819. type: string
  14820. relateduserid:
  14821. description: 关联使用者userid
  14822. type: integer
  14823. signstatus:
  14824. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14825. 10:审核拒绝 11:换签待审核
  14826. type: integer
  14827. updatetime:
  14828. description: 更新时间(签解约更新时间)
  14829. type: string
  14830. type: object
  14831. models.QhjBankInfo:
  14832. properties:
  14833. bankid:
  14834. description: 银行ID
  14835. type: string
  14836. bankname:
  14837. description: 银行名称
  14838. type: string
  14839. clearbankno:
  14840. description: 清算系统银行编号
  14841. type: string
  14842. orderindex:
  14843. description: 排序顺序
  14844. type: integer
  14845. status:
  14846. description: 状态 - 0:正常 1:注销
  14847. type: integer
  14848. type: object
  14849. models.QhjBrokerApply:
  14850. properties:
  14851. applicantid:
  14852. description: 申请人
  14853. type: integer
  14854. applysrc:
  14855. description: 申请来源 - 1:管理端 2:终端
  14856. type: integer
  14857. applystatus:
  14858. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14859. type: integer
  14860. applytime:
  14861. description: 申请时间
  14862. type: string
  14863. auditorid:
  14864. description: 审核人
  14865. type: integer
  14866. auditremark:
  14867. description: 审核备注
  14868. type: string
  14869. auditsrc:
  14870. description: 审核来源 - 1:管理端 2:终端
  14871. type: integer
  14872. audittime:
  14873. description: 审核时间
  14874. type: string
  14875. audittradedate:
  14876. description: 审核交易日(yyyyMMdd)
  14877. type: string
  14878. brokerapplyid:
  14879. description: 申请ID(SEQ_BROKERAPPLY)
  14880. type: integer
  14881. cardbackphotourl:
  14882. description: 证件背面图片地址
  14883. type: string
  14884. cardfrontphotourl:
  14885. description: 证件正面图片地址
  14886. type: string
  14887. cardnum:
  14888. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14889. type: string
  14890. customername:
  14891. description: 姓名
  14892. type: string
  14893. logincode:
  14894. description: 登录代码
  14895. type: string
  14896. mobile:
  14897. description: 手机号码
  14898. type: string
  14899. parentuserid:
  14900. description: 所属机构id
  14901. type: integer
  14902. parentusername:
  14903. description: 所属机构名称
  14904. type: string
  14905. refereeuserid:
  14906. description: 推荐人id(经纪人)
  14907. type: integer
  14908. refernum:
  14909. description: 推荐码
  14910. type: string
  14911. remark:
  14912. description: 备注
  14913. type: string
  14914. subarealevelpath:
  14915. description: 层级路径
  14916. type: string
  14917. tradedate:
  14918. description: 交易日(yyyyMMdd)
  14919. type: string
  14920. userid:
  14921. description: 申请人用户ID
  14922. type: integer
  14923. userinfotype:
  14924. description: 用户类型 1-个人 2-企业
  14925. type: integer
  14926. username:
  14927. description: 用户名称
  14928. type: string
  14929. type: object
  14930. models.QhjBrokerApplyEx:
  14931. properties:
  14932. applylist:
  14933. description: 经纪人申请记录(只返回最新一条)
  14934. items:
  14935. $ref: '#/definitions/models.QhjBrokerApply'
  14936. type: array
  14937. canrecommend:
  14938. description: 是否经纪人 0-不是 1-是
  14939. type: integer
  14940. refernum:
  14941. description: 推荐码
  14942. type: string
  14943. userid:
  14944. description: 用户id
  14945. type: integer
  14946. userinfotype:
  14947. description: 用户类型 1-个人 2-企业
  14948. type: integer
  14949. type: object
  14950. models.QhjBrokerRewardLog:
  14951. properties:
  14952. accountid:
  14953. description: 资金账号ID
  14954. type: integer
  14955. createtime:
  14956. description: 创建时间(时间)
  14957. type: string
  14958. handlestatus:
  14959. description: 处理状态
  14960. type: integer
  14961. logid:
  14962. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14963. type: string
  14964. marketid:
  14965. description: 市场ID
  14966. type: integer
  14967. mmaccountid:
  14968. description: 做市商资金账号ID
  14969. type: string
  14970. mmuserid:
  14971. description: 做市商用户ID
  14972. type: string
  14973. rewardamount:
  14974. description: 奖励金额
  14975. type: number
  14976. rewardmodel:
  14977. description: 消费奖励方式 - 1:比率 2:固定
  14978. type: integer
  14979. rewardtype:
  14980. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14981. type: integer
  14982. rewardvalue:
  14983. description: 配置奖励值
  14984. type: number
  14985. srcamount:
  14986. description: 成交金额 [消费奖励] (金额)
  14987. type: number
  14988. srcgoodsid:
  14989. description: 来源商品ID [消费奖励]
  14990. type: string
  14991. srctime:
  14992. description: 来源时间 (成交时间) [消费奖励]
  14993. type: string
  14994. srctradeid:
  14995. description: 来源成交单ID [消费奖励] - 排除提货成交
  14996. type: string
  14997. srcuserid:
  14998. description: 来源用户ID(推广账户)
  14999. type: string
  15000. srcusername:
  15001. description: 推广账户名称
  15002. type: string
  15003. tradedate:
  15004. description: 交易日(yyyyMMdd)
  15005. type: string
  15006. userid:
  15007. description: 经纪人用户ID
  15008. type: integer
  15009. type: object
  15010. models.QhjContract:
  15011. properties:
  15012. contractconfirmtime:
  15013. description: 合同确认时间(时间)
  15014. type: string
  15015. currisklevel:
  15016. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15017. type: integer
  15018. decimalplace:
  15019. description: 商品报价小数位
  15020. type: integer
  15021. enumdicname:
  15022. description: 单位名称
  15023. type: string
  15024. goodscode:
  15025. description: 商品代码
  15026. type: string
  15027. goodsid:
  15028. description: 商品ID [5:融资单]
  15029. type: integer
  15030. goodsname:
  15031. description: 商品名称
  15032. type: string
  15033. goodunitid:
  15034. description: 商品单位id
  15035. type: integer
  15036. initmargin:
  15037. description: 初始保证金(首付款)
  15038. type: number
  15039. lenderamount:
  15040. description: 贷款金额(总额|订单总额)
  15041. type: number
  15042. marginratio:
  15043. description: 保证金比率(首付比例)
  15044. type: number
  15045. payamount:
  15046. description: 已付(已付货款)
  15047. type: number
  15048. reckonrecovermargin:
  15049. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15050. type: number
  15051. recoveredmargin:
  15052. description: 已追缴保证金
  15053. type: number
  15054. remainamount:
  15055. description: 合同剩余金额(融资额)
  15056. type: number
  15057. scfcontractid:
  15058. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15059. type: string
  15060. scfcontractstatus:
  15061. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15062. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15063. type: integer
  15064. scfcontracttype:
  15065. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15066. type: integer
  15067. totalinterest:
  15068. description: 已计总利息(利息)
  15069. type: number
  15070. tradeprice:
  15071. description: 成交价格(成本价格)
  15072. type: number
  15073. userid:
  15074. description: 用户ID
  15075. type: integer
  15076. username:
  15077. description: 用户名称
  15078. type: string
  15079. wrqty:
  15080. description: 仓单数量(数量)
  15081. type: number
  15082. type: object
  15083. models.QhjContractLog:
  15084. properties:
  15085. amount:
  15086. description: 支付金额
  15087. type: number
  15088. amounttype:
  15089. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  15090. type: integer
  15091. logid:
  15092. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15093. type: string
  15094. remainamount:
  15095. description: 剩余货款
  15096. type: number
  15097. scfcontractid:
  15098. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15099. type: integer
  15100. updatetime:
  15101. description: 更新时间
  15102. type: string
  15103. type: object
  15104. models.QhjCusBankSignBankEx:
  15105. properties:
  15106. banklst:
  15107. description: 银行列表
  15108. items:
  15109. $ref: '#/definitions/models.QhjBankInfo'
  15110. type: array
  15111. canallot:
  15112. description: 是否支持跨行调拨 - 0:不支持 1:支持
  15113. type: integer
  15114. canallotquery:
  15115. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  15116. type: integer
  15117. canbindcard:
  15118. description: 是否可绑卡与解卡 - 0:不可 1:可以
  15119. type: integer
  15120. caninamount:
  15121. description: 是否可入金 - 0:不可 1:可以
  15122. type: integer
  15123. caninamount2:
  15124. description: 是否可入金(网银端) - 0:不可 1:可以
  15125. type: integer
  15126. canmodifybankcard:
  15127. description: 是否可修改银行卡号 - 0:不可 1:可以
  15128. type: integer
  15129. canmodifyphone:
  15130. description: 是否可修改手机号 - 0:不可 1:可以
  15131. type: integer
  15132. canmodifysigninfo:
  15133. description: 是否可修改签约信息 - 0:不可 1:可以
  15134. type: integer
  15135. canoutamount:
  15136. description: 是否可出金 - 0:不可 1:可以
  15137. type: integer
  15138. canoutamount2:
  15139. description: 是否可出金(网银端) - 0:不可 1:可以
  15140. type: integer
  15141. canrelease:
  15142. description: 是否可解约 - 0:不可 1:可以
  15143. type: integer
  15144. canrelease2:
  15145. description: 是否可解约(网银端) - 0:不可 1:可以
  15146. type: integer
  15147. cansign:
  15148. description: 是否可签约 - 0:不可 1:可以
  15149. type: integer
  15150. cansign2:
  15151. description: 是否可签约(网银端) - 0:不可 1:可以
  15152. type: integer
  15153. currency:
  15154. description: 币种
  15155. type: string
  15156. cusbankid:
  15157. description: 托管银行编号(对应清算中心TRAN_NO)
  15158. type: string
  15159. cusbankname:
  15160. description: 银行业务名称
  15161. type: string
  15162. cusbankshortname:
  15163. description: 银行业务简称
  15164. type: string
  15165. exchbankid:
  15166. description: 交易所开户银行ID
  15167. type: string
  15168. exchpaybankaccname:
  15169. description: 交易所支出结算账户户名
  15170. type: string
  15171. exchpaybankaccno:
  15172. description: 交易所支出结算账户
  15173. type: string
  15174. isneedcheck:
  15175. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15176. type: integer
  15177. isneedclear:
  15178. description: 是否需要清算 - 0:不需要 1:需要
  15179. type: integer
  15180. lastcheckstatus:
  15181. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15182. type: integer
  15183. lastchecktime:
  15184. description: 最后对账时间
  15185. type: string
  15186. lastclearstatus:
  15187. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15188. type: integer
  15189. lastcleartime:
  15190. description: 最后清算时间
  15191. type: string
  15192. lastsignintime:
  15193. description: 最后签到时间
  15194. type: string
  15195. lastsignouttime:
  15196. description: 最后签退时间
  15197. type: string
  15198. riskinfo:
  15199. description: 签约风险提示书
  15200. type: string
  15201. signstatus:
  15202. description: 当前签到/签退状态 - 1:签到 2:签退
  15203. type: integer
  15204. tradedate:
  15205. description: 交易日(yyyyMMdd)
  15206. type: string
  15207. updatetime:
  15208. description: 当前签到/签退更新时间
  15209. type: string
  15210. type: object
  15211. models.QhjCustomer:
  15212. properties:
  15213. address:
  15214. description: 通讯地址
  15215. type: string
  15216. attachment1:
  15217. description: 附件1
  15218. type: string
  15219. attachment2:
  15220. description: 附件2
  15221. type: string
  15222. audittime:
  15223. description: 审核时间
  15224. type: string
  15225. cardbackphotourl:
  15226. description: 证件反面图片地址
  15227. type: string
  15228. cardfrontphotourl:
  15229. description: 证件正面图片地址
  15230. type: string
  15231. cardnum:
  15232. description: 证件号码
  15233. type: string
  15234. cardtype:
  15235. description: 证件类型
  15236. type: integer
  15237. cardtypename:
  15238. description: 证件类型名称
  15239. type: string
  15240. cityid:
  15241. description: 市
  15242. type: integer
  15243. cityname:
  15244. description: 城市名称
  15245. type: string
  15246. contactname:
  15247. description: 联系人
  15248. type: string
  15249. countryid:
  15250. description: 国家
  15251. type: integer
  15252. countryname:
  15253. description: 国家名称
  15254. type: string
  15255. createtime:
  15256. description: 创建时间
  15257. type: string
  15258. customername:
  15259. description: 客户名称
  15260. type: string
  15261. districtid:
  15262. description: 区域
  15263. type: integer
  15264. districtname:
  15265. description: 地区名称
  15266. type: string
  15267. email:
  15268. description: 邮件
  15269. type: string
  15270. legalpersonname:
  15271. description: 法人姓名(企业)
  15272. type: string
  15273. logincode:
  15274. description: 登录账号(代码)
  15275. type: string
  15276. memberuserid:
  15277. description: 所属机构ID(所属会员)
  15278. type: integer
  15279. memberusername:
  15280. description: 所属会员名称
  15281. type: string
  15282. mobile:
  15283. description: 手机号码
  15284. type: string
  15285. modifytime:
  15286. description: 修改时间
  15287. type: string
  15288. nickname:
  15289. description: 昵称
  15290. type: string
  15291. parentuserid:
  15292. description: 上级机构(所属机构)
  15293. type: integer
  15294. parentusername:
  15295. description: 所属机构名称
  15296. type: string
  15297. provinceid:
  15298. description: 省
  15299. type: integer
  15300. provincename:
  15301. description: 省名称
  15302. type: string
  15303. proxystatementurl:
  15304. description: 授权委托书
  15305. type: string
  15306. remark:
  15307. description: 备注
  15308. type: string
  15309. status:
  15310. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15311. type: integer
  15312. statusdesc:
  15313. description: 账户状态中文描述
  15314. type: string
  15315. taxpayernum:
  15316. description: 纳税人识别号
  15317. type: string
  15318. telphone:
  15319. description: 联系电话
  15320. type: string
  15321. userid:
  15322. description: 用户ID
  15323. type: integer
  15324. userinfotype:
  15325. description: 客户类型 1-个人 2-企业
  15326. type: integer
  15327. username:
  15328. description: 用户名称
  15329. type: string
  15330. type: object
  15331. models.QhjCustomerSignLog:
  15332. properties:
  15333. agreementcontent:
  15334. description: 协议内容
  15335. type: string
  15336. agreementid:
  15337. description: 协议ID
  15338. type: integer
  15339. agreementname:
  15340. description: 协议名称
  15341. type: string
  15342. agreementno:
  15343. description: 协议编号
  15344. type: string
  15345. agreementtype:
  15346. description: 协议类型 - 1:注册 2:登录 3:交易
  15347. type: integer
  15348. agreementversion:
  15349. description: 协议版本号
  15350. type: integer
  15351. createtime:
  15352. description: 创建时间
  15353. type: string
  15354. goodscode:
  15355. description: 商品代码
  15356. type: string
  15357. goodsid:
  15358. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15359. type: integer
  15360. goodsname:
  15361. description: 商品名称
  15362. type: string
  15363. logid:
  15364. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15365. type: integer
  15366. nodetype:
  15367. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15368. type: integer
  15369. signadressurl:
  15370. description: 签约文件地址
  15371. type: string
  15372. signtimestamp:
  15373. description: 签约状态时间戳
  15374. type: string
  15375. userid:
  15376. description: 客户ID
  15377. type: integer
  15378. username:
  15379. description: 客户名称
  15380. type: string
  15381. type: object
  15382. models.QhjCustomerSignStatus:
  15383. properties:
  15384. createtime:
  15385. description: 创建时间
  15386. type: string
  15387. goodscode:
  15388. description: 商品代码
  15389. type: string
  15390. goodsid:
  15391. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15392. type: integer
  15393. goodsname:
  15394. description: 商品名称
  15395. type: string
  15396. nodetype:
  15397. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15398. type: integer
  15399. signtimestamp:
  15400. description: 签约状态时间戳
  15401. type: string
  15402. tradedate:
  15403. description: 创建交易日(yyyyMMdd)
  15404. type: string
  15405. updatetime:
  15406. description: 更新时间
  15407. type: string
  15408. userid:
  15409. description: 客户ID
  15410. type: integer
  15411. username:
  15412. description: 客户名称
  15413. type: string
  15414. type: object
  15415. models.QhjMgrAccountOutInApply:
  15416. properties:
  15417. accountcode:
  15418. description: 资金账号
  15419. type: string
  15420. accountname:
  15421. description: 用户名称(名称)
  15422. type: string
  15423. accountpwd:
  15424. description: 资金密码
  15425. type: string
  15426. accountticket:
  15427. description: 最新账户服务流水号
  15428. type: string
  15429. amount:
  15430. description: 金额
  15431. type: number
  15432. applyremark:
  15433. description: 申请备注
  15434. type: string
  15435. applystatus:
  15436. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15437. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15438. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15439. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15440. type: integer
  15441. auditid:
  15442. description: 审核人
  15443. type: integer
  15444. audittime:
  15445. description: 审核时间
  15446. type: string
  15447. bank_apply_ticket:
  15448. description: 银行申请流水
  15449. type: string
  15450. bankaccountname:
  15451. description: 银行账户名
  15452. type: string
  15453. bankaccountno:
  15454. description: 银行卡号
  15455. type: string
  15456. bankid:
  15457. description: 银行编号
  15458. type: string
  15459. bankname:
  15460. description: 银行名称
  15461. type: string
  15462. bankticket:
  15463. description: 银行流水
  15464. type: string
  15465. branchbankid:
  15466. description: 银行支行号
  15467. type: string
  15468. branchbankname:
  15469. description: 银行支行名称
  15470. type: string
  15471. capamountout:
  15472. description: 出金(劣后本金) - 外部子账户
  15473. type: number
  15474. certificatephotourl:
  15475. description: 凭证地址
  15476. type: string
  15477. charge:
  15478. description: 手续费
  15479. type: number
  15480. checkerrorflag:
  15481. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15482. type: integer
  15483. currency:
  15484. description: 币种
  15485. type: string
  15486. cusbankid:
  15487. description: 托管银行编号
  15488. type: string
  15489. exchticket:
  15490. description: 银行服务流水号
  15491. type: string
  15492. executetype:
  15493. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15494. 7:外部子账户:入金 8:外部子账户:出金'
  15495. type: integer
  15496. extendinfo:
  15497. description: 扩展信息
  15498. type: string
  15499. extoperateid:
  15500. description: 交易服务流水号
  15501. type: integer
  15502. infamount:
  15503. description: 劣后金额(自有)
  15504. type: number
  15505. logincode:
  15506. description: 登录账号(账号)
  15507. type: string
  15508. netaddr:
  15509. description: 调转网址
  15510. type: string
  15511. priamount:
  15512. description: 优先金额(授信)
  15513. type: number
  15514. reauditid:
  15515. description: 复审人
  15516. type: integer
  15517. reauditremark:
  15518. description: 复审备注
  15519. type: string
  15520. reaudittime:
  15521. description: 复审时间
  15522. type: string
  15523. relatedorderid:
  15524. description: 三方关联ID
  15525. type: string
  15526. remark:
  15527. description: 备注
  15528. type: string
  15529. remark2:
  15530. description: 备注(失败原因)
  15531. type: string
  15532. soucreamount:
  15533. description: 原始出入金金额
  15534. type: number
  15535. soucrecurrencyid:
  15536. description: 原始出入金币种
  15537. type: integer
  15538. tradedate:
  15539. description: 交易日(yyyyMMdd)
  15540. type: string
  15541. updatetime:
  15542. description: 更新时间(申请时间)
  15543. type: string
  15544. userid:
  15545. description: 用户id
  15546. type: integer
  15547. userinfotype:
  15548. description: 账户类型 1-个人 2-企业
  15549. type: integer
  15550. type: object
  15551. models.QhjMgrBrokerApply:
  15552. properties:
  15553. applicantid:
  15554. description: 申请人
  15555. type: integer
  15556. applysrc:
  15557. description: 申请来源 - 1:管理端 2:终端
  15558. type: integer
  15559. applystatus:
  15560. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15561. type: integer
  15562. applytime:
  15563. description: 申请时间
  15564. type: string
  15565. auditorid:
  15566. description: 审核人
  15567. type: integer
  15568. auditremark:
  15569. description: 审核备注
  15570. type: string
  15571. auditsrc:
  15572. description: 审核来源 - 1:管理端 2:终端
  15573. type: integer
  15574. audittime:
  15575. description: 审核时间
  15576. type: string
  15577. audittradedate:
  15578. description: 审核交易日(yyyyMMdd)
  15579. type: string
  15580. brokerapplyid:
  15581. description: 申请ID(SEQ_BROKERAPPLY)
  15582. type: integer
  15583. cardbackphotourl:
  15584. description: 证件背面图片地址
  15585. type: string
  15586. cardfrontphotourl:
  15587. description: 证件正面图片地址
  15588. type: string
  15589. cardnum:
  15590. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15591. type: string
  15592. customername:
  15593. description: 姓名
  15594. type: string
  15595. filterstatus:
  15596. description: 筛选条件
  15597. type: string
  15598. logincode:
  15599. description: 登录代码
  15600. type: string
  15601. mobile:
  15602. description: 手机号码
  15603. type: string
  15604. parentuserid:
  15605. description: 所属机构id
  15606. type: integer
  15607. parentusername:
  15608. description: 所属机构名称
  15609. type: string
  15610. refereeuserid:
  15611. description: 推荐人id(经纪人)
  15612. type: integer
  15613. refernum:
  15614. description: 推荐码
  15615. type: string
  15616. remark:
  15617. description: 备注
  15618. type: string
  15619. subarealevelpath:
  15620. description: 层级路径
  15621. type: string
  15622. tradedate:
  15623. description: 交易日(yyyyMMdd)
  15624. type: string
  15625. userid:
  15626. description: 申请人用户ID
  15627. type: integer
  15628. userinfotype:
  15629. description: 用户类型 1-个人 2-企业
  15630. type: integer
  15631. username:
  15632. description: 用户名称
  15633. type: string
  15634. type: object
  15635. models.QhjMgrBrokerRewardReport:
  15636. properties:
  15637. createtime:
  15638. description: 创建时间(注册时间)
  15639. type: string
  15640. cycletime:
  15641. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15642. type: string
  15643. cycletype:
  15644. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15645. type: integer
  15646. directtotalnum:
  15647. description: 直推总人数【期末】
  15648. type: integer
  15649. indirecttotalnum:
  15650. description: 间推总人数【期末】
  15651. type: integer
  15652. mobile:
  15653. description: 电话号码
  15654. type: string
  15655. refereeuserid:
  15656. description: 推荐人id(经纪人id)
  15657. type: integer
  15658. refereeusername:
  15659. description: 推荐人名称(经纪人) 上级经纪人名称
  15660. type: string
  15661. refernum:
  15662. description: 推荐码
  15663. type: string
  15664. subarealevelpath:
  15665. description: 用户层级路径
  15666. type: string
  15667. todayrewardamount:
  15668. description: 奖励总金额【汇总】
  15669. type: number
  15670. updatetime:
  15671. description: 更新时间
  15672. type: string
  15673. userid:
  15674. description: 经纪人用户ID
  15675. type: integer
  15676. userinfotype:
  15677. description: 用户类型 1-个人 2-企业
  15678. type: integer
  15679. username:
  15680. description: 用户名称
  15681. type: string
  15682. type: object
  15683. models.QhjMgrContract:
  15684. properties:
  15685. contractconfirmtime:
  15686. description: 合同确认时间(时间)
  15687. type: string
  15688. currisklevel:
  15689. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15690. type: integer
  15691. decimalplace:
  15692. description: 商品报价小数位
  15693. type: integer
  15694. enumdicname:
  15695. description: 单位名称
  15696. type: string
  15697. goodscode:
  15698. description: 商品代码
  15699. type: string
  15700. goodsid:
  15701. description: 商品ID [5:融资单]
  15702. type: integer
  15703. goodsname:
  15704. description: 商品名称
  15705. type: string
  15706. goodunitid:
  15707. description: 商品单位id
  15708. type: integer
  15709. initmargin:
  15710. description: 初始保证金(首付款)
  15711. type: number
  15712. lenderamount:
  15713. description: 贷款金额(总额|订单总额)
  15714. type: number
  15715. logincode:
  15716. description: 账号(登录代码)
  15717. type: string
  15718. marginratio:
  15719. description: 保证金比率(首付比例)
  15720. type: number
  15721. mobile:
  15722. description: 电话号码(用户资料里的电话)
  15723. type: string
  15724. payamount:
  15725. description: 已付(已付货款)
  15726. type: number
  15727. reckonrecovermargin:
  15728. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15729. type: number
  15730. recoveredmargin:
  15731. description: 已追缴保证金
  15732. type: number
  15733. remainamount:
  15734. description: 合同剩余金额(融资额)
  15735. type: number
  15736. scfcontractid:
  15737. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15738. type: string
  15739. scfcontractstatus:
  15740. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15741. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15742. type: integer
  15743. scfcontracttype:
  15744. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15745. type: integer
  15746. totalinterest:
  15747. description: 已计总利息(利息)
  15748. type: number
  15749. tradedate:
  15750. description: 交易日
  15751. type: string
  15752. tradeprice:
  15753. description: 成交价格(成本价格)
  15754. type: number
  15755. userid:
  15756. description: 用户ID
  15757. type: integer
  15758. userinfotype:
  15759. description: 用户类型 1-个人 2-企业
  15760. type: integer
  15761. username:
  15762. description: 用户名称
  15763. type: string
  15764. wrqty:
  15765. description: 仓单数量(数量)
  15766. type: number
  15767. type: object
  15768. models.QhjMgrCustomer:
  15769. properties:
  15770. address:
  15771. description: 通讯地址
  15772. type: string
  15773. attachment1:
  15774. description: 附件1
  15775. type: string
  15776. audittime:
  15777. description: 审核时间
  15778. type: string
  15779. birthday:
  15780. description: 生日
  15781. type: string
  15782. brokerid:
  15783. description: 所属客户经理id
  15784. type: integer
  15785. brokername:
  15786. description: 所属客户经理名称
  15787. type: string
  15788. cardbackphotourl:
  15789. description: 证件反面图片地址
  15790. type: string
  15791. cardfrontphotourl:
  15792. description: 证件正面图片地址
  15793. type: string
  15794. cardnum:
  15795. description: 证件号码
  15796. type: string
  15797. cardtype:
  15798. description: 证件类型
  15799. type: integer
  15800. cardtypename:
  15801. description: 证件类型名称
  15802. type: string
  15803. cityid:
  15804. description: 市
  15805. type: integer
  15806. cityname:
  15807. description: 城市名称
  15808. type: string
  15809. contactname:
  15810. description: 联系人
  15811. type: string
  15812. countryid:
  15813. description: 国家
  15814. type: integer
  15815. countryname:
  15816. description: 国家名称
  15817. type: string
  15818. createtime:
  15819. description: 创建时间
  15820. type: string
  15821. customername:
  15822. description: 客户名称
  15823. type: string
  15824. districtid:
  15825. description: 区域
  15826. type: integer
  15827. districtname:
  15828. description: 地区名称
  15829. type: string
  15830. email:
  15831. description: 邮件
  15832. type: string
  15833. legalpersonname:
  15834. description: 法人姓名(企业)
  15835. type: string
  15836. logincode:
  15837. description: 登录账号(代码)
  15838. type: string
  15839. memberuserid:
  15840. description: 所属机构ID(所属会员)
  15841. type: integer
  15842. memberusername:
  15843. description: 所属会员名称
  15844. type: string
  15845. mobile:
  15846. description: 手机号码
  15847. type: string
  15848. modifytime:
  15849. description: 修改时间
  15850. type: string
  15851. nickname:
  15852. description: 昵称
  15853. type: string
  15854. parentuserid:
  15855. description: 上级机构(所属机构)
  15856. type: integer
  15857. parentusername:
  15858. description: 所属机构名称
  15859. type: string
  15860. provinceid:
  15861. description: 省
  15862. type: integer
  15863. provincename:
  15864. description: 省名称
  15865. type: string
  15866. proxystatementurl:
  15867. description: 授权委托书
  15868. type: string
  15869. querytype:
  15870. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15871. type: integer
  15872. remark:
  15873. description: 备注
  15874. type: string
  15875. sex:
  15876. description: 性别 0-女 1-男
  15877. type: integer
  15878. status:
  15879. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15880. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15881. type: integer
  15882. statusdesc:
  15883. description: 账户状态中文描述
  15884. type: string
  15885. taxpayernum:
  15886. description: 纳税人识别号
  15887. type: string
  15888. telphone:
  15889. description: 联系电话
  15890. type: string
  15891. userid:
  15892. description: 用户ID
  15893. type: integer
  15894. userinfotype:
  15895. description: 客户类型 1-个人 2-企业
  15896. type: integer
  15897. username:
  15898. description: 用户名称
  15899. type: string
  15900. type: object
  15901. models.QhjMgrPickGoods:
  15902. properties:
  15903. enumdicname:
  15904. description: 单位名称(提货商品)
  15905. type: string
  15906. goodsid:
  15907. description: 商品id
  15908. type: integer
  15909. imageaddress:
  15910. description: 图片
  15911. type: string
  15912. modifierid:
  15913. description: 修改人
  15914. type: integer
  15915. modifiername:
  15916. description: 修改人名称
  15917. type: string
  15918. modifysrc:
  15919. description: 修改来源 - 1:管理端 2:终端
  15920. type: integer
  15921. pickupgoodsagreeunit:
  15922. description: 合约乘数
  15923. type: number
  15924. pickupgoodsdesc:
  15925. description: 描述
  15926. type: string
  15927. pickupgoodsid:
  15928. description: 提货商品ID
  15929. type: string
  15930. pickupgoodsname:
  15931. description: 提货商品名称
  15932. type: string
  15933. pickupgoodsstatus:
  15934. description: 状态 - 1:正常 2:停用 3:注销
  15935. type: integer
  15936. pickupgoodsunitid:
  15937. description: 单位ID
  15938. type: integer
  15939. pickupratio:
  15940. description: 提货系数
  15941. type: number
  15942. preparedays:
  15943. description: 备货期(天)
  15944. type: integer
  15945. remark:
  15946. description: 备注
  15947. type: string
  15948. updatetime:
  15949. description: 更新时间
  15950. type: string
  15951. type: object
  15952. models.QhjMgrPositionRsp:
  15953. properties:
  15954. accountid:
  15955. description: 账号Id
  15956. type: integer
  15957. accountname:
  15958. description: 用户名称
  15959. type: string
  15960. agreeunit:
  15961. description: 合约乘数
  15962. type: number
  15963. averageprice:
  15964. description: 均价
  15965. type: number
  15966. avialqty:
  15967. description: 可用数量
  15968. type: number
  15969. decimalplace:
  15970. description: 报价小数位
  15971. type: integer
  15972. enumdicname:
  15973. description: 单位名称(商品)
  15974. type: string
  15975. frozenqty:
  15976. description: 冻结数量
  15977. type: number
  15978. goodscode:
  15979. description: 商品代码(内部)
  15980. type: string
  15981. goodsid:
  15982. description: 商品Id
  15983. type: integer
  15984. goodsname:
  15985. description: 商品名称
  15986. type: string
  15987. goodunitid:
  15988. description: 报价单位ID
  15989. type: integer
  15990. holderamount:
  15991. description: 金额
  15992. type: number
  15993. holderqty:
  15994. description: 持有数量
  15995. type: number
  15996. holdertype:
  15997. description: 持仓类别 - 1:单边持仓 2:双边持仓
  15998. type: integer
  15999. logincode:
  16000. description: 登录代码(账户)
  16001. type: string
  16002. marketid:
  16003. description: 市场id
  16004. type: integer
  16005. qtydecimalplace:
  16006. description: 成交量小数位
  16007. type: integer
  16008. trademode:
  16009. description: 交易模式
  16010. type: integer
  16011. userid:
  16012. description: 用户id
  16013. type: integer
  16014. userinfotype:
  16015. description: 账户类型 1-个人 2-企业
  16016. type: integer
  16017. type: object
  16018. models.QhjMgrSubArea:
  16019. properties:
  16020. accountname:
  16021. description: 账户名称(机构名称)
  16022. type: string
  16023. memberuserid:
  16024. description: 所属会员ID
  16025. type: integer
  16026. parenttopuser:
  16027. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16028. type: string
  16029. parentuserid:
  16030. description: 所属机构ID
  16031. type: integer
  16032. rootuserid:
  16033. description: 根用户ID
  16034. type: string
  16035. subaccountlevel:
  16036. description: 子账户层数
  16037. type: integer
  16038. subarealevelpath:
  16039. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16040. type: string
  16041. userid:
  16042. description: 用户ID
  16043. type: integer
  16044. usertype:
  16045. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16046. type: integer
  16047. type: object
  16048. models.QhjMgrTradeDetailRsp:
  16049. properties:
  16050. accountid:
  16051. description: 资金账号
  16052. type: integer
  16053. accountname:
  16054. description: 用户名称
  16055. type: string
  16056. agreeunit:
  16057. description: 合约乘数
  16058. type: number
  16059. buyorsell:
  16060. description: 成交类型(方向) 0:买 1:卖
  16061. type: integer
  16062. decimalplace:
  16063. description: 报价小数位
  16064. type: integer
  16065. enumdicname:
  16066. description: 单位名称(商品)
  16067. type: string
  16068. goodscode:
  16069. description: 商品代码(内部)
  16070. type: string
  16071. goodsid:
  16072. description: 商品id
  16073. type: integer
  16074. goodsname:
  16075. description: 商品名称
  16076. type: string
  16077. goodunitid:
  16078. description: 报价单位ID
  16079. type: integer
  16080. logincode:
  16081. description: 登录代码(账户)
  16082. type: string
  16083. marketid:
  16084. description: 市场id
  16085. type: integer
  16086. orderid:
  16087. description: 关联委托单号
  16088. type: string
  16089. qtydecimalplace:
  16090. description: 成交量小数位
  16091. type: integer
  16092. tradeamount:
  16093. description: 金额
  16094. type: number
  16095. tradedate:
  16096. description: 交易日
  16097. type: string
  16098. tradeid:
  16099. description: 成交单号
  16100. type: string
  16101. trademode:
  16102. description: 交易模式
  16103. type: integer
  16104. tradeprice:
  16105. description: 价格
  16106. type: number
  16107. tradeqty:
  16108. description: 数量
  16109. type: number
  16110. tradetime:
  16111. description: 成交时间
  16112. type: string
  16113. userid:
  16114. description: 用户id
  16115. type: integer
  16116. userinfotype:
  16117. description: 账户类型 1-个人 2-企业
  16118. type: integer
  16119. type: object
  16120. models.QhjMgrTradeOrderDetailRsp:
  16121. properties:
  16122. accountid:
  16123. description: 资金账号
  16124. type: integer
  16125. accountname:
  16126. description: 用户名称
  16127. type: string
  16128. agreeunit:
  16129. description: 合约乘数
  16130. type: number
  16131. amount:
  16132. description: 金额
  16133. type: number
  16134. decimalplace:
  16135. description: 报价小数位
  16136. type: integer
  16137. enumdicname:
  16138. description: 单位名称(商品)
  16139. type: string
  16140. goodscode:
  16141. description: 商品代码(内部)
  16142. type: string
  16143. goodsid:
  16144. description: 商品id
  16145. type: integer
  16146. goodsname:
  16147. description: 商品名称
  16148. type: string
  16149. goodunitid:
  16150. description: 报价单位ID
  16151. type: integer
  16152. logincode:
  16153. description: 登录代码(账户)
  16154. type: string
  16155. marketid:
  16156. description: 市场id
  16157. type: integer
  16158. orderid:
  16159. description: 关联委托单号
  16160. type: string
  16161. orderprice:
  16162. description: 价格
  16163. type: number
  16164. orderqty:
  16165. description: 数量
  16166. type: number
  16167. orderstatus:
  16168. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16169. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16170. 16:成交失败违约(荷兰式竞拍专用)
  16171. type: integer
  16172. ordertime:
  16173. description: 委托时间
  16174. type: string
  16175. qtydecimalplace:
  16176. description: 成交量小数位
  16177. type: integer
  16178. tradedate:
  16179. description: 交易日
  16180. type: string
  16181. trademode:
  16182. description: 交易模式
  16183. type: integer
  16184. userid:
  16185. description: 用户id
  16186. type: integer
  16187. userinfotype:
  16188. description: 账户类型 1-个人 2-企业
  16189. type: integer
  16190. type: object
  16191. models.QhjMgrTradePayOrder:
  16192. properties:
  16193. accountname:
  16194. description: 用户名称
  16195. type: string
  16196. advanceratio:
  16197. description: 首付比率
  16198. type: number
  16199. agreeunit:
  16200. description: 合约乘数
  16201. type: number
  16202. buyaccountid:
  16203. description: 买方账号ID[报价币种]
  16204. type: integer
  16205. buyorderid:
  16206. description: 买方委托单号(关联单号)
  16207. type: string
  16208. createtime:
  16209. description: 创建时间
  16210. type: string
  16211. decimalplace:
  16212. description: 报价小数位
  16213. type: integer
  16214. enumdicname:
  16215. description: 单位名称(商品)
  16216. type: string
  16217. goodscode:
  16218. description: 商品代码(内部)
  16219. type: string
  16220. goodsid:
  16221. description: 商品ID
  16222. type: integer
  16223. goodsname:
  16224. description: 商品名称
  16225. type: string
  16226. goodunitid:
  16227. description: 报价单位ID
  16228. type: integer
  16229. logincode:
  16230. description: 登录代码(账户)
  16231. type: string
  16232. marketid:
  16233. description: 市场id
  16234. type: integer
  16235. offamount:
  16236. description: 优惠金额
  16237. type: number
  16238. operatetype:
  16239. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16240. type: integer
  16241. payamount:
  16242. description: 支付金额(金额)
  16243. type: number
  16244. payflag:
  16245. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16246. type: integer
  16247. paylimitedtime:
  16248. description: 支付期限
  16249. type: string
  16250. paytime:
  16251. description: 付款时间
  16252. type: string
  16253. qtydecimalplace:
  16254. description: 成交量小数位
  16255. type: integer
  16256. sellaccountid:
  16257. description: 卖方账号ID[报价币种]
  16258. type: integer
  16259. sellorderid:
  16260. description: 卖方委托单号
  16261. type: string
  16262. tradeamount:
  16263. description: 成交金额(优惠后金额)
  16264. type: number
  16265. tradecharge:
  16266. description: 成交手续费(买方)
  16267. type: number
  16268. tradedate:
  16269. description: 交易日(yyyyMMdd)
  16270. type: string
  16271. tradeid:
  16272. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16273. type: string
  16274. trademode:
  16275. description: 交易模式
  16276. type: integer
  16277. tradeprice:
  16278. description: 成交价格(价格)
  16279. type: number
  16280. tradeqty:
  16281. description: 成交数量(数量)
  16282. type: number
  16283. tradetime:
  16284. description: 成交时间
  16285. type: string
  16286. userid:
  16287. description: 用户id
  16288. type: integer
  16289. userinfotype:
  16290. description: 账户类型 1-个人 2-企业
  16291. type: integer
  16292. type: object
  16293. models.QhjMyTeamEx:
  16294. properties:
  16295. accountname:
  16296. description: 用户名称
  16297. type: string
  16298. accountstatus:
  16299. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16300. type: integer
  16301. createtime:
  16302. description: 创建时间
  16303. type: string
  16304. mobile:
  16305. description: 手机号码
  16306. type: string
  16307. refereeuserid:
  16308. description: 推荐人id
  16309. type: integer
  16310. refernum:
  16311. description: 推荐码
  16312. type: string
  16313. subList:
  16314. items:
  16315. $ref: '#/definitions/models.QhjMyTeamEx'
  16316. type: array
  16317. userid:
  16318. description: 用户id
  16319. type: integer
  16320. userinfotype:
  16321. description: 用户类型 1-个人 2-企业
  16322. type: integer
  16323. type: object
  16324. models.QhjNodeAgreementConfig:
  16325. properties:
  16326. agreementcontent:
  16327. description: 协议内容
  16328. type: string
  16329. agreementid:
  16330. description: 协议ID
  16331. type: integer
  16332. agreementname:
  16333. description: 协议名称
  16334. type: string
  16335. agreementno:
  16336. description: 协议编号
  16337. type: string
  16338. agreementtype:
  16339. description: 协议类型 - 1:注册 2:登录 3:交易
  16340. type: integer
  16341. agreementversion:
  16342. description: 协议版本号
  16343. type: integer
  16344. configid:
  16345. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16346. type: integer
  16347. createtime:
  16348. description: 创建时间
  16349. type: string
  16350. goodsid:
  16351. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16352. type: integer
  16353. nodetype:
  16354. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16355. type: integer
  16356. type: object
  16357. models.QhjParentAreaList:
  16358. properties:
  16359. accountname:
  16360. description: 账户名称(机构名称)
  16361. type: string
  16362. userid:
  16363. description: 用户ID
  16364. type: integer
  16365. usertype:
  16366. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16367. type: integer
  16368. type: object
  16369. models.QhjPayOrder:
  16370. properties:
  16371. advanceratio:
  16372. description: 首付比率
  16373. type: number
  16374. buyaccountid:
  16375. description: 买方账号ID[报价币种]
  16376. type: integer
  16377. buyorderid:
  16378. description: 买方委托单号
  16379. type: string
  16380. createtime:
  16381. description: 创建时间
  16382. type: string
  16383. decimalplace:
  16384. description: 商品报价小数位
  16385. type: integer
  16386. enumdicname:
  16387. description: 单位名称
  16388. type: string
  16389. goodscode:
  16390. description: 商品代码
  16391. type: string
  16392. goodsid:
  16393. description: 商品ID
  16394. type: integer
  16395. goodsname:
  16396. description: 商品名称
  16397. type: string
  16398. goodunitid:
  16399. description: 商品单位id
  16400. type: integer
  16401. marketid:
  16402. description: 市场ID
  16403. type: integer
  16404. offamount:
  16405. description: 优惠金额
  16406. type: number
  16407. operatetype:
  16408. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16409. type: integer
  16410. payamount:
  16411. description: 支付金额
  16412. type: number
  16413. payflag:
  16414. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16415. type: integer
  16416. paylimitedtime:
  16417. description: 支付期限
  16418. type: string
  16419. paytime:
  16420. description: 付款时间
  16421. type: string
  16422. qtydecimalplace:
  16423. description: 成交量小数位
  16424. type: integer
  16425. sellaccountid:
  16426. description: 卖方账号ID[报价币种]
  16427. type: integer
  16428. sellorderid:
  16429. description: 卖方委托单号
  16430. type: string
  16431. tradeamount:
  16432. description: 成交金额(优惠后金额)
  16433. type: number
  16434. tradecharge:
  16435. description: 成交手续费(买方)
  16436. type: number
  16437. tradedate:
  16438. description: 交易日(yyyyMMdd)
  16439. type: string
  16440. tradeid:
  16441. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16442. type: string
  16443. tradeprice:
  16444. description: 成交价格
  16445. type: number
  16446. tradeqty:
  16447. description: 成交数量
  16448. type: number
  16449. type: object
  16450. models.QhjPickArea:
  16451. properties:
  16452. address:
  16453. description: 详细地址
  16454. type: string
  16455. cityid:
  16456. description: 市
  16457. type: integer
  16458. cityname:
  16459. description: 城市名称
  16460. type: string
  16461. countryid:
  16462. description: 国家
  16463. type: integer
  16464. countryname:
  16465. description: 国家名称
  16466. type: string
  16467. districtid:
  16468. description: 地区
  16469. type: integer
  16470. districtname:
  16471. description: 地区名称
  16472. type: string
  16473. fromuserid:
  16474. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16475. type: integer
  16476. fromusername:
  16477. description: 所属机构名称
  16478. type: string
  16479. provinceid:
  16480. description: 省
  16481. type: integer
  16482. provincename:
  16483. description: 省名称
  16484. type: string
  16485. suborgtype:
  16486. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16487. type: integer
  16488. userid:
  16489. description: 机构用户ID 其他做市关系,都设置为 1
  16490. type: integer
  16491. username:
  16492. description: 机构用户名称(门店门称)
  16493. type: string
  16494. type: object
  16495. models.QhjPickGoods:
  16496. properties:
  16497. enumdicname:
  16498. description: 单位名称(提货商品)
  16499. type: string
  16500. goodsid:
  16501. description: 商品id
  16502. type: integer
  16503. imageaddress:
  16504. description: 图片
  16505. type: string
  16506. modifierid:
  16507. description: 修改人
  16508. type: integer
  16509. modifiername:
  16510. description: 修改人名称
  16511. type: string
  16512. modifysrc:
  16513. description: 修改来源 - 1:管理端 2:终端
  16514. type: integer
  16515. pickupgoodsagreeunit:
  16516. description: 合约乘数
  16517. type: number
  16518. pickupgoodsdesc:
  16519. description: 描述
  16520. type: string
  16521. pickupgoodsid:
  16522. description: 提货商品ID
  16523. type: string
  16524. pickupgoodsname:
  16525. description: 提货商品名称
  16526. type: string
  16527. pickupgoodsstatus:
  16528. description: 状态 - 1:正常 2:停用 3:注销
  16529. type: integer
  16530. pickupgoodsunitid:
  16531. description: 单位ID
  16532. type: integer
  16533. pickupratio:
  16534. description: 提货系数
  16535. type: number
  16536. preparedays:
  16537. description: 备货期(天)
  16538. type: integer
  16539. remark:
  16540. description: 备注
  16541. type: string
  16542. updatetime:
  16543. description: 更新时间
  16544. type: string
  16545. type: object
  16546. models.QhjRSTriggerLog:
  16547. properties:
  16548. accountid:
  16549. description: 用户资金账户
  16550. type: integer
  16551. accountname:
  16552. description: 账号名称(ACCOUNTID对应的名称)
  16553. type: string
  16554. currencyid:
  16555. description: 币种id
  16556. type: integer
  16557. currencyname:
  16558. description: 币种名称
  16559. type: string
  16560. decimalplace:
  16561. description: 商品报价小数位
  16562. type: integer
  16563. enumdicname:
  16564. description: 单位名称
  16565. type: string
  16566. goodscode:
  16567. description: 定投商品代码
  16568. type: string
  16569. goodsid:
  16570. description: 定投商品ID
  16571. type: integer
  16572. goodsname:
  16573. description: 定投商品名称
  16574. type: string
  16575. goodunitid:
  16576. description: 定投商品单位id
  16577. type: integer
  16578. logid:
  16579. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16580. type: string
  16581. logincode:
  16582. description: 账号(登录代码)
  16583. type: string
  16584. qtydecimalplace:
  16585. description: 成交量小数位
  16586. type: integer
  16587. regularlycycle:
  16588. description: 定投频率 - 1:每周 2:每月
  16589. type: integer
  16590. regularlycyclevalue:
  16591. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16592. type: string
  16593. regularlymode:
  16594. description: 定投方式 - 1:按数量 2:按金额
  16595. type: integer
  16596. regularlymodevalue:
  16597. description: 定投方式值 - 数量或金额
  16598. type: number
  16599. regularlystrategyid:
  16600. description: 定投策略ID
  16601. type: integer
  16602. retcode:
  16603. description: 错误码
  16604. type: string
  16605. tradeid:
  16606. description: 成交单ID
  16607. type: string
  16608. triggeramount:
  16609. description: 触发金额
  16610. type: number
  16611. triggerqty:
  16612. description: 触发数量
  16613. type: number
  16614. triggerstatus:
  16615. description: 触发状态 - 1:成功 2:失败
  16616. type: integer
  16617. triggertime:
  16618. description: 触发时间
  16619. type: string
  16620. triggertradedate:
  16621. description: 触发交易日
  16622. type: string
  16623. userid:
  16624. description: 所属用户ID
  16625. type: integer
  16626. userinfotype:
  16627. description: 用户类型 1-个人 2-企业
  16628. type: integer
  16629. username:
  16630. description: 用户名称(userid对应的名称)
  16631. type: string
  16632. type: object
  16633. models.QhjRStrategy:
  16634. properties:
  16635. accountid:
  16636. description: 用户资金账户
  16637. type: integer
  16638. accountname:
  16639. description: 账号名称(ACCOUNTID对应的名称)
  16640. type: string
  16641. currencyid:
  16642. description: 币种id
  16643. type: integer
  16644. currencyname:
  16645. description: 币种名称
  16646. type: string
  16647. decimalplace:
  16648. description: 商品报价小数位
  16649. type: integer
  16650. enumdicname:
  16651. description: 单位名称
  16652. type: string
  16653. goodscode:
  16654. description: 定投商品代码
  16655. type: string
  16656. goodsid:
  16657. description: 定投商品ID
  16658. type: integer
  16659. goodsname:
  16660. description: 定投商品名称
  16661. type: string
  16662. goodunitid:
  16663. description: 定投商品单位id
  16664. type: integer
  16665. lasteffecttradedate:
  16666. description: 最新生效交易日
  16667. type: string
  16668. laststoptradedate:
  16669. description: 最新暂停交易日
  16670. type: string
  16671. lasttriggertradedate:
  16672. description: 最新触发交易日
  16673. type: string
  16674. logincode:
  16675. description: 账号(登录代码)
  16676. type: string
  16677. nexttriggeramount:
  16678. description: 下次触发金额
  16679. type: number
  16680. nexttriggerdate:
  16681. description: 下次触发日期
  16682. type: string
  16683. nexttriggerqty:
  16684. description: 下次触发数量 [按小数位放大值]
  16685. type: number
  16686. qtydecimalplace:
  16687. description: 成交量小数位
  16688. type: integer
  16689. regularlycycle:
  16690. description: 定投频率 - 1:每周 2:每月
  16691. type: integer
  16692. regularlycyclevalue:
  16693. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16694. type: string
  16695. regularlymode:
  16696. description: 定投方式 - 1:按数量 2:按金额
  16697. type: integer
  16698. regularlymodevalue:
  16699. description: 定投方式值 - 数量或金额
  16700. type: number
  16701. regularlystrategyid:
  16702. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16703. type: integer
  16704. regularlystrategystatus:
  16705. description: 策略状态 - 1:正常 2:暂停 3:终止
  16706. type: integer
  16707. remark:
  16708. description: 备注
  16709. type: string
  16710. triggersuccesstimes:
  16711. description: 累计定投成功次数
  16712. type: string
  16713. triggertotalamount:
  16714. description: 累计定投金额(成功)
  16715. type: number
  16716. triggertotalqty:
  16717. description: 累计定投数量(成功) [按小数位放大值]
  16718. type: number
  16719. triggertotaltimes:
  16720. description: 累计定投总次数
  16721. type: string
  16722. updatesrc:
  16723. description: 更新来源 - 1:管理端 2:终端
  16724. type: integer
  16725. updatetime:
  16726. description: 更新时间
  16727. type: string
  16728. updatorid:
  16729. description: 更新人
  16730. type: string
  16731. userid:
  16732. description: 所属用户ID
  16733. type: integer
  16734. userinfotype:
  16735. description: 用户类型 1-个人 2-企业
  16736. type: integer
  16737. username:
  16738. description: 用户名称(userid对应的名称)
  16739. type: string
  16740. type: object
  16741. models.QhjReckonPriceLog:
  16742. properties:
  16743. decimalplace:
  16744. description: 商品报价小数位
  16745. type: integer
  16746. goodscode:
  16747. description: 商品代码
  16748. type: string
  16749. goodsid:
  16750. description: 商品ID
  16751. type: integer
  16752. goodsname:
  16753. description: 商品名称
  16754. type: string
  16755. lastreckonprice:
  16756. description: 上日结算价
  16757. type: number
  16758. nextdnlimitprice:
  16759. description: 下个交易日跌停价
  16760. type: number
  16761. nexttrade:
  16762. description: 下个交易日
  16763. type: string
  16764. nextuplimitprice:
  16765. description: 下个交易日涨停价
  16766. type: number
  16767. reckonprice:
  16768. description: 今日结算价(定投价)
  16769. type: number
  16770. reckontime:
  16771. description: 结算时间
  16772. type: string
  16773. totalholderqty:
  16774. description: 总持仓数
  16775. type: integer
  16776. totalstock:
  16777. description: 总库存
  16778. type: integer
  16779. tradedate:
  16780. description: 交易日
  16781. type: string
  16782. updowncount:
  16783. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16784. type: integer
  16785. updownflag:
  16786. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16787. type: integer
  16788. updownrate:
  16789. description: 今日涨跌幅
  16790. type: number
  16791. updownrate_2d:
  16792. description: 连续两日涨跌幅
  16793. type: number
  16794. updownrate_3d:
  16795. description: 连续三日涨跌幅
  16796. type: number
  16797. type: object
  16798. models.QhjScoreLog:
  16799. properties:
  16800. accountid:
  16801. description: 账户ID
  16802. type: integer
  16803. createtime:
  16804. description: 创建时间(时间)
  16805. type: string
  16806. goodsid:
  16807. description: 商品ID
  16808. type: integer
  16809. hasuploaded:
  16810. description: 是否已同步(千海金) 0:未同步 1;已同步
  16811. type: integer
  16812. logid:
  16813. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16814. type: string
  16815. marketid:
  16816. description: 市场ID
  16817. type: integer
  16818. relatedamount:
  16819. description: 关联金额
  16820. type: number
  16821. relatedorderid:
  16822. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16823. type: string
  16824. scoreconfigvalue1:
  16825. description: 积分配置1
  16826. type: integer
  16827. scoreconfigvalue2:
  16828. description: 积分配置1
  16829. type: integer
  16830. scoretype:
  16831. description: 积分类型 - 1:提货积分
  16832. type: integer
  16833. scorevalue:
  16834. description: 积分
  16835. type: number
  16836. tradedate:
  16837. description: 交易日(yyyyMMdd)
  16838. type: string
  16839. uploadedtime:
  16840. description: 同步时间
  16841. type: string
  16842. userid:
  16843. description: 用户ID
  16844. type: integer
  16845. type: object
  16846. models.QhjSiteColumnDetail:
  16847. properties:
  16848. author:
  16849. description: 作者
  16850. type: string
  16851. brief:
  16852. description: 简介
  16853. type: string
  16854. columnid:
  16855. description: 所属栏目
  16856. type: integer
  16857. context:
  16858. description: 内容
  16859. type: string
  16860. coverimage:
  16861. description: 封面图片
  16862. type: string
  16863. creaedate:
  16864. description: 创建时间
  16865. type: string
  16866. creatorid:
  16867. description: 创建人
  16868. type: integer
  16869. hits:
  16870. description: 点击数
  16871. type: integer
  16872. id:
  16873. description: ID(SEQ_SITE_COLUMNDETAIL)
  16874. type: integer
  16875. isshow:
  16876. description: 是否展示 - 0:不展示 1:展示
  16877. type: integer
  16878. istop:
  16879. description: 是否置顶 - 0:不置 1:置顶
  16880. type: integer
  16881. modifierid:
  16882. description: 操作人
  16883. type: integer
  16884. publishdate:
  16885. description: 发布日期
  16886. type: string
  16887. status:
  16888. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16889. type: integer
  16890. title:
  16891. description: 标题
  16892. type: string
  16893. updatedate:
  16894. description: 修改时间
  16895. type: string
  16896. userid:
  16897. description: 用户ID(默认为0, 核心为为机构用户ID)
  16898. type: integer
  16899. username:
  16900. description: 用户名称
  16901. type: string
  16902. type: object
  16903. models.QhjTeamOrder:
  16904. properties:
  16905. accountid:
  16906. description: 账户ID[报价币种]
  16907. type: integer
  16908. accountname:
  16909. description: 账户名称
  16910. type: string
  16911. agreeunit:
  16912. description: 合约乘数
  16913. type: number
  16914. buyorsell:
  16915. description: 方向 - 0:买 1:卖
  16916. type: integer
  16917. decimalplace:
  16918. description: 报价小数位
  16919. type: integer
  16920. enumdicname:
  16921. description: 单位名称
  16922. type: string
  16923. goodscode:
  16924. description: 商品代码(内部)
  16925. type: string
  16926. goodsid:
  16927. description: 商品ID
  16928. type: integer
  16929. goodsname:
  16930. description: 商品名称
  16931. type: string
  16932. goodunitid:
  16933. description: 报价单位ID
  16934. type: integer
  16935. marketid:
  16936. description: 市场ID
  16937. type: integer
  16938. marketname:
  16939. description: 市场名称
  16940. type: string
  16941. qtydecimalplace:
  16942. description: 成交量小数位
  16943. type: integer
  16944. refereeuserid:
  16945. description: 推荐人ID
  16946. type: integer
  16947. tradeamount:
  16948. description: 成交金额[账户币种,用于所有权]
  16949. type: number
  16950. tradedate:
  16951. description: 交易日(yyyyMMdd)
  16952. type: string
  16953. trademode:
  16954. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16955. 21:竞拍-大宗式 22:受托竞价
  16956. type: integer
  16957. tradeprice:
  16958. description: 成交价格
  16959. type: number
  16960. tradeqty:
  16961. description: 成交数量
  16962. type: number
  16963. tradetime:
  16964. description: 成交时间
  16965. type: string
  16966. userid:
  16967. description: 用户ID
  16968. type: integer
  16969. type: object
  16970. models.QhjTradeGoodsPickup:
  16971. properties:
  16972. accountid:
  16973. description: 账户ID
  16974. type: integer
  16975. address:
  16976. description: 提货人详细地址
  16977. type: string
  16978. amount:
  16979. description: 提货金额
  16980. type: number
  16981. artradedate:
  16982. description: 自动收货交易日(yyyyMMdd)
  16983. type: string
  16984. auditer:
  16985. description: 审核人
  16986. type: integer
  16987. auditsrc:
  16988. description: 更新来源 - 1:管理端 2:终端
  16989. type: integer
  16990. audittime:
  16991. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16992. type: string
  16993. audittradedate:
  16994. description: 审核交易日(yyyyMMdd)
  16995. type: string
  16996. cardnum:
  16997. description: 提货人证件号码
  16998. type: string
  16999. cardtypeid:
  17000. description: 提货人证件类型
  17001. type: integer
  17002. checkremark:
  17003. description: 审核备注
  17004. type: string
  17005. cityid:
  17006. description: 市
  17007. type: integer
  17008. cityname:
  17009. description: 城市名称
  17010. type: string
  17011. confirmtime:
  17012. description: 取货时间 或 收货时间
  17013. type: string
  17014. countryid:
  17015. description: 国家
  17016. type: integer
  17017. countryname:
  17018. description: 国家名称
  17019. type: string
  17020. decimalplace:
  17021. description: 商品报价小数位
  17022. type: integer
  17023. districtid:
  17024. description: 地区
  17025. type: integer
  17026. districtname:
  17027. description: 地区名称
  17028. type: string
  17029. enumdicname:
  17030. description: 单位名称(提货商品)
  17031. type: string
  17032. expresscompany:
  17033. description: 物流公司
  17034. type: string
  17035. expressnum:
  17036. description: 物流单号
  17037. type: string
  17038. goodsagreeunit:
  17039. description: 交易商品乘数
  17040. type: number
  17041. goodscode:
  17042. description: 商品代码
  17043. type: string
  17044. goodsid:
  17045. description: 商品ID
  17046. type: integer
  17047. goodsname:
  17048. description: 商品名称
  17049. type: string
  17050. goodsqty:
  17051. description: 交易商品手数(69模式按成交量小数位放大取整)
  17052. type: number
  17053. handlestatus:
  17054. description: 处理状态
  17055. type: integer
  17056. logincode:
  17057. description: 账号(登录代码, 有可能为空)
  17058. type: string
  17059. marketid:
  17060. description: 市场ID
  17061. type: integer
  17062. phonenum:
  17063. description: 提货人联系方式
  17064. type: string
  17065. pickupgoodsagreeunit:
  17066. description: 提货商品合约乘数
  17067. type: number
  17068. pickupgoodsid:
  17069. description: 提货商品ID
  17070. type: string
  17071. pickupgoodsname:
  17072. description: 提货商品名称
  17073. type: string
  17074. pickupgoodsqty:
  17075. description: 提货商品手数(数量)
  17076. type: number
  17077. pickupgoodsunitid:
  17078. description: 单位ID(提货商品)
  17079. type: integer
  17080. pickupratio:
  17081. description: 提货系数
  17082. type: number
  17083. preparedays:
  17084. description: 备货期(天)-提货单明细表
  17085. type: integer
  17086. provinceid:
  17087. description: 省
  17088. type: integer
  17089. provincename:
  17090. description: 省名称
  17091. type: string
  17092. qty:
  17093. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  17094. type: number
  17095. qtydecimalplace:
  17096. description: 商品数量小数位
  17097. type: integer
  17098. recivername:
  17099. description: 提货人姓名
  17100. type: string
  17101. reqtime:
  17102. description: 提货申请时间
  17103. type: string
  17104. storeuserid:
  17105. description: 门店用户ID (千海金)
  17106. type: integer
  17107. storeusername:
  17108. description: 门店用户名称
  17109. type: string
  17110. takemode:
  17111. description: 提货方式 - 2:自提 3:配送(邮寄)
  17112. type: integer
  17113. takeorderid:
  17114. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17115. type: string
  17116. takeorderstatus:
  17117. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  17118. 7:已拒绝 8:已撤销
  17119. type: integer
  17120. takeremark:
  17121. description: 提货备注
  17122. type: string
  17123. tradedate:
  17124. description: 交易日(yyyyMMdd)
  17125. type: string
  17126. updatetime:
  17127. description: 更新时间
  17128. type: string
  17129. userid:
  17130. description: 用户ID
  17131. type: integer
  17132. userinfotype:
  17133. description: 客户类型 1-个人 2-企业
  17134. type: integer
  17135. username:
  17136. description: 用户名称
  17137. type: string
  17138. type: object
  17139. models.QhjUserNodeCfgAndStatus:
  17140. properties:
  17141. agreementcontent:
  17142. description: 协议内容
  17143. type: string
  17144. agreementid:
  17145. description: 协议ID
  17146. type: integer
  17147. agreementname:
  17148. description: 协议名称
  17149. type: string
  17150. agreementno:
  17151. description: 协议编号
  17152. type: string
  17153. agreementtype:
  17154. description: 协议类型 - 1:注册 2:登录 3:交易
  17155. type: integer
  17156. agreementversion:
  17157. description: 协议版本号
  17158. type: integer
  17159. configid:
  17160. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17161. type: integer
  17162. createtime:
  17163. description: 创建时间
  17164. type: string
  17165. goodsid:
  17166. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17167. type: integer
  17168. nodetype:
  17169. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17170. type: integer
  17171. signtimestamp:
  17172. description: 签约状态时间戳(最近一次)
  17173. type: string
  17174. tradedate:
  17175. description: 签约交易日(yyyyMMdd)
  17176. type: string
  17177. userid:
  17178. description: 客户ID
  17179. type: integer
  17180. type: object
  17181. models.Qhjgoodsex:
  17182. properties:
  17183. canfinance:
  17184. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17185. type: integer
  17186. canregularlybuy:
  17187. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17188. type: integer
  17189. defaulttradeuserid:
  17190. description: 默认交易用户ID
  17191. type: integer
  17192. deliverygoodsid:
  17193. description: 现货品种ID
  17194. type: integer
  17195. goodsid:
  17196. description: 商品ID(自增ID SEQ_GOODS)
  17197. type: integer
  17198. minamount:
  17199. description: 最小购买金额
  17200. type: number
  17201. regularlybuyminamount:
  17202. description: 定投最小金额
  17203. type: number
  17204. regularlybuyminqty:
  17205. description: 定投最小数量
  17206. type: number
  17207. spotgoodsbrandid:
  17208. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17209. type: integer
  17210. visibilityforenterprise:
  17211. description: 企业客户是否可见 - 0:不可见 1:可见
  17212. type: integer
  17213. visibilityforpersonal:
  17214. description: 个人客户是否可见 - 0:不可见 1:可见
  17215. type: integer
  17216. wrstandardid:
  17217. description: 现货商品ID
  17218. type: integer
  17219. type: object
  17220. models.QueryErrorInfosRsp:
  17221. properties:
  17222. description:
  17223. description: 异常描述
  17224. type: string
  17225. errorcode:
  17226. description: 异常代码
  17227. type: string
  17228. errorid:
  17229. description: 异常ID
  17230. type: integer
  17231. modulecode:
  17232. description: 所属模块
  17233. type: string
  17234. operatecode:
  17235. description: 所属操作
  17236. type: string
  17237. rownumber:
  17238. description: 行号
  17239. type: string
  17240. required:
  17241. - errorid
  17242. type: object
  17243. models.QueryHedgeOrderDetailRsp:
  17244. properties:
  17245. accountid:
  17246. description: 账户ID
  17247. type: integer
  17248. buyorsell:
  17249. description: 买卖 - 0:买 1:卖
  17250. type: integer
  17251. cancellogincode:
  17252. description: 撤单人
  17253. type: string
  17254. channelbuildtype:
  17255. description: 开平标志 - 0:无 1:建仓 2:平仓
  17256. type: integer
  17257. channelinnerorderstatus:
  17258. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17259. 9:全部成交
  17260. type: integer
  17261. channeloperatetype:
  17262. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17263. type: integer
  17264. closetype:
  17265. description: 平仓方式 - 0:无 1:平今 2:平昨
  17266. type: integer
  17267. curexchangerate:
  17268. description: 当前汇率
  17269. type: number
  17270. decimalplace:
  17271. description: 商品报价小数位
  17272. type: integer
  17273. exchangefullname:
  17274. description: 外部交易所全称
  17275. type: string
  17276. goodscode:
  17277. description: 商品代码(内部)
  17278. type: string
  17279. goodsid:
  17280. description: 商品ID
  17281. type: integer
  17282. goodsname:
  17283. description: 商品名称
  17284. type: string
  17285. marketid:
  17286. description: 市场ID
  17287. type: integer
  17288. openfreezemargin:
  17289. description: 冻结保证金(冻结交易金额)
  17290. type: number
  17291. orderid:
  17292. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17293. type: string
  17294. orderlogincode:
  17295. description: 委托人
  17296. type: string
  17297. orderprice:
  17298. description: 委托价格(账户)
  17299. type: number
  17300. orderqty:
  17301. description: 委托数量
  17302. type: integer
  17303. ordertime:
  17304. description: 委托时间
  17305. type: string
  17306. pricemode:
  17307. description: '取价方式 - 1:市价 2: 限价'
  17308. type: integer
  17309. tradedate:
  17310. description: 交易日(yyyyMMdd)
  17311. type: string
  17312. tradeqty:
  17313. description: 成交数量
  17314. type: integer
  17315. type: object
  17316. models.QueryHedgeTradeDetailRsp:
  17317. properties:
  17318. accountid:
  17319. description: 账号ID
  17320. type: integer
  17321. buyorsell:
  17322. description: 方向 - 0:买 1:卖
  17323. type: integer
  17324. channelbuildtype:
  17325. description: 委托单据类型 0:无 1:建仓 2:平仓
  17326. type: integer
  17327. closecharge:
  17328. description: 平仓手续费(账户)
  17329. type: number
  17330. closecharge2:
  17331. description: 平仓手续费(商品)
  17332. type: number
  17333. closepl:
  17334. description: 平仓盈亏(账户)
  17335. type: number
  17336. closepl2:
  17337. description: 平仓盈亏(商品)
  17338. type: number
  17339. closepl3:
  17340. description: 平仓盈亏(账户)(逐笔)
  17341. type: number
  17342. closepl4:
  17343. description: 平仓盈亏(商品)(逐笔)
  17344. type: number
  17345. closetype:
  17346. description: 平仓方式 - 0:无 1:平今 2:平昨
  17347. type: integer
  17348. curexchangerate:
  17349. description: 当前汇率
  17350. type: number
  17351. decimalplace:
  17352. description: 商品报价小数位
  17353. type: integer
  17354. exchangefullname:
  17355. description: 外部交易所全称
  17356. type: string
  17357. goodscode:
  17358. description: 商品代码(内部)
  17359. type: string
  17360. goodsid:
  17361. description: 商品ID
  17362. type: integer
  17363. goodsname:
  17364. description: 商品名称
  17365. type: string
  17366. marketid:
  17367. description: 市场ID
  17368. type: integer
  17369. opencharge:
  17370. description: 建仓手续费(账户)
  17371. type: number
  17372. opencharge2:
  17373. description: 建仓手续费(商品)
  17374. type: number
  17375. orderid:
  17376. description: 委托单号
  17377. type: string
  17378. orderlogincode:
  17379. description: 委托人
  17380. type: string
  17381. tradeamount:
  17382. description: 成交金额(账户)
  17383. type: number
  17384. tradedate:
  17385. description: 交易日(yyyyMMdd)
  17386. type: string
  17387. tradeid:
  17388. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17389. type: string
  17390. tradeprice:
  17391. description: 成交价格
  17392. type: number
  17393. tradeqty:
  17394. description: 成交数量
  17395. type: integer
  17396. tradetime:
  17397. description: 成交时间
  17398. type: string
  17399. tradetype:
  17400. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17401. type: integer
  17402. type: object
  17403. models.QuotePrimaryMenu:
  17404. properties:
  17405. Index:
  17406. description: 序号
  17407. type: integer
  17408. Key:
  17409. description: 键名
  17410. type: string
  17411. Name:
  17412. description: 菜单名称
  17413. type: string
  17414. SubMenus:
  17415. description: 子菜单
  17416. items:
  17417. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17418. type: array
  17419. SubTitleType:
  17420. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17421. type: integer
  17422. TradeModes:
  17423. description: 包含市场交易类型
  17424. type: string
  17425. type: object
  17426. models.QuoteSecondaryMenu:
  17427. properties:
  17428. ExExchangeCode:
  17429. description: 外部交易所代码
  17430. type: string
  17431. ExExchangeID:
  17432. description: 外部交易所ID
  17433. type: integer
  17434. GoodsGroupIDs:
  17435. description: 商品组ID列表
  17436. items:
  17437. type: integer
  17438. type: array
  17439. Index:
  17440. description: 序号
  17441. type: integer
  17442. MarketID:
  17443. description: 市场ID
  17444. type: integer
  17445. MenuTitle:
  17446. description: 菜单标题(市场名称或外部交易所名称)
  17447. type: string
  17448. TradeMode:
  17449. description: 交易模式
  17450. type: integer
  17451. type: object
  17452. models.Reckondaytaaccount:
  17453. properties:
  17454. accountid:
  17455. description: 资金账户ID
  17456. type: integer
  17457. accountname:
  17458. description: 账户名称
  17459. type: string
  17460. accountpl:
  17461. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17462. type: number
  17463. avaiablemoney:
  17464. description: 可用资金
  17465. type: number
  17466. avaiableoutmoney:
  17467. description: 可出资金
  17468. type: number
  17469. balance:
  17470. description: 期初余额
  17471. type: number
  17472. capitalbalance:
  17473. description: 本金余额[外部子账户实际出入金余额]
  17474. type: number
  17475. changeflag:
  17476. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17477. type: integer
  17478. clearbalance:
  17479. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17480. type: number
  17481. clearpl:
  17482. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17483. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17484. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17485. type: number
  17486. closepl:
  17487. description: 今日平仓盈亏
  17488. type: number
  17489. closepl2:
  17490. description: 平仓盈亏(逐笔)
  17491. type: number
  17492. creditdecrease:
  17493. description: 今日授信减少
  17494. type: number
  17495. creditincrease:
  17496. description: 今日授信增加
  17497. type: number
  17498. curdebt:
  17499. description: 期末欠款
  17500. type: number
  17501. currencyid:
  17502. description: 货币ID
  17503. type: integer
  17504. currentbalance:
  17505. description: 期末余额
  17506. type: number
  17507. cycletype:
  17508. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17509. type: integer
  17510. defercharge:
  17511. description: 今日递延费2支出[111, 112]
  17512. type: number
  17513. deliveryamountin:
  17514. description: 今日交收货款收入
  17515. type: number
  17516. deliveryamountout:
  17517. description: 今日交收货款支出
  17518. type: number
  17519. deliverycharge:
  17520. description: 今日交收手续费支出 [105,106]
  17521. type: number
  17522. deliverycompensationfeein:
  17523. description: 今日交收补偿费收入
  17524. type: number
  17525. deliverycompensationfeeout:
  17526. description: 今日交收补偿费支出
  17527. type: number
  17528. dividedcharge:
  17529. description: 今日已收手续费分成
  17530. type: number
  17531. floatnetvalue:
  17532. description: 浮动净值 = 净值 + 浮动盈亏
  17533. type: number
  17534. floatpl:
  17535. description: 浮动盈亏 - 每日有负债类商品
  17536. type: number
  17537. freezecharge:
  17538. description: 手续费冻结
  17539. type: number
  17540. freezemargin:
  17541. description: 冻结保证金
  17542. type: number
  17543. fromaccountid:
  17544. description: 所属上级账户
  17545. type: integer
  17546. holdcharge:
  17547. description: 今日持仓过夜费支出[108,109,110]
  17548. type: number
  17549. inamount:
  17550. description: 今日入金金额
  17551. type: number
  17552. interestcharge:
  17553. description: 今日递延费支出[103, 104]
  17554. type: number
  17555. ismain:
  17556. description: 是否账号 0:不是母账户 1:是母账户
  17557. type: integer
  17558. ismarketaccount:
  17559. description: 是否机构接单账号 0:不是 1:是
  17560. type: integer
  17561. isreckonaccount:
  17562. description: 是否机构分润账号 0:不是 1:是
  17563. type: integer
  17564. mortgagecredit:
  17565. description: 授信金额
  17566. type: number
  17567. netvalue:
  17568. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17569. type: number
  17570. oridebt:
  17571. description: 期初欠款
  17572. type: number
  17573. orifreezecharge:
  17574. description: 期初手续费冻结
  17575. type: number
  17576. orifreezemargin:
  17577. description: 期初冻结保证金
  17578. type: number
  17579. orimortgagecredit:
  17580. description: 期初授信金额
  17581. type: number
  17582. oriothercredit:
  17583. description: 期初其它授信金额
  17584. type: number
  17585. oriotherfreezemargin:
  17586. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17587. type: number
  17588. orioutamountfreeze:
  17589. description: 期初出金冻结
  17590. type: number
  17591. oriusedmargin:
  17592. description: 期初占用保证金
  17593. type: number
  17594. othercredit:
  17595. description: 其它授信金额
  17596. type: number
  17597. othercreditdecrease:
  17598. description: 今日其它授信减少
  17599. type: number
  17600. othercreditincrease:
  17601. description: 今日其它授信增加
  17602. type: number
  17603. otherfreezemargin:
  17604. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17605. type: number
  17606. otherincome:
  17607. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17608. type: number
  17609. otherpay:
  17610. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17611. type: number
  17612. outamount:
  17613. description: 今日出金金额
  17614. type: number
  17615. outamountfreeze:
  17616. description: 出金冻结
  17617. type: number
  17618. outthreshold:
  17619. description: 出金阈值
  17620. type: number
  17621. ownershipvalue:
  17622. description: 所有权市值
  17623. type: number
  17624. parentaccountid:
  17625. description: 所属根账户
  17626. type: integer
  17627. password:
  17628. description: 资金密码
  17629. type: string
  17630. paycharge:
  17631. description: 今日手续费支出
  17632. type: number
  17633. paycharge2:
  17634. description: 今日手续费支出(外部配置)
  17635. type: number
  17636. payexchcharge:
  17637. description: 今日应付交易所手续费
  17638. type: number
  17639. reckondate:
  17640. description: 日照日期(yyyyMMdd)
  17641. type: string
  17642. reckonpl:
  17643. description: 今日结算盈亏
  17644. type: number
  17645. reckonpl2:
  17646. description: 结算盈亏(逐笔) - 汇总取期末
  17647. type: number
  17648. relatedaccountstatus:
  17649. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17650. type: integer
  17651. relateuserid:
  17652. description: 关联用户
  17653. type: integer
  17654. riskrate:
  17655. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17656. type: number
  17657. signstatus:
  17658. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17659. type: integer
  17660. spotvalue:
  17661. description: 现货市值-统计服务更新
  17662. type: number
  17663. sublevelpath:
  17664. description: 账号层级路径(逗号分隔,首尾加逗号)
  17665. type: string
  17666. taaccounttype:
  17667. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17668. type: integer
  17669. thirdinamount:
  17670. description: 今日三方入金
  17671. type: number
  17672. thirdoutamount:
  17673. description: 今日三方出金
  17674. type: number
  17675. tradeamount:
  17676. description: 今日成交金额
  17677. type: number
  17678. tradecharge:
  17679. description: 今日交易手续费支出 [101,102]
  17680. type: number
  17681. tradeqty:
  17682. description: 今日成交量
  17683. type: integer
  17684. tradestatus:
  17685. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17686. type: integer
  17687. transferamount:
  17688. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17689. type: number
  17690. usedmargin:
  17691. description: 占用保证金
  17692. type: number
  17693. userid:
  17694. description: 用户ID
  17695. type: integer
  17696. required:
  17697. - userid
  17698. type: object
  17699. models.Reckongzmemtradesum:
  17700. properties:
  17701. buylistingamount:
  17702. description: 买挂牌金额 - 无数据,预留
  17703. type: number
  17704. buylistinglot:
  17705. description: 买挂牌宗数
  17706. type: integer
  17707. buylistingqty:
  17708. description: 买挂牌数量 - 无数据,预留
  17709. type: number
  17710. buytradeamount:
  17711. description: 购买金额
  17712. type: number
  17713. buytradelot:
  17714. description: 购买宗数
  17715. type: integer
  17716. buytradeqty:
  17717. description: 购买数量
  17718. type: number
  17719. marketid:
  17720. description: 市场ID
  17721. type: integer
  17722. reckondate:
  17723. description: 日照日期(yyyyMMdd)
  17724. type: string
  17725. selllistingamount:
  17726. description: 卖挂牌金额
  17727. type: number
  17728. selllistinglot:
  17729. description: 卖挂牌宗数
  17730. type: integer
  17731. selllistingqty:
  17732. description: 卖挂牌数量
  17733. type: number
  17734. selltradeamount:
  17735. description: 销售金额
  17736. type: number
  17737. selltradelot:
  17738. description: 销售宗数
  17739. type: integer
  17740. selltradeqty:
  17741. description: 销售数量
  17742. type: number
  17743. updatetime:
  17744. description: 更新时间
  17745. type: string
  17746. userid:
  17747. description: 用户ID
  17748. type: integer
  17749. zscategory:
  17750. description: 钻石分类 - 枚举”ZSCategory“
  17751. type: integer
  17752. zscategorydisplay:
  17753. type: string
  17754. zscurrencytype:
  17755. description: 货币类型 - 枚举“ZSCurrencyType”
  17756. type: integer
  17757. zscurrencytypedisplay:
  17758. type: string
  17759. zscurrencytypedisplayunit:
  17760. type: string
  17761. required:
  17762. - userid
  17763. type: object
  17764. models.RegisterMoney:
  17765. properties:
  17766. amount:
  17767. description: 红包
  17768. type: number
  17769. type: object
  17770. models.RelatedTaAccount:
  17771. properties:
  17772. accountid:
  17773. description: 资金账户ID
  17774. type: integer
  17775. type: object
  17776. models.RoleMenu:
  17777. properties:
  17778. hasright:
  17779. description: 是否有权限 0-没有权限 1-有权限
  17780. type: integer
  17781. iconame:
  17782. description: 菜单图标
  17783. type: string
  17784. menutype:
  17785. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17786. type: integer
  17787. parentcode:
  17788. description: 上级资源代码
  17789. type: string
  17790. remark:
  17791. description: 菜单备注
  17792. type: string
  17793. resourcecode:
  17794. description: 菜单代码
  17795. type: string
  17796. resourcelevel:
  17797. description: 级别
  17798. type: integer
  17799. resourcename:
  17800. description: 菜单名称
  17801. type: string
  17802. roleid:
  17803. description: 角色id
  17804. type: integer
  17805. sort:
  17806. description: 排序
  17807. type: integer
  17808. subMenu:
  17809. description: 子级菜单(结构同上层一样, swag解析不出来)
  17810. items:
  17811. $ref: '#/definitions/models.RoleMenu'
  17812. type: array
  17813. url:
  17814. description: URL
  17815. type: string
  17816. userid:
  17817. description: 用户id
  17818. type: integer
  17819. type: object
  17820. models.SearchGoods:
  17821. properties:
  17822. goodscode:
  17823. description: 商品代码(内部)
  17824. type: string
  17825. goodsid:
  17826. description: 商品ID(自增ID SEQ_GOODS)
  17827. type: integer
  17828. goodsname:
  17829. description: 商品名称
  17830. type: string
  17831. marketid:
  17832. description: 所属市场ID
  17833. type: integer
  17834. marketname:
  17835. description: 市场名称
  17836. type: string
  17837. trademode:
  17838. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17839. 21:竞拍-大宗式 22:受托竞价
  17840. type: integer
  17841. required:
  17842. - goodscode
  17843. - goodsid
  17844. - goodsname
  17845. - marketid
  17846. - trademode
  17847. type: object
  17848. models.SellOrder:
  17849. properties:
  17850. accountid:
  17851. description: 资金账号
  17852. type: integer
  17853. applyid:
  17854. description: 申请单ID
  17855. type: integer
  17856. attachment1:
  17857. description: 附件1
  17858. type: string
  17859. attachment2:
  17860. description: 附件2
  17861. type: string
  17862. buyorsell:
  17863. description: 买卖 - 0:买 1:卖
  17864. type: integer
  17865. canbargain:
  17866. description: 是否可议价 - 0:不可 1:可
  17867. type: integer
  17868. cancelqty:
  17869. description: 撤销数量
  17870. type: integer
  17871. canceltime:
  17872. description: 撤销时间
  17873. type: string
  17874. cerno:
  17875. type: string
  17876. chargealgorithm:
  17877. description: 手续费收取方式 1:比率 2:固定
  17878. type: integer
  17879. chargealgorithmvalue:
  17880. description: 手续费设置值(交易所部分)
  17881. type: number
  17882. chargealgorithmvalue2:
  17883. description: 手续费设置值(会员部分)
  17884. type: number
  17885. clientordertime:
  17886. description: 客户端委托时间
  17887. type: string
  17888. cpcertno:
  17889. type: string
  17890. exchangerate:
  17891. description: 汇率[67]
  17892. type: number
  17893. firstratio:
  17894. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17895. type: number
  17896. fixedprice:
  17897. description: '[克拉单价]固定价格 - [挂牌]'
  17898. type: number
  17899. freezecharge:
  17900. description: 冻结手续费
  17901. type: number
  17902. freezefirstamount:
  17903. description: 冻结首付金额 - [摘牌]
  17904. type: number
  17905. freezemargin:
  17906. description: 冻结保证金
  17907. type: number
  17908. goodsno:
  17909. description: 商品编号
  17910. type: string
  17911. imagepath:
  17912. type: string
  17913. isQueryDiamond:
  17914. description: 是否钻石查询
  17915. type: boolean
  17916. isspecified:
  17917. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17918. type: integer
  17919. kppath:
  17920. type: string
  17921. kpweight:
  17922. type: string
  17923. marginalgorithm:
  17924. description: 保证金方式 - 1:比率 2:固定
  17925. type: integer
  17926. marginvalue:
  17927. description: 保证金设置值
  17928. type: number
  17929. marketid:
  17930. description: 市场ID
  17931. type: integer
  17932. marketprice:
  17933. type: string
  17934. orderamount:
  17935. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17936. type: number
  17937. ordertime:
  17938. description: 委托时间
  17939. type: string
  17940. performancetemplateid:
  17941. description: 履约计划模板ID
  17942. type: integer
  17943. price:
  17944. description: 价格
  17945. type: number
  17946. pricefactor:
  17947. description: 价格系数(浮动价时填写) - [挂牌]
  17948. type: number
  17949. pricemove:
  17950. description: 升贴水(浮动价时填写) - [挂牌]
  17951. type: number
  17952. priceper:
  17953. type: string
  17954. relatedwrtradeorderid:
  17955. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17956. type: integer
  17957. remainqty:
  17958. description: 剩余重量
  17959. type: number
  17960. remark:
  17961. type: string
  17962. retcode:
  17963. description: 错误代码
  17964. type: integer
  17965. sellusername:
  17966. description: 卖方(查询字段-模糊查询)
  17967. type: string
  17968. settingmaterial:
  17969. description: 镶嵌材料
  17970. type: string
  17971. size1:
  17972. type: string
  17973. size2:
  17974. type: string
  17975. size3:
  17976. type: string
  17977. sizedisplay:
  17978. description: 尺寸
  17979. type: string
  17980. stonedesc:
  17981. description: 配石描述
  17982. type: string
  17983. totalqty:
  17984. description: 总重量
  17985. type: number
  17986. tradedate:
  17987. description: 交易日(yyyyMMdd)
  17988. type: string
  17989. tradeprice:
  17990. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17991. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17992. type: number
  17993. unfreezecharge:
  17994. description: 解冻手续费
  17995. type: number
  17996. unfreezefirstamount:
  17997. description: 解冻首付金额 - [摘牌]
  17998. type: number
  17999. unfreezemargin:
  18000. description: 解冻保证金
  18001. type: number
  18002. userid:
  18003. description: 用户ID
  18004. type: integer
  18005. uuid:
  18006. description: 发起端唯一id
  18007. type: string
  18008. validtime:
  18009. description: 有效期限
  18010. type: string
  18011. validtype:
  18012. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18013. type: integer
  18014. warehousenamedisplay:
  18015. type: string
  18016. wrbargainid:
  18017. description: 议价申请单ID
  18018. type: integer
  18019. wrfactortypeid:
  18020. description: 仓单要素类型ID/商品ID(77)
  18021. type: integer
  18022. wrpath:
  18023. type: string
  18024. wrpricetype:
  18025. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18026. type: integer
  18027. wrstandardid:
  18028. description: 现货商品ID
  18029. type: integer
  18030. wrtradeorderid:
  18031. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18032. type: string
  18033. wrtradeorderstatus:
  18034. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  18035. type: integer
  18036. wrtradetype:
  18037. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18038. type: integer
  18039. wrtransferuserid:
  18040. description: 仓单受让用户 - [摘牌]
  18041. type: integer
  18042. zscategory:
  18043. description: 钻石分类 - 枚举”ZSCategory“
  18044. type: integer
  18045. zscategorydisplay:
  18046. description: 钻石分类 - 描述
  18047. type: string
  18048. zscerttypedisplay:
  18049. type: string
  18050. zsclaritytype1display:
  18051. type: string
  18052. zsclaritytype2display:
  18053. type: string
  18054. zscolortype1display:
  18055. type: string
  18056. zscolortype2display:
  18057. type: string
  18058. zscrystaltype:
  18059. type: string
  18060. zscrystaltypedisplay:
  18061. type: string
  18062. zscurrencytype:
  18063. description: 货币类型 - 枚举“ZSCurrencyType”
  18064. type: integer
  18065. zscurrencytypedisplay:
  18066. type: string
  18067. zscurrencytypedisplayunit:
  18068. type: string
  18069. zscuttype1display:
  18070. type: string
  18071. zscuttype2display:
  18072. type: string
  18073. zsczcolor1typedisplay:
  18074. type: string
  18075. zsczcolor2typedisplay:
  18076. type: string
  18077. zsczcolor3typedisplay:
  18078. type: string
  18079. zsfluorescencetype1display:
  18080. type: string
  18081. zsfluorescencetype2display:
  18082. type: string
  18083. zspolishtype1display:
  18084. type: string
  18085. zspolishtype2display:
  18086. type: string
  18087. zsshapetypedisplay:
  18088. type: string
  18089. zsstyletypedisplay:
  18090. type: string
  18091. zssymmetrytype1display:
  18092. type: string
  18093. zssymmetrytype2display:
  18094. type: string
  18095. type: object
  18096. models.SellOrderQueryReq:
  18097. properties:
  18098. origin:
  18099. description: 原产地
  18100. type: string
  18101. page:
  18102. description: 页码
  18103. type: integer
  18104. pagesize:
  18105. description: 每页大小
  18106. type: integer
  18107. total:
  18108. description: 总条数
  18109. type: integer
  18110. warehouseid:
  18111. description: 仓库ID
  18112. type: integer
  18113. weight1:
  18114. description: 总重量(克拉重量)-从
  18115. type: number
  18116. weight2:
  18117. description: 总重量(克拉重量)-至
  18118. type: number
  18119. weightavg1:
  18120. description: 平均单颗重量-从
  18121. type: number
  18122. weightavg2:
  18123. description: 平均单颗重量-至
  18124. type: number
  18125. zscategory:
  18126. description: 钻石分类 - 枚举”ZSCategory“
  18127. type: integer
  18128. zscerttype:
  18129. description: 证书类型
  18130. items:
  18131. type: string
  18132. type: array
  18133. zsclaritytype:
  18134. description: 净度
  18135. items:
  18136. type: integer
  18137. type: array
  18138. zscolortype:
  18139. description: 颜色
  18140. items:
  18141. type: integer
  18142. type: array
  18143. zscurrencytype:
  18144. description: 货币类型 - 枚举“ZSCurrencyType”
  18145. items:
  18146. type: string
  18147. type: array
  18148. zscuttype:
  18149. description: 切工
  18150. items:
  18151. type: integer
  18152. type: array
  18153. zsczcolor1type:
  18154. description: 彩钻颜色1
  18155. items:
  18156. type: string
  18157. type: array
  18158. zsfluorescencetype:
  18159. description: 荧光
  18160. items:
  18161. type: integer
  18162. type: array
  18163. zspolishtype:
  18164. description: 抛光度
  18165. items:
  18166. type: integer
  18167. type: array
  18168. zsshapetype:
  18169. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18170. items:
  18171. type: string
  18172. type: array
  18173. zsstyletype:
  18174. description: 款式
  18175. items:
  18176. type: string
  18177. type: array
  18178. zssymmetrytype:
  18179. description: 对称度
  18180. items:
  18181. type: integer
  18182. type: array
  18183. required:
  18184. - zscategory
  18185. type: object
  18186. models.Sitecolumnconfig:
  18187. properties:
  18188. columnname:
  18189. description: 栏目名称
  18190. type: string
  18191. columntype:
  18192. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18193. type: integer
  18194. creaedate:
  18195. description: 创建时间
  18196. type: string
  18197. creatorid:
  18198. description: 创建人
  18199. type: integer
  18200. id:
  18201. description: ID(SEQ_SITE_COLUMNCONFIG)
  18202. type: integer
  18203. isshow:
  18204. description: 是否展示 - 0:不展示 1:展示
  18205. type: integer
  18206. modifierid:
  18207. description: 操作人
  18208. type: integer
  18209. sort:
  18210. description: 排序
  18211. type: integer
  18212. updatedate:
  18213. description: 修改时间
  18214. type: string
  18215. type: object
  18216. models.Spotgoodsprice:
  18217. properties:
  18218. prespotgoodsprice:
  18219. description: 上日价格
  18220. type: number
  18221. spotgoodsprice:
  18222. description: 当前价格
  18223. type: number
  18224. tradedate:
  18225. description: 交易日(yyyyMMdd)
  18226. type: string
  18227. wrstandardcode:
  18228. description: 现货商品代码
  18229. type: string
  18230. wrstandardid:
  18231. description: 现货商品ID(通用则为0)
  18232. type: integer
  18233. wrstandardname:
  18234. description: 现货商品名称
  18235. type: string
  18236. type: object
  18237. models.Systemparam:
  18238. properties:
  18239. loginid:
  18240. description: 更新用户账号,登录账号
  18241. type: string
  18242. modifyflag:
  18243. description: 修改标志0 不允许修改 1 允许修改
  18244. type: integer
  18245. paramcode:
  18246. description: 参数代码
  18247. type: string
  18248. paramname:
  18249. description: 参数名
  18250. type: string
  18251. paramtype:
  18252. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  18253. type: integer
  18254. paramvalue:
  18255. description: 参数值
  18256. type: string
  18257. paramvalue2:
  18258. description: 参数值(CLOB)
  18259. type: string
  18260. regexpress:
  18261. description: 正则表达式
  18262. type: string
  18263. remark:
  18264. description: 备注
  18265. type: string
  18266. serverip:
  18267. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  18268. type: string
  18269. showflag:
  18270. description: 是否显示0 不显示 1 显示
  18271. type: integer
  18272. updatetime:
  18273. description: 更新时间
  18274. type: string
  18275. userid:
  18276. description: 更新用户ID
  18277. type: integer
  18278. required:
  18279. - paramcode
  18280. type: object
  18281. models.Szdz3convertconfig:
  18282. properties:
  18283. canin:
  18284. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  18285. type: integer
  18286. canout:
  18287. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  18288. type: integer
  18289. converttype:
  18290. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18291. 6:交易转花生米(不设置)
  18292. type: integer
  18293. createtime:
  18294. description: 创建时间
  18295. type: string
  18296. creatorid:
  18297. description: 创建人
  18298. type: integer
  18299. daymaxvalue:
  18300. description: 当日最大转入限制
  18301. type: number
  18302. freezedays:
  18303. description: 冻结天数 [5:花生米转交易]
  18304. type: integer
  18305. innergoodsid:
  18306. description: 内部商品ID[交易]
  18307. type: integer
  18308. inratio:
  18309. description: 目标值
  18310. type: integer
  18311. modifierid:
  18312. description: 修改人
  18313. type: integer
  18314. modifytime:
  18315. description: 修改时间
  18316. type: string
  18317. outergoodscode:
  18318. description: 外部商品代码[JD\PD]
  18319. type: string
  18320. outratio:
  18321. description: 源值
  18322. type: integer
  18323. pddecimalplace:
  18324. description: PD小数位
  18325. type: integer
  18326. timemaxvalue:
  18327. description: 单次最大转入限制
  18328. type: number
  18329. timeminvalue:
  18330. description: 单次最小转入限制
  18331. type: number
  18332. required:
  18333. - converttype
  18334. - innergoodsid
  18335. - outergoodscode
  18336. type: object
  18337. models.Szdz3searchwhitelist:
  18338. properties:
  18339. createtime:
  18340. description: 创建时间
  18341. type: string
  18342. creatorid:
  18343. description: 创建人
  18344. type: integer
  18345. modifierid:
  18346. description: 修改人
  18347. type: integer
  18348. modifytime:
  18349. description: 修改时间
  18350. type: string
  18351. userid:
  18352. description: 用户ID
  18353. type: integer
  18354. required:
  18355. - userid
  18356. type: object
  18357. models.TBGoods:
  18358. properties:
  18359. agreeunit:
  18360. description: 合约乘数
  18361. type: number
  18362. enumdicname:
  18363. description: 单位名称
  18364. type: string
  18365. goodscode:
  18366. description: 商品代码(内部)
  18367. type: string
  18368. goodsid:
  18369. description: 商品ID(自增ID SEQ_GOODS)
  18370. type: integer
  18371. goodsname:
  18372. description: 商品名称
  18373. type: string
  18374. type: object
  18375. models.TBGoodsGroup:
  18376. properties:
  18377. GDLST:
  18378. description: 商品列表
  18379. items:
  18380. $ref: '#/definitions/models.TBGoods'
  18381. type: array
  18382. convertratio:
  18383. description: 折算系数
  18384. type: number
  18385. enumdicname:
  18386. description: 单位名称
  18387. type: string
  18388. exexchangecode:
  18389. description: 交易所代码
  18390. type: string
  18391. exexchangename:
  18392. description: 交易所名称
  18393. type: string
  18394. goodsgroupid:
  18395. description: 商品组ID(自增ID)
  18396. type: integer
  18397. goodsgroupname:
  18398. description: 商品组名称
  18399. type: string
  18400. goodunitid:
  18401. description: 报价单位ID
  18402. type: integer
  18403. type: object
  18404. models.TBMiddleGoods:
  18405. properties:
  18406. GPLST:
  18407. description: 期货品种列表
  18408. items:
  18409. $ref: '#/definitions/models.TBGoodsGroup'
  18410. type: array
  18411. WDLST:
  18412. description: 商品信息列表(现货品类)
  18413. items:
  18414. $ref: '#/definitions/models.TBWrstandard'
  18415. type: array
  18416. areauserid:
  18417. description: 机构用户ID
  18418. type: integer
  18419. enumdicname:
  18420. description: 单位名称
  18421. type: string
  18422. goodsunitid:
  18423. description: 套保品种单位id
  18424. type: integer
  18425. middlegoodscode:
  18426. description: 套保品种代码
  18427. type: string
  18428. middlegoodsid:
  18429. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18430. type: integer
  18431. middlegoodsname:
  18432. description: 套保品种名称
  18433. type: string
  18434. needarbitrageratio:
  18435. description: 套利比率
  18436. type: number
  18437. needhedgeratio:
  18438. description: 套保比率
  18439. type: number
  18440. type: object
  18441. models.TBWrstandard:
  18442. properties:
  18443. convertratio:
  18444. description: 折算系数
  18445. type: number
  18446. deliverygoodsname:
  18447. description: 品种名称
  18448. type: string
  18449. enumdicname:
  18450. description: 单位名称
  18451. type: string
  18452. vatrate:
  18453. description: 增值税率
  18454. type: number
  18455. wrstandardcode:
  18456. description: 现货商品代码
  18457. type: string
  18458. wrstandardid:
  18459. description: 现货商品ID(SEQ_WRSTANDARD)
  18460. type: integer
  18461. wrstandardname:
  18462. description: 现货商品名称
  18463. type: string
  18464. type: object
  18465. models.THJDeliveryMode:
  18466. properties:
  18467. enumdicname:
  18468. description: 枚举项名称
  18469. type: string
  18470. enumitemname:
  18471. description: 枚举项值
  18472. type: integer
  18473. type: object
  18474. models.THJDeliveryMonth:
  18475. properties:
  18476. enddate:
  18477. description: 预售结束日期(yyyy-mm-dd)
  18478. type: string
  18479. endmonth:
  18480. description: 预售结束月份(yyyy-mm)
  18481. type: string
  18482. orderqty:
  18483. description: 委托数量
  18484. type: integer
  18485. presaleapplyid:
  18486. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18487. type: string
  18488. remainqty:
  18489. description: 可用数量
  18490. type: integer
  18491. tradeqty:
  18492. description: 成交数量
  18493. type: integer
  18494. unitprice:
  18495. description: '[参考价]商品单价'
  18496. type: number
  18497. type: object
  18498. models.THJGoodsDetailRsp:
  18499. properties:
  18500. goodsinfo:
  18501. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18502. description: 商品信息
  18503. spotgoodspricelogs:
  18504. description: 历史价格走势
  18505. items:
  18506. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18507. type: array
  18508. type: object
  18509. models.THJPresaleApplyDeposit:
  18510. properties:
  18511. depositid:
  18512. description: 自增ID autoid
  18513. type: string
  18514. depositrate:
  18515. description: 定金比例
  18516. type: number
  18517. discountamount:
  18518. description: 优惠金额(每吨)
  18519. type: number
  18520. presaleapplyid:
  18521. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18522. type: string
  18523. type: object
  18524. models.THJProduct:
  18525. properties:
  18526. bannerpicurl:
  18527. description: Banner图(逗号分隔)
  18528. type: string
  18529. pictureurls:
  18530. description: 详情图片(逗号分隔)
  18531. type: string
  18532. thumurls:
  18533. description: 缩略图片(1:1)(逗号分隔)
  18534. type: string
  18535. wrstandardcode:
  18536. description: 现货商品代码
  18537. type: string
  18538. wrstandardid:
  18539. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18540. type: string
  18541. wrstandardname:
  18542. description: 现货商品名称
  18543. type: string
  18544. type: object
  18545. models.THJPurchaseTradeDetail_Date:
  18546. properties:
  18547. depositrate:
  18548. description: 定金比例
  18549. type: number
  18550. enddate:
  18551. description: 预售结束日期
  18552. type: string
  18553. endmonth:
  18554. description: 交收月份(yyyy-mm)
  18555. type: string
  18556. takestartdate:
  18557. description: 提货开始日期
  18558. type: string
  18559. tradeprice:
  18560. description: 摘牌价格
  18561. type: number
  18562. tradeqty:
  18563. description: 摘牌数量
  18564. type: integer
  18565. transferamount:
  18566. description: 转让金额
  18567. type: number
  18568. transferid:
  18569. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18570. type: string
  18571. transferprice:
  18572. description: 转让价格
  18573. type: number
  18574. type: object
  18575. models.THJPurchaseTradeDetail_Goodsinfo:
  18576. properties:
  18577. pictureurls:
  18578. description: 详情图片(逗号分隔)
  18579. type: string
  18580. refgoodscode:
  18581. description: 参考商品代码
  18582. type: string
  18583. refgoodsid:
  18584. description: 参考商品ID
  18585. type: integer
  18586. unitid:
  18587. description: 现货商品单位ID
  18588. type: integer
  18589. wrstandardcode:
  18590. description: 现货商品代码
  18591. type: string
  18592. wrstandardid:
  18593. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18594. type: integer
  18595. wrstandardname:
  18596. description: 现货商品名称(模糊查询)
  18597. type: string
  18598. type: object
  18599. models.THJPurchaseTradeDetailRsp:
  18600. properties:
  18601. deliverydate:
  18602. description: 交割日期
  18603. items:
  18604. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18605. type: array
  18606. goodsinfo:
  18607. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18608. description: 商品信息
  18609. history:
  18610. description: 历史价格走势(历史数据日线)
  18611. items:
  18612. $ref: '#/definitions/models.HistoryData'
  18613. type: array
  18614. type: object
  18615. models.THJSigninReq:
  18616. properties:
  18617. userid:
  18618. description: 用户ID
  18619. type: integer
  18620. required:
  18621. - userid
  18622. type: object
  18623. models.THJSigninRsp:
  18624. properties:
  18625. signinstatus:
  18626. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18627. type: integer
  18628. type: object
  18629. models.THJSpotGoodsPriceLog:
  18630. properties:
  18631. spotgoodsprice:
  18632. description: 现货价格
  18633. type: number
  18634. tradedate:
  18635. description: 交易日(yyyyMMdd)
  18636. type: string
  18637. type: object
  18638. models.THJTradeData:
  18639. properties:
  18640. accountname:
  18641. description: 被推荐人
  18642. type: string
  18643. buytradelot:
  18644. description: 购买笔数
  18645. type: integer
  18646. buytradeqty:
  18647. description: 购买数量
  18648. type: number
  18649. marketid:
  18650. description: 市场ID 采购-64201 供求-65201
  18651. type: integer
  18652. reckondate:
  18653. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18654. type: string
  18655. selltradelot:
  18656. description: 销售笔数
  18657. type: integer
  18658. selltradeqty:
  18659. description: 销售数量
  18660. type: number
  18661. userid:
  18662. description: 用户ID
  18663. type: integer
  18664. wrstandardname:
  18665. description: 现货商品名称
  18666. type: string
  18667. required:
  18668. - marketid
  18669. - userid
  18670. type: object
  18671. models.THJUserLevelInfo:
  18672. properties:
  18673. appup:
  18674. description: 晋升已累计的数量
  18675. type: integer
  18676. checkday:
  18677. description: 最近一次考核日
  18678. type: string
  18679. levelgroup:
  18680. description: 当前等级
  18681. type: string
  18682. nextlevelgroup:
  18683. description: 下一等级
  18684. type: string
  18685. notyet:
  18686. description: 晋升还差多少数量
  18687. type: integer
  18688. progress:
  18689. description: 进度
  18690. type: number
  18691. type: object
  18692. models.THJWrstandard:
  18693. properties:
  18694. areauserid:
  18695. description: 所属机构
  18696. type: integer
  18697. bannerpicurl:
  18698. description: Banner图(逗号分隔)
  18699. type: string
  18700. convertfactor:
  18701. description: 标仓系数
  18702. type: number
  18703. deliverygoodsid:
  18704. description: 现货品种ID
  18705. type: integer
  18706. isvalid:
  18707. description: 是否有效 - 0:无效 1:有效
  18708. type: integer
  18709. minivalue:
  18710. description: 最小变动值
  18711. type: integer
  18712. minivaluedp:
  18713. description: 最小变动值小数位
  18714. type: integer
  18715. pictureurls:
  18716. description: 详情图片(逗号分隔)
  18717. type: string
  18718. realminivalue:
  18719. description: 实际最小变动值
  18720. type: integer
  18721. realminivaluedp:
  18722. description: 实际最小变动值小数位
  18723. type: integer
  18724. storagefee:
  18725. description: '仓储费(固定: 111)'
  18726. type: number
  18727. thumurls:
  18728. description: 缩略图片(1:1)(逗号分隔)
  18729. type: string
  18730. unitid:
  18731. description: 现货商品单位ID
  18732. type: integer
  18733. vatrate:
  18734. description: 现货增值税率
  18735. type: number
  18736. wrsstatus:
  18737. description: 状态 - 作废 - 0:未激活 1:正常
  18738. type: integer
  18739. wrstandardcode:
  18740. description: 现货商品代码
  18741. type: string
  18742. wrstandardid:
  18743. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18744. type: integer
  18745. wrstandardname:
  18746. description: 现货商品名称(模糊查询)
  18747. type: string
  18748. type: object
  18749. models.THJWrstandardDetail_GoodsInfo:
  18750. properties:
  18751. bannerpicurl:
  18752. description: Banner图(逗号分隔)
  18753. type: string
  18754. pictureurls:
  18755. description: 详情图片(逗号分隔)
  18756. type: string
  18757. spotgoodsprice:
  18758. description: 现货价格
  18759. type: number
  18760. unitid:
  18761. description: 现货商品单位ID
  18762. type: integer
  18763. wrstandardcode:
  18764. description: 现货商品代码
  18765. type: string
  18766. wrstandardid:
  18767. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18768. type: integer
  18769. wrstandardname:
  18770. description: 现货商品名称
  18771. type: string
  18772. type: object
  18773. models.THJWrstandardDetailRsp:
  18774. properties:
  18775. deliverymodes:
  18776. description: 交割方式
  18777. items:
  18778. $ref: '#/definitions/models.THJDeliveryMode'
  18779. type: array
  18780. deliverymonth:
  18781. description: 交割月份
  18782. items:
  18783. $ref: '#/definitions/models.THJDeliveryMonth'
  18784. type: array
  18785. goodsinfo:
  18786. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18787. description: 商品信息
  18788. presaleapplydeposits:
  18789. description: 支付方式
  18790. items:
  18791. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18792. type: array
  18793. spotgoodspricelogs:
  18794. description: 历史价格走势
  18795. items:
  18796. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18797. type: array
  18798. type: object
  18799. models.Taaccount:
  18800. properties:
  18801. accountflag:
  18802. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18803. type: integer
  18804. accountid:
  18805. description: 资金账户ID
  18806. type: integer
  18807. accountname:
  18808. description: 账户名称
  18809. type: string
  18810. balance:
  18811. description: 期初余额
  18812. type: number
  18813. capitalbalance:
  18814. description: 本金余额[外部子账户实际出入金余额]
  18815. type: number
  18816. changeflag:
  18817. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18818. type: integer
  18819. changetime:
  18820. description: 账户状态变更时间
  18821. type: string
  18822. closepl:
  18823. description: 今日平仓盈亏
  18824. type: number
  18825. creditdecrease:
  18826. description: 今日授信减少
  18827. type: number
  18828. creditincrease:
  18829. description: 今日授信增加
  18830. type: number
  18831. curamount:
  18832. description: 总市值(从持仓中统计)
  18833. type: number
  18834. currencyid:
  18835. description: 货币ID
  18836. type: integer
  18837. currentbalance:
  18838. description: 期末余额
  18839. type: number
  18840. freezecharge:
  18841. description: 手续费冻结
  18842. type: number
  18843. freezemargin:
  18844. description: 冻结保证金
  18845. type: number
  18846. fromaccountid:
  18847. description: 所属上级账户
  18848. type: integer
  18849. inamount:
  18850. description: 今日入金金额(包括三方入金)
  18851. type: number
  18852. ismain:
  18853. description: 是否母账号 0:不是母账户 1:是母账户
  18854. type: integer
  18855. ismarketaccount:
  18856. description: 是否机构接单账号 0:不是 1:是
  18857. type: integer
  18858. isreckonaccount:
  18859. description: 是否机构分润账号 0:不是 1:是
  18860. type: integer
  18861. mortgagecredit:
  18862. description: 授信金额
  18863. type: number
  18864. orifreezecharge:
  18865. description: 期初手续费冻结
  18866. type: number
  18867. orifreezemargin:
  18868. description: 期初冻结保证金
  18869. type: number
  18870. orimortgagecredit:
  18871. description: 期初授信金额
  18872. type: number
  18873. oriothercredit:
  18874. description: 期初其它授信金额
  18875. type: number
  18876. oriotherfreezemargin:
  18877. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18878. type: number
  18879. orioutamountfreeze:
  18880. description: 期初出金冻结
  18881. type: number
  18882. oriusedmargin:
  18883. description: 期初占用保证金
  18884. type: number
  18885. othercredit:
  18886. description: 其它授信金额
  18887. type: number
  18888. othercreditdecrease:
  18889. description: 今日其它授信减少
  18890. type: number
  18891. othercreditincrease:
  18892. description: 今日其它授信增加
  18893. type: number
  18894. otherfreezemargin:
  18895. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18896. type: number
  18897. otherincome:
  18898. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18899. type: number
  18900. otherpay:
  18901. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18902. type: number
  18903. outamount:
  18904. description: 今日出金金额(包括三方出金)
  18905. type: number
  18906. outamountfreeze:
  18907. description: 出金冻结
  18908. type: number
  18909. outthreshold:
  18910. description: 出金阈值
  18911. type: number
  18912. parentaccountid:
  18913. description: 所属根账号
  18914. type: integer
  18915. paycharge:
  18916. description: 今日手续费支出
  18917. type: number
  18918. relatedaccountstatus:
  18919. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18920. type: integer
  18921. relateduserid:
  18922. description: 关联用户
  18923. type: integer
  18924. remainamount:
  18925. description: 融资额(从融资合同中统计)
  18926. type: number
  18927. serivcegroup:
  18928. description: 服务分组
  18929. type: integer
  18930. signstatus:
  18931. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18932. type: integer
  18933. sublevelpath:
  18934. description: 账号层级路径(逗号分隔,首尾加逗号)
  18935. type: string
  18936. taaccounttype:
  18937. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18938. type: integer
  18939. thirdinamount:
  18940. description: 今日三方入金
  18941. type: number
  18942. thirdoutamount:
  18943. description: 今日三方出金
  18944. type: number
  18945. tradestatus:
  18946. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18947. type: integer
  18948. tradestatuschangetime:
  18949. description: 激活时间
  18950. type: string
  18951. transferamount:
  18952. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18953. type: number
  18954. usedmargin:
  18955. description: 占用保证金
  18956. type: number
  18957. userid:
  18958. description: 用户ID
  18959. type: integer
  18960. required:
  18961. - accountid
  18962. - userid
  18963. type: object
  18964. models.Tablecolumnconfig:
  18965. properties:
  18966. aligntype:
  18967. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18968. type: integer
  18969. autoid:
  18970. description: AutoID
  18971. type: integer
  18972. columnfield:
  18973. description: 列字段
  18974. type: string
  18975. columntitle:
  18976. description: 列Title
  18977. type: string
  18978. columnwidth:
  18979. description: 列宽
  18980. type: string
  18981. fixed:
  18982. description: 固定类型 - 空 | left | right
  18983. type: string
  18984. formatterstring:
  18985. description: 格式化字符
  18986. type: string
  18987. formattertype:
  18988. description: 格式化类型
  18989. type: string
  18990. groupname:
  18991. description: 表头分组名称
  18992. type: string
  18993. ismerge:
  18994. description: 是否合并显示 - 0:不合并 1:合并
  18995. type: integer
  18996. isshow:
  18997. description: 是否显示 - 0:不显示 1:显示
  18998. type: integer
  18999. needsummary:
  19000. description: 是否需要汇总 - 0:不需要 1:需要
  19001. type: integer
  19002. orderindex:
  19003. description: 顺序
  19004. type: integer
  19005. remark:
  19006. description: 备注
  19007. type: string
  19008. summarytype:
  19009. description: 汇总类型 - 1:加总 2:最后一个
  19010. type: integer
  19011. tablekey:
  19012. description: 列表Key
  19013. type: string
  19014. required:
  19015. - autoid
  19016. type: object
  19017. models.Thjpurchasetradedetail:
  19018. properties:
  19019. buyaccountid:
  19020. description: 买方账号ID
  19021. type: integer
  19022. buychargevalue:
  19023. description: 买方到期手续费
  19024. type: number
  19025. buyconfirmremark:
  19026. description: 买方确认备注
  19027. type: string
  19028. buyconfirmtime:
  19029. description: 买方确认时间
  19030. type: string
  19031. buyfreezecharge:
  19032. description: 买方摘牌冻结手续费
  19033. type: number
  19034. buyuserid:
  19035. description: 买方用户ID
  19036. type: integer
  19037. contactinfo:
  19038. description: 联系方式
  19039. type: string
  19040. contactname:
  19041. description: 联系人姓名
  19042. type: string
  19043. contractaddrbuy:
  19044. description: 贸易合同地址(买家)
  19045. type: string
  19046. contractaddrsell:
  19047. description: 贸易合同地址(卖家)
  19048. type: string
  19049. createtime:
  19050. description: 预售挂牌时间
  19051. type: string
  19052. deliverygoodsid:
  19053. description: 现货品种ID
  19054. type: integer
  19055. depositrate:
  19056. description: 定金比例
  19057. type: number
  19058. desaddress:
  19059. description: 目的地地址
  19060. type: string
  19061. discountamount:
  19062. description: 优惠总金额(优惠金额*TradeQty)
  19063. type: number
  19064. enddate:
  19065. description: 到期日期
  19066. type: string
  19067. enddatemonth:
  19068. description: 交收月份(提货日期)
  19069. type: string
  19070. handlestatus:
  19071. description: 处理状态
  19072. type: integer
  19073. lastamount:
  19074. description: 到期总货款 = 到期价格 * 摘牌数量
  19075. type: number
  19076. lastprice:
  19077. description: '[实际价]到期价格'
  19078. type: number
  19079. lastpricedate:
  19080. description: 到期价格日期 - 暂不使用
  19081. type: string
  19082. marketid:
  19083. description: 市场ID
  19084. type: integer
  19085. orderstatus:
  19086. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19087. (枚举:THJOrderStatus)
  19088. type: integer
  19089. payeddeposit:
  19090. description: '[定金]买方已付定金(预付款)'
  19091. type: number
  19092. payedtradedate:
  19093. description: 支付尾款成功交易日
  19094. type: string
  19095. presaleapplyid:
  19096. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19097. type: string
  19098. presalestatus:
  19099. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19100. type: integer
  19101. receiptinfo:
  19102. description: 发票信息
  19103. type: string
  19104. remainamount:
  19105. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19106. type: number
  19107. sellaccountid:
  19108. description: 卖方账号ID
  19109. type: integer
  19110. sellchargevalue:
  19111. description: 卖方到期手续费
  19112. type: number
  19113. sellconfirmattach:
  19114. description: 卖方确认附件
  19115. type: string
  19116. sellconfirmremark:
  19117. description: 卖方确认备注
  19118. type: string
  19119. sellconfirmtime:
  19120. description: 卖方确认时间
  19121. type: string
  19122. sellconfirmtradedate:
  19123. description: 卖方确认交易日
  19124. type: string
  19125. selluserid:
  19126. description: 卖方用户ID
  19127. type: integer
  19128. thjdeliverymode:
  19129. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19130. type: integer
  19131. thjdeliverymodedisplay:
  19132. description: 提货方式
  19133. type: string
  19134. thjorderstatusdisplay:
  19135. description: 状态
  19136. type: string
  19137. tradeamount:
  19138. description: 摘牌总货款
  19139. type: number
  19140. tradedate:
  19141. description: 交易日(yyyyMMdd)
  19142. type: string
  19143. tradeprice:
  19144. description: 摘牌价格 - 参考价
  19145. type: number
  19146. tradeqty:
  19147. description: '[预售价]摘牌数量'
  19148. type: integer
  19149. tradetime:
  19150. description: 摘牌时间(委托时间)
  19151. type: string
  19152. transferprice:
  19153. description: 转让价格 - 购买价
  19154. type: number
  19155. unitid:
  19156. description: 商品单位
  19157. type: integer
  19158. warehouseid:
  19159. description: 仓库ID
  19160. type: integer
  19161. warehousename:
  19162. description: 仓库名称
  19163. type: string
  19164. wrfactortypeid:
  19165. description: 仓单要素类型ID
  19166. type: string
  19167. wrstandardid:
  19168. description: 现货商品ID
  19169. type: integer
  19170. wrstandardname:
  19171. description: 现货商品名称
  19172. type: string
  19173. wrtradedetailid:
  19174. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19175. type: string
  19176. required:
  19177. - buyuserid
  19178. type: object
  19179. models.Thjpurchasetransfer:
  19180. properties:
  19181. buyaccountid:
  19182. description: 买方账号ID
  19183. type: integer
  19184. buyuserid:
  19185. description: 买方用户ID
  19186. type: integer
  19187. contractaddr:
  19188. description: 协议转让合同地址
  19189. type: string
  19190. createtime:
  19191. description: 转让挂牌时间
  19192. type: string
  19193. deliverygoodsid:
  19194. description: 现货品种ID
  19195. type: integer
  19196. enddate:
  19197. description: 到期日期
  19198. type: string
  19199. enddatemonth:
  19200. description: 交收月份(提货日期)
  19201. type: string
  19202. handlestatus:
  19203. description: 处理状态
  19204. type: integer
  19205. marketid:
  19206. description: 市场ID(固定为(64202)
  19207. type: integer
  19208. ordertype:
  19209. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19210. type: integer
  19211. payeddeposit:
  19212. description: 买方已付定金(预付款)
  19213. type: number
  19214. presaleapplyid:
  19215. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19216. type: string
  19217. presalestatus:
  19218. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19219. type: integer
  19220. remark:
  19221. description: 备注
  19222. type: string
  19223. sellaccountid:
  19224. description: 卖方账号ID
  19225. type: integer
  19226. sellcharge:
  19227. description: 卖方手续费值
  19228. type: number
  19229. sellchargealgorithm:
  19230. description: 卖方手续费收取方式 1:比率 2:固定
  19231. type: integer
  19232. sellchargealgorithmvalue:
  19233. description: 手续费设置值(交易所部分)
  19234. type: number
  19235. selluserid:
  19236. description: 卖方用户ID
  19237. type: integer
  19238. tradedate:
  19239. description: 交易日(yyyyMMdd)
  19240. type: string
  19241. tradeprice:
  19242. description: 参考价
  19243. type: number
  19244. transferamount:
  19245. description: 转让金额
  19246. type: number
  19247. transferid:
  19248. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19249. type: string
  19250. transferprice:
  19251. description: 转让价格
  19252. type: number
  19253. transferqty:
  19254. description: 数量
  19255. type: integer
  19256. transferstatus:
  19257. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19258. type: integer
  19259. transfertradedate:
  19260. description: 转让交易日
  19261. type: string
  19262. transfertradetime:
  19263. description: 转让成交时间
  19264. type: string
  19265. unitid:
  19266. description: 现货商品单位ID
  19267. type: integer
  19268. warehouseid:
  19269. description: 仓库ID
  19270. type: integer
  19271. wrfactortypeid:
  19272. description: 仓单要素类型ID
  19273. type: string
  19274. wrstandardid:
  19275. description: 现货商品ID
  19276. type: integer
  19277. wrstandardname:
  19278. description: 现货商品名称
  19279. type: string
  19280. wrtradedetailid:
  19281. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19282. type: string
  19283. required:
  19284. - ordertype
  19285. type: object
  19286. models.ThjpurchasetransferDetail:
  19287. properties:
  19288. buyusername:
  19289. description: 受让人
  19290. type: string
  19291. contactinfo:
  19292. description: 联系方式
  19293. type: string
  19294. contactname:
  19295. description: 联系人姓名
  19296. type: string
  19297. contractaddr:
  19298. description: 协议转让合同地址
  19299. type: string
  19300. contractaddrbuy:
  19301. description: 贸易合同地址(买家)
  19302. type: string
  19303. contractaddrsell:
  19304. description: 贸易合同地址(卖家)
  19305. type: string
  19306. createtime:
  19307. description: 转让委托时间
  19308. type: string
  19309. depositrate:
  19310. description: 定金比例
  19311. type: number
  19312. desaddress:
  19313. description: 目的地地址
  19314. type: string
  19315. enddate:
  19316. description: 到期日期
  19317. type: string
  19318. enddatemonth:
  19319. description: 交收月份(提货日期)
  19320. type: string
  19321. lastprice:
  19322. description: '[实际价]到期价格'
  19323. type: number
  19324. payeddeposit:
  19325. description: 买方已付定金(预付款(含定金))
  19326. type: number
  19327. receiptinfo:
  19328. description: 发票信息
  19329. type: string
  19330. sellusername:
  19331. description: 转让人
  19332. type: string
  19333. thjdeliverymode:
  19334. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19335. type: integer
  19336. tradeprice:
  19337. description: 预售价格
  19338. type: number
  19339. transferamount:
  19340. description: 转让金额
  19341. type: number
  19342. transferid:
  19343. description: 转让单号
  19344. type: string
  19345. transferprice:
  19346. description: 转让价格
  19347. type: number
  19348. transferqty:
  19349. description: 转让数量
  19350. type: integer
  19351. transferstatus:
  19352. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19353. type: integer
  19354. transfertradetime:
  19355. description: 转让成交时间
  19356. type: string
  19357. warehousename:
  19358. description: 仓库名称
  19359. type: string
  19360. wrstandardcode:
  19361. description: 现货商品代码
  19362. type: string
  19363. wrstandardid:
  19364. description: 现货商品ID
  19365. type: integer
  19366. wrstandardname:
  19367. description: 现货商品名称
  19368. type: string
  19369. wrtradedetailid:
  19370. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19371. type: string
  19372. type: object
  19373. models.Thjscoreconfig:
  19374. properties:
  19375. parma1:
  19376. description: 参数1
  19377. type: integer
  19378. parma2:
  19379. description: 参数2
  19380. type: integer
  19381. parma3:
  19382. description: 参数3
  19383. type: integer
  19384. parma4:
  19385. description: 参数4
  19386. type: integer
  19387. parma5:
  19388. description: 参数5
  19389. type: integer
  19390. parma6:
  19391. description: 参数6
  19392. type: integer
  19393. parma7:
  19394. description: 参数6
  19395. type: integer
  19396. scoreconfigtype:
  19397. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19398. 7:抽奖得红包
  19399. type: integer
  19400. type: object
  19401. models.TjmdHolderDetailTradeInfo:
  19402. properties:
  19403. agreeunit:
  19404. description: 合约乘数
  19405. type: number
  19406. buyaccountid:
  19407. description: 买方账户
  19408. type: string
  19409. buyusername:
  19410. description: 买方
  19411. type: string
  19412. delistingdate:
  19413. description: 最后结算日
  19414. type: string
  19415. expiredate:
  19416. description: 到期结算价定价日
  19417. type: string
  19418. exprieprice:
  19419. description: 到期清算价格
  19420. type: string
  19421. goodscode:
  19422. description: 商品代码
  19423. type: string
  19424. goodsid:
  19425. description: 商品ID
  19426. type: integer
  19427. goodsname:
  19428. description: 商品名称(交易标的)
  19429. type: string
  19430. lasttradedate:
  19431. description: 最后交易日
  19432. type: string
  19433. listingdate:
  19434. description: 开始交易日
  19435. type: string
  19436. openprice:
  19437. description: 成交价
  19438. type: number
  19439. openqty:
  19440. description: 交易数量
  19441. type: integer
  19442. sellaccountid:
  19443. description: 卖方账户
  19444. type: string
  19445. sellusername:
  19446. description: 卖方
  19447. type: string
  19448. tradeamount:
  19449. description: 初始名义价值
  19450. type: number
  19451. tradedate:
  19452. description: 成交日期
  19453. type: string
  19454. tradeid:
  19455. description: 成交编号
  19456. type: string
  19457. type: object
  19458. models.TjmdMarketSection:
  19459. properties:
  19460. marketsectionid:
  19461. description: 市场版块ID(SEQ_MARKETSECTION)
  19462. type: integer
  19463. marketsectionname:
  19464. description: 市场版块名称
  19465. type: string
  19466. mlist:
  19467. description: 市场列表(板块下面有多少个市场)
  19468. items:
  19469. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19470. type: array
  19471. orderindex:
  19472. description: 排序
  19473. type: integer
  19474. pictureurl:
  19475. description: 图片url, 规格(90*90)
  19476. type: string
  19477. remark:
  19478. description: 备注
  19479. type: string
  19480. type: object
  19481. models.TjmdMarketSectionConfig:
  19482. properties:
  19483. auctionwrtype:
  19484. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19485. type: integer
  19486. canacceptquote:
  19487. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19488. type: integer
  19489. cangoodsexercise:
  19490. description: '[期权]是否可现货行权- 0:否 1:是'
  19491. type: integer
  19492. cangoodsexercisetype:
  19493. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19494. type: integer
  19495. canmanualquotestrike:
  19496. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19497. type: integer
  19498. canmutistage:
  19499. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19500. type: integer
  19501. canpreexercise:
  19502. description: '[期权]是否可预申报- 0:否 1:是'
  19503. type: integer
  19504. clearinterval:
  19505. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19506. type: integer
  19507. contracttmp:
  19508. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19509. type: string
  19510. exchareaid:
  19511. description: 所属交易所,可以没有
  19512. type: integer
  19513. financemarketid:
  19514. description: 融资回购市场ID [仓单贸易]
  19515. type: integer
  19516. goodstype:
  19517. description: 商品类型 - 1:交易商品 2:仓单商品
  19518. type: integer
  19519. hasrebate:
  19520. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19521. type: integer
  19522. hastradecredit:
  19523. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19524. type: integer
  19525. haswr:
  19526. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19527. type: integer
  19528. isdeductmargin:
  19529. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19530. type: integer
  19531. isrecordsource:
  19532. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19533. type: integer
  19534. isreleasemargin:
  19535. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19536. type: integer
  19537. isupdatereckonprice:
  19538. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19539. type: integer
  19540. listingmode:
  19541. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19542. type: integer
  19543. marginformula:
  19544. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19545. type: integer
  19546. marginformula2:
  19547. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19548. type: integer
  19549. marketid:
  19550. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19551. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19552. type: integer
  19553. marketname:
  19554. description: 市场名称
  19555. type: string
  19556. marketsectionid:
  19557. description: 市场版块ID(SEQ_MARKETSECTION)
  19558. type: integer
  19559. marketserviceid:
  19560. description: 市场服务ID
  19561. type: integer
  19562. marketstatus:
  19563. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19564. type: integer
  19565. markettype:
  19566. description: 市场类型- 1:非交易服务 2:交易服务
  19567. type: integer
  19568. matchermode:
  19569. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19570. type: integer
  19571. nowrquotaflag:
  19572. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19573. type: integer
  19574. openmethod:
  19575. description: 开盘模式 - 0 自动 1手动
  19576. type: integer
  19577. orderindex:
  19578. description: 排序
  19579. type: integer
  19580. otcuserid:
  19581. description: 场外期权做市商[场外期权]
  19582. type: integer
  19583. outersynctime:
  19584. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19585. type: string
  19586. paylaterflag:
  19587. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19588. type: integer
  19589. pendingflag:
  19590. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19591. type: integer
  19592. pendingtime:
  19593. description: 待开市时间[通道交易-对冲](HH:mm)
  19594. type: string
  19595. performancetempid:
  19596. description: 履约计划模板ID - 作废
  19597. type: integer
  19598. premiumquotemode:
  19599. description: 权利金报价方式 - 1:自动 2:手动
  19600. type: integer
  19601. rebateratio:
  19602. description: 返利比率[竞价式]
  19603. type: number
  19604. reckonorder:
  19605. description: 结算顺序
  19606. type: integer
  19607. reckonpricealgorithm:
  19608. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19609. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19610. type: integer
  19611. reckonpriceparam:
  19612. description: 结算价参数
  19613. type: integer
  19614. reckontime:
  19615. description: 结算时间[通道交易-对冲](HH:mm)
  19616. type: string
  19617. roleprioritytype:
  19618. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19619. type: integer
  19620. selllistingauditflag:
  19621. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19622. type: integer
  19623. trademarkettype:
  19624. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19625. type: integer
  19626. trademode:
  19627. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19628. 21:竞拍-大宗式 22:受托竞价
  19629. type: integer
  19630. tradeproperty:
  19631. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19632. 8:场外期权
  19633. type: integer
  19634. tradetype:
  19635. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19636. type: integer
  19637. updatereckonpriceinterval:
  19638. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19639. type: integer
  19640. type: object
  19641. models.TjmdQuoteGoods:
  19642. properties:
  19643. buyqty:
  19644. description: 买量(暂不做, 无值, 保留字段)
  19645. type: number
  19646. decimalplace:
  19647. description: 报价小数位
  19648. type: integer
  19649. goodscode:
  19650. description: 合约代码
  19651. type: string
  19652. goodsgroupid:
  19653. description: 商品组ID(自增ID)
  19654. type: integer
  19655. goodsgroupname:
  19656. description: 商品组名称
  19657. type: string
  19658. goodsid:
  19659. description: 合约id
  19660. type: integer
  19661. goodsname:
  19662. description: 合约名称
  19663. type: string
  19664. refgoodscode:
  19665. description: 标的合约代码
  19666. type: string
  19667. refgoodsid:
  19668. description: 标的合约id
  19669. type: integer
  19670. refgoodsname:
  19671. description: 标的合约名称
  19672. type: string
  19673. sellqty:
  19674. description: 卖量(暂不做, 无值, 保留字段)
  19675. type: number
  19676. type: object
  19677. models.TjmdTodayAccountMargin:
  19678. properties:
  19679. accountid:
  19680. description: 账号ID
  19681. type: integer
  19682. goodsid:
  19683. description: 商品ID
  19684. type: integer
  19685. infoc:
  19686. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19687. description: 配置参数
  19688. marketid:
  19689. description: 市场ID
  19690. type: integer
  19691. type: object
  19692. models.TjmdTradeOrderDetail:
  19693. properties:
  19694. buyorsell:
  19695. description: 买卖方向 0-买 1-卖
  19696. type: integer
  19697. goodsid:
  19698. description: 商品id
  19699. type: integer
  19700. marketmaxsub:
  19701. description: 市价最大偏移范围 [浮动价 - 点差]
  19702. type: number
  19703. orderid:
  19704. description: 委托单号
  19705. type: string
  19706. orderprice:
  19707. description: 期初均价
  19708. type: number
  19709. orderqty:
  19710. description: 委托数量
  19711. type: integer
  19712. pricemode:
  19713. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19714. type: integer
  19715. userid:
  19716. description: 用户id
  19717. type: integer
  19718. username:
  19719. description: 用户名称(已脱敏)
  19720. type: string
  19721. type: object
  19722. models.TjmdTransferApply:
  19723. properties:
  19724. applyid:
  19725. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19726. type: integer
  19727. applystatus:
  19728. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19729. type: integer
  19730. applytime:
  19731. description: 申请时间(时间)
  19732. type: string
  19733. auditremark:
  19734. description: 审核备注(拒绝原因?)
  19735. type: string
  19736. begindate:
  19737. description: 开始交易日(yyyymmdd)
  19738. type: string
  19739. buyorsell:
  19740. description: 买卖 - 0:买 1:卖
  19741. type: integer
  19742. enddate:
  19743. description: 结束交易日(yyyymmdd)
  19744. type: string
  19745. goodscode:
  19746. description: 商品代码
  19747. type: string
  19748. goodsid:
  19749. description: 商品ID
  19750. type: integer
  19751. goodsname:
  19752. description: 商品名称
  19753. type: string
  19754. marketid:
  19755. description: 市场ID
  19756. type: integer
  19757. qty:
  19758. description: 期初均价
  19759. type: number
  19760. tradeid:
  19761. description: 成交单号(关联持仓)
  19762. type: string
  19763. transferamount:
  19764. description: 转让总金额(金额)
  19765. type: number
  19766. transferprice:
  19767. description: 转让价格(协议价格)
  19768. type: number
  19769. type: object
  19770. models.TradeHolderDetail:
  19771. properties:
  19772. accountid:
  19773. description: 账号ID
  19774. type: integer
  19775. agreeunit:
  19776. description: 合约乘数
  19777. type: number
  19778. buyorsell:
  19779. description: 方向 - 0:买 1:卖
  19780. type: integer
  19781. currencyid:
  19782. description: 商品币种id
  19783. type: integer
  19784. currencyname:
  19785. description: 币种名称
  19786. type: string
  19787. decimalplace:
  19788. description: 商品价格小数位
  19789. type: integer
  19790. enumdicname:
  19791. description: 商品单位名称
  19792. type: string
  19793. expirecycle:
  19794. description: 行权周期(天) - 1:滚动行权时填写
  19795. type: integer
  19796. expiredate:
  19797. description: 行权日(yyyyMMdd) - 到期日
  19798. type: string
  19799. expiretype:
  19800. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19801. type: integer
  19802. freezeqty:
  19803. description: 期初均价
  19804. type: number
  19805. goodscode:
  19806. description: 商品代码
  19807. type: string
  19808. goodsid:
  19809. description: 商品ID
  19810. type: integer
  19811. goodsname:
  19812. description: 商品名称
  19813. type: string
  19814. goodunitid:
  19815. description: 商品单位id
  19816. type: integer
  19817. holderamount:
  19818. description: 持仓金额
  19819. type: number
  19820. holdercredit:
  19821. description: 持仓授信金额
  19822. type: number
  19823. holderdays:
  19824. description: 剩余冻结天数
  19825. type: integer
  19826. holderprice:
  19827. description: 持仓价格
  19828. type: number
  19829. holderqty:
  19830. description: 期初均价
  19831. type: number
  19832. isconfirmexercise:
  19833. description: 是否确认行权- 0:否 1:是
  19834. type: integer
  19835. ispreexercise:
  19836. description: 是否预申报- 0:否 1:是 2:不可行权
  19837. type: integer
  19838. marketid:
  19839. description: 市场id
  19840. type: integer
  19841. marketname:
  19842. description: 市场名称
  19843. type: string
  19844. openprice:
  19845. description: 建仓价格
  19846. type: number
  19847. openqty:
  19848. description: 期初均价
  19849. type: number
  19850. optiontype:
  19851. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19852. type: integer
  19853. preexerciseprice:
  19854. description: 预申报价格
  19855. type: number
  19856. premium:
  19857. description: 权利金
  19858. type: number
  19859. qtydecimalplace:
  19860. description: 商品成交量小数位
  19861. type: integer
  19862. refgoodscode:
  19863. description: 标的合约代码
  19864. type: string
  19865. refgoodsid:
  19866. description: 标的合约id
  19867. type: integer
  19868. releaseamount:
  19869. description: 释放持仓金额
  19870. type: number
  19871. releaseholdercredit:
  19872. description: 释放持仓授信金额
  19873. type: number
  19874. taname:
  19875. description: 资金账号名称
  19876. type: string
  19877. tradeamount:
  19878. description: 成交金额
  19879. type: number
  19880. tradedate:
  19881. description: 交易日(yyyyMMdd)
  19882. type: string
  19883. tradeid:
  19884. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19885. type: string
  19886. trademode:
  19887. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19888. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19889. type: integer
  19890. tradeproperty:
  19891. description: 交易属性
  19892. type: integer
  19893. tradetime:
  19894. description: 交易时间
  19895. type: string
  19896. userid:
  19897. description: 用户id
  19898. type: integer
  19899. username:
  19900. description: 用户名称
  19901. type: string
  19902. type: object
  19903. models.Unlinkermcphedgeplan:
  19904. properties:
  19905. accountid:
  19906. description: 期货账户ID - 作废
  19907. type: integer
  19908. accountname:
  19909. description: 交易用户
  19910. type: string
  19911. applyid:
  19912. description: 申请人
  19913. type: integer
  19914. applysrc:
  19915. description: 申请来源 - 1:管理端 2:终端
  19916. type: integer
  19917. applytime:
  19918. description: 申请时间
  19919. type: string
  19920. areauserid:
  19921. description: '[企业ID]机构ID'
  19922. type: integer
  19923. auditid:
  19924. description: 审核人
  19925. type: integer
  19926. auditremark:
  19927. description: 审核备注
  19928. type: string
  19929. auditsrc:
  19930. description: 审核来源 - 1:管理端 2:终端
  19931. type: integer
  19932. audittime:
  19933. description: 审核时间
  19934. type: string
  19935. audittradedate:
  19936. description: 审核交易日(yyyyMMdd)
  19937. type: string
  19938. biztype:
  19939. description: 业务类型 - 1:套保
  19940. type: integer
  19941. contracttype:
  19942. description: 计划类型 - 1:采购 -1:销售
  19943. type: integer
  19944. convertfactor:
  19945. description: 标仓系数 - 作废
  19946. type: number
  19947. createtime:
  19948. description: 创建时间
  19949. type: string
  19950. currencyid:
  19951. description: 结算币种ID - 作废
  19952. type: integer
  19953. deliverygoodsid:
  19954. description: 现货品种ID
  19955. type: integer
  19956. enumdicname:
  19957. description: 结算币种
  19958. type: string
  19959. hedgeplanid:
  19960. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19961. type: string
  19962. hedgeplanno:
  19963. description: '[计划编号]套保计划编号,模糊查询'
  19964. type: string
  19965. hedgeplanstatus:
  19966. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19967. type: integer
  19968. isrelated:
  19969. description: 是否已关联计划项目 - 0:否 1:是
  19970. type: integer
  19971. planqty:
  19972. description: '[计划量]计划数量'
  19973. type: number
  19974. plantime:
  19975. description: 计划时间
  19976. type: string
  19977. producttype:
  19978. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  19979. type: integer
  19980. remark:
  19981. description: 备注
  19982. type: string
  19983. spotgoodsdesc:
  19984. description: 商品型号
  19985. type: string
  19986. tradedate:
  19987. description: 交易日(yyyyMMdd)
  19988. type: string
  19989. tradeuserid:
  19990. description: 交易用户ID
  19991. type: integer
  19992. updatetime:
  19993. description: 更新时间
  19994. type: string
  19995. wrstandardid:
  19996. description: 现货商品ID
  19997. type: integer
  19998. wrstandardname:
  19999. description: 现货商品,模糊查询
  20000. type: string
  20001. required:
  20002. - areauserid
  20003. type: object
  20004. models.UserCollectConfig:
  20005. properties:
  20006. accountstatus:
  20007. description: 账户状态 - 1:正常 2:停用 3:注销
  20008. type: integer
  20009. collectaccountname:
  20010. description: 收款人账户名称
  20011. type: string
  20012. collectaccountno:
  20013. description: 收款人账户
  20014. type: string
  20015. collectbankname:
  20016. description: 收款人开户行
  20017. type: string
  20018. collectbranchbankname:
  20019. description: 收款人开户支行
  20020. type: string
  20021. collectconfigid:
  20022. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20023. type: string
  20024. remark:
  20025. description: 备注
  20026. type: string
  20027. userid:
  20028. description: 收款人用户ID
  20029. type: integer
  20030. type: object
  20031. models.UserReceiveInfo:
  20032. properties:
  20033. address:
  20034. description: 提货人详细地址
  20035. type: string
  20036. autoid:
  20037. description: AutoID
  20038. type: integer
  20039. cardnum:
  20040. description: 证件号码(加密存储)
  20041. type: string
  20042. cardtypeid:
  20043. description: 证件类型
  20044. type: integer
  20045. cityid:
  20046. description: 市
  20047. type: integer
  20048. cityname:
  20049. description: 城市名称
  20050. type: string
  20051. countryid:
  20052. description: 国家
  20053. type: integer
  20054. countryname:
  20055. description: 国家名称
  20056. type: string
  20057. districtid:
  20058. description: 地区
  20059. type: integer
  20060. districtname:
  20061. description: 地区名称
  20062. type: string
  20063. hasencrypt:
  20064. description: 数据是否已加密 - 0:未加密 1:已加密
  20065. type: integer
  20066. isdefault:
  20067. description: 是否默认地址 - 0:否 1:是
  20068. type: integer
  20069. phonenum:
  20070. description: 提货人联系方式(加密存储)
  20071. type: string
  20072. provinceid:
  20073. description: 省
  20074. type: integer
  20075. provincename:
  20076. description: 省名称
  20077. type: string
  20078. receivername:
  20079. description: 提货人姓名
  20080. type: string
  20081. takeremark:
  20082. description: 提货备注
  20083. type: string
  20084. userid:
  20085. description: 用户ID
  20086. type: integer
  20087. type: object
  20088. models.Useraccount:
  20089. properties:
  20090. accountname:
  20091. description: 账户名称(机构名称)
  20092. type: string
  20093. accountstatus:
  20094. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20095. type: integer
  20096. applysrc:
  20097. description: 申请来源 - 1:管理端 2:终端
  20098. type: integer
  20099. auditremark:
  20100. description: 审核备注
  20101. type: string
  20102. auditsrc:
  20103. description: 审核来源 - 1:管理端 2:终端
  20104. type: integer
  20105. audittime:
  20106. description: 审核时间
  20107. type: string
  20108. audituserid:
  20109. description: 审核人
  20110. type: integer
  20111. broker:
  20112. description: 所属经纪人ID
  20113. type: integer
  20114. canceltime:
  20115. description: 销户时间
  20116. type: string
  20117. canceluserid:
  20118. description: 销户人
  20119. type: integer
  20120. canrecommend:
  20121. description: 是否可推荐 - 0:不可 1;可
  20122. type: integer
  20123. createtime:
  20124. description: 创建时间
  20125. type: string
  20126. creatorid:
  20127. description: 创建人
  20128. type: integer
  20129. curscore:
  20130. description: 积分
  20131. type: integer
  20132. hasauth:
  20133. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20134. type: integer
  20135. isanonymous:
  20136. description: 是否匿名下单 - 0:否 1:是
  20137. type: integer
  20138. issigned:
  20139. description: 今日是否已签到
  20140. type: boolean
  20141. maxinvestornum:
  20142. description: 最大用户数(经纪会员下投资者个数)
  20143. type: integer
  20144. memberuserid:
  20145. description: 所属会员ID
  20146. type: integer
  20147. modifierid:
  20148. description: 修改人
  20149. type: integer
  20150. modifyremark:
  20151. description: 变更备注
  20152. type: string
  20153. modifystatus:
  20154. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20155. type: integer
  20156. modifytime:
  20157. description: 修改时间
  20158. type: string
  20159. parenttopuser:
  20160. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20161. type: string
  20162. parentuserid:
  20163. description: 所属机构ID
  20164. type: integer
  20165. reckonaccountid:
  20166. description: 默认结算资金账号ID(机构分润使用) 作废
  20167. type: integer
  20168. refercount:
  20169. description: 推荐总人数
  20170. type: integer
  20171. refereeuserid:
  20172. description: 推荐人ID
  20173. type: integer
  20174. refernum:
  20175. description: 推荐码
  20176. type: string
  20177. rootuserid:
  20178. description: 根用户ID
  20179. type: integer
  20180. subaccountlevel:
  20181. description: 子账户层数
  20182. type: integer
  20183. subarealevelpath:
  20184. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20185. type: string
  20186. todayrefercount:
  20187. description: 今日推荐人数
  20188. type: integer
  20189. userid:
  20190. description: 用户ID
  20191. type: integer
  20192. usertype:
  20193. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20194. type: integer
  20195. required:
  20196. - userid
  20197. type: object
  20198. models.Userfavoritegoods:
  20199. properties:
  20200. goodsid:
  20201. description: 商品ID
  20202. type: integer
  20203. required:
  20204. - goodsid
  20205. type: object
  20206. models.Userinfo:
  20207. properties:
  20208. address:
  20209. description: 地址
  20210. type: string
  20211. attachment1:
  20212. description: 附件1
  20213. type: string
  20214. attachment2:
  20215. description: 附件2
  20216. type: string
  20217. bankaccount:
  20218. description: 银行帐号 (加密存储)
  20219. type: string
  20220. bankaccountname:
  20221. description: 收款人名称
  20222. type: string
  20223. bankcardfrontphotourl:
  20224. description: 银行卡正面照地址
  20225. type: string
  20226. bankid:
  20227. description: 银行编码
  20228. type: string
  20229. bankname:
  20230. description: 银行名称
  20231. type: string
  20232. biznature:
  20233. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20234. type: integer
  20235. bizscope:
  20236. description: 企业经营范围(企业)
  20237. type: string
  20238. cardbackphotourl:
  20239. description: 证件背面图片地址
  20240. type: string
  20241. cardfrontphotourl:
  20242. description: 证件正面图片地址
  20243. type: string
  20244. cardnum:
  20245. description: 证件号码(加密存储)
  20246. type: string
  20247. cardtypeid:
  20248. description: 证件类型ID
  20249. type: integer
  20250. cityid:
  20251. description: 市
  20252. type: integer
  20253. company:
  20254. description: 公司(个人)
  20255. type: string
  20256. contactname:
  20257. description: 联系人
  20258. type: string
  20259. countryid:
  20260. description: 国家
  20261. type: integer
  20262. createtime:
  20263. description: 创建时间
  20264. type: string
  20265. creatorid:
  20266. description: 创建人
  20267. type: integer
  20268. customername:
  20269. description: 客户名称(企业名称)
  20270. type: string
  20271. districtid:
  20272. description: 地区
  20273. type: integer
  20274. email:
  20275. description: 邮件(加密存储)
  20276. type: string
  20277. fax:
  20278. description: 传真(加密存储)
  20279. type: string
  20280. halfbodyphotourl:
  20281. description: 半身照地址
  20282. type: string
  20283. hasencrypt:
  20284. description: 数据是否已加密 - 0:未加密 1:已加密
  20285. type: integer
  20286. headurl:
  20287. description: 头像地址
  20288. type: string
  20289. legalcardbackphotourl:
  20290. description: 法人身份证背面照地址
  20291. type: string
  20292. legalcardfrontphotourl:
  20293. description: 法人身份证正面照地址
  20294. type: string
  20295. legalpersonname:
  20296. description: 法人姓名(企业)
  20297. type: string
  20298. mobile:
  20299. description: 手机号码(加密存储)
  20300. type: string
  20301. mobile2:
  20302. description: 手机号码[明文-尚志]
  20303. type: string
  20304. modifierid:
  20305. description: 修改人
  20306. type: integer
  20307. modifiertime:
  20308. description: 修改时间
  20309. type: string
  20310. needinvoice:
  20311. description: 是否需要发票 - 0:不需要 1:需要
  20312. type: integer
  20313. nickname:
  20314. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20315. type: string
  20316. openmode:
  20317. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20318. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20319. type: integer
  20320. otherurl:
  20321. description: 其它图片地址[使用分号分隔]
  20322. type: string
  20323. postalcode:
  20324. description: 邮政编码
  20325. type: string
  20326. provinceid:
  20327. description: 省
  20328. type: integer
  20329. qq:
  20330. description: QQ(加密存储
  20331. type: string
  20332. remark:
  20333. description: 备注
  20334. type: string
  20335. sex:
  20336. description: '用户性别 0: 女 1: 男'
  20337. type: integer
  20338. signpdfurl:
  20339. description: 签约pdf文件
  20340. type: string
  20341. telphone:
  20342. description: 联系电话(加密存储)
  20343. type: string
  20344. userid:
  20345. description: 用户ID
  20346. type: integer
  20347. userinfotype:
  20348. description: 用户信息类型 - 1:个人 2:企业
  20349. type: integer
  20350. userstatus:
  20351. description: 用户状态 - 1:正常 2:注销
  20352. type: integer
  20353. usertype:
  20354. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20355. type: integer
  20356. wechat:
  20357. description: 微信(加密存储)
  20358. type: string
  20359. wskhinfo:
  20360. description: 开户申请信息(JSON)
  20361. type: string
  20362. required:
  20363. - userid
  20364. type: object
  20365. models.WRPositionReport:
  20366. properties:
  20367. accountid:
  20368. description: 帐户ID
  20369. type: integer
  20370. brandid:
  20371. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20372. type: integer
  20373. buylistinglot:
  20374. description: 买挂牌宗数
  20375. type: integer
  20376. buytradeamount:
  20377. description: 购买金额
  20378. type: number
  20379. buytradelot:
  20380. description: 购买宗数
  20381. type: integer
  20382. buytradeqty:
  20383. description: 购买数量
  20384. type: number
  20385. creditcurqty:
  20386. description: 授信当前数量
  20387. type: integer
  20388. creditfreezeqty:
  20389. description: 授信冻结数量
  20390. type: integer
  20391. credittotalqty:
  20392. description: 授信总数量
  20393. type: integer
  20394. credittradeqty:
  20395. description: 授信成交数量
  20396. type: integer
  20397. decreaseqty:
  20398. description: 今日减少数量
  20399. type: integer
  20400. deliverygoodsid:
  20401. description: 交割商品ID
  20402. type: integer
  20403. deliverymonthid:
  20404. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20405. type: integer
  20406. freezeqty:
  20407. description: 总冻结数量
  20408. type: integer
  20409. increaseqty:
  20410. description: 今日增加数量
  20411. type: integer
  20412. marketvalue:
  20413. description: 市值
  20414. type: number
  20415. pickupqty:
  20416. description: 今日提货数量
  20417. type: integer
  20418. qualityid:
  20419. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20420. type: integer
  20421. reckondate:
  20422. description: 日照时期(yyyyMMdd)
  20423. type: string
  20424. relatedqty:
  20425. description: 关联数量
  20426. type: integer
  20427. selllistingamount:
  20428. description: 卖挂牌金额
  20429. type: number
  20430. selllistinglot:
  20431. description: 卖挂牌宗数
  20432. type: integer
  20433. selllistingqty:
  20434. description: 卖挂牌数量
  20435. type: number
  20436. selltradeamount:
  20437. description: 销售金额
  20438. type: number
  20439. selltradelot:
  20440. description: 销售宗数
  20441. type: integer
  20442. selltradeqty:
  20443. description: 销售数量
  20444. type: number
  20445. specid:
  20446. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20447. type: integer
  20448. totalprice:
  20449. description: 销售金额(¥)
  20450. type: number
  20451. totalqty:
  20452. description: 总数量
  20453. type: integer
  20454. totalweight:
  20455. description: 销售重量(ct)
  20456. type: number
  20457. tradewrqty:
  20458. description: 订单仓单头寸总数量
  20459. type: integer
  20460. transfertradewrqty:
  20461. description: 今日转订单数量
  20462. type: integer
  20463. warehouseid:
  20464. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20465. type: integer
  20466. wrfactortypeid:
  20467. description: 仓单要素类型ID
  20468. type: integer
  20469. wrpositionid:
  20470. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20471. type: integer
  20472. wrstandardcode:
  20473. description: 现货商品代码
  20474. type: string
  20475. wrstandardid:
  20476. description: 现货商品ID
  20477. type: integer
  20478. wruserid:
  20479. description: 持有人ID
  20480. type: integer
  20481. zscategory:
  20482. description: 商品分类
  20483. type: integer
  20484. zscategorydisplay:
  20485. type: string
  20486. zscurrencytype:
  20487. description: 商品币种
  20488. type: integer
  20489. zscurrencytypedisplay:
  20490. type: string
  20491. zscurrencytypedisplayunit:
  20492. type: string
  20493. type: object
  20494. models.WRSConverTDetail:
  20495. properties:
  20496. convertratio:
  20497. description: 套保系数
  20498. type: number
  20499. deliverygoodscode:
  20500. description: 现货商品代码
  20501. type: string
  20502. deliverygoodsid:
  20503. description: 现货品种ID
  20504. type: integer
  20505. deliverygoodsname:
  20506. description: 现货商品名称
  20507. type: string
  20508. enumdicname:
  20509. description: 单位名称
  20510. type: string
  20511. goodsunitid:
  20512. description: 套保品种单位id
  20513. type: integer
  20514. middlegoodscode:
  20515. description: 套保品种代码
  20516. type: string
  20517. middlegoodsid:
  20518. description: 套保品种ID
  20519. type: integer
  20520. middlegoodsname:
  20521. description: 套保品种名称
  20522. type: string
  20523. modifytime:
  20524. description: 修改时间
  20525. type: string
  20526. wrstandardid:
  20527. description: 品类ID
  20528. type: integer
  20529. type: object
  20530. models.WRStandardInfo:
  20531. properties:
  20532. areauserid:
  20533. description: 所属机构
  20534. type: integer
  20535. convertfactor:
  20536. description: 标仓系数
  20537. type: number
  20538. createtime:
  20539. description: 创建时间
  20540. type: string
  20541. creatorid:
  20542. description: 创建人
  20543. type: integer
  20544. deliverygoodsid:
  20545. description: 品种ID
  20546. type: integer
  20547. deliverygoodsname:
  20548. description: 交割商品名称
  20549. type: string
  20550. factoryitemjson:
  20551. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20552. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20553. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20554. 逗号分隔'
  20555. type: string
  20556. isvalid:
  20557. description: 是否有效 - 0:无效 1:有效
  20558. type: integer
  20559. minivalue:
  20560. description: 最小变动值
  20561. type: integer
  20562. minivaluedp:
  20563. description: 最小变动值小数位
  20564. type: integer
  20565. realminivalue:
  20566. description: 实际最小变动值
  20567. type: integer
  20568. realminivaluedp:
  20569. description: 实际最小变动值小数位
  20570. type: integer
  20571. remark:
  20572. description: 备注
  20573. type: string
  20574. unitid:
  20575. description: 单位ID
  20576. type: integer
  20577. unitname:
  20578. description: 单位
  20579. type: string
  20580. updatetime:
  20581. description: 更新时间
  20582. type: string
  20583. updatorid:
  20584. description: 更新人
  20585. type: integer
  20586. wrsstatus:
  20587. description: 状态 - 作废 - 0:未激活 1:正常
  20588. type: integer
  20589. wrstandardcode:
  20590. description: 现货品类代码
  20591. type: string
  20592. wrstandardid:
  20593. description: 现货品类ID(SEQ_WRSTANDARD)
  20594. type: integer
  20595. wrstandardname:
  20596. description: 现货品类名称
  20597. type: string
  20598. required:
  20599. - wrstandardid
  20600. type: object
  20601. models.WRTradeBargainApply:
  20602. properties:
  20603. accountid:
  20604. description: 摘牌资金账号
  20605. type: integer
  20606. applyprice:
  20607. description: 申请价格(议价价格)
  20608. type: string
  20609. applyqty:
  20610. description: 摘牌数量(议价数量)
  20611. type: number
  20612. applyremark:
  20613. description: 申请备注
  20614. type: string
  20615. applystatus:
  20616. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20617. type: integer
  20618. applytime:
  20619. description: 申请时间(议价时间)
  20620. type: string
  20621. begindate:
  20622. description: 开始交易日(yyyymmdd)
  20623. type: string
  20624. buyorsell:
  20625. description: 买卖(挂牌类型) - 0:买 1:卖
  20626. type: integer
  20627. confirmremark:
  20628. description: 确认备注
  20629. type: string
  20630. confirmtime:
  20631. description: 确认时间
  20632. type: string
  20633. confirmuserid:
  20634. description: 确认人
  20635. type: integer
  20636. deliverygoodscode:
  20637. description: 品种代码
  20638. type: string
  20639. deliverygoodsid:
  20640. description: 品种ID
  20641. type: integer
  20642. deliverygoodsname:
  20643. description: 品种名称
  20644. type: string
  20645. deliverymonth:
  20646. description: 交收月
  20647. type: string
  20648. enddate:
  20649. description: 结束交易日(yyyymmdd)
  20650. type: string
  20651. enumdicname:
  20652. description: 单位名称
  20653. type: string
  20654. fixedprice:
  20655. description: 期初均价
  20656. type: number
  20657. handlestatus:
  20658. description: 处理状态
  20659. type: integer
  20660. marginvalue:
  20661. description: 期初均价
  20662. type: number
  20663. marketid:
  20664. description: 市场ID
  20665. type: integer
  20666. matchaccountid:
  20667. description: 挂牌方资金账号
  20668. type: integer
  20669. matchuserid:
  20670. description: 挂牌方用户id
  20671. type: integer
  20672. matchusername:
  20673. description: 挂牌方用户名称(已脱敏)
  20674. type: string
  20675. minivalue:
  20676. description: 现货商品最小变动值
  20677. type: integer
  20678. optioncompare:
  20679. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20680. type: string
  20681. orderqty:
  20682. description: 挂牌数量
  20683. type: integer
  20684. refprice:
  20685. description: 参考价格
  20686. type: string
  20687. retcode:
  20688. description: 委托返回代码
  20689. type: integer
  20690. templatename:
  20691. description: 履约方式(履约模板名称)
  20692. type: string
  20693. tradedate:
  20694. description: 交易日(yyyyMMdd)
  20695. type: string
  20696. userid:
  20697. description: 摘牌人用户ID(议价人ID)
  20698. type: integer
  20699. username:
  20700. description: 议价人名字(已脱敏)
  20701. type: string
  20702. validtime:
  20703. description: 有效期限
  20704. type: string
  20705. warehouseid:
  20706. description: 仓库ID
  20707. type: integer
  20708. warehousename:
  20709. description: 仓库名称
  20710. type: string
  20711. wrbargainid:
  20712. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20713. type: string
  20714. wrfactortypeid:
  20715. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20716. type: string
  20717. wrfactortypename:
  20718. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20719. type: string
  20720. wrstandardcode:
  20721. description: 现货商品代码
  20722. type: string
  20723. wrstandardid:
  20724. description: 现货商品ID
  20725. type: integer
  20726. wrstandardname:
  20727. description: 商品名称
  20728. type: string
  20729. wrtradeorderid:
  20730. description: 关联委托单ID
  20731. type: string
  20732. wrtypename:
  20733. description: 商品
  20734. type: string
  20735. type: object
  20736. models.Warehouseinfo:
  20737. properties:
  20738. address:
  20739. description: 详细地址
  20740. type: string
  20741. areauserid:
  20742. description: 所属机构
  20743. type: integer
  20744. autoid:
  20745. description: 自增ID
  20746. type: integer
  20747. cityid:
  20748. description: 市
  20749. type: integer
  20750. contactname:
  20751. description: 联系人
  20752. type: string
  20753. contactnum:
  20754. description: 联系电话
  20755. type: string
  20756. countryid:
  20757. description: 国家
  20758. type: integer
  20759. createtime:
  20760. description: 创建时间
  20761. type: string
  20762. districtid:
  20763. description: 区
  20764. type: integer
  20765. hasvideo:
  20766. description: 是否有视频 - 0:无 1:有
  20767. type: integer
  20768. provinceid:
  20769. description: 省
  20770. type: integer
  20771. remark:
  20772. description: 审核备注
  20773. type: string
  20774. videourl:
  20775. description: 视频地址
  20776. type: string
  20777. warehousecode:
  20778. description: 仓库代码
  20779. type: string
  20780. warehousename:
  20781. description: 仓库名称
  20782. type: string
  20783. warehousestatus:
  20784. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20785. type: integer
  20786. warehousetype:
  20787. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20788. type: integer
  20789. required:
  20790. - autoid
  20791. - warehousecode
  20792. type: object
  20793. models.WrAverageTradePrice:
  20794. properties:
  20795. averageprice:
  20796. description: 期初均价
  20797. type: number
  20798. tradedate:
  20799. description: 交易日yyyymm
  20800. type: string
  20801. type: object
  20802. models.WrBrandAndYears:
  20803. properties:
  20804. brandlst:
  20805. description: 品牌列表
  20806. items:
  20807. $ref: '#/definitions/models.DgFactoryItem'
  20808. type: array
  20809. yearslst:
  20810. description: 年份列表
  20811. items:
  20812. $ref: '#/definitions/models.DgFactoryItem'
  20813. type: array
  20814. type: object
  20815. models.WrBsGoodsInfo:
  20816. properties:
  20817. buyorsell:
  20818. description: 买卖方向 0-买 1-卖
  20819. type: integer
  20820. goodsid:
  20821. description: 交易合约ID
  20822. type: integer
  20823. lstitem:
  20824. description: 商品信息项
  20825. items:
  20826. $ref: '#/definitions/models.WrTypeItem'
  20827. type: array
  20828. lststep:
  20829. description: 履约规则
  20830. items:
  20831. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20832. type: array
  20833. type: object
  20834. models.WrBuybackDetail:
  20835. properties:
  20836. buybackamount:
  20837. description: 回购金额
  20838. type: number
  20839. buybackqty:
  20840. description: 回购数量
  20841. type: number
  20842. buybackreleasemargin:
  20843. description: 回购释放保证金
  20844. type: number
  20845. buybacktime:
  20846. description: 回购时间
  20847. type: string
  20848. errordesc:
  20849. description: 错误描述
  20850. type: string
  20851. handlestatus:
  20852. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20853. type: integer
  20854. relatedwrid:
  20855. description: 关联仓单ID
  20856. type: integer
  20857. scfcontractid:
  20858. description: SCF合同ID
  20859. type: string
  20860. scfwrbuybackid:
  20861. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20862. type: integer
  20863. tradedate:
  20864. description: 交易日(yyyyMMdd)
  20865. type: string
  20866. type: object
  20867. models.WrClientAdSpaceConfig:
  20868. properties:
  20869. adspaceid:
  20870. description: 广告位ID
  20871. type: integer
  20872. adspacename:
  20873. description: 广告位名称
  20874. type: string
  20875. adspacetype:
  20876. description: 广告位类型 - 1:固定广告位
  20877. type: integer
  20878. areauserid:
  20879. description: 所属机构ID
  20880. type: integer
  20881. createdate:
  20882. description: 创建时间
  20883. type: string
  20884. imagepath:
  20885. description: 图片
  20886. type: string
  20887. modifierid:
  20888. description: 操作人
  20889. type: integer
  20890. recsize:
  20891. description: 推荐尺寸
  20892. type: string
  20893. title:
  20894. description: 标题
  20895. type: string
  20896. updatedate:
  20897. description: 更新时间
  20898. type: string
  20899. urlcontent:
  20900. description: 链接(地址\商品ID\功能菜单Key\appid)
  20901. type: string
  20902. urltype:
  20903. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20904. type: integer
  20905. type: object
  20906. models.WrDeliveryAvalidHoldLB:
  20907. properties:
  20908. accountid:
  20909. description: 资金账号
  20910. type: integer
  20911. avalidqty:
  20912. description: 数量(可点选数量)
  20913. type: number
  20914. deliverygoodsid:
  20915. description: 品种id
  20916. type: integer
  20917. enumdicname:
  20918. description: 单位名称
  20919. type: string
  20920. goodsid:
  20921. description: x合约商品id
  20922. type: integer
  20923. ladingbillid:
  20924. description: 提单id
  20925. type: string
  20926. pgoodscode:
  20927. description: p商品代码(点价合约)
  20928. type: string
  20929. pgoodsid:
  20930. description: p商品id(点价合约)
  20931. type: integer
  20932. pgoodsname:
  20933. description: p商品名称(点价合约)
  20934. type: string
  20935. pricemove:
  20936. description: 升贴水
  20937. type: number
  20938. subnum:
  20939. description: 提单子id
  20940. type: integer
  20941. userid:
  20942. description: 用户id
  20943. type: integer
  20944. username:
  20945. description: 仓单持有人
  20946. type: string
  20947. warehousecode:
  20948. description: 仓库代码
  20949. type: string
  20950. warehouseid:
  20951. description: 仓库id
  20952. type: integer
  20953. warehousename:
  20954. description: 仓库名称
  20955. type: string
  20956. wrfactortypeid:
  20957. description: 仓单要素id
  20958. type: string
  20959. wrstandardcode:
  20960. description: 品代码
  20961. type: string
  20962. wrstandardid:
  20963. description: 品类d
  20964. type: integer
  20965. wrstandardname:
  20966. description: 品类名称
  20967. type: string
  20968. wrtypename:
  20969. description: 商品
  20970. type: string
  20971. xgoodscode:
  20972. description: x合约代码
  20973. type: string
  20974. xgoodsname:
  20975. description: x合约名称
  20976. type: string
  20977. type: object
  20978. models.WrDeliveryDetail:
  20979. properties:
  20980. accountid:
  20981. description: 账号ID
  20982. type: integer
  20983. averageprice:
  20984. description: 期初均价
  20985. type: number
  20986. begindate:
  20987. description: 开始交易日(yyyymmdd)
  20988. type: string
  20989. buyorsell:
  20990. description: 方向 - 0:买 1:卖
  20991. type: integer
  20992. deliveryamount:
  20993. description: 货款金额(X总货款+P总货款)
  20994. type: number
  20995. deliveryid:
  20996. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  20997. type: string
  20998. deliveryorderid:
  20999. description: 申报单号
  21000. type: string
  21001. deliverypricemove:
  21002. description: 升贴水(升贴水总额)
  21003. type: number
  21004. deliveryqty:
  21005. description: 交收数量(点选数量)
  21006. type: number
  21007. deliverystatus:
  21008. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21009. type: integer
  21010. deliverytime:
  21011. description: 交割时间
  21012. type: string
  21013. deliverytotalamount:
  21014. description: 交收金额
  21015. type: number
  21016. enddate:
  21017. description: 结束交易日(yyyymmdd)
  21018. type: string
  21019. enumdicname:
  21020. description: 单位名称
  21021. type: string
  21022. matchaccountid:
  21023. description: 对手账号ID
  21024. type: integer
  21025. matchusername:
  21026. description: 对手方名称(仓单持有人)
  21027. type: string
  21028. p1goodsremainamount:
  21029. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21030. type: number
  21031. pdeliverycloseqty:
  21032. description: p合约平仓数量
  21033. type: number
  21034. pdeliveryprice:
  21035. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21036. type: number
  21037. pgoodscode:
  21038. description: 商品代码
  21039. type: string
  21040. pgoodsid:
  21041. description: p点选合约id
  21042. type: integer
  21043. pgoodsname:
  21044. description: 商品名称
  21045. type: string
  21046. ppricemode:
  21047. description: 点价价格方式 - 1:商品价 2:固定值
  21048. type: integer
  21049. tradedate:
  21050. description: 交易日(yyyymmdd)
  21051. type: string
  21052. userid:
  21053. description: 用户id
  21054. type: integer
  21055. username:
  21056. description: 用户名称
  21057. type: string
  21058. warehousename:
  21059. description: 仓库名称
  21060. type: string
  21061. wrfactortypeid:
  21062. description: 仓单要素类型ID
  21063. type: string
  21064. wrtypename:
  21065. description: 商品
  21066. type: string
  21067. xdeliverycloseqty:
  21068. description: 合约数量
  21069. type: number
  21070. xgoodsamount:
  21071. description: 期初均价
  21072. type: number
  21073. xgoodscode:
  21074. description: 商品代码
  21075. type: string
  21076. xgoodsid:
  21077. description: x交易合约ID
  21078. type: integer
  21079. xgoodsname:
  21080. description: 商品名称
  21081. type: string
  21082. type: object
  21083. models.WrDeliveryGoodsSection:
  21084. properties:
  21085. dglst:
  21086. description: 板块商品列表
  21087. items:
  21088. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21089. type: array
  21090. imagepath:
  21091. description: 图片地址
  21092. type: string
  21093. orderindex:
  21094. description: 排序
  21095. type: integer
  21096. sectionid:
  21097. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21098. = 1的版块1 - 云融指数
  21099. type: integer
  21100. sectionname:
  21101. description: 版块名称
  21102. type: string
  21103. sectiontype:
  21104. description: 版块类型 - 1:指数版块 2:普通版块
  21105. type: integer
  21106. type: object
  21107. models.WrDeliveryGoodsSectionConfig:
  21108. properties:
  21109. deliverygoodscode:
  21110. description: 现货商品代码
  21111. type: string
  21112. deliverygoodsid:
  21113. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21114. type: integer
  21115. deliverygoodsname:
  21116. description: 现货商品名称
  21117. type: string
  21118. orderindex:
  21119. description: 排序
  21120. type: integer
  21121. type: object
  21122. models.WrDraftUserInfo:
  21123. properties:
  21124. address:
  21125. description: 地址
  21126. type: string
  21127. attachment1:
  21128. description: 附件1
  21129. type: string
  21130. attachment2:
  21131. description: 附件2
  21132. type: string
  21133. attachment3:
  21134. description: 附件3
  21135. type: string
  21136. attachment4:
  21137. description: 附件4
  21138. type: string
  21139. attachment5:
  21140. description: 附件5
  21141. type: string
  21142. bankaccount:
  21143. description: 银行帐号 (加密存储)
  21144. type: string
  21145. bankaccountname:
  21146. description: 收款人名称
  21147. type: string
  21148. bankcardfrontphotourl:
  21149. description: 银行卡正面照地址
  21150. type: string
  21151. bankid:
  21152. description: 银行编码
  21153. type: string
  21154. bankname:
  21155. description: 银行名称
  21156. type: string
  21157. birthday:
  21158. description: 生日(个人:年月日)
  21159. type: string
  21160. biznature:
  21161. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21162. type: integer
  21163. bizscope:
  21164. description: 企业经营范围(企业)
  21165. type: string
  21166. biztype:
  21167. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21168. type: integer
  21169. cardbackphotourl:
  21170. description: 证件背面图片地址
  21171. type: string
  21172. cardfrontphotourl:
  21173. description: 证件正面图片地址
  21174. type: string
  21175. cardnum:
  21176. description: 证件号码(加密存储)
  21177. type: string
  21178. cardtypeid:
  21179. description: 证件类型ID
  21180. type: integer
  21181. cityid:
  21182. description: 市
  21183. type: integer
  21184. company:
  21185. description: 公司(个人)
  21186. type: string
  21187. contactcardbackphotourl:
  21188. description: 联系人证件背面图片地址
  21189. type: string
  21190. contactcardfrontphotourl:
  21191. description: 联系人证件正面图片地址
  21192. type: string
  21193. contactname:
  21194. description: 联系人
  21195. type: string
  21196. countryid:
  21197. description: 国家
  21198. type: integer
  21199. createtime:
  21200. description: 创建时间
  21201. type: string
  21202. creatorid:
  21203. description: 创建人
  21204. type: integer
  21205. creditquota:
  21206. description: 授信额度(金瑞)
  21207. type: number
  21208. customername:
  21209. description: 客户名称(企业名称)
  21210. type: string
  21211. districtid:
  21212. description: 地区
  21213. type: integer
  21214. email:
  21215. description: 邮件(加密存储)
  21216. type: string
  21217. fax:
  21218. description: 传真(加密存储)
  21219. type: string
  21220. halfbodyphotourl:
  21221. description: 半身照地址
  21222. type: string
  21223. hasencrypt:
  21224. description: 数据是否已加密 - 0:未加密 1:已加密
  21225. type: integer
  21226. headurl:
  21227. description: 头像地址
  21228. type: string
  21229. legalcardbackphotourl:
  21230. description: 法人身份证背面照地址
  21231. type: string
  21232. legalcardfrontphotourl:
  21233. description: 法人身份证正面照地址
  21234. type: string
  21235. legalpersonname:
  21236. description: 法人姓名(企业)
  21237. type: string
  21238. mobile:
  21239. description: 手机号码(加密存储)
  21240. type: string
  21241. mobile2:
  21242. description: 手机号码[明文-尚志]
  21243. type: string
  21244. modifierid:
  21245. description: 修改人
  21246. type: integer
  21247. modifiertime:
  21248. description: 修改时间
  21249. type: string
  21250. needinvoice:
  21251. description: 是否需要发票 - 0:不需要 1:需要
  21252. type: integer
  21253. nickname:
  21254. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21255. type: string
  21256. openmode:
  21257. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21258. 6:苹果手机端注册 7:PC交易端注册"
  21259. type: integer
  21260. otherurl:
  21261. description: 其它图片地址[使用分号分隔]
  21262. type: string
  21263. postalcode:
  21264. description: 邮政编码
  21265. type: string
  21266. provinceid:
  21267. description: 省
  21268. type: integer
  21269. proxystatementurl:
  21270. description: 授权委托书
  21271. type: string
  21272. qq:
  21273. description: QQ(加密存储
  21274. type: string
  21275. remark:
  21276. description: 备注
  21277. type: string
  21278. sex:
  21279. description: '用户性别 0: 女 1: 男'
  21280. type: integer
  21281. signpdfurl:
  21282. description: 签约pdf文件
  21283. type: string
  21284. taxpayernum:
  21285. description: 纳税人识别号
  21286. type: string
  21287. telphone:
  21288. description: 联系电话(加密存储)
  21289. type: string
  21290. userid:
  21291. description: 用户ID
  21292. type: integer
  21293. userinfotype:
  21294. description: 用户信息类型 - 1:个人 2:企业
  21295. type: integer
  21296. userstatus:
  21297. description: 用户状态 - 1:正常 2:注销
  21298. type: integer
  21299. usertype:
  21300. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21301. type: integer
  21302. wechat:
  21303. description: 微信(加密存储)
  21304. type: string
  21305. wskhinfo:
  21306. description: 开户申请信息(JSON)
  21307. type: string
  21308. type: object
  21309. models.WrFAProductDetail:
  21310. properties:
  21311. accountid:
  21312. description: 资金账号
  21313. type: integer
  21314. areauserid:
  21315. description: 金融机构ID
  21316. type: integer
  21317. financingdays:
  21318. description: 天数(天)
  21319. type: integer
  21320. interestminlen:
  21321. description: 最小起息天数
  21322. type: integer
  21323. interestrate:
  21324. description: 利率
  21325. type: number
  21326. interestratemode:
  21327. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21328. type: integer
  21329. interestsettlemode:
  21330. description: 结息方式 - 1:按日结息 3:按月结息
  21331. type: integer
  21332. interestsettlevalue:
  21333. description: 结息方式值
  21334. type: integer
  21335. isautoloan:
  21336. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21337. type: integer
  21338. loantag:
  21339. description: '放款标识: "放款快" 或者为空'
  21340. type: string
  21341. marginratio:
  21342. description: 保证金比率质押率 - [仓单质押]
  21343. type: number
  21344. productdetailid:
  21345. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21346. type: integer
  21347. productid:
  21348. description: 金融产品ID
  21349. type: integer
  21350. productname:
  21351. description: 产品名称
  21352. type: string
  21353. updatetime:
  21354. description: 更新时间
  21355. type: string
  21356. username:
  21357. description: 融出方
  21358. type: string
  21359. type: object
  21360. models.WrFactorTypeInfo:
  21361. properties:
  21362. deliverygoodscode:
  21363. description: 品种代码
  21364. type: string
  21365. deliverygoodsname:
  21366. description: 品种名称
  21367. type: string
  21368. dgfactoryitemid:
  21369. description: 选择项id
  21370. type: integer
  21371. dgfactoryitemtypeid:
  21372. description: 要素选择项ID (1-仓库 2-品牌)
  21373. type: integer
  21374. dgfactoryitemvalue:
  21375. description: 要素项值
  21376. type: string
  21377. itemtypename:
  21378. description: 要素项名称
  21379. type: string
  21380. optioncompare:
  21381. description: 选择比较串
  21382. type: string
  21383. warehouseid:
  21384. description: 仓库id
  21385. type: integer
  21386. wrfactortypeid:
  21387. description: 仓单要素ID
  21388. type: string
  21389. wrfactortypename:
  21390. description: 要素名称
  21391. type: string
  21392. wrfactortypename2:
  21393. description: 要素名称(不含仓库)
  21394. type: string
  21395. wrstandardcode:
  21396. description: 品类代码
  21397. type: string
  21398. wrstandardid:
  21399. description: 品类id
  21400. type: integer
  21401. wrstandardname:
  21402. description: 品类名称
  21403. type: string
  21404. type: object
  21405. models.WrFilterItem:
  21406. properties:
  21407. itemcode:
  21408. description: 代码
  21409. type: string
  21410. itemid:
  21411. description: 项id
  21412. type: integer
  21413. itemname:
  21414. description: 名称
  21415. type: string
  21416. itemtype:
  21417. description: 类型 1-品种 2-品类(商品) 3-仓库
  21418. type: integer
  21419. type: object
  21420. models.WrFinanceBuyApply:
  21421. properties:
  21422. applydate:
  21423. description: 申请时间
  21424. type: string
  21425. applystatus:
  21426. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21427. type: integer
  21428. applyuserid:
  21429. description: 申请人
  21430. type: integer
  21431. auditdate:
  21432. description: 审核时间
  21433. type: string
  21434. auditremark:
  21435. description: 审核备注
  21436. type: string
  21437. audituserid:
  21438. description: 审核人
  21439. type: integer
  21440. buyaccountid:
  21441. description: 买方资金账号
  21442. type: integer
  21443. buyorsell:
  21444. description: 买卖 - 0:买 1:卖
  21445. type: integer
  21446. buyuserid:
  21447. description: 买方用户ID
  21448. type: integer
  21449. buyusername:
  21450. description: 买方名称
  21451. type: string
  21452. buywrtradeorderid:
  21453. description: 融资方买委托单ID
  21454. type: string
  21455. deliverygoodscode:
  21456. description: 品种代码
  21457. type: string
  21458. deliverygoodsid:
  21459. description: 品种ID
  21460. type: integer
  21461. deliverygoodsname:
  21462. description: 品种名称
  21463. type: string
  21464. deliverymonth:
  21465. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21466. type: string
  21467. enumdicname:
  21468. description: 单位名称
  21469. type: string
  21470. financeaccountid:
  21471. description: 融资方资金帐户ID
  21472. type: integer
  21473. financeapplyid:
  21474. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21475. type: string
  21476. financeareauserid:
  21477. description: 融资方用户ID
  21478. type: string
  21479. financename:
  21480. description: 融出方名称
  21481. type: string
  21482. financetype:
  21483. description: 融资类型 1-融资回购
  21484. type: integer
  21485. financingdays:
  21486. description: 天数(天)
  21487. type: integer
  21488. freezebuymargin:
  21489. description: 冻结融资保证金(买方)
  21490. type: number
  21491. handleremark:
  21492. description: 处理备注
  21493. type: string
  21494. handlestatus:
  21495. description: 处理状态
  21496. type: integer
  21497. interestminlen:
  21498. description: 最小起息天数
  21499. type: integer
  21500. interestrate:
  21501. description: 利率
  21502. type: number
  21503. interestratemode:
  21504. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21505. type: integer
  21506. interestsettlemode:
  21507. description: 结息方式 - 1:按日结息 3:按月结息
  21508. type: integer
  21509. interestsettlevalue:
  21510. description: 结息方式值
  21511. type: integer
  21512. isautoloan:
  21513. description: 是否自动放款 - 0:手动 1:自动
  21514. type: integer
  21515. marginratio:
  21516. description: 保证金比率质押率 - [仓单质押]
  21517. type: number
  21518. marketid:
  21519. description: 市场ID
  21520. type: integer
  21521. minivalue:
  21522. description: 现货商品最小变动值
  21523. type: integer
  21524. optioncompare:
  21525. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21526. type: string
  21527. orderqty:
  21528. description: 委托数量(商品数量)
  21529. type: number
  21530. productdetailid:
  21531. description: 产品组合ID
  21532. type: integer
  21533. productid:
  21534. description: 金融产品ID
  21535. type: integer
  21536. productname:
  21537. description: 产品名称
  21538. type: string
  21539. remark:
  21540. description: 备注
  21541. type: string
  21542. scfcontractid:
  21543. description: 仓单回购合同ID
  21544. type: string
  21545. sellaccountid:
  21546. description: 卖方资金账号
  21547. type: integer
  21548. selluserid:
  21549. description: 卖方用户ID
  21550. type: integer
  21551. sellwrtradeorderid:
  21552. description: 卖方委托单ID
  21553. type: string
  21554. tradeamount:
  21555. description: 成交金额(借款金额)
  21556. type: number
  21557. tradedate:
  21558. description: 交易日(yyyyMMdd)
  21559. type: string
  21560. tradeprice:
  21561. description: 成交价格
  21562. type: number
  21563. warehouseid:
  21564. description: 仓库ID
  21565. type: integer
  21566. warehousename:
  21567. description: 仓库名称
  21568. type: string
  21569. wrfactortypeid:
  21570. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21571. type: string
  21572. wrfactortypename:
  21573. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21574. type: string
  21575. wrpricetype:
  21576. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21577. type: integer
  21578. wrstandardcode:
  21579. description: 现货商品代码
  21580. type: string
  21581. wrstandardid:
  21582. description: 现货商品ID
  21583. type: integer
  21584. wrstandardname:
  21585. description: 商品名称
  21586. type: string
  21587. wrtypename:
  21588. description: 商品
  21589. type: string
  21590. type: object
  21591. models.WrFriendApply:
  21592. properties:
  21593. applicantid:
  21594. description: 申请人
  21595. type: integer
  21596. applyname:
  21597. description: 申请人名称
  21598. type: string
  21599. applysrc:
  21600. description: 申请来源 - 1:管理端 2:终端
  21601. type: integer
  21602. applystatus:
  21603. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21604. type: integer
  21605. applytime:
  21606. description: 申请时间
  21607. type: string
  21608. auditname:
  21609. description: 审核人名称
  21610. type: string
  21611. auditorid:
  21612. description: 审核人
  21613. type: integer
  21614. auditremark:
  21615. description: 审核备注
  21616. type: string
  21617. auditsrc:
  21618. description: 审核来源 - 1:管理端 2:终端
  21619. type: integer
  21620. audittime:
  21621. description: 审核时间
  21622. type: string
  21623. friendapplyid:
  21624. description: 申请ID(SEQ_FRIENDAPPLY)
  21625. type: string
  21626. friendname:
  21627. description: 好友名字(已脱敏)
  21628. type: string
  21629. frienduserid:
  21630. description: 好友用户ID
  21631. type: string
  21632. remark:
  21633. description: 备注
  21634. type: string
  21635. userid:
  21636. description: 申请人用户ID
  21637. type: integer
  21638. type: object
  21639. models.WrFtDeliveryGoods:
  21640. properties:
  21641. deliverygoodscode:
  21642. description: 品种代码
  21643. type: string
  21644. deliverygoodsid:
  21645. description: 品种ID
  21646. type: integer
  21647. deliverygoodsname:
  21648. description: 品种名称
  21649. type: string
  21650. wdlst:
  21651. description: 商品列表
  21652. items:
  21653. $ref: '#/definitions/models.WrFtWrstandard'
  21654. type: array
  21655. type: object
  21656. models.WrFtWrstandard:
  21657. properties:
  21658. enumdicname:
  21659. description: 单位名称
  21660. type: string
  21661. minivalue:
  21662. description: 最小变动值
  21663. type: integer
  21664. wrstandardcode:
  21665. description: 现货商品代码
  21666. type: string
  21667. wrstandardid:
  21668. description: 现货商品ID
  21669. type: integer
  21670. wrstandardname:
  21671. description: 商品名称
  21672. type: string
  21673. type: object
  21674. models.WrGoodsInfo:
  21675. properties:
  21676. haswr:
  21677. description: 0:仓单预售 1:仓单贸易
  21678. type: integer
  21679. lstitem:
  21680. description: 商品信息项
  21681. items:
  21682. $ref: '#/definitions/models.WrTypeItem'
  21683. type: array
  21684. lststep:
  21685. description: 履约规则
  21686. items:
  21687. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21688. type: array
  21689. marketid:
  21690. description: 市场id
  21691. type: integer
  21692. type: object
  21693. models.WrGoodsPerformanceStep:
  21694. properties:
  21695. autoid:
  21696. description: AutoID
  21697. type: integer
  21698. isauto:
  21699. description: 是否自动 - 0:不自动 1:自动
  21700. type: integer
  21701. remark:
  21702. description: 备注
  21703. type: string
  21704. stepdate:
  21705. description: 天数信息(T+N)
  21706. type: string
  21707. stepdays:
  21708. description: 距离上一步天数
  21709. type: integer
  21710. stepindex:
  21711. description: 步骤序号
  21712. type: integer
  21713. stepinfo:
  21714. description: 步骤信息(步骤名称+步骤值)
  21715. type: string
  21716. steptypeid:
  21717. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21718. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21719. type: integer
  21720. steptypename:
  21721. description: 步骤名称
  21722. type: string
  21723. stepvalue:
  21724. description: 期初均价
  21725. type: number
  21726. templateid:
  21727. description: 履约计划模板ID
  21728. type: integer
  21729. type: object
  21730. models.WrHoldLB:
  21731. properties:
  21732. accountid:
  21733. description: 持有人帐户ID
  21734. type: integer
  21735. bannerpicurl:
  21736. description: Banner图
  21737. type: string
  21738. createtime:
  21739. description: 创建时间(过户时间)
  21740. type: string
  21741. deliverygoodscode:
  21742. description: 品种代码
  21743. type: string
  21744. deliverygoodsid:
  21745. description: 品种ID
  21746. type: integer
  21747. deliverygoodsname:
  21748. description: 品种名称
  21749. type: string
  21750. enableqty:
  21751. description: 可用数量
  21752. type: number
  21753. enumdicname:
  21754. description: 单位名称
  21755. type: string
  21756. freezerqty:
  21757. description: 冻结数量
  21758. type: number
  21759. ladingbillid:
  21760. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21761. type: string
  21762. minivalue:
  21763. description: 现货商品最小变动值
  21764. type: integer
  21765. optioncompare:
  21766. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21767. type: string
  21768. parentsubnum:
  21769. description: 拆分父子单号
  21770. type: integer
  21771. pledgeqty:
  21772. description: 质押数量
  21773. type: number
  21774. qty:
  21775. description: 数量
  21776. type: number
  21777. spotgoodsprice:
  21778. description: 参考价(THJ)
  21779. type: number
  21780. subnum:
  21781. description: 提单子单号
  21782. type: integer
  21783. thumurls:
  21784. description: 缩略图
  21785. type: string
  21786. tradedate:
  21787. description: 交易日(yyyyMMdd)
  21788. type: string
  21789. userid:
  21790. description: 持有人ID
  21791. type: integer
  21792. warehouseid:
  21793. description: 仓库ID
  21794. type: integer
  21795. warehousename:
  21796. description: 仓库名称
  21797. type: string
  21798. wrfactortypeid:
  21799. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21800. type: string
  21801. wrfactortypename:
  21802. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21803. type: string
  21804. wrholdeno:
  21805. description: 仓单编号
  21806. type: string
  21807. wrid:
  21808. description: 仓单变更ID
  21809. type: string
  21810. wrstandardcode:
  21811. description: 现货商品代码
  21812. type: string
  21813. wrstandardid:
  21814. description: 现货商品ID
  21815. type: integer
  21816. wrstandardname:
  21817. description: 商品名称
  21818. type: string
  21819. wrtypename:
  21820. description: 商品
  21821. type: string
  21822. type: object
  21823. models.WrMarketTradeConfig:
  21824. properties:
  21825. basisdownratio:
  21826. description: 浮动价基差下限比例(仓单贸易)
  21827. type: number
  21828. basisupratio:
  21829. description: 浮动价基差上限比例(仓单贸易)
  21830. type: number
  21831. buychargealgorithm:
  21832. description: 买方手续费收取方式 1:比率 2:固定
  21833. type: integer
  21834. buychargealgorithm2:
  21835. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21836. type: integer
  21837. buychargealgorithmvalue:
  21838. description: 买方手续费设置值(交易所部分)
  21839. type: number
  21840. buychargealgorithmvalue2:
  21841. description: 买方手续费设置值(会员部分)
  21842. type: number
  21843. buychargealgorithmvalue3:
  21844. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21845. type: number
  21846. buychargealgorithmvalue4:
  21847. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21848. type: number
  21849. buyfirstmarginalgorithm:
  21850. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21851. type: integer
  21852. buyfirstmarginvalue:
  21853. description: 买方出价保证金设置值 - [竞拍]
  21854. type: number
  21855. buymarginalgorithm:
  21856. description: 买方保证金方式 - 1:比率 2:固定
  21857. type: integer
  21858. buymarginvalue:
  21859. description: 买方保证金设置值
  21860. type: number
  21861. buyreleaseratio:
  21862. description: 买方释放比率[2:分步履约]
  21863. type: number
  21864. executemode:
  21865. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21866. type: integer
  21867. executeside:
  21868. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21869. type: integer
  21870. failedchargealgorithm:
  21871. description: 流拍手续费收取方式 1:比率 2:固定
  21872. type: integer
  21873. failedchargevalue:
  21874. description: 流拍手续费设置值
  21875. type: number
  21876. failedchargevalue2:
  21877. description: 流拍卖方手续费设置值
  21878. type: number
  21879. holddays:
  21880. description: 合同期限[2:分步履约]
  21881. type: integer
  21882. listingmode:
  21883. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21884. type: integer
  21885. marketid:
  21886. description: 市场ID-仓单贸易、竞拍、预售
  21887. type: integer
  21888. minqty:
  21889. description: 最小执行量[2:分步履约]
  21890. type: number
  21891. modifierid:
  21892. description: 修改人
  21893. type: integer
  21894. nowrquotaflag:
  21895. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21896. type: integer
  21897. performancetempid:
  21898. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21899. 立即执行(-1)
  21900. type: integer
  21901. performancetempid2:
  21902. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21903. 立即执行
  21904. type: integer
  21905. performancetempid2s:
  21906. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21907. - 履约方式: 立即执行
  21908. type: string
  21909. performancetempids:
  21910. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21911. - 履约方式: 立即执行(-1)
  21912. type: string
  21913. performanceway:
  21914. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21915. type: integer
  21916. sellchargealgorithm:
  21917. description: 卖方手续费收取方式 1:比率 2:固定
  21918. type: integer
  21919. sellchargealgorithm2:
  21920. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21921. type: integer
  21922. sellchargealgorithmvalue:
  21923. description: 卖方手续费设置值(交易所部分)
  21924. type: number
  21925. sellchargealgorithmvalue2:
  21926. description: 卖方手续费设置值(会员部分)
  21927. type: number
  21928. sellchargealgorithmvalue3:
  21929. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21930. type: number
  21931. sellchargealgorithmvalue4:
  21932. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21933. type: number
  21934. sellmarginalgorithm:
  21935. description: 卖方保证金方式 - 1:比率 2:固定
  21936. type: integer
  21937. sellmarginvalue:
  21938. description: 卖方保证金设置值
  21939. type: number
  21940. sellmarginvalue2:
  21941. description: 卖方保证金设置值(无仓单)
  21942. type: number
  21943. sellreleaseratio:
  21944. description: 卖方释放比率[2:分步履约]
  21945. type: number
  21946. updatetime:
  21947. description: 更新时间
  21948. type: string
  21949. type: object
  21950. models.WrOrderDetail:
  21951. properties:
  21952. accountid:
  21953. description: 交易账号(资金账号)
  21954. type: integer
  21955. allfriendsflag:
  21956. description: 是否全好友可见 - 0:否 1:是
  21957. type: integer
  21958. amount:
  21959. description: 期初均价
  21960. type: number
  21961. bannerpicurl:
  21962. description: Banner图
  21963. type: string
  21964. begindate:
  21965. description: 开始交易日(yyyymmdd)
  21966. type: string
  21967. buyorsell:
  21968. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21969. type: integer
  21970. canbargain:
  21971. description: 是否可议价 - 0:不可 1:可
  21972. type: integer
  21973. cancelqty:
  21974. description: 撤销数量
  21975. type: number
  21976. canpart:
  21977. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  21978. type: integer
  21979. delistminqty:
  21980. description: 起摘数量
  21981. type: integer
  21982. deliverygoodscode:
  21983. description: 品种代码
  21984. type: string
  21985. deliverygoodsid:
  21986. description: 品种ID
  21987. type: integer
  21988. deliverygoodsname:
  21989. description: 品种名称
  21990. type: string
  21991. deliverymonth:
  21992. description: 交收月
  21993. type: string
  21994. enddate:
  21995. description: 结束交易日(yyyymmdd)
  21996. type: string
  21997. enumdicname:
  21998. description: 单位名称
  21999. type: string
  22000. fixedprice:
  22001. description: 固定价格 - [挂牌]
  22002. type: number
  22003. freezecharge:
  22004. description: 期初均价
  22005. type: number
  22006. freezemargin:
  22007. description: 期初均价
  22008. type: number
  22009. futupricemove:
  22010. description: 期货升贴水
  22011. type: number
  22012. futushow:
  22013. description: 期货合约/升贴水
  22014. type: string
  22015. goodscode:
  22016. description: 期货合约
  22017. type: string
  22018. goodsid:
  22019. description: 期货商品id
  22020. type: integer
  22021. goodsname:
  22022. description: 商品名称
  22023. type: string
  22024. haswr:
  22025. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22026. type: integer
  22027. isspecified:
  22028. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22029. type: integer
  22030. ladingbillid:
  22031. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22032. type: string
  22033. marginvalue:
  22034. description: 期初均价
  22035. type: number
  22036. marketid:
  22037. description: 市场ID
  22038. type: integer
  22039. matchusername:
  22040. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22041. type: string
  22042. minivalue:
  22043. description: 现货商品最小变动值
  22044. type: integer
  22045. optioncompare:
  22046. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22047. type: string
  22048. orderqty:
  22049. description: 委托数量
  22050. type: number
  22051. ordertime:
  22052. description: 委托时间(挂牌时间)
  22053. type: string
  22054. performancetemplateid:
  22055. description: 履约模板id
  22056. type: integer
  22057. pricemove:
  22058. description: 升贴水(浮动价时填写) - [挂牌]
  22059. type: number
  22060. taname:
  22061. description: 交易用户名称(资金账号名称)
  22062. type: string
  22063. thumurls:
  22064. description: 缩略图
  22065. type: string
  22066. tradedate:
  22067. description: 交易日(yyyyMMdd)
  22068. type: string
  22069. tradeprice:
  22070. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22071. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22072. type: number
  22073. tradeqty:
  22074. description: 成交数量
  22075. type: number
  22076. unitid:
  22077. description: 现货商品单位ID
  22078. type: integer
  22079. userid:
  22080. description: 用户ID
  22081. type: integer
  22082. validtime:
  22083. description: 挂牌有效期
  22084. type: string
  22085. validtype:
  22086. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22087. type: integer
  22088. warehouseid:
  22089. description: 仓库ID
  22090. type: integer
  22091. warehousename:
  22092. description: 仓库名称
  22093. type: string
  22094. wrfactortypeid:
  22095. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22096. type: string
  22097. wrfactortypename:
  22098. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22099. type: string
  22100. wrpricetype:
  22101. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22102. type: integer
  22103. wrstandardcode:
  22104. description: 现货商品代码
  22105. type: string
  22106. wrstandardid:
  22107. description: 现货商品ID
  22108. type: integer
  22109. wrstandardname:
  22110. description: 商品名称
  22111. type: string
  22112. wrtradeorderid:
  22113. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22114. type: string
  22115. wrtradeorderstatus:
  22116. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  22117. type: integer
  22118. wrtradetype:
  22119. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22120. type: integer
  22121. wrtypename:
  22122. description: 商品
  22123. type: string
  22124. type: object
  22125. models.WrOrderQuote:
  22126. properties:
  22127. bannerpicurl:
  22128. description: Banner图
  22129. type: string
  22130. buyprice:
  22131. description: 买价
  22132. type: number
  22133. buypricemove:
  22134. description: 买升贴水(基差)
  22135. type: number
  22136. buyqty:
  22137. description: 买量
  22138. type: number
  22139. deliverygoodscode:
  22140. description: 品种代码
  22141. type: string
  22142. deliverygoodsid:
  22143. description: 品种id
  22144. type: integer
  22145. deliverygoodsname:
  22146. description: 品种名称
  22147. type: string
  22148. deliverymonth:
  22149. description: 交收月
  22150. type: string
  22151. enumdicname:
  22152. description: 单位名称
  22153. type: string
  22154. goodscode:
  22155. description: 商品合约(浮动价列表才有)
  22156. type: string
  22157. goodsid:
  22158. description: 商品id(浮动价列表才有)
  22159. type: integer
  22160. minivalue:
  22161. description: 现货商品最小变动值
  22162. type: integer
  22163. pictureurls:
  22164. description: 详情图片(逗号分隔)
  22165. type: string
  22166. sellprice:
  22167. description: 卖价
  22168. type: number
  22169. sellpricemove:
  22170. description: 卖升贴水(基差)
  22171. type: number
  22172. sellqty:
  22173. description: 卖量
  22174. type: number
  22175. spotgoodsprice:
  22176. description: 参考价(THJ)
  22177. type: number
  22178. thumurls:
  22179. description: 缩略图片(1:1)(逗号分隔)
  22180. type: string
  22181. warehousecode:
  22182. description: 仓库代码
  22183. type: string
  22184. warehouseid:
  22185. description: 仓库id
  22186. type: integer
  22187. warehousename:
  22188. description: 仓库名称
  22189. type: string
  22190. wrfactortypeid:
  22191. description: 仓单要素id
  22192. type: string
  22193. wrfactortypename:
  22194. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22195. type: string
  22196. wrgoodsname:
  22197. description: 商品(商品名称+仓库要素名称 拼接)
  22198. type: string
  22199. wrstandardcode:
  22200. description: 商品代码
  22201. type: string
  22202. wrstandardid:
  22203. description: 商品id
  22204. type: integer
  22205. wrstandardname:
  22206. description: 商品名称
  22207. type: string
  22208. type: object
  22209. models.WrOrderQuoteDetail:
  22210. properties:
  22211. buyorsell:
  22212. description: 买卖 - 0:买 1:卖
  22213. type: integer
  22214. delistminqty:
  22215. description: 期初均价
  22216. type: number
  22217. deliverymonth:
  22218. description: 交收月
  22219. type: string
  22220. enumdicname:
  22221. description: 单位名称
  22222. type: string
  22223. fixedprice:
  22224. description: 买(卖)价
  22225. type: number
  22226. marketid:
  22227. description: 市场id
  22228. type: integer
  22229. minivalue:
  22230. description: 现货商品最小变动值
  22231. type: integer
  22232. orderqty:
  22233. description: 买(卖)量(=委托量-成交量)
  22234. type: number
  22235. ordertime:
  22236. description: 委托时间
  22237. type: string
  22238. pricemove:
  22239. description: 买(卖)升贴水- 基差
  22240. type: number
  22241. userid:
  22242. description: 购买方(销售方)用户ID
  22243. type: integer
  22244. username:
  22245. description: 购买方(销售方)
  22246. type: string
  22247. wrtradeorderid:
  22248. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22249. type: string
  22250. type: object
  22251. models.WrOutInApply:
  22252. properties:
  22253. address:
  22254. description: 详细地址
  22255. type: string
  22256. applyid:
  22257. description: 申请单id
  22258. type: string
  22259. applystatus:
  22260. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22261. 8:已撤销
  22262. type: integer
  22263. applytime:
  22264. description: 申请时间
  22265. type: string
  22266. applytype:
  22267. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22268. type: integer
  22269. appointmentmodel:
  22270. description: 预约方式 - 1:物流 2:自送 3:自提
  22271. type: integer
  22272. appointmentmodeldisplay:
  22273. description: 预约方式(显示枚举)
  22274. type: string
  22275. appointmentremark:
  22276. description: 申请备注
  22277. type: string
  22278. bannerpicurl:
  22279. description: Banner图
  22280. type: string
  22281. begindate:
  22282. description: 开始交易日(yyyymmdd)
  22283. type: string
  22284. contactname:
  22285. description: 联系人
  22286. type: string
  22287. contactnum:
  22288. description: 联系方式
  22289. type: string
  22290. deliverygoodscode:
  22291. description: 品种代码
  22292. type: string
  22293. deliverygoodsid:
  22294. description: 品种ID
  22295. type: integer
  22296. deliverygoodsname:
  22297. description: 品种名称
  22298. type: string
  22299. enddate:
  22300. description: 结束交易日(yyyymmdd)
  22301. type: string
  22302. enumdicname:
  22303. description: 单位名称
  22304. type: string
  22305. expresscompany:
  22306. description: 物流公司
  22307. type: string
  22308. expressnum:
  22309. description: 物流单号
  22310. type: string
  22311. minivalue:
  22312. description: 现货商品最小变动值
  22313. type: integer
  22314. optioncompare:
  22315. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22316. type: string
  22317. qty:
  22318. description: 数量
  22319. type: integer
  22320. userid:
  22321. description: 用户id
  22322. type: integer
  22323. warehouseid:
  22324. description: 仓库ID
  22325. type: integer
  22326. warehousename:
  22327. description: 仓库名称
  22328. type: string
  22329. wrfactortypeid:
  22330. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22331. type: string
  22332. wrfactortypename:
  22333. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22334. type: string
  22335. wrstandardcode:
  22336. description: 现货商品代码
  22337. type: string
  22338. wrstandardid:
  22339. description: 现货商品ID
  22340. type: integer
  22341. wrstandardname:
  22342. description: 商品名称
  22343. type: string
  22344. wrtypename:
  22345. description: 商品
  22346. type: string
  22347. type: object
  22348. models.WrPerformancePlan:
  22349. properties:
  22350. activatemonth:
  22351. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22352. type: string
  22353. amount:
  22354. description: 履约金额(总金额)
  22355. type: number
  22356. begindate:
  22357. description: 开始交易日(yyyymmdd)
  22358. type: string
  22359. buyaccountid:
  22360. description: 买方账号
  22361. type: integer
  22362. buyerfreezeamount:
  22363. description: 履约冻结(买履约)
  22364. type: number
  22365. buyerfreezeamountremain:
  22366. description: 履约冻结剩余(买履约)
  22367. type: number
  22368. buyorsell:
  22369. description: 买卖方向 0-买 1-卖
  22370. type: integer
  22371. buypaidamount:
  22372. description: 买方已冻/已扣金额 (已付金额)
  22373. type: number
  22374. buyusername:
  22375. description: 买方名字
  22376. type: string
  22377. contractid:
  22378. description: 合同ID
  22379. type: integer
  22380. createtime:
  22381. description: 创建时间
  22382. type: string
  22383. creatorid:
  22384. description: 创建人
  22385. type: integer
  22386. curstepdeadline:
  22387. description: 当前步骤到期时间
  22388. type: string
  22389. curstepid:
  22390. description: 当前步骤ID
  22391. type: string
  22392. curstepname:
  22393. description: 当前步骤名称
  22394. type: string
  22395. deliverygoodscode:
  22396. description: 品种代码
  22397. type: string
  22398. deliverygoodsid:
  22399. description: 品种ID
  22400. type: integer
  22401. deliverygoodsname:
  22402. description: 品种名称
  22403. type: string
  22404. enddate:
  22405. description: 结束交易日(yyyymmdd)
  22406. type: string
  22407. enumdicname:
  22408. description: 单位名称
  22409. type: string
  22410. expressfee:
  22411. description: 运费
  22412. type: number
  22413. expressfeeconfirmed:
  22414. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22415. type: integer
  22416. hasovershort:
  22417. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22418. type: integer
  22419. haswr:
  22420. description: 类型 0-仓单预售 1-仓单贸易
  22421. type: integer
  22422. marketid:
  22423. description: 市场ID
  22424. type: integer
  22425. middleaccountid:
  22426. description: 中间商资金账号ID
  22427. type: integer
  22428. middleuserid:
  22429. description: 中间商用户ID
  22430. type: integer
  22431. minivalue:
  22432. description: 现货商品最小变动值
  22433. type: integer
  22434. optioncompare:
  22435. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22436. type: string
  22437. overshortamount:
  22438. description: 溢短金额
  22439. type: number
  22440. overshortqty:
  22441. description: 溢短数量
  22442. type: number
  22443. paymenttype:
  22444. description: 付款方式 - 1:冻结 2:扣款
  22445. type: integer
  22446. performanceplanid:
  22447. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22448. type: string
  22449. performancestatus:
  22450. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22451. 9:超时待处理 10:超时关闭
  22452. type: integer
  22453. performancetype:
  22454. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22455. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22456. type: integer
  22457. qty:
  22458. description: 履约数量
  22459. type: number
  22460. relatedorderid:
  22461. description: 关联单号(履约类型的关联单号)
  22462. type: string
  22463. remark:
  22464. description: 备注
  22465. type: string
  22466. sellaccountid:
  22467. description: 卖方账号
  22468. type: integer
  22469. sellerfreezeamount:
  22470. description: 履约冻结(卖履约)
  22471. type: number
  22472. sellerfreezeamountremain:
  22473. description: 履约冻结剩余(卖履约)
  22474. type: number
  22475. sellreceivedamount:
  22476. description: 卖方已收金额
  22477. type: number
  22478. sellusername:
  22479. description: 卖方名字
  22480. type: string
  22481. shipremark:
  22482. description: 发货备注[物流单号]
  22483. type: string
  22484. starttime:
  22485. description: 开始时间
  22486. type: string
  22487. steptypeid:
  22488. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22489. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22490. type: integer
  22491. typename:
  22492. description: 履约类型 名称
  22493. type: string
  22494. unpaidamount:
  22495. description: 期初均价
  22496. type: number
  22497. userid:
  22498. description: 用户id
  22499. type: integer
  22500. warehouseid:
  22501. description: 仓库ID
  22502. type: integer
  22503. warehousename:
  22504. description: 仓库名称
  22505. type: string
  22506. wrfactortypeid:
  22507. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22508. type: string
  22509. wrfactortypename:
  22510. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22511. type: string
  22512. wrstandardcode:
  22513. description: 现货商品代码
  22514. type: string
  22515. wrstandardid:
  22516. description: 现货商品ID
  22517. type: integer
  22518. wrstandardname:
  22519. description: 商品名称
  22520. type: string
  22521. wrtransferuserid:
  22522. description: 仓单受让用户
  22523. type: integer
  22524. wrtypename:
  22525. description: 商品
  22526. type: string
  22527. required:
  22528. - userid
  22529. type: object
  22530. models.WrPerformancePlanStep:
  22531. properties:
  22532. delaydays:
  22533. description: 延期申请天数
  22534. type: integer
  22535. deliverygoodscode:
  22536. description: 品种代码
  22537. type: string
  22538. deliverygoodsid:
  22539. description: 品种ID
  22540. type: integer
  22541. deliverygoodsname:
  22542. description: 品种名称
  22543. type: string
  22544. endtime:
  22545. description: 结束日期
  22546. type: string
  22547. enumdicname:
  22548. description: 单位名称
  22549. type: string
  22550. executeside:
  22551. description: 步骤执行方 - 1:买方 2:卖方
  22552. type: integer
  22553. handlestatus:
  22554. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22555. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22556. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22557. type: integer
  22558. isauto:
  22559. description: 是否自动 - 0:不自动 1:自动
  22560. type: integer
  22561. islastreceivestep:
  22562. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22563. type: integer
  22564. minivalue:
  22565. description: 现货商品最小变动值
  22566. type: integer
  22567. optioncompare:
  22568. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22569. type: string
  22570. overdays:
  22571. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22572. type: integer
  22573. performancestepid:
  22574. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22575. type: string
  22576. planid:
  22577. description: 所属履约计划ID
  22578. type: string
  22579. realamount:
  22580. description: 实际完成金额
  22581. type: number
  22582. relatedorderid:
  22583. description: 关联单号
  22584. type: string
  22585. remaindays:
  22586. description: 剩余天数
  22587. type: integer
  22588. remark:
  22589. description: 错误备注
  22590. type: string
  22591. starttime:
  22592. description: 开始日期
  22593. type: string
  22594. stepamount:
  22595. description: 步骤金额
  22596. type: number
  22597. stepdays:
  22598. description: 距离上一步天数(分钟)
  22599. type: integer
  22600. stepindex:
  22601. description: 步骤序号
  22602. type: integer
  22603. steplanchtype:
  22604. description: 步骤启动类型 - 1:系统自动 2:手动
  22605. type: integer
  22606. stepremark:
  22607. description: 步骤备注
  22608. type: string
  22609. stepstatus:
  22610. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22611. type: integer
  22612. steptypeid:
  22613. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22614. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22615. type: integer
  22616. steptypename:
  22617. description: 步骤名称
  22618. type: string
  22619. stepvalue:
  22620. description: 步骤值
  22621. type: number
  22622. warehouseid:
  22623. description: 仓库ID
  22624. type: integer
  22625. warehousename:
  22626. description: 仓库名称
  22627. type: string
  22628. wrfactortypeid:
  22629. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22630. type: string
  22631. wrfactortypename:
  22632. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22633. type: string
  22634. wrstandardcode:
  22635. description: 现货商品代码
  22636. type: string
  22637. wrstandardid:
  22638. description: 现货商品ID
  22639. type: integer
  22640. wrstandardname:
  22641. description: 商品名称
  22642. type: string
  22643. wrtypename:
  22644. description: 商品
  22645. type: string
  22646. type: object
  22647. models.WrPerformanceStepType:
  22648. properties:
  22649. canauto:
  22650. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22651. type: integer
  22652. steptypeid:
  22653. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22654. type: integer
  22655. steptypename:
  22656. description: 步骤类型名称
  22657. type: string
  22658. type: object
  22659. models.WrPerformanceTemplateEx:
  22660. properties:
  22661. autoid:
  22662. description: AutoID 模板id
  22663. type: integer
  22664. createtime:
  22665. description: 创建时间
  22666. type: string
  22667. creatorid:
  22668. description: 创建人
  22669. type: integer
  22670. lstStep:
  22671. description: 步骤信息列表
  22672. items:
  22673. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22674. type: array
  22675. paymenttype:
  22676. description: 支付方式 - 1:冻结 2:扣款
  22677. type: integer
  22678. takemode:
  22679. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22680. type: integer
  22681. templatename:
  22682. description: 模板名称
  22683. type: string
  22684. templatetype:
  22685. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22686. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22687. type: integer
  22688. userid:
  22689. description: 所属用户
  22690. type: integer
  22691. type: object
  22692. models.WrPosition:
  22693. properties:
  22694. accountid:
  22695. description: 帐户ID
  22696. type: integer
  22697. buyexcuteqty:
  22698. description: 采购履约中数量
  22699. type: number
  22700. creditcurqty:
  22701. description: 授信当前数量(预售仓单:预售当前量)
  22702. type: number
  22703. creditenableqty:
  22704. description: '授信可用数量(预售仓单: 可用数量)'
  22705. type: number
  22706. creditfreezeqty:
  22707. description: '授信冻结数量(预售仓单: 当前数量)'
  22708. type: number
  22709. credittotalqty:
  22710. description: 授信总数量(预售仓单:预售总量)
  22711. type: number
  22712. credittradeqty:
  22713. description: 授信成交数量(预售仓单:成交总量)
  22714. type: number
  22715. deliverygoodscode:
  22716. description: 品种代码
  22717. type: string
  22718. deliverygoodsid:
  22719. description: 品种ID
  22720. type: integer
  22721. deliverygoodsname:
  22722. description: 品种名称
  22723. type: string
  22724. enalbeqty:
  22725. description: 可用数量
  22726. type: number
  22727. enumdicname:
  22728. description: 单位名称
  22729. type: string
  22730. freezeqty:
  22731. description: 总冻结数量
  22732. type: number
  22733. haswr:
  22734. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22735. type: integer
  22736. minivalue:
  22737. description: 现货商品最小变动值
  22738. type: integer
  22739. modifytime:
  22740. description: 修改时间(过户时间)
  22741. type: string
  22742. optioncompare:
  22743. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22744. type: string
  22745. pledgeqty:
  22746. description: 质押数量
  22747. type: number
  22748. querytype:
  22749. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22750. type: integer
  22751. sellexcuteqty:
  22752. description: 销售履约中数量
  22753. type: number
  22754. totalqty:
  22755. description: 总数量(库存数量)
  22756. type: number
  22757. warehouseid:
  22758. description: 仓库ID
  22759. type: integer
  22760. warehousename:
  22761. description: 仓库名称
  22762. type: string
  22763. wrfactortypeid:
  22764. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22765. type: string
  22766. wrfactortypename:
  22767. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22768. type: string
  22769. wrpositionid:
  22770. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22771. type: string
  22772. wrpositionno:
  22773. description: 仓单编号
  22774. type: string
  22775. wrstandardcode:
  22776. description: 现货商品代码
  22777. type: string
  22778. wrstandardid:
  22779. description: 现货商品ID
  22780. type: integer
  22781. wrstandardname:
  22782. description: 商品名称
  22783. type: string
  22784. wrtypename:
  22785. description: 商品
  22786. type: string
  22787. wruserid:
  22788. description: 持有人ID
  22789. type: integer
  22790. type: object
  22791. models.WrPreSaleInfo:
  22792. properties:
  22793. bannerpicurl:
  22794. description: Banner图
  22795. type: string
  22796. baseqty:
  22797. description: 中签基数
  22798. type: number
  22799. createtime:
  22800. description: 创建时间
  22801. type: string
  22802. deliverygoodsid:
  22803. description: 现货品种ID
  22804. type: integer
  22805. enddate:
  22806. description: 预售结束日期
  22807. type: string
  22808. enumdicname:
  22809. description: 单位名称
  22810. type: string
  22811. lotteryflag:
  22812. description: 摇号标识 - 0:未摇号 1:已摇号
  22813. type: integer
  22814. lotteryqty:
  22815. description: 摇号总量
  22816. type: number
  22817. luckyqty:
  22818. description: 已中签量
  22819. type: number
  22820. marketid:
  22821. description: 市场ID
  22822. type: integer
  22823. maxbuyqty:
  22824. description: 单人最大申购量
  22825. type: number
  22826. maxluckyqty:
  22827. description: 单人最大中签量
  22828. type: number
  22829. pictureurls:
  22830. description: 详情图片(逗号分隔)
  22831. type: string
  22832. placeqty:
  22833. description: 已配售量
  22834. type: number
  22835. presaleapplyid:
  22836. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22837. example: "0"
  22838. type: string
  22839. presaleqty:
  22840. description: 预售总量
  22841. type: number
  22842. presalestatus:
  22843. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22844. type: integer
  22845. sellaccountid:
  22846. description: 发行方资金账户ID
  22847. type: integer
  22848. selluserid:
  22849. description: 发行方用户ID
  22850. type: integer
  22851. sellwrtradeorderid:
  22852. description: 发行方卖委托单ID
  22853. type: string
  22854. startdate:
  22855. description: 预售开始日期
  22856. type: string
  22857. takestartdate:
  22858. description: 提货开始日期
  22859. type: string
  22860. thumurls:
  22861. description: 缩略图片(1:1)(逗号分隔)
  22862. type: string
  22863. tradedate:
  22864. description: 交易日
  22865. type: string
  22866. unitid:
  22867. description: 单位ID
  22868. type: integer
  22869. unitprice:
  22870. description: 商品单价
  22871. type: number
  22872. username:
  22873. description: 发行方用户名称
  22874. type: string
  22875. warehousecode:
  22876. description: 仓库代码(仓库简称)
  22877. type: string
  22878. warehouseid:
  22879. description: 仓库ID
  22880. type: integer
  22881. warehousename:
  22882. description: 仓库名称
  22883. type: string
  22884. wrfactortypeid:
  22885. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22886. example: "0"
  22887. type: string
  22888. wrstandardid:
  22889. description: 现货商品ID
  22890. type: integer
  22891. wrstandardname:
  22892. description: 现货商品名称
  22893. type: string
  22894. type: object
  22895. models.WrQuoteOrderMyq:
  22896. properties:
  22897. buyorsell:
  22898. description: 买卖 - 0:买 1:卖
  22899. type: integer
  22900. canbargain:
  22901. description: 是否可议价 - 0:不可 1:可
  22902. type: integer
  22903. canpart:
  22904. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22905. type: integer
  22906. delistminqty:
  22907. description: 期初均价
  22908. type: number
  22909. deliverygoodscode:
  22910. description: 品种代码
  22911. type: string
  22912. deliverygoodsid:
  22913. description: 品种ID
  22914. type: integer
  22915. deliverygoodsname:
  22916. description: 品种名称
  22917. type: string
  22918. deliverymonth:
  22919. description: 交收月
  22920. type: string
  22921. enumdicname:
  22922. description: 单位名称
  22923. type: string
  22924. fixedprice:
  22925. description: 买(卖)价
  22926. type: number
  22927. goodscode:
  22928. description: 商品合约代码
  22929. type: string
  22930. marginflag:
  22931. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22932. type: integer
  22933. marginvalue:
  22934. description: 保证金设置值
  22935. type: number
  22936. minivalue:
  22937. description: 现货商品最小变动值
  22938. type: integer
  22939. orderqty:
  22940. description: 买(卖)量(=委托量-成交量)
  22941. type: number
  22942. ordertime:
  22943. description: 委托时间
  22944. type: string
  22945. performancetemplateid:
  22946. description: 履约模板id
  22947. type: integer
  22948. pricemove:
  22949. description: 买(卖)升贴水- 基差
  22950. type: number
  22951. templatename:
  22952. description: 履约模板名称
  22953. type: string
  22954. userid:
  22955. description: 购买方(销售方)用户ID
  22956. type: integer
  22957. username:
  22958. description: 购买方(销售方)
  22959. type: string
  22960. validtime:
  22961. description: 有效期限
  22962. type: string
  22963. validtype:
  22964. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22965. type: integer
  22966. warehousename:
  22967. description: 仓库名称
  22968. type: string
  22969. wrfactortypeid:
  22970. description: 仓单要素id
  22971. type: string
  22972. wrstandardcode:
  22973. description: 现货商品代码
  22974. type: string
  22975. wrstandardid:
  22976. description: 现货商品ID
  22977. type: integer
  22978. wrstandardname:
  22979. description: 商品名称
  22980. type: string
  22981. wrtradeorderid:
  22982. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22983. type: string
  22984. wrtypename:
  22985. description: 商品
  22986. type: string
  22987. type: object
  22988. models.WrReckonSpotGoodsTradeSum:
  22989. properties:
  22990. begindate:
  22991. description: 开始日期(结果含开始日期) yyyymmdd
  22992. type: string
  22993. enddate:
  22994. description: 结束日期(结果含结束日期) yyyymmdd
  22995. type: string
  22996. istoday:
  22997. description: 是否当日
  22998. type: boolean
  22999. marketid:
  23000. description: 市场ID
  23001. type: integer
  23002. price:
  23003. description: 价格 = 日成交金额 / 日成交数量
  23004. type: string
  23005. reckondate:
  23006. description: 日期 格式 yyyymmdd
  23007. type: string
  23008. tradeamount:
  23009. description: 期初均价
  23010. type: number
  23011. tradeqty:
  23012. description: 期初均价
  23013. type: number
  23014. wrstandardid:
  23015. description: 现货商品ID
  23016. type: integer
  23017. type: object
  23018. models.WrScfContract:
  23019. properties:
  23020. borroweruserid:
  23021. description: 借款用户ID
  23022. type: integer
  23023. buybackwrpositionqty:
  23024. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23025. type: number
  23026. closeinterest:
  23027. description: 已结利息 -> 已结费用
  23028. type: number
  23029. currisklevel:
  23030. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23031. type: integer
  23032. deadline:
  23033. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23034. type: string
  23035. deliverygoodscode:
  23036. description: 品种代码
  23037. type: string
  23038. deliverygoodsid:
  23039. description: 品种ID
  23040. type: integer
  23041. deliverygoodsname:
  23042. description: 品种名称
  23043. type: string
  23044. enumdicname:
  23045. description: 单位名称
  23046. type: string
  23047. financingdays:
  23048. description: 天数(天)
  23049. type: integer
  23050. initmargin:
  23051. description: 保证金 - [仓单回购]
  23052. type: number
  23053. interestamount:
  23054. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23055. type: number
  23056. interestdebt:
  23057. description: 利息欠款(记录负数) -> 费用欠款
  23058. type: number
  23059. interestminlen:
  23060. description: 最小起息天数
  23061. type: integer
  23062. interestrate:
  23063. description: 利率
  23064. type: number
  23065. interestratemode:
  23066. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23067. type: integer
  23068. interestsettlemode:
  23069. description: 结息方式 - 1:按日结息 3:按月结息
  23070. type: integer
  23071. interestsettlevalue:
  23072. description: 结息方式值
  23073. type: integer
  23074. isautoloan:
  23075. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23076. type: integer
  23077. lastcloseinterestday:
  23078. description: 最近结息日(yyyyMMdd)
  23079. type: string
  23080. lenderamount:
  23081. description: 贷款金额 -> 借款金额
  23082. type: number
  23083. lenderuserid:
  23084. description: 贷款方用户ID -> 融出方用户ID
  23085. type: integer
  23086. lenderusername:
  23087. description: 融出方
  23088. type: string
  23089. marginratio:
  23090. description: 保证金比率质押率 - [仓单质押]
  23091. type: number
  23092. marketid:
  23093. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23094. type: integer
  23095. minivalue:
  23096. description: 现货商品最小变动值
  23097. type: integer
  23098. optioncompare:
  23099. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23100. type: string
  23101. pricemove:
  23102. description: 估值升贴水值
  23103. type: number
  23104. productdetailid:
  23105. description: 产品组合ID
  23106. type: integer
  23107. productid:
  23108. description: 金融产品ID
  23109. type: integer
  23110. productname:
  23111. description: 产品名称
  23112. type: string
  23113. remainamount:
  23114. description: 合同剩余金额 -> 剩余金额
  23115. type: number
  23116. remainwrpositionqty:
  23117. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23118. type: number
  23119. remark:
  23120. description: 备注
  23121. type: string
  23122. scfcontractid:
  23123. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23124. type: string
  23125. scfcontractstatus:
  23126. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23127. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23128. type: integer
  23129. scfcontracttype:
  23130. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23131. type: integer
  23132. startinterestday:
  23133. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23134. type: string
  23135. totalinterest:
  23136. description: 已计利息 -> 已计费用
  23137. type: number
  23138. unpaidinterest:
  23139. description: 期初均价
  23140. type: number
  23141. updatetime:
  23142. description: 更新时间
  23143. type: string
  23144. warehouseid:
  23145. description: 仓库ID
  23146. type: integer
  23147. warehousename:
  23148. description: 仓库名称
  23149. type: string
  23150. wrfactortypeid:
  23151. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23152. type: string
  23153. wrfactortypename:
  23154. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23155. type: string
  23156. wrqty:
  23157. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23158. type: number
  23159. wrstandardcode:
  23160. description: 现货商品代码
  23161. type: string
  23162. wrstandardid:
  23163. description: 现货商品ID
  23164. type: integer
  23165. wrstandardname:
  23166. description: 商品名称
  23167. type: string
  23168. wrtypename:
  23169. description: 商品
  23170. type: string
  23171. type: object
  23172. models.WrScfContractInterest:
  23173. properties:
  23174. closeinterest:
  23175. description: 已结利息
  23176. type: number
  23177. closeintereststatus:
  23178. description: 结息状态 - 1:未结 2:已结
  23179. type: integer
  23180. closetime:
  23181. description: 结息时间
  23182. type: string
  23183. closetradedate:
  23184. description: 结息交易日
  23185. type: string
  23186. creatorid:
  23187. description: 操作人ID
  23188. type: integer
  23189. dayrate:
  23190. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23191. type: number
  23192. interest:
  23193. description: 利息
  23194. type: number
  23195. interestamount:
  23196. description: 计息金额
  23197. type: number
  23198. interestday:
  23199. description: 计息日(yyyyMMdd)
  23200. type: string
  23201. scfcontractid:
  23202. description: SCF合同ID
  23203. type: string
  23204. scfcontractinterestid:
  23205. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23206. type: integer
  23207. updatetime:
  23208. description: 更新时间
  23209. type: string
  23210. type: object
  23211. models.WrSearchUser:
  23212. properties:
  23213. userid:
  23214. description: 用户ID
  23215. type: integer
  23216. username:
  23217. description: 用户名称(已脱敏)
  23218. type: string
  23219. username2:
  23220. description: 用户名称(未脱敏)
  23221. type: string
  23222. usertype:
  23223. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23224. type: integer
  23225. required:
  23226. - username
  23227. type: object
  23228. models.WrSiteColumnDetail:
  23229. properties:
  23230. author:
  23231. description: 作者
  23232. type: string
  23233. brief:
  23234. description: 简介
  23235. type: string
  23236. context:
  23237. description: 内容
  23238. type: string
  23239. coverimage:
  23240. description: 封面图片
  23241. type: string
  23242. creaedate:
  23243. description: 创建时间
  23244. type: string
  23245. id:
  23246. description: ID(SEQ_SITE_COLUMNDETAIL)
  23247. type: integer
  23248. istop:
  23249. description: 是否置顶 - 0:不置 1:置顶
  23250. type: integer
  23251. publishdate:
  23252. description: 发布日期
  23253. type: string
  23254. title:
  23255. description: 标题
  23256. type: string
  23257. updatedate:
  23258. description: 修改时间
  23259. type: string
  23260. type: object
  23261. models.WrSpecialMatchOrder:
  23262. properties:
  23263. amount:
  23264. description: 金额 = 数量 * 价格
  23265. type: number
  23266. buyorsell:
  23267. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23268. type: integer
  23269. cancelqty:
  23270. description: 撤销数量
  23271. type: number
  23272. deliverygoodscode:
  23273. description: 品种代码
  23274. type: string
  23275. deliverygoodsid:
  23276. description: 品种ID
  23277. type: integer
  23278. deliverygoodsname:
  23279. description: 品种名称
  23280. type: string
  23281. enumdicname:
  23282. description: 单位名称
  23283. type: string
  23284. fixedprice:
  23285. description: 固定价格(价格)
  23286. type: number
  23287. haswr:
  23288. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23289. type: integer
  23290. isspecified:
  23291. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23292. type: integer
  23293. marketid:
  23294. description: 市场ID
  23295. type: integer
  23296. matchuserid:
  23297. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23298. type: integer
  23299. matchusername:
  23300. description: 指定方
  23301. type: string
  23302. minivalue:
  23303. description: 现货商品最小变动值
  23304. type: integer
  23305. optioncompare:
  23306. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23307. type: string
  23308. orderqty:
  23309. description: 委托数量
  23310. type: number
  23311. ordertime:
  23312. description: 委托时间
  23313. type: string
  23314. pricemove:
  23315. description: 升贴水(浮动价时填写) - [挂牌]
  23316. type: number
  23317. tradedate:
  23318. description: 交易日(yyyyMMdd)
  23319. type: string
  23320. tradeprice:
  23321. description: 成交价格
  23322. type: number
  23323. tradeqty:
  23324. description: 成交数量
  23325. type: number
  23326. userid:
  23327. description: 用户ID
  23328. type: integer
  23329. username:
  23330. description: 发起方
  23331. type: string
  23332. warehouseid:
  23333. description: 仓库ID
  23334. type: integer
  23335. warehousename:
  23336. description: 仓库名称
  23337. type: string
  23338. wrfactortypeid:
  23339. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23340. type: string
  23341. wrfactortypename:
  23342. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23343. type: string
  23344. wrpricetype:
  23345. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23346. type: integer
  23347. wrstandardcode:
  23348. description: 现货商品代码
  23349. type: string
  23350. wrstandardid:
  23351. description: 现货商品ID
  23352. type: integer
  23353. wrstandardname:
  23354. description: 商品名称
  23355. type: string
  23356. wrtradeorderid:
  23357. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23358. type: string
  23359. wrtradeorderstatus:
  23360. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23361. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23362. type: integer
  23363. wrtradetype:
  23364. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23365. type: integer
  23366. wrtypename:
  23367. description: 商品
  23368. type: string
  23369. type: object
  23370. models.WrSpotGroupTradeSum:
  23371. properties:
  23372. deliverygoodscode:
  23373. description: 现货品种代码
  23374. type: string
  23375. deliverygoodsid:
  23376. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23377. type: integer
  23378. deliverygoodsname:
  23379. description: 现货品种名称
  23380. type: string
  23381. lastavgprice:
  23382. description: 上上个交易日价格(前2天价格)
  23383. type: string
  23384. lastreckondate:
  23385. description: 上上个交易日(前2天交易日)
  23386. type: string
  23387. reckondate:
  23388. description: 上个交易日(前1天交易日)
  23389. type: string
  23390. todayavgprice:
  23391. description: 上个交易日价格(前1天价格)
  23392. type: string
  23393. updown:
  23394. description: 涨跌
  23395. type: string
  23396. updownratio:
  23397. description: 涨幅(已格式化, 直接显示即可)
  23398. type: string
  23399. type: object
  23400. models.WrSpotGroupTradeSumDetail:
  23401. properties:
  23402. deliverygoodsid:
  23403. description: 现货商品id
  23404. type: integer
  23405. price:
  23406. description: 价格
  23407. type: number
  23408. reckondate:
  23409. description: 日期(yyymmdd, 如:20211031)
  23410. type: string
  23411. type: object
  23412. models.WrSpotGroupTradeSumEx:
  23413. properties:
  23414. lst:
  23415. description: 指数列表
  23416. items:
  23417. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23418. type: array
  23419. prereckondate:
  23420. description: 上上个交易日(yyymmdd)
  23421. type: string
  23422. reckondate:
  23423. description: 上个交易日(yyyymmdd)
  23424. type: string
  23425. type: object
  23426. models.WrStandardFactoryItem:
  23427. properties:
  23428. dgfactoryitemid:
  23429. description: 选择项id
  23430. type: integer
  23431. dgfactoryitemvalue:
  23432. description: 要素项值
  23433. type: string
  23434. warehouseid:
  23435. description: 仓库id
  23436. type: integer
  23437. type: object
  23438. models.WrStandardFactoryItemEx:
  23439. properties:
  23440. dgfactoryitemtypeid:
  23441. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23442. type: integer
  23443. itemlst:
  23444. description: 要素项列表
  23445. items:
  23446. $ref: '#/definitions/models.WrStandardFactoryItem'
  23447. type: array
  23448. itemtypename:
  23449. description: 要素项类型名称
  23450. type: string
  23451. wrstandardid:
  23452. description: 品类
  23453. type: integer
  23454. type: object
  23455. models.WrTradeDetail:
  23456. properties:
  23457. accountid:
  23458. description: 资金账号
  23459. type: integer
  23460. bannerpicurl:
  23461. description: Banner图
  23462. type: string
  23463. begindate:
  23464. description: 开始交易日(yyyymmdd)
  23465. type: string
  23466. buyorsell:
  23467. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23468. type: integer
  23469. chargevalue:
  23470. description: 手续费
  23471. type: number
  23472. contractaddr:
  23473. description: 合同地址
  23474. type: string
  23475. deliverygoodscode:
  23476. description: 品种代码
  23477. type: string
  23478. deliverygoodsid:
  23479. description: 品种ID
  23480. type: integer
  23481. deliverygoodsname:
  23482. description: 品种名称
  23483. type: string
  23484. deliverymonth:
  23485. description: 交收月
  23486. type: string
  23487. enddate:
  23488. description: 结束交易日(yyyymmdd)
  23489. type: string
  23490. enumdicname:
  23491. description: 单位名称
  23492. type: string
  23493. haswr:
  23494. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23495. type: integer
  23496. marketid:
  23497. description: 市场ID
  23498. type: integer
  23499. matchaccountid:
  23500. description: 对手账号
  23501. type: integer
  23502. matchusername:
  23503. description: 对手方
  23504. type: string
  23505. minivalue:
  23506. description: 现货商品最小变动值
  23507. type: integer
  23508. optioncompare:
  23509. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23510. type: string
  23511. thumurls:
  23512. description: 缩略图
  23513. type: string
  23514. tradedate:
  23515. description: 交易日(yyyyMMdd)
  23516. type: string
  23517. tradeprice:
  23518. description: 成交价格
  23519. type: number
  23520. tradeqty:
  23521. description: 成交数量
  23522. type: number
  23523. tradetime:
  23524. description: 成交时间
  23525. type: string
  23526. unitid:
  23527. description: 现货商品单位ID
  23528. type: integer
  23529. userid:
  23530. description: 用户ID
  23531. type: integer
  23532. warehouseid:
  23533. description: 仓库ID
  23534. type: integer
  23535. warehousename:
  23536. description: 仓库名称
  23537. type: string
  23538. wrfactortypeid:
  23539. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23540. type: string
  23541. wrfactortypename:
  23542. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23543. type: string
  23544. wrstandardcode:
  23545. description: 现货商品代码
  23546. type: string
  23547. wrstandardid:
  23548. description: 现货商品ID
  23549. type: integer
  23550. wrstandardname:
  23551. description: 商品名称
  23552. type: string
  23553. wrtradedetailid:
  23554. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23555. type: string
  23556. wrtradetype:
  23557. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23558. type: integer
  23559. wrtypename:
  23560. description: 商品
  23561. type: string
  23562. type: object
  23563. models.WrTradeOrderDetail:
  23564. properties:
  23565. buyorsell:
  23566. description: 买卖方向 0-买 1-卖
  23567. type: integer
  23568. goodsid:
  23569. description: 商品id
  23570. type: integer
  23571. orderid:
  23572. description: 委托单号
  23573. type: string
  23574. orderprice:
  23575. description: 期初均价
  23576. type: number
  23577. orderqty:
  23578. description: 委托数量
  23579. type: integer
  23580. userid:
  23581. description: 用户id
  23582. type: integer
  23583. username:
  23584. description: 用户名称(已脱敏)
  23585. type: string
  23586. type: object
  23587. models.WrTypeItem:
  23588. properties:
  23589. name:
  23590. description: 名称
  23591. type: string
  23592. value:
  23593. description: 值
  23594. type: string
  23595. type: object
  23596. models.WrUserFriend:
  23597. properties:
  23598. friendname:
  23599. description: 朋友名称(已脱敏)
  23600. type: string
  23601. frienduserid:
  23602. description: 朋友id
  23603. type: integer
  23604. isfriend:
  23605. description: 是否好友 0-不是 1-是
  23606. type: integer
  23607. userid:
  23608. description: 用户id
  23609. type: integer
  23610. type: object
  23611. models.WrUserReceiptInfo:
  23612. properties:
  23613. address:
  23614. description: 地址[发票类型:企业]
  23615. type: string
  23616. autoid:
  23617. description: AutoID
  23618. type: integer
  23619. contactinfo:
  23620. description: 联系方式
  23621. type: string
  23622. email:
  23623. description: 收件邮箱
  23624. type: string
  23625. idnum:
  23626. description: 身份证号码[发票类型:个人]
  23627. type: string
  23628. isdefault:
  23629. description: 是否默认地址 - 0:否 1:是
  23630. type: integer
  23631. receiptaccount:
  23632. description: 发票帐号[发票类型:企业]
  23633. type: string
  23634. receiptbank:
  23635. description: 发票开户行[发票类型:企业]
  23636. type: string
  23637. receipttype:
  23638. description: 发票类型 - 1:个人 2:企业
  23639. type: integer
  23640. taxpayerid:
  23641. description: 纳税人识别号
  23642. type: string
  23643. userid:
  23644. description: 用户ID
  23645. type: integer
  23646. username:
  23647. description: 户名(个人姓名或企业名称)
  23648. type: string
  23649. type: object
  23650. models.Wrtradetradequote:
  23651. properties:
  23652. buyaccountid:
  23653. description: 买方账号ID
  23654. type: integer
  23655. buychargevalue:
  23656. description: 买方手续费
  23657. type: number
  23658. buyuserid:
  23659. description: 买方用户ID
  23660. type: integer
  23661. deliverygoodsid:
  23662. description: 现货品种ID
  23663. type: integer
  23664. exchangerate:
  23665. description: 汇率
  23666. type: number
  23667. marketid:
  23668. description: 市场ID
  23669. type: integer
  23670. oritradeamount:
  23671. description: 成交金额[商品币种]
  23672. type: number
  23673. performanceplanid:
  23674. description: 履约计划ID/合同ID
  23675. type: integer
  23676. sellaccountid:
  23677. description: 卖方账号ID
  23678. type: integer
  23679. sellchargevalue:
  23680. description: 卖方手续费
  23681. type: number
  23682. selluserid:
  23683. description: 卖方用户ID
  23684. type: integer
  23685. tradeamount:
  23686. description: 成交金额
  23687. type: number
  23688. tradedate:
  23689. description: 交易日(yyyyMMdd)
  23690. type: string
  23691. tradeprice:
  23692. description: 成交价格
  23693. type: number
  23694. tradeqty:
  23695. description: 成交数量
  23696. type: integer
  23697. tradetime:
  23698. description: 成交时间
  23699. type: string
  23700. wrfactortypeid:
  23701. description: 仓单要素类型ID
  23702. type: integer
  23703. wrstandardid:
  23704. description: 现货商品ID
  23705. type: integer
  23706. wrtradedetailid:
  23707. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23708. type: integer
  23709. type: object
  23710. models.XHBRAND:
  23711. properties:
  23712. brandid:
  23713. description: 品牌id
  23714. type: integer
  23715. brandname:
  23716. description: 品牌名称
  23717. type: string
  23718. isvalid:
  23719. description: 是否有效 0-无效 1-有效
  23720. type: integer
  23721. type: object
  23722. models.XHDeliveryGoods:
  23723. properties:
  23724. areauserid:
  23725. description: 所属机构
  23726. type: integer
  23727. bdlst:
  23728. description: 品牌列表
  23729. items:
  23730. $ref: '#/definitions/models.XHBRAND'
  23731. type: array
  23732. deliverygoodscode:
  23733. description: 现货品种代码
  23734. type: string
  23735. deliverygoodsid:
  23736. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23737. type: integer
  23738. deliverygoodsname:
  23739. description: 现货品种名称
  23740. type: string
  23741. dgstatus:
  23742. description: 品种状态 - 作废 - 0:未激活 1:正常
  23743. type: integer
  23744. filterSubEmpty:
  23745. description: 过滤下级为空的
  23746. type: integer
  23747. isvalid:
  23748. description: 是否有效 - 0:无效 1:有效
  23749. type: integer
  23750. remark:
  23751. description: 备注
  23752. type: string
  23753. unitid:
  23754. description: 单位id(目前看,数据库中是空值)
  23755. type: integer
  23756. wdlst:
  23757. description: 品类(现货商品)列表
  23758. items:
  23759. $ref: '#/definitions/models.XHWrstandard'
  23760. type: array
  23761. type: object
  23762. models.XHMiddleGoods:
  23763. properties:
  23764. GPLST:
  23765. description: 期货品种列表
  23766. items:
  23767. $ref: '#/definitions/models.TBGoodsGroup'
  23768. type: array
  23769. convertratio:
  23770. description: 拆算系数
  23771. type: number
  23772. costratio:
  23773. description: 成本权重
  23774. type: number
  23775. deliverygoodsid:
  23776. description: 现货商品id
  23777. type: integer
  23778. enumdicname:
  23779. description: 单位名称
  23780. type: string
  23781. middlegoodscode:
  23782. description: 套保品种代码
  23783. type: string
  23784. middlegoodsid:
  23785. description: 套保品种id
  23786. type: integer
  23787. middlegoodsname:
  23788. description: 套保品种名称
  23789. type: string
  23790. unitid:
  23791. description: 单位id
  23792. type: integer
  23793. type: object
  23794. models.XHWrstandard:
  23795. properties:
  23796. bannerpicurl:
  23797. description: banner图
  23798. type: string
  23799. deliverygoodsid:
  23800. description: 品种ID
  23801. type: integer
  23802. enumdicname:
  23803. description: 单位名称
  23804. type: string
  23805. mglst:
  23806. description: 套保品列表
  23807. items:
  23808. $ref: '#/definitions/models.XHMiddleGoods'
  23809. type: array
  23810. pictureurls:
  23811. description: 详情图片(逗号分隔)
  23812. type: string
  23813. thumurls:
  23814. description: 缩略图片(1:1)(逗号分隔)
  23815. type: string
  23816. unitid:
  23817. description: 单位id
  23818. type: integer
  23819. vatrate:
  23820. description: 增值税率
  23821. type: number
  23822. wrstandardcode:
  23823. description: 现货商品代码
  23824. type: string
  23825. wrstandardid:
  23826. description: 现货商品ID(SEQ_WRSTANDARD)
  23827. type: integer
  23828. wrstandardname:
  23829. description: 现货商品名称
  23830. type: string
  23831. type: object
  23832. models.XhcpSellBackApplyEx:
  23833. properties:
  23834. applyremark:
  23835. description: 申请备注
  23836. type: string
  23837. expirytype:
  23838. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23839. type: integer
  23840. goodsspec:
  23841. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23842. type: integer
  23843. holeflag:
  23844. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23845. type: integer
  23846. isunopened:
  23847. description: 是否原封 - 1:否 2:是
  23848. type: integer
  23849. mpflag:
  23850. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23851. type: integer
  23852. openflag:
  23853. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23854. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23855. type: integer
  23856. phonenum:
  23857. description: 联系电话
  23858. type: string
  23859. userid:
  23860. description: 所属用户ID
  23861. type: integer
  23862. zpflag:
  23863. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23864. type: integer
  23865. required:
  23866. - userid
  23867. type: object
  23868. models.Xhcpsellbackapply:
  23869. properties:
  23870. applyid:
  23871. description: 申请人
  23872. type: integer
  23873. applyremark:
  23874. description: 申请备注
  23875. type: string
  23876. applysrc:
  23877. description: 申请来源 - 1:管理端 2:终端
  23878. type: integer
  23879. applystatus:
  23880. description: 申请状态 - 1:待确认 2:已处理
  23881. type: integer
  23882. applytime:
  23883. description: 申请时间
  23884. type: string
  23885. auditremark:
  23886. description: 审核备注
  23887. type: string
  23888. auditsrc:
  23889. description: 审核来源 - 1:管理端 2:终端
  23890. type: integer
  23891. expirytype:
  23892. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23893. type: integer
  23894. goodsspec:
  23895. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23896. type: integer
  23897. holeflag:
  23898. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23899. type: integer
  23900. isunopened:
  23901. description: 是否原封 - 1:否 2:是
  23902. type: integer
  23903. mpflag:
  23904. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23905. type: integer
  23906. openflag:
  23907. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23908. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23909. type: integer
  23910. phonenum:
  23911. description: 联系电话
  23912. type: string
  23913. sellbackapplyid:
  23914. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23915. type: string
  23916. userid:
  23917. description: 所属用户ID
  23918. type: integer
  23919. zpflag:
  23920. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23921. type: integer
  23922. required:
  23923. - userid
  23924. type: object
  23925. order.QueryHisTradeDetailRsp:
  23926. properties:
  23927. accountid:
  23928. description: 账户ID[报价币种]
  23929. type: integer
  23930. advanceratio:
  23931. description: 首付比率
  23932. type: number
  23933. buildtype:
  23934. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23935. type: integer
  23936. buyorsell:
  23937. description: 方向 - 0:买 1:卖
  23938. type: integer
  23939. charge:
  23940. description: 手续费
  23941. type: number
  23942. closecharge:
  23943. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23944. type: number
  23945. closeexchagechargevalue:
  23946. description: 平仓交易所手续费设置值
  23947. type: number
  23948. closefeealgorithm:
  23949. description: 平仓手续费收取方式 1:比率 2:固定
  23950. type: integer
  23951. closememberchargevalue:
  23952. description: 平仓会员手续费设置值
  23953. type: number
  23954. closepl:
  23955. description: 平仓盈亏
  23956. type: number
  23957. closepl2:
  23958. description: 平仓盈亏[逐笔]
  23959. type: number
  23960. closeqty:
  23961. description: 平仓数量(先建后平操作 需要记录)
  23962. type: number
  23963. creditamount:
  23964. description: 授信金额
  23965. type: number
  23966. decimalplace:
  23967. description: 商品报价小数位
  23968. type: integer
  23969. enumdicname:
  23970. description: 单位名称
  23971. type: string
  23972. gcaccountid:
  23973. description: 账户ID[合约币种]
  23974. type: integer
  23975. goodscode:
  23976. description: 商品代码
  23977. type: string
  23978. goodsid:
  23979. description: 商品ID
  23980. type: integer
  23981. goodsname:
  23982. description: 商品名称
  23983. type: string
  23984. goodunitid:
  23985. description: 商品单位id
  23986. type: integer
  23987. histradedate:
  23988. description: 历史交易日
  23989. type: string
  23990. intclosepl:
  23991. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23992. type: integer
  23993. isconfirmexercise:
  23994. description: 是否确认行权- 0:否 1:是
  23995. type: integer
  23996. ismain:
  23997. description: 是否主单 - 0:不是 1:是
  23998. type: integer
  23999. ispreexercise:
  24000. description: 是否预申报- 0:否 1:是
  24001. type: integer
  24002. isreckoned:
  24003. description: 是否结算 - 0:未结算 1:已结算
  24004. type: integer
  24005. isvaliddata:
  24006. description: 是否有效 - 0:无效 1:有效
  24007. type: integer
  24008. listingselecttype:
  24009. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24010. type: integer
  24011. marketid:
  24012. description: 市场ID
  24013. type: integer
  24014. marketname:
  24015. description: 市场名称
  24016. type: string
  24017. matchaccountid:
  24018. description: 对手账号id
  24019. type: integer
  24020. memberuserid:
  24021. description: 会员id 个人投资者 需要填写
  24022. type: integer
  24023. opencharge:
  24024. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24025. type: number
  24026. openexchagechargevalue:
  24027. description: 建仓交易所手续费设置值
  24028. type: number
  24029. openfeealgorithm:
  24030. description: 建仓手续费收取方式 1:比率 2:固定
  24031. type: integer
  24032. openmemberchargevalue:
  24033. description: 建仓会员手续费设置值
  24034. type: number
  24035. openqty:
  24036. description: 开仓数量(先建后平操作 需要记录)
  24037. type: number
  24038. optiontype:
  24039. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24040. type: integer
  24041. orderid:
  24042. description: 委托单号
  24043. type: string
  24044. payamount:
  24045. description: 支付金额(付款金额)
  24046. type: number
  24047. performanceplanid:
  24048. description: 履约计划ID[期权]
  24049. type: integer
  24050. performancestatus:
  24051. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24052. type: integer
  24053. preexerciseprice:
  24054. description: 预申报价格
  24055. type: number
  24056. premium:
  24057. description: 权利金 - [持仓单的权利金]
  24058. type: number
  24059. qtydecimalplace:
  24060. description: 商品报价小数位
  24061. type: integer
  24062. recvamount:
  24063. description: 到账金额 = 成交金额 - 手续费
  24064. type: number
  24065. relatedouttradeid:
  24066. description: 关联外部成交单ID
  24067. type: integer
  24068. status:
  24069. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24070. type: integer
  24071. totalamount:
  24072. description: 订单总额 = 成交金额 + 手续费
  24073. type: number
  24074. tradeamount:
  24075. description: 成交金额[账户币种,用于所有权]
  24076. type: number
  24077. tradedate:
  24078. description: 交易日(yyyyMMdd)
  24079. type: string
  24080. tradeid:
  24081. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24082. type: string
  24083. trademode:
  24084. description: 交易模式
  24085. type: integer
  24086. tradeprice:
  24087. description: 成交价格
  24088. type: number
  24089. tradeproperty:
  24090. description: 交易属性
  24091. type: integer
  24092. tradeqty:
  24093. description: 成交数量
  24094. type: number
  24095. tradetime:
  24096. description: 成交时间
  24097. type: string
  24098. tradetype:
  24099. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24100. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24101. type: integer
  24102. required:
  24103. - accountid
  24104. - buyorsell
  24105. - goodsid
  24106. - histradedate
  24107. - marketid
  24108. - memberuserid
  24109. - orderid
  24110. - tradeamount
  24111. - tradedate
  24112. - tradeid
  24113. - tradeprice
  24114. - tradeqty
  24115. - tradetime
  24116. type: object
  24117. order.QueryHisTradeOrderDetailRsp:
  24118. properties:
  24119. accountid:
  24120. description: 账户ID[报价币种]
  24121. type: integer
  24122. buildtype:
  24123. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24124. type: integer
  24125. buyorsell:
  24126. description: 买卖 - 0:买 1:卖
  24127. type: integer
  24128. cancelorderid:
  24129. description: 撤单单号(撤单时填写)
  24130. type: string
  24131. cancelqty:
  24132. description: 撤单数量
  24133. type: number
  24134. clientordertime:
  24135. description: 客户端委托时间
  24136. type: string
  24137. clientticket:
  24138. description: 客户端流水号
  24139. type: string
  24140. clienttype:
  24141. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24142. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24143. type: integer
  24144. closeexchagechargevalue:
  24145. description: 平仓交易所手续费设置值
  24146. type: number
  24147. closefeealgorithm:
  24148. description: 平仓手续费收取方式 1:比率 2:固定
  24149. type: integer
  24150. closefreezecharge:
  24151. description: 平仓冻结手续费(先建后平操作,需要记录)
  24152. type: number
  24153. closememberchargevalue:
  24154. description: 平仓会员手续费设置值
  24155. type: number
  24156. closeqty:
  24157. description: 平仓数量(先建后平操作 需要记录)
  24158. type: number
  24159. closetradeqty:
  24160. description: 平仓成交数量(先建后平操作,需要记录)
  24161. type: number
  24162. closeunfreezecharge:
  24163. description: 平仓解冻手续费(先建后平操作,需要记录)
  24164. type: number
  24165. decimalplace:
  24166. description: 商品报价小数位
  24167. type: integer
  24168. delistingtype:
  24169. description: 摘牌类型 - 1:价格最优 2:点选成交
  24170. type: integer
  24171. enumdicname:
  24172. description: 单位名称
  24173. type: string
  24174. freezecharge:
  24175. description: 冻结手续费
  24176. type: number
  24177. freezemargin:
  24178. description: 冻结保证金(冻结交易金额)
  24179. type: number
  24180. gcaccountid:
  24181. description: 账户ID[合约币种]
  24182. type: integer
  24183. goodscode:
  24184. description: 商品代码
  24185. type: string
  24186. goodsid:
  24187. description: 商品ID
  24188. type: integer
  24189. goodsname:
  24190. description: 商品名称
  24191. type: string
  24192. goodunitid:
  24193. description: 商品单位id
  24194. type: integer
  24195. histradedate:
  24196. description: 历史交易日
  24197. type: string
  24198. isconfirmexercise:
  24199. description: 是否确认行权- 0:否 1:是
  24200. type: integer
  24201. ispreexercise:
  24202. description: 是否预申报- 0:否 1:是
  24203. type: integer
  24204. isvaliddata:
  24205. description: 是否有效 - 0:无效 1:有效
  24206. type: integer
  24207. listingselecttype:
  24208. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24209. type: integer
  24210. marginalgorithm:
  24211. description: 保证金收取方式 1:比率 2:固定
  24212. type: integer
  24213. marginvalue:
  24214. description: 即市保证金设置值
  24215. type: number
  24216. marketid:
  24217. description: 市场ID
  24218. type: integer
  24219. marketmaxsub:
  24220. description: 市价最大偏移范围
  24221. type: number
  24222. marketname:
  24223. description: 市场名称
  24224. type: string
  24225. memberuserid:
  24226. description: 所属会员UserID
  24227. type: integer
  24228. openexchagechargevalue:
  24229. description: 建仓交易所手续费设置值
  24230. type: number
  24231. openfeealgorithm:
  24232. description: 建仓手续费收取方式 1:比率 2:固定
  24233. type: integer
  24234. openfreezecharge:
  24235. description: 开仓冻结手续费(先建后平操作,需要记录)
  24236. type: number
  24237. openmemberchargevalue:
  24238. description: 建仓会员手续费设置值
  24239. type: number
  24240. openqty:
  24241. description: 开仓数量(先建后平操作,需要记录)
  24242. type: number
  24243. opentradeqty:
  24244. description: 开仓成交数量(先建后平操作,需要记录)
  24245. type: number
  24246. openunfreezecharge:
  24247. description: 开仓解冻手续费(先建后平操作,需要记录)
  24248. type: number
  24249. operatetype:
  24250. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24251. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24252. 15:管理端协议转让
  24253. type: integer
  24254. operatorid:
  24255. description: 登录账号(LoginID)
  24256. type: integer
  24257. optiontype:
  24258. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24259. type: integer
  24260. orderid:
  24261. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24262. type: string
  24263. orderprice:
  24264. description: 委托价格
  24265. type: number
  24266. orderqty:
  24267. description: 委托数量
  24268. type: number
  24269. ordersrc:
  24270. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24271. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24272. type: integer
  24273. orderstatus:
  24274. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24275. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24276. 16:成交失败违约(荷兰式竞拍专用)
  24277. type: integer
  24278. ordertime:
  24279. description: 委托时间
  24280. type: string
  24281. preexerciseprice:
  24282. description: 预申报价格
  24283. type: number
  24284. premium:
  24285. description: 权利金
  24286. type: number
  24287. preorderid:
  24288. description: 关联预埋单号(止盈止损单时填写)
  24289. type: string
  24290. pricemode:
  24291. description: '取价方式 - 1:市价 2: 限价'
  24292. type: integer
  24293. qtydecimalplace:
  24294. description: 成交量小数位
  24295. type: integer
  24296. quoteid:
  24297. description: 报价单ID
  24298. type: integer
  24299. relatedid:
  24300. description: 关联单号(交割单)
  24301. type: string
  24302. retcode:
  24303. description: 错误代码
  24304. type: integer
  24305. sessionid:
  24306. description: 会话ID
  24307. type: integer
  24308. tradedate:
  24309. description: 交易日(yyyyMMdd)
  24310. type: string
  24311. trademode:
  24312. description: 交易模式
  24313. type: integer
  24314. tradeproperty:
  24315. description: 交易属性
  24316. type: integer
  24317. tradeqty:
  24318. description: 成交数量
  24319. type: number
  24320. unfreezecharge:
  24321. description: 解冻手续费
  24322. type: number
  24323. unfreezemargin:
  24324. description: 解冻保证金
  24325. type: number
  24326. updatetime:
  24327. description: 更新时间
  24328. type: string
  24329. uuid:
  24330. description: 发起端唯一id
  24331. type: string
  24332. validtime:
  24333. description: 有效期限
  24334. type: string
  24335. validtype:
  24336. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24337. type: integer
  24338. volumetype:
  24339. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24340. type: integer
  24341. required:
  24342. - accountid
  24343. - buildtype
  24344. - buyorsell
  24345. - goodsid
  24346. - histradedate
  24347. - marketid
  24348. - memberuserid
  24349. - operatetype
  24350. - orderid
  24351. - orderqty
  24352. - ordertime
  24353. - pricemode
  24354. - tradedate
  24355. - validtype
  24356. type: object
  24357. order.QueryTradeDetailRsp:
  24358. properties:
  24359. accountid:
  24360. description: 账户ID[报价币种]
  24361. type: integer
  24362. advanceratio:
  24363. description: 首付比率
  24364. type: number
  24365. buildtype:
  24366. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24367. type: integer
  24368. buyorsell:
  24369. description: 方向 - 0:买 1:卖
  24370. type: integer
  24371. charge:
  24372. description: 手续费
  24373. type: number
  24374. closecharge:
  24375. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24376. type: number
  24377. closeexchagechargevalue:
  24378. description: 平仓交易所手续费设置值
  24379. type: number
  24380. closefeealgorithm:
  24381. description: 平仓手续费收取方式 1:比率 2:固定
  24382. type: integer
  24383. closememberchargevalue:
  24384. description: 平仓会员手续费设置值
  24385. type: number
  24386. closepl:
  24387. description: 平仓盈亏
  24388. type: number
  24389. closepl2:
  24390. description: 平仓盈亏[逐笔]
  24391. type: number
  24392. closeqty:
  24393. description: 平仓数量(先建后平操作 需要记录)
  24394. type: number
  24395. creditamount:
  24396. description: 授信金额
  24397. type: number
  24398. decimalplace:
  24399. description: 商品报价小数位
  24400. type: integer
  24401. enumdicname:
  24402. description: 单位名称
  24403. type: string
  24404. gcaccountid:
  24405. description: 账户ID[合约币种]
  24406. type: integer
  24407. goodscode:
  24408. description: 商品代码
  24409. type: string
  24410. goodsid:
  24411. description: 商品ID
  24412. type: integer
  24413. goodsname:
  24414. description: 商品名称
  24415. type: string
  24416. goodunitid:
  24417. description: 商品单位id
  24418. type: integer
  24419. intclosepl:
  24420. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24421. type: integer
  24422. isconfirmexercise:
  24423. description: 是否确认行权- 0:否 1:是
  24424. type: integer
  24425. ismain:
  24426. description: 是否主单 - 0:不是 1:是
  24427. type: integer
  24428. ispreexercise:
  24429. description: 是否预申报- 0:否 1:是
  24430. type: integer
  24431. isreckoned:
  24432. description: 是否结算 - 0:未结算 1:已结算
  24433. type: integer
  24434. listingselecttype:
  24435. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24436. type: integer
  24437. marketid:
  24438. description: 市场ID
  24439. type: integer
  24440. marketname:
  24441. description: 市场名称
  24442. type: string
  24443. matchaccountid:
  24444. description: 对手账号id
  24445. type: integer
  24446. memberuserid:
  24447. description: 会员id 个人投资者 需要填写
  24448. type: integer
  24449. opencharge:
  24450. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24451. type: number
  24452. openexchagechargevalue:
  24453. description: 建仓交易所手续费设置值
  24454. type: number
  24455. openfeealgorithm:
  24456. description: 建仓手续费收取方式 1:比率 2:固定
  24457. type: integer
  24458. openmemberchargevalue:
  24459. description: 建仓会员手续费设置值
  24460. type: number
  24461. openqty:
  24462. description: 开仓数量(先建后平操作 需要记录)
  24463. type: number
  24464. optiontype:
  24465. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24466. type: integer
  24467. orderid:
  24468. description: 委托单号
  24469. type: string
  24470. payamount:
  24471. description: 支付金额(付款金额)
  24472. type: number
  24473. performanceplanid:
  24474. description: 履约计划ID[期权]
  24475. type: integer
  24476. performancestatus:
  24477. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24478. type: integer
  24479. preexerciseprice:
  24480. description: 预申报价格
  24481. type: number
  24482. premium:
  24483. description: 权利金 - [持仓单的权利金]
  24484. type: number
  24485. qtydecimalplace:
  24486. description: 商品报价小数位
  24487. type: integer
  24488. recvamount:
  24489. description: 到账金额 = 成交金额 - 手续费
  24490. type: number
  24491. relatedouttradeid:
  24492. description: 关联外部成交单ID
  24493. type: integer
  24494. status:
  24495. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24496. type: integer
  24497. totalamount:
  24498. description: 订单总额 = 成交金额 + 手续费
  24499. type: number
  24500. tradeamount:
  24501. description: 成交金额[账户币种,用于所有权]
  24502. type: number
  24503. tradedate:
  24504. description: 交易日(yyyyMMdd)
  24505. type: string
  24506. tradeid:
  24507. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24508. type: string
  24509. trademode:
  24510. description: 交易模式
  24511. type: integer
  24512. tradeprice:
  24513. description: 成交价格
  24514. type: number
  24515. tradeproperty:
  24516. description: 交易属性
  24517. type: integer
  24518. tradeqty:
  24519. description: 成交数量
  24520. type: number
  24521. tradetime:
  24522. description: 成交时间
  24523. type: string
  24524. tradetype:
  24525. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24526. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24527. type: integer
  24528. required:
  24529. - accountid
  24530. - buyorsell
  24531. - goodsid
  24532. - marketid
  24533. - memberuserid
  24534. - orderid
  24535. - tradeamount
  24536. - tradedate
  24537. - tradeid
  24538. - tradeprice
  24539. - tradeqty
  24540. - tradetime
  24541. type: object
  24542. order.QueryTradeOrderDetailRsp:
  24543. properties:
  24544. accountid:
  24545. description: 账户ID[报价币种]
  24546. type: integer
  24547. buildtype:
  24548. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24549. type: integer
  24550. buyorsell:
  24551. description: 买卖 - 0:买 1:卖
  24552. type: integer
  24553. cancelorderid:
  24554. description: 撤单单号(撤单时填写)
  24555. type: string
  24556. cancelqty:
  24557. description: 撤单数量
  24558. type: number
  24559. clienttype:
  24560. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24561. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24562. type: integer
  24563. closefreezecharge:
  24564. description: 平仓冻结手续费(先建后平操作,需要记录)
  24565. type: number
  24566. closeqty:
  24567. description: 平仓数量(先建后平操作 需要记录)
  24568. type: number
  24569. closetradeqty:
  24570. description: 平仓成交数量(先建后平操作,需要记录)
  24571. type: number
  24572. closeunfreezecharge:
  24573. description: 平仓解冻手续费(先建后平操作,需要记录)
  24574. type: number
  24575. decimalplace:
  24576. description: 商品报价小数位
  24577. type: integer
  24578. delistingtype:
  24579. description: 摘牌类型 - 1:价格最优 2:点选成交
  24580. type: integer
  24581. enableqty:
  24582. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24583. type: number
  24584. enumdicname:
  24585. description: 单位名称
  24586. type: string
  24587. freezecharge:
  24588. description: 冻结手续费
  24589. type: number
  24590. freezemargin:
  24591. description: 冻结保证金(冻结交易金额)
  24592. type: number
  24593. goodscode:
  24594. description: 商品代码
  24595. type: string
  24596. goodsid:
  24597. description: 商品ID
  24598. type: integer
  24599. goodsname:
  24600. description: 商品名称
  24601. type: string
  24602. goodunitid:
  24603. description: 商品单位id
  24604. type: integer
  24605. listingselecttype:
  24606. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24607. type: integer
  24608. marketid:
  24609. description: 市场ID
  24610. type: integer
  24611. marketname:
  24612. description: 市场名称
  24613. type: string
  24614. openfreezecharge:
  24615. description: 开仓冻结手续费(先建后平操作,需要记录)
  24616. type: number
  24617. openqty:
  24618. description: 开仓数量(先建后平操作,需要记录)
  24619. type: number
  24620. opentradeqty:
  24621. description: 开仓成交数量(先建后平操作,需要记录)
  24622. type: number
  24623. openunfreezecharge:
  24624. description: 开仓解冻手续费(先建后平操作,需要记录)
  24625. type: number
  24626. operatetype:
  24627. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24628. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24629. 15:管理端协议转让
  24630. type: integer
  24631. operatorid:
  24632. description: 登录账号(LoginID)
  24633. type: integer
  24634. orderid:
  24635. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24636. type: string
  24637. orderprice:
  24638. description: 委托价格
  24639. type: number
  24640. orderqty:
  24641. description: 委托数量
  24642. type: number
  24643. ordersrc:
  24644. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24645. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24646. type: integer
  24647. orderstatus:
  24648. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24649. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24650. 16:成交失败违约(荷兰式竞拍专用)
  24651. type: integer
  24652. ordertime:
  24653. description: 委托时间
  24654. type: string
  24655. preorderid:
  24656. description: 关联预埋单号(止盈止损单时填写)
  24657. type: string
  24658. pricemode:
  24659. description: '取价方式 - 1:市价 2: 限价'
  24660. type: integer
  24661. qtydecimalplace:
  24662. description: 商品报价小数位
  24663. type: integer
  24664. relatedid:
  24665. description: 关联单号(交割单)
  24666. type: string
  24667. tradedate:
  24668. description: 交易日(yyyyMMdd)
  24669. type: string
  24670. trademode:
  24671. description: 交易模式
  24672. type: integer
  24673. tradeqty:
  24674. description: 成交数量
  24675. type: number
  24676. unfreezecharge:
  24677. description: 解冻手续费
  24678. type: number
  24679. unfreezemargin:
  24680. description: 解冻保证金
  24681. type: number
  24682. validtime:
  24683. description: 有效期限
  24684. type: string
  24685. validtype:
  24686. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24687. type: integer
  24688. volumetype:
  24689. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24690. type: integer
  24691. required:
  24692. - accountid
  24693. - buildtype
  24694. - buyorsell
  24695. - goodsid
  24696. - marketid
  24697. - operatetype
  24698. - orderqty
  24699. - ordertime
  24700. - pricemode
  24701. - tradedate
  24702. - validtype
  24703. type: object
  24704. order.QueryTradePositionRsp:
  24705. properties:
  24706. accountid:
  24707. description: 资金账户
  24708. type: integer
  24709. agreeunit:
  24710. description: 合约单位
  24711. type: number
  24712. averageprice:
  24713. description: 持仓均价
  24714. type: number
  24715. buyorsell:
  24716. description: 方向 - 0:买 1:卖
  24717. type: integer
  24718. closetotalqty:
  24719. description: 平仓总数量
  24720. type: number
  24721. curholderamount:
  24722. description: 当前持仓总金额[商品币种]
  24723. type: number
  24724. curpositionqty:
  24725. description: 当前持仓总数量
  24726. type: number
  24727. currencyid:
  24728. description: 报价货币ID
  24729. type: integer
  24730. curtdposition:
  24731. description: 期末今日头寸
  24732. type: number
  24733. decimalplace:
  24734. description: 报价小数位
  24735. type: integer
  24736. enableqty:
  24737. description: 可用量
  24738. type: number
  24739. fretdposition:
  24740. description: 冻结今日头寸
  24741. type: number
  24742. frozenqty:
  24743. description: 持仓冻结数量
  24744. type: number
  24745. goodscode:
  24746. description: 商品代码
  24747. type: string
  24748. goodsid:
  24749. description: 商品Id
  24750. type: integer
  24751. goodsname:
  24752. description: 商品名称
  24753. type: string
  24754. goodunit:
  24755. description: 报价单位
  24756. type: string
  24757. goodunitid:
  24758. description: 报价单位ID
  24759. type: integer
  24760. holderamount:
  24761. description: 期初持仓总金额[商品币种]
  24762. type: number
  24763. lastprice:
  24764. description: 最新价
  24765. type: number
  24766. marketamount:
  24767. description: 市值
  24768. type: number
  24769. marketid:
  24770. description: 所属市场ID
  24771. type: integer
  24772. openreqqty:
  24773. description: 开仓申请数量(用于比较最大持仓数量)
  24774. type: number
  24775. opentotalqty:
  24776. description: 开仓总数量
  24777. type: number
  24778. otherfrozenqty:
  24779. description: 持仓其他冻结数量(交割冻结)
  24780. type: number
  24781. positionpl:
  24782. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24783. * 合约单位
  24784. type: number
  24785. positionplrate:
  24786. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24787. type: number
  24788. positionqty:
  24789. description: 期初持仓数量
  24790. type: number
  24791. qtydecimalplace:
  24792. description: 成交量小数位
  24793. type: integer
  24794. refgoodscode:
  24795. description: 参考商品代码
  24796. type: string
  24797. refgoodsid:
  24798. description: 参考商品ID
  24799. type: integer
  24800. tnqty:
  24801. description: T+N冻结总量
  24802. type: number
  24803. tnusedqty:
  24804. description: T+N使用量(可以使用T+N的冻结数量)
  24805. type: number
  24806. trademode:
  24807. description: 交易模式
  24808. type: integer
  24809. tradeproperty:
  24810. description: 交易属性
  24811. type: integer
  24812. usedmargin:
  24813. description: 占用保证金[商品币种]
  24814. type: number
  24815. required:
  24816. - goodsid
  24817. type: object
  24818. pb.GoodsMarginCfgStruct:
  24819. properties:
  24820. CustomerTypeID:
  24821. description: 投资者客户类型
  24822. type: integer
  24823. GoodsID:
  24824. description: 商品ID
  24825. type: integer
  24826. IsDefault:
  24827. description: 是否默认标志位
  24828. type: integer
  24829. LockMarginValue:
  24830. description: 锁仓保证金
  24831. type: number
  24832. MarginAlgorithm:
  24833. description: 保证金计算方式
  24834. type: integer
  24835. MarketMarginValue:
  24836. description: 即市保证金值
  24837. type: number
  24838. RealMarginAlgorithm:
  24839. description: 实付保证金计算方式
  24840. type: integer
  24841. RealMarginValue:
  24842. description: 实付比例
  24843. type: number
  24844. ReckonMarginValue:
  24845. description: 结算保证金值
  24846. type: number
  24847. type: object
  24848. quote.HistoryData:
  24849. properties:
  24850. c:
  24851. description: 收盘价
  24852. type: number
  24853. f:
  24854. description: 是否补充数据
  24855. type: boolean
  24856. h:
  24857. description: 最高价
  24858. type: number
  24859. hv:
  24860. description: 持仓量
  24861. type: integer
  24862. l:
  24863. description: 最低价
  24864. type: number
  24865. o:
  24866. description: 开盘价
  24867. type: number
  24868. s:
  24869. description: 结算价,日线周期(包括)以上才有
  24870. type: number
  24871. ts:
  24872. description: 时间
  24873. type: string
  24874. tt:
  24875. description: 总金额
  24876. type: number
  24877. tv:
  24878. description: 总量(成交量)
  24879. type: integer
  24880. type: object
  24881. quote.HistoryTikData:
  24882. properties:
  24883. AV:
  24884. description: 卖量
  24885. type: integer
  24886. Ask:
  24887. description: 卖价
  24888. type: number
  24889. BV:
  24890. description: 买量
  24891. type: integer
  24892. Bid:
  24893. description: 买价
  24894. type: number
  24895. HI:
  24896. description: 单笔持仓
  24897. type: integer
  24898. HV:
  24899. description: 持仓量
  24900. type: integer
  24901. PE:
  24902. description: 现价
  24903. type: number
  24904. TDR:
  24905. description: 交易方向,0:买 1:卖
  24906. type: integer
  24907. TK:
  24908. description: 交易类型
  24909. type: integer
  24910. TS:
  24911. description: 行情时间文本
  24912. type: string
  24913. TT:
  24914. description: 现金额
  24915. type: number
  24916. Vol:
  24917. description: 现量
  24918. type: integer
  24919. type: object
  24920. quote.QueryQuoteDayRsp:
  24921. properties:
  24922. ask:
  24923. description: 卖1
  24924. type: number
  24925. ask2:
  24926. description: 卖2
  24927. type: number
  24928. ask3:
  24929. description: 卖3
  24930. type: number
  24931. ask4:
  24932. description: 卖4
  24933. type: number
  24934. ask5:
  24935. description: 卖5
  24936. type: number
  24937. ask6:
  24938. description: 卖6
  24939. type: number
  24940. ask7:
  24941. description: 卖7
  24942. type: number
  24943. ask8:
  24944. description: 卖8
  24945. type: number
  24946. ask9:
  24947. description: 卖9
  24948. type: number
  24949. ask10:
  24950. description: 卖10
  24951. type: number
  24952. askorderid:
  24953. description: 卖单号1
  24954. type: integer
  24955. askorderid2:
  24956. description: 卖单号2
  24957. type: integer
  24958. askorderid3:
  24959. description: 卖单号3
  24960. type: integer
  24961. askorderid4:
  24962. description: 卖单号4
  24963. type: integer
  24964. askorderid5:
  24965. description: 卖单号5
  24966. type: integer
  24967. askordervolume:
  24968. description: 卖单量1
  24969. type: integer
  24970. askordervolume2:
  24971. description: 卖单量2
  24972. type: integer
  24973. askordervolume3:
  24974. description: 卖单量3
  24975. type: integer
  24976. askordervolume4:
  24977. description: 卖单量4
  24978. type: integer
  24979. askordervolume5:
  24980. description: 卖单量5
  24981. type: integer
  24982. askordervolume6:
  24983. description: 卖单量6
  24984. type: integer
  24985. askordervolume7:
  24986. description: 卖单量7
  24987. type: integer
  24988. askordervolume8:
  24989. description: 卖单量8
  24990. type: integer
  24991. askordervolume9:
  24992. description: 卖单量9
  24993. type: integer
  24994. askordervolume10:
  24995. description: 卖单量10
  24996. type: integer
  24997. askqueueinfo:
  24998. description: 大利市卖港股用
  24999. type: string
  25000. askvolume:
  25001. description: 卖量1
  25002. type: integer
  25003. askvolume2:
  25004. description: 卖量2
  25005. type: integer
  25006. askvolume3:
  25007. description: 卖量3
  25008. type: integer
  25009. askvolume4:
  25010. description: 卖量4
  25011. type: integer
  25012. askvolume5:
  25013. description: 卖量5
  25014. type: integer
  25015. askvolume6:
  25016. description: 卖量6
  25017. type: integer
  25018. askvolume7:
  25019. description: 卖量7
  25020. type: integer
  25021. askvolume8:
  25022. description: 卖量8
  25023. type: integer
  25024. askvolume9:
  25025. description: 卖量9
  25026. type: integer
  25027. askvolume10:
  25028. description: 卖量10
  25029. type: integer
  25030. averageprice:
  25031. description: 均价
  25032. type: number
  25033. bid:
  25034. description: 买1
  25035. type: number
  25036. bid2:
  25037. description: 买2
  25038. type: number
  25039. bid3:
  25040. description: 买3
  25041. type: number
  25042. bid4:
  25043. description: 买4
  25044. type: number
  25045. bid5:
  25046. description: 买5
  25047. type: number
  25048. bid6:
  25049. description: 买6
  25050. type: number
  25051. bid7:
  25052. description: 买7
  25053. type: number
  25054. bid8:
  25055. description: 买8
  25056. type: number
  25057. bid9:
  25058. description: 买9
  25059. type: number
  25060. bid10:
  25061. description: 买10
  25062. type: number
  25063. bidorderid:
  25064. description: 买单号1
  25065. type: integer
  25066. bidorderid2:
  25067. description: 买单号2
  25068. type: integer
  25069. bidorderid3:
  25070. description: 买单号3
  25071. type: integer
  25072. bidorderid4:
  25073. description: 买单号4
  25074. type: integer
  25075. bidorderid5:
  25076. description: 买单号5
  25077. type: integer
  25078. bidordervolume:
  25079. description: 买单量1
  25080. type: integer
  25081. bidordervolume2:
  25082. description: 买单量2
  25083. type: integer
  25084. bidordervolume3:
  25085. description: 买单量3
  25086. type: integer
  25087. bidordervolume4:
  25088. description: 买单量4
  25089. type: integer
  25090. bidordervolume5:
  25091. description: 买单量5
  25092. type: integer
  25093. bidordervolume6:
  25094. description: 买单量6
  25095. type: integer
  25096. bidordervolume7:
  25097. description: 买单量7
  25098. type: integer
  25099. bidordervolume8:
  25100. description: 买单量8
  25101. type: integer
  25102. bidordervolume9:
  25103. description: 买单量9
  25104. type: integer
  25105. bidordervolume10:
  25106. description: 买单量10
  25107. type: integer
  25108. bidqueueinfo:
  25109. description: 大利市买港股用
  25110. type: string
  25111. bidvolume:
  25112. description: 买量1
  25113. type: integer
  25114. bidvolume2:
  25115. description: 买量2
  25116. type: integer
  25117. bidvolume3:
  25118. description: 买量3
  25119. type: integer
  25120. bidvolume4:
  25121. description: 买量4
  25122. type: integer
  25123. bidvolume5:
  25124. description: 买量5
  25125. type: integer
  25126. bidvolume6:
  25127. description: 买量6
  25128. type: integer
  25129. bidvolume7:
  25130. description: 买量7
  25131. type: integer
  25132. bidvolume8:
  25133. description: 买量8
  25134. type: integer
  25135. bidvolume9:
  25136. description: 买量9
  25137. type: integer
  25138. bidvolume10:
  25139. description: 买量10
  25140. type: integer
  25141. calloptionpremiums:
  25142. description: 认购期权1
  25143. type: integer
  25144. calloptionpremiums2:
  25145. description: 认购期权2
  25146. type: integer
  25147. calloptionpremiums3:
  25148. description: 认购期权3
  25149. type: integer
  25150. calloptionpremiums4:
  25151. description: 认购期权4
  25152. type: integer
  25153. calloptionpremiums5:
  25154. description: 认购期权5
  25155. type: integer
  25156. cleartime:
  25157. description: 清盘时间
  25158. type: integer
  25159. exchangecode:
  25160. description: 交易所代码
  25161. type: integer
  25162. exchangedate:
  25163. description: 交易日
  25164. type: integer
  25165. goodscode:
  25166. description: 商品代码
  25167. type: string
  25168. grepmarketprice:
  25169. description: 暗盘价 港股专用
  25170. type: number
  25171. highest:
  25172. description: 最高价
  25173. type: number
  25174. holdincrement:
  25175. description: 单笔持仓
  25176. type: integer
  25177. holdvolume:
  25178. description: 持仓
  25179. type: integer
  25180. iep:
  25181. description: 平衡价 港股专用
  25182. type: number
  25183. iev:
  25184. description: 平衡量 港股专用
  25185. type: number
  25186. inventory:
  25187. description: 库存
  25188. type: integer
  25189. iscleared:
  25190. description: 是否清盘标志
  25191. type: integer
  25192. issettled:
  25193. description: 是否结算标志
  25194. type: integer
  25195. last:
  25196. description: 最新价
  25197. type: number
  25198. lastlot:
  25199. description: 最新成交手数
  25200. type: integer
  25201. lasttime:
  25202. description: 行情时间(只有现价变化行情时间才变化)
  25203. type: string
  25204. lastturnover:
  25205. description: 最新成交金额
  25206. type: number
  25207. lastvolume:
  25208. description: 最新成交量
  25209. type: integer
  25210. limitdown:
  25211. description: 跌停价
  25212. type: number
  25213. limitup:
  25214. description: 涨停价
  25215. type: number
  25216. lowest:
  25217. description: 最低价
  25218. type: number
  25219. nontotalholdervolume:
  25220. description: 非交易持仓量
  25221. type: integer
  25222. nontotallot:
  25223. description: 非交易总手数
  25224. type: integer
  25225. nontotalturnover:
  25226. description: 非交易总金额
  25227. type: integer
  25228. nontotalvolume:
  25229. description: 非交易总量
  25230. type: integer
  25231. opened:
  25232. description: 开盘价
  25233. type: number
  25234. opentime:
  25235. description: 开盘时间
  25236. type: string
  25237. orderid:
  25238. description: 序号
  25239. type: integer
  25240. preclose:
  25241. description: 昨收
  25242. type: number
  25243. preholdvolume:
  25244. description: 昨持仓
  25245. type: integer
  25246. presettle:
  25247. description: 昨结价
  25248. type: number
  25249. publictradetype:
  25250. description: 公共交易标志类型 港股专用
  25251. type: string
  25252. putoptionpremiums:
  25253. description: 认沽期权1
  25254. type: integer
  25255. putoptionpremiums2:
  25256. description: 认沽期权2
  25257. type: integer
  25258. putoptionpremiums3:
  25259. description: 认沽期权3
  25260. type: integer
  25261. putoptionpremiums4:
  25262. description: 认沽期权4
  25263. type: integer
  25264. putoptionpremiums5:
  25265. description: 认沽期权5
  25266. type: integer
  25267. settle:
  25268. description: 结算价
  25269. type: number
  25270. strikeprice:
  25271. description: 发行价
  25272. type: number
  25273. totalaskvolume:
  25274. description: 内盘
  25275. type: integer
  25276. totalbidvolume:
  25277. description: 外盘
  25278. type: integer
  25279. totallot:
  25280. description: 总手数
  25281. type: integer
  25282. totalturnover:
  25283. description: 总金额
  25284. type: number
  25285. totalvolume:
  25286. description: 总量
  25287. type: integer
  25288. utclasttime:
  25289. description: utc的行情时间
  25290. type: string
  25291. type: object
  25292. quote.QueryTSDataRsp:
  25293. properties:
  25294. Count:
  25295. description: 交易日应有数据个数
  25296. type: integer
  25297. decimalPlace:
  25298. description: 小数位
  25299. type: integer
  25300. endTime:
  25301. description: 结束时间
  25302. type: string
  25303. goodsCode:
  25304. description: 商品代码
  25305. type: string
  25306. historyDatas:
  25307. description: 历史数据
  25308. items:
  25309. $ref: '#/definitions/quote.HistoryData'
  25310. type: array
  25311. outGoodsCode:
  25312. description: 外部商品代码
  25313. type: string
  25314. preSettle:
  25315. description: 昨结价
  25316. type: number
  25317. runSteps:
  25318. description: 交易日开休市计划
  25319. items:
  25320. $ref: '#/definitions/quote.TSDataRunStep'
  25321. type: array
  25322. startTime:
  25323. description: 开始时间
  25324. type: string
  25325. tradeDate:
  25326. description: 交易日
  25327. type: string
  25328. type: object
  25329. quote.TSDataRunStep:
  25330. properties:
  25331. end:
  25332. description: 真实结束时间
  25333. type: string
  25334. endflag:
  25335. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25336. type: integer
  25337. endtime:
  25338. description: 结束时间(HH:mm)
  25339. type: string
  25340. endweekday:
  25341. description: 结束周几
  25342. type: integer
  25343. groupid:
  25344. description: 分组ID
  25345. type: integer
  25346. runstep:
  25347. description: 运行阶段 - 2:连续交易
  25348. type: integer
  25349. sectionid:
  25350. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25351. 结束时间=结算时间 结束周几=结算周几
  25352. type: integer
  25353. start:
  25354. description: 真实开始时间
  25355. type: string
  25356. startflag:
  25357. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25358. type: integer
  25359. starttime:
  25360. description: 起始时间(HH:mm)
  25361. type: string
  25362. startweekday:
  25363. description: 起始周几
  25364. type: integer
  25365. tradeweekday:
  25366. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25367. type: integer
  25368. type: object
  25369. szdz.QueryConvertLogRsp:
  25370. properties:
  25371. accountid:
  25372. description: 资金账户ID
  25373. type: integer
  25374. clientticket:
  25375. description: 客户端流水号
  25376. type: string
  25377. converttype:
  25378. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25379. type: integer
  25380. createtime:
  25381. description: 记账时间
  25382. type: string
  25383. daymaxvalue:
  25384. description: 配置当日最大转入限制
  25385. type: number
  25386. daymaxvalue2:
  25387. description: 配置当日最大转入限制(转入)
  25388. type: number
  25389. goodscode:
  25390. description: 商品代码
  25391. type: string
  25392. goodsname:
  25393. description: 商品名称
  25394. type: string
  25395. handlestatus:
  25396. description: 处理状态
  25397. type: integer
  25398. innergoodsid:
  25399. description: 内部商品ID
  25400. type: integer
  25401. inratio:
  25402. description: 配置转入比值
  25403. type: integer
  25404. invalue:
  25405. description: 目标值
  25406. type: number
  25407. logid:
  25408. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25409. type: integer
  25410. mobile:
  25411. description: 手机号码(加密存储)
  25412. type: string
  25413. outergoodscode:
  25414. description: 外部商品代码[JD\PD]
  25415. type: string
  25416. outratio:
  25417. description: 配置转出比值
  25418. type: integer
  25419. outvalue:
  25420. description: 源值
  25421. type: number
  25422. pddecimalplace:
  25423. description: PD小数位
  25424. type: integer
  25425. qty:
  25426. description: 数量
  25427. type: string
  25428. remark:
  25429. description: 备注
  25430. type: string
  25431. sessionid:
  25432. description: 会话ID
  25433. type: integer
  25434. timemaxvalue:
  25435. description: 配置单次最大转入限制
  25436. type: number
  25437. timemaxvalue2:
  25438. description: 配置单次最大转入限制(转入)
  25439. type: number
  25440. timeminvalue:
  25441. description: 配置单次最小数量限制
  25442. type: number
  25443. timeminvalue2:
  25444. description: 配置单次最小数量限制(转入)
  25445. type: number
  25446. tradedate:
  25447. description: 交易日(yyyyMMdd)
  25448. type: string
  25449. userid:
  25450. description: 用户ID
  25451. type: integer
  25452. required:
  25453. - logid
  25454. type: object
  25455. szdz.QueryGoodsPickupRsp:
  25456. properties:
  25457. accountid:
  25458. description: 账户ID
  25459. type: integer
  25460. address:
  25461. description: 提货人详细地址
  25462. type: string
  25463. auditer:
  25464. description: 审核人
  25465. type: integer
  25466. audittime:
  25467. description: 审核时间
  25468. type: string
  25469. cardnum:
  25470. description: 提货人证件号码
  25471. type: string
  25472. cardtypeid:
  25473. description: 提货人证件类型
  25474. type: integer
  25475. checkremark:
  25476. description: 审核备注
  25477. type: string
  25478. goodscode:
  25479. description: 商品代码
  25480. type: string
  25481. goodsid:
  25482. description: 商品ID
  25483. type: integer
  25484. goodsname:
  25485. description: 商品名称
  25486. type: string
  25487. handlestatus:
  25488. description: 处理状态
  25489. type: integer
  25490. marketid:
  25491. description: 市场ID
  25492. type: integer
  25493. phonenum:
  25494. description: 提货人联系方式
  25495. type: string
  25496. qty:
  25497. description: 提货数量
  25498. type: number
  25499. recivername:
  25500. description: 提货人姓名
  25501. type: string
  25502. reqtime:
  25503. description: 更新时间
  25504. type: string
  25505. takemode:
  25506. description: 提货方式 - 2:自提 3:配送
  25507. type: integer
  25508. takeorderid:
  25509. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25510. type: string
  25511. takeorderstatus:
  25512. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25513. type: integer
  25514. takeremark:
  25515. description: 提货备注
  25516. type: string
  25517. tradedate:
  25518. description: 交易日(yyyyMMdd)
  25519. type: string
  25520. userid:
  25521. description: 用户ID
  25522. type: integer
  25523. required:
  25524. - takeorderid
  25525. type: object
  25526. szdz.QueryRecieptOrderRsp:
  25527. properties:
  25528. accountName:
  25529. description: 所属账号名称(已脱敏)
  25530. type: string
  25531. accountid:
  25532. description: 资金账号
  25533. type: integer
  25534. buyorsell:
  25535. description: 方向 - 0:买 1:卖
  25536. type: integer
  25537. enableqty:
  25538. description: 可摘数量
  25539. type: integer
  25540. goodscode:
  25541. description: 商品代码
  25542. type: string
  25543. goodsid:
  25544. description: 商品ID
  25545. type: integer
  25546. goodsname:
  25547. description: 商品名称
  25548. type: string
  25549. orderid:
  25550. description: 委托单号
  25551. type: string
  25552. orderprice:
  25553. description: 委托价格
  25554. type: number
  25555. ordertime:
  25556. description: 委托时间
  25557. type: string
  25558. tradedate:
  25559. description: 交易日(yyyyMMdd)
  25560. type: string
  25561. required:
  25562. - ordertime
  25563. type: object
  25564. szdz.QuerySZDZTradePositionRsp:
  25565. properties:
  25566. accountid:
  25567. description: 账号Id
  25568. type: integer
  25569. agreeunit:
  25570. description: 合约单位
  25571. type: number
  25572. averageprice:
  25573. description: 持仓均价
  25574. type: number
  25575. buyorsell:
  25576. description: 方向 - 0:买 1:卖
  25577. type: integer
  25578. closetotalqty:
  25579. description: 平仓总数量
  25580. type: integer
  25581. curholderamount:
  25582. description: 当前持仓总金额
  25583. type: number
  25584. curpositionqty:
  25585. description: 当前持仓总数量
  25586. type: integer
  25587. currencyid:
  25588. description: 报价货币ID
  25589. type: integer
  25590. curtdposition:
  25591. description: 期末今日头寸
  25592. type: integer
  25593. decimalplace:
  25594. description: 报价小数位
  25595. type: integer
  25596. enableqty:
  25597. description: 可用量
  25598. type: integer
  25599. fretdposition:
  25600. description: 冻结今日头寸
  25601. type: integer
  25602. frozenqty:
  25603. description: 持仓冻结数量
  25604. type: integer
  25605. goodscode:
  25606. description: 商品代码(内部)
  25607. type: string
  25608. goodsid:
  25609. description: 商品Id
  25610. type: integer
  25611. goodsname:
  25612. description: 商品名称
  25613. type: string
  25614. goodunit:
  25615. description: 报价单位
  25616. type: string
  25617. goodunitid:
  25618. description: 报价单位ID
  25619. type: integer
  25620. holderamount:
  25621. description: 期初持仓总金额
  25622. type: number
  25623. marketid:
  25624. description: 市场ID
  25625. type: integer
  25626. openreqqty:
  25627. description: 开仓申请数量
  25628. type: integer
  25629. opentotalqty:
  25630. description: 开仓总数量
  25631. type: integer
  25632. otherfrozenqty:
  25633. description: 持仓其他冻结数量(交割冻结)
  25634. type: integer
  25635. positionqty:
  25636. description: 期初持仓数量
  25637. type: integer
  25638. szdz3freezqty:
  25639. description: 尚志大宗转换冻结总数量
  25640. type: integer
  25641. tnqty:
  25642. description: T+N冻结总量
  25643. type: integer
  25644. tnusedqty:
  25645. description: T+N使用量
  25646. type: integer
  25647. trademode:
  25648. description: 交易模式
  25649. type: integer
  25650. usedmargin:
  25651. description: 占用保证金
  25652. type: number
  25653. type: object
  25654. taaccount.QueryAmountLogRsp:
  25655. properties:
  25656. accountid:
  25657. description: 资金账户ID
  25658. type: integer
  25659. agoodscode:
  25660. description: 竞拍商品代码
  25661. type: string
  25662. agoodsname:
  25663. description: 竞拍商品名称
  25664. type: string
  25665. amount:
  25666. description: 资金金额
  25667. type: number
  25668. amountadjusttype:
  25669. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25670. type: integer
  25671. autoid:
  25672. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25673. type: integer
  25674. balance:
  25675. description: 期初余额
  25676. type: number
  25677. businesscode:
  25678. description: 业务编号
  25679. type: integer
  25680. createtime:
  25681. description: 发生时间
  25682. type: string
  25683. currencyid:
  25684. description: 币种ID
  25685. type: integer
  25686. currentbalance:
  25687. description: 期末余额(变动后金额)
  25688. type: number
  25689. dgoodscode:
  25690. description: 交割商品代码
  25691. type: string
  25692. dgoodsname:
  25693. description: 交割商品名称
  25694. type: string
  25695. goodscode:
  25696. description: 商品代码
  25697. type: string
  25698. goodsid:
  25699. description: 商品ID
  25700. type: integer
  25701. goodsname:
  25702. description: 商品名称
  25703. type: string
  25704. marketid:
  25705. description: 市场ID
  25706. type: integer
  25707. marketname:
  25708. description: 市场名称
  25709. type: string
  25710. moneyticket:
  25711. description: 资金流水号:银行端流水号
  25712. type: integer
  25713. operatetype:
  25714. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25715. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25716. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25717. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25718. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25719. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25720. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25721. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25722. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25723. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25724. type: integer
  25725. relationorderid:
  25726. description: 关联单号
  25727. type: string
  25728. remark:
  25729. description: 备注
  25730. type: string
  25731. trademode:
  25732. description: 交易模式
  25733. type: integer
  25734. required:
  25735. - accountid
  25736. - amount
  25737. - amountadjusttype
  25738. - autoid
  25739. - balance
  25740. - createtime
  25741. - currentbalance
  25742. - operatetype
  25743. type: object
  25744. taaccount.QueryHisAmountLogRsp:
  25745. properties:
  25746. accountid:
  25747. description: 资金账户ID
  25748. type: integer
  25749. agoodscode:
  25750. description: 竞拍商品代码
  25751. type: string
  25752. agoodsname:
  25753. description: 竞拍商品名称
  25754. type: string
  25755. amount:
  25756. description: 资金金额
  25757. type: number
  25758. amountadjusttype:
  25759. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25760. type: integer
  25761. autoid:
  25762. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25763. type: integer
  25764. balance:
  25765. description: 期初余额
  25766. type: number
  25767. businesscode:
  25768. description: 业务编号
  25769. type: integer
  25770. createtime:
  25771. description: 发生时间
  25772. type: string
  25773. currencyid:
  25774. description: 币种ID
  25775. type: integer
  25776. currentbalance:
  25777. description: 期末余额(变动后金额)
  25778. type: number
  25779. dgoodscode:
  25780. description: 交割商品代码
  25781. type: string
  25782. dgoodsname:
  25783. description: 交割商品名称
  25784. type: string
  25785. goodscode:
  25786. description: 商品代码
  25787. type: string
  25788. goodsid:
  25789. description: 商品ID
  25790. type: integer
  25791. goodsname:
  25792. description: 商品名称
  25793. type: string
  25794. histradedate:
  25795. description: 历史交易日
  25796. type: string
  25797. isvaliddata:
  25798. description: 是否有效 - 0:无效 1:有效
  25799. type: integer
  25800. marketid:
  25801. description: 市场ID
  25802. type: integer
  25803. marketname:
  25804. description: 市场名称
  25805. type: string
  25806. moneyticket:
  25807. description: 资金流水号:银行端流水号
  25808. type: integer
  25809. operatetype:
  25810. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25811. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25812. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25813. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25814. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25815. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25816. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25817. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25818. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25819. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25820. type: integer
  25821. relationorderid:
  25822. description: 关联单号
  25823. type: string
  25824. remark:
  25825. description: 备注
  25826. type: string
  25827. trademode:
  25828. description: 交易模式
  25829. type: integer
  25830. required:
  25831. - accountid
  25832. - amount
  25833. - amountadjusttype
  25834. - autoid
  25835. - balance
  25836. - createtime
  25837. - currentbalance
  25838. - histradedate
  25839. - operatetype
  25840. type: object
  25841. trade.QueryRecieptOrderRsp:
  25842. properties:
  25843. accountName:
  25844. description: 所属账号名称(已脱敏)
  25845. type: string
  25846. accountid:
  25847. description: 资金账号
  25848. type: integer
  25849. buyorsell:
  25850. description: 方向 - 0:买 1:卖
  25851. type: integer
  25852. enableqty:
  25853. description: 可摘数量
  25854. type: integer
  25855. goodscode:
  25856. description: 商品代码
  25857. type: string
  25858. goodsid:
  25859. description: 商品ID
  25860. type: integer
  25861. goodsname:
  25862. description: 商品名称
  25863. type: string
  25864. orderid:
  25865. description: 委托单号
  25866. type: string
  25867. orderprice:
  25868. description: 委托价格
  25869. type: number
  25870. ordertime:
  25871. description: 委托时间
  25872. type: string
  25873. tradedate:
  25874. description: 交易日(yyyyMMdd)
  25875. type: string
  25876. required:
  25877. - ordertime
  25878. type: object
  25879. user.LoginQueryRsp:
  25880. properties:
  25881. areaRoles:
  25882. description: 所属角色信息
  25883. items:
  25884. $ref: '#/definitions/models.Arearole'
  25885. type: array
  25886. exchangeRateConfigs:
  25887. description: 汇率信息
  25888. items:
  25889. $ref: '#/definitions/models.Exchangerateconfig'
  25890. type: array
  25891. externalExchanges:
  25892. description: 外部交易所
  25893. items:
  25894. $ref: '#/definitions/models.Externalexchange'
  25895. type: array
  25896. goodsgroups:
  25897. description: 商品组
  25898. items:
  25899. $ref: '#/definitions/models.Goodsgroup'
  25900. type: array
  25901. loginAccount:
  25902. $ref: '#/definitions/models.Loginaccount'
  25903. description: 登录账号
  25904. markets:
  25905. description: 市场
  25906. items:
  25907. $ref: '#/definitions/models.Market'
  25908. type: array
  25909. systemParams:
  25910. description: 系统参数
  25911. items:
  25912. $ref: '#/definitions/models.Systemparam'
  25913. type: array
  25914. userAccount:
  25915. $ref: '#/definitions/models.Useraccount'
  25916. description: 用户账号
  25917. userInfo:
  25918. $ref: '#/definitions/models.Userinfo'
  25919. description: 用户信息
  25920. username:
  25921. description: 用户姓名
  25922. type: string
  25923. type: object
  25924. info:
  25925. contact: {}
  25926. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25927. termsOfService: http://www.muchinfo.cn
  25928. title: MTP2.0 查询服务 API
  25929. version: "1.0"
  25930. paths:
  25931. /CPTrade/QueryCPTradeMyBidInfos:
  25932. get:
  25933. parameters:
  25934. - description: 资金账户
  25935. in: query
  25936. name: accountid
  25937. required: true
  25938. type: integer
  25939. - description: 预售市场ID
  25940. in: query
  25941. name: marketid
  25942. type: integer
  25943. - description: 预售商品ID
  25944. in: query
  25945. name: goodsid
  25946. type: integer
  25947. produces:
  25948. - application/json
  25949. responses:
  25950. "200":
  25951. description: OK
  25952. schema:
  25953. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25954. "500":
  25955. description: Internal Server Error
  25956. schema:
  25957. $ref: '#/definitions/app.Response'
  25958. security:
  25959. - ApiKeyAuth: []
  25960. summary: 查询产能预售我的出价信息
  25961. tags:
  25962. - 产能预售
  25963. /CPTrade/QueryCPTradeOrderDetail:
  25964. get:
  25965. parameters:
  25966. - description: 预售商品ID
  25967. in: query
  25968. name: goodsid
  25969. type: integer
  25970. - description: 预售市场ID
  25971. in: query
  25972. name: marketid
  25973. type: integer
  25974. - description: 预售商品ID列表 - 格式:1,2,3
  25975. in: query
  25976. name: goodsids
  25977. type: string
  25978. produces:
  25979. - application/json
  25980. responses:
  25981. "200":
  25982. description: OK
  25983. schema:
  25984. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  25985. "500":
  25986. description: Internal Server Error
  25987. schema:
  25988. $ref: '#/definitions/app.Response'
  25989. security:
  25990. - ApiKeyAuth: []
  25991. summary: 查询产能预售委托单信息
  25992. tags:
  25993. - 产能预售
  25994. /CPTrade/QueryMyCPTradeGoods:
  25995. get:
  25996. parameters:
  25997. - description: 资金账户
  25998. in: query
  25999. name: accountid
  26000. required: true
  26001. type: integer
  26002. produces:
  26003. - application/json
  26004. responses:
  26005. "200":
  26006. description: OK
  26007. schema:
  26008. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26009. "500":
  26010. description: Internal Server Error
  26011. schema:
  26012. $ref: '#/definitions/app.Response'
  26013. security:
  26014. - ApiKeyAuth: []
  26015. summary: 查询我的预售信息
  26016. tags:
  26017. - 产能预售
  26018. /CPTrade/QueryPositionCancel:
  26019. get:
  26020. parameters:
  26021. - description: 账户ID
  26022. in: query
  26023. name: userid
  26024. required: true
  26025. type: integer
  26026. - description: 注销ID
  26027. in: query
  26028. name: cancelid
  26029. type: integer
  26030. - description: 资金账户ID
  26031. in: query
  26032. name: accountid
  26033. type: integer
  26034. produces:
  26035. - application/json
  26036. responses:
  26037. "200":
  26038. description: OK
  26039. schema:
  26040. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26041. "500":
  26042. description: Internal Server Error
  26043. schema:
  26044. $ref: '#/definitions/app.Response'
  26045. security:
  26046. - ApiKeyAuth: []
  26047. summary: 查询远期订单注销申请信息
  26048. tags:
  26049. - 产能预售
  26050. /CPTrade/QueryPreasleApply:
  26051. get:
  26052. parameters:
  26053. - description: 账户ID
  26054. in: query
  26055. name: userid
  26056. required: true
  26057. type: integer
  26058. - description: 申请ID
  26059. in: query
  26060. name: applyid
  26061. type: integer
  26062. - description: 资金账户ID
  26063. in: query
  26064. name: accountid
  26065. type: integer
  26066. produces:
  26067. - application/json
  26068. responses:
  26069. "200":
  26070. description: OK
  26071. schema:
  26072. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26073. "500":
  26074. description: Internal Server Error
  26075. schema:
  26076. $ref: '#/definitions/app.Response'
  26077. security:
  26078. - ApiKeyAuth: []
  26079. summary: 查询产能预售申请信息
  26080. tags:
  26081. - 产能预售
  26082. /CPTrade/QueryPresaleGoodsEx:
  26083. get:
  26084. parameters:
  26085. - description: 预售商品ID
  26086. in: query
  26087. name: goodsid
  26088. type: integer
  26089. - description: 预售市场ID
  26090. in: query
  26091. name: marketid
  26092. type: integer
  26093. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26094. in: query
  26095. name: presalemode
  26096. type: integer
  26097. - description: 预售商品ID列表 - 格式:1,2,3
  26098. in: query
  26099. name: goodsids
  26100. type: string
  26101. - description: 预售商品代码
  26102. in: query
  26103. name: goodscode
  26104. type: string
  26105. produces:
  26106. - application/json
  26107. responses:
  26108. "200":
  26109. description: OK
  26110. schema:
  26111. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26112. "500":
  26113. description: Internal Server Error
  26114. schema:
  26115. $ref: '#/definitions/app.Response'
  26116. security:
  26117. - ApiKeyAuth: []
  26118. summary: 查询产能预售商品扩展信息
  26119. tags:
  26120. - 产能预售
  26121. /CPTrade/QueryUserGoodsData:
  26122. get:
  26123. parameters:
  26124. - description: 资金账户ID
  26125. in: query
  26126. name: accountid
  26127. required: true
  26128. type: integer
  26129. produces:
  26130. - application/json
  26131. responses:
  26132. "200":
  26133. description: OK
  26134. schema:
  26135. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26136. "500":
  26137. description: Internal Server Error
  26138. schema:
  26139. $ref: '#/definitions/app.Response'
  26140. security:
  26141. - ApiKeyAuth: []
  26142. summary: 查询远期订单信息
  26143. tags:
  26144. - 产能预售
  26145. /Common/DeleteNewFuncmenu:
  26146. delete:
  26147. consumes:
  26148. - application/json
  26149. parameters:
  26150. - description: 菜单表数据,只需要resourcecode字段即可
  26151. in: body
  26152. name: data
  26153. required: true
  26154. schema:
  26155. $ref: '#/definitions/models.NewFuncmenulist'
  26156. produces:
  26157. - application/json
  26158. responses:
  26159. "200":
  26160. description: OK
  26161. schema:
  26162. $ref: '#/definitions/app.Response'
  26163. "500":
  26164. description: Internal Server Error
  26165. schema:
  26166. $ref: '#/definitions/app.Response'
  26167. security:
  26168. - ApiKeyAuth: []
  26169. summary: 删除菜单表数据
  26170. tags:
  26171. - 通用服务
  26172. /Common/FindNewFuncmenu:
  26173. get:
  26174. parameters:
  26175. - description: 资源代码
  26176. in: query
  26177. name: resourcecode
  26178. type: string
  26179. - description: 上级资源代码
  26180. in: query
  26181. name: parentcode
  26182. type: string
  26183. - description: 资源名(Title), 模糊查询
  26184. in: query
  26185. name: resourcename
  26186. type: string
  26187. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26188. in: query
  26189. name: menutype
  26190. type: string
  26191. produces:
  26192. - application/json
  26193. responses:
  26194. "200":
  26195. description: OK
  26196. schema:
  26197. items:
  26198. $ref: '#/definitions/models.NewFuncmenulist'
  26199. type: array
  26200. "500":
  26201. description: Internal Server Error
  26202. schema:
  26203. $ref: '#/definitions/app.Response'
  26204. security:
  26205. - ApiKeyAuth: []
  26206. summary: 获取菜单表数据
  26207. tags:
  26208. - 通用服务
  26209. /Common/GetAllEnums:
  26210. get:
  26211. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26212. parameters:
  26213. - description: 起始自增ID
  26214. in: query
  26215. name: autoid
  26216. type: integer
  26217. produces:
  26218. - application/json
  26219. responses:
  26220. "200":
  26221. description: OK
  26222. schema:
  26223. $ref: '#/definitions/models.Enumdicitem'
  26224. "500":
  26225. description: Internal Server Error
  26226. schema:
  26227. $ref: '#/definitions/app.Response'
  26228. summary: 获取所有枚举信息
  26229. tags:
  26230. - 通用服务
  26231. /Common/GetClientMenus:
  26232. get:
  26233. parameters:
  26234. - description: 登录账号
  26235. in: query
  26236. name: loginID
  26237. required: true
  26238. type: integer
  26239. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26240. in: query
  26241. name: clientType
  26242. type: integer
  26243. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26244. in: query
  26245. name: name
  26246. type: string
  26247. produces:
  26248. - application/json
  26249. responses:
  26250. "200":
  26251. description: OK
  26252. schema:
  26253. items:
  26254. $ref: '#/definitions/common.ClientMenu'
  26255. type: array
  26256. "500":
  26257. description: Internal Server Error
  26258. schema:
  26259. $ref: '#/definitions/app.Response'
  26260. security:
  26261. - ApiKeyAuth: []
  26262. summary: 获取交易端菜单
  26263. tags:
  26264. - 通用服务
  26265. /Common/GetClientNewFuncmenu:
  26266. get:
  26267. parameters:
  26268. - description: 登录账号
  26269. in: query
  26270. name: loginid
  26271. required: true
  26272. type: integer
  26273. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26274. in: query
  26275. name: menutype
  26276. required: true
  26277. type: integer
  26278. produces:
  26279. - application/json
  26280. responses:
  26281. "200":
  26282. description: OK
  26283. schema:
  26284. items:
  26285. $ref: '#/definitions/models.NewFuncmenulist'
  26286. type: array
  26287. "500":
  26288. description: Internal Server Error
  26289. schema:
  26290. $ref: '#/definitions/app.Response'
  26291. security:
  26292. - ApiKeyAuth: []
  26293. summary: 获取终端菜单
  26294. tags:
  26295. - 通用服务
  26296. /Common/GetDivisions:
  26297. get:
  26298. produces:
  26299. - application/json
  26300. responses:
  26301. "200":
  26302. description: OK
  26303. schema:
  26304. $ref: '#/definitions/models.Division'
  26305. "500":
  26306. description: Internal Server Error
  26307. schema:
  26308. $ref: '#/definitions/app.Response'
  26309. summary: 查询区域信息
  26310. tags:
  26311. - 通用服务
  26312. /Common/GetPCWebMenus:
  26313. get:
  26314. parameters:
  26315. - description: 登录账号
  26316. in: query
  26317. name: loginID
  26318. required: true
  26319. type: integer
  26320. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26321. in: query
  26322. name: name
  26323. type: string
  26324. produces:
  26325. - application/json
  26326. responses:
  26327. "200":
  26328. description: OK
  26329. schema:
  26330. items:
  26331. $ref: '#/definitions/common.PCWebMenu'
  26332. type: array
  26333. "500":
  26334. description: Internal Server Error
  26335. schema:
  26336. $ref: '#/definitions/app.Response'
  26337. security:
  26338. - ApiKeyAuth: []
  26339. summary: 获取PCWeb交易端菜单
  26340. tags:
  26341. - 通用服务
  26342. /Common/GetServerTime:
  26343. get:
  26344. produces:
  26345. - application/json
  26346. responses:
  26347. "200":
  26348. description: OK
  26349. schema:
  26350. $ref: '#/definitions/app.Response'
  26351. "500":
  26352. description: Internal Server Error
  26353. schema:
  26354. $ref: '#/definitions/app.Response'
  26355. summary: 获取服务器时间
  26356. tags:
  26357. - 通用服务
  26358. /Common/InsertNewFuncmenu:
  26359. post:
  26360. consumes:
  26361. - application/json
  26362. parameters:
  26363. - description: 菜单表数据
  26364. in: body
  26365. name: data
  26366. required: true
  26367. schema:
  26368. $ref: '#/definitions/models.NewFuncmenulist'
  26369. produces:
  26370. - application/json
  26371. responses:
  26372. "200":
  26373. description: OK
  26374. schema:
  26375. $ref: '#/definitions/app.Response'
  26376. "500":
  26377. description: Internal Server Error
  26378. schema:
  26379. $ref: '#/definitions/app.Response'
  26380. security:
  26381. - ApiKeyAuth: []
  26382. summary: 插入菜单表数据
  26383. tags:
  26384. - 通用服务
  26385. /Common/NoticeReaded:
  26386. post:
  26387. parameters:
  26388. - description: 登录账号
  26389. in: query
  26390. name: loginID
  26391. required: true
  26392. type: integer
  26393. - description: 通知公告ID
  26394. in: query
  26395. name: noticeID
  26396. required: true
  26397. type: integer
  26398. produces:
  26399. - application/json
  26400. responses:
  26401. "200":
  26402. description: OK
  26403. schema:
  26404. $ref: '#/definitions/app.Response'
  26405. "500":
  26406. description: Internal Server Error
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. security:
  26410. - ApiKeyAuth: []
  26411. summary: 通知公告设置已读请求
  26412. tags:
  26413. - 通用服务
  26414. /Common/QueryErrorInfos:
  26415. get:
  26416. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26417. parameters:
  26418. - description: 起始行号前索引
  26419. in: query
  26420. name: rowNumber
  26421. type: string
  26422. produces:
  26423. - application/json
  26424. responses:
  26425. "200":
  26426. description: OK
  26427. schema:
  26428. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26429. "500":
  26430. description: Internal Server Error
  26431. schema:
  26432. $ref: '#/definitions/app.Response'
  26433. summary: 获取数据库错误信息
  26434. tags:
  26435. - 通用服务
  26436. /Common/QueryImageConfigs:
  26437. get:
  26438. parameters:
  26439. - description: 用户id
  26440. in: query
  26441. name: userId
  26442. type: integer
  26443. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26444. in: query
  26445. name: imageType
  26446. type: integer
  26447. produces:
  26448. - application/json
  26449. responses:
  26450. "200":
  26451. description: OK
  26452. schema:
  26453. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26454. "500":
  26455. description: Internal Server Error
  26456. schema:
  26457. $ref: '#/definitions/app.Response'
  26458. summary: 查询轮播图配置信息
  26459. tags:
  26460. - 通用服务
  26461. /Common/QueryNotice:
  26462. get:
  26463. parameters:
  26464. - description: 页码
  26465. in: query
  26466. name: page
  26467. type: integer
  26468. - description: 每页条数
  26469. in: query
  26470. name: pagesize
  26471. type: integer
  26472. - description: 分页标志 0-page从0开始 1-page从1开始
  26473. in: query
  26474. name: pageflag
  26475. type: integer
  26476. - description: 登录账号
  26477. in: query
  26478. name: loginID
  26479. required: true
  26480. type: integer
  26481. - description: 消息类型 - 1:公告通知 2:系统消息
  26482. in: query
  26483. name: msgType
  26484. type: integer
  26485. - description: 是否只获取未读信息
  26486. in: query
  26487. name: onlyUnRead
  26488. type: boolean
  26489. - description: 自增ID,传入后会返回这个ID后面的记录
  26490. in: query
  26491. name: lastID
  26492. type: integer
  26493. produces:
  26494. - application/json
  26495. responses:
  26496. "200":
  26497. description: OK
  26498. schema:
  26499. $ref: '#/definitions/common.QueryNoticeRsp'
  26500. "500":
  26501. description: Internal Server Error
  26502. schema:
  26503. $ref: '#/definitions/app.Response'
  26504. security:
  26505. - ApiKeyAuth: []
  26506. summary: 通知公告系统消息查询
  26507. tags:
  26508. - 通用服务
  26509. /Common/QueryProvincesAndCities:
  26510. get:
  26511. parameters:
  26512. - description: 省ID
  26513. in: query
  26514. name: provinceID
  26515. type: integer
  26516. produces:
  26517. - application/json
  26518. responses:
  26519. "200":
  26520. description: OK
  26521. schema:
  26522. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26523. "500":
  26524. description: Internal Server Error
  26525. schema:
  26526. $ref: '#/definitions/app.Response'
  26527. summary: 查询省市信息(不包括区)
  26528. tags:
  26529. - 通用服务
  26530. /Common/QueryRates:
  26531. get:
  26532. parameters:
  26533. - description: 页码
  26534. in: query
  26535. name: page
  26536. type: integer
  26537. - description: 每页条数
  26538. in: query
  26539. name: pagesize
  26540. type: integer
  26541. - description: 源币种ID
  26542. in: query
  26543. name: oricurrencyid
  26544. type: integer
  26545. - description: 目标币种ID
  26546. in: query
  26547. name: descurrencyid
  26548. type: integer
  26549. produces:
  26550. - application/json
  26551. responses:
  26552. "200":
  26553. description: OK
  26554. schema:
  26555. items:
  26556. $ref: '#/definitions/models.Exchangerateconfig'
  26557. type: array
  26558. "500":
  26559. description: Internal Server Error
  26560. schema:
  26561. $ref: '#/definitions/app.Response'
  26562. security:
  26563. - ApiKeyAuth: []
  26564. - LoginID: []
  26565. - Group: []
  26566. summary: 查询汇率信息
  26567. tags:
  26568. - 通用服务
  26569. /Common/QueryTableDefine:
  26570. get:
  26571. parameters:
  26572. - description: 表key
  26573. in: query
  26574. name: tableKey
  26575. type: string
  26576. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26577. in: query
  26578. name: tableType
  26579. type: integer
  26580. produces:
  26581. - application/json
  26582. responses:
  26583. "200":
  26584. description: OK
  26585. schema:
  26586. $ref: '#/definitions/common.QueryTableDefineRsp'
  26587. "500":
  26588. description: Internal Server Error
  26589. schema:
  26590. $ref: '#/definitions/app.Response'
  26591. summary: 查询交易端列表头信息
  26592. tags:
  26593. - 通用服务
  26594. /Common/QueryTraderMenu:
  26595. get:
  26596. parameters:
  26597. - description: 登录账号
  26598. in: query
  26599. name: loginid
  26600. required: true
  26601. type: integer
  26602. produces:
  26603. - application/json
  26604. responses:
  26605. "200":
  26606. description: OK
  26607. schema:
  26608. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26609. "500":
  26610. description: Internal Server Error
  26611. schema:
  26612. $ref: '#/definitions/app.Response'
  26613. summary: 查询交易端菜单
  26614. tags:
  26615. - 通用服务
  26616. /Common/UpdateNewFuncmenu:
  26617. put:
  26618. consumes:
  26619. - application/json
  26620. parameters:
  26621. - description: 菜单表数据
  26622. in: body
  26623. name: data
  26624. required: true
  26625. schema:
  26626. $ref: '#/definitions/models.NewFuncmenulist'
  26627. produces:
  26628. - application/json
  26629. responses:
  26630. "200":
  26631. description: OK
  26632. schema:
  26633. $ref: '#/definitions/app.Response'
  26634. "500":
  26635. description: Internal Server Error
  26636. schema:
  26637. $ref: '#/definitions/app.Response'
  26638. security:
  26639. - ApiKeyAuth: []
  26640. summary: 更新菜单表数据
  26641. tags:
  26642. - 通用服务
  26643. /Delivery/QueryDeliveryRelation:
  26644. get:
  26645. parameters:
  26646. - description: 商品ID
  26647. in: query
  26648. name: goodsid
  26649. type: integer
  26650. - description: 品种ID
  26651. in: query
  26652. name: deliverygoodsid
  26653. type: integer
  26654. - description: 市场ID
  26655. in: query
  26656. name: marketid
  26657. type: integer
  26658. produces:
  26659. - application/json
  26660. responses:
  26661. "200":
  26662. description: OK
  26663. schema:
  26664. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26665. "500":
  26666. description: Internal Server Error
  26667. schema:
  26668. $ref: '#/definitions/app.Response'
  26669. security:
  26670. - ApiKeyAuth: []
  26671. summary: 查询商品交割关系表
  26672. tags:
  26673. - 交割服务
  26674. /Ermcp/GetErmcpGoods:
  26675. get:
  26676. parameters:
  26677. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26678. in: query
  26679. name: userid
  26680. type: integer
  26681. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26682. in: query
  26683. name: lastUpdateTime
  26684. type: string
  26685. produces:
  26686. - application/json
  26687. responses:
  26688. "200":
  26689. description: OK
  26690. schema:
  26691. $ref: '#/definitions/models.ErmcpGoods'
  26692. "500":
  26693. description: Internal Server Error
  26694. schema:
  26695. $ref: '#/definitions/app.Response'
  26696. security:
  26697. - ApiKeyAuth: []
  26698. summary: 查询企业风管期货商品信息
  26699. tags:
  26700. - 企业风险管理(app)
  26701. /Ermcp/GetErmcpGoodsSortByPosition:
  26702. get:
  26703. parameters:
  26704. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26705. in: query
  26706. name: sortIndex
  26707. type: string
  26708. produces:
  26709. - application/json
  26710. responses:
  26711. "200":
  26712. description: OK
  26713. schema:
  26714. $ref: '#/definitions/models.Goodssortbypreposition'
  26715. "500":
  26716. description: Internal Server Error
  26717. schema:
  26718. $ref: '#/definitions/app.Response'
  26719. security:
  26720. - ApiKeyAuth: []
  26721. summary: 查询企业风管期货主力、次主力商品信息
  26722. tags:
  26723. - 企业风险管理(app)
  26724. /Ermcp/GetErmcpOutAccountStatus:
  26725. get:
  26726. parameters:
  26727. - description: 登录账号
  26728. in: query
  26729. name: loginID
  26730. required: true
  26731. type: integer
  26732. produces:
  26733. - application/json
  26734. responses:
  26735. "200":
  26736. description: OK
  26737. schema:
  26738. $ref: '#/definitions/models.Hedgemarketopenlog'
  26739. "500":
  26740. description: Internal Server Error
  26741. schema:
  26742. $ref: '#/definitions/app.Response'
  26743. security:
  26744. - ApiKeyAuth: []
  26745. summary: 获取目标登录账号当前对冲账号在线状态
  26746. tags:
  26747. - 企业风险管理(app)
  26748. /Ermcp/GetErmcpRoleFuncMenuLists:
  26749. get:
  26750. parameters:
  26751. - description: 登录账号
  26752. in: query
  26753. name: loginID
  26754. required: true
  26755. type: integer
  26756. produces:
  26757. - application/json
  26758. responses:
  26759. "200":
  26760. description: OK
  26761. schema:
  26762. $ref: '#/definitions/models.Funcmenulist'
  26763. "500":
  26764. description: Internal Server Error
  26765. schema:
  26766. $ref: '#/definitions/app.Response'
  26767. security:
  26768. - ApiKeyAuth: []
  26769. summary: 获取企业风管终端权限
  26770. tags:
  26771. - 企业风险管理(app)
  26772. /Ermcp/QueryAccMgrBizGroupSet:
  26773. get:
  26774. parameters:
  26775. - description: 用户ID
  26776. in: query
  26777. name: userid
  26778. required: true
  26779. type: integer
  26780. - description: 现货商品id
  26781. in: query
  26782. name: deliverygoodsid
  26783. type: integer
  26784. produces:
  26785. - application/json
  26786. responses:
  26787. "200":
  26788. description: OK
  26789. schema:
  26790. items:
  26791. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26792. type: array
  26793. "500":
  26794. description: Internal Server Error
  26795. schema:
  26796. $ref: '#/definitions/app.Response'
  26797. security:
  26798. - ApiKeyAuth: []
  26799. summary: 查询业务类型分组(账户管理/账户设置)
  26800. tags:
  26801. - 企业风险管理(app)
  26802. /Ermcp/QueryAccMgrLoginUser:
  26803. get:
  26804. parameters:
  26805. - description: 用户ID
  26806. in: query
  26807. name: userid
  26808. required: true
  26809. type: integer
  26810. - description: 用户类型 2-机构 7-企业成员
  26811. in: query
  26812. name: usertype
  26813. type: integer
  26814. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26815. in: query
  26816. name: querytype
  26817. required: true
  26818. type: integer
  26819. produces:
  26820. - application/json
  26821. responses:
  26822. "200":
  26823. description: OK
  26824. schema:
  26825. items:
  26826. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26827. type: array
  26828. "500":
  26829. description: Internal Server Error
  26830. schema:
  26831. $ref: '#/definitions/app.Response'
  26832. security:
  26833. - ApiKeyAuth: []
  26834. summary: 查询账户管理登录账号(账户管理/登录账号)
  26835. tags:
  26836. - 企业风险管理(app)
  26837. /Ermcp/QueryAccMgrMainAccountInfo:
  26838. get:
  26839. parameters:
  26840. - description: 用户ID
  26841. in: query
  26842. name: userid
  26843. type: integer
  26844. - description: 主账号id
  26845. in: query
  26846. name: accountid
  26847. type: integer
  26848. produces:
  26849. - application/json
  26850. responses:
  26851. "200":
  26852. description: OK
  26853. schema:
  26854. items:
  26855. $ref: '#/definitions/models.MainAccountInfo'
  26856. type: array
  26857. "500":
  26858. description: Internal Server Error
  26859. schema:
  26860. $ref: '#/definitions/app.Response'
  26861. security:
  26862. - ApiKeyAuth: []
  26863. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26864. tags:
  26865. - 企业风险管理(app)
  26866. /Ermcp/QueryAccMgrRole:
  26867. get:
  26868. parameters:
  26869. - description: 用户ID
  26870. in: query
  26871. name: userid
  26872. required: true
  26873. type: integer
  26874. produces:
  26875. - application/json
  26876. responses:
  26877. "200":
  26878. description: OK
  26879. schema:
  26880. items:
  26881. $ref: '#/definitions/models.ErmcpRole'
  26882. type: array
  26883. "500":
  26884. description: Internal Server Error
  26885. schema:
  26886. $ref: '#/definitions/app.Response'
  26887. security:
  26888. - ApiKeyAuth: []
  26889. summary: 查询账户管理角色设置(账户管理/角色设置)
  26890. tags:
  26891. - 企业风险管理(app)
  26892. /Ermcp/QueryAccMgrRoleMenu:
  26893. get:
  26894. parameters:
  26895. - description: 用户ID
  26896. in: query
  26897. name: userid
  26898. required: true
  26899. type: integer
  26900. - description: 角色id(可多个,逗号隔开)
  26901. in: query
  26902. name: roleid
  26903. type: string
  26904. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26905. in: query
  26906. name: menutype
  26907. type: integer
  26908. produces:
  26909. - application/json
  26910. responses:
  26911. "200":
  26912. description: OK
  26913. schema:
  26914. items:
  26915. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26916. type: array
  26917. "500":
  26918. description: Internal Server Error
  26919. schema:
  26920. $ref: '#/definitions/app.Response'
  26921. security:
  26922. - ApiKeyAuth: []
  26923. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26924. tags:
  26925. - 企业风险管理(app)
  26926. /Ermcp/QueryAccMgrTaAccountInfo:
  26927. get:
  26928. parameters:
  26929. - description: 用户ID
  26930. in: query
  26931. name: userid
  26932. required: true
  26933. type: integer
  26934. - description: 账号id
  26935. in: query
  26936. name: accountid
  26937. type: integer
  26938. produces:
  26939. - application/json
  26940. responses:
  26941. "200":
  26942. description: OK
  26943. schema:
  26944. items:
  26945. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26946. type: array
  26947. "500":
  26948. description: Internal Server Error
  26949. schema:
  26950. $ref: '#/definitions/app.Response'
  26951. security:
  26952. - ApiKeyAuth: []
  26953. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26954. tags:
  26955. - 企业风险管理(app)
  26956. /Ermcp/QueryAccMgrTaaccount:
  26957. get:
  26958. parameters:
  26959. - description: 用户ID
  26960. in: query
  26961. name: userid
  26962. required: true
  26963. type: integer
  26964. produces:
  26965. - application/json
  26966. responses:
  26967. "200":
  26968. description: OK
  26969. schema:
  26970. items:
  26971. $ref: '#/definitions/models.ErmcpTaAccountEx'
  26972. type: array
  26973. "500":
  26974. description: Internal Server Error
  26975. schema:
  26976. $ref: '#/definitions/app.Response'
  26977. security:
  26978. - ApiKeyAuth: []
  26979. summary: 查询账户管理期货账号(账户管理/期货账号)
  26980. tags:
  26981. - 企业风险管理(app)
  26982. /Ermcp/QueryAvaildGoodsGroup:
  26983. get:
  26984. parameters:
  26985. - description: 所属机构ID
  26986. in: query
  26987. name: userid
  26988. required: true
  26989. type: integer
  26990. produces:
  26991. - application/json
  26992. responses:
  26993. "200":
  26994. description: OK
  26995. schema:
  26996. items:
  26997. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  26998. type: array
  26999. "500":
  27000. description: Internal Server Error
  27001. schema:
  27002. $ref: '#/definitions/app.Response'
  27003. security:
  27004. - ApiKeyAuth: []
  27005. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27006. tags:
  27007. - 企业风险管理(app)
  27008. /Ermcp/QueryBusinessDj:
  27009. get:
  27010. parameters:
  27011. - description: 用户ID
  27012. in: query
  27013. name: UserId
  27014. required: true
  27015. type: integer
  27016. - description: 用户类型 2-机构 7-企业成员
  27017. in: query
  27018. name: usertype
  27019. type: integer
  27020. - description: 现货合同ID, 不填则查所有
  27021. in: query
  27022. name: relatedid
  27023. type: string
  27024. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27025. in: query
  27026. name: applystatus
  27027. type: string
  27028. produces:
  27029. - application/json
  27030. responses:
  27031. "200":
  27032. description: OK
  27033. schema:
  27034. items:
  27035. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27036. type: array
  27037. "500":
  27038. description: Internal Server Error
  27039. schema:
  27040. $ref: '#/definitions/app.Response'
  27041. security:
  27042. - ApiKeyAuth: []
  27043. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27044. tags:
  27045. - 企业风险管理(app)
  27046. /Ermcp/QueryBusinessFp:
  27047. get:
  27048. parameters:
  27049. - description: 用户ID
  27050. in: query
  27051. name: UserId
  27052. required: true
  27053. type: integer
  27054. - description: 用户类型 2-机构 7-企业成员
  27055. in: query
  27056. name: usertype
  27057. type: integer
  27058. - description: 现货合同ID, 不填则查所有
  27059. in: query
  27060. name: relatedid
  27061. type: string
  27062. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27063. in: query
  27064. name: applystatus
  27065. type: string
  27066. produces:
  27067. - application/json
  27068. responses:
  27069. "200":
  27070. description: OK
  27071. schema:
  27072. items:
  27073. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27074. type: array
  27075. "500":
  27076. description: Internal Server Error
  27077. schema:
  27078. $ref: '#/definitions/app.Response'
  27079. security:
  27080. - ApiKeyAuth: []
  27081. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27082. tags:
  27083. - 企业风险管理(app)
  27084. /Ermcp/QueryBusinessJs:
  27085. get:
  27086. parameters:
  27087. - description: 用户ID
  27088. in: query
  27089. name: UserId
  27090. required: true
  27091. type: integer
  27092. - description: 用户类型 2-机构 7-企业成员
  27093. in: query
  27094. name: usertype
  27095. type: integer
  27096. - description: 现货合同ID, 不填则查所有
  27097. in: query
  27098. name: relatedid
  27099. type: string
  27100. - description: 操作申请id
  27101. in: query
  27102. name: operateapplyid
  27103. type: string
  27104. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27105. in: query
  27106. name: applystatus
  27107. type: string
  27108. produces:
  27109. - application/json
  27110. responses:
  27111. "200":
  27112. description: OK
  27113. schema:
  27114. items:
  27115. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27116. type: array
  27117. "500":
  27118. description: Internal Server Error
  27119. schema:
  27120. $ref: '#/definitions/app.Response'
  27121. security:
  27122. - ApiKeyAuth: []
  27123. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27124. tags:
  27125. - 企业风险管理(app)
  27126. /Ermcp/QueryBusinessJsEx:
  27127. get:
  27128. parameters:
  27129. - description: 用户ID
  27130. in: query
  27131. name: UserId
  27132. required: true
  27133. type: integer
  27134. - description: 用户类型 2-机构 7-企业成员
  27135. in: query
  27136. name: usertype
  27137. type: integer
  27138. - description: 现货合同ID, 不填则查所有
  27139. in: query
  27140. name: relatedid
  27141. type: string
  27142. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27143. in: query
  27144. name: applystatus
  27145. type: string
  27146. produces:
  27147. - application/json
  27148. responses:
  27149. "200":
  27150. description: OK
  27151. schema:
  27152. items:
  27153. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27154. type: array
  27155. "500":
  27156. description: Internal Server Error
  27157. schema:
  27158. $ref: '#/definitions/app.Response'
  27159. security:
  27160. - ApiKeyAuth: []
  27161. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27162. tags:
  27163. - 企业风险管理(app)
  27164. /Ermcp/QueryBusinessKx:
  27165. get:
  27166. parameters:
  27167. - description: 用户ID
  27168. in: query
  27169. name: UserId
  27170. required: true
  27171. type: integer
  27172. - description: 用户类型 2-机构 7-企业成员
  27173. in: query
  27174. name: usertype
  27175. type: integer
  27176. - description: 现货合同ID, 不填则查所有
  27177. in: query
  27178. name: relatedid
  27179. type: string
  27180. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27181. in: query
  27182. name: applystatus
  27183. type: string
  27184. produces:
  27185. - application/json
  27186. responses:
  27187. "200":
  27188. description: OK
  27189. schema:
  27190. items:
  27191. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27192. type: array
  27193. "500":
  27194. description: Internal Server Error
  27195. schema:
  27196. $ref: '#/definitions/app.Response'
  27197. security:
  27198. - ApiKeyAuth: []
  27199. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27200. tags:
  27201. - 企业风险管理(app)
  27202. /Ermcp/QueryChangeLog:
  27203. get:
  27204. parameters:
  27205. - description: 合同ID
  27206. in: query
  27207. name: RelatedId
  27208. required: true
  27209. type: string
  27210. produces:
  27211. - application/json
  27212. responses:
  27213. "200":
  27214. description: OK
  27215. schema:
  27216. items:
  27217. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27218. type: array
  27219. "500":
  27220. description: Internal Server Error
  27221. schema:
  27222. $ref: '#/definitions/app.Response'
  27223. security:
  27224. - ApiKeyAuth: []
  27225. summary: 查询变更记录
  27226. tags:
  27227. - 企业风险管理(app)
  27228. /Ermcp/QueryErmcpHisOrderDetails:
  27229. get:
  27230. parameters:
  27231. - description: 资金账户ID
  27232. in: query
  27233. name: accountID
  27234. required: true
  27235. type: integer
  27236. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27237. in: query
  27238. name: startDate
  27239. type: string
  27240. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27241. in: query
  27242. name: endDate
  27243. type: string
  27244. produces:
  27245. - application/json
  27246. responses:
  27247. "200":
  27248. description: OK
  27249. schema:
  27250. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27251. "500":
  27252. description: Internal Server Error
  27253. schema:
  27254. $ref: '#/definitions/app.Response'
  27255. security:
  27256. - ApiKeyAuth: []
  27257. summary: 获取企业风管期货历史委托单信息
  27258. tags:
  27259. - 企业风险管理(app)
  27260. /Ermcp/QueryErmcpHisTradeDetails:
  27261. get:
  27262. parameters:
  27263. - description: 资金账户ID
  27264. in: query
  27265. name: accountID
  27266. required: true
  27267. type: integer
  27268. - description: 商品ID
  27269. in: query
  27270. name: goodsID
  27271. type: integer
  27272. - description: 买卖方向,0:买 1:卖
  27273. in: query
  27274. name: buyOrSell
  27275. type: integer
  27276. - description: 关联委托单号
  27277. in: query
  27278. name: orderID
  27279. type: integer
  27280. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27281. in: query
  27282. name: startDate
  27283. type: string
  27284. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27285. in: query
  27286. name: endDate
  27287. type: string
  27288. produces:
  27289. - application/json
  27290. responses:
  27291. "200":
  27292. description: OK
  27293. schema:
  27294. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27295. "500":
  27296. description: Internal Server Error
  27297. schema:
  27298. $ref: '#/definitions/app.Response'
  27299. security:
  27300. - ApiKeyAuth: []
  27301. summary: 获取企业风管期货历史成交单信息
  27302. tags:
  27303. - 企业风险管理(app)
  27304. /Ermcp/QueryErmcpInnerHolderDetails:
  27305. get:
  27306. parameters:
  27307. - description: 资金账户ID
  27308. in: query
  27309. name: accountID
  27310. required: true
  27311. type: integer
  27312. - description: 商品ID
  27313. in: query
  27314. name: goodsID
  27315. type: integer
  27316. - description: 买卖方向,0:买 1:卖
  27317. in: query
  27318. name: buyOrSell
  27319. type: integer
  27320. produces:
  27321. - application/json
  27322. responses:
  27323. "200":
  27324. description: OK
  27325. schema:
  27326. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27327. "500":
  27328. description: Internal Server Error
  27329. schema:
  27330. $ref: '#/definitions/app.Response'
  27331. security:
  27332. - ApiKeyAuth: []
  27333. summary: 获取企业风管期货内部持仓单信息
  27334. tags:
  27335. - 企业风险管理(app)
  27336. /Ermcp/QueryErmcpOrderDetails:
  27337. get:
  27338. parameters:
  27339. - description: 资金账户ID
  27340. in: query
  27341. name: accountID
  27342. required: true
  27343. type: integer
  27344. produces:
  27345. - application/json
  27346. responses:
  27347. "200":
  27348. description: OK
  27349. schema:
  27350. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27351. "500":
  27352. description: Internal Server Error
  27353. schema:
  27354. $ref: '#/definitions/app.Response'
  27355. security:
  27356. - ApiKeyAuth: []
  27357. summary: 获取企业风管期货委托单信息
  27358. tags:
  27359. - 企业风险管理(app)
  27360. /Ermcp/QueryErmcpTradeDetails:
  27361. get:
  27362. parameters:
  27363. - description: 资金账户ID
  27364. in: query
  27365. name: accountID
  27366. required: true
  27367. type: integer
  27368. - description: 商品ID
  27369. in: query
  27370. name: goodsID
  27371. type: integer
  27372. - description: 买卖方向,0:买 1:卖
  27373. in: query
  27374. name: buyOrSell
  27375. type: integer
  27376. - description: 关联委托单号
  27377. in: query
  27378. name: orderID
  27379. type: integer
  27380. produces:
  27381. - application/json
  27382. responses:
  27383. "200":
  27384. description: OK
  27385. schema:
  27386. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27387. "500":
  27388. description: Internal Server Error
  27389. schema:
  27390. $ref: '#/definitions/app.Response'
  27391. security:
  27392. - ApiKeyAuth: []
  27393. summary: 获取企业风管期货成交单信息
  27394. tags:
  27395. - 企业风险管理(app)
  27396. /Ermcp/QueryErmcpTradePosition:
  27397. get:
  27398. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27399. parameters:
  27400. - description: 资金账户ID
  27401. in: query
  27402. name: accountID
  27403. required: true
  27404. type: integer
  27405. - description: 所属市场ID
  27406. in: query
  27407. name: marketID
  27408. type: integer
  27409. produces:
  27410. - application/json
  27411. responses:
  27412. "200":
  27413. description: OK
  27414. schema:
  27415. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27416. "500":
  27417. description: Internal Server Error
  27418. schema:
  27419. $ref: '#/definitions/app.Response'
  27420. security:
  27421. - ApiKeyAuth: []
  27422. summary: 获取企业风管期货持仓头寸信息
  27423. tags:
  27424. - 企业风险管理(app)
  27425. /Ermcp/QueryExposureDetail:
  27426. get:
  27427. parameters:
  27428. - description: 所属机构ID
  27429. in: query
  27430. name: areaUserId
  27431. required: true
  27432. type: integer
  27433. - description: 套保商品
  27434. in: query
  27435. name: middleGoodsId
  27436. required: true
  27437. type: integer
  27438. produces:
  27439. - application/json
  27440. responses:
  27441. "200":
  27442. description: OK
  27443. schema:
  27444. items:
  27445. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27446. type: array
  27447. "500":
  27448. description: Internal Server Error
  27449. schema:
  27450. $ref: '#/definitions/app.Response'
  27451. security:
  27452. - ApiKeyAuth: []
  27453. summary: 查询敞口现货明细
  27454. tags:
  27455. - 企业风险管理(app)
  27456. /Ermcp/QueryExposureGoods:
  27457. get:
  27458. parameters:
  27459. - description: 套保商品id
  27460. in: query
  27461. name: middlegoodsid
  27462. required: true
  27463. type: integer
  27464. produces:
  27465. - application/json
  27466. responses:
  27467. "200":
  27468. description: OK
  27469. schema:
  27470. items:
  27471. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27472. type: array
  27473. "500":
  27474. description: Internal Server Error
  27475. schema:
  27476. $ref: '#/definitions/app.Response'
  27477. security:
  27478. - ApiKeyAuth: []
  27479. summary: 查询敞口主力合约
  27480. tags:
  27481. - 企业风险管理(app)
  27482. /Ermcp/QueryExposureHedgePosition:
  27483. get:
  27484. parameters:
  27485. - description: 用户id
  27486. in: query
  27487. name: userid
  27488. required: true
  27489. type: integer
  27490. produces:
  27491. - application/json
  27492. responses:
  27493. "200":
  27494. description: OK
  27495. schema:
  27496. items:
  27497. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27498. type: array
  27499. "500":
  27500. description: Internal Server Error
  27501. schema:
  27502. $ref: '#/definitions/app.Response'
  27503. security:
  27504. - ApiKeyAuth: []
  27505. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27506. tags:
  27507. - 企业风险管理(app)
  27508. /Ermcp/QueryExposureHedgePositionDetail:
  27509. get:
  27510. parameters:
  27511. - description: 所属机构ID
  27512. in: query
  27513. name: userid
  27514. required: true
  27515. type: integer
  27516. - description: 商品id
  27517. in: query
  27518. name: goodsId
  27519. required: true
  27520. type: integer
  27521. produces:
  27522. - application/json
  27523. responses:
  27524. "200":
  27525. description: OK
  27526. schema:
  27527. items:
  27528. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27529. type: array
  27530. "500":
  27531. description: Internal Server Error
  27532. schema:
  27533. $ref: '#/definitions/app.Response'
  27534. security:
  27535. - ApiKeyAuth: []
  27536. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27537. tags:
  27538. - 企业风险管理(app)
  27539. /Ermcp/QueryExposureSpot:
  27540. get:
  27541. parameters:
  27542. - description: 所属机构ID
  27543. in: query
  27544. name: areaUserId
  27545. required: true
  27546. type: integer
  27547. produces:
  27548. - application/json
  27549. responses:
  27550. "200":
  27551. description: OK
  27552. schema:
  27553. items:
  27554. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27555. type: array
  27556. "500":
  27557. description: Internal Server Error
  27558. schema:
  27559. $ref: '#/definitions/app.Response'
  27560. security:
  27561. - ApiKeyAuth: []
  27562. summary: 查询敞口现货头寸(敞口/现货头寸)
  27563. tags:
  27564. - 企业风险管理(app)
  27565. /Ermcp/QueryExposureSpotDetail:
  27566. get:
  27567. parameters:
  27568. - description: 所属机构ID
  27569. in: query
  27570. name: areaUserId
  27571. required: true
  27572. type: integer
  27573. - description: 现货品种ID
  27574. in: query
  27575. name: wrstandardId
  27576. required: true
  27577. type: integer
  27578. produces:
  27579. - application/json
  27580. responses:
  27581. "200":
  27582. description: OK
  27583. schema:
  27584. items:
  27585. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27586. type: array
  27587. "500":
  27588. description: Internal Server Error
  27589. schema:
  27590. $ref: '#/definitions/app.Response'
  27591. security:
  27592. - ApiKeyAuth: []
  27593. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27594. tags:
  27595. - 企业风险管理(app)
  27596. /Ermcp/QueryFuturesCompany:
  27597. get:
  27598. produces:
  27599. - application/json
  27600. responses:
  27601. "200":
  27602. description: OK
  27603. schema:
  27604. items:
  27605. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27606. type: array
  27607. "500":
  27608. description: Internal Server Error
  27609. schema:
  27610. $ref: '#/definitions/app.Response'
  27611. security:
  27612. - ApiKeyAuth: []
  27613. summary: 查询期货公司
  27614. tags:
  27615. - 企业风险管理(app)
  27616. /Ermcp/QueryGGConvertConfig:
  27617. get:
  27618. parameters:
  27619. - description: 品种id(不填则查所有)
  27620. in: query
  27621. name: goodsgroupid
  27622. type: integer
  27623. produces:
  27624. - application/json
  27625. responses:
  27626. "200":
  27627. description: OK
  27628. schema:
  27629. items:
  27630. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27631. type: array
  27632. "500":
  27633. description: Internal Server Error
  27634. schema:
  27635. $ref: '#/definitions/app.Response'
  27636. security:
  27637. - ApiKeyAuth: []
  27638. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27639. tags:
  27640. - 企业风险管理(app)
  27641. /Ermcp/QueryGoodsBrand:
  27642. get:
  27643. parameters:
  27644. - description: 用户ID
  27645. in: query
  27646. name: userid
  27647. required: true
  27648. type: integer
  27649. - description: 现货商品ID
  27650. in: query
  27651. name: wrstandardid
  27652. type: integer
  27653. produces:
  27654. - application/json
  27655. responses:
  27656. "200":
  27657. description: OK
  27658. schema:
  27659. items:
  27660. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27661. type: array
  27662. "500":
  27663. description: Internal Server Error
  27664. schema:
  27665. $ref: '#/definitions/app.Response'
  27666. security:
  27667. - ApiKeyAuth: []
  27668. summary: 查询商品品牌
  27669. tags:
  27670. - 企业风险管理(app)
  27671. /Ermcp/QueryGoodsModel:
  27672. get:
  27673. parameters:
  27674. - description: 用户ID
  27675. in: query
  27676. name: userid
  27677. required: true
  27678. type: integer
  27679. produces:
  27680. - application/json
  27681. responses:
  27682. "200":
  27683. description: OK
  27684. schema:
  27685. items:
  27686. $ref: '#/definitions/models.ErmcpGoodsModel'
  27687. type: array
  27688. "500":
  27689. description: Internal Server Error
  27690. schema:
  27691. $ref: '#/definitions/app.Response'
  27692. security:
  27693. - ApiKeyAuth: []
  27694. summary: 查询商品型号
  27695. tags:
  27696. - 企业风险管理(app)
  27697. /Ermcp/QueryHisExposure:
  27698. get:
  27699. parameters:
  27700. - description: 用户id
  27701. in: query
  27702. name: userid
  27703. required: true
  27704. type: integer
  27705. - description: 每个品种记录数
  27706. in: query
  27707. name: lastNum
  27708. required: true
  27709. type: integer
  27710. produces:
  27711. - application/json
  27712. responses:
  27713. "200":
  27714. description: OK
  27715. schema:
  27716. items:
  27717. $ref: '#/definitions/ermcp.HisExposureRsp'
  27718. type: array
  27719. "500":
  27720. description: Internal Server Error
  27721. schema:
  27722. $ref: '#/definitions/app.Response'
  27723. security:
  27724. - ApiKeyAuth: []
  27725. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27726. tags:
  27727. - 企业风险管理(app)
  27728. /Ermcp/QueryMiddleGoods:
  27729. get:
  27730. parameters:
  27731. - description: 所属机构ID
  27732. in: query
  27733. name: userid
  27734. required: true
  27735. type: integer
  27736. - description: 状态 0-停用 1-正常
  27737. in: query
  27738. name: status
  27739. required: true
  27740. type: integer
  27741. produces:
  27742. - application/json
  27743. responses:
  27744. "200":
  27745. description: OK
  27746. schema:
  27747. items:
  27748. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27749. type: array
  27750. "500":
  27751. description: Internal Server Error
  27752. schema:
  27753. $ref: '#/definitions/app.Response'
  27754. security:
  27755. - ApiKeyAuth: []
  27756. summary: 查询套保品种(菜单:套保品种)
  27757. tags:
  27758. - 企业风险管理(app)
  27759. /Ermcp/QueryMiddleGoodsChangeLog:
  27760. get:
  27761. parameters:
  27762. - description: 所属机构ID
  27763. in: query
  27764. name: userid
  27765. required: true
  27766. type: integer
  27767. - description: 套保品种id
  27768. in: query
  27769. name: middlegoodsid
  27770. required: true
  27771. type: integer
  27772. produces:
  27773. - application/json
  27774. responses:
  27775. "200":
  27776. description: OK
  27777. schema:
  27778. items:
  27779. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27780. type: array
  27781. "500":
  27782. description: Internal Server Error
  27783. schema:
  27784. $ref: '#/definitions/app.Response'
  27785. security:
  27786. - ApiKeyAuth: []
  27787. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27788. tags:
  27789. - 企业风险管理(app)
  27790. /Ermcp/QueryMiddleGoodsDetail:
  27791. get:
  27792. parameters:
  27793. - description: 所属机构ID
  27794. in: query
  27795. name: userid
  27796. required: true
  27797. type: integer
  27798. - description: 套保品种id
  27799. in: query
  27800. name: middlegoodsid
  27801. type: integer
  27802. produces:
  27803. - application/json
  27804. responses:
  27805. "200":
  27806. description: OK
  27807. schema:
  27808. items:
  27809. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27810. type: array
  27811. "500":
  27812. description: Internal Server Error
  27813. schema:
  27814. $ref: '#/definitions/app.Response'
  27815. security:
  27816. - ApiKeyAuth: []
  27817. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27818. tags:
  27819. - 企业风险管理(app)
  27820. /Ermcp/QueryPendingAuditInfo:
  27821. get:
  27822. parameters:
  27823. - description: 用户ID
  27824. in: query
  27825. name: UserId
  27826. required: true
  27827. type: integer
  27828. produces:
  27829. - application/json
  27830. responses:
  27831. "200":
  27832. description: OK
  27833. schema:
  27834. items:
  27835. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27836. type: array
  27837. "500":
  27838. description: Internal Server Error
  27839. schema:
  27840. $ref: '#/definitions/app.Response'
  27841. security:
  27842. - ApiKeyAuth: []
  27843. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27844. tags:
  27845. - 企业风险管理(app)
  27846. /Ermcp/QueryRealtimeExposure:
  27847. get:
  27848. parameters:
  27849. - description: 所属机构ID
  27850. in: query
  27851. name: userid
  27852. required: true
  27853. type: integer
  27854. produces:
  27855. - application/json
  27856. responses:
  27857. "200":
  27858. description: OK
  27859. schema:
  27860. items:
  27861. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27862. type: array
  27863. "500":
  27864. description: Internal Server Error
  27865. schema:
  27866. $ref: '#/definitions/app.Response'
  27867. security:
  27868. - ApiKeyAuth: []
  27869. summary: 查询实时敞口
  27870. tags:
  27871. - 企业风险管理(app)
  27872. /Ermcp/QueryRealtimeExposurePosition:
  27873. get:
  27874. parameters:
  27875. - description: 用户id
  27876. in: query
  27877. name: userid
  27878. required: true
  27879. type: integer
  27880. - description: 套保商品ID
  27881. in: query
  27882. name: middleGoodsId
  27883. required: true
  27884. type: integer
  27885. produces:
  27886. - application/json
  27887. responses:
  27888. "200":
  27889. description: OK
  27890. schema:
  27891. items:
  27892. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27893. type: array
  27894. "500":
  27895. description: Internal Server Error
  27896. schema:
  27897. $ref: '#/definitions/app.Response'
  27898. security:
  27899. - ApiKeyAuth: []
  27900. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27901. tags:
  27902. - 企业风险管理(app)
  27903. /Ermcp/QueryRoleMenu:
  27904. get:
  27905. parameters:
  27906. - description: 登录ID
  27907. in: query
  27908. name: loginid
  27909. required: true
  27910. type: integer
  27911. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27912. in: query
  27913. name: menutype
  27914. type: integer
  27915. produces:
  27916. - application/json
  27917. responses:
  27918. "200":
  27919. description: OK
  27920. schema:
  27921. items:
  27922. $ref: '#/definitions/models.RoleMenu'
  27923. type: array
  27924. "500":
  27925. description: Internal Server Error
  27926. schema:
  27927. $ref: '#/definitions/app.Response'
  27928. security:
  27929. - ApiKeyAuth: []
  27930. summary: 查询角色菜单和权限
  27931. tags:
  27932. - 企业风险管理(app)
  27933. /Ermcp/QueryTradeConfigTMP:
  27934. get:
  27935. parameters:
  27936. - description: 所属机构id
  27937. in: query
  27938. name: areauserid
  27939. type: integer
  27940. produces:
  27941. - application/json
  27942. responses:
  27943. "200":
  27944. description: OK
  27945. schema:
  27946. items:
  27947. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27948. type: array
  27949. "500":
  27950. description: Internal Server Error
  27951. schema:
  27952. $ref: '#/definitions/app.Response'
  27953. security:
  27954. - ApiKeyAuth: []
  27955. summary: 查询交易模板配置
  27956. tags:
  27957. - 企业风险管理(app)
  27958. /Ermcp/QueryUserInfo:
  27959. get:
  27960. parameters:
  27961. - description: 所属机构用户ID
  27962. in: query
  27963. name: MemberUserID
  27964. required: true
  27965. type: integer
  27966. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27967. in: query
  27968. name: queryType
  27969. required: true
  27970. type: integer
  27971. produces:
  27972. - application/json
  27973. responses:
  27974. "200":
  27975. description: OK
  27976. schema:
  27977. items:
  27978. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  27979. type: array
  27980. "500":
  27981. description: Internal Server Error
  27982. schema:
  27983. $ref: '#/definitions/app.Response'
  27984. security:
  27985. - ApiKeyAuth: []
  27986. summary: 查询客户资料
  27987. tags:
  27988. - 企业风险管理(app)
  27989. /Ermcp/QueryWarehouseInfo:
  27990. get:
  27991. parameters:
  27992. - description: 用户ID
  27993. in: query
  27994. name: userid
  27995. required: true
  27996. type: integer
  27997. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27998. in: query
  27999. name: status
  28000. type: string
  28001. produces:
  28002. - application/json
  28003. responses:
  28004. "200":
  28005. description: OK
  28006. schema:
  28007. items:
  28008. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28009. type: array
  28010. "500":
  28011. description: Internal Server Error
  28012. schema:
  28013. $ref: '#/definitions/app.Response'
  28014. security:
  28015. - ApiKeyAuth: []
  28016. summary: 查询仓库信息
  28017. tags:
  28018. - 企业风险管理(app)
  28019. /Ermcp3/QryAreaExpourseContractDetail:
  28020. get:
  28021. parameters:
  28022. - description: 用户ID
  28023. in: query
  28024. name: userid
  28025. required: true
  28026. type: integer
  28027. - description: 套保商品id
  28028. in: query
  28029. name: middlegoodsid
  28030. required: true
  28031. type: integer
  28032. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28033. in: query
  28034. name: cycletype
  28035. required: true
  28036. type: integer
  28037. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28038. 全(0)【原值】
  28039. in: query
  28040. name: cycletime
  28041. required: true
  28042. type: string
  28043. produces:
  28044. - application/json
  28045. responses:
  28046. "200":
  28047. description: OK
  28048. schema:
  28049. items:
  28050. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28051. type: array
  28052. "500":
  28053. description: Internal Server Error
  28054. schema:
  28055. $ref: '#/definitions/app.Response'
  28056. security:
  28057. - ApiKeyAuth: []
  28058. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28059. tags:
  28060. - 企业风险管理v3(app)
  28061. /Ermcp3/QryAreaExpourseFutuDetail:
  28062. get:
  28063. parameters:
  28064. - description: 用户ID
  28065. in: query
  28066. name: userid
  28067. required: true
  28068. type: integer
  28069. - description: 套保商品id
  28070. in: query
  28071. name: middlegoodsid
  28072. required: true
  28073. type: integer
  28074. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28075. in: query
  28076. name: cycletype
  28077. required: true
  28078. type: integer
  28079. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28080. 全(0)【原值】
  28081. in: query
  28082. name: cycletime
  28083. required: true
  28084. type: string
  28085. produces:
  28086. - application/json
  28087. responses:
  28088. "200":
  28089. description: OK
  28090. schema:
  28091. items:
  28092. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28093. type: array
  28094. "500":
  28095. description: Internal Server Error
  28096. schema:
  28097. $ref: '#/definitions/app.Response'
  28098. security:
  28099. - ApiKeyAuth: []
  28100. summary: 查询敞口期货明细(敞口报表/期货明细)
  28101. tags:
  28102. - 企业风险管理v3(app)
  28103. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28104. get:
  28105. parameters:
  28106. - description: 用户ID
  28107. in: query
  28108. name: userid
  28109. required: true
  28110. type: integer
  28111. - description: 套保商品id
  28112. in: query
  28113. name: middlegoodsid
  28114. required: true
  28115. type: integer
  28116. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28117. in: query
  28118. name: cycletype
  28119. required: true
  28120. type: integer
  28121. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28122. 全(0)【原值】
  28123. in: query
  28124. name: cycletime
  28125. required: true
  28126. type: string
  28127. produces:
  28128. - application/json
  28129. responses:
  28130. "200":
  28131. description: OK
  28132. schema:
  28133. items:
  28134. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28135. type: array
  28136. "500":
  28137. description: Internal Server Error
  28138. schema:
  28139. $ref: '#/definitions/app.Response'
  28140. security:
  28141. - ApiKeyAuth: []
  28142. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28143. tags:
  28144. - 企业风险管理v3(app)
  28145. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28146. get:
  28147. parameters:
  28148. - description: 用户ID
  28149. in: query
  28150. name: userid
  28151. required: true
  28152. type: integer
  28153. - description: 套保商品id
  28154. in: query
  28155. name: middlegoodsid
  28156. required: true
  28157. type: integer
  28158. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28159. in: query
  28160. name: cycletype
  28161. required: true
  28162. type: integer
  28163. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28164. 全(0)【原值】
  28165. in: query
  28166. name: cycletime
  28167. required: true
  28168. type: string
  28169. produces:
  28170. - application/json
  28171. responses:
  28172. "200":
  28173. description: OK
  28174. schema:
  28175. items:
  28176. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28177. type: array
  28178. "500":
  28179. description: Internal Server Error
  28180. schema:
  28181. $ref: '#/definitions/app.Response'
  28182. security:
  28183. - ApiKeyAuth: []
  28184. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28185. tags:
  28186. - 企业风险管理v3(app)
  28187. /Ermcp3/QryAreaExpourseReport:
  28188. get:
  28189. parameters:
  28190. - description: 用户ID
  28191. in: query
  28192. name: userid
  28193. required: true
  28194. type: integer
  28195. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28196. in: query
  28197. name: querytype
  28198. required: true
  28199. type: integer
  28200. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28201. in: query
  28202. name: cycletype
  28203. required: true
  28204. type: integer
  28205. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28206. 全(0)【原值】
  28207. in: query
  28208. name: cycletime
  28209. required: true
  28210. type: string
  28211. produces:
  28212. - application/json
  28213. responses:
  28214. "200":
  28215. description: OK
  28216. schema:
  28217. items:
  28218. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28219. type: array
  28220. "500":
  28221. description: Internal Server Error
  28222. schema:
  28223. $ref: '#/definitions/app.Response'
  28224. security:
  28225. - ApiKeyAuth: []
  28226. summary: 查询敞口报表
  28227. tags:
  28228. - 企业风险管理v3(app)
  28229. /Ermcp3/QryAreaSpotplReport:
  28230. get:
  28231. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28232. parameters:
  28233. - description: 用户ID
  28234. in: query
  28235. name: userid
  28236. required: true
  28237. type: integer
  28238. - description: 查询类型 1-报表 2-报表明细
  28239. in: query
  28240. name: querytype
  28241. required: true
  28242. type: integer
  28243. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28244. in: query
  28245. name: cycletype
  28246. required: true
  28247. type: integer
  28248. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28249. 全(0)【原值】
  28250. in: query
  28251. name: cycletime
  28252. required: true
  28253. type: string
  28254. - description: 现货品种id(明细必填)
  28255. in: query
  28256. name: deliverygoodsid
  28257. type: integer
  28258. - description: 币种id(明细必填)
  28259. in: query
  28260. name: currencyid
  28261. type: integer
  28262. - description: 日/周/月报表汇总维度 1:品种+品类
  28263. in: query
  28264. name: sumflag
  28265. type: integer
  28266. produces:
  28267. - application/json
  28268. responses:
  28269. "200":
  28270. description: OK
  28271. schema:
  28272. items:
  28273. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28274. type: array
  28275. "500":
  28276. description: Internal Server Error
  28277. schema:
  28278. $ref: '#/definitions/app.Response'
  28279. security:
  28280. - ApiKeyAuth: []
  28281. summary: 查询现货报表
  28282. tags:
  28283. - 企业风险管理v3(app)
  28284. /Ermcp3/QryAreaStockReport:
  28285. get:
  28286. parameters:
  28287. - description: 用户ID
  28288. in: query
  28289. name: userid
  28290. required: true
  28291. type: integer
  28292. - description: 查询类型 1-报表 2-报表明细
  28293. in: query
  28294. name: querytype
  28295. required: true
  28296. type: integer
  28297. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28298. in: query
  28299. name: cycletype
  28300. required: true
  28301. type: integer
  28302. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28303. 全(0)【原值】
  28304. in: query
  28305. name: cycletime
  28306. required: true
  28307. type: string
  28308. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28309. in: query
  28310. name: sumfields
  28311. type: string
  28312. - description: 品种ID
  28313. in: query
  28314. name: deliverygoodsid
  28315. type: integer
  28316. - description: 品类ID
  28317. in: query
  28318. name: wrstandardid
  28319. type: integer
  28320. - description: 品牌ID
  28321. in: query
  28322. name: spotgoodsbrandid
  28323. type: integer
  28324. - description: 仓库ID
  28325. in: query
  28326. name: warehouseinfoid
  28327. type: integer
  28328. produces:
  28329. - application/json
  28330. responses:
  28331. "200":
  28332. description: OK
  28333. schema:
  28334. items:
  28335. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28336. type: array
  28337. "500":
  28338. description: Internal Server Error
  28339. schema:
  28340. $ref: '#/definitions/app.Response'
  28341. security:
  28342. - ApiKeyAuth: []
  28343. summary: 查询库存报表
  28344. tags:
  28345. - 企业风险管理v3(app)
  28346. /Ermcp3/QryAreaSumPL:
  28347. get:
  28348. parameters:
  28349. - description: 用户ID
  28350. in: query
  28351. name: userid
  28352. required: true
  28353. type: integer
  28354. - description: 查询类型 1-报表 2-报表明细
  28355. in: query
  28356. name: querytype
  28357. required: true
  28358. type: integer
  28359. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28360. in: query
  28361. name: cycletype
  28362. required: true
  28363. type: integer
  28364. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28365. 全(0)【原值】
  28366. in: query
  28367. name: cycletime
  28368. required: true
  28369. type: string
  28370. - description: 币种id(明细必填)
  28371. in: query
  28372. name: currencyid
  28373. type: integer
  28374. - description: 套保品种ID, 查询类型为2时起效
  28375. in: query
  28376. name: middlegoodsid
  28377. type: integer
  28378. produces:
  28379. - application/json
  28380. responses:
  28381. "200":
  28382. description: OK
  28383. schema:
  28384. items:
  28385. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28386. type: array
  28387. "500":
  28388. description: Internal Server Error
  28389. schema:
  28390. $ref: '#/definitions/app.Response'
  28391. security:
  28392. - ApiKeyAuth: []
  28393. summary: 查询汇总损益表
  28394. tags:
  28395. - 企业风险管理v3(app)
  28396. /Ermcp3/QryFinanceReport:
  28397. get:
  28398. parameters:
  28399. - description: 用户ID
  28400. in: query
  28401. name: userid
  28402. required: true
  28403. type: integer
  28404. - description: 查询类型 1-报表 2-报表明细
  28405. in: query
  28406. name: querytype
  28407. required: true
  28408. type: integer
  28409. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28410. in: query
  28411. name: cycletype
  28412. required: true
  28413. type: integer
  28414. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28415. 全(0)【原值】
  28416. in: query
  28417. name: cycletime
  28418. required: true
  28419. type: string
  28420. - description: 币种id(报表明细必填)
  28421. in: query
  28422. name: currencyid
  28423. type: integer
  28424. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28425. in: query
  28426. name: sumfields
  28427. type: string
  28428. produces:
  28429. - application/json
  28430. responses:
  28431. "200":
  28432. description: OK
  28433. schema:
  28434. items:
  28435. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28436. type: array
  28437. "500":
  28438. description: Internal Server Error
  28439. schema:
  28440. $ref: '#/definitions/app.Response'
  28441. security:
  28442. - ApiKeyAuth: []
  28443. summary: 查询财务报表
  28444. tags:
  28445. - 企业风险管理v3(app)
  28446. /Ermcp3/QrySCMiddleGoodsReport:
  28447. get:
  28448. parameters:
  28449. - description: 用户ID
  28450. in: query
  28451. name: userid
  28452. required: true
  28453. type: integer
  28454. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28455. in: query
  28456. name: cycletype
  28457. required: true
  28458. type: integer
  28459. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28460. 全(0)【原值】
  28461. in: query
  28462. name: cycletime
  28463. required: true
  28464. type: string
  28465. - description: 合同id
  28466. in: query
  28467. name: spotcontractid
  28468. type: integer
  28469. - description: 套保品种id
  28470. in: query
  28471. name: middlegoodsid
  28472. type: integer
  28473. - description: 现货品种id
  28474. in: query
  28475. name: deliverygoodsid
  28476. type: integer
  28477. - description: 现货商品id
  28478. in: query
  28479. name: wrstandardid
  28480. type: integer
  28481. - description: 合同编号(模糊匹配)
  28482. in: query
  28483. name: contractno
  28484. type: string
  28485. produces:
  28486. - application/json
  28487. responses:
  28488. "200":
  28489. description: OK
  28490. schema:
  28491. items:
  28492. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28493. type: array
  28494. "500":
  28495. description: Internal Server Error
  28496. schema:
  28497. $ref: '#/definitions/app.Response'
  28498. security:
  28499. - ApiKeyAuth: []
  28500. summary: 查询定价报表
  28501. tags:
  28502. - 企业风险管理v3(app)
  28503. /Ermcp3/QryTaFutureDataReport:
  28504. get:
  28505. parameters:
  28506. - description: 用户ID
  28507. in: query
  28508. name: userid
  28509. required: true
  28510. type: integer
  28511. - description: 查询类型 1-报表 2-报表明细
  28512. in: query
  28513. name: querytype
  28514. required: true
  28515. type: integer
  28516. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28517. in: query
  28518. name: cycletype
  28519. required: true
  28520. type: integer
  28521. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28522. 全(0)【原值】
  28523. in: query
  28524. name: cycletime
  28525. required: true
  28526. type: string
  28527. - description: 币种id(查明细必填)
  28528. in: query
  28529. name: currencyid
  28530. type: integer
  28531. - description: 品种id(查明细必填)
  28532. in: query
  28533. name: goodsgroupid
  28534. type: integer
  28535. - description: 商品id(查明细必填)
  28536. in: query
  28537. name: goodsid
  28538. type: integer
  28539. - description: 买卖方向(查明细必填)
  28540. in: query
  28541. name: buyorsell
  28542. type: integer
  28543. produces:
  28544. - application/json
  28545. responses:
  28546. "200":
  28547. description: OK
  28548. schema:
  28549. items:
  28550. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28551. type: array
  28552. "500":
  28553. description: Internal Server Error
  28554. schema:
  28555. $ref: '#/definitions/app.Response'
  28556. security:
  28557. - ApiKeyAuth: []
  28558. summary: 查询期货报表
  28559. tags:
  28560. - 企业风险管理v3(app)
  28561. /Ermcp3/QueryAreaStock:
  28562. get:
  28563. parameters:
  28564. - description: 用户ID
  28565. in: query
  28566. name: userid
  28567. required: true
  28568. type: integer
  28569. produces:
  28570. - application/json
  28571. responses:
  28572. "200":
  28573. description: OK
  28574. schema:
  28575. items:
  28576. $ref: '#/definitions/models.Ermcp3AreaStock'
  28577. type: array
  28578. "500":
  28579. description: Internal Server Error
  28580. schema:
  28581. $ref: '#/definitions/app.Response'
  28582. security:
  28583. - ApiKeyAuth: []
  28584. summary: 查询机构库存(库存管理/当前库存)
  28585. tags:
  28586. - 企业风险管理v3(app)
  28587. /Ermcp3/QueryAreaStockApply:
  28588. get:
  28589. parameters:
  28590. - description: 用户ID
  28591. in: query
  28592. name: userid
  28593. required: true
  28594. type: integer
  28595. - description: 用户类型 2-机构 7-企业成员
  28596. in: query
  28597. name: usertype
  28598. type: integer
  28599. - description: 现货商品ID
  28600. in: query
  28601. name: deliverygoodsid
  28602. type: integer
  28603. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28604. in: query
  28605. name: inouttype
  28606. type: string
  28607. - description: 合同ID
  28608. in: query
  28609. name: spotcontractid
  28610. type: integer
  28611. - description: 品类ID
  28612. in: query
  28613. name: wrstandardid
  28614. type: integer
  28615. - description: 品牌ID
  28616. in: query
  28617. name: spotgoodsbrandid
  28618. type: integer
  28619. - description: 仓库ID
  28620. in: query
  28621. name: warehouseinfoid
  28622. type: integer
  28623. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28624. in: query
  28625. name: applystatus
  28626. type: string
  28627. produces:
  28628. - application/json
  28629. responses:
  28630. "200":
  28631. description: OK
  28632. schema:
  28633. items:
  28634. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28635. type: array
  28636. "500":
  28637. description: Internal Server Error
  28638. schema:
  28639. $ref: '#/definitions/app.Response'
  28640. security:
  28641. - ApiKeyAuth: []
  28642. summary: 查询库存申请(出入库记录|库存审核)
  28643. tags:
  28644. - 企业风险管理v3(app)
  28645. /Ermcp3/QueryAreaStockApplySum:
  28646. get:
  28647. parameters:
  28648. - description: 合同ID
  28649. in: query
  28650. name: spotcontractid
  28651. required: true
  28652. type: integer
  28653. produces:
  28654. - application/json
  28655. responses:
  28656. "200":
  28657. description: OK
  28658. schema:
  28659. items:
  28660. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28661. type: array
  28662. "500":
  28663. description: Internal Server Error
  28664. schema:
  28665. $ref: '#/definitions/app.Response'
  28666. security:
  28667. - ApiKeyAuth: []
  28668. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28669. tags:
  28670. - 企业风险管理v3(app)
  28671. /Ermcp3/QueryDGFactoryItem:
  28672. get:
  28673. parameters:
  28674. - description: 用户id
  28675. in: query
  28676. name: userid
  28677. type: integer
  28678. - description: 用户类型 2-机构 7-企业成员
  28679. in: query
  28680. name: usertype
  28681. type: integer
  28682. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28683. in: query
  28684. name: dgfactoryitemid
  28685. type: integer
  28686. - description: 现货品种ID
  28687. in: query
  28688. name: deliverygoodsid
  28689. type: integer
  28690. - description: 要素项类型
  28691. in: query
  28692. name: dgfactoryitemtypeid
  28693. type: integer
  28694. - description: 顺序
  28695. in: query
  28696. name: orderindex
  28697. type: integer
  28698. produces:
  28699. - application/json
  28700. responses:
  28701. "200":
  28702. description: OK
  28703. schema:
  28704. items:
  28705. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28706. type: array
  28707. "500":
  28708. description: Internal Server Error
  28709. schema:
  28710. $ref: '#/definitions/app.Response'
  28711. security:
  28712. - ApiKeyAuth: []
  28713. summary: 查询品种要素定义项
  28714. tags:
  28715. - 企业风险管理v3(app)
  28716. /Ermcp3/QueryDeliveryGoods:
  28717. get:
  28718. parameters:
  28719. - description: 用户id
  28720. in: query
  28721. name: userid
  28722. required: true
  28723. type: integer
  28724. - description: 用户类型 2-机构 7-企业成员
  28725. in: query
  28726. name: usertype
  28727. type: integer
  28728. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28729. in: query
  28730. name: excludecfg
  28731. type: integer
  28732. produces:
  28733. - application/json
  28734. responses:
  28735. "200":
  28736. description: OK
  28737. schema:
  28738. items:
  28739. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28740. type: array
  28741. "500":
  28742. description: Internal Server Error
  28743. schema:
  28744. $ref: '#/definitions/app.Response'
  28745. security:
  28746. - ApiKeyAuth: []
  28747. summary: 查询现货商品
  28748. tags:
  28749. - 企业风险管理v3(app)
  28750. /Ermcp3/QueryDeliveryGoodsDetail:
  28751. get:
  28752. parameters:
  28753. - description: 用户id
  28754. in: query
  28755. name: userid
  28756. required: true
  28757. type: integer
  28758. - description: 用户类型 2-机构 7-企业成员
  28759. in: query
  28760. name: usertype
  28761. type: integer
  28762. - description: 现货商品id
  28763. in: query
  28764. name: deliverygoodsid
  28765. type: integer
  28766. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28767. in: query
  28768. name: filtersubempty
  28769. type: integer
  28770. produces:
  28771. - application/json
  28772. responses:
  28773. "200":
  28774. description: OK
  28775. schema:
  28776. items:
  28777. $ref: '#/definitions/models.XHDeliveryGoods'
  28778. type: array
  28779. "500":
  28780. description: Internal Server Error
  28781. schema:
  28782. $ref: '#/definitions/app.Response'
  28783. security:
  28784. - ApiKeyAuth: []
  28785. summary: 查询现货商品详情
  28786. tags:
  28787. - 企业风险管理v3(app)
  28788. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28789. get:
  28790. parameters:
  28791. - description: 合同id
  28792. in: query
  28793. name: spotcontractid
  28794. required: true
  28795. type: string
  28796. produces:
  28797. - application/json
  28798. responses:
  28799. "200":
  28800. description: OK
  28801. schema:
  28802. items:
  28803. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28804. type: array
  28805. "500":
  28806. description: Internal Server Error
  28807. schema:
  28808. $ref: '#/definitions/app.Response'
  28809. security:
  28810. - ApiKeyAuth: []
  28811. summary: 查询现货合同期现配置信息
  28812. tags:
  28813. - 企业风险管理v3(app)
  28814. /Ermcp3/QueryExposureDetail:
  28815. get:
  28816. parameters:
  28817. - description: 用户id
  28818. in: query
  28819. name: userid
  28820. required: true
  28821. type: integer
  28822. - description: 用户类型 2-机构 7-企业成员
  28823. in: query
  28824. name: usertype
  28825. type: integer
  28826. - description: 套保商品
  28827. in: query
  28828. name: middlegoodsid
  28829. required: true
  28830. type: integer
  28831. produces:
  28832. - application/json
  28833. responses:
  28834. "200":
  28835. description: OK
  28836. schema:
  28837. items:
  28838. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28839. type: array
  28840. "500":
  28841. description: Internal Server Error
  28842. schema:
  28843. $ref: '#/definitions/app.Response'
  28844. security:
  28845. - ApiKeyAuth: []
  28846. summary: 查询敞口现货明细
  28847. tags:
  28848. - 企业风险管理v3(app)
  28849. /Ermcp3/QueryExposureSpot:
  28850. get:
  28851. parameters:
  28852. - description: 用户id
  28853. in: query
  28854. name: userid
  28855. required: true
  28856. type: integer
  28857. - description: 用户类型 2-机构 7-企业成员
  28858. in: query
  28859. name: usertype
  28860. type: integer
  28861. produces:
  28862. - application/json
  28863. responses:
  28864. "200":
  28865. description: OK
  28866. schema:
  28867. items:
  28868. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28869. type: array
  28870. "500":
  28871. description: Internal Server Error
  28872. schema:
  28873. $ref: '#/definitions/app.Response'
  28874. security:
  28875. - ApiKeyAuth: []
  28876. summary: 查询敞口现货头寸(敞口/现货头寸)
  28877. tags:
  28878. - 企业风险管理v3(app)
  28879. /Ermcp3/QueryExposureSpotDetail:
  28880. get:
  28881. parameters:
  28882. - description: 用户id
  28883. in: query
  28884. name: userid
  28885. required: true
  28886. type: integer
  28887. - description: 用户类型 2-机构 7-企业成员
  28888. in: query
  28889. name: usertype
  28890. type: integer
  28891. - description: 现货商品ID
  28892. in: query
  28893. name: wrstandardid
  28894. required: true
  28895. type: integer
  28896. produces:
  28897. - application/json
  28898. responses:
  28899. "200":
  28900. description: OK
  28901. schema:
  28902. items:
  28903. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28904. type: array
  28905. "500":
  28906. description: Internal Server Error
  28907. schema:
  28908. $ref: '#/definitions/app.Response'
  28909. security:
  28910. - ApiKeyAuth: []
  28911. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28912. tags:
  28913. - 企业风险管理v3(app)
  28914. /Ermcp3/QueryGoodsGroup:
  28915. get:
  28916. parameters:
  28917. - description: 用户id
  28918. in: query
  28919. name: userid
  28920. required: true
  28921. type: integer
  28922. - description: 用户类型 2-机构 7-企业成员
  28923. in: query
  28924. name: usertype
  28925. type: integer
  28926. - description: 排除套保品中已关联的商品组 1-排除
  28927. in: query
  28928. name: excludecfg
  28929. type: integer
  28930. produces:
  28931. - application/json
  28932. responses:
  28933. "200":
  28934. description: OK
  28935. schema:
  28936. items:
  28937. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28938. type: array
  28939. "500":
  28940. description: Internal Server Error
  28941. schema:
  28942. $ref: '#/definitions/app.Response'
  28943. security:
  28944. - ApiKeyAuth: []
  28945. summary: 查询期货商品组
  28946. tags:
  28947. - 企业风险管理v3(app)
  28948. /Ermcp3/QueryGoodsWrstandard:
  28949. get:
  28950. parameters:
  28951. - description: 用户id
  28952. in: query
  28953. name: userid
  28954. required: true
  28955. type: integer
  28956. - description: 用户类型 2-机构 7-企业成员
  28957. in: query
  28958. name: usertype
  28959. type: integer
  28960. - description: 现货商品id
  28961. in: query
  28962. name: deliverygoodsid
  28963. type: integer
  28964. produces:
  28965. - application/json
  28966. responses:
  28967. "200":
  28968. description: OK
  28969. schema:
  28970. items:
  28971. $ref: '#/definitions/models.Ermcp3Wrstandard'
  28972. type: array
  28973. "500":
  28974. description: Internal Server Error
  28975. schema:
  28976. $ref: '#/definitions/app.Response'
  28977. security:
  28978. - ApiKeyAuth: []
  28979. summary: 查询商品品类
  28980. tags:
  28981. - 企业风险管理v3(app)
  28982. /Ermcp3/QueryGoodsbrand:
  28983. get:
  28984. parameters:
  28985. - description: 用户id
  28986. in: query
  28987. name: userid
  28988. required: true
  28989. type: integer
  28990. - description: 用户类型 2-机构 7-企业成员
  28991. in: query
  28992. name: usertype
  28993. type: integer
  28994. produces:
  28995. - application/json
  28996. responses:
  28997. "200":
  28998. description: OK
  28999. schema:
  29000. items:
  29001. $ref: '#/definitions/models.Ermcp3Brand'
  29002. type: array
  29003. "500":
  29004. description: Internal Server Error
  29005. schema:
  29006. $ref: '#/definitions/app.Response'
  29007. security:
  29008. - ApiKeyAuth: []
  29009. summary: 查询商品品牌
  29010. tags:
  29011. - 企业风险管理v3(app)
  29012. /Ermcp3/QueryHPMiddleGoods:
  29013. get:
  29014. parameters:
  29015. - description: 用户ID(填登录用户的userid)
  29016. in: query
  29017. name: userid
  29018. required: true
  29019. type: integer
  29020. - description: 买卖方向 0-买 1-卖
  29021. in: query
  29022. name: buyorsell
  29023. required: true
  29024. type: integer
  29025. - description: 商品组id
  29026. in: query
  29027. name: goodsgroupid
  29028. required: true
  29029. type: integer
  29030. - description: 套保计划编号(模糊匹配)
  29031. in: query
  29032. name: hedgeplanno
  29033. type: string
  29034. - description: 现货商品名称(模糊匹配)
  29035. in: query
  29036. name: wrstandardname
  29037. type: string
  29038. produces:
  29039. - application/json
  29040. responses:
  29041. "200":
  29042. description: OK
  29043. schema:
  29044. items:
  29045. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29046. type: array
  29047. "500":
  29048. description: Internal Server Error
  29049. schema:
  29050. $ref: '#/definitions/app.Response'
  29051. security:
  29052. - ApiKeyAuth: []
  29053. summary: 查询可关联套保计划
  29054. tags:
  29055. - 企业风险管理v3(app)
  29056. /Ermcp3/QueryHedgePlan:
  29057. get:
  29058. parameters:
  29059. - description: 用户ID
  29060. in: query
  29061. name: userid
  29062. required: true
  29063. type: integer
  29064. - description: 用户类型 2-机构 7-企业成员
  29065. in: query
  29066. name: usertype
  29067. type: integer
  29068. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29069. in: query
  29070. name: hedgeplanstatus
  29071. required: true
  29072. type: string
  29073. produces:
  29074. - application/json
  29075. responses:
  29076. "200":
  29077. description: OK
  29078. schema:
  29079. items:
  29080. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29081. type: array
  29082. "500":
  29083. description: Internal Server Error
  29084. schema:
  29085. $ref: '#/definitions/app.Response'
  29086. security:
  29087. - ApiKeyAuth: []
  29088. summary: 查询套保计划
  29089. tags:
  29090. - 企业风险管理v3(app)
  29091. /Ermcp3/QueryInnerTradeLink:
  29092. get:
  29093. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29094. parameters:
  29095. - description: 外部成交单号
  29096. in: query
  29097. name: outtradeid
  29098. required: true
  29099. type: integer
  29100. produces:
  29101. - application/json
  29102. responses:
  29103. "200":
  29104. description: OK
  29105. schema:
  29106. items:
  29107. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29108. type: array
  29109. "500":
  29110. description: Internal Server Error
  29111. schema:
  29112. $ref: '#/definitions/app.Response'
  29113. security:
  29114. - ApiKeyAuth: []
  29115. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29116. tags:
  29117. - 企业风险管理v3(app)
  29118. /Ermcp3/QueryMiddleGoodsDetail:
  29119. get:
  29120. parameters:
  29121. - description: 用户id
  29122. in: query
  29123. name: userid
  29124. required: true
  29125. type: integer
  29126. - description: 用户类型 2-机构 7-企业成员
  29127. in: query
  29128. name: usertype
  29129. type: integer
  29130. - description: 套保品种id
  29131. in: query
  29132. name: middlegoodsid
  29133. type: integer
  29134. produces:
  29135. - application/json
  29136. responses:
  29137. "200":
  29138. description: OK
  29139. schema:
  29140. items:
  29141. $ref: '#/definitions/models.TBMiddleGoods'
  29142. type: array
  29143. "500":
  29144. description: Internal Server Error
  29145. schema:
  29146. $ref: '#/definitions/app.Response'
  29147. security:
  29148. - ApiKeyAuth: []
  29149. summary: 查询套保品种详情(套保品种/商品详情)
  29150. tags:
  29151. - 企业风险管理v3(app)
  29152. /Ermcp3/QueryOutTradeLink:
  29153. get:
  29154. description: 页面 app 现货->期现关联->外部成交单关联
  29155. parameters:
  29156. - description: 用户ID(填登录用户的userid)
  29157. in: query
  29158. name: userid
  29159. required: true
  29160. type: integer
  29161. - description: 外部订单号(模糊匹配)
  29162. in: query
  29163. name: outtradeid
  29164. type: string
  29165. - description: 合约名称/代码(模糊匹配)
  29166. in: query
  29167. name: goodsname
  29168. type: string
  29169. - description: 关联状态 0-未关联 1-已关联
  29170. in: query
  29171. name: hasinnerorder
  29172. type: integer
  29173. produces:
  29174. - application/json
  29175. responses:
  29176. "200":
  29177. description: OK
  29178. schema:
  29179. items:
  29180. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29181. type: array
  29182. "500":
  29183. description: Internal Server Error
  29184. schema:
  29185. $ref: '#/definitions/app.Response'
  29186. security:
  29187. - ApiKeyAuth: []
  29188. summary: 查询外部成交单关联
  29189. tags:
  29190. - 企业风险管理v3(app)
  29191. /Ermcp3/QueryPaAreaAuditCfg:
  29192. get:
  29193. parameters:
  29194. - description: 用户id
  29195. in: query
  29196. name: userid
  29197. required: true
  29198. type: integer
  29199. produces:
  29200. - application/json
  29201. responses:
  29202. "200":
  29203. description: OK
  29204. schema:
  29205. items:
  29206. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29207. type: array
  29208. "500":
  29209. description: Internal Server Error
  29210. schema:
  29211. $ref: '#/definitions/app.Response'
  29212. security:
  29213. - ApiKeyAuth: []
  29214. summary: 查询审核设置
  29215. tags:
  29216. - 企业风险管理v3(app)
  29217. /Ermcp3/QueryPaAreaSubject:
  29218. get:
  29219. parameters:
  29220. - description: 用户id
  29221. in: query
  29222. name: userid
  29223. required: true
  29224. type: integer
  29225. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29226. in: query
  29227. name: subjectid
  29228. type: integer
  29229. - description: 主体类型 - 1:交易主体 2:业务部门
  29230. in: query
  29231. name: subjecttype
  29232. type: integer
  29233. - description: '主体状态 - 1:正常 2: 停用'
  29234. in: query
  29235. name: subjectstatus
  29236. type: integer
  29237. produces:
  29238. - application/json
  29239. responses:
  29240. "200":
  29241. description: OK
  29242. schema:
  29243. items:
  29244. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29245. type: array
  29246. "500":
  29247. description: Internal Server Error
  29248. schema:
  29249. $ref: '#/definitions/app.Response'
  29250. security:
  29251. - ApiKeyAuth: []
  29252. summary: 查询交易主体
  29253. tags:
  29254. - 企业风险管理v3(app)
  29255. /Ermcp3/QueryPaTradeLink:
  29256. get:
  29257. description: 页面 app 现货->期现关联->期现单据关联
  29258. parameters:
  29259. - description: 用户ID
  29260. in: query
  29261. name: userid
  29262. required: true
  29263. type: integer
  29264. produces:
  29265. - application/json
  29266. responses:
  29267. "200":
  29268. description: OK
  29269. schema:
  29270. items:
  29271. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29272. type: array
  29273. "500":
  29274. description: Internal Server Error
  29275. schema:
  29276. $ref: '#/definitions/app.Response'
  29277. security:
  29278. - ApiKeyAuth: []
  29279. summary: 查询期现单据关联
  29280. tags:
  29281. - 企业风险管理v3(app)
  29282. /Ermcp3/QueryPaTradeLinkDetail:
  29283. get:
  29284. description: 页面 app 现货->期现关联->关联记录
  29285. parameters:
  29286. - description: 用户ID(填登录用户的userid)
  29287. in: query
  29288. name: userid
  29289. required: true
  29290. type: integer
  29291. - description: 关联状态 1:成功 2:失败 3:解绑
  29292. in: query
  29293. name: linkstatus
  29294. type: integer
  29295. - description: 期货订单号(模糊匹配)
  29296. in: query
  29297. name: tradeid
  29298. type: string
  29299. - description: 现货编号(模糊匹配)
  29300. in: query
  29301. name: contractno
  29302. type: string
  29303. - description: 期货账户(模糊匹配)
  29304. in: query
  29305. name: taname
  29306. type: string
  29307. produces:
  29308. - application/json
  29309. responses:
  29310. "200":
  29311. description: OK
  29312. schema:
  29313. items:
  29314. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29315. type: array
  29316. "500":
  29317. description: Internal Server Error
  29318. schema:
  29319. $ref: '#/definitions/app.Response'
  29320. security:
  29321. - ApiKeyAuth: []
  29322. summary: 查询期现关联记录
  29323. tags:
  29324. - 企业风险管理v3(app)
  29325. /Ermcp3/QueryParamChangeApp:
  29326. get:
  29327. description: |-
  29328. 原型页面:
  29329. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29330. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29331. parameters:
  29332. - description: 用户ID
  29333. in: query
  29334. name: userid
  29335. required: true
  29336. type: integer
  29337. - description: 现货品种id
  29338. in: query
  29339. name: deliverygoodsid
  29340. type: integer
  29341. - description: 现货商品id
  29342. in: query
  29343. name: wrstandardid
  29344. type: integer
  29345. - description: 套保商品id
  29346. in: query
  29347. name: middlegoodsid
  29348. type: integer
  29349. - description: 操作类型 1:新增 2:修改
  29350. in: query
  29351. name: operatetype
  29352. type: integer
  29353. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29354. in: query
  29355. name: paramchangetype
  29356. type: integer
  29357. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29358. in: query
  29359. name: ftstatus
  29360. type: string
  29361. produces:
  29362. - application/json
  29363. responses:
  29364. "200":
  29365. description: OK
  29366. schema:
  29367. items:
  29368. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29369. type: array
  29370. "500":
  29371. description: Internal Server Error
  29372. schema:
  29373. $ref: '#/definitions/app.Response'
  29374. security:
  29375. - ApiKeyAuth: []
  29376. summary: 查询现货商品参数变更申请(流水)
  29377. tags:
  29378. - 企业风险管理v3(app)
  29379. /Ermcp3/QueryRootUserAccount:
  29380. get:
  29381. parameters:
  29382. - description: 用户ID
  29383. in: query
  29384. name: userid
  29385. required: true
  29386. type: integer
  29387. produces:
  29388. - application/json
  29389. responses:
  29390. "200":
  29391. description: OK
  29392. schema:
  29393. items:
  29394. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29395. type: array
  29396. "500":
  29397. description: Internal Server Error
  29398. schema:
  29399. $ref: '#/definitions/app.Response'
  29400. security:
  29401. - ApiKeyAuth: []
  29402. summary: 查询顶级用户信息
  29403. tags:
  29404. - 企业风险管理v3(app)
  29405. /Ermcp3/QuerySCMiddleGoods:
  29406. get:
  29407. description: |-
  29408. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29409. 现货编号 即 合同编号
  29410. parameters:
  29411. - description: 用户ID(填登录用户的userid)
  29412. in: query
  29413. name: userid
  29414. required: true
  29415. type: integer
  29416. - description: 买卖方向 0-买 1-卖
  29417. in: query
  29418. name: buyorsell
  29419. required: true
  29420. type: integer
  29421. - description: 商品组id
  29422. in: query
  29423. name: goodsgroupid
  29424. required: true
  29425. type: integer
  29426. - description: 业务类型 1:套保 2:套利
  29427. in: query
  29428. name: biztype
  29429. type: integer
  29430. - description: 现货编号(模糊匹配)
  29431. in: query
  29432. name: contractno
  29433. type: string
  29434. - description: 对手方(模糊匹配)
  29435. in: query
  29436. name: customername
  29437. type: string
  29438. - description: 现货商品名称(模糊匹配)
  29439. in: query
  29440. name: wrstandardname
  29441. type: string
  29442. produces:
  29443. - application/json
  29444. responses:
  29445. "200":
  29446. description: OK
  29447. schema:
  29448. items:
  29449. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29450. type: array
  29451. "500":
  29452. description: Internal Server Error
  29453. schema:
  29454. $ref: '#/definitions/app.Response'
  29455. security:
  29456. - ApiKeyAuth: []
  29457. summary: 查询现货订单
  29458. tags:
  29459. - 企业风险管理v3(app)
  29460. /Ermcp3/QuerySpotContract:
  29461. get:
  29462. parameters:
  29463. - description: 用户id(当指定contractid, userid可不填)
  29464. in: query
  29465. name: userid
  29466. required: true
  29467. type: integer
  29468. - description: 用户类型 2-机构 7-企业成员
  29469. in: query
  29470. name: usertype
  29471. type: integer
  29472. - description: 合同类型 1-采购, -1-销售
  29473. in: query
  29474. name: contracttype
  29475. type: integer
  29476. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29477. in: query
  29478. name: querytype
  29479. type: string
  29480. - description: 合同ID(SpotContractId)
  29481. in: query
  29482. name: contractid
  29483. type: string
  29484. - description: 合同编号(模糊匹配)
  29485. in: query
  29486. name: contractno
  29487. type: string
  29488. - description: 商品名称(模糊匹配)
  29489. in: query
  29490. name: wrstandardname
  29491. type: string
  29492. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29493. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29494. in: query
  29495. name: status
  29496. type: string
  29497. - description: 是否只查今日的合同 1-查今日合同
  29498. in: query
  29499. name: istoday
  29500. type: integer
  29501. produces:
  29502. - application/json
  29503. responses:
  29504. "200":
  29505. description: OK
  29506. schema:
  29507. items:
  29508. $ref: '#/definitions/models.Ermcp3Contract'
  29509. type: array
  29510. "500":
  29511. description: Internal Server Error
  29512. schema:
  29513. $ref: '#/definitions/app.Response'
  29514. security:
  29515. - ApiKeyAuth: []
  29516. summary: 查询现货合同
  29517. tags:
  29518. - 企业风险管理v3(app)
  29519. /Ermcp3/QuerySpotContractBS:
  29520. get:
  29521. parameters:
  29522. - description: 用户id
  29523. in: query
  29524. name: userid
  29525. required: true
  29526. type: integer
  29527. - description: 用户类型 2-机构 7-企业成员
  29528. in: query
  29529. name: usertype
  29530. type: integer
  29531. - description: 合同类型 1-采购, -1-销售
  29532. in: query
  29533. name: contracttype
  29534. required: true
  29535. type: integer
  29536. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29537. in: query
  29538. name: querytype
  29539. type: integer
  29540. - description: 合同ID(SpotContractId)
  29541. in: query
  29542. name: contractid
  29543. type: string
  29544. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29545. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29546. in: query
  29547. name: status
  29548. type: string
  29549. - description: 是否只查今日的合同 1-查今日合同
  29550. in: query
  29551. name: istoday
  29552. type: integer
  29553. produces:
  29554. - application/json
  29555. responses:
  29556. "200":
  29557. description: OK
  29558. schema:
  29559. items:
  29560. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29561. type: array
  29562. "500":
  29563. description: Internal Server Error
  29564. schema:
  29565. $ref: '#/definitions/app.Response'
  29566. security:
  29567. - ApiKeyAuth: []
  29568. summary: 查询合同(采购/销售)
  29569. tags:
  29570. - 企业风险管理v3(app)
  29571. /Ermcp3/QuerySpotGoodsPrice:
  29572. get:
  29573. parameters:
  29574. - description: 用户ID
  29575. in: query
  29576. name: userid
  29577. required: true
  29578. type: integer
  29579. produces:
  29580. - application/json
  29581. responses:
  29582. "200":
  29583. description: OK
  29584. schema:
  29585. items:
  29586. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29587. type: array
  29588. "500":
  29589. description: Internal Server Error
  29590. schema:
  29591. $ref: '#/definitions/app.Response'
  29592. security:
  29593. - ApiKeyAuth: []
  29594. summary: 查询现货市价(现货市价)
  29595. tags:
  29596. - 企业风险管理v3(app)
  29597. /Ermcp3/QuerySpotGoodsPriceLog:
  29598. get:
  29599. parameters:
  29600. - description: 用户ID
  29601. in: query
  29602. name: userid
  29603. required: true
  29604. type: integer
  29605. - description: 现货商品ID
  29606. in: query
  29607. name: deliverygoodsid
  29608. required: true
  29609. type: integer
  29610. - description: 品牌ID
  29611. in: query
  29612. name: brandid
  29613. type: integer
  29614. - description: 品类ID
  29615. in: query
  29616. name: wrstandardid
  29617. type: integer
  29618. produces:
  29619. - application/json
  29620. responses:
  29621. "200":
  29622. description: OK
  29623. schema:
  29624. items:
  29625. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29626. type: array
  29627. "500":
  29628. description: Internal Server Error
  29629. schema:
  29630. $ref: '#/definitions/app.Response'
  29631. security:
  29632. - ApiKeyAuth: []
  29633. summary: 查询现货市价详情(现货市价/详情)
  29634. tags:
  29635. - 企业风险管理v3(app)
  29636. /Ermcp3/QuerySubTaaccount:
  29637. get:
  29638. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29639. parameters:
  29640. - description: 母账号id
  29641. in: query
  29642. name: parentaccountid
  29643. type: integer
  29644. - description: 母账号代码
  29645. in: query
  29646. name: parentaccountcode
  29647. type: string
  29648. produces:
  29649. - application/json
  29650. responses:
  29651. "200":
  29652. description: OK
  29653. schema:
  29654. items:
  29655. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29656. type: array
  29657. "500":
  29658. description: Internal Server Error
  29659. schema:
  29660. $ref: '#/definitions/app.Response'
  29661. security:
  29662. - ApiKeyAuth: []
  29663. summary: 查询期货子账户
  29664. tags:
  29665. - 企业风险管理v3(app)
  29666. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29667. get:
  29668. parameters:
  29669. - description: 套期项目ID
  29670. in: query
  29671. name: hedgeditemid
  29672. required: true
  29673. type: integer
  29674. produces:
  29675. - application/json
  29676. responses:
  29677. "200":
  29678. description: OK
  29679. schema:
  29680. items:
  29681. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29682. type: array
  29683. "500":
  29684. description: Internal Server Error
  29685. schema:
  29686. $ref: '#/definitions/app.Response'
  29687. security:
  29688. - ApiKeyAuth: []
  29689. summary: 现货成交明细查询
  29690. tags:
  29691. - 企业风险管理v8
  29692. /Ermcp8/QueryERMCP2HedgedItemspot:
  29693. get:
  29694. parameters:
  29695. - description: 套期项目ID
  29696. in: query
  29697. name: hedgeditemid
  29698. required: true
  29699. type: integer
  29700. produces:
  29701. - application/json
  29702. responses:
  29703. "200":
  29704. description: OK
  29705. schema:
  29706. items:
  29707. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29708. type: array
  29709. "500":
  29710. description: Internal Server Error
  29711. schema:
  29712. $ref: '#/definitions/app.Response'
  29713. security:
  29714. - ApiKeyAuth: []
  29715. summary: 套期计划明细查询
  29716. tags:
  29717. - 企业风险管理v8
  29718. /Ermcp8/QueryERMCPJRLinkPos:
  29719. get:
  29720. parameters:
  29721. - description: 套期项目ID
  29722. in: query
  29723. name: hedgeditemid
  29724. required: true
  29725. type: integer
  29726. produces:
  29727. - application/json
  29728. responses:
  29729. "200":
  29730. description: OK
  29731. schema:
  29732. items:
  29733. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29734. type: array
  29735. "500":
  29736. description: Internal Server Error
  29737. schema:
  29738. $ref: '#/definitions/app.Response'
  29739. security:
  29740. - ApiKeyAuth: []
  29741. summary: 期货持仓明细查询
  29742. tags:
  29743. - 企业风险管理v8
  29744. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29745. get:
  29746. parameters:
  29747. - description: 套期项目ID
  29748. in: query
  29749. name: hedgeditemid
  29750. required: true
  29751. type: integer
  29752. produces:
  29753. - application/json
  29754. responses:
  29755. "200":
  29756. description: OK
  29757. schema:
  29758. items:
  29759. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29760. type: array
  29761. "500":
  29762. description: Internal Server Error
  29763. schema:
  29764. $ref: '#/definitions/app.Response'
  29765. security:
  29766. - ApiKeyAuth: []
  29767. summary: 期货成交单明细查询
  29768. tags:
  29769. - 企业风险管理v8
  29770. /Ermcp8/QueryErmcp2AreaExposure:
  29771. get:
  29772. parameters:
  29773. - description: 用户ID
  29774. in: query
  29775. name: userid
  29776. required: true
  29777. type: string
  29778. produces:
  29779. - application/json
  29780. responses:
  29781. "200":
  29782. description: OK
  29783. schema:
  29784. items:
  29785. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29786. type: array
  29787. "500":
  29788. description: Internal Server Error
  29789. schema:
  29790. $ref: '#/definitions/app.Response'
  29791. security:
  29792. - ApiKeyAuth: []
  29793. summary: 企业敞口查询
  29794. tags:
  29795. - 企业风险管理v8
  29796. /Ermcp8/QueryErmcp2HedgedItem:
  29797. get:
  29798. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29799. parameters:
  29800. - description: 用户ID
  29801. in: query
  29802. name: userid
  29803. required: true
  29804. type: string
  29805. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29806. in: query
  29807. name: hedgedtype
  29808. type: integer
  29809. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29810. in: query
  29811. name: hedgeditemstatus
  29812. type: integer
  29813. produces:
  29814. - application/json
  29815. responses:
  29816. "200":
  29817. description: OK
  29818. schema:
  29819. items:
  29820. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29821. type: array
  29822. "500":
  29823. description: Internal Server Error
  29824. schema:
  29825. $ref: '#/definitions/app.Response'
  29826. security:
  29827. - ApiKeyAuth: []
  29828. summary: 查询被套期项目信息
  29829. tags:
  29830. - 企业风险管理v8
  29831. /Ermcp8/QueryErmcp2HedgedItemLink:
  29832. get:
  29833. parameters:
  29834. - description: 现货合同ID
  29835. in: query
  29836. name: spotcontractid
  29837. required: true
  29838. type: integer
  29839. produces:
  29840. - application/json
  29841. responses:
  29842. "200":
  29843. description: OK
  29844. schema:
  29845. items:
  29846. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29847. type: array
  29848. "500":
  29849. description: Internal Server Error
  29850. schema:
  29851. $ref: '#/definitions/app.Response'
  29852. security:
  29853. - ApiKeyAuth: []
  29854. summary: 现货合同关联被套期项目查询
  29855. tags:
  29856. - 企业风险管理v8
  29857. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29858. get:
  29859. parameters:
  29860. - description: 用户ID
  29861. in: query
  29862. name: userid
  29863. required: true
  29864. type: integer
  29865. - description: 套保品种ID
  29866. in: query
  29867. name: middlegoodsid
  29868. required: true
  29869. type: integer
  29870. produces:
  29871. - application/json
  29872. responses:
  29873. "200":
  29874. description: OK
  29875. schema:
  29876. items:
  29877. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29878. type: array
  29879. "500":
  29880. description: Internal Server Error
  29881. schema:
  29882. $ref: '#/definitions/app.Response'
  29883. security:
  29884. - ApiKeyAuth: []
  29885. summary: 敞口明细 - 计划变动明细
  29886. tags:
  29887. - 企业风险管理v8
  29888. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29889. get:
  29890. parameters:
  29891. - description: 用户ID
  29892. in: query
  29893. name: userid
  29894. required: true
  29895. type: integer
  29896. - description: 套保品种ID
  29897. in: query
  29898. name: middlegoodsid
  29899. required: true
  29900. type: integer
  29901. produces:
  29902. - application/json
  29903. responses:
  29904. "200":
  29905. description: OK
  29906. schema:
  29907. items:
  29908. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29909. type: array
  29910. "500":
  29911. description: Internal Server Error
  29912. schema:
  29913. $ref: '#/definitions/app.Response'
  29914. security:
  29915. - ApiKeyAuth: []
  29916. summary: 敞口明细 - 现货变动明细查询
  29917. tags:
  29918. - 企业风险管理v8
  29919. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29920. get:
  29921. parameters:
  29922. - description: 用户ID
  29923. in: query
  29924. name: userid
  29925. required: true
  29926. type: integer
  29927. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29928. in: query
  29929. name: spottype
  29930. required: true
  29931. type: integer
  29932. - description: 现货商品ID
  29933. in: query
  29934. name: wrstandardid
  29935. type: integer
  29936. produces:
  29937. - application/json
  29938. responses:
  29939. "200":
  29940. description: OK
  29941. schema:
  29942. items:
  29943. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29944. type: array
  29945. "500":
  29946. description: Internal Server Error
  29947. schema:
  29948. $ref: '#/definitions/app.Response'
  29949. security:
  29950. - ApiKeyAuth: []
  29951. summary: 可关联项目查询
  29952. tags:
  29953. - 企业风险管理v8
  29954. /Ermcp8/QueryErmcp8HedgeditemReport:
  29955. get:
  29956. parameters:
  29957. - description: 用户ID
  29958. in: query
  29959. name: userid
  29960. required: true
  29961. type: integer
  29962. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29963. in: query
  29964. name: cycletype
  29965. type: integer
  29966. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29967. 全(0)【原值】
  29968. in: query
  29969. name: cycletime
  29970. required: true
  29971. type: string
  29972. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29973. in: query
  29974. name: hedgedtype
  29975. type: integer
  29976. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29977. in: query
  29978. name: hedgeditemstatus
  29979. type: integer
  29980. - description: 项目编号,模糊查询
  29981. in: query
  29982. name: hedgeditemnum
  29983. type: string
  29984. - description: 现货商品ID
  29985. in: query
  29986. name: wrstandardid
  29987. type: integer
  29988. produces:
  29989. - application/json
  29990. responses:
  29991. "200":
  29992. description: OK
  29993. schema:
  29994. items:
  29995. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  29996. type: array
  29997. "500":
  29998. description: Internal Server Error
  29999. schema:
  30000. $ref: '#/definitions/app.Response'
  30001. security:
  30002. - ApiKeyAuth: []
  30003. summary: 套期项目报表查询
  30004. tags:
  30005. - 企业风险管理v8
  30006. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30007. get:
  30008. parameters:
  30009. - description: 用户ID
  30010. in: query
  30011. name: userid
  30012. required: true
  30013. type: string
  30014. produces:
  30015. - application/json
  30016. responses:
  30017. "200":
  30018. description: OK
  30019. schema:
  30020. items:
  30021. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30022. type: array
  30023. "500":
  30024. description: Internal Server Error
  30025. schema:
  30026. $ref: '#/definitions/app.Response'
  30027. security:
  30028. - ApiKeyAuth: []
  30029. summary: 查询执行中项目查询信息
  30030. tags:
  30031. - 企业风险管理v8
  30032. /Ermcp8/QueryInternalEnableTradeDetail:
  30033. get:
  30034. parameters:
  30035. - description: 企业ID
  30036. in: query
  30037. name: areauserid
  30038. required: true
  30039. type: integer
  30040. - description: 期货合约ID
  30041. in: query
  30042. name: goodsid
  30043. required: true
  30044. type: integer
  30045. - description: 交易用户ID
  30046. in: query
  30047. name: tradeuserid
  30048. required: true
  30049. type: integer
  30050. produces:
  30051. - application/json
  30052. responses:
  30053. "200":
  30054. description: OK
  30055. schema:
  30056. items:
  30057. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30058. type: array
  30059. "500":
  30060. description: Internal Server Error
  30061. schema:
  30062. $ref: '#/definitions/app.Response'
  30063. security:
  30064. - ApiKeyAuth: []
  30065. summary: 内部成交单可关联项目查询
  30066. tags:
  30067. - 企业风险管理v8
  30068. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30069. get:
  30070. parameters:
  30071. - description: 用户编号
  30072. in: query
  30073. name: userid
  30074. required: true
  30075. type: integer
  30076. - description: 起始日期(格式yyyymmdd)
  30077. in: query
  30078. name: begindate
  30079. type: string
  30080. - description: 终止日期(格式yyyymmdd)
  30081. in: query
  30082. name: enddate
  30083. type: string
  30084. - description: 合约代码
  30085. in: query
  30086. name: goodscode
  30087. type: string
  30088. - description: 合约名称
  30089. in: query
  30090. name: goodsname
  30091. type: string
  30092. - description: 成交单号
  30093. in: query
  30094. name: tradeid
  30095. type: integer
  30096. - description: 方向 - 0:买 1:卖
  30097. in: query
  30098. name: buyorsell
  30099. type: integer
  30100. - description: 套期主体
  30101. in: query
  30102. name: accountname
  30103. type: string
  30104. produces:
  30105. - application/json
  30106. responses:
  30107. "200":
  30108. description: OK
  30109. schema:
  30110. items:
  30111. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30112. type: array
  30113. "500":
  30114. description: Internal Server Error
  30115. schema:
  30116. $ref: '#/definitions/app.Response'
  30117. security:
  30118. - ApiKeyAuth: []
  30119. summary: 内部未关联成交单查询
  30120. tags:
  30121. - 企业风险管理v8
  30122. /Ermcp8/QueryMarketCalendar:
  30123. get:
  30124. parameters:
  30125. - description: 市场ID
  30126. in: query
  30127. name: marketid
  30128. type: integer
  30129. produces:
  30130. - application/json
  30131. responses:
  30132. "200":
  30133. description: OK
  30134. schema:
  30135. items:
  30136. $ref: '#/definitions/models.Marketcalendar'
  30137. type: array
  30138. "500":
  30139. description: Internal Server Error
  30140. schema:
  30141. $ref: '#/definitions/app.Response'
  30142. security:
  30143. - ApiKeyAuth: []
  30144. summary: 市场节假日查询
  30145. tags:
  30146. - 企业风险管理v8
  30147. /Ermcp8/QueryPatradeLinkDetail:
  30148. get:
  30149. parameters:
  30150. - description: 用户ID
  30151. in: query
  30152. name: userid
  30153. required: true
  30154. type: integer
  30155. - description: 套保品种ID
  30156. in: query
  30157. name: middlegoodsid
  30158. required: true
  30159. type: integer
  30160. produces:
  30161. - application/json
  30162. responses:
  30163. "200":
  30164. description: OK
  30165. schema:
  30166. items:
  30167. $ref: '#/definitions/models.Patradelinkdetail'
  30168. type: array
  30169. "500":
  30170. description: Internal Server Error
  30171. schema:
  30172. $ref: '#/definitions/app.Response'
  30173. security:
  30174. - ApiKeyAuth: []
  30175. summary: 敞口明细 - 期货变动明细
  30176. tags:
  30177. - 企业风险管理v8
  30178. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30179. get:
  30180. parameters:
  30181. - description: 企业ID
  30182. in: query
  30183. name: areauserid
  30184. required: true
  30185. type: integer
  30186. - description: 计划类型 - 1:采购 -1:销售
  30187. in: query
  30188. name: contracttype
  30189. type: integer
  30190. - description: 计划编号,模糊查询
  30191. in: query
  30192. name: hedgeplanno
  30193. type: string
  30194. - description: 现货商品,模糊查询
  30195. in: query
  30196. name: wrstandardname
  30197. type: string
  30198. produces:
  30199. - application/json
  30200. responses:
  30201. "200":
  30202. description: OK
  30203. schema:
  30204. items:
  30205. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30206. type: array
  30207. "500":
  30208. description: Internal Server Error
  30209. schema:
  30210. $ref: '#/definitions/app.Response'
  30211. security:
  30212. - ApiKeyAuth: []
  30213. summary: 未关联购销计划
  30214. tags:
  30215. - 企业风险管理v8
  30216. /Ermcp8/QueryUnLinkSpotContract:
  30217. get:
  30218. parameters:
  30219. - description: 用户ID
  30220. in: query
  30221. name: userid
  30222. required: true
  30223. type: integer
  30224. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30225. in: query
  30226. name: pricetype
  30227. type: integer
  30228. - description: 合同编号, 模拟查询
  30229. in: query
  30230. name: contractno
  30231. type: string
  30232. - description: 对手方, 模拟查询
  30233. in: query
  30234. name: customername
  30235. type: string
  30236. - description: 项合同类型 - 1:采购 -1:销售
  30237. in: query
  30238. name: contracttype
  30239. type: integer
  30240. produces:
  30241. - application/json
  30242. responses:
  30243. "200":
  30244. description: OK
  30245. schema:
  30246. items:
  30247. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30248. type: array
  30249. "500":
  30250. description: Internal Server Error
  30251. schema:
  30252. $ref: '#/definitions/app.Response'
  30253. security:
  30254. - ApiKeyAuth: []
  30255. summary: 未关联合同查询
  30256. tags:
  30257. - 企业风险管理v8
  30258. /Erms2/QueryArbitrageStrategy:
  30259. get:
  30260. parameters:
  30261. - description: 账户ID
  30262. in: query
  30263. name: userid
  30264. required: true
  30265. type: integer
  30266. - description: 商品组ID(品种ID)
  30267. in: query
  30268. name: goodsgroupid
  30269. type: string
  30270. produces:
  30271. - application/json
  30272. responses:
  30273. "200":
  30274. description: OK
  30275. schema:
  30276. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30277. "500":
  30278. description: Internal Server Error
  30279. schema:
  30280. $ref: '#/definitions/app.Response'
  30281. security:
  30282. - ApiKeyAuth: []
  30283. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30284. tags:
  30285. - 风险管理
  30286. /Erms2/QueryInnerTradeDetail:
  30287. get:
  30288. parameters:
  30289. - description: 资金账户
  30290. in: query
  30291. name: accountid
  30292. required: true
  30293. type: integer
  30294. produces:
  30295. - application/json
  30296. responses:
  30297. "200":
  30298. description: OK
  30299. schema:
  30300. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30301. "500":
  30302. description: Internal Server Error
  30303. schema:
  30304. $ref: '#/definitions/app.Response'
  30305. security:
  30306. - ApiKeyAuth: []
  30307. summary: 查询内部成交单信息
  30308. tags:
  30309. - 风险管理
  30310. /Erms2/QuerySpotContract:
  30311. get:
  30312. parameters:
  30313. - description: 策略申请ID
  30314. in: query
  30315. name: asapplyid
  30316. required: true
  30317. type: integer
  30318. - description: 现货合同ID
  30319. in: query
  30320. name: spotcontractid
  30321. type: integer
  30322. produces:
  30323. - application/json
  30324. responses:
  30325. "200":
  30326. description: OK
  30327. schema:
  30328. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30329. "500":
  30330. description: Internal Server Error
  30331. schema:
  30332. $ref: '#/definitions/app.Response'
  30333. security:
  30334. - ApiKeyAuth: []
  30335. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30336. tags:
  30337. - 风险管理
  30338. /Erms3/AddErms2ASApply:
  30339. post:
  30340. parameters:
  30341. - description: 申请参数
  30342. in: body
  30343. name: jsonBody
  30344. required: true
  30345. schema:
  30346. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30347. produces:
  30348. - application/json
  30349. responses:
  30350. "200":
  30351. description: OK
  30352. schema:
  30353. $ref: '#/definitions/app.Response'
  30354. "500":
  30355. description: Internal Server Error
  30356. schema:
  30357. $ref: '#/definitions/app.Response'
  30358. security:
  30359. - ApiKeyAuth: []
  30360. summary: 新增期现套利业务申请
  30361. tags:
  30362. - 风险管理v3
  30363. /Erms3/AddErms2SpotTradeApply:
  30364. post:
  30365. parameters:
  30366. - description: 申请参数
  30367. in: body
  30368. name: jsonBody
  30369. required: true
  30370. schema:
  30371. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30372. produces:
  30373. - application/json
  30374. responses:
  30375. "200":
  30376. description: OK
  30377. schema:
  30378. $ref: '#/definitions/app.Response'
  30379. "500":
  30380. description: Internal Server Error
  30381. schema:
  30382. $ref: '#/definitions/app.Response'
  30383. security:
  30384. - ApiKeyAuth: []
  30385. summary: 新增现货贸易业务申请
  30386. tags:
  30387. - 风险管理v3
  30388. /Erms3/AddSpotContractApply:
  30389. post:
  30390. parameters:
  30391. - description: 申请参数
  30392. in: body
  30393. name: jsonBody
  30394. required: true
  30395. schema:
  30396. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30397. produces:
  30398. - application/json
  30399. responses:
  30400. "200":
  30401. description: OK
  30402. schema:
  30403. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30404. "500":
  30405. description: Internal Server Error
  30406. schema:
  30407. $ref: '#/definitions/app.Response'
  30408. security:
  30409. - ApiKeyAuth: []
  30410. summary: 新增现货合同申请
  30411. tags:
  30412. - 风险管理v3
  30413. /Erms3/AddUserInfoApply:
  30414. post:
  30415. parameters:
  30416. - description: 用户信息
  30417. in: body
  30418. name: jsonBody
  30419. required: true
  30420. schema:
  30421. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30422. produces:
  30423. - application/json
  30424. responses:
  30425. "200":
  30426. description: OK
  30427. schema:
  30428. $ref: '#/definitions/app.Response'
  30429. "500":
  30430. description: Internal Server Error
  30431. schema:
  30432. $ref: '#/definitions/app.Response'
  30433. security:
  30434. - ApiKeyAuth: []
  30435. summary: 新增客户申请
  30436. tags:
  30437. - 风险管理v3
  30438. /Erms3/DeleteUserInfoApply:
  30439. get:
  30440. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30441. parameters:
  30442. - description: 用户ID
  30443. in: query
  30444. name: userID
  30445. required: true
  30446. type: integer
  30447. produces:
  30448. - application/json
  30449. responses:
  30450. "200":
  30451. description: OK
  30452. schema:
  30453. $ref: '#/definitions/app.Response'
  30454. "500":
  30455. description: Internal Server Error
  30456. schema:
  30457. $ref: '#/definitions/app.Response'
  30458. security:
  30459. - ApiKeyAuth: []
  30460. summary: 删除客户申请
  30461. tags:
  30462. - 风险管理v3
  30463. /Erms3/ModifyUserInfoApply:
  30464. post:
  30465. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30466. int, "userstate": 2 }'
  30467. parameters:
  30468. - description: 用户信息
  30469. in: body
  30470. name: jsonBody
  30471. required: true
  30472. schema:
  30473. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30474. produces:
  30475. - application/json
  30476. responses:
  30477. "200":
  30478. description: OK
  30479. schema:
  30480. $ref: '#/definitions/app.Response'
  30481. "500":
  30482. description: Internal Server Error
  30483. schema:
  30484. $ref: '#/definitions/app.Response'
  30485. security:
  30486. - ApiKeyAuth: []
  30487. summary: 修改客户申请
  30488. tags:
  30489. - 风险管理v3
  30490. /Erms3/QueryBusinessInfo:
  30491. get:
  30492. parameters:
  30493. - description: 资金账号ID列表,用逗号分隔
  30494. in: query
  30495. name: accountids
  30496. required: true
  30497. type: string
  30498. - description: 状态,0为未结束 1为已结束
  30499. in: query
  30500. name: status
  30501. required: true
  30502. type: integer
  30503. produces:
  30504. - application/json
  30505. responses:
  30506. "200":
  30507. description: OK
  30508. schema:
  30509. items:
  30510. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30511. type: array
  30512. "500":
  30513. description: Internal Server Error
  30514. schema:
  30515. $ref: '#/definitions/app.Response'
  30516. security:
  30517. - ApiKeyAuth: []
  30518. summary: 查询业务表单数据
  30519. tags:
  30520. - 风险管理v3
  30521. /Erms3/QueryPendingAuditContract:
  30522. get:
  30523. parameters:
  30524. - description: 资金账号ID列表,逗号隔开
  30525. in: query
  30526. name: accountids
  30527. required: true
  30528. type: string
  30529. - description: 合同类型 1-采购 -1-销售
  30530. in: query
  30531. name: contracttype
  30532. required: true
  30533. type: integer
  30534. - description: 合同模式 1-普通 2-回购
  30535. in: query
  30536. name: contractmode
  30537. required: true
  30538. type: integer
  30539. produces:
  30540. - application/json
  30541. responses:
  30542. "200":
  30543. description: OK
  30544. schema:
  30545. items:
  30546. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30547. type: array
  30548. "500":
  30549. description: Internal Server Error
  30550. schema:
  30551. $ref: '#/definitions/app.Response'
  30552. security:
  30553. - ApiKeyAuth: []
  30554. summary: 查询待审核合同
  30555. tags:
  30556. - 风险管理v3
  30557. /Erms3/QueryPendingBusiness:
  30558. get:
  30559. parameters:
  30560. - description: 资金账号ID列表,逗号隔开
  30561. in: query
  30562. name: accountids
  30563. required: true
  30564. type: string
  30565. produces:
  30566. - application/json
  30567. responses:
  30568. "200":
  30569. description: OK
  30570. schema:
  30571. items:
  30572. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30573. type: array
  30574. "500":
  30575. description: Internal Server Error
  30576. schema:
  30577. $ref: '#/definitions/app.Response'
  30578. security:
  30579. - ApiKeyAuth: []
  30580. summary: 查询待审核基差贸易业务
  30581. tags:
  30582. - 风险管理v3
  30583. /Erms3/QuerySpotContractAppleForm:
  30584. get:
  30585. parameters:
  30586. - description: 登录账号
  30587. in: query
  30588. name: loginID
  30589. required: true
  30590. type: integer
  30591. produces:
  30592. - application/json
  30593. responses:
  30594. "200":
  30595. description: OK
  30596. schema:
  30597. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30598. "500":
  30599. description: Internal Server Error
  30600. schema:
  30601. $ref: '#/definitions/app.Response'
  30602. security:
  30603. - ApiKeyAuth: []
  30604. summary: 查询合同申请表单数据
  30605. tags:
  30606. - 风险管理v3
  30607. /Erms3/QuerySpotContractDetail:
  30608. get:
  30609. parameters:
  30610. - description: 资金账号ID列表,用逗号分隔
  30611. in: query
  30612. name: accountids
  30613. required: true
  30614. type: string
  30615. - description: 合同类型,1为采购合同 -1为销售合同
  30616. in: query
  30617. name: contracttype
  30618. required: true
  30619. type: integer
  30620. - description: 合同模式,1为普通合同 2为回购销售合同
  30621. in: query
  30622. name: contractmode
  30623. required: true
  30624. type: integer
  30625. - description: 状态,0为履约中 1为已完成
  30626. in: query
  30627. name: status
  30628. required: true
  30629. type: integer
  30630. produces:
  30631. - application/json
  30632. responses:
  30633. "200":
  30634. description: OK
  30635. schema:
  30636. items:
  30637. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30638. type: array
  30639. "500":
  30640. description: Internal Server Error
  30641. schema:
  30642. $ref: '#/definitions/app.Response'
  30643. security:
  30644. - ApiKeyAuth: []
  30645. summary: 查询合同详细信息
  30646. tags:
  30647. - 风险管理v3
  30648. /Erms3/QueryUserInfoApplies:
  30649. get:
  30650. parameters:
  30651. - description: 页码
  30652. in: query
  30653. name: page
  30654. type: integer
  30655. - description: 每页条数
  30656. in: query
  30657. name: pagesize
  30658. type: integer
  30659. - description: 客户名称,支持模糊查询
  30660. in: query
  30661. name: userName
  30662. type: string
  30663. produces:
  30664. - application/json
  30665. responses:
  30666. "200":
  30667. description: OK
  30668. schema:
  30669. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30670. "500":
  30671. description: Internal Server Error
  30672. schema:
  30673. $ref: '#/definitions/app.Response'
  30674. security:
  30675. - ApiKeyAuth: []
  30676. summary: 客户申请信息查询
  30677. tags:
  30678. - 风险管理v3
  30679. /Erms3/QueryUserInfos:
  30680. get:
  30681. parameters:
  30682. - description: 页码
  30683. in: query
  30684. name: page
  30685. type: integer
  30686. - description: 每页条数
  30687. in: query
  30688. name: pagesize
  30689. type: integer
  30690. - description: 客户名称,支持模糊查询
  30691. in: query
  30692. name: userName
  30693. type: string
  30694. produces:
  30695. - application/json
  30696. responses:
  30697. "200":
  30698. description: OK
  30699. schema:
  30700. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30701. "500":
  30702. description: Internal Server Error
  30703. schema:
  30704. $ref: '#/definitions/app.Response'
  30705. security:
  30706. - ApiKeyAuth: []
  30707. summary: 客户信息查询
  30708. tags:
  30709. - 风险管理v3
  30710. /Ferroalloy/GetSpotGoodsPrice:
  30711. get:
  30712. parameters:
  30713. - description: 页码
  30714. in: query
  30715. name: page
  30716. type: integer
  30717. - description: 每页条数
  30718. in: query
  30719. name: pagesize
  30720. type: integer
  30721. produces:
  30722. - application/json
  30723. responses:
  30724. "200":
  30725. description: OK
  30726. schema:
  30727. items:
  30728. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30729. type: array
  30730. "500":
  30731. description: Internal Server Error
  30732. schema:
  30733. $ref: '#/definitions/app.Response'
  30734. security:
  30735. - ApiKeyAuth: []
  30736. summary: 获取现货行情
  30737. tags:
  30738. - 铁合金
  30739. /Ferroalloy/QueryMyRefer:
  30740. get:
  30741. parameters:
  30742. - description: 用户ID
  30743. in: query
  30744. name: userid
  30745. required: true
  30746. type: integer
  30747. - description: 页码
  30748. in: query
  30749. name: page
  30750. type: integer
  30751. - description: 每页条数
  30752. in: query
  30753. name: pagesize
  30754. type: integer
  30755. produces:
  30756. - application/json
  30757. responses:
  30758. "200":
  30759. description: OK
  30760. schema:
  30761. items:
  30762. $ref: '#/definitions/models.MyRefer'
  30763. type: array
  30764. "500":
  30765. description: Internal Server Error
  30766. schema:
  30767. $ref: '#/definitions/app.Response'
  30768. security:
  30769. - ApiKeyAuth: []
  30770. summary: 查询我的推荐列表
  30771. tags:
  30772. - 铁合金
  30773. /Ferroalloy/QueryMyRegisterMoney:
  30774. get:
  30775. parameters:
  30776. - description: 资金账户
  30777. in: query
  30778. name: accountid
  30779. required: true
  30780. type: integer
  30781. produces:
  30782. - application/json
  30783. responses:
  30784. "200":
  30785. description: OK
  30786. schema:
  30787. items:
  30788. $ref: '#/definitions/models.RegisterMoney'
  30789. type: array
  30790. "500":
  30791. description: Internal Server Error
  30792. schema:
  30793. $ref: '#/definitions/app.Response'
  30794. summary: 查询我的注册红包
  30795. tags:
  30796. - 铁合金
  30797. /Ferroalloy/QuerySpotgoodsPrice:
  30798. get:
  30799. parameters:
  30800. - description: 页码
  30801. in: query
  30802. name: page
  30803. type: integer
  30804. - description: 每页条数
  30805. in: query
  30806. name: pagesize
  30807. type: integer
  30808. produces:
  30809. - application/json
  30810. responses:
  30811. "200":
  30812. description: OK
  30813. schema:
  30814. items:
  30815. $ref: '#/definitions/models.Spotgoodsprice'
  30816. type: array
  30817. "500":
  30818. description: Internal Server Error
  30819. schema:
  30820. $ref: '#/definitions/app.Response'
  30821. security:
  30822. - ApiKeyAuth: []
  30823. summary: 查询行情-现货列表
  30824. tags:
  30825. - 铁合金
  30826. /Ferroalloy/QueryTHJGoodsDetail:
  30827. get:
  30828. parameters:
  30829. - description: 现货商品ID
  30830. in: query
  30831. name: wrstandardid
  30832. required: true
  30833. type: integer
  30834. produces:
  30835. - application/json
  30836. responses:
  30837. "200":
  30838. description: OK
  30839. schema:
  30840. items:
  30841. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30842. type: array
  30843. "500":
  30844. description: Internal Server Error
  30845. schema:
  30846. $ref: '#/definitions/app.Response'
  30847. security:
  30848. - ApiKeyAuth: []
  30849. summary: 查询商品详情
  30850. tags:
  30851. - 铁合金
  30852. /Ferroalloy/QueryTHJListing:
  30853. get:
  30854. parameters:
  30855. - description: 现货商品名称(模糊查询)
  30856. in: query
  30857. name: wrstandardname
  30858. type: string
  30859. - description: 页码
  30860. in: query
  30861. name: page
  30862. type: integer
  30863. - description: 每页条数
  30864. in: query
  30865. name: pagesize
  30866. type: integer
  30867. produces:
  30868. - application/json
  30869. responses:
  30870. "200":
  30871. description: OK
  30872. schema:
  30873. items:
  30874. $ref: '#/definitions/models.THJWrstandard'
  30875. type: array
  30876. "500":
  30877. description: Internal Server Error
  30878. schema:
  30879. $ref: '#/definitions/app.Response'
  30880. security:
  30881. - ApiKeyAuth: []
  30882. summary: 查询供求列表
  30883. tags:
  30884. - 铁合金
  30885. /Ferroalloy/QueryTHJProduct:
  30886. get:
  30887. parameters:
  30888. - description: 用户ID
  30889. in: query
  30890. name: userid
  30891. required: true
  30892. type: integer
  30893. - description: 关注标志 true-已关注 false-未关注
  30894. in: query
  30895. name: favoriteflag
  30896. type: boolean
  30897. - description: 页码
  30898. in: query
  30899. name: page
  30900. type: integer
  30901. - description: 每页条数
  30902. in: query
  30903. name: pagesize
  30904. type: integer
  30905. produces:
  30906. - application/json
  30907. responses:
  30908. "200":
  30909. description: OK
  30910. schema:
  30911. items:
  30912. $ref: '#/definitions/models.THJProduct'
  30913. type: array
  30914. "500":
  30915. description: Internal Server Error
  30916. schema:
  30917. $ref: '#/definitions/app.Response'
  30918. security:
  30919. - ApiKeyAuth: []
  30920. summary: 获取产品介绍列表
  30921. tags:
  30922. - 铁合金
  30923. /Ferroalloy/QueryTHJPromotionIncome:
  30924. get:
  30925. parameters:
  30926. - description: 用户ID
  30927. in: query
  30928. name: userid
  30929. required: true
  30930. type: integer
  30931. - description: 状态 - 0:全部 1:已支付 2:未支付
  30932. in: query
  30933. name: profitstatus
  30934. type: integer
  30935. - description: 页码
  30936. in: query
  30937. name: page
  30938. type: integer
  30939. - description: 每页条数
  30940. in: query
  30941. name: pagesize
  30942. type: integer
  30943. produces:
  30944. - application/json
  30945. responses:
  30946. "200":
  30947. description: OK
  30948. schema:
  30949. items:
  30950. $ref: '#/definitions/models.PromotionIncome'
  30951. type: array
  30952. "500":
  30953. description: Internal Server Error
  30954. schema:
  30955. $ref: '#/definitions/app.Response'
  30956. security:
  30957. - ApiKeyAuth: []
  30958. summary: 查询我的推广-推广收益
  30959. tags:
  30960. - 铁合金
  30961. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  30962. get:
  30963. parameters:
  30964. - description: 用户ID
  30965. in: query
  30966. name: userid
  30967. required: true
  30968. type: integer
  30969. - description: 月份,格式:yyyymm
  30970. in: query
  30971. name: mouth
  30972. required: true
  30973. type: string
  30974. - description: 页码
  30975. in: query
  30976. name: page
  30977. type: integer
  30978. - description: 每页条数
  30979. in: query
  30980. name: pagesize
  30981. type: integer
  30982. produces:
  30983. - application/json
  30984. responses:
  30985. "200":
  30986. description: OK
  30987. schema:
  30988. items:
  30989. $ref: '#/definitions/models.PromotionIncomeDetail'
  30990. type: array
  30991. "500":
  30992. description: Internal Server Error
  30993. schema:
  30994. $ref: '#/definitions/app.Response'
  30995. security:
  30996. - ApiKeyAuth: []
  30997. summary: 查询我的推广-推广收益-明细
  30998. tags:
  30999. - 铁合金
  31000. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  31001. get:
  31002. parameters:
  31003. - description: 用户ID
  31004. in: query
  31005. name: userid
  31006. required: true
  31007. type: integer
  31008. - description: 类型 - 0:未完成 1:已完成
  31009. in: query
  31010. name: type
  31011. type: integer
  31012. - description: 页码
  31013. in: query
  31014. name: page
  31015. type: integer
  31016. - description: 每页条数
  31017. in: query
  31018. name: pagesize
  31019. type: integer
  31020. produces:
  31021. - application/json
  31022. responses:
  31023. "200":
  31024. description: OK
  31025. schema:
  31026. items:
  31027. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31028. type: array
  31029. "500":
  31030. description: Internal Server Error
  31031. schema:
  31032. $ref: '#/definitions/app.Response'
  31033. security:
  31034. - ApiKeyAuth: []
  31035. summary: 查询我的订单-采购订单
  31036. tags:
  31037. - 铁合金
  31038. /Ferroalloy/QueryTHJPurchaseTransfer:
  31039. get:
  31040. parameters:
  31041. - description: 现货商品名称(模糊查询)
  31042. in: query
  31043. name: wrstandardname
  31044. type: string
  31045. - description: 页码
  31046. in: query
  31047. name: page
  31048. type: integer
  31049. - description: 每页条数
  31050. in: query
  31051. name: pagesize
  31052. type: integer
  31053. produces:
  31054. - application/json
  31055. responses:
  31056. "200":
  31057. description: OK
  31058. schema:
  31059. items:
  31060. $ref: '#/definitions/models.PurchaseTransfer'
  31061. type: array
  31062. "500":
  31063. description: Internal Server Error
  31064. schema:
  31065. $ref: '#/definitions/app.Response'
  31066. security:
  31067. - ApiKeyAuth: []
  31068. summary: 查询合同转让列表
  31069. tags:
  31070. - 铁合金
  31071. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31072. get:
  31073. parameters:
  31074. - description: 现货商品ID
  31075. in: query
  31076. name: wrstandardid
  31077. required: true
  31078. type: integer
  31079. produces:
  31080. - application/json
  31081. responses:
  31082. "200":
  31083. description: OK
  31084. schema:
  31085. items:
  31086. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31087. type: array
  31088. "500":
  31089. description: Internal Server Error
  31090. schema:
  31091. $ref: '#/definitions/app.Response'
  31092. security:
  31093. - ApiKeyAuth: []
  31094. summary: 查询合同转让详情
  31095. tags:
  31096. - 铁合金
  31097. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31098. get:
  31099. parameters:
  31100. - description: 用户ID
  31101. in: query
  31102. name: userid
  31103. required: true
  31104. type: integer
  31105. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31106. in: query
  31107. name: ordertype
  31108. required: true
  31109. type: integer
  31110. - description: 页码
  31111. in: query
  31112. name: page
  31113. type: integer
  31114. - description: 每页条数
  31115. in: query
  31116. name: pagesize
  31117. type: integer
  31118. produces:
  31119. - application/json
  31120. responses:
  31121. "200":
  31122. description: OK
  31123. schema:
  31124. items:
  31125. $ref: '#/definitions/models.Thjpurchasetransfer'
  31126. type: array
  31127. "500":
  31128. description: Internal Server Error
  31129. schema:
  31130. $ref: '#/definitions/app.Response'
  31131. security:
  31132. - ApiKeyAuth: []
  31133. summary: 查询我的订单-转让/受让订单
  31134. tags:
  31135. - 铁合金
  31136. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31137. get:
  31138. parameters:
  31139. - description: 转让单号
  31140. in: query
  31141. name: transferid
  31142. required: true
  31143. type: string
  31144. produces:
  31145. - application/json
  31146. responses:
  31147. "200":
  31148. description: OK
  31149. schema:
  31150. items:
  31151. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31152. type: array
  31153. "500":
  31154. description: Internal Server Error
  31155. schema:
  31156. $ref: '#/definitions/app.Response'
  31157. security:
  31158. - ApiKeyAuth: []
  31159. summary: 查询我的订单-转让/受让订单-详情
  31160. tags:
  31161. - 铁合金
  31162. /Ferroalloy/QueryTHJScoreConfig:
  31163. get:
  31164. parameters:
  31165. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31166. 6:自己供求下单积分 7:抽奖配置'
  31167. in: query
  31168. name: stype
  31169. type: string
  31170. produces:
  31171. - application/json
  31172. responses:
  31173. "200":
  31174. description: OK
  31175. schema:
  31176. items:
  31177. $ref: '#/definitions/models.Thjscoreconfig'
  31178. type: array
  31179. "500":
  31180. description: Internal Server Error
  31181. schema:
  31182. $ref: '#/definitions/app.Response'
  31183. security:
  31184. - ApiKeyAuth: []
  31185. summary: 查询积分配置
  31186. tags:
  31187. - 铁合金
  31188. /Ferroalloy/QueryTHJTradeData:
  31189. get:
  31190. parameters:
  31191. - description: 用户ID
  31192. in: query
  31193. name: userid
  31194. required: true
  31195. type: integer
  31196. - description: 市场ID 采购-64201 供求-65201
  31197. in: query
  31198. name: marketid
  31199. required: true
  31200. type: integer
  31201. - description: 页码
  31202. in: query
  31203. name: page
  31204. type: integer
  31205. - description: 每页条数
  31206. in: query
  31207. name: pagesize
  31208. type: integer
  31209. produces:
  31210. - application/json
  31211. responses:
  31212. "200":
  31213. description: OK
  31214. schema:
  31215. items:
  31216. $ref: '#/definitions/models.THJTradeData'
  31217. type: array
  31218. "500":
  31219. description: Internal Server Error
  31220. schema:
  31221. $ref: '#/definitions/app.Response'
  31222. security:
  31223. - ApiKeyAuth: []
  31224. summary: 获取我的推广-交易数据
  31225. tags:
  31226. - 铁合金
  31227. /Ferroalloy/QueryTHJWrstandard:
  31228. get:
  31229. parameters:
  31230. - description: 现货商品名称(模糊查询)
  31231. in: query
  31232. name: wrstandardname
  31233. type: string
  31234. - description: 页码
  31235. in: query
  31236. name: page
  31237. type: integer
  31238. - description: 每页条数
  31239. in: query
  31240. name: pagesize
  31241. type: integer
  31242. produces:
  31243. - application/json
  31244. responses:
  31245. "200":
  31246. description: OK
  31247. schema:
  31248. items:
  31249. $ref: '#/definitions/models.THJWrstandard'
  31250. type: array
  31251. "500":
  31252. description: Internal Server Error
  31253. schema:
  31254. $ref: '#/definitions/app.Response'
  31255. security:
  31256. - ApiKeyAuth: []
  31257. summary: 查询采购列表
  31258. tags:
  31259. - 铁合金
  31260. /Ferroalloy/QueryTHJWrstandardDetail:
  31261. get:
  31262. parameters:
  31263. - description: 现货商品ID
  31264. in: query
  31265. name: wrstandardid
  31266. required: true
  31267. type: integer
  31268. produces:
  31269. - application/json
  31270. responses:
  31271. "200":
  31272. description: OK
  31273. schema:
  31274. items:
  31275. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31276. type: array
  31277. "500":
  31278. description: Internal Server Error
  31279. schema:
  31280. $ref: '#/definitions/app.Response'
  31281. security:
  31282. - ApiKeyAuth: []
  31283. summary: 查询采购详情
  31284. tags:
  31285. - 铁合金
  31286. /Ferroalloy/QueryUserLevelInfo:
  31287. get:
  31288. parameters:
  31289. - description: 用户ID
  31290. in: query
  31291. name: userid
  31292. required: true
  31293. type: integer
  31294. produces:
  31295. - application/json
  31296. responses:
  31297. "200":
  31298. description: OK
  31299. schema:
  31300. items:
  31301. $ref: '#/definitions/models.THJUserLevelInfo'
  31302. type: array
  31303. "500":
  31304. description: Internal Server Error
  31305. schema:
  31306. $ref: '#/definitions/app.Response'
  31307. security:
  31308. - ApiKeyAuth: []
  31309. summary: 查询用户等级信息
  31310. tags:
  31311. - 铁合金
  31312. /Ferroalloy/QueryUserScoreLog:
  31313. get:
  31314. parameters:
  31315. - description: 用户ID
  31316. in: query
  31317. name: userid
  31318. required: true
  31319. type: integer
  31320. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31321. 6:自己供求下单积分 7:抽奖配置'
  31322. in: query
  31323. name: stype
  31324. type: string
  31325. - description: 页码
  31326. in: query
  31327. name: page
  31328. type: integer
  31329. - description: 每页条数
  31330. in: query
  31331. name: pagesize
  31332. type: integer
  31333. produces:
  31334. - application/json
  31335. responses:
  31336. "200":
  31337. description: OK
  31338. schema:
  31339. items:
  31340. $ref: '#/definitions/models.GThjuserscorelog'
  31341. type: array
  31342. "500":
  31343. description: Internal Server Error
  31344. schema:
  31345. $ref: '#/definitions/app.Response'
  31346. security:
  31347. - ApiKeyAuth: []
  31348. summary: 查询我的积分流水
  31349. tags:
  31350. - 铁合金
  31351. /Ferroalloy/Signin:
  31352. post:
  31353. parameters:
  31354. - description: 用户签到请求
  31355. in: body
  31356. name: jsonBody
  31357. required: true
  31358. schema:
  31359. $ref: '#/definitions/models.THJSigninReq'
  31360. produces:
  31361. - application/json
  31362. responses:
  31363. "200":
  31364. description: OK
  31365. schema:
  31366. $ref: '#/definitions/models.THJSigninRsp'
  31367. "500":
  31368. description: Internal Server Error
  31369. schema:
  31370. $ref: '#/definitions/app.Response'
  31371. security:
  31372. - ApiKeyAuth: []
  31373. summary: 用户签到
  31374. tags:
  31375. - 铁合金
  31376. /Guangzuan/GZBSFWOrderOperate:
  31377. get:
  31378. parameters:
  31379. - description: 单据ID
  31380. in: query
  31381. name: orderid
  31382. required: true
  31383. type: integer
  31384. produces:
  31385. - application/json
  31386. responses:
  31387. "200":
  31388. description: OK
  31389. schema:
  31390. items:
  31391. $ref: '#/definitions/models.Gzbsfworderoperate'
  31392. type: array
  31393. "500":
  31394. description: Internal Server Error
  31395. schema:
  31396. $ref: '#/definitions/app.Response'
  31397. security:
  31398. - ApiKeyAuth: []
  31399. - LoginID: []
  31400. - Group: []
  31401. summary: 保税服务单据操作信息
  31402. tags:
  31403. - 广钻
  31404. /Guangzuan/GetGoods:
  31405. get:
  31406. parameters:
  31407. - description: 商品编号
  31408. in: query
  31409. name: goodsno
  31410. required: true
  31411. type: string
  31412. produces:
  31413. - application/json
  31414. responses:
  31415. "200":
  31416. description: OK
  31417. schema:
  31418. $ref: '#/definitions/models.GZGoods'
  31419. "500":
  31420. description: Internal Server Error
  31421. schema:
  31422. $ref: '#/definitions/app.Response'
  31423. security:
  31424. - ApiKeyAuth: []
  31425. - LoginID: []
  31426. - Group: []
  31427. summary: 获取钻石详情
  31428. tags:
  31429. - 广钻
  31430. /Guangzuan/GzCertAddressConfig:
  31431. get:
  31432. produces:
  31433. - application/json
  31434. responses:
  31435. "200":
  31436. description: OK
  31437. schema:
  31438. items:
  31439. $ref: '#/definitions/models.Gzcertaddressconfig'
  31440. type: array
  31441. "500":
  31442. description: Internal Server Error
  31443. schema:
  31444. $ref: '#/definitions/app.Response'
  31445. security:
  31446. - ApiKeyAuth: []
  31447. - LoginID: []
  31448. - Group: []
  31449. summary: Rapaport最新报价表(广钻)
  31450. tags:
  31451. - 广钻
  31452. /Guangzuan/GzCertAddressParam:
  31453. get:
  31454. produces:
  31455. - application/json
  31456. responses:
  31457. "200":
  31458. description: OK
  31459. schema:
  31460. items:
  31461. $ref: '#/definitions/models.Gzcertaddressparam'
  31462. type: array
  31463. "500":
  31464. description: Internal Server Error
  31465. schema:
  31466. $ref: '#/definitions/app.Response'
  31467. security:
  31468. - ApiKeyAuth: []
  31469. - LoginID: []
  31470. - Group: []
  31471. summary: 钻石证书地址参数
  31472. tags:
  31473. - 广钻
  31474. /Guangzuan/HomeData:
  31475. get:
  31476. parameters:
  31477. - description: 用户ID
  31478. in: query
  31479. name: userid
  31480. required: true
  31481. type: integer
  31482. produces:
  31483. - application/json
  31484. responses:
  31485. "200":
  31486. description: OK
  31487. schema:
  31488. $ref: '#/definitions/models.GZHomeData'
  31489. "500":
  31490. description: Internal Server Error
  31491. schema:
  31492. $ref: '#/definitions/app.Response'
  31493. security:
  31494. - ApiKeyAuth: []
  31495. - LoginID: []
  31496. - Group: []
  31497. summary: 首页统计数据
  31498. tags:
  31499. - 广钻
  31500. /Guangzuan/PriceCalc:
  31501. get:
  31502. parameters:
  31503. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31504. in: query
  31505. name: zsshape
  31506. required: true
  31507. type: integer
  31508. - description: 颜色(D-M)
  31509. in: query
  31510. name: zscolor
  31511. required: true
  31512. type: string
  31513. - description: 净度
  31514. in: query
  31515. name: zsclarity
  31516. required: true
  31517. type: string
  31518. - description: 重量
  31519. in: query
  31520. name: weight
  31521. required: true
  31522. type: number
  31523. - description: 汇率
  31524. in: query
  31525. name: rate
  31526. required: true
  31527. type: number
  31528. - description: 折扣(%), 方向(加:10, 减:-10 )
  31529. in: query
  31530. name: discount
  31531. type: number
  31532. produces:
  31533. - application/json
  31534. responses:
  31535. "200":
  31536. description: OK
  31537. schema:
  31538. items:
  31539. $ref: '#/definitions/models.Gzrapaportprice'
  31540. type: array
  31541. "500":
  31542. description: Internal Server Error
  31543. schema:
  31544. $ref: '#/definitions/app.Response'
  31545. security:
  31546. - ApiKeyAuth: []
  31547. - LoginID: []
  31548. - Group: []
  31549. summary: 钻石价格计算器
  31550. tags:
  31551. - 广钻
  31552. /Guangzuan/QueryBuyOrder:
  31553. get:
  31554. parameters:
  31555. - description: 页码
  31556. in: query
  31557. name: page
  31558. type: integer
  31559. - description: 每页条数
  31560. in: query
  31561. name: pagesize
  31562. type: integer
  31563. - description: 商品(查询字段-模糊查询)
  31564. in: query
  31565. name: zsallproperties
  31566. type: string
  31567. - description: 钻石分类, 格式:1,2,3
  31568. in: query
  31569. name: zscategorys
  31570. type: string
  31571. - description: 委托单号
  31572. in: query
  31573. name: wrtradeorderid
  31574. type: integer
  31575. - description: 买方(查询字段-模糊查询)
  31576. in: query
  31577. name: buyusername
  31578. type: string
  31579. produces:
  31580. - application/json
  31581. responses:
  31582. "200":
  31583. description: OK
  31584. schema:
  31585. items:
  31586. $ref: '#/definitions/models.BuyOrder'
  31587. type: array
  31588. "500":
  31589. description: Internal Server Error
  31590. schema:
  31591. $ref: '#/definitions/app.Response'
  31592. security:
  31593. - ApiKeyAuth: []
  31594. - LoginID: []
  31595. - Group: []
  31596. summary: 查询求购大厅委托单
  31597. tags:
  31598. - 广钻
  31599. /Guangzuan/QueryDiamond:
  31600. post:
  31601. parameters:
  31602. - description: 钻石搜索入参
  31603. in: body
  31604. name: data
  31605. required: true
  31606. schema:
  31607. $ref: '#/definitions/models.SellOrderQueryReq'
  31608. produces:
  31609. - application/json
  31610. responses:
  31611. "200":
  31612. description: OK
  31613. schema:
  31614. items:
  31615. $ref: '#/definitions/models.SellOrder'
  31616. type: array
  31617. "500":
  31618. description: Internal Server Error
  31619. schema:
  31620. $ref: '#/definitions/app.Response'
  31621. security:
  31622. - ApiKeyAuth: []
  31623. - LoginID: []
  31624. - Group: []
  31625. summary: 钻石搜索
  31626. tags:
  31627. - 广钻
  31628. /Guangzuan/QueryFworderoperate:
  31629. get:
  31630. parameters:
  31631. - description: 单据ID
  31632. in: query
  31633. name: orderid
  31634. required: true
  31635. type: string
  31636. - description: 操作后单据状态
  31637. in: query
  31638. name: status
  31639. required: true
  31640. type: integer
  31641. produces:
  31642. - application/json
  31643. responses:
  31644. "200":
  31645. description: OK
  31646. schema:
  31647. items:
  31648. $ref: '#/definitions/models.Fworderoperate'
  31649. type: array
  31650. "500":
  31651. description: Internal Server Error
  31652. schema:
  31653. $ref: '#/definitions/app.Response'
  31654. security:
  31655. - ApiKeyAuth: []
  31656. - LoginID: []
  31657. - Group: []
  31658. summary: 查询保税服务单据操作
  31659. tags:
  31660. - 广钻
  31661. /Guangzuan/QueryGZBSFWOrder:
  31662. get:
  31663. parameters:
  31664. - description: 用户ID
  31665. in: query
  31666. name: userid
  31667. required: true
  31668. type: integer
  31669. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31670. in: query
  31671. name: executestatus
  31672. type: integer
  31673. - description: 页码
  31674. in: query
  31675. name: page
  31676. type: integer
  31677. - description: 每页条数
  31678. in: query
  31679. name: pagesize
  31680. type: integer
  31681. produces:
  31682. - application/json
  31683. responses:
  31684. "200":
  31685. description: OK
  31686. schema:
  31687. items:
  31688. $ref: '#/definitions/models.GzbsfworderM'
  31689. type: array
  31690. "500":
  31691. description: Internal Server Error
  31692. schema:
  31693. $ref: '#/definitions/app.Response'
  31694. security:
  31695. - ApiKeyAuth: []
  31696. - LoginID: []
  31697. - Group: []
  31698. summary: 查询保税服务单据
  31699. tags:
  31700. - 广钻
  31701. /Guangzuan/QueryGZBSFWOrderDetail:
  31702. get:
  31703. parameters:
  31704. - description: 用户ID
  31705. in: query
  31706. name: userid
  31707. required: true
  31708. type: integer
  31709. - description: 单据ID
  31710. in: query
  31711. name: orderid
  31712. type: string
  31713. - description: 页码
  31714. in: query
  31715. name: page
  31716. type: integer
  31717. - description: 每页条数
  31718. in: query
  31719. name: pagesize
  31720. type: integer
  31721. produces:
  31722. - application/json
  31723. responses:
  31724. "200":
  31725. description: OK
  31726. schema:
  31727. items:
  31728. $ref: '#/definitions/models.GzbsfworderdetailM'
  31729. type: array
  31730. "500":
  31731. description: Internal Server Error
  31732. schema:
  31733. $ref: '#/definitions/app.Response'
  31734. security:
  31735. - ApiKeyAuth: []
  31736. - LoginID: []
  31737. - Group: []
  31738. summary: 查询保税服务单据明细
  31739. tags:
  31740. - 广钻
  31741. /Guangzuan/QueryGZCJBSOrderFile:
  31742. get:
  31743. parameters:
  31744. - description: 单据ID
  31745. in: query
  31746. name: orderid
  31747. required: true
  31748. type: integer
  31749. - description: 页码
  31750. in: query
  31751. name: page
  31752. type: integer
  31753. - description: 每页条数
  31754. in: query
  31755. name: pagesize
  31756. type: integer
  31757. produces:
  31758. - application/json
  31759. responses:
  31760. "200":
  31761. description: OK
  31762. schema:
  31763. items:
  31764. $ref: '#/definitions/models.GzcjbsorderfileM'
  31765. type: array
  31766. "500":
  31767. description: Internal Server Error
  31768. schema:
  31769. $ref: '#/definitions/app.Response'
  31770. security:
  31771. - ApiKeyAuth: []
  31772. - LoginID: []
  31773. - Group: []
  31774. summary: 出境保税单据文件
  31775. tags:
  31776. - 广钻
  31777. /Guangzuan/QueryGZCJJCOrder:
  31778. get:
  31779. parameters:
  31780. - description: 用户ID
  31781. in: query
  31782. name: userid
  31783. required: true
  31784. type: integer
  31785. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31786. in: query
  31787. name: executestatus
  31788. type: integer
  31789. - description: 页码
  31790. in: query
  31791. name: page
  31792. type: integer
  31793. - description: 每页条数
  31794. in: query
  31795. name: pagesize
  31796. type: integer
  31797. produces:
  31798. - application/json
  31799. responses:
  31800. "200":
  31801. description: OK
  31802. schema:
  31803. items:
  31804. $ref: '#/definitions/models.GzcjjcorderM'
  31805. type: array
  31806. "500":
  31807. description: Internal Server Error
  31808. schema:
  31809. $ref: '#/definitions/app.Response'
  31810. security:
  31811. - ApiKeyAuth: []
  31812. - LoginID: []
  31813. - Group: []
  31814. summary: 查询出境检测单据
  31815. tags:
  31816. - 广钻
  31817. /Guangzuan/QueryGZCJJCOrderDetail:
  31818. get:
  31819. parameters:
  31820. - description: 用户ID
  31821. in: query
  31822. name: userid
  31823. required: true
  31824. type: integer
  31825. - description: 单据ID
  31826. in: query
  31827. name: orderid
  31828. type: string
  31829. - description: 页码
  31830. in: query
  31831. name: page
  31832. type: integer
  31833. - description: 每页条数
  31834. in: query
  31835. name: pagesize
  31836. type: integer
  31837. produces:
  31838. - application/json
  31839. responses:
  31840. "200":
  31841. description: OK
  31842. schema:
  31843. items:
  31844. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31845. type: array
  31846. "500":
  31847. description: Internal Server Error
  31848. schema:
  31849. $ref: '#/definitions/app.Response'
  31850. security:
  31851. - ApiKeyAuth: []
  31852. - LoginID: []
  31853. - Group: []
  31854. summary: 查询出境检测单据明细(批次信息)
  31855. tags:
  31856. - 广钻
  31857. /Guangzuan/QueryGzcjjcorderoperate:
  31858. get:
  31859. parameters:
  31860. - description: 单据ID
  31861. in: query
  31862. name: orderid
  31863. required: true
  31864. type: string
  31865. - description: 操作后单据状态
  31866. in: query
  31867. name: status
  31868. required: true
  31869. type: integer
  31870. produces:
  31871. - application/json
  31872. responses:
  31873. "200":
  31874. description: OK
  31875. schema:
  31876. items:
  31877. $ref: '#/definitions/models.Gzcjjcorderoperate'
  31878. type: array
  31879. "500":
  31880. description: Internal Server Error
  31881. schema:
  31882. $ref: '#/definitions/app.Response'
  31883. security:
  31884. - ApiKeyAuth: []
  31885. - LoginID: []
  31886. - Group: []
  31887. summary: 查询出境检测单据操作
  31888. tags:
  31889. - 广钻
  31890. /Guangzuan/QueryMemberReport:
  31891. get:
  31892. parameters:
  31893. - description: 用户ID
  31894. in: query
  31895. name: userid
  31896. required: true
  31897. type: integer
  31898. - description: 页码
  31899. in: query
  31900. name: page
  31901. type: integer
  31902. - description: 每页条数
  31903. in: query
  31904. name: pagesize
  31905. type: integer
  31906. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31907. in: query
  31908. name: cycletype
  31909. type: string
  31910. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31911. in: query
  31912. name: begindate
  31913. required: true
  31914. type: string
  31915. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31916. in: query
  31917. name: enddate
  31918. required: true
  31919. type: string
  31920. produces:
  31921. - application/json
  31922. responses:
  31923. "200":
  31924. description: OK
  31925. schema:
  31926. items:
  31927. $ref: '#/definitions/models.Reckondaytaaccount'
  31928. type: array
  31929. "500":
  31930. description: Internal Server Error
  31931. schema:
  31932. $ref: '#/definitions/app.Response'
  31933. security:
  31934. - ApiKeyAuth: []
  31935. - LoginID: []
  31936. - Group: []
  31937. summary: 查询会员报表
  31938. tags:
  31939. - 广钻
  31940. /Guangzuan/QueryMyBargainApply:
  31941. get:
  31942. parameters:
  31943. - description: 用户ID
  31944. in: query
  31945. name: userid
  31946. required: true
  31947. type: integer
  31948. - description: 页码
  31949. in: query
  31950. name: page
  31951. type: integer
  31952. - description: 每页条数
  31953. in: query
  31954. name: pagesize
  31955. type: integer
  31956. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  31957. in: query
  31958. name: applystatus
  31959. type: integer
  31960. - description: 查询类型 - 0:我的询价 1:我订单的询价
  31961. in: query
  31962. name: type
  31963. type: integer
  31964. - description: 关联委托单ID
  31965. in: query
  31966. name: wrtradeorderid
  31967. type: string
  31968. produces:
  31969. - application/json
  31970. responses:
  31971. "200":
  31972. description: OK
  31973. schema:
  31974. items:
  31975. $ref: '#/definitions/models.MyBargainApply'
  31976. type: array
  31977. "500":
  31978. description: Internal Server Error
  31979. schema:
  31980. $ref: '#/definitions/app.Response'
  31981. security:
  31982. - ApiKeyAuth: []
  31983. - LoginID: []
  31984. - Group: []
  31985. summary: 查询询价-求购
  31986. tags:
  31987. - 广钻
  31988. /Guangzuan/QueryMyBuyOrder:
  31989. get:
  31990. parameters:
  31991. - description: 用户ID
  31992. in: query
  31993. name: userid
  31994. required: true
  31995. type: integer
  31996. - description: 页码
  31997. in: query
  31998. name: page
  31999. type: integer
  32000. - description: 每页条数
  32001. in: query
  32002. name: pagesize
  32003. type: integer
  32004. - description: 商品(查询字段-模糊查询)
  32005. in: query
  32006. name: zsallproperties
  32007. type: string
  32008. - description: 钻石分类, 格式:1,2,3
  32009. in: query
  32010. name: zscategorys
  32011. type: string
  32012. - description: 委托单号
  32013. in: query
  32014. name: wrtradeorderid
  32015. type: integer
  32016. - description: 是否历史查询
  32017. in: query
  32018. name: ishis
  32019. type: boolean
  32020. - description: 开始交易日(yyyymmdd)
  32021. in: query
  32022. name: begindate
  32023. type: string
  32024. - description: 结束交易日(yyyymmdd)
  32025. in: query
  32026. name: enddate
  32027. type: string
  32028. produces:
  32029. - application/json
  32030. responses:
  32031. "200":
  32032. description: OK
  32033. schema:
  32034. items:
  32035. $ref: '#/definitions/models.MyBuyOrder'
  32036. type: array
  32037. "500":
  32038. description: Internal Server Error
  32039. schema:
  32040. $ref: '#/definitions/app.Response'
  32041. security:
  32042. - ApiKeyAuth: []
  32043. - LoginID: []
  32044. - Group: []
  32045. summary: 查询我的求购
  32046. tags:
  32047. - 广钻
  32048. /Guangzuan/QueryMyDeListing:
  32049. get:
  32050. parameters:
  32051. - description: 用户ID
  32052. in: query
  32053. name: userid
  32054. required: true
  32055. type: integer
  32056. - description: 页码
  32057. in: query
  32058. name: page
  32059. type: integer
  32060. - description: 每页条数
  32061. in: query
  32062. name: pagesize
  32063. type: integer
  32064. - description: 商品(查询字段-模糊查询)
  32065. in: query
  32066. name: zsallproperties
  32067. type: string
  32068. - description: 钻石分类, 格式:1,2,3
  32069. in: query
  32070. name: zscategorys
  32071. type: string
  32072. - description: 成交单号
  32073. in: query
  32074. name: wrtradedetailid
  32075. type: integer
  32076. - description: 方向,0-购买 1-出售
  32077. in: query
  32078. name: buyorsell
  32079. type: integer
  32080. - description: 对手方(模糊匹配)
  32081. in: query
  32082. name: matchusername
  32083. type: string
  32084. - description: 开始交易日(yyyymmdd)
  32085. in: query
  32086. name: begindate
  32087. type: string
  32088. - description: 结束交易日(yyyymmdd)
  32089. in: query
  32090. name: enddate
  32091. type: string
  32092. produces:
  32093. - application/json
  32094. responses:
  32095. "200":
  32096. description: OK
  32097. schema:
  32098. items:
  32099. $ref: '#/definitions/models.MyDeListing'
  32100. type: array
  32101. "500":
  32102. description: Internal Server Error
  32103. schema:
  32104. $ref: '#/definitions/app.Response'
  32105. security:
  32106. - ApiKeyAuth: []
  32107. - LoginID: []
  32108. - Group: []
  32109. summary: 查询我的摘牌
  32110. tags:
  32111. - 广钻
  32112. /Guangzuan/QueryMyDelistingApply:
  32113. get:
  32114. parameters:
  32115. - description: 用户ID
  32116. in: query
  32117. name: userid
  32118. required: true
  32119. type: integer
  32120. - description: 页码
  32121. in: query
  32122. name: page
  32123. type: integer
  32124. - description: 每页条数
  32125. in: query
  32126. name: pagesize
  32127. type: integer
  32128. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32129. in: query
  32130. name: applystatus
  32131. type: integer
  32132. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32133. in: query
  32134. name: type
  32135. type: integer
  32136. - description: 买委托单ID
  32137. in: query
  32138. name: buywrtradeorderid
  32139. type: string
  32140. produces:
  32141. - application/json
  32142. responses:
  32143. "200":
  32144. description: OK
  32145. schema:
  32146. items:
  32147. $ref: '#/definitions/models.MyDelistingApply'
  32148. type: array
  32149. "500":
  32150. description: Internal Server Error
  32151. schema:
  32152. $ref: '#/definitions/app.Response'
  32153. security:
  32154. - ApiKeyAuth: []
  32155. - LoginID: []
  32156. - Group: []
  32157. summary: 查询询价-出售
  32158. tags:
  32159. - 广钻
  32160. /Guangzuan/QueryMyFavorite:
  32161. get:
  32162. parameters:
  32163. - description: 用户ID
  32164. in: query
  32165. name: userid
  32166. required: true
  32167. type: integer
  32168. - description: 页码
  32169. in: query
  32170. name: page
  32171. type: integer
  32172. - description: 每页条数
  32173. in: query
  32174. name: pagesize
  32175. type: integer
  32176. - description: 钻石分类, 格式:1,2,3
  32177. in: query
  32178. name: zscategorys
  32179. type: string
  32180. produces:
  32181. - application/json
  32182. responses:
  32183. "200":
  32184. description: OK
  32185. schema:
  32186. items:
  32187. $ref: '#/definitions/models.MyFavorite'
  32188. type: array
  32189. "500":
  32190. description: Internal Server Error
  32191. schema:
  32192. $ref: '#/definitions/app.Response'
  32193. security:
  32194. - ApiKeyAuth: []
  32195. - LoginID: []
  32196. - Group: []
  32197. summary: 查询我的收藏
  32198. tags:
  32199. - 广钻
  32200. /Guangzuan/QueryMyPerformanc:
  32201. get:
  32202. parameters:
  32203. - description: 用户ID
  32204. in: query
  32205. name: userid
  32206. required: true
  32207. type: integer
  32208. - description: 页码
  32209. in: query
  32210. name: page
  32211. type: integer
  32212. - description: 每页条数
  32213. in: query
  32214. name: pagesize
  32215. type: integer
  32216. - description: 商品(查询字段-模糊查询)
  32217. in: query
  32218. name: zsallproperties
  32219. type: string
  32220. - description: 方向,0-买 1-卖
  32221. in: query
  32222. name: buyorsell
  32223. type: integer
  32224. - description: 是否历史查询
  32225. in: query
  32226. name: ishis
  32227. type: boolean
  32228. - description: 开始交易日(yyyymmdd)
  32229. in: query
  32230. name: begindate
  32231. type: string
  32232. - description: 结束交易日(yyyymmdd)
  32233. in: query
  32234. name: enddate
  32235. type: string
  32236. produces:
  32237. - application/json
  32238. responses:
  32239. "200":
  32240. description: OK
  32241. schema:
  32242. items:
  32243. $ref: '#/definitions/models.MyPerformanc'
  32244. type: array
  32245. "500":
  32246. description: Internal Server Error
  32247. schema:
  32248. $ref: '#/definitions/app.Response'
  32249. security:
  32250. - ApiKeyAuth: []
  32251. - LoginID: []
  32252. - Group: []
  32253. summary: 查询我的履约
  32254. tags:
  32255. - 广钻
  32256. /Guangzuan/QueryMySellOrder:
  32257. get:
  32258. parameters:
  32259. - description: 用户ID
  32260. in: query
  32261. name: userid
  32262. required: true
  32263. type: integer
  32264. - description: 页码
  32265. in: query
  32266. name: page
  32267. type: integer
  32268. - description: 每页条数
  32269. in: query
  32270. name: pagesize
  32271. type: integer
  32272. - description: 商品(查询字段-模糊查询)
  32273. in: query
  32274. name: zsallproperties
  32275. type: string
  32276. - description: 钻石分类, 格式:1,2,3
  32277. in: query
  32278. name: zscategorys
  32279. type: string
  32280. - description: 委托单号
  32281. in: query
  32282. name: wrtradeorderid
  32283. type: integer
  32284. - description: 是否历史查询
  32285. in: query
  32286. name: ishis
  32287. type: boolean
  32288. - description: 开始交易日(yyyymmdd)
  32289. in: query
  32290. name: begindate
  32291. type: string
  32292. - description: 结束交易日(yyyymmdd)
  32293. in: query
  32294. name: enddate
  32295. type: string
  32296. produces:
  32297. - application/json
  32298. responses:
  32299. "200":
  32300. description: OK
  32301. schema:
  32302. items:
  32303. $ref: '#/definitions/models.MySellOrder'
  32304. type: array
  32305. "500":
  32306. description: Internal Server Error
  32307. schema:
  32308. $ref: '#/definitions/app.Response'
  32309. security:
  32310. - ApiKeyAuth: []
  32311. - LoginID: []
  32312. - Group: []
  32313. summary: 查询我的出售
  32314. tags:
  32315. - 广钻
  32316. /Guangzuan/QueryMyWRPosition:
  32317. get:
  32318. parameters:
  32319. - description: 页码
  32320. in: query
  32321. name: page
  32322. type: integer
  32323. - description: 每页条数
  32324. in: query
  32325. name: pagesize
  32326. type: integer
  32327. - description: 登录用户ID
  32328. in: query
  32329. name: wruserid
  32330. required: true
  32331. type: integer
  32332. - description: 商品(查询字段-模糊查询)
  32333. in: query
  32334. name: zsallproperties
  32335. type: string
  32336. - description: 钻石分类, 格式:1,2,3
  32337. in: query
  32338. name: zscategorys
  32339. type: string
  32340. - description: 仓库ID
  32341. in: query
  32342. name: warehouseid
  32343. type: integer
  32344. - description: 是否上架,0-全部 1-是 2-否
  32345. in: query
  32346. name: marketflag
  32347. type: integer
  32348. produces:
  32349. - application/json
  32350. responses:
  32351. "200":
  32352. description: OK
  32353. schema:
  32354. items:
  32355. $ref: '#/definitions/models.MyWRPosition'
  32356. type: array
  32357. "500":
  32358. description: Internal Server Error
  32359. schema:
  32360. $ref: '#/definitions/app.Response'
  32361. security:
  32362. - ApiKeyAuth: []
  32363. - LoginID: []
  32364. - Group: []
  32365. summary: 查询我的库存
  32366. tags:
  32367. - 广钻
  32368. /Guangzuan/QuerySellOrder:
  32369. get:
  32370. parameters:
  32371. - description: 页码
  32372. in: query
  32373. name: page
  32374. type: integer
  32375. - description: 每页条数
  32376. in: query
  32377. name: pagesize
  32378. type: integer
  32379. - description: 商品(查询字段-模糊查询)
  32380. in: query
  32381. name: zsallproperties
  32382. type: string
  32383. - description: 钻石分类, 格式:1,2,3
  32384. in: query
  32385. name: zscategorys
  32386. type: string
  32387. - description: 委托单号
  32388. in: query
  32389. name: wrtradeorderid
  32390. type: integer
  32391. - description: 卖方(查询字段-模糊查询)
  32392. in: query
  32393. name: buyusername
  32394. type: string
  32395. produces:
  32396. - application/json
  32397. responses:
  32398. "200":
  32399. description: OK
  32400. schema:
  32401. items:
  32402. $ref: '#/definitions/models.SellOrder'
  32403. type: array
  32404. "500":
  32405. description: Internal Server Error
  32406. schema:
  32407. $ref: '#/definitions/app.Response'
  32408. security:
  32409. - ApiKeyAuth: []
  32410. - LoginID: []
  32411. - Group: []
  32412. summary: 查询出售大厅委托单
  32413. tags:
  32414. - 广钻
  32415. /Guangzuan/QueryTradeReport:
  32416. get:
  32417. parameters:
  32418. - description: 用户ID
  32419. in: query
  32420. name: userid
  32421. required: true
  32422. type: integer
  32423. - description: 页码
  32424. in: query
  32425. name: page
  32426. type: integer
  32427. - description: 每页条数
  32428. in: query
  32429. name: pagesize
  32430. type: integer
  32431. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32432. in: query
  32433. name: cycletype
  32434. type: string
  32435. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32436. in: query
  32437. name: begindate
  32438. required: true
  32439. type: string
  32440. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32441. in: query
  32442. name: enddate
  32443. required: true
  32444. type: string
  32445. - description: 商品分类
  32446. in: query
  32447. name: zscategory
  32448. type: integer
  32449. - description: 商品币种
  32450. in: query
  32451. name: zscurrencytype
  32452. type: integer
  32453. produces:
  32454. - application/json
  32455. responses:
  32456. "200":
  32457. description: OK
  32458. schema:
  32459. items:
  32460. $ref: '#/definitions/models.Reckongzmemtradesum'
  32461. type: array
  32462. "500":
  32463. description: Internal Server Error
  32464. schema:
  32465. $ref: '#/definitions/app.Response'
  32466. security:
  32467. - ApiKeyAuth: []
  32468. - LoginID: []
  32469. - Group: []
  32470. summary: 查询交易报表
  32471. tags:
  32472. - 广钻
  32473. /Guangzuan/QueryWRPositionReport:
  32474. get:
  32475. parameters:
  32476. - description: 用户ID
  32477. in: query
  32478. name: userid
  32479. required: true
  32480. type: integer
  32481. - description: 页码
  32482. in: query
  32483. name: page
  32484. type: integer
  32485. - description: 每页条数
  32486. in: query
  32487. name: pagesize
  32488. type: integer
  32489. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32490. in: query
  32491. name: cycletype
  32492. type: string
  32493. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32494. in: query
  32495. name: begindate
  32496. required: true
  32497. type: string
  32498. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32499. in: query
  32500. name: enddate
  32501. required: true
  32502. type: string
  32503. - description: 商品分类
  32504. in: query
  32505. name: zscategory
  32506. type: integer
  32507. - description: 商品币种
  32508. in: query
  32509. name: zscurrencytype
  32510. type: integer
  32511. produces:
  32512. - application/json
  32513. responses:
  32514. "200":
  32515. description: OK
  32516. schema:
  32517. items:
  32518. $ref: '#/definitions/models.WRPositionReport'
  32519. type: array
  32520. "500":
  32521. description: Internal Server Error
  32522. schema:
  32523. $ref: '#/definitions/app.Response'
  32524. security:
  32525. - ApiKeyAuth: []
  32526. - LoginID: []
  32527. - Group: []
  32528. summary: 查询仓储报表
  32529. tags:
  32530. - 广钻
  32531. /Guangzuan/QueryWarehouseInfo:
  32532. get:
  32533. parameters:
  32534. - description: 页码
  32535. in: query
  32536. name: page
  32537. type: integer
  32538. - description: 每页条数
  32539. in: query
  32540. name: pagesize
  32541. type: integer
  32542. - description: 用户ID
  32543. in: query
  32544. name: userid
  32545. required: true
  32546. type: integer
  32547. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32548. in: query
  32549. name: status
  32550. type: string
  32551. - description: 是返回交易所仓库
  32552. in: query
  32553. name: isincludeexchange
  32554. type: boolean
  32555. produces:
  32556. - application/json
  32557. responses:
  32558. "200":
  32559. description: OK
  32560. schema:
  32561. items:
  32562. $ref: '#/definitions/models.GZWarehouseinfo'
  32563. type: array
  32564. "500":
  32565. description: Internal Server Error
  32566. schema:
  32567. $ref: '#/definitions/app.Response'
  32568. security:
  32569. - ApiKeyAuth: []
  32570. - LoginID: []
  32571. - Group: []
  32572. summary: 查询仓库信息
  32573. tags:
  32574. - 广钻
  32575. /HSBY/GetHsbyMyCount:
  32576. get:
  32577. description: 说明: 不包括已完成的数量。
  32578. parameters:
  32579. - description: 资金账户列表,格式:1,2,3
  32580. in: query
  32581. name: accountIDs
  32582. required: true
  32583. type: string
  32584. produces:
  32585. - application/json
  32586. responses:
  32587. "200":
  32588. description: OK
  32589. schema:
  32590. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32591. "500":
  32592. description: Internal Server Error
  32593. schema:
  32594. $ref: '#/definitions/app.Response'
  32595. security:
  32596. - ApiKeyAuth: []
  32597. summary: 获取我的订单与包裹数量
  32598. tags:
  32599. - 定制【海商报业】
  32600. /HSBY/QueryClientFixedADConfigs:
  32601. get:
  32602. produces:
  32603. - application/json
  32604. responses:
  32605. "200":
  32606. description: OK
  32607. schema:
  32608. $ref: '#/definitions/models.Clientfixedadconfig'
  32609. "500":
  32610. description: Internal Server Error
  32611. schema:
  32612. $ref: '#/definitions/app.Response'
  32613. security:
  32614. - ApiKeyAuth: []
  32615. summary: 获取终端固定广告配置
  32616. tags:
  32617. - 定制【海商报业】
  32618. /HSBY/QueryHsbyBuyMyTradeDetail:
  32619. get:
  32620. parameters:
  32621. - description: 页码
  32622. in: query
  32623. name: page
  32624. type: integer
  32625. - description: 每页条数
  32626. in: query
  32627. name: pagesize
  32628. type: integer
  32629. - description: 资金账户列表,格式:1,2,3
  32630. in: query
  32631. name: accountIDs
  32632. required: true
  32633. type: string
  32634. produces:
  32635. - application/json
  32636. responses:
  32637. "200":
  32638. description: OK
  32639. schema:
  32640. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32641. "500":
  32642. description: Internal Server Error
  32643. schema:
  32644. $ref: '#/definitions/app.Response'
  32645. security:
  32646. - ApiKeyAuth: []
  32647. summary: 查询"我的订单 - 已完成"单据信息
  32648. tags:
  32649. - 定制【海商报业】
  32650. /HSBY/QueryHsbyGoodsOrderDetails:
  32651. get:
  32652. description: 说明:查询结果已按委托价格和委托时间排序
  32653. parameters:
  32654. - description: 商品ID
  32655. in: query
  32656. name: goodsID
  32657. required: true
  32658. type: integer
  32659. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32660. in: query
  32661. name: accountIDs
  32662. type: string
  32663. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32664. in: query
  32665. name: buyOrSell
  32666. type: integer
  32667. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32668. in: query
  32669. name: price
  32670. type: number
  32671. - description: 档位,不传则默认为3档
  32672. in: query
  32673. name: speed
  32674. type: integer
  32675. produces:
  32676. - application/json
  32677. responses:
  32678. "200":
  32679. description: OK
  32680. schema:
  32681. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32682. "500":
  32683. description: Internal Server Error
  32684. schema:
  32685. $ref: '#/definitions/app.Response'
  32686. security:
  32687. - ApiKeyAuth: []
  32688. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32689. tags:
  32690. - 定制【海商报业】
  32691. /HSBY/QueryHsbyListingGoodsDetail:
  32692. get:
  32693. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32694. parameters:
  32695. - description: 商品ID
  32696. in: query
  32697. name: goodsID
  32698. required: true
  32699. type: integer
  32700. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32701. in: query
  32702. name: accountID
  32703. type: integer
  32704. produces:
  32705. - application/json
  32706. responses:
  32707. "200":
  32708. description: OK
  32709. schema:
  32710. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32711. "500":
  32712. description: Internal Server Error
  32713. schema:
  32714. $ref: '#/definitions/app.Response'
  32715. security:
  32716. - ApiKeyAuth: []
  32717. summary: 查询二级市场(挂牌点选)商品信息详情
  32718. tags:
  32719. - 定制【海商报业】
  32720. /HSBY/QueryHsbyMarketGoodsDetail:
  32721. get:
  32722. parameters:
  32723. - description: 委托单号
  32724. in: query
  32725. name: orderID
  32726. required: true
  32727. type: integer
  32728. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32729. in: query
  32730. name: accountID
  32731. type: integer
  32732. produces:
  32733. - application/json
  32734. responses:
  32735. "200":
  32736. description: OK
  32737. schema:
  32738. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32739. "500":
  32740. description: Internal Server Error
  32741. schema:
  32742. $ref: '#/definitions/app.Response'
  32743. security:
  32744. - ApiKeyAuth: []
  32745. summary: 查询三级市场(商城)商品信息详情
  32746. tags:
  32747. - 定制【海商报业】
  32748. /HSBY/QueryHsbyMarketGoodses:
  32749. get:
  32750. parameters:
  32751. - description: 页码
  32752. in: query
  32753. name: page
  32754. type: integer
  32755. - description: 每页条数
  32756. in: query
  32757. name: pagesize
  32758. type: integer
  32759. - description: 市场ID列表,格式:1,2,3
  32760. in: query
  32761. name: marketIDs
  32762. required: true
  32763. type: string
  32764. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32765. in: query
  32766. name: accountID
  32767. required: true
  32768. type: integer
  32769. - description: 类别ID
  32770. in: query
  32771. name: categoryID
  32772. type: integer
  32773. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32774. in: query
  32775. name: goodsIDs
  32776. type: string
  32777. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32778. in: query
  32779. name: couponTypeID
  32780. type: integer
  32781. produces:
  32782. - application/json
  32783. responses:
  32784. "200":
  32785. description: OK
  32786. schema:
  32787. $ref: '#/definitions/models.HsbyMarketGoods'
  32788. "500":
  32789. description: Internal Server Error
  32790. schema:
  32791. $ref: '#/definitions/app.Response'
  32792. security:
  32793. - ApiKeyAuth: []
  32794. summary: 查询特卖商品列表(三级商城)
  32795. tags:
  32796. - 定制【海商报业】
  32797. /HSBY/QueryHsbyMarkets:
  32798. get:
  32799. produces:
  32800. - application/json
  32801. responses:
  32802. "200":
  32803. description: OK
  32804. schema:
  32805. $ref: '#/definitions/models.HsbyMarketInfo'
  32806. "500":
  32807. description: Internal Server Error
  32808. schema:
  32809. $ref: '#/definitions/app.Response'
  32810. security:
  32811. - ApiKeyAuth: []
  32812. summary: 查询海商报业相关市场信息
  32813. tags:
  32814. - 定制【海商报业】
  32815. /HSBY/QueryHsbyMyBuyOrderDetails:
  32816. get:
  32817. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32818. parameters:
  32819. - description: 资金账户列表,格式:1,2,3
  32820. in: query
  32821. name: accountIDs
  32822. required: true
  32823. type: string
  32824. produces:
  32825. - application/json
  32826. responses:
  32827. "200":
  32828. description: OK
  32829. schema:
  32830. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32831. "500":
  32832. description: Internal Server Error
  32833. schema:
  32834. $ref: '#/definitions/app.Response'
  32835. security:
  32836. - ApiKeyAuth: []
  32837. summary: 查询“我的订单”信息
  32838. tags:
  32839. - 定制【海商报业】
  32840. /HSBY/QueryHsbyMyGoods:
  32841. get:
  32842. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32843. parameters:
  32844. - description: 资金账户列表,格式:1,2,3
  32845. in: query
  32846. name: accountIDs
  32847. required: true
  32848. type: string
  32849. produces:
  32850. - application/json
  32851. responses:
  32852. "200":
  32853. description: OK
  32854. schema:
  32855. $ref: '#/definitions/models.HsbyMyGoods'
  32856. "500":
  32857. description: Internal Server Error
  32858. schema:
  32859. $ref: '#/definitions/app.Response'
  32860. security:
  32861. - ApiKeyAuth: []
  32862. summary: 查询“我的商品”信息
  32863. tags:
  32864. - 定制【海商报业】
  32865. /HSBY/QueryHsbyMyPackages:
  32866. get:
  32867. parameters:
  32868. - description: 资金账户列表,格式:1,2,3
  32869. in: query
  32870. name: accountIDs
  32871. required: true
  32872. type: string
  32873. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32874. in: query
  32875. name: takeOrderStatus
  32876. type: integer
  32877. produces:
  32878. - application/json
  32879. responses:
  32880. "200":
  32881. description: OK
  32882. schema:
  32883. $ref: '#/definitions/models.HsbyMyPackage'
  32884. "500":
  32885. description: Internal Server Error
  32886. schema:
  32887. $ref: '#/definitions/app.Response'
  32888. security:
  32889. - ApiKeyAuth: []
  32890. summary: 查询我的包裹信息
  32891. tags:
  32892. - 定制【海商报业】
  32893. /HSBY/QueryHsbyPreGoodsDetail:
  32894. get:
  32895. parameters:
  32896. - description: 商品ID
  32897. in: query
  32898. name: goodsID
  32899. required: true
  32900. type: integer
  32901. - description: 资金账户,主要用于获取预售商品购买上限
  32902. in: query
  32903. name: accountID
  32904. type: integer
  32905. produces:
  32906. - application/json
  32907. responses:
  32908. "200":
  32909. description: OK
  32910. schema:
  32911. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32912. "500":
  32913. description: Internal Server Error
  32914. schema:
  32915. $ref: '#/definitions/app.Response'
  32916. security:
  32917. - ApiKeyAuth: []
  32918. summary: 查询一级市场(预售)商品信息详情
  32919. tags:
  32920. - 定制【海商报业】
  32921. /HSBY/QueryHsbyPreGoodses:
  32922. get:
  32923. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32924. parameters:
  32925. - description: 页码
  32926. in: query
  32927. name: page
  32928. type: integer
  32929. - description: 每页条数
  32930. in: query
  32931. name: pagesize
  32932. type: integer
  32933. - description: 市场ID列表,格式:1,2,3
  32934. in: query
  32935. name: marketIDs
  32936. required: true
  32937. type: string
  32938. - description: 目的地(省)ID
  32939. in: query
  32940. name: descProvinceID
  32941. type: integer
  32942. - description: 目的地(市)ID
  32943. in: query
  32944. name: descCityID
  32945. type: integer
  32946. produces:
  32947. - application/json
  32948. responses:
  32949. "200":
  32950. description: OK
  32951. schema:
  32952. $ref: '#/definitions/models.HsbyPreGoods'
  32953. "500":
  32954. description: Internal Server Error
  32955. schema:
  32956. $ref: '#/definitions/app.Response'
  32957. security:
  32958. - ApiKeyAuth: []
  32959. summary: 查询新品上市商品列表(一级市场预售)
  32960. tags:
  32961. - 定制【海商报业】
  32962. /HSBY/QueryHsbySellMyDetails:
  32963. get:
  32964. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  32965. parameters:
  32966. - description: 页码
  32967. in: query
  32968. name: page
  32969. type: integer
  32970. - description: 每页条数
  32971. in: query
  32972. name: pagesize
  32973. type: integer
  32974. - description: 资金账户列表,格式:1,2,3
  32975. in: query
  32976. name: accountIDs
  32977. required: true
  32978. type: string
  32979. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  32980. in: query
  32981. name: orderType
  32982. type: integer
  32983. produces:
  32984. - application/json
  32985. responses:
  32986. "200":
  32987. description: OK
  32988. schema:
  32989. $ref: '#/definitions/models.HsbySellMyDetail'
  32990. "500":
  32991. description: Internal Server Error
  32992. schema:
  32993. $ref: '#/definitions/app.Response'
  32994. security:
  32995. - ApiKeyAuth: []
  32996. summary: 查询"我的闲置"单据信息
  32997. tags:
  32998. - 定制【海商报业】
  32999. /HSBY/QueryHsbyTopGoodses:
  33000. get:
  33001. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  33002. parameters:
  33003. - description: 页码
  33004. in: query
  33005. name: page
  33006. type: integer
  33007. - description: 每页条数
  33008. in: query
  33009. name: pagesize
  33010. type: integer
  33011. - description: 市场ID列表,格式:1,2,3
  33012. in: query
  33013. name: marketIDs
  33014. required: true
  33015. type: string
  33016. - description: 目的地(省)ID
  33017. in: query
  33018. name: descProvinceID
  33019. type: integer
  33020. - description: 目的地(市)ID
  33021. in: query
  33022. name: descCityID
  33023. type: integer
  33024. produces:
  33025. - application/json
  33026. responses:
  33027. "200":
  33028. description: OK
  33029. schema:
  33030. $ref: '#/definitions/models.HsbyTopGoods'
  33031. "500":
  33032. description: Internal Server Error
  33033. schema:
  33034. $ref: '#/definitions/app.Response'
  33035. security:
  33036. - ApiKeyAuth: []
  33037. summary: 查询热卖商品列表(二级市场挂牌点选)
  33038. tags:
  33039. - 定制【海商报业】
  33040. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33041. get:
  33042. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33043. parameters:
  33044. - description: 商品ID
  33045. in: query
  33046. name: goodsID
  33047. required: true
  33048. type: integer
  33049. produces:
  33050. - application/json
  33051. responses:
  33052. "200":
  33053. description: OK
  33054. schema:
  33055. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33056. "500":
  33057. description: Internal Server Error
  33058. schema:
  33059. $ref: '#/definitions/app.Response'
  33060. security:
  33061. - ApiKeyAuth: []
  33062. summary: 查询游客三级市场(商城)商品信息详情
  33063. tags:
  33064. - 定制【海商报业】
  33065. /HSBY/QueryHsbyVisitorMarketGoodses:
  33066. get:
  33067. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33068. parameters:
  33069. - description: 页码
  33070. in: query
  33071. name: page
  33072. type: integer
  33073. - description: 每页条数
  33074. in: query
  33075. name: pagesize
  33076. type: integer
  33077. - description: 市场ID列表,格式:1,2,3
  33078. in: query
  33079. name: marketIDs
  33080. required: true
  33081. type: string
  33082. - description: 类别ID
  33083. in: query
  33084. name: categoryID
  33085. type: integer
  33086. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33087. in: query
  33088. name: goodsIDs
  33089. type: string
  33090. produces:
  33091. - application/json
  33092. responses:
  33093. "200":
  33094. description: OK
  33095. schema:
  33096. $ref: '#/definitions/models.HsbyMarketGoods'
  33097. "500":
  33098. description: Internal Server Error
  33099. schema:
  33100. $ref: '#/definitions/app.Response'
  33101. security:
  33102. - ApiKeyAuth: []
  33103. summary: 查询游客特卖商品列表(三级商城)
  33104. tags:
  33105. - 定制【海商报业】
  33106. /HSBY/QueryMyCollectionOrders:
  33107. get:
  33108. parameters:
  33109. - description: 页码
  33110. in: query
  33111. name: page
  33112. type: integer
  33113. - description: 每页条数
  33114. in: query
  33115. name: pagesize
  33116. type: integer
  33117. - description: 资金账户,格式:1,2,3
  33118. in: query
  33119. name: accountIDs
  33120. required: true
  33121. type: string
  33122. produces:
  33123. - application/json
  33124. responses:
  33125. "200":
  33126. description: OK
  33127. schema:
  33128. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33129. "500":
  33130. description: Internal Server Error
  33131. schema:
  33132. $ref: '#/definitions/app.Response'
  33133. security:
  33134. - ApiKeyAuth: []
  33135. summary: 我的闲置中收款信息查询
  33136. tags:
  33137. - 定制【海商报业】
  33138. /HSBY/QueryMyCouponHolds:
  33139. get:
  33140. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33141. parameters:
  33142. - description: 资金账户列表,格式:1,2,3
  33143. in: query
  33144. name: accountIDs
  33145. required: true
  33146. type: string
  33147. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33148. in: query
  33149. name: holdStatus
  33150. type: string
  33151. produces:
  33152. - application/json
  33153. responses:
  33154. "200":
  33155. description: OK
  33156. schema:
  33157. $ref: '#/definitions/models.MyCouponHold'
  33158. "500":
  33159. description: Internal Server Error
  33160. schema:
  33161. $ref: '#/definitions/app.Response'
  33162. security:
  33163. - ApiKeyAuth: []
  33164. summary: 我的优惠卷持仓查询
  33165. tags:
  33166. - 定制【海商报业】
  33167. /HSBY/QueryMyCoupons:
  33168. get:
  33169. parameters:
  33170. - description: 资金账户列表,格式:1,2,3
  33171. in: query
  33172. name: accountIDs
  33173. required: true
  33174. type: string
  33175. - description: 商品ID, 一般与sellUserID配套传入
  33176. in: query
  33177. name: goodsID
  33178. type: integer
  33179. - description: 卖方UserID
  33180. in: query
  33181. name: sellUserID
  33182. type: integer
  33183. produces:
  33184. - application/json
  33185. responses:
  33186. "200":
  33187. description: OK
  33188. schema:
  33189. $ref: '#/definitions/models.MyCoupon'
  33190. "500":
  33191. description: Internal Server Error
  33192. schema:
  33193. $ref: '#/definitions/app.Response'
  33194. security:
  33195. - ApiKeyAuth: []
  33196. summary: 我的优惠卷查询
  33197. tags:
  33198. - 定制【海商报业】
  33199. /HSBY/QueryMyPayOrders:
  33200. get:
  33201. parameters:
  33202. - description: 页码
  33203. in: query
  33204. name: page
  33205. type: integer
  33206. - description: 每页条数
  33207. in: query
  33208. name: pagesize
  33209. type: integer
  33210. - description: 资金账户列表,格式:1,2,3
  33211. in: query
  33212. name: accountIDs
  33213. required: true
  33214. type: string
  33215. - description: 买方委托单号
  33216. in: query
  33217. name: buyOrderID
  33218. type: integer
  33219. - description: 卖方委托单号
  33220. in: query
  33221. name: sellOrderID
  33222. type: integer
  33223. produces:
  33224. - application/json
  33225. responses:
  33226. "200":
  33227. description: OK
  33228. schema:
  33229. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33230. "500":
  33231. description: Internal Server Error
  33232. schema:
  33233. $ref: '#/definitions/app.Response'
  33234. security:
  33235. - ApiKeyAuth: []
  33236. summary: 获取我的订单中待付款信息
  33237. tags:
  33238. - 定制【海商报业】
  33239. /HSBY/QueryMyUsedCoupon:
  33240. get:
  33241. parameters:
  33242. - description: 资金账户列表,格式:1,2,3
  33243. in: query
  33244. name: accountIDs
  33245. required: true
  33246. type: string
  33247. produces:
  33248. - application/json
  33249. responses:
  33250. "200":
  33251. description: OK
  33252. schema:
  33253. $ref: '#/definitions/models.MyUsedCoupon'
  33254. "500":
  33255. description: Internal Server Error
  33256. schema:
  33257. $ref: '#/definitions/app.Response'
  33258. security:
  33259. - ApiKeyAuth: []
  33260. summary: 已使用优惠卷查询
  33261. tags:
  33262. - 定制【海商报业】
  33263. /HSBY/QueryProvincesAndCities:
  33264. get:
  33265. description: 查询结果只包括二级市场商品已关连的省市信息。
  33266. parameters:
  33267. - description: 省ID
  33268. in: query
  33269. name: provinceID
  33270. type: integer
  33271. produces:
  33272. - application/json
  33273. responses:
  33274. "200":
  33275. description: OK
  33276. schema:
  33277. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33278. "500":
  33279. description: Internal Server Error
  33280. schema:
  33281. $ref: '#/definitions/app.Response'
  33282. security:
  33283. - ApiKeyAuth: []
  33284. summary: 查询省市信息(不包括区)
  33285. tags:
  33286. - 定制【海商报业】
  33287. /HSBY/SetHsbyMyPackagesStatus:
  33288. post:
  33289. parameters:
  33290. - description: 提货单号
  33291. in: query
  33292. name: takeOrderID
  33293. required: true
  33294. type: string
  33295. - description: 资金账号
  33296. in: query
  33297. name: accountID
  33298. required: true
  33299. type: integer
  33300. produces:
  33301. - application/json
  33302. responses:
  33303. "200":
  33304. description: OK
  33305. schema:
  33306. $ref: '#/definitions/app.Response'
  33307. "500":
  33308. description: Internal Server Error
  33309. schema:
  33310. $ref: '#/definitions/app.Response'
  33311. security:
  33312. - ApiKeyAuth: []
  33313. summary: 设置我的包裹已收货状态
  33314. tags:
  33315. - 定制【海商报业】
  33316. /Market/GetAllExExchanges:
  33317. get:
  33318. produces:
  33319. - application/json
  33320. responses:
  33321. "200":
  33322. description: OK
  33323. schema:
  33324. $ref: '#/definitions/models.Goods'
  33325. "500":
  33326. description: Internal Server Error
  33327. schema:
  33328. $ref: '#/definitions/app.Response'
  33329. security:
  33330. - ApiKeyAuth: []
  33331. summary: 获取所有外部交易所信息
  33332. tags:
  33333. - 通用市场
  33334. /Market/QueryGoodsesByLoginID:
  33335. get:
  33336. parameters:
  33337. - description: 登录账号
  33338. in: query
  33339. name: loginID
  33340. required: true
  33341. type: integer
  33342. - description: 市场ID列表,格式:1,2,3
  33343. in: query
  33344. name: marketIDs
  33345. type: string
  33346. produces:
  33347. - application/json
  33348. responses:
  33349. "200":
  33350. description: OK
  33351. schema:
  33352. $ref: '#/definitions/models.Goods'
  33353. "500":
  33354. description: Internal Server Error
  33355. schema:
  33356. $ref: '#/definitions/app.Response'
  33357. security:
  33358. - ApiKeyAuth: []
  33359. summary: 获取登录账号有权限的商品信息
  33360. tags:
  33361. - 通用市场
  33362. /Market/QueryMarketRun:
  33363. get:
  33364. parameters:
  33365. - description: 市场ID,不传返回所有
  33366. in: query
  33367. name: marketID
  33368. type: integer
  33369. produces:
  33370. - application/json
  33371. responses:
  33372. "200":
  33373. description: OK
  33374. schema:
  33375. $ref: '#/definitions/models.Marketrun'
  33376. "500":
  33377. description: Internal Server Error
  33378. schema:
  33379. $ref: '#/definitions/app.Response'
  33380. security:
  33381. - ApiKeyAuth: []
  33382. summary: 查询市场运行信息
  33383. tags:
  33384. - 通用市场
  33385. /Market/QueryMarketsByLoginID:
  33386. get:
  33387. parameters:
  33388. - description: 登录账号
  33389. in: query
  33390. name: loginID
  33391. required: true
  33392. type: integer
  33393. produces:
  33394. - application/json
  33395. responses:
  33396. "200":
  33397. description: OK
  33398. schema:
  33399. $ref: '#/definitions/models.Market'
  33400. "500":
  33401. description: Internal Server Error
  33402. schema:
  33403. $ref: '#/definitions/app.Response'
  33404. security:
  33405. - ApiKeyAuth: []
  33406. summary: 获取登录账号有权限的市场信息
  33407. tags:
  33408. - 通用市场
  33409. /Order/QueryHisTradeDetail:
  33410. get:
  33411. parameters:
  33412. - description: 资金账户 - 格式:1,2,3
  33413. in: query
  33414. name: accountID
  33415. required: true
  33416. type: string
  33417. - description: 成交单号
  33418. in: query
  33419. name: tradeID
  33420. type: integer
  33421. - description: 委托单号
  33422. in: query
  33423. name: orderID
  33424. type: integer
  33425. - description: 商品ID
  33426. in: query
  33427. name: goodsID
  33428. type: integer
  33429. - description: 交易模式 - 格式:1,2,3
  33430. in: query
  33431. name: tradeMode
  33432. type: string
  33433. - description: 委托单据类型
  33434. in: query
  33435. name: buildType
  33436. type: integer
  33437. - description: 成交类别 - 格式:1,2,3
  33438. in: query
  33439. name: tradeType
  33440. type: string
  33441. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33442. in: query
  33443. name: startDate
  33444. type: string
  33445. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33446. in: query
  33447. name: endDate
  33448. type: string
  33449. produces:
  33450. - application/json
  33451. responses:
  33452. "200":
  33453. description: OK
  33454. schema:
  33455. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33456. "500":
  33457. description: Internal Server Error
  33458. schema:
  33459. $ref: '#/definitions/app.Response'
  33460. security:
  33461. - ApiKeyAuth: []
  33462. summary: 历史成交单查询(合约市场)
  33463. tags:
  33464. - 通用单据
  33465. /Order/QueryHisTradeOrderDetail:
  33466. get:
  33467. parameters:
  33468. - description: 资金账户 - 格式:1,2,3
  33469. in: query
  33470. name: accountID
  33471. required: true
  33472. type: string
  33473. - description: 交易模式 - 格式:1,2,3
  33474. in: query
  33475. name: tradeMode
  33476. type: string
  33477. - description: 委托状态 - 格式:1,2,3
  33478. in: query
  33479. name: orderStatus
  33480. type: string
  33481. - description: 委托单号
  33482. in: query
  33483. name: orderID
  33484. type: integer
  33485. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33486. in: query
  33487. name: startDate
  33488. type: string
  33489. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33490. in: query
  33491. name: endDate
  33492. type: string
  33493. produces:
  33494. - application/json
  33495. responses:
  33496. "200":
  33497. description: OK
  33498. schema:
  33499. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33500. "500":
  33501. description: Internal Server Error
  33502. schema:
  33503. $ref: '#/definitions/app.Response'
  33504. security:
  33505. - ApiKeyAuth: []
  33506. summary: 历史委托单查询请求(合约市场)
  33507. tags:
  33508. - 通用单据
  33509. /Order/QueryTradeDetail:
  33510. get:
  33511. parameters:
  33512. - description: 资金账户 - 格式:1,2,3
  33513. in: query
  33514. name: accountID
  33515. required: true
  33516. type: string
  33517. - description: 成交单号
  33518. in: query
  33519. name: tradeID
  33520. type: integer
  33521. - description: 委托单号
  33522. in: query
  33523. name: orderID
  33524. type: integer
  33525. - description: 交易模式 - 格式:1,2,3
  33526. in: query
  33527. name: tradeMode
  33528. type: string
  33529. - description: 委托单据类型
  33530. in: query
  33531. name: buildType
  33532. type: integer
  33533. - description: 成交类别 - 格式:1,2,3
  33534. in: query
  33535. name: tradeType
  33536. type: string
  33537. - description: 商品ID
  33538. in: query
  33539. name: goodsID
  33540. type: integer
  33541. produces:
  33542. - application/json
  33543. responses:
  33544. "200":
  33545. description: OK
  33546. schema:
  33547. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33548. "500":
  33549. description: Internal Server Error
  33550. schema:
  33551. $ref: '#/definitions/app.Response'
  33552. security:
  33553. - ApiKeyAuth: []
  33554. summary: 成交单查询(合约市场)
  33555. tags:
  33556. - 通用单据
  33557. /Order/QueryTradeHolderDetail:
  33558. get:
  33559. parameters:
  33560. - description: 用户id
  33561. in: query
  33562. name: userid
  33563. type: integer
  33564. - description: 资金账号, 格式 1,2,3
  33565. in: query
  33566. name: accids
  33567. type: string
  33568. - description: 交易模式, 格式 1,2,3
  33569. in: query
  33570. name: trademodes
  33571. type: string
  33572. - description: 市场id, 格式 1,2,3
  33573. in: query
  33574. name: marketids
  33575. type: string
  33576. - description: 商品id
  33577. in: query
  33578. name: goodsid
  33579. type: integer
  33580. - description: 买卖方向 0-买 1-卖
  33581. in: query
  33582. name: buyorsell
  33583. type: integer
  33584. produces:
  33585. - application/json
  33586. responses:
  33587. "200":
  33588. description: OK
  33589. schema:
  33590. items:
  33591. $ref: '#/definitions/models.TradeHolderDetail'
  33592. type: array
  33593. "500":
  33594. description: Internal Server Error
  33595. schema:
  33596. $ref: '#/definitions/app.Response'
  33597. security:
  33598. - ApiKeyAuth: []
  33599. summary: 查询持仓明细
  33600. tags:
  33601. - 通用单据
  33602. /Order/QueryTradeOrderDetail:
  33603. get:
  33604. parameters:
  33605. - description: 资金账户 - 格式:1,2,3
  33606. in: query
  33607. name: accountID
  33608. required: true
  33609. type: string
  33610. - description: 交易模式 - 格式:1,2,3
  33611. in: query
  33612. name: tradeMode
  33613. type: string
  33614. - description: 委托状态 - 格式:1,2,3
  33615. in: query
  33616. name: orderStatus
  33617. type: string
  33618. - description: 委托单号
  33619. in: query
  33620. name: orderID
  33621. type: integer
  33622. produces:
  33623. - application/json
  33624. responses:
  33625. "200":
  33626. description: OK
  33627. schema:
  33628. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33629. "500":
  33630. description: Internal Server Error
  33631. schema:
  33632. $ref: '#/definitions/app.Response'
  33633. security:
  33634. - ApiKeyAuth: []
  33635. summary: 委托单查询请求(合约市场)
  33636. tags:
  33637. - 通用单据
  33638. /Order/QueryTradePosition:
  33639. get:
  33640. parameters:
  33641. - description: 资金账户 - 格式:1,2,3
  33642. in: query
  33643. name: accountID
  33644. required: true
  33645. type: string
  33646. - description: 交易模式 - 格式:1,2,3
  33647. in: query
  33648. name: tradeMode
  33649. type: string
  33650. produces:
  33651. - application/json
  33652. responses:
  33653. "200":
  33654. description: OK
  33655. schema:
  33656. $ref: '#/definitions/order.QueryTradePositionRsp'
  33657. "500":
  33658. description: Internal Server Error
  33659. schema:
  33660. $ref: '#/definitions/app.Response'
  33661. security:
  33662. - ApiKeyAuth: []
  33663. summary: 持仓汇总查询(合约市场)
  33664. tags:
  33665. - 通用单据
  33666. /Qhj/QueryAccountInOutApply:
  33667. get:
  33668. parameters:
  33669. - description: 用户ID
  33670. in: query
  33671. name: userid
  33672. required: true
  33673. type: integer
  33674. - description: 申请起始日期(格式yyyymmdd)
  33675. in: query
  33676. name: begindate
  33677. type: string
  33678. - description: 申请截止日期(格式yyyymmdd)
  33679. in: query
  33680. name: enddate
  33681. type: string
  33682. - description: 模糊搜索名称
  33683. in: query
  33684. name: likename
  33685. type: string
  33686. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33687. in: query
  33688. name: applystatus
  33689. type: integer
  33690. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33691. in: query
  33692. name: querytype
  33693. type: integer
  33694. produces:
  33695. - application/json
  33696. responses:
  33697. "200":
  33698. description: OK
  33699. schema:
  33700. items:
  33701. $ref: '#/definitions/models.QhjAccountOutInApply'
  33702. type: array
  33703. "500":
  33704. description: Internal Server Error
  33705. schema:
  33706. $ref: '#/definitions/app.Response'
  33707. security:
  33708. - ApiKeyAuth: []
  33709. summary: 查询充值提现
  33710. tags:
  33711. - 大连千海金
  33712. /Qhj/QueryAreaFinanceConfig:
  33713. get:
  33714. parameters:
  33715. - description: 机构用户ID 其他做市关系,都设置为 1
  33716. in: query
  33717. name: userid
  33718. type: integer
  33719. produces:
  33720. - application/json
  33721. responses:
  33722. "200":
  33723. description: OK
  33724. schema:
  33725. items:
  33726. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33727. type: array
  33728. "500":
  33729. description: Internal Server Error
  33730. schema:
  33731. $ref: '#/definitions/app.Response'
  33732. security:
  33733. - ApiKeyAuth: []
  33734. summary: 查询企业配置表
  33735. tags:
  33736. - 大连千海金
  33737. /Qhj/QueryBankAccountSign:
  33738. get:
  33739. parameters:
  33740. - description: 用户ID
  33741. in: query
  33742. name: userid
  33743. required: true
  33744. type: integer
  33745. produces:
  33746. - application/json
  33747. responses:
  33748. "200":
  33749. description: OK
  33750. schema:
  33751. items:
  33752. $ref: '#/definitions/models.QhjBankAccountSign'
  33753. type: array
  33754. "500":
  33755. description: Internal Server Error
  33756. schema:
  33757. $ref: '#/definitions/app.Response'
  33758. security:
  33759. - ApiKeyAuth: []
  33760. summary: 查询签约银行信息(提现账户管理)
  33761. tags:
  33762. - 大连千海金
  33763. /Qhj/QueryBankInfo:
  33764. get:
  33765. produces:
  33766. - application/json
  33767. responses:
  33768. "200":
  33769. description: OK
  33770. schema:
  33771. items:
  33772. $ref: '#/definitions/models.QhjBankInfo'
  33773. type: array
  33774. "500":
  33775. description: Internal Server Error
  33776. schema:
  33777. $ref: '#/definitions/app.Response'
  33778. security:
  33779. - ApiKeyAuth: []
  33780. summary: 查询开户行
  33781. tags:
  33782. - 大连千海金
  33783. /Qhj/QueryBrokerApply:
  33784. get:
  33785. parameters:
  33786. - description: 所属机构ID
  33787. in: query
  33788. name: userid
  33789. type: integer
  33790. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33791. in: query
  33792. name: filterstatus
  33793. type: string
  33794. produces:
  33795. - application/json
  33796. responses:
  33797. "200":
  33798. description: OK
  33799. schema:
  33800. items:
  33801. $ref: '#/definitions/models.QhjBrokerApply'
  33802. type: array
  33803. "500":
  33804. description: Internal Server Error
  33805. schema:
  33806. $ref: '#/definitions/app.Response'
  33807. security:
  33808. - ApiKeyAuth: []
  33809. summary: 查询经纪人申请
  33810. tags:
  33811. - 大连千海金
  33812. /Qhj/QueryBrokerApplyEx:
  33813. get:
  33814. parameters:
  33815. - description: 所属机构ID
  33816. in: query
  33817. name: userid
  33818. type: integer
  33819. produces:
  33820. - application/json
  33821. responses:
  33822. "200":
  33823. description: OK
  33824. schema:
  33825. items:
  33826. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33827. type: array
  33828. "500":
  33829. description: Internal Server Error
  33830. schema:
  33831. $ref: '#/definitions/app.Response'
  33832. security:
  33833. - ApiKeyAuth: []
  33834. summary: 查询经纪人信息和申请记录
  33835. tags:
  33836. - 大连千海金
  33837. /Qhj/QueryBrokerRewardLog:
  33838. get:
  33839. parameters:
  33840. - description: 用户ID
  33841. in: query
  33842. name: userid
  33843. required: true
  33844. type: integer
  33845. - description: 开始交易日(yyyymmdd)
  33846. in: query
  33847. name: begindate
  33848. type: string
  33849. - description: 结束交易日(yyyymmdd)
  33850. in: query
  33851. name: enddate
  33852. type: string
  33853. produces:
  33854. - application/json
  33855. responses:
  33856. "200":
  33857. description: OK
  33858. schema:
  33859. items:
  33860. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33861. type: array
  33862. "500":
  33863. description: Internal Server Error
  33864. schema:
  33865. $ref: '#/definitions/app.Response'
  33866. security:
  33867. - ApiKeyAuth: []
  33868. summary: 查询奖励流水(我的奖励)
  33869. tags:
  33870. - 大连千海金
  33871. /Qhj/QueryContract:
  33872. get:
  33873. parameters:
  33874. - description: 用户ID
  33875. in: query
  33876. name: userid
  33877. type: integer
  33878. - description: scf合同id
  33879. in: query
  33880. name: scfcontractid
  33881. type: integer
  33882. produces:
  33883. - application/json
  33884. responses:
  33885. "200":
  33886. description: OK
  33887. schema:
  33888. items:
  33889. $ref: '#/definitions/models.QhjContract'
  33890. type: array
  33891. "500":
  33892. description: Internal Server Error
  33893. schema:
  33894. $ref: '#/definitions/app.Response'
  33895. security:
  33896. - ApiKeyAuth: []
  33897. summary: 查询融资明细(合同)
  33898. tags:
  33899. - 大连千海金
  33900. /Qhj/QueryContractLog:
  33901. get:
  33902. parameters:
  33903. - description: scf合同id
  33904. in: query
  33905. name: scfcontractid
  33906. required: true
  33907. type: integer
  33908. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33909. in: query
  33910. name: amounttype
  33911. type: string
  33912. produces:
  33913. - application/json
  33914. responses:
  33915. "200":
  33916. description: OK
  33917. schema:
  33918. items:
  33919. $ref: '#/definitions/models.QhjContractLog'
  33920. type: array
  33921. "500":
  33922. description: Internal Server Error
  33923. schema:
  33924. $ref: '#/definitions/app.Response'
  33925. security:
  33926. - ApiKeyAuth: []
  33927. summary: 查询融资明细流水(融资明细详情页中的流水)
  33928. tags:
  33929. - 大连千海金
  33930. /Qhj/QueryCusBankSignBank:
  33931. get:
  33932. produces:
  33933. - application/json
  33934. responses:
  33935. "200":
  33936. description: OK
  33937. schema:
  33938. items:
  33939. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  33940. type: array
  33941. "500":
  33942. description: Internal Server Error
  33943. schema:
  33944. $ref: '#/definitions/app.Response'
  33945. security:
  33946. - ApiKeyAuth: []
  33947. summary: 查询托管银行
  33948. tags:
  33949. - 大连千海金
  33950. /Qhj/QueryCustomerInfo:
  33951. get:
  33952. parameters:
  33953. - description: 用户ID
  33954. in: query
  33955. name: userid
  33956. required: true
  33957. type: integer
  33958. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  33959. in: query
  33960. name: querytype
  33961. required: true
  33962. type: integer
  33963. - description: 客户类型 1-个人 2-企业
  33964. in: query
  33965. name: userinfotype
  33966. type: integer
  33967. - description: 客户名称(模糊匹配)
  33968. in: query
  33969. name: customername
  33970. type: string
  33971. - description: 昵称(模糊匹配)
  33972. in: query
  33973. name: nickname
  33974. type: string
  33975. - description: 是否包含子级 1-包含
  33976. in: query
  33977. name: includesub
  33978. type: integer
  33979. produces:
  33980. - application/json
  33981. responses:
  33982. "200":
  33983. description: OK
  33984. schema:
  33985. items:
  33986. $ref: '#/definitions/models.QhjCustomer'
  33987. type: array
  33988. "500":
  33989. description: Internal Server Error
  33990. schema:
  33991. $ref: '#/definitions/app.Response'
  33992. security:
  33993. - ApiKeyAuth: []
  33994. summary: 查询客户资料
  33995. tags:
  33996. - 大连千海金
  33997. /Qhj/QueryGoodsEx:
  33998. get:
  33999. parameters:
  34000. - description: 商品id
  34001. in: query
  34002. name: goodsid
  34003. type: integer
  34004. produces:
  34005. - application/json
  34006. responses:
  34007. "200":
  34008. description: OK
  34009. schema:
  34010. items:
  34011. $ref: '#/definitions/models.Qhjgoodsex'
  34012. type: array
  34013. "500":
  34014. description: Internal Server Error
  34015. schema:
  34016. $ref: '#/definitions/app.Response'
  34017. security:
  34018. - ApiKeyAuth: []
  34019. summary: 交易商品扩展表
  34020. tags:
  34021. - 大连千海金
  34022. /Qhj/QueryMyTeam:
  34023. get:
  34024. parameters:
  34025. - description: 用户ID
  34026. in: query
  34027. name: userid
  34028. required: true
  34029. type: integer
  34030. produces:
  34031. - application/json
  34032. responses:
  34033. "200":
  34034. description: OK
  34035. schema:
  34036. items:
  34037. $ref: '#/definitions/models.QhjMyTeamEx'
  34038. type: array
  34039. "500":
  34040. description: Internal Server Error
  34041. schema:
  34042. $ref: '#/definitions/app.Response'
  34043. security:
  34044. - ApiKeyAuth: []
  34045. summary: 查询我的团队
  34046. tags:
  34047. - 大连千海金
  34048. /Qhj/QueryMyTeamOrder:
  34049. get:
  34050. parameters:
  34051. - description: 页码
  34052. in: query
  34053. name: page
  34054. type: integer
  34055. - description: 每页条数
  34056. in: query
  34057. name: pagesize
  34058. type: integer
  34059. - description: 用户ID
  34060. in: query
  34061. name: userid
  34062. required: true
  34063. type: integer
  34064. - description: 交易模式
  34065. in: query
  34066. name: trademode
  34067. type: integer
  34068. - description: 名称(模糊搜索账户)
  34069. in: query
  34070. name: filtername
  34071. type: string
  34072. produces:
  34073. - application/json
  34074. responses:
  34075. "200":
  34076. description: OK
  34077. schema:
  34078. items:
  34079. $ref: '#/definitions/models.QhjTeamOrder'
  34080. type: array
  34081. "500":
  34082. description: Internal Server Error
  34083. schema:
  34084. $ref: '#/definitions/app.Response'
  34085. security:
  34086. - ApiKeyAuth: []
  34087. summary: 查询团队订单(我的团队/团队订单)
  34088. tags:
  34089. - 大连千海金
  34090. /Qhj/QueryParentAreaList:
  34091. get:
  34092. parameters:
  34093. - description: 用户ID
  34094. in: query
  34095. name: userid
  34096. required: true
  34097. type: integer
  34098. produces:
  34099. - application/json
  34100. responses:
  34101. "200":
  34102. description: OK
  34103. schema:
  34104. items:
  34105. $ref: '#/definitions/models.QhjParentAreaList'
  34106. type: array
  34107. "500":
  34108. description: Internal Server Error
  34109. schema:
  34110. $ref: '#/definitions/app.Response'
  34111. security:
  34112. - ApiKeyAuth: []
  34113. summary: 查询所属机构列表
  34114. tags:
  34115. - 大连千海金
  34116. /Qhj/QueryPayOrder:
  34117. get:
  34118. parameters:
  34119. - description: 资金账号id
  34120. in: query
  34121. name: accountid
  34122. required: true
  34123. type: integer
  34124. - description: 成交单号
  34125. in: query
  34126. name: tradeid
  34127. type: integer
  34128. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34129. in: query
  34130. name: payflag
  34131. type: string
  34132. produces:
  34133. - application/json
  34134. responses:
  34135. "200":
  34136. description: OK
  34137. schema:
  34138. items:
  34139. $ref: '#/definitions/models.QhjPayOrder'
  34140. type: array
  34141. "500":
  34142. description: Internal Server Error
  34143. schema:
  34144. $ref: '#/definitions/app.Response'
  34145. security:
  34146. - ApiKeyAuth: []
  34147. summary: 查询待付款单据
  34148. tags:
  34149. - 大连千海金
  34150. /Qhj/QueryPickArea:
  34151. get:
  34152. parameters:
  34153. - description: 用户ID
  34154. in: query
  34155. name: userid
  34156. type: integer
  34157. produces:
  34158. - application/json
  34159. responses:
  34160. "200":
  34161. description: OK
  34162. schema:
  34163. items:
  34164. $ref: '#/definitions/models.QhjPickArea'
  34165. type: array
  34166. "500":
  34167. description: Internal Server Error
  34168. schema:
  34169. $ref: '#/definitions/app.Response'
  34170. security:
  34171. - ApiKeyAuth: []
  34172. summary: 查询提货门店
  34173. tags:
  34174. - 大连千海金
  34175. /Qhj/QueryPickGoods:
  34176. get:
  34177. parameters:
  34178. - description: 交易商品id
  34179. in: query
  34180. name: goodsid
  34181. required: true
  34182. type: integer
  34183. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34184. in: query
  34185. name: status
  34186. type: string
  34187. produces:
  34188. - application/json
  34189. responses:
  34190. "200":
  34191. description: OK
  34192. schema:
  34193. items:
  34194. $ref: '#/definitions/models.QhjPickGoods'
  34195. type: array
  34196. "500":
  34197. description: Internal Server Error
  34198. schema:
  34199. $ref: '#/definitions/app.Response'
  34200. security:
  34201. - ApiKeyAuth: []
  34202. summary: 查询提货商品
  34203. tags:
  34204. - 大连千海金
  34205. /Qhj/QueryRSTriggerLog:
  34206. get:
  34207. parameters:
  34208. - description: 用户ID
  34209. in: query
  34210. name: userid
  34211. type: integer
  34212. - description: 定投策略id
  34213. in: query
  34214. name: regularlystrategyid
  34215. type: integer
  34216. - description: 商品id
  34217. in: query
  34218. name: goodsid
  34219. type: integer
  34220. - description: 开始交易日(yyyymmdd)
  34221. in: query
  34222. name: begindate
  34223. type: string
  34224. - description: 结束交易日(yyyymmdd)
  34225. in: query
  34226. name: enddate
  34227. type: string
  34228. - description: 名称(模糊搜索账户)
  34229. in: query
  34230. name: filtername
  34231. type: string
  34232. produces:
  34233. - application/json
  34234. responses:
  34235. "200":
  34236. description: OK
  34237. schema:
  34238. items:
  34239. $ref: '#/definitions/models.QhjRSTriggerLog'
  34240. type: array
  34241. "500":
  34242. description: Internal Server Error
  34243. schema:
  34244. $ref: '#/definitions/app.Response'
  34245. security:
  34246. - ApiKeyAuth: []
  34247. summary: 查询定投记录(定投管理/详情/定投记录)
  34248. tags:
  34249. - 大连千海金
  34250. /Qhj/QueryRStrategy:
  34251. get:
  34252. parameters:
  34253. - description: 用户ID
  34254. in: query
  34255. name: userid
  34256. type: integer
  34257. - description: 商品id
  34258. in: query
  34259. name: goodsid
  34260. type: integer
  34261. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34262. in: query
  34263. name: status
  34264. type: string
  34265. - description: 名称(模糊搜索账户)
  34266. in: query
  34267. name: filtername
  34268. type: string
  34269. produces:
  34270. - application/json
  34271. responses:
  34272. "200":
  34273. description: OK
  34274. schema:
  34275. items:
  34276. $ref: '#/definitions/models.QhjRStrategy'
  34277. type: array
  34278. "500":
  34279. description: Internal Server Error
  34280. schema:
  34281. $ref: '#/definitions/app.Response'
  34282. security:
  34283. - ApiKeyAuth: []
  34284. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34285. tags:
  34286. - 大连千海金
  34287. /Qhj/QueryReckonPriceLog:
  34288. get:
  34289. parameters:
  34290. - description: 商品ID
  34291. in: query
  34292. name: goodsid
  34293. type: integer
  34294. - description: 交易日 格式(yyyymmdd)
  34295. in: query
  34296. name: tradedate
  34297. type: string
  34298. produces:
  34299. - application/json
  34300. responses:
  34301. "200":
  34302. description: OK
  34303. schema:
  34304. items:
  34305. $ref: '#/definitions/models.QhjReckonPriceLog'
  34306. type: array
  34307. "500":
  34308. description: Internal Server Error
  34309. schema:
  34310. $ref: '#/definitions/app.Response'
  34311. security:
  34312. - ApiKeyAuth: []
  34313. summary: 查询定投价(结算价)
  34314. tags:
  34315. - 大连千海金
  34316. /Qhj/QueryScoreLog:
  34317. get:
  34318. parameters:
  34319. - description: 用户ID
  34320. in: query
  34321. name: userid
  34322. required: true
  34323. type: integer
  34324. - description: 开始交易日(yyyymmdd)
  34325. in: query
  34326. name: begindate
  34327. type: string
  34328. - description: 结束交易日(yyyymmdd)
  34329. in: query
  34330. name: enddate
  34331. type: string
  34332. - description: 最近多少条
  34333. in: query
  34334. name: lastnum
  34335. type: integer
  34336. produces:
  34337. - application/json
  34338. responses:
  34339. "200":
  34340. description: OK
  34341. schema:
  34342. items:
  34343. $ref: '#/definitions/models.QhjScoreLog'
  34344. type: array
  34345. "500":
  34346. description: Internal Server Error
  34347. schema:
  34348. $ref: '#/definitions/app.Response'
  34349. security:
  34350. - ApiKeyAuth: []
  34351. summary: 查询积分流水(我的积分)
  34352. tags:
  34353. - 大连千海金
  34354. /Qhj/QuerySiteColumnDetail:
  34355. get:
  34356. parameters:
  34357. - description: 用户ID
  34358. in: query
  34359. name: userid
  34360. required: true
  34361. type: integer
  34362. produces:
  34363. - application/json
  34364. responses:
  34365. "200":
  34366. description: OK
  34367. schema:
  34368. items:
  34369. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34370. type: array
  34371. "500":
  34372. description: Internal Server Error
  34373. schema:
  34374. $ref: '#/definitions/app.Response'
  34375. security:
  34376. - ApiKeyAuth: []
  34377. summary: 查询资讯
  34378. tags:
  34379. - 大连千海金
  34380. /Qhj/QueryTradeGoodsPickup:
  34381. get:
  34382. parameters:
  34383. - description: 用户ID
  34384. in: query
  34385. name: userid
  34386. required: true
  34387. type: integer
  34388. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34389. 7:已拒绝 8:已撤销
  34390. in: query
  34391. name: takeorderstatus
  34392. type: integer
  34393. produces:
  34394. - application/json
  34395. responses:
  34396. "200":
  34397. description: OK
  34398. schema:
  34399. items:
  34400. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34401. type: array
  34402. "500":
  34403. description: Internal Server Error
  34404. schema:
  34405. $ref: '#/definitions/app.Response'
  34406. security:
  34407. - ApiKeyAuth: []
  34408. summary: 查询提货
  34409. tags:
  34410. - 大连千海金
  34411. /Qhj/QueryUserCollectConfig:
  34412. get:
  34413. parameters:
  34414. - description: 用户ID
  34415. in: query
  34416. name: userid
  34417. required: true
  34418. type: integer
  34419. produces:
  34420. - application/json
  34421. responses:
  34422. "200":
  34423. description: OK
  34424. schema:
  34425. items:
  34426. $ref: '#/definitions/models.UserCollectConfig'
  34427. type: array
  34428. "500":
  34429. description: Internal Server Error
  34430. schema:
  34431. $ref: '#/definitions/app.Response'
  34432. security:
  34433. - ApiKeyAuth: []
  34434. summary: 查询提现账户设置
  34435. tags:
  34436. - 大连千海金
  34437. /Qhj/QueryUserReceiveInfo:
  34438. get:
  34439. parameters:
  34440. - description: 用户ID
  34441. in: query
  34442. name: userid
  34443. required: true
  34444. type: integer
  34445. produces:
  34446. - application/json
  34447. responses:
  34448. "200":
  34449. description: OK
  34450. schema:
  34451. items:
  34452. $ref: '#/definitions/models.UserReceiveInfo'
  34453. type: array
  34454. "500":
  34455. description: Internal Server Error
  34456. schema:
  34457. $ref: '#/definitions/app.Response'
  34458. security:
  34459. - ApiKeyAuth: []
  34460. summary: 查询收货地址信息
  34461. tags:
  34462. - 大连千海金
  34463. /QhjMgr/QueryAccountInOutApply:
  34464. get:
  34465. parameters:
  34466. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34467. in: query
  34468. name: querytype
  34469. required: true
  34470. type: integer
  34471. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34472. in: query
  34473. name: applystatus
  34474. type: integer
  34475. - description: 申请起始日期(格式yyyymmdd)
  34476. in: query
  34477. name: begindate
  34478. type: string
  34479. - description: 申请截止日期(格式yyyymmdd)
  34480. in: query
  34481. name: enddate
  34482. type: string
  34483. - description: 模糊搜索名称
  34484. in: query
  34485. name: likename
  34486. type: string
  34487. produces:
  34488. - application/json
  34489. responses:
  34490. "200":
  34491. description: OK
  34492. schema:
  34493. items:
  34494. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34495. type: array
  34496. "500":
  34497. description: Internal Server Error
  34498. schema:
  34499. $ref: '#/definitions/app.Response'
  34500. security:
  34501. - ApiKeyAuth: []
  34502. summary: 查询充值提现
  34503. tags:
  34504. - 大连千海金(PCWeb)
  34505. /QhjMgr/QueryBrokerApply:
  34506. get:
  34507. parameters:
  34508. - description: 所属机构ID
  34509. in: query
  34510. name: userid
  34511. type: integer
  34512. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34513. in: query
  34514. name: filterstatus
  34515. type: string
  34516. - description: 名称(模糊匹配)
  34517. in: query
  34518. name: filtername
  34519. type: string
  34520. - description: 是否包含子级 1-包含
  34521. in: query
  34522. name: includesub
  34523. type: integer
  34524. produces:
  34525. - application/json
  34526. responses:
  34527. "200":
  34528. description: OK
  34529. schema:
  34530. items:
  34531. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34532. type: array
  34533. "500":
  34534. description: Internal Server Error
  34535. schema:
  34536. $ref: '#/definitions/app.Response'
  34537. security:
  34538. - ApiKeyAuth: []
  34539. summary: 查询经纪人申请
  34540. tags:
  34541. - 大连千海金(PCWeb)
  34542. /QhjMgr/QueryBrokerRewardReport:
  34543. get:
  34544. parameters:
  34545. - description: 所属机构ID
  34546. in: query
  34547. name: userid
  34548. required: true
  34549. type: integer
  34550. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34551. in: query
  34552. name: cycletype
  34553. required: true
  34554. type: integer
  34555. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34556. in: query
  34557. name: cycletime
  34558. required: true
  34559. type: string
  34560. - description: 名称(模糊匹配)
  34561. in: query
  34562. name: filtername
  34563. type: string
  34564. - description: 是否包含子级 1-包含
  34565. in: query
  34566. name: includesub
  34567. type: integer
  34568. produces:
  34569. - application/json
  34570. responses:
  34571. "200":
  34572. description: OK
  34573. schema:
  34574. items:
  34575. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34576. type: array
  34577. "500":
  34578. description: Internal Server Error
  34579. schema:
  34580. $ref: '#/definitions/app.Response'
  34581. security:
  34582. - ApiKeyAuth: []
  34583. summary: 查询经纪人奖励报表(废弃)
  34584. tags:
  34585. - 大连千海金(PCWeb)
  34586. /QhjMgr/QueryContract:
  34587. get:
  34588. parameters:
  34589. - description: 用户ID
  34590. in: query
  34591. name: userid
  34592. type: integer
  34593. - description: 商品id
  34594. in: query
  34595. name: goodsid
  34596. type: integer
  34597. - description: 名称(模糊搜索账户)
  34598. in: query
  34599. name: filtername
  34600. type: string
  34601. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34602. in: query
  34603. name: risklevel
  34604. type: string
  34605. - description: 开始交易日(yyyymmdd)
  34606. in: query
  34607. name: begindate
  34608. type: string
  34609. - description: 结束交易日(yyyymmdd)
  34610. in: query
  34611. name: enddate
  34612. type: string
  34613. produces:
  34614. - application/json
  34615. responses:
  34616. "200":
  34617. description: OK
  34618. schema:
  34619. items:
  34620. $ref: '#/definitions/models.QhjMgrContract'
  34621. type: array
  34622. "500":
  34623. description: Internal Server Error
  34624. schema:
  34625. $ref: '#/definitions/app.Response'
  34626. security:
  34627. - ApiKeyAuth: []
  34628. summary: 查询融资信息(合同)
  34629. tags:
  34630. - 大连千海金(PCWeb)
  34631. /QhjMgr/QueryCustomerInfo:
  34632. get:
  34633. parameters:
  34634. - description: 用户ID
  34635. in: query
  34636. name: userid
  34637. required: true
  34638. type: integer
  34639. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34640. in: query
  34641. name: querytype
  34642. required: true
  34643. type: integer
  34644. - description: 客户类型 1-个人 2-企业
  34645. in: query
  34646. name: userinfotype
  34647. type: integer
  34648. - description: 客户名称(模糊匹配)
  34649. in: query
  34650. name: customername
  34651. type: string
  34652. - description: 昵称(模糊匹配)
  34653. in: query
  34654. name: nickname
  34655. type: string
  34656. - description: 所属客户经理(模糊匹配)
  34657. in: query
  34658. name: brokername
  34659. type: string
  34660. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34661. 如0503 -5月3日)
  34662. in: query
  34663. name: birthday
  34664. type: string
  34665. - description: 是否包含子级 1-包含
  34666. in: query
  34667. name: includesub
  34668. type: integer
  34669. produces:
  34670. - application/json
  34671. responses:
  34672. "200":
  34673. description: OK
  34674. schema:
  34675. items:
  34676. $ref: '#/definitions/models.QhjMgrCustomer'
  34677. type: array
  34678. "500":
  34679. description: Internal Server Error
  34680. schema:
  34681. $ref: '#/definitions/app.Response'
  34682. security:
  34683. - ApiKeyAuth: []
  34684. summary: 查询客户资料
  34685. tags:
  34686. - 大连千海金(PCWeb)
  34687. /QhjMgr/QueryPickGoods:
  34688. get:
  34689. parameters:
  34690. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34691. in: query
  34692. name: status
  34693. type: string
  34694. produces:
  34695. - application/json
  34696. responses:
  34697. "200":
  34698. description: OK
  34699. schema:
  34700. items:
  34701. $ref: '#/definitions/models.QhjMgrPickGoods'
  34702. type: array
  34703. "500":
  34704. description: Internal Server Error
  34705. schema:
  34706. $ref: '#/definitions/app.Response'
  34707. security:
  34708. - ApiKeyAuth: []
  34709. summary: 查询提货商品
  34710. tags:
  34711. - 大连千海金(PCWeb)
  34712. /QhjMgr/QuerySubArea:
  34713. get:
  34714. parameters:
  34715. - description: 用户ID
  34716. in: query
  34717. name: userid
  34718. required: true
  34719. type: integer
  34720. produces:
  34721. - application/json
  34722. responses:
  34723. "200":
  34724. description: OK
  34725. schema:
  34726. items:
  34727. $ref: '#/definitions/models.QhjMgrSubArea'
  34728. type: array
  34729. "500":
  34730. description: Internal Server Error
  34731. schema:
  34732. $ref: '#/definitions/app.Response'
  34733. security:
  34734. - ApiKeyAuth: []
  34735. summary: 查询子机构列表
  34736. tags:
  34737. - 大连千海金(PCWeb)
  34738. /QhjMgr/QueryTradeDetail:
  34739. get:
  34740. parameters:
  34741. - description: 用户ID
  34742. in: query
  34743. name: userid
  34744. required: true
  34745. type: integer
  34746. - description: 用户类型 1-个人 2-企业
  34747. in: query
  34748. name: userinfotype
  34749. type: integer
  34750. - description: 交易模式
  34751. in: query
  34752. name: trademode
  34753. type: integer
  34754. - description: 商品id
  34755. in: query
  34756. name: goodsid
  34757. type: integer
  34758. - description: 名称(模糊搜索账户)
  34759. in: query
  34760. name: filtername
  34761. type: string
  34762. - description: 开始交易日(yyyymmdd)
  34763. in: query
  34764. name: begindate
  34765. type: string
  34766. - description: 结束交易日(yyyymmdd)
  34767. in: query
  34768. name: enddate
  34769. type: string
  34770. - description: 是否包含子级 1-包含
  34771. in: query
  34772. name: includesub
  34773. type: integer
  34774. produces:
  34775. - application/json
  34776. responses:
  34777. "200":
  34778. description: OK
  34779. schema:
  34780. items:
  34781. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34782. type: array
  34783. "500":
  34784. description: Internal Server Error
  34785. schema:
  34786. $ref: '#/definitions/app.Response'
  34787. security:
  34788. - ApiKeyAuth: []
  34789. summary: 查询成交明细
  34790. tags:
  34791. - 大连千海金(PCWeb)
  34792. /QhjMgr/QueryTradeOrderDetail:
  34793. get:
  34794. parameters:
  34795. - description: 用户ID
  34796. in: query
  34797. name: userid
  34798. required: true
  34799. type: integer
  34800. - description: 用户类型 1-个人 2-企业
  34801. in: query
  34802. name: userinfotype
  34803. type: integer
  34804. - description: 交易模式
  34805. in: query
  34806. name: trademode
  34807. type: integer
  34808. - description: 商品id
  34809. in: query
  34810. name: goodsid
  34811. type: integer
  34812. - description: 名称(模糊搜索账户)
  34813. in: query
  34814. name: filtername
  34815. type: string
  34816. - description: 开始交易日(yyyymmdd)
  34817. in: query
  34818. name: begindate
  34819. type: string
  34820. - description: 结束交易日(yyyymmdd)
  34821. in: query
  34822. name: enddate
  34823. type: string
  34824. - description: 是否包含子级 1-包含
  34825. in: query
  34826. name: includesub
  34827. type: integer
  34828. produces:
  34829. - application/json
  34830. responses:
  34831. "200":
  34832. description: OK
  34833. schema:
  34834. items:
  34835. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34836. type: array
  34837. "500":
  34838. description: Internal Server Error
  34839. schema:
  34840. $ref: '#/definitions/app.Response'
  34841. security:
  34842. - ApiKeyAuth: []
  34843. summary: 查询委托明细
  34844. tags:
  34845. - 大连千海金(PCWeb)
  34846. /QhjMgr/QueryTradePayOrder:
  34847. get:
  34848. parameters:
  34849. - description: 用户ID
  34850. in: query
  34851. name: userid
  34852. required: true
  34853. type: integer
  34854. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34855. in: query
  34856. name: payflag
  34857. type: string
  34858. - description: 用户类型 1-个人 2-企业
  34859. in: query
  34860. name: userinfotype
  34861. type: integer
  34862. - description: 交易模式
  34863. in: query
  34864. name: trademode
  34865. type: integer
  34866. - description: 商品id
  34867. in: query
  34868. name: goodsid
  34869. type: integer
  34870. - description: 名称(模糊搜索账户)
  34871. in: query
  34872. name: filtername
  34873. type: string
  34874. - description: 开始交易日(yyyymmdd)
  34875. in: query
  34876. name: begindate
  34877. type: string
  34878. - description: 结束交易日(yyyymmdd)
  34879. in: query
  34880. name: enddate
  34881. type: string
  34882. - description: 是否包含子级 1-包含
  34883. in: query
  34884. name: includesub
  34885. type: integer
  34886. produces:
  34887. - application/json
  34888. responses:
  34889. "200":
  34890. description: OK
  34891. schema:
  34892. items:
  34893. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34894. type: array
  34895. "500":
  34896. description: Internal Server Error
  34897. schema:
  34898. $ref: '#/definitions/app.Response'
  34899. security:
  34900. - ApiKeyAuth: []
  34901. summary: 查询待付款单
  34902. tags:
  34903. - 大连千海金(PCWeb)
  34904. /QhjMgr/QueryTradePosition:
  34905. get:
  34906. parameters:
  34907. - description: 用户ID
  34908. in: query
  34909. name: userid
  34910. required: true
  34911. type: integer
  34912. - description: 用户类型 1-个人 2-企业
  34913. in: query
  34914. name: userinfotype
  34915. type: integer
  34916. - description: 交易模式
  34917. in: query
  34918. name: trademode
  34919. type: integer
  34920. - description: 商品id
  34921. in: query
  34922. name: goodsid
  34923. type: integer
  34924. - description: 名称(模糊搜索账户)
  34925. in: query
  34926. name: filtername
  34927. type: string
  34928. - description: 是否包含子级 1-包含
  34929. in: query
  34930. name: includesub
  34931. type: integer
  34932. produces:
  34933. - application/json
  34934. responses:
  34935. "200":
  34936. description: OK
  34937. schema:
  34938. items:
  34939. $ref: '#/definitions/models.QhjMgrPositionRsp'
  34940. type: array
  34941. "500":
  34942. description: Internal Server Error
  34943. schema:
  34944. $ref: '#/definitions/app.Response'
  34945. security:
  34946. - ApiKeyAuth: []
  34947. summary: 查询持仓汇总
  34948. tags:
  34949. - 大连千海金(PCWeb)
  34950. /QhjSys/QueryAgreementChangeLog:
  34951. get:
  34952. parameters:
  34953. - description: 协议ID
  34954. in: query
  34955. name: agreementid
  34956. type: integer
  34957. - description: 协议版本号
  34958. in: query
  34959. name: agreementversion
  34960. type: integer
  34961. - description: 协议类型 - 1:注册 2:登录 3:交易
  34962. in: query
  34963. name: agreementtype
  34964. type: integer
  34965. - description: 协议编号(模糊匹配)
  34966. in: query
  34967. name: agreementno
  34968. type: string
  34969. - description: 协议名称(模糊匹配)
  34970. in: query
  34971. name: agreementname
  34972. type: string
  34973. produces:
  34974. - application/json
  34975. responses:
  34976. "200":
  34977. description: OK
  34978. schema:
  34979. items:
  34980. $ref: '#/definitions/models.QhjAgreementChangeLog'
  34981. type: array
  34982. "500":
  34983. description: Internal Server Error
  34984. schema:
  34985. $ref: '#/definitions/app.Response'
  34986. security:
  34987. - ApiKeyAuth: []
  34988. summary: 查询协议配置变更流水
  34989. tags:
  34990. - 大连千海金(协议和签约信息)
  34991. /QhjSys/QueryAgreementConfig:
  34992. get:
  34993. parameters:
  34994. - description: 协议ID
  34995. in: query
  34996. name: agreementid
  34997. type: integer
  34998. - description: 协议版本号
  34999. in: query
  35000. name: agreementversion
  35001. type: integer
  35002. - description: 协议类型 - 1:注册 2:登录 3:交易
  35003. in: query
  35004. name: agreementtype
  35005. type: integer
  35006. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  35007. in: query
  35008. name: isvalid
  35009. type: integer
  35010. - description: 协议编号(模糊匹配)
  35011. in: query
  35012. name: agreementno
  35013. type: string
  35014. - description: 协议名称(模糊匹配)
  35015. in: query
  35016. name: agreementname
  35017. type: string
  35018. produces:
  35019. - application/json
  35020. responses:
  35021. "200":
  35022. description: OK
  35023. schema:
  35024. items:
  35025. $ref: '#/definitions/models.QhjAgreementConfig'
  35026. type: array
  35027. "500":
  35028. description: Internal Server Error
  35029. schema:
  35030. $ref: '#/definitions/app.Response'
  35031. security:
  35032. - ApiKeyAuth: []
  35033. summary: 查询协议配置
  35034. tags:
  35035. - 大连千海金(协议和签约信息)
  35036. /QhjSys/QueryCustomerSignStatus:
  35037. get:
  35038. parameters:
  35039. - description: 客户ID
  35040. in: query
  35041. name: userid
  35042. type: integer
  35043. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35044. in: query
  35045. name: nodetype
  35046. type: integer
  35047. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35048. in: query
  35049. name: goodsid
  35050. type: integer
  35051. - description: 创建交易日(yyyyMMdd)
  35052. in: query
  35053. name: tradedate
  35054. type: string
  35055. - description: 用户名称(模糊匹配)
  35056. in: query
  35057. name: username
  35058. type: string
  35059. produces:
  35060. - application/json
  35061. responses:
  35062. "200":
  35063. description: OK
  35064. schema:
  35065. items:
  35066. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35067. type: array
  35068. "500":
  35069. description: Internal Server Error
  35070. schema:
  35071. $ref: '#/definitions/app.Response'
  35072. security:
  35073. - ApiKeyAuth: []
  35074. summary: 查询客户协议签约状态
  35075. tags:
  35076. - 大连千海金(协议和签约信息)
  35077. /QhjSys/QueryNodeAgreementConfig:
  35078. get:
  35079. parameters:
  35080. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35081. in: query
  35082. name: configid
  35083. type: integer
  35084. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35085. in: query
  35086. name: nodetype
  35087. type: integer
  35088. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35089. in: query
  35090. name: goodsid
  35091. type: integer
  35092. - description: 协议ID
  35093. in: query
  35094. name: agreementid
  35095. type: integer
  35096. - description: 协议类型 - 1:注册 2:登录 3:交易
  35097. in: query
  35098. name: agreementtype
  35099. type: integer
  35100. - description: 协议版本号
  35101. in: query
  35102. name: agreementversion
  35103. type: integer
  35104. - description: 协议编号(模糊匹配)
  35105. in: query
  35106. name: agreementno
  35107. type: string
  35108. - description: 协议名称(模糊匹配)
  35109. in: query
  35110. name: agreementname
  35111. type: string
  35112. produces:
  35113. - application/json
  35114. responses:
  35115. "200":
  35116. description: OK
  35117. schema:
  35118. items:
  35119. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  35120. type: array
  35121. "500":
  35122. description: Internal Server Error
  35123. schema:
  35124. $ref: '#/definitions/app.Response'
  35125. security:
  35126. - ApiKeyAuth: []
  35127. summary: 查询协议节点配置
  35128. tags:
  35129. - 大连千海金(协议和签约信息)
  35130. /QhjSys/QueryQhjCustomerSignLog:
  35131. get:
  35132. parameters:
  35133. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35134. in: query
  35135. name: logid
  35136. type: integer
  35137. - description: 客户ID
  35138. in: query
  35139. name: userid
  35140. type: integer
  35141. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35142. in: query
  35143. name: nodetype
  35144. type: integer
  35145. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35146. in: query
  35147. name: goodsid
  35148. type: integer
  35149. - description: 协议ID
  35150. in: query
  35151. name: agreementid
  35152. type: integer
  35153. - description: 用户名称(模糊匹配)
  35154. in: query
  35155. name: username
  35156. type: string
  35157. - description: 协议编号(模糊匹配)
  35158. in: query
  35159. name: agreementno
  35160. type: string
  35161. - description: 协议名称(模糊匹配)
  35162. in: query
  35163. name: agreementname
  35164. type: string
  35165. produces:
  35166. - application/json
  35167. responses:
  35168. "200":
  35169. description: OK
  35170. schema:
  35171. items:
  35172. $ref: '#/definitions/models.QhjCustomerSignLog'
  35173. type: array
  35174. "500":
  35175. description: Internal Server Error
  35176. schema:
  35177. $ref: '#/definitions/app.Response'
  35178. security:
  35179. - ApiKeyAuth: []
  35180. summary: 查询客户协议签约流水
  35181. tags:
  35182. - 大连千海金(协议和签约信息)
  35183. /QhjSys/QueryUserNodeCfgAndStatus:
  35184. get:
  35185. parameters:
  35186. - description: 客户ID
  35187. in: query
  35188. name: userid
  35189. type: integer
  35190. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35191. in: query
  35192. name: configid
  35193. type: integer
  35194. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35195. in: query
  35196. name: nodetype
  35197. type: string
  35198. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35199. in: query
  35200. name: goodsid
  35201. type: integer
  35202. - description: 协议ID
  35203. in: query
  35204. name: agreementid
  35205. type: integer
  35206. - description: 协议类型 - 1:注册 2:登录 3:交易
  35207. in: query
  35208. name: agreementtype
  35209. type: integer
  35210. - description: 协议版本号
  35211. in: query
  35212. name: agreementversion
  35213. type: integer
  35214. - description: 协议编号(模糊匹配)
  35215. in: query
  35216. name: agreementno
  35217. type: string
  35218. - description: 协议名称(模糊匹配)
  35219. in: query
  35220. name: agreementname
  35221. type: string
  35222. produces:
  35223. - application/json
  35224. responses:
  35225. "200":
  35226. description: OK
  35227. schema:
  35228. items:
  35229. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35230. type: array
  35231. "500":
  35232. description: Internal Server Error
  35233. schema:
  35234. $ref: '#/definitions/app.Response'
  35235. security:
  35236. - ApiKeyAuth: []
  35237. summary: 查询用户协议节点配置和状态
  35238. tags:
  35239. - 大连千海金(协议和签约信息)
  35240. /Quote/QueryHistoryDatas:
  35241. get:
  35242. parameters:
  35243. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35244. 日线 12:周线 13:月线 14:年线'
  35245. in: query
  35246. name: cycleType
  35247. required: true
  35248. type: integer
  35249. - description: 商品代码
  35250. in: query
  35251. name: goodsCode
  35252. required: true
  35253. type: string
  35254. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35255. in: query
  35256. name: startTime
  35257. type: string
  35258. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35259. in: query
  35260. name: endTime
  35261. type: string
  35262. - description: 条数
  35263. in: query
  35264. name: count
  35265. type: integer
  35266. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35267. in: query
  35268. name: isAsc
  35269. type: boolean
  35270. produces:
  35271. - application/json
  35272. responses:
  35273. "200":
  35274. description: OK
  35275. schema:
  35276. $ref: '#/definitions/quote.HistoryData'
  35277. "500":
  35278. description: Internal Server Error
  35279. schema:
  35280. $ref: '#/definitions/app.Response'
  35281. security:
  35282. - ApiKeyAuth: []
  35283. summary: 查询行情历史数据
  35284. tags:
  35285. - 行情服务
  35286. /Quote/QueryHistoryTikDatas:
  35287. get:
  35288. parameters:
  35289. - description: 商品代码
  35290. in: query
  35291. name: goodsCode
  35292. required: true
  35293. type: string
  35294. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35295. in: query
  35296. name: startTime
  35297. type: string
  35298. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35299. in: query
  35300. name: endTime
  35301. type: string
  35302. - description: 条数
  35303. in: query
  35304. name: count
  35305. type: integer
  35306. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35307. in: query
  35308. name: isAsc
  35309. type: boolean
  35310. produces:
  35311. - application/json
  35312. responses:
  35313. "200":
  35314. description: OK
  35315. schema:
  35316. $ref: '#/definitions/quote.HistoryTikData'
  35317. "500":
  35318. description: Internal Server Error
  35319. schema:
  35320. $ref: '#/definitions/app.Response'
  35321. security:
  35322. - ApiKeyAuth: []
  35323. summary: 查询行情Tik数据
  35324. tags:
  35325. - 行情服务
  35326. /Quote/QueryQuoteDay:
  35327. get:
  35328. parameters:
  35329. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35330. in: query
  35331. name: goodsCodes
  35332. type: string
  35333. produces:
  35334. - application/json
  35335. responses:
  35336. "200":
  35337. description: OK
  35338. schema:
  35339. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35340. "500":
  35341. description: Internal Server Error
  35342. schema:
  35343. $ref: '#/definitions/app.Response'
  35344. security:
  35345. - ApiKeyAuth: []
  35346. summary: 获取商品盘面信息
  35347. tags:
  35348. - 行情服务
  35349. /Quote/QueryTSData:
  35350. get:
  35351. parameters:
  35352. - description: 商品代码
  35353. in: query
  35354. name: goodsCode
  35355. required: true
  35356. type: string
  35357. produces:
  35358. - application/json
  35359. responses:
  35360. "200":
  35361. description: OK
  35362. schema:
  35363. $ref: '#/definitions/quote.QueryTSDataRsp'
  35364. "500":
  35365. description: Internal Server Error
  35366. schema:
  35367. $ref: '#/definitions/app.Response'
  35368. security:
  35369. - ApiKeyAuth: []
  35370. summary: 分时图数据查询
  35371. tags:
  35372. - 行情服务
  35373. /SZDZ/QueryConvertConfig:
  35374. get:
  35375. parameters:
  35376. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35377. 6:交易转花生米(不设置)
  35378. in: query
  35379. name: convertType
  35380. type: integer
  35381. - description: 外部商品代码[JD\PD]
  35382. in: query
  35383. name: outerGoodsCode
  35384. type: string
  35385. - description: 内部商品ID列表[交易],格式:1,2,3
  35386. in: query
  35387. name: innerGoodsIDs
  35388. type: string
  35389. produces:
  35390. - application/json
  35391. responses:
  35392. "200":
  35393. description: OK
  35394. schema:
  35395. $ref: '#/definitions/models.Szdz3convertconfig'
  35396. "500":
  35397. description: Internal Server Error
  35398. schema:
  35399. $ref: '#/definitions/app.Response'
  35400. security:
  35401. - ApiKeyAuth: []
  35402. summary: 查询交易系统转换设置
  35403. tags:
  35404. - 定制【尚志大宗】
  35405. /SZDZ/QueryConvertLog:
  35406. get:
  35407. parameters:
  35408. - description: 资金账户 - 格式:1,2,3
  35409. in: query
  35410. name: accountID
  35411. required: true
  35412. type: string
  35413. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35414. in: query
  35415. name: startDate
  35416. type: string
  35417. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35418. in: query
  35419. name: endDate
  35420. type: string
  35421. produces:
  35422. - application/json
  35423. responses:
  35424. "200":
  35425. description: OK
  35426. schema:
  35427. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35428. "500":
  35429. description: Internal Server Error
  35430. schema:
  35431. $ref: '#/definitions/app.Response'
  35432. security:
  35433. - ApiKeyAuth: []
  35434. summary: 交易系统转换流水查询
  35435. tags:
  35436. - 定制【尚志大宗】
  35437. /SZDZ/QueryGoodsPickup:
  35438. get:
  35439. parameters:
  35440. - description: 资金账户 - 格式:1,2,3
  35441. in: query
  35442. name: accountID
  35443. required: true
  35444. type: string
  35445. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35446. in: query
  35447. name: takeOrderStatus
  35448. type: integer
  35449. produces:
  35450. - application/json
  35451. responses:
  35452. "200":
  35453. description: OK
  35454. schema:
  35455. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35456. "500":
  35457. description: Internal Server Error
  35458. schema:
  35459. $ref: '#/definitions/app.Response'
  35460. security:
  35461. - ApiKeyAuth: []
  35462. summary: 商品提货单查询
  35463. tags:
  35464. - 定制【尚志大宗】
  35465. /SZDZ/QueryRecieptOrder:
  35466. get:
  35467. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35468. parameters:
  35469. - description: 页码
  35470. in: query
  35471. name: page
  35472. type: integer
  35473. - description: 每页条数
  35474. in: query
  35475. name: pagesize
  35476. type: integer
  35477. - description: 商品ID
  35478. in: query
  35479. name: goodsID
  35480. required: true
  35481. type: integer
  35482. - description: 所属账户名称
  35483. in: query
  35484. name: accountName
  35485. type: string
  35486. - description: 市场ID
  35487. in: query
  35488. name: marketID
  35489. type: integer
  35490. - description: 方向 - 0:买 1:卖
  35491. in: query
  35492. name: buyorsell
  35493. required: true
  35494. type: integer
  35495. produces:
  35496. - application/json
  35497. responses:
  35498. "200":
  35499. description: OK
  35500. schema:
  35501. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35502. "500":
  35503. description: Internal Server Error
  35504. schema:
  35505. $ref: '#/definitions/app.Response'
  35506. security:
  35507. - ApiKeyAuth: []
  35508. summary: 点选挂牌委托单据查询(摘牌大厅)
  35509. tags:
  35510. - 定制【尚志大宗】
  35511. /SZDZ/QuerySZDZTradePosition:
  35512. get:
  35513. parameters:
  35514. - description: 资金账户
  35515. in: query
  35516. name: accountID
  35517. required: true
  35518. type: integer
  35519. produces:
  35520. - application/json
  35521. responses:
  35522. "200":
  35523. description: OK
  35524. schema:
  35525. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35526. "500":
  35527. description: Internal Server Error
  35528. schema:
  35529. $ref: '#/definitions/app.Response'
  35530. security:
  35531. - ApiKeyAuth: []
  35532. summary: 持仓汇总查询(尚志大宗)
  35533. tags:
  35534. - 定制【尚志大宗】
  35535. /SZDZ/SearchWhite:
  35536. get:
  35537. parameters:
  35538. - description: 用户ID
  35539. in: query
  35540. name: userID
  35541. required: true
  35542. type: integer
  35543. produces:
  35544. - application/json
  35545. responses:
  35546. "200":
  35547. description: OK
  35548. schema:
  35549. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35550. "500":
  35551. description: Internal Server Error
  35552. schema:
  35553. $ref: '#/definitions/app.Response'
  35554. security:
  35555. - ApiKeyAuth: []
  35556. summary: 搜索白名单
  35557. tags:
  35558. - 定制【尚志大宗】
  35559. /Search/SearchGoodses:
  35560. get:
  35561. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35562. parameters:
  35563. - description: 检索内容
  35564. in: query
  35565. name: content
  35566. required: true
  35567. type: string
  35568. - description: 交易模式,格式:1,2,3
  35569. in: query
  35570. name: tradeModes
  35571. type: string
  35572. produces:
  35573. - application/json
  35574. responses:
  35575. "200":
  35576. description: OK
  35577. schema:
  35578. $ref: '#/definitions/models.SearchGoods'
  35579. "500":
  35580. description: Internal Server Error
  35581. schema:
  35582. $ref: '#/definitions/app.Response'
  35583. summary: 检索商品信息
  35584. tags:
  35585. - 检索服务
  35586. /TaAccount/GetTaAccounts:
  35587. get:
  35588. parameters:
  35589. - description: 登录账户
  35590. in: query
  35591. name: loginID
  35592. required: true
  35593. type: integer
  35594. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35595. in: query
  35596. name: taAccountType
  35597. type: integer
  35598. produces:
  35599. - application/json
  35600. responses:
  35601. "200":
  35602. description: OK
  35603. schema:
  35604. $ref: '#/definitions/models.Taaccount'
  35605. "500":
  35606. description: Internal Server Error
  35607. schema:
  35608. $ref: '#/definitions/app.Response'
  35609. security:
  35610. - ApiKeyAuth: []
  35611. summary: 获取资金账户信息
  35612. tags:
  35613. - 资金账户
  35614. /TaAccount/QueryAmountLog:
  35615. get:
  35616. parameters:
  35617. - description: 页码
  35618. in: query
  35619. name: page
  35620. type: integer
  35621. - description: 每页条数
  35622. in: query
  35623. name: pagesize
  35624. type: integer
  35625. - description: 分页标志 0-page从0开始 1-page从1开始
  35626. in: query
  35627. name: pageflag
  35628. type: integer
  35629. - description: 资金账户 - 格式:1,2,3
  35630. in: query
  35631. name: accountID
  35632. required: true
  35633. type: string
  35634. - description: 资金操作类型 - 格式:1,2,3
  35635. in: query
  35636. name: OperateType
  35637. type: string
  35638. produces:
  35639. - application/json
  35640. responses:
  35641. "200":
  35642. description: OK
  35643. schema:
  35644. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35645. "500":
  35646. description: Internal Server Error
  35647. schema:
  35648. $ref: '#/definitions/app.Response'
  35649. security:
  35650. - ApiKeyAuth: []
  35651. summary: 资金流水查询(当前)
  35652. tags:
  35653. - 资金账户
  35654. /TaAccount/QueryHisAmountLog:
  35655. get:
  35656. parameters:
  35657. - description: 页码
  35658. in: query
  35659. name: page
  35660. type: integer
  35661. - description: 每页条数
  35662. in: query
  35663. name: pagesize
  35664. type: integer
  35665. - description: 分页标志 0-page从0开始 1-page从1开始
  35666. in: query
  35667. name: pageflag
  35668. type: integer
  35669. - description: 资金账户 - 格式:1,2,3
  35670. in: query
  35671. name: accountID
  35672. required: true
  35673. type: string
  35674. - description: 资金操作类型 - 格式:1,2,3
  35675. in: query
  35676. name: OperateType
  35677. type: string
  35678. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35679. in: query
  35680. name: startDate
  35681. type: string
  35682. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35683. in: query
  35684. name: endDate
  35685. type: string
  35686. produces:
  35687. - application/json
  35688. responses:
  35689. "200":
  35690. description: OK
  35691. schema:
  35692. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35693. "500":
  35694. description: Internal Server Error
  35695. schema:
  35696. $ref: '#/definitions/app.Response'
  35697. security:
  35698. - ApiKeyAuth: []
  35699. summary: 资金流水查询(历史)
  35700. tags:
  35701. - 资金账户
  35702. /TaAccount/QueryRelatedTaAccount:
  35703. get:
  35704. parameters:
  35705. - description: 关联UserID
  35706. in: query
  35707. name: relateduserid
  35708. required: true
  35709. type: integer
  35710. produces:
  35711. - application/json
  35712. responses:
  35713. "200":
  35714. description: OK
  35715. schema:
  35716. items:
  35717. $ref: '#/definitions/models.RelatedTaAccount'
  35718. type: array
  35719. "500":
  35720. description: Internal Server Error
  35721. schema:
  35722. $ref: '#/definitions/app.Response'
  35723. security:
  35724. - ApiKeyAuth: []
  35725. summary: 查询关联资金账户信息
  35726. tags:
  35727. - 资金账户
  35728. /Tjmd/QueryQuoteGoodsList:
  35729. get:
  35730. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35731. parameters:
  35732. - description: 用户类型
  35733. in: query
  35734. name: usertype
  35735. required: true
  35736. type: integer
  35737. - description: 市场id, 格式 1,2,3
  35738. in: query
  35739. name: marketids
  35740. type: string
  35741. - description: 商品组id
  35742. in: query
  35743. name: goodsgroupid
  35744. type: integer
  35745. - description: 商品id
  35746. in: query
  35747. name: goodsid
  35748. type: integer
  35749. produces:
  35750. - application/json
  35751. responses:
  35752. "200":
  35753. description: OK
  35754. schema:
  35755. items:
  35756. $ref: '#/definitions/models.TjmdQuoteGoods'
  35757. type: array
  35758. "500":
  35759. description: Internal Server Error
  35760. schema:
  35761. $ref: '#/definitions/app.Response'
  35762. security:
  35763. - ApiKeyAuth: []
  35764. summary: 查询掉期报价列表
  35765. tags:
  35766. - 天津麦顿
  35767. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35768. get:
  35769. parameters:
  35770. - description: 成交单号
  35771. in: query
  35772. name: tradeid
  35773. required: true
  35774. type: string
  35775. produces:
  35776. - application/json
  35777. responses:
  35778. "200":
  35779. description: OK
  35780. schema:
  35781. items:
  35782. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35783. type: array
  35784. "500":
  35785. description: Internal Server Error
  35786. schema:
  35787. $ref: '#/definitions/app.Response'
  35788. security:
  35789. - ApiKeyAuth: []
  35790. summary: 掉期商品订单详情(交易确认书)
  35791. tags:
  35792. - 天津麦顿
  35793. /Tjmd/QueryTjmdMarketSection:
  35794. get:
  35795. produces:
  35796. - application/json
  35797. responses:
  35798. "200":
  35799. description: OK
  35800. schema:
  35801. items:
  35802. $ref: '#/definitions/models.TjmdMarketSection'
  35803. type: array
  35804. "500":
  35805. description: Internal Server Error
  35806. schema:
  35807. $ref: '#/definitions/app.Response'
  35808. security:
  35809. - ApiKeyAuth: []
  35810. summary: 查询市场板块
  35811. tags:
  35812. - 天津麦顿
  35813. /Tjmd/QueryTjmdTodayAccountMargin:
  35814. get:
  35815. parameters:
  35816. - description: 市场id
  35817. in: query
  35818. name: marketid
  35819. type: string
  35820. - description: 商品id
  35821. in: query
  35822. name: goodsid
  35823. type: string
  35824. - description: 资金账号
  35825. in: query
  35826. name: accountid
  35827. type: string
  35828. produces:
  35829. - application/json
  35830. responses:
  35831. "200":
  35832. description: OK
  35833. schema:
  35834. items:
  35835. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35836. type: array
  35837. "500":
  35838. description: Internal Server Error
  35839. schema:
  35840. $ref: '#/definitions/app.Response'
  35841. security:
  35842. - ApiKeyAuth: []
  35843. summary: 查询今日账户保证金配置
  35844. tags:
  35845. - 天津麦顿
  35846. /Tjmd/QueryTjmdTradeOrderDetail:
  35847. get:
  35848. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35849. parameters:
  35850. - description: 页码
  35851. in: query
  35852. name: page
  35853. type: integer
  35854. - description: 每页条数
  35855. in: query
  35856. name: pagesize
  35857. type: integer
  35858. - description: 用户id
  35859. in: query
  35860. name: userid
  35861. required: true
  35862. type: integer
  35863. - description: 用户类型
  35864. in: query
  35865. name: usertype
  35866. required: true
  35867. type: integer
  35868. - description: 市场id, 格式 1,2,3
  35869. in: query
  35870. name: marketids
  35871. type: string
  35872. - description: 商品id
  35873. in: query
  35874. name: goodsid
  35875. required: true
  35876. type: integer
  35877. - description: 买卖方向 0-买 1-卖
  35878. in: query
  35879. name: buyorsell
  35880. required: true
  35881. type: integer
  35882. produces:
  35883. - application/json
  35884. responses:
  35885. "200":
  35886. description: OK
  35887. schema:
  35888. items:
  35889. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35890. type: array
  35891. "500":
  35892. description: Internal Server Error
  35893. schema:
  35894. $ref: '#/definitions/app.Response'
  35895. security:
  35896. - ApiKeyAuth: []
  35897. summary: 查询掉期买卖大厅
  35898. tags:
  35899. - 天津麦顿
  35900. /Tjmd/QueryTjmdTransferApply:
  35901. get:
  35902. parameters:
  35903. - description: 类型 1-我的申请 2-对方申请
  35904. in: query
  35905. name: applytype
  35906. required: true
  35907. type: integer
  35908. - description: 市场id, 格式 1,2,3
  35909. in: query
  35910. name: marketids
  35911. type: string
  35912. - description: 资金账号, 格式 25000000001,25000000003
  35913. in: query
  35914. name: accountids
  35915. type: string
  35916. - description: 开始交易日(yyyymmdd)
  35917. in: query
  35918. name: begindate
  35919. type: string
  35920. - description: 结束交易日(yyyymmdd)
  35921. in: query
  35922. name: enddate
  35923. type: string
  35924. produces:
  35925. - application/json
  35926. responses:
  35927. "200":
  35928. description: OK
  35929. schema:
  35930. items:
  35931. $ref: '#/definitions/models.TjmdTransferApply'
  35932. type: array
  35933. "500":
  35934. description: Internal Server Error
  35935. schema:
  35936. $ref: '#/definitions/app.Response'
  35937. security:
  35938. - ApiKeyAuth: []
  35939. summary: 查询掉期协议单
  35940. tags:
  35941. - 天津麦顿
  35942. /Trade/QueryRecieptOrder:
  35943. get:
  35944. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35945. parameters:
  35946. - description: 页码
  35947. in: query
  35948. name: page
  35949. type: integer
  35950. - description: 每页条数
  35951. in: query
  35952. name: pagesize
  35953. type: integer
  35954. - description: 商品ID
  35955. in: query
  35956. name: goodsID
  35957. required: true
  35958. type: integer
  35959. - description: 所属账户名称
  35960. in: query
  35961. name: accountName
  35962. type: string
  35963. - description: 市场ID
  35964. in: query
  35965. name: marketID
  35966. type: integer
  35967. - description: 方向 - 0:买 1:卖
  35968. in: query
  35969. name: buyorsell
  35970. required: true
  35971. type: integer
  35972. produces:
  35973. - application/json
  35974. responses:
  35975. "200":
  35976. description: OK
  35977. schema:
  35978. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  35979. "500":
  35980. description: Internal Server Error
  35981. schema:
  35982. $ref: '#/definitions/app.Response'
  35983. security:
  35984. - ApiKeyAuth: []
  35985. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  35986. tags:
  35987. - 通用交易
  35988. /User/AddMessageBoard:
  35989. post:
  35990. parameters:
  35991. - description: 用户ID
  35992. in: query
  35993. name: userID
  35994. required: true
  35995. type: integer
  35996. - description: 留言信息
  35997. in: query
  35998. name: message
  35999. required: true
  36000. type: string
  36001. - description: 联系电话
  36002. in: query
  36003. name: contactNum
  36004. required: true
  36005. type: string
  36006. produces:
  36007. - application/json
  36008. responses:
  36009. "200":
  36010. description: OK
  36011. schema:
  36012. $ref: '#/definitions/app.Response'
  36013. "500":
  36014. description: Internal Server Error
  36015. schema:
  36016. $ref: '#/definitions/app.Response'
  36017. security:
  36018. - ApiKeyAuth: []
  36019. summary: 添加用户留言板信息
  36020. tags:
  36021. - 用户信息
  36022. /User/AddUserFavoriteGoods:
  36023. post:
  36024. parameters:
  36025. - description: 用户ID
  36026. in: query
  36027. name: userID
  36028. required: true
  36029. type: integer
  36030. - description: 商品ID
  36031. in: query
  36032. name: goodsID
  36033. required: true
  36034. type: integer
  36035. produces:
  36036. - application/json
  36037. responses:
  36038. "200":
  36039. description: OK
  36040. schema:
  36041. $ref: '#/definitions/app.Response'
  36042. "500":
  36043. description: Internal Server Error
  36044. schema:
  36045. $ref: '#/definitions/app.Response'
  36046. security:
  36047. - ApiKeyAuth: []
  36048. summary: 添加用户商品收藏信息
  36049. tags:
  36050. - 用户信息
  36051. /User/GetLoginID:
  36052. get:
  36053. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36054. parameters:
  36055. - description: 登录代码
  36056. in: query
  36057. name: username
  36058. required: true
  36059. type: string
  36060. produces:
  36061. - application/json
  36062. responses:
  36063. "200":
  36064. description: OK
  36065. schema:
  36066. $ref: '#/definitions/app.Response'
  36067. "500":
  36068. description: Internal Server Error
  36069. schema:
  36070. $ref: '#/definitions/app.Response'
  36071. summary: 获取登录ID
  36072. tags:
  36073. - 用户信息
  36074. /User/GetUserAccount:
  36075. get:
  36076. parameters:
  36077. - description: 用户ID
  36078. in: query
  36079. name: userID
  36080. required: true
  36081. type: integer
  36082. produces:
  36083. - application/json
  36084. responses:
  36085. "200":
  36086. description: OK
  36087. schema:
  36088. $ref: '#/definitions/models.Useraccount'
  36089. "500":
  36090. description: Internal Server Error
  36091. schema:
  36092. $ref: '#/definitions/app.Response'
  36093. security:
  36094. - ApiKeyAuth: []
  36095. summary: 获取用户账号信息
  36096. tags:
  36097. - 用户信息
  36098. /User/GetUserAuthStatus:
  36099. get:
  36100. parameters:
  36101. - description: 用户ID
  36102. in: query
  36103. name: userID
  36104. required: true
  36105. type: integer
  36106. produces:
  36107. - application/json
  36108. responses:
  36109. "200":
  36110. description: OK
  36111. schema:
  36112. $ref: '#/definitions/app.Response'
  36113. "500":
  36114. description: Internal Server Error
  36115. schema:
  36116. $ref: '#/definitions/app.Response'
  36117. security:
  36118. - ApiKeyAuth: []
  36119. summary: 获取用户实名认证状态
  36120. tags:
  36121. - 用户信息
  36122. /User/LoginQuery:
  36123. get:
  36124. parameters:
  36125. - description: 登录账号
  36126. in: query
  36127. name: loginID
  36128. required: true
  36129. type: integer
  36130. produces:
  36131. - application/json
  36132. responses:
  36133. "200":
  36134. description: OK
  36135. schema:
  36136. $ref: '#/definitions/user.LoginQueryRsp'
  36137. "500":
  36138. description: Internal Server Error
  36139. schema:
  36140. $ref: '#/definitions/app.Response'
  36141. security:
  36142. - ApiKeyAuth: []
  36143. summary: 账户登录后信息查询
  36144. tags:
  36145. - 用户信息
  36146. /User/QueryMessageBoard:
  36147. get:
  36148. parameters:
  36149. - description: 用户ID
  36150. in: query
  36151. name: userID
  36152. required: true
  36153. type: integer
  36154. produces:
  36155. - application/json
  36156. responses:
  36157. "200":
  36158. description: OK
  36159. schema:
  36160. $ref: '#/definitions/models.Messageboard'
  36161. "500":
  36162. description: Internal Server Error
  36163. schema:
  36164. $ref: '#/definitions/app.Response'
  36165. security:
  36166. - ApiKeyAuth: []
  36167. summary: 获取用户留言板信息
  36168. tags:
  36169. - 用户信息
  36170. /User/QueryUserFavoriteGoodses:
  36171. get:
  36172. parameters:
  36173. - description: 用户ID
  36174. in: query
  36175. name: userID
  36176. required: true
  36177. type: integer
  36178. produces:
  36179. - application/json
  36180. responses:
  36181. "200":
  36182. description: OK
  36183. schema:
  36184. $ref: '#/definitions/models.Userfavoritegoods'
  36185. "500":
  36186. description: Internal Server Error
  36187. schema:
  36188. $ref: '#/definitions/app.Response'
  36189. security:
  36190. - ApiKeyAuth: []
  36191. summary: 获取用户商品收藏信息
  36192. tags:
  36193. - 用户信息
  36194. /User/QueryUserInfo:
  36195. get:
  36196. parameters:
  36197. - description: 用户ID
  36198. in: query
  36199. name: userID
  36200. required: true
  36201. type: integer
  36202. - description: 是否解密
  36203. in: query
  36204. name: isDecrypt
  36205. type: boolean
  36206. produces:
  36207. - application/json
  36208. responses:
  36209. "200":
  36210. description: OK
  36211. schema:
  36212. $ref: '#/definitions/models.Userinfo'
  36213. "500":
  36214. description: Internal Server Error
  36215. schema:
  36216. $ref: '#/definitions/app.Response'
  36217. security:
  36218. - ApiKeyAuth: []
  36219. summary: 获取用户信息
  36220. tags:
  36221. - 用户信息
  36222. /User/QueryUserReferNum:
  36223. get:
  36224. parameters:
  36225. - description: 用户ID
  36226. in: query
  36227. name: userID
  36228. required: true
  36229. type: integer
  36230. produces:
  36231. - application/json
  36232. responses:
  36233. "200":
  36234. description: OK
  36235. schema:
  36236. $ref: '#/definitions/app.Response'
  36237. "500":
  36238. description: Internal Server Error
  36239. schema:
  36240. $ref: '#/definitions/app.Response'
  36241. summary: 获取用户邀请码
  36242. tags:
  36243. - 用户信息
  36244. /User/RemoveUserFavoriteGoods:
  36245. post:
  36246. parameters:
  36247. - description: 用户ID
  36248. in: query
  36249. name: userID
  36250. required: true
  36251. type: integer
  36252. - description: 商品ID
  36253. in: query
  36254. name: goodsID
  36255. required: true
  36256. type: integer
  36257. produces:
  36258. - application/json
  36259. responses:
  36260. "200":
  36261. description: OK
  36262. schema:
  36263. $ref: '#/definitions/app.Response'
  36264. "500":
  36265. description: Internal Server Error
  36266. schema:
  36267. $ref: '#/definitions/app.Response'
  36268. security:
  36269. - ApiKeyAuth: []
  36270. summary: 移除用户商品收藏信息
  36271. tags:
  36272. - 用户信息
  36273. /User/UpdateUserAccountStatus:
  36274. post:
  36275. parameters:
  36276. - description: 用户ID
  36277. in: query
  36278. name: userID
  36279. required: true
  36280. type: integer
  36281. - description: 账户状态 - 4:正常 6:注销(停用)
  36282. in: query
  36283. name: accountStatus
  36284. required: true
  36285. type: integer
  36286. produces:
  36287. - application/json
  36288. responses:
  36289. "200":
  36290. description: OK
  36291. schema:
  36292. $ref: '#/definitions/app.Response'
  36293. "500":
  36294. description: Internal Server Error
  36295. schema:
  36296. $ref: '#/definitions/app.Response'
  36297. security:
  36298. - ApiKeyAuth: []
  36299. summary: 更新用户状态
  36300. tags:
  36301. - 用户信息
  36302. /WRTrade/GetAllDeliveryGoods:
  36303. get:
  36304. produces:
  36305. - application/json
  36306. responses:
  36307. "200":
  36308. description: OK
  36309. schema:
  36310. $ref: '#/definitions/app.Response'
  36311. "500":
  36312. description: Internal Server Error
  36313. schema:
  36314. $ref: '#/definitions/app.Response'
  36315. security:
  36316. - ApiKeyAuth: []
  36317. summary: 获取带仓单分类的种类信息
  36318. tags:
  36319. - 仓单贸易
  36320. - 仓单贸易
  36321. /WrTrade2/InsertXhcpSellBackApply:
  36322. post:
  36323. parameters:
  36324. - description: 回收申请
  36325. in: body
  36326. name: jsonBody
  36327. required: true
  36328. schema:
  36329. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36330. produces:
  36331. - application/json
  36332. responses:
  36333. "200":
  36334. description: OK
  36335. schema:
  36336. $ref: '#/definitions/app.Response'
  36337. "500":
  36338. description: Internal Server Error
  36339. schema:
  36340. $ref: '#/definitions/app.Response'
  36341. security:
  36342. - ApiKeyAuth: []
  36343. summary: 新增回收申请(新会陈皮)
  36344. tags:
  36345. - 仓单贸易v2
  36346. /WrTrade2/QueryDeliveryGoodsSection:
  36347. get:
  36348. produces:
  36349. - application/json
  36350. responses:
  36351. "200":
  36352. description: OK
  36353. schema:
  36354. items:
  36355. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36356. type: array
  36357. "500":
  36358. description: Internal Server Error
  36359. schema:
  36360. $ref: '#/definitions/app.Response'
  36361. security:
  36362. - ApiKeyAuth: []
  36363. summary: 查询板块(分类)
  36364. tags:
  36365. - 仓单贸易v2
  36366. /WrTrade2/QueryFaProductDetail:
  36367. get:
  36368. description: 页面 买卖大厅 -> 选择融资方案
  36369. parameters:
  36370. - description: 仓单要素id
  36371. in: query
  36372. name: wrfactortypeid
  36373. required: true
  36374. type: integer
  36375. produces:
  36376. - application/json
  36377. responses:
  36378. "200":
  36379. description: OK
  36380. schema:
  36381. items:
  36382. $ref: '#/definitions/models.WrFAProductDetail'
  36383. type: array
  36384. "500":
  36385. description: Internal Server Error
  36386. schema:
  36387. $ref: '#/definitions/app.Response'
  36388. security:
  36389. - ApiKeyAuth: []
  36390. summary: 查询融资产品列表
  36391. tags:
  36392. - 仓单贸易v2
  36393. /WrTrade2/QueryFilterItem:
  36394. get:
  36395. parameters:
  36396. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36397. in: query
  36398. name: itype
  36399. required: true
  36400. type: string
  36401. produces:
  36402. - application/json
  36403. responses:
  36404. "200":
  36405. description: OK
  36406. schema:
  36407. items:
  36408. $ref: '#/definitions/models.WrFilterItem'
  36409. type: array
  36410. "500":
  36411. description: Internal Server Error
  36412. schema:
  36413. $ref: '#/definitions/app.Response'
  36414. security:
  36415. - ApiKeyAuth: []
  36416. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36417. tags:
  36418. - 仓单贸易v2
  36419. /WrTrade2/QueryFtDeliveryGoods:
  36420. get:
  36421. produces:
  36422. - application/json
  36423. responses:
  36424. "200":
  36425. description: OK
  36426. schema:
  36427. items:
  36428. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36429. type: array
  36430. "500":
  36431. description: Internal Server Error
  36432. schema:
  36433. $ref: '#/definitions/app.Response'
  36434. security:
  36435. - ApiKeyAuth: []
  36436. summary: 查询品种品类筛选框列表
  36437. tags:
  36438. - 仓单贸易v2
  36439. /WrTrade2/QueryHoldLB:
  36440. get:
  36441. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36442. parameters:
  36443. - description: 资金账号
  36444. in: query
  36445. name: accountid
  36446. required: true
  36447. type: integer
  36448. - description: 仓库id
  36449. in: query
  36450. name: warehouseid
  36451. type: integer
  36452. - description: 品种id
  36453. in: query
  36454. name: deliverygoodsid
  36455. type: integer
  36456. - description: 品类id
  36457. in: query
  36458. name: wrstandardid
  36459. type: integer
  36460. - description: 仓单要素id
  36461. in: query
  36462. name: wrfactortypeid
  36463. type: integer
  36464. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36465. in: query
  36466. name: dgitemname
  36467. type: string
  36468. produces:
  36469. - application/json
  36470. responses:
  36471. "200":
  36472. description: OK
  36473. schema:
  36474. items:
  36475. $ref: '#/definitions/models.WrHoldLB'
  36476. type: array
  36477. "500":
  36478. description: Internal Server Error
  36479. schema:
  36480. $ref: '#/definitions/app.Response'
  36481. security:
  36482. - ApiKeyAuth: []
  36483. summary: 查询仓单持有记录
  36484. tags:
  36485. - 仓单贸易v2
  36486. /WrTrade2/QueryOrderQuote:
  36487. get:
  36488. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36489. 唯一确定1条记录
  36490. parameters:
  36491. - description: 页码
  36492. in: query
  36493. name: page
  36494. type: integer
  36495. - description: 每页条数
  36496. in: query
  36497. name: pagesize
  36498. type: integer
  36499. - description: 仓单贸易市场id
  36500. in: query
  36501. name: marketid
  36502. type: integer
  36503. - description: 价格方式 - 1:固定价 2-浮动价
  36504. in: query
  36505. name: wrpricetype
  36506. required: true
  36507. type: integer
  36508. - description: 0:仓单预售 1:仓单贸易
  36509. in: query
  36510. name: haswr
  36511. type: integer
  36512. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36513. in: query
  36514. name: dgitemname
  36515. type: string
  36516. - description: 仓库id(筛选条件)
  36517. in: query
  36518. name: warehouseid
  36519. type: integer
  36520. - description: 品种id
  36521. in: query
  36522. name: deliverygoodsid
  36523. type: integer
  36524. - description: 品类id
  36525. in: query
  36526. name: wrstandardid
  36527. type: integer
  36528. - description: 品牌id(dgfactoryitemid)
  36529. in: query
  36530. name: brandid
  36531. type: integer
  36532. - description: 年份id(dgfactoryitemid)
  36533. in: query
  36534. name: yearsid
  36535. type: integer
  36536. - description: 仓单要素id
  36537. in: query
  36538. name: wrfactortypeid
  36539. type: integer
  36540. - description: 交收月(yyyy-mm) 仓单预售填写
  36541. in: query
  36542. name: deliverymonth
  36543. type: string
  36544. produces:
  36545. - application/json
  36546. responses:
  36547. "200":
  36548. description: OK
  36549. schema:
  36550. items:
  36551. $ref: '#/definitions/models.WrOrderQuote'
  36552. type: array
  36553. "500":
  36554. description: Internal Server Error
  36555. schema:
  36556. $ref: '#/definitions/app.Response'
  36557. security:
  36558. - ApiKeyAuth: []
  36559. summary: 查询大厅行情列表
  36560. tags:
  36561. - 仓单贸易v2
  36562. /WrTrade2/QueryOrderQuoteDetail:
  36563. get:
  36564. parameters:
  36565. - description: 页码
  36566. in: query
  36567. name: page
  36568. type: integer
  36569. - description: 每页条数
  36570. in: query
  36571. name: pagesize
  36572. type: integer
  36573. - description: 仓单贸易市场id
  36574. in: query
  36575. name: marketid
  36576. type: integer
  36577. - description: 价格方式 - 1:固定价 2-浮动价
  36578. in: query
  36579. name: wrpricetype
  36580. required: true
  36581. type: integer
  36582. - description: 0:仓单预售 1:仓单贸易
  36583. in: query
  36584. name: haswr
  36585. type: integer
  36586. - description: 仓单要素id
  36587. in: query
  36588. name: wrfactortypeid
  36589. required: true
  36590. type: integer
  36591. - description: 期货商品id(浮动价方式时填)
  36592. in: query
  36593. name: goodsid
  36594. type: integer
  36595. - description: 买卖方向 0-买 1-卖
  36596. in: query
  36597. name: buyorsell
  36598. required: true
  36599. type: integer
  36600. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36601. in: query
  36602. name: deliverymonth
  36603. type: string
  36604. produces:
  36605. - application/json
  36606. responses:
  36607. "200":
  36608. description: OK
  36609. schema:
  36610. items:
  36611. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36612. type: array
  36613. "500":
  36614. description: Internal Server Error
  36615. schema:
  36616. $ref: '#/definitions/app.Response'
  36617. security:
  36618. - ApiKeyAuth: []
  36619. summary: 查询买卖大厅
  36620. tags:
  36621. - 仓单贸易v2
  36622. /WrTrade2/QueryOrderQuoteMyq:
  36623. get:
  36624. parameters:
  36625. - description: 页码
  36626. in: query
  36627. name: page
  36628. type: integer
  36629. - description: 每页条数
  36630. in: query
  36631. name: pagesize
  36632. type: integer
  36633. - description: 用户id
  36634. in: query
  36635. name: userid
  36636. required: true
  36637. type: integer
  36638. - description: 仓单贸易市场id
  36639. in: query
  36640. name: marketid
  36641. type: integer
  36642. - description: 0:仓单预售 1:仓单贸易
  36643. in: query
  36644. name: haswr
  36645. type: integer
  36646. - description: 买卖方向 0-买 1-卖
  36647. in: query
  36648. name: buyorsell
  36649. required: true
  36650. type: integer
  36651. - description: 品种id
  36652. in: query
  36653. name: deliverygoodsid
  36654. type: integer
  36655. - description: 品类id
  36656. in: query
  36657. name: wrstandardid
  36658. type: integer
  36659. - description: 交收月(yyyy-mm) 仓单预售填写
  36660. in: query
  36661. name: deliverymonth
  36662. type: string
  36663. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36664. in: query
  36665. name: dgitemname
  36666. type: string
  36667. produces:
  36668. - application/json
  36669. responses:
  36670. "200":
  36671. description: OK
  36672. schema:
  36673. items:
  36674. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36675. type: array
  36676. "500":
  36677. description: Internal Server Error
  36678. schema:
  36679. $ref: '#/definitions/app.Response'
  36680. security:
  36681. - ApiKeyAuth: []
  36682. summary: 查询贸易圈挂牌大厅
  36683. tags:
  36684. - 仓单贸易v2
  36685. /WrTrade2/QueryPerformancePlan:
  36686. get:
  36687. parameters:
  36688. - description: 用户id
  36689. in: query
  36690. name: userid
  36691. required: true
  36692. type: integer
  36693. - description: 买卖方向 0-买 1-卖
  36694. in: query
  36695. name: buyorsell
  36696. required: true
  36697. type: integer
  36698. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36699. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36700. in: query
  36701. name: status
  36702. type: string
  36703. - description: 开始交易日(yyyymmdd)
  36704. in: query
  36705. name: begindate
  36706. type: string
  36707. - description: 结束交易日(yyyymmdd)
  36708. in: query
  36709. name: enddate
  36710. type: string
  36711. produces:
  36712. - application/json
  36713. responses:
  36714. "200":
  36715. description: OK
  36716. schema:
  36717. items:
  36718. $ref: '#/definitions/models.WrPerformancePlan'
  36719. type: array
  36720. "500":
  36721. description: Internal Server Error
  36722. schema:
  36723. $ref: '#/definitions/app.Response'
  36724. security:
  36725. - ApiKeyAuth: []
  36726. summary: 查询履约信息
  36727. tags:
  36728. - 仓单贸易v2
  36729. /WrTrade2/QueryPermancePlanTmp:
  36730. get:
  36731. description: |-
  36732. 返回指定用户的模板和公共模板(用户id为空)
  36733. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36734. parameters:
  36735. - description: 用户id
  36736. in: query
  36737. name: userid
  36738. type: integer
  36739. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36740. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36741. in: query
  36742. name: tmptype
  36743. type: string
  36744. - description: 是否包含公共模板(用户id为空的) 1-包含
  36745. in: query
  36746. name: includepub
  36747. type: integer
  36748. - description: 市场id(天津麦顿指定此参数,其它不用)
  36749. in: query
  36750. name: marketid
  36751. type: integer
  36752. produces:
  36753. - application/json
  36754. responses:
  36755. "200":
  36756. description: OK
  36757. schema:
  36758. items:
  36759. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36760. type: array
  36761. "500":
  36762. description: Internal Server Error
  36763. schema:
  36764. $ref: '#/definitions/app.Response'
  36765. security:
  36766. - ApiKeyAuth: []
  36767. summary: 查询履约模板
  36768. tags:
  36769. - 仓单贸易v2
  36770. /WrTrade2/QuerySiteColumnConfig:
  36771. get:
  36772. parameters:
  36773. - description: 页码
  36774. in: query
  36775. name: page
  36776. type: integer
  36777. - description: 每页条数
  36778. in: query
  36779. name: pagesize
  36780. type: integer
  36781. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36782. in: query
  36783. name: columntype
  36784. type: integer
  36785. produces:
  36786. - application/json
  36787. responses:
  36788. "200":
  36789. description: OK
  36790. schema:
  36791. items:
  36792. $ref: '#/definitions/models.Sitecolumnconfig'
  36793. type: array
  36794. "500":
  36795. description: Internal Server Error
  36796. schema:
  36797. $ref: '#/definitions/app.Response'
  36798. security:
  36799. - ApiKeyAuth: []
  36800. summary: 查询资讯栏目配置
  36801. tags:
  36802. - 仓单贸易v2
  36803. /WrTrade2/QuerySiteColumnDetail:
  36804. get:
  36805. parameters:
  36806. - description: 页码
  36807. in: query
  36808. name: page
  36809. type: integer
  36810. - description: 每页条数
  36811. in: query
  36812. name: pagesize
  36813. type: integer
  36814. - description: 所属栏目id
  36815. in: query
  36816. name: columnid
  36817. type: integer
  36818. produces:
  36819. - application/json
  36820. responses:
  36821. "200":
  36822. description: OK
  36823. schema:
  36824. items:
  36825. $ref: '#/definitions/models.WrSiteColumnDetail'
  36826. type: array
  36827. "500":
  36828. description: Internal Server Error
  36829. schema:
  36830. $ref: '#/definitions/app.Response'
  36831. security:
  36832. - ApiKeyAuth: []
  36833. summary: 查询资讯
  36834. tags:
  36835. - 仓单贸易v2
  36836. /WrTrade2/QuerySpotGroupTradeSum:
  36837. get:
  36838. produces:
  36839. - application/json
  36840. responses:
  36841. "200":
  36842. description: OK
  36843. schema:
  36844. items:
  36845. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36846. type: array
  36847. "500":
  36848. description: Internal Server Error
  36849. schema:
  36850. $ref: '#/definitions/app.Response'
  36851. security:
  36852. - ApiKeyAuth: []
  36853. summary: 查询指数
  36854. tags:
  36855. - 仓单贸易v2
  36856. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36857. get:
  36858. description: 查询的结果将会按日期 从小到大 排序
  36859. parameters:
  36860. - description: 现货商品id
  36861. in: query
  36862. name: deliverygoodsid
  36863. required: true
  36864. type: integer
  36865. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36866. in: query
  36867. name: lastnum
  36868. type: integer
  36869. produces:
  36870. - application/json
  36871. responses:
  36872. "200":
  36873. description: OK
  36874. schema:
  36875. items:
  36876. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36877. type: array
  36878. "500":
  36879. description: Internal Server Error
  36880. schema:
  36881. $ref: '#/definitions/app.Response'
  36882. security:
  36883. - ApiKeyAuth: []
  36884. summary: 查询指数详细(价格走势图)
  36885. tags:
  36886. - 仓单贸易v2
  36887. /WrTrade2/QueryWrAverageTradePrice:
  36888. get:
  36889. parameters:
  36890. - description: 页码
  36891. in: query
  36892. name: page
  36893. type: integer
  36894. - description: 每页条数
  36895. in: query
  36896. name: pagesize
  36897. type: integer
  36898. - description: 0:仓单预售 1:仓单贸易
  36899. in: query
  36900. name: haswr
  36901. required: true
  36902. type: integer
  36903. - description: 仓单要素id
  36904. in: query
  36905. name: wrfactortypeid
  36906. required: true
  36907. type: integer
  36908. produces:
  36909. - application/json
  36910. responses:
  36911. "200":
  36912. description: OK
  36913. schema:
  36914. items:
  36915. $ref: '#/definitions/models.WrAverageTradePrice'
  36916. type: array
  36917. "500":
  36918. description: Internal Server Error
  36919. schema:
  36920. $ref: '#/definitions/app.Response'
  36921. security:
  36922. - ApiKeyAuth: []
  36923. summary: 查询成交价(历史走势)
  36924. tags:
  36925. - 仓单贸易v2
  36926. /WrTrade2/QueryWrBrandAndYears:
  36927. get:
  36928. produces:
  36929. - application/json
  36930. responses:
  36931. "200":
  36932. description: OK
  36933. schema:
  36934. items:
  36935. $ref: '#/definitions/models.WrBrandAndYears'
  36936. type: array
  36937. "500":
  36938. description: Internal Server Error
  36939. schema:
  36940. $ref: '#/definitions/app.Response'
  36941. security:
  36942. - ApiKeyAuth: []
  36943. summary: 查询品牌和年份
  36944. tags:
  36945. - 仓单贸易v2
  36946. /WrTrade2/QueryWrBsGoodsInfo:
  36947. get:
  36948. description: 合约交易/买卖大厅/详情
  36949. parameters:
  36950. - description: 商品id
  36951. in: query
  36952. name: goodsid
  36953. required: true
  36954. type: integer
  36955. produces:
  36956. - application/json
  36957. responses:
  36958. "200":
  36959. description: OK
  36960. schema:
  36961. items:
  36962. $ref: '#/definitions/models.WrBsGoodsInfo'
  36963. type: array
  36964. "500":
  36965. description: Internal Server Error
  36966. schema:
  36967. $ref: '#/definitions/app.Response'
  36968. security:
  36969. - ApiKeyAuth: []
  36970. summary: 查询合约交易买卖大厅详情
  36971. tags:
  36972. - 仓单贸易v2
  36973. /WrTrade2/QueryWrBuybackDetail:
  36974. get:
  36975. parameters:
  36976. - description: 融资合同id
  36977. in: query
  36978. name: scfcontractid
  36979. type: integer
  36980. produces:
  36981. - application/json
  36982. responses:
  36983. "200":
  36984. description: OK
  36985. schema:
  36986. items:
  36987. $ref: '#/definitions/models.WrBuybackDetail'
  36988. type: array
  36989. "500":
  36990. description: Internal Server Error
  36991. schema:
  36992. $ref: '#/definitions/app.Response'
  36993. security:
  36994. - ApiKeyAuth: []
  36995. summary: 查询仓单回购明细
  36996. tags:
  36997. - 仓单贸易v2
  36998. /WrTrade2/QueryWrClientAdSpaceConfig:
  36999. get:
  37000. produces:
  37001. - application/json
  37002. responses:
  37003. "200":
  37004. description: OK
  37005. schema:
  37006. items:
  37007. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  37008. type: array
  37009. "500":
  37010. description: Internal Server Error
  37011. schema:
  37012. $ref: '#/definitions/app.Response'
  37013. security:
  37014. - ApiKeyAuth: []
  37015. summary: 查询固定广告配置
  37016. tags:
  37017. - 仓单贸易v2
  37018. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37019. get:
  37020. parameters:
  37021. - description: 资金账号
  37022. in: query
  37023. name: accountid
  37024. required: true
  37025. type: integer
  37026. - description: 商品id
  37027. in: query
  37028. name: goodsid
  37029. required: true
  37030. type: integer
  37031. produces:
  37032. - application/json
  37033. responses:
  37034. "200":
  37035. description: OK
  37036. schema:
  37037. items:
  37038. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37039. type: array
  37040. "500":
  37041. description: Internal Server Error
  37042. schema:
  37043. $ref: '#/definitions/app.Response'
  37044. security:
  37045. - ApiKeyAuth: []
  37046. summary: 查询合约交收可点选仓单
  37047. tags:
  37048. - 仓单贸易v2
  37049. /WrTrade2/QueryWrDeliveryDetail:
  37050. get:
  37051. parameters:
  37052. - description: 用户id
  37053. in: query
  37054. name: userid
  37055. required: true
  37056. type: integer
  37057. - description: 资金账号id
  37058. in: query
  37059. name: accountid
  37060. type: integer
  37061. - description: 开始交易日(yyyymmdd)
  37062. in: query
  37063. name: begindate
  37064. type: string
  37065. - description: 结束交易日(yyyymmdd)
  37066. in: query
  37067. name: enddate
  37068. type: string
  37069. produces:
  37070. - application/json
  37071. responses:
  37072. "200":
  37073. description: OK
  37074. schema:
  37075. items:
  37076. $ref: '#/definitions/models.WrDeliveryDetail'
  37077. type: array
  37078. "500":
  37079. description: Internal Server Error
  37080. schema:
  37081. $ref: '#/definitions/app.Response'
  37082. security:
  37083. - ApiKeyAuth: []
  37084. summary: 查询交收
  37085. tags:
  37086. - 仓单贸易v2
  37087. /WrTrade2/QueryWrDraftUserInfo:
  37088. get:
  37089. parameters:
  37090. - description: 用户ID
  37091. in: query
  37092. name: userid
  37093. required: true
  37094. type: integer
  37095. - description: 用户状态 1:正常 2:注销
  37096. in: query
  37097. name: userstatus
  37098. type: integer
  37099. produces:
  37100. - application/json
  37101. responses:
  37102. "200":
  37103. description: OK
  37104. schema:
  37105. items:
  37106. $ref: '#/definitions/models.WrDraftUserInfo'
  37107. type: array
  37108. "500":
  37109. description: Internal Server Error
  37110. schema:
  37111. $ref: '#/definitions/app.Response'
  37112. security:
  37113. - ApiKeyAuth: []
  37114. summary: 查询实名认证信息
  37115. tags:
  37116. - 仓单贸易v2
  37117. /WrTrade2/QueryWrFactorTypeInfo:
  37118. get:
  37119. parameters:
  37120. - description: 仓单要素id
  37121. in: query
  37122. name: wrfactortypeid
  37123. required: true
  37124. type: integer
  37125. produces:
  37126. - application/json
  37127. responses:
  37128. "200":
  37129. description: OK
  37130. schema:
  37131. items:
  37132. $ref: '#/definitions/models.WrFactorTypeInfo'
  37133. type: array
  37134. "500":
  37135. description: Internal Server Error
  37136. schema:
  37137. $ref: '#/definitions/app.Response'
  37138. security:
  37139. - ApiKeyAuth: []
  37140. summary: 查询仓单要素详细信息
  37141. tags:
  37142. - 仓单贸易v2
  37143. /WrTrade2/QueryWrFactorTypeInfoEx:
  37144. get:
  37145. parameters:
  37146. - description: 仓单要素id
  37147. in: query
  37148. name: wrfactortypeid
  37149. required: true
  37150. type: integer
  37151. produces:
  37152. - application/json
  37153. responses:
  37154. "200":
  37155. description: OK
  37156. schema:
  37157. items:
  37158. $ref: '#/definitions/models.WrTypeItem'
  37159. type: array
  37160. "500":
  37161. description: Internal Server Error
  37162. schema:
  37163. $ref: '#/definitions/app.Response'
  37164. security:
  37165. - ApiKeyAuth: []
  37166. summary: 查询仓单要素详细信息列表项
  37167. tags:
  37168. - 仓单贸易v2
  37169. /WrTrade2/QueryWrFinanceBuyApply:
  37170. get:
  37171. description: 页面 融资信息+ / 申请单
  37172. parameters:
  37173. - description: 用户id
  37174. in: query
  37175. name: userid
  37176. required: true
  37177. type: integer
  37178. produces:
  37179. - application/json
  37180. responses:
  37181. "200":
  37182. description: OK
  37183. schema:
  37184. items:
  37185. $ref: '#/definitions/models.WrFinanceBuyApply'
  37186. type: array
  37187. "500":
  37188. description: Internal Server Error
  37189. schema:
  37190. $ref: '#/definitions/app.Response'
  37191. security:
  37192. - ApiKeyAuth: []
  37193. summary: 查询融资购买申请
  37194. tags:
  37195. - 仓单贸易v2
  37196. /WrTrade2/QueryWrFriendApply:
  37197. get:
  37198. parameters:
  37199. - description: 用户id
  37200. in: query
  37201. name: userid
  37202. required: true
  37203. type: integer
  37204. produces:
  37205. - application/json
  37206. responses:
  37207. "200":
  37208. description: OK
  37209. schema:
  37210. items:
  37211. $ref: '#/definitions/models.WrFriendApply'
  37212. type: array
  37213. "500":
  37214. description: Internal Server Error
  37215. schema:
  37216. $ref: '#/definitions/app.Response'
  37217. security:
  37218. - ApiKeyAuth: []
  37219. summary: 查询好友申请记录
  37220. tags:
  37221. - 仓单贸易v2
  37222. /WrTrade2/QueryWrGoodsInfo:
  37223. get:
  37224. parameters:
  37225. - description: 仓单贸易市场id
  37226. in: query
  37227. name: marketid
  37228. type: integer
  37229. - description: 0:仓单预售 1:仓单贸易
  37230. in: query
  37231. name: haswr
  37232. required: true
  37233. type: integer
  37234. - description: 仓单要素id
  37235. in: query
  37236. name: wrfactortypeid
  37237. required: true
  37238. type: integer
  37239. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37240. in: query
  37241. name: tmplateid
  37242. type: integer
  37243. produces:
  37244. - application/json
  37245. responses:
  37246. "200":
  37247. description: OK
  37248. schema:
  37249. items:
  37250. $ref: '#/definitions/models.WrGoodsInfo'
  37251. type: array
  37252. "500":
  37253. description: Internal Server Error
  37254. schema:
  37255. $ref: '#/definitions/app.Response'
  37256. security:
  37257. - ApiKeyAuth: []
  37258. summary: 查询仓单商品信息
  37259. tags:
  37260. - 仓单贸易v2
  37261. /WrTrade2/QueryWrMarketTradeConfig:
  37262. get:
  37263. parameters:
  37264. - description: 市场id
  37265. in: query
  37266. name: marketid
  37267. type: integer
  37268. produces:
  37269. - application/json
  37270. responses:
  37271. "200":
  37272. description: OK
  37273. schema:
  37274. items:
  37275. $ref: '#/definitions/models.WrMarketTradeConfig'
  37276. type: array
  37277. "500":
  37278. description: Internal Server Error
  37279. schema:
  37280. $ref: '#/definitions/app.Response'
  37281. security:
  37282. - ApiKeyAuth: []
  37283. summary: 查询市场交易参数配置
  37284. tags:
  37285. - 仓单贸易v2
  37286. /WrTrade2/QueryWrOrderDetail:
  37287. get:
  37288. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37289. parameters:
  37290. - description: 页码
  37291. in: query
  37292. name: page
  37293. type: integer
  37294. - description: 每页条数
  37295. in: query
  37296. name: pagesize
  37297. type: integer
  37298. - description: 用户id
  37299. in: query
  37300. name: userid
  37301. required: true
  37302. type: integer
  37303. - description: 仓单贸易市场id
  37304. in: query
  37305. name: marketid
  37306. type: integer
  37307. - description: 0:仓单预售 1:仓单贸易
  37308. in: query
  37309. name: haswr
  37310. required: true
  37311. type: integer
  37312. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37313. in: query
  37314. name: bcancel
  37315. type: integer
  37316. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37317. in: query
  37318. name: wrtradetype
  37319. type: integer
  37320. - description: 开始交易日(yyyymmdd)
  37321. in: query
  37322. name: begindate
  37323. type: string
  37324. - description: 结束交易日(yyyymmdd)
  37325. in: query
  37326. name: enddate
  37327. type: string
  37328. produces:
  37329. - application/json
  37330. responses:
  37331. "200":
  37332. description: OK
  37333. schema:
  37334. items:
  37335. $ref: '#/definitions/models.WrOrderDetail'
  37336. type: array
  37337. "500":
  37338. description: Internal Server Error
  37339. schema:
  37340. $ref: '#/definitions/app.Response'
  37341. security:
  37342. - ApiKeyAuth: []
  37343. summary: 查询仓单委托单
  37344. tags:
  37345. - 仓单贸易v2
  37346. /WrTrade2/QueryWrOutInApply:
  37347. get:
  37348. parameters:
  37349. - description: 页码
  37350. in: query
  37351. name: page
  37352. type: integer
  37353. - description: 每页条数
  37354. in: query
  37355. name: pagesize
  37356. type: integer
  37357. - description: 用户id
  37358. in: query
  37359. name: userid
  37360. required: true
  37361. type: integer
  37362. - description: 开始交易日(yyyymmdd)
  37363. in: query
  37364. name: begindate
  37365. type: string
  37366. - description: 结束交易日(yyyymmdd)
  37367. in: query
  37368. name: enddate
  37369. type: string
  37370. produces:
  37371. - application/json
  37372. responses:
  37373. "200":
  37374. description: OK
  37375. schema:
  37376. items:
  37377. $ref: '#/definitions/models.WrOutInApply'
  37378. type: array
  37379. "500":
  37380. description: Internal Server Error
  37381. schema:
  37382. $ref: '#/definitions/app.Response'
  37383. security:
  37384. - ApiKeyAuth: []
  37385. summary: 查询提货申请
  37386. tags:
  37387. - 仓单贸易v2
  37388. /WrTrade2/QueryWrPerformancePlanStep:
  37389. get:
  37390. parameters:
  37391. - description: 履约计划id(performanceplanid)
  37392. in: query
  37393. name: planid
  37394. required: true
  37395. type: integer
  37396. - description: 当前步骤id
  37397. in: query
  37398. name: curstepid
  37399. type: integer
  37400. produces:
  37401. - application/json
  37402. responses:
  37403. "200":
  37404. description: OK
  37405. schema:
  37406. items:
  37407. $ref: '#/definitions/models.WrPerformancePlanStep'
  37408. type: array
  37409. "500":
  37410. description: Internal Server Error
  37411. schema:
  37412. $ref: '#/definitions/app.Response'
  37413. security:
  37414. - ApiKeyAuth: []
  37415. summary: 查询履约信息详情
  37416. tags:
  37417. - 仓单贸易v2
  37418. /WrTrade2/QueryWrPerformanceStepType:
  37419. get:
  37420. produces:
  37421. - application/json
  37422. responses:
  37423. "200":
  37424. description: OK
  37425. schema:
  37426. items:
  37427. $ref: '#/definitions/models.WrPerformanceStepType'
  37428. type: array
  37429. "500":
  37430. description: Internal Server Error
  37431. schema:
  37432. $ref: '#/definitions/app.Response'
  37433. security:
  37434. - ApiKeyAuth: []
  37435. summary: 查询履约步骤枚举
  37436. tags:
  37437. - 仓单贸易v2
  37438. /WrTrade2/QueryWrPosition:
  37439. get:
  37440. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37441. parameters:
  37442. - description: 用户id
  37443. in: query
  37444. name: userid
  37445. required: true
  37446. type: integer
  37447. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37448. in: query
  37449. name: querytype
  37450. required: true
  37451. type: integer
  37452. - description: 0:仓单预售 1:仓单贸易
  37453. in: query
  37454. name: haswr
  37455. required: true
  37456. type: integer
  37457. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37458. in: query
  37459. name: dgitemname
  37460. type: string
  37461. - description: 仓库id(筛选条件)
  37462. in: query
  37463. name: warehouseid
  37464. type: integer
  37465. - description: 品种id
  37466. in: query
  37467. name: deliverygoodsid
  37468. type: integer
  37469. - description: 品类id
  37470. in: query
  37471. name: wrstandardid
  37472. type: integer
  37473. produces:
  37474. - application/json
  37475. responses:
  37476. "200":
  37477. description: OK
  37478. schema:
  37479. items:
  37480. $ref: '#/definitions/models.WrPosition'
  37481. type: array
  37482. "500":
  37483. description: Internal Server Error
  37484. schema:
  37485. $ref: '#/definitions/app.Response'
  37486. security:
  37487. - ApiKeyAuth: []
  37488. summary: 查询现货(预售)仓单持仓
  37489. tags:
  37490. - 仓单贸易v2
  37491. /WrTrade2/QueryWrPreSaleInfo:
  37492. get:
  37493. parameters:
  37494. - description: 市场id
  37495. in: query
  37496. name: marketid
  37497. type: integer
  37498. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37499. in: query
  37500. name: presalestatus
  37501. type: string
  37502. - description: 摇号标识 - 0:未摇号 1:已摇号
  37503. in: query
  37504. name: lotteryflag
  37505. type: integer
  37506. - description: 最近多少条记录(按创建时间倒序)
  37507. in: query
  37508. name: lastnum
  37509. type: integer
  37510. produces:
  37511. - application/json
  37512. responses:
  37513. "200":
  37514. description: OK
  37515. schema:
  37516. items:
  37517. $ref: '#/definitions/models.WrPreSaleInfo'
  37518. type: array
  37519. "500":
  37520. description: Internal Server Error
  37521. schema:
  37522. $ref: '#/definitions/app.Response'
  37523. security:
  37524. - ApiKeyAuth: []
  37525. summary: 查询新品发布
  37526. tags:
  37527. - 仓单贸易v2
  37528. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37529. get:
  37530. parameters:
  37531. - description: 市场id
  37532. in: query
  37533. name: marketid
  37534. required: true
  37535. type: integer
  37536. - description: 现货商品id
  37537. in: query
  37538. name: wrstandardid
  37539. required: true
  37540. type: integer
  37541. - description: 开始交易日(yyyymmdd)
  37542. in: query
  37543. name: begindate
  37544. type: string
  37545. - description: 结束交易日(yyyymmdd)
  37546. in: query
  37547. name: enddate
  37548. type: string
  37549. - description: 最近多少条记录(按交易日倒序)
  37550. in: query
  37551. name: lastnum
  37552. type: integer
  37553. - description: 是否今日
  37554. in: query
  37555. name: istoday
  37556. type: boolean
  37557. produces:
  37558. - application/json
  37559. responses:
  37560. "200":
  37561. description: OK
  37562. schema:
  37563. items:
  37564. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37565. type: array
  37566. "500":
  37567. description: Internal Server Error
  37568. schema:
  37569. $ref: '#/definitions/app.Response'
  37570. security:
  37571. - ApiKeyAuth: []
  37572. summary: 查询价格走势
  37573. tags:
  37574. - 仓单贸易v2
  37575. /WrTrade2/QueryWrScfContract:
  37576. get:
  37577. parameters:
  37578. - description: 用户id
  37579. in: query
  37580. name: userid
  37581. required: true
  37582. type: integer
  37583. - description: 融资合同id
  37584. in: query
  37585. name: scfcontractid
  37586. type: integer
  37587. produces:
  37588. - application/json
  37589. responses:
  37590. "200":
  37591. description: OK
  37592. schema:
  37593. items:
  37594. $ref: '#/definitions/models.WrScfContract'
  37595. type: array
  37596. "500":
  37597. description: Internal Server Error
  37598. schema:
  37599. $ref: '#/definitions/app.Response'
  37600. security:
  37601. - ApiKeyAuth: []
  37602. summary: 查询仓单贸易融资合同
  37603. tags:
  37604. - 仓单贸易v2
  37605. /WrTrade2/QueryWrScfContractInterest:
  37606. get:
  37607. parameters:
  37608. - description: 融资合同id
  37609. in: query
  37610. name: scfcontractid
  37611. type: integer
  37612. produces:
  37613. - application/json
  37614. responses:
  37615. "200":
  37616. description: OK
  37617. schema:
  37618. items:
  37619. $ref: '#/definitions/models.WrScfContractInterest'
  37620. type: array
  37621. "500":
  37622. description: Internal Server Error
  37623. schema:
  37624. $ref: '#/definitions/app.Response'
  37625. security:
  37626. - ApiKeyAuth: []
  37627. summary: 查询融资合同费用明细
  37628. tags:
  37629. - 仓单贸易v2
  37630. /WrTrade2/QueryWrSearchUser:
  37631. get:
  37632. parameters:
  37633. - description: 用户名称(模糊匹配)
  37634. in: query
  37635. name: username
  37636. required: true
  37637. type: string
  37638. produces:
  37639. - application/json
  37640. responses:
  37641. "200":
  37642. description: OK
  37643. schema:
  37644. items:
  37645. $ref: '#/definitions/models.WrSearchUser'
  37646. type: array
  37647. "500":
  37648. description: Internal Server Error
  37649. schema:
  37650. $ref: '#/definitions/app.Response'
  37651. security:
  37652. - ApiKeyAuth: []
  37653. summary: 查询用户
  37654. tags:
  37655. - 仓单贸易v2
  37656. /WrTrade2/QueryWrSpecialMatchOrder:
  37657. get:
  37658. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37659. parameters:
  37660. - description: 页码
  37661. in: query
  37662. name: page
  37663. type: integer
  37664. - description: 每页条数
  37665. in: query
  37666. name: pagesize
  37667. type: integer
  37668. - description: 用户id
  37669. in: query
  37670. name: userid
  37671. required: true
  37672. type: integer
  37673. - description: 仓单贸易市场id
  37674. in: query
  37675. name: marketid
  37676. type: integer
  37677. - description: 0:仓单预售 1:仓单贸易
  37678. in: query
  37679. name: haswr
  37680. required: true
  37681. type: integer
  37682. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37683. in: query
  37684. name: isspecified
  37685. type: integer
  37686. produces:
  37687. - application/json
  37688. responses:
  37689. "200":
  37690. description: OK
  37691. schema:
  37692. items:
  37693. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37694. type: array
  37695. "500":
  37696. description: Internal Server Error
  37697. schema:
  37698. $ref: '#/definitions/app.Response'
  37699. security:
  37700. - ApiKeyAuth: []
  37701. summary: 查询指定成交
  37702. tags:
  37703. - 仓单贸易v2
  37704. /WrTrade2/QueryWrStandardFactoryItem:
  37705. get:
  37706. parameters:
  37707. - description: 品类id
  37708. in: query
  37709. name: wrstandardid
  37710. required: true
  37711. type: integer
  37712. produces:
  37713. - application/json
  37714. responses:
  37715. "200":
  37716. description: OK
  37717. schema:
  37718. items:
  37719. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37720. type: array
  37721. "500":
  37722. description: Internal Server Error
  37723. schema:
  37724. $ref: '#/definitions/app.Response'
  37725. security:
  37726. - ApiKeyAuth: []
  37727. summary: 查询品类要素定义项
  37728. tags:
  37729. - 仓单贸易v2
  37730. /WrTrade2/QueryWrTradeBargainApply:
  37731. get:
  37732. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37733. 议价->对方议价 填写matchuserid=登录用户id
  37734. parameters:
  37735. - description: 议价人id(摘牌方)
  37736. in: query
  37737. name: userid
  37738. type: integer
  37739. - description: 挂牌方id(查对方议价时,填写此项)
  37740. in: query
  37741. name: matchuserid
  37742. type: integer
  37743. - description: 关联委托单id
  37744. in: query
  37745. name: wrtradeorderid
  37746. type: integer
  37747. - description: 0:仓单预售 1:仓单贸易
  37748. in: query
  37749. name: haswr
  37750. required: true
  37751. type: integer
  37752. - description: 开始交易日(yyyymmdd)
  37753. in: query
  37754. name: begindate
  37755. type: string
  37756. - description: 结束交易日(yyyymmdd)
  37757. in: query
  37758. name: enddate
  37759. type: string
  37760. produces:
  37761. - application/json
  37762. responses:
  37763. "200":
  37764. description: OK
  37765. schema:
  37766. items:
  37767. $ref: '#/definitions/models.WRTradeBargainApply'
  37768. type: array
  37769. "500":
  37770. description: Internal Server Error
  37771. schema:
  37772. $ref: '#/definitions/app.Response'
  37773. security:
  37774. - ApiKeyAuth: []
  37775. summary: 查询议价单
  37776. tags:
  37777. - 仓单贸易v2
  37778. /WrTrade2/QueryWrTradeDetail:
  37779. get:
  37780. parameters:
  37781. - description: 页码
  37782. in: query
  37783. name: page
  37784. type: integer
  37785. - description: 每页条数
  37786. in: query
  37787. name: pagesize
  37788. type: integer
  37789. - description: 用户id
  37790. in: query
  37791. name: userid
  37792. required: true
  37793. type: integer
  37794. - description: 仓单贸易市场id
  37795. in: query
  37796. name: marketid
  37797. type: integer
  37798. - description: 0:仓单预售 1:仓单贸易
  37799. in: query
  37800. name: haswr
  37801. required: true
  37802. type: integer
  37803. - description: 开始交易日(yyyymmdd)
  37804. in: query
  37805. name: begindate
  37806. type: string
  37807. - description: 结束交易日(yyyymmdd)
  37808. in: query
  37809. name: enddate
  37810. type: string
  37811. produces:
  37812. - application/json
  37813. responses:
  37814. "200":
  37815. description: OK
  37816. schema:
  37817. items:
  37818. $ref: '#/definitions/models.WrTradeDetail'
  37819. type: array
  37820. "500":
  37821. description: Internal Server Error
  37822. schema:
  37823. $ref: '#/definitions/app.Response'
  37824. security:
  37825. - ApiKeyAuth: []
  37826. summary: 查询仓单成交明细
  37827. tags:
  37828. - 仓单贸易v2
  37829. /WrTrade2/QueryWrTradeOrderDetail:
  37830. get:
  37831. parameters:
  37832. - description: 页码
  37833. in: query
  37834. name: page
  37835. type: integer
  37836. - description: 每页条数
  37837. in: query
  37838. name: pagesize
  37839. type: integer
  37840. - description: 商品id
  37841. in: query
  37842. name: goodsid
  37843. required: true
  37844. type: integer
  37845. - description: 买卖方向 0-买 1-卖
  37846. in: query
  37847. name: buyorsell
  37848. required: true
  37849. type: integer
  37850. produces:
  37851. - application/json
  37852. responses:
  37853. "200":
  37854. description: OK
  37855. schema:
  37856. items:
  37857. $ref: '#/definitions/models.WrTradeOrderDetail'
  37858. type: array
  37859. "500":
  37860. description: Internal Server Error
  37861. schema:
  37862. $ref: '#/definitions/app.Response'
  37863. security:
  37864. - ApiKeyAuth: []
  37865. summary: 查询合约交易买卖大厅
  37866. tags:
  37867. - 仓单贸易v2
  37868. /WrTrade2/QueryWrTradeQuote:
  37869. get:
  37870. parameters:
  37871. - description: 现货商品id
  37872. in: query
  37873. name: wrstandardid
  37874. required: true
  37875. type: integer
  37876. - description: 开始日期(yyyymmdd)
  37877. in: query
  37878. name: begindate
  37879. required: true
  37880. type: string
  37881. - description: 结束日期(yyyymmdd)
  37882. in: query
  37883. name: enddate
  37884. required: true
  37885. type: string
  37886. - description: 市场id
  37887. in: query
  37888. name: marketid
  37889. type: integer
  37890. produces:
  37891. - application/json
  37892. responses:
  37893. "200":
  37894. description: OK
  37895. schema:
  37896. items:
  37897. $ref: '#/definitions/models.Wrtradetradequote'
  37898. type: array
  37899. "500":
  37900. description: Internal Server Error
  37901. schema:
  37902. $ref: '#/definitions/app.Response'
  37903. security:
  37904. - ApiKeyAuth: []
  37905. summary: 查询仓单贸易成交行情
  37906. tags:
  37907. - 仓单贸易v2
  37908. /WrTrade2/QueryWrUserFriend:
  37909. get:
  37910. parameters:
  37911. - description: 用户id
  37912. in: query
  37913. name: userid
  37914. required: true
  37915. type: integer
  37916. - description: 新朋友userid, 如果填写了此项则查找新朋友
  37917. in: query
  37918. name: newuserid
  37919. type: integer
  37920. produces:
  37921. - application/json
  37922. responses:
  37923. "200":
  37924. description: OK
  37925. schema:
  37926. items:
  37927. $ref: '#/definitions/models.WrUserFriend'
  37928. type: array
  37929. "500":
  37930. description: Internal Server Error
  37931. schema:
  37932. $ref: '#/definitions/app.Response'
  37933. security:
  37934. - ApiKeyAuth: []
  37935. summary: 查询我的朋友
  37936. tags:
  37937. - 仓单贸易v2
  37938. /WrTrade2/QueryWrUserReceiptInfo:
  37939. get:
  37940. parameters:
  37941. - description: 用户id
  37942. in: query
  37943. name: userid
  37944. type: integer
  37945. - description: 发票类型 - 1:个人 2:企业
  37946. in: query
  37947. name: receipttype
  37948. type: integer
  37949. produces:
  37950. - application/json
  37951. responses:
  37952. "200":
  37953. description: OK
  37954. schema:
  37955. items:
  37956. $ref: '#/definitions/models.WrUserReceiptInfo'
  37957. type: array
  37958. "500":
  37959. description: Internal Server Error
  37960. schema:
  37961. $ref: '#/definitions/app.Response'
  37962. security:
  37963. - ApiKeyAuth: []
  37964. summary: 查询发票信息
  37965. tags:
  37966. - 仓单贸易v2
  37967. /WrTrade2/QueryXhcpSellBackApply:
  37968. get:
  37969. parameters:
  37970. - description: 用户ID
  37971. in: query
  37972. name: userid
  37973. required: true
  37974. type: integer
  37975. produces:
  37976. - application/json
  37977. responses:
  37978. "200":
  37979. description: OK
  37980. schema:
  37981. items:
  37982. $ref: '#/definitions/models.Xhcpsellbackapply'
  37983. type: array
  37984. "500":
  37985. description: Internal Server Error
  37986. schema:
  37987. $ref: '#/definitions/app.Response'
  37988. security:
  37989. - ApiKeyAuth: []
  37990. summary: 查询我的回收申请(新会陈皮)
  37991. tags:
  37992. - 仓单贸易v2
  37993. /ZJ/GetBankTip:
  37994. get:
  37995. produces:
  37996. - application/json
  37997. responses:
  37998. "200":
  37999. description: OK
  38000. schema:
  38001. type: string
  38002. "500":
  38003. description: Internal Server Error
  38004. schema:
  38005. $ref: '#/definitions/app.Response'
  38006. summary: 获取中江网银端出入金提示信息
  38007. tags:
  38008. - 中江
  38009. /ZJ/GetCusBankChannels:
  38010. get:
  38011. produces:
  38012. - application/json
  38013. responses:
  38014. "200":
  38015. description: OK
  38016. schema:
  38017. items:
  38018. type: string
  38019. type: array
  38020. "500":
  38021. description: Internal Server Error
  38022. schema:
  38023. $ref: '#/definitions/app.Response'
  38024. summary: 获取中江出入金渠道显示列表
  38025. tags:
  38026. - 中江
  38027. securityDefinitions:
  38028. ApiKeyAuth:
  38029. in: header
  38030. name: Authorization
  38031. type: apiKey
  38032. Group:
  38033. in: header
  38034. name: Group
  38035. type: apiKey
  38036. LoginID:
  38037. in: header
  38038. name: LoginID
  38039. type: apiKey
  38040. swagger: "2.0"