swagger.yaml 1.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037
  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: integer
  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: integer
  10581. orderid:
  10582. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10583. type: integer
  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. direct:
  14800. description: 方向(可以判断那方先发起的签约)
  14801. type: integer
  14802. exchticket:
  14803. description: 最后一次签约成功的流水号
  14804. type: string
  14805. extendinfo:
  14806. description: 扩展信息(JSON字符串)
  14807. type: string
  14808. mobilephone:
  14809. description: 手机号
  14810. type: string
  14811. mobilephone2:
  14812. description: 手机号 - 密文
  14813. type: string
  14814. netaddr:
  14815. description: 调转网址
  14816. type: string
  14817. relateduserid:
  14818. description: 关联使用者userid
  14819. type: integer
  14820. signstatus:
  14821. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14822. 10:审核拒绝 11:换签待审核
  14823. type: integer
  14824. updatetime:
  14825. description: 更新时间(签解约更新时间)
  14826. type: string
  14827. type: object
  14828. models.QhjBankInfo:
  14829. properties:
  14830. bankid:
  14831. description: 银行ID
  14832. type: string
  14833. bankname:
  14834. description: 银行名称
  14835. type: string
  14836. clearbankno:
  14837. description: 清算系统银行编号
  14838. type: string
  14839. orderindex:
  14840. description: 排序顺序
  14841. type: integer
  14842. status:
  14843. description: 状态 - 0:正常 1:注销
  14844. type: integer
  14845. type: object
  14846. models.QhjBrokerApply:
  14847. properties:
  14848. applicantid:
  14849. description: 申请人
  14850. type: integer
  14851. applysrc:
  14852. description: 申请来源 - 1:管理端 2:终端
  14853. type: integer
  14854. applystatus:
  14855. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14856. type: integer
  14857. applytime:
  14858. description: 申请时间
  14859. type: string
  14860. auditorid:
  14861. description: 审核人
  14862. type: integer
  14863. auditremark:
  14864. description: 审核备注
  14865. type: string
  14866. auditsrc:
  14867. description: 审核来源 - 1:管理端 2:终端
  14868. type: integer
  14869. audittime:
  14870. description: 审核时间
  14871. type: string
  14872. audittradedate:
  14873. description: 审核交易日(yyyyMMdd)
  14874. type: string
  14875. brokerapplyid:
  14876. description: 申请ID(SEQ_BROKERAPPLY)
  14877. type: integer
  14878. cardbackphotourl:
  14879. description: 证件背面图片地址
  14880. type: string
  14881. cardfrontphotourl:
  14882. description: 证件正面图片地址
  14883. type: string
  14884. cardnum:
  14885. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14886. type: string
  14887. customername:
  14888. description: 姓名
  14889. type: string
  14890. logincode:
  14891. description: 登录代码
  14892. type: string
  14893. mobile:
  14894. description: 手机号码
  14895. type: string
  14896. parentuserid:
  14897. description: 所属机构id
  14898. type: integer
  14899. parentusername:
  14900. description: 所属机构名称
  14901. type: string
  14902. refereeuserid:
  14903. description: 推荐人id(经纪人)
  14904. type: integer
  14905. refernum:
  14906. description: 推荐码
  14907. type: string
  14908. remark:
  14909. description: 备注
  14910. type: string
  14911. subarealevelpath:
  14912. description: 层级路径
  14913. type: string
  14914. tradedate:
  14915. description: 交易日(yyyyMMdd)
  14916. type: string
  14917. userid:
  14918. description: 申请人用户ID
  14919. type: integer
  14920. userinfotype:
  14921. description: 用户类型 1-个人 2-企业
  14922. type: integer
  14923. username:
  14924. description: 用户名称
  14925. type: string
  14926. type: object
  14927. models.QhjBrokerApplyEx:
  14928. properties:
  14929. applylist:
  14930. description: 经纪人申请记录(只返回最新一条)
  14931. items:
  14932. $ref: '#/definitions/models.QhjBrokerApply'
  14933. type: array
  14934. canrecommend:
  14935. description: 是否经纪人 0-不是 1-是
  14936. type: integer
  14937. refernum:
  14938. description: 推荐码
  14939. type: string
  14940. userid:
  14941. description: 用户id
  14942. type: integer
  14943. userinfotype:
  14944. description: 用户类型 1-个人 2-企业
  14945. type: integer
  14946. type: object
  14947. models.QhjBrokerRewardLog:
  14948. properties:
  14949. accountid:
  14950. description: 资金账号ID
  14951. type: integer
  14952. createtime:
  14953. description: 创建时间(时间)
  14954. type: string
  14955. handlestatus:
  14956. description: 处理状态
  14957. type: integer
  14958. logid:
  14959. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14960. type: string
  14961. marketid:
  14962. description: 市场ID
  14963. type: integer
  14964. mmaccountid:
  14965. description: 做市商资金账号ID
  14966. type: string
  14967. mmuserid:
  14968. description: 做市商用户ID
  14969. type: string
  14970. rewardamount:
  14971. description: 奖励金额
  14972. type: number
  14973. rewardmodel:
  14974. description: 消费奖励方式 - 1:比率 2:固定
  14975. type: integer
  14976. rewardtype:
  14977. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14978. type: integer
  14979. rewardvalue:
  14980. description: 配置奖励值
  14981. type: number
  14982. srcamount:
  14983. description: 成交金额 [消费奖励] (金额)
  14984. type: number
  14985. srcgoodsid:
  14986. description: 来源商品ID [消费奖励]
  14987. type: string
  14988. srctime:
  14989. description: 来源时间 (成交时间) [消费奖励]
  14990. type: string
  14991. srctradeid:
  14992. description: 来源成交单ID [消费奖励] - 排除提货成交
  14993. type: string
  14994. srcuserid:
  14995. description: 来源用户ID(推广账户)
  14996. type: string
  14997. srcusername:
  14998. description: 推广账户名称
  14999. type: string
  15000. tradedate:
  15001. description: 交易日(yyyyMMdd)
  15002. type: string
  15003. userid:
  15004. description: 经纪人用户ID
  15005. type: integer
  15006. type: object
  15007. models.QhjContract:
  15008. properties:
  15009. contractconfirmtime:
  15010. description: 合同确认时间(时间)
  15011. type: string
  15012. currisklevel:
  15013. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15014. type: integer
  15015. decimalplace:
  15016. description: 商品报价小数位
  15017. type: integer
  15018. enumdicname:
  15019. description: 单位名称
  15020. type: string
  15021. goodscode:
  15022. description: 商品代码
  15023. type: string
  15024. goodsid:
  15025. description: 商品ID [5:融资单]
  15026. type: integer
  15027. goodsname:
  15028. description: 商品名称
  15029. type: string
  15030. goodunitid:
  15031. description: 商品单位id
  15032. type: integer
  15033. initmargin:
  15034. description: 初始保证金(首付款)
  15035. type: number
  15036. lenderamount:
  15037. description: 贷款金额(总额|订单总额)
  15038. type: number
  15039. marginratio:
  15040. description: 保证金比率(首付比例)
  15041. type: number
  15042. payamount:
  15043. description: 已付(已付货款)
  15044. type: number
  15045. reckonrecovermargin:
  15046. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15047. type: number
  15048. recoveredmargin:
  15049. description: 已追缴保证金
  15050. type: number
  15051. remainamount:
  15052. description: 合同剩余金额(融资额)
  15053. type: number
  15054. scfcontractid:
  15055. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15056. type: string
  15057. scfcontractstatus:
  15058. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15059. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15060. type: integer
  15061. scfcontracttype:
  15062. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15063. type: integer
  15064. totalinterest:
  15065. description: 已计总利息(利息)
  15066. type: number
  15067. tradeprice:
  15068. description: 成交价格(成本价格)
  15069. type: number
  15070. userid:
  15071. description: 用户ID
  15072. type: integer
  15073. username:
  15074. description: 用户名称
  15075. type: string
  15076. wrqty:
  15077. description: 仓单数量(数量)
  15078. type: number
  15079. type: object
  15080. models.QhjContractLog:
  15081. properties:
  15082. amount:
  15083. description: 支付金额
  15084. type: number
  15085. amounttype:
  15086. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  15087. type: integer
  15088. logid:
  15089. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15090. type: string
  15091. remainamount:
  15092. description: 剩余货款
  15093. type: number
  15094. scfcontractid:
  15095. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15096. type: integer
  15097. updatetime:
  15098. description: 更新时间
  15099. type: string
  15100. type: object
  15101. models.QhjCusBankSignBankEx:
  15102. properties:
  15103. banklst:
  15104. description: 银行列表
  15105. items:
  15106. $ref: '#/definitions/models.QhjBankInfo'
  15107. type: array
  15108. canallot:
  15109. description: 是否支持跨行调拨 - 0:不支持 1:支持
  15110. type: integer
  15111. canallotquery:
  15112. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  15113. type: integer
  15114. canbindcard:
  15115. description: 是否可绑卡与解卡 - 0:不可 1:可以
  15116. type: integer
  15117. caninamount:
  15118. description: 是否可入金 - 0:不可 1:可以
  15119. type: integer
  15120. caninamount2:
  15121. description: 是否可入金(网银端) - 0:不可 1:可以
  15122. type: integer
  15123. canmodifybankcard:
  15124. description: 是否可修改银行卡号 - 0:不可 1:可以
  15125. type: integer
  15126. canmodifyphone:
  15127. description: 是否可修改手机号 - 0:不可 1:可以
  15128. type: integer
  15129. canmodifysigninfo:
  15130. description: 是否可修改签约信息 - 0:不可 1:可以
  15131. type: integer
  15132. canoutamount:
  15133. description: 是否可出金 - 0:不可 1:可以
  15134. type: integer
  15135. canoutamount2:
  15136. description: 是否可出金(网银端) - 0:不可 1:可以
  15137. type: integer
  15138. canrelease:
  15139. description: 是否可解约 - 0:不可 1:可以
  15140. type: integer
  15141. canrelease2:
  15142. description: 是否可解约(网银端) - 0:不可 1:可以
  15143. type: integer
  15144. cansign:
  15145. description: 是否可签约 - 0:不可 1:可以
  15146. type: integer
  15147. cansign2:
  15148. description: 是否可签约(网银端) - 0:不可 1:可以
  15149. type: integer
  15150. currency:
  15151. description: 币种
  15152. type: string
  15153. cusbankid:
  15154. description: 托管银行编号(对应清算中心TRAN_NO)
  15155. type: string
  15156. cusbankname:
  15157. description: 银行业务名称
  15158. type: string
  15159. cusbankshortname:
  15160. description: 银行业务简称
  15161. type: string
  15162. exchbankid:
  15163. description: 交易所开户银行ID
  15164. type: string
  15165. exchpaybankaccname:
  15166. description: 交易所支出结算账户户名
  15167. type: string
  15168. exchpaybankaccno:
  15169. description: 交易所支出结算账户
  15170. type: string
  15171. isneedcheck:
  15172. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15173. type: integer
  15174. isneedclear:
  15175. description: 是否需要清算 - 0:不需要 1:需要
  15176. type: integer
  15177. lastcheckstatus:
  15178. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15179. type: integer
  15180. lastchecktime:
  15181. description: 最后对账时间
  15182. type: string
  15183. lastclearstatus:
  15184. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15185. type: integer
  15186. lastcleartime:
  15187. description: 最后清算时间
  15188. type: string
  15189. lastsignintime:
  15190. description: 最后签到时间
  15191. type: string
  15192. lastsignouttime:
  15193. description: 最后签退时间
  15194. type: string
  15195. riskinfo:
  15196. description: 签约风险提示书
  15197. type: string
  15198. signstatus:
  15199. description: 当前签到/签退状态 - 1:签到 2:签退
  15200. type: integer
  15201. tradedate:
  15202. description: 交易日(yyyyMMdd)
  15203. type: string
  15204. updatetime:
  15205. description: 当前签到/签退更新时间
  15206. type: string
  15207. type: object
  15208. models.QhjCustomer:
  15209. properties:
  15210. address:
  15211. description: 通讯地址
  15212. type: string
  15213. attachment1:
  15214. description: 附件1
  15215. type: string
  15216. attachment2:
  15217. description: 附件2
  15218. type: string
  15219. audittime:
  15220. description: 审核时间
  15221. type: string
  15222. cardbackphotourl:
  15223. description: 证件反面图片地址
  15224. type: string
  15225. cardfrontphotourl:
  15226. description: 证件正面图片地址
  15227. type: string
  15228. cardnum:
  15229. description: 证件号码
  15230. type: string
  15231. cardtype:
  15232. description: 证件类型
  15233. type: integer
  15234. cardtypename:
  15235. description: 证件类型名称
  15236. type: string
  15237. cityid:
  15238. description: 市
  15239. type: integer
  15240. cityname:
  15241. description: 城市名称
  15242. type: string
  15243. contactname:
  15244. description: 联系人
  15245. type: string
  15246. countryid:
  15247. description: 国家
  15248. type: integer
  15249. countryname:
  15250. description: 国家名称
  15251. type: string
  15252. createtime:
  15253. description: 创建时间
  15254. type: string
  15255. customername:
  15256. description: 客户名称
  15257. type: string
  15258. districtid:
  15259. description: 区域
  15260. type: integer
  15261. districtname:
  15262. description: 地区名称
  15263. type: string
  15264. email:
  15265. description: 邮件
  15266. type: string
  15267. legalpersonname:
  15268. description: 法人姓名(企业)
  15269. type: string
  15270. logincode:
  15271. description: 登录账号(代码)
  15272. type: string
  15273. memberuserid:
  15274. description: 所属机构ID(所属会员)
  15275. type: integer
  15276. memberusername:
  15277. description: 所属会员名称
  15278. type: string
  15279. mobile:
  15280. description: 手机号码
  15281. type: string
  15282. modifytime:
  15283. description: 修改时间
  15284. type: string
  15285. nickname:
  15286. description: 昵称
  15287. type: string
  15288. parentuserid:
  15289. description: 上级机构(所属机构)
  15290. type: integer
  15291. parentusername:
  15292. description: 所属机构名称
  15293. type: string
  15294. provinceid:
  15295. description: 省
  15296. type: integer
  15297. provincename:
  15298. description: 省名称
  15299. type: string
  15300. proxystatementurl:
  15301. description: 授权委托书
  15302. type: string
  15303. remark:
  15304. description: 备注
  15305. type: string
  15306. status:
  15307. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15308. type: integer
  15309. statusdesc:
  15310. description: 账户状态中文描述
  15311. type: string
  15312. taxpayernum:
  15313. description: 纳税人识别号
  15314. type: string
  15315. telphone:
  15316. description: 联系电话
  15317. type: string
  15318. userid:
  15319. description: 用户ID
  15320. type: integer
  15321. userinfotype:
  15322. description: 客户类型 1-个人 2-企业
  15323. type: integer
  15324. username:
  15325. description: 用户名称
  15326. type: string
  15327. type: object
  15328. models.QhjCustomerSignLog:
  15329. properties:
  15330. agreementcontent:
  15331. description: 协议内容
  15332. type: string
  15333. agreementid:
  15334. description: 协议ID
  15335. type: integer
  15336. agreementname:
  15337. description: 协议名称
  15338. type: string
  15339. agreementno:
  15340. description: 协议编号
  15341. type: string
  15342. agreementtype:
  15343. description: 协议类型 - 1:注册 2:登录 3:交易
  15344. type: integer
  15345. agreementversion:
  15346. description: 协议版本号
  15347. type: integer
  15348. createtime:
  15349. description: 创建时间
  15350. type: string
  15351. goodscode:
  15352. description: 商品代码
  15353. type: string
  15354. goodsid:
  15355. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15356. type: integer
  15357. goodsname:
  15358. description: 商品名称
  15359. type: string
  15360. logid:
  15361. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15362. type: integer
  15363. nodetype:
  15364. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15365. type: integer
  15366. signadressurl:
  15367. description: 签约文件地址
  15368. type: string
  15369. signtimestamp:
  15370. description: 签约状态时间戳
  15371. type: string
  15372. userid:
  15373. description: 客户ID
  15374. type: integer
  15375. username:
  15376. description: 客户名称
  15377. type: string
  15378. type: object
  15379. models.QhjCustomerSignStatus:
  15380. properties:
  15381. createtime:
  15382. description: 创建时间
  15383. type: string
  15384. goodscode:
  15385. description: 商品代码
  15386. type: string
  15387. goodsid:
  15388. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15389. type: integer
  15390. goodsname:
  15391. description: 商品名称
  15392. type: string
  15393. nodetype:
  15394. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15395. type: integer
  15396. signtimestamp:
  15397. description: 签约状态时间戳
  15398. type: string
  15399. tradedate:
  15400. description: 创建交易日(yyyyMMdd)
  15401. type: string
  15402. updatetime:
  15403. description: 更新时间
  15404. type: string
  15405. userid:
  15406. description: 客户ID
  15407. type: integer
  15408. username:
  15409. description: 客户名称
  15410. type: string
  15411. type: object
  15412. models.QhjMgrAccountOutInApply:
  15413. properties:
  15414. accountcode:
  15415. description: 资金账号
  15416. type: string
  15417. accountname:
  15418. description: 用户名称(名称)
  15419. type: string
  15420. accountpwd:
  15421. description: 资金密码
  15422. type: string
  15423. accountticket:
  15424. description: 最新账户服务流水号
  15425. type: string
  15426. amount:
  15427. description: 金额
  15428. type: number
  15429. applyremark:
  15430. description: 申请备注
  15431. type: string
  15432. applystatus:
  15433. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15434. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15435. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15436. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15437. type: integer
  15438. auditid:
  15439. description: 审核人
  15440. type: integer
  15441. audittime:
  15442. description: 审核时间
  15443. type: string
  15444. bank_apply_ticket:
  15445. description: 银行申请流水
  15446. type: string
  15447. bankaccountname:
  15448. description: 银行账户名
  15449. type: string
  15450. bankaccountno:
  15451. description: 银行卡号
  15452. type: string
  15453. bankid:
  15454. description: 银行编号
  15455. type: string
  15456. bankname:
  15457. description: 银行名称
  15458. type: string
  15459. bankticket:
  15460. description: 银行流水
  15461. type: string
  15462. branchbankid:
  15463. description: 银行支行号
  15464. type: string
  15465. branchbankname:
  15466. description: 银行支行名称
  15467. type: string
  15468. capamountout:
  15469. description: 出金(劣后本金) - 外部子账户
  15470. type: number
  15471. certificatephotourl:
  15472. description: 凭证地址
  15473. type: string
  15474. charge:
  15475. description: 手续费
  15476. type: number
  15477. checkerrorflag:
  15478. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15479. type: integer
  15480. currency:
  15481. description: 币种
  15482. type: string
  15483. cusbankid:
  15484. description: 托管银行编号
  15485. type: string
  15486. exchticket:
  15487. description: 银行服务流水号
  15488. type: string
  15489. executetype:
  15490. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15491. 7:外部子账户:入金 8:外部子账户:出金'
  15492. type: integer
  15493. extendinfo:
  15494. description: 扩展信息
  15495. type: string
  15496. extoperateid:
  15497. description: 交易服务流水号
  15498. type: integer
  15499. infamount:
  15500. description: 劣后金额(自有)
  15501. type: number
  15502. logincode:
  15503. description: 登录账号(账号)
  15504. type: string
  15505. netaddr:
  15506. description: 调转网址
  15507. type: string
  15508. priamount:
  15509. description: 优先金额(授信)
  15510. type: number
  15511. reauditid:
  15512. description: 复审人
  15513. type: integer
  15514. reauditremark:
  15515. description: 复审备注
  15516. type: string
  15517. reaudittime:
  15518. description: 复审时间
  15519. type: string
  15520. relatedorderid:
  15521. description: 三方关联ID
  15522. type: string
  15523. remark:
  15524. description: 备注
  15525. type: string
  15526. remark2:
  15527. description: 备注(失败原因)
  15528. type: string
  15529. soucreamount:
  15530. description: 原始出入金金额
  15531. type: number
  15532. soucrecurrencyid:
  15533. description: 原始出入金币种
  15534. type: integer
  15535. tradedate:
  15536. description: 交易日(yyyyMMdd)
  15537. type: string
  15538. updatetime:
  15539. description: 更新时间(申请时间)
  15540. type: string
  15541. userid:
  15542. description: 用户id
  15543. type: integer
  15544. userinfotype:
  15545. description: 账户类型 1-个人 2-企业
  15546. type: integer
  15547. type: object
  15548. models.QhjMgrBrokerApply:
  15549. properties:
  15550. applicantid:
  15551. description: 申请人
  15552. type: integer
  15553. applysrc:
  15554. description: 申请来源 - 1:管理端 2:终端
  15555. type: integer
  15556. applystatus:
  15557. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15558. type: integer
  15559. applytime:
  15560. description: 申请时间
  15561. type: string
  15562. auditorid:
  15563. description: 审核人
  15564. type: integer
  15565. auditremark:
  15566. description: 审核备注
  15567. type: string
  15568. auditsrc:
  15569. description: 审核来源 - 1:管理端 2:终端
  15570. type: integer
  15571. audittime:
  15572. description: 审核时间
  15573. type: string
  15574. audittradedate:
  15575. description: 审核交易日(yyyyMMdd)
  15576. type: string
  15577. brokerapplyid:
  15578. description: 申请ID(SEQ_BROKERAPPLY)
  15579. type: integer
  15580. cardbackphotourl:
  15581. description: 证件背面图片地址
  15582. type: string
  15583. cardfrontphotourl:
  15584. description: 证件正面图片地址
  15585. type: string
  15586. cardnum:
  15587. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15588. type: string
  15589. customername:
  15590. description: 姓名
  15591. type: string
  15592. filterstatus:
  15593. description: 筛选条件
  15594. type: string
  15595. logincode:
  15596. description: 登录代码
  15597. type: string
  15598. mobile:
  15599. description: 手机号码
  15600. type: string
  15601. parentuserid:
  15602. description: 所属机构id
  15603. type: integer
  15604. parentusername:
  15605. description: 所属机构名称
  15606. type: string
  15607. refereeuserid:
  15608. description: 推荐人id(经纪人)
  15609. type: integer
  15610. refernum:
  15611. description: 推荐码
  15612. type: string
  15613. remark:
  15614. description: 备注
  15615. type: string
  15616. subarealevelpath:
  15617. description: 层级路径
  15618. type: string
  15619. tradedate:
  15620. description: 交易日(yyyyMMdd)
  15621. type: string
  15622. userid:
  15623. description: 申请人用户ID
  15624. type: integer
  15625. userinfotype:
  15626. description: 用户类型 1-个人 2-企业
  15627. type: integer
  15628. username:
  15629. description: 用户名称
  15630. type: string
  15631. type: object
  15632. models.QhjMgrBrokerRewardReport:
  15633. properties:
  15634. createtime:
  15635. description: 创建时间(注册时间)
  15636. type: string
  15637. cycletime:
  15638. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15639. type: string
  15640. cycletype:
  15641. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15642. type: integer
  15643. directtotalnum:
  15644. description: 直推总人数【期末】
  15645. type: integer
  15646. indirecttotalnum:
  15647. description: 间推总人数【期末】
  15648. type: integer
  15649. mobile:
  15650. description: 电话号码
  15651. type: string
  15652. refereeuserid:
  15653. description: 推荐人id(经纪人id)
  15654. type: integer
  15655. refereeusername:
  15656. description: 推荐人名称(经纪人) 上级经纪人名称
  15657. type: string
  15658. refernum:
  15659. description: 推荐码
  15660. type: string
  15661. subarealevelpath:
  15662. description: 用户层级路径
  15663. type: string
  15664. todayrewardamount:
  15665. description: 奖励总金额【汇总】
  15666. type: number
  15667. updatetime:
  15668. description: 更新时间
  15669. type: string
  15670. userid:
  15671. description: 经纪人用户ID
  15672. type: integer
  15673. userinfotype:
  15674. description: 用户类型 1-个人 2-企业
  15675. type: integer
  15676. username:
  15677. description: 用户名称
  15678. type: string
  15679. type: object
  15680. models.QhjMgrContract:
  15681. properties:
  15682. contractconfirmtime:
  15683. description: 合同确认时间(时间)
  15684. type: string
  15685. currisklevel:
  15686. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15687. type: integer
  15688. decimalplace:
  15689. description: 商品报价小数位
  15690. type: integer
  15691. enumdicname:
  15692. description: 单位名称
  15693. type: string
  15694. goodscode:
  15695. description: 商品代码
  15696. type: string
  15697. goodsid:
  15698. description: 商品ID [5:融资单]
  15699. type: integer
  15700. goodsname:
  15701. description: 商品名称
  15702. type: string
  15703. goodunitid:
  15704. description: 商品单位id
  15705. type: integer
  15706. initmargin:
  15707. description: 初始保证金(首付款)
  15708. type: number
  15709. lenderamount:
  15710. description: 贷款金额(总额|订单总额)
  15711. type: number
  15712. logincode:
  15713. description: 账号(登录代码)
  15714. type: string
  15715. marginratio:
  15716. description: 保证金比率(首付比例)
  15717. type: number
  15718. mobile:
  15719. description: 电话号码(用户资料里的电话)
  15720. type: string
  15721. payamount:
  15722. description: 已付(已付货款)
  15723. type: number
  15724. reckonrecovermargin:
  15725. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15726. type: number
  15727. recoveredmargin:
  15728. description: 已追缴保证金
  15729. type: number
  15730. remainamount:
  15731. description: 合同剩余金额(融资额)
  15732. type: number
  15733. scfcontractid:
  15734. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15735. type: string
  15736. scfcontractstatus:
  15737. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15738. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15739. type: integer
  15740. scfcontracttype:
  15741. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15742. type: integer
  15743. totalinterest:
  15744. description: 已计总利息(利息)
  15745. type: number
  15746. tradedate:
  15747. description: 交易日
  15748. type: string
  15749. tradeprice:
  15750. description: 成交价格(成本价格)
  15751. type: number
  15752. userid:
  15753. description: 用户ID
  15754. type: integer
  15755. userinfotype:
  15756. description: 用户类型 1-个人 2-企业
  15757. type: integer
  15758. username:
  15759. description: 用户名称
  15760. type: string
  15761. wrqty:
  15762. description: 仓单数量(数量)
  15763. type: number
  15764. type: object
  15765. models.QhjMgrCustomer:
  15766. properties:
  15767. address:
  15768. description: 通讯地址
  15769. type: string
  15770. attachment1:
  15771. description: 附件1
  15772. type: string
  15773. audittime:
  15774. description: 审核时间
  15775. type: string
  15776. birthday:
  15777. description: 生日
  15778. type: string
  15779. brokerid:
  15780. description: 所属客户经理id
  15781. type: integer
  15782. brokername:
  15783. description: 所属客户经理名称
  15784. type: string
  15785. cardbackphotourl:
  15786. description: 证件反面图片地址
  15787. type: string
  15788. cardfrontphotourl:
  15789. description: 证件正面图片地址
  15790. type: string
  15791. cardnum:
  15792. description: 证件号码
  15793. type: string
  15794. cardtype:
  15795. description: 证件类型
  15796. type: integer
  15797. cardtypename:
  15798. description: 证件类型名称
  15799. type: string
  15800. cityid:
  15801. description: 市
  15802. type: integer
  15803. cityname:
  15804. description: 城市名称
  15805. type: string
  15806. contactname:
  15807. description: 联系人
  15808. type: string
  15809. countryid:
  15810. description: 国家
  15811. type: integer
  15812. countryname:
  15813. description: 国家名称
  15814. type: string
  15815. createtime:
  15816. description: 创建时间
  15817. type: string
  15818. customername:
  15819. description: 客户名称
  15820. type: string
  15821. districtid:
  15822. description: 区域
  15823. type: integer
  15824. districtname:
  15825. description: 地区名称
  15826. type: string
  15827. email:
  15828. description: 邮件
  15829. type: string
  15830. legalpersonname:
  15831. description: 法人姓名(企业)
  15832. type: string
  15833. logincode:
  15834. description: 登录账号(代码)
  15835. type: string
  15836. memberuserid:
  15837. description: 所属机构ID(所属会员)
  15838. type: integer
  15839. memberusername:
  15840. description: 所属会员名称
  15841. type: string
  15842. mobile:
  15843. description: 手机号码
  15844. type: string
  15845. modifytime:
  15846. description: 修改时间
  15847. type: string
  15848. nickname:
  15849. description: 昵称
  15850. type: string
  15851. parentuserid:
  15852. description: 上级机构(所属机构)
  15853. type: integer
  15854. parentusername:
  15855. description: 所属机构名称
  15856. type: string
  15857. provinceid:
  15858. description: 省
  15859. type: integer
  15860. provincename:
  15861. description: 省名称
  15862. type: string
  15863. proxystatementurl:
  15864. description: 授权委托书
  15865. type: string
  15866. querytype:
  15867. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15868. type: integer
  15869. remark:
  15870. description: 备注
  15871. type: string
  15872. sex:
  15873. description: 性别 0-女 1-男
  15874. type: integer
  15875. status:
  15876. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15877. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15878. type: integer
  15879. statusdesc:
  15880. description: 账户状态中文描述
  15881. type: string
  15882. taxpayernum:
  15883. description: 纳税人识别号
  15884. type: string
  15885. telphone:
  15886. description: 联系电话
  15887. type: string
  15888. userid:
  15889. description: 用户ID
  15890. type: integer
  15891. userinfotype:
  15892. description: 客户类型 1-个人 2-企业
  15893. type: integer
  15894. username:
  15895. description: 用户名称
  15896. type: string
  15897. type: object
  15898. models.QhjMgrPickGoods:
  15899. properties:
  15900. enumdicname:
  15901. description: 单位名称(提货商品)
  15902. type: string
  15903. goodsid:
  15904. description: 商品id
  15905. type: integer
  15906. imageaddress:
  15907. description: 图片
  15908. type: string
  15909. modifierid:
  15910. description: 修改人
  15911. type: integer
  15912. modifiername:
  15913. description: 修改人名称
  15914. type: string
  15915. modifysrc:
  15916. description: 修改来源 - 1:管理端 2:终端
  15917. type: integer
  15918. pickupgoodsagreeunit:
  15919. description: 合约乘数
  15920. type: number
  15921. pickupgoodsdesc:
  15922. description: 描述
  15923. type: string
  15924. pickupgoodsid:
  15925. description: 提货商品ID
  15926. type: string
  15927. pickupgoodsname:
  15928. description: 提货商品名称
  15929. type: string
  15930. pickupgoodsstatus:
  15931. description: 状态 - 1:正常 2:停用 3:注销
  15932. type: integer
  15933. pickupgoodsunitid:
  15934. description: 单位ID
  15935. type: integer
  15936. pickupratio:
  15937. description: 提货系数
  15938. type: number
  15939. preparedays:
  15940. description: 备货期(天)
  15941. type: integer
  15942. remark:
  15943. description: 备注
  15944. type: string
  15945. updatetime:
  15946. description: 更新时间
  15947. type: string
  15948. type: object
  15949. models.QhjMgrPositionRsp:
  15950. properties:
  15951. accountid:
  15952. description: 账号Id
  15953. type: integer
  15954. accountname:
  15955. description: 用户名称
  15956. type: string
  15957. agreeunit:
  15958. description: 合约乘数
  15959. type: number
  15960. averageprice:
  15961. description: 均价
  15962. type: number
  15963. avialqty:
  15964. description: 可用数量
  15965. type: number
  15966. decimalplace:
  15967. description: 报价小数位
  15968. type: integer
  15969. enumdicname:
  15970. description: 单位名称(商品)
  15971. type: string
  15972. frozenqty:
  15973. description: 冻结数量
  15974. type: number
  15975. goodscode:
  15976. description: 商品代码(内部)
  15977. type: string
  15978. goodsid:
  15979. description: 商品Id
  15980. type: integer
  15981. goodsname:
  15982. description: 商品名称
  15983. type: string
  15984. goodunitid:
  15985. description: 报价单位ID
  15986. type: integer
  15987. holderamount:
  15988. description: 金额
  15989. type: number
  15990. holderqty:
  15991. description: 持有数量
  15992. type: number
  15993. holdertype:
  15994. description: 持仓类别 - 1:单边持仓 2:双边持仓
  15995. type: integer
  15996. logincode:
  15997. description: 登录代码(账户)
  15998. type: string
  15999. marketid:
  16000. description: 市场id
  16001. type: integer
  16002. qtydecimalplace:
  16003. description: 成交量小数位
  16004. type: integer
  16005. trademode:
  16006. description: 交易模式
  16007. type: integer
  16008. userid:
  16009. description: 用户id
  16010. type: integer
  16011. userinfotype:
  16012. description: 账户类型 1-个人 2-企业
  16013. type: integer
  16014. type: object
  16015. models.QhjMgrSubArea:
  16016. properties:
  16017. accountname:
  16018. description: 账户名称(机构名称)
  16019. type: string
  16020. memberuserid:
  16021. description: 所属会员ID
  16022. type: integer
  16023. parenttopuser:
  16024. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16025. type: string
  16026. parentuserid:
  16027. description: 所属机构ID
  16028. type: integer
  16029. rootuserid:
  16030. description: 根用户ID
  16031. type: string
  16032. subaccountlevel:
  16033. description: 子账户层数
  16034. type: integer
  16035. subarealevelpath:
  16036. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16037. type: string
  16038. userid:
  16039. description: 用户ID
  16040. type: integer
  16041. usertype:
  16042. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16043. type: integer
  16044. type: object
  16045. models.QhjMgrTradeDetailRsp:
  16046. properties:
  16047. accountid:
  16048. description: 资金账号
  16049. type: integer
  16050. accountname:
  16051. description: 用户名称
  16052. type: string
  16053. agreeunit:
  16054. description: 合约乘数
  16055. type: number
  16056. buyorsell:
  16057. description: 成交类型(方向) 0:买 1:卖
  16058. type: integer
  16059. decimalplace:
  16060. description: 报价小数位
  16061. type: integer
  16062. enumdicname:
  16063. description: 单位名称(商品)
  16064. type: string
  16065. goodscode:
  16066. description: 商品代码(内部)
  16067. type: string
  16068. goodsid:
  16069. description: 商品id
  16070. type: integer
  16071. goodsname:
  16072. description: 商品名称
  16073. type: string
  16074. goodunitid:
  16075. description: 报价单位ID
  16076. type: integer
  16077. logincode:
  16078. description: 登录代码(账户)
  16079. type: string
  16080. marketid:
  16081. description: 市场id
  16082. type: integer
  16083. orderid:
  16084. description: 关联委托单号
  16085. type: string
  16086. qtydecimalplace:
  16087. description: 成交量小数位
  16088. type: integer
  16089. tradeamount:
  16090. description: 金额
  16091. type: number
  16092. tradedate:
  16093. description: 交易日
  16094. type: string
  16095. tradeid:
  16096. description: 成交单号
  16097. type: string
  16098. trademode:
  16099. description: 交易模式
  16100. type: integer
  16101. tradeprice:
  16102. description: 价格
  16103. type: number
  16104. tradeqty:
  16105. description: 数量
  16106. type: number
  16107. tradetime:
  16108. description: 成交时间
  16109. type: string
  16110. userid:
  16111. description: 用户id
  16112. type: integer
  16113. userinfotype:
  16114. description: 账户类型 1-个人 2-企业
  16115. type: integer
  16116. type: object
  16117. models.QhjMgrTradeOrderDetailRsp:
  16118. properties:
  16119. accountid:
  16120. description: 资金账号
  16121. type: integer
  16122. accountname:
  16123. description: 用户名称
  16124. type: string
  16125. agreeunit:
  16126. description: 合约乘数
  16127. type: number
  16128. amount:
  16129. description: 金额
  16130. type: number
  16131. decimalplace:
  16132. description: 报价小数位
  16133. type: integer
  16134. enumdicname:
  16135. description: 单位名称(商品)
  16136. type: string
  16137. goodscode:
  16138. description: 商品代码(内部)
  16139. type: string
  16140. goodsid:
  16141. description: 商品id
  16142. type: integer
  16143. goodsname:
  16144. description: 商品名称
  16145. type: string
  16146. goodunitid:
  16147. description: 报价单位ID
  16148. type: integer
  16149. logincode:
  16150. description: 登录代码(账户)
  16151. type: string
  16152. marketid:
  16153. description: 市场id
  16154. type: integer
  16155. orderid:
  16156. description: 关联委托单号
  16157. type: string
  16158. orderprice:
  16159. description: 价格
  16160. type: number
  16161. orderqty:
  16162. description: 数量
  16163. type: number
  16164. orderstatus:
  16165. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16166. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16167. 16:成交失败违约(荷兰式竞拍专用)
  16168. type: integer
  16169. ordertime:
  16170. description: 委托时间
  16171. type: string
  16172. qtydecimalplace:
  16173. description: 成交量小数位
  16174. type: integer
  16175. tradedate:
  16176. description: 交易日
  16177. type: string
  16178. trademode:
  16179. description: 交易模式
  16180. type: integer
  16181. userid:
  16182. description: 用户id
  16183. type: integer
  16184. userinfotype:
  16185. description: 账户类型 1-个人 2-企业
  16186. type: integer
  16187. type: object
  16188. models.QhjMgrTradePayOrder:
  16189. properties:
  16190. accountname:
  16191. description: 用户名称
  16192. type: string
  16193. advanceratio:
  16194. description: 首付比率
  16195. type: number
  16196. agreeunit:
  16197. description: 合约乘数
  16198. type: number
  16199. buyaccountid:
  16200. description: 买方账号ID[报价币种]
  16201. type: integer
  16202. buyorderid:
  16203. description: 买方委托单号(关联单号)
  16204. type: string
  16205. createtime:
  16206. description: 创建时间
  16207. type: string
  16208. decimalplace:
  16209. description: 报价小数位
  16210. type: integer
  16211. enumdicname:
  16212. description: 单位名称(商品)
  16213. type: string
  16214. goodscode:
  16215. description: 商品代码(内部)
  16216. type: string
  16217. goodsid:
  16218. description: 商品ID
  16219. type: integer
  16220. goodsname:
  16221. description: 商品名称
  16222. type: string
  16223. goodunitid:
  16224. description: 报价单位ID
  16225. type: integer
  16226. logincode:
  16227. description: 登录代码(账户)
  16228. type: string
  16229. marketid:
  16230. description: 市场id
  16231. type: integer
  16232. offamount:
  16233. description: 优惠金额
  16234. type: number
  16235. operatetype:
  16236. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16237. type: integer
  16238. payamount:
  16239. description: 支付金额(金额)
  16240. type: number
  16241. payflag:
  16242. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16243. type: integer
  16244. paylimitedtime:
  16245. description: 支付期限
  16246. type: string
  16247. paytime:
  16248. description: 付款时间
  16249. type: string
  16250. qtydecimalplace:
  16251. description: 成交量小数位
  16252. type: integer
  16253. sellaccountid:
  16254. description: 卖方账号ID[报价币种]
  16255. type: integer
  16256. sellorderid:
  16257. description: 卖方委托单号
  16258. type: string
  16259. tradeamount:
  16260. description: 成交金额(优惠后金额)
  16261. type: number
  16262. tradecharge:
  16263. description: 成交手续费(买方)
  16264. type: number
  16265. tradedate:
  16266. description: 交易日(yyyyMMdd)
  16267. type: string
  16268. tradeid:
  16269. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16270. type: string
  16271. trademode:
  16272. description: 交易模式
  16273. type: integer
  16274. tradeprice:
  16275. description: 成交价格(价格)
  16276. type: number
  16277. tradeqty:
  16278. description: 成交数量(数量)
  16279. type: number
  16280. tradetime:
  16281. description: 成交时间
  16282. type: string
  16283. userid:
  16284. description: 用户id
  16285. type: integer
  16286. userinfotype:
  16287. description: 账户类型 1-个人 2-企业
  16288. type: integer
  16289. type: object
  16290. models.QhjMyTeamEx:
  16291. properties:
  16292. accountname:
  16293. description: 用户名称
  16294. type: string
  16295. accountstatus:
  16296. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16297. type: integer
  16298. createtime:
  16299. description: 创建时间
  16300. type: string
  16301. mobile:
  16302. description: 手机号码
  16303. type: string
  16304. refereeuserid:
  16305. description: 推荐人id
  16306. type: integer
  16307. refernum:
  16308. description: 推荐码
  16309. type: string
  16310. subList:
  16311. items:
  16312. $ref: '#/definitions/models.QhjMyTeamEx'
  16313. type: array
  16314. userid:
  16315. description: 用户id
  16316. type: integer
  16317. userinfotype:
  16318. description: 用户类型 1-个人 2-企业
  16319. type: integer
  16320. type: object
  16321. models.QhjNodeAgreementConfig:
  16322. properties:
  16323. agreementcontent:
  16324. description: 协议内容
  16325. type: string
  16326. agreementid:
  16327. description: 协议ID
  16328. type: integer
  16329. agreementname:
  16330. description: 协议名称
  16331. type: string
  16332. agreementno:
  16333. description: 协议编号
  16334. type: string
  16335. agreementtype:
  16336. description: 协议类型 - 1:注册 2:登录 3:交易
  16337. type: integer
  16338. agreementversion:
  16339. description: 协议版本号
  16340. type: integer
  16341. configid:
  16342. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16343. type: integer
  16344. createtime:
  16345. description: 创建时间
  16346. type: string
  16347. goodsid:
  16348. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16349. type: integer
  16350. nodetype:
  16351. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16352. type: integer
  16353. type: object
  16354. models.QhjParentAreaList:
  16355. properties:
  16356. accountname:
  16357. description: 账户名称(机构名称)
  16358. type: string
  16359. userid:
  16360. description: 用户ID
  16361. type: integer
  16362. usertype:
  16363. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16364. type: integer
  16365. type: object
  16366. models.QhjPayOrder:
  16367. properties:
  16368. advanceratio:
  16369. description: 首付比率
  16370. type: number
  16371. buyaccountid:
  16372. description: 买方账号ID[报价币种]
  16373. type: integer
  16374. buyorderid:
  16375. description: 买方委托单号
  16376. type: string
  16377. createtime:
  16378. description: 创建时间
  16379. type: string
  16380. decimalplace:
  16381. description: 商品报价小数位
  16382. type: integer
  16383. enumdicname:
  16384. description: 单位名称
  16385. type: string
  16386. goodscode:
  16387. description: 商品代码
  16388. type: string
  16389. goodsid:
  16390. description: 商品ID
  16391. type: integer
  16392. goodsname:
  16393. description: 商品名称
  16394. type: string
  16395. goodunitid:
  16396. description: 商品单位id
  16397. type: integer
  16398. marketid:
  16399. description: 市场ID
  16400. type: integer
  16401. offamount:
  16402. description: 优惠金额
  16403. type: number
  16404. operatetype:
  16405. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16406. type: integer
  16407. payamount:
  16408. description: 支付金额
  16409. type: number
  16410. payflag:
  16411. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16412. type: integer
  16413. paylimitedtime:
  16414. description: 支付期限
  16415. type: string
  16416. paytime:
  16417. description: 付款时间
  16418. type: string
  16419. qtydecimalplace:
  16420. description: 成交量小数位
  16421. type: integer
  16422. sellaccountid:
  16423. description: 卖方账号ID[报价币种]
  16424. type: integer
  16425. sellorderid:
  16426. description: 卖方委托单号
  16427. type: string
  16428. tradeamount:
  16429. description: 成交金额(优惠后金额)
  16430. type: number
  16431. tradecharge:
  16432. description: 成交手续费(买方)
  16433. type: number
  16434. tradedate:
  16435. description: 交易日(yyyyMMdd)
  16436. type: string
  16437. tradeid:
  16438. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16439. type: string
  16440. tradeprice:
  16441. description: 成交价格
  16442. type: number
  16443. tradeqty:
  16444. description: 成交数量
  16445. type: number
  16446. type: object
  16447. models.QhjPickArea:
  16448. properties:
  16449. address:
  16450. description: 详细地址
  16451. type: string
  16452. cityid:
  16453. description: 市
  16454. type: integer
  16455. cityname:
  16456. description: 城市名称
  16457. type: string
  16458. countryid:
  16459. description: 国家
  16460. type: integer
  16461. countryname:
  16462. description: 国家名称
  16463. type: string
  16464. districtid:
  16465. description: 地区
  16466. type: integer
  16467. districtname:
  16468. description: 地区名称
  16469. type: string
  16470. fromuserid:
  16471. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16472. type: integer
  16473. fromusername:
  16474. description: 所属机构名称
  16475. type: string
  16476. provinceid:
  16477. description: 省
  16478. type: integer
  16479. provincename:
  16480. description: 省名称
  16481. type: string
  16482. suborgtype:
  16483. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16484. type: integer
  16485. userid:
  16486. description: 机构用户ID 其他做市关系,都设置为 1
  16487. type: integer
  16488. username:
  16489. description: 机构用户名称(门店门称)
  16490. type: string
  16491. type: object
  16492. models.QhjPickGoods:
  16493. properties:
  16494. enumdicname:
  16495. description: 单位名称(提货商品)
  16496. type: string
  16497. goodsid:
  16498. description: 商品id
  16499. type: integer
  16500. imageaddress:
  16501. description: 图片
  16502. type: string
  16503. modifierid:
  16504. description: 修改人
  16505. type: integer
  16506. modifiername:
  16507. description: 修改人名称
  16508. type: string
  16509. modifysrc:
  16510. description: 修改来源 - 1:管理端 2:终端
  16511. type: integer
  16512. pickupgoodsagreeunit:
  16513. description: 合约乘数
  16514. type: number
  16515. pickupgoodsdesc:
  16516. description: 描述
  16517. type: string
  16518. pickupgoodsid:
  16519. description: 提货商品ID
  16520. type: string
  16521. pickupgoodsname:
  16522. description: 提货商品名称
  16523. type: string
  16524. pickupgoodsstatus:
  16525. description: 状态 - 1:正常 2:停用 3:注销
  16526. type: integer
  16527. pickupgoodsunitid:
  16528. description: 单位ID
  16529. type: integer
  16530. pickupratio:
  16531. description: 提货系数
  16532. type: number
  16533. preparedays:
  16534. description: 备货期(天)
  16535. type: integer
  16536. remark:
  16537. description: 备注
  16538. type: string
  16539. updatetime:
  16540. description: 更新时间
  16541. type: string
  16542. type: object
  16543. models.QhjRSTriggerLog:
  16544. properties:
  16545. accountid:
  16546. description: 用户资金账户
  16547. type: integer
  16548. accountname:
  16549. description: 账号名称(ACCOUNTID对应的名称)
  16550. type: string
  16551. currencyid:
  16552. description: 币种id
  16553. type: integer
  16554. currencyname:
  16555. description: 币种名称
  16556. type: string
  16557. decimalplace:
  16558. description: 商品报价小数位
  16559. type: integer
  16560. enumdicname:
  16561. description: 单位名称
  16562. type: string
  16563. goodscode:
  16564. description: 定投商品代码
  16565. type: string
  16566. goodsid:
  16567. description: 定投商品ID
  16568. type: integer
  16569. goodsname:
  16570. description: 定投商品名称
  16571. type: string
  16572. goodunitid:
  16573. description: 定投商品单位id
  16574. type: integer
  16575. logid:
  16576. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16577. type: string
  16578. logincode:
  16579. description: 账号(登录代码)
  16580. type: string
  16581. qtydecimalplace:
  16582. description: 成交量小数位
  16583. type: integer
  16584. regularlycycle:
  16585. description: 定投频率 - 1:每周 2:每月
  16586. type: integer
  16587. regularlycyclevalue:
  16588. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16589. type: string
  16590. regularlymode:
  16591. description: 定投方式 - 1:按数量 2:按金额
  16592. type: integer
  16593. regularlymodevalue:
  16594. description: 定投方式值 - 数量或金额
  16595. type: number
  16596. regularlystrategyid:
  16597. description: 定投策略ID
  16598. type: integer
  16599. retcode:
  16600. description: 错误码
  16601. type: string
  16602. tradeid:
  16603. description: 成交单ID
  16604. type: string
  16605. triggeramount:
  16606. description: 触发金额
  16607. type: number
  16608. triggerqty:
  16609. description: 触发数量
  16610. type: number
  16611. triggerstatus:
  16612. description: 触发状态 - 1:成功 2:失败
  16613. type: integer
  16614. triggertime:
  16615. description: 触发时间
  16616. type: string
  16617. triggertradedate:
  16618. description: 触发交易日
  16619. type: string
  16620. userid:
  16621. description: 所属用户ID
  16622. type: integer
  16623. userinfotype:
  16624. description: 用户类型 1-个人 2-企业
  16625. type: integer
  16626. username:
  16627. description: 用户名称(userid对应的名称)
  16628. type: string
  16629. type: object
  16630. models.QhjRStrategy:
  16631. properties:
  16632. accountid:
  16633. description: 用户资金账户
  16634. type: integer
  16635. accountname:
  16636. description: 账号名称(ACCOUNTID对应的名称)
  16637. type: string
  16638. currencyid:
  16639. description: 币种id
  16640. type: integer
  16641. currencyname:
  16642. description: 币种名称
  16643. type: string
  16644. decimalplace:
  16645. description: 商品报价小数位
  16646. type: integer
  16647. enumdicname:
  16648. description: 单位名称
  16649. type: string
  16650. goodscode:
  16651. description: 定投商品代码
  16652. type: string
  16653. goodsid:
  16654. description: 定投商品ID
  16655. type: integer
  16656. goodsname:
  16657. description: 定投商品名称
  16658. type: string
  16659. goodunitid:
  16660. description: 定投商品单位id
  16661. type: integer
  16662. lasteffecttradedate:
  16663. description: 最新生效交易日
  16664. type: string
  16665. laststoptradedate:
  16666. description: 最新暂停交易日
  16667. type: string
  16668. lasttriggertradedate:
  16669. description: 最新触发交易日
  16670. type: string
  16671. logincode:
  16672. description: 账号(登录代码)
  16673. type: string
  16674. nexttriggeramount:
  16675. description: 下次触发金额
  16676. type: number
  16677. nexttriggerdate:
  16678. description: 下次触发日期
  16679. type: string
  16680. nexttriggerqty:
  16681. description: 下次触发数量 [按小数位放大值]
  16682. type: number
  16683. qtydecimalplace:
  16684. description: 成交量小数位
  16685. type: integer
  16686. regularlycycle:
  16687. description: 定投频率 - 1:每周 2:每月
  16688. type: integer
  16689. regularlycyclevalue:
  16690. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16691. type: string
  16692. regularlymode:
  16693. description: 定投方式 - 1:按数量 2:按金额
  16694. type: integer
  16695. regularlymodevalue:
  16696. description: 定投方式值 - 数量或金额
  16697. type: number
  16698. regularlystrategyid:
  16699. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16700. type: integer
  16701. regularlystrategystatus:
  16702. description: 策略状态 - 1:正常 2:暂停 3:终止
  16703. type: integer
  16704. remark:
  16705. description: 备注
  16706. type: string
  16707. triggersuccesstimes:
  16708. description: 累计定投成功次数
  16709. type: string
  16710. triggertotalamount:
  16711. description: 累计定投金额(成功)
  16712. type: number
  16713. triggertotalqty:
  16714. description: 累计定投数量(成功) [按小数位放大值]
  16715. type: number
  16716. triggertotaltimes:
  16717. description: 累计定投总次数
  16718. type: string
  16719. updatesrc:
  16720. description: 更新来源 - 1:管理端 2:终端
  16721. type: integer
  16722. updatetime:
  16723. description: 更新时间
  16724. type: string
  16725. updatorid:
  16726. description: 更新人
  16727. type: string
  16728. userid:
  16729. description: 所属用户ID
  16730. type: integer
  16731. userinfotype:
  16732. description: 用户类型 1-个人 2-企业
  16733. type: integer
  16734. username:
  16735. description: 用户名称(userid对应的名称)
  16736. type: string
  16737. type: object
  16738. models.QhjReckonPriceLog:
  16739. properties:
  16740. decimalplace:
  16741. description: 商品报价小数位
  16742. type: integer
  16743. goodscode:
  16744. description: 商品代码
  16745. type: string
  16746. goodsid:
  16747. description: 商品ID
  16748. type: integer
  16749. goodsname:
  16750. description: 商品名称
  16751. type: string
  16752. lastreckonprice:
  16753. description: 上日结算价
  16754. type: number
  16755. nextdnlimitprice:
  16756. description: 下个交易日跌停价
  16757. type: number
  16758. nexttrade:
  16759. description: 下个交易日
  16760. type: string
  16761. nextuplimitprice:
  16762. description: 下个交易日涨停价
  16763. type: number
  16764. reckonprice:
  16765. description: 今日结算价(定投价)
  16766. type: number
  16767. reckontime:
  16768. description: 结算时间
  16769. type: string
  16770. totalholderqty:
  16771. description: 总持仓数
  16772. type: integer
  16773. totalstock:
  16774. description: 总库存
  16775. type: integer
  16776. tradedate:
  16777. description: 交易日
  16778. type: string
  16779. updowncount:
  16780. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16781. type: integer
  16782. updownflag:
  16783. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16784. type: integer
  16785. updownrate:
  16786. description: 今日涨跌幅
  16787. type: number
  16788. updownrate_2d:
  16789. description: 连续两日涨跌幅
  16790. type: number
  16791. updownrate_3d:
  16792. description: 连续三日涨跌幅
  16793. type: number
  16794. type: object
  16795. models.QhjScoreLog:
  16796. properties:
  16797. accountid:
  16798. description: 账户ID
  16799. type: integer
  16800. createtime:
  16801. description: 创建时间(时间)
  16802. type: string
  16803. goodsid:
  16804. description: 商品ID
  16805. type: integer
  16806. hasuploaded:
  16807. description: 是否已同步(千海金) 0:未同步 1;已同步
  16808. type: integer
  16809. logid:
  16810. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16811. type: string
  16812. marketid:
  16813. description: 市场ID
  16814. type: integer
  16815. relatedamount:
  16816. description: 关联金额
  16817. type: number
  16818. relatedorderid:
  16819. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16820. type: string
  16821. scoreconfigvalue1:
  16822. description: 积分配置1
  16823. type: integer
  16824. scoreconfigvalue2:
  16825. description: 积分配置1
  16826. type: integer
  16827. scoretype:
  16828. description: 积分类型 - 1:提货积分
  16829. type: integer
  16830. scorevalue:
  16831. description: 积分
  16832. type: number
  16833. tradedate:
  16834. description: 交易日(yyyyMMdd)
  16835. type: string
  16836. uploadedtime:
  16837. description: 同步时间
  16838. type: string
  16839. userid:
  16840. description: 用户ID
  16841. type: integer
  16842. type: object
  16843. models.QhjSiteColumnDetail:
  16844. properties:
  16845. author:
  16846. description: 作者
  16847. type: string
  16848. brief:
  16849. description: 简介
  16850. type: string
  16851. columnid:
  16852. description: 所属栏目
  16853. type: integer
  16854. context:
  16855. description: 内容
  16856. type: string
  16857. coverimage:
  16858. description: 封面图片
  16859. type: string
  16860. creaedate:
  16861. description: 创建时间
  16862. type: string
  16863. creatorid:
  16864. description: 创建人
  16865. type: integer
  16866. hits:
  16867. description: 点击数
  16868. type: integer
  16869. id:
  16870. description: ID(SEQ_SITE_COLUMNDETAIL)
  16871. type: integer
  16872. isshow:
  16873. description: 是否展示 - 0:不展示 1:展示
  16874. type: integer
  16875. istop:
  16876. description: 是否置顶 - 0:不置 1:置顶
  16877. type: integer
  16878. modifierid:
  16879. description: 操作人
  16880. type: integer
  16881. publishdate:
  16882. description: 发布日期
  16883. type: string
  16884. status:
  16885. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16886. type: integer
  16887. title:
  16888. description: 标题
  16889. type: string
  16890. updatedate:
  16891. description: 修改时间
  16892. type: string
  16893. userid:
  16894. description: 用户ID(默认为0, 核心为为机构用户ID)
  16895. type: integer
  16896. username:
  16897. description: 用户名称
  16898. type: string
  16899. type: object
  16900. models.QhjTeamOrder:
  16901. properties:
  16902. accountid:
  16903. description: 账户ID[报价币种]
  16904. type: integer
  16905. accountname:
  16906. description: 账户名称
  16907. type: string
  16908. agreeunit:
  16909. description: 合约乘数
  16910. type: number
  16911. buyorsell:
  16912. description: 方向 - 0:买 1:卖
  16913. type: integer
  16914. decimalplace:
  16915. description: 报价小数位
  16916. type: integer
  16917. enumdicname:
  16918. description: 单位名称
  16919. type: string
  16920. goodscode:
  16921. description: 商品代码(内部)
  16922. type: string
  16923. goodsid:
  16924. description: 商品ID
  16925. type: integer
  16926. goodsname:
  16927. description: 商品名称
  16928. type: string
  16929. goodunitid:
  16930. description: 报价单位ID
  16931. type: integer
  16932. marketid:
  16933. description: 市场ID
  16934. type: integer
  16935. marketname:
  16936. description: 市场名称
  16937. type: string
  16938. qtydecimalplace:
  16939. description: 成交量小数位
  16940. type: integer
  16941. refereeuserid:
  16942. description: 推荐人ID
  16943. type: integer
  16944. tradeamount:
  16945. description: 成交金额[账户币种,用于所有权]
  16946. type: number
  16947. tradedate:
  16948. description: 交易日(yyyyMMdd)
  16949. type: string
  16950. trademode:
  16951. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16952. 21:竞拍-大宗式 22:受托竞价
  16953. type: integer
  16954. tradeprice:
  16955. description: 成交价格
  16956. type: number
  16957. tradeqty:
  16958. description: 成交数量
  16959. type: number
  16960. tradetime:
  16961. description: 成交时间
  16962. type: string
  16963. userid:
  16964. description: 用户ID
  16965. type: integer
  16966. type: object
  16967. models.QhjTradeGoodsPickup:
  16968. properties:
  16969. accountid:
  16970. description: 账户ID
  16971. type: integer
  16972. address:
  16973. description: 提货人详细地址
  16974. type: string
  16975. amount:
  16976. description: 提货金额
  16977. type: number
  16978. artradedate:
  16979. description: 自动收货交易日(yyyyMMdd)
  16980. type: string
  16981. auditer:
  16982. description: 审核人
  16983. type: integer
  16984. auditsrc:
  16985. description: 更新来源 - 1:管理端 2:终端
  16986. type: integer
  16987. audittime:
  16988. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16989. type: string
  16990. audittradedate:
  16991. description: 审核交易日(yyyyMMdd)
  16992. type: string
  16993. cardnum:
  16994. description: 提货人证件号码
  16995. type: string
  16996. cardtypeid:
  16997. description: 提货人证件类型
  16998. type: integer
  16999. checkremark:
  17000. description: 审核备注
  17001. type: string
  17002. cityid:
  17003. description: 市
  17004. type: integer
  17005. cityname:
  17006. description: 城市名称
  17007. type: string
  17008. confirmtime:
  17009. description: 取货时间 或 收货时间
  17010. type: string
  17011. countryid:
  17012. description: 国家
  17013. type: integer
  17014. countryname:
  17015. description: 国家名称
  17016. type: string
  17017. decimalplace:
  17018. description: 商品报价小数位
  17019. type: integer
  17020. districtid:
  17021. description: 地区
  17022. type: integer
  17023. districtname:
  17024. description: 地区名称
  17025. type: string
  17026. enumdicname:
  17027. description: 单位名称(提货商品)
  17028. type: string
  17029. expresscompany:
  17030. description: 物流公司
  17031. type: string
  17032. expressnum:
  17033. description: 物流单号
  17034. type: string
  17035. goodsagreeunit:
  17036. description: 交易商品乘数
  17037. type: number
  17038. goodscode:
  17039. description: 商品代码
  17040. type: string
  17041. goodsid:
  17042. description: 商品ID
  17043. type: integer
  17044. goodsname:
  17045. description: 商品名称
  17046. type: string
  17047. goodsqty:
  17048. description: 交易商品手数(69模式按成交量小数位放大取整)
  17049. type: number
  17050. handlestatus:
  17051. description: 处理状态
  17052. type: integer
  17053. logincode:
  17054. description: 账号(登录代码, 有可能为空)
  17055. type: string
  17056. marketid:
  17057. description: 市场ID
  17058. type: integer
  17059. phonenum:
  17060. description: 提货人联系方式
  17061. type: string
  17062. pickupgoodsagreeunit:
  17063. description: 提货商品合约乘数
  17064. type: number
  17065. pickupgoodsid:
  17066. description: 提货商品ID
  17067. type: string
  17068. pickupgoodsname:
  17069. description: 提货商品名称
  17070. type: string
  17071. pickupgoodsqty:
  17072. description: 提货商品手数(数量)
  17073. type: number
  17074. pickupgoodsunitid:
  17075. description: 单位ID(提货商品)
  17076. type: integer
  17077. pickupratio:
  17078. description: 提货系数
  17079. type: number
  17080. preparedays:
  17081. description: 备货期(天)-提货单明细表
  17082. type: integer
  17083. provinceid:
  17084. description: 省
  17085. type: integer
  17086. provincename:
  17087. description: 省名称
  17088. type: string
  17089. qty:
  17090. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  17091. type: number
  17092. qtydecimalplace:
  17093. description: 商品数量小数位
  17094. type: integer
  17095. recivername:
  17096. description: 提货人姓名
  17097. type: string
  17098. reqtime:
  17099. description: 提货申请时间
  17100. type: string
  17101. storeuserid:
  17102. description: 门店用户ID (千海金)
  17103. type: integer
  17104. storeusername:
  17105. description: 门店用户名称
  17106. type: string
  17107. takemode:
  17108. description: 提货方式 - 2:自提 3:配送(邮寄)
  17109. type: integer
  17110. takeorderid:
  17111. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17112. type: string
  17113. takeorderstatus:
  17114. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  17115. 7:已拒绝 8:已撤销
  17116. type: integer
  17117. takeremark:
  17118. description: 提货备注
  17119. type: string
  17120. tradedate:
  17121. description: 交易日(yyyyMMdd)
  17122. type: string
  17123. updatetime:
  17124. description: 更新时间
  17125. type: string
  17126. userid:
  17127. description: 用户ID
  17128. type: integer
  17129. userinfotype:
  17130. description: 客户类型 1-个人 2-企业
  17131. type: integer
  17132. username:
  17133. description: 用户名称
  17134. type: string
  17135. type: object
  17136. models.QhjUserNodeCfgAndStatus:
  17137. properties:
  17138. agreementcontent:
  17139. description: 协议内容
  17140. type: string
  17141. agreementid:
  17142. description: 协议ID
  17143. type: integer
  17144. agreementname:
  17145. description: 协议名称
  17146. type: string
  17147. agreementno:
  17148. description: 协议编号
  17149. type: string
  17150. agreementtype:
  17151. description: 协议类型 - 1:注册 2:登录 3:交易
  17152. type: integer
  17153. agreementversion:
  17154. description: 协议版本号
  17155. type: integer
  17156. configid:
  17157. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17158. type: integer
  17159. createtime:
  17160. description: 创建时间
  17161. type: string
  17162. goodsid:
  17163. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17164. type: integer
  17165. nodetype:
  17166. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17167. type: integer
  17168. signtimestamp:
  17169. description: 签约状态时间戳(最近一次)
  17170. type: string
  17171. tradedate:
  17172. description: 签约交易日(yyyyMMdd)
  17173. type: string
  17174. userid:
  17175. description: 客户ID
  17176. type: integer
  17177. type: object
  17178. models.Qhjgoodsex:
  17179. properties:
  17180. canfinance:
  17181. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17182. type: integer
  17183. canregularlybuy:
  17184. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17185. type: integer
  17186. defaulttradeuserid:
  17187. description: 默认交易用户ID
  17188. type: integer
  17189. deliverygoodsid:
  17190. description: 现货品种ID
  17191. type: integer
  17192. goodsid:
  17193. description: 商品ID(自增ID SEQ_GOODS)
  17194. type: integer
  17195. minamount:
  17196. description: 最小购买金额
  17197. type: number
  17198. regularlybuyminamount:
  17199. description: 定投最小金额
  17200. type: number
  17201. regularlybuyminqty:
  17202. description: 定投最小数量
  17203. type: number
  17204. spotgoodsbrandid:
  17205. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17206. type: integer
  17207. visibilityforenterprise:
  17208. description: 企业客户是否可见 - 0:不可见 1:可见
  17209. type: integer
  17210. visibilityforpersonal:
  17211. description: 个人客户是否可见 - 0:不可见 1:可见
  17212. type: integer
  17213. wrstandardid:
  17214. description: 现货商品ID
  17215. type: integer
  17216. type: object
  17217. models.QueryErrorInfosRsp:
  17218. properties:
  17219. description:
  17220. description: 异常描述
  17221. type: string
  17222. errorcode:
  17223. description: 异常代码
  17224. type: string
  17225. errorid:
  17226. description: 异常ID
  17227. type: integer
  17228. modulecode:
  17229. description: 所属模块
  17230. type: string
  17231. operatecode:
  17232. description: 所属操作
  17233. type: string
  17234. rownumber:
  17235. description: 行号
  17236. type: string
  17237. required:
  17238. - errorid
  17239. type: object
  17240. models.QueryHedgeOrderDetailRsp:
  17241. properties:
  17242. accountid:
  17243. description: 账户ID
  17244. type: integer
  17245. buyorsell:
  17246. description: 买卖 - 0:买 1:卖
  17247. type: integer
  17248. cancellogincode:
  17249. description: 撤单人
  17250. type: string
  17251. channelbuildtype:
  17252. description: 开平标志 - 0:无 1:建仓 2:平仓
  17253. type: integer
  17254. channelinnerorderstatus:
  17255. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17256. 9:全部成交
  17257. type: integer
  17258. channeloperatetype:
  17259. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17260. type: integer
  17261. closetype:
  17262. description: 平仓方式 - 0:无 1:平今 2:平昨
  17263. type: integer
  17264. curexchangerate:
  17265. description: 当前汇率
  17266. type: number
  17267. decimalplace:
  17268. description: 商品报价小数位
  17269. type: integer
  17270. exchangefullname:
  17271. description: 外部交易所全称
  17272. type: string
  17273. goodscode:
  17274. description: 商品代码(内部)
  17275. type: string
  17276. goodsid:
  17277. description: 商品ID
  17278. type: integer
  17279. goodsname:
  17280. description: 商品名称
  17281. type: string
  17282. marketid:
  17283. description: 市场ID
  17284. type: integer
  17285. openfreezemargin:
  17286. description: 冻结保证金(冻结交易金额)
  17287. type: number
  17288. orderid:
  17289. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17290. type: string
  17291. orderlogincode:
  17292. description: 委托人
  17293. type: string
  17294. orderprice:
  17295. description: 委托价格(账户)
  17296. type: number
  17297. orderqty:
  17298. description: 委托数量
  17299. type: integer
  17300. ordertime:
  17301. description: 委托时间
  17302. type: string
  17303. pricemode:
  17304. description: '取价方式 - 1:市价 2: 限价'
  17305. type: integer
  17306. tradedate:
  17307. description: 交易日(yyyyMMdd)
  17308. type: string
  17309. tradeqty:
  17310. description: 成交数量
  17311. type: integer
  17312. type: object
  17313. models.QueryHedgeTradeDetailRsp:
  17314. properties:
  17315. accountid:
  17316. description: 账号ID
  17317. type: integer
  17318. buyorsell:
  17319. description: 方向 - 0:买 1:卖
  17320. type: integer
  17321. channelbuildtype:
  17322. description: 委托单据类型 0:无 1:建仓 2:平仓
  17323. type: integer
  17324. closecharge:
  17325. description: 平仓手续费(账户)
  17326. type: number
  17327. closecharge2:
  17328. description: 平仓手续费(商品)
  17329. type: number
  17330. closepl:
  17331. description: 平仓盈亏(账户)
  17332. type: number
  17333. closepl2:
  17334. description: 平仓盈亏(商品)
  17335. type: number
  17336. closepl3:
  17337. description: 平仓盈亏(账户)(逐笔)
  17338. type: number
  17339. closepl4:
  17340. description: 平仓盈亏(商品)(逐笔)
  17341. type: number
  17342. closetype:
  17343. description: 平仓方式 - 0:无 1:平今 2:平昨
  17344. type: integer
  17345. curexchangerate:
  17346. description: 当前汇率
  17347. type: number
  17348. decimalplace:
  17349. description: 商品报价小数位
  17350. type: integer
  17351. exchangefullname:
  17352. description: 外部交易所全称
  17353. type: string
  17354. goodscode:
  17355. description: 商品代码(内部)
  17356. type: string
  17357. goodsid:
  17358. description: 商品ID
  17359. type: integer
  17360. goodsname:
  17361. description: 商品名称
  17362. type: string
  17363. marketid:
  17364. description: 市场ID
  17365. type: integer
  17366. opencharge:
  17367. description: 建仓手续费(账户)
  17368. type: number
  17369. opencharge2:
  17370. description: 建仓手续费(商品)
  17371. type: number
  17372. orderid:
  17373. description: 委托单号
  17374. type: string
  17375. orderlogincode:
  17376. description: 委托人
  17377. type: string
  17378. tradeamount:
  17379. description: 成交金额(账户)
  17380. type: number
  17381. tradedate:
  17382. description: 交易日(yyyyMMdd)
  17383. type: string
  17384. tradeid:
  17385. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17386. type: string
  17387. tradeprice:
  17388. description: 成交价格
  17389. type: number
  17390. tradeqty:
  17391. description: 成交数量
  17392. type: integer
  17393. tradetime:
  17394. description: 成交时间
  17395. type: string
  17396. tradetype:
  17397. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17398. type: integer
  17399. type: object
  17400. models.QuotePrimaryMenu:
  17401. properties:
  17402. Index:
  17403. description: 序号
  17404. type: integer
  17405. Key:
  17406. description: 键名
  17407. type: string
  17408. Name:
  17409. description: 菜单名称
  17410. type: string
  17411. SubMenus:
  17412. description: 子菜单
  17413. items:
  17414. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17415. type: array
  17416. SubTitleType:
  17417. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17418. type: integer
  17419. TradeModes:
  17420. description: 包含市场交易类型
  17421. type: string
  17422. type: object
  17423. models.QuoteSecondaryMenu:
  17424. properties:
  17425. ExExchangeCode:
  17426. description: 外部交易所代码
  17427. type: string
  17428. ExExchangeID:
  17429. description: 外部交易所ID
  17430. type: integer
  17431. GoodsGroupIDs:
  17432. description: 商品组ID列表
  17433. items:
  17434. type: integer
  17435. type: array
  17436. Index:
  17437. description: 序号
  17438. type: integer
  17439. MarketID:
  17440. description: 市场ID
  17441. type: integer
  17442. MenuTitle:
  17443. description: 菜单标题(市场名称或外部交易所名称)
  17444. type: string
  17445. TradeMode:
  17446. description: 交易模式
  17447. type: integer
  17448. type: object
  17449. models.Reckondaytaaccount:
  17450. properties:
  17451. accountid:
  17452. description: 资金账户ID
  17453. type: integer
  17454. accountname:
  17455. description: 账户名称
  17456. type: string
  17457. accountpl:
  17458. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17459. type: number
  17460. avaiablemoney:
  17461. description: 可用资金
  17462. type: number
  17463. avaiableoutmoney:
  17464. description: 可出资金
  17465. type: number
  17466. balance:
  17467. description: 期初余额
  17468. type: number
  17469. capitalbalance:
  17470. description: 本金余额[外部子账户实际出入金余额]
  17471. type: number
  17472. changeflag:
  17473. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17474. type: integer
  17475. clearbalance:
  17476. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17477. type: number
  17478. clearpl:
  17479. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17480. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17481. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17482. type: number
  17483. closepl:
  17484. description: 今日平仓盈亏
  17485. type: number
  17486. closepl2:
  17487. description: 平仓盈亏(逐笔)
  17488. type: number
  17489. creditdecrease:
  17490. description: 今日授信减少
  17491. type: number
  17492. creditincrease:
  17493. description: 今日授信增加
  17494. type: number
  17495. curdebt:
  17496. description: 期末欠款
  17497. type: number
  17498. currencyid:
  17499. description: 货币ID
  17500. type: integer
  17501. currentbalance:
  17502. description: 期末余额
  17503. type: number
  17504. cycletype:
  17505. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17506. type: integer
  17507. defercharge:
  17508. description: 今日递延费2支出[111, 112]
  17509. type: number
  17510. deliveryamountin:
  17511. description: 今日交收货款收入
  17512. type: number
  17513. deliveryamountout:
  17514. description: 今日交收货款支出
  17515. type: number
  17516. deliverycharge:
  17517. description: 今日交收手续费支出 [105,106]
  17518. type: number
  17519. deliverycompensationfeein:
  17520. description: 今日交收补偿费收入
  17521. type: number
  17522. deliverycompensationfeeout:
  17523. description: 今日交收补偿费支出
  17524. type: number
  17525. dividedcharge:
  17526. description: 今日已收手续费分成
  17527. type: number
  17528. floatnetvalue:
  17529. description: 浮动净值 = 净值 + 浮动盈亏
  17530. type: number
  17531. floatpl:
  17532. description: 浮动盈亏 - 每日有负债类商品
  17533. type: number
  17534. freezecharge:
  17535. description: 手续费冻结
  17536. type: number
  17537. freezemargin:
  17538. description: 冻结保证金
  17539. type: number
  17540. fromaccountid:
  17541. description: 所属上级账户
  17542. type: integer
  17543. holdcharge:
  17544. description: 今日持仓过夜费支出[108,109,110]
  17545. type: number
  17546. inamount:
  17547. description: 今日入金金额
  17548. type: number
  17549. interestcharge:
  17550. description: 今日递延费支出[103, 104]
  17551. type: number
  17552. ismain:
  17553. description: 是否账号 0:不是母账户 1:是母账户
  17554. type: integer
  17555. ismarketaccount:
  17556. description: 是否机构接单账号 0:不是 1:是
  17557. type: integer
  17558. isreckonaccount:
  17559. description: 是否机构分润账号 0:不是 1:是
  17560. type: integer
  17561. mortgagecredit:
  17562. description: 授信金额
  17563. type: number
  17564. netvalue:
  17565. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17566. type: number
  17567. oridebt:
  17568. description: 期初欠款
  17569. type: number
  17570. orifreezecharge:
  17571. description: 期初手续费冻结
  17572. type: number
  17573. orifreezemargin:
  17574. description: 期初冻结保证金
  17575. type: number
  17576. orimortgagecredit:
  17577. description: 期初授信金额
  17578. type: number
  17579. oriothercredit:
  17580. description: 期初其它授信金额
  17581. type: number
  17582. oriotherfreezemargin:
  17583. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17584. type: number
  17585. orioutamountfreeze:
  17586. description: 期初出金冻结
  17587. type: number
  17588. oriusedmargin:
  17589. description: 期初占用保证金
  17590. type: number
  17591. othercredit:
  17592. description: 其它授信金额
  17593. type: number
  17594. othercreditdecrease:
  17595. description: 今日其它授信减少
  17596. type: number
  17597. othercreditincrease:
  17598. description: 今日其它授信增加
  17599. type: number
  17600. otherfreezemargin:
  17601. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17602. type: number
  17603. otherincome:
  17604. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17605. type: number
  17606. otherpay:
  17607. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17608. type: number
  17609. outamount:
  17610. description: 今日出金金额
  17611. type: number
  17612. outamountfreeze:
  17613. description: 出金冻结
  17614. type: number
  17615. outthreshold:
  17616. description: 出金阈值
  17617. type: number
  17618. ownershipvalue:
  17619. description: 所有权市值
  17620. type: number
  17621. parentaccountid:
  17622. description: 所属根账户
  17623. type: integer
  17624. password:
  17625. description: 资金密码
  17626. type: string
  17627. paycharge:
  17628. description: 今日手续费支出
  17629. type: number
  17630. paycharge2:
  17631. description: 今日手续费支出(外部配置)
  17632. type: number
  17633. payexchcharge:
  17634. description: 今日应付交易所手续费
  17635. type: number
  17636. reckondate:
  17637. description: 日照日期(yyyyMMdd)
  17638. type: string
  17639. reckonpl:
  17640. description: 今日结算盈亏
  17641. type: number
  17642. reckonpl2:
  17643. description: 结算盈亏(逐笔) - 汇总取期末
  17644. type: number
  17645. relatedaccountstatus:
  17646. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17647. type: integer
  17648. relateuserid:
  17649. description: 关联用户
  17650. type: integer
  17651. riskrate:
  17652. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17653. type: number
  17654. signstatus:
  17655. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17656. type: integer
  17657. spotvalue:
  17658. description: 现货市值-统计服务更新
  17659. type: number
  17660. sublevelpath:
  17661. description: 账号层级路径(逗号分隔,首尾加逗号)
  17662. type: string
  17663. taaccounttype:
  17664. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17665. type: integer
  17666. thirdinamount:
  17667. description: 今日三方入金
  17668. type: number
  17669. thirdoutamount:
  17670. description: 今日三方出金
  17671. type: number
  17672. tradeamount:
  17673. description: 今日成交金额
  17674. type: number
  17675. tradecharge:
  17676. description: 今日交易手续费支出 [101,102]
  17677. type: number
  17678. tradeqty:
  17679. description: 今日成交量
  17680. type: integer
  17681. tradestatus:
  17682. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17683. type: integer
  17684. transferamount:
  17685. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17686. type: number
  17687. usedmargin:
  17688. description: 占用保证金
  17689. type: number
  17690. userid:
  17691. description: 用户ID
  17692. type: integer
  17693. required:
  17694. - userid
  17695. type: object
  17696. models.Reckongzmemtradesum:
  17697. properties:
  17698. buylistingamount:
  17699. description: 买挂牌金额 - 无数据,预留
  17700. type: number
  17701. buylistinglot:
  17702. description: 买挂牌宗数
  17703. type: integer
  17704. buylistingqty:
  17705. description: 买挂牌数量 - 无数据,预留
  17706. type: number
  17707. buytradeamount:
  17708. description: 购买金额
  17709. type: number
  17710. buytradelot:
  17711. description: 购买宗数
  17712. type: integer
  17713. buytradeqty:
  17714. description: 购买数量
  17715. type: number
  17716. marketid:
  17717. description: 市场ID
  17718. type: integer
  17719. reckondate:
  17720. description: 日照日期(yyyyMMdd)
  17721. type: string
  17722. selllistingamount:
  17723. description: 卖挂牌金额
  17724. type: number
  17725. selllistinglot:
  17726. description: 卖挂牌宗数
  17727. type: integer
  17728. selllistingqty:
  17729. description: 卖挂牌数量
  17730. type: number
  17731. selltradeamount:
  17732. description: 销售金额
  17733. type: number
  17734. selltradelot:
  17735. description: 销售宗数
  17736. type: integer
  17737. selltradeqty:
  17738. description: 销售数量
  17739. type: number
  17740. updatetime:
  17741. description: 更新时间
  17742. type: string
  17743. userid:
  17744. description: 用户ID
  17745. type: integer
  17746. zscategory:
  17747. description: 钻石分类 - 枚举”ZSCategory“
  17748. type: integer
  17749. zscategorydisplay:
  17750. type: string
  17751. zscurrencytype:
  17752. description: 货币类型 - 枚举“ZSCurrencyType”
  17753. type: integer
  17754. zscurrencytypedisplay:
  17755. type: string
  17756. zscurrencytypedisplayunit:
  17757. type: string
  17758. required:
  17759. - userid
  17760. type: object
  17761. models.RegisterMoney:
  17762. properties:
  17763. amount:
  17764. description: 红包
  17765. type: number
  17766. type: object
  17767. models.RelatedTaAccount:
  17768. properties:
  17769. accountid:
  17770. description: 资金账户ID
  17771. type: integer
  17772. type: object
  17773. models.RoleMenu:
  17774. properties:
  17775. hasright:
  17776. description: 是否有权限 0-没有权限 1-有权限
  17777. type: integer
  17778. iconame:
  17779. description: 菜单图标
  17780. type: string
  17781. menutype:
  17782. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17783. type: integer
  17784. parentcode:
  17785. description: 上级资源代码
  17786. type: string
  17787. remark:
  17788. description: 菜单备注
  17789. type: string
  17790. resourcecode:
  17791. description: 菜单代码
  17792. type: string
  17793. resourcelevel:
  17794. description: 级别
  17795. type: integer
  17796. resourcename:
  17797. description: 菜单名称
  17798. type: string
  17799. roleid:
  17800. description: 角色id
  17801. type: integer
  17802. sort:
  17803. description: 排序
  17804. type: integer
  17805. subMenu:
  17806. description: 子级菜单(结构同上层一样, swag解析不出来)
  17807. items:
  17808. $ref: '#/definitions/models.RoleMenu'
  17809. type: array
  17810. url:
  17811. description: URL
  17812. type: string
  17813. userid:
  17814. description: 用户id
  17815. type: integer
  17816. type: object
  17817. models.SearchGoods:
  17818. properties:
  17819. goodscode:
  17820. description: 商品代码(内部)
  17821. type: string
  17822. goodsid:
  17823. description: 商品ID(自增ID SEQ_GOODS)
  17824. type: integer
  17825. goodsname:
  17826. description: 商品名称
  17827. type: string
  17828. marketid:
  17829. description: 所属市场ID
  17830. type: integer
  17831. marketname:
  17832. description: 市场名称
  17833. type: string
  17834. trademode:
  17835. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17836. 21:竞拍-大宗式 22:受托竞价
  17837. type: integer
  17838. required:
  17839. - goodscode
  17840. - goodsid
  17841. - goodsname
  17842. - marketid
  17843. - trademode
  17844. type: object
  17845. models.SellOrder:
  17846. properties:
  17847. accountid:
  17848. description: 资金账号
  17849. type: integer
  17850. applyid:
  17851. description: 申请单ID
  17852. type: integer
  17853. attachment1:
  17854. description: 附件1
  17855. type: string
  17856. attachment2:
  17857. description: 附件2
  17858. type: string
  17859. buyorsell:
  17860. description: 买卖 - 0:买 1:卖
  17861. type: integer
  17862. canbargain:
  17863. description: 是否可议价 - 0:不可 1:可
  17864. type: integer
  17865. cancelqty:
  17866. description: 撤销数量
  17867. type: integer
  17868. canceltime:
  17869. description: 撤销时间
  17870. type: string
  17871. cerno:
  17872. type: string
  17873. chargealgorithm:
  17874. description: 手续费收取方式 1:比率 2:固定
  17875. type: integer
  17876. chargealgorithmvalue:
  17877. description: 手续费设置值(交易所部分)
  17878. type: number
  17879. chargealgorithmvalue2:
  17880. description: 手续费设置值(会员部分)
  17881. type: number
  17882. clientordertime:
  17883. description: 客户端委托时间
  17884. type: string
  17885. cpcertno:
  17886. type: string
  17887. exchangerate:
  17888. description: 汇率[67]
  17889. type: number
  17890. firstratio:
  17891. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17892. type: number
  17893. fixedprice:
  17894. description: '[克拉单价]固定价格 - [挂牌]'
  17895. type: number
  17896. freezecharge:
  17897. description: 冻结手续费
  17898. type: number
  17899. freezefirstamount:
  17900. description: 冻结首付金额 - [摘牌]
  17901. type: number
  17902. freezemargin:
  17903. description: 冻结保证金
  17904. type: number
  17905. goodsno:
  17906. description: 商品编号
  17907. type: string
  17908. imagepath:
  17909. type: string
  17910. isQueryDiamond:
  17911. description: 是否钻石查询
  17912. type: boolean
  17913. isspecified:
  17914. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17915. type: integer
  17916. kppath:
  17917. type: string
  17918. kpweight:
  17919. type: string
  17920. marginalgorithm:
  17921. description: 保证金方式 - 1:比率 2:固定
  17922. type: integer
  17923. marginvalue:
  17924. description: 保证金设置值
  17925. type: number
  17926. marketid:
  17927. description: 市场ID
  17928. type: integer
  17929. marketprice:
  17930. type: string
  17931. orderamount:
  17932. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17933. type: number
  17934. ordertime:
  17935. description: 委托时间
  17936. type: string
  17937. performancetemplateid:
  17938. description: 履约计划模板ID
  17939. type: integer
  17940. price:
  17941. description: 价格
  17942. type: number
  17943. pricefactor:
  17944. description: 价格系数(浮动价时填写) - [挂牌]
  17945. type: number
  17946. pricemove:
  17947. description: 升贴水(浮动价时填写) - [挂牌]
  17948. type: number
  17949. priceper:
  17950. type: string
  17951. relatedwrtradeorderid:
  17952. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17953. type: integer
  17954. remainqty:
  17955. description: 剩余重量
  17956. type: number
  17957. remark:
  17958. type: string
  17959. retcode:
  17960. description: 错误代码
  17961. type: integer
  17962. sellusername:
  17963. description: 卖方(查询字段-模糊查询)
  17964. type: string
  17965. settingmaterial:
  17966. description: 镶嵌材料
  17967. type: string
  17968. size1:
  17969. type: string
  17970. size2:
  17971. type: string
  17972. size3:
  17973. type: string
  17974. sizedisplay:
  17975. description: 尺寸
  17976. type: string
  17977. stonedesc:
  17978. description: 配石描述
  17979. type: string
  17980. totalqty:
  17981. description: 总重量
  17982. type: number
  17983. tradedate:
  17984. description: 交易日(yyyyMMdd)
  17985. type: string
  17986. tradeprice:
  17987. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17988. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17989. type: number
  17990. unfreezecharge:
  17991. description: 解冻手续费
  17992. type: number
  17993. unfreezefirstamount:
  17994. description: 解冻首付金额 - [摘牌]
  17995. type: number
  17996. unfreezemargin:
  17997. description: 解冻保证金
  17998. type: number
  17999. userid:
  18000. description: 用户ID
  18001. type: integer
  18002. uuid:
  18003. description: 发起端唯一id
  18004. type: string
  18005. validtime:
  18006. description: 有效期限
  18007. type: string
  18008. validtype:
  18009. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18010. type: integer
  18011. warehousenamedisplay:
  18012. type: string
  18013. wrbargainid:
  18014. description: 议价申请单ID
  18015. type: integer
  18016. wrfactortypeid:
  18017. description: 仓单要素类型ID/商品ID(77)
  18018. type: integer
  18019. wrpath:
  18020. type: string
  18021. wrpricetype:
  18022. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18023. type: integer
  18024. wrstandardid:
  18025. description: 现货商品ID
  18026. type: integer
  18027. wrtradeorderid:
  18028. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18029. type: string
  18030. wrtradeorderstatus:
  18031. 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:撤单解冻贷款失败
  18032. type: integer
  18033. wrtradetype:
  18034. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18035. type: integer
  18036. wrtransferuserid:
  18037. description: 仓单受让用户 - [摘牌]
  18038. type: integer
  18039. zscategory:
  18040. description: 钻石分类 - 枚举”ZSCategory“
  18041. type: integer
  18042. zscategorydisplay:
  18043. description: 钻石分类 - 描述
  18044. type: string
  18045. zscerttypedisplay:
  18046. type: string
  18047. zsclaritytype1display:
  18048. type: string
  18049. zsclaritytype2display:
  18050. type: string
  18051. zscolortype1display:
  18052. type: string
  18053. zscolortype2display:
  18054. type: string
  18055. zscrystaltype:
  18056. type: string
  18057. zscrystaltypedisplay:
  18058. type: string
  18059. zscurrencytype:
  18060. description: 货币类型 - 枚举“ZSCurrencyType”
  18061. type: integer
  18062. zscurrencytypedisplay:
  18063. type: string
  18064. zscurrencytypedisplayunit:
  18065. type: string
  18066. zscuttype1display:
  18067. type: string
  18068. zscuttype2display:
  18069. type: string
  18070. zsczcolor1typedisplay:
  18071. type: string
  18072. zsczcolor2typedisplay:
  18073. type: string
  18074. zsczcolor3typedisplay:
  18075. type: string
  18076. zsfluorescencetype1display:
  18077. type: string
  18078. zsfluorescencetype2display:
  18079. type: string
  18080. zspolishtype1display:
  18081. type: string
  18082. zspolishtype2display:
  18083. type: string
  18084. zsshapetypedisplay:
  18085. type: string
  18086. zsstyletypedisplay:
  18087. type: string
  18088. zssymmetrytype1display:
  18089. type: string
  18090. zssymmetrytype2display:
  18091. type: string
  18092. type: object
  18093. models.SellOrderQueryReq:
  18094. properties:
  18095. origin:
  18096. description: 原产地
  18097. type: string
  18098. page:
  18099. description: 页码
  18100. type: integer
  18101. pagesize:
  18102. description: 每页大小
  18103. type: integer
  18104. total:
  18105. description: 总条数
  18106. type: integer
  18107. warehouseid:
  18108. description: 仓库ID
  18109. type: integer
  18110. weight1:
  18111. description: 总重量(克拉重量)-从
  18112. type: number
  18113. weight2:
  18114. description: 总重量(克拉重量)-至
  18115. type: number
  18116. weightavg1:
  18117. description: 平均单颗重量-从
  18118. type: number
  18119. weightavg2:
  18120. description: 平均单颗重量-至
  18121. type: number
  18122. zscategory:
  18123. description: 钻石分类 - 枚举”ZSCategory“
  18124. type: integer
  18125. zscerttype:
  18126. description: 证书类型
  18127. items:
  18128. type: string
  18129. type: array
  18130. zsclaritytype:
  18131. description: 净度
  18132. items:
  18133. type: integer
  18134. type: array
  18135. zscolortype:
  18136. description: 颜色
  18137. items:
  18138. type: integer
  18139. type: array
  18140. zscurrencytype:
  18141. description: 货币类型 - 枚举“ZSCurrencyType”
  18142. items:
  18143. type: string
  18144. type: array
  18145. zscuttype:
  18146. description: 切工
  18147. items:
  18148. type: integer
  18149. type: array
  18150. zsczcolor1type:
  18151. description: 彩钻颜色1
  18152. items:
  18153. type: string
  18154. type: array
  18155. zsfluorescencetype:
  18156. description: 荧光
  18157. items:
  18158. type: integer
  18159. type: array
  18160. zspolishtype:
  18161. description: 抛光度
  18162. items:
  18163. type: integer
  18164. type: array
  18165. zsshapetype:
  18166. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18167. items:
  18168. type: string
  18169. type: array
  18170. zsstyletype:
  18171. description: 款式
  18172. items:
  18173. type: string
  18174. type: array
  18175. zssymmetrytype:
  18176. description: 对称度
  18177. items:
  18178. type: integer
  18179. type: array
  18180. required:
  18181. - zscategory
  18182. type: object
  18183. models.Sitecolumnconfig:
  18184. properties:
  18185. columnname:
  18186. description: 栏目名称
  18187. type: string
  18188. columntype:
  18189. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18190. type: integer
  18191. creaedate:
  18192. description: 创建时间
  18193. type: string
  18194. creatorid:
  18195. description: 创建人
  18196. type: integer
  18197. id:
  18198. description: ID(SEQ_SITE_COLUMNCONFIG)
  18199. type: integer
  18200. isshow:
  18201. description: 是否展示 - 0:不展示 1:展示
  18202. type: integer
  18203. modifierid:
  18204. description: 操作人
  18205. type: integer
  18206. sort:
  18207. description: 排序
  18208. type: integer
  18209. updatedate:
  18210. description: 修改时间
  18211. type: string
  18212. type: object
  18213. models.Spotgoodsprice:
  18214. properties:
  18215. prespotgoodsprice:
  18216. description: 上日价格
  18217. type: number
  18218. spotgoodsprice:
  18219. description: 当前价格
  18220. type: number
  18221. tradedate:
  18222. description: 交易日(yyyyMMdd)
  18223. type: string
  18224. wrstandardcode:
  18225. description: 现货商品代码
  18226. type: string
  18227. wrstandardid:
  18228. description: 现货商品ID(通用则为0)
  18229. type: integer
  18230. wrstandardname:
  18231. description: 现货商品名称
  18232. type: string
  18233. type: object
  18234. models.Systemparam:
  18235. properties:
  18236. loginid:
  18237. description: 更新用户账号,登录账号
  18238. type: string
  18239. modifyflag:
  18240. description: 修改标志0 不允许修改 1 允许修改
  18241. type: integer
  18242. paramcode:
  18243. description: 参数代码
  18244. type: string
  18245. paramname:
  18246. description: 参数名
  18247. type: string
  18248. paramtype:
  18249. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  18250. type: integer
  18251. paramvalue:
  18252. description: 参数值
  18253. type: string
  18254. paramvalue2:
  18255. description: 参数值(CLOB)
  18256. type: string
  18257. regexpress:
  18258. description: 正则表达式
  18259. type: string
  18260. remark:
  18261. description: 备注
  18262. type: string
  18263. serverip:
  18264. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  18265. type: string
  18266. showflag:
  18267. description: 是否显示0 不显示 1 显示
  18268. type: integer
  18269. updatetime:
  18270. description: 更新时间
  18271. type: string
  18272. userid:
  18273. description: 更新用户ID
  18274. type: integer
  18275. required:
  18276. - paramcode
  18277. type: object
  18278. models.Szdz3convertconfig:
  18279. properties:
  18280. canin:
  18281. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  18282. type: integer
  18283. canout:
  18284. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  18285. type: integer
  18286. converttype:
  18287. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18288. 6:交易转花生米(不设置)
  18289. type: integer
  18290. createtime:
  18291. description: 创建时间
  18292. type: string
  18293. creatorid:
  18294. description: 创建人
  18295. type: integer
  18296. daymaxvalue:
  18297. description: 当日最大转入限制
  18298. type: number
  18299. freezedays:
  18300. description: 冻结天数 [5:花生米转交易]
  18301. type: integer
  18302. innergoodsid:
  18303. description: 内部商品ID[交易]
  18304. type: integer
  18305. inratio:
  18306. description: 目标值
  18307. type: integer
  18308. modifierid:
  18309. description: 修改人
  18310. type: integer
  18311. modifytime:
  18312. description: 修改时间
  18313. type: string
  18314. outergoodscode:
  18315. description: 外部商品代码[JD\PD]
  18316. type: string
  18317. outratio:
  18318. description: 源值
  18319. type: integer
  18320. pddecimalplace:
  18321. description: PD小数位
  18322. type: integer
  18323. timemaxvalue:
  18324. description: 单次最大转入限制
  18325. type: number
  18326. timeminvalue:
  18327. description: 单次最小转入限制
  18328. type: number
  18329. required:
  18330. - converttype
  18331. - innergoodsid
  18332. - outergoodscode
  18333. type: object
  18334. models.Szdz3searchwhitelist:
  18335. properties:
  18336. createtime:
  18337. description: 创建时间
  18338. type: string
  18339. creatorid:
  18340. description: 创建人
  18341. type: integer
  18342. modifierid:
  18343. description: 修改人
  18344. type: integer
  18345. modifytime:
  18346. description: 修改时间
  18347. type: string
  18348. userid:
  18349. description: 用户ID
  18350. type: integer
  18351. required:
  18352. - userid
  18353. type: object
  18354. models.TBGoods:
  18355. properties:
  18356. agreeunit:
  18357. description: 合约乘数
  18358. type: number
  18359. enumdicname:
  18360. description: 单位名称
  18361. type: string
  18362. goodscode:
  18363. description: 商品代码(内部)
  18364. type: string
  18365. goodsid:
  18366. description: 商品ID(自增ID SEQ_GOODS)
  18367. type: integer
  18368. goodsname:
  18369. description: 商品名称
  18370. type: string
  18371. type: object
  18372. models.TBGoodsGroup:
  18373. properties:
  18374. GDLST:
  18375. description: 商品列表
  18376. items:
  18377. $ref: '#/definitions/models.TBGoods'
  18378. type: array
  18379. convertratio:
  18380. description: 折算系数
  18381. type: number
  18382. enumdicname:
  18383. description: 单位名称
  18384. type: string
  18385. exexchangecode:
  18386. description: 交易所代码
  18387. type: string
  18388. exexchangename:
  18389. description: 交易所名称
  18390. type: string
  18391. goodsgroupid:
  18392. description: 商品组ID(自增ID)
  18393. type: integer
  18394. goodsgroupname:
  18395. description: 商品组名称
  18396. type: string
  18397. goodunitid:
  18398. description: 报价单位ID
  18399. type: integer
  18400. type: object
  18401. models.TBMiddleGoods:
  18402. properties:
  18403. GPLST:
  18404. description: 期货品种列表
  18405. items:
  18406. $ref: '#/definitions/models.TBGoodsGroup'
  18407. type: array
  18408. WDLST:
  18409. description: 商品信息列表(现货品类)
  18410. items:
  18411. $ref: '#/definitions/models.TBWrstandard'
  18412. type: array
  18413. areauserid:
  18414. description: 机构用户ID
  18415. type: integer
  18416. enumdicname:
  18417. description: 单位名称
  18418. type: string
  18419. goodsunitid:
  18420. description: 套保品种单位id
  18421. type: integer
  18422. middlegoodscode:
  18423. description: 套保品种代码
  18424. type: string
  18425. middlegoodsid:
  18426. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18427. type: integer
  18428. middlegoodsname:
  18429. description: 套保品种名称
  18430. type: string
  18431. needarbitrageratio:
  18432. description: 套利比率
  18433. type: number
  18434. needhedgeratio:
  18435. description: 套保比率
  18436. type: number
  18437. type: object
  18438. models.TBWrstandard:
  18439. properties:
  18440. convertratio:
  18441. description: 折算系数
  18442. type: number
  18443. deliverygoodsname:
  18444. description: 品种名称
  18445. type: string
  18446. enumdicname:
  18447. description: 单位名称
  18448. type: string
  18449. vatrate:
  18450. description: 增值税率
  18451. type: number
  18452. wrstandardcode:
  18453. description: 现货商品代码
  18454. type: string
  18455. wrstandardid:
  18456. description: 现货商品ID(SEQ_WRSTANDARD)
  18457. type: integer
  18458. wrstandardname:
  18459. description: 现货商品名称
  18460. type: string
  18461. type: object
  18462. models.THJDeliveryMode:
  18463. properties:
  18464. enumdicname:
  18465. description: 枚举项名称
  18466. type: string
  18467. enumitemname:
  18468. description: 枚举项值
  18469. type: integer
  18470. type: object
  18471. models.THJDeliveryMonth:
  18472. properties:
  18473. enddate:
  18474. description: 预售结束日期(yyyy-mm-dd)
  18475. type: string
  18476. endmonth:
  18477. description: 预售结束月份(yyyy-mm)
  18478. type: string
  18479. orderqty:
  18480. description: 委托数量
  18481. type: integer
  18482. presaleapplyid:
  18483. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18484. type: string
  18485. remainqty:
  18486. description: 可用数量
  18487. type: integer
  18488. tradeqty:
  18489. description: 成交数量
  18490. type: integer
  18491. unitprice:
  18492. description: '[参考价]商品单价'
  18493. type: number
  18494. type: object
  18495. models.THJGoodsDetailRsp:
  18496. properties:
  18497. goodsinfo:
  18498. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18499. description: 商品信息
  18500. spotgoodspricelogs:
  18501. description: 历史价格走势
  18502. items:
  18503. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18504. type: array
  18505. type: object
  18506. models.THJPresaleApplyDeposit:
  18507. properties:
  18508. depositid:
  18509. description: 自增ID autoid
  18510. type: string
  18511. depositrate:
  18512. description: 定金比例
  18513. type: number
  18514. discountamount:
  18515. description: 优惠金额(每吨)
  18516. type: number
  18517. presaleapplyid:
  18518. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18519. type: string
  18520. type: object
  18521. models.THJProduct:
  18522. properties:
  18523. bannerpicurl:
  18524. description: Banner图(逗号分隔)
  18525. type: string
  18526. pictureurls:
  18527. description: 详情图片(逗号分隔)
  18528. type: string
  18529. thumurls:
  18530. description: 缩略图片(1:1)(逗号分隔)
  18531. type: string
  18532. wrstandardcode:
  18533. description: 现货商品代码
  18534. type: string
  18535. wrstandardid:
  18536. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18537. type: string
  18538. wrstandardname:
  18539. description: 现货商品名称
  18540. type: string
  18541. type: object
  18542. models.THJPurchaseTradeDetail_Date:
  18543. properties:
  18544. depositrate:
  18545. description: 定金比例
  18546. type: number
  18547. enddate:
  18548. description: 预售结束日期
  18549. type: string
  18550. endmonth:
  18551. description: 交收月份(yyyy-mm)
  18552. type: string
  18553. takestartdate:
  18554. description: 提货开始日期
  18555. type: string
  18556. tradeprice:
  18557. description: 摘牌价格
  18558. type: number
  18559. tradeqty:
  18560. description: 摘牌数量
  18561. type: integer
  18562. transferamount:
  18563. description: 转让金额
  18564. type: number
  18565. transferid:
  18566. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18567. type: string
  18568. transferprice:
  18569. description: 转让价格
  18570. type: number
  18571. type: object
  18572. models.THJPurchaseTradeDetail_Goodsinfo:
  18573. properties:
  18574. pictureurls:
  18575. description: 详情图片(逗号分隔)
  18576. type: string
  18577. refgoodscode:
  18578. description: 参考商品代码
  18579. type: string
  18580. refgoodsid:
  18581. description: 参考商品ID
  18582. type: integer
  18583. unitid:
  18584. description: 现货商品单位ID
  18585. type: integer
  18586. wrstandardcode:
  18587. description: 现货商品代码
  18588. type: string
  18589. wrstandardid:
  18590. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18591. type: integer
  18592. wrstandardname:
  18593. description: 现货商品名称(模糊查询)
  18594. type: string
  18595. type: object
  18596. models.THJPurchaseTradeDetailRsp:
  18597. properties:
  18598. deliverydate:
  18599. description: 交割日期
  18600. items:
  18601. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18602. type: array
  18603. goodsinfo:
  18604. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18605. description: 商品信息
  18606. history:
  18607. description: 历史价格走势(历史数据日线)
  18608. items:
  18609. $ref: '#/definitions/models.HistoryData'
  18610. type: array
  18611. type: object
  18612. models.THJSigninReq:
  18613. properties:
  18614. userid:
  18615. description: 用户ID
  18616. type: integer
  18617. required:
  18618. - userid
  18619. type: object
  18620. models.THJSigninRsp:
  18621. properties:
  18622. signinstatus:
  18623. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18624. type: integer
  18625. type: object
  18626. models.THJSpotGoodsPriceLog:
  18627. properties:
  18628. spotgoodsprice:
  18629. description: 现货价格
  18630. type: number
  18631. tradedate:
  18632. description: 交易日(yyyyMMdd)
  18633. type: string
  18634. type: object
  18635. models.THJTradeData:
  18636. properties:
  18637. accountname:
  18638. description: 被推荐人
  18639. type: string
  18640. buytradelot:
  18641. description: 购买笔数
  18642. type: integer
  18643. buytradeqty:
  18644. description: 购买数量
  18645. type: number
  18646. marketid:
  18647. description: 市场ID 采购-64201 供求-65201
  18648. type: integer
  18649. reckondate:
  18650. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18651. type: string
  18652. selltradelot:
  18653. description: 销售笔数
  18654. type: integer
  18655. selltradeqty:
  18656. description: 销售数量
  18657. type: number
  18658. userid:
  18659. description: 用户ID
  18660. type: integer
  18661. wrstandardname:
  18662. description: 现货商品名称
  18663. type: string
  18664. required:
  18665. - marketid
  18666. - userid
  18667. type: object
  18668. models.THJUserLevelInfo:
  18669. properties:
  18670. appup:
  18671. description: 晋升已累计的数量
  18672. type: integer
  18673. checkday:
  18674. description: 最近一次考核日
  18675. type: string
  18676. levelgroup:
  18677. description: 当前等级
  18678. type: string
  18679. nextlevelgroup:
  18680. description: 下一等级
  18681. type: string
  18682. notyet:
  18683. description: 晋升还差多少数量
  18684. type: integer
  18685. progress:
  18686. description: 进度
  18687. type: number
  18688. type: object
  18689. models.THJWrstandard:
  18690. properties:
  18691. areauserid:
  18692. description: 所属机构
  18693. type: integer
  18694. bannerpicurl:
  18695. description: Banner图(逗号分隔)
  18696. type: string
  18697. convertfactor:
  18698. description: 标仓系数
  18699. type: number
  18700. deliverygoodsid:
  18701. description: 现货品种ID
  18702. type: integer
  18703. isvalid:
  18704. description: 是否有效 - 0:无效 1:有效
  18705. type: integer
  18706. minivalue:
  18707. description: 最小变动值
  18708. type: integer
  18709. minivaluedp:
  18710. description: 最小变动值小数位
  18711. type: integer
  18712. pictureurls:
  18713. description: 详情图片(逗号分隔)
  18714. type: string
  18715. realminivalue:
  18716. description: 实际最小变动值
  18717. type: integer
  18718. realminivaluedp:
  18719. description: 实际最小变动值小数位
  18720. type: integer
  18721. storagefee:
  18722. description: '仓储费(固定: 111)'
  18723. type: number
  18724. thumurls:
  18725. description: 缩略图片(1:1)(逗号分隔)
  18726. type: string
  18727. unitid:
  18728. description: 现货商品单位ID
  18729. type: integer
  18730. vatrate:
  18731. description: 现货增值税率
  18732. type: number
  18733. wrsstatus:
  18734. description: 状态 - 作废 - 0:未激活 1:正常
  18735. type: integer
  18736. wrstandardcode:
  18737. description: 现货商品代码
  18738. type: string
  18739. wrstandardid:
  18740. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18741. type: integer
  18742. wrstandardname:
  18743. description: 现货商品名称(模糊查询)
  18744. type: string
  18745. type: object
  18746. models.THJWrstandardDetail_GoodsInfo:
  18747. properties:
  18748. bannerpicurl:
  18749. description: Banner图(逗号分隔)
  18750. type: string
  18751. pictureurls:
  18752. description: 详情图片(逗号分隔)
  18753. type: string
  18754. spotgoodsprice:
  18755. description: 现货价格
  18756. type: number
  18757. unitid:
  18758. description: 现货商品单位ID
  18759. type: integer
  18760. wrstandardcode:
  18761. description: 现货商品代码
  18762. type: string
  18763. wrstandardid:
  18764. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18765. type: integer
  18766. wrstandardname:
  18767. description: 现货商品名称
  18768. type: string
  18769. type: object
  18770. models.THJWrstandardDetailRsp:
  18771. properties:
  18772. deliverymodes:
  18773. description: 交割方式
  18774. items:
  18775. $ref: '#/definitions/models.THJDeliveryMode'
  18776. type: array
  18777. deliverymonth:
  18778. description: 交割月份
  18779. items:
  18780. $ref: '#/definitions/models.THJDeliveryMonth'
  18781. type: array
  18782. goodsinfo:
  18783. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18784. description: 商品信息
  18785. presaleapplydeposits:
  18786. description: 支付方式
  18787. items:
  18788. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18789. type: array
  18790. spotgoodspricelogs:
  18791. description: 历史价格走势
  18792. items:
  18793. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18794. type: array
  18795. type: object
  18796. models.Taaccount:
  18797. properties:
  18798. accountflag:
  18799. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18800. type: integer
  18801. accountid:
  18802. description: 资金账户ID
  18803. type: integer
  18804. accountname:
  18805. description: 账户名称
  18806. type: string
  18807. balance:
  18808. description: 期初余额
  18809. type: number
  18810. capitalbalance:
  18811. description: 本金余额[外部子账户实际出入金余额]
  18812. type: number
  18813. changeflag:
  18814. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18815. type: integer
  18816. changetime:
  18817. description: 账户状态变更时间
  18818. type: string
  18819. closepl:
  18820. description: 今日平仓盈亏
  18821. type: number
  18822. creditdecrease:
  18823. description: 今日授信减少
  18824. type: number
  18825. creditincrease:
  18826. description: 今日授信增加
  18827. type: number
  18828. curamount:
  18829. description: 总市值(从持仓中统计)
  18830. type: number
  18831. currencyid:
  18832. description: 货币ID
  18833. type: integer
  18834. currentbalance:
  18835. description: 期末余额
  18836. type: number
  18837. freezecharge:
  18838. description: 手续费冻结
  18839. type: number
  18840. freezemargin:
  18841. description: 冻结保证金
  18842. type: number
  18843. fromaccountid:
  18844. description: 所属上级账户
  18845. type: integer
  18846. inamount:
  18847. description: 今日入金金额(包括三方入金)
  18848. type: number
  18849. ismain:
  18850. description: 是否母账号 0:不是母账户 1:是母账户
  18851. type: integer
  18852. ismarketaccount:
  18853. description: 是否机构接单账号 0:不是 1:是
  18854. type: integer
  18855. isreckonaccount:
  18856. description: 是否机构分润账号 0:不是 1:是
  18857. type: integer
  18858. mortgagecredit:
  18859. description: 授信金额
  18860. type: number
  18861. orifreezecharge:
  18862. description: 期初手续费冻结
  18863. type: number
  18864. orifreezemargin:
  18865. description: 期初冻结保证金
  18866. type: number
  18867. orimortgagecredit:
  18868. description: 期初授信金额
  18869. type: number
  18870. oriothercredit:
  18871. description: 期初其它授信金额
  18872. type: number
  18873. oriotherfreezemargin:
  18874. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18875. type: number
  18876. orioutamountfreeze:
  18877. description: 期初出金冻结
  18878. type: number
  18879. oriusedmargin:
  18880. description: 期初占用保证金
  18881. type: number
  18882. othercredit:
  18883. description: 其它授信金额
  18884. type: number
  18885. othercreditdecrease:
  18886. description: 今日其它授信减少
  18887. type: number
  18888. othercreditincrease:
  18889. description: 今日其它授信增加
  18890. type: number
  18891. otherfreezemargin:
  18892. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18893. type: number
  18894. otherincome:
  18895. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18896. type: number
  18897. otherpay:
  18898. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18899. type: number
  18900. outamount:
  18901. description: 今日出金金额(包括三方出金)
  18902. type: number
  18903. outamountfreeze:
  18904. description: 出金冻结
  18905. type: number
  18906. outthreshold:
  18907. description: 出金阈值
  18908. type: number
  18909. parentaccountid:
  18910. description: 所属根账号
  18911. type: integer
  18912. paycharge:
  18913. description: 今日手续费支出
  18914. type: number
  18915. relatedaccountstatus:
  18916. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18917. type: integer
  18918. relateduserid:
  18919. description: 关联用户
  18920. type: integer
  18921. remainamount:
  18922. description: 融资额(从融资合同中统计)
  18923. type: number
  18924. serivcegroup:
  18925. description: 服务分组
  18926. type: integer
  18927. signstatus:
  18928. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18929. type: integer
  18930. sublevelpath:
  18931. description: 账号层级路径(逗号分隔,首尾加逗号)
  18932. type: string
  18933. taaccounttype:
  18934. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18935. type: integer
  18936. thirdinamount:
  18937. description: 今日三方入金
  18938. type: number
  18939. thirdoutamount:
  18940. description: 今日三方出金
  18941. type: number
  18942. tradestatus:
  18943. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18944. type: integer
  18945. tradestatuschangetime:
  18946. description: 激活时间
  18947. type: string
  18948. transferamount:
  18949. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18950. type: number
  18951. usedmargin:
  18952. description: 占用保证金
  18953. type: number
  18954. userid:
  18955. description: 用户ID
  18956. type: integer
  18957. required:
  18958. - accountid
  18959. - userid
  18960. type: object
  18961. models.Tablecolumnconfig:
  18962. properties:
  18963. aligntype:
  18964. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18965. type: integer
  18966. autoid:
  18967. description: AutoID
  18968. type: integer
  18969. columnfield:
  18970. description: 列字段
  18971. type: string
  18972. columntitle:
  18973. description: 列Title
  18974. type: string
  18975. columnwidth:
  18976. description: 列宽
  18977. type: string
  18978. fixed:
  18979. description: 固定类型 - 空 | left | right
  18980. type: string
  18981. formatterstring:
  18982. description: 格式化字符
  18983. type: string
  18984. formattertype:
  18985. description: 格式化类型
  18986. type: string
  18987. groupname:
  18988. description: 表头分组名称
  18989. type: string
  18990. ismerge:
  18991. description: 是否合并显示 - 0:不合并 1:合并
  18992. type: integer
  18993. isshow:
  18994. description: 是否显示 - 0:不显示 1:显示
  18995. type: integer
  18996. needsummary:
  18997. description: 是否需要汇总 - 0:不需要 1:需要
  18998. type: integer
  18999. orderindex:
  19000. description: 顺序
  19001. type: integer
  19002. remark:
  19003. description: 备注
  19004. type: string
  19005. summarytype:
  19006. description: 汇总类型 - 1:加总 2:最后一个
  19007. type: integer
  19008. tablekey:
  19009. description: 列表Key
  19010. type: string
  19011. required:
  19012. - autoid
  19013. type: object
  19014. models.Thjpurchasetradedetail:
  19015. properties:
  19016. buyaccountid:
  19017. description: 买方账号ID
  19018. type: integer
  19019. buychargevalue:
  19020. description: 买方到期手续费
  19021. type: number
  19022. buyconfirmremark:
  19023. description: 买方确认备注
  19024. type: string
  19025. buyconfirmtime:
  19026. description: 买方确认时间
  19027. type: string
  19028. buyfreezecharge:
  19029. description: 买方摘牌冻结手续费
  19030. type: number
  19031. buyuserid:
  19032. description: 买方用户ID
  19033. type: integer
  19034. contactinfo:
  19035. description: 联系方式
  19036. type: string
  19037. contactname:
  19038. description: 联系人姓名
  19039. type: string
  19040. contractaddrbuy:
  19041. description: 贸易合同地址(买家)
  19042. type: string
  19043. contractaddrsell:
  19044. description: 贸易合同地址(卖家)
  19045. type: string
  19046. createtime:
  19047. description: 预售挂牌时间
  19048. type: string
  19049. deliverygoodsid:
  19050. description: 现货品种ID
  19051. type: integer
  19052. depositrate:
  19053. description: 定金比例
  19054. type: number
  19055. desaddress:
  19056. description: 目的地地址
  19057. type: string
  19058. discountamount:
  19059. description: 优惠总金额(优惠金额*TradeQty)
  19060. type: number
  19061. enddate:
  19062. description: 到期日期
  19063. type: string
  19064. enddatemonth:
  19065. description: 交收月份(提货日期)
  19066. type: string
  19067. handlestatus:
  19068. description: 处理状态
  19069. type: integer
  19070. lastamount:
  19071. description: 到期总货款 = 到期价格 * 摘牌数量
  19072. type: number
  19073. lastprice:
  19074. description: '[实际价]到期价格'
  19075. type: number
  19076. lastpricedate:
  19077. description: 到期价格日期 - 暂不使用
  19078. type: string
  19079. marketid:
  19080. description: 市场ID
  19081. type: integer
  19082. orderstatus:
  19083. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19084. (枚举:THJOrderStatus)
  19085. type: integer
  19086. payeddeposit:
  19087. description: '[定金]买方已付定金(预付款)'
  19088. type: number
  19089. payedtradedate:
  19090. description: 支付尾款成功交易日
  19091. type: string
  19092. presaleapplyid:
  19093. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19094. type: string
  19095. presalestatus:
  19096. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19097. type: integer
  19098. receiptinfo:
  19099. description: 发票信息
  19100. type: string
  19101. remainamount:
  19102. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19103. type: number
  19104. sellaccountid:
  19105. description: 卖方账号ID
  19106. type: integer
  19107. sellchargevalue:
  19108. description: 卖方到期手续费
  19109. type: number
  19110. sellconfirmattach:
  19111. description: 卖方确认附件
  19112. type: string
  19113. sellconfirmremark:
  19114. description: 卖方确认备注
  19115. type: string
  19116. sellconfirmtime:
  19117. description: 卖方确认时间
  19118. type: string
  19119. sellconfirmtradedate:
  19120. description: 卖方确认交易日
  19121. type: string
  19122. selluserid:
  19123. description: 卖方用户ID
  19124. type: integer
  19125. thjdeliverymode:
  19126. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19127. type: integer
  19128. thjdeliverymodedisplay:
  19129. description: 提货方式
  19130. type: string
  19131. thjorderstatusdisplay:
  19132. description: 状态
  19133. type: string
  19134. tradeamount:
  19135. description: 摘牌总货款
  19136. type: number
  19137. tradedate:
  19138. description: 交易日(yyyyMMdd)
  19139. type: string
  19140. tradeprice:
  19141. description: 摘牌价格 - 参考价
  19142. type: number
  19143. tradeqty:
  19144. description: '[预售价]摘牌数量'
  19145. type: integer
  19146. tradetime:
  19147. description: 摘牌时间(委托时间)
  19148. type: string
  19149. transferprice:
  19150. description: 转让价格 - 购买价
  19151. type: number
  19152. unitid:
  19153. description: 商品单位
  19154. type: integer
  19155. warehouseid:
  19156. description: 仓库ID
  19157. type: integer
  19158. warehousename:
  19159. description: 仓库名称
  19160. type: string
  19161. wrfactortypeid:
  19162. description: 仓单要素类型ID
  19163. type: string
  19164. wrstandardid:
  19165. description: 现货商品ID
  19166. type: integer
  19167. wrstandardname:
  19168. description: 现货商品名称
  19169. type: string
  19170. wrtradedetailid:
  19171. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19172. type: string
  19173. required:
  19174. - buyuserid
  19175. type: object
  19176. models.Thjpurchasetransfer:
  19177. properties:
  19178. buyaccountid:
  19179. description: 买方账号ID
  19180. type: integer
  19181. buyuserid:
  19182. description: 买方用户ID
  19183. type: integer
  19184. contractaddr:
  19185. description: 协议转让合同地址
  19186. type: string
  19187. createtime:
  19188. description: 转让挂牌时间
  19189. type: string
  19190. deliverygoodsid:
  19191. description: 现货品种ID
  19192. type: integer
  19193. enddate:
  19194. description: 到期日期
  19195. type: string
  19196. enddatemonth:
  19197. description: 交收月份(提货日期)
  19198. type: string
  19199. handlestatus:
  19200. description: 处理状态
  19201. type: integer
  19202. marketid:
  19203. description: 市场ID(固定为(64202)
  19204. type: integer
  19205. ordertype:
  19206. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19207. type: integer
  19208. payeddeposit:
  19209. description: 买方已付定金(预付款)
  19210. type: number
  19211. presaleapplyid:
  19212. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19213. type: string
  19214. presalestatus:
  19215. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19216. type: integer
  19217. remark:
  19218. description: 备注
  19219. type: string
  19220. sellaccountid:
  19221. description: 卖方账号ID
  19222. type: integer
  19223. sellcharge:
  19224. description: 卖方手续费值
  19225. type: number
  19226. sellchargealgorithm:
  19227. description: 卖方手续费收取方式 1:比率 2:固定
  19228. type: integer
  19229. sellchargealgorithmvalue:
  19230. description: 手续费设置值(交易所部分)
  19231. type: number
  19232. selluserid:
  19233. description: 卖方用户ID
  19234. type: integer
  19235. tradedate:
  19236. description: 交易日(yyyyMMdd)
  19237. type: string
  19238. tradeprice:
  19239. description: 参考价
  19240. type: number
  19241. transferamount:
  19242. description: 转让金额
  19243. type: number
  19244. transferid:
  19245. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19246. type: string
  19247. transferprice:
  19248. description: 转让价格
  19249. type: number
  19250. transferqty:
  19251. description: 数量
  19252. type: integer
  19253. transferstatus:
  19254. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19255. type: integer
  19256. transfertradedate:
  19257. description: 转让交易日
  19258. type: string
  19259. transfertradetime:
  19260. description: 转让成交时间
  19261. type: string
  19262. unitid:
  19263. description: 现货商品单位ID
  19264. type: integer
  19265. warehouseid:
  19266. description: 仓库ID
  19267. type: integer
  19268. wrfactortypeid:
  19269. description: 仓单要素类型ID
  19270. type: string
  19271. wrstandardid:
  19272. description: 现货商品ID
  19273. type: integer
  19274. wrstandardname:
  19275. description: 现货商品名称
  19276. type: string
  19277. wrtradedetailid:
  19278. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19279. type: string
  19280. required:
  19281. - ordertype
  19282. type: object
  19283. models.ThjpurchasetransferDetail:
  19284. properties:
  19285. buyusername:
  19286. description: 受让人
  19287. type: string
  19288. contactinfo:
  19289. description: 联系方式
  19290. type: string
  19291. contactname:
  19292. description: 联系人姓名
  19293. type: string
  19294. contractaddr:
  19295. description: 协议转让合同地址
  19296. type: string
  19297. contractaddrbuy:
  19298. description: 贸易合同地址(买家)
  19299. type: string
  19300. contractaddrsell:
  19301. description: 贸易合同地址(卖家)
  19302. type: string
  19303. createtime:
  19304. description: 转让委托时间
  19305. type: string
  19306. depositrate:
  19307. description: 定金比例
  19308. type: number
  19309. desaddress:
  19310. description: 目的地地址
  19311. type: string
  19312. enddate:
  19313. description: 到期日期
  19314. type: string
  19315. enddatemonth:
  19316. description: 交收月份(提货日期)
  19317. type: string
  19318. lastprice:
  19319. description: '[实际价]到期价格'
  19320. type: number
  19321. payeddeposit:
  19322. description: 买方已付定金(预付款(含定金))
  19323. type: number
  19324. receiptinfo:
  19325. description: 发票信息
  19326. type: string
  19327. sellusername:
  19328. description: 转让人
  19329. type: string
  19330. thjdeliverymode:
  19331. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19332. type: integer
  19333. tradeprice:
  19334. description: 预售价格
  19335. type: number
  19336. transferamount:
  19337. description: 转让金额
  19338. type: number
  19339. transferid:
  19340. description: 转让单号
  19341. type: string
  19342. transferprice:
  19343. description: 转让价格
  19344. type: number
  19345. transferqty:
  19346. description: 转让数量
  19347. type: integer
  19348. transferstatus:
  19349. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19350. type: integer
  19351. transfertradetime:
  19352. description: 转让成交时间
  19353. type: string
  19354. warehousename:
  19355. description: 仓库名称
  19356. type: string
  19357. wrstandardcode:
  19358. description: 现货商品代码
  19359. type: string
  19360. wrstandardid:
  19361. description: 现货商品ID
  19362. type: integer
  19363. wrstandardname:
  19364. description: 现货商品名称
  19365. type: string
  19366. wrtradedetailid:
  19367. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19368. type: string
  19369. type: object
  19370. models.Thjscoreconfig:
  19371. properties:
  19372. parma1:
  19373. description: 参数1
  19374. type: integer
  19375. parma2:
  19376. description: 参数2
  19377. type: integer
  19378. parma3:
  19379. description: 参数3
  19380. type: integer
  19381. parma4:
  19382. description: 参数4
  19383. type: integer
  19384. parma5:
  19385. description: 参数5
  19386. type: integer
  19387. parma6:
  19388. description: 参数6
  19389. type: integer
  19390. parma7:
  19391. description: 参数6
  19392. type: integer
  19393. scoreconfigtype:
  19394. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19395. 7:抽奖得红包
  19396. type: integer
  19397. type: object
  19398. models.TjmdHolderDetailTradeInfo:
  19399. properties:
  19400. agreeunit:
  19401. description: 合约乘数
  19402. type: number
  19403. buyaccountid:
  19404. description: 买方账户
  19405. type: string
  19406. buyusername:
  19407. description: 买方
  19408. type: string
  19409. delistingdate:
  19410. description: 最后结算日
  19411. type: string
  19412. expiredate:
  19413. description: 到期结算价定价日
  19414. type: string
  19415. exprieprice:
  19416. description: 到期清算价格
  19417. type: string
  19418. goodscode:
  19419. description: 商品代码
  19420. type: string
  19421. goodsid:
  19422. description: 商品ID
  19423. type: integer
  19424. goodsname:
  19425. description: 商品名称(交易标的)
  19426. type: string
  19427. lasttradedate:
  19428. description: 最后交易日
  19429. type: string
  19430. listingdate:
  19431. description: 开始交易日
  19432. type: string
  19433. openprice:
  19434. description: 成交价
  19435. type: number
  19436. openqty:
  19437. description: 交易数量
  19438. type: integer
  19439. sellaccountid:
  19440. description: 卖方账户
  19441. type: string
  19442. sellusername:
  19443. description: 卖方
  19444. type: string
  19445. tradeamount:
  19446. description: 初始名义价值
  19447. type: number
  19448. tradedate:
  19449. description: 成交日期
  19450. type: string
  19451. tradeid:
  19452. description: 成交编号
  19453. type: string
  19454. type: object
  19455. models.TjmdMarketSection:
  19456. properties:
  19457. marketsectionid:
  19458. description: 市场版块ID(SEQ_MARKETSECTION)
  19459. type: integer
  19460. marketsectionname:
  19461. description: 市场版块名称
  19462. type: string
  19463. mlist:
  19464. description: 市场列表(板块下面有多少个市场)
  19465. items:
  19466. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19467. type: array
  19468. orderindex:
  19469. description: 排序
  19470. type: integer
  19471. pictureurl:
  19472. description: 图片url, 规格(90*90)
  19473. type: string
  19474. remark:
  19475. description: 备注
  19476. type: string
  19477. type: object
  19478. models.TjmdMarketSectionConfig:
  19479. properties:
  19480. auctionwrtype:
  19481. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19482. type: integer
  19483. canacceptquote:
  19484. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19485. type: integer
  19486. cangoodsexercise:
  19487. description: '[期权]是否可现货行权- 0:否 1:是'
  19488. type: integer
  19489. cangoodsexercisetype:
  19490. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19491. type: integer
  19492. canmanualquotestrike:
  19493. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19494. type: integer
  19495. canmutistage:
  19496. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19497. type: integer
  19498. canpreexercise:
  19499. description: '[期权]是否可预申报- 0:否 1:是'
  19500. type: integer
  19501. clearinterval:
  19502. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19503. type: integer
  19504. contracttmp:
  19505. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19506. type: string
  19507. exchareaid:
  19508. description: 所属交易所,可以没有
  19509. type: integer
  19510. financemarketid:
  19511. description: 融资回购市场ID [仓单贸易]
  19512. type: integer
  19513. goodstype:
  19514. description: 商品类型 - 1:交易商品 2:仓单商品
  19515. type: integer
  19516. hasrebate:
  19517. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19518. type: integer
  19519. hastradecredit:
  19520. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19521. type: integer
  19522. haswr:
  19523. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19524. type: integer
  19525. isdeductmargin:
  19526. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19527. type: integer
  19528. isrecordsource:
  19529. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19530. type: integer
  19531. isreleasemargin:
  19532. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19533. type: integer
  19534. isupdatereckonprice:
  19535. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19536. type: integer
  19537. listingmode:
  19538. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19539. type: integer
  19540. marginformula:
  19541. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19542. type: integer
  19543. marginformula2:
  19544. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19545. type: integer
  19546. marketid:
  19547. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19548. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19549. type: integer
  19550. marketname:
  19551. description: 市场名称
  19552. type: string
  19553. marketsectionid:
  19554. description: 市场版块ID(SEQ_MARKETSECTION)
  19555. type: integer
  19556. marketserviceid:
  19557. description: 市场服务ID
  19558. type: integer
  19559. marketstatus:
  19560. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19561. type: integer
  19562. markettype:
  19563. description: 市场类型- 1:非交易服务 2:交易服务
  19564. type: integer
  19565. matchermode:
  19566. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19567. type: integer
  19568. nowrquotaflag:
  19569. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19570. type: integer
  19571. openmethod:
  19572. description: 开盘模式 - 0 自动 1手动
  19573. type: integer
  19574. orderindex:
  19575. description: 排序
  19576. type: integer
  19577. otcuserid:
  19578. description: 场外期权做市商[场外期权]
  19579. type: integer
  19580. outersynctime:
  19581. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19582. type: string
  19583. paylaterflag:
  19584. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19585. type: integer
  19586. pendingflag:
  19587. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19588. type: integer
  19589. pendingtime:
  19590. description: 待开市时间[通道交易-对冲](HH:mm)
  19591. type: string
  19592. performancetempid:
  19593. description: 履约计划模板ID - 作废
  19594. type: integer
  19595. premiumquotemode:
  19596. description: 权利金报价方式 - 1:自动 2:手动
  19597. type: integer
  19598. rebateratio:
  19599. description: 返利比率[竞价式]
  19600. type: number
  19601. reckonorder:
  19602. description: 结算顺序
  19603. type: integer
  19604. reckonpricealgorithm:
  19605. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19606. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19607. type: integer
  19608. reckonpriceparam:
  19609. description: 结算价参数
  19610. type: integer
  19611. reckontime:
  19612. description: 结算时间[通道交易-对冲](HH:mm)
  19613. type: string
  19614. roleprioritytype:
  19615. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19616. type: integer
  19617. selllistingauditflag:
  19618. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19619. type: integer
  19620. trademarkettype:
  19621. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19622. type: integer
  19623. trademode:
  19624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19625. 21:竞拍-大宗式 22:受托竞价
  19626. type: integer
  19627. tradeproperty:
  19628. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19629. 8:场外期权
  19630. type: integer
  19631. tradetype:
  19632. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19633. type: integer
  19634. updatereckonpriceinterval:
  19635. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19636. type: integer
  19637. type: object
  19638. models.TjmdQuoteGoods:
  19639. properties:
  19640. buyqty:
  19641. description: 买量(暂不做, 无值, 保留字段)
  19642. type: number
  19643. decimalplace:
  19644. description: 报价小数位
  19645. type: integer
  19646. goodscode:
  19647. description: 合约代码
  19648. type: string
  19649. goodsgroupid:
  19650. description: 商品组ID(自增ID)
  19651. type: integer
  19652. goodsgroupname:
  19653. description: 商品组名称
  19654. type: string
  19655. goodsid:
  19656. description: 合约id
  19657. type: integer
  19658. goodsname:
  19659. description: 合约名称
  19660. type: string
  19661. refgoodscode:
  19662. description: 标的合约代码
  19663. type: string
  19664. refgoodsid:
  19665. description: 标的合约id
  19666. type: integer
  19667. refgoodsname:
  19668. description: 标的合约名称
  19669. type: string
  19670. sellqty:
  19671. description: 卖量(暂不做, 无值, 保留字段)
  19672. type: number
  19673. type: object
  19674. models.TjmdTodayAccountMargin:
  19675. properties:
  19676. accountid:
  19677. description: 账号ID
  19678. type: integer
  19679. goodsid:
  19680. description: 商品ID
  19681. type: integer
  19682. infoc:
  19683. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19684. description: 配置参数
  19685. marketid:
  19686. description: 市场ID
  19687. type: integer
  19688. type: object
  19689. models.TjmdTradeOrderDetail:
  19690. properties:
  19691. buyorsell:
  19692. description: 买卖方向 0-买 1-卖
  19693. type: integer
  19694. goodsid:
  19695. description: 商品id
  19696. type: integer
  19697. marketmaxsub:
  19698. description: 市价最大偏移范围 [浮动价 - 点差]
  19699. type: number
  19700. orderid:
  19701. description: 委托单号
  19702. type: string
  19703. orderprice:
  19704. description: 期初均价
  19705. type: number
  19706. orderqty:
  19707. description: 委托数量
  19708. type: integer
  19709. pricemode:
  19710. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19711. type: integer
  19712. userid:
  19713. description: 用户id
  19714. type: integer
  19715. username:
  19716. description: 用户名称(已脱敏)
  19717. type: string
  19718. type: object
  19719. models.TjmdTransferApply:
  19720. properties:
  19721. applyid:
  19722. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19723. type: integer
  19724. applystatus:
  19725. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19726. type: integer
  19727. applytime:
  19728. description: 申请时间(时间)
  19729. type: string
  19730. auditremark:
  19731. description: 审核备注(拒绝原因?)
  19732. type: string
  19733. begindate:
  19734. description: 开始交易日(yyyymmdd)
  19735. type: string
  19736. buyorsell:
  19737. description: 买卖 - 0:买 1:卖
  19738. type: integer
  19739. enddate:
  19740. description: 结束交易日(yyyymmdd)
  19741. type: string
  19742. goodscode:
  19743. description: 商品代码
  19744. type: string
  19745. goodsid:
  19746. description: 商品ID
  19747. type: integer
  19748. goodsname:
  19749. description: 商品名称
  19750. type: string
  19751. marketid:
  19752. description: 市场ID
  19753. type: integer
  19754. qty:
  19755. description: 期初均价
  19756. type: number
  19757. tradeid:
  19758. description: 成交单号(关联持仓)
  19759. type: string
  19760. transferamount:
  19761. description: 转让总金额(金额)
  19762. type: number
  19763. transferprice:
  19764. description: 转让价格(协议价格)
  19765. type: number
  19766. type: object
  19767. models.TradeHolderDetail:
  19768. properties:
  19769. accountid:
  19770. description: 账号ID
  19771. type: integer
  19772. agreeunit:
  19773. description: 合约乘数
  19774. type: number
  19775. buyorsell:
  19776. description: 方向 - 0:买 1:卖
  19777. type: integer
  19778. currencyid:
  19779. description: 商品币种id
  19780. type: integer
  19781. currencyname:
  19782. description: 币种名称
  19783. type: string
  19784. decimalplace:
  19785. description: 商品价格小数位
  19786. type: integer
  19787. enumdicname:
  19788. description: 商品单位名称
  19789. type: string
  19790. expirecycle:
  19791. description: 行权周期(天) - 1:滚动行权时填写
  19792. type: integer
  19793. expiredate:
  19794. description: 行权日(yyyyMMdd) - 到期日
  19795. type: string
  19796. expiretype:
  19797. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19798. type: integer
  19799. freezeqty:
  19800. description: 期初均价
  19801. type: number
  19802. goodscode:
  19803. description: 商品代码
  19804. type: string
  19805. goodsid:
  19806. description: 商品ID
  19807. type: integer
  19808. goodsname:
  19809. description: 商品名称
  19810. type: string
  19811. goodunitid:
  19812. description: 商品单位id
  19813. type: integer
  19814. holderamount:
  19815. description: 持仓金额
  19816. type: number
  19817. holdercredit:
  19818. description: 持仓授信金额
  19819. type: number
  19820. holderdays:
  19821. description: 剩余冻结天数
  19822. type: integer
  19823. holderprice:
  19824. description: 持仓价格
  19825. type: number
  19826. holderqty:
  19827. description: 期初均价
  19828. type: number
  19829. isconfirmexercise:
  19830. description: 是否确认行权- 0:否 1:是
  19831. type: integer
  19832. ispreexercise:
  19833. description: 是否预申报- 0:否 1:是 2:不可行权
  19834. type: integer
  19835. marketid:
  19836. description: 市场id
  19837. type: integer
  19838. marketname:
  19839. description: 市场名称
  19840. type: string
  19841. openprice:
  19842. description: 建仓价格
  19843. type: number
  19844. openqty:
  19845. description: 期初均价
  19846. type: number
  19847. optiontype:
  19848. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19849. type: integer
  19850. preexerciseprice:
  19851. description: 预申报价格
  19852. type: number
  19853. premium:
  19854. description: 权利金
  19855. type: number
  19856. qtydecimalplace:
  19857. description: 商品成交量小数位
  19858. type: integer
  19859. refgoodscode:
  19860. description: 标的合约代码
  19861. type: string
  19862. refgoodsid:
  19863. description: 标的合约id
  19864. type: integer
  19865. releaseamount:
  19866. description: 释放持仓金额
  19867. type: number
  19868. releaseholdercredit:
  19869. description: 释放持仓授信金额
  19870. type: number
  19871. taname:
  19872. description: 资金账号名称
  19873. type: string
  19874. tradeamount:
  19875. description: 成交金额
  19876. type: number
  19877. tradedate:
  19878. description: 交易日(yyyyMMdd)
  19879. type: string
  19880. tradeid:
  19881. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19882. type: string
  19883. trademode:
  19884. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19885. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19886. type: integer
  19887. tradeproperty:
  19888. description: 交易属性
  19889. type: integer
  19890. tradetime:
  19891. description: 交易时间
  19892. type: string
  19893. userid:
  19894. description: 用户id
  19895. type: integer
  19896. username:
  19897. description: 用户名称
  19898. type: string
  19899. type: object
  19900. models.Unlinkermcphedgeplan:
  19901. properties:
  19902. accountid:
  19903. description: 期货账户ID - 作废
  19904. type: integer
  19905. accountname:
  19906. description: 交易用户
  19907. type: string
  19908. applyid:
  19909. description: 申请人
  19910. type: integer
  19911. applysrc:
  19912. description: 申请来源 - 1:管理端 2:终端
  19913. type: integer
  19914. applytime:
  19915. description: 申请时间
  19916. type: string
  19917. areauserid:
  19918. description: '[企业ID]机构ID'
  19919. type: integer
  19920. auditid:
  19921. description: 审核人
  19922. type: integer
  19923. auditremark:
  19924. description: 审核备注
  19925. type: string
  19926. auditsrc:
  19927. description: 审核来源 - 1:管理端 2:终端
  19928. type: integer
  19929. audittime:
  19930. description: 审核时间
  19931. type: string
  19932. audittradedate:
  19933. description: 审核交易日(yyyyMMdd)
  19934. type: string
  19935. biztype:
  19936. description: 业务类型 - 1:套保
  19937. type: integer
  19938. contracttype:
  19939. description: 计划类型 - 1:采购 -1:销售
  19940. type: integer
  19941. convertfactor:
  19942. description: 标仓系数 - 作废
  19943. type: number
  19944. createtime:
  19945. description: 创建时间
  19946. type: string
  19947. currencyid:
  19948. description: 结算币种ID - 作废
  19949. type: integer
  19950. deliverygoodsid:
  19951. description: 现货品种ID
  19952. type: integer
  19953. enumdicname:
  19954. description: 结算币种
  19955. type: string
  19956. hedgeplanid:
  19957. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19958. type: string
  19959. hedgeplanno:
  19960. description: '[计划编号]套保计划编号,模糊查询'
  19961. type: string
  19962. hedgeplanstatus:
  19963. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19964. type: integer
  19965. isrelated:
  19966. description: 是否已关联计划项目 - 0:否 1:是
  19967. type: integer
  19968. planqty:
  19969. description: '[计划量]计划数量'
  19970. type: number
  19971. plantime:
  19972. description: 计划时间
  19973. type: string
  19974. producttype:
  19975. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  19976. type: integer
  19977. remark:
  19978. description: 备注
  19979. type: string
  19980. spotgoodsdesc:
  19981. description: 商品型号
  19982. type: string
  19983. tradedate:
  19984. description: 交易日(yyyyMMdd)
  19985. type: string
  19986. tradeuserid:
  19987. description: 交易用户ID
  19988. type: integer
  19989. updatetime:
  19990. description: 更新时间
  19991. type: string
  19992. wrstandardid:
  19993. description: 现货商品ID
  19994. type: integer
  19995. wrstandardname:
  19996. description: 现货商品,模糊查询
  19997. type: string
  19998. required:
  19999. - areauserid
  20000. type: object
  20001. models.UserCollectConfig:
  20002. properties:
  20003. accountstatus:
  20004. description: 账户状态 - 1:正常 2:停用 3:注销
  20005. type: integer
  20006. collectaccountname:
  20007. description: 收款人账户名称
  20008. type: string
  20009. collectaccountno:
  20010. description: 收款人账户
  20011. type: string
  20012. collectbankname:
  20013. description: 收款人开户行
  20014. type: string
  20015. collectbranchbankname:
  20016. description: 收款人开户支行
  20017. type: string
  20018. collectconfigid:
  20019. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20020. type: string
  20021. remark:
  20022. description: 备注
  20023. type: string
  20024. userid:
  20025. description: 收款人用户ID
  20026. type: integer
  20027. type: object
  20028. models.UserReceiveInfo:
  20029. properties:
  20030. address:
  20031. description: 提货人详细地址
  20032. type: string
  20033. autoid:
  20034. description: AutoID
  20035. type: integer
  20036. cardnum:
  20037. description: 证件号码(加密存储)
  20038. type: string
  20039. cardtypeid:
  20040. description: 证件类型
  20041. type: integer
  20042. cityid:
  20043. description: 市
  20044. type: integer
  20045. cityname:
  20046. description: 城市名称
  20047. type: string
  20048. countryid:
  20049. description: 国家
  20050. type: integer
  20051. countryname:
  20052. description: 国家名称
  20053. type: string
  20054. districtid:
  20055. description: 地区
  20056. type: integer
  20057. districtname:
  20058. description: 地区名称
  20059. type: string
  20060. hasencrypt:
  20061. description: 数据是否已加密 - 0:未加密 1:已加密
  20062. type: integer
  20063. isdefault:
  20064. description: 是否默认地址 - 0:否 1:是
  20065. type: integer
  20066. phonenum:
  20067. description: 提货人联系方式(加密存储)
  20068. type: string
  20069. provinceid:
  20070. description: 省
  20071. type: integer
  20072. provincename:
  20073. description: 省名称
  20074. type: string
  20075. receivername:
  20076. description: 提货人姓名
  20077. type: string
  20078. takeremark:
  20079. description: 提货备注
  20080. type: string
  20081. userid:
  20082. description: 用户ID
  20083. type: integer
  20084. type: object
  20085. models.Useraccount:
  20086. properties:
  20087. accountname:
  20088. description: 账户名称(机构名称)
  20089. type: string
  20090. accountstatus:
  20091. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20092. type: integer
  20093. applysrc:
  20094. description: 申请来源 - 1:管理端 2:终端
  20095. type: integer
  20096. auditremark:
  20097. description: 审核备注
  20098. type: string
  20099. auditsrc:
  20100. description: 审核来源 - 1:管理端 2:终端
  20101. type: integer
  20102. audittime:
  20103. description: 审核时间
  20104. type: string
  20105. audituserid:
  20106. description: 审核人
  20107. type: integer
  20108. broker:
  20109. description: 所属经纪人ID
  20110. type: integer
  20111. canceltime:
  20112. description: 销户时间
  20113. type: string
  20114. canceluserid:
  20115. description: 销户人
  20116. type: integer
  20117. canrecommend:
  20118. description: 是否可推荐 - 0:不可 1;可
  20119. type: integer
  20120. createtime:
  20121. description: 创建时间
  20122. type: string
  20123. creatorid:
  20124. description: 创建人
  20125. type: integer
  20126. curscore:
  20127. description: 积分
  20128. type: integer
  20129. hasauth:
  20130. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20131. type: integer
  20132. isanonymous:
  20133. description: 是否匿名下单 - 0:否 1:是
  20134. type: integer
  20135. issigned:
  20136. description: 今日是否已签到
  20137. type: boolean
  20138. maxinvestornum:
  20139. description: 最大用户数(经纪会员下投资者个数)
  20140. type: integer
  20141. memberuserid:
  20142. description: 所属会员ID
  20143. type: integer
  20144. modifierid:
  20145. description: 修改人
  20146. type: integer
  20147. modifyremark:
  20148. description: 变更备注
  20149. type: string
  20150. modifystatus:
  20151. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20152. type: integer
  20153. modifytime:
  20154. description: 修改时间
  20155. type: string
  20156. parenttopuser:
  20157. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20158. type: string
  20159. parentuserid:
  20160. description: 所属机构ID
  20161. type: integer
  20162. reckonaccountid:
  20163. description: 默认结算资金账号ID(机构分润使用) 作废
  20164. type: integer
  20165. refercount:
  20166. description: 推荐总人数
  20167. type: integer
  20168. refereeuserid:
  20169. description: 推荐人ID
  20170. type: integer
  20171. refernum:
  20172. description: 推荐码
  20173. type: string
  20174. rootuserid:
  20175. description: 根用户ID
  20176. type: integer
  20177. subaccountlevel:
  20178. description: 子账户层数
  20179. type: integer
  20180. subarealevelpath:
  20181. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20182. type: string
  20183. todayrefercount:
  20184. description: 今日推荐人数
  20185. type: integer
  20186. userid:
  20187. description: 用户ID
  20188. type: integer
  20189. usertype:
  20190. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20191. type: integer
  20192. required:
  20193. - userid
  20194. type: object
  20195. models.Userfavoritegoods:
  20196. properties:
  20197. goodsid:
  20198. description: 商品ID
  20199. type: integer
  20200. required:
  20201. - goodsid
  20202. type: object
  20203. models.Userinfo:
  20204. properties:
  20205. address:
  20206. description: 地址
  20207. type: string
  20208. attachment1:
  20209. description: 附件1
  20210. type: string
  20211. attachment2:
  20212. description: 附件2
  20213. type: string
  20214. bankaccount:
  20215. description: 银行帐号 (加密存储)
  20216. type: string
  20217. bankaccountname:
  20218. description: 收款人名称
  20219. type: string
  20220. bankcardfrontphotourl:
  20221. description: 银行卡正面照地址
  20222. type: string
  20223. bankid:
  20224. description: 银行编码
  20225. type: string
  20226. bankname:
  20227. description: 银行名称
  20228. type: string
  20229. biznature:
  20230. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20231. type: integer
  20232. bizscope:
  20233. description: 企业经营范围(企业)
  20234. type: string
  20235. cardbackphotourl:
  20236. description: 证件背面图片地址
  20237. type: string
  20238. cardfrontphotourl:
  20239. description: 证件正面图片地址
  20240. type: string
  20241. cardnum:
  20242. description: 证件号码(加密存储)
  20243. type: string
  20244. cardtypeid:
  20245. description: 证件类型ID
  20246. type: integer
  20247. cityid:
  20248. description: 市
  20249. type: integer
  20250. company:
  20251. description: 公司(个人)
  20252. type: string
  20253. contactname:
  20254. description: 联系人
  20255. type: string
  20256. countryid:
  20257. description: 国家
  20258. type: integer
  20259. createtime:
  20260. description: 创建时间
  20261. type: string
  20262. creatorid:
  20263. description: 创建人
  20264. type: integer
  20265. customername:
  20266. description: 客户名称(企业名称)
  20267. type: string
  20268. districtid:
  20269. description: 地区
  20270. type: integer
  20271. email:
  20272. description: 邮件(加密存储)
  20273. type: string
  20274. fax:
  20275. description: 传真(加密存储)
  20276. type: string
  20277. halfbodyphotourl:
  20278. description: 半身照地址
  20279. type: string
  20280. hasencrypt:
  20281. description: 数据是否已加密 - 0:未加密 1:已加密
  20282. type: integer
  20283. headurl:
  20284. description: 头像地址
  20285. type: string
  20286. legalcardbackphotourl:
  20287. description: 法人身份证背面照地址
  20288. type: string
  20289. legalcardfrontphotourl:
  20290. description: 法人身份证正面照地址
  20291. type: string
  20292. legalpersonname:
  20293. description: 法人姓名(企业)
  20294. type: string
  20295. mobile:
  20296. description: 手机号码(加密存储)
  20297. type: string
  20298. mobile2:
  20299. description: 手机号码[明文-尚志]
  20300. type: string
  20301. modifierid:
  20302. description: 修改人
  20303. type: integer
  20304. modifiertime:
  20305. description: 修改时间
  20306. type: string
  20307. needinvoice:
  20308. description: 是否需要发票 - 0:不需要 1:需要
  20309. type: integer
  20310. nickname:
  20311. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20312. type: string
  20313. openmode:
  20314. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20315. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20316. type: integer
  20317. otherurl:
  20318. description: 其它图片地址[使用分号分隔]
  20319. type: string
  20320. postalcode:
  20321. description: 邮政编码
  20322. type: string
  20323. provinceid:
  20324. description: 省
  20325. type: integer
  20326. qq:
  20327. description: QQ(加密存储
  20328. type: string
  20329. remark:
  20330. description: 备注
  20331. type: string
  20332. sex:
  20333. description: '用户性别 0: 女 1: 男'
  20334. type: integer
  20335. signpdfurl:
  20336. description: 签约pdf文件
  20337. type: string
  20338. telphone:
  20339. description: 联系电话(加密存储)
  20340. type: string
  20341. userid:
  20342. description: 用户ID
  20343. type: integer
  20344. userinfotype:
  20345. description: 用户信息类型 - 1:个人 2:企业
  20346. type: integer
  20347. userstatus:
  20348. description: 用户状态 - 1:正常 2:注销
  20349. type: integer
  20350. usertype:
  20351. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20352. type: integer
  20353. wechat:
  20354. description: 微信(加密存储)
  20355. type: string
  20356. wskhinfo:
  20357. description: 开户申请信息(JSON)
  20358. type: string
  20359. required:
  20360. - userid
  20361. type: object
  20362. models.WRPositionReport:
  20363. properties:
  20364. accountid:
  20365. description: 帐户ID
  20366. type: integer
  20367. brandid:
  20368. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20369. type: integer
  20370. buylistinglot:
  20371. description: 买挂牌宗数
  20372. type: integer
  20373. buytradeamount:
  20374. description: 购买金额
  20375. type: number
  20376. buytradelot:
  20377. description: 购买宗数
  20378. type: integer
  20379. buytradeqty:
  20380. description: 购买数量
  20381. type: number
  20382. creditcurqty:
  20383. description: 授信当前数量
  20384. type: integer
  20385. creditfreezeqty:
  20386. description: 授信冻结数量
  20387. type: integer
  20388. credittotalqty:
  20389. description: 授信总数量
  20390. type: integer
  20391. credittradeqty:
  20392. description: 授信成交数量
  20393. type: integer
  20394. decreaseqty:
  20395. description: 今日减少数量
  20396. type: integer
  20397. deliverygoodsid:
  20398. description: 交割商品ID
  20399. type: integer
  20400. deliverymonthid:
  20401. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20402. type: integer
  20403. freezeqty:
  20404. description: 总冻结数量
  20405. type: integer
  20406. increaseqty:
  20407. description: 今日增加数量
  20408. type: integer
  20409. marketvalue:
  20410. description: 市值
  20411. type: number
  20412. pickupqty:
  20413. description: 今日提货数量
  20414. type: integer
  20415. qualityid:
  20416. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20417. type: integer
  20418. reckondate:
  20419. description: 日照时期(yyyyMMdd)
  20420. type: string
  20421. relatedqty:
  20422. description: 关联数量
  20423. type: integer
  20424. selllistingamount:
  20425. description: 卖挂牌金额
  20426. type: number
  20427. selllistinglot:
  20428. description: 卖挂牌宗数
  20429. type: integer
  20430. selllistingqty:
  20431. description: 卖挂牌数量
  20432. type: number
  20433. selltradeamount:
  20434. description: 销售金额
  20435. type: number
  20436. selltradelot:
  20437. description: 销售宗数
  20438. type: integer
  20439. selltradeqty:
  20440. description: 销售数量
  20441. type: number
  20442. specid:
  20443. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20444. type: integer
  20445. totalprice:
  20446. description: 销售金额(¥)
  20447. type: number
  20448. totalqty:
  20449. description: 总数量
  20450. type: integer
  20451. totalweight:
  20452. description: 销售重量(ct)
  20453. type: number
  20454. tradewrqty:
  20455. description: 订单仓单头寸总数量
  20456. type: integer
  20457. transfertradewrqty:
  20458. description: 今日转订单数量
  20459. type: integer
  20460. warehouseid:
  20461. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20462. type: integer
  20463. wrfactortypeid:
  20464. description: 仓单要素类型ID
  20465. type: integer
  20466. wrpositionid:
  20467. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20468. type: integer
  20469. wrstandardcode:
  20470. description: 现货商品代码
  20471. type: string
  20472. wrstandardid:
  20473. description: 现货商品ID
  20474. type: integer
  20475. wruserid:
  20476. description: 持有人ID
  20477. type: integer
  20478. zscategory:
  20479. description: 商品分类
  20480. type: integer
  20481. zscategorydisplay:
  20482. type: string
  20483. zscurrencytype:
  20484. description: 商品币种
  20485. type: integer
  20486. zscurrencytypedisplay:
  20487. type: string
  20488. zscurrencytypedisplayunit:
  20489. type: string
  20490. type: object
  20491. models.WRSConverTDetail:
  20492. properties:
  20493. convertratio:
  20494. description: 套保系数
  20495. type: number
  20496. deliverygoodscode:
  20497. description: 现货商品代码
  20498. type: string
  20499. deliverygoodsid:
  20500. description: 现货品种ID
  20501. type: integer
  20502. deliverygoodsname:
  20503. description: 现货商品名称
  20504. type: string
  20505. enumdicname:
  20506. description: 单位名称
  20507. type: string
  20508. goodsunitid:
  20509. description: 套保品种单位id
  20510. type: integer
  20511. middlegoodscode:
  20512. description: 套保品种代码
  20513. type: string
  20514. middlegoodsid:
  20515. description: 套保品种ID
  20516. type: integer
  20517. middlegoodsname:
  20518. description: 套保品种名称
  20519. type: string
  20520. modifytime:
  20521. description: 修改时间
  20522. type: string
  20523. wrstandardid:
  20524. description: 品类ID
  20525. type: integer
  20526. type: object
  20527. models.WRStandardInfo:
  20528. properties:
  20529. areauserid:
  20530. description: 所属机构
  20531. type: integer
  20532. convertfactor:
  20533. description: 标仓系数
  20534. type: number
  20535. createtime:
  20536. description: 创建时间
  20537. type: string
  20538. creatorid:
  20539. description: 创建人
  20540. type: integer
  20541. deliverygoodsid:
  20542. description: 品种ID
  20543. type: integer
  20544. deliverygoodsname:
  20545. description: 交割商品名称
  20546. type: string
  20547. factoryitemjson:
  20548. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20549. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20550. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20551. 逗号分隔'
  20552. type: string
  20553. isvalid:
  20554. description: 是否有效 - 0:无效 1:有效
  20555. type: integer
  20556. minivalue:
  20557. description: 最小变动值
  20558. type: integer
  20559. minivaluedp:
  20560. description: 最小变动值小数位
  20561. type: integer
  20562. realminivalue:
  20563. description: 实际最小变动值
  20564. type: integer
  20565. realminivaluedp:
  20566. description: 实际最小变动值小数位
  20567. type: integer
  20568. remark:
  20569. description: 备注
  20570. type: string
  20571. unitid:
  20572. description: 单位ID
  20573. type: integer
  20574. unitname:
  20575. description: 单位
  20576. type: string
  20577. updatetime:
  20578. description: 更新时间
  20579. type: string
  20580. updatorid:
  20581. description: 更新人
  20582. type: integer
  20583. wrsstatus:
  20584. description: 状态 - 作废 - 0:未激活 1:正常
  20585. type: integer
  20586. wrstandardcode:
  20587. description: 现货品类代码
  20588. type: string
  20589. wrstandardid:
  20590. description: 现货品类ID(SEQ_WRSTANDARD)
  20591. type: integer
  20592. wrstandardname:
  20593. description: 现货品类名称
  20594. type: string
  20595. required:
  20596. - wrstandardid
  20597. type: object
  20598. models.WRTradeBargainApply:
  20599. properties:
  20600. accountid:
  20601. description: 摘牌资金账号
  20602. type: integer
  20603. applyprice:
  20604. description: 申请价格(议价价格)
  20605. type: string
  20606. applyqty:
  20607. description: 摘牌数量(议价数量)
  20608. type: number
  20609. applyremark:
  20610. description: 申请备注
  20611. type: string
  20612. applystatus:
  20613. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20614. type: integer
  20615. applytime:
  20616. description: 申请时间(议价时间)
  20617. type: string
  20618. begindate:
  20619. description: 开始交易日(yyyymmdd)
  20620. type: string
  20621. buyorsell:
  20622. description: 买卖(挂牌类型) - 0:买 1:卖
  20623. type: integer
  20624. confirmremark:
  20625. description: 确认备注
  20626. type: string
  20627. confirmtime:
  20628. description: 确认时间
  20629. type: string
  20630. confirmuserid:
  20631. description: 确认人
  20632. type: integer
  20633. deliverygoodscode:
  20634. description: 品种代码
  20635. type: string
  20636. deliverygoodsid:
  20637. description: 品种ID
  20638. type: integer
  20639. deliverygoodsname:
  20640. description: 品种名称
  20641. type: string
  20642. deliverymonth:
  20643. description: 交收月
  20644. type: string
  20645. enddate:
  20646. description: 结束交易日(yyyymmdd)
  20647. type: string
  20648. enumdicname:
  20649. description: 单位名称
  20650. type: string
  20651. fixedprice:
  20652. description: 期初均价
  20653. type: number
  20654. handlestatus:
  20655. description: 处理状态
  20656. type: integer
  20657. marginvalue:
  20658. description: 期初均价
  20659. type: number
  20660. marketid:
  20661. description: 市场ID
  20662. type: integer
  20663. matchaccountid:
  20664. description: 挂牌方资金账号
  20665. type: integer
  20666. matchuserid:
  20667. description: 挂牌方用户id
  20668. type: integer
  20669. matchusername:
  20670. description: 挂牌方用户名称(已脱敏)
  20671. type: string
  20672. minivalue:
  20673. description: 现货商品最小变动值
  20674. type: integer
  20675. optioncompare:
  20676. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20677. type: string
  20678. orderqty:
  20679. description: 挂牌数量
  20680. type: integer
  20681. refprice:
  20682. description: 参考价格
  20683. type: string
  20684. retcode:
  20685. description: 委托返回代码
  20686. type: integer
  20687. templatename:
  20688. description: 履约方式(履约模板名称)
  20689. type: string
  20690. tradedate:
  20691. description: 交易日(yyyyMMdd)
  20692. type: string
  20693. userid:
  20694. description: 摘牌人用户ID(议价人ID)
  20695. type: integer
  20696. username:
  20697. description: 议价人名字(已脱敏)
  20698. type: string
  20699. validtime:
  20700. description: 有效期限
  20701. type: string
  20702. warehouseid:
  20703. description: 仓库ID
  20704. type: integer
  20705. warehousename:
  20706. description: 仓库名称
  20707. type: string
  20708. wrbargainid:
  20709. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20710. type: string
  20711. wrfactortypeid:
  20712. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20713. type: string
  20714. wrfactortypename:
  20715. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20716. type: string
  20717. wrstandardcode:
  20718. description: 现货商品代码
  20719. type: string
  20720. wrstandardid:
  20721. description: 现货商品ID
  20722. type: integer
  20723. wrstandardname:
  20724. description: 商品名称
  20725. type: string
  20726. wrtradeorderid:
  20727. description: 关联委托单ID
  20728. type: string
  20729. wrtypename:
  20730. description: 商品
  20731. type: string
  20732. type: object
  20733. models.Warehouseinfo:
  20734. properties:
  20735. address:
  20736. description: 详细地址
  20737. type: string
  20738. areauserid:
  20739. description: 所属机构
  20740. type: integer
  20741. autoid:
  20742. description: 自增ID
  20743. type: integer
  20744. cityid:
  20745. description: 市
  20746. type: integer
  20747. contactname:
  20748. description: 联系人
  20749. type: string
  20750. contactnum:
  20751. description: 联系电话
  20752. type: string
  20753. countryid:
  20754. description: 国家
  20755. type: integer
  20756. createtime:
  20757. description: 创建时间
  20758. type: string
  20759. districtid:
  20760. description: 区
  20761. type: integer
  20762. hasvideo:
  20763. description: 是否有视频 - 0:无 1:有
  20764. type: integer
  20765. provinceid:
  20766. description: 省
  20767. type: integer
  20768. remark:
  20769. description: 审核备注
  20770. type: string
  20771. videourl:
  20772. description: 视频地址
  20773. type: string
  20774. warehousecode:
  20775. description: 仓库代码
  20776. type: string
  20777. warehousename:
  20778. description: 仓库名称
  20779. type: string
  20780. warehousestatus:
  20781. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20782. type: integer
  20783. warehousetype:
  20784. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20785. type: integer
  20786. required:
  20787. - autoid
  20788. - warehousecode
  20789. type: object
  20790. models.WrAverageTradePrice:
  20791. properties:
  20792. averageprice:
  20793. description: 期初均价
  20794. type: number
  20795. tradedate:
  20796. description: 交易日yyyymm
  20797. type: string
  20798. type: object
  20799. models.WrBrandAndYears:
  20800. properties:
  20801. brandlst:
  20802. description: 品牌列表
  20803. items:
  20804. $ref: '#/definitions/models.DgFactoryItem'
  20805. type: array
  20806. yearslst:
  20807. description: 年份列表
  20808. items:
  20809. $ref: '#/definitions/models.DgFactoryItem'
  20810. type: array
  20811. type: object
  20812. models.WrBsGoodsInfo:
  20813. properties:
  20814. buyorsell:
  20815. description: 买卖方向 0-买 1-卖
  20816. type: integer
  20817. goodsid:
  20818. description: 交易合约ID
  20819. type: integer
  20820. lstitem:
  20821. description: 商品信息项
  20822. items:
  20823. $ref: '#/definitions/models.WrTypeItem'
  20824. type: array
  20825. lststep:
  20826. description: 履约规则
  20827. items:
  20828. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20829. type: array
  20830. type: object
  20831. models.WrBuybackDetail:
  20832. properties:
  20833. buybackamount:
  20834. description: 回购金额
  20835. type: number
  20836. buybackqty:
  20837. description: 回购数量
  20838. type: number
  20839. buybackreleasemargin:
  20840. description: 回购释放保证金
  20841. type: number
  20842. buybacktime:
  20843. description: 回购时间
  20844. type: string
  20845. errordesc:
  20846. description: 错误描述
  20847. type: string
  20848. handlestatus:
  20849. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20850. type: integer
  20851. relatedwrid:
  20852. description: 关联仓单ID
  20853. type: integer
  20854. scfcontractid:
  20855. description: SCF合同ID
  20856. type: string
  20857. scfwrbuybackid:
  20858. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20859. type: integer
  20860. tradedate:
  20861. description: 交易日(yyyyMMdd)
  20862. type: string
  20863. type: object
  20864. models.WrClientAdSpaceConfig:
  20865. properties:
  20866. adspaceid:
  20867. description: 广告位ID
  20868. type: integer
  20869. adspacename:
  20870. description: 广告位名称
  20871. type: string
  20872. adspacetype:
  20873. description: 广告位类型 - 1:固定广告位
  20874. type: integer
  20875. areauserid:
  20876. description: 所属机构ID
  20877. type: integer
  20878. createdate:
  20879. description: 创建时间
  20880. type: string
  20881. imagepath:
  20882. description: 图片
  20883. type: string
  20884. modifierid:
  20885. description: 操作人
  20886. type: integer
  20887. recsize:
  20888. description: 推荐尺寸
  20889. type: string
  20890. title:
  20891. description: 标题
  20892. type: string
  20893. updatedate:
  20894. description: 更新时间
  20895. type: string
  20896. urlcontent:
  20897. description: 链接(地址\商品ID\功能菜单Key\appid)
  20898. type: string
  20899. urltype:
  20900. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20901. type: integer
  20902. type: object
  20903. models.WrDeliveryAvalidHoldLB:
  20904. properties:
  20905. accountid:
  20906. description: 资金账号
  20907. type: integer
  20908. avalidqty:
  20909. description: 数量(可点选数量)
  20910. type: number
  20911. deliverygoodsid:
  20912. description: 品种id
  20913. type: integer
  20914. enumdicname:
  20915. description: 单位名称
  20916. type: string
  20917. goodsid:
  20918. description: x合约商品id
  20919. type: integer
  20920. ladingbillid:
  20921. description: 提单id
  20922. type: string
  20923. pgoodscode:
  20924. description: p商品代码(点价合约)
  20925. type: string
  20926. pgoodsid:
  20927. description: p商品id(点价合约)
  20928. type: integer
  20929. pgoodsname:
  20930. description: p商品名称(点价合约)
  20931. type: string
  20932. pricemove:
  20933. description: 升贴水
  20934. type: number
  20935. subnum:
  20936. description: 提单子id
  20937. type: integer
  20938. userid:
  20939. description: 用户id
  20940. type: integer
  20941. username:
  20942. description: 仓单持有人
  20943. type: string
  20944. warehousecode:
  20945. description: 仓库代码
  20946. type: string
  20947. warehouseid:
  20948. description: 仓库id
  20949. type: integer
  20950. warehousename:
  20951. description: 仓库名称
  20952. type: string
  20953. wrfactortypeid:
  20954. description: 仓单要素id
  20955. type: string
  20956. wrstandardcode:
  20957. description: 品代码
  20958. type: string
  20959. wrstandardid:
  20960. description: 品类d
  20961. type: integer
  20962. wrstandardname:
  20963. description: 品类名称
  20964. type: string
  20965. wrtypename:
  20966. description: 商品
  20967. type: string
  20968. xgoodscode:
  20969. description: x合约代码
  20970. type: string
  20971. xgoodsname:
  20972. description: x合约名称
  20973. type: string
  20974. type: object
  20975. models.WrDeliveryDetail:
  20976. properties:
  20977. accountid:
  20978. description: 账号ID
  20979. type: integer
  20980. averageprice:
  20981. description: 期初均价
  20982. type: number
  20983. begindate:
  20984. description: 开始交易日(yyyymmdd)
  20985. type: string
  20986. buyorsell:
  20987. description: 方向 - 0:买 1:卖
  20988. type: integer
  20989. deliveryamount:
  20990. description: 货款金额(X总货款+P总货款)
  20991. type: number
  20992. deliveryid:
  20993. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  20994. type: string
  20995. deliveryorderid:
  20996. description: 申报单号
  20997. type: string
  20998. deliverypricemove:
  20999. description: 升贴水(升贴水总额)
  21000. type: number
  21001. deliveryqty:
  21002. description: 交收数量(点选数量)
  21003. type: number
  21004. deliverystatus:
  21005. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21006. type: integer
  21007. deliverytime:
  21008. description: 交割时间
  21009. type: string
  21010. deliverytotalamount:
  21011. description: 交收金额
  21012. type: number
  21013. enddate:
  21014. description: 结束交易日(yyyymmdd)
  21015. type: string
  21016. enumdicname:
  21017. description: 单位名称
  21018. type: string
  21019. matchaccountid:
  21020. description: 对手账号ID
  21021. type: integer
  21022. matchusername:
  21023. description: 对手方名称(仓单持有人)
  21024. type: string
  21025. p1goodsremainamount:
  21026. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21027. type: number
  21028. pdeliverycloseqty:
  21029. description: p合约平仓数量
  21030. type: number
  21031. pdeliveryprice:
  21032. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21033. type: number
  21034. pgoodscode:
  21035. description: 商品代码
  21036. type: string
  21037. pgoodsid:
  21038. description: p点选合约id
  21039. type: integer
  21040. pgoodsname:
  21041. description: 商品名称
  21042. type: string
  21043. ppricemode:
  21044. description: 点价价格方式 - 1:商品价 2:固定值
  21045. type: integer
  21046. tradedate:
  21047. description: 交易日(yyyymmdd)
  21048. type: string
  21049. userid:
  21050. description: 用户id
  21051. type: integer
  21052. username:
  21053. description: 用户名称
  21054. type: string
  21055. warehousename:
  21056. description: 仓库名称
  21057. type: string
  21058. wrfactortypeid:
  21059. description: 仓单要素类型ID
  21060. type: string
  21061. wrtypename:
  21062. description: 商品
  21063. type: string
  21064. xdeliverycloseqty:
  21065. description: 合约数量
  21066. type: number
  21067. xgoodsamount:
  21068. description: 期初均价
  21069. type: number
  21070. xgoodscode:
  21071. description: 商品代码
  21072. type: string
  21073. xgoodsid:
  21074. description: x交易合约ID
  21075. type: integer
  21076. xgoodsname:
  21077. description: 商品名称
  21078. type: string
  21079. type: object
  21080. models.WrDeliveryGoodsSection:
  21081. properties:
  21082. dglst:
  21083. description: 板块商品列表
  21084. items:
  21085. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21086. type: array
  21087. imagepath:
  21088. description: 图片地址
  21089. type: string
  21090. orderindex:
  21091. description: 排序
  21092. type: integer
  21093. sectionid:
  21094. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21095. = 1的版块1 - 云融指数
  21096. type: integer
  21097. sectionname:
  21098. description: 版块名称
  21099. type: string
  21100. sectiontype:
  21101. description: 版块类型 - 1:指数版块 2:普通版块
  21102. type: integer
  21103. type: object
  21104. models.WrDeliveryGoodsSectionConfig:
  21105. properties:
  21106. deliverygoodscode:
  21107. description: 现货商品代码
  21108. type: string
  21109. deliverygoodsid:
  21110. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21111. type: integer
  21112. deliverygoodsname:
  21113. description: 现货商品名称
  21114. type: string
  21115. orderindex:
  21116. description: 排序
  21117. type: integer
  21118. type: object
  21119. models.WrDraftUserInfo:
  21120. properties:
  21121. address:
  21122. description: 地址
  21123. type: string
  21124. attachment1:
  21125. description: 附件1
  21126. type: string
  21127. attachment2:
  21128. description: 附件2
  21129. type: string
  21130. attachment3:
  21131. description: 附件3
  21132. type: string
  21133. attachment4:
  21134. description: 附件4
  21135. type: string
  21136. attachment5:
  21137. description: 附件5
  21138. type: string
  21139. bankaccount:
  21140. description: 银行帐号 (加密存储)
  21141. type: string
  21142. bankaccountname:
  21143. description: 收款人名称
  21144. type: string
  21145. bankcardfrontphotourl:
  21146. description: 银行卡正面照地址
  21147. type: string
  21148. bankid:
  21149. description: 银行编码
  21150. type: string
  21151. bankname:
  21152. description: 银行名称
  21153. type: string
  21154. birthday:
  21155. description: 生日(个人:年月日)
  21156. type: string
  21157. biznature:
  21158. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21159. type: integer
  21160. bizscope:
  21161. description: 企业经营范围(企业)
  21162. type: string
  21163. biztype:
  21164. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21165. type: integer
  21166. cardbackphotourl:
  21167. description: 证件背面图片地址
  21168. type: string
  21169. cardfrontphotourl:
  21170. description: 证件正面图片地址
  21171. type: string
  21172. cardnum:
  21173. description: 证件号码(加密存储)
  21174. type: string
  21175. cardtypeid:
  21176. description: 证件类型ID
  21177. type: integer
  21178. cityid:
  21179. description: 市
  21180. type: integer
  21181. company:
  21182. description: 公司(个人)
  21183. type: string
  21184. contactcardbackphotourl:
  21185. description: 联系人证件背面图片地址
  21186. type: string
  21187. contactcardfrontphotourl:
  21188. description: 联系人证件正面图片地址
  21189. type: string
  21190. contactname:
  21191. description: 联系人
  21192. type: string
  21193. countryid:
  21194. description: 国家
  21195. type: integer
  21196. createtime:
  21197. description: 创建时间
  21198. type: string
  21199. creatorid:
  21200. description: 创建人
  21201. type: integer
  21202. creditquota:
  21203. description: 授信额度(金瑞)
  21204. type: number
  21205. customername:
  21206. description: 客户名称(企业名称)
  21207. type: string
  21208. districtid:
  21209. description: 地区
  21210. type: integer
  21211. email:
  21212. description: 邮件(加密存储)
  21213. type: string
  21214. fax:
  21215. description: 传真(加密存储)
  21216. type: string
  21217. halfbodyphotourl:
  21218. description: 半身照地址
  21219. type: string
  21220. hasencrypt:
  21221. description: 数据是否已加密 - 0:未加密 1:已加密
  21222. type: integer
  21223. headurl:
  21224. description: 头像地址
  21225. type: string
  21226. legalcardbackphotourl:
  21227. description: 法人身份证背面照地址
  21228. type: string
  21229. legalcardfrontphotourl:
  21230. description: 法人身份证正面照地址
  21231. type: string
  21232. legalpersonname:
  21233. description: 法人姓名(企业)
  21234. type: string
  21235. mobile:
  21236. description: 手机号码(加密存储)
  21237. type: string
  21238. mobile2:
  21239. description: 手机号码[明文-尚志]
  21240. type: string
  21241. modifierid:
  21242. description: 修改人
  21243. type: integer
  21244. modifiertime:
  21245. description: 修改时间
  21246. type: string
  21247. needinvoice:
  21248. description: 是否需要发票 - 0:不需要 1:需要
  21249. type: integer
  21250. nickname:
  21251. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21252. type: string
  21253. openmode:
  21254. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21255. 6:苹果手机端注册 7:PC交易端注册"
  21256. type: integer
  21257. otherurl:
  21258. description: 其它图片地址[使用分号分隔]
  21259. type: string
  21260. postalcode:
  21261. description: 邮政编码
  21262. type: string
  21263. provinceid:
  21264. description: 省
  21265. type: integer
  21266. proxystatementurl:
  21267. description: 授权委托书
  21268. type: string
  21269. qq:
  21270. description: QQ(加密存储
  21271. type: string
  21272. remark:
  21273. description: 备注
  21274. type: string
  21275. sex:
  21276. description: '用户性别 0: 女 1: 男'
  21277. type: integer
  21278. signpdfurl:
  21279. description: 签约pdf文件
  21280. type: string
  21281. taxpayernum:
  21282. description: 纳税人识别号
  21283. type: string
  21284. telphone:
  21285. description: 联系电话(加密存储)
  21286. type: string
  21287. userid:
  21288. description: 用户ID
  21289. type: integer
  21290. userinfotype:
  21291. description: 用户信息类型 - 1:个人 2:企业
  21292. type: integer
  21293. userstatus:
  21294. description: 用户状态 - 1:正常 2:注销
  21295. type: integer
  21296. usertype:
  21297. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21298. type: integer
  21299. wechat:
  21300. description: 微信(加密存储)
  21301. type: string
  21302. wskhinfo:
  21303. description: 开户申请信息(JSON)
  21304. type: string
  21305. type: object
  21306. models.WrFAProductDetail:
  21307. properties:
  21308. accountid:
  21309. description: 资金账号
  21310. type: integer
  21311. areauserid:
  21312. description: 金融机构ID
  21313. type: integer
  21314. financingdays:
  21315. description: 天数(天)
  21316. type: integer
  21317. interestminlen:
  21318. description: 最小起息天数
  21319. type: integer
  21320. interestrate:
  21321. description: 利率
  21322. type: number
  21323. interestratemode:
  21324. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21325. type: integer
  21326. interestsettlemode:
  21327. description: 结息方式 - 1:按日结息 3:按月结息
  21328. type: integer
  21329. interestsettlevalue:
  21330. description: 结息方式值
  21331. type: integer
  21332. isautoloan:
  21333. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21334. type: integer
  21335. loantag:
  21336. description: '放款标识: "放款快" 或者为空'
  21337. type: string
  21338. marginratio:
  21339. description: 保证金比率质押率 - [仓单质押]
  21340. type: number
  21341. productdetailid:
  21342. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21343. type: integer
  21344. productid:
  21345. description: 金融产品ID
  21346. type: integer
  21347. productname:
  21348. description: 产品名称
  21349. type: string
  21350. updatetime:
  21351. description: 更新时间
  21352. type: string
  21353. username:
  21354. description: 融出方
  21355. type: string
  21356. type: object
  21357. models.WrFactorTypeInfo:
  21358. properties:
  21359. deliverygoodscode:
  21360. description: 品种代码
  21361. type: string
  21362. deliverygoodsname:
  21363. description: 品种名称
  21364. type: string
  21365. dgfactoryitemid:
  21366. description: 选择项id
  21367. type: integer
  21368. dgfactoryitemtypeid:
  21369. description: 要素选择项ID (1-仓库 2-品牌)
  21370. type: integer
  21371. dgfactoryitemvalue:
  21372. description: 要素项值
  21373. type: string
  21374. itemtypename:
  21375. description: 要素项名称
  21376. type: string
  21377. optioncompare:
  21378. description: 选择比较串
  21379. type: string
  21380. warehouseid:
  21381. description: 仓库id
  21382. type: integer
  21383. wrfactortypeid:
  21384. description: 仓单要素ID
  21385. type: string
  21386. wrfactortypename:
  21387. description: 要素名称
  21388. type: string
  21389. wrfactortypename2:
  21390. description: 要素名称(不含仓库)
  21391. type: string
  21392. wrstandardcode:
  21393. description: 品类代码
  21394. type: string
  21395. wrstandardid:
  21396. description: 品类id
  21397. type: integer
  21398. wrstandardname:
  21399. description: 品类名称
  21400. type: string
  21401. type: object
  21402. models.WrFilterItem:
  21403. properties:
  21404. itemcode:
  21405. description: 代码
  21406. type: string
  21407. itemid:
  21408. description: 项id
  21409. type: integer
  21410. itemname:
  21411. description: 名称
  21412. type: string
  21413. itemtype:
  21414. description: 类型 1-品种 2-品类(商品) 3-仓库
  21415. type: integer
  21416. type: object
  21417. models.WrFinanceBuyApply:
  21418. properties:
  21419. applydate:
  21420. description: 申请时间
  21421. type: string
  21422. applystatus:
  21423. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21424. type: integer
  21425. applyuserid:
  21426. description: 申请人
  21427. type: integer
  21428. auditdate:
  21429. description: 审核时间
  21430. type: string
  21431. auditremark:
  21432. description: 审核备注
  21433. type: string
  21434. audituserid:
  21435. description: 审核人
  21436. type: integer
  21437. buyaccountid:
  21438. description: 买方资金账号
  21439. type: integer
  21440. buyorsell:
  21441. description: 买卖 - 0:买 1:卖
  21442. type: integer
  21443. buyuserid:
  21444. description: 买方用户ID
  21445. type: integer
  21446. buyusername:
  21447. description: 买方名称
  21448. type: string
  21449. buywrtradeorderid:
  21450. description: 融资方买委托单ID
  21451. type: string
  21452. deliverygoodscode:
  21453. description: 品种代码
  21454. type: string
  21455. deliverygoodsid:
  21456. description: 品种ID
  21457. type: integer
  21458. deliverygoodsname:
  21459. description: 品种名称
  21460. type: string
  21461. deliverymonth:
  21462. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21463. type: string
  21464. enumdicname:
  21465. description: 单位名称
  21466. type: string
  21467. financeaccountid:
  21468. description: 融资方资金帐户ID
  21469. type: integer
  21470. financeapplyid:
  21471. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21472. type: string
  21473. financeareauserid:
  21474. description: 融资方用户ID
  21475. type: string
  21476. financename:
  21477. description: 融出方名称
  21478. type: string
  21479. financetype:
  21480. description: 融资类型 1-融资回购
  21481. type: integer
  21482. financingdays:
  21483. description: 天数(天)
  21484. type: integer
  21485. freezebuymargin:
  21486. description: 冻结融资保证金(买方)
  21487. type: number
  21488. handleremark:
  21489. description: 处理备注
  21490. type: string
  21491. handlestatus:
  21492. description: 处理状态
  21493. type: integer
  21494. interestminlen:
  21495. description: 最小起息天数
  21496. type: integer
  21497. interestrate:
  21498. description: 利率
  21499. type: number
  21500. interestratemode:
  21501. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21502. type: integer
  21503. interestsettlemode:
  21504. description: 结息方式 - 1:按日结息 3:按月结息
  21505. type: integer
  21506. interestsettlevalue:
  21507. description: 结息方式值
  21508. type: integer
  21509. isautoloan:
  21510. description: 是否自动放款 - 0:手动 1:自动
  21511. type: integer
  21512. marginratio:
  21513. description: 保证金比率质押率 - [仓单质押]
  21514. type: number
  21515. marketid:
  21516. description: 市场ID
  21517. type: integer
  21518. minivalue:
  21519. description: 现货商品最小变动值
  21520. type: integer
  21521. optioncompare:
  21522. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21523. type: string
  21524. orderqty:
  21525. description: 委托数量(商品数量)
  21526. type: number
  21527. productdetailid:
  21528. description: 产品组合ID
  21529. type: integer
  21530. productid:
  21531. description: 金融产品ID
  21532. type: integer
  21533. productname:
  21534. description: 产品名称
  21535. type: string
  21536. remark:
  21537. description: 备注
  21538. type: string
  21539. scfcontractid:
  21540. description: 仓单回购合同ID
  21541. type: string
  21542. sellaccountid:
  21543. description: 卖方资金账号
  21544. type: integer
  21545. selluserid:
  21546. description: 卖方用户ID
  21547. type: integer
  21548. sellwrtradeorderid:
  21549. description: 卖方委托单ID
  21550. type: string
  21551. tradeamount:
  21552. description: 成交金额(借款金额)
  21553. type: number
  21554. tradedate:
  21555. description: 交易日(yyyyMMdd)
  21556. type: string
  21557. tradeprice:
  21558. description: 成交价格
  21559. type: number
  21560. warehouseid:
  21561. description: 仓库ID
  21562. type: integer
  21563. warehousename:
  21564. description: 仓库名称
  21565. type: string
  21566. wrfactortypeid:
  21567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21568. type: string
  21569. wrfactortypename:
  21570. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21571. type: string
  21572. wrpricetype:
  21573. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21574. type: integer
  21575. wrstandardcode:
  21576. description: 现货商品代码
  21577. type: string
  21578. wrstandardid:
  21579. description: 现货商品ID
  21580. type: integer
  21581. wrstandardname:
  21582. description: 商品名称
  21583. type: string
  21584. wrtypename:
  21585. description: 商品
  21586. type: string
  21587. type: object
  21588. models.WrFriendApply:
  21589. properties:
  21590. applicantid:
  21591. description: 申请人
  21592. type: integer
  21593. applyname:
  21594. description: 申请人名称
  21595. type: string
  21596. applysrc:
  21597. description: 申请来源 - 1:管理端 2:终端
  21598. type: integer
  21599. applystatus:
  21600. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21601. type: integer
  21602. applytime:
  21603. description: 申请时间
  21604. type: string
  21605. auditname:
  21606. description: 审核人名称
  21607. type: string
  21608. auditorid:
  21609. description: 审核人
  21610. type: integer
  21611. auditremark:
  21612. description: 审核备注
  21613. type: string
  21614. auditsrc:
  21615. description: 审核来源 - 1:管理端 2:终端
  21616. type: integer
  21617. audittime:
  21618. description: 审核时间
  21619. type: string
  21620. friendapplyid:
  21621. description: 申请ID(SEQ_FRIENDAPPLY)
  21622. type: string
  21623. friendname:
  21624. description: 好友名字(已脱敏)
  21625. type: string
  21626. frienduserid:
  21627. description: 好友用户ID
  21628. type: string
  21629. remark:
  21630. description: 备注
  21631. type: string
  21632. userid:
  21633. description: 申请人用户ID
  21634. type: integer
  21635. type: object
  21636. models.WrFtDeliveryGoods:
  21637. properties:
  21638. deliverygoodscode:
  21639. description: 品种代码
  21640. type: string
  21641. deliverygoodsid:
  21642. description: 品种ID
  21643. type: integer
  21644. deliverygoodsname:
  21645. description: 品种名称
  21646. type: string
  21647. wdlst:
  21648. description: 商品列表
  21649. items:
  21650. $ref: '#/definitions/models.WrFtWrstandard'
  21651. type: array
  21652. type: object
  21653. models.WrFtWrstandard:
  21654. properties:
  21655. enumdicname:
  21656. description: 单位名称
  21657. type: string
  21658. minivalue:
  21659. description: 最小变动值
  21660. type: integer
  21661. wrstandardcode:
  21662. description: 现货商品代码
  21663. type: string
  21664. wrstandardid:
  21665. description: 现货商品ID
  21666. type: integer
  21667. wrstandardname:
  21668. description: 商品名称
  21669. type: string
  21670. type: object
  21671. models.WrGoodsInfo:
  21672. properties:
  21673. haswr:
  21674. description: 0:仓单预售 1:仓单贸易
  21675. type: integer
  21676. lstitem:
  21677. description: 商品信息项
  21678. items:
  21679. $ref: '#/definitions/models.WrTypeItem'
  21680. type: array
  21681. lststep:
  21682. description: 履约规则
  21683. items:
  21684. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21685. type: array
  21686. marketid:
  21687. description: 市场id
  21688. type: integer
  21689. type: object
  21690. models.WrGoodsPerformanceStep:
  21691. properties:
  21692. autoid:
  21693. description: AutoID
  21694. type: integer
  21695. isauto:
  21696. description: 是否自动 - 0:不自动 1:自动
  21697. type: integer
  21698. remark:
  21699. description: 备注
  21700. type: string
  21701. stepdate:
  21702. description: 天数信息(T+N)
  21703. type: string
  21704. stepdays:
  21705. description: 距离上一步天数
  21706. type: integer
  21707. stepindex:
  21708. description: 步骤序号
  21709. type: integer
  21710. stepinfo:
  21711. description: 步骤信息(步骤名称+步骤值)
  21712. type: string
  21713. steptypeid:
  21714. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21715. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21716. type: integer
  21717. steptypename:
  21718. description: 步骤名称
  21719. type: string
  21720. stepvalue:
  21721. description: 期初均价
  21722. type: number
  21723. templateid:
  21724. description: 履约计划模板ID
  21725. type: integer
  21726. type: object
  21727. models.WrHoldLB:
  21728. properties:
  21729. accountid:
  21730. description: 持有人帐户ID
  21731. type: integer
  21732. bannerpicurl:
  21733. description: Banner图
  21734. type: string
  21735. createtime:
  21736. description: 创建时间(过户时间)
  21737. type: string
  21738. deliverygoodscode:
  21739. description: 品种代码
  21740. type: string
  21741. deliverygoodsid:
  21742. description: 品种ID
  21743. type: integer
  21744. deliverygoodsname:
  21745. description: 品种名称
  21746. type: string
  21747. enableqty:
  21748. description: 可用数量
  21749. type: number
  21750. enumdicname:
  21751. description: 单位名称
  21752. type: string
  21753. freezerqty:
  21754. description: 冻结数量
  21755. type: number
  21756. ladingbillid:
  21757. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21758. type: string
  21759. minivalue:
  21760. description: 现货商品最小变动值
  21761. type: integer
  21762. optioncompare:
  21763. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21764. type: string
  21765. parentsubnum:
  21766. description: 拆分父子单号
  21767. type: integer
  21768. pledgeqty:
  21769. description: 质押数量
  21770. type: number
  21771. qty:
  21772. description: 数量
  21773. type: number
  21774. spotgoodsprice:
  21775. description: 参考价(THJ)
  21776. type: number
  21777. subnum:
  21778. description: 提单子单号
  21779. type: integer
  21780. thumurls:
  21781. description: 缩略图
  21782. type: string
  21783. tradedate:
  21784. description: 交易日(yyyyMMdd)
  21785. type: string
  21786. userid:
  21787. description: 持有人ID
  21788. type: integer
  21789. warehouseid:
  21790. description: 仓库ID
  21791. type: integer
  21792. warehousename:
  21793. description: 仓库名称
  21794. type: string
  21795. wrfactortypeid:
  21796. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21797. type: string
  21798. wrfactortypename:
  21799. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21800. type: string
  21801. wrholdeno:
  21802. description: 仓单编号
  21803. type: string
  21804. wrid:
  21805. description: 仓单变更ID
  21806. type: string
  21807. wrstandardcode:
  21808. description: 现货商品代码
  21809. type: string
  21810. wrstandardid:
  21811. description: 现货商品ID
  21812. type: integer
  21813. wrstandardname:
  21814. description: 商品名称
  21815. type: string
  21816. wrtypename:
  21817. description: 商品
  21818. type: string
  21819. type: object
  21820. models.WrMarketTradeConfig:
  21821. properties:
  21822. basisdownratio:
  21823. description: 浮动价基差下限比例(仓单贸易)
  21824. type: number
  21825. basisupratio:
  21826. description: 浮动价基差上限比例(仓单贸易)
  21827. type: number
  21828. buychargealgorithm:
  21829. description: 买方手续费收取方式 1:比率 2:固定
  21830. type: integer
  21831. buychargealgorithm2:
  21832. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21833. type: integer
  21834. buychargealgorithmvalue:
  21835. description: 买方手续费设置值(交易所部分)
  21836. type: number
  21837. buychargealgorithmvalue2:
  21838. description: 买方手续费设置值(会员部分)
  21839. type: number
  21840. buychargealgorithmvalue3:
  21841. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21842. type: number
  21843. buychargealgorithmvalue4:
  21844. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21845. type: number
  21846. buyfirstmarginalgorithm:
  21847. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21848. type: integer
  21849. buyfirstmarginvalue:
  21850. description: 买方出价保证金设置值 - [竞拍]
  21851. type: number
  21852. buymarginalgorithm:
  21853. description: 买方保证金方式 - 1:比率 2:固定
  21854. type: integer
  21855. buymarginvalue:
  21856. description: 买方保证金设置值
  21857. type: number
  21858. buyreleaseratio:
  21859. description: 买方释放比率[2:分步履约]
  21860. type: number
  21861. executemode:
  21862. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21863. type: integer
  21864. executeside:
  21865. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21866. type: integer
  21867. failedchargealgorithm:
  21868. description: 流拍手续费收取方式 1:比率 2:固定
  21869. type: integer
  21870. failedchargevalue:
  21871. description: 流拍手续费设置值
  21872. type: number
  21873. failedchargevalue2:
  21874. description: 流拍卖方手续费设置值
  21875. type: number
  21876. holddays:
  21877. description: 合同期限[2:分步履约]
  21878. type: integer
  21879. listingmode:
  21880. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21881. type: integer
  21882. marketid:
  21883. description: 市场ID-仓单贸易、竞拍、预售
  21884. type: integer
  21885. minqty:
  21886. description: 最小执行量[2:分步履约]
  21887. type: number
  21888. modifierid:
  21889. description: 修改人
  21890. type: integer
  21891. nowrquotaflag:
  21892. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21893. type: integer
  21894. performancetempid:
  21895. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21896. 立即执行(-1)
  21897. type: integer
  21898. performancetempid2:
  21899. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21900. 立即执行
  21901. type: integer
  21902. performancetempid2s:
  21903. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21904. - 履约方式: 立即执行
  21905. type: string
  21906. performancetempids:
  21907. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21908. - 履约方式: 立即执行(-1)
  21909. type: string
  21910. performanceway:
  21911. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21912. type: integer
  21913. sellchargealgorithm:
  21914. description: 卖方手续费收取方式 1:比率 2:固定
  21915. type: integer
  21916. sellchargealgorithm2:
  21917. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21918. type: integer
  21919. sellchargealgorithmvalue:
  21920. description: 卖方手续费设置值(交易所部分)
  21921. type: number
  21922. sellchargealgorithmvalue2:
  21923. description: 卖方手续费设置值(会员部分)
  21924. type: number
  21925. sellchargealgorithmvalue3:
  21926. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21927. type: number
  21928. sellchargealgorithmvalue4:
  21929. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21930. type: number
  21931. sellmarginalgorithm:
  21932. description: 卖方保证金方式 - 1:比率 2:固定
  21933. type: integer
  21934. sellmarginvalue:
  21935. description: 卖方保证金设置值
  21936. type: number
  21937. sellmarginvalue2:
  21938. description: 卖方保证金设置值(无仓单)
  21939. type: number
  21940. sellreleaseratio:
  21941. description: 卖方释放比率[2:分步履约]
  21942. type: number
  21943. updatetime:
  21944. description: 更新时间
  21945. type: string
  21946. type: object
  21947. models.WrOrderDetail:
  21948. properties:
  21949. accountid:
  21950. description: 交易账号(资金账号)
  21951. type: integer
  21952. allfriendsflag:
  21953. description: 是否全好友可见 - 0:否 1:是
  21954. type: integer
  21955. amount:
  21956. description: 期初均价
  21957. type: number
  21958. bannerpicurl:
  21959. description: Banner图
  21960. type: string
  21961. begindate:
  21962. description: 开始交易日(yyyymmdd)
  21963. type: string
  21964. buyorsell:
  21965. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21966. type: integer
  21967. canbargain:
  21968. description: 是否可议价 - 0:不可 1:可
  21969. type: integer
  21970. cancelqty:
  21971. description: 撤销数量
  21972. type: number
  21973. canpart:
  21974. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  21975. type: integer
  21976. delistminqty:
  21977. description: 起摘数量
  21978. type: integer
  21979. deliverygoodscode:
  21980. description: 品种代码
  21981. type: string
  21982. deliverygoodsid:
  21983. description: 品种ID
  21984. type: integer
  21985. deliverygoodsname:
  21986. description: 品种名称
  21987. type: string
  21988. deliverymonth:
  21989. description: 交收月
  21990. type: string
  21991. enddate:
  21992. description: 结束交易日(yyyymmdd)
  21993. type: string
  21994. enumdicname:
  21995. description: 单位名称
  21996. type: string
  21997. fixedprice:
  21998. description: 固定价格 - [挂牌]
  21999. type: number
  22000. freezecharge:
  22001. description: 期初均价
  22002. type: number
  22003. freezemargin:
  22004. description: 期初均价
  22005. type: number
  22006. futupricemove:
  22007. description: 期货升贴水
  22008. type: number
  22009. futushow:
  22010. description: 期货合约/升贴水
  22011. type: string
  22012. goodscode:
  22013. description: 期货合约
  22014. type: string
  22015. goodsid:
  22016. description: 期货商品id
  22017. type: integer
  22018. goodsname:
  22019. description: 商品名称
  22020. type: string
  22021. haswr:
  22022. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22023. type: integer
  22024. isspecified:
  22025. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22026. type: integer
  22027. ladingbillid:
  22028. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22029. type: string
  22030. marginvalue:
  22031. description: 期初均价
  22032. type: number
  22033. marketid:
  22034. description: 市场ID
  22035. type: integer
  22036. matchusername:
  22037. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22038. type: string
  22039. minivalue:
  22040. description: 现货商品最小变动值
  22041. type: integer
  22042. optioncompare:
  22043. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22044. type: string
  22045. orderqty:
  22046. description: 委托数量
  22047. type: number
  22048. ordertime:
  22049. description: 委托时间(挂牌时间)
  22050. type: string
  22051. performancetemplateid:
  22052. description: 履约模板id
  22053. type: integer
  22054. pricemove:
  22055. description: 升贴水(浮动价时填写) - [挂牌]
  22056. type: number
  22057. taname:
  22058. description: 交易用户名称(资金账号名称)
  22059. type: string
  22060. thumurls:
  22061. description: 缩略图
  22062. type: string
  22063. tradedate:
  22064. description: 交易日(yyyyMMdd)
  22065. type: string
  22066. tradeprice:
  22067. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22068. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22069. type: number
  22070. tradeqty:
  22071. description: 成交数量
  22072. type: number
  22073. unitid:
  22074. description: 现货商品单位ID
  22075. type: integer
  22076. userid:
  22077. description: 用户ID
  22078. type: integer
  22079. validtime:
  22080. description: 挂牌有效期
  22081. type: string
  22082. validtype:
  22083. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22084. type: integer
  22085. warehouseid:
  22086. description: 仓库ID
  22087. type: integer
  22088. warehousename:
  22089. description: 仓库名称
  22090. type: string
  22091. wrfactortypeid:
  22092. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22093. type: string
  22094. wrfactortypename:
  22095. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22096. type: string
  22097. wrpricetype:
  22098. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22099. type: integer
  22100. wrstandardcode:
  22101. description: 现货商品代码
  22102. type: string
  22103. wrstandardid:
  22104. description: 现货商品ID
  22105. type: integer
  22106. wrstandardname:
  22107. description: 商品名称
  22108. type: string
  22109. wrtradeorderid:
  22110. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22111. type: string
  22112. wrtradeorderstatus:
  22113. 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:撤单解冻贷款失败
  22114. type: integer
  22115. wrtradetype:
  22116. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22117. type: integer
  22118. wrtypename:
  22119. description: 商品
  22120. type: string
  22121. type: object
  22122. models.WrOrderQuote:
  22123. properties:
  22124. bannerpicurl:
  22125. description: Banner图
  22126. type: string
  22127. buyprice:
  22128. description: 买价
  22129. type: number
  22130. buypricemove:
  22131. description: 买升贴水(基差)
  22132. type: number
  22133. buyqty:
  22134. description: 买量
  22135. type: number
  22136. deliverygoodscode:
  22137. description: 品种代码
  22138. type: string
  22139. deliverygoodsid:
  22140. description: 品种id
  22141. type: integer
  22142. deliverygoodsname:
  22143. description: 品种名称
  22144. type: string
  22145. deliverymonth:
  22146. description: 交收月
  22147. type: string
  22148. enumdicname:
  22149. description: 单位名称
  22150. type: string
  22151. goodscode:
  22152. description: 商品合约(浮动价列表才有)
  22153. type: string
  22154. goodsid:
  22155. description: 商品id(浮动价列表才有)
  22156. type: integer
  22157. minivalue:
  22158. description: 现货商品最小变动值
  22159. type: integer
  22160. pictureurls:
  22161. description: 详情图片(逗号分隔)
  22162. type: string
  22163. sellprice:
  22164. description: 卖价
  22165. type: number
  22166. sellpricemove:
  22167. description: 卖升贴水(基差)
  22168. type: number
  22169. sellqty:
  22170. description: 卖量
  22171. type: number
  22172. spotgoodsprice:
  22173. description: 参考价(THJ)
  22174. type: number
  22175. thumurls:
  22176. description: 缩略图片(1:1)(逗号分隔)
  22177. type: string
  22178. warehousecode:
  22179. description: 仓库代码
  22180. type: string
  22181. warehouseid:
  22182. description: 仓库id
  22183. type: integer
  22184. warehousename:
  22185. description: 仓库名称
  22186. type: string
  22187. wrfactortypeid:
  22188. description: 仓单要素id
  22189. type: string
  22190. wrfactortypename:
  22191. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22192. type: string
  22193. wrgoodsname:
  22194. description: 商品(商品名称+仓库要素名称 拼接)
  22195. type: string
  22196. wrstandardcode:
  22197. description: 商品代码
  22198. type: string
  22199. wrstandardid:
  22200. description: 商品id
  22201. type: integer
  22202. wrstandardname:
  22203. description: 商品名称
  22204. type: string
  22205. type: object
  22206. models.WrOrderQuoteDetail:
  22207. properties:
  22208. buyorsell:
  22209. description: 买卖 - 0:买 1:卖
  22210. type: integer
  22211. delistminqty:
  22212. description: 期初均价
  22213. type: number
  22214. deliverymonth:
  22215. description: 交收月
  22216. type: string
  22217. enumdicname:
  22218. description: 单位名称
  22219. type: string
  22220. fixedprice:
  22221. description: 买(卖)价
  22222. type: number
  22223. marketid:
  22224. description: 市场id
  22225. type: integer
  22226. minivalue:
  22227. description: 现货商品最小变动值
  22228. type: integer
  22229. orderqty:
  22230. description: 买(卖)量(=委托量-成交量)
  22231. type: number
  22232. ordertime:
  22233. description: 委托时间
  22234. type: string
  22235. pricemove:
  22236. description: 买(卖)升贴水- 基差
  22237. type: number
  22238. userid:
  22239. description: 购买方(销售方)用户ID
  22240. type: integer
  22241. username:
  22242. description: 购买方(销售方)
  22243. type: string
  22244. wrtradeorderid:
  22245. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22246. type: string
  22247. type: object
  22248. models.WrOutInApply:
  22249. properties:
  22250. address:
  22251. description: 详细地址
  22252. type: string
  22253. applyid:
  22254. description: 申请单id
  22255. type: string
  22256. applystatus:
  22257. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22258. 8:已撤销
  22259. type: integer
  22260. applytime:
  22261. description: 申请时间
  22262. type: string
  22263. applytype:
  22264. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22265. type: integer
  22266. appointmentmodel:
  22267. description: 预约方式 - 1:物流 2:自送 3:自提
  22268. type: integer
  22269. appointmentmodeldisplay:
  22270. description: 预约方式(显示枚举)
  22271. type: string
  22272. appointmentremark:
  22273. description: 申请备注
  22274. type: string
  22275. bannerpicurl:
  22276. description: Banner图
  22277. type: string
  22278. begindate:
  22279. description: 开始交易日(yyyymmdd)
  22280. type: string
  22281. contactname:
  22282. description: 联系人
  22283. type: string
  22284. contactnum:
  22285. description: 联系方式
  22286. type: string
  22287. deliverygoodscode:
  22288. description: 品种代码
  22289. type: string
  22290. deliverygoodsid:
  22291. description: 品种ID
  22292. type: integer
  22293. deliverygoodsname:
  22294. description: 品种名称
  22295. type: string
  22296. enddate:
  22297. description: 结束交易日(yyyymmdd)
  22298. type: string
  22299. enumdicname:
  22300. description: 单位名称
  22301. type: string
  22302. expresscompany:
  22303. description: 物流公司
  22304. type: string
  22305. expressnum:
  22306. description: 物流单号
  22307. type: string
  22308. minivalue:
  22309. description: 现货商品最小变动值
  22310. type: integer
  22311. optioncompare:
  22312. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22313. type: string
  22314. qty:
  22315. description: 数量
  22316. type: integer
  22317. userid:
  22318. description: 用户id
  22319. type: integer
  22320. warehouseid:
  22321. description: 仓库ID
  22322. type: integer
  22323. warehousename:
  22324. description: 仓库名称
  22325. type: string
  22326. wrfactortypeid:
  22327. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22328. type: string
  22329. wrfactortypename:
  22330. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22331. type: string
  22332. wrstandardcode:
  22333. description: 现货商品代码
  22334. type: string
  22335. wrstandardid:
  22336. description: 现货商品ID
  22337. type: integer
  22338. wrstandardname:
  22339. description: 商品名称
  22340. type: string
  22341. wrtypename:
  22342. description: 商品
  22343. type: string
  22344. type: object
  22345. models.WrPerformancePlan:
  22346. properties:
  22347. activatemonth:
  22348. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22349. type: string
  22350. amount:
  22351. description: 履约金额(总金额)
  22352. type: number
  22353. begindate:
  22354. description: 开始交易日(yyyymmdd)
  22355. type: string
  22356. buyaccountid:
  22357. description: 买方账号
  22358. type: integer
  22359. buyerfreezeamount:
  22360. description: 履约冻结(买履约)
  22361. type: number
  22362. buyerfreezeamountremain:
  22363. description: 履约冻结剩余(买履约)
  22364. type: number
  22365. buyorsell:
  22366. description: 买卖方向 0-买 1-卖
  22367. type: integer
  22368. buypaidamount:
  22369. description: 买方已冻/已扣金额 (已付金额)
  22370. type: number
  22371. buyusername:
  22372. description: 买方名字
  22373. type: string
  22374. contractid:
  22375. description: 合同ID
  22376. type: integer
  22377. createtime:
  22378. description: 创建时间
  22379. type: string
  22380. creatorid:
  22381. description: 创建人
  22382. type: integer
  22383. curstepdeadline:
  22384. description: 当前步骤到期时间
  22385. type: string
  22386. curstepid:
  22387. description: 当前步骤ID
  22388. type: string
  22389. curstepname:
  22390. description: 当前步骤名称
  22391. type: string
  22392. deliverygoodscode:
  22393. description: 品种代码
  22394. type: string
  22395. deliverygoodsid:
  22396. description: 品种ID
  22397. type: integer
  22398. deliverygoodsname:
  22399. description: 品种名称
  22400. type: string
  22401. enddate:
  22402. description: 结束交易日(yyyymmdd)
  22403. type: string
  22404. enumdicname:
  22405. description: 单位名称
  22406. type: string
  22407. expressfee:
  22408. description: 运费
  22409. type: number
  22410. expressfeeconfirmed:
  22411. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22412. type: integer
  22413. hasovershort:
  22414. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22415. type: integer
  22416. haswr:
  22417. description: 类型 0-仓单预售 1-仓单贸易
  22418. type: integer
  22419. marketid:
  22420. description: 市场ID
  22421. type: integer
  22422. middleaccountid:
  22423. description: 中间商资金账号ID
  22424. type: integer
  22425. middleuserid:
  22426. description: 中间商用户ID
  22427. type: integer
  22428. minivalue:
  22429. description: 现货商品最小变动值
  22430. type: integer
  22431. optioncompare:
  22432. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22433. type: string
  22434. overshortamount:
  22435. description: 溢短金额
  22436. type: number
  22437. overshortqty:
  22438. description: 溢短数量
  22439. type: number
  22440. paymenttype:
  22441. description: 付款方式 - 1:冻结 2:扣款
  22442. type: integer
  22443. performanceplanid:
  22444. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22445. type: string
  22446. performancestatus:
  22447. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22448. 9:超时待处理 10:超时关闭
  22449. type: integer
  22450. performancetype:
  22451. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22452. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22453. type: integer
  22454. qty:
  22455. description: 履约数量
  22456. type: number
  22457. relatedorderid:
  22458. description: 关联单号(履约类型的关联单号)
  22459. type: string
  22460. remark:
  22461. description: 备注
  22462. type: string
  22463. sellaccountid:
  22464. description: 卖方账号
  22465. type: integer
  22466. sellerfreezeamount:
  22467. description: 履约冻结(卖履约)
  22468. type: number
  22469. sellerfreezeamountremain:
  22470. description: 履约冻结剩余(卖履约)
  22471. type: number
  22472. sellreceivedamount:
  22473. description: 卖方已收金额
  22474. type: number
  22475. sellusername:
  22476. description: 卖方名字
  22477. type: string
  22478. shipremark:
  22479. description: 发货备注[物流单号]
  22480. type: string
  22481. starttime:
  22482. description: 开始时间
  22483. type: string
  22484. steptypeid:
  22485. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22486. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22487. type: integer
  22488. typename:
  22489. description: 履约类型 名称
  22490. type: string
  22491. unpaidamount:
  22492. description: 期初均价
  22493. type: number
  22494. userid:
  22495. description: 用户id
  22496. type: integer
  22497. warehouseid:
  22498. description: 仓库ID
  22499. type: integer
  22500. warehousename:
  22501. description: 仓库名称
  22502. type: string
  22503. wrfactortypeid:
  22504. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22505. type: string
  22506. wrfactortypename:
  22507. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22508. type: string
  22509. wrstandardcode:
  22510. description: 现货商品代码
  22511. type: string
  22512. wrstandardid:
  22513. description: 现货商品ID
  22514. type: integer
  22515. wrstandardname:
  22516. description: 商品名称
  22517. type: string
  22518. wrtransferuserid:
  22519. description: 仓单受让用户
  22520. type: integer
  22521. wrtypename:
  22522. description: 商品
  22523. type: string
  22524. required:
  22525. - userid
  22526. type: object
  22527. models.WrPerformancePlanStep:
  22528. properties:
  22529. delaydays:
  22530. description: 延期申请天数
  22531. type: integer
  22532. deliverygoodscode:
  22533. description: 品种代码
  22534. type: string
  22535. deliverygoodsid:
  22536. description: 品种ID
  22537. type: integer
  22538. deliverygoodsname:
  22539. description: 品种名称
  22540. type: string
  22541. endtime:
  22542. description: 结束日期
  22543. type: string
  22544. enumdicname:
  22545. description: 单位名称
  22546. type: string
  22547. executeside:
  22548. description: 步骤执行方 - 1:买方 2:卖方
  22549. type: integer
  22550. handlestatus:
  22551. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22552. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22553. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22554. type: integer
  22555. isauto:
  22556. description: 是否自动 - 0:不自动 1:自动
  22557. type: integer
  22558. islastreceivestep:
  22559. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22560. type: integer
  22561. minivalue:
  22562. description: 现货商品最小变动值
  22563. type: integer
  22564. optioncompare:
  22565. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22566. type: string
  22567. overdays:
  22568. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22569. type: integer
  22570. performancestepid:
  22571. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22572. type: string
  22573. planid:
  22574. description: 所属履约计划ID
  22575. type: string
  22576. realamount:
  22577. description: 实际完成金额
  22578. type: number
  22579. relatedorderid:
  22580. description: 关联单号
  22581. type: string
  22582. remaindays:
  22583. description: 剩余天数
  22584. type: integer
  22585. remark:
  22586. description: 错误备注
  22587. type: string
  22588. starttime:
  22589. description: 开始日期
  22590. type: string
  22591. stepamount:
  22592. description: 步骤金额
  22593. type: number
  22594. stepdays:
  22595. description: 距离上一步天数(分钟)
  22596. type: integer
  22597. stepindex:
  22598. description: 步骤序号
  22599. type: integer
  22600. steplanchtype:
  22601. description: 步骤启动类型 - 1:系统自动 2:手动
  22602. type: integer
  22603. stepremark:
  22604. description: 步骤备注
  22605. type: string
  22606. stepstatus:
  22607. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22608. type: integer
  22609. steptypeid:
  22610. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22611. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22612. type: integer
  22613. steptypename:
  22614. description: 步骤名称
  22615. type: string
  22616. stepvalue:
  22617. description: 步骤值
  22618. type: number
  22619. warehouseid:
  22620. description: 仓库ID
  22621. type: integer
  22622. warehousename:
  22623. description: 仓库名称
  22624. type: string
  22625. wrfactortypeid:
  22626. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22627. type: string
  22628. wrfactortypename:
  22629. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22630. type: string
  22631. wrstandardcode:
  22632. description: 现货商品代码
  22633. type: string
  22634. wrstandardid:
  22635. description: 现货商品ID
  22636. type: integer
  22637. wrstandardname:
  22638. description: 商品名称
  22639. type: string
  22640. wrtypename:
  22641. description: 商品
  22642. type: string
  22643. type: object
  22644. models.WrPerformanceStepType:
  22645. properties:
  22646. canauto:
  22647. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22648. type: integer
  22649. steptypeid:
  22650. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22651. type: integer
  22652. steptypename:
  22653. description: 步骤类型名称
  22654. type: string
  22655. type: object
  22656. models.WrPerformanceTemplateEx:
  22657. properties:
  22658. autoid:
  22659. description: AutoID 模板id
  22660. type: integer
  22661. createtime:
  22662. description: 创建时间
  22663. type: string
  22664. creatorid:
  22665. description: 创建人
  22666. type: integer
  22667. lstStep:
  22668. description: 步骤信息列表
  22669. items:
  22670. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22671. type: array
  22672. paymenttype:
  22673. description: 支付方式 - 1:冻结 2:扣款
  22674. type: integer
  22675. takemode:
  22676. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22677. type: integer
  22678. templatename:
  22679. description: 模板名称
  22680. type: string
  22681. templatetype:
  22682. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22683. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22684. type: integer
  22685. userid:
  22686. description: 所属用户
  22687. type: integer
  22688. type: object
  22689. models.WrPosition:
  22690. properties:
  22691. accountid:
  22692. description: 帐户ID
  22693. type: integer
  22694. buyexcuteqty:
  22695. description: 采购履约中数量
  22696. type: number
  22697. creditcurqty:
  22698. description: 授信当前数量(预售仓单:预售当前量)
  22699. type: number
  22700. creditenableqty:
  22701. description: '授信可用数量(预售仓单: 可用数量)'
  22702. type: number
  22703. creditfreezeqty:
  22704. description: '授信冻结数量(预售仓单: 当前数量)'
  22705. type: number
  22706. credittotalqty:
  22707. description: 授信总数量(预售仓单:预售总量)
  22708. type: number
  22709. credittradeqty:
  22710. description: 授信成交数量(预售仓单:成交总量)
  22711. type: number
  22712. deliverygoodscode:
  22713. description: 品种代码
  22714. type: string
  22715. deliverygoodsid:
  22716. description: 品种ID
  22717. type: integer
  22718. deliverygoodsname:
  22719. description: 品种名称
  22720. type: string
  22721. enalbeqty:
  22722. description: 可用数量
  22723. type: number
  22724. enumdicname:
  22725. description: 单位名称
  22726. type: string
  22727. freezeqty:
  22728. description: 总冻结数量
  22729. type: number
  22730. haswr:
  22731. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22732. type: integer
  22733. minivalue:
  22734. description: 现货商品最小变动值
  22735. type: integer
  22736. modifytime:
  22737. description: 修改时间(过户时间)
  22738. type: string
  22739. optioncompare:
  22740. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22741. type: string
  22742. pledgeqty:
  22743. description: 质押数量
  22744. type: number
  22745. querytype:
  22746. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22747. type: integer
  22748. sellexcuteqty:
  22749. description: 销售履约中数量
  22750. type: number
  22751. totalqty:
  22752. description: 总数量(库存数量)
  22753. type: number
  22754. warehouseid:
  22755. description: 仓库ID
  22756. type: integer
  22757. warehousename:
  22758. description: 仓库名称
  22759. type: string
  22760. wrfactortypeid:
  22761. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22762. type: string
  22763. wrfactortypename:
  22764. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22765. type: string
  22766. wrpositionid:
  22767. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22768. type: string
  22769. wrpositionno:
  22770. description: 仓单编号
  22771. type: string
  22772. wrstandardcode:
  22773. description: 现货商品代码
  22774. type: string
  22775. wrstandardid:
  22776. description: 现货商品ID
  22777. type: integer
  22778. wrstandardname:
  22779. description: 商品名称
  22780. type: string
  22781. wrtypename:
  22782. description: 商品
  22783. type: string
  22784. wruserid:
  22785. description: 持有人ID
  22786. type: integer
  22787. type: object
  22788. models.WrPreSaleInfo:
  22789. properties:
  22790. bannerpicurl:
  22791. description: Banner图
  22792. type: string
  22793. baseqty:
  22794. description: 中签基数
  22795. type: number
  22796. createtime:
  22797. description: 创建时间
  22798. type: string
  22799. deliverygoodsid:
  22800. description: 现货品种ID
  22801. type: integer
  22802. enddate:
  22803. description: 预售结束日期
  22804. type: string
  22805. enumdicname:
  22806. description: 单位名称
  22807. type: string
  22808. lotteryflag:
  22809. description: 摇号标识 - 0:未摇号 1:已摇号
  22810. type: integer
  22811. lotteryqty:
  22812. description: 摇号总量
  22813. type: number
  22814. luckyqty:
  22815. description: 已中签量
  22816. type: number
  22817. marketid:
  22818. description: 市场ID
  22819. type: integer
  22820. maxbuyqty:
  22821. description: 单人最大申购量
  22822. type: number
  22823. maxluckyqty:
  22824. description: 单人最大中签量
  22825. type: number
  22826. pictureurls:
  22827. description: 详情图片(逗号分隔)
  22828. type: string
  22829. placeqty:
  22830. description: 已配售量
  22831. type: number
  22832. presaleapplyid:
  22833. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22834. example: "0"
  22835. type: string
  22836. presaleqty:
  22837. description: 预售总量
  22838. type: number
  22839. presalestatus:
  22840. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22841. type: integer
  22842. sellaccountid:
  22843. description: 发行方资金账户ID
  22844. type: integer
  22845. selluserid:
  22846. description: 发行方用户ID
  22847. type: integer
  22848. sellwrtradeorderid:
  22849. description: 发行方卖委托单ID
  22850. type: string
  22851. startdate:
  22852. description: 预售开始日期
  22853. type: string
  22854. takestartdate:
  22855. description: 提货开始日期
  22856. type: string
  22857. thumurls:
  22858. description: 缩略图片(1:1)(逗号分隔)
  22859. type: string
  22860. tradedate:
  22861. description: 交易日
  22862. type: string
  22863. unitid:
  22864. description: 单位ID
  22865. type: integer
  22866. unitprice:
  22867. description: 商品单价
  22868. type: number
  22869. username:
  22870. description: 发行方用户名称
  22871. type: string
  22872. warehousecode:
  22873. description: 仓库代码(仓库简称)
  22874. type: string
  22875. warehouseid:
  22876. description: 仓库ID
  22877. type: integer
  22878. warehousename:
  22879. description: 仓库名称
  22880. type: string
  22881. wrfactortypeid:
  22882. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22883. example: "0"
  22884. type: string
  22885. wrstandardid:
  22886. description: 现货商品ID
  22887. type: integer
  22888. wrstandardname:
  22889. description: 现货商品名称
  22890. type: string
  22891. type: object
  22892. models.WrQuoteOrderMyq:
  22893. properties:
  22894. buyorsell:
  22895. description: 买卖 - 0:买 1:卖
  22896. type: integer
  22897. canbargain:
  22898. description: 是否可议价 - 0:不可 1:可
  22899. type: integer
  22900. canpart:
  22901. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22902. type: integer
  22903. delistminqty:
  22904. description: 期初均价
  22905. type: number
  22906. deliverygoodscode:
  22907. description: 品种代码
  22908. type: string
  22909. deliverygoodsid:
  22910. description: 品种ID
  22911. type: integer
  22912. deliverygoodsname:
  22913. description: 品种名称
  22914. type: string
  22915. deliverymonth:
  22916. description: 交收月
  22917. type: string
  22918. enumdicname:
  22919. description: 单位名称
  22920. type: string
  22921. fixedprice:
  22922. description: 买(卖)价
  22923. type: number
  22924. goodscode:
  22925. description: 商品合约代码
  22926. type: string
  22927. marginflag:
  22928. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22929. type: integer
  22930. marginvalue:
  22931. description: 保证金设置值
  22932. type: number
  22933. minivalue:
  22934. description: 现货商品最小变动值
  22935. type: integer
  22936. orderqty:
  22937. description: 买(卖)量(=委托量-成交量)
  22938. type: number
  22939. ordertime:
  22940. description: 委托时间
  22941. type: string
  22942. performancetemplateid:
  22943. description: 履约模板id
  22944. type: integer
  22945. pricemove:
  22946. description: 买(卖)升贴水- 基差
  22947. type: number
  22948. templatename:
  22949. description: 履约模板名称
  22950. type: string
  22951. userid:
  22952. description: 购买方(销售方)用户ID
  22953. type: integer
  22954. username:
  22955. description: 购买方(销售方)
  22956. type: string
  22957. validtime:
  22958. description: 有效期限
  22959. type: string
  22960. validtype:
  22961. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22962. type: integer
  22963. warehousename:
  22964. description: 仓库名称
  22965. type: string
  22966. wrfactortypeid:
  22967. description: 仓单要素id
  22968. type: string
  22969. wrstandardcode:
  22970. description: 现货商品代码
  22971. type: string
  22972. wrstandardid:
  22973. description: 现货商品ID
  22974. type: integer
  22975. wrstandardname:
  22976. description: 商品名称
  22977. type: string
  22978. wrtradeorderid:
  22979. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22980. type: string
  22981. wrtypename:
  22982. description: 商品
  22983. type: string
  22984. type: object
  22985. models.WrReckonSpotGoodsTradeSum:
  22986. properties:
  22987. begindate:
  22988. description: 开始日期(结果含开始日期) yyyymmdd
  22989. type: string
  22990. enddate:
  22991. description: 结束日期(结果含结束日期) yyyymmdd
  22992. type: string
  22993. istoday:
  22994. description: 是否当日
  22995. type: boolean
  22996. marketid:
  22997. description: 市场ID
  22998. type: integer
  22999. price:
  23000. description: 价格 = 日成交金额 / 日成交数量
  23001. type: string
  23002. reckondate:
  23003. description: 日期 格式 yyyymmdd
  23004. type: string
  23005. tradeamount:
  23006. description: 期初均价
  23007. type: number
  23008. tradeqty:
  23009. description: 期初均价
  23010. type: number
  23011. wrstandardid:
  23012. description: 现货商品ID
  23013. type: integer
  23014. type: object
  23015. models.WrScfContract:
  23016. properties:
  23017. borroweruserid:
  23018. description: 借款用户ID
  23019. type: integer
  23020. buybackwrpositionqty:
  23021. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23022. type: number
  23023. closeinterest:
  23024. description: 已结利息 -> 已结费用
  23025. type: number
  23026. currisklevel:
  23027. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23028. type: integer
  23029. deadline:
  23030. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23031. type: string
  23032. deliverygoodscode:
  23033. description: 品种代码
  23034. type: string
  23035. deliverygoodsid:
  23036. description: 品种ID
  23037. type: integer
  23038. deliverygoodsname:
  23039. description: 品种名称
  23040. type: string
  23041. enumdicname:
  23042. description: 单位名称
  23043. type: string
  23044. financingdays:
  23045. description: 天数(天)
  23046. type: integer
  23047. initmargin:
  23048. description: 保证金 - [仓单回购]
  23049. type: number
  23050. interestamount:
  23051. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23052. type: number
  23053. interestdebt:
  23054. description: 利息欠款(记录负数) -> 费用欠款
  23055. type: number
  23056. interestminlen:
  23057. description: 最小起息天数
  23058. type: integer
  23059. interestrate:
  23060. description: 利率
  23061. type: number
  23062. interestratemode:
  23063. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23064. type: integer
  23065. interestsettlemode:
  23066. description: 结息方式 - 1:按日结息 3:按月结息
  23067. type: integer
  23068. interestsettlevalue:
  23069. description: 结息方式值
  23070. type: integer
  23071. isautoloan:
  23072. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23073. type: integer
  23074. lastcloseinterestday:
  23075. description: 最近结息日(yyyyMMdd)
  23076. type: string
  23077. lenderamount:
  23078. description: 贷款金额 -> 借款金额
  23079. type: number
  23080. lenderuserid:
  23081. description: 贷款方用户ID -> 融出方用户ID
  23082. type: integer
  23083. lenderusername:
  23084. description: 融出方
  23085. type: string
  23086. marginratio:
  23087. description: 保证金比率质押率 - [仓单质押]
  23088. type: number
  23089. marketid:
  23090. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23091. type: integer
  23092. minivalue:
  23093. description: 现货商品最小变动值
  23094. type: integer
  23095. optioncompare:
  23096. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23097. type: string
  23098. pricemove:
  23099. description: 估值升贴水值
  23100. type: number
  23101. productdetailid:
  23102. description: 产品组合ID
  23103. type: integer
  23104. productid:
  23105. description: 金融产品ID
  23106. type: integer
  23107. productname:
  23108. description: 产品名称
  23109. type: string
  23110. remainamount:
  23111. description: 合同剩余金额 -> 剩余金额
  23112. type: number
  23113. remainwrpositionqty:
  23114. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23115. type: number
  23116. remark:
  23117. description: 备注
  23118. type: string
  23119. scfcontractid:
  23120. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23121. type: string
  23122. scfcontractstatus:
  23123. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23124. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23125. type: integer
  23126. scfcontracttype:
  23127. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23128. type: integer
  23129. startinterestday:
  23130. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23131. type: string
  23132. totalinterest:
  23133. description: 已计利息 -> 已计费用
  23134. type: number
  23135. unpaidinterest:
  23136. description: 期初均价
  23137. type: number
  23138. updatetime:
  23139. description: 更新时间
  23140. type: string
  23141. warehouseid:
  23142. description: 仓库ID
  23143. type: integer
  23144. warehousename:
  23145. description: 仓库名称
  23146. type: string
  23147. wrfactortypeid:
  23148. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23149. type: string
  23150. wrfactortypename:
  23151. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23152. type: string
  23153. wrqty:
  23154. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23155. type: number
  23156. wrstandardcode:
  23157. description: 现货商品代码
  23158. type: string
  23159. wrstandardid:
  23160. description: 现货商品ID
  23161. type: integer
  23162. wrstandardname:
  23163. description: 商品名称
  23164. type: string
  23165. wrtypename:
  23166. description: 商品
  23167. type: string
  23168. type: object
  23169. models.WrScfContractInterest:
  23170. properties:
  23171. closeinterest:
  23172. description: 已结利息
  23173. type: number
  23174. closeintereststatus:
  23175. description: 结息状态 - 1:未结 2:已结
  23176. type: integer
  23177. closetime:
  23178. description: 结息时间
  23179. type: string
  23180. closetradedate:
  23181. description: 结息交易日
  23182. type: string
  23183. creatorid:
  23184. description: 操作人ID
  23185. type: integer
  23186. dayrate:
  23187. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23188. type: number
  23189. interest:
  23190. description: 利息
  23191. type: number
  23192. interestamount:
  23193. description: 计息金额
  23194. type: number
  23195. interestday:
  23196. description: 计息日(yyyyMMdd)
  23197. type: string
  23198. scfcontractid:
  23199. description: SCF合同ID
  23200. type: string
  23201. scfcontractinterestid:
  23202. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23203. type: integer
  23204. updatetime:
  23205. description: 更新时间
  23206. type: string
  23207. type: object
  23208. models.WrSearchUser:
  23209. properties:
  23210. userid:
  23211. description: 用户ID
  23212. type: integer
  23213. username:
  23214. description: 用户名称(已脱敏)
  23215. type: string
  23216. username2:
  23217. description: 用户名称(未脱敏)
  23218. type: string
  23219. usertype:
  23220. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23221. type: integer
  23222. required:
  23223. - username
  23224. type: object
  23225. models.WrSiteColumnDetail:
  23226. properties:
  23227. author:
  23228. description: 作者
  23229. type: string
  23230. brief:
  23231. description: 简介
  23232. type: string
  23233. context:
  23234. description: 内容
  23235. type: string
  23236. coverimage:
  23237. description: 封面图片
  23238. type: string
  23239. creaedate:
  23240. description: 创建时间
  23241. type: string
  23242. id:
  23243. description: ID(SEQ_SITE_COLUMNDETAIL)
  23244. type: integer
  23245. istop:
  23246. description: 是否置顶 - 0:不置 1:置顶
  23247. type: integer
  23248. publishdate:
  23249. description: 发布日期
  23250. type: string
  23251. title:
  23252. description: 标题
  23253. type: string
  23254. updatedate:
  23255. description: 修改时间
  23256. type: string
  23257. type: object
  23258. models.WrSpecialMatchOrder:
  23259. properties:
  23260. amount:
  23261. description: 金额 = 数量 * 价格
  23262. type: number
  23263. buyorsell:
  23264. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23265. type: integer
  23266. cancelqty:
  23267. description: 撤销数量
  23268. type: number
  23269. deliverygoodscode:
  23270. description: 品种代码
  23271. type: string
  23272. deliverygoodsid:
  23273. description: 品种ID
  23274. type: integer
  23275. deliverygoodsname:
  23276. description: 品种名称
  23277. type: string
  23278. enumdicname:
  23279. description: 单位名称
  23280. type: string
  23281. fixedprice:
  23282. description: 固定价格(价格)
  23283. type: number
  23284. haswr:
  23285. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23286. type: integer
  23287. isspecified:
  23288. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23289. type: integer
  23290. marketid:
  23291. description: 市场ID
  23292. type: integer
  23293. matchuserid:
  23294. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23295. type: integer
  23296. matchusername:
  23297. description: 指定方
  23298. type: string
  23299. minivalue:
  23300. description: 现货商品最小变动值
  23301. type: integer
  23302. optioncompare:
  23303. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23304. type: string
  23305. orderqty:
  23306. description: 委托数量
  23307. type: number
  23308. ordertime:
  23309. description: 委托时间
  23310. type: string
  23311. pricemove:
  23312. description: 升贴水(浮动价时填写) - [挂牌]
  23313. type: number
  23314. tradedate:
  23315. description: 交易日(yyyyMMdd)
  23316. type: string
  23317. tradeprice:
  23318. description: 成交价格
  23319. type: number
  23320. tradeqty:
  23321. description: 成交数量
  23322. type: number
  23323. userid:
  23324. description: 用户ID
  23325. type: integer
  23326. username:
  23327. description: 发起方
  23328. type: string
  23329. warehouseid:
  23330. description: 仓库ID
  23331. type: integer
  23332. warehousename:
  23333. description: 仓库名称
  23334. type: string
  23335. wrfactortypeid:
  23336. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23337. type: string
  23338. wrfactortypename:
  23339. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23340. type: string
  23341. wrpricetype:
  23342. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23343. type: integer
  23344. wrstandardcode:
  23345. description: 现货商品代码
  23346. type: string
  23347. wrstandardid:
  23348. description: 现货商品ID
  23349. type: integer
  23350. wrstandardname:
  23351. description: 商品名称
  23352. type: string
  23353. wrtradeorderid:
  23354. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23355. type: string
  23356. wrtradeorderstatus:
  23357. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23358. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23359. type: integer
  23360. wrtradetype:
  23361. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23362. type: integer
  23363. wrtypename:
  23364. description: 商品
  23365. type: string
  23366. type: object
  23367. models.WrSpotGroupTradeSum:
  23368. properties:
  23369. deliverygoodscode:
  23370. description: 现货品种代码
  23371. type: string
  23372. deliverygoodsid:
  23373. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23374. type: integer
  23375. deliverygoodsname:
  23376. description: 现货品种名称
  23377. type: string
  23378. lastavgprice:
  23379. description: 上上个交易日价格(前2天价格)
  23380. type: string
  23381. lastreckondate:
  23382. description: 上上个交易日(前2天交易日)
  23383. type: string
  23384. reckondate:
  23385. description: 上个交易日(前1天交易日)
  23386. type: string
  23387. todayavgprice:
  23388. description: 上个交易日价格(前1天价格)
  23389. type: string
  23390. updown:
  23391. description: 涨跌
  23392. type: string
  23393. updownratio:
  23394. description: 涨幅(已格式化, 直接显示即可)
  23395. type: string
  23396. type: object
  23397. models.WrSpotGroupTradeSumDetail:
  23398. properties:
  23399. deliverygoodsid:
  23400. description: 现货商品id
  23401. type: integer
  23402. price:
  23403. description: 价格
  23404. type: number
  23405. reckondate:
  23406. description: 日期(yyymmdd, 如:20211031)
  23407. type: string
  23408. type: object
  23409. models.WrSpotGroupTradeSumEx:
  23410. properties:
  23411. lst:
  23412. description: 指数列表
  23413. items:
  23414. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23415. type: array
  23416. prereckondate:
  23417. description: 上上个交易日(yyymmdd)
  23418. type: string
  23419. reckondate:
  23420. description: 上个交易日(yyyymmdd)
  23421. type: string
  23422. type: object
  23423. models.WrStandardFactoryItem:
  23424. properties:
  23425. dgfactoryitemid:
  23426. description: 选择项id
  23427. type: integer
  23428. dgfactoryitemvalue:
  23429. description: 要素项值
  23430. type: string
  23431. warehouseid:
  23432. description: 仓库id
  23433. type: integer
  23434. type: object
  23435. models.WrStandardFactoryItemEx:
  23436. properties:
  23437. dgfactoryitemtypeid:
  23438. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23439. type: integer
  23440. itemlst:
  23441. description: 要素项列表
  23442. items:
  23443. $ref: '#/definitions/models.WrStandardFactoryItem'
  23444. type: array
  23445. itemtypename:
  23446. description: 要素项类型名称
  23447. type: string
  23448. wrstandardid:
  23449. description: 品类
  23450. type: integer
  23451. type: object
  23452. models.WrTradeDetail:
  23453. properties:
  23454. accountid:
  23455. description: 资金账号
  23456. type: integer
  23457. bannerpicurl:
  23458. description: Banner图
  23459. type: string
  23460. begindate:
  23461. description: 开始交易日(yyyymmdd)
  23462. type: string
  23463. buyorsell:
  23464. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23465. type: integer
  23466. chargevalue:
  23467. description: 手续费
  23468. type: number
  23469. contractaddr:
  23470. description: 合同地址
  23471. type: string
  23472. deliverygoodscode:
  23473. description: 品种代码
  23474. type: string
  23475. deliverygoodsid:
  23476. description: 品种ID
  23477. type: integer
  23478. deliverygoodsname:
  23479. description: 品种名称
  23480. type: string
  23481. deliverymonth:
  23482. description: 交收月
  23483. type: string
  23484. enddate:
  23485. description: 结束交易日(yyyymmdd)
  23486. type: string
  23487. enumdicname:
  23488. description: 单位名称
  23489. type: string
  23490. haswr:
  23491. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23492. type: integer
  23493. marketid:
  23494. description: 市场ID
  23495. type: integer
  23496. matchaccountid:
  23497. description: 对手账号
  23498. type: integer
  23499. matchusername:
  23500. description: 对手方
  23501. type: string
  23502. minivalue:
  23503. description: 现货商品最小变动值
  23504. type: integer
  23505. optioncompare:
  23506. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23507. type: string
  23508. thumurls:
  23509. description: 缩略图
  23510. type: string
  23511. tradedate:
  23512. description: 交易日(yyyyMMdd)
  23513. type: string
  23514. tradeprice:
  23515. description: 成交价格
  23516. type: number
  23517. tradeqty:
  23518. description: 成交数量
  23519. type: number
  23520. tradetime:
  23521. description: 成交时间
  23522. type: string
  23523. unitid:
  23524. description: 现货商品单位ID
  23525. type: integer
  23526. userid:
  23527. description: 用户ID
  23528. type: integer
  23529. warehouseid:
  23530. description: 仓库ID
  23531. type: integer
  23532. warehousename:
  23533. description: 仓库名称
  23534. type: string
  23535. wrfactortypeid:
  23536. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23537. type: string
  23538. wrfactortypename:
  23539. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23540. type: string
  23541. wrstandardcode:
  23542. description: 现货商品代码
  23543. type: string
  23544. wrstandardid:
  23545. description: 现货商品ID
  23546. type: integer
  23547. wrstandardname:
  23548. description: 商品名称
  23549. type: string
  23550. wrtradedetailid:
  23551. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23552. type: string
  23553. wrtradetype:
  23554. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23555. type: integer
  23556. wrtypename:
  23557. description: 商品
  23558. type: string
  23559. type: object
  23560. models.WrTradeOrderDetail:
  23561. properties:
  23562. buyorsell:
  23563. description: 买卖方向 0-买 1-卖
  23564. type: integer
  23565. goodsid:
  23566. description: 商品id
  23567. type: integer
  23568. orderid:
  23569. description: 委托单号
  23570. type: string
  23571. orderprice:
  23572. description: 期初均价
  23573. type: number
  23574. orderqty:
  23575. description: 委托数量
  23576. type: integer
  23577. userid:
  23578. description: 用户id
  23579. type: integer
  23580. username:
  23581. description: 用户名称(已脱敏)
  23582. type: string
  23583. type: object
  23584. models.WrTypeItem:
  23585. properties:
  23586. name:
  23587. description: 名称
  23588. type: string
  23589. value:
  23590. description: 值
  23591. type: string
  23592. type: object
  23593. models.WrUserFriend:
  23594. properties:
  23595. friendname:
  23596. description: 朋友名称(已脱敏)
  23597. type: string
  23598. frienduserid:
  23599. description: 朋友id
  23600. type: integer
  23601. isfriend:
  23602. description: 是否好友 0-不是 1-是
  23603. type: integer
  23604. userid:
  23605. description: 用户id
  23606. type: integer
  23607. type: object
  23608. models.WrUserReceiptInfo:
  23609. properties:
  23610. address:
  23611. description: 地址[发票类型:企业]
  23612. type: string
  23613. autoid:
  23614. description: AutoID
  23615. type: integer
  23616. contactinfo:
  23617. description: 联系方式
  23618. type: string
  23619. email:
  23620. description: 收件邮箱
  23621. type: string
  23622. idnum:
  23623. description: 身份证号码[发票类型:个人]
  23624. type: string
  23625. isdefault:
  23626. description: 是否默认地址 - 0:否 1:是
  23627. type: integer
  23628. receiptaccount:
  23629. description: 发票帐号[发票类型:企业]
  23630. type: string
  23631. receiptbank:
  23632. description: 发票开户行[发票类型:企业]
  23633. type: string
  23634. receipttype:
  23635. description: 发票类型 - 1:个人 2:企业
  23636. type: integer
  23637. taxpayerid:
  23638. description: 纳税人识别号
  23639. type: string
  23640. userid:
  23641. description: 用户ID
  23642. type: integer
  23643. username:
  23644. description: 户名(个人姓名或企业名称)
  23645. type: string
  23646. type: object
  23647. models.Wrtradetradequote:
  23648. properties:
  23649. buyaccountid:
  23650. description: 买方账号ID
  23651. type: integer
  23652. buychargevalue:
  23653. description: 买方手续费
  23654. type: number
  23655. buyuserid:
  23656. description: 买方用户ID
  23657. type: integer
  23658. deliverygoodsid:
  23659. description: 现货品种ID
  23660. type: integer
  23661. exchangerate:
  23662. description: 汇率
  23663. type: number
  23664. marketid:
  23665. description: 市场ID
  23666. type: integer
  23667. oritradeamount:
  23668. description: 成交金额[商品币种]
  23669. type: number
  23670. performanceplanid:
  23671. description: 履约计划ID/合同ID
  23672. type: integer
  23673. sellaccountid:
  23674. description: 卖方账号ID
  23675. type: integer
  23676. sellchargevalue:
  23677. description: 卖方手续费
  23678. type: number
  23679. selluserid:
  23680. description: 卖方用户ID
  23681. type: integer
  23682. tradeamount:
  23683. description: 成交金额
  23684. type: number
  23685. tradedate:
  23686. description: 交易日(yyyyMMdd)
  23687. type: string
  23688. tradeprice:
  23689. description: 成交价格
  23690. type: number
  23691. tradeqty:
  23692. description: 成交数量
  23693. type: integer
  23694. tradetime:
  23695. description: 成交时间
  23696. type: string
  23697. wrfactortypeid:
  23698. description: 仓单要素类型ID
  23699. type: integer
  23700. wrstandardid:
  23701. description: 现货商品ID
  23702. type: integer
  23703. wrtradedetailid:
  23704. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23705. type: integer
  23706. type: object
  23707. models.XHBRAND:
  23708. properties:
  23709. brandid:
  23710. description: 品牌id
  23711. type: integer
  23712. brandname:
  23713. description: 品牌名称
  23714. type: string
  23715. isvalid:
  23716. description: 是否有效 0-无效 1-有效
  23717. type: integer
  23718. type: object
  23719. models.XHDeliveryGoods:
  23720. properties:
  23721. areauserid:
  23722. description: 所属机构
  23723. type: integer
  23724. bdlst:
  23725. description: 品牌列表
  23726. items:
  23727. $ref: '#/definitions/models.XHBRAND'
  23728. type: array
  23729. deliverygoodscode:
  23730. description: 现货品种代码
  23731. type: string
  23732. deliverygoodsid:
  23733. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23734. type: integer
  23735. deliverygoodsname:
  23736. description: 现货品种名称
  23737. type: string
  23738. dgstatus:
  23739. description: 品种状态 - 作废 - 0:未激活 1:正常
  23740. type: integer
  23741. filterSubEmpty:
  23742. description: 过滤下级为空的
  23743. type: integer
  23744. isvalid:
  23745. description: 是否有效 - 0:无效 1:有效
  23746. type: integer
  23747. remark:
  23748. description: 备注
  23749. type: string
  23750. unitid:
  23751. description: 单位id(目前看,数据库中是空值)
  23752. type: integer
  23753. wdlst:
  23754. description: 品类(现货商品)列表
  23755. items:
  23756. $ref: '#/definitions/models.XHWrstandard'
  23757. type: array
  23758. type: object
  23759. models.XHMiddleGoods:
  23760. properties:
  23761. GPLST:
  23762. description: 期货品种列表
  23763. items:
  23764. $ref: '#/definitions/models.TBGoodsGroup'
  23765. type: array
  23766. convertratio:
  23767. description: 拆算系数
  23768. type: number
  23769. costratio:
  23770. description: 成本权重
  23771. type: number
  23772. deliverygoodsid:
  23773. description: 现货商品id
  23774. type: integer
  23775. enumdicname:
  23776. description: 单位名称
  23777. type: string
  23778. middlegoodscode:
  23779. description: 套保品种代码
  23780. type: string
  23781. middlegoodsid:
  23782. description: 套保品种id
  23783. type: integer
  23784. middlegoodsname:
  23785. description: 套保品种名称
  23786. type: string
  23787. unitid:
  23788. description: 单位id
  23789. type: integer
  23790. type: object
  23791. models.XHWrstandard:
  23792. properties:
  23793. bannerpicurl:
  23794. description: banner图
  23795. type: string
  23796. deliverygoodsid:
  23797. description: 品种ID
  23798. type: integer
  23799. enumdicname:
  23800. description: 单位名称
  23801. type: string
  23802. mglst:
  23803. description: 套保品列表
  23804. items:
  23805. $ref: '#/definitions/models.XHMiddleGoods'
  23806. type: array
  23807. pictureurls:
  23808. description: 详情图片(逗号分隔)
  23809. type: string
  23810. thumurls:
  23811. description: 缩略图片(1:1)(逗号分隔)
  23812. type: string
  23813. unitid:
  23814. description: 单位id
  23815. type: integer
  23816. vatrate:
  23817. description: 增值税率
  23818. type: number
  23819. wrstandardcode:
  23820. description: 现货商品代码
  23821. type: string
  23822. wrstandardid:
  23823. description: 现货商品ID(SEQ_WRSTANDARD)
  23824. type: integer
  23825. wrstandardname:
  23826. description: 现货商品名称
  23827. type: string
  23828. type: object
  23829. models.XhcpSellBackApplyEx:
  23830. properties:
  23831. applyremark:
  23832. description: 申请备注
  23833. type: string
  23834. expirytype:
  23835. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23836. type: integer
  23837. goodsspec:
  23838. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23839. type: integer
  23840. holeflag:
  23841. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23842. type: integer
  23843. isunopened:
  23844. description: 是否原封 - 1:否 2:是
  23845. type: integer
  23846. mpflag:
  23847. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23848. type: integer
  23849. openflag:
  23850. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23851. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23852. type: integer
  23853. phonenum:
  23854. description: 联系电话
  23855. type: string
  23856. userid:
  23857. description: 所属用户ID
  23858. type: integer
  23859. zpflag:
  23860. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23861. type: integer
  23862. required:
  23863. - userid
  23864. type: object
  23865. models.Xhcpsellbackapply:
  23866. properties:
  23867. applyid:
  23868. description: 申请人
  23869. type: integer
  23870. applyremark:
  23871. description: 申请备注
  23872. type: string
  23873. applysrc:
  23874. description: 申请来源 - 1:管理端 2:终端
  23875. type: integer
  23876. applystatus:
  23877. description: 申请状态 - 1:待确认 2:已处理
  23878. type: integer
  23879. applytime:
  23880. description: 申请时间
  23881. type: string
  23882. auditremark:
  23883. description: 审核备注
  23884. type: string
  23885. auditsrc:
  23886. description: 审核来源 - 1:管理端 2:终端
  23887. type: integer
  23888. expirytype:
  23889. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23890. type: integer
  23891. goodsspec:
  23892. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23893. type: integer
  23894. holeflag:
  23895. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23896. type: integer
  23897. isunopened:
  23898. description: 是否原封 - 1:否 2:是
  23899. type: integer
  23900. mpflag:
  23901. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23902. type: integer
  23903. openflag:
  23904. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23905. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23906. type: integer
  23907. phonenum:
  23908. description: 联系电话
  23909. type: string
  23910. sellbackapplyid:
  23911. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23912. type: string
  23913. userid:
  23914. description: 所属用户ID
  23915. type: integer
  23916. zpflag:
  23917. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23918. type: integer
  23919. required:
  23920. - userid
  23921. type: object
  23922. order.QueryHisTradeDetailRsp:
  23923. properties:
  23924. accountid:
  23925. description: 账户ID[报价币种]
  23926. type: integer
  23927. advanceratio:
  23928. description: 首付比率
  23929. type: number
  23930. buildtype:
  23931. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23932. type: integer
  23933. buyorsell:
  23934. description: 方向 - 0:买 1:卖
  23935. type: integer
  23936. charge:
  23937. description: 手续费
  23938. type: number
  23939. closecharge:
  23940. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23941. type: number
  23942. closeexchagechargevalue:
  23943. description: 平仓交易所手续费设置值
  23944. type: number
  23945. closefeealgorithm:
  23946. description: 平仓手续费收取方式 1:比率 2:固定
  23947. type: integer
  23948. closememberchargevalue:
  23949. description: 平仓会员手续费设置值
  23950. type: number
  23951. closepl:
  23952. description: 平仓盈亏
  23953. type: number
  23954. closepl2:
  23955. description: 平仓盈亏[逐笔]
  23956. type: number
  23957. closeqty:
  23958. description: 平仓数量(先建后平操作 需要记录)
  23959. type: number
  23960. creditamount:
  23961. description: 授信金额
  23962. type: number
  23963. decimalplace:
  23964. description: 商品报价小数位
  23965. type: integer
  23966. enumdicname:
  23967. description: 单位名称
  23968. type: string
  23969. gcaccountid:
  23970. description: 账户ID[合约币种]
  23971. type: integer
  23972. goodscode:
  23973. description: 商品代码
  23974. type: string
  23975. goodsid:
  23976. description: 商品ID
  23977. type: integer
  23978. goodsname:
  23979. description: 商品名称
  23980. type: string
  23981. goodunitid:
  23982. description: 商品单位id
  23983. type: integer
  23984. histradedate:
  23985. description: 历史交易日
  23986. type: string
  23987. intclosepl:
  23988. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23989. type: integer
  23990. isconfirmexercise:
  23991. description: 是否确认行权- 0:否 1:是
  23992. type: integer
  23993. ismain:
  23994. description: 是否主单 - 0:不是 1:是
  23995. type: integer
  23996. ispreexercise:
  23997. description: 是否预申报- 0:否 1:是
  23998. type: integer
  23999. isreckoned:
  24000. description: 是否结算 - 0:未结算 1:已结算
  24001. type: integer
  24002. isvaliddata:
  24003. description: 是否有效 - 0:无效 1:有效
  24004. type: integer
  24005. listingselecttype:
  24006. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24007. type: integer
  24008. marketid:
  24009. description: 市场ID
  24010. type: integer
  24011. marketname:
  24012. description: 市场名称
  24013. type: string
  24014. matchaccountid:
  24015. description: 对手账号id
  24016. type: integer
  24017. memberuserid:
  24018. description: 会员id 个人投资者 需要填写
  24019. type: integer
  24020. opencharge:
  24021. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24022. type: number
  24023. openexchagechargevalue:
  24024. description: 建仓交易所手续费设置值
  24025. type: number
  24026. openfeealgorithm:
  24027. description: 建仓手续费收取方式 1:比率 2:固定
  24028. type: integer
  24029. openmemberchargevalue:
  24030. description: 建仓会员手续费设置值
  24031. type: number
  24032. openqty:
  24033. description: 开仓数量(先建后平操作 需要记录)
  24034. type: number
  24035. optiontype:
  24036. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24037. type: integer
  24038. orderid:
  24039. description: 委托单号
  24040. type: string
  24041. payamount:
  24042. description: 支付金额(付款金额)
  24043. type: number
  24044. performanceplanid:
  24045. description: 履约计划ID[期权]
  24046. type: integer
  24047. performancestatus:
  24048. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24049. type: integer
  24050. preexerciseprice:
  24051. description: 预申报价格
  24052. type: number
  24053. premium:
  24054. description: 权利金 - [持仓单的权利金]
  24055. type: number
  24056. qtydecimalplace:
  24057. description: 商品报价小数位
  24058. type: integer
  24059. recvamount:
  24060. description: 到账金额 = 成交金额 - 手续费
  24061. type: number
  24062. relatedouttradeid:
  24063. description: 关联外部成交单ID
  24064. type: integer
  24065. status:
  24066. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24067. type: integer
  24068. totalamount:
  24069. description: 订单总额 = 成交金额 + 手续费
  24070. type: number
  24071. tradeamount:
  24072. description: 成交金额[账户币种,用于所有权]
  24073. type: number
  24074. tradedate:
  24075. description: 交易日(yyyyMMdd)
  24076. type: string
  24077. tradeid:
  24078. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24079. type: string
  24080. trademode:
  24081. description: 交易模式
  24082. type: integer
  24083. tradeprice:
  24084. description: 成交价格
  24085. type: number
  24086. tradeproperty:
  24087. description: 交易属性
  24088. type: integer
  24089. tradeqty:
  24090. description: 成交数量
  24091. type: number
  24092. tradetime:
  24093. description: 成交时间
  24094. type: string
  24095. tradetype:
  24096. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24097. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24098. type: integer
  24099. required:
  24100. - accountid
  24101. - buyorsell
  24102. - goodsid
  24103. - histradedate
  24104. - marketid
  24105. - memberuserid
  24106. - orderid
  24107. - tradeamount
  24108. - tradedate
  24109. - tradeid
  24110. - tradeprice
  24111. - tradeqty
  24112. - tradetime
  24113. type: object
  24114. order.QueryHisTradeOrderDetailRsp:
  24115. properties:
  24116. accountid:
  24117. description: 账户ID[报价币种]
  24118. type: integer
  24119. buildtype:
  24120. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24121. type: integer
  24122. buyorsell:
  24123. description: 买卖 - 0:买 1:卖
  24124. type: integer
  24125. cancelorderid:
  24126. description: 撤单单号(撤单时填写)
  24127. type: string
  24128. cancelqty:
  24129. description: 撤单数量
  24130. type: number
  24131. clientordertime:
  24132. description: 客户端委托时间
  24133. type: string
  24134. clientticket:
  24135. description: 客户端流水号
  24136. type: string
  24137. clienttype:
  24138. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24139. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24140. type: integer
  24141. closeexchagechargevalue:
  24142. description: 平仓交易所手续费设置值
  24143. type: number
  24144. closefeealgorithm:
  24145. description: 平仓手续费收取方式 1:比率 2:固定
  24146. type: integer
  24147. closefreezecharge:
  24148. description: 平仓冻结手续费(先建后平操作,需要记录)
  24149. type: number
  24150. closememberchargevalue:
  24151. description: 平仓会员手续费设置值
  24152. type: number
  24153. closeqty:
  24154. description: 平仓数量(先建后平操作 需要记录)
  24155. type: number
  24156. closetradeqty:
  24157. description: 平仓成交数量(先建后平操作,需要记录)
  24158. type: number
  24159. closeunfreezecharge:
  24160. description: 平仓解冻手续费(先建后平操作,需要记录)
  24161. type: number
  24162. decimalplace:
  24163. description: 商品报价小数位
  24164. type: integer
  24165. delistingtype:
  24166. description: 摘牌类型 - 1:价格最优 2:点选成交
  24167. type: integer
  24168. enumdicname:
  24169. description: 单位名称
  24170. type: string
  24171. freezecharge:
  24172. description: 冻结手续费
  24173. type: number
  24174. freezemargin:
  24175. description: 冻结保证金(冻结交易金额)
  24176. type: number
  24177. gcaccountid:
  24178. description: 账户ID[合约币种]
  24179. type: integer
  24180. goodscode:
  24181. description: 商品代码
  24182. type: string
  24183. goodsid:
  24184. description: 商品ID
  24185. type: integer
  24186. goodsname:
  24187. description: 商品名称
  24188. type: string
  24189. goodunitid:
  24190. description: 商品单位id
  24191. type: integer
  24192. histradedate:
  24193. description: 历史交易日
  24194. type: string
  24195. isconfirmexercise:
  24196. description: 是否确认行权- 0:否 1:是
  24197. type: integer
  24198. ispreexercise:
  24199. description: 是否预申报- 0:否 1:是
  24200. type: integer
  24201. isvaliddata:
  24202. description: 是否有效 - 0:无效 1:有效
  24203. type: integer
  24204. listingselecttype:
  24205. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24206. type: integer
  24207. marginalgorithm:
  24208. description: 保证金收取方式 1:比率 2:固定
  24209. type: integer
  24210. marginvalue:
  24211. description: 即市保证金设置值
  24212. type: number
  24213. marketid:
  24214. description: 市场ID
  24215. type: integer
  24216. marketmaxsub:
  24217. description: 市价最大偏移范围
  24218. type: number
  24219. marketname:
  24220. description: 市场名称
  24221. type: string
  24222. memberuserid:
  24223. description: 所属会员UserID
  24224. type: integer
  24225. openexchagechargevalue:
  24226. description: 建仓交易所手续费设置值
  24227. type: number
  24228. openfeealgorithm:
  24229. description: 建仓手续费收取方式 1:比率 2:固定
  24230. type: integer
  24231. openfreezecharge:
  24232. description: 开仓冻结手续费(先建后平操作,需要记录)
  24233. type: number
  24234. openmemberchargevalue:
  24235. description: 建仓会员手续费设置值
  24236. type: number
  24237. openqty:
  24238. description: 开仓数量(先建后平操作,需要记录)
  24239. type: number
  24240. opentradeqty:
  24241. description: 开仓成交数量(先建后平操作,需要记录)
  24242. type: number
  24243. openunfreezecharge:
  24244. description: 开仓解冻手续费(先建后平操作,需要记录)
  24245. type: number
  24246. operatetype:
  24247. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24248. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24249. 15:管理端协议转让
  24250. type: integer
  24251. operatorid:
  24252. description: 登录账号(LoginID)
  24253. type: integer
  24254. optiontype:
  24255. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24256. type: integer
  24257. orderid:
  24258. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24259. type: string
  24260. orderprice:
  24261. description: 委托价格
  24262. type: number
  24263. orderqty:
  24264. description: 委托数量
  24265. type: number
  24266. ordersrc:
  24267. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24268. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24269. type: integer
  24270. orderstatus:
  24271. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24272. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24273. 16:成交失败违约(荷兰式竞拍专用)
  24274. type: integer
  24275. ordertime:
  24276. description: 委托时间
  24277. type: string
  24278. preexerciseprice:
  24279. description: 预申报价格
  24280. type: number
  24281. premium:
  24282. description: 权利金
  24283. type: number
  24284. preorderid:
  24285. description: 关联预埋单号(止盈止损单时填写)
  24286. type: string
  24287. pricemode:
  24288. description: '取价方式 - 1:市价 2: 限价'
  24289. type: integer
  24290. qtydecimalplace:
  24291. description: 成交量小数位
  24292. type: integer
  24293. quoteid:
  24294. description: 报价单ID
  24295. type: integer
  24296. relatedid:
  24297. description: 关联单号(交割单)
  24298. type: string
  24299. retcode:
  24300. description: 错误代码
  24301. type: integer
  24302. sessionid:
  24303. description: 会话ID
  24304. type: integer
  24305. tradedate:
  24306. description: 交易日(yyyyMMdd)
  24307. type: string
  24308. trademode:
  24309. description: 交易模式
  24310. type: integer
  24311. tradeproperty:
  24312. description: 交易属性
  24313. type: integer
  24314. tradeqty:
  24315. description: 成交数量
  24316. type: number
  24317. unfreezecharge:
  24318. description: 解冻手续费
  24319. type: number
  24320. unfreezemargin:
  24321. description: 解冻保证金
  24322. type: number
  24323. updatetime:
  24324. description: 更新时间
  24325. type: string
  24326. uuid:
  24327. description: 发起端唯一id
  24328. type: string
  24329. validtime:
  24330. description: 有效期限
  24331. type: string
  24332. validtype:
  24333. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24334. type: integer
  24335. volumetype:
  24336. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24337. type: integer
  24338. required:
  24339. - accountid
  24340. - buildtype
  24341. - buyorsell
  24342. - goodsid
  24343. - histradedate
  24344. - marketid
  24345. - memberuserid
  24346. - operatetype
  24347. - orderid
  24348. - orderqty
  24349. - ordertime
  24350. - pricemode
  24351. - tradedate
  24352. - validtype
  24353. type: object
  24354. order.QueryTradeDetailRsp:
  24355. properties:
  24356. accountid:
  24357. description: 账户ID[报价币种]
  24358. type: integer
  24359. advanceratio:
  24360. description: 首付比率
  24361. type: number
  24362. buildtype:
  24363. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24364. type: integer
  24365. buyorsell:
  24366. description: 方向 - 0:买 1:卖
  24367. type: integer
  24368. charge:
  24369. description: 手续费
  24370. type: number
  24371. closecharge:
  24372. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24373. type: number
  24374. closeexchagechargevalue:
  24375. description: 平仓交易所手续费设置值
  24376. type: number
  24377. closefeealgorithm:
  24378. description: 平仓手续费收取方式 1:比率 2:固定
  24379. type: integer
  24380. closememberchargevalue:
  24381. description: 平仓会员手续费设置值
  24382. type: number
  24383. closepl:
  24384. description: 平仓盈亏
  24385. type: number
  24386. closepl2:
  24387. description: 平仓盈亏[逐笔]
  24388. type: number
  24389. closeqty:
  24390. description: 平仓数量(先建后平操作 需要记录)
  24391. type: number
  24392. creditamount:
  24393. description: 授信金额
  24394. type: number
  24395. decimalplace:
  24396. description: 商品报价小数位
  24397. type: integer
  24398. enumdicname:
  24399. description: 单位名称
  24400. type: string
  24401. gcaccountid:
  24402. description: 账户ID[合约币种]
  24403. type: integer
  24404. goodscode:
  24405. description: 商品代码
  24406. type: string
  24407. goodsid:
  24408. description: 商品ID
  24409. type: integer
  24410. goodsname:
  24411. description: 商品名称
  24412. type: string
  24413. goodunitid:
  24414. description: 商品单位id
  24415. type: integer
  24416. intclosepl:
  24417. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24418. type: integer
  24419. isconfirmexercise:
  24420. description: 是否确认行权- 0:否 1:是
  24421. type: integer
  24422. ismain:
  24423. description: 是否主单 - 0:不是 1:是
  24424. type: integer
  24425. ispreexercise:
  24426. description: 是否预申报- 0:否 1:是
  24427. type: integer
  24428. isreckoned:
  24429. description: 是否结算 - 0:未结算 1:已结算
  24430. type: integer
  24431. listingselecttype:
  24432. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24433. type: integer
  24434. marketid:
  24435. description: 市场ID
  24436. type: integer
  24437. marketname:
  24438. description: 市场名称
  24439. type: string
  24440. matchaccountid:
  24441. description: 对手账号id
  24442. type: integer
  24443. memberuserid:
  24444. description: 会员id 个人投资者 需要填写
  24445. type: integer
  24446. opencharge:
  24447. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24448. type: number
  24449. openexchagechargevalue:
  24450. description: 建仓交易所手续费设置值
  24451. type: number
  24452. openfeealgorithm:
  24453. description: 建仓手续费收取方式 1:比率 2:固定
  24454. type: integer
  24455. openmemberchargevalue:
  24456. description: 建仓会员手续费设置值
  24457. type: number
  24458. openqty:
  24459. description: 开仓数量(先建后平操作 需要记录)
  24460. type: number
  24461. optiontype:
  24462. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24463. type: integer
  24464. orderid:
  24465. description: 委托单号
  24466. type: string
  24467. payamount:
  24468. description: 支付金额(付款金额)
  24469. type: number
  24470. performanceplanid:
  24471. description: 履约计划ID[期权]
  24472. type: integer
  24473. performancestatus:
  24474. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24475. type: integer
  24476. preexerciseprice:
  24477. description: 预申报价格
  24478. type: number
  24479. premium:
  24480. description: 权利金 - [持仓单的权利金]
  24481. type: number
  24482. qtydecimalplace:
  24483. description: 商品报价小数位
  24484. type: integer
  24485. recvamount:
  24486. description: 到账金额 = 成交金额 - 手续费
  24487. type: number
  24488. relatedouttradeid:
  24489. description: 关联外部成交单ID
  24490. type: integer
  24491. status:
  24492. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24493. type: integer
  24494. totalamount:
  24495. description: 订单总额 = 成交金额 + 手续费
  24496. type: number
  24497. tradeamount:
  24498. description: 成交金额[账户币种,用于所有权]
  24499. type: number
  24500. tradedate:
  24501. description: 交易日(yyyyMMdd)
  24502. type: string
  24503. tradeid:
  24504. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24505. type: string
  24506. trademode:
  24507. description: 交易模式
  24508. type: integer
  24509. tradeprice:
  24510. description: 成交价格
  24511. type: number
  24512. tradeproperty:
  24513. description: 交易属性
  24514. type: integer
  24515. tradeqty:
  24516. description: 成交数量
  24517. type: number
  24518. tradetime:
  24519. description: 成交时间
  24520. type: string
  24521. tradetype:
  24522. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24523. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24524. type: integer
  24525. required:
  24526. - accountid
  24527. - buyorsell
  24528. - goodsid
  24529. - marketid
  24530. - memberuserid
  24531. - orderid
  24532. - tradeamount
  24533. - tradedate
  24534. - tradeid
  24535. - tradeprice
  24536. - tradeqty
  24537. - tradetime
  24538. type: object
  24539. order.QueryTradeOrderDetailRsp:
  24540. properties:
  24541. accountid:
  24542. description: 账户ID[报价币种]
  24543. type: integer
  24544. buildtype:
  24545. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24546. type: integer
  24547. buyorsell:
  24548. description: 买卖 - 0:买 1:卖
  24549. type: integer
  24550. cancelorderid:
  24551. description: 撤单单号(撤单时填写)
  24552. type: string
  24553. cancelqty:
  24554. description: 撤单数量
  24555. type: number
  24556. clienttype:
  24557. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24558. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24559. type: integer
  24560. closefreezecharge:
  24561. description: 平仓冻结手续费(先建后平操作,需要记录)
  24562. type: number
  24563. closeqty:
  24564. description: 平仓数量(先建后平操作 需要记录)
  24565. type: number
  24566. closetradeqty:
  24567. description: 平仓成交数量(先建后平操作,需要记录)
  24568. type: number
  24569. closeunfreezecharge:
  24570. description: 平仓解冻手续费(先建后平操作,需要记录)
  24571. type: number
  24572. decimalplace:
  24573. description: 商品报价小数位
  24574. type: integer
  24575. delistingtype:
  24576. description: 摘牌类型 - 1:价格最优 2:点选成交
  24577. type: integer
  24578. enableqty:
  24579. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24580. type: number
  24581. enumdicname:
  24582. description: 单位名称
  24583. type: string
  24584. freezecharge:
  24585. description: 冻结手续费
  24586. type: number
  24587. freezemargin:
  24588. description: 冻结保证金(冻结交易金额)
  24589. type: number
  24590. goodscode:
  24591. description: 商品代码
  24592. type: string
  24593. goodsid:
  24594. description: 商品ID
  24595. type: integer
  24596. goodsname:
  24597. description: 商品名称
  24598. type: string
  24599. goodunitid:
  24600. description: 商品单位id
  24601. type: integer
  24602. listingselecttype:
  24603. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24604. type: integer
  24605. marketid:
  24606. description: 市场ID
  24607. type: integer
  24608. marketname:
  24609. description: 市场名称
  24610. type: string
  24611. openfreezecharge:
  24612. description: 开仓冻结手续费(先建后平操作,需要记录)
  24613. type: number
  24614. openqty:
  24615. description: 开仓数量(先建后平操作,需要记录)
  24616. type: number
  24617. opentradeqty:
  24618. description: 开仓成交数量(先建后平操作,需要记录)
  24619. type: number
  24620. openunfreezecharge:
  24621. description: 开仓解冻手续费(先建后平操作,需要记录)
  24622. type: number
  24623. operatetype:
  24624. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24625. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24626. 15:管理端协议转让
  24627. type: integer
  24628. operatorid:
  24629. description: 登录账号(LoginID)
  24630. type: integer
  24631. orderid:
  24632. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24633. type: string
  24634. orderprice:
  24635. description: 委托价格
  24636. type: number
  24637. orderqty:
  24638. description: 委托数量
  24639. type: number
  24640. ordersrc:
  24641. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24642. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24643. type: integer
  24644. orderstatus:
  24645. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24646. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24647. 16:成交失败违约(荷兰式竞拍专用)
  24648. type: integer
  24649. ordertime:
  24650. description: 委托时间
  24651. type: string
  24652. preorderid:
  24653. description: 关联预埋单号(止盈止损单时填写)
  24654. type: string
  24655. pricemode:
  24656. description: '取价方式 - 1:市价 2: 限价'
  24657. type: integer
  24658. qtydecimalplace:
  24659. description: 商品报价小数位
  24660. type: integer
  24661. relatedid:
  24662. description: 关联单号(交割单)
  24663. type: string
  24664. tradedate:
  24665. description: 交易日(yyyyMMdd)
  24666. type: string
  24667. trademode:
  24668. description: 交易模式
  24669. type: integer
  24670. tradeqty:
  24671. description: 成交数量
  24672. type: number
  24673. unfreezecharge:
  24674. description: 解冻手续费
  24675. type: number
  24676. unfreezemargin:
  24677. description: 解冻保证金
  24678. type: number
  24679. validtime:
  24680. description: 有效期限
  24681. type: string
  24682. validtype:
  24683. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24684. type: integer
  24685. volumetype:
  24686. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24687. type: integer
  24688. required:
  24689. - accountid
  24690. - buildtype
  24691. - buyorsell
  24692. - goodsid
  24693. - marketid
  24694. - operatetype
  24695. - orderqty
  24696. - ordertime
  24697. - pricemode
  24698. - tradedate
  24699. - validtype
  24700. type: object
  24701. order.QueryTradePositionRsp:
  24702. properties:
  24703. accountid:
  24704. description: 资金账户
  24705. type: integer
  24706. agreeunit:
  24707. description: 合约单位
  24708. type: number
  24709. averageprice:
  24710. description: 持仓均价
  24711. type: number
  24712. buyorsell:
  24713. description: 方向 - 0:买 1:卖
  24714. type: integer
  24715. closetotalqty:
  24716. description: 平仓总数量
  24717. type: number
  24718. curholderamount:
  24719. description: 当前持仓总金额[商品币种]
  24720. type: number
  24721. curpositionqty:
  24722. description: 当前持仓总数量
  24723. type: number
  24724. currencyid:
  24725. description: 报价货币ID
  24726. type: integer
  24727. curtdposition:
  24728. description: 期末今日头寸
  24729. type: number
  24730. decimalplace:
  24731. description: 报价小数位
  24732. type: integer
  24733. enableqty:
  24734. description: 可用量
  24735. type: number
  24736. fretdposition:
  24737. description: 冻结今日头寸
  24738. type: number
  24739. frozenqty:
  24740. description: 持仓冻结数量
  24741. type: number
  24742. goodscode:
  24743. description: 商品代码
  24744. type: string
  24745. goodsid:
  24746. description: 商品Id
  24747. type: integer
  24748. goodsname:
  24749. description: 商品名称
  24750. type: string
  24751. goodunit:
  24752. description: 报价单位
  24753. type: string
  24754. goodunitid:
  24755. description: 报价单位ID
  24756. type: integer
  24757. holderamount:
  24758. description: 期初持仓总金额[商品币种]
  24759. type: number
  24760. lastprice:
  24761. description: 最新价
  24762. type: number
  24763. marketamount:
  24764. description: 市值
  24765. type: number
  24766. marketid:
  24767. description: 所属市场ID
  24768. type: integer
  24769. openreqqty:
  24770. description: 开仓申请数量(用于比较最大持仓数量)
  24771. type: number
  24772. opentotalqty:
  24773. description: 开仓总数量
  24774. type: number
  24775. otherfrozenqty:
  24776. description: 持仓其他冻结数量(交割冻结)
  24777. type: number
  24778. positionpl:
  24779. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24780. * 合约单位
  24781. type: number
  24782. positionplrate:
  24783. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24784. type: number
  24785. positionqty:
  24786. description: 期初持仓数量
  24787. type: number
  24788. qtydecimalplace:
  24789. description: 成交量小数位
  24790. type: integer
  24791. refgoodscode:
  24792. description: 参考商品代码
  24793. type: string
  24794. refgoodsid:
  24795. description: 参考商品ID
  24796. type: integer
  24797. tnqty:
  24798. description: T+N冻结总量
  24799. type: number
  24800. tnusedqty:
  24801. description: T+N使用量(可以使用T+N的冻结数量)
  24802. type: number
  24803. trademode:
  24804. description: 交易模式
  24805. type: integer
  24806. tradeproperty:
  24807. description: 交易属性
  24808. type: integer
  24809. usedmargin:
  24810. description: 占用保证金[商品币种]
  24811. type: number
  24812. required:
  24813. - goodsid
  24814. type: object
  24815. pb.GoodsMarginCfgStruct:
  24816. properties:
  24817. CustomerTypeID:
  24818. description: 投资者客户类型
  24819. type: integer
  24820. GoodsID:
  24821. description: 商品ID
  24822. type: integer
  24823. IsDefault:
  24824. description: 是否默认标志位
  24825. type: integer
  24826. LockMarginValue:
  24827. description: 锁仓保证金
  24828. type: number
  24829. MarginAlgorithm:
  24830. description: 保证金计算方式
  24831. type: integer
  24832. MarketMarginValue:
  24833. description: 即市保证金值
  24834. type: number
  24835. RealMarginAlgorithm:
  24836. description: 实付保证金计算方式
  24837. type: integer
  24838. RealMarginValue:
  24839. description: 实付比例
  24840. type: number
  24841. ReckonMarginValue:
  24842. description: 结算保证金值
  24843. type: number
  24844. type: object
  24845. quote.HistoryData:
  24846. properties:
  24847. c:
  24848. description: 收盘价
  24849. type: number
  24850. f:
  24851. description: 是否补充数据
  24852. type: boolean
  24853. h:
  24854. description: 最高价
  24855. type: number
  24856. hv:
  24857. description: 持仓量
  24858. type: integer
  24859. l:
  24860. description: 最低价
  24861. type: number
  24862. o:
  24863. description: 开盘价
  24864. type: number
  24865. s:
  24866. description: 结算价,日线周期(包括)以上才有
  24867. type: number
  24868. ts:
  24869. description: 时间
  24870. type: string
  24871. tt:
  24872. description: 总金额
  24873. type: number
  24874. tv:
  24875. description: 总量(成交量)
  24876. type: integer
  24877. type: object
  24878. quote.HistoryTikData:
  24879. properties:
  24880. AV:
  24881. description: 卖量
  24882. type: integer
  24883. Ask:
  24884. description: 卖价
  24885. type: number
  24886. BV:
  24887. description: 买量
  24888. type: integer
  24889. Bid:
  24890. description: 买价
  24891. type: number
  24892. HI:
  24893. description: 单笔持仓
  24894. type: integer
  24895. HV:
  24896. description: 持仓量
  24897. type: integer
  24898. PE:
  24899. description: 现价
  24900. type: number
  24901. TDR:
  24902. description: 交易方向,0:买 1:卖
  24903. type: integer
  24904. TK:
  24905. description: 交易类型
  24906. type: integer
  24907. TS:
  24908. description: 行情时间文本
  24909. type: string
  24910. TT:
  24911. description: 现金额
  24912. type: number
  24913. Vol:
  24914. description: 现量
  24915. type: integer
  24916. type: object
  24917. quote.QueryQuoteDayRsp:
  24918. properties:
  24919. ask:
  24920. description: 卖1
  24921. type: number
  24922. ask2:
  24923. description: 卖2
  24924. type: number
  24925. ask3:
  24926. description: 卖3
  24927. type: number
  24928. ask4:
  24929. description: 卖4
  24930. type: number
  24931. ask5:
  24932. description: 卖5
  24933. type: number
  24934. ask6:
  24935. description: 卖6
  24936. type: number
  24937. ask7:
  24938. description: 卖7
  24939. type: number
  24940. ask8:
  24941. description: 卖8
  24942. type: number
  24943. ask9:
  24944. description: 卖9
  24945. type: number
  24946. ask10:
  24947. description: 卖10
  24948. type: number
  24949. askorderid:
  24950. description: 卖单号1
  24951. type: integer
  24952. askorderid2:
  24953. description: 卖单号2
  24954. type: integer
  24955. askorderid3:
  24956. description: 卖单号3
  24957. type: integer
  24958. askorderid4:
  24959. description: 卖单号4
  24960. type: integer
  24961. askorderid5:
  24962. description: 卖单号5
  24963. type: integer
  24964. askordervolume:
  24965. description: 卖单量1
  24966. type: integer
  24967. askordervolume2:
  24968. description: 卖单量2
  24969. type: integer
  24970. askordervolume3:
  24971. description: 卖单量3
  24972. type: integer
  24973. askordervolume4:
  24974. description: 卖单量4
  24975. type: integer
  24976. askordervolume5:
  24977. description: 卖单量5
  24978. type: integer
  24979. askordervolume6:
  24980. description: 卖单量6
  24981. type: integer
  24982. askordervolume7:
  24983. description: 卖单量7
  24984. type: integer
  24985. askordervolume8:
  24986. description: 卖单量8
  24987. type: integer
  24988. askordervolume9:
  24989. description: 卖单量9
  24990. type: integer
  24991. askordervolume10:
  24992. description: 卖单量10
  24993. type: integer
  24994. askqueueinfo:
  24995. description: 大利市卖港股用
  24996. type: string
  24997. askvolume:
  24998. description: 卖量1
  24999. type: integer
  25000. askvolume2:
  25001. description: 卖量2
  25002. type: integer
  25003. askvolume3:
  25004. description: 卖量3
  25005. type: integer
  25006. askvolume4:
  25007. description: 卖量4
  25008. type: integer
  25009. askvolume5:
  25010. description: 卖量5
  25011. type: integer
  25012. askvolume6:
  25013. description: 卖量6
  25014. type: integer
  25015. askvolume7:
  25016. description: 卖量7
  25017. type: integer
  25018. askvolume8:
  25019. description: 卖量8
  25020. type: integer
  25021. askvolume9:
  25022. description: 卖量9
  25023. type: integer
  25024. askvolume10:
  25025. description: 卖量10
  25026. type: integer
  25027. averageprice:
  25028. description: 均价
  25029. type: number
  25030. bid:
  25031. description: 买1
  25032. type: number
  25033. bid2:
  25034. description: 买2
  25035. type: number
  25036. bid3:
  25037. description: 买3
  25038. type: number
  25039. bid4:
  25040. description: 买4
  25041. type: number
  25042. bid5:
  25043. description: 买5
  25044. type: number
  25045. bid6:
  25046. description: 买6
  25047. type: number
  25048. bid7:
  25049. description: 买7
  25050. type: number
  25051. bid8:
  25052. description: 买8
  25053. type: number
  25054. bid9:
  25055. description: 买9
  25056. type: number
  25057. bid10:
  25058. description: 买10
  25059. type: number
  25060. bidorderid:
  25061. description: 买单号1
  25062. type: integer
  25063. bidorderid2:
  25064. description: 买单号2
  25065. type: integer
  25066. bidorderid3:
  25067. description: 买单号3
  25068. type: integer
  25069. bidorderid4:
  25070. description: 买单号4
  25071. type: integer
  25072. bidorderid5:
  25073. description: 买单号5
  25074. type: integer
  25075. bidordervolume:
  25076. description: 买单量1
  25077. type: integer
  25078. bidordervolume2:
  25079. description: 买单量2
  25080. type: integer
  25081. bidordervolume3:
  25082. description: 买单量3
  25083. type: integer
  25084. bidordervolume4:
  25085. description: 买单量4
  25086. type: integer
  25087. bidordervolume5:
  25088. description: 买单量5
  25089. type: integer
  25090. bidordervolume6:
  25091. description: 买单量6
  25092. type: integer
  25093. bidordervolume7:
  25094. description: 买单量7
  25095. type: integer
  25096. bidordervolume8:
  25097. description: 买单量8
  25098. type: integer
  25099. bidordervolume9:
  25100. description: 买单量9
  25101. type: integer
  25102. bidordervolume10:
  25103. description: 买单量10
  25104. type: integer
  25105. bidqueueinfo:
  25106. description: 大利市买港股用
  25107. type: string
  25108. bidvolume:
  25109. description: 买量1
  25110. type: integer
  25111. bidvolume2:
  25112. description: 买量2
  25113. type: integer
  25114. bidvolume3:
  25115. description: 买量3
  25116. type: integer
  25117. bidvolume4:
  25118. description: 买量4
  25119. type: integer
  25120. bidvolume5:
  25121. description: 买量5
  25122. type: integer
  25123. bidvolume6:
  25124. description: 买量6
  25125. type: integer
  25126. bidvolume7:
  25127. description: 买量7
  25128. type: integer
  25129. bidvolume8:
  25130. description: 买量8
  25131. type: integer
  25132. bidvolume9:
  25133. description: 买量9
  25134. type: integer
  25135. bidvolume10:
  25136. description: 买量10
  25137. type: integer
  25138. calloptionpremiums:
  25139. description: 认购期权1
  25140. type: integer
  25141. calloptionpremiums2:
  25142. description: 认购期权2
  25143. type: integer
  25144. calloptionpremiums3:
  25145. description: 认购期权3
  25146. type: integer
  25147. calloptionpremiums4:
  25148. description: 认购期权4
  25149. type: integer
  25150. calloptionpremiums5:
  25151. description: 认购期权5
  25152. type: integer
  25153. cleartime:
  25154. description: 清盘时间
  25155. type: integer
  25156. exchangecode:
  25157. description: 交易所代码
  25158. type: integer
  25159. exchangedate:
  25160. description: 交易日
  25161. type: integer
  25162. goodscode:
  25163. description: 商品代码
  25164. type: string
  25165. grepmarketprice:
  25166. description: 暗盘价 港股专用
  25167. type: number
  25168. highest:
  25169. description: 最高价
  25170. type: number
  25171. holdincrement:
  25172. description: 单笔持仓
  25173. type: integer
  25174. holdvolume:
  25175. description: 持仓
  25176. type: integer
  25177. iep:
  25178. description: 平衡价 港股专用
  25179. type: number
  25180. iev:
  25181. description: 平衡量 港股专用
  25182. type: number
  25183. inventory:
  25184. description: 库存
  25185. type: integer
  25186. iscleared:
  25187. description: 是否清盘标志
  25188. type: integer
  25189. issettled:
  25190. description: 是否结算标志
  25191. type: integer
  25192. last:
  25193. description: 最新价
  25194. type: number
  25195. lastlot:
  25196. description: 最新成交手数
  25197. type: integer
  25198. lasttime:
  25199. description: 行情时间(只有现价变化行情时间才变化)
  25200. type: string
  25201. lastturnover:
  25202. description: 最新成交金额
  25203. type: number
  25204. lastvolume:
  25205. description: 最新成交量
  25206. type: integer
  25207. limitdown:
  25208. description: 跌停价
  25209. type: number
  25210. limitup:
  25211. description: 涨停价
  25212. type: number
  25213. lowest:
  25214. description: 最低价
  25215. type: number
  25216. nontotalholdervolume:
  25217. description: 非交易持仓量
  25218. type: integer
  25219. nontotallot:
  25220. description: 非交易总手数
  25221. type: integer
  25222. nontotalturnover:
  25223. description: 非交易总金额
  25224. type: integer
  25225. nontotalvolume:
  25226. description: 非交易总量
  25227. type: integer
  25228. opened:
  25229. description: 开盘价
  25230. type: number
  25231. opentime:
  25232. description: 开盘时间
  25233. type: string
  25234. orderid:
  25235. description: 序号
  25236. type: integer
  25237. preclose:
  25238. description: 昨收
  25239. type: number
  25240. preholdvolume:
  25241. description: 昨持仓
  25242. type: integer
  25243. presettle:
  25244. description: 昨结价
  25245. type: number
  25246. publictradetype:
  25247. description: 公共交易标志类型 港股专用
  25248. type: string
  25249. putoptionpremiums:
  25250. description: 认沽期权1
  25251. type: integer
  25252. putoptionpremiums2:
  25253. description: 认沽期权2
  25254. type: integer
  25255. putoptionpremiums3:
  25256. description: 认沽期权3
  25257. type: integer
  25258. putoptionpremiums4:
  25259. description: 认沽期权4
  25260. type: integer
  25261. putoptionpremiums5:
  25262. description: 认沽期权5
  25263. type: integer
  25264. settle:
  25265. description: 结算价
  25266. type: number
  25267. strikeprice:
  25268. description: 发行价
  25269. type: number
  25270. totalaskvolume:
  25271. description: 内盘
  25272. type: integer
  25273. totalbidvolume:
  25274. description: 外盘
  25275. type: integer
  25276. totallot:
  25277. description: 总手数
  25278. type: integer
  25279. totalturnover:
  25280. description: 总金额
  25281. type: number
  25282. totalvolume:
  25283. description: 总量
  25284. type: integer
  25285. utclasttime:
  25286. description: utc的行情时间
  25287. type: string
  25288. type: object
  25289. quote.QueryTSDataRsp:
  25290. properties:
  25291. Count:
  25292. description: 交易日应有数据个数
  25293. type: integer
  25294. decimalPlace:
  25295. description: 小数位
  25296. type: integer
  25297. endTime:
  25298. description: 结束时间
  25299. type: string
  25300. goodsCode:
  25301. description: 商品代码
  25302. type: string
  25303. historyDatas:
  25304. description: 历史数据
  25305. items:
  25306. $ref: '#/definitions/quote.HistoryData'
  25307. type: array
  25308. outGoodsCode:
  25309. description: 外部商品代码
  25310. type: string
  25311. preSettle:
  25312. description: 昨结价
  25313. type: number
  25314. runSteps:
  25315. description: 交易日开休市计划
  25316. items:
  25317. $ref: '#/definitions/quote.TSDataRunStep'
  25318. type: array
  25319. startTime:
  25320. description: 开始时间
  25321. type: string
  25322. tradeDate:
  25323. description: 交易日
  25324. type: string
  25325. type: object
  25326. quote.TSDataRunStep:
  25327. properties:
  25328. end:
  25329. description: 真实结束时间
  25330. type: string
  25331. endflag:
  25332. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25333. type: integer
  25334. endtime:
  25335. description: 结束时间(HH:mm)
  25336. type: string
  25337. endweekday:
  25338. description: 结束周几
  25339. type: integer
  25340. groupid:
  25341. description: 分组ID
  25342. type: integer
  25343. runstep:
  25344. description: 运行阶段 - 2:连续交易
  25345. type: integer
  25346. sectionid:
  25347. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25348. 结束时间=结算时间 结束周几=结算周几
  25349. type: integer
  25350. start:
  25351. description: 真实开始时间
  25352. type: string
  25353. startflag:
  25354. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25355. type: integer
  25356. starttime:
  25357. description: 起始时间(HH:mm)
  25358. type: string
  25359. startweekday:
  25360. description: 起始周几
  25361. type: integer
  25362. tradeweekday:
  25363. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25364. type: integer
  25365. type: object
  25366. szdz.QueryConvertLogRsp:
  25367. properties:
  25368. accountid:
  25369. description: 资金账户ID
  25370. type: integer
  25371. clientticket:
  25372. description: 客户端流水号
  25373. type: string
  25374. converttype:
  25375. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25376. type: integer
  25377. createtime:
  25378. description: 记账时间
  25379. type: string
  25380. daymaxvalue:
  25381. description: 配置当日最大转入限制
  25382. type: number
  25383. daymaxvalue2:
  25384. description: 配置当日最大转入限制(转入)
  25385. type: number
  25386. goodscode:
  25387. description: 商品代码
  25388. type: string
  25389. goodsname:
  25390. description: 商品名称
  25391. type: string
  25392. handlestatus:
  25393. description: 处理状态
  25394. type: integer
  25395. innergoodsid:
  25396. description: 内部商品ID
  25397. type: integer
  25398. inratio:
  25399. description: 配置转入比值
  25400. type: integer
  25401. invalue:
  25402. description: 目标值
  25403. type: number
  25404. logid:
  25405. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25406. type: integer
  25407. mobile:
  25408. description: 手机号码(加密存储)
  25409. type: string
  25410. outergoodscode:
  25411. description: 外部商品代码[JD\PD]
  25412. type: string
  25413. outratio:
  25414. description: 配置转出比值
  25415. type: integer
  25416. outvalue:
  25417. description: 源值
  25418. type: number
  25419. pddecimalplace:
  25420. description: PD小数位
  25421. type: integer
  25422. qty:
  25423. description: 数量
  25424. type: string
  25425. remark:
  25426. description: 备注
  25427. type: string
  25428. sessionid:
  25429. description: 会话ID
  25430. type: integer
  25431. timemaxvalue:
  25432. description: 配置单次最大转入限制
  25433. type: number
  25434. timemaxvalue2:
  25435. description: 配置单次最大转入限制(转入)
  25436. type: number
  25437. timeminvalue:
  25438. description: 配置单次最小数量限制
  25439. type: number
  25440. timeminvalue2:
  25441. description: 配置单次最小数量限制(转入)
  25442. type: number
  25443. tradedate:
  25444. description: 交易日(yyyyMMdd)
  25445. type: string
  25446. userid:
  25447. description: 用户ID
  25448. type: integer
  25449. required:
  25450. - logid
  25451. type: object
  25452. szdz.QueryGoodsPickupRsp:
  25453. properties:
  25454. accountid:
  25455. description: 账户ID
  25456. type: integer
  25457. address:
  25458. description: 提货人详细地址
  25459. type: string
  25460. auditer:
  25461. description: 审核人
  25462. type: integer
  25463. audittime:
  25464. description: 审核时间
  25465. type: string
  25466. cardnum:
  25467. description: 提货人证件号码
  25468. type: string
  25469. cardtypeid:
  25470. description: 提货人证件类型
  25471. type: integer
  25472. checkremark:
  25473. description: 审核备注
  25474. type: string
  25475. goodscode:
  25476. description: 商品代码
  25477. type: string
  25478. goodsid:
  25479. description: 商品ID
  25480. type: integer
  25481. goodsname:
  25482. description: 商品名称
  25483. type: string
  25484. handlestatus:
  25485. description: 处理状态
  25486. type: integer
  25487. marketid:
  25488. description: 市场ID
  25489. type: integer
  25490. phonenum:
  25491. description: 提货人联系方式
  25492. type: string
  25493. qty:
  25494. description: 提货数量
  25495. type: number
  25496. recivername:
  25497. description: 提货人姓名
  25498. type: string
  25499. reqtime:
  25500. description: 更新时间
  25501. type: string
  25502. takemode:
  25503. description: 提货方式 - 2:自提 3:配送
  25504. type: integer
  25505. takeorderid:
  25506. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25507. type: string
  25508. takeorderstatus:
  25509. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25510. type: integer
  25511. takeremark:
  25512. description: 提货备注
  25513. type: string
  25514. tradedate:
  25515. description: 交易日(yyyyMMdd)
  25516. type: string
  25517. userid:
  25518. description: 用户ID
  25519. type: integer
  25520. required:
  25521. - takeorderid
  25522. type: object
  25523. szdz.QueryRecieptOrderRsp:
  25524. properties:
  25525. accountName:
  25526. description: 所属账号名称(已脱敏)
  25527. type: string
  25528. accountid:
  25529. description: 资金账号
  25530. type: integer
  25531. buyorsell:
  25532. description: 方向 - 0:买 1:卖
  25533. type: integer
  25534. enableqty:
  25535. description: 可摘数量
  25536. type: integer
  25537. goodscode:
  25538. description: 商品代码
  25539. type: string
  25540. goodsid:
  25541. description: 商品ID
  25542. type: integer
  25543. goodsname:
  25544. description: 商品名称
  25545. type: string
  25546. orderid:
  25547. description: 委托单号
  25548. type: string
  25549. orderprice:
  25550. description: 委托价格
  25551. type: number
  25552. ordertime:
  25553. description: 委托时间
  25554. type: string
  25555. tradedate:
  25556. description: 交易日(yyyyMMdd)
  25557. type: string
  25558. required:
  25559. - ordertime
  25560. type: object
  25561. szdz.QuerySZDZTradePositionRsp:
  25562. properties:
  25563. accountid:
  25564. description: 账号Id
  25565. type: integer
  25566. agreeunit:
  25567. description: 合约单位
  25568. type: number
  25569. averageprice:
  25570. description: 持仓均价
  25571. type: number
  25572. buyorsell:
  25573. description: 方向 - 0:买 1:卖
  25574. type: integer
  25575. closetotalqty:
  25576. description: 平仓总数量
  25577. type: integer
  25578. curholderamount:
  25579. description: 当前持仓总金额
  25580. type: number
  25581. curpositionqty:
  25582. description: 当前持仓总数量
  25583. type: integer
  25584. currencyid:
  25585. description: 报价货币ID
  25586. type: integer
  25587. curtdposition:
  25588. description: 期末今日头寸
  25589. type: integer
  25590. decimalplace:
  25591. description: 报价小数位
  25592. type: integer
  25593. enableqty:
  25594. description: 可用量
  25595. type: integer
  25596. fretdposition:
  25597. description: 冻结今日头寸
  25598. type: integer
  25599. frozenqty:
  25600. description: 持仓冻结数量
  25601. type: integer
  25602. goodscode:
  25603. description: 商品代码(内部)
  25604. type: string
  25605. goodsid:
  25606. description: 商品Id
  25607. type: integer
  25608. goodsname:
  25609. description: 商品名称
  25610. type: string
  25611. goodunit:
  25612. description: 报价单位
  25613. type: string
  25614. goodunitid:
  25615. description: 报价单位ID
  25616. type: integer
  25617. holderamount:
  25618. description: 期初持仓总金额
  25619. type: number
  25620. marketid:
  25621. description: 市场ID
  25622. type: integer
  25623. openreqqty:
  25624. description: 开仓申请数量
  25625. type: integer
  25626. opentotalqty:
  25627. description: 开仓总数量
  25628. type: integer
  25629. otherfrozenqty:
  25630. description: 持仓其他冻结数量(交割冻结)
  25631. type: integer
  25632. positionqty:
  25633. description: 期初持仓数量
  25634. type: integer
  25635. szdz3freezqty:
  25636. description: 尚志大宗转换冻结总数量
  25637. type: integer
  25638. tnqty:
  25639. description: T+N冻结总量
  25640. type: integer
  25641. tnusedqty:
  25642. description: T+N使用量
  25643. type: integer
  25644. trademode:
  25645. description: 交易模式
  25646. type: integer
  25647. usedmargin:
  25648. description: 占用保证金
  25649. type: number
  25650. type: object
  25651. taaccount.QueryAmountLogRsp:
  25652. properties:
  25653. accountid:
  25654. description: 资金账户ID
  25655. type: integer
  25656. agoodscode:
  25657. description: 竞拍商品代码
  25658. type: string
  25659. agoodsname:
  25660. description: 竞拍商品名称
  25661. type: string
  25662. amount:
  25663. description: 资金金额
  25664. type: number
  25665. amountadjusttype:
  25666. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25667. type: integer
  25668. autoid:
  25669. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25670. type: integer
  25671. balance:
  25672. description: 期初余额
  25673. type: number
  25674. businesscode:
  25675. description: 业务编号
  25676. type: integer
  25677. createtime:
  25678. description: 发生时间
  25679. type: string
  25680. currencyid:
  25681. description: 币种ID
  25682. type: integer
  25683. currentbalance:
  25684. description: 期末余额(变动后金额)
  25685. type: number
  25686. dgoodscode:
  25687. description: 交割商品代码
  25688. type: string
  25689. dgoodsname:
  25690. description: 交割商品名称
  25691. type: string
  25692. goodscode:
  25693. description: 商品代码
  25694. type: string
  25695. goodsid:
  25696. description: 商品ID
  25697. type: integer
  25698. goodsname:
  25699. description: 商品名称
  25700. type: string
  25701. marketid:
  25702. description: 市场ID
  25703. type: integer
  25704. marketname:
  25705. description: 市场名称
  25706. type: string
  25707. moneyticket:
  25708. description: 资金流水号:银行端流水号
  25709. type: integer
  25710. operatetype:
  25711. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25712. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25713. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25714. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25715. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25716. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25717. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25718. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25719. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25720. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25721. type: integer
  25722. relationorderid:
  25723. description: 关联单号
  25724. type: string
  25725. remark:
  25726. description: 备注
  25727. type: string
  25728. trademode:
  25729. description: 交易模式
  25730. type: integer
  25731. required:
  25732. - accountid
  25733. - amount
  25734. - amountadjusttype
  25735. - autoid
  25736. - balance
  25737. - createtime
  25738. - currentbalance
  25739. - operatetype
  25740. type: object
  25741. taaccount.QueryHisAmountLogRsp:
  25742. properties:
  25743. accountid:
  25744. description: 资金账户ID
  25745. type: integer
  25746. agoodscode:
  25747. description: 竞拍商品代码
  25748. type: string
  25749. agoodsname:
  25750. description: 竞拍商品名称
  25751. type: string
  25752. amount:
  25753. description: 资金金额
  25754. type: number
  25755. amountadjusttype:
  25756. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25757. type: integer
  25758. autoid:
  25759. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25760. type: integer
  25761. balance:
  25762. description: 期初余额
  25763. type: number
  25764. businesscode:
  25765. description: 业务编号
  25766. type: integer
  25767. createtime:
  25768. description: 发生时间
  25769. type: string
  25770. currencyid:
  25771. description: 币种ID
  25772. type: integer
  25773. currentbalance:
  25774. description: 期末余额(变动后金额)
  25775. type: number
  25776. dgoodscode:
  25777. description: 交割商品代码
  25778. type: string
  25779. dgoodsname:
  25780. description: 交割商品名称
  25781. type: string
  25782. goodscode:
  25783. description: 商品代码
  25784. type: string
  25785. goodsid:
  25786. description: 商品ID
  25787. type: integer
  25788. goodsname:
  25789. description: 商品名称
  25790. type: string
  25791. histradedate:
  25792. description: 历史交易日
  25793. type: string
  25794. isvaliddata:
  25795. description: 是否有效 - 0:无效 1:有效
  25796. type: integer
  25797. marketid:
  25798. description: 市场ID
  25799. type: integer
  25800. marketname:
  25801. description: 市场名称
  25802. type: string
  25803. moneyticket:
  25804. description: 资金流水号:银行端流水号
  25805. type: integer
  25806. operatetype:
  25807. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25808. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25809. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25810. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25811. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25812. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25813. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25814. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25815. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25816. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25817. type: integer
  25818. relationorderid:
  25819. description: 关联单号
  25820. type: string
  25821. remark:
  25822. description: 备注
  25823. type: string
  25824. trademode:
  25825. description: 交易模式
  25826. type: integer
  25827. required:
  25828. - accountid
  25829. - amount
  25830. - amountadjusttype
  25831. - autoid
  25832. - balance
  25833. - createtime
  25834. - currentbalance
  25835. - histradedate
  25836. - operatetype
  25837. type: object
  25838. trade.QueryRecieptOrderRsp:
  25839. properties:
  25840. accountName:
  25841. description: 所属账号名称(已脱敏)
  25842. type: string
  25843. accountid:
  25844. description: 资金账号
  25845. type: integer
  25846. buyorsell:
  25847. description: 方向 - 0:买 1:卖
  25848. type: integer
  25849. enableqty:
  25850. description: 可摘数量
  25851. type: integer
  25852. goodscode:
  25853. description: 商品代码
  25854. type: string
  25855. goodsid:
  25856. description: 商品ID
  25857. type: integer
  25858. goodsname:
  25859. description: 商品名称
  25860. type: string
  25861. orderid:
  25862. description: 委托单号
  25863. type: string
  25864. orderprice:
  25865. description: 委托价格
  25866. type: number
  25867. ordertime:
  25868. description: 委托时间
  25869. type: string
  25870. tradedate:
  25871. description: 交易日(yyyyMMdd)
  25872. type: string
  25873. required:
  25874. - ordertime
  25875. type: object
  25876. user.LoginQueryRsp:
  25877. properties:
  25878. areaRoles:
  25879. description: 所属角色信息
  25880. items:
  25881. $ref: '#/definitions/models.Arearole'
  25882. type: array
  25883. exchangeRateConfigs:
  25884. description: 汇率信息
  25885. items:
  25886. $ref: '#/definitions/models.Exchangerateconfig'
  25887. type: array
  25888. externalExchanges:
  25889. description: 外部交易所
  25890. items:
  25891. $ref: '#/definitions/models.Externalexchange'
  25892. type: array
  25893. goodsgroups:
  25894. description: 商品组
  25895. items:
  25896. $ref: '#/definitions/models.Goodsgroup'
  25897. type: array
  25898. loginAccount:
  25899. $ref: '#/definitions/models.Loginaccount'
  25900. description: 登录账号
  25901. markets:
  25902. description: 市场
  25903. items:
  25904. $ref: '#/definitions/models.Market'
  25905. type: array
  25906. systemParams:
  25907. description: 系统参数
  25908. items:
  25909. $ref: '#/definitions/models.Systemparam'
  25910. type: array
  25911. userAccount:
  25912. $ref: '#/definitions/models.Useraccount'
  25913. description: 用户账号
  25914. userInfo:
  25915. $ref: '#/definitions/models.Userinfo'
  25916. description: 用户信息
  25917. username:
  25918. description: 用户姓名
  25919. type: string
  25920. type: object
  25921. info:
  25922. contact: {}
  25923. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25924. termsOfService: http://www.muchinfo.cn
  25925. title: MTP2.0 查询服务 API
  25926. version: "1.0"
  25927. paths:
  25928. /CPTrade/QueryCPTradeMyBidInfos:
  25929. get:
  25930. parameters:
  25931. - description: 资金账户
  25932. in: query
  25933. name: accountid
  25934. required: true
  25935. type: integer
  25936. - description: 预售市场ID
  25937. in: query
  25938. name: marketid
  25939. type: integer
  25940. - description: 预售商品ID
  25941. in: query
  25942. name: goodsid
  25943. type: integer
  25944. produces:
  25945. - application/json
  25946. responses:
  25947. "200":
  25948. description: OK
  25949. schema:
  25950. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25951. "500":
  25952. description: Internal Server Error
  25953. schema:
  25954. $ref: '#/definitions/app.Response'
  25955. security:
  25956. - ApiKeyAuth: []
  25957. summary: 查询产能预售我的出价信息
  25958. tags:
  25959. - 产能预售
  25960. /CPTrade/QueryCPTradeOrderDetail:
  25961. get:
  25962. parameters:
  25963. - description: 预售商品ID
  25964. in: query
  25965. name: goodsid
  25966. type: integer
  25967. - description: 预售市场ID
  25968. in: query
  25969. name: marketid
  25970. type: integer
  25971. - description: 预售商品ID列表 - 格式:1,2,3
  25972. in: query
  25973. name: goodsids
  25974. type: string
  25975. produces:
  25976. - application/json
  25977. responses:
  25978. "200":
  25979. description: OK
  25980. schema:
  25981. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  25982. "500":
  25983. description: Internal Server Error
  25984. schema:
  25985. $ref: '#/definitions/app.Response'
  25986. security:
  25987. - ApiKeyAuth: []
  25988. summary: 查询产能预售委托单信息
  25989. tags:
  25990. - 产能预售
  25991. /CPTrade/QueryMyCPTradeGoods:
  25992. get:
  25993. parameters:
  25994. - description: 资金账户
  25995. in: query
  25996. name: accountid
  25997. required: true
  25998. type: integer
  25999. produces:
  26000. - application/json
  26001. responses:
  26002. "200":
  26003. description: OK
  26004. schema:
  26005. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26006. "500":
  26007. description: Internal Server Error
  26008. schema:
  26009. $ref: '#/definitions/app.Response'
  26010. security:
  26011. - ApiKeyAuth: []
  26012. summary: 查询我的预售信息
  26013. tags:
  26014. - 产能预售
  26015. /CPTrade/QueryPositionCancel:
  26016. get:
  26017. parameters:
  26018. - description: 账户ID
  26019. in: query
  26020. name: userid
  26021. required: true
  26022. type: integer
  26023. - description: 注销ID
  26024. in: query
  26025. name: cancelid
  26026. type: integer
  26027. - description: 资金账户ID
  26028. in: query
  26029. name: accountid
  26030. type: integer
  26031. produces:
  26032. - application/json
  26033. responses:
  26034. "200":
  26035. description: OK
  26036. schema:
  26037. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26038. "500":
  26039. description: Internal Server Error
  26040. schema:
  26041. $ref: '#/definitions/app.Response'
  26042. security:
  26043. - ApiKeyAuth: []
  26044. summary: 查询远期订单注销申请信息
  26045. tags:
  26046. - 产能预售
  26047. /CPTrade/QueryPreasleApply:
  26048. get:
  26049. parameters:
  26050. - description: 账户ID
  26051. in: query
  26052. name: userid
  26053. required: true
  26054. type: integer
  26055. - description: 申请ID
  26056. in: query
  26057. name: applyid
  26058. type: integer
  26059. - description: 资金账户ID
  26060. in: query
  26061. name: accountid
  26062. type: integer
  26063. produces:
  26064. - application/json
  26065. responses:
  26066. "200":
  26067. description: OK
  26068. schema:
  26069. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26070. "500":
  26071. description: Internal Server Error
  26072. schema:
  26073. $ref: '#/definitions/app.Response'
  26074. security:
  26075. - ApiKeyAuth: []
  26076. summary: 查询产能预售申请信息
  26077. tags:
  26078. - 产能预售
  26079. /CPTrade/QueryPresaleGoodsEx:
  26080. get:
  26081. parameters:
  26082. - description: 预售商品ID
  26083. in: query
  26084. name: goodsid
  26085. type: integer
  26086. - description: 预售市场ID
  26087. in: query
  26088. name: marketid
  26089. type: integer
  26090. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26091. in: query
  26092. name: presalemode
  26093. type: integer
  26094. - description: 预售商品ID列表 - 格式:1,2,3
  26095. in: query
  26096. name: goodsids
  26097. type: string
  26098. - description: 预售商品代码
  26099. in: query
  26100. name: goodscode
  26101. type: string
  26102. produces:
  26103. - application/json
  26104. responses:
  26105. "200":
  26106. description: OK
  26107. schema:
  26108. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26109. "500":
  26110. description: Internal Server Error
  26111. schema:
  26112. $ref: '#/definitions/app.Response'
  26113. security:
  26114. - ApiKeyAuth: []
  26115. summary: 查询产能预售商品扩展信息
  26116. tags:
  26117. - 产能预售
  26118. /CPTrade/QueryUserGoodsData:
  26119. get:
  26120. parameters:
  26121. - description: 资金账户ID
  26122. in: query
  26123. name: accountid
  26124. required: true
  26125. type: integer
  26126. produces:
  26127. - application/json
  26128. responses:
  26129. "200":
  26130. description: OK
  26131. schema:
  26132. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26133. "500":
  26134. description: Internal Server Error
  26135. schema:
  26136. $ref: '#/definitions/app.Response'
  26137. security:
  26138. - ApiKeyAuth: []
  26139. summary: 查询远期订单信息
  26140. tags:
  26141. - 产能预售
  26142. /Common/DeleteNewFuncmenu:
  26143. delete:
  26144. consumes:
  26145. - application/json
  26146. parameters:
  26147. - description: 菜单表数据,只需要resourcecode字段即可
  26148. in: body
  26149. name: data
  26150. required: true
  26151. schema:
  26152. $ref: '#/definitions/models.NewFuncmenulist'
  26153. produces:
  26154. - application/json
  26155. responses:
  26156. "200":
  26157. description: OK
  26158. schema:
  26159. $ref: '#/definitions/app.Response'
  26160. "500":
  26161. description: Internal Server Error
  26162. schema:
  26163. $ref: '#/definitions/app.Response'
  26164. security:
  26165. - ApiKeyAuth: []
  26166. summary: 删除菜单表数据
  26167. tags:
  26168. - 通用服务
  26169. /Common/FindNewFuncmenu:
  26170. get:
  26171. parameters:
  26172. - description: 资源代码
  26173. in: query
  26174. name: resourcecode
  26175. type: string
  26176. - description: 上级资源代码
  26177. in: query
  26178. name: parentcode
  26179. type: string
  26180. - description: 资源名(Title), 模糊查询
  26181. in: query
  26182. name: resourcename
  26183. type: string
  26184. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26185. in: query
  26186. name: menutype
  26187. type: string
  26188. produces:
  26189. - application/json
  26190. responses:
  26191. "200":
  26192. description: OK
  26193. schema:
  26194. items:
  26195. $ref: '#/definitions/models.NewFuncmenulist'
  26196. type: array
  26197. "500":
  26198. description: Internal Server Error
  26199. schema:
  26200. $ref: '#/definitions/app.Response'
  26201. security:
  26202. - ApiKeyAuth: []
  26203. summary: 获取菜单表数据
  26204. tags:
  26205. - 通用服务
  26206. /Common/GetAllEnums:
  26207. get:
  26208. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26209. parameters:
  26210. - description: 起始自增ID
  26211. in: query
  26212. name: autoid
  26213. type: integer
  26214. produces:
  26215. - application/json
  26216. responses:
  26217. "200":
  26218. description: OK
  26219. schema:
  26220. $ref: '#/definitions/models.Enumdicitem'
  26221. "500":
  26222. description: Internal Server Error
  26223. schema:
  26224. $ref: '#/definitions/app.Response'
  26225. summary: 获取所有枚举信息
  26226. tags:
  26227. - 通用服务
  26228. /Common/GetClientMenus:
  26229. get:
  26230. parameters:
  26231. - description: 登录账号
  26232. in: query
  26233. name: loginID
  26234. required: true
  26235. type: integer
  26236. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26237. in: query
  26238. name: clientType
  26239. type: integer
  26240. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26241. in: query
  26242. name: name
  26243. type: string
  26244. produces:
  26245. - application/json
  26246. responses:
  26247. "200":
  26248. description: OK
  26249. schema:
  26250. items:
  26251. $ref: '#/definitions/common.ClientMenu'
  26252. type: array
  26253. "500":
  26254. description: Internal Server Error
  26255. schema:
  26256. $ref: '#/definitions/app.Response'
  26257. security:
  26258. - ApiKeyAuth: []
  26259. summary: 获取交易端菜单
  26260. tags:
  26261. - 通用服务
  26262. /Common/GetClientNewFuncmenu:
  26263. get:
  26264. parameters:
  26265. - description: 登录账号
  26266. in: query
  26267. name: loginid
  26268. required: true
  26269. type: integer
  26270. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26271. in: query
  26272. name: menutype
  26273. required: true
  26274. type: integer
  26275. produces:
  26276. - application/json
  26277. responses:
  26278. "200":
  26279. description: OK
  26280. schema:
  26281. items:
  26282. $ref: '#/definitions/models.NewFuncmenulist'
  26283. type: array
  26284. "500":
  26285. description: Internal Server Error
  26286. schema:
  26287. $ref: '#/definitions/app.Response'
  26288. security:
  26289. - ApiKeyAuth: []
  26290. summary: 获取终端菜单
  26291. tags:
  26292. - 通用服务
  26293. /Common/GetDivisions:
  26294. get:
  26295. produces:
  26296. - application/json
  26297. responses:
  26298. "200":
  26299. description: OK
  26300. schema:
  26301. $ref: '#/definitions/models.Division'
  26302. "500":
  26303. description: Internal Server Error
  26304. schema:
  26305. $ref: '#/definitions/app.Response'
  26306. summary: 查询区域信息
  26307. tags:
  26308. - 通用服务
  26309. /Common/GetPCWebMenus:
  26310. get:
  26311. parameters:
  26312. - description: 登录账号
  26313. in: query
  26314. name: loginID
  26315. required: true
  26316. type: integer
  26317. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26318. in: query
  26319. name: name
  26320. type: string
  26321. produces:
  26322. - application/json
  26323. responses:
  26324. "200":
  26325. description: OK
  26326. schema:
  26327. items:
  26328. $ref: '#/definitions/common.PCWebMenu'
  26329. type: array
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 获取PCWeb交易端菜单
  26337. tags:
  26338. - 通用服务
  26339. /Common/GetServerTime:
  26340. get:
  26341. produces:
  26342. - application/json
  26343. responses:
  26344. "200":
  26345. description: OK
  26346. schema:
  26347. $ref: '#/definitions/app.Response'
  26348. "500":
  26349. description: Internal Server Error
  26350. schema:
  26351. $ref: '#/definitions/app.Response'
  26352. summary: 获取服务器时间
  26353. tags:
  26354. - 通用服务
  26355. /Common/InsertNewFuncmenu:
  26356. post:
  26357. consumes:
  26358. - application/json
  26359. parameters:
  26360. - description: 菜单表数据
  26361. in: body
  26362. name: data
  26363. required: true
  26364. schema:
  26365. $ref: '#/definitions/models.NewFuncmenulist'
  26366. produces:
  26367. - application/json
  26368. responses:
  26369. "200":
  26370. description: OK
  26371. schema:
  26372. $ref: '#/definitions/app.Response'
  26373. "500":
  26374. description: Internal Server Error
  26375. schema:
  26376. $ref: '#/definitions/app.Response'
  26377. security:
  26378. - ApiKeyAuth: []
  26379. summary: 插入菜单表数据
  26380. tags:
  26381. - 通用服务
  26382. /Common/NoticeReaded:
  26383. post:
  26384. parameters:
  26385. - description: 登录账号
  26386. in: query
  26387. name: loginID
  26388. required: true
  26389. type: integer
  26390. - description: 通知公告ID
  26391. in: query
  26392. name: noticeID
  26393. required: true
  26394. type: integer
  26395. produces:
  26396. - application/json
  26397. responses:
  26398. "200":
  26399. description: OK
  26400. schema:
  26401. $ref: '#/definitions/app.Response'
  26402. "500":
  26403. description: Internal Server Error
  26404. schema:
  26405. $ref: '#/definitions/app.Response'
  26406. security:
  26407. - ApiKeyAuth: []
  26408. summary: 通知公告设置已读请求
  26409. tags:
  26410. - 通用服务
  26411. /Common/QueryErrorInfos:
  26412. get:
  26413. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26414. parameters:
  26415. - description: 起始行号前索引
  26416. in: query
  26417. name: rowNumber
  26418. type: string
  26419. produces:
  26420. - application/json
  26421. responses:
  26422. "200":
  26423. description: OK
  26424. schema:
  26425. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26426. "500":
  26427. description: Internal Server Error
  26428. schema:
  26429. $ref: '#/definitions/app.Response'
  26430. summary: 获取数据库错误信息
  26431. tags:
  26432. - 通用服务
  26433. /Common/QueryImageConfigs:
  26434. get:
  26435. parameters:
  26436. - description: 用户id
  26437. in: query
  26438. name: userId
  26439. type: integer
  26440. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26441. in: query
  26442. name: imageType
  26443. type: integer
  26444. produces:
  26445. - application/json
  26446. responses:
  26447. "200":
  26448. description: OK
  26449. schema:
  26450. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26451. "500":
  26452. description: Internal Server Error
  26453. schema:
  26454. $ref: '#/definitions/app.Response'
  26455. summary: 查询轮播图配置信息
  26456. tags:
  26457. - 通用服务
  26458. /Common/QueryNotice:
  26459. get:
  26460. parameters:
  26461. - description: 页码
  26462. in: query
  26463. name: page
  26464. type: integer
  26465. - description: 每页条数
  26466. in: query
  26467. name: pagesize
  26468. type: integer
  26469. - description: 分页标志 0-page从0开始 1-page从1开始
  26470. in: query
  26471. name: pageflag
  26472. type: integer
  26473. - description: 登录账号
  26474. in: query
  26475. name: loginID
  26476. required: true
  26477. type: integer
  26478. - description: 消息类型 - 1:公告通知 2:系统消息
  26479. in: query
  26480. name: msgType
  26481. type: integer
  26482. - description: 是否只获取未读信息
  26483. in: query
  26484. name: onlyUnRead
  26485. type: boolean
  26486. - description: 自增ID,传入后会返回这个ID后面的记录
  26487. in: query
  26488. name: lastID
  26489. type: integer
  26490. produces:
  26491. - application/json
  26492. responses:
  26493. "200":
  26494. description: OK
  26495. schema:
  26496. $ref: '#/definitions/common.QueryNoticeRsp'
  26497. "500":
  26498. description: Internal Server Error
  26499. schema:
  26500. $ref: '#/definitions/app.Response'
  26501. security:
  26502. - ApiKeyAuth: []
  26503. summary: 通知公告系统消息查询
  26504. tags:
  26505. - 通用服务
  26506. /Common/QueryProvincesAndCities:
  26507. get:
  26508. parameters:
  26509. - description: 省ID
  26510. in: query
  26511. name: provinceID
  26512. type: integer
  26513. produces:
  26514. - application/json
  26515. responses:
  26516. "200":
  26517. description: OK
  26518. schema:
  26519. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26520. "500":
  26521. description: Internal Server Error
  26522. schema:
  26523. $ref: '#/definitions/app.Response'
  26524. summary: 查询省市信息(不包括区)
  26525. tags:
  26526. - 通用服务
  26527. /Common/QueryRates:
  26528. get:
  26529. parameters:
  26530. - description: 页码
  26531. in: query
  26532. name: page
  26533. type: integer
  26534. - description: 每页条数
  26535. in: query
  26536. name: pagesize
  26537. type: integer
  26538. - description: 源币种ID
  26539. in: query
  26540. name: oricurrencyid
  26541. type: integer
  26542. - description: 目标币种ID
  26543. in: query
  26544. name: descurrencyid
  26545. type: integer
  26546. produces:
  26547. - application/json
  26548. responses:
  26549. "200":
  26550. description: OK
  26551. schema:
  26552. items:
  26553. $ref: '#/definitions/models.Exchangerateconfig'
  26554. type: array
  26555. "500":
  26556. description: Internal Server Error
  26557. schema:
  26558. $ref: '#/definitions/app.Response'
  26559. security:
  26560. - ApiKeyAuth: []
  26561. - LoginID: []
  26562. - Group: []
  26563. summary: 查询汇率信息
  26564. tags:
  26565. - 通用服务
  26566. /Common/QueryTableDefine:
  26567. get:
  26568. parameters:
  26569. - description: 表key
  26570. in: query
  26571. name: tableKey
  26572. type: string
  26573. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26574. in: query
  26575. name: tableType
  26576. type: integer
  26577. produces:
  26578. - application/json
  26579. responses:
  26580. "200":
  26581. description: OK
  26582. schema:
  26583. $ref: '#/definitions/common.QueryTableDefineRsp'
  26584. "500":
  26585. description: Internal Server Error
  26586. schema:
  26587. $ref: '#/definitions/app.Response'
  26588. summary: 查询交易端列表头信息
  26589. tags:
  26590. - 通用服务
  26591. /Common/QueryTraderMenu:
  26592. get:
  26593. parameters:
  26594. - description: 登录账号
  26595. in: query
  26596. name: loginid
  26597. required: true
  26598. type: integer
  26599. produces:
  26600. - application/json
  26601. responses:
  26602. "200":
  26603. description: OK
  26604. schema:
  26605. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26606. "500":
  26607. description: Internal Server Error
  26608. schema:
  26609. $ref: '#/definitions/app.Response'
  26610. summary: 查询交易端菜单
  26611. tags:
  26612. - 通用服务
  26613. /Common/UpdateNewFuncmenu:
  26614. put:
  26615. consumes:
  26616. - application/json
  26617. parameters:
  26618. - description: 菜单表数据
  26619. in: body
  26620. name: data
  26621. required: true
  26622. schema:
  26623. $ref: '#/definitions/models.NewFuncmenulist'
  26624. produces:
  26625. - application/json
  26626. responses:
  26627. "200":
  26628. description: OK
  26629. schema:
  26630. $ref: '#/definitions/app.Response'
  26631. "500":
  26632. description: Internal Server Error
  26633. schema:
  26634. $ref: '#/definitions/app.Response'
  26635. security:
  26636. - ApiKeyAuth: []
  26637. summary: 更新菜单表数据
  26638. tags:
  26639. - 通用服务
  26640. /Delivery/QueryDeliveryRelation:
  26641. get:
  26642. parameters:
  26643. - description: 商品ID
  26644. in: query
  26645. name: goodsid
  26646. type: integer
  26647. - description: 品种ID
  26648. in: query
  26649. name: deliverygoodsid
  26650. type: integer
  26651. - description: 市场ID
  26652. in: query
  26653. name: marketid
  26654. type: integer
  26655. produces:
  26656. - application/json
  26657. responses:
  26658. "200":
  26659. description: OK
  26660. schema:
  26661. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26662. "500":
  26663. description: Internal Server Error
  26664. schema:
  26665. $ref: '#/definitions/app.Response'
  26666. security:
  26667. - ApiKeyAuth: []
  26668. summary: 查询商品交割关系表
  26669. tags:
  26670. - 交割服务
  26671. /Ermcp/GetErmcpGoods:
  26672. get:
  26673. parameters:
  26674. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26675. in: query
  26676. name: userid
  26677. type: integer
  26678. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26679. in: query
  26680. name: lastUpdateTime
  26681. type: string
  26682. produces:
  26683. - application/json
  26684. responses:
  26685. "200":
  26686. description: OK
  26687. schema:
  26688. $ref: '#/definitions/models.ErmcpGoods'
  26689. "500":
  26690. description: Internal Server Error
  26691. schema:
  26692. $ref: '#/definitions/app.Response'
  26693. security:
  26694. - ApiKeyAuth: []
  26695. summary: 查询企业风管期货商品信息
  26696. tags:
  26697. - 企业风险管理(app)
  26698. /Ermcp/GetErmcpGoodsSortByPosition:
  26699. get:
  26700. parameters:
  26701. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26702. in: query
  26703. name: sortIndex
  26704. type: string
  26705. produces:
  26706. - application/json
  26707. responses:
  26708. "200":
  26709. description: OK
  26710. schema:
  26711. $ref: '#/definitions/models.Goodssortbypreposition'
  26712. "500":
  26713. description: Internal Server Error
  26714. schema:
  26715. $ref: '#/definitions/app.Response'
  26716. security:
  26717. - ApiKeyAuth: []
  26718. summary: 查询企业风管期货主力、次主力商品信息
  26719. tags:
  26720. - 企业风险管理(app)
  26721. /Ermcp/GetErmcpOutAccountStatus:
  26722. get:
  26723. parameters:
  26724. - description: 登录账号
  26725. in: query
  26726. name: loginID
  26727. required: true
  26728. type: integer
  26729. produces:
  26730. - application/json
  26731. responses:
  26732. "200":
  26733. description: OK
  26734. schema:
  26735. $ref: '#/definitions/models.Hedgemarketopenlog'
  26736. "500":
  26737. description: Internal Server Error
  26738. schema:
  26739. $ref: '#/definitions/app.Response'
  26740. security:
  26741. - ApiKeyAuth: []
  26742. summary: 获取目标登录账号当前对冲账号在线状态
  26743. tags:
  26744. - 企业风险管理(app)
  26745. /Ermcp/GetErmcpRoleFuncMenuLists:
  26746. get:
  26747. parameters:
  26748. - description: 登录账号
  26749. in: query
  26750. name: loginID
  26751. required: true
  26752. type: integer
  26753. produces:
  26754. - application/json
  26755. responses:
  26756. "200":
  26757. description: OK
  26758. schema:
  26759. $ref: '#/definitions/models.Funcmenulist'
  26760. "500":
  26761. description: Internal Server Error
  26762. schema:
  26763. $ref: '#/definitions/app.Response'
  26764. security:
  26765. - ApiKeyAuth: []
  26766. summary: 获取企业风管终端权限
  26767. tags:
  26768. - 企业风险管理(app)
  26769. /Ermcp/QueryAccMgrBizGroupSet:
  26770. get:
  26771. parameters:
  26772. - description: 用户ID
  26773. in: query
  26774. name: userid
  26775. required: true
  26776. type: integer
  26777. - description: 现货商品id
  26778. in: query
  26779. name: deliverygoodsid
  26780. type: integer
  26781. produces:
  26782. - application/json
  26783. responses:
  26784. "200":
  26785. description: OK
  26786. schema:
  26787. items:
  26788. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26789. type: array
  26790. "500":
  26791. description: Internal Server Error
  26792. schema:
  26793. $ref: '#/definitions/app.Response'
  26794. security:
  26795. - ApiKeyAuth: []
  26796. summary: 查询业务类型分组(账户管理/账户设置)
  26797. tags:
  26798. - 企业风险管理(app)
  26799. /Ermcp/QueryAccMgrLoginUser:
  26800. get:
  26801. parameters:
  26802. - description: 用户ID
  26803. in: query
  26804. name: userid
  26805. required: true
  26806. type: integer
  26807. - description: 用户类型 2-机构 7-企业成员
  26808. in: query
  26809. name: usertype
  26810. type: integer
  26811. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26812. in: query
  26813. name: querytype
  26814. required: true
  26815. type: integer
  26816. produces:
  26817. - application/json
  26818. responses:
  26819. "200":
  26820. description: OK
  26821. schema:
  26822. items:
  26823. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26824. type: array
  26825. "500":
  26826. description: Internal Server Error
  26827. schema:
  26828. $ref: '#/definitions/app.Response'
  26829. security:
  26830. - ApiKeyAuth: []
  26831. summary: 查询账户管理登录账号(账户管理/登录账号)
  26832. tags:
  26833. - 企业风险管理(app)
  26834. /Ermcp/QueryAccMgrMainAccountInfo:
  26835. get:
  26836. parameters:
  26837. - description: 用户ID
  26838. in: query
  26839. name: userid
  26840. type: integer
  26841. - description: 主账号id
  26842. in: query
  26843. name: accountid
  26844. type: integer
  26845. produces:
  26846. - application/json
  26847. responses:
  26848. "200":
  26849. description: OK
  26850. schema:
  26851. items:
  26852. $ref: '#/definitions/models.MainAccountInfo'
  26853. type: array
  26854. "500":
  26855. description: Internal Server Error
  26856. schema:
  26857. $ref: '#/definitions/app.Response'
  26858. security:
  26859. - ApiKeyAuth: []
  26860. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26861. tags:
  26862. - 企业风险管理(app)
  26863. /Ermcp/QueryAccMgrRole:
  26864. get:
  26865. parameters:
  26866. - description: 用户ID
  26867. in: query
  26868. name: userid
  26869. required: true
  26870. type: integer
  26871. produces:
  26872. - application/json
  26873. responses:
  26874. "200":
  26875. description: OK
  26876. schema:
  26877. items:
  26878. $ref: '#/definitions/models.ErmcpRole'
  26879. type: array
  26880. "500":
  26881. description: Internal Server Error
  26882. schema:
  26883. $ref: '#/definitions/app.Response'
  26884. security:
  26885. - ApiKeyAuth: []
  26886. summary: 查询账户管理角色设置(账户管理/角色设置)
  26887. tags:
  26888. - 企业风险管理(app)
  26889. /Ermcp/QueryAccMgrRoleMenu:
  26890. get:
  26891. parameters:
  26892. - description: 用户ID
  26893. in: query
  26894. name: userid
  26895. required: true
  26896. type: integer
  26897. - description: 角色id(可多个,逗号隔开)
  26898. in: query
  26899. name: roleid
  26900. type: string
  26901. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26902. in: query
  26903. name: menutype
  26904. type: integer
  26905. produces:
  26906. - application/json
  26907. responses:
  26908. "200":
  26909. description: OK
  26910. schema:
  26911. items:
  26912. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26913. type: array
  26914. "500":
  26915. description: Internal Server Error
  26916. schema:
  26917. $ref: '#/definitions/app.Response'
  26918. security:
  26919. - ApiKeyAuth: []
  26920. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26921. tags:
  26922. - 企业风险管理(app)
  26923. /Ermcp/QueryAccMgrTaAccountInfo:
  26924. get:
  26925. parameters:
  26926. - description: 用户ID
  26927. in: query
  26928. name: userid
  26929. required: true
  26930. type: integer
  26931. - description: 账号id
  26932. in: query
  26933. name: accountid
  26934. type: integer
  26935. produces:
  26936. - application/json
  26937. responses:
  26938. "200":
  26939. description: OK
  26940. schema:
  26941. items:
  26942. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26943. type: array
  26944. "500":
  26945. description: Internal Server Error
  26946. schema:
  26947. $ref: '#/definitions/app.Response'
  26948. security:
  26949. - ApiKeyAuth: []
  26950. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26951. tags:
  26952. - 企业风险管理(app)
  26953. /Ermcp/QueryAccMgrTaaccount:
  26954. get:
  26955. parameters:
  26956. - description: 用户ID
  26957. in: query
  26958. name: userid
  26959. required: true
  26960. type: integer
  26961. produces:
  26962. - application/json
  26963. responses:
  26964. "200":
  26965. description: OK
  26966. schema:
  26967. items:
  26968. $ref: '#/definitions/models.ErmcpTaAccountEx'
  26969. type: array
  26970. "500":
  26971. description: Internal Server Error
  26972. schema:
  26973. $ref: '#/definitions/app.Response'
  26974. security:
  26975. - ApiKeyAuth: []
  26976. summary: 查询账户管理期货账号(账户管理/期货账号)
  26977. tags:
  26978. - 企业风险管理(app)
  26979. /Ermcp/QueryAvaildGoodsGroup:
  26980. get:
  26981. parameters:
  26982. - description: 所属机构ID
  26983. in: query
  26984. name: userid
  26985. required: true
  26986. type: integer
  26987. produces:
  26988. - application/json
  26989. responses:
  26990. "200":
  26991. description: OK
  26992. schema:
  26993. items:
  26994. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  26995. type: array
  26996. "500":
  26997. description: Internal Server Error
  26998. schema:
  26999. $ref: '#/definitions/app.Response'
  27000. security:
  27001. - ApiKeyAuth: []
  27002. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27003. tags:
  27004. - 企业风险管理(app)
  27005. /Ermcp/QueryBusinessDj:
  27006. get:
  27007. parameters:
  27008. - description: 用户ID
  27009. in: query
  27010. name: UserId
  27011. required: true
  27012. type: integer
  27013. - description: 用户类型 2-机构 7-企业成员
  27014. in: query
  27015. name: usertype
  27016. type: integer
  27017. - description: 现货合同ID, 不填则查所有
  27018. in: query
  27019. name: relatedid
  27020. type: string
  27021. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27022. in: query
  27023. name: applystatus
  27024. type: string
  27025. produces:
  27026. - application/json
  27027. responses:
  27028. "200":
  27029. description: OK
  27030. schema:
  27031. items:
  27032. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27033. type: array
  27034. "500":
  27035. description: Internal Server Error
  27036. schema:
  27037. $ref: '#/definitions/app.Response'
  27038. security:
  27039. - ApiKeyAuth: []
  27040. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27041. tags:
  27042. - 企业风险管理(app)
  27043. /Ermcp/QueryBusinessFp:
  27044. get:
  27045. parameters:
  27046. - description: 用户ID
  27047. in: query
  27048. name: UserId
  27049. required: true
  27050. type: integer
  27051. - description: 用户类型 2-机构 7-企业成员
  27052. in: query
  27053. name: usertype
  27054. type: integer
  27055. - description: 现货合同ID, 不填则查所有
  27056. in: query
  27057. name: relatedid
  27058. type: string
  27059. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27060. in: query
  27061. name: applystatus
  27062. type: string
  27063. produces:
  27064. - application/json
  27065. responses:
  27066. "200":
  27067. description: OK
  27068. schema:
  27069. items:
  27070. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27071. type: array
  27072. "500":
  27073. description: Internal Server Error
  27074. schema:
  27075. $ref: '#/definitions/app.Response'
  27076. security:
  27077. - ApiKeyAuth: []
  27078. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27079. tags:
  27080. - 企业风险管理(app)
  27081. /Ermcp/QueryBusinessJs:
  27082. get:
  27083. parameters:
  27084. - description: 用户ID
  27085. in: query
  27086. name: UserId
  27087. required: true
  27088. type: integer
  27089. - description: 用户类型 2-机构 7-企业成员
  27090. in: query
  27091. name: usertype
  27092. type: integer
  27093. - description: 现货合同ID, 不填则查所有
  27094. in: query
  27095. name: relatedid
  27096. type: string
  27097. - description: 操作申请id
  27098. in: query
  27099. name: operateapplyid
  27100. type: string
  27101. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27102. in: query
  27103. name: applystatus
  27104. type: string
  27105. produces:
  27106. - application/json
  27107. responses:
  27108. "200":
  27109. description: OK
  27110. schema:
  27111. items:
  27112. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27113. type: array
  27114. "500":
  27115. description: Internal Server Error
  27116. schema:
  27117. $ref: '#/definitions/app.Response'
  27118. security:
  27119. - ApiKeyAuth: []
  27120. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27121. tags:
  27122. - 企业风险管理(app)
  27123. /Ermcp/QueryBusinessJsEx:
  27124. get:
  27125. parameters:
  27126. - description: 用户ID
  27127. in: query
  27128. name: UserId
  27129. required: true
  27130. type: integer
  27131. - description: 用户类型 2-机构 7-企业成员
  27132. in: query
  27133. name: usertype
  27134. type: integer
  27135. - description: 现货合同ID, 不填则查所有
  27136. in: query
  27137. name: relatedid
  27138. type: string
  27139. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27140. in: query
  27141. name: applystatus
  27142. type: string
  27143. produces:
  27144. - application/json
  27145. responses:
  27146. "200":
  27147. description: OK
  27148. schema:
  27149. items:
  27150. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27151. type: array
  27152. "500":
  27153. description: Internal Server Error
  27154. schema:
  27155. $ref: '#/definitions/app.Response'
  27156. security:
  27157. - ApiKeyAuth: []
  27158. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27159. tags:
  27160. - 企业风险管理(app)
  27161. /Ermcp/QueryBusinessKx:
  27162. get:
  27163. parameters:
  27164. - description: 用户ID
  27165. in: query
  27166. name: UserId
  27167. required: true
  27168. type: integer
  27169. - description: 用户类型 2-机构 7-企业成员
  27170. in: query
  27171. name: usertype
  27172. type: integer
  27173. - description: 现货合同ID, 不填则查所有
  27174. in: query
  27175. name: relatedid
  27176. type: string
  27177. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27178. in: query
  27179. name: applystatus
  27180. type: string
  27181. produces:
  27182. - application/json
  27183. responses:
  27184. "200":
  27185. description: OK
  27186. schema:
  27187. items:
  27188. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27189. type: array
  27190. "500":
  27191. description: Internal Server Error
  27192. schema:
  27193. $ref: '#/definitions/app.Response'
  27194. security:
  27195. - ApiKeyAuth: []
  27196. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27197. tags:
  27198. - 企业风险管理(app)
  27199. /Ermcp/QueryChangeLog:
  27200. get:
  27201. parameters:
  27202. - description: 合同ID
  27203. in: query
  27204. name: RelatedId
  27205. required: true
  27206. type: string
  27207. produces:
  27208. - application/json
  27209. responses:
  27210. "200":
  27211. description: OK
  27212. schema:
  27213. items:
  27214. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27215. type: array
  27216. "500":
  27217. description: Internal Server Error
  27218. schema:
  27219. $ref: '#/definitions/app.Response'
  27220. security:
  27221. - ApiKeyAuth: []
  27222. summary: 查询变更记录
  27223. tags:
  27224. - 企业风险管理(app)
  27225. /Ermcp/QueryErmcpHisOrderDetails:
  27226. get:
  27227. parameters:
  27228. - description: 资金账户ID
  27229. in: query
  27230. name: accountID
  27231. required: true
  27232. type: integer
  27233. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27234. in: query
  27235. name: startDate
  27236. type: string
  27237. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27238. in: query
  27239. name: endDate
  27240. type: string
  27241. produces:
  27242. - application/json
  27243. responses:
  27244. "200":
  27245. description: OK
  27246. schema:
  27247. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27248. "500":
  27249. description: Internal Server Error
  27250. schema:
  27251. $ref: '#/definitions/app.Response'
  27252. security:
  27253. - ApiKeyAuth: []
  27254. summary: 获取企业风管期货历史委托单信息
  27255. tags:
  27256. - 企业风险管理(app)
  27257. /Ermcp/QueryErmcpHisTradeDetails:
  27258. get:
  27259. parameters:
  27260. - description: 资金账户ID
  27261. in: query
  27262. name: accountID
  27263. required: true
  27264. type: integer
  27265. - description: 商品ID
  27266. in: query
  27267. name: goodsID
  27268. type: integer
  27269. - description: 买卖方向,0:买 1:卖
  27270. in: query
  27271. name: buyOrSell
  27272. type: integer
  27273. - description: 关联委托单号
  27274. in: query
  27275. name: orderID
  27276. type: integer
  27277. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27278. in: query
  27279. name: startDate
  27280. type: string
  27281. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27282. in: query
  27283. name: endDate
  27284. type: string
  27285. produces:
  27286. - application/json
  27287. responses:
  27288. "200":
  27289. description: OK
  27290. schema:
  27291. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27292. "500":
  27293. description: Internal Server Error
  27294. schema:
  27295. $ref: '#/definitions/app.Response'
  27296. security:
  27297. - ApiKeyAuth: []
  27298. summary: 获取企业风管期货历史成交单信息
  27299. tags:
  27300. - 企业风险管理(app)
  27301. /Ermcp/QueryErmcpInnerHolderDetails:
  27302. get:
  27303. parameters:
  27304. - description: 资金账户ID
  27305. in: query
  27306. name: accountID
  27307. required: true
  27308. type: integer
  27309. - description: 商品ID
  27310. in: query
  27311. name: goodsID
  27312. type: integer
  27313. - description: 买卖方向,0:买 1:卖
  27314. in: query
  27315. name: buyOrSell
  27316. type: integer
  27317. produces:
  27318. - application/json
  27319. responses:
  27320. "200":
  27321. description: OK
  27322. schema:
  27323. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27324. "500":
  27325. description: Internal Server Error
  27326. schema:
  27327. $ref: '#/definitions/app.Response'
  27328. security:
  27329. - ApiKeyAuth: []
  27330. summary: 获取企业风管期货内部持仓单信息
  27331. tags:
  27332. - 企业风险管理(app)
  27333. /Ermcp/QueryErmcpOrderDetails:
  27334. get:
  27335. parameters:
  27336. - description: 资金账户ID
  27337. in: query
  27338. name: accountID
  27339. required: true
  27340. type: integer
  27341. produces:
  27342. - application/json
  27343. responses:
  27344. "200":
  27345. description: OK
  27346. schema:
  27347. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27348. "500":
  27349. description: Internal Server Error
  27350. schema:
  27351. $ref: '#/definitions/app.Response'
  27352. security:
  27353. - ApiKeyAuth: []
  27354. summary: 获取企业风管期货委托单信息
  27355. tags:
  27356. - 企业风险管理(app)
  27357. /Ermcp/QueryErmcpTradeDetails:
  27358. get:
  27359. parameters:
  27360. - description: 资金账户ID
  27361. in: query
  27362. name: accountID
  27363. required: true
  27364. type: integer
  27365. - description: 商品ID
  27366. in: query
  27367. name: goodsID
  27368. type: integer
  27369. - description: 买卖方向,0:买 1:卖
  27370. in: query
  27371. name: buyOrSell
  27372. type: integer
  27373. - description: 关联委托单号
  27374. in: query
  27375. name: orderID
  27376. type: integer
  27377. produces:
  27378. - application/json
  27379. responses:
  27380. "200":
  27381. description: OK
  27382. schema:
  27383. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27384. "500":
  27385. description: Internal Server Error
  27386. schema:
  27387. $ref: '#/definitions/app.Response'
  27388. security:
  27389. - ApiKeyAuth: []
  27390. summary: 获取企业风管期货成交单信息
  27391. tags:
  27392. - 企业风险管理(app)
  27393. /Ermcp/QueryErmcpTradePosition:
  27394. get:
  27395. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27396. parameters:
  27397. - description: 资金账户ID
  27398. in: query
  27399. name: accountID
  27400. required: true
  27401. type: integer
  27402. - description: 所属市场ID
  27403. in: query
  27404. name: marketID
  27405. type: integer
  27406. produces:
  27407. - application/json
  27408. responses:
  27409. "200":
  27410. description: OK
  27411. schema:
  27412. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27413. "500":
  27414. description: Internal Server Error
  27415. schema:
  27416. $ref: '#/definitions/app.Response'
  27417. security:
  27418. - ApiKeyAuth: []
  27419. summary: 获取企业风管期货持仓头寸信息
  27420. tags:
  27421. - 企业风险管理(app)
  27422. /Ermcp/QueryExposureDetail:
  27423. get:
  27424. parameters:
  27425. - description: 所属机构ID
  27426. in: query
  27427. name: areaUserId
  27428. required: true
  27429. type: integer
  27430. - description: 套保商品
  27431. in: query
  27432. name: middleGoodsId
  27433. required: true
  27434. type: integer
  27435. produces:
  27436. - application/json
  27437. responses:
  27438. "200":
  27439. description: OK
  27440. schema:
  27441. items:
  27442. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27443. type: array
  27444. "500":
  27445. description: Internal Server Error
  27446. schema:
  27447. $ref: '#/definitions/app.Response'
  27448. security:
  27449. - ApiKeyAuth: []
  27450. summary: 查询敞口现货明细
  27451. tags:
  27452. - 企业风险管理(app)
  27453. /Ermcp/QueryExposureGoods:
  27454. get:
  27455. parameters:
  27456. - description: 套保商品id
  27457. in: query
  27458. name: middlegoodsid
  27459. required: true
  27460. type: integer
  27461. produces:
  27462. - application/json
  27463. responses:
  27464. "200":
  27465. description: OK
  27466. schema:
  27467. items:
  27468. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27469. type: array
  27470. "500":
  27471. description: Internal Server Error
  27472. schema:
  27473. $ref: '#/definitions/app.Response'
  27474. security:
  27475. - ApiKeyAuth: []
  27476. summary: 查询敞口主力合约
  27477. tags:
  27478. - 企业风险管理(app)
  27479. /Ermcp/QueryExposureHedgePosition:
  27480. get:
  27481. parameters:
  27482. - description: 用户id
  27483. in: query
  27484. name: userid
  27485. required: true
  27486. type: integer
  27487. produces:
  27488. - application/json
  27489. responses:
  27490. "200":
  27491. description: OK
  27492. schema:
  27493. items:
  27494. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27495. type: array
  27496. "500":
  27497. description: Internal Server Error
  27498. schema:
  27499. $ref: '#/definitions/app.Response'
  27500. security:
  27501. - ApiKeyAuth: []
  27502. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27503. tags:
  27504. - 企业风险管理(app)
  27505. /Ermcp/QueryExposureHedgePositionDetail:
  27506. get:
  27507. parameters:
  27508. - description: 所属机构ID
  27509. in: query
  27510. name: userid
  27511. required: true
  27512. type: integer
  27513. - description: 商品id
  27514. in: query
  27515. name: goodsId
  27516. required: true
  27517. type: integer
  27518. produces:
  27519. - application/json
  27520. responses:
  27521. "200":
  27522. description: OK
  27523. schema:
  27524. items:
  27525. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27526. type: array
  27527. "500":
  27528. description: Internal Server Error
  27529. schema:
  27530. $ref: '#/definitions/app.Response'
  27531. security:
  27532. - ApiKeyAuth: []
  27533. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27534. tags:
  27535. - 企业风险管理(app)
  27536. /Ermcp/QueryExposureSpot:
  27537. get:
  27538. parameters:
  27539. - description: 所属机构ID
  27540. in: query
  27541. name: areaUserId
  27542. required: true
  27543. type: integer
  27544. produces:
  27545. - application/json
  27546. responses:
  27547. "200":
  27548. description: OK
  27549. schema:
  27550. items:
  27551. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27552. type: array
  27553. "500":
  27554. description: Internal Server Error
  27555. schema:
  27556. $ref: '#/definitions/app.Response'
  27557. security:
  27558. - ApiKeyAuth: []
  27559. summary: 查询敞口现货头寸(敞口/现货头寸)
  27560. tags:
  27561. - 企业风险管理(app)
  27562. /Ermcp/QueryExposureSpotDetail:
  27563. get:
  27564. parameters:
  27565. - description: 所属机构ID
  27566. in: query
  27567. name: areaUserId
  27568. required: true
  27569. type: integer
  27570. - description: 现货品种ID
  27571. in: query
  27572. name: wrstandardId
  27573. required: true
  27574. type: integer
  27575. produces:
  27576. - application/json
  27577. responses:
  27578. "200":
  27579. description: OK
  27580. schema:
  27581. items:
  27582. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27583. type: array
  27584. "500":
  27585. description: Internal Server Error
  27586. schema:
  27587. $ref: '#/definitions/app.Response'
  27588. security:
  27589. - ApiKeyAuth: []
  27590. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27591. tags:
  27592. - 企业风险管理(app)
  27593. /Ermcp/QueryFuturesCompany:
  27594. get:
  27595. produces:
  27596. - application/json
  27597. responses:
  27598. "200":
  27599. description: OK
  27600. schema:
  27601. items:
  27602. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27603. type: array
  27604. "500":
  27605. description: Internal Server Error
  27606. schema:
  27607. $ref: '#/definitions/app.Response'
  27608. security:
  27609. - ApiKeyAuth: []
  27610. summary: 查询期货公司
  27611. tags:
  27612. - 企业风险管理(app)
  27613. /Ermcp/QueryGGConvertConfig:
  27614. get:
  27615. parameters:
  27616. - description: 品种id(不填则查所有)
  27617. in: query
  27618. name: goodsgroupid
  27619. type: integer
  27620. produces:
  27621. - application/json
  27622. responses:
  27623. "200":
  27624. description: OK
  27625. schema:
  27626. items:
  27627. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27628. type: array
  27629. "500":
  27630. description: Internal Server Error
  27631. schema:
  27632. $ref: '#/definitions/app.Response'
  27633. security:
  27634. - ApiKeyAuth: []
  27635. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27636. tags:
  27637. - 企业风险管理(app)
  27638. /Ermcp/QueryGoodsBrand:
  27639. get:
  27640. parameters:
  27641. - description: 用户ID
  27642. in: query
  27643. name: userid
  27644. required: true
  27645. type: integer
  27646. - description: 现货商品ID
  27647. in: query
  27648. name: wrstandardid
  27649. type: integer
  27650. produces:
  27651. - application/json
  27652. responses:
  27653. "200":
  27654. description: OK
  27655. schema:
  27656. items:
  27657. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27658. type: array
  27659. "500":
  27660. description: Internal Server Error
  27661. schema:
  27662. $ref: '#/definitions/app.Response'
  27663. security:
  27664. - ApiKeyAuth: []
  27665. summary: 查询商品品牌
  27666. tags:
  27667. - 企业风险管理(app)
  27668. /Ermcp/QueryGoodsModel:
  27669. get:
  27670. parameters:
  27671. - description: 用户ID
  27672. in: query
  27673. name: userid
  27674. required: true
  27675. type: integer
  27676. produces:
  27677. - application/json
  27678. responses:
  27679. "200":
  27680. description: OK
  27681. schema:
  27682. items:
  27683. $ref: '#/definitions/models.ErmcpGoodsModel'
  27684. type: array
  27685. "500":
  27686. description: Internal Server Error
  27687. schema:
  27688. $ref: '#/definitions/app.Response'
  27689. security:
  27690. - ApiKeyAuth: []
  27691. summary: 查询商品型号
  27692. tags:
  27693. - 企业风险管理(app)
  27694. /Ermcp/QueryHisExposure:
  27695. get:
  27696. parameters:
  27697. - description: 用户id
  27698. in: query
  27699. name: userid
  27700. required: true
  27701. type: integer
  27702. - description: 每个品种记录数
  27703. in: query
  27704. name: lastNum
  27705. required: true
  27706. type: integer
  27707. produces:
  27708. - application/json
  27709. responses:
  27710. "200":
  27711. description: OK
  27712. schema:
  27713. items:
  27714. $ref: '#/definitions/ermcp.HisExposureRsp'
  27715. type: array
  27716. "500":
  27717. description: Internal Server Error
  27718. schema:
  27719. $ref: '#/definitions/app.Response'
  27720. security:
  27721. - ApiKeyAuth: []
  27722. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27723. tags:
  27724. - 企业风险管理(app)
  27725. /Ermcp/QueryMiddleGoods:
  27726. get:
  27727. parameters:
  27728. - description: 所属机构ID
  27729. in: query
  27730. name: userid
  27731. required: true
  27732. type: integer
  27733. - description: 状态 0-停用 1-正常
  27734. in: query
  27735. name: status
  27736. required: true
  27737. type: integer
  27738. produces:
  27739. - application/json
  27740. responses:
  27741. "200":
  27742. description: OK
  27743. schema:
  27744. items:
  27745. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27746. type: array
  27747. "500":
  27748. description: Internal Server Error
  27749. schema:
  27750. $ref: '#/definitions/app.Response'
  27751. security:
  27752. - ApiKeyAuth: []
  27753. summary: 查询套保品种(菜单:套保品种)
  27754. tags:
  27755. - 企业风险管理(app)
  27756. /Ermcp/QueryMiddleGoodsChangeLog:
  27757. get:
  27758. parameters:
  27759. - description: 所属机构ID
  27760. in: query
  27761. name: userid
  27762. required: true
  27763. type: integer
  27764. - description: 套保品种id
  27765. in: query
  27766. name: middlegoodsid
  27767. required: true
  27768. type: integer
  27769. produces:
  27770. - application/json
  27771. responses:
  27772. "200":
  27773. description: OK
  27774. schema:
  27775. items:
  27776. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27777. type: array
  27778. "500":
  27779. description: Internal Server Error
  27780. schema:
  27781. $ref: '#/definitions/app.Response'
  27782. security:
  27783. - ApiKeyAuth: []
  27784. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27785. tags:
  27786. - 企业风险管理(app)
  27787. /Ermcp/QueryMiddleGoodsDetail:
  27788. get:
  27789. parameters:
  27790. - description: 所属机构ID
  27791. in: query
  27792. name: userid
  27793. required: true
  27794. type: integer
  27795. - description: 套保品种id
  27796. in: query
  27797. name: middlegoodsid
  27798. type: integer
  27799. produces:
  27800. - application/json
  27801. responses:
  27802. "200":
  27803. description: OK
  27804. schema:
  27805. items:
  27806. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27807. type: array
  27808. "500":
  27809. description: Internal Server Error
  27810. schema:
  27811. $ref: '#/definitions/app.Response'
  27812. security:
  27813. - ApiKeyAuth: []
  27814. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27815. tags:
  27816. - 企业风险管理(app)
  27817. /Ermcp/QueryPendingAuditInfo:
  27818. get:
  27819. parameters:
  27820. - description: 用户ID
  27821. in: query
  27822. name: UserId
  27823. required: true
  27824. type: integer
  27825. produces:
  27826. - application/json
  27827. responses:
  27828. "200":
  27829. description: OK
  27830. schema:
  27831. items:
  27832. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27833. type: array
  27834. "500":
  27835. description: Internal Server Error
  27836. schema:
  27837. $ref: '#/definitions/app.Response'
  27838. security:
  27839. - ApiKeyAuth: []
  27840. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27841. tags:
  27842. - 企业风险管理(app)
  27843. /Ermcp/QueryRealtimeExposure:
  27844. get:
  27845. parameters:
  27846. - description: 所属机构ID
  27847. in: query
  27848. name: userid
  27849. required: true
  27850. type: integer
  27851. produces:
  27852. - application/json
  27853. responses:
  27854. "200":
  27855. description: OK
  27856. schema:
  27857. items:
  27858. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27859. type: array
  27860. "500":
  27861. description: Internal Server Error
  27862. schema:
  27863. $ref: '#/definitions/app.Response'
  27864. security:
  27865. - ApiKeyAuth: []
  27866. summary: 查询实时敞口
  27867. tags:
  27868. - 企业风险管理(app)
  27869. /Ermcp/QueryRealtimeExposurePosition:
  27870. get:
  27871. parameters:
  27872. - description: 用户id
  27873. in: query
  27874. name: userid
  27875. required: true
  27876. type: integer
  27877. - description: 套保商品ID
  27878. in: query
  27879. name: middleGoodsId
  27880. required: true
  27881. type: integer
  27882. produces:
  27883. - application/json
  27884. responses:
  27885. "200":
  27886. description: OK
  27887. schema:
  27888. items:
  27889. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27890. type: array
  27891. "500":
  27892. description: Internal Server Error
  27893. schema:
  27894. $ref: '#/definitions/app.Response'
  27895. security:
  27896. - ApiKeyAuth: []
  27897. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27898. tags:
  27899. - 企业风险管理(app)
  27900. /Ermcp/QueryRoleMenu:
  27901. get:
  27902. parameters:
  27903. - description: 登录ID
  27904. in: query
  27905. name: loginid
  27906. required: true
  27907. type: integer
  27908. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27909. in: query
  27910. name: menutype
  27911. type: integer
  27912. produces:
  27913. - application/json
  27914. responses:
  27915. "200":
  27916. description: OK
  27917. schema:
  27918. items:
  27919. $ref: '#/definitions/models.RoleMenu'
  27920. type: array
  27921. "500":
  27922. description: Internal Server Error
  27923. schema:
  27924. $ref: '#/definitions/app.Response'
  27925. security:
  27926. - ApiKeyAuth: []
  27927. summary: 查询角色菜单和权限
  27928. tags:
  27929. - 企业风险管理(app)
  27930. /Ermcp/QueryTradeConfigTMP:
  27931. get:
  27932. parameters:
  27933. - description: 所属机构id
  27934. in: query
  27935. name: areauserid
  27936. type: integer
  27937. produces:
  27938. - application/json
  27939. responses:
  27940. "200":
  27941. description: OK
  27942. schema:
  27943. items:
  27944. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27945. type: array
  27946. "500":
  27947. description: Internal Server Error
  27948. schema:
  27949. $ref: '#/definitions/app.Response'
  27950. security:
  27951. - ApiKeyAuth: []
  27952. summary: 查询交易模板配置
  27953. tags:
  27954. - 企业风险管理(app)
  27955. /Ermcp/QueryUserInfo:
  27956. get:
  27957. parameters:
  27958. - description: 所属机构用户ID
  27959. in: query
  27960. name: MemberUserID
  27961. required: true
  27962. type: integer
  27963. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27964. in: query
  27965. name: queryType
  27966. required: true
  27967. type: integer
  27968. produces:
  27969. - application/json
  27970. responses:
  27971. "200":
  27972. description: OK
  27973. schema:
  27974. items:
  27975. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  27976. type: array
  27977. "500":
  27978. description: Internal Server Error
  27979. schema:
  27980. $ref: '#/definitions/app.Response'
  27981. security:
  27982. - ApiKeyAuth: []
  27983. summary: 查询客户资料
  27984. tags:
  27985. - 企业风险管理(app)
  27986. /Ermcp/QueryWarehouseInfo:
  27987. get:
  27988. parameters:
  27989. - description: 用户ID
  27990. in: query
  27991. name: userid
  27992. required: true
  27993. type: integer
  27994. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27995. in: query
  27996. name: status
  27997. type: string
  27998. produces:
  27999. - application/json
  28000. responses:
  28001. "200":
  28002. description: OK
  28003. schema:
  28004. items:
  28005. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28006. type: array
  28007. "500":
  28008. description: Internal Server Error
  28009. schema:
  28010. $ref: '#/definitions/app.Response'
  28011. security:
  28012. - ApiKeyAuth: []
  28013. summary: 查询仓库信息
  28014. tags:
  28015. - 企业风险管理(app)
  28016. /Ermcp3/QryAreaExpourseContractDetail:
  28017. get:
  28018. parameters:
  28019. - description: 用户ID
  28020. in: query
  28021. name: userid
  28022. required: true
  28023. type: integer
  28024. - description: 套保商品id
  28025. in: query
  28026. name: middlegoodsid
  28027. required: true
  28028. type: integer
  28029. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28030. in: query
  28031. name: cycletype
  28032. required: true
  28033. type: integer
  28034. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28035. 全(0)【原值】
  28036. in: query
  28037. name: cycletime
  28038. required: true
  28039. type: string
  28040. produces:
  28041. - application/json
  28042. responses:
  28043. "200":
  28044. description: OK
  28045. schema:
  28046. items:
  28047. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28048. type: array
  28049. "500":
  28050. description: Internal Server Error
  28051. schema:
  28052. $ref: '#/definitions/app.Response'
  28053. security:
  28054. - ApiKeyAuth: []
  28055. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28056. tags:
  28057. - 企业风险管理v3(app)
  28058. /Ermcp3/QryAreaExpourseFutuDetail:
  28059. get:
  28060. parameters:
  28061. - description: 用户ID
  28062. in: query
  28063. name: userid
  28064. required: true
  28065. type: integer
  28066. - description: 套保商品id
  28067. in: query
  28068. name: middlegoodsid
  28069. required: true
  28070. type: integer
  28071. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28072. in: query
  28073. name: cycletype
  28074. required: true
  28075. type: integer
  28076. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28077. 全(0)【原值】
  28078. in: query
  28079. name: cycletime
  28080. required: true
  28081. type: string
  28082. produces:
  28083. - application/json
  28084. responses:
  28085. "200":
  28086. description: OK
  28087. schema:
  28088. items:
  28089. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28090. type: array
  28091. "500":
  28092. description: Internal Server Error
  28093. schema:
  28094. $ref: '#/definitions/app.Response'
  28095. security:
  28096. - ApiKeyAuth: []
  28097. summary: 查询敞口期货明细(敞口报表/期货明细)
  28098. tags:
  28099. - 企业风险管理v3(app)
  28100. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28101. get:
  28102. parameters:
  28103. - description: 用户ID
  28104. in: query
  28105. name: userid
  28106. required: true
  28107. type: integer
  28108. - description: 套保商品id
  28109. in: query
  28110. name: middlegoodsid
  28111. required: true
  28112. type: integer
  28113. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28114. in: query
  28115. name: cycletype
  28116. required: true
  28117. type: integer
  28118. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28119. 全(0)【原值】
  28120. in: query
  28121. name: cycletime
  28122. required: true
  28123. type: string
  28124. produces:
  28125. - application/json
  28126. responses:
  28127. "200":
  28128. description: OK
  28129. schema:
  28130. items:
  28131. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28132. type: array
  28133. "500":
  28134. description: Internal Server Error
  28135. schema:
  28136. $ref: '#/definitions/app.Response'
  28137. security:
  28138. - ApiKeyAuth: []
  28139. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28140. tags:
  28141. - 企业风险管理v3(app)
  28142. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28143. get:
  28144. parameters:
  28145. - description: 用户ID
  28146. in: query
  28147. name: userid
  28148. required: true
  28149. type: integer
  28150. - description: 套保商品id
  28151. in: query
  28152. name: middlegoodsid
  28153. required: true
  28154. type: integer
  28155. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28156. in: query
  28157. name: cycletype
  28158. required: true
  28159. type: integer
  28160. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28161. 全(0)【原值】
  28162. in: query
  28163. name: cycletime
  28164. required: true
  28165. type: string
  28166. produces:
  28167. - application/json
  28168. responses:
  28169. "200":
  28170. description: OK
  28171. schema:
  28172. items:
  28173. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28174. type: array
  28175. "500":
  28176. description: Internal Server Error
  28177. schema:
  28178. $ref: '#/definitions/app.Response'
  28179. security:
  28180. - ApiKeyAuth: []
  28181. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28182. tags:
  28183. - 企业风险管理v3(app)
  28184. /Ermcp3/QryAreaExpourseReport:
  28185. get:
  28186. parameters:
  28187. - description: 用户ID
  28188. in: query
  28189. name: userid
  28190. required: true
  28191. type: integer
  28192. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28193. in: query
  28194. name: querytype
  28195. required: true
  28196. type: integer
  28197. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28198. in: query
  28199. name: cycletype
  28200. required: true
  28201. type: integer
  28202. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28203. 全(0)【原值】
  28204. in: query
  28205. name: cycletime
  28206. required: true
  28207. type: string
  28208. produces:
  28209. - application/json
  28210. responses:
  28211. "200":
  28212. description: OK
  28213. schema:
  28214. items:
  28215. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28216. type: array
  28217. "500":
  28218. description: Internal Server Error
  28219. schema:
  28220. $ref: '#/definitions/app.Response'
  28221. security:
  28222. - ApiKeyAuth: []
  28223. summary: 查询敞口报表
  28224. tags:
  28225. - 企业风险管理v3(app)
  28226. /Ermcp3/QryAreaSpotplReport:
  28227. get:
  28228. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28229. parameters:
  28230. - description: 用户ID
  28231. in: query
  28232. name: userid
  28233. required: true
  28234. type: integer
  28235. - description: 查询类型 1-报表 2-报表明细
  28236. in: query
  28237. name: querytype
  28238. required: true
  28239. type: integer
  28240. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28241. in: query
  28242. name: cycletype
  28243. required: true
  28244. type: integer
  28245. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28246. 全(0)【原值】
  28247. in: query
  28248. name: cycletime
  28249. required: true
  28250. type: string
  28251. - description: 现货品种id(明细必填)
  28252. in: query
  28253. name: deliverygoodsid
  28254. type: integer
  28255. - description: 币种id(明细必填)
  28256. in: query
  28257. name: currencyid
  28258. type: integer
  28259. - description: 日/周/月报表汇总维度 1:品种+品类
  28260. in: query
  28261. name: sumflag
  28262. type: integer
  28263. produces:
  28264. - application/json
  28265. responses:
  28266. "200":
  28267. description: OK
  28268. schema:
  28269. items:
  28270. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28271. type: array
  28272. "500":
  28273. description: Internal Server Error
  28274. schema:
  28275. $ref: '#/definitions/app.Response'
  28276. security:
  28277. - ApiKeyAuth: []
  28278. summary: 查询现货报表
  28279. tags:
  28280. - 企业风险管理v3(app)
  28281. /Ermcp3/QryAreaStockReport:
  28282. get:
  28283. parameters:
  28284. - description: 用户ID
  28285. in: query
  28286. name: userid
  28287. required: true
  28288. type: integer
  28289. - description: 查询类型 1-报表 2-报表明细
  28290. in: query
  28291. name: querytype
  28292. required: true
  28293. type: integer
  28294. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28295. in: query
  28296. name: cycletype
  28297. required: true
  28298. type: integer
  28299. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28300. 全(0)【原值】
  28301. in: query
  28302. name: cycletime
  28303. required: true
  28304. type: string
  28305. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28306. in: query
  28307. name: sumfields
  28308. type: string
  28309. - description: 品种ID
  28310. in: query
  28311. name: deliverygoodsid
  28312. type: integer
  28313. - description: 品类ID
  28314. in: query
  28315. name: wrstandardid
  28316. type: integer
  28317. - description: 品牌ID
  28318. in: query
  28319. name: spotgoodsbrandid
  28320. type: integer
  28321. - description: 仓库ID
  28322. in: query
  28323. name: warehouseinfoid
  28324. type: integer
  28325. produces:
  28326. - application/json
  28327. responses:
  28328. "200":
  28329. description: OK
  28330. schema:
  28331. items:
  28332. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28333. type: array
  28334. "500":
  28335. description: Internal Server Error
  28336. schema:
  28337. $ref: '#/definitions/app.Response'
  28338. security:
  28339. - ApiKeyAuth: []
  28340. summary: 查询库存报表
  28341. tags:
  28342. - 企业风险管理v3(app)
  28343. /Ermcp3/QryAreaSumPL:
  28344. get:
  28345. parameters:
  28346. - description: 用户ID
  28347. in: query
  28348. name: userid
  28349. required: true
  28350. type: integer
  28351. - description: 查询类型 1-报表 2-报表明细
  28352. in: query
  28353. name: querytype
  28354. required: true
  28355. type: integer
  28356. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28357. in: query
  28358. name: cycletype
  28359. required: true
  28360. type: integer
  28361. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28362. 全(0)【原值】
  28363. in: query
  28364. name: cycletime
  28365. required: true
  28366. type: string
  28367. - description: 币种id(明细必填)
  28368. in: query
  28369. name: currencyid
  28370. type: integer
  28371. - description: 套保品种ID, 查询类型为2时起效
  28372. in: query
  28373. name: middlegoodsid
  28374. type: integer
  28375. produces:
  28376. - application/json
  28377. responses:
  28378. "200":
  28379. description: OK
  28380. schema:
  28381. items:
  28382. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28383. type: array
  28384. "500":
  28385. description: Internal Server Error
  28386. schema:
  28387. $ref: '#/definitions/app.Response'
  28388. security:
  28389. - ApiKeyAuth: []
  28390. summary: 查询汇总损益表
  28391. tags:
  28392. - 企业风险管理v3(app)
  28393. /Ermcp3/QryFinanceReport:
  28394. get:
  28395. parameters:
  28396. - description: 用户ID
  28397. in: query
  28398. name: userid
  28399. required: true
  28400. type: integer
  28401. - description: 查询类型 1-报表 2-报表明细
  28402. in: query
  28403. name: querytype
  28404. required: true
  28405. type: integer
  28406. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28407. in: query
  28408. name: cycletype
  28409. required: true
  28410. type: integer
  28411. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28412. 全(0)【原值】
  28413. in: query
  28414. name: cycletime
  28415. required: true
  28416. type: string
  28417. - description: 币种id(报表明细必填)
  28418. in: query
  28419. name: currencyid
  28420. type: integer
  28421. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28422. in: query
  28423. name: sumfields
  28424. type: string
  28425. produces:
  28426. - application/json
  28427. responses:
  28428. "200":
  28429. description: OK
  28430. schema:
  28431. items:
  28432. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28433. type: array
  28434. "500":
  28435. description: Internal Server Error
  28436. schema:
  28437. $ref: '#/definitions/app.Response'
  28438. security:
  28439. - ApiKeyAuth: []
  28440. summary: 查询财务报表
  28441. tags:
  28442. - 企业风险管理v3(app)
  28443. /Ermcp3/QrySCMiddleGoodsReport:
  28444. get:
  28445. parameters:
  28446. - description: 用户ID
  28447. in: query
  28448. name: userid
  28449. required: true
  28450. type: integer
  28451. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28452. in: query
  28453. name: cycletype
  28454. required: true
  28455. type: integer
  28456. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28457. 全(0)【原值】
  28458. in: query
  28459. name: cycletime
  28460. required: true
  28461. type: string
  28462. - description: 合同id
  28463. in: query
  28464. name: spotcontractid
  28465. type: integer
  28466. - description: 套保品种id
  28467. in: query
  28468. name: middlegoodsid
  28469. type: integer
  28470. - description: 现货品种id
  28471. in: query
  28472. name: deliverygoodsid
  28473. type: integer
  28474. - description: 现货商品id
  28475. in: query
  28476. name: wrstandardid
  28477. type: integer
  28478. - description: 合同编号(模糊匹配)
  28479. in: query
  28480. name: contractno
  28481. type: string
  28482. produces:
  28483. - application/json
  28484. responses:
  28485. "200":
  28486. description: OK
  28487. schema:
  28488. items:
  28489. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28490. type: array
  28491. "500":
  28492. description: Internal Server Error
  28493. schema:
  28494. $ref: '#/definitions/app.Response'
  28495. security:
  28496. - ApiKeyAuth: []
  28497. summary: 查询定价报表
  28498. tags:
  28499. - 企业风险管理v3(app)
  28500. /Ermcp3/QryTaFutureDataReport:
  28501. get:
  28502. parameters:
  28503. - description: 用户ID
  28504. in: query
  28505. name: userid
  28506. required: true
  28507. type: integer
  28508. - description: 查询类型 1-报表 2-报表明细
  28509. in: query
  28510. name: querytype
  28511. required: true
  28512. type: integer
  28513. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28514. in: query
  28515. name: cycletype
  28516. required: true
  28517. type: integer
  28518. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28519. 全(0)【原值】
  28520. in: query
  28521. name: cycletime
  28522. required: true
  28523. type: string
  28524. - description: 币种id(查明细必填)
  28525. in: query
  28526. name: currencyid
  28527. type: integer
  28528. - description: 品种id(查明细必填)
  28529. in: query
  28530. name: goodsgroupid
  28531. type: integer
  28532. - description: 商品id(查明细必填)
  28533. in: query
  28534. name: goodsid
  28535. type: integer
  28536. - description: 买卖方向(查明细必填)
  28537. in: query
  28538. name: buyorsell
  28539. type: integer
  28540. produces:
  28541. - application/json
  28542. responses:
  28543. "200":
  28544. description: OK
  28545. schema:
  28546. items:
  28547. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28548. type: array
  28549. "500":
  28550. description: Internal Server Error
  28551. schema:
  28552. $ref: '#/definitions/app.Response'
  28553. security:
  28554. - ApiKeyAuth: []
  28555. summary: 查询期货报表
  28556. tags:
  28557. - 企业风险管理v3(app)
  28558. /Ermcp3/QueryAreaStock:
  28559. get:
  28560. parameters:
  28561. - description: 用户ID
  28562. in: query
  28563. name: userid
  28564. required: true
  28565. type: integer
  28566. produces:
  28567. - application/json
  28568. responses:
  28569. "200":
  28570. description: OK
  28571. schema:
  28572. items:
  28573. $ref: '#/definitions/models.Ermcp3AreaStock'
  28574. type: array
  28575. "500":
  28576. description: Internal Server Error
  28577. schema:
  28578. $ref: '#/definitions/app.Response'
  28579. security:
  28580. - ApiKeyAuth: []
  28581. summary: 查询机构库存(库存管理/当前库存)
  28582. tags:
  28583. - 企业风险管理v3(app)
  28584. /Ermcp3/QueryAreaStockApply:
  28585. get:
  28586. parameters:
  28587. - description: 用户ID
  28588. in: query
  28589. name: userid
  28590. required: true
  28591. type: integer
  28592. - description: 用户类型 2-机构 7-企业成员
  28593. in: query
  28594. name: usertype
  28595. type: integer
  28596. - description: 现货商品ID
  28597. in: query
  28598. name: deliverygoodsid
  28599. type: integer
  28600. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28601. in: query
  28602. name: inouttype
  28603. type: string
  28604. - description: 合同ID
  28605. in: query
  28606. name: spotcontractid
  28607. type: integer
  28608. - description: 品类ID
  28609. in: query
  28610. name: wrstandardid
  28611. type: integer
  28612. - description: 品牌ID
  28613. in: query
  28614. name: spotgoodsbrandid
  28615. type: integer
  28616. - description: 仓库ID
  28617. in: query
  28618. name: warehouseinfoid
  28619. type: integer
  28620. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28621. in: query
  28622. name: applystatus
  28623. type: string
  28624. produces:
  28625. - application/json
  28626. responses:
  28627. "200":
  28628. description: OK
  28629. schema:
  28630. items:
  28631. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28632. type: array
  28633. "500":
  28634. description: Internal Server Error
  28635. schema:
  28636. $ref: '#/definitions/app.Response'
  28637. security:
  28638. - ApiKeyAuth: []
  28639. summary: 查询库存申请(出入库记录|库存审核)
  28640. tags:
  28641. - 企业风险管理v3(app)
  28642. /Ermcp3/QueryAreaStockApplySum:
  28643. get:
  28644. parameters:
  28645. - description: 合同ID
  28646. in: query
  28647. name: spotcontractid
  28648. required: true
  28649. type: integer
  28650. produces:
  28651. - application/json
  28652. responses:
  28653. "200":
  28654. description: OK
  28655. schema:
  28656. items:
  28657. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28658. type: array
  28659. "500":
  28660. description: Internal Server Error
  28661. schema:
  28662. $ref: '#/definitions/app.Response'
  28663. security:
  28664. - ApiKeyAuth: []
  28665. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28666. tags:
  28667. - 企业风险管理v3(app)
  28668. /Ermcp3/QueryDGFactoryItem:
  28669. get:
  28670. parameters:
  28671. - description: 用户id
  28672. in: query
  28673. name: userid
  28674. type: integer
  28675. - description: 用户类型 2-机构 7-企业成员
  28676. in: query
  28677. name: usertype
  28678. type: integer
  28679. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28680. in: query
  28681. name: dgfactoryitemid
  28682. type: integer
  28683. - description: 现货品种ID
  28684. in: query
  28685. name: deliverygoodsid
  28686. type: integer
  28687. - description: 要素项类型
  28688. in: query
  28689. name: dgfactoryitemtypeid
  28690. type: integer
  28691. - description: 顺序
  28692. in: query
  28693. name: orderindex
  28694. type: integer
  28695. produces:
  28696. - application/json
  28697. responses:
  28698. "200":
  28699. description: OK
  28700. schema:
  28701. items:
  28702. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28703. type: array
  28704. "500":
  28705. description: Internal Server Error
  28706. schema:
  28707. $ref: '#/definitions/app.Response'
  28708. security:
  28709. - ApiKeyAuth: []
  28710. summary: 查询品种要素定义项
  28711. tags:
  28712. - 企业风险管理v3(app)
  28713. /Ermcp3/QueryDeliveryGoods:
  28714. get:
  28715. parameters:
  28716. - description: 用户id
  28717. in: query
  28718. name: userid
  28719. required: true
  28720. type: integer
  28721. - description: 用户类型 2-机构 7-企业成员
  28722. in: query
  28723. name: usertype
  28724. type: integer
  28725. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28726. in: query
  28727. name: excludecfg
  28728. type: integer
  28729. produces:
  28730. - application/json
  28731. responses:
  28732. "200":
  28733. description: OK
  28734. schema:
  28735. items:
  28736. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28737. type: array
  28738. "500":
  28739. description: Internal Server Error
  28740. schema:
  28741. $ref: '#/definitions/app.Response'
  28742. security:
  28743. - ApiKeyAuth: []
  28744. summary: 查询现货商品
  28745. tags:
  28746. - 企业风险管理v3(app)
  28747. /Ermcp3/QueryDeliveryGoodsDetail:
  28748. get:
  28749. parameters:
  28750. - description: 用户id
  28751. in: query
  28752. name: userid
  28753. required: true
  28754. type: integer
  28755. - description: 用户类型 2-机构 7-企业成员
  28756. in: query
  28757. name: usertype
  28758. type: integer
  28759. - description: 现货商品id
  28760. in: query
  28761. name: deliverygoodsid
  28762. type: integer
  28763. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28764. in: query
  28765. name: filtersubempty
  28766. type: integer
  28767. produces:
  28768. - application/json
  28769. responses:
  28770. "200":
  28771. description: OK
  28772. schema:
  28773. items:
  28774. $ref: '#/definitions/models.XHDeliveryGoods'
  28775. type: array
  28776. "500":
  28777. description: Internal Server Error
  28778. schema:
  28779. $ref: '#/definitions/app.Response'
  28780. security:
  28781. - ApiKeyAuth: []
  28782. summary: 查询现货商品详情
  28783. tags:
  28784. - 企业风险管理v3(app)
  28785. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28786. get:
  28787. parameters:
  28788. - description: 合同id
  28789. in: query
  28790. name: spotcontractid
  28791. required: true
  28792. type: string
  28793. produces:
  28794. - application/json
  28795. responses:
  28796. "200":
  28797. description: OK
  28798. schema:
  28799. items:
  28800. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28801. type: array
  28802. "500":
  28803. description: Internal Server Error
  28804. schema:
  28805. $ref: '#/definitions/app.Response'
  28806. security:
  28807. - ApiKeyAuth: []
  28808. summary: 查询现货合同期现配置信息
  28809. tags:
  28810. - 企业风险管理v3(app)
  28811. /Ermcp3/QueryExposureDetail:
  28812. get:
  28813. parameters:
  28814. - description: 用户id
  28815. in: query
  28816. name: userid
  28817. required: true
  28818. type: integer
  28819. - description: 用户类型 2-机构 7-企业成员
  28820. in: query
  28821. name: usertype
  28822. type: integer
  28823. - description: 套保商品
  28824. in: query
  28825. name: middlegoodsid
  28826. required: true
  28827. type: integer
  28828. produces:
  28829. - application/json
  28830. responses:
  28831. "200":
  28832. description: OK
  28833. schema:
  28834. items:
  28835. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28836. type: array
  28837. "500":
  28838. description: Internal Server Error
  28839. schema:
  28840. $ref: '#/definitions/app.Response'
  28841. security:
  28842. - ApiKeyAuth: []
  28843. summary: 查询敞口现货明细
  28844. tags:
  28845. - 企业风险管理v3(app)
  28846. /Ermcp3/QueryExposureSpot:
  28847. get:
  28848. parameters:
  28849. - description: 用户id
  28850. in: query
  28851. name: userid
  28852. required: true
  28853. type: integer
  28854. - description: 用户类型 2-机构 7-企业成员
  28855. in: query
  28856. name: usertype
  28857. type: integer
  28858. produces:
  28859. - application/json
  28860. responses:
  28861. "200":
  28862. description: OK
  28863. schema:
  28864. items:
  28865. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28866. type: array
  28867. "500":
  28868. description: Internal Server Error
  28869. schema:
  28870. $ref: '#/definitions/app.Response'
  28871. security:
  28872. - ApiKeyAuth: []
  28873. summary: 查询敞口现货头寸(敞口/现货头寸)
  28874. tags:
  28875. - 企业风险管理v3(app)
  28876. /Ermcp3/QueryExposureSpotDetail:
  28877. get:
  28878. parameters:
  28879. - description: 用户id
  28880. in: query
  28881. name: userid
  28882. required: true
  28883. type: integer
  28884. - description: 用户类型 2-机构 7-企业成员
  28885. in: query
  28886. name: usertype
  28887. type: integer
  28888. - description: 现货商品ID
  28889. in: query
  28890. name: wrstandardid
  28891. required: true
  28892. type: integer
  28893. produces:
  28894. - application/json
  28895. responses:
  28896. "200":
  28897. description: OK
  28898. schema:
  28899. items:
  28900. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28901. type: array
  28902. "500":
  28903. description: Internal Server Error
  28904. schema:
  28905. $ref: '#/definitions/app.Response'
  28906. security:
  28907. - ApiKeyAuth: []
  28908. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28909. tags:
  28910. - 企业风险管理v3(app)
  28911. /Ermcp3/QueryGoodsGroup:
  28912. get:
  28913. parameters:
  28914. - description: 用户id
  28915. in: query
  28916. name: userid
  28917. required: true
  28918. type: integer
  28919. - description: 用户类型 2-机构 7-企业成员
  28920. in: query
  28921. name: usertype
  28922. type: integer
  28923. - description: 排除套保品中已关联的商品组 1-排除
  28924. in: query
  28925. name: excludecfg
  28926. type: integer
  28927. produces:
  28928. - application/json
  28929. responses:
  28930. "200":
  28931. description: OK
  28932. schema:
  28933. items:
  28934. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28935. type: array
  28936. "500":
  28937. description: Internal Server Error
  28938. schema:
  28939. $ref: '#/definitions/app.Response'
  28940. security:
  28941. - ApiKeyAuth: []
  28942. summary: 查询期货商品组
  28943. tags:
  28944. - 企业风险管理v3(app)
  28945. /Ermcp3/QueryGoodsWrstandard:
  28946. get:
  28947. parameters:
  28948. - description: 用户id
  28949. in: query
  28950. name: userid
  28951. required: true
  28952. type: integer
  28953. - description: 用户类型 2-机构 7-企业成员
  28954. in: query
  28955. name: usertype
  28956. type: integer
  28957. - description: 现货商品id
  28958. in: query
  28959. name: deliverygoodsid
  28960. type: integer
  28961. produces:
  28962. - application/json
  28963. responses:
  28964. "200":
  28965. description: OK
  28966. schema:
  28967. items:
  28968. $ref: '#/definitions/models.Ermcp3Wrstandard'
  28969. type: array
  28970. "500":
  28971. description: Internal Server Error
  28972. schema:
  28973. $ref: '#/definitions/app.Response'
  28974. security:
  28975. - ApiKeyAuth: []
  28976. summary: 查询商品品类
  28977. tags:
  28978. - 企业风险管理v3(app)
  28979. /Ermcp3/QueryGoodsbrand:
  28980. get:
  28981. parameters:
  28982. - description: 用户id
  28983. in: query
  28984. name: userid
  28985. required: true
  28986. type: integer
  28987. - description: 用户类型 2-机构 7-企业成员
  28988. in: query
  28989. name: usertype
  28990. type: integer
  28991. produces:
  28992. - application/json
  28993. responses:
  28994. "200":
  28995. description: OK
  28996. schema:
  28997. items:
  28998. $ref: '#/definitions/models.Ermcp3Brand'
  28999. type: array
  29000. "500":
  29001. description: Internal Server Error
  29002. schema:
  29003. $ref: '#/definitions/app.Response'
  29004. security:
  29005. - ApiKeyAuth: []
  29006. summary: 查询商品品牌
  29007. tags:
  29008. - 企业风险管理v3(app)
  29009. /Ermcp3/QueryHPMiddleGoods:
  29010. get:
  29011. parameters:
  29012. - description: 用户ID(填登录用户的userid)
  29013. in: query
  29014. name: userid
  29015. required: true
  29016. type: integer
  29017. - description: 买卖方向 0-买 1-卖
  29018. in: query
  29019. name: buyorsell
  29020. required: true
  29021. type: integer
  29022. - description: 商品组id
  29023. in: query
  29024. name: goodsgroupid
  29025. required: true
  29026. type: integer
  29027. - description: 套保计划编号(模糊匹配)
  29028. in: query
  29029. name: hedgeplanno
  29030. type: string
  29031. - description: 现货商品名称(模糊匹配)
  29032. in: query
  29033. name: wrstandardname
  29034. type: string
  29035. produces:
  29036. - application/json
  29037. responses:
  29038. "200":
  29039. description: OK
  29040. schema:
  29041. items:
  29042. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29043. type: array
  29044. "500":
  29045. description: Internal Server Error
  29046. schema:
  29047. $ref: '#/definitions/app.Response'
  29048. security:
  29049. - ApiKeyAuth: []
  29050. summary: 查询可关联套保计划
  29051. tags:
  29052. - 企业风险管理v3(app)
  29053. /Ermcp3/QueryHedgePlan:
  29054. get:
  29055. parameters:
  29056. - description: 用户ID
  29057. in: query
  29058. name: userid
  29059. required: true
  29060. type: integer
  29061. - description: 用户类型 2-机构 7-企业成员
  29062. in: query
  29063. name: usertype
  29064. type: integer
  29065. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29066. in: query
  29067. name: hedgeplanstatus
  29068. required: true
  29069. type: string
  29070. produces:
  29071. - application/json
  29072. responses:
  29073. "200":
  29074. description: OK
  29075. schema:
  29076. items:
  29077. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29078. type: array
  29079. "500":
  29080. description: Internal Server Error
  29081. schema:
  29082. $ref: '#/definitions/app.Response'
  29083. security:
  29084. - ApiKeyAuth: []
  29085. summary: 查询套保计划
  29086. tags:
  29087. - 企业风险管理v3(app)
  29088. /Ermcp3/QueryInnerTradeLink:
  29089. get:
  29090. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29091. parameters:
  29092. - description: 外部成交单号
  29093. in: query
  29094. name: outtradeid
  29095. required: true
  29096. type: integer
  29097. produces:
  29098. - application/json
  29099. responses:
  29100. "200":
  29101. description: OK
  29102. schema:
  29103. items:
  29104. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29105. type: array
  29106. "500":
  29107. description: Internal Server Error
  29108. schema:
  29109. $ref: '#/definitions/app.Response'
  29110. security:
  29111. - ApiKeyAuth: []
  29112. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29113. tags:
  29114. - 企业风险管理v3(app)
  29115. /Ermcp3/QueryMiddleGoodsDetail:
  29116. get:
  29117. parameters:
  29118. - description: 用户id
  29119. in: query
  29120. name: userid
  29121. required: true
  29122. type: integer
  29123. - description: 用户类型 2-机构 7-企业成员
  29124. in: query
  29125. name: usertype
  29126. type: integer
  29127. - description: 套保品种id
  29128. in: query
  29129. name: middlegoodsid
  29130. type: integer
  29131. produces:
  29132. - application/json
  29133. responses:
  29134. "200":
  29135. description: OK
  29136. schema:
  29137. items:
  29138. $ref: '#/definitions/models.TBMiddleGoods'
  29139. type: array
  29140. "500":
  29141. description: Internal Server Error
  29142. schema:
  29143. $ref: '#/definitions/app.Response'
  29144. security:
  29145. - ApiKeyAuth: []
  29146. summary: 查询套保品种详情(套保品种/商品详情)
  29147. tags:
  29148. - 企业风险管理v3(app)
  29149. /Ermcp3/QueryOutTradeLink:
  29150. get:
  29151. description: 页面 app 现货->期现关联->外部成交单关联
  29152. parameters:
  29153. - description: 用户ID(填登录用户的userid)
  29154. in: query
  29155. name: userid
  29156. required: true
  29157. type: integer
  29158. - description: 外部订单号(模糊匹配)
  29159. in: query
  29160. name: outtradeid
  29161. type: string
  29162. - description: 合约名称/代码(模糊匹配)
  29163. in: query
  29164. name: goodsname
  29165. type: string
  29166. - description: 关联状态 0-未关联 1-已关联
  29167. in: query
  29168. name: hasinnerorder
  29169. type: integer
  29170. produces:
  29171. - application/json
  29172. responses:
  29173. "200":
  29174. description: OK
  29175. schema:
  29176. items:
  29177. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29178. type: array
  29179. "500":
  29180. description: Internal Server Error
  29181. schema:
  29182. $ref: '#/definitions/app.Response'
  29183. security:
  29184. - ApiKeyAuth: []
  29185. summary: 查询外部成交单关联
  29186. tags:
  29187. - 企业风险管理v3(app)
  29188. /Ermcp3/QueryPaAreaAuditCfg:
  29189. get:
  29190. parameters:
  29191. - description: 用户id
  29192. in: query
  29193. name: userid
  29194. required: true
  29195. type: integer
  29196. produces:
  29197. - application/json
  29198. responses:
  29199. "200":
  29200. description: OK
  29201. schema:
  29202. items:
  29203. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29204. type: array
  29205. "500":
  29206. description: Internal Server Error
  29207. schema:
  29208. $ref: '#/definitions/app.Response'
  29209. security:
  29210. - ApiKeyAuth: []
  29211. summary: 查询审核设置
  29212. tags:
  29213. - 企业风险管理v3(app)
  29214. /Ermcp3/QueryPaAreaSubject:
  29215. get:
  29216. parameters:
  29217. - description: 用户id
  29218. in: query
  29219. name: userid
  29220. required: true
  29221. type: integer
  29222. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29223. in: query
  29224. name: subjectid
  29225. type: integer
  29226. - description: 主体类型 - 1:交易主体 2:业务部门
  29227. in: query
  29228. name: subjecttype
  29229. type: integer
  29230. - description: '主体状态 - 1:正常 2: 停用'
  29231. in: query
  29232. name: subjectstatus
  29233. type: integer
  29234. produces:
  29235. - application/json
  29236. responses:
  29237. "200":
  29238. description: OK
  29239. schema:
  29240. items:
  29241. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29242. type: array
  29243. "500":
  29244. description: Internal Server Error
  29245. schema:
  29246. $ref: '#/definitions/app.Response'
  29247. security:
  29248. - ApiKeyAuth: []
  29249. summary: 查询交易主体
  29250. tags:
  29251. - 企业风险管理v3(app)
  29252. /Ermcp3/QueryPaTradeLink:
  29253. get:
  29254. description: 页面 app 现货->期现关联->期现单据关联
  29255. parameters:
  29256. - description: 用户ID
  29257. in: query
  29258. name: userid
  29259. required: true
  29260. type: integer
  29261. produces:
  29262. - application/json
  29263. responses:
  29264. "200":
  29265. description: OK
  29266. schema:
  29267. items:
  29268. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29269. type: array
  29270. "500":
  29271. description: Internal Server Error
  29272. schema:
  29273. $ref: '#/definitions/app.Response'
  29274. security:
  29275. - ApiKeyAuth: []
  29276. summary: 查询期现单据关联
  29277. tags:
  29278. - 企业风险管理v3(app)
  29279. /Ermcp3/QueryPaTradeLinkDetail:
  29280. get:
  29281. description: 页面 app 现货->期现关联->关联记录
  29282. parameters:
  29283. - description: 用户ID(填登录用户的userid)
  29284. in: query
  29285. name: userid
  29286. required: true
  29287. type: integer
  29288. - description: 关联状态 1:成功 2:失败 3:解绑
  29289. in: query
  29290. name: linkstatus
  29291. type: integer
  29292. - description: 期货订单号(模糊匹配)
  29293. in: query
  29294. name: tradeid
  29295. type: string
  29296. - description: 现货编号(模糊匹配)
  29297. in: query
  29298. name: contractno
  29299. type: string
  29300. - description: 期货账户(模糊匹配)
  29301. in: query
  29302. name: taname
  29303. type: string
  29304. produces:
  29305. - application/json
  29306. responses:
  29307. "200":
  29308. description: OK
  29309. schema:
  29310. items:
  29311. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29312. type: array
  29313. "500":
  29314. description: Internal Server Error
  29315. schema:
  29316. $ref: '#/definitions/app.Response'
  29317. security:
  29318. - ApiKeyAuth: []
  29319. summary: 查询期现关联记录
  29320. tags:
  29321. - 企业风险管理v3(app)
  29322. /Ermcp3/QueryParamChangeApp:
  29323. get:
  29324. description: |-
  29325. 原型页面:
  29326. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29327. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29328. parameters:
  29329. - description: 用户ID
  29330. in: query
  29331. name: userid
  29332. required: true
  29333. type: integer
  29334. - description: 现货品种id
  29335. in: query
  29336. name: deliverygoodsid
  29337. type: integer
  29338. - description: 现货商品id
  29339. in: query
  29340. name: wrstandardid
  29341. type: integer
  29342. - description: 套保商品id
  29343. in: query
  29344. name: middlegoodsid
  29345. type: integer
  29346. - description: 操作类型 1:新增 2:修改
  29347. in: query
  29348. name: operatetype
  29349. type: integer
  29350. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29351. in: query
  29352. name: paramchangetype
  29353. type: integer
  29354. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29355. in: query
  29356. name: ftstatus
  29357. type: string
  29358. produces:
  29359. - application/json
  29360. responses:
  29361. "200":
  29362. description: OK
  29363. schema:
  29364. items:
  29365. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29366. type: array
  29367. "500":
  29368. description: Internal Server Error
  29369. schema:
  29370. $ref: '#/definitions/app.Response'
  29371. security:
  29372. - ApiKeyAuth: []
  29373. summary: 查询现货商品参数变更申请(流水)
  29374. tags:
  29375. - 企业风险管理v3(app)
  29376. /Ermcp3/QueryRootUserAccount:
  29377. get:
  29378. parameters:
  29379. - description: 用户ID
  29380. in: query
  29381. name: userid
  29382. required: true
  29383. type: integer
  29384. produces:
  29385. - application/json
  29386. responses:
  29387. "200":
  29388. description: OK
  29389. schema:
  29390. items:
  29391. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29392. type: array
  29393. "500":
  29394. description: Internal Server Error
  29395. schema:
  29396. $ref: '#/definitions/app.Response'
  29397. security:
  29398. - ApiKeyAuth: []
  29399. summary: 查询顶级用户信息
  29400. tags:
  29401. - 企业风险管理v3(app)
  29402. /Ermcp3/QuerySCMiddleGoods:
  29403. get:
  29404. description: |-
  29405. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29406. 现货编号 即 合同编号
  29407. parameters:
  29408. - description: 用户ID(填登录用户的userid)
  29409. in: query
  29410. name: userid
  29411. required: true
  29412. type: integer
  29413. - description: 买卖方向 0-买 1-卖
  29414. in: query
  29415. name: buyorsell
  29416. required: true
  29417. type: integer
  29418. - description: 商品组id
  29419. in: query
  29420. name: goodsgroupid
  29421. required: true
  29422. type: integer
  29423. - description: 业务类型 1:套保 2:套利
  29424. in: query
  29425. name: biztype
  29426. type: integer
  29427. - description: 现货编号(模糊匹配)
  29428. in: query
  29429. name: contractno
  29430. type: string
  29431. - description: 对手方(模糊匹配)
  29432. in: query
  29433. name: customername
  29434. type: string
  29435. - description: 现货商品名称(模糊匹配)
  29436. in: query
  29437. name: wrstandardname
  29438. type: string
  29439. produces:
  29440. - application/json
  29441. responses:
  29442. "200":
  29443. description: OK
  29444. schema:
  29445. items:
  29446. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29447. type: array
  29448. "500":
  29449. description: Internal Server Error
  29450. schema:
  29451. $ref: '#/definitions/app.Response'
  29452. security:
  29453. - ApiKeyAuth: []
  29454. summary: 查询现货订单
  29455. tags:
  29456. - 企业风险管理v3(app)
  29457. /Ermcp3/QuerySpotContract:
  29458. get:
  29459. parameters:
  29460. - description: 用户id(当指定contractid, userid可不填)
  29461. in: query
  29462. name: userid
  29463. required: true
  29464. type: integer
  29465. - description: 用户类型 2-机构 7-企业成员
  29466. in: query
  29467. name: usertype
  29468. type: integer
  29469. - description: 合同类型 1-采购, -1-销售
  29470. in: query
  29471. name: contracttype
  29472. type: integer
  29473. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29474. in: query
  29475. name: querytype
  29476. type: string
  29477. - description: 合同ID(SpotContractId)
  29478. in: query
  29479. name: contractid
  29480. type: string
  29481. - description: 合同编号(模糊匹配)
  29482. in: query
  29483. name: contractno
  29484. type: string
  29485. - description: 商品名称(模糊匹配)
  29486. in: query
  29487. name: wrstandardname
  29488. type: string
  29489. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29490. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29491. in: query
  29492. name: status
  29493. type: string
  29494. - description: 是否只查今日的合同 1-查今日合同
  29495. in: query
  29496. name: istoday
  29497. type: integer
  29498. produces:
  29499. - application/json
  29500. responses:
  29501. "200":
  29502. description: OK
  29503. schema:
  29504. items:
  29505. $ref: '#/definitions/models.Ermcp3Contract'
  29506. type: array
  29507. "500":
  29508. description: Internal Server Error
  29509. schema:
  29510. $ref: '#/definitions/app.Response'
  29511. security:
  29512. - ApiKeyAuth: []
  29513. summary: 查询现货合同
  29514. tags:
  29515. - 企业风险管理v3(app)
  29516. /Ermcp3/QuerySpotContractBS:
  29517. get:
  29518. parameters:
  29519. - description: 用户id
  29520. in: query
  29521. name: userid
  29522. required: true
  29523. type: integer
  29524. - description: 用户类型 2-机构 7-企业成员
  29525. in: query
  29526. name: usertype
  29527. type: integer
  29528. - description: 合同类型 1-采购, -1-销售
  29529. in: query
  29530. name: contracttype
  29531. required: true
  29532. type: integer
  29533. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29534. in: query
  29535. name: querytype
  29536. type: integer
  29537. - description: 合同ID(SpotContractId)
  29538. in: query
  29539. name: contractid
  29540. type: string
  29541. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29542. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29543. in: query
  29544. name: status
  29545. type: string
  29546. - description: 是否只查今日的合同 1-查今日合同
  29547. in: query
  29548. name: istoday
  29549. type: integer
  29550. produces:
  29551. - application/json
  29552. responses:
  29553. "200":
  29554. description: OK
  29555. schema:
  29556. items:
  29557. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29558. type: array
  29559. "500":
  29560. description: Internal Server Error
  29561. schema:
  29562. $ref: '#/definitions/app.Response'
  29563. security:
  29564. - ApiKeyAuth: []
  29565. summary: 查询合同(采购/销售)
  29566. tags:
  29567. - 企业风险管理v3(app)
  29568. /Ermcp3/QuerySpotGoodsPrice:
  29569. get:
  29570. parameters:
  29571. - description: 用户ID
  29572. in: query
  29573. name: userid
  29574. required: true
  29575. type: integer
  29576. produces:
  29577. - application/json
  29578. responses:
  29579. "200":
  29580. description: OK
  29581. schema:
  29582. items:
  29583. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29584. type: array
  29585. "500":
  29586. description: Internal Server Error
  29587. schema:
  29588. $ref: '#/definitions/app.Response'
  29589. security:
  29590. - ApiKeyAuth: []
  29591. summary: 查询现货市价(现货市价)
  29592. tags:
  29593. - 企业风险管理v3(app)
  29594. /Ermcp3/QuerySpotGoodsPriceLog:
  29595. get:
  29596. parameters:
  29597. - description: 用户ID
  29598. in: query
  29599. name: userid
  29600. required: true
  29601. type: integer
  29602. - description: 现货商品ID
  29603. in: query
  29604. name: deliverygoodsid
  29605. required: true
  29606. type: integer
  29607. - description: 品牌ID
  29608. in: query
  29609. name: brandid
  29610. type: integer
  29611. - description: 品类ID
  29612. in: query
  29613. name: wrstandardid
  29614. type: integer
  29615. produces:
  29616. - application/json
  29617. responses:
  29618. "200":
  29619. description: OK
  29620. schema:
  29621. items:
  29622. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29623. type: array
  29624. "500":
  29625. description: Internal Server Error
  29626. schema:
  29627. $ref: '#/definitions/app.Response'
  29628. security:
  29629. - ApiKeyAuth: []
  29630. summary: 查询现货市价详情(现货市价/详情)
  29631. tags:
  29632. - 企业风险管理v3(app)
  29633. /Ermcp3/QuerySubTaaccount:
  29634. get:
  29635. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29636. parameters:
  29637. - description: 母账号id
  29638. in: query
  29639. name: parentaccountid
  29640. type: integer
  29641. - description: 母账号代码
  29642. in: query
  29643. name: parentaccountcode
  29644. type: string
  29645. produces:
  29646. - application/json
  29647. responses:
  29648. "200":
  29649. description: OK
  29650. schema:
  29651. items:
  29652. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29653. type: array
  29654. "500":
  29655. description: Internal Server Error
  29656. schema:
  29657. $ref: '#/definitions/app.Response'
  29658. security:
  29659. - ApiKeyAuth: []
  29660. summary: 查询期货子账户
  29661. tags:
  29662. - 企业风险管理v3(app)
  29663. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29664. get:
  29665. parameters:
  29666. - description: 套期项目ID
  29667. in: query
  29668. name: hedgeditemid
  29669. required: true
  29670. type: integer
  29671. produces:
  29672. - application/json
  29673. responses:
  29674. "200":
  29675. description: OK
  29676. schema:
  29677. items:
  29678. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29679. type: array
  29680. "500":
  29681. description: Internal Server Error
  29682. schema:
  29683. $ref: '#/definitions/app.Response'
  29684. security:
  29685. - ApiKeyAuth: []
  29686. summary: 现货成交明细查询
  29687. tags:
  29688. - 企业风险管理v8
  29689. /Ermcp8/QueryERMCP2HedgedItemspot:
  29690. get:
  29691. parameters:
  29692. - description: 套期项目ID
  29693. in: query
  29694. name: hedgeditemid
  29695. required: true
  29696. type: integer
  29697. produces:
  29698. - application/json
  29699. responses:
  29700. "200":
  29701. description: OK
  29702. schema:
  29703. items:
  29704. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29705. type: array
  29706. "500":
  29707. description: Internal Server Error
  29708. schema:
  29709. $ref: '#/definitions/app.Response'
  29710. security:
  29711. - ApiKeyAuth: []
  29712. summary: 套期计划明细查询
  29713. tags:
  29714. - 企业风险管理v8
  29715. /Ermcp8/QueryERMCPJRLinkPos:
  29716. get:
  29717. parameters:
  29718. - description: 套期项目ID
  29719. in: query
  29720. name: hedgeditemid
  29721. required: true
  29722. type: integer
  29723. produces:
  29724. - application/json
  29725. responses:
  29726. "200":
  29727. description: OK
  29728. schema:
  29729. items:
  29730. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29731. type: array
  29732. "500":
  29733. description: Internal Server Error
  29734. schema:
  29735. $ref: '#/definitions/app.Response'
  29736. security:
  29737. - ApiKeyAuth: []
  29738. summary: 期货持仓明细查询
  29739. tags:
  29740. - 企业风险管理v8
  29741. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29742. get:
  29743. parameters:
  29744. - description: 套期项目ID
  29745. in: query
  29746. name: hedgeditemid
  29747. required: true
  29748. type: integer
  29749. produces:
  29750. - application/json
  29751. responses:
  29752. "200":
  29753. description: OK
  29754. schema:
  29755. items:
  29756. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29757. type: array
  29758. "500":
  29759. description: Internal Server Error
  29760. schema:
  29761. $ref: '#/definitions/app.Response'
  29762. security:
  29763. - ApiKeyAuth: []
  29764. summary: 期货成交单明细查询
  29765. tags:
  29766. - 企业风险管理v8
  29767. /Ermcp8/QueryErmcp2AreaExposure:
  29768. get:
  29769. parameters:
  29770. - description: 用户ID
  29771. in: query
  29772. name: userid
  29773. required: true
  29774. type: string
  29775. produces:
  29776. - application/json
  29777. responses:
  29778. "200":
  29779. description: OK
  29780. schema:
  29781. items:
  29782. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29783. type: array
  29784. "500":
  29785. description: Internal Server Error
  29786. schema:
  29787. $ref: '#/definitions/app.Response'
  29788. security:
  29789. - ApiKeyAuth: []
  29790. summary: 企业敞口查询
  29791. tags:
  29792. - 企业风险管理v8
  29793. /Ermcp8/QueryErmcp2HedgedItem:
  29794. get:
  29795. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29796. parameters:
  29797. - description: 用户ID
  29798. in: query
  29799. name: userid
  29800. required: true
  29801. type: string
  29802. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29803. in: query
  29804. name: hedgedtype
  29805. type: integer
  29806. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29807. in: query
  29808. name: hedgeditemstatus
  29809. type: integer
  29810. produces:
  29811. - application/json
  29812. responses:
  29813. "200":
  29814. description: OK
  29815. schema:
  29816. items:
  29817. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29818. type: array
  29819. "500":
  29820. description: Internal Server Error
  29821. schema:
  29822. $ref: '#/definitions/app.Response'
  29823. security:
  29824. - ApiKeyAuth: []
  29825. summary: 查询被套期项目信息
  29826. tags:
  29827. - 企业风险管理v8
  29828. /Ermcp8/QueryErmcp2HedgedItemLink:
  29829. get:
  29830. parameters:
  29831. - description: 现货合同ID
  29832. in: query
  29833. name: spotcontractid
  29834. required: true
  29835. type: integer
  29836. produces:
  29837. - application/json
  29838. responses:
  29839. "200":
  29840. description: OK
  29841. schema:
  29842. items:
  29843. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29844. type: array
  29845. "500":
  29846. description: Internal Server Error
  29847. schema:
  29848. $ref: '#/definitions/app.Response'
  29849. security:
  29850. - ApiKeyAuth: []
  29851. summary: 现货合同关联被套期项目查询
  29852. tags:
  29853. - 企业风险管理v8
  29854. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29855. get:
  29856. parameters:
  29857. - description: 用户ID
  29858. in: query
  29859. name: userid
  29860. required: true
  29861. type: integer
  29862. - description: 套保品种ID
  29863. in: query
  29864. name: middlegoodsid
  29865. required: true
  29866. type: integer
  29867. produces:
  29868. - application/json
  29869. responses:
  29870. "200":
  29871. description: OK
  29872. schema:
  29873. items:
  29874. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29875. type: array
  29876. "500":
  29877. description: Internal Server Error
  29878. schema:
  29879. $ref: '#/definitions/app.Response'
  29880. security:
  29881. - ApiKeyAuth: []
  29882. summary: 敞口明细 - 计划变动明细
  29883. tags:
  29884. - 企业风险管理v8
  29885. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29886. get:
  29887. parameters:
  29888. - description: 用户ID
  29889. in: query
  29890. name: userid
  29891. required: true
  29892. type: integer
  29893. - description: 套保品种ID
  29894. in: query
  29895. name: middlegoodsid
  29896. required: true
  29897. type: integer
  29898. produces:
  29899. - application/json
  29900. responses:
  29901. "200":
  29902. description: OK
  29903. schema:
  29904. items:
  29905. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29906. type: array
  29907. "500":
  29908. description: Internal Server Error
  29909. schema:
  29910. $ref: '#/definitions/app.Response'
  29911. security:
  29912. - ApiKeyAuth: []
  29913. summary: 敞口明细 - 现货变动明细查询
  29914. tags:
  29915. - 企业风险管理v8
  29916. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29917. get:
  29918. parameters:
  29919. - description: 用户ID
  29920. in: query
  29921. name: userid
  29922. required: true
  29923. type: integer
  29924. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29925. in: query
  29926. name: spottype
  29927. required: true
  29928. type: integer
  29929. - description: 现货商品ID
  29930. in: query
  29931. name: wrstandardid
  29932. type: integer
  29933. produces:
  29934. - application/json
  29935. responses:
  29936. "200":
  29937. description: OK
  29938. schema:
  29939. items:
  29940. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29941. type: array
  29942. "500":
  29943. description: Internal Server Error
  29944. schema:
  29945. $ref: '#/definitions/app.Response'
  29946. security:
  29947. - ApiKeyAuth: []
  29948. summary: 可关联项目查询
  29949. tags:
  29950. - 企业风险管理v8
  29951. /Ermcp8/QueryErmcp8HedgeditemReport:
  29952. get:
  29953. parameters:
  29954. - description: 用户ID
  29955. in: query
  29956. name: userid
  29957. required: true
  29958. type: integer
  29959. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29960. in: query
  29961. name: cycletype
  29962. type: integer
  29963. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29964. 全(0)【原值】
  29965. in: query
  29966. name: cycletime
  29967. required: true
  29968. type: string
  29969. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29970. in: query
  29971. name: hedgedtype
  29972. type: integer
  29973. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29974. in: query
  29975. name: hedgeditemstatus
  29976. type: integer
  29977. - description: 项目编号,模糊查询
  29978. in: query
  29979. name: hedgeditemnum
  29980. type: string
  29981. - description: 现货商品ID
  29982. in: query
  29983. name: wrstandardid
  29984. type: integer
  29985. produces:
  29986. - application/json
  29987. responses:
  29988. "200":
  29989. description: OK
  29990. schema:
  29991. items:
  29992. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  29993. type: array
  29994. "500":
  29995. description: Internal Server Error
  29996. schema:
  29997. $ref: '#/definitions/app.Response'
  29998. security:
  29999. - ApiKeyAuth: []
  30000. summary: 套期项目报表查询
  30001. tags:
  30002. - 企业风险管理v8
  30003. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30004. get:
  30005. parameters:
  30006. - description: 用户ID
  30007. in: query
  30008. name: userid
  30009. required: true
  30010. type: string
  30011. produces:
  30012. - application/json
  30013. responses:
  30014. "200":
  30015. description: OK
  30016. schema:
  30017. items:
  30018. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30019. type: array
  30020. "500":
  30021. description: Internal Server Error
  30022. schema:
  30023. $ref: '#/definitions/app.Response'
  30024. security:
  30025. - ApiKeyAuth: []
  30026. summary: 查询执行中项目查询信息
  30027. tags:
  30028. - 企业风险管理v8
  30029. /Ermcp8/QueryInternalEnableTradeDetail:
  30030. get:
  30031. parameters:
  30032. - description: 企业ID
  30033. in: query
  30034. name: areauserid
  30035. required: true
  30036. type: integer
  30037. - description: 期货合约ID
  30038. in: query
  30039. name: goodsid
  30040. required: true
  30041. type: integer
  30042. - description: 交易用户ID
  30043. in: query
  30044. name: tradeuserid
  30045. required: true
  30046. type: integer
  30047. produces:
  30048. - application/json
  30049. responses:
  30050. "200":
  30051. description: OK
  30052. schema:
  30053. items:
  30054. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30055. type: array
  30056. "500":
  30057. description: Internal Server Error
  30058. schema:
  30059. $ref: '#/definitions/app.Response'
  30060. security:
  30061. - ApiKeyAuth: []
  30062. summary: 内部成交单可关联项目查询
  30063. tags:
  30064. - 企业风险管理v8
  30065. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30066. get:
  30067. parameters:
  30068. - description: 用户编号
  30069. in: query
  30070. name: userid
  30071. required: true
  30072. type: integer
  30073. - description: 起始日期(格式yyyymmdd)
  30074. in: query
  30075. name: begindate
  30076. type: string
  30077. - description: 终止日期(格式yyyymmdd)
  30078. in: query
  30079. name: enddate
  30080. type: string
  30081. - description: 合约代码
  30082. in: query
  30083. name: goodscode
  30084. type: string
  30085. - description: 合约名称
  30086. in: query
  30087. name: goodsname
  30088. type: string
  30089. - description: 成交单号
  30090. in: query
  30091. name: tradeid
  30092. type: integer
  30093. - description: 方向 - 0:买 1:卖
  30094. in: query
  30095. name: buyorsell
  30096. type: integer
  30097. - description: 套期主体
  30098. in: query
  30099. name: accountname
  30100. type: string
  30101. produces:
  30102. - application/json
  30103. responses:
  30104. "200":
  30105. description: OK
  30106. schema:
  30107. items:
  30108. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30109. type: array
  30110. "500":
  30111. description: Internal Server Error
  30112. schema:
  30113. $ref: '#/definitions/app.Response'
  30114. security:
  30115. - ApiKeyAuth: []
  30116. summary: 内部未关联成交单查询
  30117. tags:
  30118. - 企业风险管理v8
  30119. /Ermcp8/QueryMarketCalendar:
  30120. get:
  30121. parameters:
  30122. - description: 市场ID
  30123. in: query
  30124. name: marketid
  30125. type: integer
  30126. produces:
  30127. - application/json
  30128. responses:
  30129. "200":
  30130. description: OK
  30131. schema:
  30132. items:
  30133. $ref: '#/definitions/models.Marketcalendar'
  30134. type: array
  30135. "500":
  30136. description: Internal Server Error
  30137. schema:
  30138. $ref: '#/definitions/app.Response'
  30139. security:
  30140. - ApiKeyAuth: []
  30141. summary: 市场节假日查询
  30142. tags:
  30143. - 企业风险管理v8
  30144. /Ermcp8/QueryPatradeLinkDetail:
  30145. get:
  30146. parameters:
  30147. - description: 用户ID
  30148. in: query
  30149. name: userid
  30150. required: true
  30151. type: integer
  30152. - description: 套保品种ID
  30153. in: query
  30154. name: middlegoodsid
  30155. required: true
  30156. type: integer
  30157. produces:
  30158. - application/json
  30159. responses:
  30160. "200":
  30161. description: OK
  30162. schema:
  30163. items:
  30164. $ref: '#/definitions/models.Patradelinkdetail'
  30165. type: array
  30166. "500":
  30167. description: Internal Server Error
  30168. schema:
  30169. $ref: '#/definitions/app.Response'
  30170. security:
  30171. - ApiKeyAuth: []
  30172. summary: 敞口明细 - 期货变动明细
  30173. tags:
  30174. - 企业风险管理v8
  30175. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30176. get:
  30177. parameters:
  30178. - description: 企业ID
  30179. in: query
  30180. name: areauserid
  30181. required: true
  30182. type: integer
  30183. - description: 计划类型 - 1:采购 -1:销售
  30184. in: query
  30185. name: contracttype
  30186. type: integer
  30187. - description: 计划编号,模糊查询
  30188. in: query
  30189. name: hedgeplanno
  30190. type: string
  30191. - description: 现货商品,模糊查询
  30192. in: query
  30193. name: wrstandardname
  30194. type: string
  30195. produces:
  30196. - application/json
  30197. responses:
  30198. "200":
  30199. description: OK
  30200. schema:
  30201. items:
  30202. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30203. type: array
  30204. "500":
  30205. description: Internal Server Error
  30206. schema:
  30207. $ref: '#/definitions/app.Response'
  30208. security:
  30209. - ApiKeyAuth: []
  30210. summary: 未关联购销计划
  30211. tags:
  30212. - 企业风险管理v8
  30213. /Ermcp8/QueryUnLinkSpotContract:
  30214. get:
  30215. parameters:
  30216. - description: 用户ID
  30217. in: query
  30218. name: userid
  30219. required: true
  30220. type: integer
  30221. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30222. in: query
  30223. name: pricetype
  30224. type: integer
  30225. - description: 合同编号, 模拟查询
  30226. in: query
  30227. name: contractno
  30228. type: string
  30229. - description: 对手方, 模拟查询
  30230. in: query
  30231. name: customername
  30232. type: string
  30233. - description: 项合同类型 - 1:采购 -1:销售
  30234. in: query
  30235. name: contracttype
  30236. type: integer
  30237. produces:
  30238. - application/json
  30239. responses:
  30240. "200":
  30241. description: OK
  30242. schema:
  30243. items:
  30244. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30245. type: array
  30246. "500":
  30247. description: Internal Server Error
  30248. schema:
  30249. $ref: '#/definitions/app.Response'
  30250. security:
  30251. - ApiKeyAuth: []
  30252. summary: 未关联合同查询
  30253. tags:
  30254. - 企业风险管理v8
  30255. /Erms2/QueryArbitrageStrategy:
  30256. get:
  30257. parameters:
  30258. - description: 账户ID
  30259. in: query
  30260. name: userid
  30261. required: true
  30262. type: integer
  30263. - description: 商品组ID(品种ID)
  30264. in: query
  30265. name: goodsgroupid
  30266. type: string
  30267. produces:
  30268. - application/json
  30269. responses:
  30270. "200":
  30271. description: OK
  30272. schema:
  30273. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30274. "500":
  30275. description: Internal Server Error
  30276. schema:
  30277. $ref: '#/definitions/app.Response'
  30278. security:
  30279. - ApiKeyAuth: []
  30280. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30281. tags:
  30282. - 风险管理
  30283. /Erms2/QueryInnerTradeDetail:
  30284. get:
  30285. parameters:
  30286. - description: 资金账户
  30287. in: query
  30288. name: accountid
  30289. required: true
  30290. type: integer
  30291. produces:
  30292. - application/json
  30293. responses:
  30294. "200":
  30295. description: OK
  30296. schema:
  30297. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30298. "500":
  30299. description: Internal Server Error
  30300. schema:
  30301. $ref: '#/definitions/app.Response'
  30302. security:
  30303. - ApiKeyAuth: []
  30304. summary: 查询内部成交单信息
  30305. tags:
  30306. - 风险管理
  30307. /Erms2/QuerySpotContract:
  30308. get:
  30309. parameters:
  30310. - description: 策略申请ID
  30311. in: query
  30312. name: asapplyid
  30313. required: true
  30314. type: integer
  30315. - description: 现货合同ID
  30316. in: query
  30317. name: spotcontractid
  30318. type: integer
  30319. produces:
  30320. - application/json
  30321. responses:
  30322. "200":
  30323. description: OK
  30324. schema:
  30325. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30326. "500":
  30327. description: Internal Server Error
  30328. schema:
  30329. $ref: '#/definitions/app.Response'
  30330. security:
  30331. - ApiKeyAuth: []
  30332. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30333. tags:
  30334. - 风险管理
  30335. /Erms3/AddErms2ASApply:
  30336. post:
  30337. parameters:
  30338. - description: 申请参数
  30339. in: body
  30340. name: jsonBody
  30341. required: true
  30342. schema:
  30343. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30344. produces:
  30345. - application/json
  30346. responses:
  30347. "200":
  30348. description: OK
  30349. schema:
  30350. $ref: '#/definitions/app.Response'
  30351. "500":
  30352. description: Internal Server Error
  30353. schema:
  30354. $ref: '#/definitions/app.Response'
  30355. security:
  30356. - ApiKeyAuth: []
  30357. summary: 新增期现套利业务申请
  30358. tags:
  30359. - 风险管理v3
  30360. /Erms3/AddErms2SpotTradeApply:
  30361. post:
  30362. parameters:
  30363. - description: 申请参数
  30364. in: body
  30365. name: jsonBody
  30366. required: true
  30367. schema:
  30368. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30369. produces:
  30370. - application/json
  30371. responses:
  30372. "200":
  30373. description: OK
  30374. schema:
  30375. $ref: '#/definitions/app.Response'
  30376. "500":
  30377. description: Internal Server Error
  30378. schema:
  30379. $ref: '#/definitions/app.Response'
  30380. security:
  30381. - ApiKeyAuth: []
  30382. summary: 新增现货贸易业务申请
  30383. tags:
  30384. - 风险管理v3
  30385. /Erms3/AddSpotContractApply:
  30386. post:
  30387. parameters:
  30388. - description: 申请参数
  30389. in: body
  30390. name: jsonBody
  30391. required: true
  30392. schema:
  30393. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30394. produces:
  30395. - application/json
  30396. responses:
  30397. "200":
  30398. description: OK
  30399. schema:
  30400. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30401. "500":
  30402. description: Internal Server Error
  30403. schema:
  30404. $ref: '#/definitions/app.Response'
  30405. security:
  30406. - ApiKeyAuth: []
  30407. summary: 新增现货合同申请
  30408. tags:
  30409. - 风险管理v3
  30410. /Erms3/AddUserInfoApply:
  30411. post:
  30412. parameters:
  30413. - description: 用户信息
  30414. in: body
  30415. name: jsonBody
  30416. required: true
  30417. schema:
  30418. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30419. produces:
  30420. - application/json
  30421. responses:
  30422. "200":
  30423. description: OK
  30424. schema:
  30425. $ref: '#/definitions/app.Response'
  30426. "500":
  30427. description: Internal Server Error
  30428. schema:
  30429. $ref: '#/definitions/app.Response'
  30430. security:
  30431. - ApiKeyAuth: []
  30432. summary: 新增客户申请
  30433. tags:
  30434. - 风险管理v3
  30435. /Erms3/DeleteUserInfoApply:
  30436. get:
  30437. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30438. parameters:
  30439. - description: 用户ID
  30440. in: query
  30441. name: userID
  30442. required: true
  30443. type: integer
  30444. produces:
  30445. - application/json
  30446. responses:
  30447. "200":
  30448. description: OK
  30449. schema:
  30450. $ref: '#/definitions/app.Response'
  30451. "500":
  30452. description: Internal Server Error
  30453. schema:
  30454. $ref: '#/definitions/app.Response'
  30455. security:
  30456. - ApiKeyAuth: []
  30457. summary: 删除客户申请
  30458. tags:
  30459. - 风险管理v3
  30460. /Erms3/ModifyUserInfoApply:
  30461. post:
  30462. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30463. int, "userstate": 2 }'
  30464. parameters:
  30465. - description: 用户信息
  30466. in: body
  30467. name: jsonBody
  30468. required: true
  30469. schema:
  30470. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30471. produces:
  30472. - application/json
  30473. responses:
  30474. "200":
  30475. description: OK
  30476. schema:
  30477. $ref: '#/definitions/app.Response'
  30478. "500":
  30479. description: Internal Server Error
  30480. schema:
  30481. $ref: '#/definitions/app.Response'
  30482. security:
  30483. - ApiKeyAuth: []
  30484. summary: 修改客户申请
  30485. tags:
  30486. - 风险管理v3
  30487. /Erms3/QueryBusinessInfo:
  30488. get:
  30489. parameters:
  30490. - description: 资金账号ID列表,用逗号分隔
  30491. in: query
  30492. name: accountids
  30493. required: true
  30494. type: string
  30495. - description: 状态,0为未结束 1为已结束
  30496. in: query
  30497. name: status
  30498. required: true
  30499. type: integer
  30500. produces:
  30501. - application/json
  30502. responses:
  30503. "200":
  30504. description: OK
  30505. schema:
  30506. items:
  30507. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30508. type: array
  30509. "500":
  30510. description: Internal Server Error
  30511. schema:
  30512. $ref: '#/definitions/app.Response'
  30513. security:
  30514. - ApiKeyAuth: []
  30515. summary: 查询业务表单数据
  30516. tags:
  30517. - 风险管理v3
  30518. /Erms3/QueryPendingAuditContract:
  30519. get:
  30520. parameters:
  30521. - description: 资金账号ID列表,逗号隔开
  30522. in: query
  30523. name: accountids
  30524. required: true
  30525. type: string
  30526. - description: 合同类型 1-采购 -1-销售
  30527. in: query
  30528. name: contracttype
  30529. required: true
  30530. type: integer
  30531. - description: 合同模式 1-普通 2-回购
  30532. in: query
  30533. name: contractmode
  30534. required: true
  30535. type: integer
  30536. produces:
  30537. - application/json
  30538. responses:
  30539. "200":
  30540. description: OK
  30541. schema:
  30542. items:
  30543. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30544. type: array
  30545. "500":
  30546. description: Internal Server Error
  30547. schema:
  30548. $ref: '#/definitions/app.Response'
  30549. security:
  30550. - ApiKeyAuth: []
  30551. summary: 查询待审核合同
  30552. tags:
  30553. - 风险管理v3
  30554. /Erms3/QueryPendingBusiness:
  30555. get:
  30556. parameters:
  30557. - description: 资金账号ID列表,逗号隔开
  30558. in: query
  30559. name: accountids
  30560. required: true
  30561. type: string
  30562. produces:
  30563. - application/json
  30564. responses:
  30565. "200":
  30566. description: OK
  30567. schema:
  30568. items:
  30569. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30570. type: array
  30571. "500":
  30572. description: Internal Server Error
  30573. schema:
  30574. $ref: '#/definitions/app.Response'
  30575. security:
  30576. - ApiKeyAuth: []
  30577. summary: 查询待审核基差贸易业务
  30578. tags:
  30579. - 风险管理v3
  30580. /Erms3/QuerySpotContractAppleForm:
  30581. get:
  30582. parameters:
  30583. - description: 登录账号
  30584. in: query
  30585. name: loginID
  30586. required: true
  30587. type: integer
  30588. produces:
  30589. - application/json
  30590. responses:
  30591. "200":
  30592. description: OK
  30593. schema:
  30594. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30595. "500":
  30596. description: Internal Server Error
  30597. schema:
  30598. $ref: '#/definitions/app.Response'
  30599. security:
  30600. - ApiKeyAuth: []
  30601. summary: 查询合同申请表单数据
  30602. tags:
  30603. - 风险管理v3
  30604. /Erms3/QuerySpotContractDetail:
  30605. get:
  30606. parameters:
  30607. - description: 资金账号ID列表,用逗号分隔
  30608. in: query
  30609. name: accountids
  30610. required: true
  30611. type: string
  30612. - description: 合同类型,1为采购合同 -1为销售合同
  30613. in: query
  30614. name: contracttype
  30615. required: true
  30616. type: integer
  30617. - description: 合同模式,1为普通合同 2为回购销售合同
  30618. in: query
  30619. name: contractmode
  30620. required: true
  30621. type: integer
  30622. - description: 状态,0为履约中 1为已完成
  30623. in: query
  30624. name: status
  30625. required: true
  30626. type: integer
  30627. produces:
  30628. - application/json
  30629. responses:
  30630. "200":
  30631. description: OK
  30632. schema:
  30633. items:
  30634. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30635. type: array
  30636. "500":
  30637. description: Internal Server Error
  30638. schema:
  30639. $ref: '#/definitions/app.Response'
  30640. security:
  30641. - ApiKeyAuth: []
  30642. summary: 查询合同详细信息
  30643. tags:
  30644. - 风险管理v3
  30645. /Erms3/QueryUserInfoApplies:
  30646. get:
  30647. parameters:
  30648. - description: 页码
  30649. in: query
  30650. name: page
  30651. type: integer
  30652. - description: 每页条数
  30653. in: query
  30654. name: pagesize
  30655. type: integer
  30656. - description: 客户名称,支持模糊查询
  30657. in: query
  30658. name: userName
  30659. type: string
  30660. produces:
  30661. - application/json
  30662. responses:
  30663. "200":
  30664. description: OK
  30665. schema:
  30666. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30667. "500":
  30668. description: Internal Server Error
  30669. schema:
  30670. $ref: '#/definitions/app.Response'
  30671. security:
  30672. - ApiKeyAuth: []
  30673. summary: 客户申请信息查询
  30674. tags:
  30675. - 风险管理v3
  30676. /Erms3/QueryUserInfos:
  30677. get:
  30678. parameters:
  30679. - description: 页码
  30680. in: query
  30681. name: page
  30682. type: integer
  30683. - description: 每页条数
  30684. in: query
  30685. name: pagesize
  30686. type: integer
  30687. - description: 客户名称,支持模糊查询
  30688. in: query
  30689. name: userName
  30690. type: string
  30691. produces:
  30692. - application/json
  30693. responses:
  30694. "200":
  30695. description: OK
  30696. schema:
  30697. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30698. "500":
  30699. description: Internal Server Error
  30700. schema:
  30701. $ref: '#/definitions/app.Response'
  30702. security:
  30703. - ApiKeyAuth: []
  30704. summary: 客户信息查询
  30705. tags:
  30706. - 风险管理v3
  30707. /Ferroalloy/GetSpotGoodsPrice:
  30708. get:
  30709. parameters:
  30710. - description: 页码
  30711. in: query
  30712. name: page
  30713. type: integer
  30714. - description: 每页条数
  30715. in: query
  30716. name: pagesize
  30717. type: integer
  30718. produces:
  30719. - application/json
  30720. responses:
  30721. "200":
  30722. description: OK
  30723. schema:
  30724. items:
  30725. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30726. type: array
  30727. "500":
  30728. description: Internal Server Error
  30729. schema:
  30730. $ref: '#/definitions/app.Response'
  30731. security:
  30732. - ApiKeyAuth: []
  30733. summary: 获取现货行情
  30734. tags:
  30735. - 铁合金
  30736. /Ferroalloy/QueryMyRefer:
  30737. get:
  30738. parameters:
  30739. - description: 用户ID
  30740. in: query
  30741. name: userid
  30742. required: true
  30743. type: integer
  30744. - description: 页码
  30745. in: query
  30746. name: page
  30747. type: integer
  30748. - description: 每页条数
  30749. in: query
  30750. name: pagesize
  30751. type: integer
  30752. produces:
  30753. - application/json
  30754. responses:
  30755. "200":
  30756. description: OK
  30757. schema:
  30758. items:
  30759. $ref: '#/definitions/models.MyRefer'
  30760. type: array
  30761. "500":
  30762. description: Internal Server Error
  30763. schema:
  30764. $ref: '#/definitions/app.Response'
  30765. security:
  30766. - ApiKeyAuth: []
  30767. summary: 查询我的推荐列表
  30768. tags:
  30769. - 铁合金
  30770. /Ferroalloy/QueryMyRegisterMoney:
  30771. get:
  30772. parameters:
  30773. - description: 资金账户
  30774. in: query
  30775. name: accountid
  30776. required: true
  30777. type: integer
  30778. produces:
  30779. - application/json
  30780. responses:
  30781. "200":
  30782. description: OK
  30783. schema:
  30784. items:
  30785. $ref: '#/definitions/models.RegisterMoney'
  30786. type: array
  30787. "500":
  30788. description: Internal Server Error
  30789. schema:
  30790. $ref: '#/definitions/app.Response'
  30791. summary: 查询我的注册红包
  30792. tags:
  30793. - 铁合金
  30794. /Ferroalloy/QuerySpotgoodsPrice:
  30795. get:
  30796. parameters:
  30797. - description: 页码
  30798. in: query
  30799. name: page
  30800. type: integer
  30801. - description: 每页条数
  30802. in: query
  30803. name: pagesize
  30804. type: integer
  30805. produces:
  30806. - application/json
  30807. responses:
  30808. "200":
  30809. description: OK
  30810. schema:
  30811. items:
  30812. $ref: '#/definitions/models.Spotgoodsprice'
  30813. type: array
  30814. "500":
  30815. description: Internal Server Error
  30816. schema:
  30817. $ref: '#/definitions/app.Response'
  30818. security:
  30819. - ApiKeyAuth: []
  30820. summary: 查询行情-现货列表
  30821. tags:
  30822. - 铁合金
  30823. /Ferroalloy/QueryTHJGoodsDetail:
  30824. get:
  30825. parameters:
  30826. - description: 现货商品ID
  30827. in: query
  30828. name: wrstandardid
  30829. required: true
  30830. type: integer
  30831. produces:
  30832. - application/json
  30833. responses:
  30834. "200":
  30835. description: OK
  30836. schema:
  30837. items:
  30838. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30839. type: array
  30840. "500":
  30841. description: Internal Server Error
  30842. schema:
  30843. $ref: '#/definitions/app.Response'
  30844. security:
  30845. - ApiKeyAuth: []
  30846. summary: 查询商品详情
  30847. tags:
  30848. - 铁合金
  30849. /Ferroalloy/QueryTHJListing:
  30850. get:
  30851. parameters:
  30852. - description: 现货商品名称(模糊查询)
  30853. in: query
  30854. name: wrstandardname
  30855. type: string
  30856. - description: 页码
  30857. in: query
  30858. name: page
  30859. type: integer
  30860. - description: 每页条数
  30861. in: query
  30862. name: pagesize
  30863. type: integer
  30864. produces:
  30865. - application/json
  30866. responses:
  30867. "200":
  30868. description: OK
  30869. schema:
  30870. items:
  30871. $ref: '#/definitions/models.THJWrstandard'
  30872. type: array
  30873. "500":
  30874. description: Internal Server Error
  30875. schema:
  30876. $ref: '#/definitions/app.Response'
  30877. security:
  30878. - ApiKeyAuth: []
  30879. summary: 查询供求列表
  30880. tags:
  30881. - 铁合金
  30882. /Ferroalloy/QueryTHJProduct:
  30883. get:
  30884. parameters:
  30885. - description: 用户ID
  30886. in: query
  30887. name: userid
  30888. required: true
  30889. type: integer
  30890. - description: 关注标志 true-已关注 false-未关注
  30891. in: query
  30892. name: favoriteflag
  30893. type: boolean
  30894. - description: 页码
  30895. in: query
  30896. name: page
  30897. type: integer
  30898. - description: 每页条数
  30899. in: query
  30900. name: pagesize
  30901. type: integer
  30902. produces:
  30903. - application/json
  30904. responses:
  30905. "200":
  30906. description: OK
  30907. schema:
  30908. items:
  30909. $ref: '#/definitions/models.THJProduct'
  30910. type: array
  30911. "500":
  30912. description: Internal Server Error
  30913. schema:
  30914. $ref: '#/definitions/app.Response'
  30915. security:
  30916. - ApiKeyAuth: []
  30917. summary: 获取产品介绍列表
  30918. tags:
  30919. - 铁合金
  30920. /Ferroalloy/QueryTHJPromotionIncome:
  30921. get:
  30922. parameters:
  30923. - description: 用户ID
  30924. in: query
  30925. name: userid
  30926. required: true
  30927. type: integer
  30928. - description: 状态 - 0:全部 1:已支付 2:未支付
  30929. in: query
  30930. name: profitstatus
  30931. type: integer
  30932. - description: 页码
  30933. in: query
  30934. name: page
  30935. type: integer
  30936. - description: 每页条数
  30937. in: query
  30938. name: pagesize
  30939. type: integer
  30940. produces:
  30941. - application/json
  30942. responses:
  30943. "200":
  30944. description: OK
  30945. schema:
  30946. items:
  30947. $ref: '#/definitions/models.PromotionIncome'
  30948. type: array
  30949. "500":
  30950. description: Internal Server Error
  30951. schema:
  30952. $ref: '#/definitions/app.Response'
  30953. security:
  30954. - ApiKeyAuth: []
  30955. summary: 查询我的推广-推广收益
  30956. tags:
  30957. - 铁合金
  30958. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  30959. get:
  30960. parameters:
  30961. - description: 用户ID
  30962. in: query
  30963. name: userid
  30964. required: true
  30965. type: integer
  30966. - description: 月份,格式:yyyymm
  30967. in: query
  30968. name: mouth
  30969. required: true
  30970. type: string
  30971. - description: 页码
  30972. in: query
  30973. name: page
  30974. type: integer
  30975. - description: 每页条数
  30976. in: query
  30977. name: pagesize
  30978. type: integer
  30979. produces:
  30980. - application/json
  30981. responses:
  30982. "200":
  30983. description: OK
  30984. schema:
  30985. items:
  30986. $ref: '#/definitions/models.PromotionIncomeDetail'
  30987. type: array
  30988. "500":
  30989. description: Internal Server Error
  30990. schema:
  30991. $ref: '#/definitions/app.Response'
  30992. security:
  30993. - ApiKeyAuth: []
  30994. summary: 查询我的推广-推广收益-明细
  30995. tags:
  30996. - 铁合金
  30997. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  30998. get:
  30999. parameters:
  31000. - description: 用户ID
  31001. in: query
  31002. name: userid
  31003. required: true
  31004. type: integer
  31005. - description: 类型 - 0:未完成 1:已完成
  31006. in: query
  31007. name: type
  31008. type: integer
  31009. - description: 页码
  31010. in: query
  31011. name: page
  31012. type: integer
  31013. - description: 每页条数
  31014. in: query
  31015. name: pagesize
  31016. type: integer
  31017. produces:
  31018. - application/json
  31019. responses:
  31020. "200":
  31021. description: OK
  31022. schema:
  31023. items:
  31024. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31025. type: array
  31026. "500":
  31027. description: Internal Server Error
  31028. schema:
  31029. $ref: '#/definitions/app.Response'
  31030. security:
  31031. - ApiKeyAuth: []
  31032. summary: 查询我的订单-采购订单
  31033. tags:
  31034. - 铁合金
  31035. /Ferroalloy/QueryTHJPurchaseTransfer:
  31036. get:
  31037. parameters:
  31038. - description: 现货商品名称(模糊查询)
  31039. in: query
  31040. name: wrstandardname
  31041. type: string
  31042. - description: 页码
  31043. in: query
  31044. name: page
  31045. type: integer
  31046. - description: 每页条数
  31047. in: query
  31048. name: pagesize
  31049. type: integer
  31050. produces:
  31051. - application/json
  31052. responses:
  31053. "200":
  31054. description: OK
  31055. schema:
  31056. items:
  31057. $ref: '#/definitions/models.PurchaseTransfer'
  31058. type: array
  31059. "500":
  31060. description: Internal Server Error
  31061. schema:
  31062. $ref: '#/definitions/app.Response'
  31063. security:
  31064. - ApiKeyAuth: []
  31065. summary: 查询合同转让列表
  31066. tags:
  31067. - 铁合金
  31068. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31069. get:
  31070. parameters:
  31071. - description: 现货商品ID
  31072. in: query
  31073. name: wrstandardid
  31074. required: true
  31075. type: integer
  31076. produces:
  31077. - application/json
  31078. responses:
  31079. "200":
  31080. description: OK
  31081. schema:
  31082. items:
  31083. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31084. type: array
  31085. "500":
  31086. description: Internal Server Error
  31087. schema:
  31088. $ref: '#/definitions/app.Response'
  31089. security:
  31090. - ApiKeyAuth: []
  31091. summary: 查询合同转让详情
  31092. tags:
  31093. - 铁合金
  31094. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31095. get:
  31096. parameters:
  31097. - description: 用户ID
  31098. in: query
  31099. name: userid
  31100. required: true
  31101. type: integer
  31102. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31103. in: query
  31104. name: ordertype
  31105. required: true
  31106. type: integer
  31107. - description: 页码
  31108. in: query
  31109. name: page
  31110. type: integer
  31111. - description: 每页条数
  31112. in: query
  31113. name: pagesize
  31114. type: integer
  31115. produces:
  31116. - application/json
  31117. responses:
  31118. "200":
  31119. description: OK
  31120. schema:
  31121. items:
  31122. $ref: '#/definitions/models.Thjpurchasetransfer'
  31123. type: array
  31124. "500":
  31125. description: Internal Server Error
  31126. schema:
  31127. $ref: '#/definitions/app.Response'
  31128. security:
  31129. - ApiKeyAuth: []
  31130. summary: 查询我的订单-转让/受让订单
  31131. tags:
  31132. - 铁合金
  31133. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31134. get:
  31135. parameters:
  31136. - description: 转让单号
  31137. in: query
  31138. name: transferid
  31139. required: true
  31140. type: string
  31141. produces:
  31142. - application/json
  31143. responses:
  31144. "200":
  31145. description: OK
  31146. schema:
  31147. items:
  31148. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31149. type: array
  31150. "500":
  31151. description: Internal Server Error
  31152. schema:
  31153. $ref: '#/definitions/app.Response'
  31154. security:
  31155. - ApiKeyAuth: []
  31156. summary: 查询我的订单-转让/受让订单-详情
  31157. tags:
  31158. - 铁合金
  31159. /Ferroalloy/QueryTHJScoreConfig:
  31160. get:
  31161. parameters:
  31162. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31163. 6:自己供求下单积分 7:抽奖配置'
  31164. in: query
  31165. name: stype
  31166. type: string
  31167. produces:
  31168. - application/json
  31169. responses:
  31170. "200":
  31171. description: OK
  31172. schema:
  31173. items:
  31174. $ref: '#/definitions/models.Thjscoreconfig'
  31175. type: array
  31176. "500":
  31177. description: Internal Server Error
  31178. schema:
  31179. $ref: '#/definitions/app.Response'
  31180. security:
  31181. - ApiKeyAuth: []
  31182. summary: 查询积分配置
  31183. tags:
  31184. - 铁合金
  31185. /Ferroalloy/QueryTHJTradeData:
  31186. get:
  31187. parameters:
  31188. - description: 用户ID
  31189. in: query
  31190. name: userid
  31191. required: true
  31192. type: integer
  31193. - description: 市场ID 采购-64201 供求-65201
  31194. in: query
  31195. name: marketid
  31196. required: true
  31197. type: integer
  31198. - description: 页码
  31199. in: query
  31200. name: page
  31201. type: integer
  31202. - description: 每页条数
  31203. in: query
  31204. name: pagesize
  31205. type: integer
  31206. produces:
  31207. - application/json
  31208. responses:
  31209. "200":
  31210. description: OK
  31211. schema:
  31212. items:
  31213. $ref: '#/definitions/models.THJTradeData'
  31214. type: array
  31215. "500":
  31216. description: Internal Server Error
  31217. schema:
  31218. $ref: '#/definitions/app.Response'
  31219. security:
  31220. - ApiKeyAuth: []
  31221. summary: 获取我的推广-交易数据
  31222. tags:
  31223. - 铁合金
  31224. /Ferroalloy/QueryTHJWrstandard:
  31225. get:
  31226. parameters:
  31227. - description: 现货商品名称(模糊查询)
  31228. in: query
  31229. name: wrstandardname
  31230. type: string
  31231. - description: 页码
  31232. in: query
  31233. name: page
  31234. type: integer
  31235. - description: 每页条数
  31236. in: query
  31237. name: pagesize
  31238. type: integer
  31239. produces:
  31240. - application/json
  31241. responses:
  31242. "200":
  31243. description: OK
  31244. schema:
  31245. items:
  31246. $ref: '#/definitions/models.THJWrstandard'
  31247. type: array
  31248. "500":
  31249. description: Internal Server Error
  31250. schema:
  31251. $ref: '#/definitions/app.Response'
  31252. security:
  31253. - ApiKeyAuth: []
  31254. summary: 查询采购列表
  31255. tags:
  31256. - 铁合金
  31257. /Ferroalloy/QueryTHJWrstandardDetail:
  31258. get:
  31259. parameters:
  31260. - description: 现货商品ID
  31261. in: query
  31262. name: wrstandardid
  31263. required: true
  31264. type: integer
  31265. produces:
  31266. - application/json
  31267. responses:
  31268. "200":
  31269. description: OK
  31270. schema:
  31271. items:
  31272. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31273. type: array
  31274. "500":
  31275. description: Internal Server Error
  31276. schema:
  31277. $ref: '#/definitions/app.Response'
  31278. security:
  31279. - ApiKeyAuth: []
  31280. summary: 查询采购详情
  31281. tags:
  31282. - 铁合金
  31283. /Ferroalloy/QueryUserLevelInfo:
  31284. get:
  31285. parameters:
  31286. - description: 用户ID
  31287. in: query
  31288. name: userid
  31289. required: true
  31290. type: integer
  31291. produces:
  31292. - application/json
  31293. responses:
  31294. "200":
  31295. description: OK
  31296. schema:
  31297. items:
  31298. $ref: '#/definitions/models.THJUserLevelInfo'
  31299. type: array
  31300. "500":
  31301. description: Internal Server Error
  31302. schema:
  31303. $ref: '#/definitions/app.Response'
  31304. security:
  31305. - ApiKeyAuth: []
  31306. summary: 查询用户等级信息
  31307. tags:
  31308. - 铁合金
  31309. /Ferroalloy/QueryUserScoreLog:
  31310. get:
  31311. parameters:
  31312. - description: 用户ID
  31313. in: query
  31314. name: userid
  31315. required: true
  31316. type: integer
  31317. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31318. 6:自己供求下单积分 7:抽奖配置'
  31319. in: query
  31320. name: stype
  31321. type: string
  31322. - description: 页码
  31323. in: query
  31324. name: page
  31325. type: integer
  31326. - description: 每页条数
  31327. in: query
  31328. name: pagesize
  31329. type: integer
  31330. produces:
  31331. - application/json
  31332. responses:
  31333. "200":
  31334. description: OK
  31335. schema:
  31336. items:
  31337. $ref: '#/definitions/models.GThjuserscorelog'
  31338. type: array
  31339. "500":
  31340. description: Internal Server Error
  31341. schema:
  31342. $ref: '#/definitions/app.Response'
  31343. security:
  31344. - ApiKeyAuth: []
  31345. summary: 查询我的积分流水
  31346. tags:
  31347. - 铁合金
  31348. /Ferroalloy/Signin:
  31349. post:
  31350. parameters:
  31351. - description: 用户签到请求
  31352. in: body
  31353. name: jsonBody
  31354. required: true
  31355. schema:
  31356. $ref: '#/definitions/models.THJSigninReq'
  31357. produces:
  31358. - application/json
  31359. responses:
  31360. "200":
  31361. description: OK
  31362. schema:
  31363. $ref: '#/definitions/models.THJSigninRsp'
  31364. "500":
  31365. description: Internal Server Error
  31366. schema:
  31367. $ref: '#/definitions/app.Response'
  31368. security:
  31369. - ApiKeyAuth: []
  31370. summary: 用户签到
  31371. tags:
  31372. - 铁合金
  31373. /Guangzuan/GZBSFWOrderOperate:
  31374. get:
  31375. parameters:
  31376. - description: 单据ID
  31377. in: query
  31378. name: orderid
  31379. required: true
  31380. type: integer
  31381. produces:
  31382. - application/json
  31383. responses:
  31384. "200":
  31385. description: OK
  31386. schema:
  31387. items:
  31388. $ref: '#/definitions/models.Gzbsfworderoperate'
  31389. type: array
  31390. "500":
  31391. description: Internal Server Error
  31392. schema:
  31393. $ref: '#/definitions/app.Response'
  31394. security:
  31395. - ApiKeyAuth: []
  31396. - LoginID: []
  31397. - Group: []
  31398. summary: 保税服务单据操作信息
  31399. tags:
  31400. - 广钻
  31401. /Guangzuan/GetGoods:
  31402. get:
  31403. parameters:
  31404. - description: 商品编号
  31405. in: query
  31406. name: goodsno
  31407. required: true
  31408. type: string
  31409. produces:
  31410. - application/json
  31411. responses:
  31412. "200":
  31413. description: OK
  31414. schema:
  31415. $ref: '#/definitions/models.GZGoods'
  31416. "500":
  31417. description: Internal Server Error
  31418. schema:
  31419. $ref: '#/definitions/app.Response'
  31420. security:
  31421. - ApiKeyAuth: []
  31422. - LoginID: []
  31423. - Group: []
  31424. summary: 获取钻石详情
  31425. tags:
  31426. - 广钻
  31427. /Guangzuan/GzCertAddressConfig:
  31428. get:
  31429. produces:
  31430. - application/json
  31431. responses:
  31432. "200":
  31433. description: OK
  31434. schema:
  31435. items:
  31436. $ref: '#/definitions/models.Gzcertaddressconfig'
  31437. type: array
  31438. "500":
  31439. description: Internal Server Error
  31440. schema:
  31441. $ref: '#/definitions/app.Response'
  31442. security:
  31443. - ApiKeyAuth: []
  31444. - LoginID: []
  31445. - Group: []
  31446. summary: Rapaport最新报价表(广钻)
  31447. tags:
  31448. - 广钻
  31449. /Guangzuan/GzCertAddressParam:
  31450. get:
  31451. produces:
  31452. - application/json
  31453. responses:
  31454. "200":
  31455. description: OK
  31456. schema:
  31457. items:
  31458. $ref: '#/definitions/models.Gzcertaddressparam'
  31459. type: array
  31460. "500":
  31461. description: Internal Server Error
  31462. schema:
  31463. $ref: '#/definitions/app.Response'
  31464. security:
  31465. - ApiKeyAuth: []
  31466. - LoginID: []
  31467. - Group: []
  31468. summary: 钻石证书地址参数
  31469. tags:
  31470. - 广钻
  31471. /Guangzuan/HomeData:
  31472. get:
  31473. parameters:
  31474. - description: 用户ID
  31475. in: query
  31476. name: userid
  31477. required: true
  31478. type: integer
  31479. produces:
  31480. - application/json
  31481. responses:
  31482. "200":
  31483. description: OK
  31484. schema:
  31485. $ref: '#/definitions/models.GZHomeData'
  31486. "500":
  31487. description: Internal Server Error
  31488. schema:
  31489. $ref: '#/definitions/app.Response'
  31490. security:
  31491. - ApiKeyAuth: []
  31492. - LoginID: []
  31493. - Group: []
  31494. summary: 首页统计数据
  31495. tags:
  31496. - 广钻
  31497. /Guangzuan/PriceCalc:
  31498. get:
  31499. parameters:
  31500. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31501. in: query
  31502. name: zsshape
  31503. required: true
  31504. type: integer
  31505. - description: 颜色(D-M)
  31506. in: query
  31507. name: zscolor
  31508. required: true
  31509. type: string
  31510. - description: 净度
  31511. in: query
  31512. name: zsclarity
  31513. required: true
  31514. type: string
  31515. - description: 重量
  31516. in: query
  31517. name: weight
  31518. required: true
  31519. type: number
  31520. - description: 汇率
  31521. in: query
  31522. name: rate
  31523. required: true
  31524. type: number
  31525. - description: 折扣(%), 方向(加:10, 减:-10 )
  31526. in: query
  31527. name: discount
  31528. type: number
  31529. produces:
  31530. - application/json
  31531. responses:
  31532. "200":
  31533. description: OK
  31534. schema:
  31535. items:
  31536. $ref: '#/definitions/models.Gzrapaportprice'
  31537. type: array
  31538. "500":
  31539. description: Internal Server Error
  31540. schema:
  31541. $ref: '#/definitions/app.Response'
  31542. security:
  31543. - ApiKeyAuth: []
  31544. - LoginID: []
  31545. - Group: []
  31546. summary: 钻石价格计算器
  31547. tags:
  31548. - 广钻
  31549. /Guangzuan/QueryBuyOrder:
  31550. get:
  31551. parameters:
  31552. - description: 页码
  31553. in: query
  31554. name: page
  31555. type: integer
  31556. - description: 每页条数
  31557. in: query
  31558. name: pagesize
  31559. type: integer
  31560. - description: 商品(查询字段-模糊查询)
  31561. in: query
  31562. name: zsallproperties
  31563. type: string
  31564. - description: 钻石分类, 格式:1,2,3
  31565. in: query
  31566. name: zscategorys
  31567. type: string
  31568. - description: 委托单号
  31569. in: query
  31570. name: wrtradeorderid
  31571. type: integer
  31572. - description: 买方(查询字段-模糊查询)
  31573. in: query
  31574. name: buyusername
  31575. type: string
  31576. produces:
  31577. - application/json
  31578. responses:
  31579. "200":
  31580. description: OK
  31581. schema:
  31582. items:
  31583. $ref: '#/definitions/models.BuyOrder'
  31584. type: array
  31585. "500":
  31586. description: Internal Server Error
  31587. schema:
  31588. $ref: '#/definitions/app.Response'
  31589. security:
  31590. - ApiKeyAuth: []
  31591. - LoginID: []
  31592. - Group: []
  31593. summary: 查询求购大厅委托单
  31594. tags:
  31595. - 广钻
  31596. /Guangzuan/QueryDiamond:
  31597. post:
  31598. parameters:
  31599. - description: 钻石搜索入参
  31600. in: body
  31601. name: data
  31602. required: true
  31603. schema:
  31604. $ref: '#/definitions/models.SellOrderQueryReq'
  31605. produces:
  31606. - application/json
  31607. responses:
  31608. "200":
  31609. description: OK
  31610. schema:
  31611. items:
  31612. $ref: '#/definitions/models.SellOrder'
  31613. type: array
  31614. "500":
  31615. description: Internal Server Error
  31616. schema:
  31617. $ref: '#/definitions/app.Response'
  31618. security:
  31619. - ApiKeyAuth: []
  31620. - LoginID: []
  31621. - Group: []
  31622. summary: 钻石搜索
  31623. tags:
  31624. - 广钻
  31625. /Guangzuan/QueryFworderoperate:
  31626. get:
  31627. parameters:
  31628. - description: 单据ID
  31629. in: query
  31630. name: orderid
  31631. required: true
  31632. type: string
  31633. - description: 操作后单据状态
  31634. in: query
  31635. name: status
  31636. required: true
  31637. type: integer
  31638. produces:
  31639. - application/json
  31640. responses:
  31641. "200":
  31642. description: OK
  31643. schema:
  31644. items:
  31645. $ref: '#/definitions/models.Fworderoperate'
  31646. type: array
  31647. "500":
  31648. description: Internal Server Error
  31649. schema:
  31650. $ref: '#/definitions/app.Response'
  31651. security:
  31652. - ApiKeyAuth: []
  31653. - LoginID: []
  31654. - Group: []
  31655. summary: 查询保税服务单据操作
  31656. tags:
  31657. - 广钻
  31658. /Guangzuan/QueryGZBSFWOrder:
  31659. get:
  31660. parameters:
  31661. - description: 用户ID
  31662. in: query
  31663. name: userid
  31664. required: true
  31665. type: integer
  31666. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31667. in: query
  31668. name: executestatus
  31669. type: integer
  31670. - description: 页码
  31671. in: query
  31672. name: page
  31673. type: integer
  31674. - description: 每页条数
  31675. in: query
  31676. name: pagesize
  31677. type: integer
  31678. produces:
  31679. - application/json
  31680. responses:
  31681. "200":
  31682. description: OK
  31683. schema:
  31684. items:
  31685. $ref: '#/definitions/models.GzbsfworderM'
  31686. type: array
  31687. "500":
  31688. description: Internal Server Error
  31689. schema:
  31690. $ref: '#/definitions/app.Response'
  31691. security:
  31692. - ApiKeyAuth: []
  31693. - LoginID: []
  31694. - Group: []
  31695. summary: 查询保税服务单据
  31696. tags:
  31697. - 广钻
  31698. /Guangzuan/QueryGZBSFWOrderDetail:
  31699. get:
  31700. parameters:
  31701. - description: 用户ID
  31702. in: query
  31703. name: userid
  31704. required: true
  31705. type: integer
  31706. - description: 单据ID
  31707. in: query
  31708. name: orderid
  31709. type: integer
  31710. - description: 页码
  31711. in: query
  31712. name: page
  31713. type: integer
  31714. - description: 每页条数
  31715. in: query
  31716. name: pagesize
  31717. type: integer
  31718. produces:
  31719. - application/json
  31720. responses:
  31721. "200":
  31722. description: OK
  31723. schema:
  31724. items:
  31725. $ref: '#/definitions/models.GzbsfworderdetailM'
  31726. type: array
  31727. "500":
  31728. description: Internal Server Error
  31729. schema:
  31730. $ref: '#/definitions/app.Response'
  31731. security:
  31732. - ApiKeyAuth: []
  31733. - LoginID: []
  31734. - Group: []
  31735. summary: 查询保税服务单据明细
  31736. tags:
  31737. - 广钻
  31738. /Guangzuan/QueryGZCJBSOrderFile:
  31739. get:
  31740. parameters:
  31741. - description: 单据ID
  31742. in: query
  31743. name: orderid
  31744. required: true
  31745. type: integer
  31746. - description: 页码
  31747. in: query
  31748. name: page
  31749. type: integer
  31750. - description: 每页条数
  31751. in: query
  31752. name: pagesize
  31753. type: integer
  31754. produces:
  31755. - application/json
  31756. responses:
  31757. "200":
  31758. description: OK
  31759. schema:
  31760. items:
  31761. $ref: '#/definitions/models.GzcjbsorderfileM'
  31762. type: array
  31763. "500":
  31764. description: Internal Server Error
  31765. schema:
  31766. $ref: '#/definitions/app.Response'
  31767. security:
  31768. - ApiKeyAuth: []
  31769. - LoginID: []
  31770. - Group: []
  31771. summary: 出境保税单据文件
  31772. tags:
  31773. - 广钻
  31774. /Guangzuan/QueryGZCJJCOrder:
  31775. get:
  31776. parameters:
  31777. - description: 用户ID
  31778. in: query
  31779. name: userid
  31780. required: true
  31781. type: integer
  31782. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31783. in: query
  31784. name: executestatus
  31785. type: integer
  31786. - description: 页码
  31787. in: query
  31788. name: page
  31789. type: integer
  31790. - description: 每页条数
  31791. in: query
  31792. name: pagesize
  31793. type: integer
  31794. produces:
  31795. - application/json
  31796. responses:
  31797. "200":
  31798. description: OK
  31799. schema:
  31800. items:
  31801. $ref: '#/definitions/models.GzcjjcorderM'
  31802. type: array
  31803. "500":
  31804. description: Internal Server Error
  31805. schema:
  31806. $ref: '#/definitions/app.Response'
  31807. security:
  31808. - ApiKeyAuth: []
  31809. - LoginID: []
  31810. - Group: []
  31811. summary: 查询出境检测单据
  31812. tags:
  31813. - 广钻
  31814. /Guangzuan/QueryGZCJJCOrderDetail:
  31815. get:
  31816. parameters:
  31817. - description: 用户ID
  31818. in: query
  31819. name: userid
  31820. required: true
  31821. type: integer
  31822. - description: 单据ID
  31823. in: query
  31824. name: orderid
  31825. type: integer
  31826. - description: 页码
  31827. in: query
  31828. name: page
  31829. type: integer
  31830. - description: 每页条数
  31831. in: query
  31832. name: pagesize
  31833. type: integer
  31834. produces:
  31835. - application/json
  31836. responses:
  31837. "200":
  31838. description: OK
  31839. schema:
  31840. items:
  31841. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31842. type: array
  31843. "500":
  31844. description: Internal Server Error
  31845. schema:
  31846. $ref: '#/definitions/app.Response'
  31847. security:
  31848. - ApiKeyAuth: []
  31849. - LoginID: []
  31850. - Group: []
  31851. summary: 查询出境检测单据明细(批次信息)
  31852. tags:
  31853. - 广钻
  31854. /Guangzuan/QueryGzcjjcorderoperate:
  31855. get:
  31856. parameters:
  31857. - description: 单据ID
  31858. in: query
  31859. name: orderid
  31860. required: true
  31861. type: string
  31862. - description: 操作后单据状态
  31863. in: query
  31864. name: status
  31865. required: true
  31866. type: integer
  31867. produces:
  31868. - application/json
  31869. responses:
  31870. "200":
  31871. description: OK
  31872. schema:
  31873. items:
  31874. $ref: '#/definitions/models.Gzcjjcorderoperate'
  31875. type: array
  31876. "500":
  31877. description: Internal Server Error
  31878. schema:
  31879. $ref: '#/definitions/app.Response'
  31880. security:
  31881. - ApiKeyAuth: []
  31882. - LoginID: []
  31883. - Group: []
  31884. summary: 查询出境检测单据操作
  31885. tags:
  31886. - 广钻
  31887. /Guangzuan/QueryMemberReport:
  31888. get:
  31889. parameters:
  31890. - description: 用户ID
  31891. in: query
  31892. name: userid
  31893. required: true
  31894. type: integer
  31895. - description: 页码
  31896. in: query
  31897. name: page
  31898. type: integer
  31899. - description: 每页条数
  31900. in: query
  31901. name: pagesize
  31902. type: integer
  31903. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31904. in: query
  31905. name: cycletype
  31906. type: string
  31907. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31908. in: query
  31909. name: begindate
  31910. required: true
  31911. type: string
  31912. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31913. in: query
  31914. name: enddate
  31915. required: true
  31916. type: string
  31917. produces:
  31918. - application/json
  31919. responses:
  31920. "200":
  31921. description: OK
  31922. schema:
  31923. items:
  31924. $ref: '#/definitions/models.Reckondaytaaccount'
  31925. type: array
  31926. "500":
  31927. description: Internal Server Error
  31928. schema:
  31929. $ref: '#/definitions/app.Response'
  31930. security:
  31931. - ApiKeyAuth: []
  31932. - LoginID: []
  31933. - Group: []
  31934. summary: 查询会员报表
  31935. tags:
  31936. - 广钻
  31937. /Guangzuan/QueryMyBargainApply:
  31938. get:
  31939. parameters:
  31940. - description: 用户ID
  31941. in: query
  31942. name: userid
  31943. required: true
  31944. type: integer
  31945. - description: 页码
  31946. in: query
  31947. name: page
  31948. type: integer
  31949. - description: 每页条数
  31950. in: query
  31951. name: pagesize
  31952. type: integer
  31953. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  31954. in: query
  31955. name: applystatus
  31956. type: integer
  31957. - description: 查询类型 - 0:我的询价 1:我订单的询价
  31958. in: query
  31959. name: type
  31960. type: integer
  31961. - description: 关联委托单ID
  31962. in: query
  31963. name: wrtradeorderid
  31964. type: string
  31965. produces:
  31966. - application/json
  31967. responses:
  31968. "200":
  31969. description: OK
  31970. schema:
  31971. items:
  31972. $ref: '#/definitions/models.MyBargainApply'
  31973. type: array
  31974. "500":
  31975. description: Internal Server Error
  31976. schema:
  31977. $ref: '#/definitions/app.Response'
  31978. security:
  31979. - ApiKeyAuth: []
  31980. - LoginID: []
  31981. - Group: []
  31982. summary: 查询询价-求购
  31983. tags:
  31984. - 广钻
  31985. /Guangzuan/QueryMyBuyOrder:
  31986. get:
  31987. parameters:
  31988. - description: 用户ID
  31989. in: query
  31990. name: userid
  31991. required: true
  31992. type: integer
  31993. - description: 页码
  31994. in: query
  31995. name: page
  31996. type: integer
  31997. - description: 每页条数
  31998. in: query
  31999. name: pagesize
  32000. type: integer
  32001. - description: 商品(查询字段-模糊查询)
  32002. in: query
  32003. name: zsallproperties
  32004. type: string
  32005. - description: 钻石分类, 格式:1,2,3
  32006. in: query
  32007. name: zscategorys
  32008. type: string
  32009. - description: 委托单号
  32010. in: query
  32011. name: wrtradeorderid
  32012. type: integer
  32013. - description: 是否历史查询
  32014. in: query
  32015. name: ishis
  32016. type: boolean
  32017. - description: 开始交易日(yyyymmdd)
  32018. in: query
  32019. name: begindate
  32020. type: string
  32021. - description: 结束交易日(yyyymmdd)
  32022. in: query
  32023. name: enddate
  32024. type: string
  32025. produces:
  32026. - application/json
  32027. responses:
  32028. "200":
  32029. description: OK
  32030. schema:
  32031. items:
  32032. $ref: '#/definitions/models.MyBuyOrder'
  32033. type: array
  32034. "500":
  32035. description: Internal Server Error
  32036. schema:
  32037. $ref: '#/definitions/app.Response'
  32038. security:
  32039. - ApiKeyAuth: []
  32040. - LoginID: []
  32041. - Group: []
  32042. summary: 查询我的求购
  32043. tags:
  32044. - 广钻
  32045. /Guangzuan/QueryMyDeListing:
  32046. get:
  32047. parameters:
  32048. - description: 用户ID
  32049. in: query
  32050. name: userid
  32051. required: true
  32052. type: integer
  32053. - description: 页码
  32054. in: query
  32055. name: page
  32056. type: integer
  32057. - description: 每页条数
  32058. in: query
  32059. name: pagesize
  32060. type: integer
  32061. - description: 商品(查询字段-模糊查询)
  32062. in: query
  32063. name: zsallproperties
  32064. type: string
  32065. - description: 钻石分类, 格式:1,2,3
  32066. in: query
  32067. name: zscategorys
  32068. type: string
  32069. - description: 成交单号
  32070. in: query
  32071. name: wrtradedetailid
  32072. type: integer
  32073. - description: 方向,0-购买 1-出售
  32074. in: query
  32075. name: buyorsell
  32076. type: integer
  32077. - description: 对手方(模糊匹配)
  32078. in: query
  32079. name: matchusername
  32080. type: string
  32081. - description: 开始交易日(yyyymmdd)
  32082. in: query
  32083. name: begindate
  32084. type: string
  32085. - description: 结束交易日(yyyymmdd)
  32086. in: query
  32087. name: enddate
  32088. type: string
  32089. produces:
  32090. - application/json
  32091. responses:
  32092. "200":
  32093. description: OK
  32094. schema:
  32095. items:
  32096. $ref: '#/definitions/models.MyDeListing'
  32097. type: array
  32098. "500":
  32099. description: Internal Server Error
  32100. schema:
  32101. $ref: '#/definitions/app.Response'
  32102. security:
  32103. - ApiKeyAuth: []
  32104. - LoginID: []
  32105. - Group: []
  32106. summary: 查询我的摘牌
  32107. tags:
  32108. - 广钻
  32109. /Guangzuan/QueryMyDelistingApply:
  32110. get:
  32111. parameters:
  32112. - description: 用户ID
  32113. in: query
  32114. name: userid
  32115. required: true
  32116. type: integer
  32117. - description: 页码
  32118. in: query
  32119. name: page
  32120. type: integer
  32121. - description: 每页条数
  32122. in: query
  32123. name: pagesize
  32124. type: integer
  32125. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32126. in: query
  32127. name: applystatus
  32128. type: integer
  32129. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32130. in: query
  32131. name: type
  32132. type: integer
  32133. - description: 买委托单ID
  32134. in: query
  32135. name: buywrtradeorderid
  32136. type: string
  32137. produces:
  32138. - application/json
  32139. responses:
  32140. "200":
  32141. description: OK
  32142. schema:
  32143. items:
  32144. $ref: '#/definitions/models.MyDelistingApply'
  32145. type: array
  32146. "500":
  32147. description: Internal Server Error
  32148. schema:
  32149. $ref: '#/definitions/app.Response'
  32150. security:
  32151. - ApiKeyAuth: []
  32152. - LoginID: []
  32153. - Group: []
  32154. summary: 查询询价-出售
  32155. tags:
  32156. - 广钻
  32157. /Guangzuan/QueryMyFavorite:
  32158. get:
  32159. parameters:
  32160. - description: 用户ID
  32161. in: query
  32162. name: userid
  32163. required: true
  32164. type: integer
  32165. - description: 页码
  32166. in: query
  32167. name: page
  32168. type: integer
  32169. - description: 每页条数
  32170. in: query
  32171. name: pagesize
  32172. type: integer
  32173. - description: 钻石分类, 格式:1,2,3
  32174. in: query
  32175. name: zscategorys
  32176. type: string
  32177. produces:
  32178. - application/json
  32179. responses:
  32180. "200":
  32181. description: OK
  32182. schema:
  32183. items:
  32184. $ref: '#/definitions/models.MyFavorite'
  32185. type: array
  32186. "500":
  32187. description: Internal Server Error
  32188. schema:
  32189. $ref: '#/definitions/app.Response'
  32190. security:
  32191. - ApiKeyAuth: []
  32192. - LoginID: []
  32193. - Group: []
  32194. summary: 查询我的收藏
  32195. tags:
  32196. - 广钻
  32197. /Guangzuan/QueryMyPerformanc:
  32198. get:
  32199. parameters:
  32200. - description: 用户ID
  32201. in: query
  32202. name: userid
  32203. required: true
  32204. type: integer
  32205. - description: 页码
  32206. in: query
  32207. name: page
  32208. type: integer
  32209. - description: 每页条数
  32210. in: query
  32211. name: pagesize
  32212. type: integer
  32213. - description: 商品(查询字段-模糊查询)
  32214. in: query
  32215. name: zsallproperties
  32216. type: string
  32217. - description: 方向,0-买 1-卖
  32218. in: query
  32219. name: buyorsell
  32220. type: integer
  32221. - description: 是否历史查询
  32222. in: query
  32223. name: ishis
  32224. type: boolean
  32225. - description: 开始交易日(yyyymmdd)
  32226. in: query
  32227. name: begindate
  32228. type: string
  32229. - description: 结束交易日(yyyymmdd)
  32230. in: query
  32231. name: enddate
  32232. type: string
  32233. produces:
  32234. - application/json
  32235. responses:
  32236. "200":
  32237. description: OK
  32238. schema:
  32239. items:
  32240. $ref: '#/definitions/models.MyPerformanc'
  32241. type: array
  32242. "500":
  32243. description: Internal Server Error
  32244. schema:
  32245. $ref: '#/definitions/app.Response'
  32246. security:
  32247. - ApiKeyAuth: []
  32248. - LoginID: []
  32249. - Group: []
  32250. summary: 查询我的履约
  32251. tags:
  32252. - 广钻
  32253. /Guangzuan/QueryMySellOrder:
  32254. get:
  32255. parameters:
  32256. - description: 用户ID
  32257. in: query
  32258. name: userid
  32259. required: true
  32260. type: integer
  32261. - description: 页码
  32262. in: query
  32263. name: page
  32264. type: integer
  32265. - description: 每页条数
  32266. in: query
  32267. name: pagesize
  32268. type: integer
  32269. - description: 商品(查询字段-模糊查询)
  32270. in: query
  32271. name: zsallproperties
  32272. type: string
  32273. - description: 钻石分类, 格式:1,2,3
  32274. in: query
  32275. name: zscategorys
  32276. type: string
  32277. - description: 委托单号
  32278. in: query
  32279. name: wrtradeorderid
  32280. type: integer
  32281. - description: 是否历史查询
  32282. in: query
  32283. name: ishis
  32284. type: boolean
  32285. - description: 开始交易日(yyyymmdd)
  32286. in: query
  32287. name: begindate
  32288. type: string
  32289. - description: 结束交易日(yyyymmdd)
  32290. in: query
  32291. name: enddate
  32292. type: string
  32293. produces:
  32294. - application/json
  32295. responses:
  32296. "200":
  32297. description: OK
  32298. schema:
  32299. items:
  32300. $ref: '#/definitions/models.MySellOrder'
  32301. type: array
  32302. "500":
  32303. description: Internal Server Error
  32304. schema:
  32305. $ref: '#/definitions/app.Response'
  32306. security:
  32307. - ApiKeyAuth: []
  32308. - LoginID: []
  32309. - Group: []
  32310. summary: 查询我的出售
  32311. tags:
  32312. - 广钻
  32313. /Guangzuan/QueryMyWRPosition:
  32314. get:
  32315. parameters:
  32316. - description: 页码
  32317. in: query
  32318. name: page
  32319. type: integer
  32320. - description: 每页条数
  32321. in: query
  32322. name: pagesize
  32323. type: integer
  32324. - description: 登录用户ID
  32325. in: query
  32326. name: wruserid
  32327. required: true
  32328. type: integer
  32329. - description: 商品(查询字段-模糊查询)
  32330. in: query
  32331. name: zsallproperties
  32332. type: string
  32333. - description: 钻石分类, 格式:1,2,3
  32334. in: query
  32335. name: zscategorys
  32336. type: string
  32337. - description: 仓库ID
  32338. in: query
  32339. name: warehouseid
  32340. type: integer
  32341. - description: 是否上架,0-全部 1-是 2-否
  32342. in: query
  32343. name: marketflag
  32344. type: integer
  32345. produces:
  32346. - application/json
  32347. responses:
  32348. "200":
  32349. description: OK
  32350. schema:
  32351. items:
  32352. $ref: '#/definitions/models.MyWRPosition'
  32353. type: array
  32354. "500":
  32355. description: Internal Server Error
  32356. schema:
  32357. $ref: '#/definitions/app.Response'
  32358. security:
  32359. - ApiKeyAuth: []
  32360. - LoginID: []
  32361. - Group: []
  32362. summary: 查询我的库存
  32363. tags:
  32364. - 广钻
  32365. /Guangzuan/QuerySellOrder:
  32366. get:
  32367. parameters:
  32368. - description: 页码
  32369. in: query
  32370. name: page
  32371. type: integer
  32372. - description: 每页条数
  32373. in: query
  32374. name: pagesize
  32375. type: integer
  32376. - description: 商品(查询字段-模糊查询)
  32377. in: query
  32378. name: zsallproperties
  32379. type: string
  32380. - description: 钻石分类, 格式:1,2,3
  32381. in: query
  32382. name: zscategorys
  32383. type: string
  32384. - description: 委托单号
  32385. in: query
  32386. name: wrtradeorderid
  32387. type: integer
  32388. - description: 卖方(查询字段-模糊查询)
  32389. in: query
  32390. name: buyusername
  32391. type: string
  32392. produces:
  32393. - application/json
  32394. responses:
  32395. "200":
  32396. description: OK
  32397. schema:
  32398. items:
  32399. $ref: '#/definitions/models.SellOrder'
  32400. type: array
  32401. "500":
  32402. description: Internal Server Error
  32403. schema:
  32404. $ref: '#/definitions/app.Response'
  32405. security:
  32406. - ApiKeyAuth: []
  32407. - LoginID: []
  32408. - Group: []
  32409. summary: 查询出售大厅委托单
  32410. tags:
  32411. - 广钻
  32412. /Guangzuan/QueryTradeReport:
  32413. get:
  32414. parameters:
  32415. - description: 用户ID
  32416. in: query
  32417. name: userid
  32418. required: true
  32419. type: integer
  32420. - description: 页码
  32421. in: query
  32422. name: page
  32423. type: integer
  32424. - description: 每页条数
  32425. in: query
  32426. name: pagesize
  32427. type: integer
  32428. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32429. in: query
  32430. name: cycletype
  32431. type: string
  32432. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32433. in: query
  32434. name: begindate
  32435. required: true
  32436. type: string
  32437. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32438. in: query
  32439. name: enddate
  32440. required: true
  32441. type: string
  32442. - description: 商品分类
  32443. in: query
  32444. name: zscategory
  32445. type: integer
  32446. - description: 商品币种
  32447. in: query
  32448. name: zscurrencytype
  32449. type: integer
  32450. produces:
  32451. - application/json
  32452. responses:
  32453. "200":
  32454. description: OK
  32455. schema:
  32456. items:
  32457. $ref: '#/definitions/models.Reckongzmemtradesum'
  32458. type: array
  32459. "500":
  32460. description: Internal Server Error
  32461. schema:
  32462. $ref: '#/definitions/app.Response'
  32463. security:
  32464. - ApiKeyAuth: []
  32465. - LoginID: []
  32466. - Group: []
  32467. summary: 查询交易报表
  32468. tags:
  32469. - 广钻
  32470. /Guangzuan/QueryWRPositionReport:
  32471. get:
  32472. parameters:
  32473. - description: 用户ID
  32474. in: query
  32475. name: userid
  32476. required: true
  32477. type: integer
  32478. - description: 页码
  32479. in: query
  32480. name: page
  32481. type: integer
  32482. - description: 每页条数
  32483. in: query
  32484. name: pagesize
  32485. type: integer
  32486. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32487. in: query
  32488. name: cycletype
  32489. type: string
  32490. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32491. in: query
  32492. name: begindate
  32493. required: true
  32494. type: string
  32495. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32496. in: query
  32497. name: enddate
  32498. required: true
  32499. type: string
  32500. - description: 商品分类
  32501. in: query
  32502. name: zscategory
  32503. type: integer
  32504. - description: 商品币种
  32505. in: query
  32506. name: zscurrencytype
  32507. type: integer
  32508. produces:
  32509. - application/json
  32510. responses:
  32511. "200":
  32512. description: OK
  32513. schema:
  32514. items:
  32515. $ref: '#/definitions/models.WRPositionReport'
  32516. type: array
  32517. "500":
  32518. description: Internal Server Error
  32519. schema:
  32520. $ref: '#/definitions/app.Response'
  32521. security:
  32522. - ApiKeyAuth: []
  32523. - LoginID: []
  32524. - Group: []
  32525. summary: 查询仓储报表
  32526. tags:
  32527. - 广钻
  32528. /Guangzuan/QueryWarehouseInfo:
  32529. get:
  32530. parameters:
  32531. - description: 页码
  32532. in: query
  32533. name: page
  32534. type: integer
  32535. - description: 每页条数
  32536. in: query
  32537. name: pagesize
  32538. type: integer
  32539. - description: 用户ID
  32540. in: query
  32541. name: userid
  32542. required: true
  32543. type: integer
  32544. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32545. in: query
  32546. name: status
  32547. type: string
  32548. - description: 是返回交易所仓库
  32549. in: query
  32550. name: isincludeexchange
  32551. type: boolean
  32552. produces:
  32553. - application/json
  32554. responses:
  32555. "200":
  32556. description: OK
  32557. schema:
  32558. items:
  32559. $ref: '#/definitions/models.GZWarehouseinfo'
  32560. type: array
  32561. "500":
  32562. description: Internal Server Error
  32563. schema:
  32564. $ref: '#/definitions/app.Response'
  32565. security:
  32566. - ApiKeyAuth: []
  32567. - LoginID: []
  32568. - Group: []
  32569. summary: 查询仓库信息
  32570. tags:
  32571. - 广钻
  32572. /HSBY/GetHsbyMyCount:
  32573. get:
  32574. description: 说明: 不包括已完成的数量。
  32575. parameters:
  32576. - description: 资金账户列表,格式:1,2,3
  32577. in: query
  32578. name: accountIDs
  32579. required: true
  32580. type: string
  32581. produces:
  32582. - application/json
  32583. responses:
  32584. "200":
  32585. description: OK
  32586. schema:
  32587. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32588. "500":
  32589. description: Internal Server Error
  32590. schema:
  32591. $ref: '#/definitions/app.Response'
  32592. security:
  32593. - ApiKeyAuth: []
  32594. summary: 获取我的订单与包裹数量
  32595. tags:
  32596. - 定制【海商报业】
  32597. /HSBY/QueryClientFixedADConfigs:
  32598. get:
  32599. produces:
  32600. - application/json
  32601. responses:
  32602. "200":
  32603. description: OK
  32604. schema:
  32605. $ref: '#/definitions/models.Clientfixedadconfig'
  32606. "500":
  32607. description: Internal Server Error
  32608. schema:
  32609. $ref: '#/definitions/app.Response'
  32610. security:
  32611. - ApiKeyAuth: []
  32612. summary: 获取终端固定广告配置
  32613. tags:
  32614. - 定制【海商报业】
  32615. /HSBY/QueryHsbyBuyMyTradeDetail:
  32616. get:
  32617. parameters:
  32618. - description: 页码
  32619. in: query
  32620. name: page
  32621. type: integer
  32622. - description: 每页条数
  32623. in: query
  32624. name: pagesize
  32625. type: integer
  32626. - description: 资金账户列表,格式:1,2,3
  32627. in: query
  32628. name: accountIDs
  32629. required: true
  32630. type: string
  32631. produces:
  32632. - application/json
  32633. responses:
  32634. "200":
  32635. description: OK
  32636. schema:
  32637. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32638. "500":
  32639. description: Internal Server Error
  32640. schema:
  32641. $ref: '#/definitions/app.Response'
  32642. security:
  32643. - ApiKeyAuth: []
  32644. summary: 查询"我的订单 - 已完成"单据信息
  32645. tags:
  32646. - 定制【海商报业】
  32647. /HSBY/QueryHsbyGoodsOrderDetails:
  32648. get:
  32649. description: 说明:查询结果已按委托价格和委托时间排序
  32650. parameters:
  32651. - description: 商品ID
  32652. in: query
  32653. name: goodsID
  32654. required: true
  32655. type: integer
  32656. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32657. in: query
  32658. name: accountIDs
  32659. type: string
  32660. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32661. in: query
  32662. name: buyOrSell
  32663. type: integer
  32664. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32665. in: query
  32666. name: price
  32667. type: number
  32668. - description: 档位,不传则默认为3档
  32669. in: query
  32670. name: speed
  32671. type: integer
  32672. produces:
  32673. - application/json
  32674. responses:
  32675. "200":
  32676. description: OK
  32677. schema:
  32678. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32679. "500":
  32680. description: Internal Server Error
  32681. schema:
  32682. $ref: '#/definitions/app.Response'
  32683. security:
  32684. - ApiKeyAuth: []
  32685. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32686. tags:
  32687. - 定制【海商报业】
  32688. /HSBY/QueryHsbyListingGoodsDetail:
  32689. get:
  32690. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32691. parameters:
  32692. - description: 商品ID
  32693. in: query
  32694. name: goodsID
  32695. required: true
  32696. type: integer
  32697. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32698. in: query
  32699. name: accountID
  32700. type: integer
  32701. produces:
  32702. - application/json
  32703. responses:
  32704. "200":
  32705. description: OK
  32706. schema:
  32707. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32708. "500":
  32709. description: Internal Server Error
  32710. schema:
  32711. $ref: '#/definitions/app.Response'
  32712. security:
  32713. - ApiKeyAuth: []
  32714. summary: 查询二级市场(挂牌点选)商品信息详情
  32715. tags:
  32716. - 定制【海商报业】
  32717. /HSBY/QueryHsbyMarketGoodsDetail:
  32718. get:
  32719. parameters:
  32720. - description: 委托单号
  32721. in: query
  32722. name: orderID
  32723. required: true
  32724. type: integer
  32725. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32726. in: query
  32727. name: accountID
  32728. type: integer
  32729. produces:
  32730. - application/json
  32731. responses:
  32732. "200":
  32733. description: OK
  32734. schema:
  32735. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32736. "500":
  32737. description: Internal Server Error
  32738. schema:
  32739. $ref: '#/definitions/app.Response'
  32740. security:
  32741. - ApiKeyAuth: []
  32742. summary: 查询三级市场(商城)商品信息详情
  32743. tags:
  32744. - 定制【海商报业】
  32745. /HSBY/QueryHsbyMarketGoodses:
  32746. get:
  32747. parameters:
  32748. - description: 页码
  32749. in: query
  32750. name: page
  32751. type: integer
  32752. - description: 每页条数
  32753. in: query
  32754. name: pagesize
  32755. type: integer
  32756. - description: 市场ID列表,格式:1,2,3
  32757. in: query
  32758. name: marketIDs
  32759. required: true
  32760. type: string
  32761. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32762. in: query
  32763. name: accountID
  32764. required: true
  32765. type: integer
  32766. - description: 类别ID
  32767. in: query
  32768. name: categoryID
  32769. type: integer
  32770. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32771. in: query
  32772. name: goodsIDs
  32773. type: string
  32774. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32775. in: query
  32776. name: couponTypeID
  32777. type: integer
  32778. produces:
  32779. - application/json
  32780. responses:
  32781. "200":
  32782. description: OK
  32783. schema:
  32784. $ref: '#/definitions/models.HsbyMarketGoods'
  32785. "500":
  32786. description: Internal Server Error
  32787. schema:
  32788. $ref: '#/definitions/app.Response'
  32789. security:
  32790. - ApiKeyAuth: []
  32791. summary: 查询特卖商品列表(三级商城)
  32792. tags:
  32793. - 定制【海商报业】
  32794. /HSBY/QueryHsbyMarkets:
  32795. get:
  32796. produces:
  32797. - application/json
  32798. responses:
  32799. "200":
  32800. description: OK
  32801. schema:
  32802. $ref: '#/definitions/models.HsbyMarketInfo'
  32803. "500":
  32804. description: Internal Server Error
  32805. schema:
  32806. $ref: '#/definitions/app.Response'
  32807. security:
  32808. - ApiKeyAuth: []
  32809. summary: 查询海商报业相关市场信息
  32810. tags:
  32811. - 定制【海商报业】
  32812. /HSBY/QueryHsbyMyBuyOrderDetails:
  32813. get:
  32814. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32815. parameters:
  32816. - description: 资金账户列表,格式:1,2,3
  32817. in: query
  32818. name: accountIDs
  32819. required: true
  32820. type: string
  32821. produces:
  32822. - application/json
  32823. responses:
  32824. "200":
  32825. description: OK
  32826. schema:
  32827. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32828. "500":
  32829. description: Internal Server Error
  32830. schema:
  32831. $ref: '#/definitions/app.Response'
  32832. security:
  32833. - ApiKeyAuth: []
  32834. summary: 查询“我的订单”信息
  32835. tags:
  32836. - 定制【海商报业】
  32837. /HSBY/QueryHsbyMyGoods:
  32838. get:
  32839. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32840. parameters:
  32841. - description: 资金账户列表,格式:1,2,3
  32842. in: query
  32843. name: accountIDs
  32844. required: true
  32845. type: string
  32846. produces:
  32847. - application/json
  32848. responses:
  32849. "200":
  32850. description: OK
  32851. schema:
  32852. $ref: '#/definitions/models.HsbyMyGoods'
  32853. "500":
  32854. description: Internal Server Error
  32855. schema:
  32856. $ref: '#/definitions/app.Response'
  32857. security:
  32858. - ApiKeyAuth: []
  32859. summary: 查询“我的商品”信息
  32860. tags:
  32861. - 定制【海商报业】
  32862. /HSBY/QueryHsbyMyPackages:
  32863. get:
  32864. parameters:
  32865. - description: 资金账户列表,格式:1,2,3
  32866. in: query
  32867. name: accountIDs
  32868. required: true
  32869. type: string
  32870. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32871. in: query
  32872. name: takeOrderStatus
  32873. type: integer
  32874. produces:
  32875. - application/json
  32876. responses:
  32877. "200":
  32878. description: OK
  32879. schema:
  32880. $ref: '#/definitions/models.HsbyMyPackage'
  32881. "500":
  32882. description: Internal Server Error
  32883. schema:
  32884. $ref: '#/definitions/app.Response'
  32885. security:
  32886. - ApiKeyAuth: []
  32887. summary: 查询我的包裹信息
  32888. tags:
  32889. - 定制【海商报业】
  32890. /HSBY/QueryHsbyPreGoodsDetail:
  32891. get:
  32892. parameters:
  32893. - description: 商品ID
  32894. in: query
  32895. name: goodsID
  32896. required: true
  32897. type: integer
  32898. - description: 资金账户,主要用于获取预售商品购买上限
  32899. in: query
  32900. name: accountID
  32901. type: integer
  32902. produces:
  32903. - application/json
  32904. responses:
  32905. "200":
  32906. description: OK
  32907. schema:
  32908. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32909. "500":
  32910. description: Internal Server Error
  32911. schema:
  32912. $ref: '#/definitions/app.Response'
  32913. security:
  32914. - ApiKeyAuth: []
  32915. summary: 查询一级市场(预售)商品信息详情
  32916. tags:
  32917. - 定制【海商报业】
  32918. /HSBY/QueryHsbyPreGoodses:
  32919. get:
  32920. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32921. parameters:
  32922. - description: 页码
  32923. in: query
  32924. name: page
  32925. type: integer
  32926. - description: 每页条数
  32927. in: query
  32928. name: pagesize
  32929. type: integer
  32930. - description: 市场ID列表,格式:1,2,3
  32931. in: query
  32932. name: marketIDs
  32933. required: true
  32934. type: string
  32935. - description: 目的地(省)ID
  32936. in: query
  32937. name: descProvinceID
  32938. type: integer
  32939. - description: 目的地(市)ID
  32940. in: query
  32941. name: descCityID
  32942. type: integer
  32943. produces:
  32944. - application/json
  32945. responses:
  32946. "200":
  32947. description: OK
  32948. schema:
  32949. $ref: '#/definitions/models.HsbyPreGoods'
  32950. "500":
  32951. description: Internal Server Error
  32952. schema:
  32953. $ref: '#/definitions/app.Response'
  32954. security:
  32955. - ApiKeyAuth: []
  32956. summary: 查询新品上市商品列表(一级市场预售)
  32957. tags:
  32958. - 定制【海商报业】
  32959. /HSBY/QueryHsbySellMyDetails:
  32960. get:
  32961. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  32962. parameters:
  32963. - description: 页码
  32964. in: query
  32965. name: page
  32966. type: integer
  32967. - description: 每页条数
  32968. in: query
  32969. name: pagesize
  32970. type: integer
  32971. - description: 资金账户列表,格式:1,2,3
  32972. in: query
  32973. name: accountIDs
  32974. required: true
  32975. type: string
  32976. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  32977. in: query
  32978. name: orderType
  32979. type: integer
  32980. produces:
  32981. - application/json
  32982. responses:
  32983. "200":
  32984. description: OK
  32985. schema:
  32986. $ref: '#/definitions/models.HsbySellMyDetail'
  32987. "500":
  32988. description: Internal Server Error
  32989. schema:
  32990. $ref: '#/definitions/app.Response'
  32991. security:
  32992. - ApiKeyAuth: []
  32993. summary: 查询"我的闲置"单据信息
  32994. tags:
  32995. - 定制【海商报业】
  32996. /HSBY/QueryHsbyTopGoodses:
  32997. get:
  32998. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  32999. parameters:
  33000. - description: 页码
  33001. in: query
  33002. name: page
  33003. type: integer
  33004. - description: 每页条数
  33005. in: query
  33006. name: pagesize
  33007. type: integer
  33008. - description: 市场ID列表,格式:1,2,3
  33009. in: query
  33010. name: marketIDs
  33011. required: true
  33012. type: string
  33013. - description: 目的地(省)ID
  33014. in: query
  33015. name: descProvinceID
  33016. type: integer
  33017. - description: 目的地(市)ID
  33018. in: query
  33019. name: descCityID
  33020. type: integer
  33021. produces:
  33022. - application/json
  33023. responses:
  33024. "200":
  33025. description: OK
  33026. schema:
  33027. $ref: '#/definitions/models.HsbyTopGoods'
  33028. "500":
  33029. description: Internal Server Error
  33030. schema:
  33031. $ref: '#/definitions/app.Response'
  33032. security:
  33033. - ApiKeyAuth: []
  33034. summary: 查询热卖商品列表(二级市场挂牌点选)
  33035. tags:
  33036. - 定制【海商报业】
  33037. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33038. get:
  33039. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33040. parameters:
  33041. - description: 商品ID
  33042. in: query
  33043. name: goodsID
  33044. required: true
  33045. type: integer
  33046. produces:
  33047. - application/json
  33048. responses:
  33049. "200":
  33050. description: OK
  33051. schema:
  33052. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33053. "500":
  33054. description: Internal Server Error
  33055. schema:
  33056. $ref: '#/definitions/app.Response'
  33057. security:
  33058. - ApiKeyAuth: []
  33059. summary: 查询游客三级市场(商城)商品信息详情
  33060. tags:
  33061. - 定制【海商报业】
  33062. /HSBY/QueryHsbyVisitorMarketGoodses:
  33063. get:
  33064. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33065. parameters:
  33066. - description: 页码
  33067. in: query
  33068. name: page
  33069. type: integer
  33070. - description: 每页条数
  33071. in: query
  33072. name: pagesize
  33073. type: integer
  33074. - description: 市场ID列表,格式:1,2,3
  33075. in: query
  33076. name: marketIDs
  33077. required: true
  33078. type: string
  33079. - description: 类别ID
  33080. in: query
  33081. name: categoryID
  33082. type: integer
  33083. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33084. in: query
  33085. name: goodsIDs
  33086. type: string
  33087. produces:
  33088. - application/json
  33089. responses:
  33090. "200":
  33091. description: OK
  33092. schema:
  33093. $ref: '#/definitions/models.HsbyMarketGoods'
  33094. "500":
  33095. description: Internal Server Error
  33096. schema:
  33097. $ref: '#/definitions/app.Response'
  33098. security:
  33099. - ApiKeyAuth: []
  33100. summary: 查询游客特卖商品列表(三级商城)
  33101. tags:
  33102. - 定制【海商报业】
  33103. /HSBY/QueryMyCollectionOrders:
  33104. get:
  33105. parameters:
  33106. - description: 页码
  33107. in: query
  33108. name: page
  33109. type: integer
  33110. - description: 每页条数
  33111. in: query
  33112. name: pagesize
  33113. type: integer
  33114. - description: 资金账户,格式:1,2,3
  33115. in: query
  33116. name: accountIDs
  33117. required: true
  33118. type: string
  33119. produces:
  33120. - application/json
  33121. responses:
  33122. "200":
  33123. description: OK
  33124. schema:
  33125. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33126. "500":
  33127. description: Internal Server Error
  33128. schema:
  33129. $ref: '#/definitions/app.Response'
  33130. security:
  33131. - ApiKeyAuth: []
  33132. summary: 我的闲置中收款信息查询
  33133. tags:
  33134. - 定制【海商报业】
  33135. /HSBY/QueryMyCouponHolds:
  33136. get:
  33137. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33138. parameters:
  33139. - description: 资金账户列表,格式:1,2,3
  33140. in: query
  33141. name: accountIDs
  33142. required: true
  33143. type: string
  33144. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33145. in: query
  33146. name: holdStatus
  33147. type: string
  33148. produces:
  33149. - application/json
  33150. responses:
  33151. "200":
  33152. description: OK
  33153. schema:
  33154. $ref: '#/definitions/models.MyCouponHold'
  33155. "500":
  33156. description: Internal Server Error
  33157. schema:
  33158. $ref: '#/definitions/app.Response'
  33159. security:
  33160. - ApiKeyAuth: []
  33161. summary: 我的优惠卷持仓查询
  33162. tags:
  33163. - 定制【海商报业】
  33164. /HSBY/QueryMyCoupons:
  33165. get:
  33166. parameters:
  33167. - description: 资金账户列表,格式:1,2,3
  33168. in: query
  33169. name: accountIDs
  33170. required: true
  33171. type: string
  33172. - description: 商品ID, 一般与sellUserID配套传入
  33173. in: query
  33174. name: goodsID
  33175. type: integer
  33176. - description: 卖方UserID
  33177. in: query
  33178. name: sellUserID
  33179. type: integer
  33180. produces:
  33181. - application/json
  33182. responses:
  33183. "200":
  33184. description: OK
  33185. schema:
  33186. $ref: '#/definitions/models.MyCoupon'
  33187. "500":
  33188. description: Internal Server Error
  33189. schema:
  33190. $ref: '#/definitions/app.Response'
  33191. security:
  33192. - ApiKeyAuth: []
  33193. summary: 我的优惠卷查询
  33194. tags:
  33195. - 定制【海商报业】
  33196. /HSBY/QueryMyPayOrders:
  33197. get:
  33198. parameters:
  33199. - description: 页码
  33200. in: query
  33201. name: page
  33202. type: integer
  33203. - description: 每页条数
  33204. in: query
  33205. name: pagesize
  33206. type: integer
  33207. - description: 资金账户列表,格式:1,2,3
  33208. in: query
  33209. name: accountIDs
  33210. required: true
  33211. type: string
  33212. - description: 买方委托单号
  33213. in: query
  33214. name: buyOrderID
  33215. type: integer
  33216. - description: 卖方委托单号
  33217. in: query
  33218. name: sellOrderID
  33219. type: integer
  33220. produces:
  33221. - application/json
  33222. responses:
  33223. "200":
  33224. description: OK
  33225. schema:
  33226. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33227. "500":
  33228. description: Internal Server Error
  33229. schema:
  33230. $ref: '#/definitions/app.Response'
  33231. security:
  33232. - ApiKeyAuth: []
  33233. summary: 获取我的订单中待付款信息
  33234. tags:
  33235. - 定制【海商报业】
  33236. /HSBY/QueryMyUsedCoupon:
  33237. get:
  33238. parameters:
  33239. - description: 资金账户列表,格式:1,2,3
  33240. in: query
  33241. name: accountIDs
  33242. required: true
  33243. type: string
  33244. produces:
  33245. - application/json
  33246. responses:
  33247. "200":
  33248. description: OK
  33249. schema:
  33250. $ref: '#/definitions/models.MyUsedCoupon'
  33251. "500":
  33252. description: Internal Server Error
  33253. schema:
  33254. $ref: '#/definitions/app.Response'
  33255. security:
  33256. - ApiKeyAuth: []
  33257. summary: 已使用优惠卷查询
  33258. tags:
  33259. - 定制【海商报业】
  33260. /HSBY/QueryProvincesAndCities:
  33261. get:
  33262. description: 查询结果只包括二级市场商品已关连的省市信息。
  33263. parameters:
  33264. - description: 省ID
  33265. in: query
  33266. name: provinceID
  33267. type: integer
  33268. produces:
  33269. - application/json
  33270. responses:
  33271. "200":
  33272. description: OK
  33273. schema:
  33274. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33275. "500":
  33276. description: Internal Server Error
  33277. schema:
  33278. $ref: '#/definitions/app.Response'
  33279. security:
  33280. - ApiKeyAuth: []
  33281. summary: 查询省市信息(不包括区)
  33282. tags:
  33283. - 定制【海商报业】
  33284. /HSBY/SetHsbyMyPackagesStatus:
  33285. post:
  33286. parameters:
  33287. - description: 提货单号
  33288. in: query
  33289. name: takeOrderID
  33290. required: true
  33291. type: string
  33292. - description: 资金账号
  33293. in: query
  33294. name: accountID
  33295. required: true
  33296. type: integer
  33297. produces:
  33298. - application/json
  33299. responses:
  33300. "200":
  33301. description: OK
  33302. schema:
  33303. $ref: '#/definitions/app.Response'
  33304. "500":
  33305. description: Internal Server Error
  33306. schema:
  33307. $ref: '#/definitions/app.Response'
  33308. security:
  33309. - ApiKeyAuth: []
  33310. summary: 设置我的包裹已收货状态
  33311. tags:
  33312. - 定制【海商报业】
  33313. /Market/GetAllExExchanges:
  33314. get:
  33315. produces:
  33316. - application/json
  33317. responses:
  33318. "200":
  33319. description: OK
  33320. schema:
  33321. $ref: '#/definitions/models.Goods'
  33322. "500":
  33323. description: Internal Server Error
  33324. schema:
  33325. $ref: '#/definitions/app.Response'
  33326. security:
  33327. - ApiKeyAuth: []
  33328. summary: 获取所有外部交易所信息
  33329. tags:
  33330. - 通用市场
  33331. /Market/QueryGoodsesByLoginID:
  33332. get:
  33333. parameters:
  33334. - description: 登录账号
  33335. in: query
  33336. name: loginID
  33337. required: true
  33338. type: integer
  33339. - description: 市场ID列表,格式:1,2,3
  33340. in: query
  33341. name: marketIDs
  33342. type: string
  33343. produces:
  33344. - application/json
  33345. responses:
  33346. "200":
  33347. description: OK
  33348. schema:
  33349. $ref: '#/definitions/models.Goods'
  33350. "500":
  33351. description: Internal Server Error
  33352. schema:
  33353. $ref: '#/definitions/app.Response'
  33354. security:
  33355. - ApiKeyAuth: []
  33356. summary: 获取登录账号有权限的商品信息
  33357. tags:
  33358. - 通用市场
  33359. /Market/QueryMarketRun:
  33360. get:
  33361. parameters:
  33362. - description: 市场ID,不传返回所有
  33363. in: query
  33364. name: marketID
  33365. type: integer
  33366. produces:
  33367. - application/json
  33368. responses:
  33369. "200":
  33370. description: OK
  33371. schema:
  33372. $ref: '#/definitions/models.Marketrun'
  33373. "500":
  33374. description: Internal Server Error
  33375. schema:
  33376. $ref: '#/definitions/app.Response'
  33377. security:
  33378. - ApiKeyAuth: []
  33379. summary: 查询市场运行信息
  33380. tags:
  33381. - 通用市场
  33382. /Market/QueryMarketsByLoginID:
  33383. get:
  33384. parameters:
  33385. - description: 登录账号
  33386. in: query
  33387. name: loginID
  33388. required: true
  33389. type: integer
  33390. produces:
  33391. - application/json
  33392. responses:
  33393. "200":
  33394. description: OK
  33395. schema:
  33396. $ref: '#/definitions/models.Market'
  33397. "500":
  33398. description: Internal Server Error
  33399. schema:
  33400. $ref: '#/definitions/app.Response'
  33401. security:
  33402. - ApiKeyAuth: []
  33403. summary: 获取登录账号有权限的市场信息
  33404. tags:
  33405. - 通用市场
  33406. /Order/QueryHisTradeDetail:
  33407. get:
  33408. parameters:
  33409. - description: 资金账户 - 格式:1,2,3
  33410. in: query
  33411. name: accountID
  33412. required: true
  33413. type: string
  33414. - description: 成交单号
  33415. in: query
  33416. name: tradeID
  33417. type: integer
  33418. - description: 委托单号
  33419. in: query
  33420. name: orderID
  33421. type: integer
  33422. - description: 商品ID
  33423. in: query
  33424. name: goodsID
  33425. type: integer
  33426. - description: 交易模式 - 格式:1,2,3
  33427. in: query
  33428. name: tradeMode
  33429. type: string
  33430. - description: 委托单据类型
  33431. in: query
  33432. name: buildType
  33433. type: integer
  33434. - description: 成交类别 - 格式:1,2,3
  33435. in: query
  33436. name: tradeType
  33437. type: string
  33438. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33439. in: query
  33440. name: startDate
  33441. type: string
  33442. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33443. in: query
  33444. name: endDate
  33445. type: string
  33446. produces:
  33447. - application/json
  33448. responses:
  33449. "200":
  33450. description: OK
  33451. schema:
  33452. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33453. "500":
  33454. description: Internal Server Error
  33455. schema:
  33456. $ref: '#/definitions/app.Response'
  33457. security:
  33458. - ApiKeyAuth: []
  33459. summary: 历史成交单查询(合约市场)
  33460. tags:
  33461. - 通用单据
  33462. /Order/QueryHisTradeOrderDetail:
  33463. get:
  33464. parameters:
  33465. - description: 资金账户 - 格式:1,2,3
  33466. in: query
  33467. name: accountID
  33468. required: true
  33469. type: string
  33470. - description: 交易模式 - 格式:1,2,3
  33471. in: query
  33472. name: tradeMode
  33473. type: string
  33474. - description: 委托状态 - 格式:1,2,3
  33475. in: query
  33476. name: orderStatus
  33477. type: string
  33478. - description: 委托单号
  33479. in: query
  33480. name: orderID
  33481. type: integer
  33482. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33483. in: query
  33484. name: startDate
  33485. type: string
  33486. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33487. in: query
  33488. name: endDate
  33489. type: string
  33490. produces:
  33491. - application/json
  33492. responses:
  33493. "200":
  33494. description: OK
  33495. schema:
  33496. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33497. "500":
  33498. description: Internal Server Error
  33499. schema:
  33500. $ref: '#/definitions/app.Response'
  33501. security:
  33502. - ApiKeyAuth: []
  33503. summary: 历史委托单查询请求(合约市场)
  33504. tags:
  33505. - 通用单据
  33506. /Order/QueryTradeDetail:
  33507. get:
  33508. parameters:
  33509. - description: 资金账户 - 格式:1,2,3
  33510. in: query
  33511. name: accountID
  33512. required: true
  33513. type: string
  33514. - description: 成交单号
  33515. in: query
  33516. name: tradeID
  33517. type: integer
  33518. - description: 委托单号
  33519. in: query
  33520. name: orderID
  33521. type: integer
  33522. - description: 交易模式 - 格式:1,2,3
  33523. in: query
  33524. name: tradeMode
  33525. type: string
  33526. - description: 委托单据类型
  33527. in: query
  33528. name: buildType
  33529. type: integer
  33530. - description: 成交类别 - 格式:1,2,3
  33531. in: query
  33532. name: tradeType
  33533. type: string
  33534. - description: 商品ID
  33535. in: query
  33536. name: goodsID
  33537. type: integer
  33538. produces:
  33539. - application/json
  33540. responses:
  33541. "200":
  33542. description: OK
  33543. schema:
  33544. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33545. "500":
  33546. description: Internal Server Error
  33547. schema:
  33548. $ref: '#/definitions/app.Response'
  33549. security:
  33550. - ApiKeyAuth: []
  33551. summary: 成交单查询(合约市场)
  33552. tags:
  33553. - 通用单据
  33554. /Order/QueryTradeHolderDetail:
  33555. get:
  33556. parameters:
  33557. - description: 用户id
  33558. in: query
  33559. name: userid
  33560. type: integer
  33561. - description: 资金账号, 格式 1,2,3
  33562. in: query
  33563. name: accids
  33564. type: string
  33565. - description: 交易模式, 格式 1,2,3
  33566. in: query
  33567. name: trademodes
  33568. type: string
  33569. - description: 市场id, 格式 1,2,3
  33570. in: query
  33571. name: marketids
  33572. type: string
  33573. - description: 商品id
  33574. in: query
  33575. name: goodsid
  33576. type: integer
  33577. - description: 买卖方向 0-买 1-卖
  33578. in: query
  33579. name: buyorsell
  33580. type: integer
  33581. produces:
  33582. - application/json
  33583. responses:
  33584. "200":
  33585. description: OK
  33586. schema:
  33587. items:
  33588. $ref: '#/definitions/models.TradeHolderDetail'
  33589. type: array
  33590. "500":
  33591. description: Internal Server Error
  33592. schema:
  33593. $ref: '#/definitions/app.Response'
  33594. security:
  33595. - ApiKeyAuth: []
  33596. summary: 查询持仓明细
  33597. tags:
  33598. - 通用单据
  33599. /Order/QueryTradeOrderDetail:
  33600. get:
  33601. parameters:
  33602. - description: 资金账户 - 格式:1,2,3
  33603. in: query
  33604. name: accountID
  33605. required: true
  33606. type: string
  33607. - description: 交易模式 - 格式:1,2,3
  33608. in: query
  33609. name: tradeMode
  33610. type: string
  33611. - description: 委托状态 - 格式:1,2,3
  33612. in: query
  33613. name: orderStatus
  33614. type: string
  33615. - description: 委托单号
  33616. in: query
  33617. name: orderID
  33618. type: integer
  33619. produces:
  33620. - application/json
  33621. responses:
  33622. "200":
  33623. description: OK
  33624. schema:
  33625. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33626. "500":
  33627. description: Internal Server Error
  33628. schema:
  33629. $ref: '#/definitions/app.Response'
  33630. security:
  33631. - ApiKeyAuth: []
  33632. summary: 委托单查询请求(合约市场)
  33633. tags:
  33634. - 通用单据
  33635. /Order/QueryTradePosition:
  33636. get:
  33637. parameters:
  33638. - description: 资金账户 - 格式:1,2,3
  33639. in: query
  33640. name: accountID
  33641. required: true
  33642. type: string
  33643. - description: 交易模式 - 格式:1,2,3
  33644. in: query
  33645. name: tradeMode
  33646. type: string
  33647. produces:
  33648. - application/json
  33649. responses:
  33650. "200":
  33651. description: OK
  33652. schema:
  33653. $ref: '#/definitions/order.QueryTradePositionRsp'
  33654. "500":
  33655. description: Internal Server Error
  33656. schema:
  33657. $ref: '#/definitions/app.Response'
  33658. security:
  33659. - ApiKeyAuth: []
  33660. summary: 持仓汇总查询(合约市场)
  33661. tags:
  33662. - 通用单据
  33663. /Qhj/QueryAccountInOutApply:
  33664. get:
  33665. parameters:
  33666. - description: 用户ID
  33667. in: query
  33668. name: userid
  33669. required: true
  33670. type: integer
  33671. - description: 申请起始日期(格式yyyymmdd)
  33672. in: query
  33673. name: begindate
  33674. type: string
  33675. - description: 申请截止日期(格式yyyymmdd)
  33676. in: query
  33677. name: enddate
  33678. type: string
  33679. - description: 模糊搜索名称
  33680. in: query
  33681. name: likename
  33682. type: string
  33683. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33684. in: query
  33685. name: applystatus
  33686. type: integer
  33687. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33688. in: query
  33689. name: querytype
  33690. type: integer
  33691. produces:
  33692. - application/json
  33693. responses:
  33694. "200":
  33695. description: OK
  33696. schema:
  33697. items:
  33698. $ref: '#/definitions/models.QhjAccountOutInApply'
  33699. type: array
  33700. "500":
  33701. description: Internal Server Error
  33702. schema:
  33703. $ref: '#/definitions/app.Response'
  33704. security:
  33705. - ApiKeyAuth: []
  33706. summary: 查询充值提现
  33707. tags:
  33708. - 大连千海金
  33709. /Qhj/QueryAreaFinanceConfig:
  33710. get:
  33711. parameters:
  33712. - description: 机构用户ID 其他做市关系,都设置为 1
  33713. in: query
  33714. name: userid
  33715. type: integer
  33716. produces:
  33717. - application/json
  33718. responses:
  33719. "200":
  33720. description: OK
  33721. schema:
  33722. items:
  33723. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33724. type: array
  33725. "500":
  33726. description: Internal Server Error
  33727. schema:
  33728. $ref: '#/definitions/app.Response'
  33729. security:
  33730. - ApiKeyAuth: []
  33731. summary: 查询企业配置表
  33732. tags:
  33733. - 大连千海金
  33734. /Qhj/QueryBankAccountSign:
  33735. get:
  33736. parameters:
  33737. - description: 用户ID
  33738. in: query
  33739. name: userid
  33740. required: true
  33741. type: integer
  33742. produces:
  33743. - application/json
  33744. responses:
  33745. "200":
  33746. description: OK
  33747. schema:
  33748. items:
  33749. $ref: '#/definitions/models.QhjBankAccountSign'
  33750. type: array
  33751. "500":
  33752. description: Internal Server Error
  33753. schema:
  33754. $ref: '#/definitions/app.Response'
  33755. security:
  33756. - ApiKeyAuth: []
  33757. summary: 查询签约银行信息(提现账户管理)
  33758. tags:
  33759. - 大连千海金
  33760. /Qhj/QueryBankInfo:
  33761. get:
  33762. produces:
  33763. - application/json
  33764. responses:
  33765. "200":
  33766. description: OK
  33767. schema:
  33768. items:
  33769. $ref: '#/definitions/models.QhjBankInfo'
  33770. type: array
  33771. "500":
  33772. description: Internal Server Error
  33773. schema:
  33774. $ref: '#/definitions/app.Response'
  33775. security:
  33776. - ApiKeyAuth: []
  33777. summary: 查询开户行
  33778. tags:
  33779. - 大连千海金
  33780. /Qhj/QueryBrokerApply:
  33781. get:
  33782. parameters:
  33783. - description: 所属机构ID
  33784. in: query
  33785. name: userid
  33786. type: integer
  33787. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33788. in: query
  33789. name: filterstatus
  33790. type: string
  33791. produces:
  33792. - application/json
  33793. responses:
  33794. "200":
  33795. description: OK
  33796. schema:
  33797. items:
  33798. $ref: '#/definitions/models.QhjBrokerApply'
  33799. type: array
  33800. "500":
  33801. description: Internal Server Error
  33802. schema:
  33803. $ref: '#/definitions/app.Response'
  33804. security:
  33805. - ApiKeyAuth: []
  33806. summary: 查询经纪人申请
  33807. tags:
  33808. - 大连千海金
  33809. /Qhj/QueryBrokerApplyEx:
  33810. get:
  33811. parameters:
  33812. - description: 所属机构ID
  33813. in: query
  33814. name: userid
  33815. type: integer
  33816. produces:
  33817. - application/json
  33818. responses:
  33819. "200":
  33820. description: OK
  33821. schema:
  33822. items:
  33823. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33824. type: array
  33825. "500":
  33826. description: Internal Server Error
  33827. schema:
  33828. $ref: '#/definitions/app.Response'
  33829. security:
  33830. - ApiKeyAuth: []
  33831. summary: 查询经纪人信息和申请记录
  33832. tags:
  33833. - 大连千海金
  33834. /Qhj/QueryBrokerRewardLog:
  33835. get:
  33836. parameters:
  33837. - description: 用户ID
  33838. in: query
  33839. name: userid
  33840. required: true
  33841. type: integer
  33842. - description: 开始交易日(yyyymmdd)
  33843. in: query
  33844. name: begindate
  33845. type: string
  33846. - description: 结束交易日(yyyymmdd)
  33847. in: query
  33848. name: enddate
  33849. type: string
  33850. produces:
  33851. - application/json
  33852. responses:
  33853. "200":
  33854. description: OK
  33855. schema:
  33856. items:
  33857. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33858. type: array
  33859. "500":
  33860. description: Internal Server Error
  33861. schema:
  33862. $ref: '#/definitions/app.Response'
  33863. security:
  33864. - ApiKeyAuth: []
  33865. summary: 查询奖励流水(我的奖励)
  33866. tags:
  33867. - 大连千海金
  33868. /Qhj/QueryContract:
  33869. get:
  33870. parameters:
  33871. - description: 用户ID
  33872. in: query
  33873. name: userid
  33874. type: integer
  33875. - description: scf合同id
  33876. in: query
  33877. name: scfcontractid
  33878. type: integer
  33879. produces:
  33880. - application/json
  33881. responses:
  33882. "200":
  33883. description: OK
  33884. schema:
  33885. items:
  33886. $ref: '#/definitions/models.QhjContract'
  33887. type: array
  33888. "500":
  33889. description: Internal Server Error
  33890. schema:
  33891. $ref: '#/definitions/app.Response'
  33892. security:
  33893. - ApiKeyAuth: []
  33894. summary: 查询融资明细(合同)
  33895. tags:
  33896. - 大连千海金
  33897. /Qhj/QueryContractLog:
  33898. get:
  33899. parameters:
  33900. - description: scf合同id
  33901. in: query
  33902. name: scfcontractid
  33903. required: true
  33904. type: integer
  33905. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33906. in: query
  33907. name: amounttype
  33908. type: string
  33909. produces:
  33910. - application/json
  33911. responses:
  33912. "200":
  33913. description: OK
  33914. schema:
  33915. items:
  33916. $ref: '#/definitions/models.QhjContractLog'
  33917. type: array
  33918. "500":
  33919. description: Internal Server Error
  33920. schema:
  33921. $ref: '#/definitions/app.Response'
  33922. security:
  33923. - ApiKeyAuth: []
  33924. summary: 查询融资明细流水(融资明细详情页中的流水)
  33925. tags:
  33926. - 大连千海金
  33927. /Qhj/QueryCusBankSignBank:
  33928. get:
  33929. produces:
  33930. - application/json
  33931. responses:
  33932. "200":
  33933. description: OK
  33934. schema:
  33935. items:
  33936. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  33937. type: array
  33938. "500":
  33939. description: Internal Server Error
  33940. schema:
  33941. $ref: '#/definitions/app.Response'
  33942. security:
  33943. - ApiKeyAuth: []
  33944. summary: 查询托管银行
  33945. tags:
  33946. - 大连千海金
  33947. /Qhj/QueryCustomerInfo:
  33948. get:
  33949. parameters:
  33950. - description: 用户ID
  33951. in: query
  33952. name: userid
  33953. required: true
  33954. type: integer
  33955. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  33956. in: query
  33957. name: querytype
  33958. required: true
  33959. type: integer
  33960. - description: 客户类型 1-个人 2-企业
  33961. in: query
  33962. name: userinfotype
  33963. type: integer
  33964. - description: 客户名称(模糊匹配)
  33965. in: query
  33966. name: customername
  33967. type: string
  33968. - description: 昵称(模糊匹配)
  33969. in: query
  33970. name: nickname
  33971. type: string
  33972. - description: 是否包含子级 1-包含
  33973. in: query
  33974. name: includesub
  33975. type: integer
  33976. produces:
  33977. - application/json
  33978. responses:
  33979. "200":
  33980. description: OK
  33981. schema:
  33982. items:
  33983. $ref: '#/definitions/models.QhjCustomer'
  33984. type: array
  33985. "500":
  33986. description: Internal Server Error
  33987. schema:
  33988. $ref: '#/definitions/app.Response'
  33989. security:
  33990. - ApiKeyAuth: []
  33991. summary: 查询客户资料
  33992. tags:
  33993. - 大连千海金
  33994. /Qhj/QueryGoodsEx:
  33995. get:
  33996. parameters:
  33997. - description: 商品id
  33998. in: query
  33999. name: goodsid
  34000. type: integer
  34001. produces:
  34002. - application/json
  34003. responses:
  34004. "200":
  34005. description: OK
  34006. schema:
  34007. items:
  34008. $ref: '#/definitions/models.Qhjgoodsex'
  34009. type: array
  34010. "500":
  34011. description: Internal Server Error
  34012. schema:
  34013. $ref: '#/definitions/app.Response'
  34014. security:
  34015. - ApiKeyAuth: []
  34016. summary: 交易商品扩展表
  34017. tags:
  34018. - 大连千海金
  34019. /Qhj/QueryMyTeam:
  34020. get:
  34021. parameters:
  34022. - description: 用户ID
  34023. in: query
  34024. name: userid
  34025. required: true
  34026. type: integer
  34027. produces:
  34028. - application/json
  34029. responses:
  34030. "200":
  34031. description: OK
  34032. schema:
  34033. items:
  34034. $ref: '#/definitions/models.QhjMyTeamEx'
  34035. type: array
  34036. "500":
  34037. description: Internal Server Error
  34038. schema:
  34039. $ref: '#/definitions/app.Response'
  34040. security:
  34041. - ApiKeyAuth: []
  34042. summary: 查询我的团队
  34043. tags:
  34044. - 大连千海金
  34045. /Qhj/QueryMyTeamOrder:
  34046. get:
  34047. parameters:
  34048. - description: 页码
  34049. in: query
  34050. name: page
  34051. type: integer
  34052. - description: 每页条数
  34053. in: query
  34054. name: pagesize
  34055. type: integer
  34056. - description: 用户ID
  34057. in: query
  34058. name: userid
  34059. required: true
  34060. type: integer
  34061. - description: 交易模式
  34062. in: query
  34063. name: trademode
  34064. type: integer
  34065. - description: 名称(模糊搜索账户)
  34066. in: query
  34067. name: filtername
  34068. type: string
  34069. produces:
  34070. - application/json
  34071. responses:
  34072. "200":
  34073. description: OK
  34074. schema:
  34075. items:
  34076. $ref: '#/definitions/models.QhjTeamOrder'
  34077. type: array
  34078. "500":
  34079. description: Internal Server Error
  34080. schema:
  34081. $ref: '#/definitions/app.Response'
  34082. security:
  34083. - ApiKeyAuth: []
  34084. summary: 查询团队订单(我的团队/团队订单)
  34085. tags:
  34086. - 大连千海金
  34087. /Qhj/QueryParentAreaList:
  34088. get:
  34089. parameters:
  34090. - description: 用户ID
  34091. in: query
  34092. name: userid
  34093. required: true
  34094. type: integer
  34095. produces:
  34096. - application/json
  34097. responses:
  34098. "200":
  34099. description: OK
  34100. schema:
  34101. items:
  34102. $ref: '#/definitions/models.QhjParentAreaList'
  34103. type: array
  34104. "500":
  34105. description: Internal Server Error
  34106. schema:
  34107. $ref: '#/definitions/app.Response'
  34108. security:
  34109. - ApiKeyAuth: []
  34110. summary: 查询所属机构列表
  34111. tags:
  34112. - 大连千海金
  34113. /Qhj/QueryPayOrder:
  34114. get:
  34115. parameters:
  34116. - description: 资金账号id
  34117. in: query
  34118. name: accountid
  34119. required: true
  34120. type: integer
  34121. - description: 成交单号
  34122. in: query
  34123. name: tradeid
  34124. type: integer
  34125. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34126. in: query
  34127. name: payflag
  34128. type: string
  34129. produces:
  34130. - application/json
  34131. responses:
  34132. "200":
  34133. description: OK
  34134. schema:
  34135. items:
  34136. $ref: '#/definitions/models.QhjPayOrder'
  34137. type: array
  34138. "500":
  34139. description: Internal Server Error
  34140. schema:
  34141. $ref: '#/definitions/app.Response'
  34142. security:
  34143. - ApiKeyAuth: []
  34144. summary: 查询待付款单据
  34145. tags:
  34146. - 大连千海金
  34147. /Qhj/QueryPickArea:
  34148. get:
  34149. parameters:
  34150. - description: 用户ID
  34151. in: query
  34152. name: userid
  34153. type: integer
  34154. produces:
  34155. - application/json
  34156. responses:
  34157. "200":
  34158. description: OK
  34159. schema:
  34160. items:
  34161. $ref: '#/definitions/models.QhjPickArea'
  34162. type: array
  34163. "500":
  34164. description: Internal Server Error
  34165. schema:
  34166. $ref: '#/definitions/app.Response'
  34167. security:
  34168. - ApiKeyAuth: []
  34169. summary: 查询提货门店
  34170. tags:
  34171. - 大连千海金
  34172. /Qhj/QueryPickGoods:
  34173. get:
  34174. parameters:
  34175. - description: 交易商品id
  34176. in: query
  34177. name: goodsid
  34178. required: true
  34179. type: integer
  34180. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34181. in: query
  34182. name: status
  34183. type: string
  34184. produces:
  34185. - application/json
  34186. responses:
  34187. "200":
  34188. description: OK
  34189. schema:
  34190. items:
  34191. $ref: '#/definitions/models.QhjPickGoods'
  34192. type: array
  34193. "500":
  34194. description: Internal Server Error
  34195. schema:
  34196. $ref: '#/definitions/app.Response'
  34197. security:
  34198. - ApiKeyAuth: []
  34199. summary: 查询提货商品
  34200. tags:
  34201. - 大连千海金
  34202. /Qhj/QueryRSTriggerLog:
  34203. get:
  34204. parameters:
  34205. - description: 用户ID
  34206. in: query
  34207. name: userid
  34208. type: integer
  34209. - description: 定投策略id
  34210. in: query
  34211. name: regularlystrategyid
  34212. type: integer
  34213. - description: 商品id
  34214. in: query
  34215. name: goodsid
  34216. type: integer
  34217. - description: 开始交易日(yyyymmdd)
  34218. in: query
  34219. name: begindate
  34220. type: string
  34221. - description: 结束交易日(yyyymmdd)
  34222. in: query
  34223. name: enddate
  34224. type: string
  34225. - description: 名称(模糊搜索账户)
  34226. in: query
  34227. name: filtername
  34228. type: string
  34229. produces:
  34230. - application/json
  34231. responses:
  34232. "200":
  34233. description: OK
  34234. schema:
  34235. items:
  34236. $ref: '#/definitions/models.QhjRSTriggerLog'
  34237. type: array
  34238. "500":
  34239. description: Internal Server Error
  34240. schema:
  34241. $ref: '#/definitions/app.Response'
  34242. security:
  34243. - ApiKeyAuth: []
  34244. summary: 查询定投记录(定投管理/详情/定投记录)
  34245. tags:
  34246. - 大连千海金
  34247. /Qhj/QueryRStrategy:
  34248. get:
  34249. parameters:
  34250. - description: 用户ID
  34251. in: query
  34252. name: userid
  34253. type: integer
  34254. - description: 商品id
  34255. in: query
  34256. name: goodsid
  34257. type: integer
  34258. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34259. in: query
  34260. name: status
  34261. type: string
  34262. - description: 名称(模糊搜索账户)
  34263. in: query
  34264. name: filtername
  34265. type: string
  34266. produces:
  34267. - application/json
  34268. responses:
  34269. "200":
  34270. description: OK
  34271. schema:
  34272. items:
  34273. $ref: '#/definitions/models.QhjRStrategy'
  34274. type: array
  34275. "500":
  34276. description: Internal Server Error
  34277. schema:
  34278. $ref: '#/definitions/app.Response'
  34279. security:
  34280. - ApiKeyAuth: []
  34281. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34282. tags:
  34283. - 大连千海金
  34284. /Qhj/QueryReckonPriceLog:
  34285. get:
  34286. parameters:
  34287. - description: 商品ID
  34288. in: query
  34289. name: goodsid
  34290. type: integer
  34291. - description: 交易日 格式(yyyymmdd)
  34292. in: query
  34293. name: tradedate
  34294. type: string
  34295. produces:
  34296. - application/json
  34297. responses:
  34298. "200":
  34299. description: OK
  34300. schema:
  34301. items:
  34302. $ref: '#/definitions/models.QhjReckonPriceLog'
  34303. type: array
  34304. "500":
  34305. description: Internal Server Error
  34306. schema:
  34307. $ref: '#/definitions/app.Response'
  34308. security:
  34309. - ApiKeyAuth: []
  34310. summary: 查询定投价(结算价)
  34311. tags:
  34312. - 大连千海金
  34313. /Qhj/QueryScoreLog:
  34314. get:
  34315. parameters:
  34316. - description: 用户ID
  34317. in: query
  34318. name: userid
  34319. required: true
  34320. type: integer
  34321. - description: 开始交易日(yyyymmdd)
  34322. in: query
  34323. name: begindate
  34324. type: string
  34325. - description: 结束交易日(yyyymmdd)
  34326. in: query
  34327. name: enddate
  34328. type: string
  34329. - description: 最近多少条
  34330. in: query
  34331. name: lastnum
  34332. type: integer
  34333. produces:
  34334. - application/json
  34335. responses:
  34336. "200":
  34337. description: OK
  34338. schema:
  34339. items:
  34340. $ref: '#/definitions/models.QhjScoreLog'
  34341. type: array
  34342. "500":
  34343. description: Internal Server Error
  34344. schema:
  34345. $ref: '#/definitions/app.Response'
  34346. security:
  34347. - ApiKeyAuth: []
  34348. summary: 查询积分流水(我的积分)
  34349. tags:
  34350. - 大连千海金
  34351. /Qhj/QuerySiteColumnDetail:
  34352. get:
  34353. parameters:
  34354. - description: 用户ID
  34355. in: query
  34356. name: userid
  34357. required: true
  34358. type: integer
  34359. produces:
  34360. - application/json
  34361. responses:
  34362. "200":
  34363. description: OK
  34364. schema:
  34365. items:
  34366. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34367. type: array
  34368. "500":
  34369. description: Internal Server Error
  34370. schema:
  34371. $ref: '#/definitions/app.Response'
  34372. security:
  34373. - ApiKeyAuth: []
  34374. summary: 查询资讯
  34375. tags:
  34376. - 大连千海金
  34377. /Qhj/QueryTradeGoodsPickup:
  34378. get:
  34379. parameters:
  34380. - description: 用户ID
  34381. in: query
  34382. name: userid
  34383. required: true
  34384. type: integer
  34385. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34386. 7:已拒绝 8:已撤销
  34387. in: query
  34388. name: takeorderstatus
  34389. type: integer
  34390. produces:
  34391. - application/json
  34392. responses:
  34393. "200":
  34394. description: OK
  34395. schema:
  34396. items:
  34397. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34398. type: array
  34399. "500":
  34400. description: Internal Server Error
  34401. schema:
  34402. $ref: '#/definitions/app.Response'
  34403. security:
  34404. - ApiKeyAuth: []
  34405. summary: 查询提货
  34406. tags:
  34407. - 大连千海金
  34408. /Qhj/QueryUserCollectConfig:
  34409. get:
  34410. parameters:
  34411. - description: 用户ID
  34412. in: query
  34413. name: userid
  34414. required: true
  34415. type: integer
  34416. produces:
  34417. - application/json
  34418. responses:
  34419. "200":
  34420. description: OK
  34421. schema:
  34422. items:
  34423. $ref: '#/definitions/models.UserCollectConfig'
  34424. type: array
  34425. "500":
  34426. description: Internal Server Error
  34427. schema:
  34428. $ref: '#/definitions/app.Response'
  34429. security:
  34430. - ApiKeyAuth: []
  34431. summary: 查询提现账户设置
  34432. tags:
  34433. - 大连千海金
  34434. /Qhj/QueryUserReceiveInfo:
  34435. get:
  34436. parameters:
  34437. - description: 用户ID
  34438. in: query
  34439. name: userid
  34440. required: true
  34441. type: integer
  34442. produces:
  34443. - application/json
  34444. responses:
  34445. "200":
  34446. description: OK
  34447. schema:
  34448. items:
  34449. $ref: '#/definitions/models.UserReceiveInfo'
  34450. type: array
  34451. "500":
  34452. description: Internal Server Error
  34453. schema:
  34454. $ref: '#/definitions/app.Response'
  34455. security:
  34456. - ApiKeyAuth: []
  34457. summary: 查询收货地址信息
  34458. tags:
  34459. - 大连千海金
  34460. /QhjMgr/QueryAccountInOutApply:
  34461. get:
  34462. parameters:
  34463. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34464. in: query
  34465. name: querytype
  34466. required: true
  34467. type: integer
  34468. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34469. in: query
  34470. name: applystatus
  34471. type: integer
  34472. - description: 申请起始日期(格式yyyymmdd)
  34473. in: query
  34474. name: begindate
  34475. type: string
  34476. - description: 申请截止日期(格式yyyymmdd)
  34477. in: query
  34478. name: enddate
  34479. type: string
  34480. - description: 模糊搜索名称
  34481. in: query
  34482. name: likename
  34483. type: string
  34484. produces:
  34485. - application/json
  34486. responses:
  34487. "200":
  34488. description: OK
  34489. schema:
  34490. items:
  34491. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34492. type: array
  34493. "500":
  34494. description: Internal Server Error
  34495. schema:
  34496. $ref: '#/definitions/app.Response'
  34497. security:
  34498. - ApiKeyAuth: []
  34499. summary: 查询充值提现
  34500. tags:
  34501. - 大连千海金(PCWeb)
  34502. /QhjMgr/QueryBrokerApply:
  34503. get:
  34504. parameters:
  34505. - description: 所属机构ID
  34506. in: query
  34507. name: userid
  34508. type: integer
  34509. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34510. in: query
  34511. name: filterstatus
  34512. type: string
  34513. - description: 名称(模糊匹配)
  34514. in: query
  34515. name: filtername
  34516. type: string
  34517. - description: 是否包含子级 1-包含
  34518. in: query
  34519. name: includesub
  34520. type: integer
  34521. produces:
  34522. - application/json
  34523. responses:
  34524. "200":
  34525. description: OK
  34526. schema:
  34527. items:
  34528. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34529. type: array
  34530. "500":
  34531. description: Internal Server Error
  34532. schema:
  34533. $ref: '#/definitions/app.Response'
  34534. security:
  34535. - ApiKeyAuth: []
  34536. summary: 查询经纪人申请
  34537. tags:
  34538. - 大连千海金(PCWeb)
  34539. /QhjMgr/QueryBrokerRewardReport:
  34540. get:
  34541. parameters:
  34542. - description: 所属机构ID
  34543. in: query
  34544. name: userid
  34545. required: true
  34546. type: integer
  34547. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34548. in: query
  34549. name: cycletype
  34550. required: true
  34551. type: integer
  34552. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34553. in: query
  34554. name: cycletime
  34555. required: true
  34556. type: string
  34557. - description: 名称(模糊匹配)
  34558. in: query
  34559. name: filtername
  34560. type: string
  34561. - description: 是否包含子级 1-包含
  34562. in: query
  34563. name: includesub
  34564. type: integer
  34565. produces:
  34566. - application/json
  34567. responses:
  34568. "200":
  34569. description: OK
  34570. schema:
  34571. items:
  34572. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34573. type: array
  34574. "500":
  34575. description: Internal Server Error
  34576. schema:
  34577. $ref: '#/definitions/app.Response'
  34578. security:
  34579. - ApiKeyAuth: []
  34580. summary: 查询经纪人奖励报表(废弃)
  34581. tags:
  34582. - 大连千海金(PCWeb)
  34583. /QhjMgr/QueryContract:
  34584. get:
  34585. parameters:
  34586. - description: 用户ID
  34587. in: query
  34588. name: userid
  34589. type: integer
  34590. - description: 商品id
  34591. in: query
  34592. name: goodsid
  34593. type: integer
  34594. - description: 名称(模糊搜索账户)
  34595. in: query
  34596. name: filtername
  34597. type: string
  34598. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34599. in: query
  34600. name: risklevel
  34601. type: string
  34602. - description: 开始交易日(yyyymmdd)
  34603. in: query
  34604. name: begindate
  34605. type: string
  34606. - description: 结束交易日(yyyymmdd)
  34607. in: query
  34608. name: enddate
  34609. type: string
  34610. produces:
  34611. - application/json
  34612. responses:
  34613. "200":
  34614. description: OK
  34615. schema:
  34616. items:
  34617. $ref: '#/definitions/models.QhjMgrContract'
  34618. type: array
  34619. "500":
  34620. description: Internal Server Error
  34621. schema:
  34622. $ref: '#/definitions/app.Response'
  34623. security:
  34624. - ApiKeyAuth: []
  34625. summary: 查询融资信息(合同)
  34626. tags:
  34627. - 大连千海金(PCWeb)
  34628. /QhjMgr/QueryCustomerInfo:
  34629. get:
  34630. parameters:
  34631. - description: 用户ID
  34632. in: query
  34633. name: userid
  34634. required: true
  34635. type: integer
  34636. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34637. in: query
  34638. name: querytype
  34639. required: true
  34640. type: integer
  34641. - description: 客户类型 1-个人 2-企业
  34642. in: query
  34643. name: userinfotype
  34644. type: integer
  34645. - description: 客户名称(模糊匹配)
  34646. in: query
  34647. name: customername
  34648. type: string
  34649. - description: 昵称(模糊匹配)
  34650. in: query
  34651. name: nickname
  34652. type: string
  34653. - description: 所属客户经理(模糊匹配)
  34654. in: query
  34655. name: brokername
  34656. type: string
  34657. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34658. 如0503 -5月3日)
  34659. in: query
  34660. name: birthday
  34661. type: string
  34662. - description: 是否包含子级 1-包含
  34663. in: query
  34664. name: includesub
  34665. type: integer
  34666. produces:
  34667. - application/json
  34668. responses:
  34669. "200":
  34670. description: OK
  34671. schema:
  34672. items:
  34673. $ref: '#/definitions/models.QhjMgrCustomer'
  34674. type: array
  34675. "500":
  34676. description: Internal Server Error
  34677. schema:
  34678. $ref: '#/definitions/app.Response'
  34679. security:
  34680. - ApiKeyAuth: []
  34681. summary: 查询客户资料
  34682. tags:
  34683. - 大连千海金(PCWeb)
  34684. /QhjMgr/QueryPickGoods:
  34685. get:
  34686. parameters:
  34687. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34688. in: query
  34689. name: status
  34690. type: string
  34691. produces:
  34692. - application/json
  34693. responses:
  34694. "200":
  34695. description: OK
  34696. schema:
  34697. items:
  34698. $ref: '#/definitions/models.QhjMgrPickGoods'
  34699. type: array
  34700. "500":
  34701. description: Internal Server Error
  34702. schema:
  34703. $ref: '#/definitions/app.Response'
  34704. security:
  34705. - ApiKeyAuth: []
  34706. summary: 查询提货商品
  34707. tags:
  34708. - 大连千海金(PCWeb)
  34709. /QhjMgr/QuerySubArea:
  34710. get:
  34711. parameters:
  34712. - description: 用户ID
  34713. in: query
  34714. name: userid
  34715. required: true
  34716. type: integer
  34717. produces:
  34718. - application/json
  34719. responses:
  34720. "200":
  34721. description: OK
  34722. schema:
  34723. items:
  34724. $ref: '#/definitions/models.QhjMgrSubArea'
  34725. type: array
  34726. "500":
  34727. description: Internal Server Error
  34728. schema:
  34729. $ref: '#/definitions/app.Response'
  34730. security:
  34731. - ApiKeyAuth: []
  34732. summary: 查询子机构列表
  34733. tags:
  34734. - 大连千海金(PCWeb)
  34735. /QhjMgr/QueryTradeDetail:
  34736. get:
  34737. parameters:
  34738. - description: 用户ID
  34739. in: query
  34740. name: userid
  34741. required: true
  34742. type: integer
  34743. - description: 用户类型 1-个人 2-企业
  34744. in: query
  34745. name: userinfotype
  34746. type: integer
  34747. - description: 交易模式
  34748. in: query
  34749. name: trademode
  34750. type: integer
  34751. - description: 商品id
  34752. in: query
  34753. name: goodsid
  34754. type: integer
  34755. - description: 名称(模糊搜索账户)
  34756. in: query
  34757. name: filtername
  34758. type: string
  34759. - description: 开始交易日(yyyymmdd)
  34760. in: query
  34761. name: begindate
  34762. type: string
  34763. - description: 结束交易日(yyyymmdd)
  34764. in: query
  34765. name: enddate
  34766. type: string
  34767. - description: 是否包含子级 1-包含
  34768. in: query
  34769. name: includesub
  34770. type: integer
  34771. produces:
  34772. - application/json
  34773. responses:
  34774. "200":
  34775. description: OK
  34776. schema:
  34777. items:
  34778. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34779. type: array
  34780. "500":
  34781. description: Internal Server Error
  34782. schema:
  34783. $ref: '#/definitions/app.Response'
  34784. security:
  34785. - ApiKeyAuth: []
  34786. summary: 查询成交明细
  34787. tags:
  34788. - 大连千海金(PCWeb)
  34789. /QhjMgr/QueryTradeOrderDetail:
  34790. get:
  34791. parameters:
  34792. - description: 用户ID
  34793. in: query
  34794. name: userid
  34795. required: true
  34796. type: integer
  34797. - description: 用户类型 1-个人 2-企业
  34798. in: query
  34799. name: userinfotype
  34800. type: integer
  34801. - description: 交易模式
  34802. in: query
  34803. name: trademode
  34804. type: integer
  34805. - description: 商品id
  34806. in: query
  34807. name: goodsid
  34808. type: integer
  34809. - description: 名称(模糊搜索账户)
  34810. in: query
  34811. name: filtername
  34812. type: string
  34813. - description: 开始交易日(yyyymmdd)
  34814. in: query
  34815. name: begindate
  34816. type: string
  34817. - description: 结束交易日(yyyymmdd)
  34818. in: query
  34819. name: enddate
  34820. type: string
  34821. - description: 是否包含子级 1-包含
  34822. in: query
  34823. name: includesub
  34824. type: integer
  34825. produces:
  34826. - application/json
  34827. responses:
  34828. "200":
  34829. description: OK
  34830. schema:
  34831. items:
  34832. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34833. type: array
  34834. "500":
  34835. description: Internal Server Error
  34836. schema:
  34837. $ref: '#/definitions/app.Response'
  34838. security:
  34839. - ApiKeyAuth: []
  34840. summary: 查询委托明细
  34841. tags:
  34842. - 大连千海金(PCWeb)
  34843. /QhjMgr/QueryTradePayOrder:
  34844. get:
  34845. parameters:
  34846. - description: 用户ID
  34847. in: query
  34848. name: userid
  34849. required: true
  34850. type: integer
  34851. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34852. in: query
  34853. name: payflag
  34854. type: string
  34855. - description: 用户类型 1-个人 2-企业
  34856. in: query
  34857. name: userinfotype
  34858. type: integer
  34859. - description: 交易模式
  34860. in: query
  34861. name: trademode
  34862. type: integer
  34863. - description: 商品id
  34864. in: query
  34865. name: goodsid
  34866. type: integer
  34867. - description: 名称(模糊搜索账户)
  34868. in: query
  34869. name: filtername
  34870. type: string
  34871. - description: 开始交易日(yyyymmdd)
  34872. in: query
  34873. name: begindate
  34874. type: string
  34875. - description: 结束交易日(yyyymmdd)
  34876. in: query
  34877. name: enddate
  34878. type: string
  34879. - description: 是否包含子级 1-包含
  34880. in: query
  34881. name: includesub
  34882. type: integer
  34883. produces:
  34884. - application/json
  34885. responses:
  34886. "200":
  34887. description: OK
  34888. schema:
  34889. items:
  34890. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34891. type: array
  34892. "500":
  34893. description: Internal Server Error
  34894. schema:
  34895. $ref: '#/definitions/app.Response'
  34896. security:
  34897. - ApiKeyAuth: []
  34898. summary: 查询待付款单
  34899. tags:
  34900. - 大连千海金(PCWeb)
  34901. /QhjMgr/QueryTradePosition:
  34902. get:
  34903. parameters:
  34904. - description: 用户ID
  34905. in: query
  34906. name: userid
  34907. required: true
  34908. type: integer
  34909. - description: 用户类型 1-个人 2-企业
  34910. in: query
  34911. name: userinfotype
  34912. type: integer
  34913. - description: 交易模式
  34914. in: query
  34915. name: trademode
  34916. type: integer
  34917. - description: 商品id
  34918. in: query
  34919. name: goodsid
  34920. type: integer
  34921. - description: 名称(模糊搜索账户)
  34922. in: query
  34923. name: filtername
  34924. type: string
  34925. - description: 是否包含子级 1-包含
  34926. in: query
  34927. name: includesub
  34928. type: integer
  34929. produces:
  34930. - application/json
  34931. responses:
  34932. "200":
  34933. description: OK
  34934. schema:
  34935. items:
  34936. $ref: '#/definitions/models.QhjMgrPositionRsp'
  34937. type: array
  34938. "500":
  34939. description: Internal Server Error
  34940. schema:
  34941. $ref: '#/definitions/app.Response'
  34942. security:
  34943. - ApiKeyAuth: []
  34944. summary: 查询持仓汇总
  34945. tags:
  34946. - 大连千海金(PCWeb)
  34947. /QhjSys/QueryAgreementChangeLog:
  34948. get:
  34949. parameters:
  34950. - description: 协议ID
  34951. in: query
  34952. name: agreementid
  34953. type: integer
  34954. - description: 协议版本号
  34955. in: query
  34956. name: agreementversion
  34957. type: integer
  34958. - description: 协议类型 - 1:注册 2:登录 3:交易
  34959. in: query
  34960. name: agreementtype
  34961. type: integer
  34962. - description: 协议编号(模糊匹配)
  34963. in: query
  34964. name: agreementno
  34965. type: string
  34966. - description: 协议名称(模糊匹配)
  34967. in: query
  34968. name: agreementname
  34969. type: string
  34970. produces:
  34971. - application/json
  34972. responses:
  34973. "200":
  34974. description: OK
  34975. schema:
  34976. items:
  34977. $ref: '#/definitions/models.QhjAgreementChangeLog'
  34978. type: array
  34979. "500":
  34980. description: Internal Server Error
  34981. schema:
  34982. $ref: '#/definitions/app.Response'
  34983. security:
  34984. - ApiKeyAuth: []
  34985. summary: 查询协议配置变更流水
  34986. tags:
  34987. - 大连千海金(协议和签约信息)
  34988. /QhjSys/QueryAgreementConfig:
  34989. get:
  34990. parameters:
  34991. - description: 协议ID
  34992. in: query
  34993. name: agreementid
  34994. type: integer
  34995. - description: 协议版本号
  34996. in: query
  34997. name: agreementversion
  34998. type: integer
  34999. - description: 协议类型 - 1:注册 2:登录 3:交易
  35000. in: query
  35001. name: agreementtype
  35002. type: integer
  35003. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  35004. in: query
  35005. name: isvalid
  35006. type: integer
  35007. - description: 协议编号(模糊匹配)
  35008. in: query
  35009. name: agreementno
  35010. type: string
  35011. - description: 协议名称(模糊匹配)
  35012. in: query
  35013. name: agreementname
  35014. type: string
  35015. produces:
  35016. - application/json
  35017. responses:
  35018. "200":
  35019. description: OK
  35020. schema:
  35021. items:
  35022. $ref: '#/definitions/models.QhjAgreementConfig'
  35023. type: array
  35024. "500":
  35025. description: Internal Server Error
  35026. schema:
  35027. $ref: '#/definitions/app.Response'
  35028. security:
  35029. - ApiKeyAuth: []
  35030. summary: 查询协议配置
  35031. tags:
  35032. - 大连千海金(协议和签约信息)
  35033. /QhjSys/QueryCustomerSignStatus:
  35034. get:
  35035. parameters:
  35036. - description: 客户ID
  35037. in: query
  35038. name: userid
  35039. type: integer
  35040. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35041. in: query
  35042. name: nodetype
  35043. type: integer
  35044. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35045. in: query
  35046. name: goodsid
  35047. type: integer
  35048. - description: 创建交易日(yyyyMMdd)
  35049. in: query
  35050. name: tradedate
  35051. type: string
  35052. - description: 用户名称(模糊匹配)
  35053. in: query
  35054. name: username
  35055. type: string
  35056. produces:
  35057. - application/json
  35058. responses:
  35059. "200":
  35060. description: OK
  35061. schema:
  35062. items:
  35063. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35064. type: array
  35065. "500":
  35066. description: Internal Server Error
  35067. schema:
  35068. $ref: '#/definitions/app.Response'
  35069. security:
  35070. - ApiKeyAuth: []
  35071. summary: 查询客户协议签约状态
  35072. tags:
  35073. - 大连千海金(协议和签约信息)
  35074. /QhjSys/QueryNodeAgreementConfig:
  35075. get:
  35076. parameters:
  35077. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35078. in: query
  35079. name: configid
  35080. type: integer
  35081. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35082. in: query
  35083. name: nodetype
  35084. type: integer
  35085. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35086. in: query
  35087. name: goodsid
  35088. type: integer
  35089. - description: 协议ID
  35090. in: query
  35091. name: agreementid
  35092. type: integer
  35093. - description: 协议类型 - 1:注册 2:登录 3:交易
  35094. in: query
  35095. name: agreementtype
  35096. type: integer
  35097. - description: 协议版本号
  35098. in: query
  35099. name: agreementversion
  35100. type: integer
  35101. - description: 协议编号(模糊匹配)
  35102. in: query
  35103. name: agreementno
  35104. type: string
  35105. - description: 协议名称(模糊匹配)
  35106. in: query
  35107. name: agreementname
  35108. type: string
  35109. produces:
  35110. - application/json
  35111. responses:
  35112. "200":
  35113. description: OK
  35114. schema:
  35115. items:
  35116. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  35117. type: array
  35118. "500":
  35119. description: Internal Server Error
  35120. schema:
  35121. $ref: '#/definitions/app.Response'
  35122. security:
  35123. - ApiKeyAuth: []
  35124. summary: 查询协议节点配置
  35125. tags:
  35126. - 大连千海金(协议和签约信息)
  35127. /QhjSys/QueryQhjCustomerSignLog:
  35128. get:
  35129. parameters:
  35130. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35131. in: query
  35132. name: logid
  35133. type: integer
  35134. - description: 客户ID
  35135. in: query
  35136. name: userid
  35137. type: integer
  35138. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35139. in: query
  35140. name: nodetype
  35141. type: integer
  35142. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35143. in: query
  35144. name: goodsid
  35145. type: integer
  35146. - description: 协议ID
  35147. in: query
  35148. name: agreementid
  35149. type: integer
  35150. - description: 用户名称(模糊匹配)
  35151. in: query
  35152. name: username
  35153. type: string
  35154. - description: 协议编号(模糊匹配)
  35155. in: query
  35156. name: agreementno
  35157. type: string
  35158. - description: 协议名称(模糊匹配)
  35159. in: query
  35160. name: agreementname
  35161. type: string
  35162. produces:
  35163. - application/json
  35164. responses:
  35165. "200":
  35166. description: OK
  35167. schema:
  35168. items:
  35169. $ref: '#/definitions/models.QhjCustomerSignLog'
  35170. type: array
  35171. "500":
  35172. description: Internal Server Error
  35173. schema:
  35174. $ref: '#/definitions/app.Response'
  35175. security:
  35176. - ApiKeyAuth: []
  35177. summary: 查询客户协议签约流水
  35178. tags:
  35179. - 大连千海金(协议和签约信息)
  35180. /QhjSys/QueryUserNodeCfgAndStatus:
  35181. get:
  35182. parameters:
  35183. - description: 客户ID
  35184. in: query
  35185. name: userid
  35186. type: integer
  35187. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35188. in: query
  35189. name: configid
  35190. type: integer
  35191. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35192. in: query
  35193. name: nodetype
  35194. type: string
  35195. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35196. in: query
  35197. name: goodsid
  35198. type: integer
  35199. - description: 协议ID
  35200. in: query
  35201. name: agreementid
  35202. type: integer
  35203. - description: 协议类型 - 1:注册 2:登录 3:交易
  35204. in: query
  35205. name: agreementtype
  35206. type: integer
  35207. - description: 协议版本号
  35208. in: query
  35209. name: agreementversion
  35210. type: integer
  35211. - description: 协议编号(模糊匹配)
  35212. in: query
  35213. name: agreementno
  35214. type: string
  35215. - description: 协议名称(模糊匹配)
  35216. in: query
  35217. name: agreementname
  35218. type: string
  35219. produces:
  35220. - application/json
  35221. responses:
  35222. "200":
  35223. description: OK
  35224. schema:
  35225. items:
  35226. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35227. type: array
  35228. "500":
  35229. description: Internal Server Error
  35230. schema:
  35231. $ref: '#/definitions/app.Response'
  35232. security:
  35233. - ApiKeyAuth: []
  35234. summary: 查询用户协议节点配置和状态
  35235. tags:
  35236. - 大连千海金(协议和签约信息)
  35237. /Quote/QueryHistoryDatas:
  35238. get:
  35239. parameters:
  35240. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35241. 日线 12:周线 13:月线 14:年线'
  35242. in: query
  35243. name: cycleType
  35244. required: true
  35245. type: integer
  35246. - description: 商品代码
  35247. in: query
  35248. name: goodsCode
  35249. required: true
  35250. type: string
  35251. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35252. in: query
  35253. name: startTime
  35254. type: string
  35255. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35256. in: query
  35257. name: endTime
  35258. type: string
  35259. - description: 条数
  35260. in: query
  35261. name: count
  35262. type: integer
  35263. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35264. in: query
  35265. name: isAsc
  35266. type: boolean
  35267. produces:
  35268. - application/json
  35269. responses:
  35270. "200":
  35271. description: OK
  35272. schema:
  35273. $ref: '#/definitions/quote.HistoryData'
  35274. "500":
  35275. description: Internal Server Error
  35276. schema:
  35277. $ref: '#/definitions/app.Response'
  35278. security:
  35279. - ApiKeyAuth: []
  35280. summary: 查询行情历史数据
  35281. tags:
  35282. - 行情服务
  35283. /Quote/QueryHistoryTikDatas:
  35284. get:
  35285. parameters:
  35286. - description: 商品代码
  35287. in: query
  35288. name: goodsCode
  35289. required: true
  35290. type: string
  35291. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35292. in: query
  35293. name: startTime
  35294. type: string
  35295. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35296. in: query
  35297. name: endTime
  35298. type: string
  35299. - description: 条数
  35300. in: query
  35301. name: count
  35302. type: integer
  35303. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35304. in: query
  35305. name: isAsc
  35306. type: boolean
  35307. produces:
  35308. - application/json
  35309. responses:
  35310. "200":
  35311. description: OK
  35312. schema:
  35313. $ref: '#/definitions/quote.HistoryTikData'
  35314. "500":
  35315. description: Internal Server Error
  35316. schema:
  35317. $ref: '#/definitions/app.Response'
  35318. security:
  35319. - ApiKeyAuth: []
  35320. summary: 查询行情Tik数据
  35321. tags:
  35322. - 行情服务
  35323. /Quote/QueryQuoteDay:
  35324. get:
  35325. parameters:
  35326. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35327. in: query
  35328. name: goodsCodes
  35329. type: string
  35330. produces:
  35331. - application/json
  35332. responses:
  35333. "200":
  35334. description: OK
  35335. schema:
  35336. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35337. "500":
  35338. description: Internal Server Error
  35339. schema:
  35340. $ref: '#/definitions/app.Response'
  35341. security:
  35342. - ApiKeyAuth: []
  35343. summary: 获取商品盘面信息
  35344. tags:
  35345. - 行情服务
  35346. /Quote/QueryTSData:
  35347. get:
  35348. parameters:
  35349. - description: 商品代码
  35350. in: query
  35351. name: goodsCode
  35352. required: true
  35353. type: string
  35354. produces:
  35355. - application/json
  35356. responses:
  35357. "200":
  35358. description: OK
  35359. schema:
  35360. $ref: '#/definitions/quote.QueryTSDataRsp'
  35361. "500":
  35362. description: Internal Server Error
  35363. schema:
  35364. $ref: '#/definitions/app.Response'
  35365. security:
  35366. - ApiKeyAuth: []
  35367. summary: 分时图数据查询
  35368. tags:
  35369. - 行情服务
  35370. /SZDZ/QueryConvertConfig:
  35371. get:
  35372. parameters:
  35373. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35374. 6:交易转花生米(不设置)
  35375. in: query
  35376. name: convertType
  35377. type: integer
  35378. - description: 外部商品代码[JD\PD]
  35379. in: query
  35380. name: outerGoodsCode
  35381. type: string
  35382. - description: 内部商品ID列表[交易],格式:1,2,3
  35383. in: query
  35384. name: innerGoodsIDs
  35385. type: string
  35386. produces:
  35387. - application/json
  35388. responses:
  35389. "200":
  35390. description: OK
  35391. schema:
  35392. $ref: '#/definitions/models.Szdz3convertconfig'
  35393. "500":
  35394. description: Internal Server Error
  35395. schema:
  35396. $ref: '#/definitions/app.Response'
  35397. security:
  35398. - ApiKeyAuth: []
  35399. summary: 查询交易系统转换设置
  35400. tags:
  35401. - 定制【尚志大宗】
  35402. /SZDZ/QueryConvertLog:
  35403. get:
  35404. parameters:
  35405. - description: 资金账户 - 格式:1,2,3
  35406. in: query
  35407. name: accountID
  35408. required: true
  35409. type: string
  35410. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35411. in: query
  35412. name: startDate
  35413. type: string
  35414. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35415. in: query
  35416. name: endDate
  35417. type: string
  35418. produces:
  35419. - application/json
  35420. responses:
  35421. "200":
  35422. description: OK
  35423. schema:
  35424. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35425. "500":
  35426. description: Internal Server Error
  35427. schema:
  35428. $ref: '#/definitions/app.Response'
  35429. security:
  35430. - ApiKeyAuth: []
  35431. summary: 交易系统转换流水查询
  35432. tags:
  35433. - 定制【尚志大宗】
  35434. /SZDZ/QueryGoodsPickup:
  35435. get:
  35436. parameters:
  35437. - description: 资金账户 - 格式:1,2,3
  35438. in: query
  35439. name: accountID
  35440. required: true
  35441. type: string
  35442. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35443. in: query
  35444. name: takeOrderStatus
  35445. type: integer
  35446. produces:
  35447. - application/json
  35448. responses:
  35449. "200":
  35450. description: OK
  35451. schema:
  35452. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35453. "500":
  35454. description: Internal Server Error
  35455. schema:
  35456. $ref: '#/definitions/app.Response'
  35457. security:
  35458. - ApiKeyAuth: []
  35459. summary: 商品提货单查询
  35460. tags:
  35461. - 定制【尚志大宗】
  35462. /SZDZ/QueryRecieptOrder:
  35463. get:
  35464. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35465. parameters:
  35466. - description: 页码
  35467. in: query
  35468. name: page
  35469. type: integer
  35470. - description: 每页条数
  35471. in: query
  35472. name: pagesize
  35473. type: integer
  35474. - description: 商品ID
  35475. in: query
  35476. name: goodsID
  35477. required: true
  35478. type: integer
  35479. - description: 所属账户名称
  35480. in: query
  35481. name: accountName
  35482. type: string
  35483. - description: 市场ID
  35484. in: query
  35485. name: marketID
  35486. type: integer
  35487. - description: 方向 - 0:买 1:卖
  35488. in: query
  35489. name: buyorsell
  35490. required: true
  35491. type: integer
  35492. produces:
  35493. - application/json
  35494. responses:
  35495. "200":
  35496. description: OK
  35497. schema:
  35498. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35499. "500":
  35500. description: Internal Server Error
  35501. schema:
  35502. $ref: '#/definitions/app.Response'
  35503. security:
  35504. - ApiKeyAuth: []
  35505. summary: 点选挂牌委托单据查询(摘牌大厅)
  35506. tags:
  35507. - 定制【尚志大宗】
  35508. /SZDZ/QuerySZDZTradePosition:
  35509. get:
  35510. parameters:
  35511. - description: 资金账户
  35512. in: query
  35513. name: accountID
  35514. required: true
  35515. type: integer
  35516. produces:
  35517. - application/json
  35518. responses:
  35519. "200":
  35520. description: OK
  35521. schema:
  35522. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35523. "500":
  35524. description: Internal Server Error
  35525. schema:
  35526. $ref: '#/definitions/app.Response'
  35527. security:
  35528. - ApiKeyAuth: []
  35529. summary: 持仓汇总查询(尚志大宗)
  35530. tags:
  35531. - 定制【尚志大宗】
  35532. /SZDZ/SearchWhite:
  35533. get:
  35534. parameters:
  35535. - description: 用户ID
  35536. in: query
  35537. name: userID
  35538. required: true
  35539. type: integer
  35540. produces:
  35541. - application/json
  35542. responses:
  35543. "200":
  35544. description: OK
  35545. schema:
  35546. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35547. "500":
  35548. description: Internal Server Error
  35549. schema:
  35550. $ref: '#/definitions/app.Response'
  35551. security:
  35552. - ApiKeyAuth: []
  35553. summary: 搜索白名单
  35554. tags:
  35555. - 定制【尚志大宗】
  35556. /Search/SearchGoodses:
  35557. get:
  35558. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35559. parameters:
  35560. - description: 检索内容
  35561. in: query
  35562. name: content
  35563. required: true
  35564. type: string
  35565. - description: 交易模式,格式:1,2,3
  35566. in: query
  35567. name: tradeModes
  35568. type: string
  35569. produces:
  35570. - application/json
  35571. responses:
  35572. "200":
  35573. description: OK
  35574. schema:
  35575. $ref: '#/definitions/models.SearchGoods'
  35576. "500":
  35577. description: Internal Server Error
  35578. schema:
  35579. $ref: '#/definitions/app.Response'
  35580. summary: 检索商品信息
  35581. tags:
  35582. - 检索服务
  35583. /TaAccount/GetTaAccounts:
  35584. get:
  35585. parameters:
  35586. - description: 登录账户
  35587. in: query
  35588. name: loginID
  35589. required: true
  35590. type: integer
  35591. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35592. in: query
  35593. name: taAccountType
  35594. type: integer
  35595. produces:
  35596. - application/json
  35597. responses:
  35598. "200":
  35599. description: OK
  35600. schema:
  35601. $ref: '#/definitions/models.Taaccount'
  35602. "500":
  35603. description: Internal Server Error
  35604. schema:
  35605. $ref: '#/definitions/app.Response'
  35606. security:
  35607. - ApiKeyAuth: []
  35608. summary: 获取资金账户信息
  35609. tags:
  35610. - 资金账户
  35611. /TaAccount/QueryAmountLog:
  35612. get:
  35613. parameters:
  35614. - description: 页码
  35615. in: query
  35616. name: page
  35617. type: integer
  35618. - description: 每页条数
  35619. in: query
  35620. name: pagesize
  35621. type: integer
  35622. - description: 分页标志 0-page从0开始 1-page从1开始
  35623. in: query
  35624. name: pageflag
  35625. type: integer
  35626. - description: 资金账户 - 格式:1,2,3
  35627. in: query
  35628. name: accountID
  35629. required: true
  35630. type: string
  35631. - description: 资金操作类型 - 格式:1,2,3
  35632. in: query
  35633. name: OperateType
  35634. type: string
  35635. produces:
  35636. - application/json
  35637. responses:
  35638. "200":
  35639. description: OK
  35640. schema:
  35641. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35642. "500":
  35643. description: Internal Server Error
  35644. schema:
  35645. $ref: '#/definitions/app.Response'
  35646. security:
  35647. - ApiKeyAuth: []
  35648. summary: 资金流水查询(当前)
  35649. tags:
  35650. - 资金账户
  35651. /TaAccount/QueryHisAmountLog:
  35652. get:
  35653. parameters:
  35654. - description: 页码
  35655. in: query
  35656. name: page
  35657. type: integer
  35658. - description: 每页条数
  35659. in: query
  35660. name: pagesize
  35661. type: integer
  35662. - description: 分页标志 0-page从0开始 1-page从1开始
  35663. in: query
  35664. name: pageflag
  35665. type: integer
  35666. - description: 资金账户 - 格式:1,2,3
  35667. in: query
  35668. name: accountID
  35669. required: true
  35670. type: string
  35671. - description: 资金操作类型 - 格式:1,2,3
  35672. in: query
  35673. name: OperateType
  35674. type: string
  35675. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35676. in: query
  35677. name: startDate
  35678. type: string
  35679. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35680. in: query
  35681. name: endDate
  35682. type: string
  35683. produces:
  35684. - application/json
  35685. responses:
  35686. "200":
  35687. description: OK
  35688. schema:
  35689. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35690. "500":
  35691. description: Internal Server Error
  35692. schema:
  35693. $ref: '#/definitions/app.Response'
  35694. security:
  35695. - ApiKeyAuth: []
  35696. summary: 资金流水查询(历史)
  35697. tags:
  35698. - 资金账户
  35699. /TaAccount/QueryRelatedTaAccount:
  35700. get:
  35701. parameters:
  35702. - description: 关联UserID
  35703. in: query
  35704. name: relateduserid
  35705. required: true
  35706. type: integer
  35707. produces:
  35708. - application/json
  35709. responses:
  35710. "200":
  35711. description: OK
  35712. schema:
  35713. items:
  35714. $ref: '#/definitions/models.RelatedTaAccount'
  35715. type: array
  35716. "500":
  35717. description: Internal Server Error
  35718. schema:
  35719. $ref: '#/definitions/app.Response'
  35720. security:
  35721. - ApiKeyAuth: []
  35722. summary: 查询关联资金账户信息
  35723. tags:
  35724. - 资金账户
  35725. /Tjmd/QueryQuoteGoodsList:
  35726. get:
  35727. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35728. parameters:
  35729. - description: 用户类型
  35730. in: query
  35731. name: usertype
  35732. required: true
  35733. type: integer
  35734. - description: 市场id, 格式 1,2,3
  35735. in: query
  35736. name: marketids
  35737. type: string
  35738. - description: 商品组id
  35739. in: query
  35740. name: goodsgroupid
  35741. type: integer
  35742. - description: 商品id
  35743. in: query
  35744. name: goodsid
  35745. type: integer
  35746. produces:
  35747. - application/json
  35748. responses:
  35749. "200":
  35750. description: OK
  35751. schema:
  35752. items:
  35753. $ref: '#/definitions/models.TjmdQuoteGoods'
  35754. type: array
  35755. "500":
  35756. description: Internal Server Error
  35757. schema:
  35758. $ref: '#/definitions/app.Response'
  35759. security:
  35760. - ApiKeyAuth: []
  35761. summary: 查询掉期报价列表
  35762. tags:
  35763. - 天津麦顿
  35764. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35765. get:
  35766. parameters:
  35767. - description: 成交单号
  35768. in: query
  35769. name: tradeid
  35770. required: true
  35771. type: string
  35772. produces:
  35773. - application/json
  35774. responses:
  35775. "200":
  35776. description: OK
  35777. schema:
  35778. items:
  35779. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35780. type: array
  35781. "500":
  35782. description: Internal Server Error
  35783. schema:
  35784. $ref: '#/definitions/app.Response'
  35785. security:
  35786. - ApiKeyAuth: []
  35787. summary: 掉期商品订单详情(交易确认书)
  35788. tags:
  35789. - 天津麦顿
  35790. /Tjmd/QueryTjmdMarketSection:
  35791. get:
  35792. produces:
  35793. - application/json
  35794. responses:
  35795. "200":
  35796. description: OK
  35797. schema:
  35798. items:
  35799. $ref: '#/definitions/models.TjmdMarketSection'
  35800. type: array
  35801. "500":
  35802. description: Internal Server Error
  35803. schema:
  35804. $ref: '#/definitions/app.Response'
  35805. security:
  35806. - ApiKeyAuth: []
  35807. summary: 查询市场板块
  35808. tags:
  35809. - 天津麦顿
  35810. /Tjmd/QueryTjmdTodayAccountMargin:
  35811. get:
  35812. parameters:
  35813. - description: 市场id
  35814. in: query
  35815. name: marketid
  35816. type: string
  35817. - description: 商品id
  35818. in: query
  35819. name: goodsid
  35820. type: string
  35821. - description: 资金账号
  35822. in: query
  35823. name: accountid
  35824. type: string
  35825. produces:
  35826. - application/json
  35827. responses:
  35828. "200":
  35829. description: OK
  35830. schema:
  35831. items:
  35832. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35833. type: array
  35834. "500":
  35835. description: Internal Server Error
  35836. schema:
  35837. $ref: '#/definitions/app.Response'
  35838. security:
  35839. - ApiKeyAuth: []
  35840. summary: 查询今日账户保证金配置
  35841. tags:
  35842. - 天津麦顿
  35843. /Tjmd/QueryTjmdTradeOrderDetail:
  35844. get:
  35845. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35846. parameters:
  35847. - description: 页码
  35848. in: query
  35849. name: page
  35850. type: integer
  35851. - description: 每页条数
  35852. in: query
  35853. name: pagesize
  35854. type: integer
  35855. - description: 用户id
  35856. in: query
  35857. name: userid
  35858. required: true
  35859. type: integer
  35860. - description: 用户类型
  35861. in: query
  35862. name: usertype
  35863. required: true
  35864. type: integer
  35865. - description: 市场id, 格式 1,2,3
  35866. in: query
  35867. name: marketids
  35868. type: string
  35869. - description: 商品id
  35870. in: query
  35871. name: goodsid
  35872. required: true
  35873. type: integer
  35874. - description: 买卖方向 0-买 1-卖
  35875. in: query
  35876. name: buyorsell
  35877. required: true
  35878. type: integer
  35879. produces:
  35880. - application/json
  35881. responses:
  35882. "200":
  35883. description: OK
  35884. schema:
  35885. items:
  35886. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35887. type: array
  35888. "500":
  35889. description: Internal Server Error
  35890. schema:
  35891. $ref: '#/definitions/app.Response'
  35892. security:
  35893. - ApiKeyAuth: []
  35894. summary: 查询掉期买卖大厅
  35895. tags:
  35896. - 天津麦顿
  35897. /Tjmd/QueryTjmdTransferApply:
  35898. get:
  35899. parameters:
  35900. - description: 类型 1-我的申请 2-对方申请
  35901. in: query
  35902. name: applytype
  35903. required: true
  35904. type: integer
  35905. - description: 市场id, 格式 1,2,3
  35906. in: query
  35907. name: marketids
  35908. type: string
  35909. - description: 资金账号, 格式 25000000001,25000000003
  35910. in: query
  35911. name: accountids
  35912. type: string
  35913. - description: 开始交易日(yyyymmdd)
  35914. in: query
  35915. name: begindate
  35916. type: string
  35917. - description: 结束交易日(yyyymmdd)
  35918. in: query
  35919. name: enddate
  35920. type: string
  35921. produces:
  35922. - application/json
  35923. responses:
  35924. "200":
  35925. description: OK
  35926. schema:
  35927. items:
  35928. $ref: '#/definitions/models.TjmdTransferApply'
  35929. type: array
  35930. "500":
  35931. description: Internal Server Error
  35932. schema:
  35933. $ref: '#/definitions/app.Response'
  35934. security:
  35935. - ApiKeyAuth: []
  35936. summary: 查询掉期协议单
  35937. tags:
  35938. - 天津麦顿
  35939. /Trade/QueryRecieptOrder:
  35940. get:
  35941. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35942. parameters:
  35943. - description: 页码
  35944. in: query
  35945. name: page
  35946. type: integer
  35947. - description: 每页条数
  35948. in: query
  35949. name: pagesize
  35950. type: integer
  35951. - description: 商品ID
  35952. in: query
  35953. name: goodsID
  35954. required: true
  35955. type: integer
  35956. - description: 所属账户名称
  35957. in: query
  35958. name: accountName
  35959. type: string
  35960. - description: 市场ID
  35961. in: query
  35962. name: marketID
  35963. type: integer
  35964. - description: 方向 - 0:买 1:卖
  35965. in: query
  35966. name: buyorsell
  35967. required: true
  35968. type: integer
  35969. produces:
  35970. - application/json
  35971. responses:
  35972. "200":
  35973. description: OK
  35974. schema:
  35975. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  35976. "500":
  35977. description: Internal Server Error
  35978. schema:
  35979. $ref: '#/definitions/app.Response'
  35980. security:
  35981. - ApiKeyAuth: []
  35982. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  35983. tags:
  35984. - 通用交易
  35985. /User/AddMessageBoard:
  35986. post:
  35987. parameters:
  35988. - description: 用户ID
  35989. in: query
  35990. name: userID
  35991. required: true
  35992. type: integer
  35993. - description: 留言信息
  35994. in: query
  35995. name: message
  35996. required: true
  35997. type: string
  35998. - description: 联系电话
  35999. in: query
  36000. name: contactNum
  36001. required: true
  36002. type: string
  36003. produces:
  36004. - application/json
  36005. responses:
  36006. "200":
  36007. description: OK
  36008. schema:
  36009. $ref: '#/definitions/app.Response'
  36010. "500":
  36011. description: Internal Server Error
  36012. schema:
  36013. $ref: '#/definitions/app.Response'
  36014. security:
  36015. - ApiKeyAuth: []
  36016. summary: 添加用户留言板信息
  36017. tags:
  36018. - 用户信息
  36019. /User/AddUserFavoriteGoods:
  36020. post:
  36021. parameters:
  36022. - description: 用户ID
  36023. in: query
  36024. name: userID
  36025. required: true
  36026. type: integer
  36027. - description: 商品ID
  36028. in: query
  36029. name: goodsID
  36030. required: true
  36031. type: integer
  36032. produces:
  36033. - application/json
  36034. responses:
  36035. "200":
  36036. description: OK
  36037. schema:
  36038. $ref: '#/definitions/app.Response'
  36039. "500":
  36040. description: Internal Server Error
  36041. schema:
  36042. $ref: '#/definitions/app.Response'
  36043. security:
  36044. - ApiKeyAuth: []
  36045. summary: 添加用户商品收藏信息
  36046. tags:
  36047. - 用户信息
  36048. /User/GetLoginID:
  36049. get:
  36050. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36051. parameters:
  36052. - description: 登录代码
  36053. in: query
  36054. name: username
  36055. required: true
  36056. type: string
  36057. produces:
  36058. - application/json
  36059. responses:
  36060. "200":
  36061. description: OK
  36062. schema:
  36063. $ref: '#/definitions/app.Response'
  36064. "500":
  36065. description: Internal Server Error
  36066. schema:
  36067. $ref: '#/definitions/app.Response'
  36068. summary: 获取登录ID
  36069. tags:
  36070. - 用户信息
  36071. /User/GetUserAccount:
  36072. get:
  36073. parameters:
  36074. - description: 用户ID
  36075. in: query
  36076. name: userID
  36077. required: true
  36078. type: integer
  36079. produces:
  36080. - application/json
  36081. responses:
  36082. "200":
  36083. description: OK
  36084. schema:
  36085. $ref: '#/definitions/models.Useraccount'
  36086. "500":
  36087. description: Internal Server Error
  36088. schema:
  36089. $ref: '#/definitions/app.Response'
  36090. security:
  36091. - ApiKeyAuth: []
  36092. summary: 获取用户账号信息
  36093. tags:
  36094. - 用户信息
  36095. /User/GetUserAuthStatus:
  36096. get:
  36097. parameters:
  36098. - description: 用户ID
  36099. in: query
  36100. name: userID
  36101. required: true
  36102. type: integer
  36103. produces:
  36104. - application/json
  36105. responses:
  36106. "200":
  36107. description: OK
  36108. schema:
  36109. $ref: '#/definitions/app.Response'
  36110. "500":
  36111. description: Internal Server Error
  36112. schema:
  36113. $ref: '#/definitions/app.Response'
  36114. security:
  36115. - ApiKeyAuth: []
  36116. summary: 获取用户实名认证状态
  36117. tags:
  36118. - 用户信息
  36119. /User/LoginQuery:
  36120. get:
  36121. parameters:
  36122. - description: 登录账号
  36123. in: query
  36124. name: loginID
  36125. required: true
  36126. type: integer
  36127. produces:
  36128. - application/json
  36129. responses:
  36130. "200":
  36131. description: OK
  36132. schema:
  36133. $ref: '#/definitions/user.LoginQueryRsp'
  36134. "500":
  36135. description: Internal Server Error
  36136. schema:
  36137. $ref: '#/definitions/app.Response'
  36138. security:
  36139. - ApiKeyAuth: []
  36140. summary: 账户登录后信息查询
  36141. tags:
  36142. - 用户信息
  36143. /User/QueryMessageBoard:
  36144. get:
  36145. parameters:
  36146. - description: 用户ID
  36147. in: query
  36148. name: userID
  36149. required: true
  36150. type: integer
  36151. produces:
  36152. - application/json
  36153. responses:
  36154. "200":
  36155. description: OK
  36156. schema:
  36157. $ref: '#/definitions/models.Messageboard'
  36158. "500":
  36159. description: Internal Server Error
  36160. schema:
  36161. $ref: '#/definitions/app.Response'
  36162. security:
  36163. - ApiKeyAuth: []
  36164. summary: 获取用户留言板信息
  36165. tags:
  36166. - 用户信息
  36167. /User/QueryUserFavoriteGoodses:
  36168. get:
  36169. parameters:
  36170. - description: 用户ID
  36171. in: query
  36172. name: userID
  36173. required: true
  36174. type: integer
  36175. produces:
  36176. - application/json
  36177. responses:
  36178. "200":
  36179. description: OK
  36180. schema:
  36181. $ref: '#/definitions/models.Userfavoritegoods'
  36182. "500":
  36183. description: Internal Server Error
  36184. schema:
  36185. $ref: '#/definitions/app.Response'
  36186. security:
  36187. - ApiKeyAuth: []
  36188. summary: 获取用户商品收藏信息
  36189. tags:
  36190. - 用户信息
  36191. /User/QueryUserInfo:
  36192. get:
  36193. parameters:
  36194. - description: 用户ID
  36195. in: query
  36196. name: userID
  36197. required: true
  36198. type: integer
  36199. - description: 是否解密
  36200. in: query
  36201. name: isDecrypt
  36202. type: boolean
  36203. produces:
  36204. - application/json
  36205. responses:
  36206. "200":
  36207. description: OK
  36208. schema:
  36209. $ref: '#/definitions/models.Userinfo'
  36210. "500":
  36211. description: Internal Server Error
  36212. schema:
  36213. $ref: '#/definitions/app.Response'
  36214. security:
  36215. - ApiKeyAuth: []
  36216. summary: 获取用户信息
  36217. tags:
  36218. - 用户信息
  36219. /User/QueryUserReferNum:
  36220. get:
  36221. parameters:
  36222. - description: 用户ID
  36223. in: query
  36224. name: userID
  36225. required: true
  36226. type: integer
  36227. produces:
  36228. - application/json
  36229. responses:
  36230. "200":
  36231. description: OK
  36232. schema:
  36233. $ref: '#/definitions/app.Response'
  36234. "500":
  36235. description: Internal Server Error
  36236. schema:
  36237. $ref: '#/definitions/app.Response'
  36238. summary: 获取用户邀请码
  36239. tags:
  36240. - 用户信息
  36241. /User/RemoveUserFavoriteGoods:
  36242. post:
  36243. parameters:
  36244. - description: 用户ID
  36245. in: query
  36246. name: userID
  36247. required: true
  36248. type: integer
  36249. - description: 商品ID
  36250. in: query
  36251. name: goodsID
  36252. required: true
  36253. type: integer
  36254. produces:
  36255. - application/json
  36256. responses:
  36257. "200":
  36258. description: OK
  36259. schema:
  36260. $ref: '#/definitions/app.Response'
  36261. "500":
  36262. description: Internal Server Error
  36263. schema:
  36264. $ref: '#/definitions/app.Response'
  36265. security:
  36266. - ApiKeyAuth: []
  36267. summary: 移除用户商品收藏信息
  36268. tags:
  36269. - 用户信息
  36270. /User/UpdateUserAccountStatus:
  36271. post:
  36272. parameters:
  36273. - description: 用户ID
  36274. in: query
  36275. name: userID
  36276. required: true
  36277. type: integer
  36278. - description: 账户状态 - 4:正常 6:注销(停用)
  36279. in: query
  36280. name: accountStatus
  36281. required: true
  36282. type: integer
  36283. produces:
  36284. - application/json
  36285. responses:
  36286. "200":
  36287. description: OK
  36288. schema:
  36289. $ref: '#/definitions/app.Response'
  36290. "500":
  36291. description: Internal Server Error
  36292. schema:
  36293. $ref: '#/definitions/app.Response'
  36294. security:
  36295. - ApiKeyAuth: []
  36296. summary: 更新用户状态
  36297. tags:
  36298. - 用户信息
  36299. /WRTrade/GetAllDeliveryGoods:
  36300. get:
  36301. produces:
  36302. - application/json
  36303. responses:
  36304. "200":
  36305. description: OK
  36306. schema:
  36307. $ref: '#/definitions/app.Response'
  36308. "500":
  36309. description: Internal Server Error
  36310. schema:
  36311. $ref: '#/definitions/app.Response'
  36312. security:
  36313. - ApiKeyAuth: []
  36314. summary: 获取带仓单分类的种类信息
  36315. tags:
  36316. - 仓单贸易
  36317. - 仓单贸易
  36318. /WrTrade2/InsertXhcpSellBackApply:
  36319. post:
  36320. parameters:
  36321. - description: 回收申请
  36322. in: body
  36323. name: jsonBody
  36324. required: true
  36325. schema:
  36326. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36327. produces:
  36328. - application/json
  36329. responses:
  36330. "200":
  36331. description: OK
  36332. schema:
  36333. $ref: '#/definitions/app.Response'
  36334. "500":
  36335. description: Internal Server Error
  36336. schema:
  36337. $ref: '#/definitions/app.Response'
  36338. security:
  36339. - ApiKeyAuth: []
  36340. summary: 新增回收申请(新会陈皮)
  36341. tags:
  36342. - 仓单贸易v2
  36343. /WrTrade2/QueryDeliveryGoodsSection:
  36344. get:
  36345. produces:
  36346. - application/json
  36347. responses:
  36348. "200":
  36349. description: OK
  36350. schema:
  36351. items:
  36352. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36353. type: array
  36354. "500":
  36355. description: Internal Server Error
  36356. schema:
  36357. $ref: '#/definitions/app.Response'
  36358. security:
  36359. - ApiKeyAuth: []
  36360. summary: 查询板块(分类)
  36361. tags:
  36362. - 仓单贸易v2
  36363. /WrTrade2/QueryFaProductDetail:
  36364. get:
  36365. description: 页面 买卖大厅 -> 选择融资方案
  36366. parameters:
  36367. - description: 仓单要素id
  36368. in: query
  36369. name: wrfactortypeid
  36370. required: true
  36371. type: integer
  36372. produces:
  36373. - application/json
  36374. responses:
  36375. "200":
  36376. description: OK
  36377. schema:
  36378. items:
  36379. $ref: '#/definitions/models.WrFAProductDetail'
  36380. type: array
  36381. "500":
  36382. description: Internal Server Error
  36383. schema:
  36384. $ref: '#/definitions/app.Response'
  36385. security:
  36386. - ApiKeyAuth: []
  36387. summary: 查询融资产品列表
  36388. tags:
  36389. - 仓单贸易v2
  36390. /WrTrade2/QueryFilterItem:
  36391. get:
  36392. parameters:
  36393. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36394. in: query
  36395. name: itype
  36396. required: true
  36397. type: string
  36398. produces:
  36399. - application/json
  36400. responses:
  36401. "200":
  36402. description: OK
  36403. schema:
  36404. items:
  36405. $ref: '#/definitions/models.WrFilterItem'
  36406. type: array
  36407. "500":
  36408. description: Internal Server Error
  36409. schema:
  36410. $ref: '#/definitions/app.Response'
  36411. security:
  36412. - ApiKeyAuth: []
  36413. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36414. tags:
  36415. - 仓单贸易v2
  36416. /WrTrade2/QueryFtDeliveryGoods:
  36417. get:
  36418. produces:
  36419. - application/json
  36420. responses:
  36421. "200":
  36422. description: OK
  36423. schema:
  36424. items:
  36425. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36426. type: array
  36427. "500":
  36428. description: Internal Server Error
  36429. schema:
  36430. $ref: '#/definitions/app.Response'
  36431. security:
  36432. - ApiKeyAuth: []
  36433. summary: 查询品种品类筛选框列表
  36434. tags:
  36435. - 仓单贸易v2
  36436. /WrTrade2/QueryHoldLB:
  36437. get:
  36438. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36439. parameters:
  36440. - description: 资金账号
  36441. in: query
  36442. name: accountid
  36443. required: true
  36444. type: integer
  36445. - description: 仓库id
  36446. in: query
  36447. name: warehouseid
  36448. type: integer
  36449. - description: 品种id
  36450. in: query
  36451. name: deliverygoodsid
  36452. type: integer
  36453. - description: 品类id
  36454. in: query
  36455. name: wrstandardid
  36456. type: integer
  36457. - description: 仓单要素id
  36458. in: query
  36459. name: wrfactortypeid
  36460. type: integer
  36461. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36462. in: query
  36463. name: dgitemname
  36464. type: string
  36465. produces:
  36466. - application/json
  36467. responses:
  36468. "200":
  36469. description: OK
  36470. schema:
  36471. items:
  36472. $ref: '#/definitions/models.WrHoldLB'
  36473. type: array
  36474. "500":
  36475. description: Internal Server Error
  36476. schema:
  36477. $ref: '#/definitions/app.Response'
  36478. security:
  36479. - ApiKeyAuth: []
  36480. summary: 查询仓单持有记录
  36481. tags:
  36482. - 仓单贸易v2
  36483. /WrTrade2/QueryOrderQuote:
  36484. get:
  36485. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36486. 唯一确定1条记录
  36487. parameters:
  36488. - description: 页码
  36489. in: query
  36490. name: page
  36491. type: integer
  36492. - description: 每页条数
  36493. in: query
  36494. name: pagesize
  36495. type: integer
  36496. - description: 仓单贸易市场id
  36497. in: query
  36498. name: marketid
  36499. type: integer
  36500. - description: 价格方式 - 1:固定价 2-浮动价
  36501. in: query
  36502. name: wrpricetype
  36503. required: true
  36504. type: integer
  36505. - description: 0:仓单预售 1:仓单贸易
  36506. in: query
  36507. name: haswr
  36508. type: integer
  36509. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36510. in: query
  36511. name: dgitemname
  36512. type: string
  36513. - description: 仓库id(筛选条件)
  36514. in: query
  36515. name: warehouseid
  36516. type: integer
  36517. - description: 品种id
  36518. in: query
  36519. name: deliverygoodsid
  36520. type: integer
  36521. - description: 品类id
  36522. in: query
  36523. name: wrstandardid
  36524. type: integer
  36525. - description: 品牌id(dgfactoryitemid)
  36526. in: query
  36527. name: brandid
  36528. type: integer
  36529. - description: 年份id(dgfactoryitemid)
  36530. in: query
  36531. name: yearsid
  36532. type: integer
  36533. - description: 仓单要素id
  36534. in: query
  36535. name: wrfactortypeid
  36536. type: integer
  36537. - description: 交收月(yyyy-mm) 仓单预售填写
  36538. in: query
  36539. name: deliverymonth
  36540. type: string
  36541. produces:
  36542. - application/json
  36543. responses:
  36544. "200":
  36545. description: OK
  36546. schema:
  36547. items:
  36548. $ref: '#/definitions/models.WrOrderQuote'
  36549. type: array
  36550. "500":
  36551. description: Internal Server Error
  36552. schema:
  36553. $ref: '#/definitions/app.Response'
  36554. security:
  36555. - ApiKeyAuth: []
  36556. summary: 查询大厅行情列表
  36557. tags:
  36558. - 仓单贸易v2
  36559. /WrTrade2/QueryOrderQuoteDetail:
  36560. get:
  36561. parameters:
  36562. - description: 页码
  36563. in: query
  36564. name: page
  36565. type: integer
  36566. - description: 每页条数
  36567. in: query
  36568. name: pagesize
  36569. type: integer
  36570. - description: 仓单贸易市场id
  36571. in: query
  36572. name: marketid
  36573. type: integer
  36574. - description: 价格方式 - 1:固定价 2-浮动价
  36575. in: query
  36576. name: wrpricetype
  36577. required: true
  36578. type: integer
  36579. - description: 0:仓单预售 1:仓单贸易
  36580. in: query
  36581. name: haswr
  36582. type: integer
  36583. - description: 仓单要素id
  36584. in: query
  36585. name: wrfactortypeid
  36586. required: true
  36587. type: integer
  36588. - description: 期货商品id(浮动价方式时填)
  36589. in: query
  36590. name: goodsid
  36591. type: integer
  36592. - description: 买卖方向 0-买 1-卖
  36593. in: query
  36594. name: buyorsell
  36595. required: true
  36596. type: integer
  36597. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36598. in: query
  36599. name: deliverymonth
  36600. type: string
  36601. produces:
  36602. - application/json
  36603. responses:
  36604. "200":
  36605. description: OK
  36606. schema:
  36607. items:
  36608. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36609. type: array
  36610. "500":
  36611. description: Internal Server Error
  36612. schema:
  36613. $ref: '#/definitions/app.Response'
  36614. security:
  36615. - ApiKeyAuth: []
  36616. summary: 查询买卖大厅
  36617. tags:
  36618. - 仓单贸易v2
  36619. /WrTrade2/QueryOrderQuoteMyq:
  36620. get:
  36621. parameters:
  36622. - description: 页码
  36623. in: query
  36624. name: page
  36625. type: integer
  36626. - description: 每页条数
  36627. in: query
  36628. name: pagesize
  36629. type: integer
  36630. - description: 用户id
  36631. in: query
  36632. name: userid
  36633. required: true
  36634. type: integer
  36635. - description: 仓单贸易市场id
  36636. in: query
  36637. name: marketid
  36638. type: integer
  36639. - description: 0:仓单预售 1:仓单贸易
  36640. in: query
  36641. name: haswr
  36642. type: integer
  36643. - description: 买卖方向 0-买 1-卖
  36644. in: query
  36645. name: buyorsell
  36646. required: true
  36647. type: integer
  36648. - description: 品种id
  36649. in: query
  36650. name: deliverygoodsid
  36651. type: integer
  36652. - description: 品类id
  36653. in: query
  36654. name: wrstandardid
  36655. type: integer
  36656. - description: 交收月(yyyy-mm) 仓单预售填写
  36657. in: query
  36658. name: deliverymonth
  36659. type: string
  36660. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36661. in: query
  36662. name: dgitemname
  36663. type: string
  36664. produces:
  36665. - application/json
  36666. responses:
  36667. "200":
  36668. description: OK
  36669. schema:
  36670. items:
  36671. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36672. type: array
  36673. "500":
  36674. description: Internal Server Error
  36675. schema:
  36676. $ref: '#/definitions/app.Response'
  36677. security:
  36678. - ApiKeyAuth: []
  36679. summary: 查询贸易圈挂牌大厅
  36680. tags:
  36681. - 仓单贸易v2
  36682. /WrTrade2/QueryPerformancePlan:
  36683. get:
  36684. parameters:
  36685. - description: 用户id
  36686. in: query
  36687. name: userid
  36688. required: true
  36689. type: integer
  36690. - description: 买卖方向 0-买 1-卖
  36691. in: query
  36692. name: buyorsell
  36693. required: true
  36694. type: integer
  36695. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36696. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36697. in: query
  36698. name: status
  36699. type: string
  36700. - description: 开始交易日(yyyymmdd)
  36701. in: query
  36702. name: begindate
  36703. type: string
  36704. - description: 结束交易日(yyyymmdd)
  36705. in: query
  36706. name: enddate
  36707. type: string
  36708. produces:
  36709. - application/json
  36710. responses:
  36711. "200":
  36712. description: OK
  36713. schema:
  36714. items:
  36715. $ref: '#/definitions/models.WrPerformancePlan'
  36716. type: array
  36717. "500":
  36718. description: Internal Server Error
  36719. schema:
  36720. $ref: '#/definitions/app.Response'
  36721. security:
  36722. - ApiKeyAuth: []
  36723. summary: 查询履约信息
  36724. tags:
  36725. - 仓单贸易v2
  36726. /WrTrade2/QueryPermancePlanTmp:
  36727. get:
  36728. description: |-
  36729. 返回指定用户的模板和公共模板(用户id为空)
  36730. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36731. parameters:
  36732. - description: 用户id
  36733. in: query
  36734. name: userid
  36735. type: integer
  36736. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36737. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36738. in: query
  36739. name: tmptype
  36740. type: string
  36741. - description: 是否包含公共模板(用户id为空的) 1-包含
  36742. in: query
  36743. name: includepub
  36744. type: integer
  36745. - description: 市场id(天津麦顿指定此参数,其它不用)
  36746. in: query
  36747. name: marketid
  36748. type: integer
  36749. produces:
  36750. - application/json
  36751. responses:
  36752. "200":
  36753. description: OK
  36754. schema:
  36755. items:
  36756. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36757. type: array
  36758. "500":
  36759. description: Internal Server Error
  36760. schema:
  36761. $ref: '#/definitions/app.Response'
  36762. security:
  36763. - ApiKeyAuth: []
  36764. summary: 查询履约模板
  36765. tags:
  36766. - 仓单贸易v2
  36767. /WrTrade2/QuerySiteColumnConfig:
  36768. get:
  36769. parameters:
  36770. - description: 页码
  36771. in: query
  36772. name: page
  36773. type: integer
  36774. - description: 每页条数
  36775. in: query
  36776. name: pagesize
  36777. type: integer
  36778. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36779. in: query
  36780. name: columntype
  36781. type: integer
  36782. produces:
  36783. - application/json
  36784. responses:
  36785. "200":
  36786. description: OK
  36787. schema:
  36788. items:
  36789. $ref: '#/definitions/models.Sitecolumnconfig'
  36790. type: array
  36791. "500":
  36792. description: Internal Server Error
  36793. schema:
  36794. $ref: '#/definitions/app.Response'
  36795. security:
  36796. - ApiKeyAuth: []
  36797. summary: 查询资讯栏目配置
  36798. tags:
  36799. - 仓单贸易v2
  36800. /WrTrade2/QuerySiteColumnDetail:
  36801. get:
  36802. parameters:
  36803. - description: 页码
  36804. in: query
  36805. name: page
  36806. type: integer
  36807. - description: 每页条数
  36808. in: query
  36809. name: pagesize
  36810. type: integer
  36811. - description: 所属栏目id
  36812. in: query
  36813. name: columnid
  36814. type: integer
  36815. produces:
  36816. - application/json
  36817. responses:
  36818. "200":
  36819. description: OK
  36820. schema:
  36821. items:
  36822. $ref: '#/definitions/models.WrSiteColumnDetail'
  36823. type: array
  36824. "500":
  36825. description: Internal Server Error
  36826. schema:
  36827. $ref: '#/definitions/app.Response'
  36828. security:
  36829. - ApiKeyAuth: []
  36830. summary: 查询资讯
  36831. tags:
  36832. - 仓单贸易v2
  36833. /WrTrade2/QuerySpotGroupTradeSum:
  36834. get:
  36835. produces:
  36836. - application/json
  36837. responses:
  36838. "200":
  36839. description: OK
  36840. schema:
  36841. items:
  36842. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36843. type: array
  36844. "500":
  36845. description: Internal Server Error
  36846. schema:
  36847. $ref: '#/definitions/app.Response'
  36848. security:
  36849. - ApiKeyAuth: []
  36850. summary: 查询指数
  36851. tags:
  36852. - 仓单贸易v2
  36853. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36854. get:
  36855. description: 查询的结果将会按日期 从小到大 排序
  36856. parameters:
  36857. - description: 现货商品id
  36858. in: query
  36859. name: deliverygoodsid
  36860. required: true
  36861. type: integer
  36862. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36863. in: query
  36864. name: lastnum
  36865. type: integer
  36866. produces:
  36867. - application/json
  36868. responses:
  36869. "200":
  36870. description: OK
  36871. schema:
  36872. items:
  36873. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36874. type: array
  36875. "500":
  36876. description: Internal Server Error
  36877. schema:
  36878. $ref: '#/definitions/app.Response'
  36879. security:
  36880. - ApiKeyAuth: []
  36881. summary: 查询指数详细(价格走势图)
  36882. tags:
  36883. - 仓单贸易v2
  36884. /WrTrade2/QueryWrAverageTradePrice:
  36885. get:
  36886. parameters:
  36887. - description: 页码
  36888. in: query
  36889. name: page
  36890. type: integer
  36891. - description: 每页条数
  36892. in: query
  36893. name: pagesize
  36894. type: integer
  36895. - description: 0:仓单预售 1:仓单贸易
  36896. in: query
  36897. name: haswr
  36898. required: true
  36899. type: integer
  36900. - description: 仓单要素id
  36901. in: query
  36902. name: wrfactortypeid
  36903. required: true
  36904. type: integer
  36905. produces:
  36906. - application/json
  36907. responses:
  36908. "200":
  36909. description: OK
  36910. schema:
  36911. items:
  36912. $ref: '#/definitions/models.WrAverageTradePrice'
  36913. type: array
  36914. "500":
  36915. description: Internal Server Error
  36916. schema:
  36917. $ref: '#/definitions/app.Response'
  36918. security:
  36919. - ApiKeyAuth: []
  36920. summary: 查询成交价(历史走势)
  36921. tags:
  36922. - 仓单贸易v2
  36923. /WrTrade2/QueryWrBrandAndYears:
  36924. get:
  36925. produces:
  36926. - application/json
  36927. responses:
  36928. "200":
  36929. description: OK
  36930. schema:
  36931. items:
  36932. $ref: '#/definitions/models.WrBrandAndYears'
  36933. type: array
  36934. "500":
  36935. description: Internal Server Error
  36936. schema:
  36937. $ref: '#/definitions/app.Response'
  36938. security:
  36939. - ApiKeyAuth: []
  36940. summary: 查询品牌和年份
  36941. tags:
  36942. - 仓单贸易v2
  36943. /WrTrade2/QueryWrBsGoodsInfo:
  36944. get:
  36945. description: 合约交易/买卖大厅/详情
  36946. parameters:
  36947. - description: 商品id
  36948. in: query
  36949. name: goodsid
  36950. required: true
  36951. type: integer
  36952. produces:
  36953. - application/json
  36954. responses:
  36955. "200":
  36956. description: OK
  36957. schema:
  36958. items:
  36959. $ref: '#/definitions/models.WrBsGoodsInfo'
  36960. type: array
  36961. "500":
  36962. description: Internal Server Error
  36963. schema:
  36964. $ref: '#/definitions/app.Response'
  36965. security:
  36966. - ApiKeyAuth: []
  36967. summary: 查询合约交易买卖大厅详情
  36968. tags:
  36969. - 仓单贸易v2
  36970. /WrTrade2/QueryWrBuybackDetail:
  36971. get:
  36972. parameters:
  36973. - description: 融资合同id
  36974. in: query
  36975. name: scfcontractid
  36976. type: integer
  36977. produces:
  36978. - application/json
  36979. responses:
  36980. "200":
  36981. description: OK
  36982. schema:
  36983. items:
  36984. $ref: '#/definitions/models.WrBuybackDetail'
  36985. type: array
  36986. "500":
  36987. description: Internal Server Error
  36988. schema:
  36989. $ref: '#/definitions/app.Response'
  36990. security:
  36991. - ApiKeyAuth: []
  36992. summary: 查询仓单回购明细
  36993. tags:
  36994. - 仓单贸易v2
  36995. /WrTrade2/QueryWrClientAdSpaceConfig:
  36996. get:
  36997. produces:
  36998. - application/json
  36999. responses:
  37000. "200":
  37001. description: OK
  37002. schema:
  37003. items:
  37004. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  37005. type: array
  37006. "500":
  37007. description: Internal Server Error
  37008. schema:
  37009. $ref: '#/definitions/app.Response'
  37010. security:
  37011. - ApiKeyAuth: []
  37012. summary: 查询固定广告配置
  37013. tags:
  37014. - 仓单贸易v2
  37015. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37016. get:
  37017. parameters:
  37018. - description: 资金账号
  37019. in: query
  37020. name: accountid
  37021. required: true
  37022. type: integer
  37023. - description: 商品id
  37024. in: query
  37025. name: goodsid
  37026. required: true
  37027. type: integer
  37028. produces:
  37029. - application/json
  37030. responses:
  37031. "200":
  37032. description: OK
  37033. schema:
  37034. items:
  37035. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37036. type: array
  37037. "500":
  37038. description: Internal Server Error
  37039. schema:
  37040. $ref: '#/definitions/app.Response'
  37041. security:
  37042. - ApiKeyAuth: []
  37043. summary: 查询合约交收可点选仓单
  37044. tags:
  37045. - 仓单贸易v2
  37046. /WrTrade2/QueryWrDeliveryDetail:
  37047. get:
  37048. parameters:
  37049. - description: 用户id
  37050. in: query
  37051. name: userid
  37052. required: true
  37053. type: integer
  37054. - description: 资金账号id
  37055. in: query
  37056. name: accountid
  37057. type: integer
  37058. - description: 开始交易日(yyyymmdd)
  37059. in: query
  37060. name: begindate
  37061. type: string
  37062. - description: 结束交易日(yyyymmdd)
  37063. in: query
  37064. name: enddate
  37065. type: string
  37066. produces:
  37067. - application/json
  37068. responses:
  37069. "200":
  37070. description: OK
  37071. schema:
  37072. items:
  37073. $ref: '#/definitions/models.WrDeliveryDetail'
  37074. type: array
  37075. "500":
  37076. description: Internal Server Error
  37077. schema:
  37078. $ref: '#/definitions/app.Response'
  37079. security:
  37080. - ApiKeyAuth: []
  37081. summary: 查询交收
  37082. tags:
  37083. - 仓单贸易v2
  37084. /WrTrade2/QueryWrDraftUserInfo:
  37085. get:
  37086. parameters:
  37087. - description: 用户ID
  37088. in: query
  37089. name: userid
  37090. required: true
  37091. type: integer
  37092. - description: 用户状态 1:正常 2:注销
  37093. in: query
  37094. name: userstatus
  37095. type: integer
  37096. produces:
  37097. - application/json
  37098. responses:
  37099. "200":
  37100. description: OK
  37101. schema:
  37102. items:
  37103. $ref: '#/definitions/models.WrDraftUserInfo'
  37104. type: array
  37105. "500":
  37106. description: Internal Server Error
  37107. schema:
  37108. $ref: '#/definitions/app.Response'
  37109. security:
  37110. - ApiKeyAuth: []
  37111. summary: 查询实名认证信息
  37112. tags:
  37113. - 仓单贸易v2
  37114. /WrTrade2/QueryWrFactorTypeInfo:
  37115. get:
  37116. parameters:
  37117. - description: 仓单要素id
  37118. in: query
  37119. name: wrfactortypeid
  37120. required: true
  37121. type: integer
  37122. produces:
  37123. - application/json
  37124. responses:
  37125. "200":
  37126. description: OK
  37127. schema:
  37128. items:
  37129. $ref: '#/definitions/models.WrFactorTypeInfo'
  37130. type: array
  37131. "500":
  37132. description: Internal Server Error
  37133. schema:
  37134. $ref: '#/definitions/app.Response'
  37135. security:
  37136. - ApiKeyAuth: []
  37137. summary: 查询仓单要素详细信息
  37138. tags:
  37139. - 仓单贸易v2
  37140. /WrTrade2/QueryWrFactorTypeInfoEx:
  37141. get:
  37142. parameters:
  37143. - description: 仓单要素id
  37144. in: query
  37145. name: wrfactortypeid
  37146. required: true
  37147. type: integer
  37148. produces:
  37149. - application/json
  37150. responses:
  37151. "200":
  37152. description: OK
  37153. schema:
  37154. items:
  37155. $ref: '#/definitions/models.WrTypeItem'
  37156. type: array
  37157. "500":
  37158. description: Internal Server Error
  37159. schema:
  37160. $ref: '#/definitions/app.Response'
  37161. security:
  37162. - ApiKeyAuth: []
  37163. summary: 查询仓单要素详细信息列表项
  37164. tags:
  37165. - 仓单贸易v2
  37166. /WrTrade2/QueryWrFinanceBuyApply:
  37167. get:
  37168. description: 页面 融资信息+ / 申请单
  37169. parameters:
  37170. - description: 用户id
  37171. in: query
  37172. name: userid
  37173. required: true
  37174. type: integer
  37175. produces:
  37176. - application/json
  37177. responses:
  37178. "200":
  37179. description: OK
  37180. schema:
  37181. items:
  37182. $ref: '#/definitions/models.WrFinanceBuyApply'
  37183. type: array
  37184. "500":
  37185. description: Internal Server Error
  37186. schema:
  37187. $ref: '#/definitions/app.Response'
  37188. security:
  37189. - ApiKeyAuth: []
  37190. summary: 查询融资购买申请
  37191. tags:
  37192. - 仓单贸易v2
  37193. /WrTrade2/QueryWrFriendApply:
  37194. get:
  37195. parameters:
  37196. - description: 用户id
  37197. in: query
  37198. name: userid
  37199. required: true
  37200. type: integer
  37201. produces:
  37202. - application/json
  37203. responses:
  37204. "200":
  37205. description: OK
  37206. schema:
  37207. items:
  37208. $ref: '#/definitions/models.WrFriendApply'
  37209. type: array
  37210. "500":
  37211. description: Internal Server Error
  37212. schema:
  37213. $ref: '#/definitions/app.Response'
  37214. security:
  37215. - ApiKeyAuth: []
  37216. summary: 查询好友申请记录
  37217. tags:
  37218. - 仓单贸易v2
  37219. /WrTrade2/QueryWrGoodsInfo:
  37220. get:
  37221. parameters:
  37222. - description: 仓单贸易市场id
  37223. in: query
  37224. name: marketid
  37225. type: integer
  37226. - description: 0:仓单预售 1:仓单贸易
  37227. in: query
  37228. name: haswr
  37229. required: true
  37230. type: integer
  37231. - description: 仓单要素id
  37232. in: query
  37233. name: wrfactortypeid
  37234. required: true
  37235. type: integer
  37236. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37237. in: query
  37238. name: tmplateid
  37239. type: integer
  37240. produces:
  37241. - application/json
  37242. responses:
  37243. "200":
  37244. description: OK
  37245. schema:
  37246. items:
  37247. $ref: '#/definitions/models.WrGoodsInfo'
  37248. type: array
  37249. "500":
  37250. description: Internal Server Error
  37251. schema:
  37252. $ref: '#/definitions/app.Response'
  37253. security:
  37254. - ApiKeyAuth: []
  37255. summary: 查询仓单商品信息
  37256. tags:
  37257. - 仓单贸易v2
  37258. /WrTrade2/QueryWrMarketTradeConfig:
  37259. get:
  37260. parameters:
  37261. - description: 市场id
  37262. in: query
  37263. name: marketid
  37264. type: integer
  37265. produces:
  37266. - application/json
  37267. responses:
  37268. "200":
  37269. description: OK
  37270. schema:
  37271. items:
  37272. $ref: '#/definitions/models.WrMarketTradeConfig'
  37273. type: array
  37274. "500":
  37275. description: Internal Server Error
  37276. schema:
  37277. $ref: '#/definitions/app.Response'
  37278. security:
  37279. - ApiKeyAuth: []
  37280. summary: 查询市场交易参数配置
  37281. tags:
  37282. - 仓单贸易v2
  37283. /WrTrade2/QueryWrOrderDetail:
  37284. get:
  37285. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37286. parameters:
  37287. - description: 页码
  37288. in: query
  37289. name: page
  37290. type: integer
  37291. - description: 每页条数
  37292. in: query
  37293. name: pagesize
  37294. type: integer
  37295. - description: 用户id
  37296. in: query
  37297. name: userid
  37298. required: true
  37299. type: integer
  37300. - description: 仓单贸易市场id
  37301. in: query
  37302. name: marketid
  37303. type: integer
  37304. - description: 0:仓单预售 1:仓单贸易
  37305. in: query
  37306. name: haswr
  37307. required: true
  37308. type: integer
  37309. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37310. in: query
  37311. name: bcancel
  37312. type: integer
  37313. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37314. in: query
  37315. name: wrtradetype
  37316. type: integer
  37317. - description: 开始交易日(yyyymmdd)
  37318. in: query
  37319. name: begindate
  37320. type: string
  37321. - description: 结束交易日(yyyymmdd)
  37322. in: query
  37323. name: enddate
  37324. type: string
  37325. produces:
  37326. - application/json
  37327. responses:
  37328. "200":
  37329. description: OK
  37330. schema:
  37331. items:
  37332. $ref: '#/definitions/models.WrOrderDetail'
  37333. type: array
  37334. "500":
  37335. description: Internal Server Error
  37336. schema:
  37337. $ref: '#/definitions/app.Response'
  37338. security:
  37339. - ApiKeyAuth: []
  37340. summary: 查询仓单委托单
  37341. tags:
  37342. - 仓单贸易v2
  37343. /WrTrade2/QueryWrOutInApply:
  37344. get:
  37345. parameters:
  37346. - description: 页码
  37347. in: query
  37348. name: page
  37349. type: integer
  37350. - description: 每页条数
  37351. in: query
  37352. name: pagesize
  37353. type: integer
  37354. - description: 用户id
  37355. in: query
  37356. name: userid
  37357. required: true
  37358. type: integer
  37359. - description: 开始交易日(yyyymmdd)
  37360. in: query
  37361. name: begindate
  37362. type: string
  37363. - description: 结束交易日(yyyymmdd)
  37364. in: query
  37365. name: enddate
  37366. type: string
  37367. produces:
  37368. - application/json
  37369. responses:
  37370. "200":
  37371. description: OK
  37372. schema:
  37373. items:
  37374. $ref: '#/definitions/models.WrOutInApply'
  37375. type: array
  37376. "500":
  37377. description: Internal Server Error
  37378. schema:
  37379. $ref: '#/definitions/app.Response'
  37380. security:
  37381. - ApiKeyAuth: []
  37382. summary: 查询提货申请
  37383. tags:
  37384. - 仓单贸易v2
  37385. /WrTrade2/QueryWrPerformancePlanStep:
  37386. get:
  37387. parameters:
  37388. - description: 履约计划id(performanceplanid)
  37389. in: query
  37390. name: planid
  37391. required: true
  37392. type: integer
  37393. - description: 当前步骤id
  37394. in: query
  37395. name: curstepid
  37396. type: integer
  37397. produces:
  37398. - application/json
  37399. responses:
  37400. "200":
  37401. description: OK
  37402. schema:
  37403. items:
  37404. $ref: '#/definitions/models.WrPerformancePlanStep'
  37405. type: array
  37406. "500":
  37407. description: Internal Server Error
  37408. schema:
  37409. $ref: '#/definitions/app.Response'
  37410. security:
  37411. - ApiKeyAuth: []
  37412. summary: 查询履约信息详情
  37413. tags:
  37414. - 仓单贸易v2
  37415. /WrTrade2/QueryWrPerformanceStepType:
  37416. get:
  37417. produces:
  37418. - application/json
  37419. responses:
  37420. "200":
  37421. description: OK
  37422. schema:
  37423. items:
  37424. $ref: '#/definitions/models.WrPerformanceStepType'
  37425. type: array
  37426. "500":
  37427. description: Internal Server Error
  37428. schema:
  37429. $ref: '#/definitions/app.Response'
  37430. security:
  37431. - ApiKeyAuth: []
  37432. summary: 查询履约步骤枚举
  37433. tags:
  37434. - 仓单贸易v2
  37435. /WrTrade2/QueryWrPosition:
  37436. get:
  37437. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37438. parameters:
  37439. - description: 用户id
  37440. in: query
  37441. name: userid
  37442. required: true
  37443. type: integer
  37444. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37445. in: query
  37446. name: querytype
  37447. required: true
  37448. type: integer
  37449. - description: 0:仓单预售 1:仓单贸易
  37450. in: query
  37451. name: haswr
  37452. required: true
  37453. type: integer
  37454. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37455. in: query
  37456. name: dgitemname
  37457. type: string
  37458. - description: 仓库id(筛选条件)
  37459. in: query
  37460. name: warehouseid
  37461. type: integer
  37462. - description: 品种id
  37463. in: query
  37464. name: deliverygoodsid
  37465. type: integer
  37466. - description: 品类id
  37467. in: query
  37468. name: wrstandardid
  37469. type: integer
  37470. produces:
  37471. - application/json
  37472. responses:
  37473. "200":
  37474. description: OK
  37475. schema:
  37476. items:
  37477. $ref: '#/definitions/models.WrPosition'
  37478. type: array
  37479. "500":
  37480. description: Internal Server Error
  37481. schema:
  37482. $ref: '#/definitions/app.Response'
  37483. security:
  37484. - ApiKeyAuth: []
  37485. summary: 查询现货(预售)仓单持仓
  37486. tags:
  37487. - 仓单贸易v2
  37488. /WrTrade2/QueryWrPreSaleInfo:
  37489. get:
  37490. parameters:
  37491. - description: 市场id
  37492. in: query
  37493. name: marketid
  37494. type: integer
  37495. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37496. in: query
  37497. name: presalestatus
  37498. type: string
  37499. - description: 摇号标识 - 0:未摇号 1:已摇号
  37500. in: query
  37501. name: lotteryflag
  37502. type: integer
  37503. - description: 最近多少条记录(按创建时间倒序)
  37504. in: query
  37505. name: lastnum
  37506. type: integer
  37507. produces:
  37508. - application/json
  37509. responses:
  37510. "200":
  37511. description: OK
  37512. schema:
  37513. items:
  37514. $ref: '#/definitions/models.WrPreSaleInfo'
  37515. type: array
  37516. "500":
  37517. description: Internal Server Error
  37518. schema:
  37519. $ref: '#/definitions/app.Response'
  37520. security:
  37521. - ApiKeyAuth: []
  37522. summary: 查询新品发布
  37523. tags:
  37524. - 仓单贸易v2
  37525. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37526. get:
  37527. parameters:
  37528. - description: 市场id
  37529. in: query
  37530. name: marketid
  37531. required: true
  37532. type: integer
  37533. - description: 现货商品id
  37534. in: query
  37535. name: wrstandardid
  37536. required: true
  37537. type: integer
  37538. - description: 开始交易日(yyyymmdd)
  37539. in: query
  37540. name: begindate
  37541. type: string
  37542. - description: 结束交易日(yyyymmdd)
  37543. in: query
  37544. name: enddate
  37545. type: string
  37546. - description: 最近多少条记录(按交易日倒序)
  37547. in: query
  37548. name: lastnum
  37549. type: integer
  37550. - description: 是否今日
  37551. in: query
  37552. name: istoday
  37553. type: boolean
  37554. produces:
  37555. - application/json
  37556. responses:
  37557. "200":
  37558. description: OK
  37559. schema:
  37560. items:
  37561. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37562. type: array
  37563. "500":
  37564. description: Internal Server Error
  37565. schema:
  37566. $ref: '#/definitions/app.Response'
  37567. security:
  37568. - ApiKeyAuth: []
  37569. summary: 查询价格走势
  37570. tags:
  37571. - 仓单贸易v2
  37572. /WrTrade2/QueryWrScfContract:
  37573. get:
  37574. parameters:
  37575. - description: 用户id
  37576. in: query
  37577. name: userid
  37578. required: true
  37579. type: integer
  37580. - description: 融资合同id
  37581. in: query
  37582. name: scfcontractid
  37583. type: integer
  37584. produces:
  37585. - application/json
  37586. responses:
  37587. "200":
  37588. description: OK
  37589. schema:
  37590. items:
  37591. $ref: '#/definitions/models.WrScfContract'
  37592. type: array
  37593. "500":
  37594. description: Internal Server Error
  37595. schema:
  37596. $ref: '#/definitions/app.Response'
  37597. security:
  37598. - ApiKeyAuth: []
  37599. summary: 查询仓单贸易融资合同
  37600. tags:
  37601. - 仓单贸易v2
  37602. /WrTrade2/QueryWrScfContractInterest:
  37603. get:
  37604. parameters:
  37605. - description: 融资合同id
  37606. in: query
  37607. name: scfcontractid
  37608. type: integer
  37609. produces:
  37610. - application/json
  37611. responses:
  37612. "200":
  37613. description: OK
  37614. schema:
  37615. items:
  37616. $ref: '#/definitions/models.WrScfContractInterest'
  37617. type: array
  37618. "500":
  37619. description: Internal Server Error
  37620. schema:
  37621. $ref: '#/definitions/app.Response'
  37622. security:
  37623. - ApiKeyAuth: []
  37624. summary: 查询融资合同费用明细
  37625. tags:
  37626. - 仓单贸易v2
  37627. /WrTrade2/QueryWrSearchUser:
  37628. get:
  37629. parameters:
  37630. - description: 用户名称(模糊匹配)
  37631. in: query
  37632. name: username
  37633. required: true
  37634. type: string
  37635. produces:
  37636. - application/json
  37637. responses:
  37638. "200":
  37639. description: OK
  37640. schema:
  37641. items:
  37642. $ref: '#/definitions/models.WrSearchUser'
  37643. type: array
  37644. "500":
  37645. description: Internal Server Error
  37646. schema:
  37647. $ref: '#/definitions/app.Response'
  37648. security:
  37649. - ApiKeyAuth: []
  37650. summary: 查询用户
  37651. tags:
  37652. - 仓单贸易v2
  37653. /WrTrade2/QueryWrSpecialMatchOrder:
  37654. get:
  37655. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37656. parameters:
  37657. - description: 页码
  37658. in: query
  37659. name: page
  37660. type: integer
  37661. - description: 每页条数
  37662. in: query
  37663. name: pagesize
  37664. type: integer
  37665. - description: 用户id
  37666. in: query
  37667. name: userid
  37668. required: true
  37669. type: integer
  37670. - description: 仓单贸易市场id
  37671. in: query
  37672. name: marketid
  37673. type: integer
  37674. - description: 0:仓单预售 1:仓单贸易
  37675. in: query
  37676. name: haswr
  37677. required: true
  37678. type: integer
  37679. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37680. in: query
  37681. name: isspecified
  37682. type: integer
  37683. produces:
  37684. - application/json
  37685. responses:
  37686. "200":
  37687. description: OK
  37688. schema:
  37689. items:
  37690. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37691. type: array
  37692. "500":
  37693. description: Internal Server Error
  37694. schema:
  37695. $ref: '#/definitions/app.Response'
  37696. security:
  37697. - ApiKeyAuth: []
  37698. summary: 查询指定成交
  37699. tags:
  37700. - 仓单贸易v2
  37701. /WrTrade2/QueryWrStandardFactoryItem:
  37702. get:
  37703. parameters:
  37704. - description: 品类id
  37705. in: query
  37706. name: wrstandardid
  37707. required: true
  37708. type: integer
  37709. produces:
  37710. - application/json
  37711. responses:
  37712. "200":
  37713. description: OK
  37714. schema:
  37715. items:
  37716. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37717. type: array
  37718. "500":
  37719. description: Internal Server Error
  37720. schema:
  37721. $ref: '#/definitions/app.Response'
  37722. security:
  37723. - ApiKeyAuth: []
  37724. summary: 查询品类要素定义项
  37725. tags:
  37726. - 仓单贸易v2
  37727. /WrTrade2/QueryWrTradeBargainApply:
  37728. get:
  37729. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37730. 议价->对方议价 填写matchuserid=登录用户id
  37731. parameters:
  37732. - description: 议价人id(摘牌方)
  37733. in: query
  37734. name: userid
  37735. type: integer
  37736. - description: 挂牌方id(查对方议价时,填写此项)
  37737. in: query
  37738. name: matchuserid
  37739. type: integer
  37740. - description: 关联委托单id
  37741. in: query
  37742. name: wrtradeorderid
  37743. type: integer
  37744. - description: 0:仓单预售 1:仓单贸易
  37745. in: query
  37746. name: haswr
  37747. required: true
  37748. type: integer
  37749. - description: 开始交易日(yyyymmdd)
  37750. in: query
  37751. name: begindate
  37752. type: string
  37753. - description: 结束交易日(yyyymmdd)
  37754. in: query
  37755. name: enddate
  37756. type: string
  37757. produces:
  37758. - application/json
  37759. responses:
  37760. "200":
  37761. description: OK
  37762. schema:
  37763. items:
  37764. $ref: '#/definitions/models.WRTradeBargainApply'
  37765. type: array
  37766. "500":
  37767. description: Internal Server Error
  37768. schema:
  37769. $ref: '#/definitions/app.Response'
  37770. security:
  37771. - ApiKeyAuth: []
  37772. summary: 查询议价单
  37773. tags:
  37774. - 仓单贸易v2
  37775. /WrTrade2/QueryWrTradeDetail:
  37776. get:
  37777. parameters:
  37778. - description: 页码
  37779. in: query
  37780. name: page
  37781. type: integer
  37782. - description: 每页条数
  37783. in: query
  37784. name: pagesize
  37785. type: integer
  37786. - description: 用户id
  37787. in: query
  37788. name: userid
  37789. required: true
  37790. type: integer
  37791. - description: 仓单贸易市场id
  37792. in: query
  37793. name: marketid
  37794. type: integer
  37795. - description: 0:仓单预售 1:仓单贸易
  37796. in: query
  37797. name: haswr
  37798. required: true
  37799. type: integer
  37800. - description: 开始交易日(yyyymmdd)
  37801. in: query
  37802. name: begindate
  37803. type: string
  37804. - description: 结束交易日(yyyymmdd)
  37805. in: query
  37806. name: enddate
  37807. type: string
  37808. produces:
  37809. - application/json
  37810. responses:
  37811. "200":
  37812. description: OK
  37813. schema:
  37814. items:
  37815. $ref: '#/definitions/models.WrTradeDetail'
  37816. type: array
  37817. "500":
  37818. description: Internal Server Error
  37819. schema:
  37820. $ref: '#/definitions/app.Response'
  37821. security:
  37822. - ApiKeyAuth: []
  37823. summary: 查询仓单成交明细
  37824. tags:
  37825. - 仓单贸易v2
  37826. /WrTrade2/QueryWrTradeOrderDetail:
  37827. get:
  37828. parameters:
  37829. - description: 页码
  37830. in: query
  37831. name: page
  37832. type: integer
  37833. - description: 每页条数
  37834. in: query
  37835. name: pagesize
  37836. type: integer
  37837. - description: 商品id
  37838. in: query
  37839. name: goodsid
  37840. required: true
  37841. type: integer
  37842. - description: 买卖方向 0-买 1-卖
  37843. in: query
  37844. name: buyorsell
  37845. required: true
  37846. type: integer
  37847. produces:
  37848. - application/json
  37849. responses:
  37850. "200":
  37851. description: OK
  37852. schema:
  37853. items:
  37854. $ref: '#/definitions/models.WrTradeOrderDetail'
  37855. type: array
  37856. "500":
  37857. description: Internal Server Error
  37858. schema:
  37859. $ref: '#/definitions/app.Response'
  37860. security:
  37861. - ApiKeyAuth: []
  37862. summary: 查询合约交易买卖大厅
  37863. tags:
  37864. - 仓单贸易v2
  37865. /WrTrade2/QueryWrTradeQuote:
  37866. get:
  37867. parameters:
  37868. - description: 现货商品id
  37869. in: query
  37870. name: wrstandardid
  37871. required: true
  37872. type: integer
  37873. - description: 开始日期(yyyymmdd)
  37874. in: query
  37875. name: begindate
  37876. required: true
  37877. type: string
  37878. - description: 结束日期(yyyymmdd)
  37879. in: query
  37880. name: enddate
  37881. required: true
  37882. type: string
  37883. - description: 市场id
  37884. in: query
  37885. name: marketid
  37886. type: integer
  37887. produces:
  37888. - application/json
  37889. responses:
  37890. "200":
  37891. description: OK
  37892. schema:
  37893. items:
  37894. $ref: '#/definitions/models.Wrtradetradequote'
  37895. type: array
  37896. "500":
  37897. description: Internal Server Error
  37898. schema:
  37899. $ref: '#/definitions/app.Response'
  37900. security:
  37901. - ApiKeyAuth: []
  37902. summary: 查询仓单贸易成交行情
  37903. tags:
  37904. - 仓单贸易v2
  37905. /WrTrade2/QueryWrUserFriend:
  37906. get:
  37907. parameters:
  37908. - description: 用户id
  37909. in: query
  37910. name: userid
  37911. required: true
  37912. type: integer
  37913. - description: 新朋友userid, 如果填写了此项则查找新朋友
  37914. in: query
  37915. name: newuserid
  37916. type: integer
  37917. produces:
  37918. - application/json
  37919. responses:
  37920. "200":
  37921. description: OK
  37922. schema:
  37923. items:
  37924. $ref: '#/definitions/models.WrUserFriend'
  37925. type: array
  37926. "500":
  37927. description: Internal Server Error
  37928. schema:
  37929. $ref: '#/definitions/app.Response'
  37930. security:
  37931. - ApiKeyAuth: []
  37932. summary: 查询我的朋友
  37933. tags:
  37934. - 仓单贸易v2
  37935. /WrTrade2/QueryWrUserReceiptInfo:
  37936. get:
  37937. parameters:
  37938. - description: 用户id
  37939. in: query
  37940. name: userid
  37941. type: integer
  37942. - description: 发票类型 - 1:个人 2:企业
  37943. in: query
  37944. name: receipttype
  37945. type: integer
  37946. produces:
  37947. - application/json
  37948. responses:
  37949. "200":
  37950. description: OK
  37951. schema:
  37952. items:
  37953. $ref: '#/definitions/models.WrUserReceiptInfo'
  37954. type: array
  37955. "500":
  37956. description: Internal Server Error
  37957. schema:
  37958. $ref: '#/definitions/app.Response'
  37959. security:
  37960. - ApiKeyAuth: []
  37961. summary: 查询发票信息
  37962. tags:
  37963. - 仓单贸易v2
  37964. /WrTrade2/QueryXhcpSellBackApply:
  37965. get:
  37966. parameters:
  37967. - description: 用户ID
  37968. in: query
  37969. name: userid
  37970. required: true
  37971. type: integer
  37972. produces:
  37973. - application/json
  37974. responses:
  37975. "200":
  37976. description: OK
  37977. schema:
  37978. items:
  37979. $ref: '#/definitions/models.Xhcpsellbackapply'
  37980. type: array
  37981. "500":
  37982. description: Internal Server Error
  37983. schema:
  37984. $ref: '#/definitions/app.Response'
  37985. security:
  37986. - ApiKeyAuth: []
  37987. summary: 查询我的回收申请(新会陈皮)
  37988. tags:
  37989. - 仓单贸易v2
  37990. /ZJ/GetBankTip:
  37991. get:
  37992. produces:
  37993. - application/json
  37994. responses:
  37995. "200":
  37996. description: OK
  37997. schema:
  37998. type: string
  37999. "500":
  38000. description: Internal Server Error
  38001. schema:
  38002. $ref: '#/definitions/app.Response'
  38003. summary: 获取中江网银端出入金提示信息
  38004. tags:
  38005. - 中江
  38006. /ZJ/GetCusBankChannels:
  38007. get:
  38008. produces:
  38009. - application/json
  38010. responses:
  38011. "200":
  38012. description: OK
  38013. schema:
  38014. items:
  38015. type: string
  38016. type: array
  38017. "500":
  38018. description: Internal Server Error
  38019. schema:
  38020. $ref: '#/definitions/app.Response'
  38021. summary: 获取中江出入金渠道显示列表
  38022. tags:
  38023. - 中江
  38024. securityDefinitions:
  38025. ApiKeyAuth:
  38026. in: header
  38027. name: Authorization
  38028. type: apiKey
  38029. Group:
  38030. in: header
  38031. name: Group
  38032. type: apiKey
  38033. LoginID:
  38034. in: header
  38035. name: LoginID
  38036. type: apiKey
  38037. swagger: "2.0"