swagger.yaml 1.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050
  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. allOf:
  230. - $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. allOf:
  1866. - $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. agreeunit:
  2185. description: 合约单位
  2186. type: string
  2187. areauserid:
  2188. description: 所属机构id
  2189. type: integer
  2190. convertratio:
  2191. description: 期货品种系数(折算系数)
  2192. type: number
  2193. curhedgeqty:
  2194. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodscode:
  2218. description: 套保商品代码
  2219. type: string
  2220. middlegoodsid:
  2221. description: 套保商品id
  2222. type: integer
  2223. middlegoodsname:
  2224. description: 套保商品名称
  2225. type: string
  2226. ydqty:
  2227. description: 昨日持仓
  2228. type: integer
  2229. type: object
  2230. ermcp.RealtimeExposureRsp:
  2231. properties:
  2232. AreaUserID:
  2233. description: 所属机构
  2234. type: integer
  2235. BuyFutureQty:
  2236. description: 买入期货数量
  2237. type: number
  2238. BuyPlanQty:
  2239. description: 采购计划数量
  2240. type: number
  2241. BuyPricedQty:
  2242. description: 采购合同已定价数量
  2243. type: number
  2244. MiddleGoodsCode:
  2245. description: 套保品种代码
  2246. type: string
  2247. MiddleGoodsHedgeRatio:
  2248. description: 套保比例
  2249. type: number
  2250. MiddleGoodsID:
  2251. description: 套保品种
  2252. type: integer
  2253. MiddleGoodsName:
  2254. description: 套保品种名称
  2255. type: string
  2256. NeedHedgeExposoure:
  2257. description: 应套保敞口(套保敞口)
  2258. type: number
  2259. NeedHedgeRatio:
  2260. description: 应套保敞口比例
  2261. type: number
  2262. OriBuyFutureQty:
  2263. description: 期初买入期货数量
  2264. type: number
  2265. OriBuyPlanQty:
  2266. description: 期初采购计划数量
  2267. type: number
  2268. OriBuyPricedQty:
  2269. description: 期初采购合同已定价数量
  2270. type: number
  2271. OriSellFutureQty:
  2272. description: 期初卖出期货数量
  2273. type: number
  2274. OriSellPlanQty:
  2275. description: 期初销售计划数量
  2276. type: number
  2277. OriSellPricedQty:
  2278. description: 期初销售合同已定价数量
  2279. type: number
  2280. OriTotalSpotQty:
  2281. description: 期初现货总量
  2282. type: number
  2283. SellFutureQty:
  2284. description: 卖出期货数量
  2285. type: number
  2286. SellPlanQty:
  2287. description: 销售计划数量
  2288. type: number
  2289. SellPricedQty:
  2290. description: 销售合同已定价数量
  2291. type: number
  2292. TotalExposure:
  2293. description: 总敞口 平安:净敞口
  2294. type: number
  2295. TotalFutureQty:
  2296. description: 期货总量 平安:保值净持仓量
  2297. type: number
  2298. TotalHedgeRatio:
  2299. description: 敞口比例
  2300. type: number
  2301. TotalNeedHedgeQty:
  2302. description: 应套保总量(现货应套保总量)
  2303. type: number
  2304. TotalSpotQty:
  2305. description: 现货总量 平安:采销定价净值
  2306. type: number
  2307. arbitrageqty:
  2308. description: 套利量
  2309. type: number
  2310. diffArbitrageQty:
  2311. description: 套利变动量
  2312. type: number
  2313. diffExposoureQty:
  2314. description: 变动量(套保敞口)
  2315. type: number
  2316. diffFutuQty:
  2317. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2318. type: number
  2319. diffHedgeQty:
  2320. description: 套保变动量
  2321. type: number
  2322. diffQty:
  2323. description: 变动量(总敞口) 平安:净敞口今日变动
  2324. type: number
  2325. diffSpotHedgeQty:
  2326. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2327. type: number
  2328. diffSpotQty:
  2329. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2330. type: number
  2331. enumdicname:
  2332. description: 单位名称
  2333. type: string
  2334. hedgeqty:
  2335. description: 套保量
  2336. type: number
  2337. needarbitrageqty:
  2338. description: 应套利量
  2339. type: number
  2340. needarbitrageratio:
  2341. description: 套利比例
  2342. type: number
  2343. needhedgeqty:
  2344. description: 应套保量
  2345. type: number
  2346. oriarbitrageqty:
  2347. description: 期初套利量
  2348. type: number
  2349. orihedgeqty:
  2350. description: 期初套保量
  2351. type: number
  2352. orineedhedgeexposoure:
  2353. description: 期初套保敞口
  2354. type: number
  2355. oritotalexposure:
  2356. description: 期初总敞口
  2357. type: number
  2358. oritotalfutureqty:
  2359. description: 期初期货总量
  2360. type: number
  2361. oritotalneedhedgeqty:
  2362. description: 期初现货应套保量
  2363. type: number
  2364. type: object
  2365. erms2.QueryArbitrageStrategyRsp:
  2366. properties:
  2367. applybasis:
  2368. description: 申请基差
  2369. type: number
  2370. asapplyid:
  2371. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2372. type: string
  2373. asname:
  2374. description: 策略名称
  2375. type: string
  2376. asno:
  2377. description: 策略编号
  2378. type: string
  2379. basischangepl:
  2380. description: 基差变动损益[结算更新]
  2381. type: number
  2382. biztype:
  2383. description: 业务类型 - 1:正向套利 -1:反向套利
  2384. type: integer
  2385. closetradedate:
  2386. description: 完结交易日(yyyyMMdd)
  2387. type: string
  2388. curbasis:
  2389. description: 当前基差[结算更新]
  2390. type: number
  2391. deliverygoodsid:
  2392. description: 现货品种ID
  2393. type: integer
  2394. futureavgprice:
  2395. description: 期货建仓均价
  2396. type: number
  2397. futurecloseamount:
  2398. description: 期货平仓金额
  2399. type: number
  2400. futurecloseqty:
  2401. description: 期货平仓数量
  2402. type: number
  2403. futureopenamount:
  2404. description: 期货开仓金额
  2405. type: number
  2406. futureopenqty:
  2407. description: 期货开仓数量
  2408. type: number
  2409. futurepl:
  2410. description: 期货总盈亏[结算更新]
  2411. type: number
  2412. futureqty:
  2413. description: 期货持仓数量
  2414. type: number
  2415. futurequote:
  2416. description: 期货额度
  2417. type: number
  2418. goodsgroupid:
  2419. description: 期货品种ID
  2420. type: integer
  2421. marketid:
  2422. description: 市场ID
  2423. type: integer
  2424. netexposure:
  2425. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2426. type: number
  2427. netexposurepl:
  2428. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2429. type: number
  2430. netexposurerate:
  2431. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2432. type: number
  2433. openbasis:
  2434. description: 建仓基差
  2435. type: number
  2436. pricedspotqty:
  2437. description: 已定价现货数量
  2438. type: number
  2439. pricedspotqtynotax:
  2440. description: 已定价现货不含税数量
  2441. type: number
  2442. remark:
  2443. description: 备注
  2444. type: string
  2445. spotavgprice:
  2446. description: 现货均价
  2447. type: number
  2448. spotbuyamount:
  2449. description: 现货采购金额
  2450. type: number
  2451. spotbuyqty:
  2452. description: 现货采购数量
  2453. type: number
  2454. spotpl:
  2455. description: 现货总盈亏[结算更新]
  2456. type: number
  2457. spotquota:
  2458. description: 现货额度
  2459. type: number
  2460. spotsellamount:
  2461. description: 现货销售金额
  2462. type: number
  2463. spotsellqty:
  2464. description: 现货销售数量
  2465. type: number
  2466. spotusedquota:
  2467. description: 现货占用资金
  2468. type: number
  2469. strategystatus:
  2470. description: 策略状态 - 0:未结束 1:已结束
  2471. type: integer
  2472. totalpl:
  2473. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2474. type: number
  2475. tradedate:
  2476. description: 交易日(yyyyMMdd)
  2477. type: string
  2478. updatetime:
  2479. description: 更新时间
  2480. type: string
  2481. usedquota:
  2482. description: 已占用资金
  2483. type: number
  2484. userid:
  2485. description: 所属机构
  2486. type: integer
  2487. required:
  2488. - asapplyid
  2489. type: object
  2490. erms2.QueryInnerTradeDetailRsp:
  2491. properties:
  2492. accountid:
  2493. description: 账号ID
  2494. type: integer
  2495. agreeunit:
  2496. description: 合约单位
  2497. type: number
  2498. asapplyid:
  2499. description: 策略申请ID
  2500. type: integer
  2501. asname:
  2502. description: 策略名称
  2503. type: string
  2504. asno:
  2505. description: 策略编号
  2506. type: string
  2507. buyorsell:
  2508. description: 方向 - 0:买 1:卖
  2509. type: integer
  2510. channelbuildtype:
  2511. description: 委托单据类型 0:无 1:建仓 2:平仓
  2512. type: integer
  2513. closetype:
  2514. description: 平仓方式 - 0:无 1:平今 2:平昨
  2515. type: integer
  2516. decimalplace:
  2517. description: 报价小数位
  2518. type: integer
  2519. detailtype:
  2520. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2521. type: integer
  2522. exexchangecode:
  2523. description: 外部交易所代码
  2524. type: string
  2525. exexchangename:
  2526. description: 外部交易所名称
  2527. type: string
  2528. goodscode:
  2529. description: 商品代码(合约)
  2530. type: string
  2531. goodsgroupid:
  2532. description: 商品组ID(品种ID)
  2533. type: integer
  2534. goodsgroupname:
  2535. description: 商品组名称(品种)
  2536. type: string
  2537. goodsid:
  2538. description: 商品ID
  2539. type: integer
  2540. goodsname:
  2541. description: 商品名称(合约)
  2542. type: string
  2543. goodunit:
  2544. description: 报价单位
  2545. type: string
  2546. marketid:
  2547. description: 市场ID
  2548. type: integer
  2549. orderid:
  2550. description: 委托单号
  2551. type: string
  2552. outgoodscode:
  2553. description: 商品代码(外部)
  2554. type: string
  2555. relatedouttradeid:
  2556. description: 关联外部成交单ID
  2557. type: string
  2558. remark:
  2559. description: 备注
  2560. type: string
  2561. spotcontractid:
  2562. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2563. type: integer
  2564. spotcontractno:
  2565. description: 现货合同编号
  2566. type: string
  2567. tradeid:
  2568. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2569. type: string
  2570. tradeprice:
  2571. description: 成交价格
  2572. type: number
  2573. tradeqty:
  2574. description: 成交数量
  2575. type: integer
  2576. tradetime:
  2577. description: 成交时间
  2578. type: string
  2579. updatetime:
  2580. description: 更新时间
  2581. type: string
  2582. required:
  2583. - asapplyid
  2584. - buyorsell
  2585. - goodscode
  2586. - goodsgroupid
  2587. - goodsgroupname
  2588. - goodsname
  2589. - tradeid
  2590. type: object
  2591. erms2.QuerySpotContractRsp:
  2592. properties:
  2593. accountid:
  2594. description: 资金账户ID
  2595. type: integer
  2596. areauserid:
  2597. description: 所属机构
  2598. type: integer
  2599. closedate:
  2600. description: 终止日期
  2601. type: string
  2602. closeremark:
  2603. description: 结束备注
  2604. type: string
  2605. closetradedate:
  2606. description: 完结交易日(yyyyMMdd)
  2607. type: string
  2608. closetype:
  2609. description: 终止类型 - 1:违约 2:提前终止
  2610. type: integer
  2611. contractamount:
  2612. description: 合同金额
  2613. type: number
  2614. contractattachment:
  2615. description: 合同附件
  2616. type: string
  2617. contractno:
  2618. description: 现货合同编号
  2619. type: string
  2620. contractqty:
  2621. description: 合同数量(数值) (用于计算)
  2622. type: number
  2623. contractqtychar:
  2624. description: 合同数量\已订价数量 (用于显示)
  2625. type: string
  2626. contractstatus:
  2627. description: 合同状态 - 0:未结束 1:已结束
  2628. type: integer
  2629. contracttype:
  2630. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2631. type: integer
  2632. customeraccountid:
  2633. description: 客户资金账户ID
  2634. type: integer
  2635. customeruserid:
  2636. description: 客户ID
  2637. type: integer
  2638. deliverygoodsdesc:
  2639. description: 品种说明
  2640. type: string
  2641. deliverygoodsid:
  2642. description: 现货品种ID
  2643. type: integer
  2644. handlestatus:
  2645. description: 处理状态
  2646. type: integer
  2647. invoiceatt:
  2648. description: 发票附件
  2649. type: string
  2650. invoicedatetime:
  2651. description: 开收票更新时间
  2652. type: string
  2653. invoiceopentime:
  2654. description: 开票时间
  2655. type: string
  2656. invoiceremark:
  2657. description: 发票备注
  2658. type: string
  2659. invoicestatus:
  2660. description: 开收票状态 - 0:未开票 1:已开票
  2661. type: integer
  2662. lastdate:
  2663. description: 交货时间
  2664. type: string
  2665. marketid:
  2666. description: 市场ID
  2667. type: integer
  2668. paydatetime:
  2669. description: 收付款更新时间
  2670. type: string
  2671. payremark:
  2672. description: 收付款备注
  2673. type: string
  2674. paystatus:
  2675. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2676. type: integer
  2677. positionqty:
  2678. description: 头寸数量 - 合同数量去小数部分
  2679. type: integer
  2680. producttype:
  2681. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2682. type: integer
  2683. relatedqty:
  2684. description: 已关联数量
  2685. type: number
  2686. relatedstatus:
  2687. description: 关联完结状态 - 0:未结束 1:已结束
  2688. type: integer
  2689. remark:
  2690. description: 备注
  2691. type: string
  2692. signdate:
  2693. description: 签订日期
  2694. type: string
  2695. spotcontractid:
  2696. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2697. type: string
  2698. spotdatetime:
  2699. description: 收发货更新时间
  2700. type: string
  2701. spotprice:
  2702. description: 价格
  2703. type: number
  2704. spotremark:
  2705. description: 收发货备注
  2706. type: string
  2707. spotstatus:
  2708. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2709. type: integer
  2710. tradedate:
  2711. description: 交易日(yyyyMMdd)
  2712. type: string
  2713. userid:
  2714. description: 业务员用户ID
  2715. type: integer
  2716. warehouseid:
  2717. description: 仓库ID
  2718. type: integer
  2719. wrfactortypeid:
  2720. description: 仓单要素类型ID
  2721. type: integer
  2722. wrstandardid:
  2723. description: 仓单标准ID(SEQ_WRSTANDARD)
  2724. type: integer
  2725. required:
  2726. - spotcontractid
  2727. type: object
  2728. erms3.AddErms2ASApplyReq:
  2729. properties:
  2730. applybasis:
  2731. description: 申请基差
  2732. type: number
  2733. applystatus:
  2734. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2735. type: integer
  2736. asapplyid:
  2737. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2738. type: integer
  2739. asname:
  2740. description: 策略名称
  2741. type: string
  2742. asno:
  2743. description: 策略编号
  2744. type: string
  2745. auditid:
  2746. description: 审核人
  2747. type: integer
  2748. auditremark:
  2749. description: 审核备注
  2750. type: string
  2751. audittime:
  2752. description: 审核时间
  2753. type: string
  2754. biztype:
  2755. description: 业务类型 - 1:正向套利 2:反向套利
  2756. type: integer
  2757. createtime:
  2758. description: 创建时间
  2759. type: string
  2760. creatorid:
  2761. description: 创建人
  2762. type: integer
  2763. deliverygoodsid:
  2764. description: 现货品种ID
  2765. type: integer
  2766. futurequote:
  2767. description: 期货额度
  2768. type: number
  2769. goodsgroupid:
  2770. description: 期货品种ID
  2771. type: integer
  2772. marketid:
  2773. description: 市场ID
  2774. type: integer
  2775. remark:
  2776. description: 备注
  2777. type: string
  2778. spotquota:
  2779. description: 现货额度
  2780. type: number
  2781. tradedate:
  2782. description: 交易日(yyyyMMdd)
  2783. type: string
  2784. userid:
  2785. description: 所属机构
  2786. type: integer
  2787. required:
  2788. - asapplyid
  2789. type: object
  2790. erms3.AddErms2SpotTradeApplyReq:
  2791. properties:
  2792. applyjsondetail:
  2793. description: 申请明细(JSON)
  2794. type: string
  2795. applystatus:
  2796. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2797. type: integer
  2798. areauserid:
  2799. description: 所属机构
  2800. type: integer
  2801. auditid:
  2802. description: 审核人
  2803. type: integer
  2804. auditremark:
  2805. description: 审核备注
  2806. type: string
  2807. audittime:
  2808. description: 审核时间
  2809. type: string
  2810. createtime:
  2811. description: 创建时间
  2812. type: string
  2813. creatorid:
  2814. description: 创建人
  2815. type: integer
  2816. deliverygoodsid:
  2817. description: 现货品种ID
  2818. type: integer
  2819. futureaccountid:
  2820. description: 期货资金账户
  2821. type: integer
  2822. goodsgroupid:
  2823. description: 期货品种
  2824. type: integer
  2825. marketid:
  2826. description: 市场ID
  2827. type: integer
  2828. remark:
  2829. description: 备注
  2830. type: string
  2831. spotaccountid:
  2832. description: 现货资金账户
  2833. type: integer
  2834. spottradeid:
  2835. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2836. type: integer
  2837. spottradename:
  2838. description: 业务名称
  2839. type: string
  2840. spottradeno:
  2841. description: 业务编号
  2842. type: string
  2843. tradedate:
  2844. description: 交易日(yyyyMMdd)
  2845. type: string
  2846. wrstandardid:
  2847. description: 仓单标准ID
  2848. type: integer
  2849. required:
  2850. - spottradeid
  2851. type: object
  2852. erms3.AddSpotContractApplyReq:
  2853. properties:
  2854. accountid:
  2855. description: 资金账户ID
  2856. type: integer
  2857. areauserid:
  2858. description: 所属机构
  2859. type: integer
  2860. contractattachment:
  2861. description: 合同附件
  2862. type: string
  2863. contractno:
  2864. description: 现货合同编号
  2865. type: string
  2866. contracttype:
  2867. description: 现货合同类型 - 1:采购 -1:销售
  2868. type: integer
  2869. creatorid:
  2870. description: 申请人
  2871. type: integer
  2872. customeraccountid:
  2873. description: 客户资金账户ID
  2874. type: integer
  2875. customeruserid:
  2876. description: 客户ID
  2877. type: integer
  2878. details:
  2879. description: 明细
  2880. items:
  2881. $ref: '#/definitions/erms3.SoptContractDetail'
  2882. type: array
  2883. orimargin:
  2884. description: 初始保证金
  2885. type: number
  2886. remark:
  2887. description: 备注
  2888. type: string
  2889. signdate:
  2890. description: 签订日期
  2891. type: string
  2892. required:
  2893. - accountid
  2894. - areauserid
  2895. - contractno
  2896. - contracttype
  2897. - customeraccountid
  2898. - customeruserid
  2899. - details
  2900. - orimargin
  2901. - signdate
  2902. type: object
  2903. erms3.AddSpotContractApplyRsp:
  2904. properties:
  2905. contractno:
  2906. description: 现货合同编号
  2907. type: string
  2908. spotcontractid:
  2909. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2910. type: integer
  2911. required:
  2912. - contractno
  2913. type: object
  2914. erms3.AddUserInfoApplyReq:
  2915. properties:
  2916. accountid:
  2917. description: 交易系统帐号Id (加密存储)
  2918. type: integer
  2919. areacode:
  2920. description: 机构代码
  2921. type: string
  2922. areaid:
  2923. description: 机构Id
  2924. type: integer
  2925. attachment1:
  2926. description: 附件1
  2927. type: string
  2928. attachment2:
  2929. description: 附件2
  2930. type: string
  2931. attachment3:
  2932. description: 附件3
  2933. type: string
  2934. attachment4:
  2935. description: 附件4
  2936. type: string
  2937. attachment5:
  2938. description: 附件5
  2939. type: string
  2940. auditedby:
  2941. description: 审核人
  2942. type: string
  2943. auditime:
  2944. description: 审核时间
  2945. type: string
  2946. auditsrc:
  2947. description: 审核来源 - 1:管理端 2:终端
  2948. type: integer
  2949. bankaccount:
  2950. description: 银行帐号 (加密存储)
  2951. type: string
  2952. bankaccountname:
  2953. description: 收款人名称
  2954. type: string
  2955. bankcardbackphotourl:
  2956. description: 银行卡背面照地址
  2957. type: string
  2958. bankcardfrontphotourl:
  2959. description: 银行卡正面照地址
  2960. type: string
  2961. bankid:
  2962. description: 银行编码
  2963. type: string
  2964. bankname:
  2965. description: 银行名称
  2966. type: string
  2967. bankpictureurl:
  2968. description: 银行卡正面地址
  2969. type: string
  2970. biznature:
  2971. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2972. type: integer
  2973. bizscope:
  2974. description: 企业经营范围(企业)
  2975. type: string
  2976. biztype:
  2977. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2978. type: integer
  2979. brokerid:
  2980. description: 经纪人ID(加密存储)
  2981. type: string
  2982. cardaddress:
  2983. description: 证件地址 (加密存储)
  2984. type: string
  2985. cardbackphotourl:
  2986. description: 背面证件照地址
  2987. type: string
  2988. cardfrontphotourl:
  2989. description: 正面证件照地址
  2990. type: string
  2991. cardnum:
  2992. description: 证件号码 (加密存储)
  2993. type: string
  2994. cardtype:
  2995. description: 证件类型
  2996. type: integer
  2997. cityid:
  2998. description: 市
  2999. type: integer
  3000. company:
  3001. description: 公司(个人)
  3002. type: string
  3003. contactcardbackphotourl:
  3004. description: 联系人证件背面图片地址
  3005. type: string
  3006. contactcardfrontphotourl:
  3007. description: 联系人证件正面图片地址
  3008. type: string
  3009. contactname:
  3010. description: 联系人
  3011. type: string
  3012. countryid:
  3013. description: 国家
  3014. type: integer
  3015. createtime:
  3016. description: 开户申请时间
  3017. type: string
  3018. cusbankid:
  3019. description: 签约类型
  3020. type: string
  3021. cusbankname:
  3022. description: 签约类型名称
  3023. type: string
  3024. customername:
  3025. description: 客户名称(企业名称)
  3026. type: string
  3027. districtid:
  3028. description: 地区
  3029. type: integer
  3030. email:
  3031. description: Email地址(加密存储)
  3032. type: string
  3033. halfbodyphotourl:
  3034. description: 半身照地址
  3035. type: string
  3036. headurl:
  3037. description: 头像地址
  3038. type: string
  3039. ipaddress:
  3040. description: IP地址
  3041. type: string
  3042. isvalidate:
  3043. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3044. type: string
  3045. legalcardbackphotourl:
  3046. description: 法人身份证背面照地址
  3047. type: string
  3048. legalcardfrontphotourl:
  3049. description: 法人身份证正面照地址
  3050. type: string
  3051. legalpersonname:
  3052. description: 法人姓名(企业)
  3053. type: string
  3054. logincode:
  3055. description: 登录帐号 (加密存储)
  3056. type: string
  3057. memberareaid:
  3058. description: 所属会员ID
  3059. type: integer
  3060. mobile2:
  3061. description: 手机号码[明文-尚志]
  3062. type: string
  3063. mobilephone:
  3064. description: 手机号码 (加密存储)
  3065. type: string
  3066. modifiedby:
  3067. description: 修改人帐号
  3068. type: integer
  3069. modifiedtime:
  3070. description: 修改时间
  3071. type: string
  3072. nickname:
  3073. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3074. type: string
  3075. openmode:
  3076. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3077. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3078. type: integer
  3079. otherurl:
  3080. description: 其它图片地址[使用分号分隔]
  3081. type: string
  3082. postalcode:
  3083. description: 邮政编码
  3084. type: string
  3085. provinceid:
  3086. description: 省
  3087. type: integer
  3088. proxystatementurl:
  3089. description: 授权委托书
  3090. type: string
  3091. qq:
  3092. description: QQ(加密存储
  3093. type: string
  3094. referral:
  3095. description: 推荐人编码
  3096. type: string
  3097. remark:
  3098. description: 备注
  3099. type: string
  3100. removebeforestatus:
  3101. description: REMOVEBEFORESTATUS
  3102. type: integer
  3103. sex:
  3104. description: 性别 - 0:女 1:男
  3105. type: integer
  3106. signedstatus:
  3107. description: 账户一号签签约状态
  3108. type: integer
  3109. signpdfurl:
  3110. description: 签约pdf文件
  3111. type: string
  3112. subbranch:
  3113. description: 开户支行
  3114. type: string
  3115. taxpayernum:
  3116. description: 纳税人识别号
  3117. type: string
  3118. telphone:
  3119. description: 联系电话(加密存储)
  3120. type: string
  3121. userid:
  3122. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3123. type: integer
  3124. userinfotype:
  3125. description: 用户信息类型 - 1:个人 2:企业
  3126. type: integer
  3127. username:
  3128. description: 用户姓名
  3129. type: string
  3130. userstate:
  3131. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3132. type: integer
  3133. usertype:
  3134. description: 用户类型 - 1:投资者 2:机构
  3135. type: integer
  3136. videourl:
  3137. description: 视频地址
  3138. type: string
  3139. wechat:
  3140. description: 微信号 (加密存储)
  3141. type: string
  3142. required:
  3143. - userid
  3144. type: object
  3145. erms3.CustomerInfo:
  3146. properties:
  3147. accountids:
  3148. description: 资金账户ID列表
  3149. items:
  3150. type: integer
  3151. type: array
  3152. customername:
  3153. description: 名称(企业名称)
  3154. type: string
  3155. mobile:
  3156. description: 手机号码
  3157. type: string
  3158. userid:
  3159. description: 用户ID
  3160. type: integer
  3161. required:
  3162. - userid
  3163. type: object
  3164. erms3.ModifyUserInfoApplyReq:
  3165. properties:
  3166. accountid:
  3167. description: 交易系统帐号Id (加密存储)
  3168. type: integer
  3169. areacode:
  3170. description: 机构代码
  3171. type: string
  3172. areaid:
  3173. description: 机构Id
  3174. type: integer
  3175. attachment1:
  3176. description: 附件1
  3177. type: string
  3178. attachment2:
  3179. description: 附件2
  3180. type: string
  3181. attachment3:
  3182. description: 附件3
  3183. type: string
  3184. attachment4:
  3185. description: 附件4
  3186. type: string
  3187. attachment5:
  3188. description: 附件5
  3189. type: string
  3190. auditedby:
  3191. description: 审核人
  3192. type: string
  3193. auditime:
  3194. description: 审核时间
  3195. type: string
  3196. auditsrc:
  3197. description: 审核来源 - 1:管理端 2:终端
  3198. type: integer
  3199. bankaccount:
  3200. description: 银行帐号 (加密存储)
  3201. type: string
  3202. bankaccountname:
  3203. description: 收款人名称
  3204. type: string
  3205. bankcardbackphotourl:
  3206. description: 银行卡背面照地址
  3207. type: string
  3208. bankcardfrontphotourl:
  3209. description: 银行卡正面照地址
  3210. type: string
  3211. bankid:
  3212. description: 银行编码
  3213. type: string
  3214. bankname:
  3215. description: 银行名称
  3216. type: string
  3217. bankpictureurl:
  3218. description: 银行卡正面地址
  3219. type: string
  3220. biznature:
  3221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3222. type: integer
  3223. bizscope:
  3224. description: 企业经营范围(企业)
  3225. type: string
  3226. biztype:
  3227. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3228. type: integer
  3229. brokerid:
  3230. description: 经纪人ID(加密存储)
  3231. type: string
  3232. cardaddress:
  3233. description: 证件地址 (加密存储)
  3234. type: string
  3235. cardbackphotourl:
  3236. description: 背面证件照地址
  3237. type: string
  3238. cardfrontphotourl:
  3239. description: 正面证件照地址
  3240. type: string
  3241. cardnum:
  3242. description: 证件号码 (加密存储)
  3243. type: string
  3244. cardtype:
  3245. description: 证件类型
  3246. type: integer
  3247. cityid:
  3248. description: 市
  3249. type: integer
  3250. company:
  3251. description: 公司(个人)
  3252. type: string
  3253. contactcardbackphotourl:
  3254. description: 联系人证件背面图片地址
  3255. type: string
  3256. contactcardfrontphotourl:
  3257. description: 联系人证件正面图片地址
  3258. type: string
  3259. contactname:
  3260. description: 联系人
  3261. type: string
  3262. countryid:
  3263. description: 国家
  3264. type: integer
  3265. createtime:
  3266. description: 开户申请时间
  3267. type: string
  3268. cusbankid:
  3269. description: 签约类型
  3270. type: string
  3271. cusbankname:
  3272. description: 签约类型名称
  3273. type: string
  3274. customername:
  3275. description: 客户名称(企业名称)
  3276. type: string
  3277. districtid:
  3278. description: 地区
  3279. type: integer
  3280. email:
  3281. description: Email地址(加密存储)
  3282. type: string
  3283. halfbodyphotourl:
  3284. description: 半身照地址
  3285. type: string
  3286. headurl:
  3287. description: 头像地址
  3288. type: string
  3289. ipaddress:
  3290. description: IP地址
  3291. type: string
  3292. isvalidate:
  3293. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3294. type: string
  3295. legalcardbackphotourl:
  3296. description: 法人身份证背面照地址
  3297. type: string
  3298. legalcardfrontphotourl:
  3299. description: 法人身份证正面照地址
  3300. type: string
  3301. legalpersonname:
  3302. description: 法人姓名(企业)
  3303. type: string
  3304. logincode:
  3305. description: 登录帐号 (加密存储)
  3306. type: string
  3307. memberareaid:
  3308. description: 所属会员ID
  3309. type: integer
  3310. mobile2:
  3311. description: 手机号码[明文-尚志]
  3312. type: string
  3313. mobilephone:
  3314. description: 手机号码 (加密存储)
  3315. type: string
  3316. modifiedby:
  3317. description: 修改人帐号
  3318. type: integer
  3319. modifiedtime:
  3320. description: 修改时间
  3321. type: string
  3322. nickname:
  3323. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3324. type: string
  3325. openmode:
  3326. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3327. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3328. type: integer
  3329. otherurl:
  3330. description: 其它图片地址[使用分号分隔]
  3331. type: string
  3332. postalcode:
  3333. description: 邮政编码
  3334. type: string
  3335. provinceid:
  3336. description: 省
  3337. type: integer
  3338. proxystatementurl:
  3339. description: 授权委托书
  3340. type: string
  3341. qq:
  3342. description: QQ(加密存储
  3343. type: string
  3344. referral:
  3345. description: 推荐人编码
  3346. type: string
  3347. remark:
  3348. description: 备注
  3349. type: string
  3350. removebeforestatus:
  3351. description: REMOVEBEFORESTATUS
  3352. type: integer
  3353. sex:
  3354. description: 性别 - 0:女 1:男
  3355. type: integer
  3356. signedstatus:
  3357. description: 账户一号签签约状态
  3358. type: integer
  3359. signpdfurl:
  3360. description: 签约pdf文件
  3361. type: string
  3362. subbranch:
  3363. description: 开户支行
  3364. type: string
  3365. taxpayernum:
  3366. description: 纳税人识别号
  3367. type: string
  3368. telphone:
  3369. description: 联系电话(加密存储)
  3370. type: string
  3371. userid:
  3372. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3373. type: integer
  3374. userinfotype:
  3375. description: 用户信息类型 - 1:个人 2:企业
  3376. type: integer
  3377. username:
  3378. description: 用户姓名
  3379. type: string
  3380. userstate:
  3381. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3382. type: integer
  3383. usertype:
  3384. description: 用户类型 - 1:投资者 2:机构
  3385. type: integer
  3386. videourl:
  3387. description: 视频地址
  3388. type: string
  3389. wechat:
  3390. description: 微信号 (加密存储)
  3391. type: string
  3392. required:
  3393. - userid
  3394. type: object
  3395. erms3.QryAuditContractRsp:
  3396. properties:
  3397. accountid:
  3398. description: 交易员ID
  3399. type: string
  3400. applystatus:
  3401. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3402. type: integer
  3403. curdeliveryqty:
  3404. description: 未交收量
  3405. type: integer
  3406. customername:
  3407. description: 采购方ID
  3408. type: string
  3409. deliverygoodsid:
  3410. description: 品种ID
  3411. type: string
  3412. deliveryqty:
  3413. description: 交收量
  3414. type: integer
  3415. enumdicname:
  3416. description: 单位名称
  3417. type: string
  3418. matchaccountid:
  3419. description: 业务员ID
  3420. type: string
  3421. matchcustomername:
  3422. description: 销售方ID
  3423. type: string
  3424. pricedqty:
  3425. description: 定价量
  3426. type: number
  3427. signdate:
  3428. description: 签订日期
  3429. type: string
  3430. spotcontractid:
  3431. description: 合同ID
  3432. type: string
  3433. totaldqty:
  3434. description: 合同量
  3435. type: number
  3436. unpricedqty:
  3437. description: 未定价量
  3438. type: number
  3439. wrstandardname:
  3440. description: 商品名称
  3441. type: string
  3442. required:
  3443. - matchcustomername
  3444. - spotcontractid
  3445. type: object
  3446. erms3.QryPendingBizRsp:
  3447. properties:
  3448. accountid:
  3449. description: 现货账户
  3450. type: string
  3451. areaname:
  3452. description: 所属部门
  3453. type: string
  3454. bizid:
  3455. description: 业务ID
  3456. type: string
  3457. bizname:
  3458. description: 业务名称
  3459. type: string
  3460. status:
  3461. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3462. type: integer
  3463. type:
  3464. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3465. type: integer
  3466. type: object
  3467. erms3.QueryBusinessInfoRsp:
  3468. properties:
  3469. businessid:
  3470. description: 业务ID.
  3471. type: integer
  3472. buyamount:
  3473. description: 采购额.
  3474. type: number
  3475. buyqty:
  3476. description: 采购量.
  3477. type: string
  3478. futurepl:
  3479. description: 期货盈亏.
  3480. type: number
  3481. futureqty:
  3482. description: 期货敞口.
  3483. type: string
  3484. goodsid:
  3485. description: 商品名称/商品代码.
  3486. type: string
  3487. hedgingqty:
  3488. description: 套保量.
  3489. type: string
  3490. sellamount:
  3491. description: 销售额.
  3492. type: number
  3493. sellqty:
  3494. description: 销售量.
  3495. type: string
  3496. spotmarketvalue:
  3497. description: 现货市值.
  3498. type: number
  3499. spotpl:
  3500. description: 浮动权益.
  3501. type: number
  3502. spotqty:
  3503. description: 现货量.
  3504. type: string
  3505. statu:
  3506. description: 状态,0-未结束 1-已结束.
  3507. type: integer
  3508. totalpl:
  3509. description: 总盈亏.
  3510. type: number
  3511. totalqty:
  3512. description: 总敞口.
  3513. type: string
  3514. type:
  3515. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3516. type: integer
  3517. type: object
  3518. erms3.QuerySpotContractAppleFormRsp:
  3519. properties:
  3520. goodses:
  3521. description: 合约列表
  3522. items:
  3523. $ref: '#/definitions/models.GoodsIDAndName'
  3524. type: array
  3525. oppositeusers:
  3526. description: 对方账号列表
  3527. items:
  3528. $ref: '#/definitions/erms3.CustomerInfo'
  3529. type: array
  3530. ouruser:
  3531. allOf:
  3532. - $ref: '#/definitions/erms3.CustomerInfo'
  3533. description: 我方账号
  3534. warehouseinfos:
  3535. description: 仓库信息列表
  3536. items:
  3537. $ref: '#/definitions/models.Warehouseinfo'
  3538. type: array
  3539. wrstandards:
  3540. description: 仓单标准列表
  3541. items:
  3542. $ref: '#/definitions/models.WRStandardInfo'
  3543. type: array
  3544. type: object
  3545. erms3.QuerySpotContractInfoRsp:
  3546. properties:
  3547. accountid:
  3548. description: 表示交易员ID.
  3549. type: integer
  3550. curdeliveryqty:
  3551. description: 表示未交收量.
  3552. type: number
  3553. customername:
  3554. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3555. type: string
  3556. deliverygoodsid:
  3557. description: 表示品种ID.
  3558. type: string
  3559. deliveryqty:
  3560. description: 表示交收量.
  3561. type: number
  3562. matchaccountid:
  3563. description: 表示业务员ID.
  3564. type: integer
  3565. matchcustomername:
  3566. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3567. type: string
  3568. priceqty:
  3569. description: 表示定价量.
  3570. type: number
  3571. relatedbizid:
  3572. description: 表示业务ID.
  3573. type: string
  3574. signdate:
  3575. description: 表示签订日期.
  3576. type: string
  3577. spotcontractid:
  3578. description: 合同ID
  3579. type: string
  3580. status:
  3581. description: 表示状态,0-履约中 1-已完成.
  3582. type: integer
  3583. totalqty:
  3584. description: 表示合同量.
  3585. type: number
  3586. unpricedqty:
  3587. description: 表示未定价量.
  3588. type: number
  3589. wrstandardname:
  3590. description: 表示商品ID.
  3591. type: string
  3592. type: object
  3593. erms3.QueryUserInfoAppliesRsp:
  3594. properties:
  3595. biznature:
  3596. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3597. type: integer
  3598. contactname:
  3599. description: 联系人
  3600. type: string
  3601. createtime:
  3602. description: 开户申请时间
  3603. type: string
  3604. userid:
  3605. description: 用户ID(自增ID)
  3606. type: integer
  3607. userinfotype:
  3608. description: 用户信息类型 - 1:个人 2:企业
  3609. type: integer
  3610. username:
  3611. description: 用户姓名
  3612. type: string
  3613. userstate:
  3614. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3615. type: integer
  3616. required:
  3617. - userid
  3618. type: object
  3619. erms3.QueryUserInfosRsp:
  3620. properties:
  3621. biznature:
  3622. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3623. type: integer
  3624. contactname:
  3625. description: 联系人
  3626. type: string
  3627. customername:
  3628. description: 客户名称(企业名称)
  3629. type: string
  3630. userid:
  3631. description: 用户ID
  3632. type: integer
  3633. userinfotype:
  3634. description: 用户信息类型 - 1:个人 2:企业
  3635. type: integer
  3636. userstatus:
  3637. description: 用户状态 - 1:正常 2:注销
  3638. type: integer
  3639. required:
  3640. - userid
  3641. type: object
  3642. erms3.SoptContractDetail:
  3643. properties:
  3644. deliverygoodsdesc:
  3645. description: 现货品种说明
  3646. type: string
  3647. deliverygoodsid:
  3648. description: 现货品种ID
  3649. type: integer
  3650. deliverygoodsname:
  3651. description: 现货品种名称
  3652. type: string
  3653. pointdesc:
  3654. description: 点价描述
  3655. type: string
  3656. producttype:
  3657. description: 产品类型 1:标准仓单 2:等标 3:非标
  3658. type: integer
  3659. producttypename:
  3660. description: 产品类型名称
  3661. type: string
  3662. spotPointOrderVoList:
  3663. description: 点价列表
  3664. items:
  3665. $ref: '#/definitions/erms3.SpotPointOrder'
  3666. type: array
  3667. spotPriceOrderList:
  3668. description: 定价列表
  3669. items:
  3670. $ref: '#/definitions/erms3.SpotPriceOrder'
  3671. type: array
  3672. unitname:
  3673. description: 单位名称
  3674. type: string
  3675. warehouseid:
  3676. description: 仓库ID
  3677. type: integer
  3678. warehousename:
  3679. description: 仓库名称
  3680. type: string
  3681. wrstandardid:
  3682. description: 交易标的ID
  3683. type: integer
  3684. wrstandardname:
  3685. description: 交易标的名称
  3686. type: string
  3687. required:
  3688. - deliverygoodsid
  3689. - producttype
  3690. - unitname
  3691. - warehouseid
  3692. - wrstandardid
  3693. - wrstandardname
  3694. type: object
  3695. erms3.SpotPointOrder:
  3696. properties:
  3697. basic:
  3698. description: 基差
  3699. type: number
  3700. deliveryenddate:
  3701. description: 交收结束日期
  3702. type: string
  3703. deliverystartdate:
  3704. description: 交收开始日期
  3705. type: string
  3706. enddate:
  3707. description: 点价结束日期
  3708. type: string
  3709. goodsid:
  3710. description: 商品ID
  3711. type: integer
  3712. goodsname:
  3713. description: 商品名称
  3714. type: string
  3715. qty:
  3716. description: 数量
  3717. type: number
  3718. startdate:
  3719. description: 点价开始日期
  3720. type: string
  3721. required:
  3722. - basic
  3723. - goodsid
  3724. - qty
  3725. type: object
  3726. erms3.SpotPriceOrder:
  3727. properties:
  3728. amount:
  3729. description: 金额
  3730. type: number
  3731. deliveryenddate:
  3732. description: 交收结束日期
  3733. type: string
  3734. deliverystartdate:
  3735. description: 交收开始日期
  3736. type: string
  3737. price:
  3738. description: 价格
  3739. type: number
  3740. qty:
  3741. description: 数量
  3742. type: number
  3743. required:
  3744. - amount
  3745. - price
  3746. - qty
  3747. type: object
  3748. hsby.GetHsbyMyCountRsp:
  3749. properties:
  3750. myCouponCount:
  3751. description: 我的优惠卷数量
  3752. type: integer
  3753. myOrderDetailListingCount:
  3754. description: 我的订单求购中数量
  3755. type: integer
  3756. myOrderDetailPreCount:
  3757. description: 我的订单抢购中数量
  3758. type: integer
  3759. myPackageUnReceiveCount:
  3760. description: 我的包裹待收货数量
  3761. type: integer
  3762. myPackageUnSendCount:
  3763. description: 我的包裹待发货数量
  3764. type: integer
  3765. myPayOrderCount:
  3766. description: 我的订单待付款数量
  3767. type: integer
  3768. type: object
  3769. hsby.QueryProvincesAndCitiesRsp:
  3770. properties:
  3771. cities:
  3772. description: 市
  3773. items:
  3774. $ref: '#/definitions/models.Division'
  3775. type: array
  3776. province:
  3777. allOf:
  3778. - $ref: '#/definitions/models.Division'
  3779. description: 省
  3780. type: object
  3781. models.Arearole:
  3782. properties:
  3783. createtime:
  3784. description: 创建时间
  3785. type: string
  3786. creatorid:
  3787. description: 创建人ID
  3788. type: integer
  3789. fromuserid:
  3790. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3791. type: integer
  3792. isreturnscore:
  3793. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3794. type: integer
  3795. modifierid:
  3796. description: 修改人ID
  3797. type: integer
  3798. modifytime:
  3799. description: 修改时间
  3800. type: string
  3801. orgtype:
  3802. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3803. type: integer
  3804. outuserid:
  3805. description: 外部账户[场外期权做市商]
  3806. type: string
  3807. parentuserid:
  3808. description: 上级组织机构(组织机构)
  3809. type: integer
  3810. roletype:
  3811. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3812. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3813. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3814. type: integer
  3815. rootuserid:
  3816. description: 顶级组织机构用户ID(组织机构)
  3817. type: integer
  3818. shoppassword:
  3819. description: 商城店铺登陆密码(商城店铺角色使用)
  3820. type: string
  3821. sublevelpath:
  3822. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3823. type: string
  3824. suborgtype:
  3825. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3826. type: integer
  3827. tradeaccountid:
  3828. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3829. type: integer
  3830. transurl:
  3831. description: 物流地址(物流机构)
  3832. type: string
  3833. userid:
  3834. description: 机构用户ID其他做市关系,都设置为 1
  3835. type: integer
  3836. required:
  3837. - roletype
  3838. - userid
  3839. type: object
  3840. models.BuyOrder:
  3841. properties:
  3842. accountid:
  3843. description: 资金账户ID
  3844. type: integer
  3845. buyusername:
  3846. description: 买方
  3847. type: string
  3848. marketid:
  3849. description: 市场ID
  3850. type: integer
  3851. ordertime:
  3852. description: 委托时间
  3853. type: string
  3854. origin:
  3855. description: 原产地
  3856. type: string
  3857. performancetemplateid:
  3858. description: 履约计划模板ID
  3859. type: integer
  3860. remark:
  3861. description: 备注
  3862. type: string
  3863. userid:
  3864. description: 用户ID
  3865. type: integer
  3866. validtime:
  3867. description: 有效期限
  3868. type: string
  3869. warehouseids:
  3870. description: 仓库ID - 多个, 逗号分隔
  3871. type: string
  3872. warehouseinfosdisplay:
  3873. type: string
  3874. wrtradeorderid:
  3875. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3876. type: string
  3877. wrtradeorderstatus:
  3878. 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、
  3879. type: integer
  3880. zscategory:
  3881. description: 钻石分类 - 枚举”ZSCategory“
  3882. type: integer
  3883. zscategorydisplay:
  3884. type: string
  3885. zsclaritytype:
  3886. description: 净度 - 两个, 逗号分隔
  3887. type: string
  3888. zsclaritytypedisplay:
  3889. type: string
  3890. zscolortype:
  3891. description: 颜色 - 两个, 逗号分隔
  3892. type: string
  3893. zscolortypedisplay:
  3894. type: string
  3895. zscrystaltype:
  3896. description: 晶型 - 多个,逗号分隔
  3897. type: string
  3898. zscrystaltypedisplay:
  3899. type: string
  3900. zscurrencytype:
  3901. description: 货币类型 - 多个, 逗号分隔
  3902. type: string
  3903. zscurrencytypedisplay:
  3904. type: string
  3905. zscuttype:
  3906. description: 切工 - 两个, 逗号分隔
  3907. type: string
  3908. zscuttypedisplay:
  3909. type: string
  3910. zsczcolor1type:
  3911. description: 彩钻颜色1, 逗号分隔
  3912. type: string
  3913. zsczcolor1typedisplay:
  3914. type: string
  3915. zsczcolor2type:
  3916. description: 彩钻颜色2, 逗号分隔
  3917. type: string
  3918. zsczcolor2typedisplay:
  3919. type: string
  3920. zsczcolor3type:
  3921. description: 彩钻颜色3, 逗号分隔
  3922. type: string
  3923. zsczcolor3typedisplay:
  3924. type: string
  3925. zsfluorescencetype:
  3926. description: 荧光 - 多个, 逗号分隔
  3927. type: string
  3928. zsfluorescencetypedisplay:
  3929. type: string
  3930. zspolishtype:
  3931. description: 抛光度 - 两个, 逗号分隔
  3932. type: string
  3933. zspolishtypedisplay:
  3934. type: string
  3935. zsshapetype:
  3936. description: 形状 - 多个, 逗号分隔
  3937. type: string
  3938. zsshapetypedisplay:
  3939. type: string
  3940. zssize:
  3941. description: 尺寸 - 两个小数, 逗号分隔
  3942. type: string
  3943. zsstyletype:
  3944. description: 款式 - 多个, 逗号分隔
  3945. type: string
  3946. zsstyletypedisplay:
  3947. type: string
  3948. zssymmetrytype:
  3949. description: 对称度 - 两个, 逗号分隔
  3950. type: string
  3951. zssymmetrytypedisplay:
  3952. type: string
  3953. zstabledisplay:
  3954. description: 求购信息
  3955. type: string
  3956. type: object
  3957. models.Clientfixedadconfig:
  3958. properties:
  3959. adsort:
  3960. description: 排序
  3961. type: integer
  3962. adtype:
  3963. description: 广告位类型 - 1:新品抢购(HSBY)
  3964. type: integer
  3965. areauserid:
  3966. description: 所属机构ID
  3967. type: integer
  3968. createdate:
  3969. description: 创建时间
  3970. type: string
  3971. creatorid:
  3972. description: 创建人
  3973. type: integer
  3974. imagepath:
  3975. description: 图片
  3976. type: string
  3977. isshow:
  3978. description: 是否展示 - 0:不展示 1:展示
  3979. type: integer
  3980. modifierid:
  3981. description: 操作人
  3982. type: integer
  3983. recsize:
  3984. description: 推荐尺寸
  3985. type: string
  3986. title:
  3987. description: 标题
  3988. type: string
  3989. updatedate:
  3990. description: 更新时间
  3991. type: string
  3992. urlcontent:
  3993. description: 链接(地址或商品ID)
  3994. type: string
  3995. urltype:
  3996. description: 链接类型 - 1:直接地址 2:商品ID
  3997. type: integer
  3998. required:
  3999. - adsort
  4000. - adtype
  4001. type: object
  4002. models.DgFactoryItem:
  4003. properties:
  4004. dgfactoryitemid:
  4005. description: 选择项ID(SEQ_DGFACTORYITEM)
  4006. type: integer
  4007. dgfactoryitemtypeid:
  4008. description: 要素项类型
  4009. type: integer
  4010. dgfactoryitemvalue:
  4011. description: 要素项值(类型为仓库时填写仓库名称)
  4012. type: string
  4013. orderindex:
  4014. description: 顺序
  4015. type: integer
  4016. type: object
  4017. models.Division:
  4018. properties:
  4019. autoid:
  4020. description: 自增ID
  4021. type: integer
  4022. divisioncode:
  4023. description: 行政代码
  4024. type: string
  4025. divisionlevel:
  4026. description: 行政级别
  4027. type: string
  4028. divisionname:
  4029. description: 行政名称
  4030. type: string
  4031. modifierid:
  4032. description: 修改人
  4033. type: integer
  4034. modifytime:
  4035. description: 修改时间
  4036. type: string
  4037. parentcode:
  4038. description: 上级行政代码
  4039. type: string
  4040. pathname:
  4041. description: 路径名称
  4042. type: string
  4043. postcode:
  4044. description: 邮政编码
  4045. type: string
  4046. separablename:
  4047. description: 可拆分的全称
  4048. type: string
  4049. shortcode:
  4050. description: 地区简码
  4051. type: string
  4052. required:
  4053. - autoid
  4054. - divisioncode
  4055. type: object
  4056. models.Enumdicitem:
  4057. properties:
  4058. autoid:
  4059. description: 自增ID
  4060. type: integer
  4061. bankmappedvalue:
  4062. description: 银行服务对应值
  4063. type: string
  4064. enumdiccode:
  4065. description: 所属枚举代码
  4066. type: string
  4067. enumdicid:
  4068. description: 所属枚举ID
  4069. type: integer
  4070. enumdicname:
  4071. description: 枚举项名称
  4072. type: string
  4073. enumitemname:
  4074. description: 枚举项值
  4075. type: integer
  4076. enumitemstatus:
  4077. description: 枚举项状态 - 1.启用 2.不启用
  4078. type: integer
  4079. enumitemvalue:
  4080. description: 通用值 - [币种通用简写]
  4081. type: string
  4082. param1:
  4083. description: 参数1[币种:币种小数位]
  4084. type: string
  4085. param2:
  4086. description: 参数1[币种:币种显示单位]
  4087. type: string
  4088. remark:
  4089. description: 备注
  4090. type: string
  4091. required:
  4092. - autoid
  4093. - enumdiccode
  4094. - enumdicid
  4095. - enumitemname
  4096. type: object
  4097. models.Ermcp2AreaExposure:
  4098. properties:
  4099. areauserid:
  4100. description: 所属机构
  4101. type: integer
  4102. enumdicname:
  4103. description: 单位
  4104. type: string
  4105. futureqty:
  4106. description: 期货套期量
  4107. type: number
  4108. futureqtychange:
  4109. description: 期货变动量 = FutureQty - OriFutureQty
  4110. type: number
  4111. goodsunitid:
  4112. description: 单位ID
  4113. type: integer
  4114. hedgedspotexposure:
  4115. description: 被套期现货敞口量
  4116. type: number
  4117. hedgedspratio:
  4118. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4119. type: number
  4120. hedgedtotalexposourechange:
  4121. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4122. type: number
  4123. hedgedtotalexposure:
  4124. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4125. type: number
  4126. hedgeplanqty:
  4127. description: 套期计划量
  4128. type: number
  4129. hedgeplanqtychange:
  4130. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4131. type: number
  4132. hedgespotqty:
  4133. description: 被套期现货量
  4134. type: number
  4135. middlegoodsid:
  4136. description: 套保品种
  4137. type: integer
  4138. middlegoodsname:
  4139. description: 套保品种名称
  4140. type: string
  4141. orifutureqty:
  4142. description: 期初期货套期量
  4143. type: number
  4144. orihedgedspotexposure:
  4145. description: 期初被套期现货敞口量
  4146. type: number
  4147. orihedgedtotalexposure:
  4148. description: 期初套期敞口量
  4149. type: number
  4150. orihedgeplanqty:
  4151. description: 期初套期计划量
  4152. type: number
  4153. orihedgespotqty:
  4154. description: 期初被套期现货量
  4155. type: number
  4156. orispotexposure:
  4157. description: 期初现货敞口量
  4158. type: number
  4159. orispotqty:
  4160. description: 期初现货总量
  4161. type: number
  4162. oritotalexposure:
  4163. description: 期初总敞口量
  4164. type: number
  4165. spotexposure:
  4166. description: 现货敞口量
  4167. type: number
  4168. spotqty:
  4169. description: 现货总量
  4170. type: number
  4171. spotqtychange:
  4172. description: 现货变动量 = SpotQty - OriSpotQty
  4173. type: number
  4174. spratio:
  4175. description: 总期现比例 = 期货套期量/现货敞口量
  4176. type: number
  4177. totalexposure:
  4178. description: 总敞口量 = 现货敞口量 + 期货套期量
  4179. type: number
  4180. totalexposurechange:
  4181. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4182. type: number
  4183. updatetime:
  4184. description: 更新时间 --DATE
  4185. type: string
  4186. type: object
  4187. models.Ermcp2hedgeditem:
  4188. properties:
  4189. accountname:
  4190. description: 套期主体
  4191. type: string
  4192. applyid:
  4193. description: 申请人
  4194. type: integer
  4195. applysrc:
  4196. description: 申请来源 - 1:管理端 2:终端
  4197. type: integer
  4198. areauserid:
  4199. description: 企业ID
  4200. type: integer
  4201. auditid:
  4202. description: 审核人
  4203. type: integer
  4204. auditremark:
  4205. description: 审核备注
  4206. type: string
  4207. auditsrc:
  4208. description: 审核来源 - 1:管理端 2:终端
  4209. type: integer
  4210. audittime:
  4211. description: 审核时间
  4212. type: string
  4213. audittradedate:
  4214. description: 审核交易日(yyyyMMdd)
  4215. type: string
  4216. createtime:
  4217. description: 申请时间
  4218. type: string
  4219. curprice:
  4220. description: 当前市场价
  4221. type: number
  4222. curstock:
  4223. description: 期末库存量 = 采购总量 - 销售总量
  4224. type: number
  4225. deliverygoodsid:
  4226. description: 现货品种ID
  4227. type: integer
  4228. enddate:
  4229. description: 完成日期
  4230. type: string
  4231. endtradedate:
  4232. description: 完成交易日
  4233. type: string
  4234. enumdicname:
  4235. description: 单位
  4236. type: string
  4237. exeamount:
  4238. description: 执行市价总额
  4239. type: number
  4240. exeavgprice:
  4241. description: 执行市场均价= 执行市价总额 / 执行现货量
  4242. type: number
  4243. execontractamount:
  4244. description: 执行定价总额
  4245. type: number
  4246. exeqty:
  4247. description: 执行现货量
  4248. type: number
  4249. exerestamount:
  4250. description: 执行剩余市价总额【现货贸易】
  4251. type: number
  4252. futurefloatpl:
  4253. description: 期货浮动损益
  4254. type: number
  4255. futurehedgepl:
  4256. description: 期货实际损益
  4257. type: number
  4258. futurehedgeplchange:
  4259. description: 期货实际损益变动
  4260. type: number
  4261. futurepl:
  4262. description: 期货套期损益
  4263. type: number
  4264. futureplchange:
  4265. description: 期货套期损益变动
  4266. type: number
  4267. hedgeamount:
  4268. description: 套期市价总额
  4269. type: number
  4270. hedgecontractamount:
  4271. description: 套期定价总额 【定价采购合同】【现货贸易】
  4272. type: number
  4273. hedgeditemid:
  4274. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4275. type: string
  4276. hedgeditemname:
  4277. description: 项目名称
  4278. type: string
  4279. hedgeditemnum:
  4280. description: 项目编号
  4281. type: string
  4282. hedgeditemstatus:
  4283. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4284. type: integer
  4285. hedgedtype:
  4286. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4287. type: integer
  4288. hedgeqty:
  4289. description: 套期现货量
  4290. type: number
  4291. hedgerate:
  4292. description: 套保比率
  4293. type: number
  4294. hedgerestamount:
  4295. description: 套期剩余市价总额【现货贸易】
  4296. type: number
  4297. hedgesumpl:
  4298. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4299. type: number
  4300. middlegoodslist:
  4301. description: 套期商品列表
  4302. items:
  4303. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4304. type: array
  4305. oriavgprice:
  4306. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4307. type: number
  4308. orifuturehedgepl:
  4309. description: 期初期货实际损益
  4310. type: number
  4311. orifuturepl:
  4312. description: 期初期货套期损益
  4313. type: number
  4314. orispothedgepl:
  4315. description: 期初现货实际损益
  4316. type: number
  4317. orispotpl:
  4318. description: 期初现货套期损益
  4319. type: number
  4320. planenddate:
  4321. description: 计划结束日期
  4322. type: string
  4323. planstartdate:
  4324. description: 计划开始日期
  4325. type: string
  4326. remark:
  4327. description: 备注
  4328. type: string
  4329. spotbookamount:
  4330. description: 现货账面总额
  4331. type: number
  4332. spotfloatpl:
  4333. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4334. type: number
  4335. spothedgepl:
  4336. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4337. type: number
  4338. spothedgeplchange:
  4339. description: 现货实际损益变动
  4340. type: number
  4341. spotpl:
  4342. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4343. type: number
  4344. spotplchange:
  4345. description: 现货套期损益变动
  4346. type: number
  4347. spottradepl:
  4348. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4349. type: number
  4350. sumobspl:
  4351. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4352. type: number
  4353. tradeuserid:
  4354. description: 交易用户ID
  4355. type: integer
  4356. unexeqty:
  4357. description: 未执行现货量 = 套期现货量 - 执行现货量
  4358. type: number
  4359. updatetime:
  4360. description: 更新时间
  4361. type: string
  4362. vatpl:
  4363. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4364. type: number
  4365. vatrate:
  4366. description: 增值税
  4367. type: number
  4368. wrstandardid:
  4369. description: 现货商品ID
  4370. type: integer
  4371. wrstandardname:
  4372. description: 商品名称
  4373. type: string
  4374. type: object
  4375. models.Ermcp2hedgeditemlink:
  4376. properties:
  4377. areauserid:
  4378. description: 企业ID
  4379. type: integer
  4380. createtime:
  4381. description: '[关联时间]创建时间'
  4382. type: string
  4383. customeruserid:
  4384. description: 对手方 【3:采购合同 4:销售合同】
  4385. type: integer
  4386. deliverygoodsid:
  4387. description: 现货品种ID
  4388. type: integer
  4389. enumdicname:
  4390. description: 单位
  4391. type: string
  4392. hedgeditemid:
  4393. description: 被套期项目ID
  4394. type: integer
  4395. hedgeditemlinkid:
  4396. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4397. type: integer
  4398. hedgeditemnum:
  4399. description: 项目编号
  4400. type: string
  4401. hedgedtype:
  4402. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4403. type: integer
  4404. relatedamount:
  4405. description: 市价总额 = 关联数量 * 期初市场价
  4406. type: number
  4407. relatedhedgeplanid:
  4408. description: 关联计划ID 【1:采购计划 2:销售计划】
  4409. type: integer
  4410. relatedqty:
  4411. description: 关联数量
  4412. type: number
  4413. relatedspotcontractid:
  4414. description: 关联合同ID 【3:采购合同 4:销售合同】
  4415. type: integer
  4416. relatedtype:
  4417. description: 关联类型 - 1:套期关联 2:执行关联
  4418. type: integer
  4419. spotgoodsbrandid:
  4420. description: 现货品牌ID
  4421. type: integer
  4422. spotpricedamount:
  4423. description: '[关联定价总额]定价总额'
  4424. type: number
  4425. spotpricedavgprice:
  4426. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4427. type: number
  4428. spottype:
  4429. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4430. type: integer
  4431. tradeuserid:
  4432. description: 交易用户ID
  4433. type: integer
  4434. unexeqty:
  4435. description: 未执行现货量【项目关联时值】
  4436. type: number
  4437. wrstandardid:
  4438. description: 现货商品ID
  4439. type: integer
  4440. wrstandardname:
  4441. description: 现货商品
  4442. type: string
  4443. required:
  4444. - relatedspotcontractid
  4445. type: object
  4446. models.Ermcp2hedgeditemsDetail:
  4447. properties:
  4448. accountname:
  4449. description: 套期主体
  4450. type: string
  4451. areauserid:
  4452. description: 企业ID
  4453. type: integer
  4454. createtime:
  4455. description: '[日期时间]创建时间'
  4456. type: string
  4457. customeruserid:
  4458. description: 对手方 【3:采购合同 4:销售合同】
  4459. type: integer
  4460. deliverygoodsid:
  4461. description: 现货品种ID
  4462. type: integer
  4463. enumdicname:
  4464. description: 单位
  4465. type: string
  4466. hedgeditemid:
  4467. description: 被套期项目ID
  4468. type: string
  4469. hedgeditemspotid:
  4470. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4471. type: string
  4472. hedgedtype:
  4473. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4474. type: integer
  4475. hedgeplanno:
  4476. description: 计划编号
  4477. type: string
  4478. middlegoodschange:
  4479. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4480. type: number
  4481. oriavgprice:
  4482. description: 期初市场价[当初市场价]
  4483. type: number
  4484. relatedamount:
  4485. description: 市价总额 = 关联数量 * 期初市场价
  4486. type: number
  4487. relatedhedgeplanid:
  4488. description: 关联计划ID 【1:采购计划 2:销售计划】
  4489. type: integer
  4490. relatedqty:
  4491. description: '[期间变化量]关联数量'
  4492. type: number
  4493. relatedspotcontractid:
  4494. description: 关联合同ID 【3:采购合同 4:销售合同】
  4495. type: integer
  4496. relatedtype:
  4497. description: 关联类型 - 1:套期关联 2:执行关联
  4498. type: integer
  4499. spotgoodsbrandid:
  4500. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4501. type: integer
  4502. spotpricedamount:
  4503. description: 定价总额
  4504. type: number
  4505. spotpricedavgprice:
  4506. description: 现货均价 = 定价总额 / 关联数量
  4507. type: number
  4508. spottype:
  4509. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4510. type: integer
  4511. tradeuserid:
  4512. description: 交易用户ID
  4513. type: integer
  4514. unexeqty:
  4515. description: 未执行现货量 = 套期现货量 - 执行现货量
  4516. type: number
  4517. wrstandardid:
  4518. description: 现货商品ID
  4519. type: integer
  4520. wrstandardname:
  4521. description: 现货商品
  4522. type: string
  4523. type: object
  4524. models.Ermcp2hedgeditemspot:
  4525. properties:
  4526. areauserid:
  4527. description: 企业ID
  4528. type: integer
  4529. createtime:
  4530. description: 创建时间
  4531. type: string
  4532. customeruserid:
  4533. description: 对手方 【3:采购合同 4:销售合同】
  4534. type: integer
  4535. deliverygoodsid:
  4536. description: 现货品种ID
  4537. type: integer
  4538. enumdicname:
  4539. description: 单位
  4540. type: string
  4541. hedgeditemid:
  4542. description: 被套期项目ID
  4543. type: string
  4544. hedgeditemspotid:
  4545. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4546. type: string
  4547. hedgedtype:
  4548. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4549. type: integer
  4550. hedgeplanno:
  4551. description: 计划编号
  4552. type: string
  4553. oriavgprice:
  4554. description: 期初市场价[当初市场价]
  4555. type: number
  4556. relatedamount:
  4557. description: 市价总额 = 关联数量 * 期初市场价
  4558. type: number
  4559. relatedhedgeplanid:
  4560. description: 关联计划ID 【1:采购计划 2:销售计划】
  4561. type: integer
  4562. relatedqty:
  4563. description: 关联数量[数量]
  4564. type: number
  4565. relatedspotcontractid:
  4566. description: 关联合同ID 【3:采购合同 4:销售合同】
  4567. type: integer
  4568. relatedtype:
  4569. description: 关联类型 - 1:套期关联 2:执行关联
  4570. type: integer
  4571. spotgoodsbrandid:
  4572. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4573. type: integer
  4574. spotpricedamount:
  4575. description: 定价总额
  4576. type: number
  4577. spotpricedavgprice:
  4578. description: 现货均价 = 定价总额 / 关联数量
  4579. type: number
  4580. spottype:
  4581. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4582. type: integer
  4583. tradeuserid:
  4584. description: 交易用户ID
  4585. type: integer
  4586. wrstandardid:
  4587. description: 现货商品ID
  4588. type: integer
  4589. wrstandardname:
  4590. description: 现货商品
  4591. type: string
  4592. required:
  4593. - hedgeditemid
  4594. type: object
  4595. models.Ermcp2hedgeditemspotDetail:
  4596. properties:
  4597. accountname:
  4598. description: 对手方
  4599. type: string
  4600. areauserid:
  4601. description: 企业ID
  4602. type: integer
  4603. brandname:
  4604. description: 品牌
  4605. type: string
  4606. contractno:
  4607. description: 合同编号
  4608. type: string
  4609. createtime:
  4610. description: 创建时间
  4611. type: string
  4612. customeruserid:
  4613. description: 对手方 【3:采购合同 4:销售合同】
  4614. type: integer
  4615. deliverygoodsid:
  4616. description: 现货品种ID
  4617. type: integer
  4618. enumdicname:
  4619. description: 单位
  4620. type: string
  4621. hedgeditemid:
  4622. description: 被套期项目ID
  4623. type: string
  4624. hedgeditemspotid:
  4625. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4626. type: string
  4627. hedgedtype:
  4628. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4629. type: integer
  4630. oriavgprice:
  4631. description: 期初市场价[当初市场价]
  4632. type: number
  4633. relatedamount:
  4634. description: 市价总额 = 关联数量 * 期初市场价
  4635. type: number
  4636. relatedhedgeplanid:
  4637. description: 关联计划ID 【1:采购计划 2:销售计划】
  4638. type: integer
  4639. relatedqty:
  4640. description: 关联数量[数量]
  4641. type: number
  4642. relatedspotcontractid:
  4643. description: 关联合同ID 【3:采购合同 4:销售合同】
  4644. type: integer
  4645. relatedtype:
  4646. description: 关联类型 - 1:套期关联 2:执行关联
  4647. type: integer
  4648. spotgoodsbrandid:
  4649. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4650. type: integer
  4651. spotpricedamount:
  4652. description: 定价总额[金额]
  4653. type: number
  4654. spotpricedavgprice:
  4655. description: 现货均价 = 定价总额 / 关联数量
  4656. type: number
  4657. spottype:
  4658. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4659. type: integer
  4660. tradeuserid:
  4661. description: 交易用户ID
  4662. type: integer
  4663. wrstandardid:
  4664. description: 现货商品ID
  4665. type: integer
  4666. wrstandardname:
  4667. description: 现货商品
  4668. type: string
  4669. required:
  4670. - hedgeditemid
  4671. type: object
  4672. models.Ermcp2himiddlegoods:
  4673. properties:
  4674. futurehedgeqty:
  4675. description: 期货持仓套期量
  4676. type: number
  4677. hedgeditemid:
  4678. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4679. type: integer
  4680. hiexpsoure:
  4681. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4682. type: number
  4683. middlegoodscode:
  4684. description: 套保商品代码
  4685. type: string
  4686. middlegoodsid:
  4687. description: 套保品种ID
  4688. type: integer
  4689. middlegoodsname:
  4690. description: 套保商品名称
  4691. type: string
  4692. unexehedgeqty:
  4693. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4694. type: number
  4695. required:
  4696. - hedgeditemid
  4697. - middlegoodsid
  4698. type: object
  4699. models.Ermcp2stockspotchangelog:
  4700. properties:
  4701. accountname:
  4702. description: 套期主体
  4703. type: string
  4704. aftervalue:
  4705. description: 现货量
  4706. type: number
  4707. beforevalue:
  4708. description: 变更前现货量
  4709. type: number
  4710. contractno:
  4711. description: '[编号]现货合同编号'
  4712. type: string
  4713. contracttype:
  4714. description: 现货合同类型 - 1:采购 -1:销售
  4715. type: integer
  4716. createtime:
  4717. description: 创建时间
  4718. type: string
  4719. customerusername:
  4720. description: 对手方
  4721. type: string
  4722. deliverygoodsid:
  4723. description: 现货品种ID
  4724. type: integer
  4725. exetype:
  4726. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4727. type: integer
  4728. logid:
  4729. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4730. type: string
  4731. logvalue:
  4732. description: '[期间变化量]现货量变更值'
  4733. type: number
  4734. middlegoodschange:
  4735. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4736. type: number
  4737. operatelogtype:
  4738. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4739. 27:生产出库
  4740. type: integer
  4741. relatedid:
  4742. description: 现货合同ID
  4743. type: integer
  4744. spotgoodsbrandid:
  4745. description: 现货品牌ID
  4746. type: integer
  4747. tradedate:
  4748. description: 交易日(yyyyMMdd)
  4749. type: string
  4750. userid:
  4751. description: 机构ID
  4752. type: integer
  4753. warehouseinfoid:
  4754. description: 仓库ID
  4755. type: integer
  4756. wrfactortypeid:
  4757. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4758. type: integer
  4759. wrstandardid:
  4760. description: 现货商品ID
  4761. type: integer
  4762. wrstandardname:
  4763. description: 商品名称
  4764. type: string
  4765. type: object
  4766. models.Ermcp3AreaSpot:
  4767. properties:
  4768. areauserid:
  4769. description: 所属机构
  4770. type: integer
  4771. convertratio:
  4772. description: 套保系数
  4773. type: number
  4774. decreaseqty:
  4775. description: 减少数量=-(销售已定价数量+采购计划数量)
  4776. type: number
  4777. enumdicname:
  4778. description: 单位名称
  4779. type: string
  4780. increaseqty:
  4781. description: 增加数量=销售计划数量+采购已定价数量
  4782. type: number
  4783. oritoalspotqty:
  4784. description: 昨日数量
  4785. type: number
  4786. totalspotqty:
  4787. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4788. type: number
  4789. unitid:
  4790. description: 现货商品单位id
  4791. type: integer
  4792. updatetime:
  4793. description: 更新时间
  4794. type: string
  4795. wrstandardcode:
  4796. description: 现货商品代码
  4797. type: string
  4798. wrstandardid:
  4799. description: 现货商品ID(SEQ_WRSTANDARD)
  4800. type: integer
  4801. wrstandardname:
  4802. description: 现货商品名称
  4803. type: string
  4804. type: object
  4805. models.Ermcp3AreaSpotDetail:
  4806. properties:
  4807. contracttype:
  4808. description: 合同类型 1-采购 -1-销售
  4809. type: integer
  4810. createtime:
  4811. description: 创建时间
  4812. type: string
  4813. enumdicname:
  4814. description: 现货商品单位名称
  4815. type: string
  4816. logtype:
  4817. description: 记录类型 1-套保 2-现货合同
  4818. type: integer
  4819. qty:
  4820. description: 数量
  4821. type: number
  4822. recordname:
  4823. description: 类型名称
  4824. type: string
  4825. relatedid:
  4826. description: 套保计划ID/现货合同ID
  4827. type: string
  4828. relatedno:
  4829. description: 编号
  4830. type: string
  4831. strtime:
  4832. description: 时间
  4833. type: string
  4834. wrstandardcode:
  4835. description: 现货商品代码
  4836. type: string
  4837. wrstandardid:
  4838. description: 现货商品ID(SEQ_WRSTANDARD)
  4839. type: integer
  4840. wrstandardname:
  4841. description: 现货商品名称
  4842. type: string
  4843. type: object
  4844. models.Ermcp3AreaSpotPLReport:
  4845. properties:
  4846. accountid:
  4847. description: 期货账户ID (作废, 默认为0)
  4848. type: integer
  4849. accountname:
  4850. description: 机构名称
  4851. type: string
  4852. actualpl:
  4853. description: 现货损益
  4854. type: number
  4855. areauserid:
  4856. description: 所属机构\交易用户ID
  4857. type: integer
  4858. begindate:
  4859. description: 开始交易日
  4860. type: string
  4861. biztype:
  4862. description: 业务类型 - 1:套保 2:套利
  4863. type: integer
  4864. brandname:
  4865. description: 品牌名称
  4866. type: string
  4867. curamount:
  4868. description: 期末额
  4869. type: number
  4870. curaverageprice:
  4871. description: 期末均价
  4872. type: number
  4873. curbuyamount:
  4874. description: 期末采购总额
  4875. type: number
  4876. curbuyqty:
  4877. description: 期末采购总量
  4878. type: number
  4879. curmarketvalue:
  4880. description: 参考市值(期末市值)
  4881. type: number
  4882. curqty:
  4883. description: 期末量
  4884. type: number
  4885. currencyid:
  4886. description: 结算币种ID【原值】
  4887. type: integer
  4888. currencyname:
  4889. description: 币种名称
  4890. type: string
  4891. cursellamount:
  4892. description: 期末销售总额
  4893. type: number
  4894. cursellqty:
  4895. description: 期末销售总量
  4896. type: number
  4897. curspotprice:
  4898. description: 参考市价(最新价)
  4899. type: number
  4900. cycletime:
  4901. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4902. type: string
  4903. cycletype:
  4904. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4905. type: integer
  4906. deliverygoodscode:
  4907. description: 现货品种代码
  4908. type: string
  4909. deliverygoodsid:
  4910. description: 现货品种ID
  4911. type: integer
  4912. deliverygoodsname:
  4913. description: 现货品种名称
  4914. type: string
  4915. enddate:
  4916. description: 结束交易日
  4917. type: string
  4918. enumdicname:
  4919. description: 现货品种单位名称(作废)
  4920. type: string
  4921. floatpl:
  4922. description: 浮动损益
  4923. type: number
  4924. goodsunitid:
  4925. description: 现货品种单位id(作废)
  4926. type: integer
  4927. oriamount:
  4928. description: 期初额
  4929. type: number
  4930. oriaverageprice:
  4931. description: 期初均价
  4932. type: number
  4933. oribuyamount:
  4934. description: 期初采购总额
  4935. type: number
  4936. oribuyqty:
  4937. description: 期初采购总量
  4938. type: number
  4939. oriqty:
  4940. description: 期初量
  4941. type: number
  4942. orisellamount:
  4943. description: 期初销售总额
  4944. type: number
  4945. orisellqty:
  4946. description: 期初销售总量
  4947. type: number
  4948. reckondate:
  4949. description: 日照时期(yyyyMMdd)
  4950. type: string
  4951. spotgoodsbrandid:
  4952. description: 现货品牌ID
  4953. type: integer
  4954. todaybuyamount:
  4955. description: 今日采购额(今采购额)
  4956. type: number
  4957. todaybuyaverageprice:
  4958. description: 今日采购均价
  4959. type: number
  4960. todaybuyqty:
  4961. description: 今日采购量(今采购量)
  4962. type: number
  4963. todayinqty:
  4964. description: 今日入库量(今入库量)
  4965. type: number
  4966. todayoutqty:
  4967. description: 今日出库量(今出库量)
  4968. type: number
  4969. todaysellamount:
  4970. description: 今日销售额(今销售额)
  4971. type: number
  4972. todaysellaverageprice:
  4973. description: 今日销售均价
  4974. type: number
  4975. todaysellqty:
  4976. description: 今日销售量(今销售量)
  4977. type: number
  4978. unitid:
  4979. description: 品类单位id
  4980. type: integer
  4981. unitidname:
  4982. description: 品类单位名称
  4983. type: string
  4984. updatetime:
  4985. description: 更新时间
  4986. type: string
  4987. wrfactortypeid:
  4988. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4989. type: integer
  4990. wrstandardcode:
  4991. description: 现货商品(品类)代码
  4992. type: string
  4993. wrstandardid:
  4994. description: 现货品类ID
  4995. type: integer
  4996. wrstandardname:
  4997. description: 现货商品(品类)名称
  4998. type: string
  4999. type: object
  5000. models.Ermcp3AreaStock:
  5001. properties:
  5002. brandname:
  5003. description: 品牌名称
  5004. type: string
  5005. curstock:
  5006. description: 期末库存量(今日量)
  5007. type: number
  5008. deliverygoodscode:
  5009. description: 现货品种代码
  5010. type: string
  5011. deliverygoodsid:
  5012. description: 现货品种id
  5013. type: integer
  5014. deliverygoodsname:
  5015. description: 现货品种名称
  5016. type: string
  5017. enumdicname:
  5018. description: 单位名称
  5019. type: string
  5020. goodsunitid:
  5021. description: 现货商品单位id
  5022. type: integer
  5023. oristock:
  5024. description: 期初库存量(昨日量)
  5025. type: number
  5026. spotgoodsbrandid:
  5027. description: 现货品牌ID
  5028. type: integer
  5029. todaybuyinqty:
  5030. description: 今日采购入库量
  5031. type: number
  5032. todayproduceinqty:
  5033. description: 今日生产入库量
  5034. type: number
  5035. todayproduceoutqty:
  5036. description: 今日生产出库量
  5037. type: number
  5038. todayselloutqty:
  5039. description: 今日销售出库量
  5040. type: number
  5041. unitid:
  5042. description: 单位id
  5043. type: integer
  5044. updatetime:
  5045. description: 更新时间
  5046. type: string
  5047. userid:
  5048. description: 机构ID
  5049. type: integer
  5050. username:
  5051. description: 机构名称
  5052. type: string
  5053. warehousecode:
  5054. description: 仓库代码
  5055. type: string
  5056. warehouseinfoid:
  5057. description: 仓库ID
  5058. type: string
  5059. warehousename:
  5060. description: 仓库名称
  5061. type: string
  5062. warehousetype:
  5063. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5064. type: integer
  5065. wrstandardcode:
  5066. description: 品类代码
  5067. type: string
  5068. wrstandardid:
  5069. description: 品类ID
  5070. type: string
  5071. wrstandardname:
  5072. description: 品类名称
  5073. type: string
  5074. required:
  5075. - userid
  5076. type: object
  5077. models.Ermcp3AreaStockApply:
  5078. properties:
  5079. applyid:
  5080. description: 申请人
  5081. type: integer
  5082. applyname:
  5083. description: 申请人名称
  5084. type: string
  5085. applyremark:
  5086. description: 申请备注
  5087. type: string
  5088. applysrc:
  5089. description: 申请来源 - 1:管理端 2:终端
  5090. type: integer
  5091. applystatus:
  5092. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5093. type: integer
  5094. applytime:
  5095. description: 申请时间
  5096. type: string
  5097. auditid:
  5098. description: 审核人
  5099. type: integer
  5100. auditname:
  5101. description: 审核人名称
  5102. type: string
  5103. auditremark:
  5104. description: 审核备注
  5105. type: string
  5106. auditsrc:
  5107. description: 审核来源 - 1:管理端 2:终端
  5108. type: integer
  5109. audittime:
  5110. description: 审核时间
  5111. type: string
  5112. audittradedate:
  5113. description: 审核交易日(yyyyMMdd)
  5114. type: string
  5115. brandname:
  5116. description: 品牌名称
  5117. type: string
  5118. buynickname:
  5119. description: 采购方昵称
  5120. type: string
  5121. buyuserid:
  5122. description: 采购方userid
  5123. type: integer
  5124. buyusername:
  5125. description: 采购方名称
  5126. type: string
  5127. contractno:
  5128. description: 合同编号
  5129. type: string
  5130. contractqty:
  5131. description: 合同量
  5132. type: number
  5133. contracttype:
  5134. description: 现货合同类型 - 1:采购 -1:销售
  5135. type: integer
  5136. deliverygoodscode:
  5137. description: 现货品种代码
  5138. type: string
  5139. deliverygoodsid:
  5140. description: 现货品种id
  5141. type: integer
  5142. deliverygoodsname:
  5143. description: 现货品种名称
  5144. type: string
  5145. detailjson:
  5146. description: 明细数据
  5147. type: string
  5148. enumdicname:
  5149. description: 现货商品单位名称
  5150. type: string
  5151. inoutapplyid:
  5152. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5153. type: string
  5154. inouttype:
  5155. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5156. type: integer
  5157. pricetype:
  5158. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5159. type: integer
  5160. qty:
  5161. description: 数量
  5162. type: number
  5163. sellnickname:
  5164. description: 销售方昵称
  5165. type: string
  5166. selluserid:
  5167. description: 销售方userid
  5168. type: integer
  5169. sellusername:
  5170. description: 销售方名称
  5171. type: string
  5172. spotcontractid:
  5173. description: 关联现货合同ID
  5174. type: string
  5175. spotgoodsbrandid:
  5176. description: 现货品牌ID
  5177. type: integer
  5178. unitid:
  5179. description: 单位id
  5180. type: integer
  5181. userid:
  5182. description: 机构ID
  5183. type: integer
  5184. warehousecode:
  5185. description: 仓库代码
  5186. type: string
  5187. warehouseinfoid:
  5188. description: 现货仓库ID
  5189. type: string
  5190. warehousename:
  5191. description: 仓库名称
  5192. type: string
  5193. warehousetype:
  5194. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5195. type: integer
  5196. wrstandardcode:
  5197. description: 品类代码
  5198. type: string
  5199. wrstandardid:
  5200. description: 品类ID
  5201. type: integer
  5202. wrstandardname:
  5203. description: 品类名称
  5204. type: string
  5205. type: object
  5206. models.Ermcp3AreaStockApplySum:
  5207. properties:
  5208. brandname:
  5209. description: 品牌名称
  5210. type: string
  5211. inouttype:
  5212. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5213. type: integer
  5214. spotcontractid:
  5215. description: 关联现货合同ID
  5216. type: string
  5217. spotgoodsbrandid:
  5218. description: 品牌id
  5219. type: integer
  5220. totalqty:
  5221. description: 总数量
  5222. type: number
  5223. wrstandardid:
  5224. description: 品类id
  5225. type: integer
  5226. wrstandardname:
  5227. description: 品类名称
  5228. type: string
  5229. type: object
  5230. models.Ermcp3AreaStockReportEx:
  5231. properties:
  5232. begindate:
  5233. description: 开始交易日
  5234. type: string
  5235. brandname:
  5236. description: 品牌名称
  5237. type: string
  5238. curstock:
  5239. description: 期末库存量
  5240. type: number
  5241. cycletime:
  5242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5243. type: string
  5244. cycletype:
  5245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5246. type: integer
  5247. deliverygoodscode:
  5248. description: 现货品种代码
  5249. type: string
  5250. deliverygoodsid:
  5251. description: 现货品种id
  5252. type: integer
  5253. deliverygoodsname:
  5254. description: 现货品种名称
  5255. type: string
  5256. diffqty:
  5257. description: 库存变化量 = 期末 - 期初
  5258. type: number
  5259. enddate:
  5260. description: 结束交易日
  5261. type: string
  5262. enumdicname:
  5263. description: 单位名称
  5264. type: string
  5265. goodsunitid:
  5266. description: 现货单位id
  5267. type: integer
  5268. oristock:
  5269. description: 期初库存量
  5270. type: number
  5271. reckondate:
  5272. description: 日照时期(yyyyMMdd)
  5273. type: string
  5274. spotgoodsbrandid:
  5275. description: 现货品牌ID
  5276. type: integer
  5277. todaybuyinqty:
  5278. description: 今采购入库量
  5279. type: number
  5280. todayproduceinqty:
  5281. description: 今内部入库量
  5282. type: number
  5283. todayproduceoutqty:
  5284. description: 今内部出库量
  5285. type: number
  5286. todayselloutqty:
  5287. description: 今销售出库量
  5288. type: number
  5289. unbuyinqty:
  5290. description: 采购未入库量(数据库未找到相关字段?)
  5291. type: number
  5292. unitid:
  5293. description: 品类单位id
  5294. type: integer
  5295. unselloutqty:
  5296. description: 销售未出库量(数据库未找到相关字段?)
  5297. type: number
  5298. updatetime:
  5299. description: 更新时间
  5300. type: string
  5301. userid:
  5302. description: 机构ID
  5303. type: integer
  5304. username:
  5305. description: 机构名称
  5306. type: string
  5307. warehousecode:
  5308. description: 仓库代码
  5309. type: string
  5310. warehouseinfoid:
  5311. description: 仓库ID
  5312. type: string
  5313. warehousename:
  5314. description: 仓库名称
  5315. type: string
  5316. warehousetype:
  5317. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5318. type: integer
  5319. wrstandardcode:
  5320. description: 品类代码
  5321. type: string
  5322. wrstandardid:
  5323. description: 品类ID
  5324. type: integer
  5325. wrstandardname:
  5326. description: 品类名称
  5327. type: string
  5328. type: object
  5329. models.Ermcp3ArealSumPL:
  5330. properties:
  5331. accountname:
  5332. description: 机构名称
  5333. type: string
  5334. areauserid:
  5335. description: 所属机构\交易用户ID
  5336. type: integer
  5337. begindate:
  5338. description: 开始交易日
  5339. type: string
  5340. currencyid:
  5341. description: 结算币种ID
  5342. type: integer
  5343. currencyname:
  5344. description: 币种名称
  5345. type: string
  5346. cycletime:
  5347. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5348. type: string
  5349. cycletype:
  5350. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5351. type: integer
  5352. enddate:
  5353. description: 结束交易日
  5354. type: string
  5355. enumdicname:
  5356. description: 单位名称(套保品种)
  5357. type: string
  5358. futureactualpl:
  5359. description: 期货损益
  5360. type: number
  5361. futurefloatpl:
  5362. description: 期货浮动损益
  5363. type: number
  5364. futurespotratio:
  5365. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5366. type: number
  5367. goodsunitid:
  5368. description: 套保品种单位id
  5369. type: integer
  5370. hedgeexposurepl:
  5371. description: 套保敞口损益
  5372. type: number
  5373. middlegoodscode:
  5374. description: 套保品种代码
  5375. type: string
  5376. middlegoodsid:
  5377. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5378. type: integer
  5379. middlegoodsname:
  5380. description: 套保品种名称
  5381. type: string
  5382. reckondate:
  5383. description: 日照时期(yyyyMMdd)
  5384. type: string
  5385. spotactualpl:
  5386. description: 现货损益
  5387. type: number
  5388. spotfloatpl:
  5389. description: 现货浮动损益
  5390. type: number
  5391. sumactualpl:
  5392. description: 实际损益 = (ActualPL + FutureActualPL)
  5393. type: number
  5394. sumpl:
  5395. description: 总敞口损益 | 汇总损益
  5396. type: number
  5397. totalfutureqty:
  5398. description: 期货头寸总量
  5399. type: number
  5400. totalneedhedgeqty:
  5401. description: 应套保总量
  5402. type: number
  5403. totalspotqty:
  5404. description: 现货头寸总量
  5405. type: number
  5406. updatetime:
  5407. description: 更新时间
  5408. type: string
  5409. type: object
  5410. models.Ermcp3Brand:
  5411. properties:
  5412. areauserid:
  5413. description: 用户id
  5414. type: integer
  5415. brandid:
  5416. description: 品牌id
  5417. type: integer
  5418. brandname:
  5419. description: 品牌名称
  5420. type: string
  5421. deliverygoodsid:
  5422. description: 品种ID
  5423. type: integer
  5424. isvalid:
  5425. description: 是否有效
  5426. type: integer
  5427. type: object
  5428. models.Ermcp3Contract:
  5429. properties:
  5430. accountid:
  5431. description: 期货账户id
  5432. type: string
  5433. amount:
  5434. description: 金额 [1:一口价、3:暂定价]
  5435. type: number
  5436. attachment:
  5437. description: 附件
  5438. type: string
  5439. auditremark:
  5440. description: 审核意见
  5441. type: string
  5442. audittime:
  5443. description: 审核时间
  5444. type: string
  5445. biztype:
  5446. description: 业务类型 1-套保 2-套利
  5447. type: integer
  5448. brandname:
  5449. description: 品牌名称
  5450. type: string
  5451. buynickname:
  5452. description: 销售方昵称
  5453. type: string
  5454. buyuserid:
  5455. description: 采购方ID
  5456. type: integer
  5457. buyusername:
  5458. description: 采购方名称
  5459. type: string
  5460. contracctstatus:
  5461. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5462. type: integer
  5463. contractmargin:
  5464. description: 合同保证金
  5465. type: number
  5466. contractno:
  5467. description: 现货合同编号
  5468. type: string
  5469. contracttype:
  5470. description: 现货合同类型 - 1:采购 -1:销售
  5471. type: integer
  5472. convertfactor:
  5473. description: 标仓系数(品类)
  5474. type: number
  5475. createtime:
  5476. description: 创建时间
  5477. type: string
  5478. currencyid:
  5479. description: 币种id
  5480. type: integer
  5481. currencyname:
  5482. description: 币种名称
  5483. type: string
  5484. deliveryenddate:
  5485. description: 交收期(结束)
  5486. type: string
  5487. deliverygoodscode:
  5488. description: 现货品种代码
  5489. type: string
  5490. deliverygoodsid:
  5491. description: 现货品种ID
  5492. type: integer
  5493. deliverygoodsname:
  5494. description: 现货品种名称
  5495. type: string
  5496. deliverystartdate:
  5497. description: 交收期(开始)
  5498. type: string
  5499. enddate:
  5500. description: 点价结束日期 [2:点价 3:暂定价]
  5501. type: string
  5502. enumdicname:
  5503. description: 单位名称
  5504. type: string
  5505. goodscode:
  5506. description: 点价合约代码
  5507. type: string
  5508. goodsid:
  5509. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5510. type: integer
  5511. goodsname:
  5512. description: 点价商品名称
  5513. type: string
  5514. margin:
  5515. description: 当前保证金
  5516. type: number
  5517. meruserid:
  5518. description: 跟单员id
  5519. type: integer
  5520. meruserlogincode:
  5521. description: 跟单员登录代码
  5522. type: string
  5523. merusername:
  5524. description: 跟单员名称
  5525. type: string
  5526. pointdesc:
  5527. description: 点价备注
  5528. type: string
  5529. price:
  5530. description: 价格\暂定价 [1:一口价、3:暂定价]
  5531. type: number
  5532. pricemove:
  5533. description: 升贴水 [2:点价 3:暂定价]
  5534. type: number
  5535. pricetype:
  5536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5537. type: integer
  5538. producttype:
  5539. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5540. type: integer
  5541. qty:
  5542. description: 数量
  5543. type: number
  5544. remark:
  5545. description: 备注
  5546. type: string
  5547. saleuserid:
  5548. description: 业务员id
  5549. type: integer
  5550. saleuserlogincode:
  5551. description: 业务员登录代码
  5552. type: string
  5553. saleusername:
  5554. description: 业务员名称
  5555. type: string
  5556. sellnickname:
  5557. description: 采购方昵称
  5558. type: string
  5559. selluserid:
  5560. description: 销售方ID
  5561. type: integer
  5562. sellusername:
  5563. description: 销售方名称
  5564. type: string
  5565. spotcontractid:
  5566. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5567. type: string
  5568. spotgoodsbrandid:
  5569. description: 现货品牌ID(DGFactoryItem表的ID)
  5570. type: integer
  5571. spotgoodsdesc:
  5572. description: 商品型号
  5573. type: string
  5574. startdate:
  5575. description: 点价开始日期 [2:点价 3:暂定价]
  5576. type: string
  5577. subjectid:
  5578. description: 交易主体ID
  5579. type: integer
  5580. subjectname:
  5581. description: 交易主体名称
  5582. type: string
  5583. tradeuserid:
  5584. description: 交易员id
  5585. type: integer
  5586. tradeuserlogincode:
  5587. description: 交易员登录代码
  5588. type: string
  5589. tradeusername:
  5590. description: 交易员名称
  5591. type: string
  5592. unitid:
  5593. description: 单位id(取品类上的单位id)
  5594. type: integer
  5595. updatetime:
  5596. description: 更新时间
  5597. type: string
  5598. userid:
  5599. description: 所属机构ID
  5600. type: integer
  5601. vatrate:
  5602. description: 增值税率
  5603. type: number
  5604. wrstandardcode:
  5605. description: 品类代码
  5606. type: string
  5607. wrstandardid:
  5608. description: 品类ID
  5609. type: integer
  5610. wrstandardname:
  5611. description: 品类名称
  5612. type: string
  5613. type: object
  5614. models.Ermcp3ContractMiddleGoodsCfg:
  5615. properties:
  5616. agreeunit:
  5617. description: 合约乘数
  5618. type: number
  5619. convertratio:
  5620. description: 期货品种系数
  5621. type: number
  5622. covertqty:
  5623. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5624. type: integer
  5625. middlegoodsid:
  5626. description: 套保品种ID
  5627. type: integer
  5628. middlegoodspricedqty3:
  5629. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5630. example: "0"
  5631. type: string
  5632. pendingpricedqty:
  5633. description: 待点价量
  5634. example: "0"
  5635. type: string
  5636. relatedmiddlegoodsqty:
  5637. description: 已关联量(套保品种-期货)
  5638. example: "0"
  5639. type: string
  5640. spotcontractid:
  5641. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5642. type: string
  5643. type: object
  5644. models.Ermcp3ExposureContractDetail:
  5645. properties:
  5646. biztype:
  5647. description: 业务类型 1-套保 2-套利
  5648. type: integer
  5649. brandname:
  5650. description: 品牌名称
  5651. type: string
  5652. buyuserid:
  5653. description: 采购方id
  5654. type: integer
  5655. buyusername:
  5656. description: 采购方名称
  5657. type: string
  5658. contractno:
  5659. description: 合同编号
  5660. type: string
  5661. contracttype:
  5662. description: 现货合同类型 - 1:采购 -1:销售
  5663. type: integer
  5664. convertfactor:
  5665. description: 标仓系数
  5666. type: number
  5667. convertratio:
  5668. description: 折算系数(套保品种)
  5669. type: number
  5670. curqty:
  5671. description: 今定价量
  5672. type: number
  5673. deliverygoodscode:
  5674. description: 现货品种代码
  5675. type: string
  5676. deliverygoodsid:
  5677. description: 现货品种id
  5678. type: integer
  5679. deliverygoodsname:
  5680. description: 现货品种名称
  5681. type: string
  5682. diffhedgeqty:
  5683. description: 套保变动量
  5684. type: number
  5685. diffneedhedgeqty:
  5686. description: 应套保变动量
  5687. type: number
  5688. diffqty:
  5689. description: 套保品种今变动量
  5690. type: number
  5691. enumdicname:
  5692. description: 单位名称
  5693. type: string
  5694. mgunitname:
  5695. description: 套保品种单位名称
  5696. type: string
  5697. middlegoodscode:
  5698. description: 套保品种代码
  5699. type: string
  5700. middlegoodsid:
  5701. description: 套保品种id
  5702. type: integer
  5703. middlegoodsname:
  5704. description: 套保品种名称
  5705. type: string
  5706. needarbitrageratio:
  5707. description: 应套利比例
  5708. type: number
  5709. needhedgeratio:
  5710. description: 应套保比例
  5711. type: number
  5712. pricedqty:
  5713. description: 已定价量
  5714. type: number
  5715. qty:
  5716. description: 合同量
  5717. type: number
  5718. reckondate:
  5719. description: 交易日(reckondate)
  5720. type: string
  5721. selluserid:
  5722. description: 销售方id
  5723. type: integer
  5724. sellusername:
  5725. description: 销售方名称
  5726. type: string
  5727. spotcontractid:
  5728. description: 合同id
  5729. type: string
  5730. todaypricedqty:
  5731. description: 今定价量
  5732. type: number
  5733. tradedate:
  5734. description: 交易日
  5735. type: string
  5736. unitid:
  5737. description: 品类单位id
  5738. type: integer
  5739. userid:
  5740. description: 机构id
  5741. type: integer
  5742. username:
  5743. description: 交易用户
  5744. type: string
  5745. wrstandardcode:
  5746. description: 现货商品代码
  5747. type: string
  5748. wrstandardid:
  5749. description: 现货商品id
  5750. type: integer
  5751. wrstandardname:
  5752. description: 现货商品名称
  5753. type: string
  5754. type: object
  5755. models.Ermcp3ExposureDetail:
  5756. properties:
  5757. areauserid:
  5758. description: 机构ID
  5759. type: integer
  5760. changeQty:
  5761. description: 套保变动量
  5762. type: number
  5763. contracttype:
  5764. description: 现货合同类型 - 1:采购 -1:销售
  5765. type: integer
  5766. convertfactor:
  5767. description: 标仓系数
  5768. type: number
  5769. convertratio:
  5770. description: 折算系数
  5771. type: number
  5772. createtime:
  5773. description: 时间
  5774. type: string
  5775. enumdicname:
  5776. description: 现货商品单位名称
  5777. type: string
  5778. logtype:
  5779. description: 类型 - 1:套保计划 2:现货合同
  5780. type: integer
  5781. mgunitid:
  5782. description: 套保品种单位id
  5783. type: integer
  5784. mgunitidname:
  5785. description: 套保品种单位名称
  5786. type: string
  5787. middlegoodsId:
  5788. description: 套保商品id
  5789. type: integer
  5790. middlegoodscode:
  5791. description: 套保商品代码
  5792. type: string
  5793. middlegoodsname:
  5794. description: 套保商品名称
  5795. type: string
  5796. qty:
  5797. description: 数量
  5798. type: number
  5799. relateNo:
  5800. description: 现货合同/套保计划编号
  5801. type: string
  5802. unitid:
  5803. description: 现货商品单位id
  5804. type: integer
  5805. wrstandardcode:
  5806. description: 现货商品代码
  5807. type: string
  5808. wrstandardid:
  5809. description: 现货商品ID(SEQ_WRSTANDARD)
  5810. type: integer
  5811. wrstandardname:
  5812. description: 现货商品名称
  5813. type: string
  5814. type: object
  5815. models.Ermcp3ExposureFutuDetail:
  5816. properties:
  5817. accountid:
  5818. description: 交易账户id
  5819. type: integer
  5820. accountname:
  5821. description: 交易账户
  5822. type: string
  5823. begindate:
  5824. description: 开始交易日
  5825. type: string
  5826. buyorsell:
  5827. description: 方向 0-买 1-卖
  5828. type: integer
  5829. diffmgqty:
  5830. description: 套保品种今变化量
  5831. type: number
  5832. diffneedqty:
  5833. description: 应套保总量变化量
  5834. type: number
  5835. difftradeqty:
  5836. description: 交易品种今变化量
  5837. type: number
  5838. enddate:
  5839. description: 结束交易日
  5840. type: string
  5841. enumdicname:
  5842. description: 单位名称
  5843. type: string
  5844. goodscode:
  5845. description: 商品代码
  5846. type: string
  5847. goodsid:
  5848. description: 商品id
  5849. type: integer
  5850. goodsname:
  5851. description: 商品名称
  5852. type: string
  5853. holdqty:
  5854. description: 期末持仓量
  5855. type: number
  5856. middlegoodscode:
  5857. description: 套保商品代码
  5858. type: string
  5859. middlegoodsid:
  5860. description: 套保商品id
  5861. type: integer
  5862. middlegoodsname:
  5863. description: 套保商品名称
  5864. type: string
  5865. oriholdqty:
  5866. description: 期初持仓量
  5867. type: number
  5868. reckondate:
  5869. description: 交易日(RECKONDATE)
  5870. type: string
  5871. todaycloseqty:
  5872. description: 今平仓量
  5873. type: number
  5874. todayopenqty:
  5875. description: 今开仓量
  5876. type: number
  5877. tradedate:
  5878. description: 交易日(RECKONDATE)
  5879. type: string
  5880. username:
  5881. description: 用户名称(交易用户)
  5882. type: string
  5883. type: object
  5884. models.Ermcp3ExposureHedgeplanDetail:
  5885. properties:
  5886. biztype:
  5887. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5888. type: integer
  5889. changqty:
  5890. description: 应套保总量变化量
  5891. type: number
  5892. contracttype:
  5893. description: 计划类型 - 1:采购 -1:销售
  5894. type: integer
  5895. convertratio:
  5896. description: 折算系数(套保品种)
  5897. type: number
  5898. deliverygoodscode:
  5899. description: 现货商品代码
  5900. type: string
  5901. deliverygoodsid:
  5902. description: 现货商品id
  5903. type: integer
  5904. deliverygoodsname:
  5905. description: 现货商吕名称
  5906. type: string
  5907. dgunitid:
  5908. description: 现货商品单位id
  5909. type: integer
  5910. dgunitidname:
  5911. description: 单位名称(现货商品)
  5912. type: string
  5913. diffqty:
  5914. description: 套保品种今变动量
  5915. type: number
  5916. enumdicname:
  5917. description: 单位名称(品类)
  5918. type: string
  5919. hedgeplanid:
  5920. description: 套保计划id
  5921. type: string
  5922. hedgeplanno:
  5923. description: 套保计划名称
  5924. type: string
  5925. hedgeplanstatus:
  5926. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5927. type: integer
  5928. mgunitidname:
  5929. description: 单位名称(套保商品)
  5930. type: string
  5931. middlegoodscode:
  5932. description: 套保品种代码
  5933. type: string
  5934. middlegoodsid:
  5935. description: 套保品种id
  5936. type: integer
  5937. middlegoodsname:
  5938. description: 套保品种名称
  5939. type: string
  5940. needarbitrageratio:
  5941. description: 应套利比例
  5942. type: number
  5943. needhedgeratio:
  5944. description: 应套保比例
  5945. type: number
  5946. pricedqty:
  5947. description: 已定价量
  5948. type: number
  5949. qty:
  5950. description: 合同量
  5951. type: number
  5952. reckondate:
  5953. description: 交易日(reckondate)
  5954. type: string
  5955. tradedate:
  5956. description: 交易日(登记日)
  5957. type: string
  5958. unitid:
  5959. description: 品类单位id
  5960. type: integer
  5961. userid:
  5962. description: 机构id
  5963. type: integer
  5964. wrstandardcode:
  5965. description: 品类代码
  5966. type: string
  5967. wrstandardid:
  5968. description: 品类id
  5969. type: integer
  5970. wrstandardname:
  5971. description: 品类名称
  5972. type: string
  5973. type: object
  5974. models.Ermcp3ExposureParamChLog:
  5975. properties:
  5976. accountid:
  5977. description: 期货账户ID (作废, 默认为0)
  5978. type: integer
  5979. aftervalue:
  5980. description: 应套保\套利量变更后(调整后应套保总量)
  5981. type: number
  5982. areauserid:
  5983. description: 所属机构\交易用户ID
  5984. type: integer
  5985. beforevalue:
  5986. description: 应套保\套利量变更前(调整前应套保总量)
  5987. type: number
  5988. begindate:
  5989. description: 开始交易日
  5990. type: string
  5991. changelogtype:
  5992. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5993. type: integer
  5994. curvalue:
  5995. description: 当前套保\套利量(套保总量|套利总量)
  5996. type: number
  5997. diffvalue:
  5998. description: 应套保总量变化量
  5999. type: number
  6000. enddate:
  6001. description: 结束交易日
  6002. type: string
  6003. logdatetime:
  6004. description: 流水日期
  6005. type: string
  6006. logid:
  6007. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6008. type: string
  6009. middlegoodscode:
  6010. description: 套保品种代码
  6011. type: string
  6012. middlegoodsid:
  6013. description: 套保品种
  6014. type: integer
  6015. middlegoodsname:
  6016. description: 套保品种名称
  6017. type: string
  6018. paramaftervalue:
  6019. description: 参数变更后(调整后参数值)
  6020. type: number
  6021. parambeforevalue:
  6022. description: 参数变更前(调整前参数值)
  6023. type: number
  6024. reckondate:
  6025. description: 交易日(reckondate)
  6026. type: string
  6027. tradedate:
  6028. description: 交易日(yyyyMMdd)
  6029. type: string
  6030. type: object
  6031. models.Ermcp3ExpourseReport:
  6032. properties:
  6033. accountid:
  6034. description: 期货账户ID (作废, 默认为0)
  6035. type: integer
  6036. accountname:
  6037. description: 机构名称
  6038. type: string
  6039. arbitrageqty:
  6040. description: 套利量
  6041. type: number
  6042. areauserid:
  6043. description: 所属机构\交易用户ID
  6044. type: integer
  6045. begindate:
  6046. description: 开始交易日
  6047. type: string
  6048. buyfutureqty:
  6049. description: 买入期货数量
  6050. type: number
  6051. buyplanqty:
  6052. description: 采购计划数量
  6053. type: number
  6054. buypricedqty:
  6055. description: 采购合同已定价数量
  6056. type: number
  6057. cycletime:
  6058. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6059. type: string
  6060. cycletype:
  6061. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6062. type: integer
  6063. diffexposure:
  6064. description: 变动量(套保敞口)
  6065. type: number
  6066. difffutuqty:
  6067. description: 变动量(期货)
  6068. type: number
  6069. diffhedgeqty:
  6070. description: 变动量(现货应套保总量)
  6071. type: number
  6072. diffmgqtya:
  6073. description: 套保变动量
  6074. type: number
  6075. diffmgqtyb:
  6076. description: 套利变动量
  6077. type: number
  6078. diffneedqty:
  6079. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6080. type: number
  6081. diffqty:
  6082. description: 变动量(总敞口)
  6083. type: number
  6084. diffspotqty:
  6085. description: 变动量(现货) | 除税变动量
  6086. type: number
  6087. enddate:
  6088. description: 结束交易日
  6089. type: string
  6090. enumdicname:
  6091. description: 单位名称
  6092. type: string
  6093. hedgeqty:
  6094. description: 套保量
  6095. type: number
  6096. mgneedhedgeratio:
  6097. description: 套保比例(套保品的)
  6098. type: number
  6099. middlegoodsid:
  6100. description: 套保品种ID
  6101. type: integer
  6102. middlegoodsname:
  6103. description: 套保商品名称
  6104. type: string
  6105. middlgoodscode:
  6106. description: 套保商品代码
  6107. type: string
  6108. needarbitrageqty:
  6109. description: 应套利量
  6110. type: number
  6111. needarbitrageratio:
  6112. description: 套利比例(套保品的)
  6113. type: number
  6114. needhedgeexposoure:
  6115. description: 应套保敞口(套保敞口)
  6116. type: number
  6117. needhedgeqty:
  6118. description: 应套保量
  6119. type: number
  6120. needhedgeratio:
  6121. description: 应套保敞口比例
  6122. type: number
  6123. needqty:
  6124. description: 应套总量 = 应套保量 + 应套利量
  6125. type: number
  6126. oriarbitrageqty:
  6127. description: 期初套利量
  6128. type: number
  6129. oribuyfutureqty:
  6130. description: 期初买入期货数量
  6131. type: number
  6132. oribuyplanqty:
  6133. description: 期初采购计划数量
  6134. type: number
  6135. oribuypricedqty:
  6136. description: 期初采购合同已定价数量
  6137. type: number
  6138. orihedgeqty:
  6139. description: 期初套保量
  6140. type: number
  6141. orineedarbitrageqty:
  6142. description: 期初应套利量
  6143. type: number
  6144. orineedhedgeexposoure:
  6145. description: 期初应套保敞口
  6146. type: number
  6147. orineedhedgeqty:
  6148. description: 期初应套保量
  6149. type: number
  6150. orisellfutureqty:
  6151. description: 期初卖出期货数量
  6152. type: number
  6153. orisellplanqty:
  6154. description: 期初销售计划数量
  6155. type: number
  6156. orisellpricedqty:
  6157. description: 期初销售合同已定价数量
  6158. type: number
  6159. oritotalexposure:
  6160. description: 期初实时总敞口
  6161. type: number
  6162. oritotalfutureqty:
  6163. description: 期初期货头寸总量
  6164. type: number
  6165. oritotalneedhedgeqty:
  6166. description: 期初应套保总量
  6167. type: number
  6168. oritotalspotqty:
  6169. description: 期初现货头寸总量
  6170. type: number
  6171. reckondate:
  6172. description: 日照时期(yyyyMMdd)
  6173. type: string
  6174. sellfutureqty:
  6175. description: 卖出期货数量
  6176. type: number
  6177. sellplanqty:
  6178. description: 销售计划数量
  6179. type: number
  6180. sellpricedqty:
  6181. description: 销售合同已定价数量
  6182. type: number
  6183. totalexposure:
  6184. description: 实时总敞口(总敞口)
  6185. type: number
  6186. totalfutureqty:
  6187. description: 期货头寸总量(期货总量)
  6188. type: number
  6189. totalhedgeratio:
  6190. description: 敞口比例
  6191. type: number
  6192. totalneedhedgeqty:
  6193. description: 应套保总量(现货应套保总量)
  6194. type: number
  6195. totalspotqty:
  6196. description: 现货头寸总量 | 除税总量
  6197. type: number
  6198. unitid:
  6199. description: 单位id
  6200. type: integer
  6201. updatetime:
  6202. description: 更新时间
  6203. type: string
  6204. type: object
  6205. models.Ermcp3FinanceReport:
  6206. properties:
  6207. accountname:
  6208. description: 机构名称
  6209. type: string
  6210. areauserid:
  6211. description: 所属机构\交易用户ID
  6212. type: integer
  6213. begindate:
  6214. description: 开始交易日
  6215. type: string
  6216. biztype:
  6217. description: 业务类型 - 1:套保 2:套利
  6218. type: integer
  6219. brandname:
  6220. description: 品牌名称
  6221. type: string
  6222. buypreinvoicedamount:
  6223. description: 采购预收票额(预收票额)
  6224. type: number
  6225. buyprepaidamount:
  6226. description: 采购预付款额(预付货款额)
  6227. type: number
  6228. buytodayinvoiceamount:
  6229. description: 采购今收票额(今收票额)
  6230. type: number
  6231. buytodayrefundamount:
  6232. description: 采购今收退款额(今收退款额)
  6233. type: number
  6234. buytodaysettleamount:
  6235. description: 采购今付款额(今付货款额)
  6236. type: number
  6237. buyuninvoicedamount:
  6238. description: 采购应收票额(应收票额)
  6239. type: number
  6240. buyunpaidamount:
  6241. description: 采购应付款额(应付货款额)
  6242. type: number
  6243. currencyid:
  6244. description: 结算币种ID
  6245. type: integer
  6246. currencyname:
  6247. description: 币种名称
  6248. type: string
  6249. cycletime:
  6250. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6251. type: string
  6252. cycletype:
  6253. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6254. type: integer
  6255. deliverygoodscode:
  6256. description: 现货品种代码
  6257. type: string
  6258. deliverygoodsid:
  6259. description: 现货品种ID
  6260. type: integer
  6261. deliverygoodsname:
  6262. description: 现货品种名称
  6263. type: string
  6264. enddate:
  6265. description: 结束交易日
  6266. type: string
  6267. reckondate:
  6268. description: 日照时期(yyyyMMdd)
  6269. type: string
  6270. sellpreinvoicedamount:
  6271. description: 销售预开票额(预开票额)
  6272. type: number
  6273. sellprepaidamount:
  6274. description: 销售预收款额(预收货款额)
  6275. type: number
  6276. selltodayinvoiceamount:
  6277. description: 销售今开票额(今开票额)
  6278. type: number
  6279. selltodayrefundamount:
  6280. description: 销售今付退款额(今付退款额)
  6281. type: number
  6282. selltodaysettleamount:
  6283. description: 销售今收款额(今收货款额)
  6284. type: number
  6285. selluninvoicedamount:
  6286. description: 销售应开票额(应开票额)
  6287. type: number
  6288. sellunpaidamount:
  6289. description: 销售应收款额(应收货款额)
  6290. type: number
  6291. spotgoodsbrandid:
  6292. description: 现货品牌ID
  6293. type: integer
  6294. todaypaysum:
  6295. description: 今付款合计
  6296. type: number
  6297. todayreceivesum:
  6298. description: 今收款合计
  6299. type: number
  6300. updatetime:
  6301. description: 更新时间
  6302. type: string
  6303. wrfactortypeid:
  6304. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6305. type: integer
  6306. wrstandardcode:
  6307. description: 品类代码
  6308. type: string
  6309. wrstandardid:
  6310. description: 现货商品ID
  6311. type: integer
  6312. wrstandardname:
  6313. description: 品类名称
  6314. type: string
  6315. type: object
  6316. models.Ermcp3GoodsGroup:
  6317. properties:
  6318. agreeunit:
  6319. description: 合约单位
  6320. type: number
  6321. areauserid:
  6322. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6323. type: integer
  6324. canshort:
  6325. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6326. type: integer
  6327. closepricemode:
  6328. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6329. type: integer
  6330. createtime:
  6331. description: 创建时间
  6332. type: string
  6333. creatorid:
  6334. description: 创建人
  6335. type: integer
  6336. currencyid:
  6337. description: 报价货币ID
  6338. type: integer
  6339. decimalplace:
  6340. description: 报价小数位
  6341. type: integer
  6342. enumdicname:
  6343. description: 单位名称
  6344. type: string
  6345. exchangefullname:
  6346. description: 交易所全称
  6347. type: string
  6348. excludecfg:
  6349. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6350. type: integer
  6351. exexchangecode:
  6352. description: 交易所代码
  6353. type: string
  6354. exexchangeid:
  6355. description: 外部交易所ID[通道交易]
  6356. type: integer
  6357. exexchangename:
  6358. description: 交易所名称
  6359. type: string
  6360. goodsgroupid:
  6361. description: 商品组ID(自增ID)
  6362. type: integer
  6363. goodsgroupname:
  6364. description: 商品组名称
  6365. type: string
  6366. goodsgroupstatus:
  6367. description: 商品组状态 - 1:正常 2:注销
  6368. type: integer
  6369. goodunitid:
  6370. description: 报价单位ID
  6371. type: integer
  6372. groupcategroyid:
  6373. description: 品种分类ID
  6374. type: integer
  6375. innerdealmode:
  6376. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6377. type: integer
  6378. marketid:
  6379. description: 所属市场ID
  6380. type: integer
  6381. modifierid:
  6382. description: 修改人
  6383. type: integer
  6384. modifytime:
  6385. description: 修改时间
  6386. type: string
  6387. outerdealmode:
  6388. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6389. type: integer
  6390. outergroupcode:
  6391. description: 外部商品组代码[通道交易]
  6392. type: string
  6393. quoteminunit:
  6394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6395. type: integer
  6396. quotesourcegroupid:
  6397. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6398. type: integer
  6399. syncgoodsqty:
  6400. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6401. type: integer
  6402. required:
  6403. - areauserid
  6404. type: object
  6405. models.Ermcp3HPMiddleGoods:
  6406. properties:
  6407. biztype:
  6408. description: 业务类型 1:套保 2:套利
  6409. type: integer
  6410. contracttype:
  6411. description: 合同类型 1:采购 -1:销售
  6412. type: integer
  6413. convertratio:
  6414. description: 折算系数
  6415. type: number
  6416. customername:
  6417. description: 对手手名称
  6418. type: string
  6419. customeruserid:
  6420. description: 对手id
  6421. type: integer
  6422. enumdicname:
  6423. description: 现货单位名称
  6424. type: string
  6425. hedgeplanid:
  6426. description: 计划id
  6427. type: string
  6428. hedgeplanno:
  6429. description: 计划编号
  6430. type: string
  6431. middlegoodsid:
  6432. description: 套保品种ID
  6433. type: integer
  6434. middlegoodsplanqty3:
  6435. description: 应套保计划量
  6436. type: number
  6437. needhedgeratio:
  6438. description: 套保比例
  6439. type: number
  6440. pricedqty:
  6441. description: 已定价量
  6442. type: number
  6443. relatedmiddlegoodsqty:
  6444. description: 已关联量(套保品种)(期货)
  6445. type: number
  6446. unitid:
  6447. description: 现货单位id
  6448. type: integer
  6449. userid:
  6450. description: 用户id
  6451. type: integer
  6452. vatrate:
  6453. description: 增值税率
  6454. type: number
  6455. wrstandardcode:
  6456. description: 现货商品代码
  6457. type: string
  6458. wrstandardid:
  6459. description: 现货商品id
  6460. type: integer
  6461. wrstandardname:
  6462. description: 现货商品名称
  6463. type: string
  6464. type: object
  6465. models.Ermcp3HedgePlan:
  6466. properties:
  6467. accountid:
  6468. description: 资金账号
  6469. type: integer
  6470. areauserid:
  6471. description: 用户ID
  6472. type: integer
  6473. auditid:
  6474. description: 审核id
  6475. type: integer
  6476. auditname:
  6477. description: 审核人名称
  6478. type: string
  6479. auditremark:
  6480. description: 审核备注
  6481. type: string
  6482. auditsrc:
  6483. description: 审核来源 1-管理端 2-终端
  6484. type: integer
  6485. audittime:
  6486. description: 审核时间
  6487. type: string
  6488. contracttype:
  6489. description: 计划类型 - 1:采购 -1:销售
  6490. type: integer
  6491. convertfactor:
  6492. description: 标仓系数
  6493. type: number
  6494. createtime:
  6495. description: 创建时间
  6496. type: string
  6497. currencyid:
  6498. description: 币种id
  6499. type: integer
  6500. currencyname:
  6501. description: 币种名称
  6502. type: string
  6503. deliverygoodscode:
  6504. description: 现货品种代码
  6505. type: string
  6506. deliverygoodsid:
  6507. description: 现货品种ID
  6508. type: integer
  6509. deliverygoodsname:
  6510. description: 现货品种名称
  6511. type: string
  6512. enumdicname:
  6513. description: 单位名称(现货商品)
  6514. type: string
  6515. hedgeplanid:
  6516. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6517. type: string
  6518. hedgeplanno:
  6519. description: 套保计划编号(名称)
  6520. type: string
  6521. hedgeplanstatus:
  6522. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6523. type: integer
  6524. planqty:
  6525. description: 计划数量
  6526. type: number
  6527. plantime:
  6528. description: 计划时间
  6529. type: string
  6530. producttype:
  6531. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6532. type: integer
  6533. remark:
  6534. description: 备注
  6535. type: string
  6536. spotgoodsdesc:
  6537. description: 商品型号
  6538. type: string
  6539. taaccountname:
  6540. description: 资金账号名称
  6541. type: string
  6542. tradeuserid:
  6543. description: 交易用户id
  6544. type: integer
  6545. tradeusername:
  6546. description: 交易用户名称
  6547. type: string
  6548. unitid:
  6549. description: 单位id(现货商品)
  6550. type: integer
  6551. updatetime:
  6552. description: 更新时间
  6553. type: string
  6554. vatrate:
  6555. description: 增值税率
  6556. type: number
  6557. wrstandardcode:
  6558. description: 品类代码
  6559. type: string
  6560. wrstandardid:
  6561. description: 品类id
  6562. type: integer
  6563. wrstandardname:
  6564. description: 品类名称
  6565. type: string
  6566. wrunitid:
  6567. description: 品类单位id
  6568. type: integer
  6569. wrunitidame:
  6570. description: 品类单位名称
  6571. type: string
  6572. type: object
  6573. models.Ermcp3InnerTradeLink:
  6574. properties:
  6575. accountid:
  6576. description: 期货账号代码 | 资金账号ID
  6577. type: integer
  6578. buyorsell:
  6579. description: 方向 - 0:买 1:卖
  6580. type: integer
  6581. channelbuildtype:
  6582. description: 委托单据类型 0:无 1:建仓 2:平仓
  6583. type: integer
  6584. currencyid:
  6585. description: 币种id
  6586. type: integer
  6587. currencyname:
  6588. description: 结算币种 名称
  6589. type: string
  6590. goodscode:
  6591. description: 商品代码
  6592. type: string
  6593. goodsid:
  6594. description: 商品ID
  6595. type: integer
  6596. goodsname:
  6597. description: 商品名称
  6598. type: string
  6599. outtradeid:
  6600. description: 外部成交单号
  6601. type: string
  6602. taname:
  6603. description: 期货账户名称
  6604. type: string
  6605. tradeid:
  6606. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6607. type: string
  6608. tradeprice:
  6609. description: 成交价格
  6610. type: number
  6611. tradeqty:
  6612. description: 期货成交数量
  6613. type: integer
  6614. tradetime:
  6615. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6616. type: string
  6617. username:
  6618. description: 用户名称
  6619. type: string
  6620. type: object
  6621. models.Ermcp3OutTradeLink:
  6622. properties:
  6623. buyorsell:
  6624. description: 买卖方向 - 0:买 1:卖
  6625. type: integer
  6626. channelbuildtype:
  6627. description: 开平标志- 0:无 1:建仓 2:平仓
  6628. type: integer
  6629. currencyname:
  6630. description: 币种名称
  6631. type: string
  6632. exexchangecode:
  6633. description: 交易所代码
  6634. type: string
  6635. exexchangename:
  6636. description: 交易所名称
  6637. type: string
  6638. goodscode:
  6639. description: 合约代码
  6640. type: string
  6641. goodsid:
  6642. description: 合约id
  6643. type: integer
  6644. goodsname:
  6645. description: 合约名称
  6646. type: string
  6647. hasinnerorder:
  6648. description: 是否有内部单关联 - 0:无 1:有
  6649. type: integer
  6650. hedgeaccountcode:
  6651. description: 外部账号 | 对冲账号
  6652. type: string
  6653. outtradeid:
  6654. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6655. type: string
  6656. tradeprice:
  6657. description: 成交价格
  6658. type: number
  6659. tradeqty:
  6660. description: 成交数量
  6661. type: integer
  6662. tradetime:
  6663. description: 成交时间
  6664. type: string
  6665. type: object
  6666. models.Ermcp3PaAreaAuditCfg:
  6667. properties:
  6668. areauserid:
  6669. description: 用户ID
  6670. type: integer
  6671. buyinauditflag:
  6672. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6673. type: integer
  6674. costratioauditflag:
  6675. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6676. type: integer
  6677. customerauditflag:
  6678. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6679. type: integer
  6680. deliveryauditflag:
  6681. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6682. type: integer
  6683. invoiceauditflag:
  6684. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6685. type: integer
  6686. mgneedhedgeratioauditflag:
  6687. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6688. type: integer
  6689. moneyauditflag:
  6690. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6691. type: integer
  6692. operatorid:
  6693. description: 操作人
  6694. type: integer
  6695. operatorsrc:
  6696. description: 操作来源 - 1:管理端 2:终端
  6697. type: integer
  6698. pointpriceauditflag:
  6699. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6700. type: integer
  6701. produceinauditflag:
  6702. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6703. type: integer
  6704. produceoutauditflag:
  6705. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6706. type: integer
  6707. selloutauditflag:
  6708. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6709. type: integer
  6710. sgconvertratioauditflag:
  6711. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6712. type: integer
  6713. sgvtaratioauditflag:
  6714. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6715. type: integer
  6716. spotcontractauditflag:
  6717. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6718. type: integer
  6719. updatetime:
  6720. description: 更新时间
  6721. type: string
  6722. type: object
  6723. models.Ermcp3PaAreaSubject:
  6724. properties:
  6725. areauserid:
  6726. description: 所属机构
  6727. type: integer
  6728. canmodify:
  6729. description: 是否可修改 - 0:否 1:是
  6730. type: integer
  6731. createtime:
  6732. description: 创建时间
  6733. type: string
  6734. creatorid:
  6735. description: 创建人ID
  6736. type: string
  6737. creatorsrc:
  6738. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6739. type: integer
  6740. modifierid:
  6741. description: 修改人
  6742. type: string
  6743. modifiersrc:
  6744. description: 修改人来源 - 1:管理端 2:终端
  6745. type: integer
  6746. modifytime:
  6747. description: 修改时间
  6748. type: string
  6749. parentsubjectid:
  6750. description: 上级主体ID
  6751. type: string
  6752. remark:
  6753. description: 备注
  6754. type: string
  6755. subjectid:
  6756. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6757. type: integer
  6758. subjectname:
  6759. description: 主体名称
  6760. type: string
  6761. subjectstatus:
  6762. description: '主体状态 - 1:正常 2: 停用'
  6763. type: integer
  6764. subjecttype:
  6765. description: 主体类型 - 1:交易主体 2:业务部门
  6766. type: integer
  6767. type: object
  6768. models.Ermcp3PaTradeLink:
  6769. properties:
  6770. accountid:
  6771. description: 期货账户代码 | 账号ID
  6772. type: integer
  6773. agreeunit:
  6774. description: 合约乘数
  6775. type: number
  6776. buyorsell:
  6777. description: 方向 - 0:买 1:卖
  6778. type: integer
  6779. channelbuildtype:
  6780. description: 委托单据类型 0:无 1:建仓 2:平仓
  6781. type: integer
  6782. charge:
  6783. description: 手续费
  6784. type: number
  6785. closepl:
  6786. description: 平仓盈亏
  6787. type: number
  6788. closetype:
  6789. description: 平仓方式 - 0:无 1:平今 2:平昨
  6790. type: integer
  6791. convertratio:
  6792. description: 折算系数
  6793. type: number
  6794. enumdicname:
  6795. description: 单位名称
  6796. type: string
  6797. executeprice:
  6798. description: 执行价 [期权]
  6799. type: integer
  6800. goodscode:
  6801. description: 合约代码
  6802. type: string
  6803. goodsgroupid:
  6804. description: 对冲品种ID[期货合约商品组ID]
  6805. type: integer
  6806. goodsid:
  6807. description: 商品ID
  6808. type: integer
  6809. goodsname:
  6810. description: 合约名称
  6811. type: string
  6812. goodunitid:
  6813. description: 单位id
  6814. type: integer
  6815. hedgeflag:
  6816. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6817. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6818. type: integer
  6819. marketid:
  6820. description: 市场ID
  6821. type: integer
  6822. middlegoodsid:
  6823. description: 套保品种ID
  6824. type: integer
  6825. middlegoodsqty:
  6826. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6827. type: number
  6828. optioncode:
  6829. description: 期权代码 [期权]
  6830. type: string
  6831. ordertype:
  6832. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6833. type: integer
  6834. ordertypename:
  6835. description: 订单类型
  6836. type: string
  6837. parentaccountid:
  6838. description: 所属母账户
  6839. type: integer
  6840. premium:
  6841. description: 权利金 [期权]
  6842. type: number
  6843. relatedlot:
  6844. description: 已关联数量(已关联数量手) | db:关联手数
  6845. type: number
  6846. relatedouttradeid:
  6847. description: 关联外部成交单ID
  6848. type: string
  6849. relatedqty:
  6850. description: 关联数量
  6851. type: number
  6852. spotcontractid:
  6853. description: 现货合同ID [4:套期保值\10\11]
  6854. type: string
  6855. taname:
  6856. description: 期货账户名称
  6857. type: string
  6858. tradeamount:
  6859. description: 成交金额(账户)
  6860. type: number
  6861. tradedate:
  6862. description: 交易日(yyyyMMdd)
  6863. type: string
  6864. tradeid:
  6865. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6866. type: string
  6867. tradelot:
  6868. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6869. type: integer
  6870. tradeprice:
  6871. description: 成交价格
  6872. type: number
  6873. tradetime:
  6874. description: 时间 | db:成交时间
  6875. type: string
  6876. tradetype:
  6877. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6878. type: integer
  6879. userid:
  6880. description: 所属机构 - 所属母账户的UserID
  6881. type: string
  6882. username:
  6883. description: 用户名称
  6884. type: string
  6885. type: object
  6886. models.Ermcp3ParamChangeApp:
  6887. properties:
  6888. aftervalue:
  6889. description: 变更后
  6890. type: number
  6891. applicationid:
  6892. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6893. type: string
  6894. applyid:
  6895. description: 申请人
  6896. type: string
  6897. applyname:
  6898. description: 申请人名称(代码)
  6899. type: string
  6900. applyremark:
  6901. description: 申请备注
  6902. type: string
  6903. applysrc:
  6904. description: 申请来源 - 1:管理端 2:终端
  6905. type: integer
  6906. applystatus:
  6907. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6908. type: integer
  6909. applytime:
  6910. description: 申请时间
  6911. type: string
  6912. areauserid:
  6913. description: 所属机构用户ID
  6914. type: integer
  6915. auditid:
  6916. description: 审核人
  6917. type: string
  6918. auditname:
  6919. description: 审核人名称(代码)
  6920. type: string
  6921. auditremark:
  6922. description: 审核备注
  6923. type: string
  6924. auditsrc:
  6925. description: 审核来源 - 1:管理端 2:终端
  6926. type: integer
  6927. audittime:
  6928. description: 审核时间
  6929. type: string
  6930. audittradedate:
  6931. description: 审核交易日(yyyyMMdd)
  6932. type: string
  6933. beforevalue:
  6934. description: 变更前
  6935. type: number
  6936. deliverygoodscode:
  6937. description: 品种代码
  6938. type: string
  6939. deliverygoodsid:
  6940. description: 品种id
  6941. type: integer
  6942. deliverygoodsname:
  6943. description: 品种名称
  6944. type: string
  6945. middlegoodscode:
  6946. description: 套保品种代码
  6947. type: string
  6948. middlegoodsid:
  6949. description: 套保品种ID [ParamChangeType = 2,3,4]
  6950. type: integer
  6951. middlegoodsname:
  6952. description: 套保品种名称
  6953. type: string
  6954. operatetype:
  6955. description: 操作类型 - 1:新增 2:修改
  6956. type: integer
  6957. paramchangetype:
  6958. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6959. type: integer
  6960. wrstandardcode:
  6961. description: 现货商品代码
  6962. type: string
  6963. wrstandardid:
  6964. description: 现货商品ID [ParamChangeType = 1,2,3]
  6965. type: integer
  6966. wrstandardname:
  6967. description: 现货商品名称
  6968. type: string
  6969. type: object
  6970. models.Ermcp3RootUserAccount:
  6971. properties:
  6972. accountname:
  6973. description: 账户名称(机构名称)
  6974. type: string
  6975. accountstatus:
  6976. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6977. type: integer
  6978. applysrc:
  6979. description: 申请来源 - 1:管理端 2:终端
  6980. type: integer
  6981. auditremark:
  6982. description: 审核备注
  6983. type: string
  6984. auditsrc:
  6985. description: 审核来源 - 1:管理端 2:终端
  6986. type: integer
  6987. audittime:
  6988. description: 审核时间
  6989. type: string
  6990. audituserid:
  6991. description: 审核人
  6992. type: integer
  6993. broker:
  6994. description: 所属经纪人ID
  6995. type: integer
  6996. canceltime:
  6997. description: 销户时间
  6998. type: string
  6999. canceluserid:
  7000. description: 销户人
  7001. type: integer
  7002. canrecommend:
  7003. description: 是否可推荐 - 0:不可 1;可
  7004. type: integer
  7005. createtime:
  7006. description: 创建时间
  7007. type: string
  7008. creatorid:
  7009. description: 创建人
  7010. type: integer
  7011. hasauth:
  7012. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7013. type: integer
  7014. isanonymous:
  7015. description: 是否匿名下单 - 0:否 1:是
  7016. type: integer
  7017. maxinvestornum:
  7018. description: 最大用户数(经纪会员下投资者个数)
  7019. type: integer
  7020. memberuserid:
  7021. description: 所属会员ID
  7022. type: integer
  7023. modifierid:
  7024. description: 修改人
  7025. type: integer
  7026. modifyremark:
  7027. description: 变更备注
  7028. type: string
  7029. modifystatus:
  7030. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7031. type: integer
  7032. modifytime:
  7033. description: 修改时间
  7034. type: string
  7035. nickname:
  7036. description: 昵称
  7037. type: string
  7038. parenttopuser:
  7039. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7040. type: string
  7041. parentuserid:
  7042. description: 所属机构ID
  7043. type: integer
  7044. reckonaccountid:
  7045. description: 默认结算资金账号ID(机构分润使用) 作废
  7046. type: integer
  7047. refercount:
  7048. description: 推荐总人数
  7049. type: integer
  7050. refereeuserid:
  7051. description: 推荐人ID
  7052. type: integer
  7053. refernum:
  7054. description: 推荐码
  7055. type: string
  7056. rootuserid:
  7057. description: 根用户ID
  7058. type: integer
  7059. subaccountlevel:
  7060. description: 子账户层数
  7061. type: integer
  7062. subarealevelpath:
  7063. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7064. type: string
  7065. userid:
  7066. description: 用户ID
  7067. type: integer
  7068. usertype:
  7069. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7070. type: integer
  7071. type: object
  7072. models.Ermcp3SCMiddleGoods:
  7073. properties:
  7074. biztype:
  7075. description: 业务类型 1:套保 2:套利
  7076. type: integer
  7077. contractno:
  7078. description: 合同编号
  7079. type: string
  7080. contracttype:
  7081. description: 合同类型 1:采购 -1:销售
  7082. type: integer
  7083. convertratio:
  7084. description: 折算系数
  7085. type: number
  7086. customername:
  7087. description: 对手手名称
  7088. type: string
  7089. customeruserid:
  7090. description: 对手id
  7091. type: integer
  7092. deliverygoodscode:
  7093. description: 现货品种代码
  7094. type: string
  7095. deliverygoodsid:
  7096. description: 现货品种ID
  7097. type: integer
  7098. deliverygoodsname:
  7099. description: 现货品种名称
  7100. type: string
  7101. enumdicname:
  7102. description: 现货单位名称
  7103. type: string
  7104. middlegoodsid:
  7105. description: 套保品种ID
  7106. type: integer
  7107. middlegoodspricedqty3:
  7108. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7109. type: number
  7110. needhedgeratio:
  7111. description: 套保比例
  7112. type: number
  7113. pricedqty:
  7114. description: 已定价量
  7115. type: number
  7116. relatedmiddlegoodsqty:
  7117. description: 已关联量(套保品种)(期货)
  7118. type: number
  7119. spotcontractid:
  7120. description: 合同编号
  7121. type: string
  7122. unitid:
  7123. description: 现货单位id
  7124. type: integer
  7125. userid:
  7126. description: 用户id
  7127. type: integer
  7128. vatrate:
  7129. description: 增值税率
  7130. type: number
  7131. wrstandardcode:
  7132. description: 现货商品代码
  7133. type: string
  7134. wrstandardid:
  7135. description: 现货商品id
  7136. type: integer
  7137. wrstandardname:
  7138. description: 现货商品名称
  7139. type: string
  7140. type: object
  7141. models.Ermcp3SCMiddleGoodsReport:
  7142. properties:
  7143. begindate:
  7144. description: 开始交易日
  7145. type: string
  7146. contractno:
  7147. description: 合同编号
  7148. type: string
  7149. contracttype:
  7150. description: 合同类型 1:采购 -1:销售
  7151. type: integer
  7152. convertratio:
  7153. description: 折算系数
  7154. type: number
  7155. cycletime:
  7156. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7157. type: string
  7158. cycletype:
  7159. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7160. type: integer
  7161. deliverygoodscode:
  7162. description: 品种代码
  7163. type: string
  7164. deliverygoodsid:
  7165. description: 现货品种ID
  7166. type: integer
  7167. deliverygoodsname:
  7168. description: 品种名称
  7169. type: string
  7170. diffprice:
  7171. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  7172. type: number
  7173. diffqty:
  7174. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  7175. type: number
  7176. enddate:
  7177. description: 结束交易日
  7178. type: string
  7179. hedgeplanqty:
  7180. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  7181. type: number
  7182. matchname:
  7183. description: 交易对手方(个人:用户名称 企业:简称)
  7184. type: string
  7185. matchnickname:
  7186. description: 交易对手方昵称
  7187. type: string
  7188. middlegoodscode:
  7189. description: 套保品种代码
  7190. type: string
  7191. middlegoodsid:
  7192. description: 套保品种ID
  7193. type: integer
  7194. middlegoodsname:
  7195. description: 套保品种名称
  7196. type: string
  7197. middlegoodspricedqty:
  7198. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  7199. type: number
  7200. middlegoodspricedqty2:
  7201. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  7202. type: number
  7203. middlegoodspricedqty3:
  7204. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  7205. type: number
  7206. needhedgeratio:
  7207. description: 套保系数
  7208. type: number
  7209. pricedamount:
  7210. description: 已定价额(现货)
  7211. type: number
  7212. pricedamount2:
  7213. description: 已定价额(现货-基价额)
  7214. type: number
  7215. pricedqty:
  7216. description: 已定价量(现货)
  7217. type: number
  7218. reckondate:
  7219. description: 日照时期(yyyyMMdd)
  7220. type: string
  7221. relatedmiddlegoodsamount:
  7222. description: 已关联额(期货)
  7223. type: number
  7224. relatedmiddlegoodsqty:
  7225. description: 已关联量(套保品种)(期货)
  7226. type: number
  7227. spotcontractid:
  7228. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7229. type: string
  7230. todayavgfutuprice:
  7231. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  7232. type: number
  7233. todayavgprice:
  7234. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  7235. type: number
  7236. todayavgprice2:
  7237. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  7238. type: number
  7239. todaypricedamount:
  7240. description: 今日定价额(现货)
  7241. type: number
  7242. todaypricedamount2:
  7243. description: 今日定价额(现货-基价额)
  7244. type: number
  7245. todaypricedqty:
  7246. description: 今日定价量(现货)
  7247. type: number
  7248. todayrelatedfutureqty:
  7249. description: 今日关联量(期货)
  7250. type: number
  7251. todayrelatedmiddlegoodsamount:
  7252. description: 今日关联额(期货)
  7253. type: number
  7254. todayrelatedmiddlegoodsqty:
  7255. description: 今日关联量(套保品-期货)
  7256. type: number
  7257. updatetime:
  7258. description: 更新时间
  7259. type: string
  7260. userid:
  7261. description: 合同所属用户id
  7262. type: integer
  7263. vatrate:
  7264. description: 增值税率
  7265. type: number
  7266. wrstandardcode:
  7267. description: 商品(品类) 代码
  7268. type: string
  7269. wrstandardid:
  7270. description: 现货商品ID
  7271. type: integer
  7272. wrstandardname:
  7273. description: 商品(品类) 名称
  7274. type: string
  7275. type: object
  7276. models.Ermcp3SellBuyContract:
  7277. properties:
  7278. accountid:
  7279. description: 期货账户id
  7280. type: string
  7281. accountname:
  7282. description: 账户名称
  7283. type: string
  7284. attachment:
  7285. description: 附件
  7286. type: string
  7287. audittime:
  7288. description: 审核时间
  7289. type: string
  7290. bizsubjectid:
  7291. description: 归属业务部门ID - SubjectID
  7292. type: integer
  7293. biztype:
  7294. description: 业务类型 1-套保 2-套利
  7295. type: integer
  7296. brandname:
  7297. description: 品牌名称
  7298. type: string
  7299. contracctstatus:
  7300. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7301. type: integer
  7302. contractmargin:
  7303. description: 合同保证金
  7304. type: number
  7305. contractno:
  7306. description: 合同编号
  7307. type: string
  7308. contracttype:
  7309. description: 合同类型 1-采购, -1-销售
  7310. type: integer
  7311. convertfactor:
  7312. description: 标仓系数(品类)
  7313. type: number
  7314. createtime:
  7315. description: 创建时间
  7316. type: string
  7317. currencyid:
  7318. description: 币种id
  7319. type: integer
  7320. currencyname:
  7321. description: 币种名称
  7322. type: string
  7323. daikaiamount:
  7324. description: 应收(开)票额 | 未收票额
  7325. type: number
  7326. deliveryenddate:
  7327. description: 交割结束日
  7328. type: string
  7329. deliverygoodscode:
  7330. description: 现货品种代码
  7331. type: string
  7332. deliverygoodsid:
  7333. description: 现货商品ID
  7334. type: integer
  7335. deliverygoodsname:
  7336. description: 现货品种名称
  7337. type: string
  7338. deliverystartdate:
  7339. description: 交割开始日
  7340. type: string
  7341. enddate:
  7342. description: 点价结束日
  7343. type: string
  7344. enumdicname:
  7345. description: 单位名称
  7346. type: string
  7347. goodscode:
  7348. description: 点价商品代码
  7349. type: string
  7350. goodsgroupid:
  7351. description: 点价商品组id
  7352. type: integer
  7353. goodsid:
  7354. description: 点价商品ID
  7355. type: integer
  7356. goodsname:
  7357. description: 点价商品名称
  7358. type: string
  7359. invoiceamount:
  7360. description: 已开票额
  7361. type: number
  7362. loanamount:
  7363. description: 贷款总额=已定价额+调整金额
  7364. type: number
  7365. margin:
  7366. description: 保证金
  7367. type: number
  7368. meruserid:
  7369. description: 跟单员id
  7370. type: integer
  7371. meruserlogincode:
  7372. description: 跟单员登录代码
  7373. type: string
  7374. merusername:
  7375. description: 跟单员名称
  7376. type: string
  7377. nickname:
  7378. description: 账户昵称
  7379. type: string
  7380. orireckonrealqty:
  7381. description: 应交收量
  7382. type: number
  7383. payamount:
  7384. description: 已收付额(收款或付款)
  7385. type: number
  7386. preinvoiceamount:
  7387. description: 预收(开)票额
  7388. type: number
  7389. prepayamount:
  7390. description: 预收付额
  7391. type: number
  7392. price:
  7393. description: 价格
  7394. type: number
  7395. pricedamount:
  7396. description: 已定价额
  7397. type: number
  7398. pricedavg:
  7399. description: 已点均价
  7400. type: number
  7401. pricedqty:
  7402. description: 已定价量
  7403. type: number
  7404. pricemove:
  7405. description: 升贴水
  7406. type: number
  7407. pricetype:
  7408. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7409. type: integer
  7410. producttype:
  7411. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7412. type: integer
  7413. qty:
  7414. description: 合同量
  7415. type: number
  7416. reckonadjustamount:
  7417. description: 调整金额
  7418. type: number
  7419. reckonedamount:
  7420. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7421. type: number
  7422. reckonotheramount:
  7423. description: 其它费用
  7424. type: number
  7425. reckonrealqty:
  7426. description: 已交收量
  7427. type: number
  7428. remark:
  7429. description: 备注
  7430. type: string
  7431. saleuserid:
  7432. description: 业务员id
  7433. type: integer
  7434. saleuserlogincode:
  7435. description: 业务员登录代码
  7436. type: string
  7437. saleusername:
  7438. description: 业务员名称
  7439. type: string
  7440. spotcontractid:
  7441. description: 合同ID
  7442. type: string
  7443. spotgoodsbrandid:
  7444. description: 现货品牌ID(DGFactoryItem表的ID)
  7445. type: integer
  7446. spotgoodsdesc:
  7447. description: 商品型号(商品规格)
  7448. type: string
  7449. startdate:
  7450. description: 点价开始日
  7451. type: string
  7452. subjectid:
  7453. description: 交易主体ID
  7454. type: integer
  7455. subjectname:
  7456. description: 交易主体名称
  7457. type: string
  7458. totalamount:
  7459. description: 合计总额
  7460. type: number
  7461. tradeuserid:
  7462. description: 交易员id
  7463. type: integer
  7464. tradeuserlogincode:
  7465. description: 交易员登录代码
  7466. type: string
  7467. tradeusername:
  7468. description: 交易员名称
  7469. type: string
  7470. unpayamount:
  7471. description: 应收付款额(应支付或应收款) | 未付款额
  7472. type: number
  7473. unpricedqty:
  7474. description: 未定价量
  7475. type: number
  7476. unsureqty:
  7477. description: 未确定量 | 未交收量
  7478. type: number
  7479. userid:
  7480. description: 机构ID
  7481. type: integer
  7482. vatrate:
  7483. description: 增值税率
  7484. type: number
  7485. wrstandardcode:
  7486. description: 品类代码
  7487. type: string
  7488. wrstandardid:
  7489. description: 品类ID
  7490. type: integer
  7491. wrstandardname:
  7492. description: 品类名称
  7493. type: string
  7494. type: object
  7495. models.Ermcp3SpotGoodsPrice:
  7496. properties:
  7497. areauserid:
  7498. description: 所属机构id
  7499. type: integer
  7500. brandname:
  7501. description: 品牌名称
  7502. type: string
  7503. currencyid:
  7504. description: 报价货币ID
  7505. type: integer
  7506. currencyname:
  7507. description: 币种名称
  7508. type: string
  7509. deliverygoodscode:
  7510. description: 现货商品代码
  7511. type: string
  7512. deliverygoodsid:
  7513. description: 现货商品id
  7514. type: integer
  7515. deliverygoodsname:
  7516. description: 现货商品名称
  7517. type: string
  7518. enumdicname:
  7519. description: 现货商品单位名称
  7520. type: string
  7521. gbenumdicname:
  7522. description: 品类单位名称
  7523. type: string
  7524. gmunitid:
  7525. description: 品类单位id
  7526. type: integer
  7527. isvalid:
  7528. description: 是否有效 - 0:无效 1:有效
  7529. type: integer
  7530. operateid:
  7531. description: 最后操作人
  7532. type: integer
  7533. operatesrc:
  7534. description: 最后操作来源 - 1:管理端 2:终端
  7535. type: integer
  7536. operatetime:
  7537. description: 最后操作时间
  7538. type: string
  7539. operatorname:
  7540. description: 操作人名称
  7541. type: string
  7542. spotgoodsbrandid:
  7543. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7544. type: integer
  7545. spotgoodsprice:
  7546. description: 现货价格
  7547. type: number
  7548. tradedate:
  7549. description: 交易日(yyyyMMdd)
  7550. type: string
  7551. unitid:
  7552. description: 现货商品单位id
  7553. type: integer
  7554. wrstandardcode:
  7555. description: 品类代码
  7556. type: string
  7557. wrstandardid:
  7558. description: 现货品类ID(通用则为0)
  7559. type: integer
  7560. wrstandardname:
  7561. description: 品类名称
  7562. type: string
  7563. type: object
  7564. models.Ermcp3SpotGoodsPriceLog:
  7565. properties:
  7566. areauserid:
  7567. description: 所属机构id
  7568. type: integer
  7569. brandname:
  7570. description: 品牌名称
  7571. type: string
  7572. currencyid:
  7573. description: 报价货币ID
  7574. type: integer
  7575. deliverygoodscode:
  7576. description: 现货商品代码
  7577. type: string
  7578. deliverygoodsid:
  7579. description: 现货商品id
  7580. type: integer
  7581. deliverygoodsname:
  7582. description: 现货商品名称
  7583. type: string
  7584. enumdicname:
  7585. description: 现货商品单位名称
  7586. type: string
  7587. gbenumdicname:
  7588. description: 品类单位名称
  7589. type: string
  7590. gmunitid:
  7591. description: 品类单位id
  7592. type: integer
  7593. logid:
  7594. description: 日志id
  7595. type: integer
  7596. operateid:
  7597. description: 最后操作人
  7598. type: integer
  7599. operatesrc:
  7600. description: 最后操作来源 - 1:管理端 2:终端
  7601. type: integer
  7602. operatetime:
  7603. description: 最后操作时间
  7604. type: string
  7605. operatorname:
  7606. description: 操作人名称
  7607. type: string
  7608. spotgoodsbrandid:
  7609. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7610. type: integer
  7611. spotgoodsprice:
  7612. description: 现货价格
  7613. type: number
  7614. tradedate:
  7615. description: 交易日(yyyyMMdd)
  7616. type: string
  7617. unitid:
  7618. description: 现货商品单位id
  7619. type: integer
  7620. wrstandardcode:
  7621. description: 品类代码
  7622. type: string
  7623. wrstandardid:
  7624. description: 现货品类ID(通用则为0)
  7625. type: integer
  7626. wrstandardname:
  7627. description: 品类名称
  7628. type: string
  7629. type: object
  7630. models.Ermcp3SubTaaccount:
  7631. properties:
  7632. accountid:
  7633. description: 资金账户ID
  7634. type: integer
  7635. parentaccountcode:
  7636. description: 所属根账号代码(母账号代码)
  7637. type: string
  7638. parentaccountid:
  7639. description: 所属根账号(母账号)
  7640. type: integer
  7641. taname:
  7642. description: 资金账号名称
  7643. type: string
  7644. tradestatus:
  7645. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7646. type: integer
  7647. username:
  7648. description: 交易用户
  7649. type: string
  7650. type: object
  7651. models.Ermcp3TaFutuReDataReport:
  7652. properties:
  7653. accountid:
  7654. description: 交易账户
  7655. type: integer
  7656. accountname:
  7657. description: 交易账号名称
  7658. type: string
  7659. agreeunit:
  7660. description: 商品合约单位
  7661. type: number
  7662. begindate:
  7663. description: 开始交易日
  7664. type: string
  7665. buyorsell:
  7666. description: 持仓方向
  7667. type: integer
  7668. charge:
  7669. description: 手续费
  7670. type: number
  7671. closeavgprice:
  7672. description: 平仓均价
  7673. type: number
  7674. closepl:
  7675. description: 平仓损益
  7676. type: number
  7677. currencyid:
  7678. description: 结算币种ID
  7679. type: integer
  7680. currencyname:
  7681. description: 币种名称
  7682. type: string
  7683. cycletime:
  7684. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7685. type: string
  7686. cycletype:
  7687. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7688. type: integer
  7689. enddate:
  7690. description: 结束交易日
  7691. type: string
  7692. enumdicname:
  7693. description: 单位名称
  7694. type: string
  7695. floatpl:
  7696. description: 浮动损益
  7697. type: number
  7698. goodscode:
  7699. description: 交易合约代码
  7700. type: string
  7701. goodsgroupid:
  7702. description: 交易品种
  7703. type: integer
  7704. goodsgroupname:
  7705. description: 交易品种名称
  7706. type: string
  7707. goodsgroupspotqty:
  7708. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7709. type: number
  7710. goodsid:
  7711. description: 交易合约
  7712. type: integer
  7713. goodsname:
  7714. description: 交易合约名称
  7715. type: string
  7716. goodunitid:
  7717. description: 交易合约单位id
  7718. type: integer
  7719. holdamount:
  7720. description: 期末持仓额
  7721. type: number
  7722. holdqty:
  7723. description: 期末持仓量
  7724. type: number
  7725. lastholdamount:
  7726. description: 当前持仓额
  7727. type: number
  7728. lastprice:
  7729. description: 最新价
  7730. type: number
  7731. middlegoodsid:
  7732. description: 套保品种id
  7733. type: integer
  7734. middlegoodsname:
  7735. description: 套保商品名称
  7736. type: string
  7737. middlegoodsqty:
  7738. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7739. type: number
  7740. middlgoodscode:
  7741. description: 套保商品代码
  7742. type: string
  7743. openamount:
  7744. description: 期末开仓额
  7745. type: number
  7746. openavgprice:
  7747. description: 开仓均价
  7748. type: number
  7749. oriholdamount:
  7750. description: 期初持仓额
  7751. type: number
  7752. oriholdqty:
  7753. description: 期初持仓量
  7754. type: number
  7755. oriopenamount:
  7756. description: 期初开仓额
  7757. type: number
  7758. outergroupcode:
  7759. description: 交易品种代码
  7760. type: string
  7761. qtydecimalplace:
  7762. description: 成交量小数位
  7763. type: integer
  7764. reckondate:
  7765. description: 日照时期(yyyyMMdd)
  7766. type: string
  7767. reckonholdamount:
  7768. description: 结算持仓额
  7769. type: number
  7770. reckonpl:
  7771. description: 结算损益
  7772. type: number
  7773. reckonpl2:
  7774. description: 结算逐笔盈亏
  7775. type: number
  7776. reckonprice:
  7777. description: 结算价
  7778. type: number
  7779. relateduserid:
  7780. description: 账户关联用户ID
  7781. type: integer
  7782. todaycloseamount:
  7783. description: 今平仓额
  7784. type: number
  7785. todaycloseqty:
  7786. description: 今平仓量
  7787. type: number
  7788. todaygoodsgroupspotqty:
  7789. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7790. type: number
  7791. todaymiddlegoodsqty:
  7792. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7793. type: number
  7794. todayopenamount:
  7795. description: 今开仓额
  7796. type: number
  7797. todayopenqty:
  7798. description: 今开仓量
  7799. type: number
  7800. userid:
  7801. description: 账户所属用户ID
  7802. type: integer
  7803. type: object
  7804. models.Ermcp3TradeLinkDetail:
  7805. properties:
  7806. accountid:
  7807. description: 资金账号
  7808. type: integer
  7809. agreeunit:
  7810. description: 合约乘数
  7811. type: number
  7812. areauserid:
  7813. description: 所属机构
  7814. type: string
  7815. bizsubjectid:
  7816. description: 归属业务部门ID - SubjectID
  7817. type: string
  7818. buyorsell:
  7819. description: 方向 - 0:买 1:卖
  7820. type: integer
  7821. channelbuildtype:
  7822. description: 委托单据类型 0:无 1:建仓 2:平仓
  7823. type: integer
  7824. contractno:
  7825. description: 现货编号 (合同编号)
  7826. type: string
  7827. convertratio:
  7828. description: 折算系数
  7829. type: number
  7830. createtime:
  7831. description: 关联时间 | 创建时间
  7832. type: string
  7833. creatorid:
  7834. description: 创建人ID
  7835. type: string
  7836. creatorsrc:
  7837. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7838. type: integer
  7839. enumdicname:
  7840. description: 单位名称
  7841. type: string
  7842. goodscode:
  7843. description: 合约代码
  7844. type: string
  7845. goodsgroupid:
  7846. description: 对冲品种ID[期货合约商品组ID]
  7847. type: integer
  7848. goodsid:
  7849. description: 商品ID
  7850. type: integer
  7851. goodsname:
  7852. description: 合约名称
  7853. type: string
  7854. hedgeflag:
  7855. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7856. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7857. type: integer
  7858. linkdetailid:
  7859. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7860. type: string
  7861. linkstatus:
  7862. description: 关联状态 - 1:成功 2:失败 3:解绑
  7863. type: integer
  7864. middlegoodscode:
  7865. description: 套保品种代码
  7866. type: string
  7867. middlegoodsid:
  7868. description: 套保品种ID
  7869. type: integer
  7870. middlegoodsname:
  7871. description: 套保品种名称
  7872. type: string
  7873. relatedlot:
  7874. description: 关联手数
  7875. type: number
  7876. relatedmode:
  7877. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7878. type: integer
  7879. relatedqty:
  7880. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7881. type: number
  7882. retcode:
  7883. description: 返回码
  7884. type: integer
  7885. saleuserid:
  7886. description: 业务员ID
  7887. type: string
  7888. spotcontractid:
  7889. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7890. type: string
  7891. taname:
  7892. description: 期货账户
  7893. type: string
  7894. tradedate:
  7895. description: 关联交易日(yyyyMMdd)
  7896. type: string
  7897. tradeid:
  7898. description: 期货订单号 | 内部成交单ID
  7899. type: string
  7900. tradelot:
  7901. description: 成交数量 | 成交手数
  7902. type: integer
  7903. tradeprice:
  7904. description: 成交价格
  7905. type: number
  7906. tradetime:
  7907. description: 期货成交时间
  7908. type: string
  7909. tradetradedate:
  7910. description: 成交交易日(yyyyMMdd)
  7911. type: string
  7912. username:
  7913. description: 用户名称
  7914. type: string
  7915. type: object
  7916. models.Ermcp3Wrstandard:
  7917. properties:
  7918. areauserid:
  7919. description: 所属机构
  7920. type: integer
  7921. cantrade:
  7922. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7923. type: integer
  7924. convertfactor:
  7925. description: 标仓系数
  7926. type: number
  7927. createtime:
  7928. description: 创建时间
  7929. type: string
  7930. creatorid:
  7931. description: 创建人
  7932. type: integer
  7933. deliverygoodsid:
  7934. description: 现货品种ID
  7935. type: integer
  7936. enumdicname:
  7937. description: 品类单位名称
  7938. type: string
  7939. isvalid:
  7940. description: 是否有效 0-无效(停用) 1-有效(正常)
  7941. type: integer
  7942. minivalue:
  7943. description: 最小变动值
  7944. type: integer
  7945. minivaluedp:
  7946. description: 最小变动值小数位
  7947. type: integer
  7948. realminivalue:
  7949. description: 实际最小变动值
  7950. type: integer
  7951. realminivaluedp:
  7952. description: 实际最小变动值小数位
  7953. type: integer
  7954. remark:
  7955. description: 备注
  7956. type: string
  7957. unitid:
  7958. description: 品类单位ID
  7959. type: integer
  7960. updatetime:
  7961. description: 更新时间
  7962. type: string
  7963. wrstandardcode:
  7964. description: 品类代码
  7965. type: string
  7966. wrstandardid:
  7967. description: 品类ID(SEQ_WRSTANDARD)
  7968. type: integer
  7969. wrstandardname:
  7970. description: 品类名称
  7971. type: string
  7972. type: object
  7973. models.Ermcp8EnableHedgeditem:
  7974. properties:
  7975. accountname:
  7976. description: 套期主体
  7977. type: string
  7978. hedgeditemid:
  7979. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7980. type: string
  7981. hedgeditemname:
  7982. description: 项目名称
  7983. type: string
  7984. hedgeditemnum:
  7985. description: 项目编号
  7986. type: string
  7987. hedgedtype:
  7988. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7989. type: integer
  7990. planenddate:
  7991. description: 计划结束日期
  7992. type: string
  7993. planstartdate:
  7994. description: 计划开始日期
  7995. type: string
  7996. wrstandardid:
  7997. description: 现货商品ID
  7998. type: integer
  7999. wrstandardname:
  8000. description: 现货商品
  8001. type: string
  8002. type: object
  8003. models.Ermcp8HedgeditemReport:
  8004. properties:
  8005. accountname:
  8006. description: 套期主体
  8007. type: string
  8008. areauserid:
  8009. description: 企业ID
  8010. type: integer
  8011. curprice:
  8012. description: '[当日现货市场价]当前市场价'
  8013. type: number
  8014. enumdicname:
  8015. description: 单位
  8016. type: string
  8017. exeamount:
  8018. description: '[执行现货金额]执行市价总额'
  8019. type: number
  8020. exeavgprice:
  8021. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8022. type: number
  8023. exeqty:
  8024. description: '[执行数量]执行现货量'
  8025. type: number
  8026. futurehedgepl:
  8027. description: 期货实际损益
  8028. type: number
  8029. futurehedgeplchange:
  8030. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8031. type: number
  8032. futurepl:
  8033. description: 期货套期损益
  8034. type: number
  8035. futureplchange:
  8036. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8037. type: number
  8038. hedgeamount:
  8039. description: '[套期现货金额]套期市价总额'
  8040. type: number
  8041. hedgeditemnum:
  8042. description: 项目编号,模糊查询
  8043. type: string
  8044. hedgeditemstatus:
  8045. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8046. type: integer
  8047. hedgedtype:
  8048. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8049. type: integer
  8050. hedgeqty:
  8051. description: '[套期数量]套期现货量'
  8052. type: number
  8053. oriavgprice:
  8054. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8055. type: number
  8056. orifuturehedgepl:
  8057. description: 期初期货实际损益
  8058. type: number
  8059. orifuturepl:
  8060. description: 期初期货套期损益
  8061. type: number
  8062. orispothedgepl:
  8063. description: 期初现货实际损益
  8064. type: number
  8065. orispotpl:
  8066. description: 期初现货套期损益
  8067. type: number
  8068. planenddate:
  8069. description: 计划结束日期
  8070. type: string
  8071. planstartdate:
  8072. description: 计划开始日期
  8073. type: string
  8074. spothedgepl:
  8075. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8076. type: number
  8077. spothedgeplchange:
  8078. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8079. type: number
  8080. spotpl:
  8081. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8082. type: number
  8083. spotplchange:
  8084. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8085. type: number
  8086. tradeuserid:
  8087. description: 交易用户ID
  8088. type: integer
  8089. unexeqty:
  8090. description: 未执行现货量 = 套期现货量 - 执行现货量
  8091. type: number
  8092. wrstandardcode:
  8093. description: 现货品类代码
  8094. type: string
  8095. wrstandardid:
  8096. description: 现货商品ID
  8097. type: integer
  8098. wrstandardname:
  8099. description: '[现货商品]现货品类名称'
  8100. type: string
  8101. type: object
  8102. models.Ermcp8RunningHedgeditem:
  8103. properties:
  8104. accountname:
  8105. description: 套期主体
  8106. type: string
  8107. applyid:
  8108. description: 申请人
  8109. type: integer
  8110. applysrc:
  8111. description: 申请来源 - 1:管理端 2:终端
  8112. type: integer
  8113. areauserid:
  8114. description: 企业ID
  8115. type: integer
  8116. auditid:
  8117. description: 审核人
  8118. type: integer
  8119. auditremark:
  8120. description: 审核备注
  8121. type: string
  8122. auditsrc:
  8123. description: 审核来源 - 1:管理端 2:终端
  8124. type: integer
  8125. audittime:
  8126. description: 审核时间
  8127. type: string
  8128. audittradedate:
  8129. description: 审核交易日(yyyyMMdd)
  8130. type: string
  8131. createtime:
  8132. description: 申请时间
  8133. type: string
  8134. curprice:
  8135. description: 当前市场价
  8136. type: number
  8137. curstock:
  8138. description: 期末库存量 = 采购总量 - 销售总量
  8139. type: number
  8140. deliverygoodsid:
  8141. description: 现货品种ID
  8142. type: integer
  8143. enddate:
  8144. description: 完成日期
  8145. type: string
  8146. endtradedate:
  8147. description: 完成交易日
  8148. type: string
  8149. enumdicname:
  8150. description: 单位
  8151. type: string
  8152. exeamount:
  8153. description: 执行市价总额
  8154. type: number
  8155. exeavgprice:
  8156. description: 执行市场均价= 执行市价总额 / 执行现货量
  8157. type: number
  8158. execontractamount:
  8159. description: 执行定价总额
  8160. type: number
  8161. exeqty:
  8162. description: 执行现货量
  8163. type: number
  8164. exerestamount:
  8165. description: 执行剩余市价总额【现货贸易】
  8166. type: number
  8167. futurefloatpl:
  8168. description: 期货浮动损益
  8169. type: number
  8170. futurehedgepl:
  8171. description: 期货实际损益
  8172. type: number
  8173. futurehedgeplchange:
  8174. description: 期货实际损益变动
  8175. type: number
  8176. futurepl:
  8177. description: 期货套期损益
  8178. type: number
  8179. futureplchange:
  8180. description: 期货套期损益变动
  8181. type: number
  8182. hedgeamount:
  8183. description: 套期市价总额
  8184. type: number
  8185. hedgecontractamount:
  8186. description: 套期定价总额 【定价采购合同】【现货贸易】
  8187. type: number
  8188. hedgeditemid:
  8189. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8190. type: string
  8191. hedgeditemname:
  8192. description: 项目名称
  8193. type: string
  8194. hedgeditemnum:
  8195. description: 项目编号
  8196. type: string
  8197. hedgeditemstatus:
  8198. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8199. type: integer
  8200. hedgedtype:
  8201. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8202. type: integer
  8203. hedgeqty:
  8204. description: 套期现货量
  8205. type: number
  8206. hedgerate:
  8207. description: 套保比率
  8208. type: number
  8209. hedgerestamount:
  8210. description: 套期剩余市价总额【现货贸易】
  8211. type: number
  8212. hedgesumpl:
  8213. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8214. type: number
  8215. middlegoodslist:
  8216. description: 套期商品列表
  8217. items:
  8218. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8219. type: array
  8220. oriavgprice:
  8221. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8222. type: number
  8223. orifuturehedgepl:
  8224. description: 期初期货实际损益
  8225. type: number
  8226. orifuturepl:
  8227. description: 期初期货套期损益
  8228. type: number
  8229. orispothedgepl:
  8230. description: 期初现货实际损益
  8231. type: number
  8232. orispotpl:
  8233. description: 期初现货套期损益
  8234. type: number
  8235. planenddate:
  8236. description: 计划结束日期
  8237. type: string
  8238. planstartdate:
  8239. description: 计划开始日期
  8240. type: string
  8241. remark:
  8242. description: 备注
  8243. type: string
  8244. spotbookamount:
  8245. description: 现货账面总额
  8246. type: number
  8247. spotfloatpl:
  8248. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8249. type: number
  8250. spothedgepl:
  8251. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8252. type: number
  8253. spothedgeplchange:
  8254. description: 现货实际损益变动
  8255. type: number
  8256. spotpl:
  8257. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8258. type: number
  8259. spotplchange:
  8260. description: 现货套期损益变动
  8261. type: number
  8262. spottradepl:
  8263. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8264. type: number
  8265. sumobspl:
  8266. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8267. type: number
  8268. tradeuserid:
  8269. description: 交易用户ID
  8270. type: integer
  8271. unexeqty:
  8272. description: 未执行现货量 = 套期现货量 - 执行现货量
  8273. type: number
  8274. updatetime:
  8275. description: 更新时间
  8276. type: string
  8277. vatpl:
  8278. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8279. type: number
  8280. vatrate:
  8281. description: 增值税
  8282. type: number
  8283. wrstandardid:
  8284. description: 现货商品ID
  8285. type: integer
  8286. wrstandardname:
  8287. description: 商品名称
  8288. type: string
  8289. type: object
  8290. models.ErmcpBizGroupEx:
  8291. properties:
  8292. acclist:
  8293. description: 账号列表
  8294. items:
  8295. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8296. type: array
  8297. bizgroupid:
  8298. description: 业务分组id
  8299. type: integer
  8300. biztype:
  8301. description: 业务类型 1-套保 2-套利
  8302. type: integer
  8303. wrlist:
  8304. description: 现货商品表
  8305. items:
  8306. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8307. type: array
  8308. type: object
  8309. models.ErmcpBizGroupSpotGoods:
  8310. properties:
  8311. areauserid:
  8312. description: 所属机构id
  8313. type: integer
  8314. bizgroupid:
  8315. description: 分组id
  8316. type: integer
  8317. biztype:
  8318. description: 业务类型 1-套保 2-套利
  8319. type: integer
  8320. deliverygoodscode:
  8321. description: 现货商品代码
  8322. type: string
  8323. deliverygoodsid:
  8324. description: 现货商品id
  8325. type: integer
  8326. deliverygoodsname:
  8327. description: 现货商品名称
  8328. type: string
  8329. unitid:
  8330. description: 现货商品单位id
  8331. type: integer
  8332. type: object
  8333. models.ErmcpBizGroupTaAccount:
  8334. properties:
  8335. accountid:
  8336. description: 账号id
  8337. type: integer
  8338. accountname:
  8339. description: 账号名称
  8340. type: string
  8341. areauserid:
  8342. description: 所属机构id
  8343. type: integer
  8344. bizgroupid:
  8345. description: 业务分组id
  8346. type: integer
  8347. ismain:
  8348. description: 是否主账号 1-是 0-否
  8349. type: integer
  8350. type: object
  8351. models.ErmcpDGFactoryItem:
  8352. properties:
  8353. areauserid:
  8354. description: 用户id
  8355. type: integer
  8356. deliverygoodsid:
  8357. description: 现货品种ID
  8358. type: integer
  8359. dgfactoryitemid:
  8360. description: 选择项ID(SEQ_DGFACTORYITEM)
  8361. type: integer
  8362. dgfactoryitemtypeid:
  8363. description: 要素项类型
  8364. type: integer
  8365. dgfactoryitemvalue:
  8366. description: 要素项值(类型为仓库时填写仓库名称)
  8367. type: string
  8368. isvalid:
  8369. description: 是否有效 - 0:无效 1:有效
  8370. type: integer
  8371. orderindex:
  8372. description: 顺序
  8373. type: integer
  8374. warehouseid:
  8375. description: 仓库ID(类型为仓库时填写)
  8376. type: integer
  8377. type: object
  8378. models.ErmcpDeliveryGoods:
  8379. properties:
  8380. agreeunit:
  8381. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8382. type: integer
  8383. areauserid:
  8384. description: 所属机构
  8385. type: integer
  8386. auditflag:
  8387. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8388. type: integer
  8389. categoryid:
  8390. description: 类别ID(SEQ_WRCATEGORY)
  8391. type: integer
  8392. deliverygoodscode:
  8393. description: 现货品种代码
  8394. type: string
  8395. deliverygoodsid:
  8396. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8397. type: integer
  8398. deliverygoodsname:
  8399. description: 现货品种名称
  8400. type: string
  8401. deliverygoodstype:
  8402. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8403. type: integer
  8404. dgstatus:
  8405. description: 品种状态 - 作废 - 0:未激活 1:正常
  8406. type: integer
  8407. enumdicname:
  8408. description: 现货品种单位名称
  8409. type: string
  8410. goodsunitid:
  8411. description: 现货品种单位ID
  8412. type: integer
  8413. isvalid:
  8414. description: 是否有效 - 0:无效 1:有效
  8415. type: integer
  8416. qtydecimalplace:
  8417. description: 成交量小数位
  8418. type: integer
  8419. remark:
  8420. description: 备注
  8421. type: string
  8422. standardqty:
  8423. description: 标准数量(库位数量) [标准品特有]
  8424. type: integer
  8425. standardqtyrange:
  8426. description: 标准数量偏差范围 [标准品特有]
  8427. type: integer
  8428. type: object
  8429. models.ErmcpFuturesCompany:
  8430. properties:
  8431. brokerid:
  8432. description: 经纪公司代码
  8433. type: string
  8434. channeladdress:
  8435. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8436. type: string
  8437. channelid:
  8438. description: 对冲渠道ID
  8439. type: string
  8440. createtime:
  8441. description: 创建时间
  8442. type: string
  8443. creatorid:
  8444. description: 创建人
  8445. type: string
  8446. fcid:
  8447. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8448. type: integer
  8449. fcname:
  8450. description: 期货公司名称
  8451. type: string
  8452. isvalid:
  8453. description: 是否有效 - 0:无效 1:有效
  8454. type: integer
  8455. mhpaddress:
  8456. description: MHP服务地址(IP:Port)
  8457. type: string
  8458. riskrulegroupid:
  8459. description: 风控规则组ID
  8460. type: string
  8461. tradefeetmpid:
  8462. description: 手续费模板ID[TradeConfigTmpType为2]
  8463. type: string
  8464. trademargintmpid:
  8465. description: 保证金模板ID [TradeConfigTmpType为1]
  8466. type: string
  8467. traderatetmpid:
  8468. description: 汇率模板ID[TradeConfigTmpType为3]
  8469. type: string
  8470. updatetime:
  8471. description: 更新时间
  8472. type: string
  8473. updatorid:
  8474. description: 更新人
  8475. type: string
  8476. type: object
  8477. models.ErmcpGGConvertCfg:
  8478. properties:
  8479. convertratio:
  8480. description: 折算系数
  8481. type: number
  8482. destgoodsgroupid:
  8483. description: 目标品种ID
  8484. type: integer
  8485. dstcode:
  8486. description: 目录品种代码
  8487. type: string
  8488. dstexchangecode:
  8489. description: 目标期货交易所
  8490. type: string
  8491. dstname:
  8492. description: 目标品种名称
  8493. type: string
  8494. dstunitid:
  8495. description: 目标品种单位ID
  8496. type: integer
  8497. dstunitidname:
  8498. description: 目标品种单位名称
  8499. type: string
  8500. modifytime:
  8501. description: 修改时间
  8502. type: string
  8503. srccode:
  8504. description: 源品种代码
  8505. type: string
  8506. srcexchangecode:
  8507. description: 源期货交易所
  8508. type: string
  8509. srcgoodsgroupid:
  8510. description: 源品种ID
  8511. type: integer
  8512. srcname:
  8513. description: 源品种名称
  8514. type: string
  8515. srcunitid:
  8516. description: 源品种单位ID
  8517. type: integer
  8518. srcunitidname:
  8519. description: 源品种单位名称
  8520. type: string
  8521. type: object
  8522. models.ErmcpGoods:
  8523. properties:
  8524. agreeunit:
  8525. description: 合约单位
  8526. type: number
  8527. areauserid:
  8528. description: 所属机构
  8529. type: integer
  8530. auditaccountid:
  8531. description: 审核操作员账号
  8532. type: integer
  8533. audittime:
  8534. description: 审核时间
  8535. type: string
  8536. cancelaccountid:
  8537. description: 注销操作员账号
  8538. type: integer
  8539. canceltime:
  8540. description: 注销时间
  8541. type: string
  8542. closepricemode:
  8543. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8544. type: integer
  8545. closepriceparam:
  8546. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8547. type: number
  8548. createtime:
  8549. description: 创建时间
  8550. type: string
  8551. creatorid:
  8552. description: 创建人
  8553. type: integer
  8554. currencyid:
  8555. description: 报价货币ID
  8556. type: integer
  8557. cutmode:
  8558. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8559. type: integer
  8560. decimalplace:
  8561. description: 报价小数位
  8562. type: integer
  8563. delistingdate:
  8564. description: 商品退市时间(状态:退市) -- 已作废
  8565. type: string
  8566. delistingmode:
  8567. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8568. type: integer
  8569. deliveryflag:
  8570. description: 交割标志 - 0:不可交割 1:可交割
  8571. type: integer
  8572. enumdicname:
  8573. description: 单位名称
  8574. type: string
  8575. forceclosemode:
  8576. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8577. type: integer
  8578. forceclosevalue:
  8579. description: 定期强平参数 [收益权]
  8580. type: integer
  8581. goodscode:
  8582. description: 商品代码(内部)
  8583. type: string
  8584. goodscurrencyid:
  8585. description: 合约货币ID
  8586. type: integer
  8587. goodsgroupid:
  8588. description: 所属商品组ID
  8589. type: integer
  8590. goodsid:
  8591. description: 商品ID(自增ID SEQ_GOODS)
  8592. type: integer
  8593. goodsname:
  8594. description: 商品名称
  8595. type: string
  8596. goodsquotetype:
  8597. description: '合约报价类型: 1-直接报价 2-间接报价'
  8598. type: integer
  8599. goodsstatus:
  8600. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8601. type: integer
  8602. goodstradetype:
  8603. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8604. type: integer
  8605. goodunitid:
  8606. description: 报价单位ID
  8607. type: integer
  8608. hasquoter:
  8609. description: 是否有报价商 - 0:无报价商 1:有报价商
  8610. type: integer
  8611. hqprotecttime:
  8612. description: 行情保护时间(秒)
  8613. type: integer
  8614. innerdealmode:
  8615. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8616. type: integer
  8617. isbuylimited:
  8618. description: 是否限制建仓量 - 0:不限制 1:限制
  8619. type: integer
  8620. isvisible:
  8621. description: 游客是否可见 - 0:不可见 1:可见
  8622. type: integer
  8623. lasttradedate:
  8624. description: 最后交易日期(状态:待退市)
  8625. type: string
  8626. listingdate:
  8627. description: 交易开始日期
  8628. type: string
  8629. marketid:
  8630. description: 所属市场ID
  8631. type: integer
  8632. modifierid:
  8633. description: 修改人
  8634. type: integer
  8635. modifystatus:
  8636. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8637. type: integer
  8638. modifytime:
  8639. description: 修改时间
  8640. type: string
  8641. outerdealmode:
  8642. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8643. type: integer
  8644. outgoodscode:
  8645. description: 商品代码(外部)
  8646. type: string
  8647. pictureurl:
  8648. description: 商品图片
  8649. type: string
  8650. qtydecimalplace:
  8651. description: 成交量小数位
  8652. type: integer
  8653. quotegear:
  8654. description: 行情档位(1-10)
  8655. type: integer
  8656. quoteminunit:
  8657. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8658. type: integer
  8659. quoteshowtype:
  8660. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8661. type: integer
  8662. quoteshowtypeinterval:
  8663. description: 行情报价间隔时间(秒)(成交价时为0)
  8664. type: integer
  8665. relatedgoodsid:
  8666. description: 关联参考商品ID
  8667. type: integer
  8668. remark:
  8669. description: 备注
  8670. type: string
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. required:
  8676. - goodscode
  8677. - goodsid
  8678. - goodsname
  8679. - marketid
  8680. type: object
  8681. models.ErmcpGoodsBrand:
  8682. properties:
  8683. areauserid:
  8684. description: 所属机构
  8685. type: integer
  8686. brandid:
  8687. description: BrandID(SEQ_SPOTGOODSBRAND)
  8688. type: integer
  8689. brandname:
  8690. description: 品牌名称
  8691. type: string
  8692. createtime:
  8693. description: 创建时间
  8694. type: string
  8695. creatorid:
  8696. description: 创建人
  8697. type: integer
  8698. creatorsrc:
  8699. description: 创建人来源 - 1:管理端 2:终端
  8700. type: integer
  8701. deliverygoodsid:
  8702. description: 现货品种ID
  8703. type: integer
  8704. isvalid:
  8705. description: 是否有效 - 0:无效 1:有效
  8706. type: integer
  8707. updatetime:
  8708. description: 更新时间
  8709. type: string
  8710. updatorid:
  8711. description: 更新人
  8712. type: integer
  8713. updatorsrc:
  8714. description: 更新人来源 - 1:管理端 2:终端
  8715. type: integer
  8716. wrstandardid:
  8717. description: 现货商品ID
  8718. type: integer
  8719. type: object
  8720. models.ErmcpGoodsModel:
  8721. properties:
  8722. areauserid:
  8723. description: 所属机构
  8724. type: integer
  8725. convertfactor:
  8726. description: 标仓系数
  8727. type: number
  8728. createtime:
  8729. description: 创建时间
  8730. type: string
  8731. creatorid:
  8732. description: 创建人
  8733. type: integer
  8734. creatorsrc:
  8735. description: 创建人来源 - 1:管理端 2:终端
  8736. type: integer
  8737. deliverygoodsid:
  8738. description: 现货品种ID
  8739. type: integer
  8740. isvalid:
  8741. description: 是否有效 - 0:无效 1:有效
  8742. type: integer
  8743. modelid:
  8744. description: ModelID(SEQ_SPOTGOODSMODEL)
  8745. type: integer
  8746. modelname:
  8747. description: 型号名称
  8748. type: string
  8749. updatetime:
  8750. description: 更新时间
  8751. type: string
  8752. updatorid:
  8753. description: 更新人
  8754. type: integer
  8755. updatorsrc:
  8756. description: 更新人来源 - 1:管理端 2:终端
  8757. type: integer
  8758. wrstandardid:
  8759. description: 现货商品ID
  8760. type: integer
  8761. type: object
  8762. models.ErmcpHisExposure:
  8763. properties:
  8764. needhedgeexposoure:
  8765. description: 应套保敞口
  8766. type: number
  8767. reckondate:
  8768. description: 日照时期(yyyyMMdd)
  8769. type: string
  8770. totalexposure:
  8771. description: 总敞口
  8772. type: number
  8773. type: object
  8774. models.ErmcpLoginTaAccount:
  8775. properties:
  8776. accountid:
  8777. description: 账号id
  8778. type: integer
  8779. accountname:
  8780. description: 账号名称
  8781. type: string
  8782. type: object
  8783. models.ErmcpLoginUser:
  8784. properties:
  8785. acclist:
  8786. description: 关联资金账号
  8787. items:
  8788. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8789. type: array
  8790. accountname:
  8791. description: 用户名称
  8792. type: string
  8793. clientroleid:
  8794. description: 角色id(usertype=2)
  8795. type: integer
  8796. createtime:
  8797. description: 创建时间
  8798. type: string
  8799. logincode:
  8800. description: 登录代码
  8801. type: string
  8802. loginid:
  8803. description: 登录id(LOGINID)
  8804. type: integer
  8805. loginname:
  8806. description: 登录名称(loginaccount表中的accountname字段)
  8807. type: string
  8808. loginstatus:
  8809. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8810. type: integer
  8811. memberuserid:
  8812. description: 所属会员id
  8813. type: integer
  8814. mobile:
  8815. description: 手机号
  8816. type: string
  8817. modifytime:
  8818. description: 修改时间
  8819. type: string
  8820. password:
  8821. description: 密码(不可解密)
  8822. type: string
  8823. rolename:
  8824. description: 角色名称
  8825. type: string
  8826. rolestatus:
  8827. description: 角色状态 1-启用 2-停用
  8828. type: integer
  8829. roletype:
  8830. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8831. type: string
  8832. userid:
  8833. description: 用户id
  8834. type: integer
  8835. usertype:
  8836. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8837. type: integer
  8838. type: object
  8839. models.ErmcpLoginUserEx:
  8840. properties:
  8841. accountstatus:
  8842. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8843. type: integer
  8844. mobile:
  8845. description: 手机号
  8846. type: string
  8847. querytype:
  8848. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8849. type: integer
  8850. roleid:
  8851. description: 角色id(交易账户->用户id)
  8852. type: integer
  8853. rolename:
  8854. description: 角色名称(交易账户->用户名称)
  8855. type: string
  8856. userlist:
  8857. description: 用户列表
  8858. items:
  8859. $ref: '#/definitions/models.ErmcpLoginUser'
  8860. type: array
  8861. usertype:
  8862. description: 用户类型 2-机构 7-企业成员(云平台)
  8863. type: integer
  8864. type: object
  8865. models.ErmcpMiddleGoodsModel:
  8866. properties:
  8867. areauserid:
  8868. description: 机构用户ID
  8869. type: integer
  8870. createtime:
  8871. description: 修改时间
  8872. type: string
  8873. enumdicname:
  8874. description: 单位名称
  8875. type: string
  8876. evaluateratio:
  8877. description: 估价系数
  8878. type: number
  8879. goodsgroupid:
  8880. description: 关联期货品种ID
  8881. type: integer
  8882. goodsunitid:
  8883. description: 单位ID
  8884. type: integer
  8885. isvalid:
  8886. description: 状态 0-无效(停用) 1-有效(正常)
  8887. type: integer
  8888. middlegoodscode:
  8889. description: 套保品种代码
  8890. type: string
  8891. middlegoodsid:
  8892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8893. type: integer
  8894. middlegoodsname:
  8895. description: 套保品种名称
  8896. type: string
  8897. modifytime:
  8898. description: 修改时间
  8899. type: string
  8900. needarbitrageratio:
  8901. description: 套利比例
  8902. type: number
  8903. needhedgeratio:
  8904. description: 套保比率
  8905. type: number
  8906. qtydecimalplace:
  8907. description: 数量小数位
  8908. type: integer
  8909. relatedgoodsid:
  8910. description: 关联交易商品ID
  8911. type: integer
  8912. relatedgoodstype:
  8913. description: 关联商品类型 - 1:期货合约 2:现货品种
  8914. type: integer
  8915. remark:
  8916. description: 备注
  8917. type: string
  8918. type: object
  8919. models.ErmcpMiddlegoodsRelateGoods:
  8920. properties:
  8921. agreeunit:
  8922. description: 合约乘数
  8923. type: number
  8924. convertratio:
  8925. description: 折算系数
  8926. type: number
  8927. enumdicname:
  8928. description: 单位名称(交易商品)
  8929. type: string
  8930. goodscode:
  8931. description: 交易商品代码
  8932. type: string
  8933. goodsgroupid:
  8934. description: 交易品种id
  8935. type: integer
  8936. goodsid:
  8937. description: 商品Id
  8938. type: integer
  8939. goodsname:
  8940. description: 交易商品名称
  8941. type: string
  8942. goodunitid:
  8943. description: 交易商品单位id
  8944. type: integer
  8945. middlegoodsid:
  8946. description: 套保商品id
  8947. type: integer
  8948. middlegoodsname:
  8949. description: 套保商品名称
  8950. type: string
  8951. middlegoodsswcode:
  8952. description: 套保商品代码
  8953. type: string
  8954. needarbitrageratio:
  8955. description: 应套利比例
  8956. type: number
  8957. needhedgeratio:
  8958. description: 应套保比例
  8959. type: number
  8960. type: object
  8961. models.ErmcpRole:
  8962. properties:
  8963. areauserid:
  8964. description: 所属机构
  8965. type: integer
  8966. autoid:
  8967. description: 角色ID(自增ID)
  8968. type: integer
  8969. modifierid:
  8970. description: 修改人(创建人)
  8971. type: integer
  8972. modifiername:
  8973. description: 修改人名称
  8974. type: string
  8975. modifytime:
  8976. description: 修改时间(创建时间)
  8977. type: string
  8978. rolename:
  8979. description: 角色名称
  8980. type: string
  8981. rolestatus:
  8982. description: 角色状态 - 1:启用 2:停用
  8983. type: integer
  8984. roletype:
  8985. description: 角色类型 - 1- 管理端 2- 交易端
  8986. type: integer
  8987. type: object
  8988. models.ErmcpRoleMenu:
  8989. properties:
  8990. iconame:
  8991. description: 菜单图标
  8992. type: string
  8993. ishadrole:
  8994. description: 是否有权限
  8995. type: boolean
  8996. menutype:
  8997. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8998. type: integer
  8999. parentcode:
  9000. description: 上级资源代码
  9001. type: string
  9002. remark:
  9003. description: 菜单备注
  9004. type: string
  9005. resourcecode:
  9006. description: 菜单代码
  9007. type: string
  9008. resourcelevel:
  9009. description: 级别
  9010. type: integer
  9011. resourcename:
  9012. description: 菜单名称
  9013. type: string
  9014. roleid:
  9015. description: 角色id
  9016. type: integer
  9017. sort:
  9018. description: 排序
  9019. type: integer
  9020. url:
  9021. description: URL
  9022. type: string
  9023. userid:
  9024. description: 用户id
  9025. type: integer
  9026. type: object
  9027. models.ErmcpRoleMenuEx:
  9028. properties:
  9029. menu:
  9030. allOf:
  9031. - $ref: '#/definitions/models.ErmcpRoleMenu'
  9032. description: 父级菜单
  9033. subMenu:
  9034. description: 子级菜单
  9035. items:
  9036. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9037. type: array
  9038. type: object
  9039. models.ErmcpSpotContractModelEx:
  9040. properties:
  9041. accountname:
  9042. description: 套期主体
  9043. type: string
  9044. amount:
  9045. description: 金额 [1:一口价、3:暂定价]
  9046. type: number
  9047. attachment:
  9048. description: 附件
  9049. type: string
  9050. auditremark:
  9051. description: 审核意见
  9052. type: string
  9053. audittime:
  9054. description: 审核时间
  9055. type: string
  9056. avgprice:
  9057. description: 定价均价 = 已定价金额 / 已定价量
  9058. type: number
  9059. brandname:
  9060. description: 品牌名称
  9061. type: string
  9062. buyuserid:
  9063. description: 采购方ID
  9064. type: integer
  9065. buyusername:
  9066. description: 采购方名称
  9067. type: string
  9068. contracctstatus:
  9069. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9070. type: integer
  9071. contractmargin:
  9072. description: 合同保证金
  9073. type: number
  9074. contractno:
  9075. description: '[合同编号]现货合同编号'
  9076. type: string
  9077. contracttype:
  9078. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9079. type: integer
  9080. convertfactor:
  9081. description: 标仓系数
  9082. type: number
  9083. createtime:
  9084. description: 创建时间
  9085. type: string
  9086. customername:
  9087. description: 对手方
  9088. type: string
  9089. customeruserid:
  9090. description: 客户ID
  9091. type: integer
  9092. deliveryenddate:
  9093. description: 交收期(结束)
  9094. type: string
  9095. deliverygoodscode:
  9096. description: 现货品种代码
  9097. type: string
  9098. deliverygoodsid:
  9099. description: 现货品种ID
  9100. type: integer
  9101. deliverygoodsname:
  9102. description: 现货品种名称
  9103. type: string
  9104. deliverystartdate:
  9105. description: 交收期(开始)
  9106. type: string
  9107. enddate:
  9108. description: 点价结束日期 [2:点价 3:暂定价]
  9109. type: string
  9110. enumdicname:
  9111. description: 单位名称
  9112. type: string
  9113. goodscode:
  9114. description: 点价合约代码
  9115. type: string
  9116. goodsid:
  9117. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9118. type: integer
  9119. goodsname:
  9120. description: 点价商品名称
  9121. type: string
  9122. isrelated:
  9123. description: 是否已关联计划项目 - 0:否 1:是
  9124. type: integer
  9125. isrelated2:
  9126. description: 是否已关联现货项目 - 0:否 1:是
  9127. type: integer
  9128. margin:
  9129. description: 当前保证金
  9130. type: number
  9131. modelname:
  9132. description: 型号名称
  9133. type: string
  9134. price:
  9135. description: 价格\暂定价 [1:一口价、3:暂定价]
  9136. type: number
  9137. pricedamount:
  9138. description: 已定价金额 = (点价价格+升贴水) * 数量
  9139. type: number
  9140. pricedqty:
  9141. description: 已定价量
  9142. type: number
  9143. pricemove:
  9144. description: 升贴水 [2:点价 3:暂定价]
  9145. type: number
  9146. pricetype:
  9147. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9148. type: integer
  9149. producttype:
  9150. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9151. type: integer
  9152. qty:
  9153. description: '[合同数量]数量'
  9154. type: number
  9155. remark:
  9156. description: 备注
  9157. type: string
  9158. selluserid:
  9159. description: 销售方ID
  9160. type: integer
  9161. sellusername:
  9162. description: 销售方名称
  9163. type: string
  9164. spotamount:
  9165. description: 合同现货金额 [不含升贴水]
  9166. type: number
  9167. spotavgprice:
  9168. description: 现货均价 = 合同现货金额 / 已定价量
  9169. type: number
  9170. spotcontractid:
  9171. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9172. type: string
  9173. spotgoodsbrandid:
  9174. description: 现货品牌ID
  9175. type: integer
  9176. spotgoodsdesc:
  9177. description: 商品型号
  9178. type: string
  9179. spotgoodsmodelid:
  9180. description: 现货型号ID
  9181. type: integer
  9182. startdate:
  9183. description: 点价开始日期 [2:点价 3:暂定价]
  9184. type: string
  9185. tradeuserid:
  9186. description: 交易用户ID
  9187. type: integer
  9188. unpricedqty:
  9189. description: 未定价量 = 合同数量 - 已定价量
  9190. type: number
  9191. updatetime:
  9192. description: 更新时间
  9193. type: string
  9194. userid:
  9195. description: 机构ID
  9196. type: integer
  9197. wrstandardcode:
  9198. description: 现货商品代码
  9199. type: string
  9200. wrstandardid:
  9201. description: 现货商品ID
  9202. type: integer
  9203. wrstandardname:
  9204. description: '[现货商品]现货商品名称'
  9205. type: string
  9206. type: object
  9207. models.ErmcpTaAccount:
  9208. properties:
  9209. accountid:
  9210. description: 账户id
  9211. type: integer
  9212. accountname:
  9213. description: 账户名称
  9214. type: string
  9215. currencyid:
  9216. description: 币种id
  9217. type: integer
  9218. hedgeaccountcode:
  9219. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9220. type: string
  9221. ismain:
  9222. description: 是否主账户 0-否 1-是
  9223. type: integer
  9224. parentaccountid:
  9225. description: 父账户id
  9226. type: integer
  9227. relateduserid:
  9228. description: 关联userid
  9229. type: integer
  9230. tradefeetmpid:
  9231. description: 手续费模板id
  9232. type: integer
  9233. tradefeetmpname:
  9234. description: 手续费模板名称
  9235. type: string
  9236. trademargintmpid:
  9237. description: 保证金模板id
  9238. type: integer
  9239. trademargintmpname:
  9240. description: 保证金模板名称
  9241. type: string
  9242. traderatetmpid:
  9243. description: 汇率模板id
  9244. type: integer
  9245. traderatetmpname:
  9246. description: 汇率模板名称
  9247. type: string
  9248. tradestatus:
  9249. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9250. type: integer
  9251. userid:
  9252. description: 用户id
  9253. type: integer
  9254. type: object
  9255. models.ErmcpTaAccountEx:
  9256. properties:
  9257. mainAcc:
  9258. allOf:
  9259. - $ref: '#/definitions/models.ErmcpTaAccountM'
  9260. description: 主账号
  9261. subacclist:
  9262. description: 子账号列表
  9263. items:
  9264. $ref: '#/definitions/models.ErmcpTaAccount'
  9265. type: array
  9266. type: object
  9267. models.ErmcpTaAccountInfo:
  9268. properties:
  9269. accountid:
  9270. description: 资金账户ID
  9271. type: integer
  9272. accountname:
  9273. description: 账户名称
  9274. type: string
  9275. balance:
  9276. description: 期初余额
  9277. type: number
  9278. capitalbalance:
  9279. description: 本金余额[外部子账户实际出入金余额]
  9280. type: number
  9281. closepl:
  9282. description: 今日平仓盈亏
  9283. type: number
  9284. creditdecrease:
  9285. description: 今日授信减少
  9286. type: number
  9287. creditincrease:
  9288. description: 今日授信增加
  9289. type: number
  9290. curdebt:
  9291. description: 期末欠款
  9292. type: number
  9293. currencyid:
  9294. description: 货币ID
  9295. type: integer
  9296. currentbalance:
  9297. description: 期末余额
  9298. type: number
  9299. freezecharge:
  9300. description: 手续费冻结
  9301. type: number
  9302. freezemargin:
  9303. description: 冻结保证金
  9304. type: number
  9305. fromaccountid:
  9306. description: 所属上级账户
  9307. type: integer
  9308. inamount:
  9309. description: 今日入金金额(包括三方入金)
  9310. type: number
  9311. ismain:
  9312. description: 是否母账号 0:不是母账户 1:是母账户
  9313. type: integer
  9314. mortgagecredit:
  9315. description: 授信金额
  9316. type: number
  9317. oridebt:
  9318. description: 期初欠款
  9319. type: number
  9320. orifreezecharge:
  9321. description: 期初手续费冻结
  9322. type: number
  9323. orifreezemargin:
  9324. description: 期初冻结保证金
  9325. type: number
  9326. orimortgagecredit:
  9327. description: 期初授信金额
  9328. type: number
  9329. oriothercredit:
  9330. description: 期初其它授信金额
  9331. type: number
  9332. oriotherfreezemargin:
  9333. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9334. type: number
  9335. orioutamountfreeze:
  9336. description: 期初出金冻结
  9337. type: number
  9338. oriusedmargin:
  9339. description: 期初占用保证金
  9340. type: number
  9341. othercredit:
  9342. description: 其它授信金额
  9343. type: number
  9344. othercreditdecrease:
  9345. description: 今日其它授信减少
  9346. type: number
  9347. othercreditincrease:
  9348. description: 今日其它授信增加
  9349. type: number
  9350. otherfreezemargin:
  9351. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9352. type: number
  9353. outamount:
  9354. description: 今日出金金额(包括三方出金)
  9355. type: number
  9356. outamountfreeze:
  9357. description: 出金冻结
  9358. type: number
  9359. outthreshold:
  9360. description: 出金阈值
  9361. type: number
  9362. parentaccountid:
  9363. description: 所属根账号
  9364. type: integer
  9365. paycharge:
  9366. description: 今日手续费支出
  9367. type: number
  9368. relateduserid:
  9369. description: 关联用户
  9370. type: integer
  9371. signstatus:
  9372. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9373. type: integer
  9374. sublevelpath:
  9375. description: 账号层级路径(逗号分隔,首尾加逗号)
  9376. type: string
  9377. taaccounttype:
  9378. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9379. type: integer
  9380. thirdinamount:
  9381. description: 今日三方入金
  9382. type: number
  9383. thirdoutamount:
  9384. description: 今日三方出金
  9385. type: number
  9386. tradestatus:
  9387. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9388. type: integer
  9389. transferamount:
  9390. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9391. type: number
  9392. usedmargin:
  9393. description: 占用保证金
  9394. type: number
  9395. userid:
  9396. description: 用户ID
  9397. type: integer
  9398. type: object
  9399. models.ErmcpTaAccountM:
  9400. properties:
  9401. accountid:
  9402. description: 账户id
  9403. type: integer
  9404. accountname:
  9405. description: 账户名称
  9406. type: string
  9407. currencyid:
  9408. description: 币种id
  9409. type: integer
  9410. fcid:
  9411. description: 期货公司id
  9412. type: integer
  9413. fcname:
  9414. description: 期货公司代码
  9415. type: string
  9416. hedgeaccountcode:
  9417. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9418. type: string
  9419. ismain:
  9420. description: 是否主账户 0-否 1-是
  9421. type: integer
  9422. parentaccountid:
  9423. description: 父账户id
  9424. type: integer
  9425. relateduserid:
  9426. description: 关联userid
  9427. type: integer
  9428. tradefeetmpid:
  9429. description: 手续费模板id
  9430. type: integer
  9431. tradefeetmpname:
  9432. description: 手续费模板名称
  9433. type: string
  9434. trademargintmpid:
  9435. description: 保证金模板id
  9436. type: integer
  9437. trademargintmpname:
  9438. description: 保证金模板名称
  9439. type: string
  9440. traderatetmpid:
  9441. description: 汇率模板id
  9442. type: integer
  9443. traderatetmpname:
  9444. description: 汇率模板名称
  9445. type: string
  9446. tradestatus:
  9447. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9448. type: integer
  9449. userid:
  9450. description: 用户id
  9451. type: integer
  9452. type: object
  9453. models.ErmcpTradeConfigTMP:
  9454. properties:
  9455. areauserid:
  9456. description: 所属机构
  9457. type: integer
  9458. basiccurrencyid:
  9459. description: 基本币种ID[汇率] - 目标币种
  9460. type: integer
  9461. mainaccountid:
  9462. description: 主账户ID
  9463. type: integer
  9464. modifierid:
  9465. description: 修改人
  9466. type: integer
  9467. remark:
  9468. description: 备注
  9469. type: string
  9470. tradeconfigtmpid:
  9471. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9472. type: integer
  9473. tradeconfigtmpname:
  9474. description: 交易配置模板名称
  9475. type: string
  9476. tradeconfigtmptype:
  9477. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9478. type: integer
  9479. updatetime:
  9480. description: 更新时间
  9481. type: string
  9482. type: object
  9483. models.Ermcpjrlinkpos:
  9484. properties:
  9485. areauserid:
  9486. description: 所属企业
  9487. type: integer
  9488. averageprice:
  9489. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9490. type: number
  9491. closepl:
  9492. description: 总平仓盈亏 [期货损益]
  9493. type: number
  9494. executeprice:
  9495. description: 执行价 - 1:期货单 为 0
  9496. type: integer
  9497. futurehedgeqty:
  9498. description: 期货套期量
  9499. type: number
  9500. goodsid:
  9501. description: 期货合约
  9502. type: integer
  9503. middlegoodscode:
  9504. description: 套保商品代码
  9505. type: string
  9506. middlegoodsname:
  9507. description: 套保商品名称
  9508. type: string
  9509. netqty:
  9510. description: 净头寸
  9511. type: number
  9512. optioncode:
  9513. description: 期权代码
  9514. type: string
  9515. ordertype:
  9516. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9517. type: integer
  9518. reckonpl:
  9519. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9520. type: number
  9521. spotcontractid:
  9522. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9523. type: string
  9524. todayfutureclosepl:
  9525. description: 今日平仓盈亏
  9526. type: number
  9527. totalbuyamount:
  9528. description: 买金额 [期货]
  9529. type: number
  9530. totalbuyholdamount:
  9531. description: 买持仓总金额[期货]
  9532. type: number
  9533. totalbuyqty:
  9534. description: 买数量
  9535. type: number
  9536. totalcharge:
  9537. description: 手续费
  9538. type: number
  9539. totalpremium:
  9540. description: 权利金 [期权]
  9541. type: number
  9542. totalsellamount:
  9543. description: 卖金额 [期货]
  9544. type: number
  9545. totalsellholdamount:
  9546. description: 卖持仓总金额[期货]
  9547. type: number
  9548. totalsellqty:
  9549. description: 卖数量
  9550. type: number
  9551. updatetime:
  9552. description: 更新时间
  9553. type: string
  9554. required:
  9555. - spotcontractid
  9556. type: object
  9557. models.Ermcppatradelinkdetail:
  9558. properties:
  9559. agreeunit:
  9560. description: 合约乘数
  9561. type: number
  9562. amount:
  9563. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9564. type: number
  9565. areauserid:
  9566. description: 所属机构
  9567. type: integer
  9568. bizsubjectid:
  9569. description: 归属业务部门ID - SubjectID
  9570. type: integer
  9571. buyorsell:
  9572. description: 方向 - 0:买 1:卖
  9573. type: integer
  9574. convertratio:
  9575. description: 品种系数
  9576. type: number
  9577. createtime:
  9578. description: 创建时间
  9579. type: string
  9580. creatorid:
  9581. description: 创建人ID
  9582. type: integer
  9583. creatorsrc:
  9584. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9585. type: integer
  9586. goodsgroupid:
  9587. description: 对冲品种ID[期货合约商品组ID]
  9588. type: integer
  9589. goodsid:
  9590. description: 商品ID
  9591. type: integer
  9592. hedgeditemid:
  9593. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9594. type: integer
  9595. hedgeflag:
  9596. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9597. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9598. type: integer
  9599. linkdetailid:
  9600. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9601. type: string
  9602. linkstatus:
  9603. description: 关联状态 - 1:成功 2:失败 3:解绑
  9604. type: integer
  9605. middlegoodsid:
  9606. description: 套保品种ID
  9607. type: integer
  9608. name:
  9609. description: 账户名/子账户
  9610. type: string
  9611. optioncode:
  9612. description: '[期货合约]期权代码 [期权]'
  9613. type: string
  9614. ordertype:
  9615. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9616. type: integer
  9617. relatedlot:
  9618. description: '[数量]关联手数'
  9619. type: number
  9620. relatedmode:
  9621. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9622. type: integer
  9623. relatedqty:
  9624. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9625. type: number
  9626. retcode:
  9627. description: 返回码
  9628. type: integer
  9629. saleuserid:
  9630. description: 业务员ID
  9631. type: integer
  9632. tradedate:
  9633. description: 关联交易日(yyyyMMdd)
  9634. type: string
  9635. tradeid:
  9636. description: '[成交单号]内部成交单ID'
  9637. type: string
  9638. tradelot:
  9639. description: 成交手数
  9640. type: integer
  9641. tradeprice:
  9642. description: '[价格]成交价格'
  9643. type: number
  9644. tradetime:
  9645. description: 日期时间
  9646. type: string
  9647. tradetradedate:
  9648. description: 成交交易日(yyyyMMdd)
  9649. type: string
  9650. required:
  9651. - hedgeditemid
  9652. type: object
  9653. models.Exchangerateconfig:
  9654. properties:
  9655. descurrencyid:
  9656. description: 目标币种ID
  9657. type: integer
  9658. exchangerate:
  9659. description: 汇率
  9660. type: number
  9661. oricurrencyid:
  9662. description: 源币种ID
  9663. type: integer
  9664. remark:
  9665. description: 备注
  9666. type: string
  9667. type: object
  9668. models.Externalexchange:
  9669. properties:
  9670. autoid:
  9671. description: AutoID - SEQ_EXTERNALEXCHANGE
  9672. type: integer
  9673. exchangefullname:
  9674. description: 外部交易所全称
  9675. type: string
  9676. exexchangecode:
  9677. description: 外部交易所代码
  9678. type: string
  9679. exexchangename:
  9680. description: 外部交易所名称(简称)
  9681. type: string
  9682. ismarketprice:
  9683. description: 是否支持市价 - 0:不支持 1:支持
  9684. type: integer
  9685. quotegear:
  9686. description: 行情档位(1-10)
  9687. type: integer
  9688. showbrokerflag:
  9689. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9690. type: integer
  9691. updatetime:
  9692. description: 更新时间
  9693. type: string
  9694. required:
  9695. - autoid
  9696. type: object
  9697. models.Funcmenulist:
  9698. properties:
  9699. iconame:
  9700. description: 菜单图标
  9701. type: string
  9702. menutype:
  9703. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9704. type: integer
  9705. parentcode:
  9706. description: 上级资源代码
  9707. type: string
  9708. remark:
  9709. description: 备注
  9710. type: string
  9711. resourcecode:
  9712. description: 资源代码
  9713. type: string
  9714. resourcelevel:
  9715. description: 级别 1-一级 2-二级 3-三级 4-四级
  9716. type: integer
  9717. resourcename:
  9718. description: 资源名
  9719. type: string
  9720. sort:
  9721. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9722. type: integer
  9723. url:
  9724. description: URL
  9725. type: string
  9726. required:
  9727. - resourcecode
  9728. type: object
  9729. models.Fworderoperate:
  9730. properties:
  9731. advanceamount:
  9732. description: 总预付款
  9733. type: number
  9734. advanceproofaddr:
  9735. description: 预付款收款凭证(确认结算费用时)
  9736. type: string
  9737. bankfee:
  9738. description: 汇款银行手续费
  9739. type: number
  9740. bankproofaddr:
  9741. description: 广钻汇款银行手续费凭证(确认结算费用时)
  9742. type: string
  9743. customsproofaddr:
  9744. description: 海关税费保证金收据(确认结算费用时)
  9745. type: string
  9746. logisticsfee:
  9747. description: 代缴物流保险费
  9748. type: number
  9749. logisticsproofaddr:
  9750. description: 代缴物流保险费凭证(确认结算费用时)
  9751. type: string
  9752. operatetime:
  9753. description: 操作时间
  9754. type: string
  9755. operatoraccount:
  9756. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  9757. type: string
  9758. operatorid:
  9759. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  9760. type: integer
  9761. operatorname:
  9762. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  9763. type: string
  9764. operatorsrc:
  9765. description: 操作人来源 - 1:管理端 2:终端
  9766. type: integer
  9767. orderid:
  9768. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  9769. type: string
  9770. otherfee:
  9771. description: 其它费用
  9772. type: number
  9773. remark:
  9774. description: 操作备注
  9775. type: string
  9776. servicefee:
  9777. description: 综合服务费
  9778. type: number
  9779. settleamount:
  9780. description: 总结算费用 - 实际扣除资金,不含税费保证金
  9781. type: number
  9782. status:
  9783. description: 操作后单据状态 - 枚举"GZBSStatus"
  9784. type: integer
  9785. taxmargin:
  9786. description: 税费保证金
  9787. type: number
  9788. totalfee:
  9789. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  9790. type: number
  9791. required:
  9792. - orderid
  9793. - status
  9794. type: object
  9795. models.GErmcpspotgoodsprice:
  9796. properties:
  9797. chg:
  9798. description: 涨跌幅
  9799. type: number
  9800. currencyid:
  9801. description: 报价货币ID
  9802. type: integer
  9803. deliverygoodsid:
  9804. description: 现货品种ID
  9805. type: integer
  9806. prespotgoodsprice:
  9807. description: 上日价格
  9808. type: number
  9809. spotgoodsbrandid:
  9810. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9811. type: integer
  9812. spotgoodsprice:
  9813. description: 【最新价】当前价格
  9814. type: number
  9815. srcmarketname:
  9816. description: 来源市场名称
  9817. type: string
  9818. todaypricedtotalamount:
  9819. description: 今日定价金额
  9820. type: number
  9821. todaypricedtotalqty:
  9822. description: 今日定价总量
  9823. type: number
  9824. todayspotgoodsprice:
  9825. description: 今日指定价
  9826. type: number
  9827. tradedate:
  9828. description: 【日期】交易日
  9829. type: string
  9830. wrstandardcode:
  9831. description: 现货商品代码
  9832. type: string
  9833. wrstandardid:
  9834. description: 现货商品ID(通用则为0)
  9835. type: integer
  9836. wrstandardname:
  9837. description: 【名称】现货商品名称
  9838. type: string
  9839. ystspotgoodsprice:
  9840. description: 昨价
  9841. type: number
  9842. type: object
  9843. models.GThjuserscorelog:
  9844. properties:
  9845. createtime:
  9846. description: 记账时间
  9847. type: string
  9848. redpacketvalue:
  9849. description: 红包值【抽奖】
  9850. type: number
  9851. score:
  9852. description: 变动积分
  9853. type: number
  9854. scoreconfigtype:
  9855. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9856. 7:抽奖配置
  9857. type: integer
  9858. stype:
  9859. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9860. 6:自己供求下单积分 7:抽奖配置'
  9861. type: string
  9862. type: object
  9863. models.GZGoods:
  9864. properties:
  9865. address:
  9866. description: 详细地址
  9867. type: string
  9868. cerno:
  9869. description: 证书编号 - 类型:2,4,5
  9870. type: string
  9871. cityname:
  9872. description: 城市名称
  9873. type: string
  9874. countryname:
  9875. description: 国家名称
  9876. type: string
  9877. cpcertno:
  9878. description: 金伯利证书编号 - 类型:3
  9879. type: string
  9880. districtname:
  9881. description: 地区名称
  9882. type: string
  9883. goodsno:
  9884. description: 商品编号
  9885. type: string
  9886. imagepath:
  9887. description: 商品照片(相对地址)
  9888. type: string
  9889. isvalid:
  9890. description: 是否有效 - 0:无效 1:有效
  9891. type: integer
  9892. kppath:
  9893. description: 金伯利证书图片(相对地址) - 类型:3
  9894. type: string
  9895. kpweight:
  9896. description: 金伯利证书重量 - 类型:3
  9897. type: string
  9898. marketprice:
  9899. description: 市场价
  9900. type: string
  9901. mobile:
  9902. description: 手机号码
  9903. type: string
  9904. origin:
  9905. description: 原产地 - 类型:3
  9906. type: string
  9907. performancetemplateid:
  9908. description: 履约计划模板ID
  9909. type: integer
  9910. price:
  9911. description: 总价(价格) - 类型:1,2,3,4,5
  9912. type: number
  9913. priceper:
  9914. description: 克拉单价 - 类型:1,2,3,5
  9915. type: string
  9916. provincename:
  9917. description: 省名称
  9918. type: string
  9919. remainqty:
  9920. description: 剩余重量
  9921. type: number
  9922. remark:
  9923. description: 备注
  9924. type: string
  9925. sellusername:
  9926. description: 账户名称(机构名称)
  9927. type: string
  9928. settingmaterial:
  9929. description: 镶嵌材料 - 类型:4
  9930. type: string
  9931. size1:
  9932. description: 尺寸1 - 类型:2,4,5
  9933. type: string
  9934. size2:
  9935. description: 尺寸2 - 类型:2,4,5
  9936. type: string
  9937. size3:
  9938. description: 尺寸3 - 类型:2,4,5
  9939. type: string
  9940. sizedisplay:
  9941. description: 尺寸
  9942. type: string
  9943. stonedesc:
  9944. description: 配石描述 - 类型:4
  9945. type: string
  9946. userid:
  9947. description: 用户ID
  9948. type: integer
  9949. warehouseid:
  9950. description: 仓库ID
  9951. type: integer
  9952. warehousenamedisplay:
  9953. type: string
  9954. weight:
  9955. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9956. type: number
  9957. weightavg:
  9958. description: 平均单颗重量 - 类型:1,3
  9959. type: number
  9960. wrpath:
  9961. description: 仓单扫描件(相对地址)
  9962. type: string
  9963. wrstandardid:
  9964. description: 现货商品ID
  9965. type: integer
  9966. wrtradeorderid:
  9967. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9968. type: string
  9969. zscategory:
  9970. description: 钻石分类 - 枚举”ZSCategory“
  9971. type: integer
  9972. zscategorydisplay:
  9973. type: string
  9974. zscerttype:
  9975. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9976. type: integer
  9977. zscerttypedisplay:
  9978. type: string
  9979. zsclaritytype1:
  9980. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9981. type: integer
  9982. zsclaritytype1display:
  9983. type: string
  9984. zsclaritytype2:
  9985. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9986. type: integer
  9987. zsclaritytype2display:
  9988. type: string
  9989. zscolortype1:
  9990. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9991. type: integer
  9992. zscolortype1display:
  9993. type: string
  9994. zscolortype2:
  9995. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9996. type: integer
  9997. zscolortype2display:
  9998. type: string
  9999. zscrystaltype:
  10000. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  10001. type: string
  10002. zscrystaltypedisplay:
  10003. type: string
  10004. zscurrencytype:
  10005. description: 货币类型 - 枚举“ZSCurrencyType”
  10006. type: integer
  10007. zscurrencytypedisplay:
  10008. type: string
  10009. zscurrencytypedisplayunit:
  10010. type: string
  10011. zscuttype1:
  10012. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10013. type: integer
  10014. zscuttype1display:
  10015. type: string
  10016. zscuttype2:
  10017. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10018. type: integer
  10019. zscuttype2display:
  10020. type: string
  10021. zsczcolor1type:
  10022. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10023. type: integer
  10024. zsczcolor1typedisplay:
  10025. type: string
  10026. zsczcolor2type:
  10027. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10028. type: integer
  10029. zsczcolor2typedisplay:
  10030. type: string
  10031. zsczcolor3type:
  10032. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10033. type: integer
  10034. zsczcolor3typedisplay:
  10035. type: string
  10036. zsfluorescencetype1:
  10037. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10038. type: integer
  10039. zsfluorescencetype1display:
  10040. type: string
  10041. zsfluorescencetype2:
  10042. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10043. type: integer
  10044. zsfluorescencetype2display:
  10045. type: string
  10046. zspolishtype1:
  10047. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10048. type: integer
  10049. zspolishtype1display:
  10050. type: string
  10051. zspolishtype2:
  10052. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10053. type: integer
  10054. zspolishtype2display:
  10055. type: string
  10056. zsshapetype:
  10057. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  10058. type: string
  10059. zsshapetypedisplay:
  10060. type: string
  10061. zsstyletype:
  10062. description: 款式 - 类型:4
  10063. type: integer
  10064. zsstyletypedisplay:
  10065. type: string
  10066. zssymmetrytype1:
  10067. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10068. type: integer
  10069. zssymmetrytype1display:
  10070. type: string
  10071. zssymmetrytype2:
  10072. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10073. type: integer
  10074. zssymmetrytype2display:
  10075. type: string
  10076. required:
  10077. - goodsno
  10078. type: object
  10079. models.GZHomeData:
  10080. properties:
  10081. purchasedtransactions:
  10082. description: 已购买的交易
  10083. type: integer
  10084. transactioninpurchase:
  10085. description: 求购中的交易
  10086. type: integer
  10087. transactionsonsale:
  10088. description: 出售中的交易
  10089. type: integer
  10090. transactionssold:
  10091. description: 已卖出的交易
  10092. type: integer
  10093. unhandledmessage:
  10094. description: 未处理消息
  10095. type: integer
  10096. type: object
  10097. models.GZWarehouseinfo:
  10098. properties:
  10099. address:
  10100. description: 详细地址
  10101. type: string
  10102. areauserid:
  10103. description: 所属机构
  10104. type: integer
  10105. autoid:
  10106. description: 自增ID
  10107. type: integer
  10108. cityid:
  10109. description: 市
  10110. type: integer
  10111. cityname:
  10112. description: 城市名称
  10113. type: string
  10114. contactname:
  10115. description: 联系人
  10116. type: string
  10117. contactnum:
  10118. description: 联系电话
  10119. type: string
  10120. countryid:
  10121. description: 国家
  10122. type: integer
  10123. countryname:
  10124. description: 国家名称
  10125. type: string
  10126. createtime:
  10127. description: 创建时间
  10128. type: string
  10129. districtid:
  10130. description: 区
  10131. type: integer
  10132. districtname:
  10133. description: 地区名称
  10134. type: string
  10135. hasvideo:
  10136. description: 是否有视频 - 0:无 1:有
  10137. type: integer
  10138. provinceid:
  10139. description: 省
  10140. type: integer
  10141. provincename:
  10142. description: 省名称
  10143. type: string
  10144. remark:
  10145. description: 审核备注
  10146. type: string
  10147. videourl:
  10148. description: 视频地址
  10149. type: string
  10150. warehousecode:
  10151. description: 仓库代码
  10152. type: string
  10153. warehousename:
  10154. description: 仓库名称
  10155. type: string
  10156. warehousestatus:
  10157. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10158. type: integer
  10159. warehousetype:
  10160. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10161. type: integer
  10162. type: object
  10163. models.Goods:
  10164. properties:
  10165. agreeunit:
  10166. description: 合约单位
  10167. type: number
  10168. areauserid:
  10169. description: 所属机构
  10170. type: integer
  10171. auditaccountid:
  10172. description: 审核操作员账号
  10173. type: integer
  10174. audittime:
  10175. description: 审核时间
  10176. type: string
  10177. cancelaccountid:
  10178. description: 注销操作员账号
  10179. type: integer
  10180. canceltime:
  10181. description: 注销时间
  10182. type: string
  10183. closepricemode:
  10184. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10185. type: integer
  10186. closepriceparam:
  10187. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10188. type: number
  10189. createtime:
  10190. description: 创建时间
  10191. type: string
  10192. creatorid:
  10193. description: 创建人
  10194. type: integer
  10195. currencyid:
  10196. description: 报价货币ID
  10197. type: integer
  10198. cutmode:
  10199. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10200. type: integer
  10201. decimalplace:
  10202. description: 报价小数位
  10203. type: integer
  10204. delistingdate:
  10205. description: 商品退市时间(状态:退市) -- 已作废
  10206. type: string
  10207. delistingmode:
  10208. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10209. type: integer
  10210. deliveryflag:
  10211. description: 交割标志 - 0:不可交割 1:可交割
  10212. type: integer
  10213. forceclosemode:
  10214. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10215. type: integer
  10216. forceclosevalue:
  10217. description: 定期强平参数 [收益权]
  10218. type: integer
  10219. goodscode:
  10220. description: 商品代码(内部)
  10221. type: string
  10222. goodscurrencyid:
  10223. description: 合约货币ID
  10224. type: integer
  10225. goodsgroupid:
  10226. description: 所属商品组ID
  10227. type: integer
  10228. goodsid:
  10229. description: 商品ID(自增ID SEQ_GOODS)
  10230. type: integer
  10231. goodsname:
  10232. description: 商品名称
  10233. type: string
  10234. goodsquotetype:
  10235. description: '合约报价类型: 1-直接报价 2-间接报价'
  10236. type: integer
  10237. goodsstatus:
  10238. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10239. type: integer
  10240. goodstradetype:
  10241. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10242. type: integer
  10243. goodunitid:
  10244. description: 报价单位ID
  10245. type: integer
  10246. hasquoter:
  10247. description: 是否有报价商 - 0:无报价商 1:有报价商
  10248. type: integer
  10249. hqprotecttime:
  10250. description: 行情保护时间(秒)
  10251. type: integer
  10252. innerdealmode:
  10253. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10254. type: integer
  10255. isbuylimited:
  10256. description: 是否限制建仓量 - 0:不限制 1:限制
  10257. type: integer
  10258. isvisible:
  10259. description: 游客是否可见 - 0:不可见 1:可见
  10260. type: integer
  10261. lasttradedate:
  10262. description: 最后交易日期(状态:待退市)
  10263. type: string
  10264. listingdate:
  10265. description: 交易开始日期
  10266. type: string
  10267. marketid:
  10268. description: 所属市场ID
  10269. type: integer
  10270. modifierid:
  10271. description: 修改人
  10272. type: integer
  10273. modifystatus:
  10274. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10275. type: integer
  10276. modifytime:
  10277. description: 修改时间
  10278. type: string
  10279. outerdealmode:
  10280. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10281. type: integer
  10282. outgoodscode:
  10283. description: 商品代码(外部)
  10284. type: string
  10285. pictureurl:
  10286. description: 商品图片
  10287. type: string
  10288. qtydecimalplace:
  10289. description: 成交量小数位
  10290. type: integer
  10291. quotegear:
  10292. description: 行情档位(1-10)
  10293. type: integer
  10294. quoteminunit:
  10295. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10296. type: integer
  10297. quoteshowtype:
  10298. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10299. type: integer
  10300. quoteshowtypeinterval:
  10301. description: 行情报价间隔时间(秒)(成交价时为0)
  10302. type: integer
  10303. remark:
  10304. description: 备注
  10305. type: string
  10306. required:
  10307. - goodscode
  10308. - goodsid
  10309. - goodsname
  10310. - marketid
  10311. type: object
  10312. models.GoodsIDAndName:
  10313. properties:
  10314. goodscode:
  10315. description: 商品代码(内部)
  10316. type: string
  10317. goodsid:
  10318. description: 商品ID(自增ID SEQ_GOODS)
  10319. type: integer
  10320. goodsname:
  10321. description: 商品名称
  10322. type: string
  10323. marketid:
  10324. description: 所属市场ID
  10325. type: integer
  10326. required:
  10327. - goodscode
  10328. - goodsid
  10329. - goodsname
  10330. - marketid
  10331. type: object
  10332. models.Goodsgroup:
  10333. properties:
  10334. agreeunit:
  10335. description: 合约单位
  10336. type: number
  10337. canshort:
  10338. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10339. type: integer
  10340. closepricemode:
  10341. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10342. type: integer
  10343. closepriceparam:
  10344. description: 强平最新价浮动比例 - 方式为2时使用
  10345. type: number
  10346. createtime:
  10347. description: 创建时间
  10348. type: string
  10349. creatorid:
  10350. description: 创建人
  10351. type: integer
  10352. currencyid:
  10353. description: 报价货币ID
  10354. type: integer
  10355. decimalplace:
  10356. description: 报价小数位
  10357. type: integer
  10358. exercisetype:
  10359. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10360. type: integer
  10361. exexchangeid:
  10362. description: 外部交易所ID[通道交易]
  10363. type: integer
  10364. goodsgroupid:
  10365. description: 商品组ID(自增ID)
  10366. type: integer
  10367. goodsgroupname:
  10368. description: 商品组名称
  10369. type: string
  10370. goodsgroupstatus:
  10371. description: 商品组状态 - 1:正常 2:注销
  10372. type: integer
  10373. goodunitid:
  10374. description: 报价单位ID
  10375. type: integer
  10376. innerdealmode:
  10377. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10378. type: integer
  10379. isbuylimited:
  10380. description: 是否限制建仓量 - 0:不限制 1:限制
  10381. type: integer
  10382. marketid:
  10383. description: 所属市场ID
  10384. type: integer
  10385. modifierid:
  10386. description: 修改人
  10387. type: integer
  10388. modifytime:
  10389. description: 修改时间
  10390. type: string
  10391. outerdealmode:
  10392. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10393. type: integer
  10394. outergroupcode:
  10395. description: 外部商品组代码[通道交易]
  10396. type: string
  10397. premiumdecimalplace:
  10398. description: 权利金小数位[场外期权]
  10399. type: integer
  10400. premiumspreadalgorithm:
  10401. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10402. type: integer
  10403. premiumspreadvalue:
  10404. description: 权利金点差值[场外期权]
  10405. type: number
  10406. qtydecimalplace:
  10407. description: 成交量小数位
  10408. type: integer
  10409. quotegear:
  10410. description: 行情档位(1-10)
  10411. type: integer
  10412. quoteminunit:
  10413. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10414. type: integer
  10415. quoterid:
  10416. description: 报价商ID[场外期权]
  10417. type: integer
  10418. quotesourcegroupid:
  10419. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10420. type: integer
  10421. syncgoodsqty:
  10422. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10423. type: integer
  10424. required:
  10425. - goodsgroupid
  10426. - goodsgroupname
  10427. - goodsgroupstatus
  10428. - marketid
  10429. type: object
  10430. models.Goodssortbypreposition:
  10431. properties:
  10432. goodscode:
  10433. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10434. type: string
  10435. goodsgroupcode:
  10436. description: 品种代码
  10437. type: string
  10438. prepositionqty:
  10439. description: 昨持仓量
  10440. type: integer
  10441. sortindex:
  10442. description: 排序
  10443. type: integer
  10444. tradedate:
  10445. description: 交易日
  10446. type: string
  10447. updatetime:
  10448. description: 更新时间
  10449. type: string
  10450. required:
  10451. - goodscode
  10452. - tradedate
  10453. type: object
  10454. models.GzbsfworderM:
  10455. properties:
  10456. accountid:
  10457. description: 资金账户ID
  10458. type: integer
  10459. addresscn:
  10460. description: 地址(中文)
  10461. type: string
  10462. addressen:
  10463. description: 地址(英文)
  10464. type: string
  10465. advanceamount:
  10466. description: 总预付款
  10467. type: number
  10468. colorrange:
  10469. description: 颜色范围
  10470. type: string
  10471. companynamecn:
  10472. description: 收货人(中文)
  10473. type: string
  10474. companynameen:
  10475. description: 收货人(英文)
  10476. type: string
  10477. contactfax:
  10478. description: 收货人传真
  10479. type: string
  10480. contactname:
  10481. description: 收货人姓名
  10482. type: string
  10483. contactphoneno:
  10484. description: 收货人电话
  10485. type: string
  10486. contentrange:
  10487. description: 【内容】内容范围
  10488. type: string
  10489. createtime:
  10490. description: 创建时间
  10491. type: string
  10492. executestatus:
  10493. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10494. type: integer
  10495. gzbsdeliverytype:
  10496. description: 收货方式 - 枚举"GZBSDeliveryType"
  10497. type: integer
  10498. gzbsstatus:
  10499. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10500. type: integer
  10501. gzbsstatusdisplay:
  10502. description: 单据状态
  10503. type: string
  10504. handlestatus:
  10505. description: 处理状态
  10506. type: integer
  10507. orderdate:
  10508. description: 单据日期
  10509. type: string
  10510. orderid:
  10511. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10512. type: integer
  10513. orderno:
  10514. description: 单据编号 - GZDEBSFW+单据流水号
  10515. type: string
  10516. ordersn:
  10517. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10518. type: string
  10519. origincountry:
  10520. description: 原产国
  10521. type: string
  10522. otherlogistics:
  10523. description: 指定其它物流
  10524. type: string
  10525. priceper:
  10526. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10527. type: number
  10528. settleamount:
  10529. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10530. type: number
  10531. shaperange:
  10532. description: 形状范围
  10533. type: string
  10534. taxmargin:
  10535. description: 税费保证金 - 确认结算费用时退回
  10536. type: number
  10537. totalamount:
  10538. description: 总值(美元)
  10539. type: number
  10540. totalgrossweightgm:
  10541. description: 总毛重(克)
  10542. type: number
  10543. totalnetweightgm:
  10544. description: 总净重(克)
  10545. type: number
  10546. totalnetweigthct:
  10547. description: 总净重(克拉)
  10548. type: number
  10549. totalnumber:
  10550. description: 总粒数
  10551. type: integer
  10552. userid:
  10553. description: 用户ID
  10554. type: integer
  10555. weightrange:
  10556. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10557. type: string
  10558. required:
  10559. - userid
  10560. type: object
  10561. models.GzbsfworderdetailM:
  10562. properties:
  10563. colorinfo:
  10564. description: 彩钻信息
  10565. type: string
  10566. createtime:
  10567. description: 创建时间
  10568. type: string
  10569. grossweightgm:
  10570. description: 毛重(克)
  10571. type: number
  10572. gzcjshape:
  10573. description: 形状(字符)
  10574. type: string
  10575. netweigthct:
  10576. description: 净重(克拉)
  10577. type: number
  10578. netweigthgm:
  10579. description: 净重(克)
  10580. type: number
  10581. ordercontent:
  10582. description: 内容
  10583. type: string
  10584. orderdetailid:
  10585. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10586. type: integer
  10587. orderid:
  10588. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10589. type: integer
  10590. orderindex:
  10591. description: 顺序
  10592. type: integer
  10593. perprice:
  10594. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10595. type: number
  10596. remark:
  10597. description: 备注(其它)
  10598. type: string
  10599. totalamount:
  10600. description: 总值(美元)
  10601. type: number
  10602. type: object
  10603. models.Gzbsfworderoperate:
  10604. properties:
  10605. advanceproofaddr:
  10606. description: 预付款收款凭证(确认结算费用时)
  10607. type: string
  10608. bankfee:
  10609. description: 汇款银行手续费
  10610. type: number
  10611. bankproofaddr:
  10612. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10613. type: string
  10614. customsproofaddr:
  10615. description: 海关税费保证金收据(确认结算费用时)
  10616. type: string
  10617. gzbsstatus:
  10618. description: 操作后单据状态 - 枚举"GZBSStatus"
  10619. type: integer
  10620. logisticsfee:
  10621. description: 代缴物流保险费
  10622. type: number
  10623. logisticsproofaddr:
  10624. description: 代缴物流保险费凭证(确认结算费用时)
  10625. type: string
  10626. operatetime:
  10627. description: 操作时间
  10628. type: string
  10629. operatoraccount:
  10630. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10631. type: string
  10632. operatorid:
  10633. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10634. type: integer
  10635. operatorname:
  10636. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10637. type: string
  10638. operatorsrc:
  10639. description: 操作人来源 - 1:管理端 2:终端
  10640. type: integer
  10641. orderid:
  10642. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10643. type: integer
  10644. otherfee:
  10645. description: 其它费用
  10646. type: number
  10647. remark:
  10648. description: 操作备注
  10649. type: string
  10650. servicefee:
  10651. description: 综合服务费
  10652. type: number
  10653. taxmargin:
  10654. description: 税费保证金
  10655. type: number
  10656. totalfee:
  10657. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10658. type: number
  10659. required:
  10660. - orderid
  10661. type: object
  10662. models.Gzcertaddressconfig:
  10663. properties:
  10664. certregion:
  10665. description: 证书地域 - 1:国内 2:国际
  10666. type: integer
  10667. certtype:
  10668. description: 证书类型
  10669. type: string
  10670. orderindex:
  10671. description: 显示顺序
  10672. type: integer
  10673. orgcnname:
  10674. description: 机构名称(中文)
  10675. type: string
  10676. orgenname:
  10677. description: 机构名称(英文)
  10678. type: string
  10679. queryaddress:
  10680. description: 查询地址
  10681. type: string
  10682. remark:
  10683. description: 备注
  10684. type: string
  10685. updatetime:
  10686. description: 更新时间
  10687. type: string
  10688. type: object
  10689. models.Gzcertaddressparam:
  10690. properties:
  10691. certtype:
  10692. description: 证书类型
  10693. type: string
  10694. orderindex:
  10695. description: 参数顺序
  10696. type: integer
  10697. paramkey:
  10698. description: 参数Key
  10699. type: string
  10700. paramname:
  10701. description: 参数名称
  10702. type: string
  10703. updatetime:
  10704. description: 更新时间
  10705. type: string
  10706. type: object
  10707. models.GzcjbsorderfileM:
  10708. properties:
  10709. canmembervisit:
  10710. description: 会员是否可访问 - 1:可 2:不可
  10711. type: integer
  10712. fileaddress:
  10713. description: 文件地址
  10714. type: string
  10715. filegentype:
  10716. description: 文件生成类型 - 1:系统生成 2:手动上传
  10717. type: integer
  10718. filename:
  10719. description: 文件名称
  10720. type: string
  10721. operatetime:
  10722. description: 操作时间
  10723. type: string
  10724. operatoraccount:
  10725. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10726. type: string
  10727. operatorid:
  10728. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10729. type: integer
  10730. operatorsrc:
  10731. description: 操作人来源 - 1:管理端 2:终端
  10732. type: integer
  10733. orderfileid:
  10734. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10735. type: integer
  10736. orderid:
  10737. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10738. type: integer
  10739. required:
  10740. - orderid
  10741. type: object
  10742. models.GzcjjcorderM:
  10743. properties:
  10744. accountid:
  10745. description: 资金账户ID
  10746. type: integer
  10747. addresscn:
  10748. description: 地址(中文)
  10749. type: string
  10750. addressen:
  10751. description: 地址(英文)
  10752. type: string
  10753. advanceamount:
  10754. description: 总预付款
  10755. type: number
  10756. colorrange:
  10757. description: 颜色范围
  10758. type: string
  10759. companynamecn:
  10760. description: 公司名称(中文)
  10761. type: string
  10762. companynameen:
  10763. description: 公司名称(英文)
  10764. type: string
  10765. contactname:
  10766. description: 联系人姓名
  10767. type: string
  10768. contactphoneno:
  10769. description: 联系人电话
  10770. type: string
  10771. contactposition:
  10772. description: 联系人职位
  10773. type: string
  10774. createtime:
  10775. description: 创建时间
  10776. type: string
  10777. email:
  10778. description: 邮箱
  10779. type: string
  10780. executestatus:
  10781. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10782. type: integer
  10783. gzcjaccount:
  10784. description: 送检账户
  10785. type: string
  10786. gzcjaccounttype:
  10787. description: 检测账户类型 - 枚举"GZCJAccountType"
  10788. type: integer
  10789. gzcjcategorytype:
  10790. description: 货物品类 - 枚举"GZCJCategoryType"
  10791. type: integer
  10792. gzcjcategorytypedisplay:
  10793. description: 货物品类
  10794. type: string
  10795. gzcjdeliverytype:
  10796. description: 收货方式 - 枚举"GZCJDeliveryType"
  10797. type: integer
  10798. gzcjdeliverytypedisplay:
  10799. description: 收货方式
  10800. type: string
  10801. gzcjstatus:
  10802. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10803. type: integer
  10804. gzcjstatusdisplay:
  10805. description: 单据状态(出境检测)
  10806. type: string
  10807. handlestatus:
  10808. description: 处理状态
  10809. type: integer
  10810. invoiceremark:
  10811. description: 复核备注 - 发票装箱单使用
  10812. type: string
  10813. orderid:
  10814. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10815. type: integer
  10816. orderidstr:
  10817. description: 单据ID 字符(801+Unix秒时间戳(10位)+xxxxxx)
  10818. type: string
  10819. orderno:
  10820. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10821. type: string
  10822. ordersn:
  10823. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10824. type: string
  10825. origincountry:
  10826. description: 原产国
  10827. type: string
  10828. processingcountry:
  10829. description: 成品钻石加工国
  10830. type: string
  10831. realservicefee:
  10832. description: 应收综合服务费
  10833. type: number
  10834. servicefeesum:
  10835. description: 汇总综合服务费 - 明细上值汇总
  10836. type: number
  10837. settleamount:
  10838. description: 总结算费用
  10839. type: number
  10840. shaperange:
  10841. description: 形状范围
  10842. type: string
  10843. totalamount:
  10844. description: 总金额(美元)
  10845. type: number
  10846. totalgrossweight:
  10847. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10848. * 200
  10849. type: number
  10850. totalnumber:
  10851. description: 总粒数
  10852. type: integer
  10853. totalweight:
  10854. description: 总克拉数(保留3位小数)
  10855. type: number
  10856. totalweightgm:
  10857. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10858. type: number
  10859. userid:
  10860. description: 用户ID
  10861. type: integer
  10862. weightrange:
  10863. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10864. type: string
  10865. zsorigin:
  10866. description: 天然钻石毛坯原产地
  10867. type: string
  10868. required:
  10869. - userid
  10870. type: object
  10871. models.GzcjjcorderdetailM:
  10872. properties:
  10873. amount:
  10874. description: 参考货值(USD)
  10875. type: number
  10876. colorinfo:
  10877. description: 彩钻信息
  10878. type: string
  10879. createtime:
  10880. description: 创建时间
  10881. type: string
  10882. gzcjmarktype:
  10883. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10884. type: integer
  10885. gzcjpublishtype:
  10886. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10887. type: integer
  10888. gzcjpublishtypestring:
  10889. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10890. type: string
  10891. gzcjservicetype:
  10892. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10893. type: integer
  10894. gzcjservicetypestring:
  10895. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10896. type: string
  10897. gzcjshapetype:
  10898. description: 形状 - 枚举"GZCJShapeType"
  10899. type: integer
  10900. gzcjshapetypestring:
  10901. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10902. type: string
  10903. gzno:
  10904. description: 货物编号
  10905. type: string
  10906. orderdetailid:
  10907. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10908. type: integer
  10909. orderid:
  10910. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10911. type: integer
  10912. orderindex:
  10913. description: 顺序
  10914. type: integer
  10915. origincertno:
  10916. description: 原证书号【送检账户为“广钻账户”】
  10917. type: string
  10918. remark:
  10919. description: 备注(其它)
  10920. type: string
  10921. servicefee:
  10922. description: 综合服务费 - 根据市场配置计算
  10923. type: number
  10924. weight:
  10925. description: 重量(CT)
  10926. type: number
  10927. type: object
  10928. models.Gzcjjcorderoperate:
  10929. properties:
  10930. advanceamount:
  10931. description: 总预付款
  10932. type: number
  10933. advanceproofaddr:
  10934. description: 预付检测费和海关税费银行凭证(确认结算费用时)
  10935. type: string
  10936. bankfee:
  10937. description: 汇款银行手续费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10938. type: number
  10939. bankproofaddr:
  10940. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10941. type: string
  10942. customsfee:
  10943. description: 海关税费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10944. type: number
  10945. customsproofaddr:
  10946. description: 海关税费凭证(确认结算费用时)
  10947. type: string
  10948. exchangerate:
  10949. description: 汇率 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10950. type: number
  10951. giaproofaddr:
  10952. description: GIA检测费凭证(确认结算费用时)
  10953. type: string
  10954. giarmbfee:
  10955. description: GIA检测费(¥) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10956. type: number
  10957. giausdfee:
  10958. description: GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10959. type: number
  10960. logisticsfee:
  10961. description: 代缴物流保险费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10962. type: number
  10963. logisticsproofaddr:
  10964. description: 代缴物流保险费凭证(确认结算费用时)
  10965. type: string
  10966. operatetime:
  10967. description: 操作时间
  10968. type: string
  10969. operatoraccount:
  10970. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10971. type: string
  10972. operatorid:
  10973. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10974. type: integer
  10975. operatorname:
  10976. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10977. type: string
  10978. operatorsrc:
  10979. description: 操作人来源 - 1:管理端 2:终端
  10980. type: integer
  10981. orderid:
  10982. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10983. type: string
  10984. otherfee:
  10985. description: 其它费用
  10986. type: number
  10987. remark:
  10988. description: 操作备注
  10989. type: string
  10990. servicefee:
  10991. description: 综合服务费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10992. type: number
  10993. settleamount:
  10994. description: 总结算费用
  10995. type: number
  10996. status:
  10997. description: 操作后单据状态 - 枚举"GZCJStatus"
  10998. type: integer
  10999. totalfee:
  11000. description: 总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus
  11001. = 10.预付款确认中\13.付款确认中] 时
  11002. type: number
  11003. required:
  11004. - orderid
  11005. - status
  11006. type: object
  11007. models.Gzrapaportprice:
  11008. properties:
  11009. dollar:
  11010. description: 美元
  11011. type: string
  11012. rmb:
  11013. description: 人民币
  11014. type: string
  11015. type: object
  11016. models.Hedgeinnerholderdetail:
  11017. properties:
  11018. accountid:
  11019. description: 账号ID
  11020. type: integer
  11021. buyorsell:
  11022. description: 方向 - 0:买 1:卖
  11023. type: integer
  11024. freezeqty:
  11025. description: 冻结数量 - 按单平使用
  11026. type: integer
  11027. goodsid:
  11028. description: 商品ID
  11029. type: integer
  11030. holderamount:
  11031. description: 持仓金额 [商品币种]
  11032. type: number
  11033. holderdays:
  11034. description: 剩余冻结天数
  11035. type: integer
  11036. holderprice:
  11037. description: 持仓价格
  11038. type: number
  11039. holderqty:
  11040. description: 持仓数量
  11041. type: integer
  11042. marketid:
  11043. description: 市场ID
  11044. type: integer
  11045. openprice:
  11046. description: 建仓价格
  11047. type: number
  11048. openqty:
  11049. description: 建仓数量
  11050. type: integer
  11051. parentaccountid:
  11052. description: 所属母账户
  11053. type: integer
  11054. releaseamount:
  11055. description: 释放持仓金额[商品币种]
  11056. type: number
  11057. tradeamount:
  11058. description: 成交金额[账户]
  11059. type: number
  11060. tradedate:
  11061. description: 交易日(yyyyMMdd)
  11062. type: string
  11063. tradeid:
  11064. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11065. type: string
  11066. tradetime:
  11067. description: 交易时间
  11068. type: string
  11069. required:
  11070. - buyorsell
  11071. - tradeid
  11072. type: object
  11073. models.Hedgemarketopenlog:
  11074. properties:
  11075. accountid:
  11076. description: 资金账号[外部母账户]
  11077. type: integer
  11078. fcname:
  11079. description: 期货公司名称
  11080. type: string
  11081. handlestatus:
  11082. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  11083. type: integer
  11084. marketid:
  11085. description: 市场ID
  11086. type: integer
  11087. status:
  11088. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  11089. type: integer
  11090. tradedate:
  11091. description: 交易日(yyyyMMdd)
  11092. type: string
  11093. updatetime:
  11094. description: 更新时间
  11095. type: string
  11096. required:
  11097. - accountid
  11098. type: object
  11099. models.HistoryData:
  11100. properties:
  11101. c:
  11102. description: 收盘价
  11103. type: number
  11104. f:
  11105. description: 是否补充数据
  11106. type: boolean
  11107. h:
  11108. description: 最高价
  11109. type: number
  11110. hv:
  11111. description: 持仓量
  11112. type: integer
  11113. l:
  11114. description: 最低价
  11115. type: number
  11116. o:
  11117. description: 开盘价
  11118. type: number
  11119. s:
  11120. description: 结算价,日线周期(包括)以上才有
  11121. type: number
  11122. ts:
  11123. description: 时间
  11124. type: string
  11125. tt:
  11126. description: 总金额
  11127. type: number
  11128. tv:
  11129. description: 总量(成交量)
  11130. type: integer
  11131. type: object
  11132. models.HsbyBuyMyPayOrder:
  11133. properties:
  11134. agreeunit:
  11135. description: 合约单位
  11136. type: number
  11137. buyaccountid:
  11138. description: 买方账号ID[报价币种]
  11139. type: integer
  11140. buyorderid:
  11141. description: 买方委托单号
  11142. type: string
  11143. createtime:
  11144. description: 创建时间
  11145. type: string
  11146. currencysign:
  11147. description: 货币符号
  11148. type: string
  11149. decimalplace:
  11150. description: 报价小数位
  11151. type: integer
  11152. goodscode:
  11153. description: 商品代码(内部)
  11154. type: string
  11155. goodsid:
  11156. description: 商品ID
  11157. type: integer
  11158. goodsname:
  11159. description: 商品名称
  11160. type: string
  11161. marketid:
  11162. description: 市场ID
  11163. type: integer
  11164. offamount:
  11165. description: 优惠金额
  11166. type: number
  11167. originalamount:
  11168. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  11169. type: number
  11170. payamount:
  11171. description: 支付金额 = TradeAmount + TradeCharge
  11172. type: number
  11173. payflag:
  11174. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11175. type: integer
  11176. paylimitedtime:
  11177. description: 支付期限
  11178. type: string
  11179. paytime:
  11180. description: 付款时间
  11181. type: string
  11182. picurls1:
  11183. description: 预售商品介绍图片[多张用逗号分隔]
  11184. type: string
  11185. picurls2:
  11186. description: 挂牌商品介绍图片[多张用逗号分隔]
  11187. type: string
  11188. sellaccountid:
  11189. description: 卖方账号ID[报价币种]
  11190. type: integer
  11191. sellorderid:
  11192. description: 卖方委托单号
  11193. type: string
  11194. tradeamount:
  11195. description: 成交金额
  11196. type: number
  11197. tradecharge:
  11198. description: 成交手续费(买方)
  11199. type: number
  11200. tradedate:
  11201. description: 交易日(yyyyMMdd)
  11202. type: string
  11203. tradeid:
  11204. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11205. type: string
  11206. trademode:
  11207. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11208. 21:竞拍-大宗式 22:受托竞价
  11209. type: integer
  11210. tradeprice:
  11211. description: 成交价格
  11212. type: number
  11213. tradeqty:
  11214. description: 成交数量
  11215. type: integer
  11216. vendorname1:
  11217. description: 预售商品供应商名称
  11218. type: string
  11219. vendorname2:
  11220. description: 挂牌商品供应商名称
  11221. type: string
  11222. required:
  11223. - goodscode
  11224. - goodsname
  11225. - tradeid
  11226. - trademode
  11227. type: object
  11228. models.HsbyBuyMyTradeDetail:
  11229. properties:
  11230. accountid:
  11231. description: 账户ID[报价币种]
  11232. type: integer
  11233. agreeunit:
  11234. description: 合约单位
  11235. type: number
  11236. amount:
  11237. description: 金额 = 价格 * 数量 * 合约单位
  11238. type: number
  11239. buyorsell:
  11240. description: 买卖 - 0:买 1:卖
  11241. type: integer
  11242. currencysign:
  11243. description: 货币符号
  11244. type: string
  11245. decimalplace:
  11246. description: 报价小数位
  11247. type: integer
  11248. goodscode:
  11249. description: 商品代码(内部)
  11250. type: string
  11251. goodsid:
  11252. description: 商品ID
  11253. type: integer
  11254. goodsname:
  11255. description: 商品名称
  11256. type: string
  11257. marketid:
  11258. description: 市场ID
  11259. type: integer
  11260. orderamount:
  11261. description: 委托金额
  11262. type: number
  11263. orderid:
  11264. description: 单号(成交单号)
  11265. type: string
  11266. picurls1:
  11267. description: 预售商品介绍图片[多张用逗号分隔]
  11268. type: string
  11269. picurls2:
  11270. description: 挂牌商品介绍图片[多张用逗号分隔]
  11271. type: string
  11272. price:
  11273. description: 价格
  11274. type: number
  11275. qty:
  11276. description: 数量
  11277. type: integer
  11278. time:
  11279. description: 时间
  11280. type: string
  11281. trademode:
  11282. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11283. 21:竞拍-大宗式 22:受托竞价
  11284. type: integer
  11285. vendorname1:
  11286. description: 预售商品供应商名称
  11287. type: string
  11288. vendorname2:
  11289. description: 挂牌商品供应商名称
  11290. type: string
  11291. required:
  11292. - accountid
  11293. - buyorsell
  11294. - goodscode
  11295. - goodsid
  11296. - goodsname
  11297. - marketid
  11298. - orderid
  11299. - qty
  11300. - time
  11301. - trademode
  11302. type: object
  11303. models.HsbyGoodsOrderDetail:
  11304. properties:
  11305. buyorsell:
  11306. description: 买卖 - 0:买 1:卖
  11307. type: integer
  11308. currencysign:
  11309. description: 货币符号
  11310. type: string
  11311. customername:
  11312. description: 客户名称(企业名称),已脱敏
  11313. type: string
  11314. enableqty:
  11315. description: 可用数量
  11316. type: integer
  11317. goodunit:
  11318. description: 报价单位
  11319. type: string
  11320. orderid:
  11321. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11322. type: string
  11323. orderprice:
  11324. description: 委托价格
  11325. type: number
  11326. ordertime:
  11327. description: 委托时间
  11328. type: string
  11329. required:
  11330. - buyorsell
  11331. - orderid
  11332. - ordertime
  11333. type: object
  11334. models.HsbyListingGoodsDetail:
  11335. properties:
  11336. agreeunit:
  11337. description: 合约单位
  11338. type: number
  11339. buymaxqty:
  11340. description: 购买上限 [71] - 0为不限
  11341. type: integer
  11342. currency:
  11343. description: 货币
  11344. type: string
  11345. currencysign:
  11346. description: 货币符号
  11347. type: string
  11348. decimalplace:
  11349. description: 报价小数位
  11350. type: integer
  11351. desccityid:
  11352. description: 目的地(市)ID
  11353. type: integer
  11354. descprovinceid:
  11355. description: 目的地(省)ID
  11356. type: integer
  11357. goodscode:
  11358. description: 商品代码(内部)
  11359. type: string
  11360. goodsdesc:
  11361. description: 商品详情
  11362. type: string
  11363. goodsid:
  11364. description: 商品ID(自增ID SEQ_GOODS)
  11365. type: integer
  11366. goodsname:
  11367. description: 商品名称
  11368. type: string
  11369. goodsprice:
  11370. description: 商品价格
  11371. type: number
  11372. hotindex:
  11373. description: 景点热度
  11374. type: integer
  11375. last:
  11376. description: 现价
  11377. type: number
  11378. limitdown:
  11379. description: 跌停价
  11380. type: number
  11381. limitup:
  11382. description: 涨停价
  11383. type: number
  11384. lotsize:
  11385. description: 手数最小变动单位
  11386. type: integer
  11387. marketid:
  11388. description: 所属市场ID
  11389. type: integer
  11390. picurls:
  11391. description: 介绍图片[多张用逗号分隔]
  11392. type: string
  11393. quoteminunit:
  11394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11395. type: integer
  11396. stepvalue:
  11397. description: 价格最小变动单位
  11398. type: number
  11399. trademode:
  11400. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11401. 21:竞拍-大宗式 22:受托竞价
  11402. type: integer
  11403. vendorattr:
  11404. description: 供应商附件(多张,逗号分隔)
  11405. type: string
  11406. vendorname:
  11407. description: 供应商名称
  11408. type: string
  11409. vendorphone:
  11410. description: 供应商客服电话
  11411. type: string
  11412. videourls:
  11413. description: 介绍视频[多张用逗号分隔]
  11414. type: string
  11415. required:
  11416. - goodscode
  11417. - goodsid
  11418. - goodsname
  11419. - marketid
  11420. - trademode
  11421. type: object
  11422. models.HsbyMarketGoods:
  11423. properties:
  11424. accountid:
  11425. description: 账户ID[报价币种]
  11426. type: integer
  11427. agreeunit:
  11428. description: 合约单位
  11429. type: number
  11430. buyorsell:
  11431. description: 买卖 - 0:买 1:卖
  11432. type: integer
  11433. categoryid:
  11434. description: 类别ID(WRCATEGORY)
  11435. type: integer
  11436. currency:
  11437. description: 货币
  11438. type: string
  11439. currencysign:
  11440. description: 货币符号
  11441. type: string
  11442. customername:
  11443. description: 卖家名称
  11444. type: string
  11445. decimalplace:
  11446. description: 报价小数位
  11447. type: integer
  11448. goodscode:
  11449. description: 商品代码(内部)
  11450. type: string
  11451. goodsid:
  11452. description: 商品ID
  11453. type: integer
  11454. goodsname:
  11455. description: 商品名称
  11456. type: string
  11457. goodsprice:
  11458. description: 商品价格
  11459. type: number
  11460. hascoupon:
  11461. description: 是否可用优惠卷
  11462. type: boolean
  11463. hotindex:
  11464. description: 景点热度
  11465. type: integer
  11466. marketid:
  11467. description: 市场ID
  11468. type: integer
  11469. orderid:
  11470. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11471. type: string
  11472. orderprice:
  11473. description: 委托价格
  11474. type: number
  11475. orderstatus:
  11476. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11477. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11478. 16:成交失败违约(荷兰式竞拍专用)
  11479. type: integer
  11480. picurls:
  11481. description: 介绍图片[多张用逗号分隔]
  11482. type: string
  11483. quoteminunit:
  11484. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11485. type: integer
  11486. sellUserID:
  11487. description: 卖方UserID
  11488. type: integer
  11489. trademode:
  11490. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11491. 21:竞拍-大宗式 22:受托竞价
  11492. type: integer
  11493. videourls:
  11494. description: 介绍视频[多张用逗号分隔]
  11495. type: string
  11496. required:
  11497. - accountid
  11498. - buyorsell
  11499. - goodscode
  11500. - goodsid
  11501. - goodsname
  11502. - marketid
  11503. - orderid
  11504. - trademode
  11505. type: object
  11506. models.HsbyMarketGoodsDetail:
  11507. properties:
  11508. accountid:
  11509. description: 账户ID[报价币种]
  11510. type: integer
  11511. agreeunit:
  11512. description: 合约单位
  11513. type: number
  11514. buymaxqty:
  11515. description: 购买上限 [71] - 0为不限
  11516. type: integer
  11517. buyorsell:
  11518. description: 买卖 - 0:买 1:卖
  11519. type: integer
  11520. cancelqty:
  11521. description: 撤单数量
  11522. type: integer
  11523. categoryid:
  11524. description: 类别ID(WRCATEGORY)
  11525. type: integer
  11526. currency:
  11527. description: 货币
  11528. type: string
  11529. currencysign:
  11530. description: 货币符号
  11531. type: string
  11532. customername:
  11533. description: 卖家名称
  11534. type: string
  11535. decimalplace:
  11536. description: 报价小数位
  11537. type: integer
  11538. goodscode:
  11539. description: 商品代码(内部)
  11540. type: string
  11541. goodsdesc:
  11542. description: 商品详情
  11543. type: string
  11544. goodsid:
  11545. description: 商品ID
  11546. type: integer
  11547. goodsname:
  11548. description: 商品名称
  11549. type: string
  11550. goodsprice:
  11551. description: 商品价格
  11552. type: number
  11553. hotindex:
  11554. description: 景点热度
  11555. type: integer
  11556. lotsize:
  11557. description: 手数最小变动单位
  11558. type: integer
  11559. marketid:
  11560. description: 市场ID
  11561. type: integer
  11562. orderid:
  11563. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11564. type: string
  11565. orderprice:
  11566. description: 委托价格
  11567. type: number
  11568. orderqty:
  11569. description: 委托数量
  11570. type: integer
  11571. orderstatus:
  11572. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11573. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11574. 16:成交失败违约(荷兰式竞拍专用)
  11575. type: integer
  11576. picurls:
  11577. description: 介绍图片[多张用逗号分隔]
  11578. type: string
  11579. quoteminunit:
  11580. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11581. type: integer
  11582. sellUserID:
  11583. description: 卖方UserID
  11584. type: integer
  11585. trademode:
  11586. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11587. 21:竞拍-大宗式 22:受托竞价
  11588. type: integer
  11589. tradeqty:
  11590. description: 成交数量
  11591. type: integer
  11592. vendorattr:
  11593. description: 供应商附件(多张,逗号分隔)
  11594. type: string
  11595. vendorname:
  11596. description: 供应商名称
  11597. type: string
  11598. vendorphone:
  11599. description: 供应商客服电话
  11600. type: string
  11601. videourls:
  11602. description: 介绍视频[多张用逗号分隔]
  11603. type: string
  11604. required:
  11605. - accountid
  11606. - buyorsell
  11607. - goodscode
  11608. - goodsid
  11609. - goodsname
  11610. - marketid
  11611. - orderid
  11612. - orderqty
  11613. - trademode
  11614. type: object
  11615. models.HsbyMarketInfo:
  11616. properties:
  11617. marketid:
  11618. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11619. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11620. type: integer
  11621. marketname:
  11622. description: 市场名称
  11623. type: string
  11624. marketstatus:
  11625. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11626. type: integer
  11627. trademode:
  11628. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11629. 21:竞拍-大宗式 22:受托竞价
  11630. type: integer
  11631. required:
  11632. - marketid
  11633. - marketstatus
  11634. - trademode
  11635. type: object
  11636. models.HsbyMyGoods:
  11637. properties:
  11638. accountid:
  11639. description: 账号Id
  11640. type: integer
  11641. agreeunit:
  11642. description: 合约单位
  11643. type: number
  11644. buyaverageprice:
  11645. description: 持仓均价
  11646. type: number
  11647. buycurholderamount:
  11648. description: 买当前持仓总金额[商品币种]
  11649. type: number
  11650. buycurpositionqty:
  11651. description: 买当前持仓总数量
  11652. type: integer
  11653. buymaxqty:
  11654. description: 购买上限 [71] - 0为不限
  11655. type: integer
  11656. currencysign:
  11657. description: 货币符号
  11658. type: string
  11659. decimalplace:
  11660. description: 报价小数位
  11661. type: integer
  11662. enableqty:
  11663. description: 可用数量
  11664. type: integer
  11665. goodscode:
  11666. description: 商品代码(内部)
  11667. type: string
  11668. goodsid:
  11669. description: 商品Id
  11670. type: integer
  11671. goodsname:
  11672. description: 商品名称
  11673. type: string
  11674. goodsprice:
  11675. description: 商品价格
  11676. type: number
  11677. goodsstatus:
  11678. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11679. type: integer
  11680. last:
  11681. description: 现价(仅使用于挂牌点选)
  11682. type: number
  11683. limitdown:
  11684. description: 跌停价(仅使用于挂牌点选)
  11685. type: number
  11686. limitup:
  11687. description: 涨停价(仅使用于挂牌点选)
  11688. type: number
  11689. lotsize:
  11690. description: 手数最小变动单位
  11691. type: integer
  11692. marketid:
  11693. description: 所属市场ID
  11694. type: integer
  11695. picurls:
  11696. description: 介绍图片[多张用逗号分隔]
  11697. type: string
  11698. quoteminunit:
  11699. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11700. type: integer
  11701. stepvalue:
  11702. description: 价格最小变动单位
  11703. type: number
  11704. trademode:
  11705. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11706. 21:竞拍-大宗式 22:受托竞价
  11707. type: integer
  11708. required:
  11709. - accountid
  11710. - goodscode
  11711. - goodsid
  11712. - goodsname
  11713. - marketid
  11714. - trademode
  11715. type: object
  11716. models.HsbyMyPackage:
  11717. properties:
  11718. accountid:
  11719. description: 账户ID
  11720. type: integer
  11721. address:
  11722. description: 提货人详细地址
  11723. type: string
  11724. agreeunit:
  11725. description: 合约单位
  11726. type: number
  11727. amount:
  11728. description: 提货金额
  11729. type: number
  11730. auditer:
  11731. description: 审核人
  11732. type: integer
  11733. audittime:
  11734. description: 审核时间
  11735. type: string
  11736. averageprice:
  11737. description: 均价
  11738. type: number
  11739. cardnum:
  11740. description: 提货人证件号码
  11741. type: string
  11742. cardtypeid:
  11743. description: 提货人证件类型
  11744. type: integer
  11745. checkremark:
  11746. description: 审核备注
  11747. type: string
  11748. currencysign:
  11749. description: 货币符号
  11750. type: string
  11751. decimalplace:
  11752. description: 报价小数位
  11753. type: integer
  11754. goodscode:
  11755. description: 商品代码(内部)
  11756. type: string
  11757. goodsid:
  11758. description: 商品ID
  11759. type: integer
  11760. goodsname:
  11761. description: 商品名称
  11762. type: string
  11763. handlestatus:
  11764. description: 处理状态
  11765. type: integer
  11766. marketid:
  11767. description: 市场ID
  11768. type: integer
  11769. phonenum:
  11770. description: 提货人联系方式
  11771. type: string
  11772. picurls:
  11773. description: 介绍图片[多张用逗号分隔]
  11774. type: string
  11775. qty:
  11776. description: 提货数量
  11777. type: number
  11778. recivername:
  11779. description: 提货人姓名
  11780. type: string
  11781. reqtime:
  11782. description: 更新时间
  11783. type: string
  11784. takemode:
  11785. description: 提货方式 - 2:自提 3:配送
  11786. type: integer
  11787. takeorderid:
  11788. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11789. type: string
  11790. takeorderstatus:
  11791. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11792. type: integer
  11793. takeremark:
  11794. description: 提货备注
  11795. type: string
  11796. tradedate:
  11797. description: 交易日(yyyyMMdd)
  11798. type: string
  11799. trademode:
  11800. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11801. 21:竞拍-大宗式 22:受托竞价
  11802. type: integer
  11803. userid:
  11804. description: 用户ID
  11805. type: integer
  11806. vendorname:
  11807. description: 供应商名称
  11808. type: string
  11809. required:
  11810. - goodscode
  11811. - goodsname
  11812. - takeorderid
  11813. - trademode
  11814. type: object
  11815. models.HsbyPreGoods:
  11816. properties:
  11817. agreeunit:
  11818. description: 合约单位
  11819. type: number
  11820. currency:
  11821. description: 货币
  11822. type: string
  11823. currencysign:
  11824. description: 货币符号
  11825. type: string
  11826. decimalplace:
  11827. description: 报价小数位
  11828. type: integer
  11829. desccityid:
  11830. description: 目的地(市)
  11831. type: integer
  11832. descprovinceid:
  11833. description: 目的地(省)
  11834. type: integer
  11835. enableqty:
  11836. description: 剩余数量
  11837. type: integer
  11838. goodscode:
  11839. description: 商品代码(内部)
  11840. type: string
  11841. goodsid:
  11842. description: 商品ID(自增ID SEQ_GOODS)
  11843. type: integer
  11844. goodsname:
  11845. description: 商品名称
  11846. type: string
  11847. goodsstatus:
  11848. description: 商品状态- 2:未上市 3:上市
  11849. type: integer
  11850. lasttradedate:
  11851. description: 最后交易日期(状态:待退市)
  11852. type: string
  11853. listingdate:
  11854. description: 交易开始日期
  11855. type: string
  11856. marketid:
  11857. description: 所属市场ID
  11858. type: integer
  11859. picurls:
  11860. description: 介绍图片[多张用逗号分隔]
  11861. type: string
  11862. presaledqty:
  11863. description: 已预售量(预售结束时更新)
  11864. type: integer
  11865. presaleqty:
  11866. description: 预售数量
  11867. type: integer
  11868. quoteminunit:
  11869. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11870. type: integer
  11871. refprice:
  11872. description: 参考价格[一口价]
  11873. type: number
  11874. relatedgoodsid:
  11875. description: 关联交易合约ID
  11876. type: integer
  11877. trademode:
  11878. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11879. 21:竞拍-大宗式 22:受托竞价
  11880. type: integer
  11881. videourls:
  11882. description: 介绍视频[多张用逗号分隔]
  11883. type: string
  11884. required:
  11885. - goodscode
  11886. - goodsid
  11887. - goodsname
  11888. - marketid
  11889. - trademode
  11890. type: object
  11891. models.HsbyPreGoodsDetail:
  11892. properties:
  11893. agreeunit:
  11894. description: 合约单位
  11895. type: number
  11896. buymaxqty:
  11897. description: 购买上限 [71] - 0为不限
  11898. type: integer
  11899. currency:
  11900. description: 货币
  11901. type: string
  11902. currencysign:
  11903. description: 货币符号
  11904. type: string
  11905. customername:
  11906. description: 发行单位
  11907. type: string
  11908. decimalplace:
  11909. description: 报价小数位
  11910. type: integer
  11911. desccityid:
  11912. description: 目的地(市)ID
  11913. type: integer
  11914. descprovinceid:
  11915. description: 目的地(省)ID
  11916. type: integer
  11917. enableqty:
  11918. description: 剩余数量
  11919. type: integer
  11920. goodscode:
  11921. description: 商品代码(内部)
  11922. type: string
  11923. goodsdesc:
  11924. description: 商品详情
  11925. type: string
  11926. goodsid:
  11927. description: 商品ID(自增ID SEQ_GOODS)
  11928. type: integer
  11929. goodsname:
  11930. description: 商品名称
  11931. type: string
  11932. goodsstatus:
  11933. description: 商品状态- 2:未上市 3:上市
  11934. type: integer
  11935. goodunit:
  11936. description: 报价单位
  11937. type: string
  11938. lasttradedate:
  11939. description: 最后交易日期(状态:待退市)
  11940. type: string
  11941. listingdate:
  11942. description: 交易开始日期
  11943. type: string
  11944. lotsize:
  11945. description: 手数最小变动单位
  11946. type: integer
  11947. marketid:
  11948. description: 所属市场ID
  11949. type: integer
  11950. picurls:
  11951. description: 介绍图片[多张用逗号分隔]
  11952. type: string
  11953. presaledqty:
  11954. description: 已预售量(预售结束时更新)
  11955. type: integer
  11956. presaleqty:
  11957. description: 预售数量
  11958. type: integer
  11959. quoteminunit:
  11960. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11961. type: integer
  11962. refprice:
  11963. description: 参考价格[一口价]
  11964. type: number
  11965. relatedgoodsid:
  11966. description: 关联交易合约ID
  11967. type: integer
  11968. stepvalue:
  11969. description: 价格最小变动单位
  11970. type: number
  11971. trademode:
  11972. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11973. 21:竞拍-大宗式 22:受托竞价
  11974. type: integer
  11975. vendorattr:
  11976. description: 供应商附件(多张,逗号分隔)
  11977. type: string
  11978. vendorname:
  11979. description: 供应商名称
  11980. type: string
  11981. vendorphone:
  11982. description: 供应商客服电话
  11983. type: string
  11984. videourls:
  11985. description: 介绍视频[多张用逗号分隔]
  11986. type: string
  11987. required:
  11988. - goodscode
  11989. - goodsid
  11990. - goodsname
  11991. - marketid
  11992. - trademode
  11993. type: object
  11994. models.HsbySellCollectionOrder:
  11995. properties:
  11996. agreeunit:
  11997. description: 合约单位
  11998. type: number
  11999. buyaccountid:
  12000. description: 买方账号ID[报价币种]
  12001. type: integer
  12002. buyorderid:
  12003. description: 买方委托单号
  12004. type: string
  12005. createtime:
  12006. description: 创建时间
  12007. type: string
  12008. currencysign:
  12009. description: 货币符号
  12010. type: string
  12011. decimalplace:
  12012. description: 报价小数位
  12013. type: integer
  12014. goodscode:
  12015. description: 商品代码(内部)
  12016. type: string
  12017. goodsid:
  12018. description: 商品ID
  12019. type: integer
  12020. goodsname:
  12021. description: 商品名称
  12022. type: string
  12023. marketid:
  12024. description: 市场ID
  12025. type: integer
  12026. offamount:
  12027. description: 优惠金额
  12028. type: number
  12029. payamount:
  12030. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  12031. type: number
  12032. payflag:
  12033. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12034. type: integer
  12035. paylimitedtime:
  12036. description: 支付期限
  12037. type: string
  12038. paytime:
  12039. description: 付款时间
  12040. type: string
  12041. picurls:
  12042. description: 商品介绍图片[多张用逗号分隔]
  12043. type: string
  12044. sellaccountid:
  12045. description: 卖方账号ID[报价币种]
  12046. type: integer
  12047. sellorderid:
  12048. description: 卖方委托单号
  12049. type: string
  12050. tradeamount:
  12051. description: 成交金额
  12052. type: number
  12053. tradecharge:
  12054. description: 成交手续费(买方)
  12055. type: number
  12056. tradedate:
  12057. description: 交易日(yyyyMMdd)
  12058. type: string
  12059. tradeid:
  12060. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12061. type: string
  12062. trademode:
  12063. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12064. 21:竞拍-大宗式 22:受托竞价
  12065. type: integer
  12066. tradeprice:
  12067. description: 成交价格
  12068. type: number
  12069. tradeqty:
  12070. description: 成交数量
  12071. type: integer
  12072. required:
  12073. - goodscode
  12074. - goodsname
  12075. - tradeid
  12076. - trademode
  12077. type: object
  12078. models.HsbySellMyDetail:
  12079. properties:
  12080. accountid:
  12081. description: 账户ID[报价币种]
  12082. type: integer
  12083. agreeunit:
  12084. description: 合约单位
  12085. type: number
  12086. buyorsell:
  12087. description: 买卖 - 0:买 1:卖
  12088. type: integer
  12089. currencysign:
  12090. description: 货币符号
  12091. type: string
  12092. decimalplace:
  12093. description: 报价小数位
  12094. type: integer
  12095. goodscode:
  12096. description: 商品代码(内部)
  12097. type: string
  12098. goodsid:
  12099. description: 商品ID
  12100. type: integer
  12101. goodsname:
  12102. description: 商品名称
  12103. type: string
  12104. marketid:
  12105. description: 市场ID
  12106. type: integer
  12107. orderid:
  12108. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  12109. type: string
  12110. ordertype:
  12111. description: 单据类型:0 - 发布中, 1 - 已完成
  12112. type: integer
  12113. picurls:
  12114. description: 介绍图片[多张用逗号分隔]
  12115. type: string
  12116. price:
  12117. description: 价格
  12118. type: number
  12119. qty:
  12120. description: 数量
  12121. type: integer
  12122. time:
  12123. description: 时间
  12124. type: string
  12125. trademode:
  12126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12127. 21:竞拍-大宗式 22:受托竞价
  12128. type: integer
  12129. vendorname:
  12130. description: 供应商名称
  12131. type: string
  12132. required:
  12133. - accountid
  12134. - buyorsell
  12135. - goodscode
  12136. - goodsid
  12137. - goodsname
  12138. - marketid
  12139. - orderid
  12140. - time
  12141. - trademode
  12142. type: object
  12143. models.HsbyTopGoods:
  12144. properties:
  12145. agreeunit:
  12146. description: 合约单位
  12147. type: number
  12148. currency:
  12149. description: 货币
  12150. type: string
  12151. currencysign:
  12152. description: 货币符号
  12153. type: string
  12154. decimalplace:
  12155. description: 报价小数位
  12156. type: integer
  12157. desccityid:
  12158. description: 目的地(市)
  12159. type: integer
  12160. descprovinceid:
  12161. description: 目的地(省)
  12162. type: integer
  12163. goodscode:
  12164. description: 商品代码(内部)
  12165. type: string
  12166. goodsid:
  12167. description: 商品ID(自增ID SEQ_GOODS)
  12168. type: integer
  12169. goodsname:
  12170. description: 商品名称
  12171. type: string
  12172. hotindex:
  12173. description: 景点热度
  12174. type: integer
  12175. last:
  12176. description: 现价
  12177. type: number
  12178. marketid:
  12179. description: 所属市场ID
  12180. type: integer
  12181. picurls:
  12182. description: 介绍图片[多张用逗号分隔]
  12183. type: string
  12184. quoteminunit:
  12185. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12186. type: integer
  12187. trademode:
  12188. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12189. 21:竞拍-大宗式 22:受托竞价
  12190. type: integer
  12191. videourls:
  12192. description: 介绍视频[多张用逗号分隔]
  12193. type: string
  12194. required:
  12195. - goodscode
  12196. - goodsid
  12197. - goodsname
  12198. - marketid
  12199. - trademode
  12200. type: object
  12201. models.HybsMyBuyOrderDetail:
  12202. properties:
  12203. accountid:
  12204. description: 账户ID[报价币种]
  12205. type: integer
  12206. agreeunit:
  12207. description: 合约单位
  12208. type: number
  12209. buyorsell:
  12210. description: 买卖 - 0:买 1:卖
  12211. type: integer
  12212. cancelqty:
  12213. description: 撤单数量
  12214. type: integer
  12215. currencysign:
  12216. description: 货币符号
  12217. type: string
  12218. decimalplace:
  12219. description: 报价小数位
  12220. type: integer
  12221. goodscode:
  12222. description: 商品代码(内部)
  12223. type: string
  12224. goodsid:
  12225. description: 商品ID
  12226. type: integer
  12227. goodsname:
  12228. description: 商品名称
  12229. type: string
  12230. listingselecttype:
  12231. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12232. type: integer
  12233. marketid:
  12234. description: 市场ID
  12235. type: integer
  12236. mybuystatus:
  12237. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12238. type: integer
  12239. orderamount:
  12240. description: 委托金额
  12241. type: number
  12242. orderid:
  12243. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12244. type: string
  12245. orderprice:
  12246. description: 委托价格
  12247. type: number
  12248. orderqty:
  12249. description: 委托数量
  12250. type: integer
  12251. orderstatus:
  12252. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12253. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12254. 16:成交失败违约(荷兰式竞拍专用)
  12255. type: integer
  12256. ordertime:
  12257. description: 委托时间
  12258. type: string
  12259. picurls1:
  12260. description: 预售商品介绍图片[多张用逗号分隔]
  12261. type: string
  12262. picurls2:
  12263. description: 挂牌商品介绍图片[多张用逗号分隔]
  12264. type: string
  12265. trademode:
  12266. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12267. 21:竞拍-大宗式 22:受托竞价
  12268. type: integer
  12269. tradeqty:
  12270. description: 成交数量
  12271. type: integer
  12272. vendorname1:
  12273. description: 预售商品供应商名称
  12274. type: string
  12275. vendorname2:
  12276. description: 挂牌商品供应商名称
  12277. type: string
  12278. required:
  12279. - accountid
  12280. - buyorsell
  12281. - goodscode
  12282. - goodsid
  12283. - goodsname
  12284. - marketid
  12285. - orderid
  12286. - orderqty
  12287. - ordertime
  12288. - trademode
  12289. type: object
  12290. models.InternalEnableTradeDetail:
  12291. properties:
  12292. agreeunit:
  12293. description: 合约乘数
  12294. type: number
  12295. areauserid:
  12296. description: 企业ID
  12297. type: integer
  12298. convertratio:
  12299. description: 品种系数
  12300. type: number
  12301. deliverygoodscode:
  12302. description: 现货品种代码
  12303. type: string
  12304. deliverygoodsid:
  12305. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12306. type: integer
  12307. deliverygoodsname:
  12308. description: 现货品种名称
  12309. type: string
  12310. futurehedgeqty:
  12311. description: '[已关联数量]期货持仓套期量'
  12312. type: number
  12313. goodsid:
  12314. description: 期货合约ID
  12315. type: integer
  12316. hedgeditemid:
  12317. description: 被套期项目ID
  12318. type: string
  12319. hedgeditemnum:
  12320. description: 项目编号
  12321. type: string
  12322. tradeuserid:
  12323. description: 交易用户ID
  12324. type: integer
  12325. unexehedgeqty:
  12326. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12327. type: number
  12328. unexespotqty:
  12329. description: 未执行现货量
  12330. type: number
  12331. wrstandardcode:
  12332. description: 现货品类代码
  12333. type: string
  12334. wrstandardid:
  12335. description: 现货品类ID(SEQ_WRSTANDARD)
  12336. type: integer
  12337. wrstandardname:
  12338. description: 现货品类名称
  12339. type: string
  12340. required:
  12341. - areauserid
  12342. - goodsid
  12343. - tradeuserid
  12344. type: object
  12345. models.InternalUncorrelatedTradeDetail:
  12346. properties:
  12347. accountid:
  12348. description: 账号ID
  12349. type: integer
  12350. accountname:
  12351. description: 套期主体
  12352. type: string
  12353. agreeunit:
  12354. description: 合约乘数
  12355. type: number
  12356. areauserid:
  12357. description: 所属机构
  12358. type: integer
  12359. bizsubjectid:
  12360. description: 归属业务部门ID - SubjectID
  12361. type: integer
  12362. buyorsell:
  12363. description: 方向 - 0:买 1:卖
  12364. type: integer
  12365. channelbuildtype:
  12366. description: 委托单据类型 0:无 1:建仓 2:平仓
  12367. type: integer
  12368. convertratio:
  12369. description: 品种系数
  12370. type: number
  12371. createtime:
  12372. description: 创建时间
  12373. type: string
  12374. creatorid:
  12375. description: 创建人ID
  12376. type: integer
  12377. creatorsrc:
  12378. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12379. type: integer
  12380. enableqty:
  12381. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12382. type: number
  12383. enumdicname:
  12384. description: 单位
  12385. type: string
  12386. goodscode:
  12387. description: 合约代码
  12388. type: string
  12389. goodsgroupid:
  12390. description: 对冲品种ID[期货合约商品组ID]
  12391. type: integer
  12392. goodsid:
  12393. description: 商品ID
  12394. type: integer
  12395. goodsname:
  12396. description: 合约名称
  12397. type: string
  12398. hedgeditemid:
  12399. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12400. type: integer
  12401. hedgeflag:
  12402. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12403. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12404. type: integer
  12405. linkdetailid:
  12406. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12407. type: string
  12408. linkstatus:
  12409. description: 关联状态 - 1:成功 2:失败 3:解绑
  12410. type: integer
  12411. middlegoodsid:
  12412. description: 套保品种ID
  12413. type: integer
  12414. middlegoodsqty:
  12415. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12416. type: number
  12417. relatedlot:
  12418. description: '[数量]关联手数'
  12419. type: number
  12420. relatedmode:
  12421. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12422. type: integer
  12423. relatedqty:
  12424. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12425. type: number
  12426. retcode:
  12427. description: 返回码
  12428. type: integer
  12429. saleuserid:
  12430. description: 业务员ID
  12431. type: integer
  12432. tradedate:
  12433. description: 关联交易日(yyyyMMdd)
  12434. type: string
  12435. tradeid:
  12436. description: 成交单号
  12437. type: string
  12438. tradelot:
  12439. description: 成交手数
  12440. type: integer
  12441. tradeprice:
  12442. description: 成交价
  12443. type: number
  12444. tradetime:
  12445. description: 成交时间
  12446. type: string
  12447. tradetradedate:
  12448. description: 成交交易日(yyyyMMdd)
  12449. type: string
  12450. tradeuserid:
  12451. description: 交易用户ID
  12452. type: integer
  12453. type: object
  12454. models.Loginaccount:
  12455. properties:
  12456. accountname:
  12457. description: 账户名称
  12458. type: string
  12459. canoutin:
  12460. description: 是否可出入金 - 0:不可 1:可
  12461. type: integer
  12462. clientroleid:
  12463. description: 终端角色ID
  12464. type: integer
  12465. haslogined:
  12466. description: 是否已登录 - 0:未登录 1:已登录
  12467. type: integer
  12468. hasupdatedpwd:
  12469. description: 是否已更改密码 - 0:未修改 1:已修改
  12470. type: integer
  12471. lastloginip:
  12472. description: 最新登录地址
  12473. type: string
  12474. lastloginmode:
  12475. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  12476. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12477. type: integer
  12478. lastloginremark:
  12479. description: 最新登录描述
  12480. type: string
  12481. lastlogintime:
  12482. description: 最新登录时间
  12483. type: string
  12484. logincode:
  12485. description: 登录代码
  12486. type: string
  12487. loginfailnum:
  12488. description: 连续登录失败次数(登录成功时清零)
  12489. type: integer
  12490. loginid:
  12491. description: 登陆账号
  12492. type: integer
  12493. loginport:
  12494. description: 最新登录端口
  12495. type: integer
  12496. loginstatus:
  12497. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  12498. type: integer
  12499. loginusertype:
  12500. description: 登录账号类型 - 1:投资者 2:机构交易员
  12501. type: integer
  12502. mobile:
  12503. description: 手机号码(加密存储)
  12504. type: string
  12505. modifierid:
  12506. description: 修改人
  12507. type: integer
  12508. modifysrc:
  12509. description: 审核来源 - 1:管理端 2:终端
  12510. type: integer
  12511. modifytime:
  12512. description: 修改时间
  12513. type: string
  12514. pwdwrongcount:
  12515. description: 密码错误次数
  12516. type: integer
  12517. relateduserid:
  12518. description: 关联用户ID(机构)
  12519. type: integer
  12520. taaccountrighttype:
  12521. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  12522. type: integer
  12523. unfreezetime:
  12524. description: 账户解冻时间
  12525. type: string
  12526. userid:
  12527. description: 用户ID
  12528. type: integer
  12529. required:
  12530. - loginid
  12531. type: object
  12532. models.MainAccountInfo:
  12533. properties:
  12534. accountid:
  12535. description: 账号id
  12536. type: integer
  12537. accountname:
  12538. description: 账号名称(taaccount表中的名称)
  12539. type: string
  12540. appid:
  12541. description: AppID
  12542. type: string
  12543. authcode:
  12544. description: 授权码
  12545. type: string
  12546. brokerid:
  12547. description: 经纪商id
  12548. type: string
  12549. fcid:
  12550. description: 期货公司id
  12551. type: integer
  12552. fcname:
  12553. description: 期货公司代码
  12554. type: string
  12555. hedgeaccountcode:
  12556. description: 外部账号代码(主账号登录代码)
  12557. type: string
  12558. hedgeaccountpwd:
  12559. description: 密码
  12560. type: string
  12561. ismain:
  12562. description: 是否主账号
  12563. type: integer
  12564. relateduserid:
  12565. description: 关联用户id
  12566. type: integer
  12567. userid:
  12568. description: 关联用户id
  12569. type: integer
  12570. type: object
  12571. models.Market:
  12572. properties:
  12573. auctionwrtype:
  12574. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  12575. type: integer
  12576. canacceptquote:
  12577. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12578. type: integer
  12579. cangoodsexercise:
  12580. description: '[期权]是否可现货行权- 0:否 1:是'
  12581. type: integer
  12582. cangoodsexercisetype:
  12583. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12584. type: integer
  12585. canmanualquotestrike:
  12586. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12587. type: integer
  12588. canmutistage:
  12589. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12590. type: integer
  12591. canpreexercise:
  12592. description: '[期权]是否可预申报- 0:否 1:是'
  12593. type: integer
  12594. clearinterval:
  12595. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12596. type: integer
  12597. contracttmp:
  12598. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12599. type: string
  12600. exchareaid:
  12601. description: 所属交易所,可以没有
  12602. type: integer
  12603. goodstype:
  12604. description: 商品类型 - 1:交易商品 2:仓单商品
  12605. type: integer
  12606. hasrebate:
  12607. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12608. type: integer
  12609. hastradecredit:
  12610. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12611. type: integer
  12612. haswr:
  12613. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12614. type: integer
  12615. isdeductmargin:
  12616. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12617. type: integer
  12618. isrecordsource:
  12619. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12620. type: integer
  12621. isreleasemargin:
  12622. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12623. type: integer
  12624. marginformula:
  12625. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12626. type: integer
  12627. marginformula2:
  12628. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12629. type: integer
  12630. marketid:
  12631. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12632. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12633. type: integer
  12634. marketname:
  12635. description: 市场名称
  12636. type: string
  12637. marketserviceid:
  12638. description: 市场服务ID
  12639. type: integer
  12640. marketstatus:
  12641. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12642. type: integer
  12643. markettype:
  12644. description: 市场类型- 1:非交易服务 2:交易服务
  12645. type: integer
  12646. matchermode:
  12647. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  12648. type: integer
  12649. openmethod:
  12650. description: 开盘模式 - 0 自动 1手动
  12651. type: integer
  12652. otcuserid:
  12653. description: 场外期权做市商[场外期权]
  12654. type: integer
  12655. outersynctime:
  12656. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12657. type: string
  12658. pendingflag:
  12659. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12660. type: integer
  12661. pendingtime:
  12662. description: 待开市时间[通道交易-对冲](HH:mm)
  12663. type: string
  12664. performancetempid:
  12665. description: 履约计划模板ID - 作废
  12666. type: integer
  12667. premiumquotemode:
  12668. description: 权利金报价方式 - 1:自动 2:手动
  12669. type: integer
  12670. rebateratio:
  12671. description: 返利比率[竞价式]
  12672. type: number
  12673. reckonorder:
  12674. description: 结算顺序
  12675. type: integer
  12676. reckonpricealgorithm:
  12677. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12678. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12679. type: integer
  12680. reckonpriceparam:
  12681. description: 结算价参数
  12682. type: integer
  12683. reckontime:
  12684. description: 结算时间[通道交易-对冲](HH:mm)
  12685. type: string
  12686. roleprioritytype:
  12687. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12688. type: integer
  12689. selllistingauditflag:
  12690. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12691. type: integer
  12692. trademarkettype:
  12693. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12694. type: integer
  12695. trademode:
  12696. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12697. 21:竞拍-大宗式 22:受托竞价
  12698. type: integer
  12699. tradeproperty:
  12700. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12701. 8:场外期权
  12702. type: integer
  12703. tradetype:
  12704. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12705. type: integer
  12706. required:
  12707. - marketid
  12708. - marketstatus
  12709. - openmethod
  12710. - reckonpricealgorithm
  12711. - trademode
  12712. - tradeproperty
  12713. type: object
  12714. models.Marketcalendar:
  12715. properties:
  12716. holidaydate:
  12717. description: 节假日期(yyyy-MM-dd)
  12718. type: string
  12719. marketid:
  12720. description: 市场ID
  12721. type: integer
  12722. type: object
  12723. models.Marketrun:
  12724. properties:
  12725. afternexttradedate:
  12726. description: 下下交易日
  12727. type: string
  12728. clearquoteflag:
  12729. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  12730. type: integer
  12731. lastreckondate:
  12732. description: 最新交易日(结算成功)
  12733. type: string
  12734. machinedate:
  12735. description: 机器时间
  12736. type: string
  12737. manualflag:
  12738. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  12739. type: integer
  12740. marketid:
  12741. description: 市场ID
  12742. type: integer
  12743. nexttradedate:
  12744. description: 下一交易日
  12745. type: string
  12746. pretradedate:
  12747. description: 上一交易日
  12748. type: string
  12749. reckonflag:
  12750. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  12751. type: integer
  12752. runstatus:
  12753. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  12754. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  12755. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  12756. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  12757. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  12758. 62.今日免清算
  12759. type: integer
  12760. sectionid:
  12761. description: 时间段号[多时段时用]
  12762. type: integer
  12763. tradedate:
  12764. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  12765. type: string
  12766. tradedate2:
  12767. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  12768. type: string
  12769. updatetime:
  12770. description: 更新时间
  12771. type: string
  12772. required:
  12773. - marketid
  12774. - nexttradedate
  12775. - reckonflag
  12776. - runstatus
  12777. - tradedate
  12778. - tradedate2
  12779. type: object
  12780. models.Messageboard:
  12781. properties:
  12782. contactnum:
  12783. description: 联系电话
  12784. type: string
  12785. createtime:
  12786. description: 创建时间
  12787. type: string
  12788. message:
  12789. description: 留言信息
  12790. type: string
  12791. messageboardid:
  12792. description: 留言簿ID(SEQ_MessageBoard)
  12793. type: integer
  12794. userid:
  12795. description: 用户ID
  12796. type: integer
  12797. required:
  12798. - messageboardid
  12799. type: object
  12800. models.MyBargainApply:
  12801. properties:
  12802. accountid:
  12803. description: 摘牌资金账号
  12804. type: integer
  12805. applyprice:
  12806. description: 申请价格
  12807. type: string
  12808. applyremark:
  12809. description: 申请备注
  12810. type: string
  12811. applystatus:
  12812. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  12813. type: integer
  12814. applytime:
  12815. description: 申请时间
  12816. type: string
  12817. buyorsell:
  12818. description: 买卖 - 0:买 1:卖
  12819. type: integer
  12820. buyusername:
  12821. description: 买方
  12822. type: string
  12823. confirmprice:
  12824. description: 可接受价格(拒绝时填写)-作废
  12825. type: number
  12826. confirmqty:
  12827. description: 可接受数量(拒绝时填写)-作废
  12828. type: integer
  12829. confirmremark:
  12830. description: 确认备注
  12831. type: string
  12832. confirmtime:
  12833. description: 确认时间
  12834. type: string
  12835. confirmuserid:
  12836. description: 确认人
  12837. type: integer
  12838. goodsno:
  12839. description: 商品编号
  12840. type: string
  12841. handlestatus:
  12842. description: 处理状态
  12843. type: integer
  12844. ladingbillid:
  12845. description: 摘牌方提单ID [卖]
  12846. type: integer
  12847. marketid:
  12848. description: 市场ID
  12849. type: integer
  12850. matchaccountid:
  12851. description: 挂牌方资金账号
  12852. type: integer
  12853. matchuserid:
  12854. description: 挂牌方用户ID
  12855. type: integer
  12856. performancetemplateid:
  12857. description: 履约计划模板ID
  12858. type: integer
  12859. price:
  12860. description: 价格
  12861. type: number
  12862. priceper:
  12863. description: 克拉单价 - 类型:1,2,3,5
  12864. type: string
  12865. qty:
  12866. description: 申请数量
  12867. type: number
  12868. refprice:
  12869. description: 参考价格
  12870. type: string
  12871. retcode:
  12872. description: 委托返回代码
  12873. type: integer
  12874. sellusername:
  12875. description: 卖方
  12876. type: string
  12877. sizedisplay:
  12878. description: 尺寸
  12879. type: string
  12880. subnum:
  12881. description: 摘牌方提单子单号 [卖]
  12882. type: integer
  12883. tradedate:
  12884. description: 交易日(yyyyMMdd)
  12885. type: string
  12886. userid:
  12887. description: 摘牌人用户ID
  12888. type: integer
  12889. warehousenamedisplay:
  12890. type: string
  12891. wrbargainid:
  12892. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  12893. type: string
  12894. wrtradeorderid:
  12895. description: 关联委托单ID
  12896. type: string
  12897. zscerttypedisplay:
  12898. type: string
  12899. zsclaritytype1display:
  12900. type: string
  12901. zsclaritytype2display:
  12902. type: string
  12903. zscolortype1display:
  12904. type: string
  12905. zscolortype2display:
  12906. type: string
  12907. zscrystaltypedisplay:
  12908. type: string
  12909. zscurrencytypedisplay:
  12910. type: string
  12911. zscurrencytypedisplayunit:
  12912. type: string
  12913. zscuttype1display:
  12914. type: string
  12915. zscuttype2display:
  12916. type: string
  12917. zsczcolor1typedisplay:
  12918. type: string
  12919. zsczcolor2typedisplay:
  12920. type: string
  12921. zsczcolor3typedisplay:
  12922. type: string
  12923. zsfluorescencetype1display:
  12924. type: string
  12925. zsfluorescencetype2display:
  12926. type: string
  12927. zspolishtype1display:
  12928. type: string
  12929. zspolishtype2display:
  12930. type: string
  12931. zsshapetypedisplay:
  12932. type: string
  12933. zsstyletypedisplay:
  12934. type: string
  12935. zssymmetrytype1display:
  12936. type: string
  12937. zssymmetrytype2display:
  12938. type: string
  12939. required:
  12940. - userid
  12941. type: object
  12942. models.MyBuyOrder:
  12943. properties:
  12944. accountid:
  12945. description: 资金账户ID
  12946. type: integer
  12947. marketid:
  12948. description: 市场ID
  12949. type: integer
  12950. ordertime:
  12951. description: 委托时间
  12952. type: string
  12953. origin:
  12954. description: 原产地
  12955. type: string
  12956. performancetemplateid:
  12957. description: 履约计划模板ID
  12958. type: integer
  12959. remark:
  12960. description: 备注
  12961. type: string
  12962. userid:
  12963. description: 用户ID
  12964. type: integer
  12965. validtime:
  12966. description: 有效期限
  12967. type: string
  12968. warehouseids:
  12969. description: 仓库ID - 多个, 逗号分隔
  12970. type: string
  12971. warehouseinfosdisplay:
  12972. type: string
  12973. wrtradeorderid:
  12974. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  12975. type: string
  12976. wrtradeorderstatus:
  12977. 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、
  12978. type: integer
  12979. zscategory:
  12980. description: 钻石分类 - 枚举”ZSCategory“
  12981. type: integer
  12982. zscategorydisplay:
  12983. type: string
  12984. zsclaritytype:
  12985. description: 净度 - 两个, 逗号分隔
  12986. type: string
  12987. zsclaritytypedisplay:
  12988. type: string
  12989. zscolortype:
  12990. description: 颜色 - 两个, 逗号分隔
  12991. type: string
  12992. zscolortypedisplay:
  12993. type: string
  12994. zscrystaltype:
  12995. description: 晶型 - 多个,逗号分隔
  12996. type: string
  12997. zscrystaltypedisplay:
  12998. type: string
  12999. zscurrencytype:
  13000. description: 货币类型 - 多个, 逗号分隔
  13001. type: string
  13002. zscurrencytypedisplay:
  13003. type: string
  13004. zscuttype:
  13005. description: 切工 - 两个, 逗号分隔
  13006. type: string
  13007. zscuttypedisplay:
  13008. type: string
  13009. zsczcolor1type:
  13010. description: 彩钻颜色1, 逗号分隔
  13011. type: string
  13012. zsczcolor1typedisplay:
  13013. type: string
  13014. zsczcolor2type:
  13015. description: 彩钻颜色2, 逗号分隔
  13016. type: string
  13017. zsczcolor2typedisplay:
  13018. type: string
  13019. zsczcolor3type:
  13020. description: 彩钻颜色3, 逗号分隔
  13021. type: string
  13022. zsczcolor3typedisplay:
  13023. type: string
  13024. zsfluorescencetype:
  13025. description: 荧光 - 多个, 逗号分隔
  13026. type: string
  13027. zsfluorescencetypedisplay:
  13028. type: string
  13029. zspolishtype:
  13030. description: 抛光度 - 两个, 逗号分隔
  13031. type: string
  13032. zspolishtypedisplay:
  13033. type: string
  13034. zsshapetype:
  13035. description: 形状 - 多个, 逗号分隔
  13036. type: string
  13037. zsshapetypedisplay:
  13038. type: string
  13039. zssize:
  13040. description: 尺寸 - 两个小数, 逗号分隔
  13041. type: string
  13042. zsstyletype:
  13043. description: 款式 - 多个, 逗号分隔
  13044. type: string
  13045. zsstyletypedisplay:
  13046. type: string
  13047. zssymmetrytype:
  13048. description: 对称度 - 两个, 逗号分隔
  13049. type: string
  13050. zssymmetrytypedisplay:
  13051. type: string
  13052. zstabledisplay:
  13053. description: 求购信息
  13054. type: string
  13055. required:
  13056. - userid
  13057. type: object
  13058. models.MyCoupon:
  13059. properties:
  13060. accountid:
  13061. description: 资金账户ID
  13062. type: integer
  13063. areauserid:
  13064. description: 所属机构
  13065. type: integer
  13066. conditionvalue:
  13067. description: 条件阈值(可为0)
  13068. type: number
  13069. couponcategroy:
  13070. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  13071. type: integer
  13072. couponname:
  13073. description: 优惠券名称
  13074. type: string
  13075. coupontypeid:
  13076. description: 优惠券类型ID
  13077. type: string
  13078. couponvalue:
  13079. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13080. type: number
  13081. curfreezeqty:
  13082. description: 期末冻结数量
  13083. type: integer
  13084. curqty:
  13085. description: 期末数量
  13086. type: integer
  13087. isgeneral:
  13088. description: 是否通用券 - 0:否 1:是
  13089. type: integer
  13090. isunusable:
  13091. description: 是否不可用
  13092. type: boolean
  13093. limitedflag:
  13094. description: 是否指定商品 - 0:不限 1:限制
  13095. type: integer
  13096. limitedgoodsids:
  13097. description: 指定商品IDs[逗号分隔,前后加逗号]
  13098. type: string
  13099. orifreezeqty:
  13100. description: 期初冻结数量
  13101. type: integer
  13102. oriqty:
  13103. description: 期初数量
  13104. type: integer
  13105. reasontype:
  13106. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  13107. type: integer
  13108. todaydecrease:
  13109. description: 今日减少
  13110. type: integer
  13111. todayincrease:
  13112. description: 今日增加
  13113. type: integer
  13114. userid:
  13115. description: 用户ID
  13116. type: integer
  13117. userscope:
  13118. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  13119. type: string
  13120. required:
  13121. - accountid
  13122. - coupontypeid
  13123. type: object
  13124. models.MyCouponHold:
  13125. properties:
  13126. accountid:
  13127. description: 资金账户ID
  13128. type: integer
  13129. conditionvalue:
  13130. description: 条件阈值(可为0)
  13131. type: number
  13132. couponcategroy:
  13133. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  13134. type: integer
  13135. couponholdid:
  13136. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  13137. type: string
  13138. couponname:
  13139. description: 优惠券名称
  13140. type: string
  13141. coupontypeid:
  13142. description: 优惠券类型ID - SEQ_COUPONTYPE
  13143. type: string
  13144. couponvalue:
  13145. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13146. type: number
  13147. createtime:
  13148. description: 创建时间
  13149. type: string
  13150. enddate:
  13151. description: 结束日期
  13152. type: string
  13153. giveapplyid:
  13154. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  13155. type: integer
  13156. holdstatus:
  13157. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  13158. type: integer
  13159. isgeneral:
  13160. description: 是否通用券 - 0:否 1:是
  13161. type: integer
  13162. limitedflag:
  13163. description: 是否指定商品 - 0:不限 1:限制
  13164. type: integer
  13165. limitedgoodsids:
  13166. description: 指定商品IDs[逗号分隔]
  13167. type: string
  13168. qty:
  13169. description: 数量(按1平铺)
  13170. type: integer
  13171. startdate:
  13172. description: 开始日期
  13173. type: string
  13174. userid:
  13175. description: 用户ID
  13176. type: integer
  13177. userscope:
  13178. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  13179. type: string
  13180. required:
  13181. - couponholdid
  13182. type: object
  13183. models.MyDeListing:
  13184. properties:
  13185. buyaccountid:
  13186. description: 买方账号ID
  13187. type: integer
  13188. buychargevalue:
  13189. description: 买方手续费
  13190. type: number
  13191. buyuserid:
  13192. description: 买方用户ID
  13193. type: integer
  13194. deliverygoodsid:
  13195. description: 现货品种ID
  13196. type: integer
  13197. exchangerate:
  13198. description: 汇率
  13199. type: number
  13200. goodsno:
  13201. description: 商品编号
  13202. type: string
  13203. marketid:
  13204. description: 市场ID
  13205. type: integer
  13206. matchusername:
  13207. description: 对手方
  13208. type: string
  13209. oritradeamount:
  13210. description: 成交金额[商品币种]
  13211. type: number
  13212. performanceplanid:
  13213. description: 履约计划ID/合同ID
  13214. type: string
  13215. price:
  13216. description: 价格
  13217. type: number
  13218. qty:
  13219. description: 成交重量
  13220. type: number
  13221. sellaccountid:
  13222. description: 卖方账号ID
  13223. type: integer
  13224. sellchargevalue:
  13225. description: 卖方手续费
  13226. type: number
  13227. selluserid:
  13228. description: 卖方用户ID
  13229. type: integer
  13230. sizedisplay:
  13231. description: 尺寸
  13232. type: string
  13233. tradeamount:
  13234. description: 成交金额
  13235. type: number
  13236. tradedate:
  13237. description: 交易日(yyyyMMdd)
  13238. type: string
  13239. tradeprice:
  13240. description: 成交价格
  13241. type: number
  13242. tradetime:
  13243. description: 成交时间
  13244. type: string
  13245. userid:
  13246. description: 用户ID
  13247. type: integer
  13248. warehousenamedisplay:
  13249. type: string
  13250. wrfactortypeid:
  13251. description: 仓单要素类型ID
  13252. type: integer
  13253. wrstandardid:
  13254. description: 现货商品ID
  13255. type: integer
  13256. wrtradedetailid:
  13257. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13258. type: string
  13259. zscategory:
  13260. description: 钻石分类 - 枚举”ZSCategory“
  13261. type: integer
  13262. zscategorydisplay:
  13263. type: string
  13264. zscerttypedisplay:
  13265. type: string
  13266. zsclaritytype1display:
  13267. type: string
  13268. zsclaritytype2display:
  13269. type: string
  13270. zscolortype1display:
  13271. type: string
  13272. zscolortype2display:
  13273. type: string
  13274. zscrystaltypedisplay:
  13275. type: string
  13276. zscurrencytype:
  13277. description: 货币类型 - 枚举“ZSCurrencyType”
  13278. type: integer
  13279. zscurrencytypedisplay:
  13280. type: string
  13281. zscurrencytypedisplayunit:
  13282. type: string
  13283. zscuttype1display:
  13284. type: string
  13285. zscuttype2display:
  13286. type: string
  13287. zsczcolor1typedisplay:
  13288. type: string
  13289. zsczcolor2typedisplay:
  13290. type: string
  13291. zsczcolor3typedisplay:
  13292. type: string
  13293. zsfluorescencetype1display:
  13294. type: string
  13295. zsfluorescencetype2display:
  13296. type: string
  13297. zspolishtype1display:
  13298. type: string
  13299. zspolishtype2display:
  13300. type: string
  13301. zsshapetypedisplay:
  13302. type: string
  13303. zsstyletypedisplay:
  13304. type: string
  13305. zssymmetrytype1display:
  13306. type: string
  13307. zssymmetrytype2display:
  13308. type: string
  13309. required:
  13310. - userid
  13311. type: object
  13312. models.MyDelistingApply:
  13313. properties:
  13314. applyprice:
  13315. description: 申请价格
  13316. type: number
  13317. applyqty:
  13318. description: 申请数量
  13319. type: number
  13320. applyremark:
  13321. description: 申请备注
  13322. type: string
  13323. applystatus:
  13324. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13325. type: integer
  13326. applytime:
  13327. description: 申请时间
  13328. type: string
  13329. auditremark:
  13330. description: 确认备注
  13331. type: string
  13332. audittime:
  13333. description: 确认时间
  13334. type: string
  13335. buyuserid:
  13336. description: 买方用户ID
  13337. type: integer
  13338. buyusername:
  13339. description: 买方
  13340. type: string
  13341. buywrtradeorderid:
  13342. description: 买委托单ID
  13343. type: string
  13344. cerno:
  13345. description: 证书编号 - 类型:2,4,5
  13346. type: string
  13347. goodsno:
  13348. description: 商品编号
  13349. type: string
  13350. ladingbillid:
  13351. description: 卖方提单ID
  13352. type: string
  13353. marketid:
  13354. description: 市场ID
  13355. type: integer
  13356. performancetemplateid:
  13357. description: 履约计划模板ID
  13358. type: integer
  13359. price:
  13360. description: 价格
  13361. type: number
  13362. priceper:
  13363. description: 克拉单价
  13364. type: string
  13365. sellaccountid:
  13366. description: 卖方账户ID
  13367. type: integer
  13368. selldelistingapplyid:
  13369. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13370. type: string
  13371. selltradeorderid:
  13372. description: 卖方委托ID(买方确认成交后更新)
  13373. type: string
  13374. selluserid:
  13375. description: 卖方用户ID
  13376. type: integer
  13377. sellusername:
  13378. description: 卖方
  13379. type: string
  13380. sizedisplay:
  13381. description: 尺寸
  13382. type: string
  13383. subnum:
  13384. description: 卖方提单子单号
  13385. type: integer
  13386. warehouseinfosdisplay:
  13387. type: string
  13388. weight:
  13389. description: 克拉重量
  13390. type: number
  13391. wrfactortypeid:
  13392. description: 仓单要素类型ID
  13393. type: string
  13394. wrstandardid:
  13395. description: 现货商品ID
  13396. type: integer
  13397. zsallproperties:
  13398. type: string
  13399. zscategorydisplay:
  13400. type: string
  13401. zscerttype:
  13402. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13403. type: integer
  13404. zscerttypedisplay:
  13405. description: 证书类型
  13406. type: string
  13407. zsclaritytypedisplay:
  13408. type: string
  13409. zscolortypedisplay:
  13410. type: string
  13411. zscrystaltypedisplay:
  13412. type: string
  13413. zscurrencytypedisplay:
  13414. type: string
  13415. zscurrencytypedisplayunit:
  13416. description: 价格单位
  13417. type: string
  13418. zscuttypedisplay:
  13419. type: string
  13420. zsczcolor1typedisplay:
  13421. type: string
  13422. zsczcolor2typedisplay:
  13423. type: string
  13424. zsczcolor3typedisplay:
  13425. type: string
  13426. zsfluorescencetypedisplay:
  13427. type: string
  13428. zspolishtypedisplay:
  13429. type: string
  13430. zsshapetypedisplay:
  13431. type: string
  13432. zssizedisplay:
  13433. type: string
  13434. zsstyletypedisplay:
  13435. type: string
  13436. zssymmetrytypedisplay:
  13437. type: string
  13438. zstabledisplay:
  13439. type: string
  13440. required:
  13441. - selluserid
  13442. type: object
  13443. models.MyFavorite:
  13444. properties:
  13445. accountname:
  13446. description: 账户名称(机构名称)
  13447. type: string
  13448. buyorsell:
  13449. description: 买卖 - 0:买 1:卖
  13450. type: integer
  13451. favoritestatus:
  13452. description: 收藏状态 - 1:正常 2:失效
  13453. type: integer
  13454. goodsno:
  13455. description: 商品编号
  13456. type: string
  13457. marketid:
  13458. description: 市场ID
  13459. type: integer
  13460. marketprice:
  13461. description: 市场价
  13462. type: string
  13463. price:
  13464. description: 价格
  13465. type: number
  13466. priceper:
  13467. description: 克拉单价
  13468. type: string
  13469. sellusername:
  13470. description: 卖家
  13471. type: string
  13472. sizedisplay:
  13473. description: 尺寸
  13474. type: string
  13475. userid:
  13476. description: 用户ID
  13477. type: integer
  13478. warehousenamedisplay:
  13479. description: 仓库名称
  13480. type: string
  13481. weight:
  13482. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13483. type: number
  13484. weightavg:
  13485. description: 平均单颗重量 - 类型:1,3
  13486. type: number
  13487. wrfactortypeid:
  13488. description: 仓单要素类型ID/商品ID(77)
  13489. type: string
  13490. wrstandardid:
  13491. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  13492. type: integer
  13493. wrtradeorderid:
  13494. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13495. type: string
  13496. zscategory:
  13497. description: 钻石分类 - 枚举”ZSCategory“
  13498. type: integer
  13499. zscategorydisplay:
  13500. type: string
  13501. zscerttypedisplay:
  13502. type: string
  13503. zsclaritytype1display:
  13504. type: string
  13505. zsclaritytype2display:
  13506. type: string
  13507. zscolortype1display:
  13508. type: string
  13509. zscolortype2display:
  13510. type: string
  13511. zscrystaltypedisplay:
  13512. type: string
  13513. zscurrencytypedisplay:
  13514. type: string
  13515. zscurrencytypedisplayunit:
  13516. type: string
  13517. zscuttype1display:
  13518. type: string
  13519. zscuttype2display:
  13520. type: string
  13521. zsczcolor1typedisplay:
  13522. type: string
  13523. zsczcolor2typedisplay:
  13524. type: string
  13525. zsczcolor3typedisplay:
  13526. type: string
  13527. zsfluorescencetype1display:
  13528. type: string
  13529. zsfluorescencetype2display:
  13530. type: string
  13531. zspolishtype1display:
  13532. type: string
  13533. zspolishtype2display:
  13534. type: string
  13535. zsshapetypedisplay:
  13536. type: string
  13537. zsstyletypedisplay:
  13538. type: string
  13539. zssymmetrytype1display:
  13540. type: string
  13541. zssymmetrytype2display:
  13542. type: string
  13543. required:
  13544. - userid
  13545. type: object
  13546. models.MyPerformanc:
  13547. properties:
  13548. accountname:
  13549. description: '[对手方]账户名称(机构名称)'
  13550. type: string
  13551. amount:
  13552. description: 履约金额
  13553. type: number
  13554. buyaccountid:
  13555. description: 买方账号
  13556. type: integer
  13557. buyerfreezeamount:
  13558. description: 买方履约前冻结资金
  13559. type: number
  13560. buyerfreezeamountremain:
  13561. description: 买方履约前冻结资金剩余
  13562. type: number
  13563. buyerinfo:
  13564. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13565. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  13566. type: string
  13567. buyorsell:
  13568. description: 方向 - 0:买 1:卖
  13569. type: integer
  13570. buypaidamount:
  13571. description: 买方已冻/已扣金额
  13572. type: number
  13573. buytodayamount:
  13574. description: 买方今日扣/冻金额 (待开市时清零)
  13575. type: number
  13576. curstepid:
  13577. description: 当前步骤ID
  13578. type: string
  13579. goodsno:
  13580. description: 商品编号
  13581. type: string
  13582. overshortamount:
  13583. description: 溢短金额
  13584. type: number
  13585. paymenttype:
  13586. description: 买方支付方式 - 1:冻结 2:扣款
  13587. type: integer
  13588. performanceplanid:
  13589. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13590. type: string
  13591. performancestatus:
  13592. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13593. 9:超时待处理 10:超时关闭
  13594. type: integer
  13595. price:
  13596. description: 价格
  13597. type: number
  13598. priceper:
  13599. description: 克拉单价
  13600. type: string
  13601. relatedorderid:
  13602. description: 关联单号(履约类型的关联单号)
  13603. type: string
  13604. remaindays:
  13605. description: 剩余天数
  13606. type: integer
  13607. sellerfreezeamount:
  13608. description: 卖方履约前冻结资金
  13609. type: number
  13610. sellerfreezeamountremain:
  13611. description: 卖方履约前冻结资金剩余
  13612. type: number
  13613. sellerinfo:
  13614. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13615. "xxxxxxxx"}'
  13616. type: string
  13617. sellreceivedamount:
  13618. description: 卖方已收金额
  13619. type: number
  13620. selltodayamount:
  13621. description: 卖方今日收取金额(待开市时清零)
  13622. type: number
  13623. sizedisplay:
  13624. description: 尺寸
  13625. type: string
  13626. steptypeid:
  13627. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13628. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13629. type: integer
  13630. warehousenamedisplay:
  13631. type: string
  13632. zscategorydisplay:
  13633. type: string
  13634. zscerttypedisplay:
  13635. type: string
  13636. zsclaritytype1display:
  13637. type: string
  13638. zsclaritytype2display:
  13639. type: string
  13640. zscolortype1display:
  13641. type: string
  13642. zscolortype2display:
  13643. type: string
  13644. zscrystaltypedisplay:
  13645. type: string
  13646. zscurrencytypedisplay:
  13647. type: string
  13648. zscurrencytypedisplayunit:
  13649. type: string
  13650. zscuttype1display:
  13651. type: string
  13652. zscuttype2display:
  13653. type: string
  13654. zsczcolor1typedisplay:
  13655. type: string
  13656. zsczcolor2typedisplay:
  13657. type: string
  13658. zsczcolor3typedisplay:
  13659. type: string
  13660. zsfluorescencetype1display:
  13661. type: string
  13662. zsfluorescencetype2display:
  13663. type: string
  13664. zspolishtype1display:
  13665. type: string
  13666. zspolishtype2display:
  13667. type: string
  13668. zsshapetypedisplay:
  13669. type: string
  13670. zsstyletypedisplay:
  13671. type: string
  13672. zssymmetrytype1display:
  13673. type: string
  13674. zssymmetrytype2display:
  13675. type: string
  13676. type: object
  13677. models.MyRefer:
  13678. properties:
  13679. accountname:
  13680. description: 用户名(脱敏)
  13681. type: string
  13682. createtime:
  13683. description: 时间(yyyy-mm-dd)
  13684. type: string
  13685. score:
  13686. description: 积分
  13687. type: number
  13688. type: object
  13689. models.MySellOrder:
  13690. properties:
  13691. accountid:
  13692. description: 资金账号
  13693. type: integer
  13694. applyid:
  13695. description: 申请单ID
  13696. type: integer
  13697. attachment1:
  13698. description: 附件1
  13699. type: string
  13700. attachment2:
  13701. description: 附件2
  13702. type: string
  13703. buyorsell:
  13704. description: 买卖 - 0:买 1:卖
  13705. type: integer
  13706. canbargain:
  13707. description: 是否可议价 - 0:不可 1:可
  13708. type: integer
  13709. cancelqty:
  13710. description: 撤销数量
  13711. type: integer
  13712. canceltime:
  13713. description: 撤销时间
  13714. type: string
  13715. cerno:
  13716. type: string
  13717. chargealgorithm:
  13718. description: 手续费收取方式 1:比率 2:固定
  13719. type: integer
  13720. chargealgorithmvalue:
  13721. description: 手续费设置值(交易所部分)
  13722. type: number
  13723. chargealgorithmvalue2:
  13724. description: 手续费设置值(会员部分)
  13725. type: number
  13726. clientordertime:
  13727. description: 客户端委托时间
  13728. type: string
  13729. cpcertno:
  13730. type: string
  13731. exchangerate:
  13732. description: 汇率[67]
  13733. type: number
  13734. firstratio:
  13735. description: 首付比率 - [挂牌时指定,摘牌时使用]
  13736. type: number
  13737. fixedprice:
  13738. description: '[克拉单价]固定价格 - [挂牌]'
  13739. type: number
  13740. freezecharge:
  13741. description: 冻结手续费
  13742. type: number
  13743. freezefirstamount:
  13744. description: 冻结首付金额 - [摘牌]
  13745. type: number
  13746. freezemargin:
  13747. description: 冻结保证金
  13748. type: number
  13749. goodsno:
  13750. description: 商品编号
  13751. type: string
  13752. imagepath:
  13753. type: string
  13754. isspecified:
  13755. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  13756. type: integer
  13757. kppath:
  13758. type: string
  13759. kpweight:
  13760. type: string
  13761. marginalgorithm:
  13762. description: 保证金方式 - 1:比率 2:固定
  13763. type: integer
  13764. marginvalue:
  13765. description: 保证金设置值
  13766. type: number
  13767. marketid:
  13768. description: 市场ID
  13769. type: integer
  13770. marketprice:
  13771. type: string
  13772. orderamount:
  13773. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  13774. type: number
  13775. ordertime:
  13776. description: 委托时间
  13777. type: string
  13778. performancetemplateid:
  13779. description: 履约计划模板ID
  13780. type: integer
  13781. price:
  13782. description: 价格
  13783. type: number
  13784. pricefactor:
  13785. description: 价格系数(浮动价时填写) - [挂牌]
  13786. type: number
  13787. pricemove:
  13788. description: 升贴水(浮动价时填写) - [挂牌]
  13789. type: number
  13790. priceper:
  13791. type: string
  13792. relatedwrtradeorderid:
  13793. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  13794. type: integer
  13795. remark:
  13796. type: string
  13797. retcode:
  13798. description: 错误代码
  13799. type: integer
  13800. selledqty:
  13801. description: 成交重量
  13802. type: number
  13803. settingmaterial:
  13804. type: string
  13805. size1:
  13806. type: string
  13807. size2:
  13808. type: string
  13809. size3:
  13810. type: string
  13811. sizedisplay:
  13812. description: 尺寸
  13813. type: string
  13814. stonedesc:
  13815. type: string
  13816. totalqty:
  13817. description: 总重量
  13818. type: number
  13819. tradedate:
  13820. description: 交易日(yyyyMMdd)
  13821. type: string
  13822. tradeprice:
  13823. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13824. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13825. type: number
  13826. unfreezecharge:
  13827. description: 解冻手续费
  13828. type: number
  13829. unfreezefirstamount:
  13830. description: 解冻首付金额 - [摘牌]
  13831. type: number
  13832. unfreezemargin:
  13833. description: 解冻保证金
  13834. type: number
  13835. userid:
  13836. description: 用户ID
  13837. type: integer
  13838. uuid:
  13839. description: 发起端唯一id
  13840. type: string
  13841. validtime:
  13842. description: 有效期限
  13843. type: string
  13844. validtype:
  13845. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  13846. type: integer
  13847. warehousenamedisplay:
  13848. type: string
  13849. wrbargainid:
  13850. description: 议价申请单ID
  13851. type: integer
  13852. wrfactortypeid:
  13853. description: 仓单要素类型ID/商品ID(77)
  13854. type: integer
  13855. wrpath:
  13856. type: string
  13857. wrpricetype:
  13858. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13859. type: integer
  13860. wrstandardid:
  13861. description: 现货商品ID
  13862. type: integer
  13863. wrtradeorderid:
  13864. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13865. type: string
  13866. wrtradeorderstatus:
  13867. 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:撤单解冻贷款失败
  13868. type: integer
  13869. wrtradetype:
  13870. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13871. type: integer
  13872. wrtransferuserid:
  13873. description: 仓单受让用户 - [摘牌]
  13874. type: integer
  13875. zscategory:
  13876. description: 钻石分类 - 枚举”ZSCategory“
  13877. type: integer
  13878. zscategorydisplay:
  13879. description: 钻石分类 - 描述
  13880. type: string
  13881. zscerttypedisplay:
  13882. type: string
  13883. zsclaritytype1display:
  13884. type: string
  13885. zsclaritytype2display:
  13886. type: string
  13887. zscolortype1display:
  13888. type: string
  13889. zscolortype2display:
  13890. type: string
  13891. zscrystaltype:
  13892. type: string
  13893. zscrystaltypedisplay:
  13894. type: string
  13895. zscurrencytype:
  13896. description: 货币类型 - 枚举“ZSCurrencyType”
  13897. type: integer
  13898. zscurrencytypedisplay:
  13899. type: string
  13900. zscurrencytypedisplayunit:
  13901. type: string
  13902. zscuttype1display:
  13903. type: string
  13904. zscuttype2display:
  13905. type: string
  13906. zsczcolor1typedisplay:
  13907. type: string
  13908. zsczcolor2typedisplay:
  13909. type: string
  13910. zsczcolor3typedisplay:
  13911. type: string
  13912. zsfluorescencetype1display:
  13913. type: string
  13914. zsfluorescencetype2display:
  13915. type: string
  13916. zspolishtype1display:
  13917. type: string
  13918. zspolishtype2display:
  13919. type: string
  13920. zsshapetypedisplay:
  13921. type: string
  13922. zsstyletypedisplay:
  13923. type: string
  13924. zssymmetrytype1display:
  13925. type: string
  13926. zssymmetrytype2display:
  13927. type: string
  13928. required:
  13929. - userid
  13930. type: object
  13931. models.MyUsedCoupon:
  13932. properties:
  13933. accountid:
  13934. description: 资金账户ID(买方)
  13935. type: integer
  13936. conditionvalue:
  13937. description: 条件阈值(可为0)
  13938. type: number
  13939. couponcategroy:
  13940. description: 种类 - 1:现金券 2:折扣券
  13941. type: integer
  13942. couponname:
  13943. description: 优惠券名称
  13944. type: string
  13945. coupontypeid:
  13946. description: 优惠券类型ID(买方)
  13947. type: string
  13948. couponvalue:
  13949. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  13950. type: number
  13951. createtime:
  13952. description: 创建时间
  13953. type: string
  13954. goodsid:
  13955. description: 商品ID
  13956. type: integer
  13957. handlestatus:
  13958. description: 处理状态
  13959. type: integer
  13960. marketid:
  13961. description: 市场ID
  13962. type: integer
  13963. offamount:
  13964. description: 优惠金额
  13965. type: number
  13966. orderid:
  13967. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13968. type: string
  13969. sellaccountid:
  13970. description: 资金账户ID(卖方)
  13971. type: integer
  13972. tradeamount:
  13973. description: 成交金额
  13974. type: number
  13975. tradeid:
  13976. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13977. type: string
  13978. usedqty:
  13979. description: 使用数量
  13980. type: integer
  13981. required:
  13982. - coupontypeid
  13983. - orderid
  13984. type: object
  13985. models.MyWRPosition:
  13986. properties:
  13987. cerno:
  13988. description: 证书编号 - 类型:2,4,5
  13989. type: string
  13990. cpcertno:
  13991. description: 金伯利证书编号 - 类型:3
  13992. type: string
  13993. ffreezeqty:
  13994. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  13995. type: number
  13996. ftotalqty:
  13997. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  13998. type: number
  13999. goodsno:
  14000. description: 商品编号
  14001. type: string
  14002. imagepath:
  14003. description: 商品照片(相对地址)
  14004. type: string
  14005. isvalid:
  14006. description: 是否有效 - 0:无效 1:有效
  14007. type: integer
  14008. kppath:
  14009. description: 金伯利证书图片(相对地址) - 类型:3
  14010. type: string
  14011. kpweight:
  14012. description: 金伯利证书重量 - 类型:3
  14013. type: string
  14014. ladingbillid:
  14015. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14016. type: string
  14017. marketflag:
  14018. description: 是否上架,0-全部 1-是 2-否
  14019. type: integer
  14020. marketprice:
  14021. description: 市场价
  14022. type: string
  14023. origin:
  14024. description: 原产地 - 类型:3
  14025. type: string
  14026. price:
  14027. description: 总价(价格) - 类型:1,2,3,4,5
  14028. type: number
  14029. priceper:
  14030. description: 克拉单价 - 类型:1,2,3,5
  14031. type: string
  14032. remark:
  14033. description: 备注
  14034. type: string
  14035. sellmobile:
  14036. description: 手机号码(加密存储)
  14037. type: string
  14038. sellusername:
  14039. description: 账户名称(机构名称)
  14040. type: string
  14041. settingmaterial:
  14042. description: 镶嵌材料 - 类型:4
  14043. type: string
  14044. size1:
  14045. description: 尺寸1 - 类型:2,4,5
  14046. type: string
  14047. size2:
  14048. description: 尺寸2 - 类型:2,4,5
  14049. type: string
  14050. size3:
  14051. description: 尺寸3 - 类型:2,4,5
  14052. type: string
  14053. sizedisplay:
  14054. description: 尺寸
  14055. type: string
  14056. stonedesc:
  14057. description: 配石描述 - 类型:4
  14058. type: string
  14059. subnum:
  14060. description: 提单子单号
  14061. type: integer
  14062. userid:
  14063. description: 用户ID
  14064. type: integer
  14065. warehouseid:
  14066. description: 仓库ID
  14067. type: integer
  14068. warehousenamedisplay:
  14069. type: string
  14070. weight:
  14071. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14072. type: number
  14073. weightavg:
  14074. description: 平均单颗重量 - 类型:1,3
  14075. type: number
  14076. wrpath:
  14077. description: 仓单扫描件(相对地址)
  14078. type: string
  14079. wrstandardid:
  14080. description: 现货商品ID
  14081. type: integer
  14082. wrtradeorderid:
  14083. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14084. type: string
  14085. wruserid:
  14086. description: 登录用户ID
  14087. type: integer
  14088. zscategory:
  14089. description: 钻石分类 - 枚举”ZSCategory“
  14090. type: integer
  14091. zscategorydisplay:
  14092. type: string
  14093. zscerttype:
  14094. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  14095. type: integer
  14096. zscerttypedisplay:
  14097. type: string
  14098. zsclaritytype1:
  14099. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  14100. type: integer
  14101. zsclaritytype1display:
  14102. type: string
  14103. zsclaritytype2:
  14104. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  14105. type: integer
  14106. zsclaritytype2display:
  14107. type: string
  14108. zscolortype1:
  14109. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  14110. type: integer
  14111. zscolortype1display:
  14112. type: string
  14113. zscolortype2:
  14114. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  14115. type: integer
  14116. zscolortype2display:
  14117. type: string
  14118. zscrystaltype:
  14119. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  14120. type: string
  14121. zscrystaltypedisplay:
  14122. type: string
  14123. zscurrencytype:
  14124. description: 货币类型 - 枚举“ZSCurrencyType”
  14125. type: integer
  14126. zscurrencytypedisplay:
  14127. type: string
  14128. zscurrencytypedisplayunit:
  14129. type: string
  14130. zscuttype1:
  14131. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  14132. type: integer
  14133. zscuttype1display:
  14134. type: string
  14135. zscuttype2:
  14136. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  14137. type: integer
  14138. zscuttype2display:
  14139. type: string
  14140. zsczcolor1type:
  14141. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  14142. type: integer
  14143. zsczcolor1typedisplay:
  14144. type: string
  14145. zsczcolor2type:
  14146. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  14147. type: integer
  14148. zsczcolor2typedisplay:
  14149. type: string
  14150. zsczcolor3type:
  14151. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  14152. type: integer
  14153. zsczcolor3typedisplay:
  14154. type: string
  14155. zsfluorescencetype1:
  14156. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  14157. type: integer
  14158. zsfluorescencetype1display:
  14159. type: string
  14160. zsfluorescencetype2:
  14161. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  14162. type: integer
  14163. zsfluorescencetype2display:
  14164. type: string
  14165. zspolishtype1:
  14166. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  14167. type: integer
  14168. zspolishtype1display:
  14169. type: string
  14170. zspolishtype2:
  14171. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  14172. type: integer
  14173. zspolishtype2display:
  14174. type: string
  14175. zsshapetype:
  14176. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  14177. type: string
  14178. zsshapetypedisplay:
  14179. type: string
  14180. zsstyletype:
  14181. description: 款式 - 类型:4
  14182. type: integer
  14183. zsstyletypedisplay:
  14184. type: string
  14185. zssymmetrytype1:
  14186. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  14187. type: integer
  14188. zssymmetrytype1display:
  14189. type: string
  14190. zssymmetrytype2:
  14191. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  14192. type: integer
  14193. zssymmetrytype2display:
  14194. type: string
  14195. required:
  14196. - wruserid
  14197. type: object
  14198. models.NewFuncmenulist:
  14199. properties:
  14200. authtype:
  14201. description: 权限类型 - 1:菜单 2:组件 3:按钮
  14202. type: integer
  14203. buttonname:
  14204. description: 按钮名称
  14205. type: string
  14206. buttontype:
  14207. description: 按钮类型 - 存按钮样式
  14208. type: string
  14209. component:
  14210. description: 组件名或组件地址
  14211. type: string
  14212. hidden:
  14213. description: 是否隐藏 - 0:显示 1:隐藏
  14214. type: integer
  14215. iconame:
  14216. description: 菜单图标
  14217. type: string
  14218. menutype:
  14219. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14220. type: integer
  14221. parentcode:
  14222. description: 上级资源代码
  14223. type: string
  14224. remark:
  14225. description: Remark
  14226. type: string
  14227. resourcecode:
  14228. description: 资源代码
  14229. type: string
  14230. resourcelevel:
  14231. description: 级别1-一级 2-二级 3-三级4-四级
  14232. type: integer
  14233. resourcename:
  14234. description: 资源名(Title)
  14235. type: string
  14236. sort:
  14237. description: 排序
  14238. type: integer
  14239. url:
  14240. description: Url
  14241. type: string
  14242. urltype:
  14243. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14244. type: integer
  14245. required:
  14246. - resourcecode
  14247. type: object
  14248. models.OperationPrimaryMenu:
  14249. properties:
  14250. Children:
  14251. description: 二级功能菜单
  14252. items:
  14253. $ref: '#/definitions/models.OperationSecondaryMenu'
  14254. type: array
  14255. Key:
  14256. description: 菜单KEY
  14257. type: string
  14258. Label:
  14259. description: 菜单标题
  14260. type: string
  14261. type: object
  14262. models.OperationSecondaryMenu:
  14263. properties:
  14264. Key:
  14265. description: 菜单KEY
  14266. type: string
  14267. Label:
  14268. description: 菜单标题
  14269. type: string
  14270. TabList:
  14271. description: 三级功能菜单
  14272. items:
  14273. $ref: '#/definitions/models.OperationTabMenu'
  14274. type: array
  14275. type: object
  14276. models.OperationTabMenu:
  14277. properties:
  14278. Key:
  14279. description: 菜单KEY
  14280. type: string
  14281. Label:
  14282. description: 菜单标题
  14283. type: string
  14284. type: object
  14285. models.Patradelinkdetail:
  14286. properties:
  14287. accountname:
  14288. description: 套期主体
  14289. type: string
  14290. agreeunit:
  14291. description: 合约乘数
  14292. type: number
  14293. amount:
  14294. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14295. type: number
  14296. areauserid:
  14297. description: 所属机构
  14298. type: integer
  14299. bizsubjectid:
  14300. description: 归属业务部门ID - SubjectID
  14301. type: integer
  14302. buyorsell:
  14303. description: 方向 - 0:买 1:卖
  14304. type: integer
  14305. convertratio:
  14306. description: 品种系数
  14307. type: number
  14308. convertratiochange:
  14309. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14310. type: number
  14311. createtime:
  14312. description: '[日期时间]创建时间'
  14313. type: string
  14314. creatorid:
  14315. description: 创建人ID
  14316. type: integer
  14317. creatorsrc:
  14318. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14319. type: integer
  14320. goodscode:
  14321. description: 商品代码(内部)
  14322. type: string
  14323. goodsgroupid:
  14324. description: 对冲品种ID[期货合约商品组ID]
  14325. type: integer
  14326. goodsid:
  14327. description: 商品ID
  14328. type: integer
  14329. hedgeditemid:
  14330. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14331. type: integer
  14332. hedgeflag:
  14333. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14334. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14335. type: integer
  14336. linkdetailid:
  14337. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14338. type: string
  14339. linkstatus:
  14340. description: 关联状态 - 1:成功 2:失败 3:解绑
  14341. type: integer
  14342. middlegoodsid:
  14343. description: 套保品种ID
  14344. type: integer
  14345. name:
  14346. description: 账户名/子账户
  14347. type: string
  14348. optioncode:
  14349. description: '[期货合约]期权代码 [期权]'
  14350. type: string
  14351. ordertype:
  14352. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14353. type: integer
  14354. relatedlot:
  14355. description: '[数量]关联手数'
  14356. type: number
  14357. relatedmode:
  14358. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14359. type: integer
  14360. relatedqty:
  14361. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14362. type: number
  14363. retcode:
  14364. description: 返回码
  14365. type: integer
  14366. saleuserid:
  14367. description: 业务员ID
  14368. type: integer
  14369. tradedate:
  14370. description: 关联交易日(yyyyMMdd)
  14371. type: string
  14372. tradeid:
  14373. description: '[成交单号]内部成交单ID'
  14374. type: string
  14375. tradelot:
  14376. description: 成交手数
  14377. type: integer
  14378. tradeprice:
  14379. description: '[价格]成交价格'
  14380. type: number
  14381. tradetradedate:
  14382. description: 成交交易日(yyyyMMdd)
  14383. type: string
  14384. type: object
  14385. models.PromotionIncome:
  14386. properties:
  14387. profitmonth:
  14388. description: 时间
  14389. type: string
  14390. profitstatus:
  14391. description: 状态 - 1:已支付 2:未支付 3:支取中
  14392. type: integer
  14393. sumamount:
  14394. description: 金额
  14395. type: number
  14396. type: object
  14397. models.PromotionIncomeDetail:
  14398. properties:
  14399. buyorsell:
  14400. description: 方向
  14401. type: string
  14402. market:
  14403. description: 市场
  14404. type: string
  14405. profitamount:
  14406. description: 金额
  14407. type: number
  14408. profitroletype:
  14409. description: 级别
  14410. type: string
  14411. tradetime:
  14412. description: 时间
  14413. type: string
  14414. wrstandardcode:
  14415. description: 现货商品代码
  14416. type: string
  14417. wrstandardid:
  14418. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14419. type: integer
  14420. wrstandardname:
  14421. description: 现货商品名称
  14422. type: string
  14423. type: object
  14424. models.PurchaseTransfer:
  14425. properties:
  14426. pictureurls:
  14427. description: 详情图片(逗号分隔)
  14428. type: string
  14429. refgoodsid:
  14430. description: 参考商品ID
  14431. type: integer
  14432. thumurls:
  14433. description: 缩略图片(1:1)(逗号分隔)
  14434. type: string
  14435. unitid:
  14436. description: 现货商品单位ID
  14437. type: integer
  14438. wrstandardcode:
  14439. description: 现货商品代码
  14440. type: string
  14441. wrstandardid:
  14442. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14443. type: integer
  14444. wrstandardname:
  14445. description: 现货商品名称(模糊查询)
  14446. type: string
  14447. type: object
  14448. models.QhjAccountOutInApply:
  14449. properties:
  14450. accountcode:
  14451. description: 资金账号
  14452. type: string
  14453. accountname:
  14454. description: 用户名称(名称)
  14455. type: string
  14456. accountpwd:
  14457. description: 资金密码
  14458. type: string
  14459. accountticket:
  14460. description: 最新账户服务流水号
  14461. type: string
  14462. amount:
  14463. description: 金额
  14464. type: number
  14465. applyremark:
  14466. description: 申请备注
  14467. type: string
  14468. applystatus:
  14469. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  14470. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  14471. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  14472. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  14473. type: integer
  14474. auditid:
  14475. description: 审核人
  14476. type: integer
  14477. audittime:
  14478. description: 审核时间
  14479. type: string
  14480. bank_apply_ticket:
  14481. description: 银行申请流水
  14482. type: string
  14483. bankaccountname:
  14484. description: 银行账户名
  14485. type: string
  14486. bankaccountno:
  14487. description: 银行卡号
  14488. type: string
  14489. bankid:
  14490. description: 银行编号
  14491. type: string
  14492. bankticket:
  14493. description: 银行流水
  14494. type: string
  14495. branchbankid:
  14496. description: 银行支行号
  14497. type: string
  14498. branchbankname:
  14499. description: 银行支行名称
  14500. type: string
  14501. capamountout:
  14502. description: 出金(劣后本金) - 外部子账户
  14503. type: number
  14504. certificatephotourl:
  14505. description: 凭证地址
  14506. type: string
  14507. charge:
  14508. description: 手续费
  14509. type: number
  14510. checkerrorflag:
  14511. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  14512. type: integer
  14513. currency:
  14514. description: 币种
  14515. type: string
  14516. cusbankid:
  14517. description: 托管银行编号
  14518. type: string
  14519. cusbankname:
  14520. description: 托管银行名称
  14521. type: string
  14522. cusbankshortname:
  14523. description: 托管银行简称
  14524. type: string
  14525. exchticket:
  14526. description: 银行服务流水号
  14527. type: string
  14528. executetype:
  14529. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  14530. 7:外部子账户:入金 8:外部子账户:出金'
  14531. type: integer
  14532. extendinfo:
  14533. description: 扩展信息
  14534. type: string
  14535. extoperateid:
  14536. description: 交易服务流水号
  14537. type: integer
  14538. infamount:
  14539. description: 劣后金额(自有)
  14540. type: number
  14541. logincode:
  14542. description: 登录账号(账号)
  14543. type: string
  14544. netaddr:
  14545. description: 调转网址
  14546. type: string
  14547. priamount:
  14548. description: 优先金额(授信)
  14549. type: number
  14550. reauditid:
  14551. description: 复审人
  14552. type: integer
  14553. reauditremark:
  14554. description: 复审备注
  14555. type: string
  14556. reaudittime:
  14557. description: 复审时间
  14558. type: string
  14559. relatedorderid:
  14560. description: 三方关联ID
  14561. type: string
  14562. remark:
  14563. description: 备注
  14564. type: string
  14565. remark2:
  14566. description: 备注(失败原因)
  14567. type: string
  14568. soucreamount:
  14569. description: 原始出入金金额
  14570. type: number
  14571. soucrecurrencyid:
  14572. description: 原始出入金币种
  14573. type: integer
  14574. tradedate:
  14575. description: 交易日(yyyyMMdd)
  14576. type: string
  14577. updatetime:
  14578. description: 更新时间(申请时间)
  14579. type: string
  14580. userid:
  14581. description: 用户id
  14582. type: integer
  14583. userinfotype:
  14584. description: 账户类型 1-个人 2-企业
  14585. type: integer
  14586. type: object
  14587. models.QhjAgreementChangeLog:
  14588. properties:
  14589. agreementcontent:
  14590. description: 协议内容
  14591. type: string
  14592. agreementfrequency:
  14593. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14594. type: integer
  14595. agreementid:
  14596. description: 协议ID
  14597. type: integer
  14598. agreementname:
  14599. description: 协议名称
  14600. type: string
  14601. agreementno:
  14602. description: 协议编号
  14603. type: string
  14604. agreementtype:
  14605. description: 协议类型 - 1:注册 2:登录 3:交易
  14606. type: integer
  14607. agreementversion:
  14608. description: 协议版本号
  14609. type: integer
  14610. logid:
  14611. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  14612. type: integer
  14613. reviserid:
  14614. description: 修改人
  14615. type: integer
  14616. revisersrc:
  14617. description: 修改来源 - 1:管理端 2:终端
  14618. type: integer
  14619. updatetime:
  14620. description: 更新时间
  14621. type: string
  14622. type: object
  14623. models.QhjAgreementConfig:
  14624. properties:
  14625. agreementcontent:
  14626. description: 协议内容
  14627. type: string
  14628. agreementfrequency:
  14629. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14630. type: integer
  14631. agreementid:
  14632. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  14633. type: integer
  14634. agreementname:
  14635. description: 协议名称
  14636. type: string
  14637. agreementno:
  14638. description: 协议编号
  14639. type: string
  14640. agreementtype:
  14641. description: 协议类型 - 1:注册 2:登录 3:交易
  14642. type: integer
  14643. agreementversion:
  14644. description: 协议版本号(从1开始每次修改加1)
  14645. type: integer
  14646. createtime:
  14647. description: 创建时间
  14648. type: string
  14649. creatorid:
  14650. description: 创建人
  14651. type: integer
  14652. creatorsrc:
  14653. description: 创建来源 - 1:管理端 2:终端
  14654. type: integer
  14655. isvalid:
  14656. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  14657. type: integer
  14658. reviserid:
  14659. description: 修改人
  14660. type: integer
  14661. revisersrc:
  14662. description: 修改来源 - 1:管理端 2:终端
  14663. type: integer
  14664. updatetime:
  14665. description: 更新时间
  14666. type: string
  14667. type: object
  14668. models.QhjAreaFinanceConfig:
  14669. properties:
  14670. additionalratio:
  14671. description: 追加款比例
  14672. type: number
  14673. advanceratio:
  14674. description: 预付款比例
  14675. type: number
  14676. alarmratio:
  14677. description: 告警比例
  14678. type: number
  14679. consumptiondirectreward:
  14680. description: 消费直推奖励值
  14681. type: number
  14682. consumptionenabled:
  14683. description: 是否启用消费奖励 - 0:不启用 1:启用
  14684. type: integer
  14685. consumptionindirectreward:
  14686. description: 消费间推奖励值
  14687. type: number
  14688. consumptionmodel:
  14689. description: 消费奖励方式 - 1:比率 2:固定
  14690. type: integer
  14691. customerservicenum:
  14692. description: 客服电话
  14693. type: string
  14694. dayinterestrate:
  14695. description: 日利率
  14696. type: number
  14697. disableconsumptiontips:
  14698. description: 关闭消费奖励提示
  14699. type: string
  14700. modifierid:
  14701. description: 修改人ID
  14702. type: integer
  14703. modifysrc:
  14704. description: 审核来源 - 1:管理端 2:终端
  14705. type: integer
  14706. modifytime:
  14707. description: 修改时间
  14708. type: string
  14709. promotionvalue:
  14710. description: 推广奖励值(固定)
  14711. type: number
  14712. scoreconfigvalue1:
  14713. description: 提货积分配置1
  14714. type: integer
  14715. scoreconfigvalue2:
  14716. description: 提货积分配置2
  14717. type: integer
  14718. userid:
  14719. description: 机构用户ID其他做市关系,都设置为 1
  14720. type: integer
  14721. username:
  14722. description: 用户名称
  14723. type: string
  14724. type: object
  14725. models.QhjBankAccountSign:
  14726. properties:
  14727. accountcode:
  14728. description: 资金账号
  14729. type: string
  14730. accountname:
  14731. description: 资金账号对应的账号名(UserName)
  14732. type: string
  14733. accountname2:
  14734. description: 资金账号对应的账号名(UserName) - 密文
  14735. type: string
  14736. accounttype:
  14737. description: 账户类型(UserType)
  14738. type: integer
  14739. applicationtime:
  14740. description: 最后一次更新的时间
  14741. type: string
  14742. applyexchticket:
  14743. description: 申请流水
  14744. type: string
  14745. auditid:
  14746. description: 审核人
  14747. type: integer
  14748. audittime:
  14749. description: 审核时间
  14750. type: string
  14751. bankaccountname:
  14752. description: 签约银行卡账号名
  14753. type: string
  14754. bankaccountname2:
  14755. description: 签约银行卡账号名 - 密文
  14756. type: string
  14757. bankaccountno:
  14758. description: 银行卡号
  14759. type: string
  14760. bankaccountno2:
  14761. description: 银行卡号 - 密文
  14762. type: string
  14763. bankaccounttype:
  14764. description: 银行账户类型 - 1-对私; 2-对公
  14765. type: integer
  14766. bankcardtype:
  14767. description: 银行卡类型
  14768. type: integer
  14769. bankchildaccount:
  14770. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  14771. type: string
  14772. bankcity:
  14773. description: 开户行城市
  14774. type: string
  14775. bankid:
  14776. description: 签约银行ID
  14777. type: string
  14778. bankname:
  14779. description: 签约银行名称
  14780. type: string
  14781. bankprovince:
  14782. description: 开户行省份
  14783. type: string
  14784. branchbankid:
  14785. description: 签约银行支行号
  14786. type: string
  14787. branchbankname:
  14788. description: 签约银行支行名称
  14789. type: string
  14790. cardno:
  14791. description: 证件号码
  14792. type: string
  14793. cardno2:
  14794. description: 证件号码 - 密文
  14795. type: string
  14796. cardtype:
  14797. description: 证件类型
  14798. type: string
  14799. currency:
  14800. description: 币种
  14801. type: string
  14802. cusbankid:
  14803. description: 托管银行编号
  14804. type: string
  14805. direct:
  14806. description: 方向(可以判断那方先发起的签约)
  14807. type: integer
  14808. exchticket:
  14809. description: 最后一次签约成功的流水号
  14810. type: string
  14811. extendinfo:
  14812. description: 扩展信息(JSON字符串)
  14813. type: string
  14814. mobilephone:
  14815. description: 手机号
  14816. type: string
  14817. mobilephone2:
  14818. description: 手机号 - 密文
  14819. type: string
  14820. netaddr:
  14821. description: 调转网址
  14822. type: string
  14823. relateduserid:
  14824. description: 关联使用者userid
  14825. type: integer
  14826. signstatus:
  14827. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14828. 10:审核拒绝 11:换签待审核
  14829. type: integer
  14830. updatetime:
  14831. description: 更新时间(签解约更新时间)
  14832. type: string
  14833. type: object
  14834. models.QhjBankInfo:
  14835. properties:
  14836. bankid:
  14837. description: 银行ID
  14838. type: string
  14839. bankname:
  14840. description: 银行名称
  14841. type: string
  14842. clearbankno:
  14843. description: 清算系统银行编号
  14844. type: string
  14845. orderindex:
  14846. description: 排序顺序
  14847. type: integer
  14848. status:
  14849. description: 状态 - 0:正常 1:注销
  14850. type: integer
  14851. type: object
  14852. models.QhjBrokerApply:
  14853. properties:
  14854. applicantid:
  14855. description: 申请人
  14856. type: integer
  14857. applysrc:
  14858. description: 申请来源 - 1:管理端 2:终端
  14859. type: integer
  14860. applystatus:
  14861. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14862. type: integer
  14863. applytime:
  14864. description: 申请时间
  14865. type: string
  14866. auditorid:
  14867. description: 审核人
  14868. type: integer
  14869. auditremark:
  14870. description: 审核备注
  14871. type: string
  14872. auditsrc:
  14873. description: 审核来源 - 1:管理端 2:终端
  14874. type: integer
  14875. audittime:
  14876. description: 审核时间
  14877. type: string
  14878. audittradedate:
  14879. description: 审核交易日(yyyyMMdd)
  14880. type: string
  14881. brokerapplyid:
  14882. description: 申请ID(SEQ_BROKERAPPLY)
  14883. type: integer
  14884. cardbackphotourl:
  14885. description: 证件背面图片地址
  14886. type: string
  14887. cardfrontphotourl:
  14888. description: 证件正面图片地址
  14889. type: string
  14890. cardnum:
  14891. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14892. type: string
  14893. customername:
  14894. description: 姓名
  14895. type: string
  14896. logincode:
  14897. description: 登录代码
  14898. type: string
  14899. mobile:
  14900. description: 手机号码
  14901. type: string
  14902. parentuserid:
  14903. description: 所属机构id
  14904. type: integer
  14905. parentusername:
  14906. description: 所属机构名称
  14907. type: string
  14908. refereeuserid:
  14909. description: 推荐人id(经纪人)
  14910. type: integer
  14911. refernum:
  14912. description: 推荐码
  14913. type: string
  14914. remark:
  14915. description: 备注
  14916. type: string
  14917. subarealevelpath:
  14918. description: 层级路径
  14919. type: string
  14920. tradedate:
  14921. description: 交易日(yyyyMMdd)
  14922. type: string
  14923. userid:
  14924. description: 申请人用户ID
  14925. type: integer
  14926. userinfotype:
  14927. description: 用户类型 1-个人 2-企业
  14928. type: integer
  14929. username:
  14930. description: 用户名称
  14931. type: string
  14932. type: object
  14933. models.QhjBrokerApplyEx:
  14934. properties:
  14935. applylist:
  14936. description: 经纪人申请记录(只返回最新一条)
  14937. items:
  14938. $ref: '#/definitions/models.QhjBrokerApply'
  14939. type: array
  14940. canrecommend:
  14941. description: 是否经纪人 0-不是 1-是
  14942. type: integer
  14943. refernum:
  14944. description: 推荐码
  14945. type: string
  14946. userid:
  14947. description: 用户id
  14948. type: integer
  14949. userinfotype:
  14950. description: 用户类型 1-个人 2-企业
  14951. type: integer
  14952. type: object
  14953. models.QhjBrokerRewardLog:
  14954. properties:
  14955. accountid:
  14956. description: 资金账号ID
  14957. type: integer
  14958. createtime:
  14959. description: 创建时间(时间)
  14960. type: string
  14961. handlestatus:
  14962. description: 处理状态
  14963. type: integer
  14964. logid:
  14965. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14966. type: string
  14967. marketid:
  14968. description: 市场ID
  14969. type: integer
  14970. mmaccountid:
  14971. description: 做市商资金账号ID
  14972. type: string
  14973. mmuserid:
  14974. description: 做市商用户ID
  14975. type: string
  14976. rewardamount:
  14977. description: 奖励金额
  14978. type: number
  14979. rewardmodel:
  14980. description: 消费奖励方式 - 1:比率 2:固定
  14981. type: integer
  14982. rewardtype:
  14983. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14984. type: integer
  14985. rewardvalue:
  14986. description: 配置奖励值
  14987. type: number
  14988. srcamount:
  14989. description: 成交金额 [消费奖励] (金额)
  14990. type: number
  14991. srcgoodsid:
  14992. description: 来源商品ID [消费奖励]
  14993. type: string
  14994. srctime:
  14995. description: 来源时间 (成交时间) [消费奖励]
  14996. type: string
  14997. srctradeid:
  14998. description: 来源成交单ID [消费奖励] - 排除提货成交
  14999. type: string
  15000. srcuserid:
  15001. description: 来源用户ID(推广账户)
  15002. type: string
  15003. srcusername:
  15004. description: 推广账户名称
  15005. type: string
  15006. tradedate:
  15007. description: 交易日(yyyyMMdd)
  15008. type: string
  15009. userid:
  15010. description: 经纪人用户ID
  15011. type: integer
  15012. type: object
  15013. models.QhjContract:
  15014. properties:
  15015. contractconfirmtime:
  15016. description: 合同确认时间(时间)
  15017. type: string
  15018. currisklevel:
  15019. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15020. type: integer
  15021. decimalplace:
  15022. description: 商品报价小数位
  15023. type: integer
  15024. enumdicname:
  15025. description: 单位名称
  15026. type: string
  15027. goodscode:
  15028. description: 商品代码
  15029. type: string
  15030. goodsid:
  15031. description: 商品ID [5:融资单]
  15032. type: integer
  15033. goodsname:
  15034. description: 商品名称
  15035. type: string
  15036. goodunitid:
  15037. description: 商品单位id
  15038. type: integer
  15039. initmargin:
  15040. description: 初始保证金(首付款)
  15041. type: number
  15042. lenderamount:
  15043. description: 贷款金额(总额|订单总额)
  15044. type: number
  15045. marginratio:
  15046. description: 保证金比率(首付比例)
  15047. type: number
  15048. payamount:
  15049. description: 已付(已付货款)
  15050. type: number
  15051. reckonrecovermargin:
  15052. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15053. type: number
  15054. recoveredmargin:
  15055. description: 已追缴保证金
  15056. type: number
  15057. remainamount:
  15058. description: 合同剩余金额(融资额)
  15059. type: number
  15060. scfcontractid:
  15061. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15062. type: string
  15063. scfcontractstatus:
  15064. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15065. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15066. type: integer
  15067. scfcontracttype:
  15068. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15069. type: integer
  15070. totalinterest:
  15071. description: 已计总利息(利息)
  15072. type: number
  15073. tradeprice:
  15074. description: 成交价格(成本价格)
  15075. type: number
  15076. userid:
  15077. description: 用户ID
  15078. type: integer
  15079. username:
  15080. description: 用户名称
  15081. type: string
  15082. wrqty:
  15083. description: 仓单数量(数量)
  15084. type: number
  15085. type: object
  15086. models.QhjContractLog:
  15087. properties:
  15088. amount:
  15089. description: 支付金额
  15090. type: number
  15091. amounttype:
  15092. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  15093. type: integer
  15094. logid:
  15095. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15096. type: string
  15097. remainamount:
  15098. description: 剩余货款
  15099. type: number
  15100. scfcontractid:
  15101. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15102. type: integer
  15103. updatetime:
  15104. description: 更新时间
  15105. type: string
  15106. type: object
  15107. models.QhjCusBankSignBankEx:
  15108. properties:
  15109. banklst:
  15110. description: 银行列表
  15111. items:
  15112. $ref: '#/definitions/models.QhjBankInfo'
  15113. type: array
  15114. canallot:
  15115. description: 是否支持跨行调拨 - 0:不支持 1:支持
  15116. type: integer
  15117. canallotquery:
  15118. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  15119. type: integer
  15120. canbindcard:
  15121. description: 是否可绑卡与解卡 - 0:不可 1:可以
  15122. type: integer
  15123. caninamount:
  15124. description: 是否可入金 - 0:不可 1:可以
  15125. type: integer
  15126. caninamount2:
  15127. description: 是否可入金(网银端) - 0:不可 1:可以
  15128. type: integer
  15129. canmodifybankcard:
  15130. description: 是否可修改银行卡号 - 0:不可 1:可以
  15131. type: integer
  15132. canmodifyphone:
  15133. description: 是否可修改手机号 - 0:不可 1:可以
  15134. type: integer
  15135. canmodifysigninfo:
  15136. description: 是否可修改签约信息 - 0:不可 1:可以
  15137. type: integer
  15138. canoutamount:
  15139. description: 是否可出金 - 0:不可 1:可以
  15140. type: integer
  15141. canoutamount2:
  15142. description: 是否可出金(网银端) - 0:不可 1:可以
  15143. type: integer
  15144. canrelease:
  15145. description: 是否可解约 - 0:不可 1:可以
  15146. type: integer
  15147. canrelease2:
  15148. description: 是否可解约(网银端) - 0:不可 1:可以
  15149. type: integer
  15150. cansign:
  15151. description: 是否可签约 - 0:不可 1:可以
  15152. type: integer
  15153. cansign2:
  15154. description: 是否可签约(网银端) - 0:不可 1:可以
  15155. type: integer
  15156. currency:
  15157. description: 币种
  15158. type: string
  15159. cusbankid:
  15160. description: 托管银行编号(对应清算中心TRAN_NO)
  15161. type: string
  15162. cusbankname:
  15163. description: 银行业务名称
  15164. type: string
  15165. cusbankshortname:
  15166. description: 银行业务简称
  15167. type: string
  15168. exchbankid:
  15169. description: 交易所开户银行ID
  15170. type: string
  15171. exchpaybankaccname:
  15172. description: 交易所支出结算账户户名
  15173. type: string
  15174. exchpaybankaccno:
  15175. description: 交易所支出结算账户
  15176. type: string
  15177. isneedcheck:
  15178. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15179. type: integer
  15180. isneedclear:
  15181. description: 是否需要清算 - 0:不需要 1:需要
  15182. type: integer
  15183. lastcheckstatus:
  15184. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15185. type: integer
  15186. lastchecktime:
  15187. description: 最后对账时间
  15188. type: string
  15189. lastclearstatus:
  15190. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15191. type: integer
  15192. lastcleartime:
  15193. description: 最后清算时间
  15194. type: string
  15195. lastsignintime:
  15196. description: 最后签到时间
  15197. type: string
  15198. lastsignouttime:
  15199. description: 最后签退时间
  15200. type: string
  15201. riskinfo:
  15202. description: 签约风险提示书
  15203. type: string
  15204. signstatus:
  15205. description: 当前签到/签退状态 - 1:签到 2:签退
  15206. type: integer
  15207. tradedate:
  15208. description: 交易日(yyyyMMdd)
  15209. type: string
  15210. updatetime:
  15211. description: 当前签到/签退更新时间
  15212. type: string
  15213. type: object
  15214. models.QhjCustomer:
  15215. properties:
  15216. address:
  15217. description: 通讯地址
  15218. type: string
  15219. attachment1:
  15220. description: 附件1
  15221. type: string
  15222. attachment2:
  15223. description: 附件2
  15224. type: string
  15225. audittime:
  15226. description: 审核时间
  15227. type: string
  15228. cardbackphotourl:
  15229. description: 证件反面图片地址
  15230. type: string
  15231. cardfrontphotourl:
  15232. description: 证件正面图片地址
  15233. type: string
  15234. cardnum:
  15235. description: 证件号码
  15236. type: string
  15237. cardtype:
  15238. description: 证件类型
  15239. type: integer
  15240. cardtypename:
  15241. description: 证件类型名称
  15242. type: string
  15243. cityid:
  15244. description: 市
  15245. type: integer
  15246. cityname:
  15247. description: 城市名称
  15248. type: string
  15249. contactname:
  15250. description: 联系人
  15251. type: string
  15252. countryid:
  15253. description: 国家
  15254. type: integer
  15255. countryname:
  15256. description: 国家名称
  15257. type: string
  15258. createtime:
  15259. description: 创建时间
  15260. type: string
  15261. customername:
  15262. description: 客户名称
  15263. type: string
  15264. districtid:
  15265. description: 区域
  15266. type: integer
  15267. districtname:
  15268. description: 地区名称
  15269. type: string
  15270. email:
  15271. description: 邮件
  15272. type: string
  15273. legalpersonname:
  15274. description: 法人姓名(企业)
  15275. type: string
  15276. logincode:
  15277. description: 登录账号(代码)
  15278. type: string
  15279. memberuserid:
  15280. description: 所属机构ID(所属会员)
  15281. type: integer
  15282. memberusername:
  15283. description: 所属会员名称
  15284. type: string
  15285. mobile:
  15286. description: 手机号码
  15287. type: string
  15288. modifytime:
  15289. description: 修改时间
  15290. type: string
  15291. nickname:
  15292. description: 昵称
  15293. type: string
  15294. parentuserid:
  15295. description: 上级机构(所属机构)
  15296. type: integer
  15297. parentusername:
  15298. description: 所属机构名称
  15299. type: string
  15300. provinceid:
  15301. description: 省
  15302. type: integer
  15303. provincename:
  15304. description: 省名称
  15305. type: string
  15306. proxystatementurl:
  15307. description: 授权委托书
  15308. type: string
  15309. remark:
  15310. description: 备注
  15311. type: string
  15312. status:
  15313. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15314. type: integer
  15315. statusdesc:
  15316. description: 账户状态中文描述
  15317. type: string
  15318. taxpayernum:
  15319. description: 纳税人识别号
  15320. type: string
  15321. telphone:
  15322. description: 联系电话
  15323. type: string
  15324. userid:
  15325. description: 用户ID
  15326. type: integer
  15327. userinfotype:
  15328. description: 客户类型 1-个人 2-企业
  15329. type: integer
  15330. username:
  15331. description: 用户名称
  15332. type: string
  15333. type: object
  15334. models.QhjCustomerSignLog:
  15335. properties:
  15336. agreementcontent:
  15337. description: 协议内容
  15338. type: string
  15339. agreementid:
  15340. description: 协议ID
  15341. type: integer
  15342. agreementname:
  15343. description: 协议名称
  15344. type: string
  15345. agreementno:
  15346. description: 协议编号
  15347. type: string
  15348. agreementtype:
  15349. description: 协议类型 - 1:注册 2:登录 3:交易
  15350. type: integer
  15351. agreementversion:
  15352. description: 协议版本号
  15353. type: integer
  15354. createtime:
  15355. description: 创建时间
  15356. type: string
  15357. goodscode:
  15358. description: 商品代码
  15359. type: string
  15360. goodsid:
  15361. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15362. type: integer
  15363. goodsname:
  15364. description: 商品名称
  15365. type: string
  15366. logid:
  15367. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15368. type: integer
  15369. nodetype:
  15370. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15371. type: integer
  15372. signadressurl:
  15373. description: 签约文件地址
  15374. type: string
  15375. signtimestamp:
  15376. description: 签约状态时间戳
  15377. type: string
  15378. userid:
  15379. description: 客户ID
  15380. type: integer
  15381. username:
  15382. description: 客户名称
  15383. type: string
  15384. type: object
  15385. models.QhjCustomerSignStatus:
  15386. properties:
  15387. createtime:
  15388. description: 创建时间
  15389. type: string
  15390. goodscode:
  15391. description: 商品代码
  15392. type: string
  15393. goodsid:
  15394. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15395. type: integer
  15396. goodsname:
  15397. description: 商品名称
  15398. type: string
  15399. nodetype:
  15400. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15401. type: integer
  15402. signtimestamp:
  15403. description: 签约状态时间戳
  15404. type: string
  15405. tradedate:
  15406. description: 创建交易日(yyyyMMdd)
  15407. type: string
  15408. updatetime:
  15409. description: 更新时间
  15410. type: string
  15411. userid:
  15412. description: 客户ID
  15413. type: integer
  15414. username:
  15415. description: 客户名称
  15416. type: string
  15417. type: object
  15418. models.QhjMgrAccountOutInApply:
  15419. properties:
  15420. accountcode:
  15421. description: 资金账号
  15422. type: string
  15423. accountname:
  15424. description: 用户名称(名称)
  15425. type: string
  15426. accountpwd:
  15427. description: 资金密码
  15428. type: string
  15429. accountticket:
  15430. description: 最新账户服务流水号
  15431. type: string
  15432. amount:
  15433. description: 金额
  15434. type: number
  15435. applyremark:
  15436. description: 申请备注
  15437. type: string
  15438. applystatus:
  15439. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15440. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15441. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15442. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15443. type: integer
  15444. auditid:
  15445. description: 审核人
  15446. type: integer
  15447. audittime:
  15448. description: 审核时间
  15449. type: string
  15450. bank_apply_ticket:
  15451. description: 银行申请流水
  15452. type: string
  15453. bankaccountname:
  15454. description: 银行账户名
  15455. type: string
  15456. bankaccountno:
  15457. description: 银行卡号
  15458. type: string
  15459. bankid:
  15460. description: 银行编号
  15461. type: string
  15462. bankname:
  15463. description: 银行名称
  15464. type: string
  15465. bankticket:
  15466. description: 银行流水
  15467. type: string
  15468. branchbankid:
  15469. description: 银行支行号
  15470. type: string
  15471. branchbankname:
  15472. description: 银行支行名称
  15473. type: string
  15474. capamountout:
  15475. description: 出金(劣后本金) - 外部子账户
  15476. type: number
  15477. certificatephotourl:
  15478. description: 凭证地址
  15479. type: string
  15480. charge:
  15481. description: 手续费
  15482. type: number
  15483. checkerrorflag:
  15484. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15485. type: integer
  15486. currency:
  15487. description: 币种
  15488. type: string
  15489. cusbankid:
  15490. description: 托管银行编号
  15491. type: string
  15492. exchticket:
  15493. description: 银行服务流水号
  15494. type: string
  15495. executetype:
  15496. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15497. 7:外部子账户:入金 8:外部子账户:出金'
  15498. type: integer
  15499. extendinfo:
  15500. description: 扩展信息
  15501. type: string
  15502. extoperateid:
  15503. description: 交易服务流水号
  15504. type: integer
  15505. infamount:
  15506. description: 劣后金额(自有)
  15507. type: number
  15508. logincode:
  15509. description: 登录账号(账号)
  15510. type: string
  15511. netaddr:
  15512. description: 调转网址
  15513. type: string
  15514. priamount:
  15515. description: 优先金额(授信)
  15516. type: number
  15517. reauditid:
  15518. description: 复审人
  15519. type: integer
  15520. reauditremark:
  15521. description: 复审备注
  15522. type: string
  15523. reaudittime:
  15524. description: 复审时间
  15525. type: string
  15526. relatedorderid:
  15527. description: 三方关联ID
  15528. type: string
  15529. remark:
  15530. description: 备注
  15531. type: string
  15532. remark2:
  15533. description: 备注(失败原因)
  15534. type: string
  15535. soucreamount:
  15536. description: 原始出入金金额
  15537. type: number
  15538. soucrecurrencyid:
  15539. description: 原始出入金币种
  15540. type: integer
  15541. tradedate:
  15542. description: 交易日(yyyyMMdd)
  15543. type: string
  15544. updatetime:
  15545. description: 更新时间(申请时间)
  15546. type: string
  15547. userid:
  15548. description: 用户id
  15549. type: integer
  15550. userinfotype:
  15551. description: 账户类型 1-个人 2-企业
  15552. type: integer
  15553. type: object
  15554. models.QhjMgrBrokerApply:
  15555. properties:
  15556. applicantid:
  15557. description: 申请人
  15558. type: integer
  15559. applysrc:
  15560. description: 申请来源 - 1:管理端 2:终端
  15561. type: integer
  15562. applystatus:
  15563. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15564. type: integer
  15565. applytime:
  15566. description: 申请时间
  15567. type: string
  15568. auditorid:
  15569. description: 审核人
  15570. type: integer
  15571. auditremark:
  15572. description: 审核备注
  15573. type: string
  15574. auditsrc:
  15575. description: 审核来源 - 1:管理端 2:终端
  15576. type: integer
  15577. audittime:
  15578. description: 审核时间
  15579. type: string
  15580. audittradedate:
  15581. description: 审核交易日(yyyyMMdd)
  15582. type: string
  15583. brokerapplyid:
  15584. description: 申请ID(SEQ_BROKERAPPLY)
  15585. type: integer
  15586. cardbackphotourl:
  15587. description: 证件背面图片地址
  15588. type: string
  15589. cardfrontphotourl:
  15590. description: 证件正面图片地址
  15591. type: string
  15592. cardnum:
  15593. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15594. type: string
  15595. customername:
  15596. description: 姓名
  15597. type: string
  15598. filterstatus:
  15599. description: 筛选条件
  15600. type: string
  15601. logincode:
  15602. description: 登录代码
  15603. type: string
  15604. mobile:
  15605. description: 手机号码
  15606. type: string
  15607. parentuserid:
  15608. description: 所属机构id
  15609. type: integer
  15610. parentusername:
  15611. description: 所属机构名称
  15612. type: string
  15613. refereeuserid:
  15614. description: 推荐人id(经纪人)
  15615. type: integer
  15616. refernum:
  15617. description: 推荐码
  15618. type: string
  15619. remark:
  15620. description: 备注
  15621. type: string
  15622. subarealevelpath:
  15623. description: 层级路径
  15624. type: string
  15625. tradedate:
  15626. description: 交易日(yyyyMMdd)
  15627. type: string
  15628. userid:
  15629. description: 申请人用户ID
  15630. type: integer
  15631. userinfotype:
  15632. description: 用户类型 1-个人 2-企业
  15633. type: integer
  15634. username:
  15635. description: 用户名称
  15636. type: string
  15637. type: object
  15638. models.QhjMgrBrokerRewardReport:
  15639. properties:
  15640. createtime:
  15641. description: 创建时间(注册时间)
  15642. type: string
  15643. cycletime:
  15644. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15645. type: string
  15646. cycletype:
  15647. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15648. type: integer
  15649. directtotalnum:
  15650. description: 直推总人数【期末】
  15651. type: integer
  15652. indirecttotalnum:
  15653. description: 间推总人数【期末】
  15654. type: integer
  15655. mobile:
  15656. description: 电话号码
  15657. type: string
  15658. refereeuserid:
  15659. description: 推荐人id(经纪人id)
  15660. type: integer
  15661. refereeusername:
  15662. description: 推荐人名称(经纪人) 上级经纪人名称
  15663. type: string
  15664. refernum:
  15665. description: 推荐码
  15666. type: string
  15667. subarealevelpath:
  15668. description: 用户层级路径
  15669. type: string
  15670. todayrewardamount:
  15671. description: 奖励总金额【汇总】
  15672. type: number
  15673. updatetime:
  15674. description: 更新时间
  15675. type: string
  15676. userid:
  15677. description: 经纪人用户ID
  15678. type: integer
  15679. userinfotype:
  15680. description: 用户类型 1-个人 2-企业
  15681. type: integer
  15682. username:
  15683. description: 用户名称
  15684. type: string
  15685. type: object
  15686. models.QhjMgrContract:
  15687. properties:
  15688. contractconfirmtime:
  15689. description: 合同确认时间(时间)
  15690. type: string
  15691. currisklevel:
  15692. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15693. type: integer
  15694. decimalplace:
  15695. description: 商品报价小数位
  15696. type: integer
  15697. enumdicname:
  15698. description: 单位名称
  15699. type: string
  15700. goodscode:
  15701. description: 商品代码
  15702. type: string
  15703. goodsid:
  15704. description: 商品ID [5:融资单]
  15705. type: integer
  15706. goodsname:
  15707. description: 商品名称
  15708. type: string
  15709. goodunitid:
  15710. description: 商品单位id
  15711. type: integer
  15712. initmargin:
  15713. description: 初始保证金(首付款)
  15714. type: number
  15715. lenderamount:
  15716. description: 贷款金额(总额|订单总额)
  15717. type: number
  15718. logincode:
  15719. description: 账号(登录代码)
  15720. type: string
  15721. marginratio:
  15722. description: 保证金比率(首付比例)
  15723. type: number
  15724. mobile:
  15725. description: 电话号码(用户资料里的电话)
  15726. type: string
  15727. payamount:
  15728. description: 已付(已付货款)
  15729. type: number
  15730. reckonrecovermargin:
  15731. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15732. type: number
  15733. recoveredmargin:
  15734. description: 已追缴保证金
  15735. type: number
  15736. remainamount:
  15737. description: 合同剩余金额(融资额)
  15738. type: number
  15739. scfcontractid:
  15740. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15741. type: string
  15742. scfcontractstatus:
  15743. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15744. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15745. type: integer
  15746. scfcontracttype:
  15747. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15748. type: integer
  15749. totalinterest:
  15750. description: 已计总利息(利息)
  15751. type: number
  15752. tradedate:
  15753. description: 交易日
  15754. type: string
  15755. tradeprice:
  15756. description: 成交价格(成本价格)
  15757. type: number
  15758. userid:
  15759. description: 用户ID
  15760. type: integer
  15761. userinfotype:
  15762. description: 用户类型 1-个人 2-企业
  15763. type: integer
  15764. username:
  15765. description: 用户名称
  15766. type: string
  15767. wrqty:
  15768. description: 仓单数量(数量)
  15769. type: number
  15770. type: object
  15771. models.QhjMgrCustomer:
  15772. properties:
  15773. address:
  15774. description: 通讯地址
  15775. type: string
  15776. attachment1:
  15777. description: 附件1
  15778. type: string
  15779. audittime:
  15780. description: 审核时间
  15781. type: string
  15782. birthday:
  15783. description: 生日
  15784. type: string
  15785. brokerid:
  15786. description: 所属客户经理id
  15787. type: integer
  15788. brokername:
  15789. description: 所属客户经理名称
  15790. type: string
  15791. cardbackphotourl:
  15792. description: 证件反面图片地址
  15793. type: string
  15794. cardfrontphotourl:
  15795. description: 证件正面图片地址
  15796. type: string
  15797. cardnum:
  15798. description: 证件号码
  15799. type: string
  15800. cardtype:
  15801. description: 证件类型
  15802. type: integer
  15803. cardtypename:
  15804. description: 证件类型名称
  15805. type: string
  15806. cityid:
  15807. description: 市
  15808. type: integer
  15809. cityname:
  15810. description: 城市名称
  15811. type: string
  15812. contactname:
  15813. description: 联系人
  15814. type: string
  15815. countryid:
  15816. description: 国家
  15817. type: integer
  15818. countryname:
  15819. description: 国家名称
  15820. type: string
  15821. createtime:
  15822. description: 创建时间
  15823. type: string
  15824. customername:
  15825. description: 客户名称
  15826. type: string
  15827. districtid:
  15828. description: 区域
  15829. type: integer
  15830. districtname:
  15831. description: 地区名称
  15832. type: string
  15833. email:
  15834. description: 邮件
  15835. type: string
  15836. legalpersonname:
  15837. description: 法人姓名(企业)
  15838. type: string
  15839. logincode:
  15840. description: 登录账号(代码)
  15841. type: string
  15842. memberuserid:
  15843. description: 所属机构ID(所属会员)
  15844. type: integer
  15845. memberusername:
  15846. description: 所属会员名称
  15847. type: string
  15848. mobile:
  15849. description: 手机号码
  15850. type: string
  15851. modifytime:
  15852. description: 修改时间
  15853. type: string
  15854. nickname:
  15855. description: 昵称
  15856. type: string
  15857. parentuserid:
  15858. description: 上级机构(所属机构)
  15859. type: integer
  15860. parentusername:
  15861. description: 所属机构名称
  15862. type: string
  15863. provinceid:
  15864. description: 省
  15865. type: integer
  15866. provincename:
  15867. description: 省名称
  15868. type: string
  15869. proxystatementurl:
  15870. description: 授权委托书
  15871. type: string
  15872. querytype:
  15873. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15874. type: integer
  15875. remark:
  15876. description: 备注
  15877. type: string
  15878. sex:
  15879. description: 性别 0-女 1-男
  15880. type: integer
  15881. status:
  15882. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15883. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15884. type: integer
  15885. statusdesc:
  15886. description: 账户状态中文描述
  15887. type: string
  15888. taxpayernum:
  15889. description: 纳税人识别号
  15890. type: string
  15891. telphone:
  15892. description: 联系电话
  15893. type: string
  15894. userid:
  15895. description: 用户ID
  15896. type: integer
  15897. userinfotype:
  15898. description: 客户类型 1-个人 2-企业
  15899. type: integer
  15900. username:
  15901. description: 用户名称
  15902. type: string
  15903. type: object
  15904. models.QhjMgrPickGoods:
  15905. properties:
  15906. enumdicname:
  15907. description: 单位名称(提货商品)
  15908. type: string
  15909. goodsid:
  15910. description: 商品id
  15911. type: integer
  15912. imageaddress:
  15913. description: 图片
  15914. type: string
  15915. modifierid:
  15916. description: 修改人
  15917. type: integer
  15918. modifiername:
  15919. description: 修改人名称
  15920. type: string
  15921. modifysrc:
  15922. description: 修改来源 - 1:管理端 2:终端
  15923. type: integer
  15924. pickupgoodsagreeunit:
  15925. description: 合约乘数
  15926. type: number
  15927. pickupgoodsdesc:
  15928. description: 描述
  15929. type: string
  15930. pickupgoodsid:
  15931. description: 提货商品ID
  15932. type: string
  15933. pickupgoodsname:
  15934. description: 提货商品名称
  15935. type: string
  15936. pickupgoodsstatus:
  15937. description: 状态 - 1:正常 2:停用 3:注销
  15938. type: integer
  15939. pickupgoodsunitid:
  15940. description: 单位ID
  15941. type: integer
  15942. pickupratio:
  15943. description: 提货系数
  15944. type: number
  15945. preparedays:
  15946. description: 备货期(天)
  15947. type: integer
  15948. remark:
  15949. description: 备注
  15950. type: string
  15951. updatetime:
  15952. description: 更新时间
  15953. type: string
  15954. type: object
  15955. models.QhjMgrPositionRsp:
  15956. properties:
  15957. accountid:
  15958. description: 账号Id
  15959. type: integer
  15960. accountname:
  15961. description: 用户名称
  15962. type: string
  15963. agreeunit:
  15964. description: 合约乘数
  15965. type: number
  15966. averageprice:
  15967. description: 均价
  15968. type: number
  15969. avialqty:
  15970. description: 可用数量
  15971. type: number
  15972. decimalplace:
  15973. description: 报价小数位
  15974. type: integer
  15975. enumdicname:
  15976. description: 单位名称(商品)
  15977. type: string
  15978. frozenqty:
  15979. description: 冻结数量
  15980. type: number
  15981. goodscode:
  15982. description: 商品代码(内部)
  15983. type: string
  15984. goodsid:
  15985. description: 商品Id
  15986. type: integer
  15987. goodsname:
  15988. description: 商品名称
  15989. type: string
  15990. goodunitid:
  15991. description: 报价单位ID
  15992. type: integer
  15993. holderamount:
  15994. description: 金额
  15995. type: number
  15996. holderqty:
  15997. description: 持有数量
  15998. type: number
  15999. holdertype:
  16000. description: 持仓类别 - 1:单边持仓 2:双边持仓
  16001. type: integer
  16002. logincode:
  16003. description: 登录代码(账户)
  16004. type: string
  16005. marketid:
  16006. description: 市场id
  16007. type: integer
  16008. qtydecimalplace:
  16009. description: 成交量小数位
  16010. type: integer
  16011. trademode:
  16012. description: 交易模式
  16013. type: integer
  16014. userid:
  16015. description: 用户id
  16016. type: integer
  16017. userinfotype:
  16018. description: 账户类型 1-个人 2-企业
  16019. type: integer
  16020. type: object
  16021. models.QhjMgrSubArea:
  16022. properties:
  16023. accountname:
  16024. description: 账户名称(机构名称)
  16025. type: string
  16026. memberuserid:
  16027. description: 所属会员ID
  16028. type: integer
  16029. parenttopuser:
  16030. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16031. type: string
  16032. parentuserid:
  16033. description: 所属机构ID
  16034. type: integer
  16035. rootuserid:
  16036. description: 根用户ID
  16037. type: string
  16038. subaccountlevel:
  16039. description: 子账户层数
  16040. type: integer
  16041. subarealevelpath:
  16042. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16043. type: string
  16044. userid:
  16045. description: 用户ID
  16046. type: integer
  16047. usertype:
  16048. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16049. type: integer
  16050. type: object
  16051. models.QhjMgrTradeDetailRsp:
  16052. properties:
  16053. accountid:
  16054. description: 资金账号
  16055. type: integer
  16056. accountname:
  16057. description: 用户名称
  16058. type: string
  16059. agreeunit:
  16060. description: 合约乘数
  16061. type: number
  16062. buyorsell:
  16063. description: 成交类型(方向) 0:买 1:卖
  16064. type: integer
  16065. decimalplace:
  16066. description: 报价小数位
  16067. type: integer
  16068. enumdicname:
  16069. description: 单位名称(商品)
  16070. type: string
  16071. goodscode:
  16072. description: 商品代码(内部)
  16073. type: string
  16074. goodsid:
  16075. description: 商品id
  16076. type: integer
  16077. goodsname:
  16078. description: 商品名称
  16079. type: string
  16080. goodunitid:
  16081. description: 报价单位ID
  16082. type: integer
  16083. logincode:
  16084. description: 登录代码(账户)
  16085. type: string
  16086. marketid:
  16087. description: 市场id
  16088. type: integer
  16089. orderid:
  16090. description: 关联委托单号
  16091. type: string
  16092. qtydecimalplace:
  16093. description: 成交量小数位
  16094. type: integer
  16095. tradeamount:
  16096. description: 金额
  16097. type: number
  16098. tradedate:
  16099. description: 交易日
  16100. type: string
  16101. tradeid:
  16102. description: 成交单号
  16103. type: string
  16104. trademode:
  16105. description: 交易模式
  16106. type: integer
  16107. tradeprice:
  16108. description: 价格
  16109. type: number
  16110. tradeqty:
  16111. description: 数量
  16112. type: number
  16113. tradetime:
  16114. description: 成交时间
  16115. type: string
  16116. userid:
  16117. description: 用户id
  16118. type: integer
  16119. userinfotype:
  16120. description: 账户类型 1-个人 2-企业
  16121. type: integer
  16122. type: object
  16123. models.QhjMgrTradeOrderDetailRsp:
  16124. properties:
  16125. accountid:
  16126. description: 资金账号
  16127. type: integer
  16128. accountname:
  16129. description: 用户名称
  16130. type: string
  16131. agreeunit:
  16132. description: 合约乘数
  16133. type: number
  16134. amount:
  16135. description: 金额
  16136. type: number
  16137. decimalplace:
  16138. description: 报价小数位
  16139. type: integer
  16140. enumdicname:
  16141. description: 单位名称(商品)
  16142. type: string
  16143. goodscode:
  16144. description: 商品代码(内部)
  16145. type: string
  16146. goodsid:
  16147. description: 商品id
  16148. type: integer
  16149. goodsname:
  16150. description: 商品名称
  16151. type: string
  16152. goodunitid:
  16153. description: 报价单位ID
  16154. type: integer
  16155. logincode:
  16156. description: 登录代码(账户)
  16157. type: string
  16158. marketid:
  16159. description: 市场id
  16160. type: integer
  16161. orderid:
  16162. description: 关联委托单号
  16163. type: string
  16164. orderprice:
  16165. description: 价格
  16166. type: number
  16167. orderqty:
  16168. description: 数量
  16169. type: number
  16170. orderstatus:
  16171. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16172. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16173. 16:成交失败违约(荷兰式竞拍专用)
  16174. type: integer
  16175. ordertime:
  16176. description: 委托时间
  16177. type: string
  16178. qtydecimalplace:
  16179. description: 成交量小数位
  16180. type: integer
  16181. tradedate:
  16182. description: 交易日
  16183. type: string
  16184. trademode:
  16185. description: 交易模式
  16186. type: integer
  16187. userid:
  16188. description: 用户id
  16189. type: integer
  16190. userinfotype:
  16191. description: 账户类型 1-个人 2-企业
  16192. type: integer
  16193. type: object
  16194. models.QhjMgrTradePayOrder:
  16195. properties:
  16196. accountname:
  16197. description: 用户名称
  16198. type: string
  16199. advanceratio:
  16200. description: 首付比率
  16201. type: number
  16202. agreeunit:
  16203. description: 合约乘数
  16204. type: number
  16205. buyaccountid:
  16206. description: 买方账号ID[报价币种]
  16207. type: integer
  16208. buyorderid:
  16209. description: 买方委托单号(关联单号)
  16210. type: string
  16211. createtime:
  16212. description: 创建时间
  16213. type: string
  16214. decimalplace:
  16215. description: 报价小数位
  16216. type: integer
  16217. enumdicname:
  16218. description: 单位名称(商品)
  16219. type: string
  16220. goodscode:
  16221. description: 商品代码(内部)
  16222. type: string
  16223. goodsid:
  16224. description: 商品ID
  16225. type: integer
  16226. goodsname:
  16227. description: 商品名称
  16228. type: string
  16229. goodunitid:
  16230. description: 报价单位ID
  16231. type: integer
  16232. logincode:
  16233. description: 登录代码(账户)
  16234. type: string
  16235. marketid:
  16236. description: 市场id
  16237. type: integer
  16238. offamount:
  16239. description: 优惠金额
  16240. type: number
  16241. operatetype:
  16242. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16243. type: integer
  16244. payamount:
  16245. description: 支付金额(金额)
  16246. type: number
  16247. payflag:
  16248. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16249. type: integer
  16250. paylimitedtime:
  16251. description: 支付期限
  16252. type: string
  16253. paytime:
  16254. description: 付款时间
  16255. type: string
  16256. qtydecimalplace:
  16257. description: 成交量小数位
  16258. type: integer
  16259. sellaccountid:
  16260. description: 卖方账号ID[报价币种]
  16261. type: integer
  16262. sellorderid:
  16263. description: 卖方委托单号
  16264. type: string
  16265. tradeamount:
  16266. description: 成交金额(优惠后金额)
  16267. type: number
  16268. tradecharge:
  16269. description: 成交手续费(买方)
  16270. type: number
  16271. tradedate:
  16272. description: 交易日(yyyyMMdd)
  16273. type: string
  16274. tradeid:
  16275. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16276. type: string
  16277. trademode:
  16278. description: 交易模式
  16279. type: integer
  16280. tradeprice:
  16281. description: 成交价格(价格)
  16282. type: number
  16283. tradeqty:
  16284. description: 成交数量(数量)
  16285. type: number
  16286. tradetime:
  16287. description: 成交时间
  16288. type: string
  16289. userid:
  16290. description: 用户id
  16291. type: integer
  16292. userinfotype:
  16293. description: 账户类型 1-个人 2-企业
  16294. type: integer
  16295. type: object
  16296. models.QhjMyTeamEx:
  16297. properties:
  16298. accountname:
  16299. description: 用户名称
  16300. type: string
  16301. accountstatus:
  16302. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16303. type: integer
  16304. createtime:
  16305. description: 创建时间
  16306. type: string
  16307. mobile:
  16308. description: 手机号码
  16309. type: string
  16310. refereeuserid:
  16311. description: 推荐人id
  16312. type: integer
  16313. refernum:
  16314. description: 推荐码
  16315. type: string
  16316. subList:
  16317. items:
  16318. $ref: '#/definitions/models.QhjMyTeamEx'
  16319. type: array
  16320. userid:
  16321. description: 用户id
  16322. type: integer
  16323. userinfotype:
  16324. description: 用户类型 1-个人 2-企业
  16325. type: integer
  16326. type: object
  16327. models.QhjNodeAgreementConfig:
  16328. properties:
  16329. agreementcontent:
  16330. description: 协议内容
  16331. type: string
  16332. agreementid:
  16333. description: 协议ID
  16334. type: integer
  16335. agreementname:
  16336. description: 协议名称
  16337. type: string
  16338. agreementno:
  16339. description: 协议编号
  16340. type: string
  16341. agreementtype:
  16342. description: 协议类型 - 1:注册 2:登录 3:交易
  16343. type: integer
  16344. agreementversion:
  16345. description: 协议版本号
  16346. type: integer
  16347. configid:
  16348. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16349. type: integer
  16350. createtime:
  16351. description: 创建时间
  16352. type: string
  16353. goodsid:
  16354. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16355. type: integer
  16356. nodetype:
  16357. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16358. type: integer
  16359. type: object
  16360. models.QhjParentAreaList:
  16361. properties:
  16362. accountname:
  16363. description: 账户名称(机构名称)
  16364. type: string
  16365. userid:
  16366. description: 用户ID
  16367. type: integer
  16368. usertype:
  16369. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16370. type: integer
  16371. type: object
  16372. models.QhjPayOrder:
  16373. properties:
  16374. advanceratio:
  16375. description: 首付比率
  16376. type: number
  16377. buyaccountid:
  16378. description: 买方账号ID[报价币种]
  16379. type: integer
  16380. buyorderid:
  16381. description: 买方委托单号
  16382. type: string
  16383. createtime:
  16384. description: 创建时间
  16385. type: string
  16386. decimalplace:
  16387. description: 商品报价小数位
  16388. type: integer
  16389. enumdicname:
  16390. description: 单位名称
  16391. type: string
  16392. goodscode:
  16393. description: 商品代码
  16394. type: string
  16395. goodsid:
  16396. description: 商品ID
  16397. type: integer
  16398. goodsname:
  16399. description: 商品名称
  16400. type: string
  16401. goodunitid:
  16402. description: 商品单位id
  16403. type: integer
  16404. marketid:
  16405. description: 市场ID
  16406. type: integer
  16407. offamount:
  16408. description: 优惠金额
  16409. type: number
  16410. operatetype:
  16411. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16412. type: integer
  16413. payamount:
  16414. description: 支付金额
  16415. type: number
  16416. payflag:
  16417. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16418. type: integer
  16419. paylimitedtime:
  16420. description: 支付期限
  16421. type: string
  16422. paytime:
  16423. description: 付款时间
  16424. type: string
  16425. qtydecimalplace:
  16426. description: 成交量小数位
  16427. type: integer
  16428. sellaccountid:
  16429. description: 卖方账号ID[报价币种]
  16430. type: integer
  16431. sellorderid:
  16432. description: 卖方委托单号
  16433. type: string
  16434. tradeamount:
  16435. description: 成交金额(优惠后金额)
  16436. type: number
  16437. tradecharge:
  16438. description: 成交手续费(买方)
  16439. type: number
  16440. tradedate:
  16441. description: 交易日(yyyyMMdd)
  16442. type: string
  16443. tradeid:
  16444. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16445. type: string
  16446. tradeprice:
  16447. description: 成交价格
  16448. type: number
  16449. tradeqty:
  16450. description: 成交数量
  16451. type: number
  16452. type: object
  16453. models.QhjPickArea:
  16454. properties:
  16455. address:
  16456. description: 详细地址
  16457. type: string
  16458. cityid:
  16459. description: 市
  16460. type: integer
  16461. cityname:
  16462. description: 城市名称
  16463. type: string
  16464. countryid:
  16465. description: 国家
  16466. type: integer
  16467. countryname:
  16468. description: 国家名称
  16469. type: string
  16470. districtid:
  16471. description: 地区
  16472. type: integer
  16473. districtname:
  16474. description: 地区名称
  16475. type: string
  16476. fromuserid:
  16477. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16478. type: integer
  16479. fromusername:
  16480. description: 所属机构名称
  16481. type: string
  16482. provinceid:
  16483. description: 省
  16484. type: integer
  16485. provincename:
  16486. description: 省名称
  16487. type: string
  16488. suborgtype:
  16489. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16490. type: integer
  16491. userid:
  16492. description: 机构用户ID 其他做市关系,都设置为 1
  16493. type: integer
  16494. username:
  16495. description: 机构用户名称(门店门称)
  16496. type: string
  16497. type: object
  16498. models.QhjPickGoods:
  16499. properties:
  16500. enumdicname:
  16501. description: 单位名称(提货商品)
  16502. type: string
  16503. goodsid:
  16504. description: 商品id
  16505. type: integer
  16506. imageaddress:
  16507. description: 图片
  16508. type: string
  16509. modifierid:
  16510. description: 修改人
  16511. type: integer
  16512. modifiername:
  16513. description: 修改人名称
  16514. type: string
  16515. modifysrc:
  16516. description: 修改来源 - 1:管理端 2:终端
  16517. type: integer
  16518. pickupgoodsagreeunit:
  16519. description: 合约乘数
  16520. type: number
  16521. pickupgoodsdesc:
  16522. description: 描述
  16523. type: string
  16524. pickupgoodsid:
  16525. description: 提货商品ID
  16526. type: string
  16527. pickupgoodsname:
  16528. description: 提货商品名称
  16529. type: string
  16530. pickupgoodsstatus:
  16531. description: 状态 - 1:正常 2:停用 3:注销
  16532. type: integer
  16533. pickupgoodsunitid:
  16534. description: 单位ID
  16535. type: integer
  16536. pickupratio:
  16537. description: 提货系数
  16538. type: number
  16539. preparedays:
  16540. description: 备货期(天)
  16541. type: integer
  16542. remark:
  16543. description: 备注
  16544. type: string
  16545. updatetime:
  16546. description: 更新时间
  16547. type: string
  16548. type: object
  16549. models.QhjRSTriggerLog:
  16550. properties:
  16551. accountid:
  16552. description: 用户资金账户
  16553. type: integer
  16554. accountname:
  16555. description: 账号名称(ACCOUNTID对应的名称)
  16556. type: string
  16557. currencyid:
  16558. description: 币种id
  16559. type: integer
  16560. currencyname:
  16561. description: 币种名称
  16562. type: string
  16563. decimalplace:
  16564. description: 商品报价小数位
  16565. type: integer
  16566. enumdicname:
  16567. description: 单位名称
  16568. type: string
  16569. goodscode:
  16570. description: 定投商品代码
  16571. type: string
  16572. goodsid:
  16573. description: 定投商品ID
  16574. type: integer
  16575. goodsname:
  16576. description: 定投商品名称
  16577. type: string
  16578. goodunitid:
  16579. description: 定投商品单位id
  16580. type: integer
  16581. logid:
  16582. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16583. type: string
  16584. logincode:
  16585. description: 账号(登录代码)
  16586. type: string
  16587. qtydecimalplace:
  16588. description: 成交量小数位
  16589. type: integer
  16590. regularlycycle:
  16591. description: 定投频率 - 1:每周 2:每月
  16592. type: integer
  16593. regularlycyclevalue:
  16594. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16595. type: string
  16596. regularlymode:
  16597. description: 定投方式 - 1:按数量 2:按金额
  16598. type: integer
  16599. regularlymodevalue:
  16600. description: 定投方式值 - 数量或金额
  16601. type: number
  16602. regularlystrategyid:
  16603. description: 定投策略ID
  16604. type: integer
  16605. retcode:
  16606. description: 错误码
  16607. type: string
  16608. tradeid:
  16609. description: 成交单ID
  16610. type: string
  16611. triggeramount:
  16612. description: 触发金额
  16613. type: number
  16614. triggerqty:
  16615. description: 触发数量
  16616. type: number
  16617. triggerstatus:
  16618. description: 触发状态 - 1:成功 2:失败
  16619. type: integer
  16620. triggertime:
  16621. description: 触发时间
  16622. type: string
  16623. triggertradedate:
  16624. description: 触发交易日
  16625. type: string
  16626. userid:
  16627. description: 所属用户ID
  16628. type: integer
  16629. userinfotype:
  16630. description: 用户类型 1-个人 2-企业
  16631. type: integer
  16632. username:
  16633. description: 用户名称(userid对应的名称)
  16634. type: string
  16635. type: object
  16636. models.QhjRStrategy:
  16637. properties:
  16638. accountid:
  16639. description: 用户资金账户
  16640. type: integer
  16641. accountname:
  16642. description: 账号名称(ACCOUNTID对应的名称)
  16643. type: string
  16644. currencyid:
  16645. description: 币种id
  16646. type: integer
  16647. currencyname:
  16648. description: 币种名称
  16649. type: string
  16650. decimalplace:
  16651. description: 商品报价小数位
  16652. type: integer
  16653. enumdicname:
  16654. description: 单位名称
  16655. type: string
  16656. goodscode:
  16657. description: 定投商品代码
  16658. type: string
  16659. goodsid:
  16660. description: 定投商品ID
  16661. type: integer
  16662. goodsname:
  16663. description: 定投商品名称
  16664. type: string
  16665. goodunitid:
  16666. description: 定投商品单位id
  16667. type: integer
  16668. lasteffecttradedate:
  16669. description: 最新生效交易日
  16670. type: string
  16671. laststoptradedate:
  16672. description: 最新暂停交易日
  16673. type: string
  16674. lasttriggertradedate:
  16675. description: 最新触发交易日
  16676. type: string
  16677. logincode:
  16678. description: 账号(登录代码)
  16679. type: string
  16680. nexttriggeramount:
  16681. description: 下次触发金额
  16682. type: number
  16683. nexttriggerdate:
  16684. description: 下次触发日期
  16685. type: string
  16686. nexttriggerqty:
  16687. description: 下次触发数量 [按小数位放大值]
  16688. type: number
  16689. qtydecimalplace:
  16690. description: 成交量小数位
  16691. type: integer
  16692. regularlycycle:
  16693. description: 定投频率 - 1:每周 2:每月
  16694. type: integer
  16695. regularlycyclevalue:
  16696. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16697. type: string
  16698. regularlymode:
  16699. description: 定投方式 - 1:按数量 2:按金额
  16700. type: integer
  16701. regularlymodevalue:
  16702. description: 定投方式值 - 数量或金额
  16703. type: number
  16704. regularlystrategyid:
  16705. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16706. type: integer
  16707. regularlystrategystatus:
  16708. description: 策略状态 - 1:正常 2:暂停 3:终止
  16709. type: integer
  16710. remark:
  16711. description: 备注
  16712. type: string
  16713. triggersuccesstimes:
  16714. description: 累计定投成功次数
  16715. type: string
  16716. triggertotalamount:
  16717. description: 累计定投金额(成功)
  16718. type: number
  16719. triggertotalqty:
  16720. description: 累计定投数量(成功) [按小数位放大值]
  16721. type: number
  16722. triggertotaltimes:
  16723. description: 累计定投总次数
  16724. type: string
  16725. updatesrc:
  16726. description: 更新来源 - 1:管理端 2:终端
  16727. type: integer
  16728. updatetime:
  16729. description: 更新时间
  16730. type: string
  16731. updatorid:
  16732. description: 更新人
  16733. type: string
  16734. userid:
  16735. description: 所属用户ID
  16736. type: integer
  16737. userinfotype:
  16738. description: 用户类型 1-个人 2-企业
  16739. type: integer
  16740. username:
  16741. description: 用户名称(userid对应的名称)
  16742. type: string
  16743. type: object
  16744. models.QhjReckonPriceLog:
  16745. properties:
  16746. decimalplace:
  16747. description: 商品报价小数位
  16748. type: integer
  16749. goodscode:
  16750. description: 商品代码
  16751. type: string
  16752. goodsid:
  16753. description: 商品ID
  16754. type: integer
  16755. goodsname:
  16756. description: 商品名称
  16757. type: string
  16758. lastreckonprice:
  16759. description: 上日结算价
  16760. type: number
  16761. nextdnlimitprice:
  16762. description: 下个交易日跌停价
  16763. type: number
  16764. nexttrade:
  16765. description: 下个交易日
  16766. type: string
  16767. nextuplimitprice:
  16768. description: 下个交易日涨停价
  16769. type: number
  16770. reckonprice:
  16771. description: 今日结算价(定投价)
  16772. type: number
  16773. reckontime:
  16774. description: 结算时间
  16775. type: string
  16776. totalholderqty:
  16777. description: 总持仓数
  16778. type: integer
  16779. totalstock:
  16780. description: 总库存
  16781. type: integer
  16782. tradedate:
  16783. description: 交易日
  16784. type: string
  16785. updowncount:
  16786. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16787. type: integer
  16788. updownflag:
  16789. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16790. type: integer
  16791. updownrate:
  16792. description: 今日涨跌幅
  16793. type: number
  16794. updownrate_2d:
  16795. description: 连续两日涨跌幅
  16796. type: number
  16797. updownrate_3d:
  16798. description: 连续三日涨跌幅
  16799. type: number
  16800. type: object
  16801. models.QhjScoreLog:
  16802. properties:
  16803. accountid:
  16804. description: 账户ID
  16805. type: integer
  16806. createtime:
  16807. description: 创建时间(时间)
  16808. type: string
  16809. goodsid:
  16810. description: 商品ID
  16811. type: integer
  16812. hasuploaded:
  16813. description: 是否已同步(千海金) 0:未同步 1;已同步
  16814. type: integer
  16815. logid:
  16816. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16817. type: string
  16818. marketid:
  16819. description: 市场ID
  16820. type: integer
  16821. relatedamount:
  16822. description: 关联金额
  16823. type: number
  16824. relatedorderid:
  16825. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16826. type: string
  16827. scoreconfigvalue1:
  16828. description: 积分配置1
  16829. type: integer
  16830. scoreconfigvalue2:
  16831. description: 积分配置1
  16832. type: integer
  16833. scoretype:
  16834. description: 积分类型 - 1:提货积分
  16835. type: integer
  16836. scorevalue:
  16837. description: 积分
  16838. type: number
  16839. tradedate:
  16840. description: 交易日(yyyyMMdd)
  16841. type: string
  16842. uploadedtime:
  16843. description: 同步时间
  16844. type: string
  16845. userid:
  16846. description: 用户ID
  16847. type: integer
  16848. type: object
  16849. models.QhjSiteColumnDetail:
  16850. properties:
  16851. author:
  16852. description: 作者
  16853. type: string
  16854. brief:
  16855. description: 简介
  16856. type: string
  16857. columnid:
  16858. description: 所属栏目
  16859. type: integer
  16860. context:
  16861. description: 内容
  16862. type: string
  16863. coverimage:
  16864. description: 封面图片
  16865. type: string
  16866. creaedate:
  16867. description: 创建时间
  16868. type: string
  16869. creatorid:
  16870. description: 创建人
  16871. type: integer
  16872. hits:
  16873. description: 点击数
  16874. type: integer
  16875. id:
  16876. description: ID(SEQ_SITE_COLUMNDETAIL)
  16877. type: integer
  16878. isshow:
  16879. description: 是否展示 - 0:不展示 1:展示
  16880. type: integer
  16881. istop:
  16882. description: 是否置顶 - 0:不置 1:置顶
  16883. type: integer
  16884. modifierid:
  16885. description: 操作人
  16886. type: integer
  16887. publishdate:
  16888. description: 发布日期
  16889. type: string
  16890. status:
  16891. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16892. type: integer
  16893. title:
  16894. description: 标题
  16895. type: string
  16896. updatedate:
  16897. description: 修改时间
  16898. type: string
  16899. userid:
  16900. description: 用户ID(默认为0, 核心为为机构用户ID)
  16901. type: integer
  16902. username:
  16903. description: 用户名称
  16904. type: string
  16905. type: object
  16906. models.QhjTeamOrder:
  16907. properties:
  16908. accountid:
  16909. description: 账户ID[报价币种]
  16910. type: integer
  16911. accountname:
  16912. description: 账户名称
  16913. type: string
  16914. agreeunit:
  16915. description: 合约乘数
  16916. type: number
  16917. buyorsell:
  16918. description: 方向 - 0:买 1:卖
  16919. type: integer
  16920. decimalplace:
  16921. description: 报价小数位
  16922. type: integer
  16923. enumdicname:
  16924. description: 单位名称
  16925. type: string
  16926. goodscode:
  16927. description: 商品代码(内部)
  16928. type: string
  16929. goodsid:
  16930. description: 商品ID
  16931. type: integer
  16932. goodsname:
  16933. description: 商品名称
  16934. type: string
  16935. goodunitid:
  16936. description: 报价单位ID
  16937. type: integer
  16938. marketid:
  16939. description: 市场ID
  16940. type: integer
  16941. marketname:
  16942. description: 市场名称
  16943. type: string
  16944. qtydecimalplace:
  16945. description: 成交量小数位
  16946. type: integer
  16947. refereeuserid:
  16948. description: 推荐人ID
  16949. type: integer
  16950. tradeamount:
  16951. description: 成交金额[账户币种,用于所有权]
  16952. type: number
  16953. tradedate:
  16954. description: 交易日(yyyyMMdd)
  16955. type: string
  16956. trademode:
  16957. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16958. 21:竞拍-大宗式 22:受托竞价
  16959. type: integer
  16960. tradeprice:
  16961. description: 成交价格
  16962. type: number
  16963. tradeqty:
  16964. description: 成交数量
  16965. type: number
  16966. tradetime:
  16967. description: 成交时间
  16968. type: string
  16969. userid:
  16970. description: 用户ID
  16971. type: integer
  16972. type: object
  16973. models.QhjTradeGoodsPickup:
  16974. properties:
  16975. accountid:
  16976. description: 账户ID
  16977. type: integer
  16978. address:
  16979. description: 提货人详细地址
  16980. type: string
  16981. amount:
  16982. description: 提货金额
  16983. type: number
  16984. artradedate:
  16985. description: 自动收货交易日(yyyyMMdd)
  16986. type: string
  16987. auditer:
  16988. description: 审核人
  16989. type: integer
  16990. auditsrc:
  16991. description: 更新来源 - 1:管理端 2:终端
  16992. type: integer
  16993. audittime:
  16994. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16995. type: string
  16996. audittradedate:
  16997. description: 审核交易日(yyyyMMdd)
  16998. type: string
  16999. cardnum:
  17000. description: 提货人证件号码
  17001. type: string
  17002. cardtypeid:
  17003. description: 提货人证件类型
  17004. type: integer
  17005. checkremark:
  17006. description: 审核备注
  17007. type: string
  17008. cityid:
  17009. description: 市
  17010. type: integer
  17011. cityname:
  17012. description: 城市名称
  17013. type: string
  17014. confirmtime:
  17015. description: 取货时间 或 收货时间
  17016. type: string
  17017. countryid:
  17018. description: 国家
  17019. type: integer
  17020. countryname:
  17021. description: 国家名称
  17022. type: string
  17023. decimalplace:
  17024. description: 商品报价小数位
  17025. type: integer
  17026. districtid:
  17027. description: 地区
  17028. type: integer
  17029. districtname:
  17030. description: 地区名称
  17031. type: string
  17032. enumdicname:
  17033. description: 单位名称(提货商品)
  17034. type: string
  17035. expresscompany:
  17036. description: 物流公司
  17037. type: string
  17038. expressnum:
  17039. description: 物流单号
  17040. type: string
  17041. goodsagreeunit:
  17042. description: 交易商品乘数
  17043. type: number
  17044. goodscode:
  17045. description: 商品代码
  17046. type: string
  17047. goodsid:
  17048. description: 商品ID
  17049. type: integer
  17050. goodsname:
  17051. description: 商品名称
  17052. type: string
  17053. goodsqty:
  17054. description: 交易商品手数(69模式按成交量小数位放大取整)
  17055. type: number
  17056. handlestatus:
  17057. description: 处理状态
  17058. type: integer
  17059. logincode:
  17060. description: 账号(登录代码, 有可能为空)
  17061. type: string
  17062. marketid:
  17063. description: 市场ID
  17064. type: integer
  17065. phonenum:
  17066. description: 提货人联系方式
  17067. type: string
  17068. pickupgoodsagreeunit:
  17069. description: 提货商品合约乘数
  17070. type: number
  17071. pickupgoodsid:
  17072. description: 提货商品ID
  17073. type: string
  17074. pickupgoodsname:
  17075. description: 提货商品名称
  17076. type: string
  17077. pickupgoodsqty:
  17078. description: 提货商品手数(数量)
  17079. type: number
  17080. pickupgoodsunitid:
  17081. description: 单位ID(提货商品)
  17082. type: integer
  17083. pickupratio:
  17084. description: 提货系数
  17085. type: number
  17086. preparedays:
  17087. description: 备货期(天)-提货单明细表
  17088. type: integer
  17089. provinceid:
  17090. description: 省
  17091. type: integer
  17092. provincename:
  17093. description: 省名称
  17094. type: string
  17095. qty:
  17096. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  17097. type: number
  17098. qtydecimalplace:
  17099. description: 商品数量小数位
  17100. type: integer
  17101. recivername:
  17102. description: 提货人姓名
  17103. type: string
  17104. reqtime:
  17105. description: 提货申请时间
  17106. type: string
  17107. storeuserid:
  17108. description: 门店用户ID (千海金)
  17109. type: integer
  17110. storeusername:
  17111. description: 门店用户名称
  17112. type: string
  17113. takemode:
  17114. description: 提货方式 - 2:自提 3:配送(邮寄)
  17115. type: integer
  17116. takeorderid:
  17117. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17118. type: string
  17119. takeorderstatus:
  17120. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  17121. 7:已拒绝 8:已撤销
  17122. type: integer
  17123. takeremark:
  17124. description: 提货备注
  17125. type: string
  17126. tradedate:
  17127. description: 交易日(yyyyMMdd)
  17128. type: string
  17129. updatetime:
  17130. description: 更新时间
  17131. type: string
  17132. userid:
  17133. description: 用户ID
  17134. type: integer
  17135. userinfotype:
  17136. description: 客户类型 1-个人 2-企业
  17137. type: integer
  17138. username:
  17139. description: 用户名称
  17140. type: string
  17141. type: object
  17142. models.QhjUserNodeCfgAndStatus:
  17143. properties:
  17144. agreementcontent:
  17145. description: 协议内容
  17146. type: string
  17147. agreementid:
  17148. description: 协议ID
  17149. type: integer
  17150. agreementname:
  17151. description: 协议名称
  17152. type: string
  17153. agreementno:
  17154. description: 协议编号
  17155. type: string
  17156. agreementtype:
  17157. description: 协议类型 - 1:注册 2:登录 3:交易
  17158. type: integer
  17159. agreementversion:
  17160. description: 协议版本号
  17161. type: integer
  17162. configid:
  17163. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17164. type: integer
  17165. createtime:
  17166. description: 创建时间
  17167. type: string
  17168. goodsid:
  17169. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17170. type: integer
  17171. nodetype:
  17172. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17173. type: integer
  17174. signtimestamp:
  17175. description: 签约状态时间戳(最近一次)
  17176. type: string
  17177. tradedate:
  17178. description: 签约交易日(yyyyMMdd)
  17179. type: string
  17180. userid:
  17181. description: 客户ID
  17182. type: integer
  17183. type: object
  17184. models.Qhjgoodsex:
  17185. properties:
  17186. canfinance:
  17187. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17188. type: integer
  17189. canregularlybuy:
  17190. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17191. type: integer
  17192. defaulttradeuserid:
  17193. description: 默认交易用户ID
  17194. type: integer
  17195. deliverygoodsid:
  17196. description: 现货品种ID
  17197. type: integer
  17198. goodsid:
  17199. description: 商品ID(自增ID SEQ_GOODS)
  17200. type: integer
  17201. minamount:
  17202. description: 最小购买金额
  17203. type: number
  17204. regularlybuyminamount:
  17205. description: 定投最小金额
  17206. type: number
  17207. regularlybuyminqty:
  17208. description: 定投最小数量
  17209. type: number
  17210. spotgoodsbrandid:
  17211. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17212. type: integer
  17213. visibilityforenterprise:
  17214. description: 企业客户是否可见 - 0:不可见 1:可见
  17215. type: integer
  17216. visibilityforpersonal:
  17217. description: 个人客户是否可见 - 0:不可见 1:可见
  17218. type: integer
  17219. wrstandardid:
  17220. description: 现货商品ID
  17221. type: integer
  17222. type: object
  17223. models.QueryErrorInfosRsp:
  17224. properties:
  17225. description:
  17226. description: 异常描述
  17227. type: string
  17228. errorcode:
  17229. description: 异常代码
  17230. type: string
  17231. errorid:
  17232. description: 异常ID
  17233. type: integer
  17234. modulecode:
  17235. description: 所属模块
  17236. type: string
  17237. operatecode:
  17238. description: 所属操作
  17239. type: string
  17240. rownumber:
  17241. description: 行号
  17242. type: string
  17243. required:
  17244. - errorid
  17245. type: object
  17246. models.QueryHedgeOrderDetailRsp:
  17247. properties:
  17248. accountid:
  17249. description: 账户ID
  17250. type: integer
  17251. buyorsell:
  17252. description: 买卖 - 0:买 1:卖
  17253. type: integer
  17254. cancellogincode:
  17255. description: 撤单人
  17256. type: string
  17257. channelbuildtype:
  17258. description: 开平标志 - 0:无 1:建仓 2:平仓
  17259. type: integer
  17260. channelinnerorderstatus:
  17261. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17262. 9:全部成交
  17263. type: integer
  17264. channeloperatetype:
  17265. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17266. type: integer
  17267. closetype:
  17268. description: 平仓方式 - 0:无 1:平今 2:平昨
  17269. type: integer
  17270. curexchangerate:
  17271. description: 当前汇率
  17272. type: number
  17273. decimalplace:
  17274. description: 商品报价小数位
  17275. type: integer
  17276. exchangefullname:
  17277. description: 外部交易所全称
  17278. type: string
  17279. goodscode:
  17280. description: 商品代码(内部)
  17281. type: string
  17282. goodsid:
  17283. description: 商品ID
  17284. type: integer
  17285. goodsname:
  17286. description: 商品名称
  17287. type: string
  17288. marketid:
  17289. description: 市场ID
  17290. type: integer
  17291. openfreezemargin:
  17292. description: 冻结保证金(冻结交易金额)
  17293. type: number
  17294. orderid:
  17295. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17296. type: string
  17297. orderlogincode:
  17298. description: 委托人
  17299. type: string
  17300. orderprice:
  17301. description: 委托价格(账户)
  17302. type: number
  17303. orderqty:
  17304. description: 委托数量
  17305. type: integer
  17306. ordertime:
  17307. description: 委托时间
  17308. type: string
  17309. pricemode:
  17310. description: '取价方式 - 1:市价 2: 限价'
  17311. type: integer
  17312. tradedate:
  17313. description: 交易日(yyyyMMdd)
  17314. type: string
  17315. tradeqty:
  17316. description: 成交数量
  17317. type: integer
  17318. type: object
  17319. models.QueryHedgeTradeDetailRsp:
  17320. properties:
  17321. accountid:
  17322. description: 账号ID
  17323. type: integer
  17324. buyorsell:
  17325. description: 方向 - 0:买 1:卖
  17326. type: integer
  17327. channelbuildtype:
  17328. description: 委托单据类型 0:无 1:建仓 2:平仓
  17329. type: integer
  17330. closecharge:
  17331. description: 平仓手续费(账户)
  17332. type: number
  17333. closecharge2:
  17334. description: 平仓手续费(商品)
  17335. type: number
  17336. closepl:
  17337. description: 平仓盈亏(账户)
  17338. type: number
  17339. closepl2:
  17340. description: 平仓盈亏(商品)
  17341. type: number
  17342. closepl3:
  17343. description: 平仓盈亏(账户)(逐笔)
  17344. type: number
  17345. closepl4:
  17346. description: 平仓盈亏(商品)(逐笔)
  17347. type: number
  17348. closetype:
  17349. description: 平仓方式 - 0:无 1:平今 2:平昨
  17350. type: integer
  17351. curexchangerate:
  17352. description: 当前汇率
  17353. type: number
  17354. decimalplace:
  17355. description: 商品报价小数位
  17356. type: integer
  17357. exchangefullname:
  17358. description: 外部交易所全称
  17359. type: string
  17360. goodscode:
  17361. description: 商品代码(内部)
  17362. type: string
  17363. goodsid:
  17364. description: 商品ID
  17365. type: integer
  17366. goodsname:
  17367. description: 商品名称
  17368. type: string
  17369. marketid:
  17370. description: 市场ID
  17371. type: integer
  17372. opencharge:
  17373. description: 建仓手续费(账户)
  17374. type: number
  17375. opencharge2:
  17376. description: 建仓手续费(商品)
  17377. type: number
  17378. orderid:
  17379. description: 委托单号
  17380. type: string
  17381. orderlogincode:
  17382. description: 委托人
  17383. type: string
  17384. tradeamount:
  17385. description: 成交金额(账户)
  17386. type: number
  17387. tradedate:
  17388. description: 交易日(yyyyMMdd)
  17389. type: string
  17390. tradeid:
  17391. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17392. type: string
  17393. tradeprice:
  17394. description: 成交价格
  17395. type: number
  17396. tradeqty:
  17397. description: 成交数量
  17398. type: integer
  17399. tradetime:
  17400. description: 成交时间
  17401. type: string
  17402. tradetype:
  17403. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17404. type: integer
  17405. type: object
  17406. models.QuotePrimaryMenu:
  17407. properties:
  17408. Index:
  17409. description: 序号
  17410. type: integer
  17411. Key:
  17412. description: 键名
  17413. type: string
  17414. Name:
  17415. description: 菜单名称
  17416. type: string
  17417. SubMenus:
  17418. description: 子菜单
  17419. items:
  17420. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17421. type: array
  17422. SubTitleType:
  17423. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17424. type: integer
  17425. TradeModes:
  17426. description: 包含市场交易类型
  17427. type: string
  17428. type: object
  17429. models.QuoteSecondaryMenu:
  17430. properties:
  17431. ExExchangeCode:
  17432. description: 外部交易所代码
  17433. type: string
  17434. ExExchangeID:
  17435. description: 外部交易所ID
  17436. type: integer
  17437. GoodsGroupIDs:
  17438. description: 商品组ID列表
  17439. items:
  17440. type: integer
  17441. type: array
  17442. Index:
  17443. description: 序号
  17444. type: integer
  17445. MarketID:
  17446. description: 市场ID
  17447. type: integer
  17448. MenuTitle:
  17449. description: 菜单标题(市场名称或外部交易所名称)
  17450. type: string
  17451. TradeMode:
  17452. description: 交易模式
  17453. type: integer
  17454. type: object
  17455. models.Reckondaytaaccount:
  17456. properties:
  17457. accountid:
  17458. description: 资金账户ID
  17459. type: integer
  17460. accountname:
  17461. description: 账户名称
  17462. type: string
  17463. accountpl:
  17464. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17465. type: number
  17466. avaiablemoney:
  17467. description: 可用资金
  17468. type: number
  17469. avaiableoutmoney:
  17470. description: 可出资金
  17471. type: number
  17472. balance:
  17473. description: 期初余额
  17474. type: number
  17475. capitalbalance:
  17476. description: 本金余额[外部子账户实际出入金余额]
  17477. type: number
  17478. changeflag:
  17479. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17480. type: integer
  17481. clearbalance:
  17482. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17483. type: number
  17484. clearpl:
  17485. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17486. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17487. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17488. type: number
  17489. closepl:
  17490. description: 今日平仓盈亏
  17491. type: number
  17492. closepl2:
  17493. description: 平仓盈亏(逐笔)
  17494. type: number
  17495. creditdecrease:
  17496. description: 今日授信减少
  17497. type: number
  17498. creditincrease:
  17499. description: 今日授信增加
  17500. type: number
  17501. curdebt:
  17502. description: 期末欠款
  17503. type: number
  17504. currencyid:
  17505. description: 货币ID
  17506. type: integer
  17507. currentbalance:
  17508. description: 期末余额
  17509. type: number
  17510. cycletype:
  17511. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17512. type: integer
  17513. defercharge:
  17514. description: 今日递延费2支出[111, 112]
  17515. type: number
  17516. deliveryamountin:
  17517. description: 今日交收货款收入
  17518. type: number
  17519. deliveryamountout:
  17520. description: 今日交收货款支出
  17521. type: number
  17522. deliverycharge:
  17523. description: 今日交收手续费支出 [105,106]
  17524. type: number
  17525. deliverycompensationfeein:
  17526. description: 今日交收补偿费收入
  17527. type: number
  17528. deliverycompensationfeeout:
  17529. description: 今日交收补偿费支出
  17530. type: number
  17531. dividedcharge:
  17532. description: 今日已收手续费分成
  17533. type: number
  17534. floatnetvalue:
  17535. description: 浮动净值 = 净值 + 浮动盈亏
  17536. type: number
  17537. floatpl:
  17538. description: 浮动盈亏 - 每日有负债类商品
  17539. type: number
  17540. freezecharge:
  17541. description: 手续费冻结
  17542. type: number
  17543. freezemargin:
  17544. description: 冻结保证金
  17545. type: number
  17546. fromaccountid:
  17547. description: 所属上级账户
  17548. type: integer
  17549. holdcharge:
  17550. description: 今日持仓过夜费支出[108,109,110]
  17551. type: number
  17552. inamount:
  17553. description: 今日入金金额
  17554. type: number
  17555. interestcharge:
  17556. description: 今日递延费支出[103, 104]
  17557. type: number
  17558. ismain:
  17559. description: 是否账号 0:不是母账户 1:是母账户
  17560. type: integer
  17561. ismarketaccount:
  17562. description: 是否机构接单账号 0:不是 1:是
  17563. type: integer
  17564. isreckonaccount:
  17565. description: 是否机构分润账号 0:不是 1:是
  17566. type: integer
  17567. mortgagecredit:
  17568. description: 授信金额
  17569. type: number
  17570. netvalue:
  17571. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17572. type: number
  17573. oridebt:
  17574. description: 期初欠款
  17575. type: number
  17576. orifreezecharge:
  17577. description: 期初手续费冻结
  17578. type: number
  17579. orifreezemargin:
  17580. description: 期初冻结保证金
  17581. type: number
  17582. orimortgagecredit:
  17583. description: 期初授信金额
  17584. type: number
  17585. oriothercredit:
  17586. description: 期初其它授信金额
  17587. type: number
  17588. oriotherfreezemargin:
  17589. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17590. type: number
  17591. orioutamountfreeze:
  17592. description: 期初出金冻结
  17593. type: number
  17594. oriusedmargin:
  17595. description: 期初占用保证金
  17596. type: number
  17597. othercredit:
  17598. description: 其它授信金额
  17599. type: number
  17600. othercreditdecrease:
  17601. description: 今日其它授信减少
  17602. type: number
  17603. othercreditincrease:
  17604. description: 今日其它授信增加
  17605. type: number
  17606. otherfreezemargin:
  17607. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17608. type: number
  17609. otherincome:
  17610. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17611. type: number
  17612. otherpay:
  17613. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17614. type: number
  17615. outamount:
  17616. description: 今日出金金额
  17617. type: number
  17618. outamountfreeze:
  17619. description: 出金冻结
  17620. type: number
  17621. outthreshold:
  17622. description: 出金阈值
  17623. type: number
  17624. ownershipvalue:
  17625. description: 所有权市值
  17626. type: number
  17627. parentaccountid:
  17628. description: 所属根账户
  17629. type: integer
  17630. password:
  17631. description: 资金密码
  17632. type: string
  17633. paycharge:
  17634. description: 今日手续费支出
  17635. type: number
  17636. paycharge2:
  17637. description: 今日手续费支出(外部配置)
  17638. type: number
  17639. payexchcharge:
  17640. description: 今日应付交易所手续费
  17641. type: number
  17642. reckondate:
  17643. description: 日照日期(yyyyMMdd)
  17644. type: string
  17645. reckonpl:
  17646. description: 今日结算盈亏
  17647. type: number
  17648. reckonpl2:
  17649. description: 结算盈亏(逐笔) - 汇总取期末
  17650. type: number
  17651. relatedaccountstatus:
  17652. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17653. type: integer
  17654. relateuserid:
  17655. description: 关联用户
  17656. type: integer
  17657. riskrate:
  17658. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17659. type: number
  17660. signstatus:
  17661. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17662. type: integer
  17663. spotvalue:
  17664. description: 现货市值-统计服务更新
  17665. type: number
  17666. sublevelpath:
  17667. description: 账号层级路径(逗号分隔,首尾加逗号)
  17668. type: string
  17669. taaccounttype:
  17670. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17671. type: integer
  17672. thirdinamount:
  17673. description: 今日三方入金
  17674. type: number
  17675. thirdoutamount:
  17676. description: 今日三方出金
  17677. type: number
  17678. tradeamount:
  17679. description: 今日成交金额
  17680. type: number
  17681. tradecharge:
  17682. description: 今日交易手续费支出 [101,102]
  17683. type: number
  17684. tradeqty:
  17685. description: 今日成交量
  17686. type: integer
  17687. tradestatus:
  17688. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17689. type: integer
  17690. transferamount:
  17691. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17692. type: number
  17693. usedmargin:
  17694. description: 占用保证金
  17695. type: number
  17696. userid:
  17697. description: 用户ID
  17698. type: integer
  17699. required:
  17700. - userid
  17701. type: object
  17702. models.Reckongzmemtradesum:
  17703. properties:
  17704. buylistingamount:
  17705. description: 买挂牌金额 - 无数据,预留
  17706. type: number
  17707. buylistinglot:
  17708. description: 买挂牌宗数
  17709. type: integer
  17710. buylistingqty:
  17711. description: 买挂牌数量 - 无数据,预留
  17712. type: number
  17713. buytradeamount:
  17714. description: 购买金额
  17715. type: number
  17716. buytradelot:
  17717. description: 购买宗数
  17718. type: integer
  17719. buytradeqty:
  17720. description: 购买数量
  17721. type: number
  17722. marketid:
  17723. description: 市场ID
  17724. type: integer
  17725. reckondate:
  17726. description: 日照日期(yyyyMMdd)
  17727. type: string
  17728. selllistingamount:
  17729. description: 卖挂牌金额
  17730. type: number
  17731. selllistinglot:
  17732. description: 卖挂牌宗数
  17733. type: integer
  17734. selllistingqty:
  17735. description: 卖挂牌数量
  17736. type: number
  17737. selltradeamount:
  17738. description: 销售金额
  17739. type: number
  17740. selltradelot:
  17741. description: 销售宗数
  17742. type: integer
  17743. selltradeqty:
  17744. description: 销售数量
  17745. type: number
  17746. updatetime:
  17747. description: 更新时间
  17748. type: string
  17749. userid:
  17750. description: 用户ID
  17751. type: integer
  17752. zscategory:
  17753. description: 钻石分类 - 枚举”ZSCategory“
  17754. type: integer
  17755. zscategorydisplay:
  17756. type: string
  17757. zscurrencytype:
  17758. description: 货币类型 - 枚举“ZSCurrencyType”
  17759. type: integer
  17760. zscurrencytypedisplay:
  17761. type: string
  17762. zscurrencytypedisplayunit:
  17763. type: string
  17764. required:
  17765. - userid
  17766. type: object
  17767. models.RegisterMoney:
  17768. properties:
  17769. amount:
  17770. description: 红包
  17771. type: number
  17772. type: object
  17773. models.RelatedTaAccount:
  17774. properties:
  17775. accountid:
  17776. description: 资金账户ID
  17777. type: integer
  17778. type: object
  17779. models.RoleMenu:
  17780. properties:
  17781. hasright:
  17782. description: 是否有权限 0-没有权限 1-有权限
  17783. type: integer
  17784. iconame:
  17785. description: 菜单图标
  17786. type: string
  17787. menutype:
  17788. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17789. type: integer
  17790. parentcode:
  17791. description: 上级资源代码
  17792. type: string
  17793. remark:
  17794. description: 菜单备注
  17795. type: string
  17796. resourcecode:
  17797. description: 菜单代码
  17798. type: string
  17799. resourcelevel:
  17800. description: 级别
  17801. type: integer
  17802. resourcename:
  17803. description: 菜单名称
  17804. type: string
  17805. roleid:
  17806. description: 角色id
  17807. type: integer
  17808. sort:
  17809. description: 排序
  17810. type: integer
  17811. subMenu:
  17812. description: 子级菜单(结构同上层一样, swag解析不出来)
  17813. items:
  17814. $ref: '#/definitions/models.RoleMenu'
  17815. type: array
  17816. url:
  17817. description: URL
  17818. type: string
  17819. userid:
  17820. description: 用户id
  17821. type: integer
  17822. type: object
  17823. models.SearchGoods:
  17824. properties:
  17825. goodscode:
  17826. description: 商品代码(内部)
  17827. type: string
  17828. goodsid:
  17829. description: 商品ID(自增ID SEQ_GOODS)
  17830. type: integer
  17831. goodsname:
  17832. description: 商品名称
  17833. type: string
  17834. marketid:
  17835. description: 所属市场ID
  17836. type: integer
  17837. marketname:
  17838. description: 市场名称
  17839. type: string
  17840. trademode:
  17841. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17842. 21:竞拍-大宗式 22:受托竞价
  17843. type: integer
  17844. required:
  17845. - goodscode
  17846. - goodsid
  17847. - goodsname
  17848. - marketid
  17849. - trademode
  17850. type: object
  17851. models.SellOrder:
  17852. properties:
  17853. accountid:
  17854. description: 资金账号
  17855. type: integer
  17856. applyid:
  17857. description: 申请单ID
  17858. type: integer
  17859. attachment1:
  17860. description: 附件1
  17861. type: string
  17862. attachment2:
  17863. description: 附件2
  17864. type: string
  17865. buyorsell:
  17866. description: 买卖 - 0:买 1:卖
  17867. type: integer
  17868. canbargain:
  17869. description: 是否可议价 - 0:不可 1:可
  17870. type: integer
  17871. cancelqty:
  17872. description: 撤销数量
  17873. type: integer
  17874. canceltime:
  17875. description: 撤销时间
  17876. type: string
  17877. cerno:
  17878. type: string
  17879. chargealgorithm:
  17880. description: 手续费收取方式 1:比率 2:固定
  17881. type: integer
  17882. chargealgorithmvalue:
  17883. description: 手续费设置值(交易所部分)
  17884. type: number
  17885. chargealgorithmvalue2:
  17886. description: 手续费设置值(会员部分)
  17887. type: number
  17888. clientordertime:
  17889. description: 客户端委托时间
  17890. type: string
  17891. cpcertno:
  17892. type: string
  17893. exchangerate:
  17894. description: 汇率[67]
  17895. type: number
  17896. firstratio:
  17897. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17898. type: number
  17899. fixedprice:
  17900. description: '[克拉单价]固定价格 - [挂牌]'
  17901. type: number
  17902. freezecharge:
  17903. description: 冻结手续费
  17904. type: number
  17905. freezefirstamount:
  17906. description: 冻结首付金额 - [摘牌]
  17907. type: number
  17908. freezemargin:
  17909. description: 冻结保证金
  17910. type: number
  17911. goodsno:
  17912. description: 商品编号
  17913. type: string
  17914. imagepath:
  17915. type: string
  17916. isQueryDiamond:
  17917. description: 是否钻石查询
  17918. type: boolean
  17919. isspecified:
  17920. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17921. type: integer
  17922. kppath:
  17923. type: string
  17924. kpweight:
  17925. type: string
  17926. marginalgorithm:
  17927. description: 保证金方式 - 1:比率 2:固定
  17928. type: integer
  17929. marginvalue:
  17930. description: 保证金设置值
  17931. type: number
  17932. marketid:
  17933. description: 市场ID
  17934. type: integer
  17935. marketprice:
  17936. type: string
  17937. orderamount:
  17938. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17939. type: number
  17940. ordertime:
  17941. description: 委托时间
  17942. type: string
  17943. performancetemplateid:
  17944. description: 履约计划模板ID
  17945. type: integer
  17946. price:
  17947. description: 价格
  17948. type: number
  17949. pricefactor:
  17950. description: 价格系数(浮动价时填写) - [挂牌]
  17951. type: number
  17952. pricemove:
  17953. description: 升贴水(浮动价时填写) - [挂牌]
  17954. type: number
  17955. priceper:
  17956. type: string
  17957. relatedwrtradeorderid:
  17958. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17959. type: integer
  17960. remainqty:
  17961. description: 剩余重量
  17962. type: number
  17963. remark:
  17964. type: string
  17965. retcode:
  17966. description: 错误代码
  17967. type: integer
  17968. sellusername:
  17969. description: 卖方(查询字段-模糊查询)
  17970. type: string
  17971. settingmaterial:
  17972. description: 镶嵌材料
  17973. type: string
  17974. size1:
  17975. type: string
  17976. size2:
  17977. type: string
  17978. size3:
  17979. type: string
  17980. sizedisplay:
  17981. description: 尺寸
  17982. type: string
  17983. stonedesc:
  17984. description: 配石描述
  17985. type: string
  17986. totalqty:
  17987. description: 总重量
  17988. type: number
  17989. tradedate:
  17990. description: 交易日(yyyyMMdd)
  17991. type: string
  17992. tradeprice:
  17993. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17994. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17995. type: number
  17996. unfreezecharge:
  17997. description: 解冻手续费
  17998. type: number
  17999. unfreezefirstamount:
  18000. description: 解冻首付金额 - [摘牌]
  18001. type: number
  18002. unfreezemargin:
  18003. description: 解冻保证金
  18004. type: number
  18005. userid:
  18006. description: 用户ID
  18007. type: integer
  18008. uuid:
  18009. description: 发起端唯一id
  18010. type: string
  18011. validtime:
  18012. description: 有效期限
  18013. type: string
  18014. validtype:
  18015. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18016. type: integer
  18017. warehousenamedisplay:
  18018. type: string
  18019. wrbargainid:
  18020. description: 议价申请单ID
  18021. type: integer
  18022. wrfactortypeid:
  18023. description: 仓单要素类型ID/商品ID(77)
  18024. type: integer
  18025. wrpath:
  18026. type: string
  18027. wrpricetype:
  18028. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18029. type: integer
  18030. wrstandardid:
  18031. description: 现货商品ID
  18032. type: integer
  18033. wrtradeorderid:
  18034. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18035. type: string
  18036. wrtradeorderstatus:
  18037. 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:撤单解冻贷款失败
  18038. type: integer
  18039. wrtradetype:
  18040. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18041. type: integer
  18042. wrtransferuserid:
  18043. description: 仓单受让用户 - [摘牌]
  18044. type: integer
  18045. zscategory:
  18046. description: 钻石分类 - 枚举”ZSCategory“
  18047. type: integer
  18048. zscategorydisplay:
  18049. description: 钻石分类 - 描述
  18050. type: string
  18051. zscerttypedisplay:
  18052. type: string
  18053. zsclaritytype1display:
  18054. type: string
  18055. zsclaritytype2display:
  18056. type: string
  18057. zscolortype1display:
  18058. type: string
  18059. zscolortype2display:
  18060. type: string
  18061. zscrystaltype:
  18062. type: string
  18063. zscrystaltypedisplay:
  18064. type: string
  18065. zscurrencytype:
  18066. description: 货币类型 - 枚举“ZSCurrencyType”
  18067. type: integer
  18068. zscurrencytypedisplay:
  18069. type: string
  18070. zscurrencytypedisplayunit:
  18071. type: string
  18072. zscuttype1display:
  18073. type: string
  18074. zscuttype2display:
  18075. type: string
  18076. zsczcolor1typedisplay:
  18077. type: string
  18078. zsczcolor2typedisplay:
  18079. type: string
  18080. zsczcolor3typedisplay:
  18081. type: string
  18082. zsfluorescencetype1display:
  18083. type: string
  18084. zsfluorescencetype2display:
  18085. type: string
  18086. zspolishtype1display:
  18087. type: string
  18088. zspolishtype2display:
  18089. type: string
  18090. zsshapetypedisplay:
  18091. type: string
  18092. zsstyletypedisplay:
  18093. type: string
  18094. zssymmetrytype1display:
  18095. type: string
  18096. zssymmetrytype2display:
  18097. type: string
  18098. type: object
  18099. models.SellOrderQueryReq:
  18100. properties:
  18101. origin:
  18102. description: 原产地
  18103. type: string
  18104. page:
  18105. description: 页码
  18106. type: integer
  18107. pagesize:
  18108. description: 每页大小
  18109. type: integer
  18110. total:
  18111. description: 总条数
  18112. type: integer
  18113. warehouseid:
  18114. description: 仓库ID
  18115. type: integer
  18116. weight1:
  18117. description: 总重量(克拉重量)-从
  18118. type: number
  18119. weight2:
  18120. description: 总重量(克拉重量)-至
  18121. type: number
  18122. weightavg1:
  18123. description: 平均单颗重量-从
  18124. type: number
  18125. weightavg2:
  18126. description: 平均单颗重量-至
  18127. type: number
  18128. zscategory:
  18129. description: 钻石分类 - 枚举”ZSCategory“
  18130. type: integer
  18131. zscerttype:
  18132. description: 证书类型
  18133. items:
  18134. type: string
  18135. type: array
  18136. zsclaritytype:
  18137. description: 净度
  18138. items:
  18139. type: integer
  18140. type: array
  18141. zscolortype:
  18142. description: 颜色
  18143. items:
  18144. type: integer
  18145. type: array
  18146. zscurrencytype:
  18147. description: 货币类型 - 枚举“ZSCurrencyType”
  18148. items:
  18149. type: string
  18150. type: array
  18151. zscuttype:
  18152. description: 切工
  18153. items:
  18154. type: integer
  18155. type: array
  18156. zsczcolor1type:
  18157. description: 彩钻颜色1
  18158. items:
  18159. type: string
  18160. type: array
  18161. zsfluorescencetype:
  18162. description: 荧光
  18163. items:
  18164. type: integer
  18165. type: array
  18166. zspolishtype:
  18167. description: 抛光度
  18168. items:
  18169. type: integer
  18170. type: array
  18171. zsshapetype:
  18172. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18173. items:
  18174. type: string
  18175. type: array
  18176. zsstyletype:
  18177. description: 款式
  18178. items:
  18179. type: string
  18180. type: array
  18181. zssymmetrytype:
  18182. description: 对称度
  18183. items:
  18184. type: integer
  18185. type: array
  18186. required:
  18187. - zscategory
  18188. type: object
  18189. models.Sitecolumnconfig:
  18190. properties:
  18191. columnname:
  18192. description: 栏目名称
  18193. type: string
  18194. columntype:
  18195. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18196. type: integer
  18197. creaedate:
  18198. description: 创建时间
  18199. type: string
  18200. creatorid:
  18201. description: 创建人
  18202. type: integer
  18203. id:
  18204. description: ID(SEQ_SITE_COLUMNCONFIG)
  18205. type: integer
  18206. isshow:
  18207. description: 是否展示 - 0:不展示 1:展示
  18208. type: integer
  18209. modifierid:
  18210. description: 操作人
  18211. type: integer
  18212. sort:
  18213. description: 排序
  18214. type: integer
  18215. updatedate:
  18216. description: 修改时间
  18217. type: string
  18218. type: object
  18219. models.Spotgoodsprice:
  18220. properties:
  18221. prespotgoodsprice:
  18222. description: 上日价格
  18223. type: number
  18224. spotgoodsprice:
  18225. description: 当前价格
  18226. type: number
  18227. tradedate:
  18228. description: 交易日(yyyyMMdd)
  18229. type: string
  18230. wrstandardcode:
  18231. description: 现货商品代码
  18232. type: string
  18233. wrstandardid:
  18234. description: 现货商品ID(通用则为0)
  18235. type: integer
  18236. wrstandardname:
  18237. description: 现货商品名称
  18238. type: string
  18239. type: object
  18240. models.Systemparam:
  18241. properties:
  18242. loginid:
  18243. description: 更新用户账号,登录账号
  18244. type: string
  18245. modifyflag:
  18246. description: 修改标志0 不允许修改 1 允许修改
  18247. type: integer
  18248. paramcode:
  18249. description: 参数代码
  18250. type: string
  18251. paramname:
  18252. description: 参数名
  18253. type: string
  18254. paramtype:
  18255. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  18256. type: integer
  18257. paramvalue:
  18258. description: 参数值
  18259. type: string
  18260. paramvalue2:
  18261. description: 参数值(CLOB)
  18262. type: string
  18263. regexpress:
  18264. description: 正则表达式
  18265. type: string
  18266. remark:
  18267. description: 备注
  18268. type: string
  18269. serverip:
  18270. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  18271. type: string
  18272. showflag:
  18273. description: 是否显示0 不显示 1 显示
  18274. type: integer
  18275. updatetime:
  18276. description: 更新时间
  18277. type: string
  18278. userid:
  18279. description: 更新用户ID
  18280. type: integer
  18281. required:
  18282. - paramcode
  18283. type: object
  18284. models.Szdz3convertconfig:
  18285. properties:
  18286. canin:
  18287. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  18288. type: integer
  18289. canout:
  18290. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  18291. type: integer
  18292. converttype:
  18293. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18294. 6:交易转花生米(不设置)
  18295. type: integer
  18296. createtime:
  18297. description: 创建时间
  18298. type: string
  18299. creatorid:
  18300. description: 创建人
  18301. type: integer
  18302. daymaxvalue:
  18303. description: 当日最大转入限制
  18304. type: number
  18305. freezedays:
  18306. description: 冻结天数 [5:花生米转交易]
  18307. type: integer
  18308. innergoodsid:
  18309. description: 内部商品ID[交易]
  18310. type: integer
  18311. inratio:
  18312. description: 目标值
  18313. type: integer
  18314. modifierid:
  18315. description: 修改人
  18316. type: integer
  18317. modifytime:
  18318. description: 修改时间
  18319. type: string
  18320. outergoodscode:
  18321. description: 外部商品代码[JD\PD]
  18322. type: string
  18323. outratio:
  18324. description: 源值
  18325. type: integer
  18326. pddecimalplace:
  18327. description: PD小数位
  18328. type: integer
  18329. timemaxvalue:
  18330. description: 单次最大转入限制
  18331. type: number
  18332. timeminvalue:
  18333. description: 单次最小转入限制
  18334. type: number
  18335. required:
  18336. - converttype
  18337. - innergoodsid
  18338. - outergoodscode
  18339. type: object
  18340. models.Szdz3searchwhitelist:
  18341. properties:
  18342. createtime:
  18343. description: 创建时间
  18344. type: string
  18345. creatorid:
  18346. description: 创建人
  18347. type: integer
  18348. modifierid:
  18349. description: 修改人
  18350. type: integer
  18351. modifytime:
  18352. description: 修改时间
  18353. type: string
  18354. userid:
  18355. description: 用户ID
  18356. type: integer
  18357. required:
  18358. - userid
  18359. type: object
  18360. models.TBGoods:
  18361. properties:
  18362. agreeunit:
  18363. description: 合约乘数
  18364. type: number
  18365. enumdicname:
  18366. description: 单位名称
  18367. type: string
  18368. goodscode:
  18369. description: 商品代码(内部)
  18370. type: string
  18371. goodsid:
  18372. description: 商品ID(自增ID SEQ_GOODS)
  18373. type: integer
  18374. goodsname:
  18375. description: 商品名称
  18376. type: string
  18377. type: object
  18378. models.TBGoodsGroup:
  18379. properties:
  18380. GDLST:
  18381. description: 商品列表
  18382. items:
  18383. $ref: '#/definitions/models.TBGoods'
  18384. type: array
  18385. convertratio:
  18386. description: 折算系数
  18387. type: number
  18388. enumdicname:
  18389. description: 单位名称
  18390. type: string
  18391. exexchangecode:
  18392. description: 交易所代码
  18393. type: string
  18394. exexchangename:
  18395. description: 交易所名称
  18396. type: string
  18397. goodsgroupid:
  18398. description: 商品组ID(自增ID)
  18399. type: integer
  18400. goodsgroupname:
  18401. description: 商品组名称
  18402. type: string
  18403. goodunitid:
  18404. description: 报价单位ID
  18405. type: integer
  18406. type: object
  18407. models.TBMiddleGoods:
  18408. properties:
  18409. GPLST:
  18410. description: 期货品种列表
  18411. items:
  18412. $ref: '#/definitions/models.TBGoodsGroup'
  18413. type: array
  18414. WDLST:
  18415. description: 商品信息列表(现货品类)
  18416. items:
  18417. $ref: '#/definitions/models.TBWrstandard'
  18418. type: array
  18419. areauserid:
  18420. description: 机构用户ID
  18421. type: integer
  18422. enumdicname:
  18423. description: 单位名称
  18424. type: string
  18425. goodsunitid:
  18426. description: 套保品种单位id
  18427. type: integer
  18428. middlegoodscode:
  18429. description: 套保品种代码
  18430. type: string
  18431. middlegoodsid:
  18432. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18433. type: integer
  18434. middlegoodsname:
  18435. description: 套保品种名称
  18436. type: string
  18437. needarbitrageratio:
  18438. description: 套利比率
  18439. type: number
  18440. needhedgeratio:
  18441. description: 套保比率
  18442. type: number
  18443. type: object
  18444. models.TBWrstandard:
  18445. properties:
  18446. convertratio:
  18447. description: 折算系数
  18448. type: number
  18449. deliverygoodsname:
  18450. description: 品种名称
  18451. type: string
  18452. enumdicname:
  18453. description: 单位名称
  18454. type: string
  18455. vatrate:
  18456. description: 增值税率
  18457. type: number
  18458. wrstandardcode:
  18459. description: 现货商品代码
  18460. type: string
  18461. wrstandardid:
  18462. description: 现货商品ID(SEQ_WRSTANDARD)
  18463. type: integer
  18464. wrstandardname:
  18465. description: 现货商品名称
  18466. type: string
  18467. type: object
  18468. models.THJDeliveryMode:
  18469. properties:
  18470. enumdicname:
  18471. description: 枚举项名称
  18472. type: string
  18473. enumitemname:
  18474. description: 枚举项值
  18475. type: integer
  18476. type: object
  18477. models.THJDeliveryMonth:
  18478. properties:
  18479. enddate:
  18480. description: 预售结束日期(yyyy-mm-dd)
  18481. type: string
  18482. endmonth:
  18483. description: 预售结束月份(yyyy-mm)
  18484. type: string
  18485. orderqty:
  18486. description: 委托数量
  18487. type: integer
  18488. presaleapplyid:
  18489. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18490. type: string
  18491. remainqty:
  18492. description: 可用数量
  18493. type: integer
  18494. tradeqty:
  18495. description: 成交数量
  18496. type: integer
  18497. unitprice:
  18498. description: '[参考价]商品单价'
  18499. type: number
  18500. type: object
  18501. models.THJGoodsDetailRsp:
  18502. properties:
  18503. goodsinfo:
  18504. allOf:
  18505. - $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18506. description: 商品信息
  18507. spotgoodspricelogs:
  18508. description: 历史价格走势
  18509. items:
  18510. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18511. type: array
  18512. type: object
  18513. models.THJPresaleApplyDeposit:
  18514. properties:
  18515. depositid:
  18516. description: 自增ID autoid
  18517. type: string
  18518. depositrate:
  18519. description: 定金比例
  18520. type: number
  18521. discountamount:
  18522. description: 优惠金额(每吨)
  18523. type: number
  18524. presaleapplyid:
  18525. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18526. type: string
  18527. type: object
  18528. models.THJProduct:
  18529. properties:
  18530. bannerpicurl:
  18531. description: Banner图(逗号分隔)
  18532. type: string
  18533. pictureurls:
  18534. description: 详情图片(逗号分隔)
  18535. type: string
  18536. thumurls:
  18537. description: 缩略图片(1:1)(逗号分隔)
  18538. type: string
  18539. wrstandardcode:
  18540. description: 现货商品代码
  18541. type: string
  18542. wrstandardid:
  18543. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18544. type: string
  18545. wrstandardname:
  18546. description: 现货商品名称
  18547. type: string
  18548. type: object
  18549. models.THJPurchaseTradeDetail_Date:
  18550. properties:
  18551. depositrate:
  18552. description: 定金比例
  18553. type: number
  18554. enddate:
  18555. description: 预售结束日期
  18556. type: string
  18557. endmonth:
  18558. description: 交收月份(yyyy-mm)
  18559. type: string
  18560. takestartdate:
  18561. description: 提货开始日期
  18562. type: string
  18563. tradeprice:
  18564. description: 摘牌价格
  18565. type: number
  18566. tradeqty:
  18567. description: 摘牌数量
  18568. type: integer
  18569. transferamount:
  18570. description: 转让金额
  18571. type: number
  18572. transferid:
  18573. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18574. type: string
  18575. transferprice:
  18576. description: 转让价格
  18577. type: number
  18578. type: object
  18579. models.THJPurchaseTradeDetail_Goodsinfo:
  18580. properties:
  18581. pictureurls:
  18582. description: 详情图片(逗号分隔)
  18583. type: string
  18584. refgoodscode:
  18585. description: 参考商品代码
  18586. type: string
  18587. refgoodsid:
  18588. description: 参考商品ID
  18589. type: integer
  18590. unitid:
  18591. description: 现货商品单位ID
  18592. type: integer
  18593. wrstandardcode:
  18594. description: 现货商品代码
  18595. type: string
  18596. wrstandardid:
  18597. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18598. type: integer
  18599. wrstandardname:
  18600. description: 现货商品名称(模糊查询)
  18601. type: string
  18602. type: object
  18603. models.THJPurchaseTradeDetailRsp:
  18604. properties:
  18605. deliverydate:
  18606. description: 交割日期
  18607. items:
  18608. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18609. type: array
  18610. goodsinfo:
  18611. allOf:
  18612. - $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18613. description: 商品信息
  18614. history:
  18615. description: 历史价格走势(历史数据日线)
  18616. items:
  18617. $ref: '#/definitions/models.HistoryData'
  18618. type: array
  18619. type: object
  18620. models.THJSigninReq:
  18621. properties:
  18622. userid:
  18623. description: 用户ID
  18624. type: integer
  18625. required:
  18626. - userid
  18627. type: object
  18628. models.THJSigninRsp:
  18629. properties:
  18630. signinstatus:
  18631. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18632. type: integer
  18633. type: object
  18634. models.THJSpotGoodsPriceLog:
  18635. properties:
  18636. spotgoodsprice:
  18637. description: 现货价格
  18638. type: number
  18639. tradedate:
  18640. description: 交易日(yyyyMMdd)
  18641. type: string
  18642. type: object
  18643. models.THJTradeData:
  18644. properties:
  18645. accountname:
  18646. description: 被推荐人
  18647. type: string
  18648. buytradelot:
  18649. description: 购买笔数
  18650. type: integer
  18651. buytradeqty:
  18652. description: 购买数量
  18653. type: number
  18654. marketid:
  18655. description: 市场ID 采购-64201 供求-65201
  18656. type: integer
  18657. reckondate:
  18658. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18659. type: string
  18660. selltradelot:
  18661. description: 销售笔数
  18662. type: integer
  18663. selltradeqty:
  18664. description: 销售数量
  18665. type: number
  18666. userid:
  18667. description: 用户ID
  18668. type: integer
  18669. wrstandardname:
  18670. description: 现货商品名称
  18671. type: string
  18672. required:
  18673. - marketid
  18674. - userid
  18675. type: object
  18676. models.THJUserLevelInfo:
  18677. properties:
  18678. appup:
  18679. description: 晋升已累计的数量
  18680. type: integer
  18681. checkday:
  18682. description: 最近一次考核日
  18683. type: string
  18684. levelgroup:
  18685. description: 当前等级
  18686. type: string
  18687. nextlevelgroup:
  18688. description: 下一等级
  18689. type: string
  18690. notyet:
  18691. description: 晋升还差多少数量
  18692. type: integer
  18693. progress:
  18694. description: 进度
  18695. type: number
  18696. type: object
  18697. models.THJWrstandard:
  18698. properties:
  18699. areauserid:
  18700. description: 所属机构
  18701. type: integer
  18702. bannerpicurl:
  18703. description: Banner图(逗号分隔)
  18704. type: string
  18705. convertfactor:
  18706. description: 标仓系数
  18707. type: number
  18708. deliverygoodsid:
  18709. description: 现货品种ID
  18710. type: integer
  18711. isvalid:
  18712. description: 是否有效 - 0:无效 1:有效
  18713. type: integer
  18714. minivalue:
  18715. description: 最小变动值
  18716. type: integer
  18717. minivaluedp:
  18718. description: 最小变动值小数位
  18719. type: integer
  18720. pictureurls:
  18721. description: 详情图片(逗号分隔)
  18722. type: string
  18723. realminivalue:
  18724. description: 实际最小变动值
  18725. type: integer
  18726. realminivaluedp:
  18727. description: 实际最小变动值小数位
  18728. type: integer
  18729. storagefee:
  18730. description: '仓储费(固定: 111)'
  18731. type: number
  18732. thumurls:
  18733. description: 缩略图片(1:1)(逗号分隔)
  18734. type: string
  18735. unitid:
  18736. description: 现货商品单位ID
  18737. type: integer
  18738. vatrate:
  18739. description: 现货增值税率
  18740. type: number
  18741. wrsstatus:
  18742. description: 状态 - 作废 - 0:未激活 1:正常
  18743. type: integer
  18744. wrstandardcode:
  18745. description: 现货商品代码
  18746. type: string
  18747. wrstandardid:
  18748. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18749. type: integer
  18750. wrstandardname:
  18751. description: 现货商品名称(模糊查询)
  18752. type: string
  18753. type: object
  18754. models.THJWrstandardDetail_GoodsInfo:
  18755. properties:
  18756. bannerpicurl:
  18757. description: Banner图(逗号分隔)
  18758. type: string
  18759. pictureurls:
  18760. description: 详情图片(逗号分隔)
  18761. type: string
  18762. spotgoodsprice:
  18763. description: 现货价格
  18764. type: number
  18765. unitid:
  18766. description: 现货商品单位ID
  18767. type: integer
  18768. wrstandardcode:
  18769. description: 现货商品代码
  18770. type: string
  18771. wrstandardid:
  18772. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18773. type: integer
  18774. wrstandardname:
  18775. description: 现货商品名称
  18776. type: string
  18777. type: object
  18778. models.THJWrstandardDetailRsp:
  18779. properties:
  18780. deliverymodes:
  18781. description: 交割方式
  18782. items:
  18783. $ref: '#/definitions/models.THJDeliveryMode'
  18784. type: array
  18785. deliverymonth:
  18786. description: 交割月份
  18787. items:
  18788. $ref: '#/definitions/models.THJDeliveryMonth'
  18789. type: array
  18790. goodsinfo:
  18791. allOf:
  18792. - $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18793. description: 商品信息
  18794. presaleapplydeposits:
  18795. description: 支付方式
  18796. items:
  18797. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18798. type: array
  18799. spotgoodspricelogs:
  18800. description: 历史价格走势
  18801. items:
  18802. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18803. type: array
  18804. type: object
  18805. models.Taaccount:
  18806. properties:
  18807. accountflag:
  18808. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18809. type: integer
  18810. accountid:
  18811. description: 资金账户ID
  18812. type: integer
  18813. accountname:
  18814. description: 账户名称
  18815. type: string
  18816. balance:
  18817. description: 期初余额
  18818. type: number
  18819. capitalbalance:
  18820. description: 本金余额[外部子账户实际出入金余额]
  18821. type: number
  18822. changeflag:
  18823. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18824. type: integer
  18825. changetime:
  18826. description: 账户状态变更时间
  18827. type: string
  18828. closepl:
  18829. description: 今日平仓盈亏
  18830. type: number
  18831. creditdecrease:
  18832. description: 今日授信减少
  18833. type: number
  18834. creditincrease:
  18835. description: 今日授信增加
  18836. type: number
  18837. curamount:
  18838. description: 总市值(从持仓中统计)
  18839. type: number
  18840. currencyid:
  18841. description: 货币ID
  18842. type: integer
  18843. currentbalance:
  18844. description: 期末余额
  18845. type: number
  18846. freezecharge:
  18847. description: 手续费冻结
  18848. type: number
  18849. freezemargin:
  18850. description: 冻结保证金
  18851. type: number
  18852. fromaccountid:
  18853. description: 所属上级账户
  18854. type: integer
  18855. inamount:
  18856. description: 今日入金金额(包括三方入金)
  18857. type: number
  18858. ismain:
  18859. description: 是否母账号 0:不是母账户 1:是母账户
  18860. type: integer
  18861. ismarketaccount:
  18862. description: 是否机构接单账号 0:不是 1:是
  18863. type: integer
  18864. isreckonaccount:
  18865. description: 是否机构分润账号 0:不是 1:是
  18866. type: integer
  18867. mortgagecredit:
  18868. description: 授信金额
  18869. type: number
  18870. orifreezecharge:
  18871. description: 期初手续费冻结
  18872. type: number
  18873. orifreezemargin:
  18874. description: 期初冻结保证金
  18875. type: number
  18876. orimortgagecredit:
  18877. description: 期初授信金额
  18878. type: number
  18879. oriothercredit:
  18880. description: 期初其它授信金额
  18881. type: number
  18882. oriotherfreezemargin:
  18883. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18884. type: number
  18885. orioutamountfreeze:
  18886. description: 期初出金冻结
  18887. type: number
  18888. oriusedmargin:
  18889. description: 期初占用保证金
  18890. type: number
  18891. othercredit:
  18892. description: 其它授信金额
  18893. type: number
  18894. othercreditdecrease:
  18895. description: 今日其它授信减少
  18896. type: number
  18897. othercreditincrease:
  18898. description: 今日其它授信增加
  18899. type: number
  18900. otherfreezemargin:
  18901. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18902. type: number
  18903. otherincome:
  18904. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18905. type: number
  18906. otherpay:
  18907. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18908. type: number
  18909. outamount:
  18910. description: 今日出金金额(包括三方出金)
  18911. type: number
  18912. outamountfreeze:
  18913. description: 出金冻结
  18914. type: number
  18915. outthreshold:
  18916. description: 出金阈值
  18917. type: number
  18918. parentaccountid:
  18919. description: 所属根账号
  18920. type: integer
  18921. paycharge:
  18922. description: 今日手续费支出
  18923. type: number
  18924. relatedaccountstatus:
  18925. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18926. type: integer
  18927. relateduserid:
  18928. description: 关联用户
  18929. type: integer
  18930. remainamount:
  18931. description: 融资额(从融资合同中统计)
  18932. type: number
  18933. serivcegroup:
  18934. description: 服务分组
  18935. type: integer
  18936. signstatus:
  18937. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18938. type: integer
  18939. sublevelpath:
  18940. description: 账号层级路径(逗号分隔,首尾加逗号)
  18941. type: string
  18942. taaccounttype:
  18943. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18944. type: integer
  18945. thirdinamount:
  18946. description: 今日三方入金
  18947. type: number
  18948. thirdoutamount:
  18949. description: 今日三方出金
  18950. type: number
  18951. tradestatus:
  18952. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18953. type: integer
  18954. tradestatuschangetime:
  18955. description: 激活时间
  18956. type: string
  18957. transferamount:
  18958. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18959. type: number
  18960. usedmargin:
  18961. description: 占用保证金
  18962. type: number
  18963. userid:
  18964. description: 用户ID
  18965. type: integer
  18966. required:
  18967. - accountid
  18968. - userid
  18969. type: object
  18970. models.Tablecolumnconfig:
  18971. properties:
  18972. aligntype:
  18973. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18974. type: integer
  18975. autoid:
  18976. description: AutoID
  18977. type: integer
  18978. columnfield:
  18979. description: 列字段
  18980. type: string
  18981. columntitle:
  18982. description: 列Title
  18983. type: string
  18984. columnwidth:
  18985. description: 列宽
  18986. type: string
  18987. fixed:
  18988. description: 固定类型 - 空 | left | right
  18989. type: string
  18990. formatterstring:
  18991. description: 格式化字符
  18992. type: string
  18993. formattertype:
  18994. description: 格式化类型
  18995. type: string
  18996. groupname:
  18997. description: 表头分组名称
  18998. type: string
  18999. ismerge:
  19000. description: 是否合并显示 - 0:不合并 1:合并
  19001. type: integer
  19002. isshow:
  19003. description: 是否显示 - 0:不显示 1:显示
  19004. type: integer
  19005. needsummary:
  19006. description: 是否需要汇总 - 0:不需要 1:需要
  19007. type: integer
  19008. orderindex:
  19009. description: 顺序
  19010. type: integer
  19011. remark:
  19012. description: 备注
  19013. type: string
  19014. summarytype:
  19015. description: 汇总类型 - 1:加总 2:最后一个
  19016. type: integer
  19017. tablekey:
  19018. description: 列表Key
  19019. type: string
  19020. required:
  19021. - autoid
  19022. type: object
  19023. models.Thjpurchasetradedetail:
  19024. properties:
  19025. buyaccountid:
  19026. description: 买方账号ID
  19027. type: integer
  19028. buychargevalue:
  19029. description: 买方到期手续费
  19030. type: number
  19031. buyconfirmremark:
  19032. description: 买方确认备注
  19033. type: string
  19034. buyconfirmtime:
  19035. description: 买方确认时间
  19036. type: string
  19037. buyfreezecharge:
  19038. description: 买方摘牌冻结手续费
  19039. type: number
  19040. buyuserid:
  19041. description: 买方用户ID
  19042. type: integer
  19043. contactinfo:
  19044. description: 联系方式
  19045. type: string
  19046. contactname:
  19047. description: 联系人姓名
  19048. type: string
  19049. contractaddrbuy:
  19050. description: 贸易合同地址(买家)
  19051. type: string
  19052. contractaddrsell:
  19053. description: 贸易合同地址(卖家)
  19054. type: string
  19055. createtime:
  19056. description: 预售挂牌时间
  19057. type: string
  19058. deliverygoodsid:
  19059. description: 现货品种ID
  19060. type: integer
  19061. depositrate:
  19062. description: 定金比例
  19063. type: number
  19064. desaddress:
  19065. description: 目的地地址
  19066. type: string
  19067. discountamount:
  19068. description: 优惠总金额(优惠金额*TradeQty)
  19069. type: number
  19070. enddate:
  19071. description: 到期日期
  19072. type: string
  19073. enddatemonth:
  19074. description: 交收月份(提货日期)
  19075. type: string
  19076. handlestatus:
  19077. description: 处理状态
  19078. type: integer
  19079. lastamount:
  19080. description: 到期总货款 = 到期价格 * 摘牌数量
  19081. type: number
  19082. lastprice:
  19083. description: '[实际价]到期价格'
  19084. type: number
  19085. lastpricedate:
  19086. description: 到期价格日期 - 暂不使用
  19087. type: string
  19088. marketid:
  19089. description: 市场ID
  19090. type: integer
  19091. orderstatus:
  19092. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19093. (枚举:THJOrderStatus)
  19094. type: integer
  19095. payeddeposit:
  19096. description: '[定金]买方已付定金(预付款)'
  19097. type: number
  19098. payedtradedate:
  19099. description: 支付尾款成功交易日
  19100. type: string
  19101. presaleapplyid:
  19102. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19103. type: string
  19104. presalestatus:
  19105. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19106. type: integer
  19107. receiptinfo:
  19108. description: 发票信息
  19109. type: string
  19110. remainamount:
  19111. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19112. type: number
  19113. sellaccountid:
  19114. description: 卖方账号ID
  19115. type: integer
  19116. sellchargevalue:
  19117. description: 卖方到期手续费
  19118. type: number
  19119. sellconfirmattach:
  19120. description: 卖方确认附件
  19121. type: string
  19122. sellconfirmremark:
  19123. description: 卖方确认备注
  19124. type: string
  19125. sellconfirmtime:
  19126. description: 卖方确认时间
  19127. type: string
  19128. sellconfirmtradedate:
  19129. description: 卖方确认交易日
  19130. type: string
  19131. selluserid:
  19132. description: 卖方用户ID
  19133. type: integer
  19134. thjdeliverymode:
  19135. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19136. type: integer
  19137. thjdeliverymodedisplay:
  19138. description: 提货方式
  19139. type: string
  19140. thjorderstatusdisplay:
  19141. description: 状态
  19142. type: string
  19143. tradeamount:
  19144. description: 摘牌总货款
  19145. type: number
  19146. tradedate:
  19147. description: 交易日(yyyyMMdd)
  19148. type: string
  19149. tradeprice:
  19150. description: 摘牌价格 - 参考价
  19151. type: number
  19152. tradeqty:
  19153. description: '[预售价]摘牌数量'
  19154. type: integer
  19155. tradetime:
  19156. description: 摘牌时间(委托时间)
  19157. type: string
  19158. transferprice:
  19159. description: 转让价格 - 购买价
  19160. type: number
  19161. unitid:
  19162. description: 商品单位
  19163. type: integer
  19164. warehouseid:
  19165. description: 仓库ID
  19166. type: integer
  19167. warehousename:
  19168. description: 仓库名称
  19169. type: string
  19170. wrfactortypeid:
  19171. description: 仓单要素类型ID
  19172. type: string
  19173. wrstandardid:
  19174. description: 现货商品ID
  19175. type: integer
  19176. wrstandardname:
  19177. description: 现货商品名称
  19178. type: string
  19179. wrtradedetailid:
  19180. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19181. type: string
  19182. required:
  19183. - buyuserid
  19184. type: object
  19185. models.Thjpurchasetransfer:
  19186. properties:
  19187. buyaccountid:
  19188. description: 买方账号ID
  19189. type: integer
  19190. buyuserid:
  19191. description: 买方用户ID
  19192. type: integer
  19193. contractaddr:
  19194. description: 协议转让合同地址
  19195. type: string
  19196. createtime:
  19197. description: 转让挂牌时间
  19198. type: string
  19199. deliverygoodsid:
  19200. description: 现货品种ID
  19201. type: integer
  19202. enddate:
  19203. description: 到期日期
  19204. type: string
  19205. enddatemonth:
  19206. description: 交收月份(提货日期)
  19207. type: string
  19208. handlestatus:
  19209. description: 处理状态
  19210. type: integer
  19211. marketid:
  19212. description: 市场ID(固定为(64202)
  19213. type: integer
  19214. ordertype:
  19215. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19216. type: integer
  19217. payeddeposit:
  19218. description: 买方已付定金(预付款)
  19219. type: number
  19220. presaleapplyid:
  19221. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19222. type: string
  19223. presalestatus:
  19224. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19225. type: integer
  19226. remark:
  19227. description: 备注
  19228. type: string
  19229. sellaccountid:
  19230. description: 卖方账号ID
  19231. type: integer
  19232. sellcharge:
  19233. description: 卖方手续费值
  19234. type: number
  19235. sellchargealgorithm:
  19236. description: 卖方手续费收取方式 1:比率 2:固定
  19237. type: integer
  19238. sellchargealgorithmvalue:
  19239. description: 手续费设置值(交易所部分)
  19240. type: number
  19241. selluserid:
  19242. description: 卖方用户ID
  19243. type: integer
  19244. tradedate:
  19245. description: 交易日(yyyyMMdd)
  19246. type: string
  19247. tradeprice:
  19248. description: 参考价
  19249. type: number
  19250. transferamount:
  19251. description: 转让金额
  19252. type: number
  19253. transferid:
  19254. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19255. type: string
  19256. transferprice:
  19257. description: 转让价格
  19258. type: number
  19259. transferqty:
  19260. description: 数量
  19261. type: integer
  19262. transferstatus:
  19263. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19264. type: integer
  19265. transfertradedate:
  19266. description: 转让交易日
  19267. type: string
  19268. transfertradetime:
  19269. description: 转让成交时间
  19270. type: string
  19271. unitid:
  19272. description: 现货商品单位ID
  19273. type: integer
  19274. warehouseid:
  19275. description: 仓库ID
  19276. type: integer
  19277. wrfactortypeid:
  19278. description: 仓单要素类型ID
  19279. type: string
  19280. wrstandardid:
  19281. description: 现货商品ID
  19282. type: integer
  19283. wrstandardname:
  19284. description: 现货商品名称
  19285. type: string
  19286. wrtradedetailid:
  19287. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19288. type: string
  19289. required:
  19290. - ordertype
  19291. type: object
  19292. models.ThjpurchasetransferDetail:
  19293. properties:
  19294. buyusername:
  19295. description: 受让人
  19296. type: string
  19297. contactinfo:
  19298. description: 联系方式
  19299. type: string
  19300. contactname:
  19301. description: 联系人姓名
  19302. type: string
  19303. contractaddr:
  19304. description: 协议转让合同地址
  19305. type: string
  19306. contractaddrbuy:
  19307. description: 贸易合同地址(买家)
  19308. type: string
  19309. contractaddrsell:
  19310. description: 贸易合同地址(卖家)
  19311. type: string
  19312. createtime:
  19313. description: 转让委托时间
  19314. type: string
  19315. depositrate:
  19316. description: 定金比例
  19317. type: number
  19318. desaddress:
  19319. description: 目的地地址
  19320. type: string
  19321. enddate:
  19322. description: 到期日期
  19323. type: string
  19324. enddatemonth:
  19325. description: 交收月份(提货日期)
  19326. type: string
  19327. lastprice:
  19328. description: '[实际价]到期价格'
  19329. type: number
  19330. payeddeposit:
  19331. description: 买方已付定金(预付款(含定金))
  19332. type: number
  19333. receiptinfo:
  19334. description: 发票信息
  19335. type: string
  19336. sellusername:
  19337. description: 转让人
  19338. type: string
  19339. thjdeliverymode:
  19340. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19341. type: integer
  19342. tradeprice:
  19343. description: 预售价格
  19344. type: number
  19345. transferamount:
  19346. description: 转让金额
  19347. type: number
  19348. transferid:
  19349. description: 转让单号
  19350. type: string
  19351. transferprice:
  19352. description: 转让价格
  19353. type: number
  19354. transferqty:
  19355. description: 转让数量
  19356. type: integer
  19357. transferstatus:
  19358. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19359. type: integer
  19360. transfertradetime:
  19361. description: 转让成交时间
  19362. type: string
  19363. warehousename:
  19364. description: 仓库名称
  19365. type: string
  19366. wrstandardcode:
  19367. description: 现货商品代码
  19368. type: string
  19369. wrstandardid:
  19370. description: 现货商品ID
  19371. type: integer
  19372. wrstandardname:
  19373. description: 现货商品名称
  19374. type: string
  19375. wrtradedetailid:
  19376. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19377. type: string
  19378. type: object
  19379. models.Thjscoreconfig:
  19380. properties:
  19381. parma1:
  19382. description: 参数1
  19383. type: integer
  19384. parma2:
  19385. description: 参数2
  19386. type: integer
  19387. parma3:
  19388. description: 参数3
  19389. type: integer
  19390. parma4:
  19391. description: 参数4
  19392. type: integer
  19393. parma5:
  19394. description: 参数5
  19395. type: integer
  19396. parma6:
  19397. description: 参数6
  19398. type: integer
  19399. parma7:
  19400. description: 参数6
  19401. type: integer
  19402. scoreconfigtype:
  19403. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19404. 7:抽奖得红包
  19405. type: integer
  19406. type: object
  19407. models.TjmdHolderDetailTradeInfo:
  19408. properties:
  19409. agreeunit:
  19410. description: 合约乘数
  19411. type: number
  19412. buyaccountid:
  19413. description: 买方账户
  19414. type: string
  19415. buyusername:
  19416. description: 买方
  19417. type: string
  19418. delistingdate:
  19419. description: 最后结算日
  19420. type: string
  19421. expiredate:
  19422. description: 到期结算价定价日
  19423. type: string
  19424. exprieprice:
  19425. description: 到期清算价格
  19426. type: string
  19427. goodscode:
  19428. description: 商品代码
  19429. type: string
  19430. goodsid:
  19431. description: 商品ID
  19432. type: integer
  19433. goodsname:
  19434. description: 商品名称(交易标的)
  19435. type: string
  19436. lasttradedate:
  19437. description: 最后交易日
  19438. type: string
  19439. listingdate:
  19440. description: 开始交易日
  19441. type: string
  19442. openprice:
  19443. description: 成交价
  19444. type: number
  19445. openqty:
  19446. description: 交易数量
  19447. type: integer
  19448. sellaccountid:
  19449. description: 卖方账户
  19450. type: string
  19451. sellusername:
  19452. description: 卖方
  19453. type: string
  19454. tradeamount:
  19455. description: 初始名义价值
  19456. type: number
  19457. tradedate:
  19458. description: 成交日期
  19459. type: string
  19460. tradeid:
  19461. description: 成交编号
  19462. type: string
  19463. type: object
  19464. models.TjmdMarketSection:
  19465. properties:
  19466. marketsectionid:
  19467. description: 市场版块ID(SEQ_MARKETSECTION)
  19468. type: integer
  19469. marketsectionname:
  19470. description: 市场版块名称
  19471. type: string
  19472. mlist:
  19473. description: 市场列表(板块下面有多少个市场)
  19474. items:
  19475. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19476. type: array
  19477. orderindex:
  19478. description: 排序
  19479. type: integer
  19480. pictureurl:
  19481. description: 图片url, 规格(90*90)
  19482. type: string
  19483. remark:
  19484. description: 备注
  19485. type: string
  19486. type: object
  19487. models.TjmdMarketSectionConfig:
  19488. properties:
  19489. auctionwrtype:
  19490. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19491. type: integer
  19492. canacceptquote:
  19493. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19494. type: integer
  19495. cangoodsexercise:
  19496. description: '[期权]是否可现货行权- 0:否 1:是'
  19497. type: integer
  19498. cangoodsexercisetype:
  19499. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19500. type: integer
  19501. canmanualquotestrike:
  19502. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19503. type: integer
  19504. canmutistage:
  19505. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19506. type: integer
  19507. canpreexercise:
  19508. description: '[期权]是否可预申报- 0:否 1:是'
  19509. type: integer
  19510. clearinterval:
  19511. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19512. type: integer
  19513. contracttmp:
  19514. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19515. type: string
  19516. exchareaid:
  19517. description: 所属交易所,可以没有
  19518. type: integer
  19519. financemarketid:
  19520. description: 融资回购市场ID [仓单贸易]
  19521. type: integer
  19522. goodstype:
  19523. description: 商品类型 - 1:交易商品 2:仓单商品
  19524. type: integer
  19525. hasrebate:
  19526. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19527. type: integer
  19528. hastradecredit:
  19529. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19530. type: integer
  19531. haswr:
  19532. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19533. type: integer
  19534. isdeductmargin:
  19535. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19536. type: integer
  19537. isrecordsource:
  19538. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19539. type: integer
  19540. isreleasemargin:
  19541. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19542. type: integer
  19543. isupdatereckonprice:
  19544. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19545. type: integer
  19546. listingmode:
  19547. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19548. type: integer
  19549. marginformula:
  19550. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19551. type: integer
  19552. marginformula2:
  19553. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19554. type: integer
  19555. marketid:
  19556. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19557. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19558. type: integer
  19559. marketname:
  19560. description: 市场名称
  19561. type: string
  19562. marketsectionid:
  19563. description: 市场版块ID(SEQ_MARKETSECTION)
  19564. type: integer
  19565. marketserviceid:
  19566. description: 市场服务ID
  19567. type: integer
  19568. marketstatus:
  19569. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19570. type: integer
  19571. markettype:
  19572. description: 市场类型- 1:非交易服务 2:交易服务
  19573. type: integer
  19574. matchermode:
  19575. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19576. type: integer
  19577. nowrquotaflag:
  19578. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19579. type: integer
  19580. openmethod:
  19581. description: 开盘模式 - 0 自动 1手动
  19582. type: integer
  19583. orderindex:
  19584. description: 排序
  19585. type: integer
  19586. otcuserid:
  19587. description: 场外期权做市商[场外期权]
  19588. type: integer
  19589. outersynctime:
  19590. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19591. type: string
  19592. paylaterflag:
  19593. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19594. type: integer
  19595. pendingflag:
  19596. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19597. type: integer
  19598. pendingtime:
  19599. description: 待开市时间[通道交易-对冲](HH:mm)
  19600. type: string
  19601. performancetempid:
  19602. description: 履约计划模板ID - 作废
  19603. type: integer
  19604. premiumquotemode:
  19605. description: 权利金报价方式 - 1:自动 2:手动
  19606. type: integer
  19607. rebateratio:
  19608. description: 返利比率[竞价式]
  19609. type: number
  19610. reckonorder:
  19611. description: 结算顺序
  19612. type: integer
  19613. reckonpricealgorithm:
  19614. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19615. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19616. type: integer
  19617. reckonpriceparam:
  19618. description: 结算价参数
  19619. type: integer
  19620. reckontime:
  19621. description: 结算时间[通道交易-对冲](HH:mm)
  19622. type: string
  19623. roleprioritytype:
  19624. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19625. type: integer
  19626. selllistingauditflag:
  19627. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19628. type: integer
  19629. trademarkettype:
  19630. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19631. type: integer
  19632. trademode:
  19633. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19634. 21:竞拍-大宗式 22:受托竞价
  19635. type: integer
  19636. tradeproperty:
  19637. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19638. 8:场外期权
  19639. type: integer
  19640. tradetype:
  19641. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19642. type: integer
  19643. updatereckonpriceinterval:
  19644. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19645. type: integer
  19646. type: object
  19647. models.TjmdQuoteGoods:
  19648. properties:
  19649. buyqty:
  19650. description: 买量(暂不做, 无值, 保留字段)
  19651. type: number
  19652. decimalplace:
  19653. description: 报价小数位
  19654. type: integer
  19655. goodscode:
  19656. description: 合约代码
  19657. type: string
  19658. goodsgroupid:
  19659. description: 商品组ID(自增ID)
  19660. type: integer
  19661. goodsgroupname:
  19662. description: 商品组名称
  19663. type: string
  19664. goodsid:
  19665. description: 合约id
  19666. type: integer
  19667. goodsname:
  19668. description: 合约名称
  19669. type: string
  19670. refgoodscode:
  19671. description: 标的合约代码
  19672. type: string
  19673. refgoodsid:
  19674. description: 标的合约id
  19675. type: integer
  19676. refgoodsname:
  19677. description: 标的合约名称
  19678. type: string
  19679. sellqty:
  19680. description: 卖量(暂不做, 无值, 保留字段)
  19681. type: number
  19682. type: object
  19683. models.TjmdTodayAccountMargin:
  19684. properties:
  19685. accountid:
  19686. description: 账号ID
  19687. type: integer
  19688. goodsid:
  19689. description: 商品ID
  19690. type: integer
  19691. infoc:
  19692. allOf:
  19693. - $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19694. description: 配置参数
  19695. marketid:
  19696. description: 市场ID
  19697. type: integer
  19698. type: object
  19699. models.TjmdTradeOrderDetail:
  19700. properties:
  19701. buyorsell:
  19702. description: 买卖方向 0-买 1-卖
  19703. type: integer
  19704. goodsid:
  19705. description: 商品id
  19706. type: integer
  19707. marketmaxsub:
  19708. description: 市价最大偏移范围 [浮动价 - 点差]
  19709. type: number
  19710. orderid:
  19711. description: 委托单号
  19712. type: string
  19713. orderprice:
  19714. description: 委托价格
  19715. type: number
  19716. orderqty:
  19717. description: 委托数量
  19718. type: integer
  19719. pricemode:
  19720. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19721. type: integer
  19722. userid:
  19723. description: 用户id
  19724. type: integer
  19725. username:
  19726. description: 用户名称(已脱敏)
  19727. type: string
  19728. type: object
  19729. models.TjmdTransferApply:
  19730. properties:
  19731. applyid:
  19732. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19733. type: integer
  19734. applystatus:
  19735. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19736. type: integer
  19737. applytime:
  19738. description: 申请时间(时间)
  19739. type: string
  19740. auditremark:
  19741. description: 审核备注(拒绝原因?)
  19742. type: string
  19743. begindate:
  19744. description: 开始交易日(yyyymmdd)
  19745. type: string
  19746. buyorsell:
  19747. description: 买卖 - 0:买 1:卖
  19748. type: integer
  19749. enddate:
  19750. description: 结束交易日(yyyymmdd)
  19751. type: string
  19752. goodscode:
  19753. description: 商品代码
  19754. type: string
  19755. goodsid:
  19756. description: 商品ID
  19757. type: integer
  19758. goodsname:
  19759. description: 商品名称
  19760. type: string
  19761. marketid:
  19762. description: 市场ID
  19763. type: integer
  19764. qty:
  19765. description: 转让数量(数量)
  19766. type: number
  19767. tradeid:
  19768. description: 成交单号(关联持仓)
  19769. type: string
  19770. transferamount:
  19771. description: 转让总金额(金额)
  19772. type: number
  19773. transferprice:
  19774. description: 转让价格(协议价格)
  19775. type: number
  19776. type: object
  19777. models.TradeHolderDetail:
  19778. properties:
  19779. accountid:
  19780. description: 账号ID
  19781. type: integer
  19782. agreeunit:
  19783. description: 合约乘数
  19784. type: number
  19785. buyorsell:
  19786. description: 方向 - 0:买 1:卖
  19787. type: integer
  19788. currencyid:
  19789. description: 商品币种id
  19790. type: integer
  19791. currencyname:
  19792. description: 币种名称
  19793. type: string
  19794. decimalplace:
  19795. description: 商品价格小数位
  19796. type: integer
  19797. enumdicname:
  19798. description: 商品单位名称
  19799. type: string
  19800. expirecycle:
  19801. description: 行权周期(天) - 1:滚动行权时填写
  19802. type: integer
  19803. expiredate:
  19804. description: 行权日(yyyyMMdd) - 到期日
  19805. type: string
  19806. expiretype:
  19807. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19808. type: integer
  19809. freezeqty:
  19810. description: 冻结数量
  19811. type: number
  19812. goodscode:
  19813. description: 商品代码
  19814. type: string
  19815. goodsid:
  19816. description: 商品ID
  19817. type: integer
  19818. goodsname:
  19819. description: 商品名称
  19820. type: string
  19821. goodunitid:
  19822. description: 商品单位id
  19823. type: integer
  19824. holderamount:
  19825. description: 持仓金额
  19826. type: number
  19827. holdercredit:
  19828. description: 持仓授信金额
  19829. type: number
  19830. holderdays:
  19831. description: 剩余冻结天数
  19832. type: integer
  19833. holderprice:
  19834. description: 持仓价格
  19835. type: number
  19836. holderqty:
  19837. description: 持仓数量
  19838. type: number
  19839. isconfirmexercise:
  19840. description: 是否确认行权- 0:否 1:是
  19841. type: integer
  19842. ispreexercise:
  19843. description: 是否预申报- 0:否 1:是 2:不可行权
  19844. type: integer
  19845. marketid:
  19846. description: 市场id
  19847. type: integer
  19848. marketname:
  19849. description: 市场名称
  19850. type: string
  19851. openprice:
  19852. description: 建仓价格
  19853. type: number
  19854. openqty:
  19855. description: 建仓数量
  19856. type: number
  19857. optiontype:
  19858. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19859. type: integer
  19860. preexerciseprice:
  19861. description: 预申报价格
  19862. type: number
  19863. premium:
  19864. description: 权利金
  19865. type: number
  19866. qtydecimalplace:
  19867. description: 商品成交量小数位
  19868. type: integer
  19869. refgoodscode:
  19870. description: 标的合约代码
  19871. type: string
  19872. refgoodsid:
  19873. description: 标的合约id
  19874. type: integer
  19875. releaseamount:
  19876. description: 释放持仓金额
  19877. type: number
  19878. releaseholdercredit:
  19879. description: 释放持仓授信金额
  19880. type: number
  19881. taname:
  19882. description: 资金账号名称
  19883. type: string
  19884. tradeamount:
  19885. description: 成交金额
  19886. type: number
  19887. tradedate:
  19888. description: 交易日(yyyyMMdd)
  19889. type: string
  19890. tradeid:
  19891. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19892. type: string
  19893. trademode:
  19894. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19895. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19896. type: integer
  19897. tradeproperty:
  19898. description: 交易属性
  19899. type: integer
  19900. tradetime:
  19901. description: 交易时间
  19902. type: string
  19903. userid:
  19904. description: 用户id
  19905. type: integer
  19906. username:
  19907. description: 用户名称
  19908. type: string
  19909. type: object
  19910. models.Unlinkermcphedgeplan:
  19911. properties:
  19912. accountid:
  19913. description: 期货账户ID - 作废
  19914. type: integer
  19915. accountname:
  19916. description: 交易用户
  19917. type: string
  19918. applyid:
  19919. description: 申请人
  19920. type: integer
  19921. applysrc:
  19922. description: 申请来源 - 1:管理端 2:终端
  19923. type: integer
  19924. applytime:
  19925. description: 申请时间
  19926. type: string
  19927. areauserid:
  19928. description: '[企业ID]机构ID'
  19929. type: integer
  19930. auditid:
  19931. description: 审核人
  19932. type: integer
  19933. auditremark:
  19934. description: 审核备注
  19935. type: string
  19936. auditsrc:
  19937. description: 审核来源 - 1:管理端 2:终端
  19938. type: integer
  19939. audittime:
  19940. description: 审核时间
  19941. type: string
  19942. audittradedate:
  19943. description: 审核交易日(yyyyMMdd)
  19944. type: string
  19945. biztype:
  19946. description: 业务类型 - 1:套保
  19947. type: integer
  19948. contracttype:
  19949. description: 计划类型 - 1:采购 -1:销售
  19950. type: integer
  19951. convertfactor:
  19952. description: 标仓系数 - 作废
  19953. type: number
  19954. createtime:
  19955. description: 创建时间
  19956. type: string
  19957. currencyid:
  19958. description: 结算币种ID - 作废
  19959. type: integer
  19960. deliverygoodsid:
  19961. description: 现货品种ID
  19962. type: integer
  19963. enumdicname:
  19964. description: 结算币种
  19965. type: string
  19966. hedgeplanid:
  19967. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19968. type: string
  19969. hedgeplanno:
  19970. description: '[计划编号]套保计划编号,模糊查询'
  19971. type: string
  19972. hedgeplanstatus:
  19973. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19974. type: integer
  19975. isrelated:
  19976. description: 是否已关联计划项目 - 0:否 1:是
  19977. type: integer
  19978. planqty:
  19979. description: '[计划量]计划数量'
  19980. type: number
  19981. plantime:
  19982. description: 计划时间
  19983. type: string
  19984. producttype:
  19985. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  19986. type: integer
  19987. remark:
  19988. description: 备注
  19989. type: string
  19990. spotgoodsdesc:
  19991. description: 商品型号
  19992. type: string
  19993. tradedate:
  19994. description: 交易日(yyyyMMdd)
  19995. type: string
  19996. tradeuserid:
  19997. description: 交易用户ID
  19998. type: integer
  19999. updatetime:
  20000. description: 更新时间
  20001. type: string
  20002. wrstandardid:
  20003. description: 现货商品ID
  20004. type: integer
  20005. wrstandardname:
  20006. description: 现货商品,模糊查询
  20007. type: string
  20008. required:
  20009. - areauserid
  20010. type: object
  20011. models.UserCollectConfig:
  20012. properties:
  20013. accountstatus:
  20014. description: 账户状态 - 1:正常 2:停用 3:注销
  20015. type: integer
  20016. collectaccountname:
  20017. description: 收款人账户名称
  20018. type: string
  20019. collectaccountno:
  20020. description: 收款人账户
  20021. type: string
  20022. collectbankname:
  20023. description: 收款人开户行
  20024. type: string
  20025. collectbranchbankname:
  20026. description: 收款人开户支行
  20027. type: string
  20028. collectconfigid:
  20029. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20030. type: string
  20031. remark:
  20032. description: 备注
  20033. type: string
  20034. userid:
  20035. description: 收款人用户ID
  20036. type: integer
  20037. type: object
  20038. models.UserReceiveInfo:
  20039. properties:
  20040. address:
  20041. description: 提货人详细地址
  20042. type: string
  20043. autoid:
  20044. description: AutoID
  20045. type: integer
  20046. cardnum:
  20047. description: 证件号码(加密存储)
  20048. type: string
  20049. cardtypeid:
  20050. description: 证件类型
  20051. type: integer
  20052. cityid:
  20053. description: 市
  20054. type: integer
  20055. cityname:
  20056. description: 城市名称
  20057. type: string
  20058. countryid:
  20059. description: 国家
  20060. type: integer
  20061. countryname:
  20062. description: 国家名称
  20063. type: string
  20064. districtid:
  20065. description: 地区
  20066. type: integer
  20067. districtname:
  20068. description: 地区名称
  20069. type: string
  20070. hasencrypt:
  20071. description: 数据是否已加密 - 0:未加密 1:已加密
  20072. type: integer
  20073. isdefault:
  20074. description: 是否默认地址 - 0:否 1:是
  20075. type: integer
  20076. phonenum:
  20077. description: 提货人联系方式(加密存储)
  20078. type: string
  20079. provinceid:
  20080. description: 省
  20081. type: integer
  20082. provincename:
  20083. description: 省名称
  20084. type: string
  20085. receivername:
  20086. description: 提货人姓名
  20087. type: string
  20088. takeremark:
  20089. description: 提货备注
  20090. type: string
  20091. userid:
  20092. description: 用户ID
  20093. type: integer
  20094. type: object
  20095. models.Useraccount:
  20096. properties:
  20097. accountname:
  20098. description: 账户名称(机构名称)
  20099. type: string
  20100. accountstatus:
  20101. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20102. type: integer
  20103. applysrc:
  20104. description: 申请来源 - 1:管理端 2:终端
  20105. type: integer
  20106. auditremark:
  20107. description: 审核备注
  20108. type: string
  20109. auditsrc:
  20110. description: 审核来源 - 1:管理端 2:终端
  20111. type: integer
  20112. audittime:
  20113. description: 审核时间
  20114. type: string
  20115. audituserid:
  20116. description: 审核人
  20117. type: integer
  20118. broker:
  20119. description: 所属经纪人ID
  20120. type: integer
  20121. canceltime:
  20122. description: 销户时间
  20123. type: string
  20124. canceluserid:
  20125. description: 销户人
  20126. type: integer
  20127. canrecommend:
  20128. description: 是否可推荐 - 0:不可 1;可
  20129. type: integer
  20130. createtime:
  20131. description: 创建时间
  20132. type: string
  20133. creatorid:
  20134. description: 创建人
  20135. type: integer
  20136. curscore:
  20137. description: 积分
  20138. type: integer
  20139. hasauth:
  20140. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20141. type: integer
  20142. isanonymous:
  20143. description: 是否匿名下单 - 0:否 1:是
  20144. type: integer
  20145. issigned:
  20146. description: 今日是否已签到
  20147. type: boolean
  20148. maxinvestornum:
  20149. description: 最大用户数(经纪会员下投资者个数)
  20150. type: integer
  20151. memberuserid:
  20152. description: 所属会员ID
  20153. type: integer
  20154. modifierid:
  20155. description: 修改人
  20156. type: integer
  20157. modifyremark:
  20158. description: 变更备注
  20159. type: string
  20160. modifystatus:
  20161. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20162. type: integer
  20163. modifytime:
  20164. description: 修改时间
  20165. type: string
  20166. parenttopuser:
  20167. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20168. type: string
  20169. parentuserid:
  20170. description: 所属机构ID
  20171. type: integer
  20172. reckonaccountid:
  20173. description: 默认结算资金账号ID(机构分润使用) 作废
  20174. type: integer
  20175. refercount:
  20176. description: 推荐总人数
  20177. type: integer
  20178. refereeuserid:
  20179. description: 推荐人ID
  20180. type: integer
  20181. refernum:
  20182. description: 推荐码
  20183. type: string
  20184. rootuserid:
  20185. description: 根用户ID
  20186. type: integer
  20187. subaccountlevel:
  20188. description: 子账户层数
  20189. type: integer
  20190. subarealevelpath:
  20191. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20192. type: string
  20193. todayrefercount:
  20194. description: 今日推荐人数
  20195. type: integer
  20196. userid:
  20197. description: 用户ID
  20198. type: integer
  20199. usertype:
  20200. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20201. type: integer
  20202. required:
  20203. - userid
  20204. type: object
  20205. models.Userfavoritegoods:
  20206. properties:
  20207. goodsid:
  20208. description: 商品ID
  20209. type: integer
  20210. required:
  20211. - goodsid
  20212. type: object
  20213. models.Userinfo:
  20214. properties:
  20215. address:
  20216. description: 地址
  20217. type: string
  20218. attachment1:
  20219. description: 附件1
  20220. type: string
  20221. attachment2:
  20222. description: 附件2
  20223. type: string
  20224. bankaccount:
  20225. description: 银行帐号 (加密存储)
  20226. type: string
  20227. bankaccountname:
  20228. description: 收款人名称
  20229. type: string
  20230. bankcardfrontphotourl:
  20231. description: 银行卡正面照地址
  20232. type: string
  20233. bankid:
  20234. description: 银行编码
  20235. type: string
  20236. bankname:
  20237. description: 银行名称
  20238. type: string
  20239. biznature:
  20240. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20241. type: integer
  20242. bizscope:
  20243. description: 企业经营范围(企业)
  20244. type: string
  20245. cardbackphotourl:
  20246. description: 证件背面图片地址
  20247. type: string
  20248. cardfrontphotourl:
  20249. description: 证件正面图片地址
  20250. type: string
  20251. cardnum:
  20252. description: 证件号码(加密存储)
  20253. type: string
  20254. cardtypeid:
  20255. description: 证件类型ID
  20256. type: integer
  20257. cityid:
  20258. description: 市
  20259. type: integer
  20260. company:
  20261. description: 公司(个人)
  20262. type: string
  20263. contactname:
  20264. description: 联系人
  20265. type: string
  20266. countryid:
  20267. description: 国家
  20268. type: integer
  20269. createtime:
  20270. description: 创建时间
  20271. type: string
  20272. creatorid:
  20273. description: 创建人
  20274. type: integer
  20275. customername:
  20276. description: 客户名称(企业名称)
  20277. type: string
  20278. districtid:
  20279. description: 地区
  20280. type: integer
  20281. email:
  20282. description: 邮件(加密存储)
  20283. type: string
  20284. fax:
  20285. description: 传真(加密存储)
  20286. type: string
  20287. halfbodyphotourl:
  20288. description: 半身照地址
  20289. type: string
  20290. hasencrypt:
  20291. description: 数据是否已加密 - 0:未加密 1:已加密
  20292. type: integer
  20293. headurl:
  20294. description: 头像地址
  20295. type: string
  20296. legalcardbackphotourl:
  20297. description: 法人身份证背面照地址
  20298. type: string
  20299. legalcardfrontphotourl:
  20300. description: 法人身份证正面照地址
  20301. type: string
  20302. legalpersonname:
  20303. description: 法人姓名(企业)
  20304. type: string
  20305. mobile:
  20306. description: 手机号码(加密存储)
  20307. type: string
  20308. mobile2:
  20309. description: 手机号码[明文-尚志]
  20310. type: string
  20311. modifierid:
  20312. description: 修改人
  20313. type: integer
  20314. modifiertime:
  20315. description: 修改时间
  20316. type: string
  20317. needinvoice:
  20318. description: 是否需要发票 - 0:不需要 1:需要
  20319. type: integer
  20320. nickname:
  20321. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20322. type: string
  20323. openmode:
  20324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20325. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20326. type: integer
  20327. otherurl:
  20328. description: 其它图片地址[使用分号分隔]
  20329. type: string
  20330. postalcode:
  20331. description: 邮政编码
  20332. type: string
  20333. provinceid:
  20334. description: 省
  20335. type: integer
  20336. qq:
  20337. description: QQ(加密存储
  20338. type: string
  20339. remark:
  20340. description: 备注
  20341. type: string
  20342. sex:
  20343. description: '用户性别 0: 女 1: 男'
  20344. type: integer
  20345. signpdfurl:
  20346. description: 签约pdf文件
  20347. type: string
  20348. telphone:
  20349. description: 联系电话(加密存储)
  20350. type: string
  20351. userid:
  20352. description: 用户ID
  20353. type: integer
  20354. userinfotype:
  20355. description: 用户信息类型 - 1:个人 2:企业
  20356. type: integer
  20357. userstatus:
  20358. description: 用户状态 - 1:正常 2:注销
  20359. type: integer
  20360. usertype:
  20361. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20362. type: integer
  20363. wechat:
  20364. description: 微信(加密存储)
  20365. type: string
  20366. wskhinfo:
  20367. description: 开户申请信息(JSON)
  20368. type: string
  20369. required:
  20370. - userid
  20371. type: object
  20372. models.WRPositionReport:
  20373. properties:
  20374. accountid:
  20375. description: 帐户ID
  20376. type: integer
  20377. brandid:
  20378. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20379. type: integer
  20380. buylistinglot:
  20381. description: 买挂牌宗数
  20382. type: integer
  20383. buytradeamount:
  20384. description: 购买金额
  20385. type: number
  20386. buytradelot:
  20387. description: 购买宗数
  20388. type: integer
  20389. buytradeqty:
  20390. description: 购买数量
  20391. type: number
  20392. creditcurqty:
  20393. description: 授信当前数量
  20394. type: integer
  20395. creditfreezeqty:
  20396. description: 授信冻结数量
  20397. type: integer
  20398. credittotalqty:
  20399. description: 授信总数量
  20400. type: integer
  20401. credittradeqty:
  20402. description: 授信成交数量
  20403. type: integer
  20404. decreaseqty:
  20405. description: 今日减少数量
  20406. type: integer
  20407. deliverygoodsid:
  20408. description: 交割商品ID
  20409. type: integer
  20410. deliverymonthid:
  20411. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20412. type: integer
  20413. freezeqty:
  20414. description: 总冻结数量
  20415. type: integer
  20416. increaseqty:
  20417. description: 今日增加数量
  20418. type: integer
  20419. marketvalue:
  20420. description: 市值
  20421. type: number
  20422. pickupqty:
  20423. description: 今日提货数量
  20424. type: integer
  20425. qualityid:
  20426. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20427. type: integer
  20428. reckondate:
  20429. description: 日照时期(yyyyMMdd)
  20430. type: string
  20431. relatedqty:
  20432. description: 关联数量
  20433. type: integer
  20434. selllistingamount:
  20435. description: 卖挂牌金额
  20436. type: number
  20437. selllistinglot:
  20438. description: 卖挂牌宗数
  20439. type: integer
  20440. selllistingqty:
  20441. description: 卖挂牌数量
  20442. type: number
  20443. selltradeamount:
  20444. description: 销售金额
  20445. type: number
  20446. selltradelot:
  20447. description: 销售宗数
  20448. type: integer
  20449. selltradeqty:
  20450. description: 销售数量
  20451. type: number
  20452. specid:
  20453. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20454. type: integer
  20455. totalprice:
  20456. description: 销售金额(¥)
  20457. type: number
  20458. totalqty:
  20459. description: 总数量
  20460. type: integer
  20461. totalweight:
  20462. description: 销售重量(ct)
  20463. type: number
  20464. tradewrqty:
  20465. description: 订单仓单头寸总数量
  20466. type: integer
  20467. transfertradewrqty:
  20468. description: 今日转订单数量
  20469. type: integer
  20470. warehouseid:
  20471. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20472. type: integer
  20473. wrfactortypeid:
  20474. description: 仓单要素类型ID
  20475. type: integer
  20476. wrpositionid:
  20477. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20478. type: integer
  20479. wrstandardcode:
  20480. description: 现货商品代码
  20481. type: string
  20482. wrstandardid:
  20483. description: 现货商品ID
  20484. type: integer
  20485. wruserid:
  20486. description: 持有人ID
  20487. type: integer
  20488. zscategory:
  20489. description: 商品分类
  20490. type: integer
  20491. zscategorydisplay:
  20492. type: string
  20493. zscurrencytype:
  20494. description: 商品币种
  20495. type: integer
  20496. zscurrencytypedisplay:
  20497. type: string
  20498. zscurrencytypedisplayunit:
  20499. type: string
  20500. type: object
  20501. models.WRSConverTDetail:
  20502. properties:
  20503. convertratio:
  20504. description: 套保系数
  20505. type: number
  20506. deliverygoodscode:
  20507. description: 现货商品代码
  20508. type: string
  20509. deliverygoodsid:
  20510. description: 现货品种ID
  20511. type: integer
  20512. deliverygoodsname:
  20513. description: 现货商品名称
  20514. type: string
  20515. enumdicname:
  20516. description: 单位名称
  20517. type: string
  20518. goodsunitid:
  20519. description: 套保品种单位id
  20520. type: integer
  20521. middlegoodscode:
  20522. description: 套保品种代码
  20523. type: string
  20524. middlegoodsid:
  20525. description: 套保品种ID
  20526. type: integer
  20527. middlegoodsname:
  20528. description: 套保品种名称
  20529. type: string
  20530. modifytime:
  20531. description: 修改时间
  20532. type: string
  20533. wrstandardid:
  20534. description: 品类ID
  20535. type: integer
  20536. type: object
  20537. models.WRStandardInfo:
  20538. properties:
  20539. areauserid:
  20540. description: 所属机构
  20541. type: integer
  20542. convertfactor:
  20543. description: 标仓系数
  20544. type: number
  20545. createtime:
  20546. description: 创建时间
  20547. type: string
  20548. creatorid:
  20549. description: 创建人
  20550. type: integer
  20551. deliverygoodsid:
  20552. description: 品种ID
  20553. type: integer
  20554. deliverygoodsname:
  20555. description: 交割商品名称
  20556. type: string
  20557. factoryitemjson:
  20558. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20559. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20560. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20561. 逗号分隔'
  20562. type: string
  20563. isvalid:
  20564. description: 是否有效 - 0:无效 1:有效
  20565. type: integer
  20566. minivalue:
  20567. description: 最小变动值
  20568. type: integer
  20569. minivaluedp:
  20570. description: 最小变动值小数位
  20571. type: integer
  20572. realminivalue:
  20573. description: 实际最小变动值
  20574. type: integer
  20575. realminivaluedp:
  20576. description: 实际最小变动值小数位
  20577. type: integer
  20578. remark:
  20579. description: 备注
  20580. type: string
  20581. unitid:
  20582. description: 单位ID
  20583. type: integer
  20584. unitname:
  20585. description: 单位
  20586. type: string
  20587. updatetime:
  20588. description: 更新时间
  20589. type: string
  20590. updatorid:
  20591. description: 更新人
  20592. type: integer
  20593. wrsstatus:
  20594. description: 状态 - 作废 - 0:未激活 1:正常
  20595. type: integer
  20596. wrstandardcode:
  20597. description: 现货品类代码
  20598. type: string
  20599. wrstandardid:
  20600. description: 现货品类ID(SEQ_WRSTANDARD)
  20601. type: integer
  20602. wrstandardname:
  20603. description: 现货品类名称
  20604. type: string
  20605. required:
  20606. - wrstandardid
  20607. type: object
  20608. models.WRTradeBargainApply:
  20609. properties:
  20610. accountid:
  20611. description: 摘牌资金账号
  20612. type: integer
  20613. applyprice:
  20614. description: 申请价格(议价价格)
  20615. type: string
  20616. applyqty:
  20617. description: 摘牌数量(议价数量)
  20618. type: number
  20619. applyremark:
  20620. description: 申请备注
  20621. type: string
  20622. applystatus:
  20623. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20624. type: integer
  20625. applytime:
  20626. description: 申请时间(议价时间)
  20627. type: string
  20628. begindate:
  20629. description: 开始交易日(yyyymmdd)
  20630. type: string
  20631. buyorsell:
  20632. description: 买卖(挂牌类型) - 0:买 1:卖
  20633. type: integer
  20634. confirmremark:
  20635. description: 确认备注
  20636. type: string
  20637. confirmtime:
  20638. description: 确认时间
  20639. type: string
  20640. confirmuserid:
  20641. description: 确认人
  20642. type: integer
  20643. deliverygoodscode:
  20644. description: 品种代码
  20645. type: string
  20646. deliverygoodsid:
  20647. description: 品种ID
  20648. type: integer
  20649. deliverygoodsname:
  20650. description: 品种名称
  20651. type: string
  20652. deliverymonth:
  20653. description: 交收月
  20654. type: string
  20655. enddate:
  20656. description: 结束交易日(yyyymmdd)
  20657. type: string
  20658. enumdicname:
  20659. description: 单位名称
  20660. type: string
  20661. fixedprice:
  20662. description: 挂牌价格
  20663. type: number
  20664. handlestatus:
  20665. description: 处理状态
  20666. type: integer
  20667. marginvalue:
  20668. description: 履约保证金比例
  20669. type: number
  20670. marketid:
  20671. description: 市场ID
  20672. type: integer
  20673. matchaccountid:
  20674. description: 挂牌方资金账号
  20675. type: integer
  20676. matchuserid:
  20677. description: 挂牌方用户id
  20678. type: integer
  20679. matchusername:
  20680. description: 挂牌方用户名称(已脱敏)
  20681. type: string
  20682. minivalue:
  20683. description: 现货商品最小变动值
  20684. type: integer
  20685. optioncompare:
  20686. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20687. type: string
  20688. orderqty:
  20689. description: 挂牌数量
  20690. type: integer
  20691. refprice:
  20692. description: 参考价格
  20693. type: string
  20694. retcode:
  20695. description: 委托返回代码
  20696. type: integer
  20697. templatename:
  20698. description: 履约方式(履约模板名称)
  20699. type: string
  20700. tradedate:
  20701. description: 交易日(yyyyMMdd)
  20702. type: string
  20703. userid:
  20704. description: 摘牌人用户ID(议价人ID)
  20705. type: integer
  20706. username:
  20707. description: 议价人名字(已脱敏)
  20708. type: string
  20709. validtime:
  20710. description: 有效期限
  20711. type: string
  20712. warehouseid:
  20713. description: 仓库ID
  20714. type: integer
  20715. warehousename:
  20716. description: 仓库名称
  20717. type: string
  20718. wrbargainid:
  20719. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20720. type: string
  20721. wrfactortypeid:
  20722. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20723. type: string
  20724. wrfactortypename:
  20725. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20726. type: string
  20727. wrstandardcode:
  20728. description: 现货商品代码
  20729. type: string
  20730. wrstandardid:
  20731. description: 现货商品ID
  20732. type: integer
  20733. wrstandardname:
  20734. description: 商品名称
  20735. type: string
  20736. wrtradeorderid:
  20737. description: 关联委托单ID
  20738. type: string
  20739. wrtypename:
  20740. description: 商品
  20741. type: string
  20742. type: object
  20743. models.Warehouseinfo:
  20744. properties:
  20745. address:
  20746. description: 详细地址
  20747. type: string
  20748. areauserid:
  20749. description: 所属机构
  20750. type: integer
  20751. autoid:
  20752. description: 自增ID
  20753. type: integer
  20754. cityid:
  20755. description: 市
  20756. type: integer
  20757. contactname:
  20758. description: 联系人
  20759. type: string
  20760. contactnum:
  20761. description: 联系电话
  20762. type: string
  20763. countryid:
  20764. description: 国家
  20765. type: integer
  20766. createtime:
  20767. description: 创建时间
  20768. type: string
  20769. districtid:
  20770. description: 区
  20771. type: integer
  20772. hasvideo:
  20773. description: 是否有视频 - 0:无 1:有
  20774. type: integer
  20775. provinceid:
  20776. description: 省
  20777. type: integer
  20778. remark:
  20779. description: 审核备注
  20780. type: string
  20781. videourl:
  20782. description: 视频地址
  20783. type: string
  20784. warehousecode:
  20785. description: 仓库代码
  20786. type: string
  20787. warehousename:
  20788. description: 仓库名称
  20789. type: string
  20790. warehousestatus:
  20791. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20792. type: integer
  20793. warehousetype:
  20794. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20795. type: integer
  20796. required:
  20797. - autoid
  20798. - warehousecode
  20799. type: object
  20800. models.WrAverageTradePrice:
  20801. properties:
  20802. averageprice:
  20803. description: 成交均价
  20804. type: number
  20805. tradedate:
  20806. description: 交易日yyyymm
  20807. type: string
  20808. type: object
  20809. models.WrBrandAndYears:
  20810. properties:
  20811. brandlst:
  20812. description: 品牌列表
  20813. items:
  20814. $ref: '#/definitions/models.DgFactoryItem'
  20815. type: array
  20816. yearslst:
  20817. description: 年份列表
  20818. items:
  20819. $ref: '#/definitions/models.DgFactoryItem'
  20820. type: array
  20821. type: object
  20822. models.WrBsGoodsInfo:
  20823. properties:
  20824. buyorsell:
  20825. description: 买卖方向 0-买 1-卖
  20826. type: integer
  20827. goodsid:
  20828. description: 交易合约ID
  20829. type: integer
  20830. lstitem:
  20831. description: 商品信息项
  20832. items:
  20833. $ref: '#/definitions/models.WrTypeItem'
  20834. type: array
  20835. lststep:
  20836. description: 履约规则
  20837. items:
  20838. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20839. type: array
  20840. type: object
  20841. models.WrBuybackDetail:
  20842. properties:
  20843. buybackamount:
  20844. description: 回购金额
  20845. type: number
  20846. buybackqty:
  20847. description: 回购数量
  20848. type: number
  20849. buybackreleasemargin:
  20850. description: 回购释放保证金
  20851. type: number
  20852. buybacktime:
  20853. description: 回购时间
  20854. type: string
  20855. errordesc:
  20856. description: 错误描述
  20857. type: string
  20858. handlestatus:
  20859. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20860. type: integer
  20861. relatedwrid:
  20862. description: 关联仓单ID
  20863. type: integer
  20864. scfcontractid:
  20865. description: SCF合同ID
  20866. type: string
  20867. scfwrbuybackid:
  20868. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20869. type: integer
  20870. tradedate:
  20871. description: 交易日(yyyyMMdd)
  20872. type: string
  20873. type: object
  20874. models.WrClientAdSpaceConfig:
  20875. properties:
  20876. adspaceid:
  20877. description: 广告位ID
  20878. type: integer
  20879. adspacename:
  20880. description: 广告位名称
  20881. type: string
  20882. adspacetype:
  20883. description: 广告位类型 - 1:固定广告位
  20884. type: integer
  20885. areauserid:
  20886. description: 所属机构ID
  20887. type: integer
  20888. createdate:
  20889. description: 创建时间
  20890. type: string
  20891. imagepath:
  20892. description: 图片
  20893. type: string
  20894. modifierid:
  20895. description: 操作人
  20896. type: integer
  20897. recsize:
  20898. description: 推荐尺寸
  20899. type: string
  20900. title:
  20901. description: 标题
  20902. type: string
  20903. updatedate:
  20904. description: 更新时间
  20905. type: string
  20906. urlcontent:
  20907. description: 链接(地址\商品ID\功能菜单Key\appid)
  20908. type: string
  20909. urltype:
  20910. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20911. type: integer
  20912. type: object
  20913. models.WrDeliveryAvalidHoldLB:
  20914. properties:
  20915. accountid:
  20916. description: 资金账号
  20917. type: integer
  20918. avalidqty:
  20919. description: 数量(可点选数量)
  20920. type: number
  20921. deliverygoodsid:
  20922. description: 品种id
  20923. type: integer
  20924. enumdicname:
  20925. description: 单位名称
  20926. type: string
  20927. goodsid:
  20928. description: x合约商品id
  20929. type: integer
  20930. ladingbillid:
  20931. description: 提单id
  20932. type: string
  20933. pgoodscode:
  20934. description: p商品代码(点价合约)
  20935. type: string
  20936. pgoodsid:
  20937. description: p商品id(点价合约)
  20938. type: integer
  20939. pgoodsname:
  20940. description: p商品名称(点价合约)
  20941. type: string
  20942. pricemove:
  20943. description: 升贴水
  20944. type: number
  20945. subnum:
  20946. description: 提单子id
  20947. type: integer
  20948. userid:
  20949. description: 用户id
  20950. type: integer
  20951. username:
  20952. description: 仓单持有人
  20953. type: string
  20954. warehousecode:
  20955. description: 仓库代码
  20956. type: string
  20957. warehouseid:
  20958. description: 仓库id
  20959. type: integer
  20960. warehousename:
  20961. description: 仓库名称
  20962. type: string
  20963. wrfactortypeid:
  20964. description: 仓单要素id
  20965. type: string
  20966. wrstandardcode:
  20967. description: 品代码
  20968. type: string
  20969. wrstandardid:
  20970. description: 品类d
  20971. type: integer
  20972. wrstandardname:
  20973. description: 品类名称
  20974. type: string
  20975. wrtypename:
  20976. description: 商品
  20977. type: string
  20978. xgoodscode:
  20979. description: x合约代码
  20980. type: string
  20981. xgoodsname:
  20982. description: x合约名称
  20983. type: string
  20984. type: object
  20985. models.WrDeliveryDetail:
  20986. properties:
  20987. accountid:
  20988. description: 账号ID
  20989. type: integer
  20990. averageprice:
  20991. description: 交割均价 = 交割金额 / 交割数量
  20992. type: number
  20993. begindate:
  20994. description: 开始交易日(yyyymmdd)
  20995. type: string
  20996. buyorsell:
  20997. description: 方向 - 0:买 1:卖
  20998. type: integer
  20999. deliveryamount:
  21000. description: 货款金额(X总货款+P总货款)
  21001. type: number
  21002. deliveryid:
  21003. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  21004. type: string
  21005. deliveryorderid:
  21006. description: 申报单号
  21007. type: string
  21008. deliverypricemove:
  21009. description: 升贴水(升贴水总额)
  21010. type: number
  21011. deliveryqty:
  21012. description: 交收数量(点选数量)
  21013. type: number
  21014. deliverystatus:
  21015. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21016. type: integer
  21017. deliverytime:
  21018. description: 交割时间
  21019. type: string
  21020. deliverytotalamount:
  21021. description: 交收金额
  21022. type: number
  21023. enddate:
  21024. description: 结束交易日(yyyymmdd)
  21025. type: string
  21026. enumdicname:
  21027. description: 单位名称
  21028. type: string
  21029. matchaccountid:
  21030. description: 对手账号ID
  21031. type: integer
  21032. matchusername:
  21033. description: 对手方名称(仓单持有人)
  21034. type: string
  21035. p1goodsremainamount:
  21036. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21037. type: number
  21038. pdeliverycloseqty:
  21039. description: p合约平仓数量
  21040. type: number
  21041. pdeliveryprice:
  21042. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21043. type: number
  21044. pgoodscode:
  21045. description: 商品代码
  21046. type: string
  21047. pgoodsid:
  21048. description: p点选合约id
  21049. type: integer
  21050. pgoodsname:
  21051. description: 商品名称
  21052. type: string
  21053. ppricemode:
  21054. description: 点价价格方式 - 1:商品价 2:固定值
  21055. type: integer
  21056. tradedate:
  21057. description: 交易日(yyyymmdd)
  21058. type: string
  21059. userid:
  21060. description: 用户id
  21061. type: integer
  21062. username:
  21063. description: 用户名称
  21064. type: string
  21065. warehousename:
  21066. description: 仓库名称
  21067. type: string
  21068. wrfactortypeid:
  21069. description: 仓单要素类型ID
  21070. type: string
  21071. wrtypename:
  21072. description: 商品
  21073. type: string
  21074. xdeliverycloseqty:
  21075. description: 合约数量
  21076. type: number
  21077. xgoodsamount:
  21078. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  21079. type: number
  21080. xgoodscode:
  21081. description: 商品代码
  21082. type: string
  21083. xgoodsid:
  21084. description: x交易合约ID
  21085. type: integer
  21086. xgoodsname:
  21087. description: 商品名称
  21088. type: string
  21089. type: object
  21090. models.WrDeliveryGoodsSection:
  21091. properties:
  21092. dglst:
  21093. description: 板块商品列表
  21094. items:
  21095. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21096. type: array
  21097. imagepath:
  21098. description: 图片地址
  21099. type: string
  21100. orderindex:
  21101. description: 排序
  21102. type: integer
  21103. sectionid:
  21104. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21105. = 1的版块1 - 云融指数
  21106. type: integer
  21107. sectionname:
  21108. description: 版块名称
  21109. type: string
  21110. sectiontype:
  21111. description: 版块类型 - 1:指数版块 2:普通版块
  21112. type: integer
  21113. type: object
  21114. models.WrDeliveryGoodsSectionConfig:
  21115. properties:
  21116. deliverygoodscode:
  21117. description: 现货商品代码
  21118. type: string
  21119. deliverygoodsid:
  21120. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21121. type: integer
  21122. deliverygoodsname:
  21123. description: 现货商品名称
  21124. type: string
  21125. orderindex:
  21126. description: 排序
  21127. type: integer
  21128. type: object
  21129. models.WrDraftUserInfo:
  21130. properties:
  21131. address:
  21132. description: 地址
  21133. type: string
  21134. attachment1:
  21135. description: 附件1
  21136. type: string
  21137. attachment2:
  21138. description: 附件2
  21139. type: string
  21140. attachment3:
  21141. description: 附件3
  21142. type: string
  21143. attachment4:
  21144. description: 附件4
  21145. type: string
  21146. attachment5:
  21147. description: 附件5
  21148. type: string
  21149. bankaccount:
  21150. description: 银行帐号 (加密存储)
  21151. type: string
  21152. bankaccountname:
  21153. description: 收款人名称
  21154. type: string
  21155. bankcardfrontphotourl:
  21156. description: 银行卡正面照地址
  21157. type: string
  21158. bankid:
  21159. description: 银行编码
  21160. type: string
  21161. bankname:
  21162. description: 银行名称
  21163. type: string
  21164. birthday:
  21165. description: 生日(个人:年月日)
  21166. type: string
  21167. biznature:
  21168. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21169. type: integer
  21170. bizscope:
  21171. description: 企业经营范围(企业)
  21172. type: string
  21173. biztype:
  21174. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21175. type: integer
  21176. cardbackphotourl:
  21177. description: 证件背面图片地址
  21178. type: string
  21179. cardfrontphotourl:
  21180. description: 证件正面图片地址
  21181. type: string
  21182. cardnum:
  21183. description: 证件号码(加密存储)
  21184. type: string
  21185. cardtypeid:
  21186. description: 证件类型ID
  21187. type: integer
  21188. cityid:
  21189. description: 市
  21190. type: integer
  21191. company:
  21192. description: 公司(个人)
  21193. type: string
  21194. contactcardbackphotourl:
  21195. description: 联系人证件背面图片地址
  21196. type: string
  21197. contactcardfrontphotourl:
  21198. description: 联系人证件正面图片地址
  21199. type: string
  21200. contactname:
  21201. description: 联系人
  21202. type: string
  21203. countryid:
  21204. description: 国家
  21205. type: integer
  21206. createtime:
  21207. description: 创建时间
  21208. type: string
  21209. creatorid:
  21210. description: 创建人
  21211. type: integer
  21212. creditquota:
  21213. description: 授信额度(金瑞)
  21214. type: number
  21215. customername:
  21216. description: 客户名称(企业名称)
  21217. type: string
  21218. districtid:
  21219. description: 地区
  21220. type: integer
  21221. email:
  21222. description: 邮件(加密存储)
  21223. type: string
  21224. fax:
  21225. description: 传真(加密存储)
  21226. type: string
  21227. halfbodyphotourl:
  21228. description: 半身照地址
  21229. type: string
  21230. hasencrypt:
  21231. description: 数据是否已加密 - 0:未加密 1:已加密
  21232. type: integer
  21233. headurl:
  21234. description: 头像地址
  21235. type: string
  21236. legalcardbackphotourl:
  21237. description: 法人身份证背面照地址
  21238. type: string
  21239. legalcardfrontphotourl:
  21240. description: 法人身份证正面照地址
  21241. type: string
  21242. legalpersonname:
  21243. description: 法人姓名(企业)
  21244. type: string
  21245. mobile:
  21246. description: 手机号码(加密存储)
  21247. type: string
  21248. mobile2:
  21249. description: 手机号码[明文-尚志]
  21250. type: string
  21251. modifierid:
  21252. description: 修改人
  21253. type: integer
  21254. modifiertime:
  21255. description: 修改时间
  21256. type: string
  21257. needinvoice:
  21258. description: 是否需要发票 - 0:不需要 1:需要
  21259. type: integer
  21260. nickname:
  21261. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21262. type: string
  21263. openmode:
  21264. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21265. 6:苹果手机端注册 7:PC交易端注册"
  21266. type: integer
  21267. otherurl:
  21268. description: 其它图片地址[使用分号分隔]
  21269. type: string
  21270. postalcode:
  21271. description: 邮政编码
  21272. type: string
  21273. provinceid:
  21274. description: 省
  21275. type: integer
  21276. proxystatementurl:
  21277. description: 授权委托书
  21278. type: string
  21279. qq:
  21280. description: QQ(加密存储
  21281. type: string
  21282. remark:
  21283. description: 备注
  21284. type: string
  21285. sex:
  21286. description: '用户性别 0: 女 1: 男'
  21287. type: integer
  21288. signpdfurl:
  21289. description: 签约pdf文件
  21290. type: string
  21291. taxpayernum:
  21292. description: 纳税人识别号
  21293. type: string
  21294. telphone:
  21295. description: 联系电话(加密存储)
  21296. type: string
  21297. userid:
  21298. description: 用户ID
  21299. type: integer
  21300. userinfotype:
  21301. description: 用户信息类型 - 1:个人 2:企业
  21302. type: integer
  21303. userstatus:
  21304. description: 用户状态 - 1:正常 2:注销
  21305. type: integer
  21306. usertype:
  21307. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21308. type: integer
  21309. wechat:
  21310. description: 微信(加密存储)
  21311. type: string
  21312. wskhinfo:
  21313. description: 开户申请信息(JSON)
  21314. type: string
  21315. type: object
  21316. models.WrFAProductDetail:
  21317. properties:
  21318. accountid:
  21319. description: 资金账号
  21320. type: integer
  21321. areauserid:
  21322. description: 金融机构ID
  21323. type: integer
  21324. financingdays:
  21325. description: 天数(天)
  21326. type: integer
  21327. interestminlen:
  21328. description: 最小起息天数
  21329. type: integer
  21330. interestrate:
  21331. description: 利率
  21332. type: number
  21333. interestratemode:
  21334. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21335. type: integer
  21336. interestsettlemode:
  21337. description: 结息方式 - 1:按日结息 3:按月结息
  21338. type: integer
  21339. interestsettlevalue:
  21340. description: 结息方式值
  21341. type: integer
  21342. isautoloan:
  21343. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21344. type: integer
  21345. loantag:
  21346. description: '放款标识: "放款快" 或者为空'
  21347. type: string
  21348. marginratio:
  21349. description: 保证金比率质押率 - [仓单质押]
  21350. type: number
  21351. productdetailid:
  21352. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21353. type: integer
  21354. productid:
  21355. description: 金融产品ID
  21356. type: integer
  21357. productname:
  21358. description: 产品名称
  21359. type: string
  21360. updatetime:
  21361. description: 更新时间
  21362. type: string
  21363. username:
  21364. description: 融出方
  21365. type: string
  21366. type: object
  21367. models.WrFactorTypeInfo:
  21368. properties:
  21369. deliverygoodscode:
  21370. description: 品种代码
  21371. type: string
  21372. deliverygoodsname:
  21373. description: 品种名称
  21374. type: string
  21375. dgfactoryitemid:
  21376. description: 选择项id
  21377. type: integer
  21378. dgfactoryitemtypeid:
  21379. description: 要素选择项ID (1-仓库 2-品牌)
  21380. type: integer
  21381. dgfactoryitemvalue:
  21382. description: 要素项值
  21383. type: string
  21384. itemtypename:
  21385. description: 要素项名称
  21386. type: string
  21387. optioncompare:
  21388. description: 选择比较串
  21389. type: string
  21390. warehouseid:
  21391. description: 仓库id
  21392. type: integer
  21393. wrfactortypeid:
  21394. description: 仓单要素ID
  21395. type: string
  21396. wrfactortypename:
  21397. description: 要素名称
  21398. type: string
  21399. wrfactortypename2:
  21400. description: 要素名称(不含仓库)
  21401. type: string
  21402. wrstandardcode:
  21403. description: 品类代码
  21404. type: string
  21405. wrstandardid:
  21406. description: 品类id
  21407. type: integer
  21408. wrstandardname:
  21409. description: 品类名称
  21410. type: string
  21411. type: object
  21412. models.WrFilterItem:
  21413. properties:
  21414. itemcode:
  21415. description: 代码
  21416. type: string
  21417. itemid:
  21418. description: 项id
  21419. type: integer
  21420. itemname:
  21421. description: 名称
  21422. type: string
  21423. itemtype:
  21424. description: 类型 1-品种 2-品类(商品) 3-仓库
  21425. type: integer
  21426. type: object
  21427. models.WrFinanceBuyApply:
  21428. properties:
  21429. applydate:
  21430. description: 申请时间
  21431. type: string
  21432. applystatus:
  21433. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21434. type: integer
  21435. applyuserid:
  21436. description: 申请人
  21437. type: integer
  21438. auditdate:
  21439. description: 审核时间
  21440. type: string
  21441. auditremark:
  21442. description: 审核备注
  21443. type: string
  21444. audituserid:
  21445. description: 审核人
  21446. type: integer
  21447. buyaccountid:
  21448. description: 买方资金账号
  21449. type: integer
  21450. buyorsell:
  21451. description: 买卖 - 0:买 1:卖
  21452. type: integer
  21453. buyuserid:
  21454. description: 买方用户ID
  21455. type: integer
  21456. buyusername:
  21457. description: 买方名称
  21458. type: string
  21459. buywrtradeorderid:
  21460. description: 融资方买委托单ID
  21461. type: string
  21462. deliverygoodscode:
  21463. description: 品种代码
  21464. type: string
  21465. deliverygoodsid:
  21466. description: 品种ID
  21467. type: integer
  21468. deliverygoodsname:
  21469. description: 品种名称
  21470. type: string
  21471. deliverymonth:
  21472. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21473. type: string
  21474. enumdicname:
  21475. description: 单位名称
  21476. type: string
  21477. financeaccountid:
  21478. description: 融资方资金帐户ID
  21479. type: integer
  21480. financeapplyid:
  21481. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21482. type: string
  21483. financeareauserid:
  21484. description: 融资方用户ID
  21485. type: string
  21486. financename:
  21487. description: 融出方名称
  21488. type: string
  21489. financetype:
  21490. description: 融资类型 1-融资回购
  21491. type: integer
  21492. financingdays:
  21493. description: 天数(天)
  21494. type: integer
  21495. freezebuymargin:
  21496. description: 冻结融资保证金(买方)
  21497. type: number
  21498. handleremark:
  21499. description: 处理备注
  21500. type: string
  21501. handlestatus:
  21502. description: 处理状态
  21503. type: integer
  21504. interestminlen:
  21505. description: 最小起息天数
  21506. type: integer
  21507. interestrate:
  21508. description: 利率
  21509. type: number
  21510. interestratemode:
  21511. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21512. type: integer
  21513. interestsettlemode:
  21514. description: 结息方式 - 1:按日结息 3:按月结息
  21515. type: integer
  21516. interestsettlevalue:
  21517. description: 结息方式值
  21518. type: integer
  21519. isautoloan:
  21520. description: 是否自动放款 - 0:手动 1:自动
  21521. type: integer
  21522. marginratio:
  21523. description: 保证金比率质押率 - [仓单质押]
  21524. type: number
  21525. marketid:
  21526. description: 市场ID
  21527. type: integer
  21528. minivalue:
  21529. description: 现货商品最小变动值
  21530. type: integer
  21531. optioncompare:
  21532. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21533. type: string
  21534. orderqty:
  21535. description: 委托数量(商品数量)
  21536. type: number
  21537. productdetailid:
  21538. description: 产品组合ID
  21539. type: integer
  21540. productid:
  21541. description: 金融产品ID
  21542. type: integer
  21543. productname:
  21544. description: 产品名称
  21545. type: string
  21546. remark:
  21547. description: 备注
  21548. type: string
  21549. scfcontractid:
  21550. description: 仓单回购合同ID
  21551. type: string
  21552. sellaccountid:
  21553. description: 卖方资金账号
  21554. type: integer
  21555. selluserid:
  21556. description: 卖方用户ID
  21557. type: integer
  21558. sellwrtradeorderid:
  21559. description: 卖方委托单ID
  21560. type: string
  21561. tradeamount:
  21562. description: 成交金额(借款金额)
  21563. type: number
  21564. tradedate:
  21565. description: 交易日(yyyyMMdd)
  21566. type: string
  21567. tradeprice:
  21568. description: 成交价格
  21569. type: number
  21570. warehouseid:
  21571. description: 仓库ID
  21572. type: integer
  21573. warehousename:
  21574. description: 仓库名称
  21575. type: string
  21576. wrfactortypeid:
  21577. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21578. type: string
  21579. wrfactortypename:
  21580. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21581. type: string
  21582. wrpricetype:
  21583. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21584. type: integer
  21585. wrstandardcode:
  21586. description: 现货商品代码
  21587. type: string
  21588. wrstandardid:
  21589. description: 现货商品ID
  21590. type: integer
  21591. wrstandardname:
  21592. description: 商品名称
  21593. type: string
  21594. wrtypename:
  21595. description: 商品
  21596. type: string
  21597. type: object
  21598. models.WrFriendApply:
  21599. properties:
  21600. applicantid:
  21601. description: 申请人
  21602. type: integer
  21603. applyname:
  21604. description: 申请人名称
  21605. type: string
  21606. applysrc:
  21607. description: 申请来源 - 1:管理端 2:终端
  21608. type: integer
  21609. applystatus:
  21610. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21611. type: integer
  21612. applytime:
  21613. description: 申请时间
  21614. type: string
  21615. auditname:
  21616. description: 审核人名称
  21617. type: string
  21618. auditorid:
  21619. description: 审核人
  21620. type: integer
  21621. auditremark:
  21622. description: 审核备注
  21623. type: string
  21624. auditsrc:
  21625. description: 审核来源 - 1:管理端 2:终端
  21626. type: integer
  21627. audittime:
  21628. description: 审核时间
  21629. type: string
  21630. friendapplyid:
  21631. description: 申请ID(SEQ_FRIENDAPPLY)
  21632. type: string
  21633. friendname:
  21634. description: 好友名字(已脱敏)
  21635. type: string
  21636. frienduserid:
  21637. description: 好友用户ID
  21638. type: string
  21639. remark:
  21640. description: 备注
  21641. type: string
  21642. userid:
  21643. description: 申请人用户ID
  21644. type: integer
  21645. type: object
  21646. models.WrFtDeliveryGoods:
  21647. properties:
  21648. deliverygoodscode:
  21649. description: 品种代码
  21650. type: string
  21651. deliverygoodsid:
  21652. description: 品种ID
  21653. type: integer
  21654. deliverygoodsname:
  21655. description: 品种名称
  21656. type: string
  21657. wdlst:
  21658. description: 商品列表
  21659. items:
  21660. $ref: '#/definitions/models.WrFtWrstandard'
  21661. type: array
  21662. type: object
  21663. models.WrFtWrstandard:
  21664. properties:
  21665. enumdicname:
  21666. description: 单位名称
  21667. type: string
  21668. minivalue:
  21669. description: 最小变动值
  21670. type: integer
  21671. wrstandardcode:
  21672. description: 现货商品代码
  21673. type: string
  21674. wrstandardid:
  21675. description: 现货商品ID
  21676. type: integer
  21677. wrstandardname:
  21678. description: 商品名称
  21679. type: string
  21680. type: object
  21681. models.WrGoodsInfo:
  21682. properties:
  21683. haswr:
  21684. description: 0:仓单预售 1:仓单贸易
  21685. type: integer
  21686. lstitem:
  21687. description: 商品信息项
  21688. items:
  21689. $ref: '#/definitions/models.WrTypeItem'
  21690. type: array
  21691. lststep:
  21692. description: 履约规则
  21693. items:
  21694. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21695. type: array
  21696. marketid:
  21697. description: 市场id
  21698. type: integer
  21699. type: object
  21700. models.WrGoodsPerformanceStep:
  21701. properties:
  21702. autoid:
  21703. description: AutoID
  21704. type: integer
  21705. isauto:
  21706. description: 是否自动 - 0:不自动 1:自动
  21707. type: integer
  21708. remark:
  21709. description: 备注
  21710. type: string
  21711. stepdate:
  21712. description: 天数信息(T+N)
  21713. type: string
  21714. stepdays:
  21715. description: 距离上一步天数
  21716. type: integer
  21717. stepindex:
  21718. description: 步骤序号
  21719. type: integer
  21720. stepinfo:
  21721. description: 步骤信息(步骤名称+步骤值)
  21722. type: string
  21723. steptypeid:
  21724. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21725. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21726. type: integer
  21727. steptypename:
  21728. description: 步骤名称
  21729. type: string
  21730. stepvalue:
  21731. description: 步骤值
  21732. type: number
  21733. templateid:
  21734. description: 履约计划模板ID
  21735. type: integer
  21736. type: object
  21737. models.WrHoldLB:
  21738. properties:
  21739. accountid:
  21740. description: 持有人帐户ID
  21741. type: integer
  21742. bannerpicurl:
  21743. description: Banner图
  21744. type: string
  21745. createtime:
  21746. description: 创建时间(过户时间)
  21747. type: string
  21748. deliverygoodscode:
  21749. description: 品种代码
  21750. type: string
  21751. deliverygoodsid:
  21752. description: 品种ID
  21753. type: integer
  21754. deliverygoodsname:
  21755. description: 品种名称
  21756. type: string
  21757. enableqty:
  21758. description: 可用数量
  21759. type: number
  21760. enumdicname:
  21761. description: 单位名称
  21762. type: string
  21763. freezerqty:
  21764. description: 冻结数量
  21765. type: number
  21766. ladingbillid:
  21767. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21768. type: string
  21769. minivalue:
  21770. description: 现货商品最小变动值
  21771. type: integer
  21772. optioncompare:
  21773. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21774. type: string
  21775. parentsubnum:
  21776. description: 拆分父子单号
  21777. type: integer
  21778. pledgeqty:
  21779. description: 质押数量
  21780. type: number
  21781. qty:
  21782. description: 数量
  21783. type: number
  21784. spotgoodsprice:
  21785. description: 参考价(THJ)
  21786. type: number
  21787. subnum:
  21788. description: 提单子单号
  21789. type: integer
  21790. thumurls:
  21791. description: 缩略图
  21792. type: string
  21793. tradedate:
  21794. description: 交易日(yyyyMMdd)
  21795. type: string
  21796. userid:
  21797. description: 持有人ID
  21798. type: integer
  21799. warehouseid:
  21800. description: 仓库ID
  21801. type: integer
  21802. warehousename:
  21803. description: 仓库名称
  21804. type: string
  21805. wrfactortypeid:
  21806. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21807. type: string
  21808. wrfactortypename:
  21809. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21810. type: string
  21811. wrholdeno:
  21812. description: 仓单编号
  21813. type: string
  21814. wrid:
  21815. description: 仓单变更ID
  21816. type: string
  21817. wrstandardcode:
  21818. description: 现货商品代码
  21819. type: string
  21820. wrstandardid:
  21821. description: 现货商品ID
  21822. type: integer
  21823. wrstandardname:
  21824. description: 商品名称
  21825. type: string
  21826. wrtypename:
  21827. description: 商品
  21828. type: string
  21829. type: object
  21830. models.WrMarketTradeConfig:
  21831. properties:
  21832. basisdownratio:
  21833. description: 浮动价基差下限比例(仓单贸易)
  21834. type: number
  21835. basisupratio:
  21836. description: 浮动价基差上限比例(仓单贸易)
  21837. type: number
  21838. buychargealgorithm:
  21839. description: 买方手续费收取方式 1:比率 2:固定
  21840. type: integer
  21841. buychargealgorithm2:
  21842. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21843. type: integer
  21844. buychargealgorithmvalue:
  21845. description: 买方手续费设置值(交易所部分)
  21846. type: number
  21847. buychargealgorithmvalue2:
  21848. description: 买方手续费设置值(会员部分)
  21849. type: number
  21850. buychargealgorithmvalue3:
  21851. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21852. type: number
  21853. buychargealgorithmvalue4:
  21854. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21855. type: number
  21856. buyfirstmarginalgorithm:
  21857. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21858. type: integer
  21859. buyfirstmarginvalue:
  21860. description: 买方出价保证金设置值 - [竞拍]
  21861. type: number
  21862. buymarginalgorithm:
  21863. description: 买方保证金方式 - 1:比率 2:固定
  21864. type: integer
  21865. buymarginvalue:
  21866. description: 买方保证金设置值
  21867. type: number
  21868. buyreleaseratio:
  21869. description: 买方释放比率[2:分步履约]
  21870. type: number
  21871. executemode:
  21872. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21873. type: integer
  21874. executeside:
  21875. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21876. type: integer
  21877. failedchargealgorithm:
  21878. description: 流拍手续费收取方式 1:比率 2:固定
  21879. type: integer
  21880. failedchargevalue:
  21881. description: 流拍手续费设置值
  21882. type: number
  21883. failedchargevalue2:
  21884. description: 流拍卖方手续费设置值
  21885. type: number
  21886. holddays:
  21887. description: 合同期限[2:分步履约]
  21888. type: integer
  21889. listingmode:
  21890. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21891. type: integer
  21892. marketid:
  21893. description: 市场ID-仓单贸易、竞拍、预售
  21894. type: integer
  21895. minqty:
  21896. description: 最小执行量[2:分步履约]
  21897. type: number
  21898. modifierid:
  21899. description: 修改人
  21900. type: integer
  21901. nowrquotaflag:
  21902. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21903. type: integer
  21904. performancetempid:
  21905. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21906. 立即执行(-1)
  21907. type: integer
  21908. performancetempid2:
  21909. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21910. 立即执行
  21911. type: integer
  21912. performancetempid2s:
  21913. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21914. - 履约方式: 立即执行
  21915. type: string
  21916. performancetempids:
  21917. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21918. - 履约方式: 立即执行(-1)
  21919. type: string
  21920. performanceway:
  21921. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21922. type: integer
  21923. sellchargealgorithm:
  21924. description: 卖方手续费收取方式 1:比率 2:固定
  21925. type: integer
  21926. sellchargealgorithm2:
  21927. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21928. type: integer
  21929. sellchargealgorithmvalue:
  21930. description: 卖方手续费设置值(交易所部分)
  21931. type: number
  21932. sellchargealgorithmvalue2:
  21933. description: 卖方手续费设置值(会员部分)
  21934. type: number
  21935. sellchargealgorithmvalue3:
  21936. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21937. type: number
  21938. sellchargealgorithmvalue4:
  21939. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21940. type: number
  21941. sellmarginalgorithm:
  21942. description: 卖方保证金方式 - 1:比率 2:固定
  21943. type: integer
  21944. sellmarginvalue:
  21945. description: 卖方保证金设置值
  21946. type: number
  21947. sellmarginvalue2:
  21948. description: 卖方保证金设置值(无仓单)
  21949. type: number
  21950. sellreleaseratio:
  21951. description: 卖方释放比率[2:分步履约]
  21952. type: number
  21953. updatetime:
  21954. description: 更新时间
  21955. type: string
  21956. type: object
  21957. models.WrOrderDetail:
  21958. properties:
  21959. accountid:
  21960. description: 交易账号(资金账号)
  21961. type: integer
  21962. allfriendsflag:
  21963. description: 是否全好友可见 - 0:否 1:是
  21964. type: integer
  21965. amount:
  21966. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  21967. type: number
  21968. bannerpicurl:
  21969. description: Banner图
  21970. type: string
  21971. begindate:
  21972. description: 开始交易日(yyyymmdd)
  21973. type: string
  21974. buyorsell:
  21975. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21976. type: integer
  21977. canbargain:
  21978. description: 是否可议价 - 0:不可 1:可
  21979. type: integer
  21980. cancelqty:
  21981. description: 撤销数量
  21982. type: number
  21983. canpart:
  21984. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  21985. type: integer
  21986. delistminqty:
  21987. description: 起摘数量
  21988. type: integer
  21989. deliverygoodscode:
  21990. description: 品种代码
  21991. type: string
  21992. deliverygoodsid:
  21993. description: 品种ID
  21994. type: integer
  21995. deliverygoodsname:
  21996. description: 品种名称
  21997. type: string
  21998. deliverymonth:
  21999. description: 交收月
  22000. type: string
  22001. enddate:
  22002. description: 结束交易日(yyyymmdd)
  22003. type: string
  22004. enumdicname:
  22005. description: 单位名称
  22006. type: string
  22007. fixedprice:
  22008. description: 固定价格 - [挂牌]
  22009. type: number
  22010. freezecharge:
  22011. description: 冻结手续费
  22012. type: number
  22013. freezemargin:
  22014. description: 冻结保证金(保证金)
  22015. type: number
  22016. futupricemove:
  22017. description: 期货升贴水
  22018. type: number
  22019. futushow:
  22020. description: 期货合约/升贴水
  22021. type: string
  22022. goodscode:
  22023. description: 期货合约
  22024. type: string
  22025. goodsid:
  22026. description: 期货商品id
  22027. type: integer
  22028. goodsname:
  22029. description: 商品名称
  22030. type: string
  22031. haswr:
  22032. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22033. type: integer
  22034. isspecified:
  22035. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22036. type: integer
  22037. ladingbillid:
  22038. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22039. type: string
  22040. marginvalue:
  22041. description: 保证金设置值(履约保证金)
  22042. type: number
  22043. marketid:
  22044. description: 市场ID
  22045. type: integer
  22046. matchusername:
  22047. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22048. type: string
  22049. minivalue:
  22050. description: 现货商品最小变动值
  22051. type: integer
  22052. optioncompare:
  22053. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22054. type: string
  22055. orderqty:
  22056. description: 委托数量
  22057. type: number
  22058. ordertime:
  22059. description: 委托时间(挂牌时间)
  22060. type: string
  22061. performancetemplateid:
  22062. description: 履约模板id
  22063. type: integer
  22064. pricemove:
  22065. description: 升贴水(浮动价时填写) - [挂牌]
  22066. type: number
  22067. taname:
  22068. description: 交易用户名称(资金账号名称)
  22069. type: string
  22070. thumurls:
  22071. description: 缩略图
  22072. type: string
  22073. tradedate:
  22074. description: 交易日(yyyyMMdd)
  22075. type: string
  22076. tradeprice:
  22077. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22078. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22079. type: number
  22080. tradeqty:
  22081. description: 成交数量
  22082. type: number
  22083. unitid:
  22084. description: 现货商品单位ID
  22085. type: integer
  22086. userid:
  22087. description: 用户ID
  22088. type: integer
  22089. validtime:
  22090. description: 挂牌有效期
  22091. type: string
  22092. validtype:
  22093. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22094. type: integer
  22095. warehouseid:
  22096. description: 仓库ID
  22097. type: integer
  22098. warehousename:
  22099. description: 仓库名称
  22100. type: string
  22101. wrfactortypeid:
  22102. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22103. type: string
  22104. wrfactortypename:
  22105. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22106. type: string
  22107. wrpricetype:
  22108. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22109. type: integer
  22110. wrstandardcode:
  22111. description: 现货商品代码
  22112. type: string
  22113. wrstandardid:
  22114. description: 现货商品ID
  22115. type: integer
  22116. wrstandardname:
  22117. description: 商品名称
  22118. type: string
  22119. wrtradeorderid:
  22120. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22121. type: string
  22122. wrtradeorderstatus:
  22123. 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:撤单解冻贷款失败
  22124. type: integer
  22125. wrtradetype:
  22126. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22127. type: integer
  22128. wrtypename:
  22129. description: 商品
  22130. type: string
  22131. type: object
  22132. models.WrOrderQuote:
  22133. properties:
  22134. bannerpicurl:
  22135. description: Banner图
  22136. type: string
  22137. buyprice:
  22138. description: 买价
  22139. type: number
  22140. buypricemove:
  22141. description: 买升贴水(基差)
  22142. type: number
  22143. buyqty:
  22144. description: 买量
  22145. type: number
  22146. deliverygoodscode:
  22147. description: 品种代码
  22148. type: string
  22149. deliverygoodsid:
  22150. description: 品种id
  22151. type: integer
  22152. deliverygoodsname:
  22153. description: 品种名称
  22154. type: string
  22155. deliverymonth:
  22156. description: 交收月
  22157. type: string
  22158. enumdicname:
  22159. description: 单位名称
  22160. type: string
  22161. goodscode:
  22162. description: 商品合约(浮动价列表才有)
  22163. type: string
  22164. goodsid:
  22165. description: 商品id(浮动价列表才有)
  22166. type: integer
  22167. minivalue:
  22168. description: 现货商品最小变动值
  22169. type: integer
  22170. pictureurls:
  22171. description: 详情图片(逗号分隔)
  22172. type: string
  22173. sellprice:
  22174. description: 卖价
  22175. type: number
  22176. sellpricemove:
  22177. description: 卖升贴水(基差)
  22178. type: number
  22179. sellqty:
  22180. description: 卖量
  22181. type: number
  22182. spotgoodsprice:
  22183. description: 参考价(THJ)
  22184. type: number
  22185. thumurls:
  22186. description: 缩略图片(1:1)(逗号分隔)
  22187. type: string
  22188. warehousecode:
  22189. description: 仓库代码
  22190. type: string
  22191. warehouseid:
  22192. description: 仓库id
  22193. type: integer
  22194. warehousename:
  22195. description: 仓库名称
  22196. type: string
  22197. wrfactortypeid:
  22198. description: 仓单要素id
  22199. type: string
  22200. wrfactortypename:
  22201. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22202. type: string
  22203. wrgoodsname:
  22204. description: 商品(商品名称+仓库要素名称 拼接)
  22205. type: string
  22206. wrstandardcode:
  22207. description: 商品代码
  22208. type: string
  22209. wrstandardid:
  22210. description: 商品id
  22211. type: integer
  22212. wrstandardname:
  22213. description: 商品名称
  22214. type: string
  22215. type: object
  22216. models.WrOrderQuoteDetail:
  22217. properties:
  22218. buyorsell:
  22219. description: 买卖 - 0:买 1:卖
  22220. type: integer
  22221. delistminqty:
  22222. description: 起摘数量
  22223. type: number
  22224. deliverymonth:
  22225. description: 交收月
  22226. type: string
  22227. enumdicname:
  22228. description: 单位名称
  22229. type: string
  22230. fixedprice:
  22231. description: 买(卖)价
  22232. type: number
  22233. marketid:
  22234. description: 市场id
  22235. type: integer
  22236. minivalue:
  22237. description: 现货商品最小变动值
  22238. type: integer
  22239. orderqty:
  22240. description: 买(卖)量(=委托量-成交量)
  22241. type: number
  22242. ordertime:
  22243. description: 委托时间
  22244. type: string
  22245. pricemove:
  22246. description: 买(卖)升贴水- 基差
  22247. type: number
  22248. userid:
  22249. description: 购买方(销售方)用户ID
  22250. type: integer
  22251. username:
  22252. description: 购买方(销售方)
  22253. type: string
  22254. wrtradeorderid:
  22255. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22256. type: string
  22257. type: object
  22258. models.WrOutInApply:
  22259. properties:
  22260. address:
  22261. description: 详细地址
  22262. type: string
  22263. applyid:
  22264. description: 申请单id
  22265. type: string
  22266. applystatus:
  22267. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22268. 8:已撤销
  22269. type: integer
  22270. applytime:
  22271. description: 申请时间
  22272. type: string
  22273. applytype:
  22274. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22275. type: integer
  22276. appointmentmodel:
  22277. description: 预约方式 - 1:物流 2:自送 3:自提
  22278. type: integer
  22279. appointmentmodeldisplay:
  22280. description: 预约方式(显示枚举)
  22281. type: string
  22282. appointmentremark:
  22283. description: 申请备注
  22284. type: string
  22285. bannerpicurl:
  22286. description: Banner图
  22287. type: string
  22288. begindate:
  22289. description: 开始交易日(yyyymmdd)
  22290. type: string
  22291. contactname:
  22292. description: 联系人
  22293. type: string
  22294. contactnum:
  22295. description: 联系方式
  22296. type: string
  22297. deliverygoodscode:
  22298. description: 品种代码
  22299. type: string
  22300. deliverygoodsid:
  22301. description: 品种ID
  22302. type: integer
  22303. deliverygoodsname:
  22304. description: 品种名称
  22305. type: string
  22306. enddate:
  22307. description: 结束交易日(yyyymmdd)
  22308. type: string
  22309. enumdicname:
  22310. description: 单位名称
  22311. type: string
  22312. expresscompany:
  22313. description: 物流公司
  22314. type: string
  22315. expressnum:
  22316. description: 物流单号
  22317. type: string
  22318. minivalue:
  22319. description: 现货商品最小变动值
  22320. type: integer
  22321. optioncompare:
  22322. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22323. type: string
  22324. qty:
  22325. description: 数量
  22326. type: integer
  22327. userid:
  22328. description: 用户id
  22329. type: integer
  22330. warehouseid:
  22331. description: 仓库ID
  22332. type: integer
  22333. warehousename:
  22334. description: 仓库名称
  22335. type: string
  22336. wrfactortypeid:
  22337. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22338. type: string
  22339. wrfactortypename:
  22340. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22341. type: string
  22342. wrstandardcode:
  22343. description: 现货商品代码
  22344. type: string
  22345. wrstandardid:
  22346. description: 现货商品ID
  22347. type: integer
  22348. wrstandardname:
  22349. description: 商品名称
  22350. type: string
  22351. wrtypename:
  22352. description: 商品
  22353. type: string
  22354. type: object
  22355. models.WrPerformancePlan:
  22356. properties:
  22357. activatemonth:
  22358. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22359. type: string
  22360. amount:
  22361. description: 履约金额(总金额)
  22362. type: number
  22363. begindate:
  22364. description: 开始交易日(yyyymmdd)
  22365. type: string
  22366. buyaccountid:
  22367. description: 买方账号
  22368. type: integer
  22369. buyerfreezeamount:
  22370. description: 履约冻结(买履约)
  22371. type: number
  22372. buyerfreezeamountremain:
  22373. description: 履约冻结剩余(买履约)
  22374. type: number
  22375. buyorsell:
  22376. description: 买卖方向 0-买 1-卖
  22377. type: integer
  22378. buypaidamount:
  22379. description: 买方已冻/已扣金额 (已付金额)
  22380. type: number
  22381. buyusername:
  22382. description: 买方名字
  22383. type: string
  22384. contractid:
  22385. description: 合同ID
  22386. type: integer
  22387. createtime:
  22388. description: 创建时间
  22389. type: string
  22390. creatorid:
  22391. description: 创建人
  22392. type: integer
  22393. curstepdeadline:
  22394. description: 当前步骤到期时间
  22395. type: string
  22396. curstepid:
  22397. description: 当前步骤ID
  22398. type: string
  22399. curstepname:
  22400. description: 当前步骤名称
  22401. type: string
  22402. deliverygoodscode:
  22403. description: 品种代码
  22404. type: string
  22405. deliverygoodsid:
  22406. description: 品种ID
  22407. type: integer
  22408. deliverygoodsname:
  22409. description: 品种名称
  22410. type: string
  22411. enddate:
  22412. description: 结束交易日(yyyymmdd)
  22413. type: string
  22414. enumdicname:
  22415. description: 单位名称
  22416. type: string
  22417. expressfee:
  22418. description: 运费
  22419. type: number
  22420. expressfeeconfirmed:
  22421. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22422. type: integer
  22423. hasovershort:
  22424. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22425. type: integer
  22426. haswr:
  22427. description: 类型 0-仓单预售 1-仓单贸易
  22428. type: integer
  22429. marketid:
  22430. description: 市场ID
  22431. type: integer
  22432. middleaccountid:
  22433. description: 中间商资金账号ID
  22434. type: integer
  22435. middleuserid:
  22436. description: 中间商用户ID
  22437. type: integer
  22438. minivalue:
  22439. description: 现货商品最小变动值
  22440. type: integer
  22441. optioncompare:
  22442. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22443. type: string
  22444. overshortamount:
  22445. description: 溢短金额
  22446. type: number
  22447. overshortqty:
  22448. description: 溢短数量
  22449. type: number
  22450. paymenttype:
  22451. description: 付款方式 - 1:冻结 2:扣款
  22452. type: integer
  22453. performanceplanid:
  22454. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22455. type: string
  22456. performancestatus:
  22457. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22458. 9:超时待处理 10:超时关闭
  22459. type: integer
  22460. performancetype:
  22461. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22462. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22463. type: integer
  22464. qty:
  22465. description: 履约数量
  22466. type: number
  22467. relatedorderid:
  22468. description: 关联单号(履约类型的关联单号)
  22469. type: string
  22470. remark:
  22471. description: 备注
  22472. type: string
  22473. sellaccountid:
  22474. description: 卖方账号
  22475. type: integer
  22476. sellerfreezeamount:
  22477. description: 履约冻结(卖履约)
  22478. type: number
  22479. sellerfreezeamountremain:
  22480. description: 履约冻结剩余(卖履约)
  22481. type: number
  22482. sellreceivedamount:
  22483. description: 卖方已收金额
  22484. type: number
  22485. sellusername:
  22486. description: 卖方名字
  22487. type: string
  22488. shipremark:
  22489. description: 发货备注[物流单号]
  22490. type: string
  22491. starttime:
  22492. description: 开始时间
  22493. type: string
  22494. steptypeid:
  22495. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22496. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22497. type: integer
  22498. typename:
  22499. description: 履约类型 名称
  22500. type: string
  22501. unpaidamount:
  22502. description: 剩余款(待支付金额)
  22503. type: number
  22504. userid:
  22505. description: 用户id
  22506. type: integer
  22507. warehouseid:
  22508. description: 仓库ID
  22509. type: integer
  22510. warehousename:
  22511. description: 仓库名称
  22512. type: string
  22513. wrfactortypeid:
  22514. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22515. type: string
  22516. wrfactortypename:
  22517. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22518. type: string
  22519. wrstandardcode:
  22520. description: 现货商品代码
  22521. type: string
  22522. wrstandardid:
  22523. description: 现货商品ID
  22524. type: integer
  22525. wrstandardname:
  22526. description: 商品名称
  22527. type: string
  22528. wrtransferuserid:
  22529. description: 仓单受让用户
  22530. type: integer
  22531. wrtypename:
  22532. description: 商品
  22533. type: string
  22534. required:
  22535. - userid
  22536. type: object
  22537. models.WrPerformancePlanStep:
  22538. properties:
  22539. delaydays:
  22540. description: 延期申请天数
  22541. type: integer
  22542. deliverygoodscode:
  22543. description: 品种代码
  22544. type: string
  22545. deliverygoodsid:
  22546. description: 品种ID
  22547. type: integer
  22548. deliverygoodsname:
  22549. description: 品种名称
  22550. type: string
  22551. endtime:
  22552. description: 结束日期
  22553. type: string
  22554. enumdicname:
  22555. description: 单位名称
  22556. type: string
  22557. executeside:
  22558. description: 步骤执行方 - 1:买方 2:卖方
  22559. type: integer
  22560. handlestatus:
  22561. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22562. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22563. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22564. type: integer
  22565. isauto:
  22566. description: 是否自动 - 0:不自动 1:自动
  22567. type: integer
  22568. islastreceivestep:
  22569. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22570. type: integer
  22571. minivalue:
  22572. description: 现货商品最小变动值
  22573. type: integer
  22574. optioncompare:
  22575. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22576. type: string
  22577. overdays:
  22578. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22579. type: integer
  22580. performancestepid:
  22581. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22582. type: string
  22583. planid:
  22584. description: 所属履约计划ID
  22585. type: string
  22586. realamount:
  22587. description: 实际完成金额
  22588. type: number
  22589. relatedorderid:
  22590. description: 关联单号
  22591. type: string
  22592. remaindays:
  22593. description: 剩余天数
  22594. type: integer
  22595. remark:
  22596. description: 错误备注
  22597. type: string
  22598. starttime:
  22599. description: 开始日期
  22600. type: string
  22601. stepamount:
  22602. description: 步骤金额
  22603. type: number
  22604. stepdays:
  22605. description: 距离上一步天数(分钟)
  22606. type: integer
  22607. stepindex:
  22608. description: 步骤序号
  22609. type: integer
  22610. steplanchtype:
  22611. description: 步骤启动类型 - 1:系统自动 2:手动
  22612. type: integer
  22613. stepremark:
  22614. description: 步骤备注
  22615. type: string
  22616. stepstatus:
  22617. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22618. type: integer
  22619. steptypeid:
  22620. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22621. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22622. type: integer
  22623. steptypename:
  22624. description: 步骤名称
  22625. type: string
  22626. stepvalue:
  22627. description: 步骤值
  22628. type: number
  22629. warehouseid:
  22630. description: 仓库ID
  22631. type: integer
  22632. warehousename:
  22633. description: 仓库名称
  22634. type: string
  22635. wrfactortypeid:
  22636. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22637. type: string
  22638. wrfactortypename:
  22639. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22640. type: string
  22641. wrstandardcode:
  22642. description: 现货商品代码
  22643. type: string
  22644. wrstandardid:
  22645. description: 现货商品ID
  22646. type: integer
  22647. wrstandardname:
  22648. description: 商品名称
  22649. type: string
  22650. wrtypename:
  22651. description: 商品
  22652. type: string
  22653. type: object
  22654. models.WrPerformanceStepType:
  22655. properties:
  22656. canauto:
  22657. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22658. type: integer
  22659. steptypeid:
  22660. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22661. type: integer
  22662. steptypename:
  22663. description: 步骤类型名称
  22664. type: string
  22665. type: object
  22666. models.WrPerformanceTemplateEx:
  22667. properties:
  22668. autoid:
  22669. description: AutoID 模板id
  22670. type: integer
  22671. createtime:
  22672. description: 创建时间
  22673. type: string
  22674. creatorid:
  22675. description: 创建人
  22676. type: integer
  22677. lstStep:
  22678. description: 步骤信息列表
  22679. items:
  22680. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22681. type: array
  22682. paymenttype:
  22683. description: 支付方式 - 1:冻结 2:扣款
  22684. type: integer
  22685. takemode:
  22686. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22687. type: integer
  22688. templatename:
  22689. description: 模板名称
  22690. type: string
  22691. templatetype:
  22692. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22693. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22694. type: integer
  22695. userid:
  22696. description: 所属用户
  22697. type: integer
  22698. type: object
  22699. models.WrPosition:
  22700. properties:
  22701. accountid:
  22702. description: 帐户ID
  22703. type: integer
  22704. buyexcuteqty:
  22705. description: 采购履约中数量
  22706. type: number
  22707. creditcurqty:
  22708. description: 授信当前数量(预售仓单:预售当前量)
  22709. type: number
  22710. creditenableqty:
  22711. description: '授信可用数量(预售仓单: 可用数量)'
  22712. type: number
  22713. creditfreezeqty:
  22714. description: '授信冻结数量(预售仓单: 当前数量)'
  22715. type: number
  22716. credittotalqty:
  22717. description: 授信总数量(预售仓单:预售总量)
  22718. type: number
  22719. credittradeqty:
  22720. description: 授信成交数量(预售仓单:成交总量)
  22721. type: number
  22722. deliverygoodscode:
  22723. description: 品种代码
  22724. type: string
  22725. deliverygoodsid:
  22726. description: 品种ID
  22727. type: integer
  22728. deliverygoodsname:
  22729. description: 品种名称
  22730. type: string
  22731. enalbeqty:
  22732. description: 可用数量
  22733. type: number
  22734. enumdicname:
  22735. description: 单位名称
  22736. type: string
  22737. freezeqty:
  22738. description: 总冻结数量
  22739. type: number
  22740. haswr:
  22741. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22742. type: integer
  22743. minivalue:
  22744. description: 现货商品最小变动值
  22745. type: integer
  22746. modifytime:
  22747. description: 修改时间(过户时间)
  22748. type: string
  22749. optioncompare:
  22750. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22751. type: string
  22752. pledgeqty:
  22753. description: 质押数量
  22754. type: number
  22755. querytype:
  22756. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22757. type: integer
  22758. sellexcuteqty:
  22759. description: 销售履约中数量
  22760. type: number
  22761. totalqty:
  22762. description: 总数量(库存数量)
  22763. type: number
  22764. warehouseid:
  22765. description: 仓库ID
  22766. type: integer
  22767. warehousename:
  22768. description: 仓库名称
  22769. type: string
  22770. wrfactortypeid:
  22771. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22772. type: string
  22773. wrfactortypename:
  22774. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22775. type: string
  22776. wrpositionid:
  22777. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22778. type: string
  22779. wrpositionno:
  22780. description: 仓单编号
  22781. type: string
  22782. wrstandardcode:
  22783. description: 现货商品代码
  22784. type: string
  22785. wrstandardid:
  22786. description: 现货商品ID
  22787. type: integer
  22788. wrstandardname:
  22789. description: 商品名称
  22790. type: string
  22791. wrtypename:
  22792. description: 商品
  22793. type: string
  22794. wruserid:
  22795. description: 持有人ID
  22796. type: integer
  22797. type: object
  22798. models.WrPreSaleInfo:
  22799. properties:
  22800. bannerpicurl:
  22801. description: Banner图
  22802. type: string
  22803. baseqty:
  22804. description: 中签基数
  22805. type: number
  22806. createtime:
  22807. description: 创建时间
  22808. type: string
  22809. deliverygoodsid:
  22810. description: 现货品种ID
  22811. type: integer
  22812. enddate:
  22813. description: 预售结束日期
  22814. type: string
  22815. enumdicname:
  22816. description: 单位名称
  22817. type: string
  22818. lotteryflag:
  22819. description: 摇号标识 - 0:未摇号 1:已摇号
  22820. type: integer
  22821. lotteryqty:
  22822. description: 摇号总量
  22823. type: number
  22824. luckyqty:
  22825. description: 已中签量
  22826. type: number
  22827. marketid:
  22828. description: 市场ID
  22829. type: integer
  22830. maxbuyqty:
  22831. description: 单人最大申购量
  22832. type: number
  22833. maxluckyqty:
  22834. description: 单人最大中签量
  22835. type: number
  22836. pictureurls:
  22837. description: 详情图片(逗号分隔)
  22838. type: string
  22839. placeqty:
  22840. description: 已配售量
  22841. type: number
  22842. presaleapplyid:
  22843. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22844. example: "0"
  22845. type: string
  22846. presaleqty:
  22847. description: 预售总量
  22848. type: number
  22849. presalestatus:
  22850. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22851. type: integer
  22852. sellaccountid:
  22853. description: 发行方资金账户ID
  22854. type: integer
  22855. selluserid:
  22856. description: 发行方用户ID
  22857. type: integer
  22858. sellwrtradeorderid:
  22859. description: 发行方卖委托单ID
  22860. type: string
  22861. startdate:
  22862. description: 预售开始日期
  22863. type: string
  22864. takestartdate:
  22865. description: 提货开始日期
  22866. type: string
  22867. thumurls:
  22868. description: 缩略图片(1:1)(逗号分隔)
  22869. type: string
  22870. tradedate:
  22871. description: 交易日
  22872. type: string
  22873. unitid:
  22874. description: 单位ID
  22875. type: integer
  22876. unitprice:
  22877. description: 商品单价
  22878. type: number
  22879. username:
  22880. description: 发行方用户名称
  22881. type: string
  22882. warehousecode:
  22883. description: 仓库代码(仓库简称)
  22884. type: string
  22885. warehouseid:
  22886. description: 仓库ID
  22887. type: integer
  22888. warehousename:
  22889. description: 仓库名称
  22890. type: string
  22891. wrfactortypeid:
  22892. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22893. example: "0"
  22894. type: string
  22895. wrstandardid:
  22896. description: 现货商品ID
  22897. type: integer
  22898. wrstandardname:
  22899. description: 现货商品名称
  22900. type: string
  22901. type: object
  22902. models.WrQuoteOrderMyq:
  22903. properties:
  22904. buyorsell:
  22905. description: 买卖 - 0:买 1:卖
  22906. type: integer
  22907. canbargain:
  22908. description: 是否可议价 - 0:不可 1:可
  22909. type: integer
  22910. canpart:
  22911. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22912. type: integer
  22913. delistminqty:
  22914. description: 起摘数量
  22915. type: number
  22916. deliverygoodscode:
  22917. description: 品种代码
  22918. type: string
  22919. deliverygoodsid:
  22920. description: 品种ID
  22921. type: integer
  22922. deliverygoodsname:
  22923. description: 品种名称
  22924. type: string
  22925. deliverymonth:
  22926. description: 交收月
  22927. type: string
  22928. enumdicname:
  22929. description: 单位名称
  22930. type: string
  22931. fixedprice:
  22932. description: 买(卖)价
  22933. type: number
  22934. goodscode:
  22935. description: 商品合约代码
  22936. type: string
  22937. marginflag:
  22938. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22939. type: integer
  22940. marginvalue:
  22941. description: 保证金设置值
  22942. type: number
  22943. minivalue:
  22944. description: 现货商品最小变动值
  22945. type: integer
  22946. orderqty:
  22947. description: 买(卖)量(=委托量-成交量)
  22948. type: number
  22949. ordertime:
  22950. description: 委托时间
  22951. type: string
  22952. performancetemplateid:
  22953. description: 履约模板id
  22954. type: integer
  22955. pricemove:
  22956. description: 买(卖)升贴水- 基差
  22957. type: number
  22958. templatename:
  22959. description: 履约模板名称
  22960. type: string
  22961. userid:
  22962. description: 购买方(销售方)用户ID
  22963. type: integer
  22964. username:
  22965. description: 购买方(销售方)
  22966. type: string
  22967. validtime:
  22968. description: 有效期限
  22969. type: string
  22970. validtype:
  22971. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22972. type: integer
  22973. warehousename:
  22974. description: 仓库名称
  22975. type: string
  22976. wrfactortypeid:
  22977. description: 仓单要素id
  22978. type: string
  22979. wrstandardcode:
  22980. description: 现货商品代码
  22981. type: string
  22982. wrstandardid:
  22983. description: 现货商品ID
  22984. type: integer
  22985. wrstandardname:
  22986. description: 商品名称
  22987. type: string
  22988. wrtradeorderid:
  22989. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22990. type: string
  22991. wrtypename:
  22992. description: 商品
  22993. type: string
  22994. type: object
  22995. models.WrReckonSpotGoodsTradeSum:
  22996. properties:
  22997. begindate:
  22998. description: 开始日期(结果含开始日期) yyyymmdd
  22999. type: string
  23000. enddate:
  23001. description: 结束日期(结果含结束日期) yyyymmdd
  23002. type: string
  23003. istoday:
  23004. description: 是否当日
  23005. type: boolean
  23006. marketid:
  23007. description: 市场ID
  23008. type: integer
  23009. price:
  23010. description: 价格 = 日成交金额 / 日成交数量
  23011. type: string
  23012. reckondate:
  23013. description: 日期 格式 yyyymmdd
  23014. type: string
  23015. tradeamount:
  23016. description: 日成交金额(当日单方向成交金额)
  23017. type: number
  23018. tradeqty:
  23019. description: 日成交数量(当日单方向成交数量)
  23020. type: number
  23021. wrstandardid:
  23022. description: 现货商品ID
  23023. type: integer
  23024. type: object
  23025. models.WrScfContract:
  23026. properties:
  23027. borroweruserid:
  23028. description: 借款用户ID
  23029. type: integer
  23030. buybackwrpositionqty:
  23031. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23032. type: number
  23033. closeinterest:
  23034. description: 已结利息 -> 已结费用
  23035. type: number
  23036. currisklevel:
  23037. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23038. type: integer
  23039. deadline:
  23040. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23041. type: string
  23042. deliverygoodscode:
  23043. description: 品种代码
  23044. type: string
  23045. deliverygoodsid:
  23046. description: 品种ID
  23047. type: integer
  23048. deliverygoodsname:
  23049. description: 品种名称
  23050. type: string
  23051. enumdicname:
  23052. description: 单位名称
  23053. type: string
  23054. financingdays:
  23055. description: 天数(天)
  23056. type: integer
  23057. initmargin:
  23058. description: 保证金 - [仓单回购]
  23059. type: number
  23060. interestamount:
  23061. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23062. type: number
  23063. interestdebt:
  23064. description: 利息欠款(记录负数) -> 费用欠款
  23065. type: number
  23066. interestminlen:
  23067. description: 最小起息天数
  23068. type: integer
  23069. interestrate:
  23070. description: 利率
  23071. type: number
  23072. interestratemode:
  23073. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23074. type: integer
  23075. interestsettlemode:
  23076. description: 结息方式 - 1:按日结息 3:按月结息
  23077. type: integer
  23078. interestsettlevalue:
  23079. description: 结息方式值
  23080. type: integer
  23081. isautoloan:
  23082. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23083. type: integer
  23084. lastcloseinterestday:
  23085. description: 最近结息日(yyyyMMdd)
  23086. type: string
  23087. lenderamount:
  23088. description: 贷款金额 -> 借款金额
  23089. type: number
  23090. lenderuserid:
  23091. description: 贷款方用户ID -> 融出方用户ID
  23092. type: integer
  23093. lenderusername:
  23094. description: 融出方
  23095. type: string
  23096. marginratio:
  23097. description: 保证金比率质押率 - [仓单质押]
  23098. type: number
  23099. marketid:
  23100. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23101. type: integer
  23102. minivalue:
  23103. description: 现货商品最小变动值
  23104. type: integer
  23105. optioncompare:
  23106. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23107. type: string
  23108. pricemove:
  23109. description: 估值升贴水值
  23110. type: number
  23111. productdetailid:
  23112. description: 产品组合ID
  23113. type: integer
  23114. productid:
  23115. description: 金融产品ID
  23116. type: integer
  23117. productname:
  23118. description: 产品名称
  23119. type: string
  23120. remainamount:
  23121. description: 合同剩余金额 -> 剩余金额
  23122. type: number
  23123. remainwrpositionqty:
  23124. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23125. type: number
  23126. remark:
  23127. description: 备注
  23128. type: string
  23129. scfcontractid:
  23130. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23131. type: string
  23132. scfcontractstatus:
  23133. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23134. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23135. type: integer
  23136. scfcontracttype:
  23137. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23138. type: integer
  23139. startinterestday:
  23140. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23141. type: string
  23142. totalinterest:
  23143. description: 已计利息 -> 已计费用
  23144. type: number
  23145. unpaidinterest:
  23146. description: 未结费用
  23147. type: number
  23148. updatetime:
  23149. description: 更新时间
  23150. type: string
  23151. warehouseid:
  23152. description: 仓库ID
  23153. type: integer
  23154. warehousename:
  23155. description: 仓库名称
  23156. type: string
  23157. wrfactortypeid:
  23158. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23159. type: string
  23160. wrfactortypename:
  23161. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23162. type: string
  23163. wrqty:
  23164. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23165. type: number
  23166. wrstandardcode:
  23167. description: 现货商品代码
  23168. type: string
  23169. wrstandardid:
  23170. description: 现货商品ID
  23171. type: integer
  23172. wrstandardname:
  23173. description: 商品名称
  23174. type: string
  23175. wrtypename:
  23176. description: 商品
  23177. type: string
  23178. type: object
  23179. models.WrScfContractInterest:
  23180. properties:
  23181. closeinterest:
  23182. description: 已结利息
  23183. type: number
  23184. closeintereststatus:
  23185. description: 结息状态 - 1:未结 2:已结
  23186. type: integer
  23187. closetime:
  23188. description: 结息时间
  23189. type: string
  23190. closetradedate:
  23191. description: 结息交易日
  23192. type: string
  23193. creatorid:
  23194. description: 操作人ID
  23195. type: integer
  23196. dayrate:
  23197. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23198. type: number
  23199. interest:
  23200. description: 利息
  23201. type: number
  23202. interestamount:
  23203. description: 计息金额
  23204. type: number
  23205. interestday:
  23206. description: 计息日(yyyyMMdd)
  23207. type: string
  23208. scfcontractid:
  23209. description: SCF合同ID
  23210. type: string
  23211. scfcontractinterestid:
  23212. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23213. type: integer
  23214. updatetime:
  23215. description: 更新时间
  23216. type: string
  23217. type: object
  23218. models.WrSearchUser:
  23219. properties:
  23220. userid:
  23221. description: 用户ID
  23222. type: integer
  23223. username:
  23224. description: 用户名称(已脱敏)
  23225. type: string
  23226. username2:
  23227. description: 用户名称(未脱敏)
  23228. type: string
  23229. usertype:
  23230. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23231. type: integer
  23232. required:
  23233. - username
  23234. type: object
  23235. models.WrSiteColumnDetail:
  23236. properties:
  23237. author:
  23238. description: 作者
  23239. type: string
  23240. brief:
  23241. description: 简介
  23242. type: string
  23243. context:
  23244. description: 内容
  23245. type: string
  23246. coverimage:
  23247. description: 封面图片
  23248. type: string
  23249. creaedate:
  23250. description: 创建时间
  23251. type: string
  23252. id:
  23253. description: ID(SEQ_SITE_COLUMNDETAIL)
  23254. type: integer
  23255. istop:
  23256. description: 是否置顶 - 0:不置 1:置顶
  23257. type: integer
  23258. publishdate:
  23259. description: 发布日期
  23260. type: string
  23261. title:
  23262. description: 标题
  23263. type: string
  23264. updatedate:
  23265. description: 修改时间
  23266. type: string
  23267. type: object
  23268. models.WrSpecialMatchOrder:
  23269. properties:
  23270. amount:
  23271. description: 金额 = 数量 * 价格
  23272. type: number
  23273. buyorsell:
  23274. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23275. type: integer
  23276. cancelqty:
  23277. description: 撤销数量
  23278. type: number
  23279. deliverygoodscode:
  23280. description: 品种代码
  23281. type: string
  23282. deliverygoodsid:
  23283. description: 品种ID
  23284. type: integer
  23285. deliverygoodsname:
  23286. description: 品种名称
  23287. type: string
  23288. enumdicname:
  23289. description: 单位名称
  23290. type: string
  23291. fixedprice:
  23292. description: 固定价格(价格)
  23293. type: number
  23294. haswr:
  23295. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23296. type: integer
  23297. isspecified:
  23298. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23299. type: integer
  23300. marketid:
  23301. description: 市场ID
  23302. type: integer
  23303. matchuserid:
  23304. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23305. type: integer
  23306. matchusername:
  23307. description: 指定方
  23308. type: string
  23309. minivalue:
  23310. description: 现货商品最小变动值
  23311. type: integer
  23312. optioncompare:
  23313. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23314. type: string
  23315. orderqty:
  23316. description: 委托数量
  23317. type: number
  23318. ordertime:
  23319. description: 委托时间
  23320. type: string
  23321. pricemove:
  23322. description: 升贴水(浮动价时填写) - [挂牌]
  23323. type: number
  23324. tradedate:
  23325. description: 交易日(yyyyMMdd)
  23326. type: string
  23327. tradeprice:
  23328. description: 成交价格
  23329. type: number
  23330. tradeqty:
  23331. description: 成交数量
  23332. type: number
  23333. userid:
  23334. description: 用户ID
  23335. type: integer
  23336. username:
  23337. description: 发起方
  23338. type: string
  23339. warehouseid:
  23340. description: 仓库ID
  23341. type: integer
  23342. warehousename:
  23343. description: 仓库名称
  23344. type: string
  23345. wrfactortypeid:
  23346. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23347. type: string
  23348. wrfactortypename:
  23349. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23350. type: string
  23351. wrpricetype:
  23352. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23353. type: integer
  23354. wrstandardcode:
  23355. description: 现货商品代码
  23356. type: string
  23357. wrstandardid:
  23358. description: 现货商品ID
  23359. type: integer
  23360. wrstandardname:
  23361. description: 商品名称
  23362. type: string
  23363. wrtradeorderid:
  23364. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23365. type: string
  23366. wrtradeorderstatus:
  23367. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23368. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23369. type: integer
  23370. wrtradetype:
  23371. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23372. type: integer
  23373. wrtypename:
  23374. description: 商品
  23375. type: string
  23376. type: object
  23377. models.WrSpotGroupTradeSum:
  23378. properties:
  23379. deliverygoodscode:
  23380. description: 现货品种代码
  23381. type: string
  23382. deliverygoodsid:
  23383. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23384. type: integer
  23385. deliverygoodsname:
  23386. description: 现货品种名称
  23387. type: string
  23388. lastavgprice:
  23389. description: 上上个交易日价格(前2天价格)
  23390. type: string
  23391. lastreckondate:
  23392. description: 上上个交易日(前2天交易日)
  23393. type: string
  23394. reckondate:
  23395. description: 上个交易日(前1天交易日)
  23396. type: string
  23397. todayavgprice:
  23398. description: 上个交易日价格(前1天价格)
  23399. type: string
  23400. updown:
  23401. description: 涨跌
  23402. type: string
  23403. updownratio:
  23404. description: 涨幅(已格式化, 直接显示即可)
  23405. type: string
  23406. type: object
  23407. models.WrSpotGroupTradeSumDetail:
  23408. properties:
  23409. deliverygoodsid:
  23410. description: 现货商品id
  23411. type: integer
  23412. price:
  23413. description: 价格
  23414. type: number
  23415. reckondate:
  23416. description: 日期(yyymmdd, 如:20211031)
  23417. type: string
  23418. type: object
  23419. models.WrSpotGroupTradeSumEx:
  23420. properties:
  23421. lst:
  23422. description: 指数列表
  23423. items:
  23424. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23425. type: array
  23426. prereckondate:
  23427. description: 上上个交易日(yyymmdd)
  23428. type: string
  23429. reckondate:
  23430. description: 上个交易日(yyyymmdd)
  23431. type: string
  23432. type: object
  23433. models.WrStandardFactoryItem:
  23434. properties:
  23435. dgfactoryitemid:
  23436. description: 选择项id
  23437. type: integer
  23438. dgfactoryitemvalue:
  23439. description: 要素项值
  23440. type: string
  23441. warehouseid:
  23442. description: 仓库id
  23443. type: integer
  23444. type: object
  23445. models.WrStandardFactoryItemEx:
  23446. properties:
  23447. dgfactoryitemtypeid:
  23448. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23449. type: integer
  23450. itemlst:
  23451. description: 要素项列表
  23452. items:
  23453. $ref: '#/definitions/models.WrStandardFactoryItem'
  23454. type: array
  23455. itemtypename:
  23456. description: 要素项类型名称
  23457. type: string
  23458. wrstandardid:
  23459. description: 品类
  23460. type: integer
  23461. type: object
  23462. models.WrTradeDetail:
  23463. properties:
  23464. accountid:
  23465. description: 资金账号
  23466. type: integer
  23467. bannerpicurl:
  23468. description: Banner图
  23469. type: string
  23470. begindate:
  23471. description: 开始交易日(yyyymmdd)
  23472. type: string
  23473. buyorsell:
  23474. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23475. type: integer
  23476. chargevalue:
  23477. description: 手续费
  23478. type: number
  23479. contractaddr:
  23480. description: 合同地址
  23481. type: string
  23482. deliverygoodscode:
  23483. description: 品种代码
  23484. type: string
  23485. deliverygoodsid:
  23486. description: 品种ID
  23487. type: integer
  23488. deliverygoodsname:
  23489. description: 品种名称
  23490. type: string
  23491. deliverymonth:
  23492. description: 交收月
  23493. type: string
  23494. enddate:
  23495. description: 结束交易日(yyyymmdd)
  23496. type: string
  23497. enumdicname:
  23498. description: 单位名称
  23499. type: string
  23500. haswr:
  23501. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23502. type: integer
  23503. marketid:
  23504. description: 市场ID
  23505. type: integer
  23506. matchaccountid:
  23507. description: 对手账号
  23508. type: integer
  23509. matchusername:
  23510. description: 对手方
  23511. type: string
  23512. minivalue:
  23513. description: 现货商品最小变动值
  23514. type: integer
  23515. optioncompare:
  23516. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23517. type: string
  23518. thumurls:
  23519. description: 缩略图
  23520. type: string
  23521. tradedate:
  23522. description: 交易日(yyyyMMdd)
  23523. type: string
  23524. tradeprice:
  23525. description: 成交价格
  23526. type: number
  23527. tradeqty:
  23528. description: 成交数量
  23529. type: number
  23530. tradetime:
  23531. description: 成交时间
  23532. type: string
  23533. unitid:
  23534. description: 现货商品单位ID
  23535. type: integer
  23536. userid:
  23537. description: 用户ID
  23538. type: integer
  23539. warehouseid:
  23540. description: 仓库ID
  23541. type: integer
  23542. warehousename:
  23543. description: 仓库名称
  23544. type: string
  23545. wrfactortypeid:
  23546. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23547. type: string
  23548. wrfactortypename:
  23549. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23550. type: string
  23551. wrstandardcode:
  23552. description: 现货商品代码
  23553. type: string
  23554. wrstandardid:
  23555. description: 现货商品ID
  23556. type: integer
  23557. wrstandardname:
  23558. description: 商品名称
  23559. type: string
  23560. wrtradedetailid:
  23561. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23562. type: string
  23563. wrtradetype:
  23564. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23565. type: integer
  23566. wrtypename:
  23567. description: 商品
  23568. type: string
  23569. type: object
  23570. models.WrTradeOrderDetail:
  23571. properties:
  23572. buyorsell:
  23573. description: 买卖方向 0-买 1-卖
  23574. type: integer
  23575. goodsid:
  23576. description: 商品id
  23577. type: integer
  23578. orderid:
  23579. description: 委托单号
  23580. type: string
  23581. orderprice:
  23582. description: 委托价格
  23583. type: number
  23584. orderqty:
  23585. description: 委托数量
  23586. type: integer
  23587. userid:
  23588. description: 用户id
  23589. type: integer
  23590. username:
  23591. description: 用户名称(已脱敏)
  23592. type: string
  23593. type: object
  23594. models.WrTypeItem:
  23595. properties:
  23596. name:
  23597. description: 名称
  23598. type: string
  23599. value:
  23600. description: 值
  23601. type: string
  23602. type: object
  23603. models.WrUserFriend:
  23604. properties:
  23605. friendname:
  23606. description: 朋友名称(已脱敏)
  23607. type: string
  23608. frienduserid:
  23609. description: 朋友id
  23610. type: integer
  23611. isfriend:
  23612. description: 是否好友 0-不是 1-是
  23613. type: integer
  23614. userid:
  23615. description: 用户id
  23616. type: integer
  23617. type: object
  23618. models.WrUserReceiptInfo:
  23619. properties:
  23620. address:
  23621. description: 地址[发票类型:企业]
  23622. type: string
  23623. autoid:
  23624. description: AutoID
  23625. type: integer
  23626. contactinfo:
  23627. description: 联系方式
  23628. type: string
  23629. email:
  23630. description: 收件邮箱
  23631. type: string
  23632. idnum:
  23633. description: 身份证号码[发票类型:个人]
  23634. type: string
  23635. isdefault:
  23636. description: 是否默认地址 - 0:否 1:是
  23637. type: integer
  23638. receiptaccount:
  23639. description: 发票帐号[发票类型:企业]
  23640. type: string
  23641. receiptbank:
  23642. description: 发票开户行[发票类型:企业]
  23643. type: string
  23644. receipttype:
  23645. description: 发票类型 - 1:个人 2:企业
  23646. type: integer
  23647. taxpayerid:
  23648. description: 纳税人识别号
  23649. type: string
  23650. userid:
  23651. description: 用户ID
  23652. type: integer
  23653. username:
  23654. description: 户名(个人姓名或企业名称)
  23655. type: string
  23656. type: object
  23657. models.Wrtradetradequote:
  23658. properties:
  23659. buyaccountid:
  23660. description: 买方账号ID
  23661. type: integer
  23662. buychargevalue:
  23663. description: 买方手续费
  23664. type: number
  23665. buyuserid:
  23666. description: 买方用户ID
  23667. type: integer
  23668. deliverygoodsid:
  23669. description: 现货品种ID
  23670. type: integer
  23671. exchangerate:
  23672. description: 汇率
  23673. type: number
  23674. marketid:
  23675. description: 市场ID
  23676. type: integer
  23677. oritradeamount:
  23678. description: 成交金额[商品币种]
  23679. type: number
  23680. performanceplanid:
  23681. description: 履约计划ID/合同ID
  23682. type: integer
  23683. sellaccountid:
  23684. description: 卖方账号ID
  23685. type: integer
  23686. sellchargevalue:
  23687. description: 卖方手续费
  23688. type: number
  23689. selluserid:
  23690. description: 卖方用户ID
  23691. type: integer
  23692. tradeamount:
  23693. description: 成交金额
  23694. type: number
  23695. tradedate:
  23696. description: 交易日(yyyyMMdd)
  23697. type: string
  23698. tradeprice:
  23699. description: 成交价格
  23700. type: number
  23701. tradeqty:
  23702. description: 成交数量
  23703. type: integer
  23704. tradetime:
  23705. description: 成交时间
  23706. type: string
  23707. wrfactortypeid:
  23708. description: 仓单要素类型ID
  23709. type: integer
  23710. wrstandardid:
  23711. description: 现货商品ID
  23712. type: integer
  23713. wrtradedetailid:
  23714. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23715. type: integer
  23716. type: object
  23717. models.XHBRAND:
  23718. properties:
  23719. brandid:
  23720. description: 品牌id
  23721. type: integer
  23722. brandname:
  23723. description: 品牌名称
  23724. type: string
  23725. isvalid:
  23726. description: 是否有效 0-无效 1-有效
  23727. type: integer
  23728. type: object
  23729. models.XHDeliveryGoods:
  23730. properties:
  23731. areauserid:
  23732. description: 所属机构
  23733. type: integer
  23734. bdlst:
  23735. description: 品牌列表
  23736. items:
  23737. $ref: '#/definitions/models.XHBRAND'
  23738. type: array
  23739. deliverygoodscode:
  23740. description: 现货品种代码
  23741. type: string
  23742. deliverygoodsid:
  23743. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23744. type: integer
  23745. deliverygoodsname:
  23746. description: 现货品种名称
  23747. type: string
  23748. dgstatus:
  23749. description: 品种状态 - 作废 - 0:未激活 1:正常
  23750. type: integer
  23751. filterSubEmpty:
  23752. description: 过滤下级为空的
  23753. type: integer
  23754. isvalid:
  23755. description: 是否有效 - 0:无效 1:有效
  23756. type: integer
  23757. remark:
  23758. description: 备注
  23759. type: string
  23760. unitid:
  23761. description: 单位id(目前看,数据库中是空值)
  23762. type: integer
  23763. wdlst:
  23764. description: 品类(现货商品)列表
  23765. items:
  23766. $ref: '#/definitions/models.XHWrstandard'
  23767. type: array
  23768. type: object
  23769. models.XHMiddleGoods:
  23770. properties:
  23771. GPLST:
  23772. description: 期货品种列表
  23773. items:
  23774. $ref: '#/definitions/models.TBGoodsGroup'
  23775. type: array
  23776. convertratio:
  23777. description: 拆算系数
  23778. type: number
  23779. costratio:
  23780. description: 成本权重
  23781. type: number
  23782. deliverygoodsid:
  23783. description: 现货商品id
  23784. type: integer
  23785. enumdicname:
  23786. description: 单位名称
  23787. type: string
  23788. middlegoodscode:
  23789. description: 套保品种代码
  23790. type: string
  23791. middlegoodsid:
  23792. description: 套保品种id
  23793. type: integer
  23794. middlegoodsname:
  23795. description: 套保品种名称
  23796. type: string
  23797. unitid:
  23798. description: 单位id
  23799. type: integer
  23800. type: object
  23801. models.XHWrstandard:
  23802. properties:
  23803. bannerpicurl:
  23804. description: banner图
  23805. type: string
  23806. deliverygoodsid:
  23807. description: 品种ID
  23808. type: integer
  23809. enumdicname:
  23810. description: 单位名称
  23811. type: string
  23812. mglst:
  23813. description: 套保品列表
  23814. items:
  23815. $ref: '#/definitions/models.XHMiddleGoods'
  23816. type: array
  23817. pictureurls:
  23818. description: 详情图片(逗号分隔)
  23819. type: string
  23820. thumurls:
  23821. description: 缩略图片(1:1)(逗号分隔)
  23822. type: string
  23823. unitid:
  23824. description: 单位id
  23825. type: integer
  23826. vatrate:
  23827. description: 增值税率
  23828. type: number
  23829. wrstandardcode:
  23830. description: 现货商品代码
  23831. type: string
  23832. wrstandardid:
  23833. description: 现货商品ID(SEQ_WRSTANDARD)
  23834. type: integer
  23835. wrstandardname:
  23836. description: 现货商品名称
  23837. type: string
  23838. type: object
  23839. models.XhcpSellBackApplyEx:
  23840. properties:
  23841. applyremark:
  23842. description: 申请备注
  23843. type: string
  23844. expirytype:
  23845. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23846. type: integer
  23847. goodsspec:
  23848. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23849. type: integer
  23850. holeflag:
  23851. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23852. type: integer
  23853. isunopened:
  23854. description: 是否原封 - 1:否 2:是
  23855. type: integer
  23856. mpflag:
  23857. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23858. type: integer
  23859. openflag:
  23860. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23861. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23862. type: integer
  23863. phonenum:
  23864. description: 联系电话
  23865. type: string
  23866. userid:
  23867. description: 所属用户ID
  23868. type: integer
  23869. zpflag:
  23870. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23871. type: integer
  23872. required:
  23873. - userid
  23874. type: object
  23875. models.Xhcpsellbackapply:
  23876. properties:
  23877. applyid:
  23878. description: 申请人
  23879. type: integer
  23880. applyremark:
  23881. description: 申请备注
  23882. type: string
  23883. applysrc:
  23884. description: 申请来源 - 1:管理端 2:终端
  23885. type: integer
  23886. applystatus:
  23887. description: 申请状态 - 1:待确认 2:已处理
  23888. type: integer
  23889. applytime:
  23890. description: 申请时间
  23891. type: string
  23892. auditremark:
  23893. description: 审核备注
  23894. type: string
  23895. auditsrc:
  23896. description: 审核来源 - 1:管理端 2:终端
  23897. type: integer
  23898. expirytype:
  23899. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23900. type: integer
  23901. goodsspec:
  23902. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23903. type: integer
  23904. holeflag:
  23905. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23906. type: integer
  23907. isunopened:
  23908. description: 是否原封 - 1:否 2:是
  23909. type: integer
  23910. mpflag:
  23911. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23912. type: integer
  23913. openflag:
  23914. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23915. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23916. type: integer
  23917. phonenum:
  23918. description: 联系电话
  23919. type: string
  23920. sellbackapplyid:
  23921. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23922. type: string
  23923. userid:
  23924. description: 所属用户ID
  23925. type: integer
  23926. zpflag:
  23927. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23928. type: integer
  23929. required:
  23930. - userid
  23931. type: object
  23932. order.QueryHisTradeDetailRsp:
  23933. properties:
  23934. accountid:
  23935. description: 账户ID[报价币种]
  23936. type: integer
  23937. advanceratio:
  23938. description: 首付比率
  23939. type: number
  23940. buildtype:
  23941. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23942. type: integer
  23943. buyorsell:
  23944. description: 方向 - 0:买 1:卖
  23945. type: integer
  23946. charge:
  23947. description: 手续费
  23948. type: number
  23949. closecharge:
  23950. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23951. type: number
  23952. closeexchagechargevalue:
  23953. description: 平仓交易所手续费设置值
  23954. type: number
  23955. closefeealgorithm:
  23956. description: 平仓手续费收取方式 1:比率 2:固定
  23957. type: integer
  23958. closememberchargevalue:
  23959. description: 平仓会员手续费设置值
  23960. type: number
  23961. closepl:
  23962. description: 平仓盈亏
  23963. type: number
  23964. closepl2:
  23965. description: 平仓盈亏[逐笔]
  23966. type: number
  23967. closeqty:
  23968. description: 平仓数量(先建后平操作 需要记录)
  23969. type: number
  23970. creditamount:
  23971. description: 授信金额
  23972. type: number
  23973. decimalplace:
  23974. description: 商品报价小数位
  23975. type: integer
  23976. enumdicname:
  23977. description: 单位名称
  23978. type: string
  23979. gcaccountid:
  23980. description: 账户ID[合约币种]
  23981. type: integer
  23982. goodscode:
  23983. description: 商品代码
  23984. type: string
  23985. goodsid:
  23986. description: 商品ID
  23987. type: integer
  23988. goodsname:
  23989. description: 商品名称
  23990. type: string
  23991. goodunitid:
  23992. description: 商品单位id
  23993. type: integer
  23994. histradedate:
  23995. description: 历史交易日
  23996. type: string
  23997. intclosepl:
  23998. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23999. type: integer
  24000. isconfirmexercise:
  24001. description: 是否确认行权- 0:否 1:是
  24002. type: integer
  24003. ismain:
  24004. description: 是否主单 - 0:不是 1:是
  24005. type: integer
  24006. ispreexercise:
  24007. description: 是否预申报- 0:否 1:是
  24008. type: integer
  24009. isreckoned:
  24010. description: 是否结算 - 0:未结算 1:已结算
  24011. type: integer
  24012. isvaliddata:
  24013. description: 是否有效 - 0:无效 1:有效
  24014. type: integer
  24015. listingselecttype:
  24016. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24017. type: integer
  24018. marketid:
  24019. description: 市场ID
  24020. type: integer
  24021. marketname:
  24022. description: 市场名称
  24023. type: string
  24024. matchaccountid:
  24025. description: 对手账号id
  24026. type: integer
  24027. memberuserid:
  24028. description: 会员id 个人投资者 需要填写
  24029. type: integer
  24030. opencharge:
  24031. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24032. type: number
  24033. openexchagechargevalue:
  24034. description: 建仓交易所手续费设置值
  24035. type: number
  24036. openfeealgorithm:
  24037. description: 建仓手续费收取方式 1:比率 2:固定
  24038. type: integer
  24039. openmemberchargevalue:
  24040. description: 建仓会员手续费设置值
  24041. type: number
  24042. openqty:
  24043. description: 开仓数量(先建后平操作 需要记录)
  24044. type: number
  24045. optiontype:
  24046. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24047. type: integer
  24048. orderid:
  24049. description: 委托单号
  24050. type: string
  24051. payamount:
  24052. description: 支付金额(付款金额)
  24053. type: number
  24054. performanceplanid:
  24055. description: 履约计划ID[期权]
  24056. type: integer
  24057. performancestatus:
  24058. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24059. type: integer
  24060. preexerciseprice:
  24061. description: 预申报价格
  24062. type: number
  24063. premium:
  24064. description: 权利金 - [持仓单的权利金]
  24065. type: number
  24066. qtydecimalplace:
  24067. description: 商品报价小数位
  24068. type: integer
  24069. recvamount:
  24070. description: 到账金额 = 成交金额 - 手续费
  24071. type: number
  24072. relatedouttradeid:
  24073. description: 关联外部成交单ID
  24074. type: integer
  24075. status:
  24076. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24077. type: integer
  24078. totalamount:
  24079. description: 订单总额 = 成交金额 + 手续费
  24080. type: number
  24081. tradeamount:
  24082. description: 成交金额[账户币种,用于所有权]
  24083. type: number
  24084. tradedate:
  24085. description: 交易日(yyyyMMdd)
  24086. type: string
  24087. tradeid:
  24088. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24089. type: string
  24090. trademode:
  24091. description: 交易模式
  24092. type: integer
  24093. tradeprice:
  24094. description: 成交价格
  24095. type: number
  24096. tradeproperty:
  24097. description: 交易属性
  24098. type: integer
  24099. tradeqty:
  24100. description: 成交数量
  24101. type: number
  24102. tradetime:
  24103. description: 成交时间
  24104. type: string
  24105. tradetype:
  24106. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24107. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24108. type: integer
  24109. required:
  24110. - accountid
  24111. - buyorsell
  24112. - goodsid
  24113. - histradedate
  24114. - marketid
  24115. - memberuserid
  24116. - orderid
  24117. - tradeamount
  24118. - tradedate
  24119. - tradeid
  24120. - tradeprice
  24121. - tradeqty
  24122. - tradetime
  24123. type: object
  24124. order.QueryHisTradeOrderDetailRsp:
  24125. properties:
  24126. accountid:
  24127. description: 账户ID[报价币种]
  24128. type: integer
  24129. buildtype:
  24130. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24131. type: integer
  24132. buyorsell:
  24133. description: 买卖 - 0:买 1:卖
  24134. type: integer
  24135. cancelorderid:
  24136. description: 撤单单号(撤单时填写)
  24137. type: string
  24138. cancelqty:
  24139. description: 撤单数量
  24140. type: number
  24141. clientordertime:
  24142. description: 客户端委托时间
  24143. type: string
  24144. clientticket:
  24145. description: 客户端流水号
  24146. type: string
  24147. clienttype:
  24148. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24149. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24150. type: integer
  24151. closeexchagechargevalue:
  24152. description: 平仓交易所手续费设置值
  24153. type: number
  24154. closefeealgorithm:
  24155. description: 平仓手续费收取方式 1:比率 2:固定
  24156. type: integer
  24157. closefreezecharge:
  24158. description: 平仓冻结手续费(先建后平操作,需要记录)
  24159. type: number
  24160. closememberchargevalue:
  24161. description: 平仓会员手续费设置值
  24162. type: number
  24163. closeqty:
  24164. description: 平仓数量(先建后平操作 需要记录)
  24165. type: number
  24166. closetradeqty:
  24167. description: 平仓成交数量(先建后平操作,需要记录)
  24168. type: number
  24169. closeunfreezecharge:
  24170. description: 平仓解冻手续费(先建后平操作,需要记录)
  24171. type: number
  24172. decimalplace:
  24173. description: 商品报价小数位
  24174. type: integer
  24175. delistingtype:
  24176. description: 摘牌类型 - 1:价格最优 2:点选成交
  24177. type: integer
  24178. enumdicname:
  24179. description: 单位名称
  24180. type: string
  24181. freezecharge:
  24182. description: 冻结手续费
  24183. type: number
  24184. freezemargin:
  24185. description: 冻结保证金(冻结交易金额)
  24186. type: number
  24187. gcaccountid:
  24188. description: 账户ID[合约币种]
  24189. type: integer
  24190. goodscode:
  24191. description: 商品代码
  24192. type: string
  24193. goodsid:
  24194. description: 商品ID
  24195. type: integer
  24196. goodsname:
  24197. description: 商品名称
  24198. type: string
  24199. goodunitid:
  24200. description: 商品单位id
  24201. type: integer
  24202. histradedate:
  24203. description: 历史交易日
  24204. type: string
  24205. isconfirmexercise:
  24206. description: 是否确认行权- 0:否 1:是
  24207. type: integer
  24208. ispreexercise:
  24209. description: 是否预申报- 0:否 1:是
  24210. type: integer
  24211. isvaliddata:
  24212. description: 是否有效 - 0:无效 1:有效
  24213. type: integer
  24214. listingselecttype:
  24215. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24216. type: integer
  24217. marginalgorithm:
  24218. description: 保证金收取方式 1:比率 2:固定
  24219. type: integer
  24220. marginvalue:
  24221. description: 即市保证金设置值
  24222. type: number
  24223. marketid:
  24224. description: 市场ID
  24225. type: integer
  24226. marketmaxsub:
  24227. description: 市价最大偏移范围
  24228. type: number
  24229. marketname:
  24230. description: 市场名称
  24231. type: string
  24232. memberuserid:
  24233. description: 所属会员UserID
  24234. type: integer
  24235. openexchagechargevalue:
  24236. description: 建仓交易所手续费设置值
  24237. type: number
  24238. openfeealgorithm:
  24239. description: 建仓手续费收取方式 1:比率 2:固定
  24240. type: integer
  24241. openfreezecharge:
  24242. description: 开仓冻结手续费(先建后平操作,需要记录)
  24243. type: number
  24244. openmemberchargevalue:
  24245. description: 建仓会员手续费设置值
  24246. type: number
  24247. openqty:
  24248. description: 开仓数量(先建后平操作,需要记录)
  24249. type: number
  24250. opentradeqty:
  24251. description: 开仓成交数量(先建后平操作,需要记录)
  24252. type: number
  24253. openunfreezecharge:
  24254. description: 开仓解冻手续费(先建后平操作,需要记录)
  24255. type: number
  24256. operatetype:
  24257. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24258. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24259. 15:管理端协议转让
  24260. type: integer
  24261. operatorid:
  24262. description: 登录账号(LoginID)
  24263. type: integer
  24264. optiontype:
  24265. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24266. type: integer
  24267. orderid:
  24268. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24269. type: string
  24270. orderprice:
  24271. description: 委托价格
  24272. type: number
  24273. orderqty:
  24274. description: 委托数量
  24275. type: number
  24276. ordersrc:
  24277. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24278. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24279. type: integer
  24280. orderstatus:
  24281. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24282. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24283. 16:成交失败违约(荷兰式竞拍专用)
  24284. type: integer
  24285. ordertime:
  24286. description: 委托时间
  24287. type: string
  24288. preexerciseprice:
  24289. description: 预申报价格
  24290. type: number
  24291. premium:
  24292. description: 权利金
  24293. type: number
  24294. preorderid:
  24295. description: 关联预埋单号(止盈止损单时填写)
  24296. type: string
  24297. pricemode:
  24298. description: '取价方式 - 1:市价 2: 限价'
  24299. type: integer
  24300. qtydecimalplace:
  24301. description: 成交量小数位
  24302. type: integer
  24303. quoteid:
  24304. description: 报价单ID
  24305. type: integer
  24306. relatedid:
  24307. description: 关联单号(交割单)
  24308. type: string
  24309. retcode:
  24310. description: 错误代码
  24311. type: integer
  24312. sessionid:
  24313. description: 会话ID
  24314. type: integer
  24315. tradedate:
  24316. description: 交易日(yyyyMMdd)
  24317. type: string
  24318. trademode:
  24319. description: 交易模式
  24320. type: integer
  24321. tradeproperty:
  24322. description: 交易属性
  24323. type: integer
  24324. tradeqty:
  24325. description: 成交数量
  24326. type: number
  24327. unfreezecharge:
  24328. description: 解冻手续费
  24329. type: number
  24330. unfreezemargin:
  24331. description: 解冻保证金
  24332. type: number
  24333. updatetime:
  24334. description: 更新时间
  24335. type: string
  24336. uuid:
  24337. description: 发起端唯一id
  24338. type: string
  24339. validtime:
  24340. description: 有效期限
  24341. type: string
  24342. validtype:
  24343. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24344. type: integer
  24345. volumetype:
  24346. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24347. type: integer
  24348. required:
  24349. - accountid
  24350. - buildtype
  24351. - buyorsell
  24352. - goodsid
  24353. - histradedate
  24354. - marketid
  24355. - memberuserid
  24356. - operatetype
  24357. - orderid
  24358. - orderqty
  24359. - ordertime
  24360. - pricemode
  24361. - tradedate
  24362. - validtype
  24363. type: object
  24364. order.QueryTradeDetailRsp:
  24365. properties:
  24366. accountid:
  24367. description: 账户ID[报价币种]
  24368. type: integer
  24369. advanceratio:
  24370. description: 首付比率
  24371. type: number
  24372. buildtype:
  24373. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24374. type: integer
  24375. buyorsell:
  24376. description: 方向 - 0:买 1:卖
  24377. type: integer
  24378. charge:
  24379. description: 手续费
  24380. type: number
  24381. closecharge:
  24382. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24383. type: number
  24384. closeexchagechargevalue:
  24385. description: 平仓交易所手续费设置值
  24386. type: number
  24387. closefeealgorithm:
  24388. description: 平仓手续费收取方式 1:比率 2:固定
  24389. type: integer
  24390. closememberchargevalue:
  24391. description: 平仓会员手续费设置值
  24392. type: number
  24393. closepl:
  24394. description: 平仓盈亏
  24395. type: number
  24396. closepl2:
  24397. description: 平仓盈亏[逐笔]
  24398. type: number
  24399. closeqty:
  24400. description: 平仓数量(先建后平操作 需要记录)
  24401. type: number
  24402. creditamount:
  24403. description: 授信金额
  24404. type: number
  24405. decimalplace:
  24406. description: 商品报价小数位
  24407. type: integer
  24408. enumdicname:
  24409. description: 单位名称
  24410. type: string
  24411. gcaccountid:
  24412. description: 账户ID[合约币种]
  24413. type: integer
  24414. goodscode:
  24415. description: 商品代码
  24416. type: string
  24417. goodsid:
  24418. description: 商品ID
  24419. type: integer
  24420. goodsname:
  24421. description: 商品名称
  24422. type: string
  24423. goodunitid:
  24424. description: 商品单位id
  24425. type: integer
  24426. intclosepl:
  24427. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24428. type: integer
  24429. isconfirmexercise:
  24430. description: 是否确认行权- 0:否 1:是
  24431. type: integer
  24432. ismain:
  24433. description: 是否主单 - 0:不是 1:是
  24434. type: integer
  24435. ispreexercise:
  24436. description: 是否预申报- 0:否 1:是
  24437. type: integer
  24438. isreckoned:
  24439. description: 是否结算 - 0:未结算 1:已结算
  24440. type: integer
  24441. listingselecttype:
  24442. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24443. type: integer
  24444. marketid:
  24445. description: 市场ID
  24446. type: integer
  24447. marketname:
  24448. description: 市场名称
  24449. type: string
  24450. matchaccountid:
  24451. description: 对手账号id
  24452. type: integer
  24453. memberuserid:
  24454. description: 会员id 个人投资者 需要填写
  24455. type: integer
  24456. opencharge:
  24457. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24458. type: number
  24459. openexchagechargevalue:
  24460. description: 建仓交易所手续费设置值
  24461. type: number
  24462. openfeealgorithm:
  24463. description: 建仓手续费收取方式 1:比率 2:固定
  24464. type: integer
  24465. openmemberchargevalue:
  24466. description: 建仓会员手续费设置值
  24467. type: number
  24468. openqty:
  24469. description: 开仓数量(先建后平操作 需要记录)
  24470. type: number
  24471. optiontype:
  24472. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24473. type: integer
  24474. orderid:
  24475. description: 委托单号
  24476. type: string
  24477. payamount:
  24478. description: 支付金额(付款金额)
  24479. type: number
  24480. performanceplanid:
  24481. description: 履约计划ID[期权]
  24482. type: integer
  24483. performancestatus:
  24484. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24485. type: integer
  24486. preexerciseprice:
  24487. description: 预申报价格
  24488. type: number
  24489. premium:
  24490. description: 权利金 - [持仓单的权利金]
  24491. type: number
  24492. qtydecimalplace:
  24493. description: 商品报价小数位
  24494. type: integer
  24495. recvamount:
  24496. description: 到账金额 = 成交金额 - 手续费
  24497. type: number
  24498. relatedouttradeid:
  24499. description: 关联外部成交单ID
  24500. type: integer
  24501. status:
  24502. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24503. type: integer
  24504. totalamount:
  24505. description: 订单总额 = 成交金额 + 手续费
  24506. type: number
  24507. tradeamount:
  24508. description: 成交金额[账户币种,用于所有权]
  24509. type: number
  24510. tradedate:
  24511. description: 交易日(yyyyMMdd)
  24512. type: string
  24513. tradeid:
  24514. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24515. type: string
  24516. trademode:
  24517. description: 交易模式
  24518. type: integer
  24519. tradeprice:
  24520. description: 成交价格
  24521. type: number
  24522. tradeproperty:
  24523. description: 交易属性
  24524. type: integer
  24525. tradeqty:
  24526. description: 成交数量
  24527. type: number
  24528. tradetime:
  24529. description: 成交时间
  24530. type: string
  24531. tradetype:
  24532. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24533. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24534. type: integer
  24535. required:
  24536. - accountid
  24537. - buyorsell
  24538. - goodsid
  24539. - marketid
  24540. - memberuserid
  24541. - orderid
  24542. - tradeamount
  24543. - tradedate
  24544. - tradeid
  24545. - tradeprice
  24546. - tradeqty
  24547. - tradetime
  24548. type: object
  24549. order.QueryTradeOrderDetailRsp:
  24550. properties:
  24551. accountid:
  24552. description: 账户ID[报价币种]
  24553. type: integer
  24554. buildtype:
  24555. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24556. type: integer
  24557. buyorsell:
  24558. description: 买卖 - 0:买 1:卖
  24559. type: integer
  24560. cancelorderid:
  24561. description: 撤单单号(撤单时填写)
  24562. type: string
  24563. cancelqty:
  24564. description: 撤单数量
  24565. type: number
  24566. clienttype:
  24567. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24568. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24569. type: integer
  24570. closefreezecharge:
  24571. description: 平仓冻结手续费(先建后平操作,需要记录)
  24572. type: number
  24573. closeqty:
  24574. description: 平仓数量(先建后平操作 需要记录)
  24575. type: number
  24576. closetradeqty:
  24577. description: 平仓成交数量(先建后平操作,需要记录)
  24578. type: number
  24579. closeunfreezecharge:
  24580. description: 平仓解冻手续费(先建后平操作,需要记录)
  24581. type: number
  24582. decimalplace:
  24583. description: 商品报价小数位
  24584. type: integer
  24585. delistingtype:
  24586. description: 摘牌类型 - 1:价格最优 2:点选成交
  24587. type: integer
  24588. enableqty:
  24589. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24590. type: number
  24591. enumdicname:
  24592. description: 单位名称
  24593. type: string
  24594. freezecharge:
  24595. description: 冻结手续费
  24596. type: number
  24597. freezemargin:
  24598. description: 冻结保证金(冻结交易金额)
  24599. type: number
  24600. goodscode:
  24601. description: 商品代码
  24602. type: string
  24603. goodsid:
  24604. description: 商品ID
  24605. type: integer
  24606. goodsname:
  24607. description: 商品名称
  24608. type: string
  24609. goodunitid:
  24610. description: 商品单位id
  24611. type: integer
  24612. listingselecttype:
  24613. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24614. type: integer
  24615. marketid:
  24616. description: 市场ID
  24617. type: integer
  24618. marketname:
  24619. description: 市场名称
  24620. type: string
  24621. openfreezecharge:
  24622. description: 开仓冻结手续费(先建后平操作,需要记录)
  24623. type: number
  24624. openqty:
  24625. description: 开仓数量(先建后平操作,需要记录)
  24626. type: number
  24627. opentradeqty:
  24628. description: 开仓成交数量(先建后平操作,需要记录)
  24629. type: number
  24630. openunfreezecharge:
  24631. description: 开仓解冻手续费(先建后平操作,需要记录)
  24632. type: number
  24633. operatetype:
  24634. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24635. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24636. 15:管理端协议转让
  24637. type: integer
  24638. operatorid:
  24639. description: 登录账号(LoginID)
  24640. type: integer
  24641. orderid:
  24642. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24643. type: string
  24644. orderprice:
  24645. description: 委托价格
  24646. type: number
  24647. orderqty:
  24648. description: 委托数量
  24649. type: number
  24650. ordersrc:
  24651. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24652. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24653. type: integer
  24654. orderstatus:
  24655. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24656. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24657. 16:成交失败违约(荷兰式竞拍专用)
  24658. type: integer
  24659. ordertime:
  24660. description: 委托时间
  24661. type: string
  24662. preorderid:
  24663. description: 关联预埋单号(止盈止损单时填写)
  24664. type: string
  24665. pricemode:
  24666. description: '取价方式 - 1:市价 2: 限价'
  24667. type: integer
  24668. qtydecimalplace:
  24669. description: 商品报价小数位
  24670. type: integer
  24671. relatedid:
  24672. description: 关联单号(交割单)
  24673. type: string
  24674. tradedate:
  24675. description: 交易日(yyyyMMdd)
  24676. type: string
  24677. trademode:
  24678. description: 交易模式
  24679. type: integer
  24680. tradeqty:
  24681. description: 成交数量
  24682. type: number
  24683. unfreezecharge:
  24684. description: 解冻手续费
  24685. type: number
  24686. unfreezemargin:
  24687. description: 解冻保证金
  24688. type: number
  24689. validtime:
  24690. description: 有效期限
  24691. type: string
  24692. validtype:
  24693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24694. type: integer
  24695. volumetype:
  24696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24697. type: integer
  24698. required:
  24699. - accountid
  24700. - buildtype
  24701. - buyorsell
  24702. - goodsid
  24703. - marketid
  24704. - operatetype
  24705. - orderqty
  24706. - ordertime
  24707. - pricemode
  24708. - tradedate
  24709. - validtype
  24710. type: object
  24711. order.QueryTradePositionRsp:
  24712. properties:
  24713. accountid:
  24714. description: 资金账户
  24715. type: integer
  24716. agreeunit:
  24717. description: 合约单位
  24718. type: number
  24719. averageprice:
  24720. description: 持仓均价
  24721. type: number
  24722. buyorsell:
  24723. description: 方向 - 0:买 1:卖
  24724. type: integer
  24725. closetotalqty:
  24726. description: 平仓总数量
  24727. type: number
  24728. curholderamount:
  24729. description: 当前持仓总金额[商品币种]
  24730. type: number
  24731. curpositionqty:
  24732. description: 当前持仓总数量
  24733. type: number
  24734. currencyid:
  24735. description: 报价货币ID
  24736. type: integer
  24737. curtdposition:
  24738. description: 期末今日头寸
  24739. type: number
  24740. decimalplace:
  24741. description: 报价小数位
  24742. type: integer
  24743. enableqty:
  24744. description: 可用量
  24745. type: number
  24746. fretdposition:
  24747. description: 冻结今日头寸
  24748. type: number
  24749. frozenqty:
  24750. description: 持仓冻结数量
  24751. type: number
  24752. goodscode:
  24753. description: 商品代码
  24754. type: string
  24755. goodsid:
  24756. description: 商品Id
  24757. type: integer
  24758. goodsname:
  24759. description: 商品名称
  24760. type: string
  24761. goodunit:
  24762. description: 报价单位
  24763. type: string
  24764. goodunitid:
  24765. description: 报价单位ID
  24766. type: integer
  24767. holderamount:
  24768. description: 期初持仓总金额[商品币种]
  24769. type: number
  24770. lastprice:
  24771. description: 最新价
  24772. type: number
  24773. marketamount:
  24774. description: 市值
  24775. type: number
  24776. marketid:
  24777. description: 所属市场ID
  24778. type: integer
  24779. openreqqty:
  24780. description: 开仓申请数量(用于比较最大持仓数量)
  24781. type: number
  24782. opentotalqty:
  24783. description: 开仓总数量
  24784. type: number
  24785. otherfrozenqty:
  24786. description: 持仓其他冻结数量(交割冻结)
  24787. type: number
  24788. positionpl:
  24789. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24790. * 合约单位
  24791. type: number
  24792. positionplrate:
  24793. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24794. type: number
  24795. positionqty:
  24796. description: 期初持仓数量
  24797. type: number
  24798. qtydecimalplace:
  24799. description: 成交量小数位
  24800. type: integer
  24801. refgoodscode:
  24802. description: 参考商品代码
  24803. type: string
  24804. refgoodsid:
  24805. description: 参考商品ID
  24806. type: integer
  24807. tnqty:
  24808. description: T+N冻结总量
  24809. type: number
  24810. tnusedqty:
  24811. description: T+N使用量(可以使用T+N的冻结数量)
  24812. type: number
  24813. trademode:
  24814. description: 交易模式
  24815. type: integer
  24816. tradeproperty:
  24817. description: 交易属性
  24818. type: integer
  24819. usedmargin:
  24820. description: 占用保证金[商品币种]
  24821. type: number
  24822. required:
  24823. - goodsid
  24824. type: object
  24825. pb.GoodsMarginCfgStruct:
  24826. properties:
  24827. CustomerTypeID:
  24828. description: 投资者客户类型
  24829. type: integer
  24830. GoodsID:
  24831. description: 商品ID
  24832. type: integer
  24833. IsDefault:
  24834. description: 是否默认标志位
  24835. type: integer
  24836. LockMarginValue:
  24837. description: 锁仓保证金
  24838. type: number
  24839. MarginAlgorithm:
  24840. description: 保证金计算方式
  24841. type: integer
  24842. MarketMarginValue:
  24843. description: 即市保证金值
  24844. type: number
  24845. RealMarginAlgorithm:
  24846. description: 实付保证金计算方式
  24847. type: integer
  24848. RealMarginValue:
  24849. description: 实付比例
  24850. type: number
  24851. ReckonMarginValue:
  24852. description: 结算保证金值
  24853. type: number
  24854. type: object
  24855. quote.HistoryData:
  24856. properties:
  24857. c:
  24858. description: 收盘价
  24859. type: number
  24860. f:
  24861. description: 是否补充数据
  24862. type: boolean
  24863. h:
  24864. description: 最高价
  24865. type: number
  24866. hv:
  24867. description: 持仓量
  24868. type: integer
  24869. l:
  24870. description: 最低价
  24871. type: number
  24872. o:
  24873. description: 开盘价
  24874. type: number
  24875. s:
  24876. description: 结算价,日线周期(包括)以上才有
  24877. type: number
  24878. ts:
  24879. description: 时间
  24880. type: string
  24881. tt:
  24882. description: 总金额
  24883. type: number
  24884. tv:
  24885. description: 总量(成交量)
  24886. type: integer
  24887. type: object
  24888. quote.HistoryTikData:
  24889. properties:
  24890. AV:
  24891. description: 卖量
  24892. type: integer
  24893. Ask:
  24894. description: 卖价
  24895. type: number
  24896. BV:
  24897. description: 买量
  24898. type: integer
  24899. Bid:
  24900. description: 买价
  24901. type: number
  24902. HI:
  24903. description: 单笔持仓
  24904. type: integer
  24905. HV:
  24906. description: 持仓量
  24907. type: integer
  24908. PE:
  24909. description: 现价
  24910. type: number
  24911. TDR:
  24912. description: 交易方向,0:买 1:卖
  24913. type: integer
  24914. TK:
  24915. description: 交易类型
  24916. type: integer
  24917. TS:
  24918. description: 行情时间文本
  24919. type: string
  24920. TT:
  24921. description: 现金额
  24922. type: number
  24923. Vol:
  24924. description: 现量
  24925. type: integer
  24926. type: object
  24927. quote.QueryQuoteDayRsp:
  24928. properties:
  24929. ask:
  24930. description: 卖1
  24931. type: number
  24932. ask2:
  24933. description: 卖2
  24934. type: number
  24935. ask3:
  24936. description: 卖3
  24937. type: number
  24938. ask4:
  24939. description: 卖4
  24940. type: number
  24941. ask5:
  24942. description: 卖5
  24943. type: number
  24944. ask6:
  24945. description: 卖6
  24946. type: number
  24947. ask7:
  24948. description: 卖7
  24949. type: number
  24950. ask8:
  24951. description: 卖8
  24952. type: number
  24953. ask9:
  24954. description: 卖9
  24955. type: number
  24956. ask10:
  24957. description: 卖10
  24958. type: number
  24959. askorderid:
  24960. description: 卖单号1
  24961. type: integer
  24962. askorderid2:
  24963. description: 卖单号2
  24964. type: integer
  24965. askorderid3:
  24966. description: 卖单号3
  24967. type: integer
  24968. askorderid4:
  24969. description: 卖单号4
  24970. type: integer
  24971. askorderid5:
  24972. description: 卖单号5
  24973. type: integer
  24974. askordervolume:
  24975. description: 卖单量1
  24976. type: integer
  24977. askordervolume2:
  24978. description: 卖单量2
  24979. type: integer
  24980. askordervolume3:
  24981. description: 卖单量3
  24982. type: integer
  24983. askordervolume4:
  24984. description: 卖单量4
  24985. type: integer
  24986. askordervolume5:
  24987. description: 卖单量5
  24988. type: integer
  24989. askordervolume6:
  24990. description: 卖单量6
  24991. type: integer
  24992. askordervolume7:
  24993. description: 卖单量7
  24994. type: integer
  24995. askordervolume8:
  24996. description: 卖单量8
  24997. type: integer
  24998. askordervolume9:
  24999. description: 卖单量9
  25000. type: integer
  25001. askordervolume10:
  25002. description: 卖单量10
  25003. type: integer
  25004. askqueueinfo:
  25005. description: 大利市卖港股用
  25006. type: string
  25007. askvolume:
  25008. description: 卖量1
  25009. type: integer
  25010. askvolume2:
  25011. description: 卖量2
  25012. type: integer
  25013. askvolume3:
  25014. description: 卖量3
  25015. type: integer
  25016. askvolume4:
  25017. description: 卖量4
  25018. type: integer
  25019. askvolume5:
  25020. description: 卖量5
  25021. type: integer
  25022. askvolume6:
  25023. description: 卖量6
  25024. type: integer
  25025. askvolume7:
  25026. description: 卖量7
  25027. type: integer
  25028. askvolume8:
  25029. description: 卖量8
  25030. type: integer
  25031. askvolume9:
  25032. description: 卖量9
  25033. type: integer
  25034. askvolume10:
  25035. description: 卖量10
  25036. type: integer
  25037. averageprice:
  25038. description: 均价
  25039. type: number
  25040. bid:
  25041. description: 买1
  25042. type: number
  25043. bid2:
  25044. description: 买2
  25045. type: number
  25046. bid3:
  25047. description: 买3
  25048. type: number
  25049. bid4:
  25050. description: 买4
  25051. type: number
  25052. bid5:
  25053. description: 买5
  25054. type: number
  25055. bid6:
  25056. description: 买6
  25057. type: number
  25058. bid7:
  25059. description: 买7
  25060. type: number
  25061. bid8:
  25062. description: 买8
  25063. type: number
  25064. bid9:
  25065. description: 买9
  25066. type: number
  25067. bid10:
  25068. description: 买10
  25069. type: number
  25070. bidorderid:
  25071. description: 买单号1
  25072. type: integer
  25073. bidorderid2:
  25074. description: 买单号2
  25075. type: integer
  25076. bidorderid3:
  25077. description: 买单号3
  25078. type: integer
  25079. bidorderid4:
  25080. description: 买单号4
  25081. type: integer
  25082. bidorderid5:
  25083. description: 买单号5
  25084. type: integer
  25085. bidordervolume:
  25086. description: 买单量1
  25087. type: integer
  25088. bidordervolume2:
  25089. description: 买单量2
  25090. type: integer
  25091. bidordervolume3:
  25092. description: 买单量3
  25093. type: integer
  25094. bidordervolume4:
  25095. description: 买单量4
  25096. type: integer
  25097. bidordervolume5:
  25098. description: 买单量5
  25099. type: integer
  25100. bidordervolume6:
  25101. description: 买单量6
  25102. type: integer
  25103. bidordervolume7:
  25104. description: 买单量7
  25105. type: integer
  25106. bidordervolume8:
  25107. description: 买单量8
  25108. type: integer
  25109. bidordervolume9:
  25110. description: 买单量9
  25111. type: integer
  25112. bidordervolume10:
  25113. description: 买单量10
  25114. type: integer
  25115. bidqueueinfo:
  25116. description: 大利市买港股用
  25117. type: string
  25118. bidvolume:
  25119. description: 买量1
  25120. type: integer
  25121. bidvolume2:
  25122. description: 买量2
  25123. type: integer
  25124. bidvolume3:
  25125. description: 买量3
  25126. type: integer
  25127. bidvolume4:
  25128. description: 买量4
  25129. type: integer
  25130. bidvolume5:
  25131. description: 买量5
  25132. type: integer
  25133. bidvolume6:
  25134. description: 买量6
  25135. type: integer
  25136. bidvolume7:
  25137. description: 买量7
  25138. type: integer
  25139. bidvolume8:
  25140. description: 买量8
  25141. type: integer
  25142. bidvolume9:
  25143. description: 买量9
  25144. type: integer
  25145. bidvolume10:
  25146. description: 买量10
  25147. type: integer
  25148. calloptionpremiums:
  25149. description: 认购期权1
  25150. type: integer
  25151. calloptionpremiums2:
  25152. description: 认购期权2
  25153. type: integer
  25154. calloptionpremiums3:
  25155. description: 认购期权3
  25156. type: integer
  25157. calloptionpremiums4:
  25158. description: 认购期权4
  25159. type: integer
  25160. calloptionpremiums5:
  25161. description: 认购期权5
  25162. type: integer
  25163. cleartime:
  25164. description: 清盘时间
  25165. type: integer
  25166. exchangecode:
  25167. description: 交易所代码
  25168. type: integer
  25169. exchangedate:
  25170. description: 交易日
  25171. type: integer
  25172. goodscode:
  25173. description: 商品代码
  25174. type: string
  25175. grepmarketprice:
  25176. description: 暗盘价 港股专用
  25177. type: number
  25178. highest:
  25179. description: 最高价
  25180. type: number
  25181. holdincrement:
  25182. description: 单笔持仓
  25183. type: integer
  25184. holdvolume:
  25185. description: 持仓
  25186. type: integer
  25187. iep:
  25188. description: 平衡价 港股专用
  25189. type: number
  25190. iev:
  25191. description: 平衡量 港股专用
  25192. type: number
  25193. inventory:
  25194. description: 库存
  25195. type: integer
  25196. iscleared:
  25197. description: 是否清盘标志
  25198. type: integer
  25199. issettled:
  25200. description: 是否结算标志
  25201. type: integer
  25202. last:
  25203. description: 最新价
  25204. type: number
  25205. lastlot:
  25206. description: 最新成交手数
  25207. type: integer
  25208. lasttime:
  25209. description: 行情时间(只有现价变化行情时间才变化)
  25210. type: string
  25211. lastturnover:
  25212. description: 最新成交金额
  25213. type: number
  25214. lastvolume:
  25215. description: 最新成交量
  25216. type: integer
  25217. limitdown:
  25218. description: 跌停价
  25219. type: number
  25220. limitup:
  25221. description: 涨停价
  25222. type: number
  25223. lowest:
  25224. description: 最低价
  25225. type: number
  25226. nontotalholdervolume:
  25227. description: 非交易持仓量
  25228. type: integer
  25229. nontotallot:
  25230. description: 非交易总手数
  25231. type: integer
  25232. nontotalturnover:
  25233. description: 非交易总金额
  25234. type: integer
  25235. nontotalvolume:
  25236. description: 非交易总量
  25237. type: integer
  25238. opened:
  25239. description: 开盘价
  25240. type: number
  25241. opentime:
  25242. description: 开盘时间
  25243. type: string
  25244. orderid:
  25245. description: 序号
  25246. type: integer
  25247. preclose:
  25248. description: 昨收
  25249. type: number
  25250. preholdvolume:
  25251. description: 昨持仓
  25252. type: integer
  25253. presettle:
  25254. description: 昨结价
  25255. type: number
  25256. publictradetype:
  25257. description: 公共交易标志类型 港股专用
  25258. type: string
  25259. putoptionpremiums:
  25260. description: 认沽期权1
  25261. type: integer
  25262. putoptionpremiums2:
  25263. description: 认沽期权2
  25264. type: integer
  25265. putoptionpremiums3:
  25266. description: 认沽期权3
  25267. type: integer
  25268. putoptionpremiums4:
  25269. description: 认沽期权4
  25270. type: integer
  25271. putoptionpremiums5:
  25272. description: 认沽期权5
  25273. type: integer
  25274. settle:
  25275. description: 结算价
  25276. type: number
  25277. strikeprice:
  25278. description: 发行价
  25279. type: number
  25280. totalaskvolume:
  25281. description: 内盘
  25282. type: integer
  25283. totalbidvolume:
  25284. description: 外盘
  25285. type: integer
  25286. totallot:
  25287. description: 总手数
  25288. type: integer
  25289. totalturnover:
  25290. description: 总金额
  25291. type: number
  25292. totalvolume:
  25293. description: 总量
  25294. type: integer
  25295. utclasttime:
  25296. description: utc的行情时间
  25297. type: string
  25298. type: object
  25299. quote.QueryTSDataRsp:
  25300. properties:
  25301. Count:
  25302. description: 交易日应有数据个数
  25303. type: integer
  25304. decimalPlace:
  25305. description: 小数位
  25306. type: integer
  25307. endTime:
  25308. description: 结束时间
  25309. type: string
  25310. goodsCode:
  25311. description: 商品代码
  25312. type: string
  25313. historyDatas:
  25314. description: 历史数据
  25315. items:
  25316. $ref: '#/definitions/quote.HistoryData'
  25317. type: array
  25318. outGoodsCode:
  25319. description: 外部商品代码
  25320. type: string
  25321. preSettle:
  25322. description: 昨结价
  25323. type: number
  25324. runSteps:
  25325. description: 交易日开休市计划
  25326. items:
  25327. $ref: '#/definitions/quote.TSDataRunStep'
  25328. type: array
  25329. startTime:
  25330. description: 开始时间
  25331. type: string
  25332. tradeDate:
  25333. description: 交易日
  25334. type: string
  25335. type: object
  25336. quote.TSDataRunStep:
  25337. properties:
  25338. end:
  25339. description: 真实结束时间
  25340. type: string
  25341. endflag:
  25342. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25343. type: integer
  25344. endtime:
  25345. description: 结束时间(HH:mm)
  25346. type: string
  25347. endweekday:
  25348. description: 结束周几
  25349. type: integer
  25350. groupid:
  25351. description: 分组ID
  25352. type: integer
  25353. runstep:
  25354. description: 运行阶段 - 2:连续交易
  25355. type: integer
  25356. sectionid:
  25357. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25358. 结束时间=结算时间 结束周几=结算周几
  25359. type: integer
  25360. start:
  25361. description: 真实开始时间
  25362. type: string
  25363. startflag:
  25364. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25365. type: integer
  25366. starttime:
  25367. description: 起始时间(HH:mm)
  25368. type: string
  25369. startweekday:
  25370. description: 起始周几
  25371. type: integer
  25372. tradeweekday:
  25373. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25374. type: integer
  25375. type: object
  25376. szdz.QueryConvertLogRsp:
  25377. properties:
  25378. accountid:
  25379. description: 资金账户ID
  25380. type: integer
  25381. clientticket:
  25382. description: 客户端流水号
  25383. type: string
  25384. converttype:
  25385. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25386. type: integer
  25387. createtime:
  25388. description: 记账时间
  25389. type: string
  25390. daymaxvalue:
  25391. description: 配置当日最大转入限制
  25392. type: number
  25393. daymaxvalue2:
  25394. description: 配置当日最大转入限制(转入)
  25395. type: number
  25396. goodscode:
  25397. description: 商品代码
  25398. type: string
  25399. goodsname:
  25400. description: 商品名称
  25401. type: string
  25402. handlestatus:
  25403. description: 处理状态
  25404. type: integer
  25405. innergoodsid:
  25406. description: 内部商品ID
  25407. type: integer
  25408. inratio:
  25409. description: 配置转入比值
  25410. type: integer
  25411. invalue:
  25412. description: 目标值
  25413. type: number
  25414. logid:
  25415. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25416. type: integer
  25417. mobile:
  25418. description: 手机号码(加密存储)
  25419. type: string
  25420. outergoodscode:
  25421. description: 外部商品代码[JD\PD]
  25422. type: string
  25423. outratio:
  25424. description: 配置转出比值
  25425. type: integer
  25426. outvalue:
  25427. description: 源值
  25428. type: number
  25429. pddecimalplace:
  25430. description: PD小数位
  25431. type: integer
  25432. qty:
  25433. description: 数量
  25434. type: string
  25435. remark:
  25436. description: 备注
  25437. type: string
  25438. sessionid:
  25439. description: 会话ID
  25440. type: integer
  25441. timemaxvalue:
  25442. description: 配置单次最大转入限制
  25443. type: number
  25444. timemaxvalue2:
  25445. description: 配置单次最大转入限制(转入)
  25446. type: number
  25447. timeminvalue:
  25448. description: 配置单次最小数量限制
  25449. type: number
  25450. timeminvalue2:
  25451. description: 配置单次最小数量限制(转入)
  25452. type: number
  25453. tradedate:
  25454. description: 交易日(yyyyMMdd)
  25455. type: string
  25456. userid:
  25457. description: 用户ID
  25458. type: integer
  25459. required:
  25460. - logid
  25461. type: object
  25462. szdz.QueryGoodsPickupRsp:
  25463. properties:
  25464. accountid:
  25465. description: 账户ID
  25466. type: integer
  25467. address:
  25468. description: 提货人详细地址
  25469. type: string
  25470. auditer:
  25471. description: 审核人
  25472. type: integer
  25473. audittime:
  25474. description: 审核时间
  25475. type: string
  25476. cardnum:
  25477. description: 提货人证件号码
  25478. type: string
  25479. cardtypeid:
  25480. description: 提货人证件类型
  25481. type: integer
  25482. checkremark:
  25483. description: 审核备注
  25484. type: string
  25485. goodscode:
  25486. description: 商品代码
  25487. type: string
  25488. goodsid:
  25489. description: 商品ID
  25490. type: integer
  25491. goodsname:
  25492. description: 商品名称
  25493. type: string
  25494. handlestatus:
  25495. description: 处理状态
  25496. type: integer
  25497. marketid:
  25498. description: 市场ID
  25499. type: integer
  25500. phonenum:
  25501. description: 提货人联系方式
  25502. type: string
  25503. qty:
  25504. description: 提货数量
  25505. type: number
  25506. recivername:
  25507. description: 提货人姓名
  25508. type: string
  25509. reqtime:
  25510. description: 更新时间
  25511. type: string
  25512. takemode:
  25513. description: 提货方式 - 2:自提 3:配送
  25514. type: integer
  25515. takeorderid:
  25516. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25517. type: string
  25518. takeorderstatus:
  25519. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25520. type: integer
  25521. takeremark:
  25522. description: 提货备注
  25523. type: string
  25524. tradedate:
  25525. description: 交易日(yyyyMMdd)
  25526. type: string
  25527. userid:
  25528. description: 用户ID
  25529. type: integer
  25530. required:
  25531. - takeorderid
  25532. type: object
  25533. szdz.QueryRecieptOrderRsp:
  25534. properties:
  25535. accountName:
  25536. description: 所属账号名称(已脱敏)
  25537. type: string
  25538. accountid:
  25539. description: 资金账号
  25540. type: integer
  25541. buyorsell:
  25542. description: 方向 - 0:买 1:卖
  25543. type: integer
  25544. enableqty:
  25545. description: 可摘数量
  25546. type: integer
  25547. goodscode:
  25548. description: 商品代码
  25549. type: string
  25550. goodsid:
  25551. description: 商品ID
  25552. type: integer
  25553. goodsname:
  25554. description: 商品名称
  25555. type: string
  25556. orderid:
  25557. description: 委托单号
  25558. type: string
  25559. orderprice:
  25560. description: 委托价格
  25561. type: number
  25562. ordertime:
  25563. description: 委托时间
  25564. type: string
  25565. tradedate:
  25566. description: 交易日(yyyyMMdd)
  25567. type: string
  25568. required:
  25569. - ordertime
  25570. type: object
  25571. szdz.QuerySZDZTradePositionRsp:
  25572. properties:
  25573. accountid:
  25574. description: 账号Id
  25575. type: integer
  25576. agreeunit:
  25577. description: 合约单位
  25578. type: number
  25579. averageprice:
  25580. description: 持仓均价
  25581. type: number
  25582. buyorsell:
  25583. description: 方向 - 0:买 1:卖
  25584. type: integer
  25585. closetotalqty:
  25586. description: 平仓总数量
  25587. type: integer
  25588. curholderamount:
  25589. description: 当前持仓总金额
  25590. type: number
  25591. curpositionqty:
  25592. description: 当前持仓总数量
  25593. type: integer
  25594. currencyid:
  25595. description: 报价货币ID
  25596. type: integer
  25597. curtdposition:
  25598. description: 期末今日头寸
  25599. type: integer
  25600. decimalplace:
  25601. description: 报价小数位
  25602. type: integer
  25603. enableqty:
  25604. description: 可用量
  25605. type: integer
  25606. fretdposition:
  25607. description: 冻结今日头寸
  25608. type: integer
  25609. frozenqty:
  25610. description: 持仓冻结数量
  25611. type: integer
  25612. goodscode:
  25613. description: 商品代码(内部)
  25614. type: string
  25615. goodsid:
  25616. description: 商品Id
  25617. type: integer
  25618. goodsname:
  25619. description: 商品名称
  25620. type: string
  25621. goodunit:
  25622. description: 报价单位
  25623. type: string
  25624. goodunitid:
  25625. description: 报价单位ID
  25626. type: integer
  25627. holderamount:
  25628. description: 期初持仓总金额
  25629. type: number
  25630. marketid:
  25631. description: 市场ID
  25632. type: integer
  25633. openreqqty:
  25634. description: 开仓申请数量
  25635. type: integer
  25636. opentotalqty:
  25637. description: 开仓总数量
  25638. type: integer
  25639. otherfrozenqty:
  25640. description: 持仓其他冻结数量(交割冻结)
  25641. type: integer
  25642. positionqty:
  25643. description: 期初持仓数量
  25644. type: integer
  25645. szdz3freezqty:
  25646. description: 尚志大宗转换冻结总数量
  25647. type: integer
  25648. tnqty:
  25649. description: T+N冻结总量
  25650. type: integer
  25651. tnusedqty:
  25652. description: T+N使用量
  25653. type: integer
  25654. trademode:
  25655. description: 交易模式
  25656. type: integer
  25657. usedmargin:
  25658. description: 占用保证金
  25659. type: number
  25660. type: object
  25661. taaccount.QueryAmountLogRsp:
  25662. properties:
  25663. accountid:
  25664. description: 资金账户ID
  25665. type: integer
  25666. agoodscode:
  25667. description: 竞拍商品代码
  25668. type: string
  25669. agoodsname:
  25670. description: 竞拍商品名称
  25671. type: string
  25672. amount:
  25673. description: 资金金额
  25674. type: number
  25675. amountadjusttype:
  25676. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25677. type: integer
  25678. autoid:
  25679. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25680. type: integer
  25681. balance:
  25682. description: 期初余额
  25683. type: number
  25684. businesscode:
  25685. description: 业务编号
  25686. type: integer
  25687. createtime:
  25688. description: 发生时间
  25689. type: string
  25690. currencyid:
  25691. description: 币种ID
  25692. type: integer
  25693. currentbalance:
  25694. description: 期末余额(变动后金额)
  25695. type: number
  25696. dgoodscode:
  25697. description: 交割商品代码
  25698. type: string
  25699. dgoodsname:
  25700. description: 交割商品名称
  25701. type: string
  25702. goodscode:
  25703. description: 商品代码
  25704. type: string
  25705. goodsid:
  25706. description: 商品ID
  25707. type: integer
  25708. goodsname:
  25709. description: 商品名称
  25710. type: string
  25711. marketid:
  25712. description: 市场ID
  25713. type: integer
  25714. marketname:
  25715. description: 市场名称
  25716. type: string
  25717. moneyticket:
  25718. description: 资金流水号:银行端流水号
  25719. type: integer
  25720. operatetype:
  25721. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25722. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25723. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25724. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25725. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25726. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25727. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25728. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25729. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25730. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25731. type: integer
  25732. relationorderid:
  25733. description: 关联单号
  25734. type: string
  25735. remark:
  25736. description: 备注
  25737. type: string
  25738. trademode:
  25739. description: 交易模式
  25740. type: integer
  25741. required:
  25742. - accountid
  25743. - amount
  25744. - amountadjusttype
  25745. - autoid
  25746. - balance
  25747. - createtime
  25748. - currentbalance
  25749. - operatetype
  25750. type: object
  25751. taaccount.QueryHisAmountLogRsp:
  25752. properties:
  25753. accountid:
  25754. description: 资金账户ID
  25755. type: integer
  25756. agoodscode:
  25757. description: 竞拍商品代码
  25758. type: string
  25759. agoodsname:
  25760. description: 竞拍商品名称
  25761. type: string
  25762. amount:
  25763. description: 资金金额
  25764. type: number
  25765. amountadjusttype:
  25766. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25767. type: integer
  25768. autoid:
  25769. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25770. type: integer
  25771. balance:
  25772. description: 期初余额
  25773. type: number
  25774. businesscode:
  25775. description: 业务编号
  25776. type: integer
  25777. createtime:
  25778. description: 发生时间
  25779. type: string
  25780. currencyid:
  25781. description: 币种ID
  25782. type: integer
  25783. currentbalance:
  25784. description: 期末余额(变动后金额)
  25785. type: number
  25786. dgoodscode:
  25787. description: 交割商品代码
  25788. type: string
  25789. dgoodsname:
  25790. description: 交割商品名称
  25791. type: string
  25792. goodscode:
  25793. description: 商品代码
  25794. type: string
  25795. goodsid:
  25796. description: 商品ID
  25797. type: integer
  25798. goodsname:
  25799. description: 商品名称
  25800. type: string
  25801. histradedate:
  25802. description: 历史交易日
  25803. type: string
  25804. isvaliddata:
  25805. description: 是否有效 - 0:无效 1:有效
  25806. type: integer
  25807. marketid:
  25808. description: 市场ID
  25809. type: integer
  25810. marketname:
  25811. description: 市场名称
  25812. type: string
  25813. moneyticket:
  25814. description: 资金流水号:银行端流水号
  25815. type: integer
  25816. operatetype:
  25817. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25818. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25819. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25820. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25821. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25822. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25823. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25824. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25825. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25826. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25827. type: integer
  25828. relationorderid:
  25829. description: 关联单号
  25830. type: string
  25831. remark:
  25832. description: 备注
  25833. type: string
  25834. trademode:
  25835. description: 交易模式
  25836. type: integer
  25837. required:
  25838. - accountid
  25839. - amount
  25840. - amountadjusttype
  25841. - autoid
  25842. - balance
  25843. - createtime
  25844. - currentbalance
  25845. - histradedate
  25846. - operatetype
  25847. type: object
  25848. trade.QueryRecieptOrderRsp:
  25849. properties:
  25850. accountName:
  25851. description: 所属账号名称(已脱敏)
  25852. type: string
  25853. accountid:
  25854. description: 资金账号
  25855. type: integer
  25856. buyorsell:
  25857. description: 方向 - 0:买 1:卖
  25858. type: integer
  25859. enableqty:
  25860. description: 可摘数量
  25861. type: integer
  25862. goodscode:
  25863. description: 商品代码
  25864. type: string
  25865. goodsid:
  25866. description: 商品ID
  25867. type: integer
  25868. goodsname:
  25869. description: 商品名称
  25870. type: string
  25871. orderid:
  25872. description: 委托单号
  25873. type: string
  25874. orderprice:
  25875. description: 委托价格
  25876. type: number
  25877. ordertime:
  25878. description: 委托时间
  25879. type: string
  25880. tradedate:
  25881. description: 交易日(yyyyMMdd)
  25882. type: string
  25883. required:
  25884. - ordertime
  25885. type: object
  25886. user.LoginQueryRsp:
  25887. properties:
  25888. areaRoles:
  25889. description: 所属角色信息
  25890. items:
  25891. $ref: '#/definitions/models.Arearole'
  25892. type: array
  25893. exchangeRateConfigs:
  25894. description: 汇率信息
  25895. items:
  25896. $ref: '#/definitions/models.Exchangerateconfig'
  25897. type: array
  25898. externalExchanges:
  25899. description: 外部交易所
  25900. items:
  25901. $ref: '#/definitions/models.Externalexchange'
  25902. type: array
  25903. goodsgroups:
  25904. description: 商品组
  25905. items:
  25906. $ref: '#/definitions/models.Goodsgroup'
  25907. type: array
  25908. loginAccount:
  25909. allOf:
  25910. - $ref: '#/definitions/models.Loginaccount'
  25911. description: 登录账号
  25912. markets:
  25913. description: 市场
  25914. items:
  25915. $ref: '#/definitions/models.Market'
  25916. type: array
  25917. systemParams:
  25918. description: 系统参数
  25919. items:
  25920. $ref: '#/definitions/models.Systemparam'
  25921. type: array
  25922. userAccount:
  25923. allOf:
  25924. - $ref: '#/definitions/models.Useraccount'
  25925. description: 用户账号
  25926. userInfo:
  25927. allOf:
  25928. - $ref: '#/definitions/models.Userinfo'
  25929. description: 用户信息
  25930. username:
  25931. description: 用户姓名
  25932. type: string
  25933. type: object
  25934. info:
  25935. contact: {}
  25936. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25937. termsOfService: http://www.muchinfo.cn
  25938. title: MTP2.0 查询服务 API
  25939. version: "1.0"
  25940. paths:
  25941. /CPTrade/QueryCPTradeMyBidInfos:
  25942. get:
  25943. parameters:
  25944. - description: 资金账户
  25945. in: query
  25946. name: accountid
  25947. required: true
  25948. type: integer
  25949. - description: 预售市场ID
  25950. in: query
  25951. name: marketid
  25952. type: integer
  25953. - description: 预售商品ID
  25954. in: query
  25955. name: goodsid
  25956. type: integer
  25957. produces:
  25958. - application/json
  25959. responses:
  25960. "200":
  25961. description: OK
  25962. schema:
  25963. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25964. "500":
  25965. description: Internal Server Error
  25966. schema:
  25967. $ref: '#/definitions/app.Response'
  25968. security:
  25969. - ApiKeyAuth: []
  25970. summary: 查询产能预售我的出价信息
  25971. tags:
  25972. - 产能预售
  25973. /CPTrade/QueryCPTradeOrderDetail:
  25974. get:
  25975. parameters:
  25976. - description: 预售商品ID
  25977. in: query
  25978. name: goodsid
  25979. type: integer
  25980. - description: 预售市场ID
  25981. in: query
  25982. name: marketid
  25983. type: integer
  25984. - description: 预售商品ID列表 - 格式:1,2,3
  25985. in: query
  25986. name: goodsids
  25987. type: string
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  25995. "500":
  25996. description: Internal Server Error
  25997. schema:
  25998. $ref: '#/definitions/app.Response'
  25999. security:
  26000. - ApiKeyAuth: []
  26001. summary: 查询产能预售委托单信息
  26002. tags:
  26003. - 产能预售
  26004. /CPTrade/QueryMyCPTradeGoods:
  26005. get:
  26006. parameters:
  26007. - description: 资金账户
  26008. in: query
  26009. name: accountid
  26010. required: true
  26011. type: integer
  26012. produces:
  26013. - application/json
  26014. responses:
  26015. "200":
  26016. description: OK
  26017. schema:
  26018. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26019. "500":
  26020. description: Internal Server Error
  26021. schema:
  26022. $ref: '#/definitions/app.Response'
  26023. security:
  26024. - ApiKeyAuth: []
  26025. summary: 查询我的预售信息
  26026. tags:
  26027. - 产能预售
  26028. /CPTrade/QueryPositionCancel:
  26029. get:
  26030. parameters:
  26031. - description: 账户ID
  26032. in: query
  26033. name: userid
  26034. required: true
  26035. type: integer
  26036. - description: 注销ID
  26037. in: query
  26038. name: cancelid
  26039. type: integer
  26040. - description: 资金账户ID
  26041. in: query
  26042. name: accountid
  26043. type: integer
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26051. "500":
  26052. description: Internal Server Error
  26053. schema:
  26054. $ref: '#/definitions/app.Response'
  26055. security:
  26056. - ApiKeyAuth: []
  26057. summary: 查询远期订单注销申请信息
  26058. tags:
  26059. - 产能预售
  26060. /CPTrade/QueryPreasleApply:
  26061. get:
  26062. parameters:
  26063. - description: 账户ID
  26064. in: query
  26065. name: userid
  26066. required: true
  26067. type: integer
  26068. - description: 申请ID
  26069. in: query
  26070. name: applyid
  26071. type: integer
  26072. - description: 资金账户ID
  26073. in: query
  26074. name: accountid
  26075. type: integer
  26076. produces:
  26077. - application/json
  26078. responses:
  26079. "200":
  26080. description: OK
  26081. schema:
  26082. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26083. "500":
  26084. description: Internal Server Error
  26085. schema:
  26086. $ref: '#/definitions/app.Response'
  26087. security:
  26088. - ApiKeyAuth: []
  26089. summary: 查询产能预售申请信息
  26090. tags:
  26091. - 产能预售
  26092. /CPTrade/QueryPresaleGoodsEx:
  26093. get:
  26094. parameters:
  26095. - description: 预售商品ID
  26096. in: query
  26097. name: goodsid
  26098. type: integer
  26099. - description: 预售市场ID
  26100. in: query
  26101. name: marketid
  26102. type: integer
  26103. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26104. in: query
  26105. name: presalemode
  26106. type: integer
  26107. - description: 预售商品ID列表 - 格式:1,2,3
  26108. in: query
  26109. name: goodsids
  26110. type: string
  26111. - description: 预售商品代码
  26112. in: query
  26113. name: goodscode
  26114. type: string
  26115. produces:
  26116. - application/json
  26117. responses:
  26118. "200":
  26119. description: OK
  26120. schema:
  26121. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26122. "500":
  26123. description: Internal Server Error
  26124. schema:
  26125. $ref: '#/definitions/app.Response'
  26126. security:
  26127. - ApiKeyAuth: []
  26128. summary: 查询产能预售商品扩展信息
  26129. tags:
  26130. - 产能预售
  26131. /CPTrade/QueryUserGoodsData:
  26132. get:
  26133. parameters:
  26134. - description: 资金账户ID
  26135. in: query
  26136. name: accountid
  26137. required: true
  26138. type: integer
  26139. produces:
  26140. - application/json
  26141. responses:
  26142. "200":
  26143. description: OK
  26144. schema:
  26145. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26146. "500":
  26147. description: Internal Server Error
  26148. schema:
  26149. $ref: '#/definitions/app.Response'
  26150. security:
  26151. - ApiKeyAuth: []
  26152. summary: 查询远期订单信息
  26153. tags:
  26154. - 产能预售
  26155. /Common/DeleteNewFuncmenu:
  26156. delete:
  26157. consumes:
  26158. - application/json
  26159. parameters:
  26160. - description: 菜单表数据,只需要resourcecode字段即可
  26161. in: body
  26162. name: data
  26163. required: true
  26164. schema:
  26165. $ref: '#/definitions/models.NewFuncmenulist'
  26166. produces:
  26167. - application/json
  26168. responses:
  26169. "200":
  26170. description: OK
  26171. schema:
  26172. $ref: '#/definitions/app.Response'
  26173. "500":
  26174. description: Internal Server Error
  26175. schema:
  26176. $ref: '#/definitions/app.Response'
  26177. security:
  26178. - ApiKeyAuth: []
  26179. summary: 删除菜单表数据
  26180. tags:
  26181. - 通用服务
  26182. /Common/FindNewFuncmenu:
  26183. get:
  26184. parameters:
  26185. - description: 资源代码
  26186. in: query
  26187. name: resourcecode
  26188. type: string
  26189. - description: 上级资源代码
  26190. in: query
  26191. name: parentcode
  26192. type: string
  26193. - description: 资源名(Title), 模糊查询
  26194. in: query
  26195. name: resourcename
  26196. type: string
  26197. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26198. in: query
  26199. name: menutype
  26200. type: string
  26201. produces:
  26202. - application/json
  26203. responses:
  26204. "200":
  26205. description: OK
  26206. schema:
  26207. items:
  26208. $ref: '#/definitions/models.NewFuncmenulist'
  26209. type: array
  26210. "500":
  26211. description: Internal Server Error
  26212. schema:
  26213. $ref: '#/definitions/app.Response'
  26214. security:
  26215. - ApiKeyAuth: []
  26216. summary: 获取菜单表数据
  26217. tags:
  26218. - 通用服务
  26219. /Common/GetAllEnums:
  26220. get:
  26221. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26222. parameters:
  26223. - description: 起始自增ID
  26224. in: query
  26225. name: autoid
  26226. type: integer
  26227. produces:
  26228. - application/json
  26229. responses:
  26230. "200":
  26231. description: OK
  26232. schema:
  26233. $ref: '#/definitions/models.Enumdicitem'
  26234. "500":
  26235. description: Internal Server Error
  26236. schema:
  26237. $ref: '#/definitions/app.Response'
  26238. summary: 获取所有枚举信息
  26239. tags:
  26240. - 通用服务
  26241. /Common/GetClientMenus:
  26242. get:
  26243. parameters:
  26244. - description: 登录账号
  26245. in: query
  26246. name: loginID
  26247. required: true
  26248. type: integer
  26249. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26250. in: query
  26251. name: clientType
  26252. type: integer
  26253. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26254. in: query
  26255. name: name
  26256. type: string
  26257. produces:
  26258. - application/json
  26259. responses:
  26260. "200":
  26261. description: OK
  26262. schema:
  26263. items:
  26264. $ref: '#/definitions/common.ClientMenu'
  26265. type: array
  26266. "500":
  26267. description: Internal Server Error
  26268. schema:
  26269. $ref: '#/definitions/app.Response'
  26270. security:
  26271. - ApiKeyAuth: []
  26272. summary: 获取交易端菜单
  26273. tags:
  26274. - 通用服务
  26275. /Common/GetClientNewFuncmenu:
  26276. get:
  26277. parameters:
  26278. - description: 登录账号
  26279. in: query
  26280. name: loginid
  26281. required: true
  26282. type: integer
  26283. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26284. in: query
  26285. name: menutype
  26286. required: true
  26287. type: integer
  26288. produces:
  26289. - application/json
  26290. responses:
  26291. "200":
  26292. description: OK
  26293. schema:
  26294. items:
  26295. $ref: '#/definitions/models.NewFuncmenulist'
  26296. type: array
  26297. "500":
  26298. description: Internal Server Error
  26299. schema:
  26300. $ref: '#/definitions/app.Response'
  26301. security:
  26302. - ApiKeyAuth: []
  26303. summary: 获取终端菜单
  26304. tags:
  26305. - 通用服务
  26306. /Common/GetDivisions:
  26307. get:
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. $ref: '#/definitions/models.Division'
  26315. "500":
  26316. description: Internal Server Error
  26317. schema:
  26318. $ref: '#/definitions/app.Response'
  26319. summary: 查询区域信息
  26320. tags:
  26321. - 通用服务
  26322. /Common/GetPCWebMenus:
  26323. get:
  26324. parameters:
  26325. - description: 登录账号
  26326. in: query
  26327. name: loginID
  26328. required: true
  26329. type: integer
  26330. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26331. in: query
  26332. name: name
  26333. type: string
  26334. produces:
  26335. - application/json
  26336. responses:
  26337. "200":
  26338. description: OK
  26339. schema:
  26340. items:
  26341. $ref: '#/definitions/common.PCWebMenu'
  26342. type: array
  26343. "500":
  26344. description: Internal Server Error
  26345. schema:
  26346. $ref: '#/definitions/app.Response'
  26347. security:
  26348. - ApiKeyAuth: []
  26349. summary: 获取PCWeb交易端菜单
  26350. tags:
  26351. - 通用服务
  26352. /Common/GetServerTime:
  26353. get:
  26354. produces:
  26355. - application/json
  26356. responses:
  26357. "200":
  26358. description: OK
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. "500":
  26362. description: Internal Server Error
  26363. schema:
  26364. $ref: '#/definitions/app.Response'
  26365. summary: 获取服务器时间
  26366. tags:
  26367. - 通用服务
  26368. /Common/InsertNewFuncmenu:
  26369. post:
  26370. consumes:
  26371. - application/json
  26372. parameters:
  26373. - description: 菜单表数据
  26374. in: body
  26375. name: data
  26376. required: true
  26377. schema:
  26378. $ref: '#/definitions/models.NewFuncmenulist'
  26379. produces:
  26380. - application/json
  26381. responses:
  26382. "200":
  26383. description: OK
  26384. schema:
  26385. $ref: '#/definitions/app.Response'
  26386. "500":
  26387. description: Internal Server Error
  26388. schema:
  26389. $ref: '#/definitions/app.Response'
  26390. security:
  26391. - ApiKeyAuth: []
  26392. summary: 插入菜单表数据
  26393. tags:
  26394. - 通用服务
  26395. /Common/NoticeReaded:
  26396. post:
  26397. parameters:
  26398. - description: 登录账号
  26399. in: query
  26400. name: loginID
  26401. required: true
  26402. type: integer
  26403. - description: 通知公告ID
  26404. in: query
  26405. name: noticeID
  26406. required: true
  26407. type: integer
  26408. produces:
  26409. - application/json
  26410. responses:
  26411. "200":
  26412. description: OK
  26413. schema:
  26414. $ref: '#/definitions/app.Response'
  26415. "500":
  26416. description: Internal Server Error
  26417. schema:
  26418. $ref: '#/definitions/app.Response'
  26419. security:
  26420. - ApiKeyAuth: []
  26421. summary: 通知公告设置已读请求
  26422. tags:
  26423. - 通用服务
  26424. /Common/QueryErrorInfos:
  26425. get:
  26426. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26427. parameters:
  26428. - description: 起始行号前索引
  26429. in: query
  26430. name: rowNumber
  26431. type: string
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26439. "500":
  26440. description: Internal Server Error
  26441. schema:
  26442. $ref: '#/definitions/app.Response'
  26443. summary: 获取数据库错误信息
  26444. tags:
  26445. - 通用服务
  26446. /Common/QueryImageConfigs:
  26447. get:
  26448. parameters:
  26449. - description: 用户id
  26450. in: query
  26451. name: userId
  26452. type: integer
  26453. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26454. in: query
  26455. name: imageType
  26456. type: integer
  26457. produces:
  26458. - application/json
  26459. responses:
  26460. "200":
  26461. description: OK
  26462. schema:
  26463. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26464. "500":
  26465. description: Internal Server Error
  26466. schema:
  26467. $ref: '#/definitions/app.Response'
  26468. summary: 查询轮播图配置信息
  26469. tags:
  26470. - 通用服务
  26471. /Common/QueryNotice:
  26472. get:
  26473. parameters:
  26474. - description: 页码
  26475. in: query
  26476. name: page
  26477. type: integer
  26478. - description: 每页条数
  26479. in: query
  26480. name: pagesize
  26481. type: integer
  26482. - description: 分页标志 0-page从0开始 1-page从1开始
  26483. in: query
  26484. name: pageflag
  26485. type: integer
  26486. - description: 登录账号
  26487. in: query
  26488. name: loginID
  26489. required: true
  26490. type: integer
  26491. - description: 消息类型 - 1:公告通知 2:系统消息
  26492. in: query
  26493. name: msgType
  26494. type: integer
  26495. - description: 是否只获取未读信息
  26496. in: query
  26497. name: onlyUnRead
  26498. type: boolean
  26499. - description: 自增ID,传入后会返回这个ID后面的记录
  26500. in: query
  26501. name: lastID
  26502. type: integer
  26503. produces:
  26504. - application/json
  26505. responses:
  26506. "200":
  26507. description: OK
  26508. schema:
  26509. $ref: '#/definitions/common.QueryNoticeRsp'
  26510. "500":
  26511. description: Internal Server Error
  26512. schema:
  26513. $ref: '#/definitions/app.Response'
  26514. security:
  26515. - ApiKeyAuth: []
  26516. summary: 通知公告系统消息查询
  26517. tags:
  26518. - 通用服务
  26519. /Common/QueryProvincesAndCities:
  26520. get:
  26521. parameters:
  26522. - description: 省ID
  26523. in: query
  26524. name: provinceID
  26525. type: integer
  26526. produces:
  26527. - application/json
  26528. responses:
  26529. "200":
  26530. description: OK
  26531. schema:
  26532. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26533. "500":
  26534. description: Internal Server Error
  26535. schema:
  26536. $ref: '#/definitions/app.Response'
  26537. summary: 查询省市信息(不包括区)
  26538. tags:
  26539. - 通用服务
  26540. /Common/QueryRates:
  26541. get:
  26542. parameters:
  26543. - description: 页码
  26544. in: query
  26545. name: page
  26546. type: integer
  26547. - description: 每页条数
  26548. in: query
  26549. name: pagesize
  26550. type: integer
  26551. - description: 源币种ID
  26552. in: query
  26553. name: oricurrencyid
  26554. type: integer
  26555. - description: 目标币种ID
  26556. in: query
  26557. name: descurrencyid
  26558. type: integer
  26559. produces:
  26560. - application/json
  26561. responses:
  26562. "200":
  26563. description: OK
  26564. schema:
  26565. items:
  26566. $ref: '#/definitions/models.Exchangerateconfig'
  26567. type: array
  26568. "500":
  26569. description: Internal Server Error
  26570. schema:
  26571. $ref: '#/definitions/app.Response'
  26572. security:
  26573. - ApiKeyAuth: []
  26574. - LoginID: []
  26575. - Group: []
  26576. summary: 查询汇率信息
  26577. tags:
  26578. - 通用服务
  26579. /Common/QueryTableDefine:
  26580. get:
  26581. parameters:
  26582. - description: 表key
  26583. in: query
  26584. name: tableKey
  26585. type: string
  26586. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26587. in: query
  26588. name: tableType
  26589. type: integer
  26590. produces:
  26591. - application/json
  26592. responses:
  26593. "200":
  26594. description: OK
  26595. schema:
  26596. $ref: '#/definitions/common.QueryTableDefineRsp'
  26597. "500":
  26598. description: Internal Server Error
  26599. schema:
  26600. $ref: '#/definitions/app.Response'
  26601. summary: 查询交易端列表头信息
  26602. tags:
  26603. - 通用服务
  26604. /Common/QueryTraderMenu:
  26605. get:
  26606. parameters:
  26607. - description: 登录账号
  26608. in: query
  26609. name: loginid
  26610. required: true
  26611. type: integer
  26612. produces:
  26613. - application/json
  26614. responses:
  26615. "200":
  26616. description: OK
  26617. schema:
  26618. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26619. "500":
  26620. description: Internal Server Error
  26621. schema:
  26622. $ref: '#/definitions/app.Response'
  26623. summary: 查询交易端菜单
  26624. tags:
  26625. - 通用服务
  26626. /Common/UpdateNewFuncmenu:
  26627. put:
  26628. consumes:
  26629. - application/json
  26630. parameters:
  26631. - description: 菜单表数据
  26632. in: body
  26633. name: data
  26634. required: true
  26635. schema:
  26636. $ref: '#/definitions/models.NewFuncmenulist'
  26637. produces:
  26638. - application/json
  26639. responses:
  26640. "200":
  26641. description: OK
  26642. schema:
  26643. $ref: '#/definitions/app.Response'
  26644. "500":
  26645. description: Internal Server Error
  26646. schema:
  26647. $ref: '#/definitions/app.Response'
  26648. security:
  26649. - ApiKeyAuth: []
  26650. summary: 更新菜单表数据
  26651. tags:
  26652. - 通用服务
  26653. /Delivery/QueryDeliveryRelation:
  26654. get:
  26655. parameters:
  26656. - description: 商品ID
  26657. in: query
  26658. name: goodsid
  26659. type: integer
  26660. - description: 品种ID
  26661. in: query
  26662. name: deliverygoodsid
  26663. type: integer
  26664. - description: 市场ID
  26665. in: query
  26666. name: marketid
  26667. type: integer
  26668. produces:
  26669. - application/json
  26670. responses:
  26671. "200":
  26672. description: OK
  26673. schema:
  26674. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26675. "500":
  26676. description: Internal Server Error
  26677. schema:
  26678. $ref: '#/definitions/app.Response'
  26679. security:
  26680. - ApiKeyAuth: []
  26681. summary: 查询商品交割关系表
  26682. tags:
  26683. - 交割服务
  26684. /Ermcp/GetErmcpGoods:
  26685. get:
  26686. parameters:
  26687. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26688. in: query
  26689. name: userid
  26690. type: integer
  26691. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26692. in: query
  26693. name: lastUpdateTime
  26694. type: string
  26695. produces:
  26696. - application/json
  26697. responses:
  26698. "200":
  26699. description: OK
  26700. schema:
  26701. $ref: '#/definitions/models.ErmcpGoods'
  26702. "500":
  26703. description: Internal Server Error
  26704. schema:
  26705. $ref: '#/definitions/app.Response'
  26706. security:
  26707. - ApiKeyAuth: []
  26708. summary: 查询企业风管期货商品信息
  26709. tags:
  26710. - 企业风险管理(app)
  26711. /Ermcp/GetErmcpGoodsSortByPosition:
  26712. get:
  26713. parameters:
  26714. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26715. in: query
  26716. name: sortIndex
  26717. type: string
  26718. produces:
  26719. - application/json
  26720. responses:
  26721. "200":
  26722. description: OK
  26723. schema:
  26724. $ref: '#/definitions/models.Goodssortbypreposition'
  26725. "500":
  26726. description: Internal Server Error
  26727. schema:
  26728. $ref: '#/definitions/app.Response'
  26729. security:
  26730. - ApiKeyAuth: []
  26731. summary: 查询企业风管期货主力、次主力商品信息
  26732. tags:
  26733. - 企业风险管理(app)
  26734. /Ermcp/GetErmcpOutAccountStatus:
  26735. get:
  26736. parameters:
  26737. - description: 登录账号
  26738. in: query
  26739. name: loginID
  26740. required: true
  26741. type: integer
  26742. produces:
  26743. - application/json
  26744. responses:
  26745. "200":
  26746. description: OK
  26747. schema:
  26748. $ref: '#/definitions/models.Hedgemarketopenlog'
  26749. "500":
  26750. description: Internal Server Error
  26751. schema:
  26752. $ref: '#/definitions/app.Response'
  26753. security:
  26754. - ApiKeyAuth: []
  26755. summary: 获取目标登录账号当前对冲账号在线状态
  26756. tags:
  26757. - 企业风险管理(app)
  26758. /Ermcp/GetErmcpRoleFuncMenuLists:
  26759. get:
  26760. parameters:
  26761. - description: 登录账号
  26762. in: query
  26763. name: loginID
  26764. required: true
  26765. type: integer
  26766. produces:
  26767. - application/json
  26768. responses:
  26769. "200":
  26770. description: OK
  26771. schema:
  26772. $ref: '#/definitions/models.Funcmenulist'
  26773. "500":
  26774. description: Internal Server Error
  26775. schema:
  26776. $ref: '#/definitions/app.Response'
  26777. security:
  26778. - ApiKeyAuth: []
  26779. summary: 获取企业风管终端权限
  26780. tags:
  26781. - 企业风险管理(app)
  26782. /Ermcp/QueryAccMgrBizGroupSet:
  26783. get:
  26784. parameters:
  26785. - description: 用户ID
  26786. in: query
  26787. name: userid
  26788. required: true
  26789. type: integer
  26790. - description: 现货商品id
  26791. in: query
  26792. name: deliverygoodsid
  26793. type: integer
  26794. produces:
  26795. - application/json
  26796. responses:
  26797. "200":
  26798. description: OK
  26799. schema:
  26800. items:
  26801. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26802. type: array
  26803. "500":
  26804. description: Internal Server Error
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. security:
  26808. - ApiKeyAuth: []
  26809. summary: 查询业务类型分组(账户管理/账户设置)
  26810. tags:
  26811. - 企业风险管理(app)
  26812. /Ermcp/QueryAccMgrLoginUser:
  26813. get:
  26814. parameters:
  26815. - description: 用户ID
  26816. in: query
  26817. name: userid
  26818. required: true
  26819. type: integer
  26820. - description: 用户类型 2-机构 7-企业成员
  26821. in: query
  26822. name: usertype
  26823. type: integer
  26824. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26825. in: query
  26826. name: querytype
  26827. required: true
  26828. type: integer
  26829. produces:
  26830. - application/json
  26831. responses:
  26832. "200":
  26833. description: OK
  26834. schema:
  26835. items:
  26836. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26837. type: array
  26838. "500":
  26839. description: Internal Server Error
  26840. schema:
  26841. $ref: '#/definitions/app.Response'
  26842. security:
  26843. - ApiKeyAuth: []
  26844. summary: 查询账户管理登录账号(账户管理/登录账号)
  26845. tags:
  26846. - 企业风险管理(app)
  26847. /Ermcp/QueryAccMgrMainAccountInfo:
  26848. get:
  26849. parameters:
  26850. - description: 用户ID
  26851. in: query
  26852. name: userid
  26853. type: integer
  26854. - description: 主账号id
  26855. in: query
  26856. name: accountid
  26857. type: integer
  26858. produces:
  26859. - application/json
  26860. responses:
  26861. "200":
  26862. description: OK
  26863. schema:
  26864. items:
  26865. $ref: '#/definitions/models.MainAccountInfo'
  26866. type: array
  26867. "500":
  26868. description: Internal Server Error
  26869. schema:
  26870. $ref: '#/definitions/app.Response'
  26871. security:
  26872. - ApiKeyAuth: []
  26873. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26874. tags:
  26875. - 企业风险管理(app)
  26876. /Ermcp/QueryAccMgrRole:
  26877. get:
  26878. parameters:
  26879. - description: 用户ID
  26880. in: query
  26881. name: userid
  26882. required: true
  26883. type: integer
  26884. produces:
  26885. - application/json
  26886. responses:
  26887. "200":
  26888. description: OK
  26889. schema:
  26890. items:
  26891. $ref: '#/definitions/models.ErmcpRole'
  26892. type: array
  26893. "500":
  26894. description: Internal Server Error
  26895. schema:
  26896. $ref: '#/definitions/app.Response'
  26897. security:
  26898. - ApiKeyAuth: []
  26899. summary: 查询账户管理角色设置(账户管理/角色设置)
  26900. tags:
  26901. - 企业风险管理(app)
  26902. /Ermcp/QueryAccMgrRoleMenu:
  26903. get:
  26904. parameters:
  26905. - description: 用户ID
  26906. in: query
  26907. name: userid
  26908. required: true
  26909. type: integer
  26910. - description: 角色id(可多个,逗号隔开)
  26911. in: query
  26912. name: roleid
  26913. type: string
  26914. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26915. in: query
  26916. name: menutype
  26917. type: integer
  26918. produces:
  26919. - application/json
  26920. responses:
  26921. "200":
  26922. description: OK
  26923. schema:
  26924. items:
  26925. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26926. type: array
  26927. "500":
  26928. description: Internal Server Error
  26929. schema:
  26930. $ref: '#/definitions/app.Response'
  26931. security:
  26932. - ApiKeyAuth: []
  26933. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26934. tags:
  26935. - 企业风险管理(app)
  26936. /Ermcp/QueryAccMgrTaAccountInfo:
  26937. get:
  26938. parameters:
  26939. - description: 用户ID
  26940. in: query
  26941. name: userid
  26942. required: true
  26943. type: integer
  26944. - description: 账号id
  26945. in: query
  26946. name: accountid
  26947. type: integer
  26948. produces:
  26949. - application/json
  26950. responses:
  26951. "200":
  26952. description: OK
  26953. schema:
  26954. items:
  26955. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26956. type: array
  26957. "500":
  26958. description: Internal Server Error
  26959. schema:
  26960. $ref: '#/definitions/app.Response'
  26961. security:
  26962. - ApiKeyAuth: []
  26963. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26964. tags:
  26965. - 企业风险管理(app)
  26966. /Ermcp/QueryAccMgrTaaccount:
  26967. get:
  26968. parameters:
  26969. - description: 用户ID
  26970. in: query
  26971. name: userid
  26972. required: true
  26973. type: integer
  26974. produces:
  26975. - application/json
  26976. responses:
  26977. "200":
  26978. description: OK
  26979. schema:
  26980. items:
  26981. $ref: '#/definitions/models.ErmcpTaAccountEx'
  26982. type: array
  26983. "500":
  26984. description: Internal Server Error
  26985. schema:
  26986. $ref: '#/definitions/app.Response'
  26987. security:
  26988. - ApiKeyAuth: []
  26989. summary: 查询账户管理期货账号(账户管理/期货账号)
  26990. tags:
  26991. - 企业风险管理(app)
  26992. /Ermcp/QueryAvaildGoodsGroup:
  26993. get:
  26994. parameters:
  26995. - description: 所属机构ID
  26996. in: query
  26997. name: userid
  26998. required: true
  26999. type: integer
  27000. produces:
  27001. - application/json
  27002. responses:
  27003. "200":
  27004. description: OK
  27005. schema:
  27006. items:
  27007. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  27008. type: array
  27009. "500":
  27010. description: Internal Server Error
  27011. schema:
  27012. $ref: '#/definitions/app.Response'
  27013. security:
  27014. - ApiKeyAuth: []
  27015. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27016. tags:
  27017. - 企业风险管理(app)
  27018. /Ermcp/QueryBusinessDj:
  27019. get:
  27020. parameters:
  27021. - description: 用户ID
  27022. in: query
  27023. name: UserId
  27024. required: true
  27025. type: integer
  27026. - description: 用户类型 2-机构 7-企业成员
  27027. in: query
  27028. name: usertype
  27029. type: integer
  27030. - description: 现货合同ID, 不填则查所有
  27031. in: query
  27032. name: relatedid
  27033. type: string
  27034. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27035. in: query
  27036. name: applystatus
  27037. type: string
  27038. produces:
  27039. - application/json
  27040. responses:
  27041. "200":
  27042. description: OK
  27043. schema:
  27044. items:
  27045. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27046. type: array
  27047. "500":
  27048. description: Internal Server Error
  27049. schema:
  27050. $ref: '#/definitions/app.Response'
  27051. security:
  27052. - ApiKeyAuth: []
  27053. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27054. tags:
  27055. - 企业风险管理(app)
  27056. /Ermcp/QueryBusinessFp:
  27057. get:
  27058. parameters:
  27059. - description: 用户ID
  27060. in: query
  27061. name: UserId
  27062. required: true
  27063. type: integer
  27064. - description: 用户类型 2-机构 7-企业成员
  27065. in: query
  27066. name: usertype
  27067. type: integer
  27068. - description: 现货合同ID, 不填则查所有
  27069. in: query
  27070. name: relatedid
  27071. type: string
  27072. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27073. in: query
  27074. name: applystatus
  27075. type: string
  27076. produces:
  27077. - application/json
  27078. responses:
  27079. "200":
  27080. description: OK
  27081. schema:
  27082. items:
  27083. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27084. type: array
  27085. "500":
  27086. description: Internal Server Error
  27087. schema:
  27088. $ref: '#/definitions/app.Response'
  27089. security:
  27090. - ApiKeyAuth: []
  27091. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27092. tags:
  27093. - 企业风险管理(app)
  27094. /Ermcp/QueryBusinessJs:
  27095. get:
  27096. parameters:
  27097. - description: 用户ID
  27098. in: query
  27099. name: UserId
  27100. required: true
  27101. type: integer
  27102. - description: 用户类型 2-机构 7-企业成员
  27103. in: query
  27104. name: usertype
  27105. type: integer
  27106. - description: 现货合同ID, 不填则查所有
  27107. in: query
  27108. name: relatedid
  27109. type: string
  27110. - description: 操作申请id
  27111. in: query
  27112. name: operateapplyid
  27113. type: string
  27114. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27115. in: query
  27116. name: applystatus
  27117. type: string
  27118. produces:
  27119. - application/json
  27120. responses:
  27121. "200":
  27122. description: OK
  27123. schema:
  27124. items:
  27125. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27126. type: array
  27127. "500":
  27128. description: Internal Server Error
  27129. schema:
  27130. $ref: '#/definitions/app.Response'
  27131. security:
  27132. - ApiKeyAuth: []
  27133. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27134. tags:
  27135. - 企业风险管理(app)
  27136. /Ermcp/QueryBusinessJsEx:
  27137. get:
  27138. parameters:
  27139. - description: 用户ID
  27140. in: query
  27141. name: UserId
  27142. required: true
  27143. type: integer
  27144. - description: 用户类型 2-机构 7-企业成员
  27145. in: query
  27146. name: usertype
  27147. type: integer
  27148. - description: 现货合同ID, 不填则查所有
  27149. in: query
  27150. name: relatedid
  27151. type: string
  27152. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27153. in: query
  27154. name: applystatus
  27155. type: string
  27156. produces:
  27157. - application/json
  27158. responses:
  27159. "200":
  27160. description: OK
  27161. schema:
  27162. items:
  27163. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27164. type: array
  27165. "500":
  27166. description: Internal Server Error
  27167. schema:
  27168. $ref: '#/definitions/app.Response'
  27169. security:
  27170. - ApiKeyAuth: []
  27171. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27172. tags:
  27173. - 企业风险管理(app)
  27174. /Ermcp/QueryBusinessKx:
  27175. get:
  27176. parameters:
  27177. - description: 用户ID
  27178. in: query
  27179. name: UserId
  27180. required: true
  27181. type: integer
  27182. - description: 用户类型 2-机构 7-企业成员
  27183. in: query
  27184. name: usertype
  27185. type: integer
  27186. - description: 现货合同ID, 不填则查所有
  27187. in: query
  27188. name: relatedid
  27189. type: string
  27190. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27191. in: query
  27192. name: applystatus
  27193. type: string
  27194. produces:
  27195. - application/json
  27196. responses:
  27197. "200":
  27198. description: OK
  27199. schema:
  27200. items:
  27201. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27202. type: array
  27203. "500":
  27204. description: Internal Server Error
  27205. schema:
  27206. $ref: '#/definitions/app.Response'
  27207. security:
  27208. - ApiKeyAuth: []
  27209. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27210. tags:
  27211. - 企业风险管理(app)
  27212. /Ermcp/QueryChangeLog:
  27213. get:
  27214. parameters:
  27215. - description: 合同ID
  27216. in: query
  27217. name: RelatedId
  27218. required: true
  27219. type: string
  27220. produces:
  27221. - application/json
  27222. responses:
  27223. "200":
  27224. description: OK
  27225. schema:
  27226. items:
  27227. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27228. type: array
  27229. "500":
  27230. description: Internal Server Error
  27231. schema:
  27232. $ref: '#/definitions/app.Response'
  27233. security:
  27234. - ApiKeyAuth: []
  27235. summary: 查询变更记录
  27236. tags:
  27237. - 企业风险管理(app)
  27238. /Ermcp/QueryErmcpHisOrderDetails:
  27239. get:
  27240. parameters:
  27241. - description: 资金账户ID
  27242. in: query
  27243. name: accountID
  27244. required: true
  27245. type: integer
  27246. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27247. in: query
  27248. name: startDate
  27249. type: string
  27250. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27251. in: query
  27252. name: endDate
  27253. type: string
  27254. produces:
  27255. - application/json
  27256. responses:
  27257. "200":
  27258. description: OK
  27259. schema:
  27260. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27261. "500":
  27262. description: Internal Server Error
  27263. schema:
  27264. $ref: '#/definitions/app.Response'
  27265. security:
  27266. - ApiKeyAuth: []
  27267. summary: 获取企业风管期货历史委托单信息
  27268. tags:
  27269. - 企业风险管理(app)
  27270. /Ermcp/QueryErmcpHisTradeDetails:
  27271. get:
  27272. parameters:
  27273. - description: 资金账户ID
  27274. in: query
  27275. name: accountID
  27276. required: true
  27277. type: integer
  27278. - description: 商品ID
  27279. in: query
  27280. name: goodsID
  27281. type: integer
  27282. - description: 买卖方向,0:买 1:卖
  27283. in: query
  27284. name: buyOrSell
  27285. type: integer
  27286. - description: 关联委托单号
  27287. in: query
  27288. name: orderID
  27289. type: integer
  27290. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27291. in: query
  27292. name: startDate
  27293. type: string
  27294. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27295. in: query
  27296. name: endDate
  27297. type: string
  27298. produces:
  27299. - application/json
  27300. responses:
  27301. "200":
  27302. description: OK
  27303. schema:
  27304. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27305. "500":
  27306. description: Internal Server Error
  27307. schema:
  27308. $ref: '#/definitions/app.Response'
  27309. security:
  27310. - ApiKeyAuth: []
  27311. summary: 获取企业风管期货历史成交单信息
  27312. tags:
  27313. - 企业风险管理(app)
  27314. /Ermcp/QueryErmcpInnerHolderDetails:
  27315. get:
  27316. parameters:
  27317. - description: 资金账户ID
  27318. in: query
  27319. name: accountID
  27320. required: true
  27321. type: integer
  27322. - description: 商品ID
  27323. in: query
  27324. name: goodsID
  27325. type: integer
  27326. - description: 买卖方向,0:买 1:卖
  27327. in: query
  27328. name: buyOrSell
  27329. type: integer
  27330. produces:
  27331. - application/json
  27332. responses:
  27333. "200":
  27334. description: OK
  27335. schema:
  27336. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27337. "500":
  27338. description: Internal Server Error
  27339. schema:
  27340. $ref: '#/definitions/app.Response'
  27341. security:
  27342. - ApiKeyAuth: []
  27343. summary: 获取企业风管期货内部持仓单信息
  27344. tags:
  27345. - 企业风险管理(app)
  27346. /Ermcp/QueryErmcpOrderDetails:
  27347. get:
  27348. parameters:
  27349. - description: 资金账户ID
  27350. in: query
  27351. name: accountID
  27352. required: true
  27353. type: integer
  27354. produces:
  27355. - application/json
  27356. responses:
  27357. "200":
  27358. description: OK
  27359. schema:
  27360. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27361. "500":
  27362. description: Internal Server Error
  27363. schema:
  27364. $ref: '#/definitions/app.Response'
  27365. security:
  27366. - ApiKeyAuth: []
  27367. summary: 获取企业风管期货委托单信息
  27368. tags:
  27369. - 企业风险管理(app)
  27370. /Ermcp/QueryErmcpTradeDetails:
  27371. get:
  27372. parameters:
  27373. - description: 资金账户ID
  27374. in: query
  27375. name: accountID
  27376. required: true
  27377. type: integer
  27378. - description: 商品ID
  27379. in: query
  27380. name: goodsID
  27381. type: integer
  27382. - description: 买卖方向,0:买 1:卖
  27383. in: query
  27384. name: buyOrSell
  27385. type: integer
  27386. - description: 关联委托单号
  27387. in: query
  27388. name: orderID
  27389. type: integer
  27390. produces:
  27391. - application/json
  27392. responses:
  27393. "200":
  27394. description: OK
  27395. schema:
  27396. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27397. "500":
  27398. description: Internal Server Error
  27399. schema:
  27400. $ref: '#/definitions/app.Response'
  27401. security:
  27402. - ApiKeyAuth: []
  27403. summary: 获取企业风管期货成交单信息
  27404. tags:
  27405. - 企业风险管理(app)
  27406. /Ermcp/QueryErmcpTradePosition:
  27407. get:
  27408. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27409. parameters:
  27410. - description: 资金账户ID
  27411. in: query
  27412. name: accountID
  27413. required: true
  27414. type: integer
  27415. - description: 所属市场ID
  27416. in: query
  27417. name: marketID
  27418. type: integer
  27419. produces:
  27420. - application/json
  27421. responses:
  27422. "200":
  27423. description: OK
  27424. schema:
  27425. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27426. "500":
  27427. description: Internal Server Error
  27428. schema:
  27429. $ref: '#/definitions/app.Response'
  27430. security:
  27431. - ApiKeyAuth: []
  27432. summary: 获取企业风管期货持仓头寸信息
  27433. tags:
  27434. - 企业风险管理(app)
  27435. /Ermcp/QueryExposureDetail:
  27436. get:
  27437. parameters:
  27438. - description: 所属机构ID
  27439. in: query
  27440. name: areaUserId
  27441. required: true
  27442. type: integer
  27443. - description: 套保商品
  27444. in: query
  27445. name: middleGoodsId
  27446. required: true
  27447. type: integer
  27448. produces:
  27449. - application/json
  27450. responses:
  27451. "200":
  27452. description: OK
  27453. schema:
  27454. items:
  27455. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27456. type: array
  27457. "500":
  27458. description: Internal Server Error
  27459. schema:
  27460. $ref: '#/definitions/app.Response'
  27461. security:
  27462. - ApiKeyAuth: []
  27463. summary: 查询敞口现货明细
  27464. tags:
  27465. - 企业风险管理(app)
  27466. /Ermcp/QueryExposureGoods:
  27467. get:
  27468. parameters:
  27469. - description: 套保商品id
  27470. in: query
  27471. name: middlegoodsid
  27472. required: true
  27473. type: integer
  27474. produces:
  27475. - application/json
  27476. responses:
  27477. "200":
  27478. description: OK
  27479. schema:
  27480. items:
  27481. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27482. type: array
  27483. "500":
  27484. description: Internal Server Error
  27485. schema:
  27486. $ref: '#/definitions/app.Response'
  27487. security:
  27488. - ApiKeyAuth: []
  27489. summary: 查询敞口主力合约
  27490. tags:
  27491. - 企业风险管理(app)
  27492. /Ermcp/QueryExposureHedgePosition:
  27493. get:
  27494. parameters:
  27495. - description: 用户id
  27496. in: query
  27497. name: userid
  27498. required: true
  27499. type: integer
  27500. produces:
  27501. - application/json
  27502. responses:
  27503. "200":
  27504. description: OK
  27505. schema:
  27506. items:
  27507. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27508. type: array
  27509. "500":
  27510. description: Internal Server Error
  27511. schema:
  27512. $ref: '#/definitions/app.Response'
  27513. security:
  27514. - ApiKeyAuth: []
  27515. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27516. tags:
  27517. - 企业风险管理(app)
  27518. /Ermcp/QueryExposureHedgePositionDetail:
  27519. get:
  27520. parameters:
  27521. - description: 所属机构ID
  27522. in: query
  27523. name: userid
  27524. required: true
  27525. type: integer
  27526. - description: 商品id
  27527. in: query
  27528. name: goodsId
  27529. required: true
  27530. type: integer
  27531. produces:
  27532. - application/json
  27533. responses:
  27534. "200":
  27535. description: OK
  27536. schema:
  27537. items:
  27538. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27539. type: array
  27540. "500":
  27541. description: Internal Server Error
  27542. schema:
  27543. $ref: '#/definitions/app.Response'
  27544. security:
  27545. - ApiKeyAuth: []
  27546. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27547. tags:
  27548. - 企业风险管理(app)
  27549. /Ermcp/QueryExposureSpot:
  27550. get:
  27551. parameters:
  27552. - description: 所属机构ID
  27553. in: query
  27554. name: areaUserId
  27555. required: true
  27556. type: integer
  27557. produces:
  27558. - application/json
  27559. responses:
  27560. "200":
  27561. description: OK
  27562. schema:
  27563. items:
  27564. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27565. type: array
  27566. "500":
  27567. description: Internal Server Error
  27568. schema:
  27569. $ref: '#/definitions/app.Response'
  27570. security:
  27571. - ApiKeyAuth: []
  27572. summary: 查询敞口现货头寸(敞口/现货头寸)
  27573. tags:
  27574. - 企业风险管理(app)
  27575. /Ermcp/QueryExposureSpotDetail:
  27576. get:
  27577. parameters:
  27578. - description: 所属机构ID
  27579. in: query
  27580. name: areaUserId
  27581. required: true
  27582. type: integer
  27583. - description: 现货品种ID
  27584. in: query
  27585. name: wrstandardId
  27586. required: true
  27587. type: integer
  27588. produces:
  27589. - application/json
  27590. responses:
  27591. "200":
  27592. description: OK
  27593. schema:
  27594. items:
  27595. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27596. type: array
  27597. "500":
  27598. description: Internal Server Error
  27599. schema:
  27600. $ref: '#/definitions/app.Response'
  27601. security:
  27602. - ApiKeyAuth: []
  27603. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27604. tags:
  27605. - 企业风险管理(app)
  27606. /Ermcp/QueryFuturesCompany:
  27607. get:
  27608. produces:
  27609. - application/json
  27610. responses:
  27611. "200":
  27612. description: OK
  27613. schema:
  27614. items:
  27615. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27616. type: array
  27617. "500":
  27618. description: Internal Server Error
  27619. schema:
  27620. $ref: '#/definitions/app.Response'
  27621. security:
  27622. - ApiKeyAuth: []
  27623. summary: 查询期货公司
  27624. tags:
  27625. - 企业风险管理(app)
  27626. /Ermcp/QueryGGConvertConfig:
  27627. get:
  27628. parameters:
  27629. - description: 品种id(不填则查所有)
  27630. in: query
  27631. name: goodsgroupid
  27632. type: integer
  27633. produces:
  27634. - application/json
  27635. responses:
  27636. "200":
  27637. description: OK
  27638. schema:
  27639. items:
  27640. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27641. type: array
  27642. "500":
  27643. description: Internal Server Error
  27644. schema:
  27645. $ref: '#/definitions/app.Response'
  27646. security:
  27647. - ApiKeyAuth: []
  27648. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27649. tags:
  27650. - 企业风险管理(app)
  27651. /Ermcp/QueryGoodsBrand:
  27652. get:
  27653. parameters:
  27654. - description: 用户ID
  27655. in: query
  27656. name: userid
  27657. required: true
  27658. type: integer
  27659. - description: 现货商品ID
  27660. in: query
  27661. name: wrstandardid
  27662. type: integer
  27663. produces:
  27664. - application/json
  27665. responses:
  27666. "200":
  27667. description: OK
  27668. schema:
  27669. items:
  27670. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27671. type: array
  27672. "500":
  27673. description: Internal Server Error
  27674. schema:
  27675. $ref: '#/definitions/app.Response'
  27676. security:
  27677. - ApiKeyAuth: []
  27678. summary: 查询商品品牌
  27679. tags:
  27680. - 企业风险管理(app)
  27681. /Ermcp/QueryGoodsModel:
  27682. get:
  27683. parameters:
  27684. - description: 用户ID
  27685. in: query
  27686. name: userid
  27687. required: true
  27688. type: integer
  27689. produces:
  27690. - application/json
  27691. responses:
  27692. "200":
  27693. description: OK
  27694. schema:
  27695. items:
  27696. $ref: '#/definitions/models.ErmcpGoodsModel'
  27697. type: array
  27698. "500":
  27699. description: Internal Server Error
  27700. schema:
  27701. $ref: '#/definitions/app.Response'
  27702. security:
  27703. - ApiKeyAuth: []
  27704. summary: 查询商品型号
  27705. tags:
  27706. - 企业风险管理(app)
  27707. /Ermcp/QueryHisExposure:
  27708. get:
  27709. parameters:
  27710. - description: 用户id
  27711. in: query
  27712. name: userid
  27713. required: true
  27714. type: integer
  27715. - description: 每个品种记录数
  27716. in: query
  27717. name: lastNum
  27718. required: true
  27719. type: integer
  27720. produces:
  27721. - application/json
  27722. responses:
  27723. "200":
  27724. description: OK
  27725. schema:
  27726. items:
  27727. $ref: '#/definitions/ermcp.HisExposureRsp'
  27728. type: array
  27729. "500":
  27730. description: Internal Server Error
  27731. schema:
  27732. $ref: '#/definitions/app.Response'
  27733. security:
  27734. - ApiKeyAuth: []
  27735. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27736. tags:
  27737. - 企业风险管理(app)
  27738. /Ermcp/QueryMiddleGoods:
  27739. get:
  27740. parameters:
  27741. - description: 所属机构ID
  27742. in: query
  27743. name: userid
  27744. required: true
  27745. type: integer
  27746. - description: 状态 0-停用 1-正常
  27747. in: query
  27748. name: status
  27749. required: true
  27750. type: integer
  27751. produces:
  27752. - application/json
  27753. responses:
  27754. "200":
  27755. description: OK
  27756. schema:
  27757. items:
  27758. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27759. type: array
  27760. "500":
  27761. description: Internal Server Error
  27762. schema:
  27763. $ref: '#/definitions/app.Response'
  27764. security:
  27765. - ApiKeyAuth: []
  27766. summary: 查询套保品种(菜单:套保品种)
  27767. tags:
  27768. - 企业风险管理(app)
  27769. /Ermcp/QueryMiddleGoodsChangeLog:
  27770. get:
  27771. parameters:
  27772. - description: 所属机构ID
  27773. in: query
  27774. name: userid
  27775. required: true
  27776. type: integer
  27777. - description: 套保品种id
  27778. in: query
  27779. name: middlegoodsid
  27780. required: true
  27781. type: integer
  27782. produces:
  27783. - application/json
  27784. responses:
  27785. "200":
  27786. description: OK
  27787. schema:
  27788. items:
  27789. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27790. type: array
  27791. "500":
  27792. description: Internal Server Error
  27793. schema:
  27794. $ref: '#/definitions/app.Response'
  27795. security:
  27796. - ApiKeyAuth: []
  27797. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27798. tags:
  27799. - 企业风险管理(app)
  27800. /Ermcp/QueryMiddleGoodsDetail:
  27801. get:
  27802. parameters:
  27803. - description: 所属机构ID
  27804. in: query
  27805. name: userid
  27806. required: true
  27807. type: integer
  27808. - description: 套保品种id
  27809. in: query
  27810. name: middlegoodsid
  27811. type: integer
  27812. produces:
  27813. - application/json
  27814. responses:
  27815. "200":
  27816. description: OK
  27817. schema:
  27818. items:
  27819. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27820. type: array
  27821. "500":
  27822. description: Internal Server Error
  27823. schema:
  27824. $ref: '#/definitions/app.Response'
  27825. security:
  27826. - ApiKeyAuth: []
  27827. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27828. tags:
  27829. - 企业风险管理(app)
  27830. /Ermcp/QueryPendingAuditInfo:
  27831. get:
  27832. parameters:
  27833. - description: 用户ID
  27834. in: query
  27835. name: UserId
  27836. required: true
  27837. type: integer
  27838. produces:
  27839. - application/json
  27840. responses:
  27841. "200":
  27842. description: OK
  27843. schema:
  27844. items:
  27845. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27846. type: array
  27847. "500":
  27848. description: Internal Server Error
  27849. schema:
  27850. $ref: '#/definitions/app.Response'
  27851. security:
  27852. - ApiKeyAuth: []
  27853. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27854. tags:
  27855. - 企业风险管理(app)
  27856. /Ermcp/QueryRealtimeExposure:
  27857. get:
  27858. parameters:
  27859. - description: 所属机构ID
  27860. in: query
  27861. name: userid
  27862. required: true
  27863. type: integer
  27864. produces:
  27865. - application/json
  27866. responses:
  27867. "200":
  27868. description: OK
  27869. schema:
  27870. items:
  27871. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27872. type: array
  27873. "500":
  27874. description: Internal Server Error
  27875. schema:
  27876. $ref: '#/definitions/app.Response'
  27877. security:
  27878. - ApiKeyAuth: []
  27879. summary: 查询实时敞口
  27880. tags:
  27881. - 企业风险管理(app)
  27882. /Ermcp/QueryRealtimeExposurePosition:
  27883. get:
  27884. parameters:
  27885. - description: 用户id
  27886. in: query
  27887. name: userid
  27888. required: true
  27889. type: integer
  27890. - description: 套保商品ID
  27891. in: query
  27892. name: middleGoodsId
  27893. required: true
  27894. type: integer
  27895. produces:
  27896. - application/json
  27897. responses:
  27898. "200":
  27899. description: OK
  27900. schema:
  27901. items:
  27902. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27903. type: array
  27904. "500":
  27905. description: Internal Server Error
  27906. schema:
  27907. $ref: '#/definitions/app.Response'
  27908. security:
  27909. - ApiKeyAuth: []
  27910. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27911. tags:
  27912. - 企业风险管理(app)
  27913. /Ermcp/QueryRoleMenu:
  27914. get:
  27915. parameters:
  27916. - description: 登录ID
  27917. in: query
  27918. name: loginid
  27919. required: true
  27920. type: integer
  27921. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27922. in: query
  27923. name: menutype
  27924. type: integer
  27925. produces:
  27926. - application/json
  27927. responses:
  27928. "200":
  27929. description: OK
  27930. schema:
  27931. items:
  27932. $ref: '#/definitions/models.RoleMenu'
  27933. type: array
  27934. "500":
  27935. description: Internal Server Error
  27936. schema:
  27937. $ref: '#/definitions/app.Response'
  27938. security:
  27939. - ApiKeyAuth: []
  27940. summary: 查询角色菜单和权限
  27941. tags:
  27942. - 企业风险管理(app)
  27943. /Ermcp/QueryTradeConfigTMP:
  27944. get:
  27945. parameters:
  27946. - description: 所属机构id
  27947. in: query
  27948. name: areauserid
  27949. type: integer
  27950. produces:
  27951. - application/json
  27952. responses:
  27953. "200":
  27954. description: OK
  27955. schema:
  27956. items:
  27957. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27958. type: array
  27959. "500":
  27960. description: Internal Server Error
  27961. schema:
  27962. $ref: '#/definitions/app.Response'
  27963. security:
  27964. - ApiKeyAuth: []
  27965. summary: 查询交易模板配置
  27966. tags:
  27967. - 企业风险管理(app)
  27968. /Ermcp/QueryUserInfo:
  27969. get:
  27970. parameters:
  27971. - description: 所属机构用户ID
  27972. in: query
  27973. name: MemberUserID
  27974. required: true
  27975. type: integer
  27976. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27977. in: query
  27978. name: queryType
  27979. required: true
  27980. type: integer
  27981. produces:
  27982. - application/json
  27983. responses:
  27984. "200":
  27985. description: OK
  27986. schema:
  27987. items:
  27988. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  27989. type: array
  27990. "500":
  27991. description: Internal Server Error
  27992. schema:
  27993. $ref: '#/definitions/app.Response'
  27994. security:
  27995. - ApiKeyAuth: []
  27996. summary: 查询客户资料
  27997. tags:
  27998. - 企业风险管理(app)
  27999. /Ermcp/QueryWarehouseInfo:
  28000. get:
  28001. parameters:
  28002. - description: 用户ID
  28003. in: query
  28004. name: userid
  28005. required: true
  28006. type: integer
  28007. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28008. in: query
  28009. name: status
  28010. type: string
  28011. produces:
  28012. - application/json
  28013. responses:
  28014. "200":
  28015. description: OK
  28016. schema:
  28017. items:
  28018. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28019. type: array
  28020. "500":
  28021. description: Internal Server Error
  28022. schema:
  28023. $ref: '#/definitions/app.Response'
  28024. security:
  28025. - ApiKeyAuth: []
  28026. summary: 查询仓库信息
  28027. tags:
  28028. - 企业风险管理(app)
  28029. /Ermcp3/QryAreaExpourseContractDetail:
  28030. get:
  28031. parameters:
  28032. - description: 用户ID
  28033. in: query
  28034. name: userid
  28035. required: true
  28036. type: integer
  28037. - description: 套保商品id
  28038. in: query
  28039. name: middlegoodsid
  28040. required: true
  28041. type: integer
  28042. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28043. in: query
  28044. name: cycletype
  28045. required: true
  28046. type: integer
  28047. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28048. 全(0)【原值】
  28049. in: query
  28050. name: cycletime
  28051. required: true
  28052. type: string
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. items:
  28060. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28061. type: array
  28062. "500":
  28063. description: Internal Server Error
  28064. schema:
  28065. $ref: '#/definitions/app.Response'
  28066. security:
  28067. - ApiKeyAuth: []
  28068. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28069. tags:
  28070. - 企业风险管理v3(app)
  28071. /Ermcp3/QryAreaExpourseFutuDetail:
  28072. get:
  28073. parameters:
  28074. - description: 用户ID
  28075. in: query
  28076. name: userid
  28077. required: true
  28078. type: integer
  28079. - description: 套保商品id
  28080. in: query
  28081. name: middlegoodsid
  28082. required: true
  28083. type: integer
  28084. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28085. in: query
  28086. name: cycletype
  28087. required: true
  28088. type: integer
  28089. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28090. 全(0)【原值】
  28091. in: query
  28092. name: cycletime
  28093. required: true
  28094. type: string
  28095. produces:
  28096. - application/json
  28097. responses:
  28098. "200":
  28099. description: OK
  28100. schema:
  28101. items:
  28102. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28103. type: array
  28104. "500":
  28105. description: Internal Server Error
  28106. schema:
  28107. $ref: '#/definitions/app.Response'
  28108. security:
  28109. - ApiKeyAuth: []
  28110. summary: 查询敞口期货明细(敞口报表/期货明细)
  28111. tags:
  28112. - 企业风险管理v3(app)
  28113. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28114. get:
  28115. parameters:
  28116. - description: 用户ID
  28117. in: query
  28118. name: userid
  28119. required: true
  28120. type: integer
  28121. - description: 套保商品id
  28122. in: query
  28123. name: middlegoodsid
  28124. required: true
  28125. type: integer
  28126. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28127. in: query
  28128. name: cycletype
  28129. required: true
  28130. type: integer
  28131. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28132. 全(0)【原值】
  28133. in: query
  28134. name: cycletime
  28135. required: true
  28136. type: string
  28137. produces:
  28138. - application/json
  28139. responses:
  28140. "200":
  28141. description: OK
  28142. schema:
  28143. items:
  28144. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28145. type: array
  28146. "500":
  28147. description: Internal Server Error
  28148. schema:
  28149. $ref: '#/definitions/app.Response'
  28150. security:
  28151. - ApiKeyAuth: []
  28152. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28153. tags:
  28154. - 企业风险管理v3(app)
  28155. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28156. get:
  28157. parameters:
  28158. - description: 用户ID
  28159. in: query
  28160. name: userid
  28161. required: true
  28162. type: integer
  28163. - description: 套保商品id
  28164. in: query
  28165. name: middlegoodsid
  28166. required: true
  28167. type: integer
  28168. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28169. in: query
  28170. name: cycletype
  28171. required: true
  28172. type: integer
  28173. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28174. 全(0)【原值】
  28175. in: query
  28176. name: cycletime
  28177. required: true
  28178. type: string
  28179. produces:
  28180. - application/json
  28181. responses:
  28182. "200":
  28183. description: OK
  28184. schema:
  28185. items:
  28186. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28187. type: array
  28188. "500":
  28189. description: Internal Server Error
  28190. schema:
  28191. $ref: '#/definitions/app.Response'
  28192. security:
  28193. - ApiKeyAuth: []
  28194. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28195. tags:
  28196. - 企业风险管理v3(app)
  28197. /Ermcp3/QryAreaExpourseReport:
  28198. get:
  28199. parameters:
  28200. - description: 用户ID
  28201. in: query
  28202. name: userid
  28203. required: true
  28204. type: integer
  28205. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28206. in: query
  28207. name: querytype
  28208. required: true
  28209. type: integer
  28210. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28211. in: query
  28212. name: cycletype
  28213. required: true
  28214. type: integer
  28215. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28216. 全(0)【原值】
  28217. in: query
  28218. name: cycletime
  28219. required: true
  28220. type: string
  28221. produces:
  28222. - application/json
  28223. responses:
  28224. "200":
  28225. description: OK
  28226. schema:
  28227. items:
  28228. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28229. type: array
  28230. "500":
  28231. description: Internal Server Error
  28232. schema:
  28233. $ref: '#/definitions/app.Response'
  28234. security:
  28235. - ApiKeyAuth: []
  28236. summary: 查询敞口报表
  28237. tags:
  28238. - 企业风险管理v3(app)
  28239. /Ermcp3/QryAreaSpotplReport:
  28240. get:
  28241. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28242. parameters:
  28243. - description: 用户ID
  28244. in: query
  28245. name: userid
  28246. required: true
  28247. type: integer
  28248. - description: 查询类型 1-报表 2-报表明细
  28249. in: query
  28250. name: querytype
  28251. required: true
  28252. type: integer
  28253. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28254. in: query
  28255. name: cycletype
  28256. required: true
  28257. type: integer
  28258. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28259. 全(0)【原值】
  28260. in: query
  28261. name: cycletime
  28262. required: true
  28263. type: string
  28264. - description: 现货品种id(明细必填)
  28265. in: query
  28266. name: deliverygoodsid
  28267. type: integer
  28268. - description: 币种id(明细必填)
  28269. in: query
  28270. name: currencyid
  28271. type: integer
  28272. - description: 日/周/月报表汇总维度 1:品种+品类
  28273. in: query
  28274. name: sumflag
  28275. type: integer
  28276. produces:
  28277. - application/json
  28278. responses:
  28279. "200":
  28280. description: OK
  28281. schema:
  28282. items:
  28283. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28284. type: array
  28285. "500":
  28286. description: Internal Server Error
  28287. schema:
  28288. $ref: '#/definitions/app.Response'
  28289. security:
  28290. - ApiKeyAuth: []
  28291. summary: 查询现货报表
  28292. tags:
  28293. - 企业风险管理v3(app)
  28294. /Ermcp3/QryAreaStockReport:
  28295. get:
  28296. parameters:
  28297. - description: 用户ID
  28298. in: query
  28299. name: userid
  28300. required: true
  28301. type: integer
  28302. - description: 查询类型 1-报表 2-报表明细
  28303. in: query
  28304. name: querytype
  28305. required: true
  28306. type: integer
  28307. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28308. in: query
  28309. name: cycletype
  28310. required: true
  28311. type: integer
  28312. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28313. 全(0)【原值】
  28314. in: query
  28315. name: cycletime
  28316. required: true
  28317. type: string
  28318. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28319. in: query
  28320. name: sumfields
  28321. type: string
  28322. - description: 品种ID
  28323. in: query
  28324. name: deliverygoodsid
  28325. type: integer
  28326. - description: 品类ID
  28327. in: query
  28328. name: wrstandardid
  28329. type: integer
  28330. - description: 品牌ID
  28331. in: query
  28332. name: spotgoodsbrandid
  28333. type: integer
  28334. - description: 仓库ID
  28335. in: query
  28336. name: warehouseinfoid
  28337. type: integer
  28338. produces:
  28339. - application/json
  28340. responses:
  28341. "200":
  28342. description: OK
  28343. schema:
  28344. items:
  28345. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28346. type: array
  28347. "500":
  28348. description: Internal Server Error
  28349. schema:
  28350. $ref: '#/definitions/app.Response'
  28351. security:
  28352. - ApiKeyAuth: []
  28353. summary: 查询库存报表
  28354. tags:
  28355. - 企业风险管理v3(app)
  28356. /Ermcp3/QryAreaSumPL:
  28357. get:
  28358. parameters:
  28359. - description: 用户ID
  28360. in: query
  28361. name: userid
  28362. required: true
  28363. type: integer
  28364. - description: 查询类型 1-报表 2-报表明细
  28365. in: query
  28366. name: querytype
  28367. required: true
  28368. type: integer
  28369. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28370. in: query
  28371. name: cycletype
  28372. required: true
  28373. type: integer
  28374. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28375. 全(0)【原值】
  28376. in: query
  28377. name: cycletime
  28378. required: true
  28379. type: string
  28380. - description: 币种id(明细必填)
  28381. in: query
  28382. name: currencyid
  28383. type: integer
  28384. - description: 套保品种ID, 查询类型为2时起效
  28385. in: query
  28386. name: middlegoodsid
  28387. type: integer
  28388. produces:
  28389. - application/json
  28390. responses:
  28391. "200":
  28392. description: OK
  28393. schema:
  28394. items:
  28395. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28396. type: array
  28397. "500":
  28398. description: Internal Server Error
  28399. schema:
  28400. $ref: '#/definitions/app.Response'
  28401. security:
  28402. - ApiKeyAuth: []
  28403. summary: 查询汇总损益表
  28404. tags:
  28405. - 企业风险管理v3(app)
  28406. /Ermcp3/QryFinanceReport:
  28407. get:
  28408. parameters:
  28409. - description: 用户ID
  28410. in: query
  28411. name: userid
  28412. required: true
  28413. type: integer
  28414. - description: 查询类型 1-报表 2-报表明细
  28415. in: query
  28416. name: querytype
  28417. required: true
  28418. type: integer
  28419. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28420. in: query
  28421. name: cycletype
  28422. required: true
  28423. type: integer
  28424. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28425. 全(0)【原值】
  28426. in: query
  28427. name: cycletime
  28428. required: true
  28429. type: string
  28430. - description: 币种id(报表明细必填)
  28431. in: query
  28432. name: currencyid
  28433. type: integer
  28434. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28435. in: query
  28436. name: sumfields
  28437. type: string
  28438. produces:
  28439. - application/json
  28440. responses:
  28441. "200":
  28442. description: OK
  28443. schema:
  28444. items:
  28445. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28446. type: array
  28447. "500":
  28448. description: Internal Server Error
  28449. schema:
  28450. $ref: '#/definitions/app.Response'
  28451. security:
  28452. - ApiKeyAuth: []
  28453. summary: 查询财务报表
  28454. tags:
  28455. - 企业风险管理v3(app)
  28456. /Ermcp3/QrySCMiddleGoodsReport:
  28457. get:
  28458. parameters:
  28459. - description: 用户ID
  28460. in: query
  28461. name: userid
  28462. required: true
  28463. type: integer
  28464. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28465. in: query
  28466. name: cycletype
  28467. required: true
  28468. type: integer
  28469. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28470. 全(0)【原值】
  28471. in: query
  28472. name: cycletime
  28473. required: true
  28474. type: string
  28475. - description: 合同id
  28476. in: query
  28477. name: spotcontractid
  28478. type: integer
  28479. - description: 套保品种id
  28480. in: query
  28481. name: middlegoodsid
  28482. type: integer
  28483. - description: 现货品种id
  28484. in: query
  28485. name: deliverygoodsid
  28486. type: integer
  28487. - description: 现货商品id
  28488. in: query
  28489. name: wrstandardid
  28490. type: integer
  28491. - description: 合同编号(模糊匹配)
  28492. in: query
  28493. name: contractno
  28494. type: string
  28495. produces:
  28496. - application/json
  28497. responses:
  28498. "200":
  28499. description: OK
  28500. schema:
  28501. items:
  28502. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28503. type: array
  28504. "500":
  28505. description: Internal Server Error
  28506. schema:
  28507. $ref: '#/definitions/app.Response'
  28508. security:
  28509. - ApiKeyAuth: []
  28510. summary: 查询定价报表
  28511. tags:
  28512. - 企业风险管理v3(app)
  28513. /Ermcp3/QryTaFutureDataReport:
  28514. get:
  28515. parameters:
  28516. - description: 用户ID
  28517. in: query
  28518. name: userid
  28519. required: true
  28520. type: integer
  28521. - description: 查询类型 1-报表 2-报表明细
  28522. in: query
  28523. name: querytype
  28524. required: true
  28525. type: integer
  28526. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28527. in: query
  28528. name: cycletype
  28529. required: true
  28530. type: integer
  28531. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28532. 全(0)【原值】
  28533. in: query
  28534. name: cycletime
  28535. required: true
  28536. type: string
  28537. - description: 币种id(查明细必填)
  28538. in: query
  28539. name: currencyid
  28540. type: integer
  28541. - description: 品种id(查明细必填)
  28542. in: query
  28543. name: goodsgroupid
  28544. type: integer
  28545. - description: 商品id(查明细必填)
  28546. in: query
  28547. name: goodsid
  28548. type: integer
  28549. - description: 买卖方向(查明细必填)
  28550. in: query
  28551. name: buyorsell
  28552. type: integer
  28553. produces:
  28554. - application/json
  28555. responses:
  28556. "200":
  28557. description: OK
  28558. schema:
  28559. items:
  28560. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28561. type: array
  28562. "500":
  28563. description: Internal Server Error
  28564. schema:
  28565. $ref: '#/definitions/app.Response'
  28566. security:
  28567. - ApiKeyAuth: []
  28568. summary: 查询期货报表
  28569. tags:
  28570. - 企业风险管理v3(app)
  28571. /Ermcp3/QueryAreaStock:
  28572. get:
  28573. parameters:
  28574. - description: 用户ID
  28575. in: query
  28576. name: userid
  28577. required: true
  28578. type: integer
  28579. produces:
  28580. - application/json
  28581. responses:
  28582. "200":
  28583. description: OK
  28584. schema:
  28585. items:
  28586. $ref: '#/definitions/models.Ermcp3AreaStock'
  28587. type: array
  28588. "500":
  28589. description: Internal Server Error
  28590. schema:
  28591. $ref: '#/definitions/app.Response'
  28592. security:
  28593. - ApiKeyAuth: []
  28594. summary: 查询机构库存(库存管理/当前库存)
  28595. tags:
  28596. - 企业风险管理v3(app)
  28597. /Ermcp3/QueryAreaStockApply:
  28598. get:
  28599. parameters:
  28600. - description: 用户ID
  28601. in: query
  28602. name: userid
  28603. required: true
  28604. type: integer
  28605. - description: 用户类型 2-机构 7-企业成员
  28606. in: query
  28607. name: usertype
  28608. type: integer
  28609. - description: 现货商品ID
  28610. in: query
  28611. name: deliverygoodsid
  28612. type: integer
  28613. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28614. in: query
  28615. name: inouttype
  28616. type: string
  28617. - description: 合同ID
  28618. in: query
  28619. name: spotcontractid
  28620. type: integer
  28621. - description: 品类ID
  28622. in: query
  28623. name: wrstandardid
  28624. type: integer
  28625. - description: 品牌ID
  28626. in: query
  28627. name: spotgoodsbrandid
  28628. type: integer
  28629. - description: 仓库ID
  28630. in: query
  28631. name: warehouseinfoid
  28632. type: integer
  28633. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28634. in: query
  28635. name: applystatus
  28636. type: string
  28637. produces:
  28638. - application/json
  28639. responses:
  28640. "200":
  28641. description: OK
  28642. schema:
  28643. items:
  28644. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28645. type: array
  28646. "500":
  28647. description: Internal Server Error
  28648. schema:
  28649. $ref: '#/definitions/app.Response'
  28650. security:
  28651. - ApiKeyAuth: []
  28652. summary: 查询库存申请(出入库记录|库存审核)
  28653. tags:
  28654. - 企业风险管理v3(app)
  28655. /Ermcp3/QueryAreaStockApplySum:
  28656. get:
  28657. parameters:
  28658. - description: 合同ID
  28659. in: query
  28660. name: spotcontractid
  28661. required: true
  28662. type: integer
  28663. produces:
  28664. - application/json
  28665. responses:
  28666. "200":
  28667. description: OK
  28668. schema:
  28669. items:
  28670. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28671. type: array
  28672. "500":
  28673. description: Internal Server Error
  28674. schema:
  28675. $ref: '#/definitions/app.Response'
  28676. security:
  28677. - ApiKeyAuth: []
  28678. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28679. tags:
  28680. - 企业风险管理v3(app)
  28681. /Ermcp3/QueryDGFactoryItem:
  28682. get:
  28683. parameters:
  28684. - description: 用户id
  28685. in: query
  28686. name: userid
  28687. type: integer
  28688. - description: 用户类型 2-机构 7-企业成员
  28689. in: query
  28690. name: usertype
  28691. type: integer
  28692. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28693. in: query
  28694. name: dgfactoryitemid
  28695. type: integer
  28696. - description: 现货品种ID
  28697. in: query
  28698. name: deliverygoodsid
  28699. type: integer
  28700. - description: 要素项类型
  28701. in: query
  28702. name: dgfactoryitemtypeid
  28703. type: integer
  28704. - description: 顺序
  28705. in: query
  28706. name: orderindex
  28707. type: integer
  28708. produces:
  28709. - application/json
  28710. responses:
  28711. "200":
  28712. description: OK
  28713. schema:
  28714. items:
  28715. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28716. type: array
  28717. "500":
  28718. description: Internal Server Error
  28719. schema:
  28720. $ref: '#/definitions/app.Response'
  28721. security:
  28722. - ApiKeyAuth: []
  28723. summary: 查询品种要素定义项
  28724. tags:
  28725. - 企业风险管理v3(app)
  28726. /Ermcp3/QueryDeliveryGoods:
  28727. get:
  28728. parameters:
  28729. - description: 用户id
  28730. in: query
  28731. name: userid
  28732. required: true
  28733. type: integer
  28734. - description: 用户类型 2-机构 7-企业成员
  28735. in: query
  28736. name: usertype
  28737. type: integer
  28738. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28739. in: query
  28740. name: excludecfg
  28741. type: integer
  28742. produces:
  28743. - application/json
  28744. responses:
  28745. "200":
  28746. description: OK
  28747. schema:
  28748. items:
  28749. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28750. type: array
  28751. "500":
  28752. description: Internal Server Error
  28753. schema:
  28754. $ref: '#/definitions/app.Response'
  28755. security:
  28756. - ApiKeyAuth: []
  28757. summary: 查询现货商品
  28758. tags:
  28759. - 企业风险管理v3(app)
  28760. /Ermcp3/QueryDeliveryGoodsDetail:
  28761. get:
  28762. parameters:
  28763. - description: 用户id
  28764. in: query
  28765. name: userid
  28766. required: true
  28767. type: integer
  28768. - description: 用户类型 2-机构 7-企业成员
  28769. in: query
  28770. name: usertype
  28771. type: integer
  28772. - description: 现货商品id
  28773. in: query
  28774. name: deliverygoodsid
  28775. type: integer
  28776. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28777. in: query
  28778. name: filtersubempty
  28779. type: integer
  28780. produces:
  28781. - application/json
  28782. responses:
  28783. "200":
  28784. description: OK
  28785. schema:
  28786. items:
  28787. $ref: '#/definitions/models.XHDeliveryGoods'
  28788. type: array
  28789. "500":
  28790. description: Internal Server Error
  28791. schema:
  28792. $ref: '#/definitions/app.Response'
  28793. security:
  28794. - ApiKeyAuth: []
  28795. summary: 查询现货商品详情
  28796. tags:
  28797. - 企业风险管理v3(app)
  28798. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28799. get:
  28800. parameters:
  28801. - description: 合同id
  28802. in: query
  28803. name: spotcontractid
  28804. required: true
  28805. type: string
  28806. produces:
  28807. - application/json
  28808. responses:
  28809. "200":
  28810. description: OK
  28811. schema:
  28812. items:
  28813. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28814. type: array
  28815. "500":
  28816. description: Internal Server Error
  28817. schema:
  28818. $ref: '#/definitions/app.Response'
  28819. security:
  28820. - ApiKeyAuth: []
  28821. summary: 查询现货合同期现配置信息
  28822. tags:
  28823. - 企业风险管理v3(app)
  28824. /Ermcp3/QueryExposureDetail:
  28825. get:
  28826. parameters:
  28827. - description: 用户id
  28828. in: query
  28829. name: userid
  28830. required: true
  28831. type: integer
  28832. - description: 用户类型 2-机构 7-企业成员
  28833. in: query
  28834. name: usertype
  28835. type: integer
  28836. - description: 套保商品
  28837. in: query
  28838. name: middlegoodsid
  28839. required: true
  28840. type: integer
  28841. produces:
  28842. - application/json
  28843. responses:
  28844. "200":
  28845. description: OK
  28846. schema:
  28847. items:
  28848. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28849. type: array
  28850. "500":
  28851. description: Internal Server Error
  28852. schema:
  28853. $ref: '#/definitions/app.Response'
  28854. security:
  28855. - ApiKeyAuth: []
  28856. summary: 查询敞口现货明细
  28857. tags:
  28858. - 企业风险管理v3(app)
  28859. /Ermcp3/QueryExposureSpot:
  28860. get:
  28861. parameters:
  28862. - description: 用户id
  28863. in: query
  28864. name: userid
  28865. required: true
  28866. type: integer
  28867. - description: 用户类型 2-机构 7-企业成员
  28868. in: query
  28869. name: usertype
  28870. type: integer
  28871. produces:
  28872. - application/json
  28873. responses:
  28874. "200":
  28875. description: OK
  28876. schema:
  28877. items:
  28878. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28879. type: array
  28880. "500":
  28881. description: Internal Server Error
  28882. schema:
  28883. $ref: '#/definitions/app.Response'
  28884. security:
  28885. - ApiKeyAuth: []
  28886. summary: 查询敞口现货头寸(敞口/现货头寸)
  28887. tags:
  28888. - 企业风险管理v3(app)
  28889. /Ermcp3/QueryExposureSpotDetail:
  28890. get:
  28891. parameters:
  28892. - description: 用户id
  28893. in: query
  28894. name: userid
  28895. required: true
  28896. type: integer
  28897. - description: 用户类型 2-机构 7-企业成员
  28898. in: query
  28899. name: usertype
  28900. type: integer
  28901. - description: 现货商品ID
  28902. in: query
  28903. name: wrstandardid
  28904. required: true
  28905. type: integer
  28906. produces:
  28907. - application/json
  28908. responses:
  28909. "200":
  28910. description: OK
  28911. schema:
  28912. items:
  28913. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28914. type: array
  28915. "500":
  28916. description: Internal Server Error
  28917. schema:
  28918. $ref: '#/definitions/app.Response'
  28919. security:
  28920. - ApiKeyAuth: []
  28921. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28922. tags:
  28923. - 企业风险管理v3(app)
  28924. /Ermcp3/QueryGoodsGroup:
  28925. get:
  28926. parameters:
  28927. - description: 用户id
  28928. in: query
  28929. name: userid
  28930. required: true
  28931. type: integer
  28932. - description: 用户类型 2-机构 7-企业成员
  28933. in: query
  28934. name: usertype
  28935. type: integer
  28936. - description: 排除套保品中已关联的商品组 1-排除
  28937. in: query
  28938. name: excludecfg
  28939. type: integer
  28940. produces:
  28941. - application/json
  28942. responses:
  28943. "200":
  28944. description: OK
  28945. schema:
  28946. items:
  28947. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28948. type: array
  28949. "500":
  28950. description: Internal Server Error
  28951. schema:
  28952. $ref: '#/definitions/app.Response'
  28953. security:
  28954. - ApiKeyAuth: []
  28955. summary: 查询期货商品组
  28956. tags:
  28957. - 企业风险管理v3(app)
  28958. /Ermcp3/QueryGoodsWrstandard:
  28959. get:
  28960. parameters:
  28961. - description: 用户id
  28962. in: query
  28963. name: userid
  28964. required: true
  28965. type: integer
  28966. - description: 用户类型 2-机构 7-企业成员
  28967. in: query
  28968. name: usertype
  28969. type: integer
  28970. - description: 现货商品id
  28971. in: query
  28972. name: deliverygoodsid
  28973. type: integer
  28974. produces:
  28975. - application/json
  28976. responses:
  28977. "200":
  28978. description: OK
  28979. schema:
  28980. items:
  28981. $ref: '#/definitions/models.Ermcp3Wrstandard'
  28982. type: array
  28983. "500":
  28984. description: Internal Server Error
  28985. schema:
  28986. $ref: '#/definitions/app.Response'
  28987. security:
  28988. - ApiKeyAuth: []
  28989. summary: 查询商品品类
  28990. tags:
  28991. - 企业风险管理v3(app)
  28992. /Ermcp3/QueryGoodsbrand:
  28993. get:
  28994. parameters:
  28995. - description: 用户id
  28996. in: query
  28997. name: userid
  28998. required: true
  28999. type: integer
  29000. - description: 用户类型 2-机构 7-企业成员
  29001. in: query
  29002. name: usertype
  29003. type: integer
  29004. produces:
  29005. - application/json
  29006. responses:
  29007. "200":
  29008. description: OK
  29009. schema:
  29010. items:
  29011. $ref: '#/definitions/models.Ermcp3Brand'
  29012. type: array
  29013. "500":
  29014. description: Internal Server Error
  29015. schema:
  29016. $ref: '#/definitions/app.Response'
  29017. security:
  29018. - ApiKeyAuth: []
  29019. summary: 查询商品品牌
  29020. tags:
  29021. - 企业风险管理v3(app)
  29022. /Ermcp3/QueryHPMiddleGoods:
  29023. get:
  29024. parameters:
  29025. - description: 用户ID(填登录用户的userid)
  29026. in: query
  29027. name: userid
  29028. required: true
  29029. type: integer
  29030. - description: 买卖方向 0-买 1-卖
  29031. in: query
  29032. name: buyorsell
  29033. required: true
  29034. type: integer
  29035. - description: 商品组id
  29036. in: query
  29037. name: goodsgroupid
  29038. required: true
  29039. type: integer
  29040. - description: 套保计划编号(模糊匹配)
  29041. in: query
  29042. name: hedgeplanno
  29043. type: string
  29044. - description: 现货商品名称(模糊匹配)
  29045. in: query
  29046. name: wrstandardname
  29047. type: string
  29048. produces:
  29049. - application/json
  29050. responses:
  29051. "200":
  29052. description: OK
  29053. schema:
  29054. items:
  29055. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29056. type: array
  29057. "500":
  29058. description: Internal Server Error
  29059. schema:
  29060. $ref: '#/definitions/app.Response'
  29061. security:
  29062. - ApiKeyAuth: []
  29063. summary: 查询可关联套保计划
  29064. tags:
  29065. - 企业风险管理v3(app)
  29066. /Ermcp3/QueryHedgePlan:
  29067. get:
  29068. parameters:
  29069. - description: 用户ID
  29070. in: query
  29071. name: userid
  29072. required: true
  29073. type: integer
  29074. - description: 用户类型 2-机构 7-企业成员
  29075. in: query
  29076. name: usertype
  29077. type: integer
  29078. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29079. in: query
  29080. name: hedgeplanstatus
  29081. required: true
  29082. type: string
  29083. produces:
  29084. - application/json
  29085. responses:
  29086. "200":
  29087. description: OK
  29088. schema:
  29089. items:
  29090. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29091. type: array
  29092. "500":
  29093. description: Internal Server Error
  29094. schema:
  29095. $ref: '#/definitions/app.Response'
  29096. security:
  29097. - ApiKeyAuth: []
  29098. summary: 查询套保计划
  29099. tags:
  29100. - 企业风险管理v3(app)
  29101. /Ermcp3/QueryInnerTradeLink:
  29102. get:
  29103. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29104. parameters:
  29105. - description: 外部成交单号
  29106. in: query
  29107. name: outtradeid
  29108. required: true
  29109. type: integer
  29110. produces:
  29111. - application/json
  29112. responses:
  29113. "200":
  29114. description: OK
  29115. schema:
  29116. items:
  29117. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29118. type: array
  29119. "500":
  29120. description: Internal Server Error
  29121. schema:
  29122. $ref: '#/definitions/app.Response'
  29123. security:
  29124. - ApiKeyAuth: []
  29125. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29126. tags:
  29127. - 企业风险管理v3(app)
  29128. /Ermcp3/QueryMiddleGoodsDetail:
  29129. get:
  29130. parameters:
  29131. - description: 用户id
  29132. in: query
  29133. name: userid
  29134. required: true
  29135. type: integer
  29136. - description: 用户类型 2-机构 7-企业成员
  29137. in: query
  29138. name: usertype
  29139. type: integer
  29140. - description: 套保品种id
  29141. in: query
  29142. name: middlegoodsid
  29143. type: integer
  29144. produces:
  29145. - application/json
  29146. responses:
  29147. "200":
  29148. description: OK
  29149. schema:
  29150. items:
  29151. $ref: '#/definitions/models.TBMiddleGoods'
  29152. type: array
  29153. "500":
  29154. description: Internal Server Error
  29155. schema:
  29156. $ref: '#/definitions/app.Response'
  29157. security:
  29158. - ApiKeyAuth: []
  29159. summary: 查询套保品种详情(套保品种/商品详情)
  29160. tags:
  29161. - 企业风险管理v3(app)
  29162. /Ermcp3/QueryOutTradeLink:
  29163. get:
  29164. description: 页面 app 现货->期现关联->外部成交单关联
  29165. parameters:
  29166. - description: 用户ID(填登录用户的userid)
  29167. in: query
  29168. name: userid
  29169. required: true
  29170. type: integer
  29171. - description: 外部订单号(模糊匹配)
  29172. in: query
  29173. name: outtradeid
  29174. type: string
  29175. - description: 合约名称/代码(模糊匹配)
  29176. in: query
  29177. name: goodsname
  29178. type: string
  29179. - description: 关联状态 0-未关联 1-已关联
  29180. in: query
  29181. name: hasinnerorder
  29182. type: integer
  29183. produces:
  29184. - application/json
  29185. responses:
  29186. "200":
  29187. description: OK
  29188. schema:
  29189. items:
  29190. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29191. type: array
  29192. "500":
  29193. description: Internal Server Error
  29194. schema:
  29195. $ref: '#/definitions/app.Response'
  29196. security:
  29197. - ApiKeyAuth: []
  29198. summary: 查询外部成交单关联
  29199. tags:
  29200. - 企业风险管理v3(app)
  29201. /Ermcp3/QueryPaAreaAuditCfg:
  29202. get:
  29203. parameters:
  29204. - description: 用户id
  29205. in: query
  29206. name: userid
  29207. required: true
  29208. type: integer
  29209. produces:
  29210. - application/json
  29211. responses:
  29212. "200":
  29213. description: OK
  29214. schema:
  29215. items:
  29216. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29217. type: array
  29218. "500":
  29219. description: Internal Server Error
  29220. schema:
  29221. $ref: '#/definitions/app.Response'
  29222. security:
  29223. - ApiKeyAuth: []
  29224. summary: 查询审核设置
  29225. tags:
  29226. - 企业风险管理v3(app)
  29227. /Ermcp3/QueryPaAreaSubject:
  29228. get:
  29229. parameters:
  29230. - description: 用户id
  29231. in: query
  29232. name: userid
  29233. required: true
  29234. type: integer
  29235. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29236. in: query
  29237. name: subjectid
  29238. type: integer
  29239. - description: 主体类型 - 1:交易主体 2:业务部门
  29240. in: query
  29241. name: subjecttype
  29242. type: integer
  29243. - description: '主体状态 - 1:正常 2: 停用'
  29244. in: query
  29245. name: subjectstatus
  29246. type: integer
  29247. produces:
  29248. - application/json
  29249. responses:
  29250. "200":
  29251. description: OK
  29252. schema:
  29253. items:
  29254. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29255. type: array
  29256. "500":
  29257. description: Internal Server Error
  29258. schema:
  29259. $ref: '#/definitions/app.Response'
  29260. security:
  29261. - ApiKeyAuth: []
  29262. summary: 查询交易主体
  29263. tags:
  29264. - 企业风险管理v3(app)
  29265. /Ermcp3/QueryPaTradeLink:
  29266. get:
  29267. description: 页面 app 现货->期现关联->期现单据关联
  29268. parameters:
  29269. - description: 用户ID
  29270. in: query
  29271. name: userid
  29272. required: true
  29273. type: integer
  29274. produces:
  29275. - application/json
  29276. responses:
  29277. "200":
  29278. description: OK
  29279. schema:
  29280. items:
  29281. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29282. type: array
  29283. "500":
  29284. description: Internal Server Error
  29285. schema:
  29286. $ref: '#/definitions/app.Response'
  29287. security:
  29288. - ApiKeyAuth: []
  29289. summary: 查询期现单据关联
  29290. tags:
  29291. - 企业风险管理v3(app)
  29292. /Ermcp3/QueryPaTradeLinkDetail:
  29293. get:
  29294. description: 页面 app 现货->期现关联->关联记录
  29295. parameters:
  29296. - description: 用户ID(填登录用户的userid)
  29297. in: query
  29298. name: userid
  29299. required: true
  29300. type: integer
  29301. - description: 关联状态 1:成功 2:失败 3:解绑
  29302. in: query
  29303. name: linkstatus
  29304. type: integer
  29305. - description: 期货订单号(模糊匹配)
  29306. in: query
  29307. name: tradeid
  29308. type: string
  29309. - description: 现货编号(模糊匹配)
  29310. in: query
  29311. name: contractno
  29312. type: string
  29313. - description: 期货账户(模糊匹配)
  29314. in: query
  29315. name: taname
  29316. type: string
  29317. produces:
  29318. - application/json
  29319. responses:
  29320. "200":
  29321. description: OK
  29322. schema:
  29323. items:
  29324. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29325. type: array
  29326. "500":
  29327. description: Internal Server Error
  29328. schema:
  29329. $ref: '#/definitions/app.Response'
  29330. security:
  29331. - ApiKeyAuth: []
  29332. summary: 查询期现关联记录
  29333. tags:
  29334. - 企业风险管理v3(app)
  29335. /Ermcp3/QueryParamChangeApp:
  29336. get:
  29337. description: |-
  29338. 原型页面:
  29339. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29340. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29341. parameters:
  29342. - description: 用户ID
  29343. in: query
  29344. name: userid
  29345. required: true
  29346. type: integer
  29347. - description: 现货品种id
  29348. in: query
  29349. name: deliverygoodsid
  29350. type: integer
  29351. - description: 现货商品id
  29352. in: query
  29353. name: wrstandardid
  29354. type: integer
  29355. - description: 套保商品id
  29356. in: query
  29357. name: middlegoodsid
  29358. type: integer
  29359. - description: 操作类型 1:新增 2:修改
  29360. in: query
  29361. name: operatetype
  29362. type: integer
  29363. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29364. in: query
  29365. name: paramchangetype
  29366. type: integer
  29367. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29368. in: query
  29369. name: ftstatus
  29370. type: string
  29371. produces:
  29372. - application/json
  29373. responses:
  29374. "200":
  29375. description: OK
  29376. schema:
  29377. items:
  29378. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29379. type: array
  29380. "500":
  29381. description: Internal Server Error
  29382. schema:
  29383. $ref: '#/definitions/app.Response'
  29384. security:
  29385. - ApiKeyAuth: []
  29386. summary: 查询现货商品参数变更申请(流水)
  29387. tags:
  29388. - 企业风险管理v3(app)
  29389. /Ermcp3/QueryRootUserAccount:
  29390. get:
  29391. parameters:
  29392. - description: 用户ID
  29393. in: query
  29394. name: userid
  29395. required: true
  29396. type: integer
  29397. produces:
  29398. - application/json
  29399. responses:
  29400. "200":
  29401. description: OK
  29402. schema:
  29403. items:
  29404. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29405. type: array
  29406. "500":
  29407. description: Internal Server Error
  29408. schema:
  29409. $ref: '#/definitions/app.Response'
  29410. security:
  29411. - ApiKeyAuth: []
  29412. summary: 查询顶级用户信息
  29413. tags:
  29414. - 企业风险管理v3(app)
  29415. /Ermcp3/QuerySCMiddleGoods:
  29416. get:
  29417. description: |-
  29418. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29419. 现货编号 即 合同编号
  29420. parameters:
  29421. - description: 用户ID(填登录用户的userid)
  29422. in: query
  29423. name: userid
  29424. required: true
  29425. type: integer
  29426. - description: 买卖方向 0-买 1-卖
  29427. in: query
  29428. name: buyorsell
  29429. required: true
  29430. type: integer
  29431. - description: 商品组id
  29432. in: query
  29433. name: goodsgroupid
  29434. required: true
  29435. type: integer
  29436. - description: 业务类型 1:套保 2:套利
  29437. in: query
  29438. name: biztype
  29439. type: integer
  29440. - description: 现货编号(模糊匹配)
  29441. in: query
  29442. name: contractno
  29443. type: string
  29444. - description: 对手方(模糊匹配)
  29445. in: query
  29446. name: customername
  29447. type: string
  29448. - description: 现货商品名称(模糊匹配)
  29449. in: query
  29450. name: wrstandardname
  29451. type: string
  29452. produces:
  29453. - application/json
  29454. responses:
  29455. "200":
  29456. description: OK
  29457. schema:
  29458. items:
  29459. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29460. type: array
  29461. "500":
  29462. description: Internal Server Error
  29463. schema:
  29464. $ref: '#/definitions/app.Response'
  29465. security:
  29466. - ApiKeyAuth: []
  29467. summary: 查询现货订单
  29468. tags:
  29469. - 企业风险管理v3(app)
  29470. /Ermcp3/QuerySpotContract:
  29471. get:
  29472. parameters:
  29473. - description: 用户id(当指定contractid, userid可不填)
  29474. in: query
  29475. name: userid
  29476. required: true
  29477. type: integer
  29478. - description: 用户类型 2-机构 7-企业成员
  29479. in: query
  29480. name: usertype
  29481. type: integer
  29482. - description: 合同类型 1-采购, -1-销售
  29483. in: query
  29484. name: contracttype
  29485. type: integer
  29486. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29487. in: query
  29488. name: querytype
  29489. type: string
  29490. - description: 合同ID(SpotContractId)
  29491. in: query
  29492. name: contractid
  29493. type: string
  29494. - description: 合同编号(模糊匹配)
  29495. in: query
  29496. name: contractno
  29497. type: string
  29498. - description: 商品名称(模糊匹配)
  29499. in: query
  29500. name: wrstandardname
  29501. type: string
  29502. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29503. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29504. in: query
  29505. name: status
  29506. type: string
  29507. - description: 是否只查今日的合同 1-查今日合同
  29508. in: query
  29509. name: istoday
  29510. type: integer
  29511. produces:
  29512. - application/json
  29513. responses:
  29514. "200":
  29515. description: OK
  29516. schema:
  29517. items:
  29518. $ref: '#/definitions/models.Ermcp3Contract'
  29519. type: array
  29520. "500":
  29521. description: Internal Server Error
  29522. schema:
  29523. $ref: '#/definitions/app.Response'
  29524. security:
  29525. - ApiKeyAuth: []
  29526. summary: 查询现货合同
  29527. tags:
  29528. - 企业风险管理v3(app)
  29529. /Ermcp3/QuerySpotContractBS:
  29530. get:
  29531. parameters:
  29532. - description: 用户id
  29533. in: query
  29534. name: userid
  29535. required: true
  29536. type: integer
  29537. - description: 用户类型 2-机构 7-企业成员
  29538. in: query
  29539. name: usertype
  29540. type: integer
  29541. - description: 合同类型 1-采购, -1-销售
  29542. in: query
  29543. name: contracttype
  29544. required: true
  29545. type: integer
  29546. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29547. in: query
  29548. name: querytype
  29549. type: integer
  29550. - description: 合同ID(SpotContractId)
  29551. in: query
  29552. name: contractid
  29553. type: string
  29554. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29555. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29556. in: query
  29557. name: status
  29558. type: string
  29559. - description: 是否只查今日的合同 1-查今日合同
  29560. in: query
  29561. name: istoday
  29562. type: integer
  29563. produces:
  29564. - application/json
  29565. responses:
  29566. "200":
  29567. description: OK
  29568. schema:
  29569. items:
  29570. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29571. type: array
  29572. "500":
  29573. description: Internal Server Error
  29574. schema:
  29575. $ref: '#/definitions/app.Response'
  29576. security:
  29577. - ApiKeyAuth: []
  29578. summary: 查询合同(采购/销售)
  29579. tags:
  29580. - 企业风险管理v3(app)
  29581. /Ermcp3/QuerySpotGoodsPrice:
  29582. get:
  29583. parameters:
  29584. - description: 用户ID
  29585. in: query
  29586. name: userid
  29587. required: true
  29588. type: integer
  29589. produces:
  29590. - application/json
  29591. responses:
  29592. "200":
  29593. description: OK
  29594. schema:
  29595. items:
  29596. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29597. type: array
  29598. "500":
  29599. description: Internal Server Error
  29600. schema:
  29601. $ref: '#/definitions/app.Response'
  29602. security:
  29603. - ApiKeyAuth: []
  29604. summary: 查询现货市价(现货市价)
  29605. tags:
  29606. - 企业风险管理v3(app)
  29607. /Ermcp3/QuerySpotGoodsPriceLog:
  29608. get:
  29609. parameters:
  29610. - description: 用户ID
  29611. in: query
  29612. name: userid
  29613. required: true
  29614. type: integer
  29615. - description: 现货商品ID
  29616. in: query
  29617. name: deliverygoodsid
  29618. required: true
  29619. type: integer
  29620. - description: 品牌ID
  29621. in: query
  29622. name: brandid
  29623. type: integer
  29624. - description: 品类ID
  29625. in: query
  29626. name: wrstandardid
  29627. type: integer
  29628. produces:
  29629. - application/json
  29630. responses:
  29631. "200":
  29632. description: OK
  29633. schema:
  29634. items:
  29635. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29636. type: array
  29637. "500":
  29638. description: Internal Server Error
  29639. schema:
  29640. $ref: '#/definitions/app.Response'
  29641. security:
  29642. - ApiKeyAuth: []
  29643. summary: 查询现货市价详情(现货市价/详情)
  29644. tags:
  29645. - 企业风险管理v3(app)
  29646. /Ermcp3/QuerySubTaaccount:
  29647. get:
  29648. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29649. parameters:
  29650. - description: 母账号id
  29651. in: query
  29652. name: parentaccountid
  29653. type: integer
  29654. - description: 母账号代码
  29655. in: query
  29656. name: parentaccountcode
  29657. type: string
  29658. produces:
  29659. - application/json
  29660. responses:
  29661. "200":
  29662. description: OK
  29663. schema:
  29664. items:
  29665. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29666. type: array
  29667. "500":
  29668. description: Internal Server Error
  29669. schema:
  29670. $ref: '#/definitions/app.Response'
  29671. security:
  29672. - ApiKeyAuth: []
  29673. summary: 查询期货子账户
  29674. tags:
  29675. - 企业风险管理v3(app)
  29676. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29677. get:
  29678. parameters:
  29679. - description: 套期项目ID
  29680. in: query
  29681. name: hedgeditemid
  29682. required: true
  29683. type: integer
  29684. produces:
  29685. - application/json
  29686. responses:
  29687. "200":
  29688. description: OK
  29689. schema:
  29690. items:
  29691. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29692. type: array
  29693. "500":
  29694. description: Internal Server Error
  29695. schema:
  29696. $ref: '#/definitions/app.Response'
  29697. security:
  29698. - ApiKeyAuth: []
  29699. summary: 现货成交明细查询
  29700. tags:
  29701. - 企业风险管理v8
  29702. /Ermcp8/QueryERMCP2HedgedItemspot:
  29703. get:
  29704. parameters:
  29705. - description: 套期项目ID
  29706. in: query
  29707. name: hedgeditemid
  29708. required: true
  29709. type: integer
  29710. produces:
  29711. - application/json
  29712. responses:
  29713. "200":
  29714. description: OK
  29715. schema:
  29716. items:
  29717. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29718. type: array
  29719. "500":
  29720. description: Internal Server Error
  29721. schema:
  29722. $ref: '#/definitions/app.Response'
  29723. security:
  29724. - ApiKeyAuth: []
  29725. summary: 套期计划明细查询
  29726. tags:
  29727. - 企业风险管理v8
  29728. /Ermcp8/QueryERMCPJRLinkPos:
  29729. get:
  29730. parameters:
  29731. - description: 套期项目ID
  29732. in: query
  29733. name: hedgeditemid
  29734. required: true
  29735. type: integer
  29736. produces:
  29737. - application/json
  29738. responses:
  29739. "200":
  29740. description: OK
  29741. schema:
  29742. items:
  29743. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29744. type: array
  29745. "500":
  29746. description: Internal Server Error
  29747. schema:
  29748. $ref: '#/definitions/app.Response'
  29749. security:
  29750. - ApiKeyAuth: []
  29751. summary: 期货持仓明细查询
  29752. tags:
  29753. - 企业风险管理v8
  29754. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29755. get:
  29756. parameters:
  29757. - description: 套期项目ID
  29758. in: query
  29759. name: hedgeditemid
  29760. required: true
  29761. type: integer
  29762. produces:
  29763. - application/json
  29764. responses:
  29765. "200":
  29766. description: OK
  29767. schema:
  29768. items:
  29769. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29770. type: array
  29771. "500":
  29772. description: Internal Server Error
  29773. schema:
  29774. $ref: '#/definitions/app.Response'
  29775. security:
  29776. - ApiKeyAuth: []
  29777. summary: 期货成交单明细查询
  29778. tags:
  29779. - 企业风险管理v8
  29780. /Ermcp8/QueryErmcp2AreaExposure:
  29781. get:
  29782. parameters:
  29783. - description: 用户ID
  29784. in: query
  29785. name: userid
  29786. required: true
  29787. type: string
  29788. produces:
  29789. - application/json
  29790. responses:
  29791. "200":
  29792. description: OK
  29793. schema:
  29794. items:
  29795. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29796. type: array
  29797. "500":
  29798. description: Internal Server Error
  29799. schema:
  29800. $ref: '#/definitions/app.Response'
  29801. security:
  29802. - ApiKeyAuth: []
  29803. summary: 企业敞口查询
  29804. tags:
  29805. - 企业风险管理v8
  29806. /Ermcp8/QueryErmcp2HedgedItem:
  29807. get:
  29808. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29809. parameters:
  29810. - description: 用户ID
  29811. in: query
  29812. name: userid
  29813. required: true
  29814. type: string
  29815. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29816. in: query
  29817. name: hedgedtype
  29818. type: integer
  29819. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29820. in: query
  29821. name: hedgeditemstatus
  29822. type: integer
  29823. produces:
  29824. - application/json
  29825. responses:
  29826. "200":
  29827. description: OK
  29828. schema:
  29829. items:
  29830. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29831. type: array
  29832. "500":
  29833. description: Internal Server Error
  29834. schema:
  29835. $ref: '#/definitions/app.Response'
  29836. security:
  29837. - ApiKeyAuth: []
  29838. summary: 查询被套期项目信息
  29839. tags:
  29840. - 企业风险管理v8
  29841. /Ermcp8/QueryErmcp2HedgedItemLink:
  29842. get:
  29843. parameters:
  29844. - description: 现货合同ID
  29845. in: query
  29846. name: spotcontractid
  29847. required: true
  29848. type: integer
  29849. produces:
  29850. - application/json
  29851. responses:
  29852. "200":
  29853. description: OK
  29854. schema:
  29855. items:
  29856. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29857. type: array
  29858. "500":
  29859. description: Internal Server Error
  29860. schema:
  29861. $ref: '#/definitions/app.Response'
  29862. security:
  29863. - ApiKeyAuth: []
  29864. summary: 现货合同关联被套期项目查询
  29865. tags:
  29866. - 企业风险管理v8
  29867. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29868. get:
  29869. parameters:
  29870. - description: 用户ID
  29871. in: query
  29872. name: userid
  29873. required: true
  29874. type: integer
  29875. - description: 套保品种ID
  29876. in: query
  29877. name: middlegoodsid
  29878. required: true
  29879. type: integer
  29880. produces:
  29881. - application/json
  29882. responses:
  29883. "200":
  29884. description: OK
  29885. schema:
  29886. items:
  29887. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29888. type: array
  29889. "500":
  29890. description: Internal Server Error
  29891. schema:
  29892. $ref: '#/definitions/app.Response'
  29893. security:
  29894. - ApiKeyAuth: []
  29895. summary: 敞口明细 - 计划变动明细
  29896. tags:
  29897. - 企业风险管理v8
  29898. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29899. get:
  29900. parameters:
  29901. - description: 用户ID
  29902. in: query
  29903. name: userid
  29904. required: true
  29905. type: integer
  29906. - description: 套保品种ID
  29907. in: query
  29908. name: middlegoodsid
  29909. required: true
  29910. type: integer
  29911. produces:
  29912. - application/json
  29913. responses:
  29914. "200":
  29915. description: OK
  29916. schema:
  29917. items:
  29918. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29919. type: array
  29920. "500":
  29921. description: Internal Server Error
  29922. schema:
  29923. $ref: '#/definitions/app.Response'
  29924. security:
  29925. - ApiKeyAuth: []
  29926. summary: 敞口明细 - 现货变动明细查询
  29927. tags:
  29928. - 企业风险管理v8
  29929. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29930. get:
  29931. parameters:
  29932. - description: 用户ID
  29933. in: query
  29934. name: userid
  29935. required: true
  29936. type: integer
  29937. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29938. in: query
  29939. name: spottype
  29940. required: true
  29941. type: integer
  29942. - description: 现货商品ID
  29943. in: query
  29944. name: wrstandardid
  29945. type: integer
  29946. produces:
  29947. - application/json
  29948. responses:
  29949. "200":
  29950. description: OK
  29951. schema:
  29952. items:
  29953. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29954. type: array
  29955. "500":
  29956. description: Internal Server Error
  29957. schema:
  29958. $ref: '#/definitions/app.Response'
  29959. security:
  29960. - ApiKeyAuth: []
  29961. summary: 可关联项目查询
  29962. tags:
  29963. - 企业风险管理v8
  29964. /Ermcp8/QueryErmcp8HedgeditemReport:
  29965. get:
  29966. parameters:
  29967. - description: 用户ID
  29968. in: query
  29969. name: userid
  29970. required: true
  29971. type: integer
  29972. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29973. in: query
  29974. name: cycletype
  29975. type: integer
  29976. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29977. 全(0)【原值】
  29978. in: query
  29979. name: cycletime
  29980. required: true
  29981. type: string
  29982. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29983. in: query
  29984. name: hedgedtype
  29985. type: integer
  29986. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29987. in: query
  29988. name: hedgeditemstatus
  29989. type: integer
  29990. - description: 项目编号,模糊查询
  29991. in: query
  29992. name: hedgeditemnum
  29993. type: string
  29994. - description: 现货商品ID
  29995. in: query
  29996. name: wrstandardid
  29997. type: integer
  29998. produces:
  29999. - application/json
  30000. responses:
  30001. "200":
  30002. description: OK
  30003. schema:
  30004. items:
  30005. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  30006. type: array
  30007. "500":
  30008. description: Internal Server Error
  30009. schema:
  30010. $ref: '#/definitions/app.Response'
  30011. security:
  30012. - ApiKeyAuth: []
  30013. summary: 套期项目报表查询
  30014. tags:
  30015. - 企业风险管理v8
  30016. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30017. get:
  30018. parameters:
  30019. - description: 用户ID
  30020. in: query
  30021. name: userid
  30022. required: true
  30023. type: string
  30024. produces:
  30025. - application/json
  30026. responses:
  30027. "200":
  30028. description: OK
  30029. schema:
  30030. items:
  30031. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30032. type: array
  30033. "500":
  30034. description: Internal Server Error
  30035. schema:
  30036. $ref: '#/definitions/app.Response'
  30037. security:
  30038. - ApiKeyAuth: []
  30039. summary: 查询执行中项目查询信息
  30040. tags:
  30041. - 企业风险管理v8
  30042. /Ermcp8/QueryInternalEnableTradeDetail:
  30043. get:
  30044. parameters:
  30045. - description: 企业ID
  30046. in: query
  30047. name: areauserid
  30048. required: true
  30049. type: integer
  30050. - description: 期货合约ID
  30051. in: query
  30052. name: goodsid
  30053. required: true
  30054. type: integer
  30055. - description: 交易用户ID
  30056. in: query
  30057. name: tradeuserid
  30058. required: true
  30059. type: integer
  30060. produces:
  30061. - application/json
  30062. responses:
  30063. "200":
  30064. description: OK
  30065. schema:
  30066. items:
  30067. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30068. type: array
  30069. "500":
  30070. description: Internal Server Error
  30071. schema:
  30072. $ref: '#/definitions/app.Response'
  30073. security:
  30074. - ApiKeyAuth: []
  30075. summary: 内部成交单可关联项目查询
  30076. tags:
  30077. - 企业风险管理v8
  30078. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30079. get:
  30080. parameters:
  30081. - description: 用户编号
  30082. in: query
  30083. name: userid
  30084. required: true
  30085. type: integer
  30086. - description: 起始日期(格式yyyymmdd)
  30087. in: query
  30088. name: begindate
  30089. type: string
  30090. - description: 终止日期(格式yyyymmdd)
  30091. in: query
  30092. name: enddate
  30093. type: string
  30094. - description: 合约代码
  30095. in: query
  30096. name: goodscode
  30097. type: string
  30098. - description: 合约名称
  30099. in: query
  30100. name: goodsname
  30101. type: string
  30102. - description: 成交单号
  30103. in: query
  30104. name: tradeid
  30105. type: integer
  30106. - description: 方向 - 0:买 1:卖
  30107. in: query
  30108. name: buyorsell
  30109. type: integer
  30110. - description: 套期主体
  30111. in: query
  30112. name: accountname
  30113. type: string
  30114. produces:
  30115. - application/json
  30116. responses:
  30117. "200":
  30118. description: OK
  30119. schema:
  30120. items:
  30121. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30122. type: array
  30123. "500":
  30124. description: Internal Server Error
  30125. schema:
  30126. $ref: '#/definitions/app.Response'
  30127. security:
  30128. - ApiKeyAuth: []
  30129. summary: 内部未关联成交单查询
  30130. tags:
  30131. - 企业风险管理v8
  30132. /Ermcp8/QueryMarketCalendar:
  30133. get:
  30134. parameters:
  30135. - description: 市场ID
  30136. in: query
  30137. name: marketid
  30138. type: integer
  30139. produces:
  30140. - application/json
  30141. responses:
  30142. "200":
  30143. description: OK
  30144. schema:
  30145. items:
  30146. $ref: '#/definitions/models.Marketcalendar'
  30147. type: array
  30148. "500":
  30149. description: Internal Server Error
  30150. schema:
  30151. $ref: '#/definitions/app.Response'
  30152. security:
  30153. - ApiKeyAuth: []
  30154. summary: 市场节假日查询
  30155. tags:
  30156. - 企业风险管理v8
  30157. /Ermcp8/QueryPatradeLinkDetail:
  30158. get:
  30159. parameters:
  30160. - description: 用户ID
  30161. in: query
  30162. name: userid
  30163. required: true
  30164. type: integer
  30165. - description: 套保品种ID
  30166. in: query
  30167. name: middlegoodsid
  30168. required: true
  30169. type: integer
  30170. produces:
  30171. - application/json
  30172. responses:
  30173. "200":
  30174. description: OK
  30175. schema:
  30176. items:
  30177. $ref: '#/definitions/models.Patradelinkdetail'
  30178. type: array
  30179. "500":
  30180. description: Internal Server Error
  30181. schema:
  30182. $ref: '#/definitions/app.Response'
  30183. security:
  30184. - ApiKeyAuth: []
  30185. summary: 敞口明细 - 期货变动明细
  30186. tags:
  30187. - 企业风险管理v8
  30188. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30189. get:
  30190. parameters:
  30191. - description: 企业ID
  30192. in: query
  30193. name: areauserid
  30194. required: true
  30195. type: integer
  30196. - description: 计划类型 - 1:采购 -1:销售
  30197. in: query
  30198. name: contracttype
  30199. type: integer
  30200. - description: 计划编号,模糊查询
  30201. in: query
  30202. name: hedgeplanno
  30203. type: string
  30204. - description: 现货商品,模糊查询
  30205. in: query
  30206. name: wrstandardname
  30207. type: string
  30208. produces:
  30209. - application/json
  30210. responses:
  30211. "200":
  30212. description: OK
  30213. schema:
  30214. items:
  30215. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30216. type: array
  30217. "500":
  30218. description: Internal Server Error
  30219. schema:
  30220. $ref: '#/definitions/app.Response'
  30221. security:
  30222. - ApiKeyAuth: []
  30223. summary: 未关联购销计划
  30224. tags:
  30225. - 企业风险管理v8
  30226. /Ermcp8/QueryUnLinkSpotContract:
  30227. get:
  30228. parameters:
  30229. - description: 用户ID
  30230. in: query
  30231. name: userid
  30232. required: true
  30233. type: integer
  30234. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30235. in: query
  30236. name: pricetype
  30237. type: integer
  30238. - description: 合同编号, 模拟查询
  30239. in: query
  30240. name: contractno
  30241. type: string
  30242. - description: 对手方, 模拟查询
  30243. in: query
  30244. name: customername
  30245. type: string
  30246. - description: 项合同类型 - 1:采购 -1:销售
  30247. in: query
  30248. name: contracttype
  30249. type: integer
  30250. produces:
  30251. - application/json
  30252. responses:
  30253. "200":
  30254. description: OK
  30255. schema:
  30256. items:
  30257. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30258. type: array
  30259. "500":
  30260. description: Internal Server Error
  30261. schema:
  30262. $ref: '#/definitions/app.Response'
  30263. security:
  30264. - ApiKeyAuth: []
  30265. summary: 未关联合同查询
  30266. tags:
  30267. - 企业风险管理v8
  30268. /Erms2/QueryArbitrageStrategy:
  30269. get:
  30270. parameters:
  30271. - description: 账户ID
  30272. in: query
  30273. name: userid
  30274. required: true
  30275. type: integer
  30276. - description: 商品组ID(品种ID)
  30277. in: query
  30278. name: goodsgroupid
  30279. type: string
  30280. produces:
  30281. - application/json
  30282. responses:
  30283. "200":
  30284. description: OK
  30285. schema:
  30286. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30287. "500":
  30288. description: Internal Server Error
  30289. schema:
  30290. $ref: '#/definitions/app.Response'
  30291. security:
  30292. - ApiKeyAuth: []
  30293. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30294. tags:
  30295. - 风险管理
  30296. /Erms2/QueryInnerTradeDetail:
  30297. get:
  30298. parameters:
  30299. - description: 资金账户
  30300. in: query
  30301. name: accountid
  30302. required: true
  30303. type: integer
  30304. produces:
  30305. - application/json
  30306. responses:
  30307. "200":
  30308. description: OK
  30309. schema:
  30310. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30311. "500":
  30312. description: Internal Server Error
  30313. schema:
  30314. $ref: '#/definitions/app.Response'
  30315. security:
  30316. - ApiKeyAuth: []
  30317. summary: 查询内部成交单信息
  30318. tags:
  30319. - 风险管理
  30320. /Erms2/QuerySpotContract:
  30321. get:
  30322. parameters:
  30323. - description: 策略申请ID
  30324. in: query
  30325. name: asapplyid
  30326. required: true
  30327. type: integer
  30328. - description: 现货合同ID
  30329. in: query
  30330. name: spotcontractid
  30331. type: integer
  30332. produces:
  30333. - application/json
  30334. responses:
  30335. "200":
  30336. description: OK
  30337. schema:
  30338. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30339. "500":
  30340. description: Internal Server Error
  30341. schema:
  30342. $ref: '#/definitions/app.Response'
  30343. security:
  30344. - ApiKeyAuth: []
  30345. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30346. tags:
  30347. - 风险管理
  30348. /Erms3/AddErms2ASApply:
  30349. post:
  30350. parameters:
  30351. - description: 申请参数
  30352. in: body
  30353. name: jsonBody
  30354. required: true
  30355. schema:
  30356. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30357. produces:
  30358. - application/json
  30359. responses:
  30360. "200":
  30361. description: OK
  30362. schema:
  30363. $ref: '#/definitions/app.Response'
  30364. "500":
  30365. description: Internal Server Error
  30366. schema:
  30367. $ref: '#/definitions/app.Response'
  30368. security:
  30369. - ApiKeyAuth: []
  30370. summary: 新增期现套利业务申请
  30371. tags:
  30372. - 风险管理v3
  30373. /Erms3/AddErms2SpotTradeApply:
  30374. post:
  30375. parameters:
  30376. - description: 申请参数
  30377. in: body
  30378. name: jsonBody
  30379. required: true
  30380. schema:
  30381. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30382. produces:
  30383. - application/json
  30384. responses:
  30385. "200":
  30386. description: OK
  30387. schema:
  30388. $ref: '#/definitions/app.Response'
  30389. "500":
  30390. description: Internal Server Error
  30391. schema:
  30392. $ref: '#/definitions/app.Response'
  30393. security:
  30394. - ApiKeyAuth: []
  30395. summary: 新增现货贸易业务申请
  30396. tags:
  30397. - 风险管理v3
  30398. /Erms3/AddSpotContractApply:
  30399. post:
  30400. parameters:
  30401. - description: 申请参数
  30402. in: body
  30403. name: jsonBody
  30404. required: true
  30405. schema:
  30406. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30407. produces:
  30408. - application/json
  30409. responses:
  30410. "200":
  30411. description: OK
  30412. schema:
  30413. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30414. "500":
  30415. description: Internal Server Error
  30416. schema:
  30417. $ref: '#/definitions/app.Response'
  30418. security:
  30419. - ApiKeyAuth: []
  30420. summary: 新增现货合同申请
  30421. tags:
  30422. - 风险管理v3
  30423. /Erms3/AddUserInfoApply:
  30424. post:
  30425. parameters:
  30426. - description: 用户信息
  30427. in: body
  30428. name: jsonBody
  30429. required: true
  30430. schema:
  30431. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30432. produces:
  30433. - application/json
  30434. responses:
  30435. "200":
  30436. description: OK
  30437. schema:
  30438. $ref: '#/definitions/app.Response'
  30439. "500":
  30440. description: Internal Server Error
  30441. schema:
  30442. $ref: '#/definitions/app.Response'
  30443. security:
  30444. - ApiKeyAuth: []
  30445. summary: 新增客户申请
  30446. tags:
  30447. - 风险管理v3
  30448. /Erms3/DeleteUserInfoApply:
  30449. get:
  30450. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30451. parameters:
  30452. - description: 用户ID
  30453. in: query
  30454. name: userID
  30455. required: true
  30456. type: integer
  30457. produces:
  30458. - application/json
  30459. responses:
  30460. "200":
  30461. description: OK
  30462. schema:
  30463. $ref: '#/definitions/app.Response'
  30464. "500":
  30465. description: Internal Server Error
  30466. schema:
  30467. $ref: '#/definitions/app.Response'
  30468. security:
  30469. - ApiKeyAuth: []
  30470. summary: 删除客户申请
  30471. tags:
  30472. - 风险管理v3
  30473. /Erms3/ModifyUserInfoApply:
  30474. post:
  30475. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30476. int, "userstate": 2 }'
  30477. parameters:
  30478. - description: 用户信息
  30479. in: body
  30480. name: jsonBody
  30481. required: true
  30482. schema:
  30483. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30484. produces:
  30485. - application/json
  30486. responses:
  30487. "200":
  30488. description: OK
  30489. schema:
  30490. $ref: '#/definitions/app.Response'
  30491. "500":
  30492. description: Internal Server Error
  30493. schema:
  30494. $ref: '#/definitions/app.Response'
  30495. security:
  30496. - ApiKeyAuth: []
  30497. summary: 修改客户申请
  30498. tags:
  30499. - 风险管理v3
  30500. /Erms3/QueryBusinessInfo:
  30501. get:
  30502. parameters:
  30503. - description: 资金账号ID列表,用逗号分隔
  30504. in: query
  30505. name: accountids
  30506. required: true
  30507. type: string
  30508. - description: 状态,0为未结束 1为已结束
  30509. in: query
  30510. name: status
  30511. required: true
  30512. type: integer
  30513. produces:
  30514. - application/json
  30515. responses:
  30516. "200":
  30517. description: OK
  30518. schema:
  30519. items:
  30520. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30521. type: array
  30522. "500":
  30523. description: Internal Server Error
  30524. schema:
  30525. $ref: '#/definitions/app.Response'
  30526. security:
  30527. - ApiKeyAuth: []
  30528. summary: 查询业务表单数据
  30529. tags:
  30530. - 风险管理v3
  30531. /Erms3/QueryPendingAuditContract:
  30532. get:
  30533. parameters:
  30534. - description: 资金账号ID列表,逗号隔开
  30535. in: query
  30536. name: accountids
  30537. required: true
  30538. type: string
  30539. - description: 合同类型 1-采购 -1-销售
  30540. in: query
  30541. name: contracttype
  30542. required: true
  30543. type: integer
  30544. - description: 合同模式 1-普通 2-回购
  30545. in: query
  30546. name: contractmode
  30547. required: true
  30548. type: integer
  30549. produces:
  30550. - application/json
  30551. responses:
  30552. "200":
  30553. description: OK
  30554. schema:
  30555. items:
  30556. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30557. type: array
  30558. "500":
  30559. description: Internal Server Error
  30560. schema:
  30561. $ref: '#/definitions/app.Response'
  30562. security:
  30563. - ApiKeyAuth: []
  30564. summary: 查询待审核合同
  30565. tags:
  30566. - 风险管理v3
  30567. /Erms3/QueryPendingBusiness:
  30568. get:
  30569. parameters:
  30570. - description: 资金账号ID列表,逗号隔开
  30571. in: query
  30572. name: accountids
  30573. required: true
  30574. type: string
  30575. produces:
  30576. - application/json
  30577. responses:
  30578. "200":
  30579. description: OK
  30580. schema:
  30581. items:
  30582. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30583. type: array
  30584. "500":
  30585. description: Internal Server Error
  30586. schema:
  30587. $ref: '#/definitions/app.Response'
  30588. security:
  30589. - ApiKeyAuth: []
  30590. summary: 查询待审核基差贸易业务
  30591. tags:
  30592. - 风险管理v3
  30593. /Erms3/QuerySpotContractAppleForm:
  30594. get:
  30595. parameters:
  30596. - description: 登录账号
  30597. in: query
  30598. name: loginID
  30599. required: true
  30600. type: integer
  30601. produces:
  30602. - application/json
  30603. responses:
  30604. "200":
  30605. description: OK
  30606. schema:
  30607. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30608. "500":
  30609. description: Internal Server Error
  30610. schema:
  30611. $ref: '#/definitions/app.Response'
  30612. security:
  30613. - ApiKeyAuth: []
  30614. summary: 查询合同申请表单数据
  30615. tags:
  30616. - 风险管理v3
  30617. /Erms3/QuerySpotContractDetail:
  30618. get:
  30619. parameters:
  30620. - description: 资金账号ID列表,用逗号分隔
  30621. in: query
  30622. name: accountids
  30623. required: true
  30624. type: string
  30625. - description: 合同类型,1为采购合同 -1为销售合同
  30626. in: query
  30627. name: contracttype
  30628. required: true
  30629. type: integer
  30630. - description: 合同模式,1为普通合同 2为回购销售合同
  30631. in: query
  30632. name: contractmode
  30633. required: true
  30634. type: integer
  30635. - description: 状态,0为履约中 1为已完成
  30636. in: query
  30637. name: status
  30638. required: true
  30639. type: integer
  30640. produces:
  30641. - application/json
  30642. responses:
  30643. "200":
  30644. description: OK
  30645. schema:
  30646. items:
  30647. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30648. type: array
  30649. "500":
  30650. description: Internal Server Error
  30651. schema:
  30652. $ref: '#/definitions/app.Response'
  30653. security:
  30654. - ApiKeyAuth: []
  30655. summary: 查询合同详细信息
  30656. tags:
  30657. - 风险管理v3
  30658. /Erms3/QueryUserInfoApplies:
  30659. get:
  30660. parameters:
  30661. - description: 页码
  30662. in: query
  30663. name: page
  30664. type: integer
  30665. - description: 每页条数
  30666. in: query
  30667. name: pagesize
  30668. type: integer
  30669. - description: 客户名称,支持模糊查询
  30670. in: query
  30671. name: userName
  30672. type: string
  30673. produces:
  30674. - application/json
  30675. responses:
  30676. "200":
  30677. description: OK
  30678. schema:
  30679. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30680. "500":
  30681. description: Internal Server Error
  30682. schema:
  30683. $ref: '#/definitions/app.Response'
  30684. security:
  30685. - ApiKeyAuth: []
  30686. summary: 客户申请信息查询
  30687. tags:
  30688. - 风险管理v3
  30689. /Erms3/QueryUserInfos:
  30690. get:
  30691. parameters:
  30692. - description: 页码
  30693. in: query
  30694. name: page
  30695. type: integer
  30696. - description: 每页条数
  30697. in: query
  30698. name: pagesize
  30699. type: integer
  30700. - description: 客户名称,支持模糊查询
  30701. in: query
  30702. name: userName
  30703. type: string
  30704. produces:
  30705. - application/json
  30706. responses:
  30707. "200":
  30708. description: OK
  30709. schema:
  30710. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30711. "500":
  30712. description: Internal Server Error
  30713. schema:
  30714. $ref: '#/definitions/app.Response'
  30715. security:
  30716. - ApiKeyAuth: []
  30717. summary: 客户信息查询
  30718. tags:
  30719. - 风险管理v3
  30720. /Ferroalloy/GetSpotGoodsPrice:
  30721. get:
  30722. parameters:
  30723. - description: 页码
  30724. in: query
  30725. name: page
  30726. type: integer
  30727. - description: 每页条数
  30728. in: query
  30729. name: pagesize
  30730. type: integer
  30731. produces:
  30732. - application/json
  30733. responses:
  30734. "200":
  30735. description: OK
  30736. schema:
  30737. items:
  30738. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30739. type: array
  30740. "500":
  30741. description: Internal Server Error
  30742. schema:
  30743. $ref: '#/definitions/app.Response'
  30744. security:
  30745. - ApiKeyAuth: []
  30746. summary: 获取现货行情
  30747. tags:
  30748. - 铁合金
  30749. /Ferroalloy/QueryMyRefer:
  30750. get:
  30751. parameters:
  30752. - description: 用户ID
  30753. in: query
  30754. name: userid
  30755. required: true
  30756. type: integer
  30757. - description: 页码
  30758. in: query
  30759. name: page
  30760. type: integer
  30761. - description: 每页条数
  30762. in: query
  30763. name: pagesize
  30764. type: integer
  30765. produces:
  30766. - application/json
  30767. responses:
  30768. "200":
  30769. description: OK
  30770. schema:
  30771. items:
  30772. $ref: '#/definitions/models.MyRefer'
  30773. type: array
  30774. "500":
  30775. description: Internal Server Error
  30776. schema:
  30777. $ref: '#/definitions/app.Response'
  30778. security:
  30779. - ApiKeyAuth: []
  30780. summary: 查询我的推荐列表
  30781. tags:
  30782. - 铁合金
  30783. /Ferroalloy/QueryMyRegisterMoney:
  30784. get:
  30785. parameters:
  30786. - description: 资金账户
  30787. in: query
  30788. name: accountid
  30789. required: true
  30790. type: integer
  30791. produces:
  30792. - application/json
  30793. responses:
  30794. "200":
  30795. description: OK
  30796. schema:
  30797. items:
  30798. $ref: '#/definitions/models.RegisterMoney'
  30799. type: array
  30800. "500":
  30801. description: Internal Server Error
  30802. schema:
  30803. $ref: '#/definitions/app.Response'
  30804. summary: 查询我的注册红包
  30805. tags:
  30806. - 铁合金
  30807. /Ferroalloy/QuerySpotgoodsPrice:
  30808. get:
  30809. parameters:
  30810. - description: 页码
  30811. in: query
  30812. name: page
  30813. type: integer
  30814. - description: 每页条数
  30815. in: query
  30816. name: pagesize
  30817. type: integer
  30818. produces:
  30819. - application/json
  30820. responses:
  30821. "200":
  30822. description: OK
  30823. schema:
  30824. items:
  30825. $ref: '#/definitions/models.Spotgoodsprice'
  30826. type: array
  30827. "500":
  30828. description: Internal Server Error
  30829. schema:
  30830. $ref: '#/definitions/app.Response'
  30831. security:
  30832. - ApiKeyAuth: []
  30833. summary: 查询行情-现货列表
  30834. tags:
  30835. - 铁合金
  30836. /Ferroalloy/QueryTHJGoodsDetail:
  30837. get:
  30838. parameters:
  30839. - description: 现货商品ID
  30840. in: query
  30841. name: wrstandardid
  30842. required: true
  30843. type: integer
  30844. produces:
  30845. - application/json
  30846. responses:
  30847. "200":
  30848. description: OK
  30849. schema:
  30850. items:
  30851. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30852. type: array
  30853. "500":
  30854. description: Internal Server Error
  30855. schema:
  30856. $ref: '#/definitions/app.Response'
  30857. security:
  30858. - ApiKeyAuth: []
  30859. summary: 查询商品详情
  30860. tags:
  30861. - 铁合金
  30862. /Ferroalloy/QueryTHJListing:
  30863. get:
  30864. parameters:
  30865. - description: 现货商品名称(模糊查询)
  30866. in: query
  30867. name: wrstandardname
  30868. type: string
  30869. - description: 页码
  30870. in: query
  30871. name: page
  30872. type: integer
  30873. - description: 每页条数
  30874. in: query
  30875. name: pagesize
  30876. type: integer
  30877. produces:
  30878. - application/json
  30879. responses:
  30880. "200":
  30881. description: OK
  30882. schema:
  30883. items:
  30884. $ref: '#/definitions/models.THJWrstandard'
  30885. type: array
  30886. "500":
  30887. description: Internal Server Error
  30888. schema:
  30889. $ref: '#/definitions/app.Response'
  30890. security:
  30891. - ApiKeyAuth: []
  30892. summary: 查询供求列表
  30893. tags:
  30894. - 铁合金
  30895. /Ferroalloy/QueryTHJProduct:
  30896. get:
  30897. parameters:
  30898. - description: 用户ID
  30899. in: query
  30900. name: userid
  30901. required: true
  30902. type: integer
  30903. - description: 关注标志 true-已关注 false-未关注
  30904. in: query
  30905. name: favoriteflag
  30906. type: boolean
  30907. - description: 页码
  30908. in: query
  30909. name: page
  30910. type: integer
  30911. - description: 每页条数
  30912. in: query
  30913. name: pagesize
  30914. type: integer
  30915. produces:
  30916. - application/json
  30917. responses:
  30918. "200":
  30919. description: OK
  30920. schema:
  30921. items:
  30922. $ref: '#/definitions/models.THJProduct'
  30923. type: array
  30924. "500":
  30925. description: Internal Server Error
  30926. schema:
  30927. $ref: '#/definitions/app.Response'
  30928. security:
  30929. - ApiKeyAuth: []
  30930. summary: 获取产品介绍列表
  30931. tags:
  30932. - 铁合金
  30933. /Ferroalloy/QueryTHJPromotionIncome:
  30934. get:
  30935. parameters:
  30936. - description: 用户ID
  30937. in: query
  30938. name: userid
  30939. required: true
  30940. type: integer
  30941. - description: 状态 - 0:全部 1:已支付 2:未支付
  30942. in: query
  30943. name: profitstatus
  30944. type: integer
  30945. - description: 页码
  30946. in: query
  30947. name: page
  30948. type: integer
  30949. - description: 每页条数
  30950. in: query
  30951. name: pagesize
  30952. type: integer
  30953. produces:
  30954. - application/json
  30955. responses:
  30956. "200":
  30957. description: OK
  30958. schema:
  30959. items:
  30960. $ref: '#/definitions/models.PromotionIncome'
  30961. type: array
  30962. "500":
  30963. description: Internal Server Error
  30964. schema:
  30965. $ref: '#/definitions/app.Response'
  30966. security:
  30967. - ApiKeyAuth: []
  30968. summary: 查询我的推广-推广收益
  30969. tags:
  30970. - 铁合金
  30971. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  30972. get:
  30973. parameters:
  30974. - description: 用户ID
  30975. in: query
  30976. name: userid
  30977. required: true
  30978. type: integer
  30979. - description: 月份,格式:yyyymm
  30980. in: query
  30981. name: mouth
  30982. required: true
  30983. type: string
  30984. - description: 页码
  30985. in: query
  30986. name: page
  30987. type: integer
  30988. - description: 每页条数
  30989. in: query
  30990. name: pagesize
  30991. type: integer
  30992. produces:
  30993. - application/json
  30994. responses:
  30995. "200":
  30996. description: OK
  30997. schema:
  30998. items:
  30999. $ref: '#/definitions/models.PromotionIncomeDetail'
  31000. type: array
  31001. "500":
  31002. description: Internal Server Error
  31003. schema:
  31004. $ref: '#/definitions/app.Response'
  31005. security:
  31006. - ApiKeyAuth: []
  31007. summary: 查询我的推广-推广收益-明细
  31008. tags:
  31009. - 铁合金
  31010. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  31011. get:
  31012. parameters:
  31013. - description: 用户ID
  31014. in: query
  31015. name: userid
  31016. required: true
  31017. type: integer
  31018. - description: 类型 - 0:未完成 1:已完成
  31019. in: query
  31020. name: type
  31021. type: integer
  31022. - description: 页码
  31023. in: query
  31024. name: page
  31025. type: integer
  31026. - description: 每页条数
  31027. in: query
  31028. name: pagesize
  31029. type: integer
  31030. produces:
  31031. - application/json
  31032. responses:
  31033. "200":
  31034. description: OK
  31035. schema:
  31036. items:
  31037. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31038. type: array
  31039. "500":
  31040. description: Internal Server Error
  31041. schema:
  31042. $ref: '#/definitions/app.Response'
  31043. security:
  31044. - ApiKeyAuth: []
  31045. summary: 查询我的订单-采购订单
  31046. tags:
  31047. - 铁合金
  31048. /Ferroalloy/QueryTHJPurchaseTransfer:
  31049. get:
  31050. parameters:
  31051. - description: 现货商品名称(模糊查询)
  31052. in: query
  31053. name: wrstandardname
  31054. type: string
  31055. - description: 页码
  31056. in: query
  31057. name: page
  31058. type: integer
  31059. - description: 每页条数
  31060. in: query
  31061. name: pagesize
  31062. type: integer
  31063. produces:
  31064. - application/json
  31065. responses:
  31066. "200":
  31067. description: OK
  31068. schema:
  31069. items:
  31070. $ref: '#/definitions/models.PurchaseTransfer'
  31071. type: array
  31072. "500":
  31073. description: Internal Server Error
  31074. schema:
  31075. $ref: '#/definitions/app.Response'
  31076. security:
  31077. - ApiKeyAuth: []
  31078. summary: 查询合同转让列表
  31079. tags:
  31080. - 铁合金
  31081. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31082. get:
  31083. parameters:
  31084. - description: 现货商品ID
  31085. in: query
  31086. name: wrstandardid
  31087. required: true
  31088. type: integer
  31089. produces:
  31090. - application/json
  31091. responses:
  31092. "200":
  31093. description: OK
  31094. schema:
  31095. items:
  31096. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31097. type: array
  31098. "500":
  31099. description: Internal Server Error
  31100. schema:
  31101. $ref: '#/definitions/app.Response'
  31102. security:
  31103. - ApiKeyAuth: []
  31104. summary: 查询合同转让详情
  31105. tags:
  31106. - 铁合金
  31107. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31108. get:
  31109. parameters:
  31110. - description: 用户ID
  31111. in: query
  31112. name: userid
  31113. required: true
  31114. type: integer
  31115. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31116. in: query
  31117. name: ordertype
  31118. required: true
  31119. type: integer
  31120. - description: 页码
  31121. in: query
  31122. name: page
  31123. type: integer
  31124. - description: 每页条数
  31125. in: query
  31126. name: pagesize
  31127. type: integer
  31128. produces:
  31129. - application/json
  31130. responses:
  31131. "200":
  31132. description: OK
  31133. schema:
  31134. items:
  31135. $ref: '#/definitions/models.Thjpurchasetransfer'
  31136. type: array
  31137. "500":
  31138. description: Internal Server Error
  31139. schema:
  31140. $ref: '#/definitions/app.Response'
  31141. security:
  31142. - ApiKeyAuth: []
  31143. summary: 查询我的订单-转让/受让订单
  31144. tags:
  31145. - 铁合金
  31146. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31147. get:
  31148. parameters:
  31149. - description: 转让单号
  31150. in: query
  31151. name: transferid
  31152. required: true
  31153. type: string
  31154. produces:
  31155. - application/json
  31156. responses:
  31157. "200":
  31158. description: OK
  31159. schema:
  31160. items:
  31161. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31162. type: array
  31163. "500":
  31164. description: Internal Server Error
  31165. schema:
  31166. $ref: '#/definitions/app.Response'
  31167. security:
  31168. - ApiKeyAuth: []
  31169. summary: 查询我的订单-转让/受让订单-详情
  31170. tags:
  31171. - 铁合金
  31172. /Ferroalloy/QueryTHJScoreConfig:
  31173. get:
  31174. parameters:
  31175. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31176. 6:自己供求下单积分 7:抽奖配置'
  31177. in: query
  31178. name: stype
  31179. type: string
  31180. produces:
  31181. - application/json
  31182. responses:
  31183. "200":
  31184. description: OK
  31185. schema:
  31186. items:
  31187. $ref: '#/definitions/models.Thjscoreconfig'
  31188. type: array
  31189. "500":
  31190. description: Internal Server Error
  31191. schema:
  31192. $ref: '#/definitions/app.Response'
  31193. security:
  31194. - ApiKeyAuth: []
  31195. summary: 查询积分配置
  31196. tags:
  31197. - 铁合金
  31198. /Ferroalloy/QueryTHJTradeData:
  31199. get:
  31200. parameters:
  31201. - description: 用户ID
  31202. in: query
  31203. name: userid
  31204. required: true
  31205. type: integer
  31206. - description: 市场ID 采购-64201 供求-65201
  31207. in: query
  31208. name: marketid
  31209. required: true
  31210. type: integer
  31211. - description: 页码
  31212. in: query
  31213. name: page
  31214. type: integer
  31215. - description: 每页条数
  31216. in: query
  31217. name: pagesize
  31218. type: integer
  31219. produces:
  31220. - application/json
  31221. responses:
  31222. "200":
  31223. description: OK
  31224. schema:
  31225. items:
  31226. $ref: '#/definitions/models.THJTradeData'
  31227. type: array
  31228. "500":
  31229. description: Internal Server Error
  31230. schema:
  31231. $ref: '#/definitions/app.Response'
  31232. security:
  31233. - ApiKeyAuth: []
  31234. summary: 获取我的推广-交易数据
  31235. tags:
  31236. - 铁合金
  31237. /Ferroalloy/QueryTHJWrstandard:
  31238. get:
  31239. parameters:
  31240. - description: 现货商品名称(模糊查询)
  31241. in: query
  31242. name: wrstandardname
  31243. type: string
  31244. - description: 页码
  31245. in: query
  31246. name: page
  31247. type: integer
  31248. - description: 每页条数
  31249. in: query
  31250. name: pagesize
  31251. type: integer
  31252. produces:
  31253. - application/json
  31254. responses:
  31255. "200":
  31256. description: OK
  31257. schema:
  31258. items:
  31259. $ref: '#/definitions/models.THJWrstandard'
  31260. type: array
  31261. "500":
  31262. description: Internal Server Error
  31263. schema:
  31264. $ref: '#/definitions/app.Response'
  31265. security:
  31266. - ApiKeyAuth: []
  31267. summary: 查询采购列表
  31268. tags:
  31269. - 铁合金
  31270. /Ferroalloy/QueryTHJWrstandardDetail:
  31271. get:
  31272. parameters:
  31273. - description: 现货商品ID
  31274. in: query
  31275. name: wrstandardid
  31276. required: true
  31277. type: integer
  31278. produces:
  31279. - application/json
  31280. responses:
  31281. "200":
  31282. description: OK
  31283. schema:
  31284. items:
  31285. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31286. type: array
  31287. "500":
  31288. description: Internal Server Error
  31289. schema:
  31290. $ref: '#/definitions/app.Response'
  31291. security:
  31292. - ApiKeyAuth: []
  31293. summary: 查询采购详情
  31294. tags:
  31295. - 铁合金
  31296. /Ferroalloy/QueryUserLevelInfo:
  31297. get:
  31298. parameters:
  31299. - description: 用户ID
  31300. in: query
  31301. name: userid
  31302. required: true
  31303. type: integer
  31304. produces:
  31305. - application/json
  31306. responses:
  31307. "200":
  31308. description: OK
  31309. schema:
  31310. items:
  31311. $ref: '#/definitions/models.THJUserLevelInfo'
  31312. type: array
  31313. "500":
  31314. description: Internal Server Error
  31315. schema:
  31316. $ref: '#/definitions/app.Response'
  31317. security:
  31318. - ApiKeyAuth: []
  31319. summary: 查询用户等级信息
  31320. tags:
  31321. - 铁合金
  31322. /Ferroalloy/QueryUserScoreLog:
  31323. get:
  31324. parameters:
  31325. - description: 用户ID
  31326. in: query
  31327. name: userid
  31328. required: true
  31329. type: integer
  31330. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31331. 6:自己供求下单积分 7:抽奖配置'
  31332. in: query
  31333. name: stype
  31334. type: string
  31335. - description: 页码
  31336. in: query
  31337. name: page
  31338. type: integer
  31339. - description: 每页条数
  31340. in: query
  31341. name: pagesize
  31342. type: integer
  31343. produces:
  31344. - application/json
  31345. responses:
  31346. "200":
  31347. description: OK
  31348. schema:
  31349. items:
  31350. $ref: '#/definitions/models.GThjuserscorelog'
  31351. type: array
  31352. "500":
  31353. description: Internal Server Error
  31354. schema:
  31355. $ref: '#/definitions/app.Response'
  31356. security:
  31357. - ApiKeyAuth: []
  31358. summary: 查询我的积分流水
  31359. tags:
  31360. - 铁合金
  31361. /Ferroalloy/Signin:
  31362. post:
  31363. parameters:
  31364. - description: 用户签到请求
  31365. in: body
  31366. name: jsonBody
  31367. required: true
  31368. schema:
  31369. $ref: '#/definitions/models.THJSigninReq'
  31370. produces:
  31371. - application/json
  31372. responses:
  31373. "200":
  31374. description: OK
  31375. schema:
  31376. $ref: '#/definitions/models.THJSigninRsp'
  31377. "500":
  31378. description: Internal Server Error
  31379. schema:
  31380. $ref: '#/definitions/app.Response'
  31381. security:
  31382. - ApiKeyAuth: []
  31383. summary: 用户签到
  31384. tags:
  31385. - 铁合金
  31386. /Guangzuan/GZBSFWOrderOperate:
  31387. get:
  31388. parameters:
  31389. - description: 单据ID
  31390. in: query
  31391. name: orderid
  31392. required: true
  31393. type: integer
  31394. produces:
  31395. - application/json
  31396. responses:
  31397. "200":
  31398. description: OK
  31399. schema:
  31400. items:
  31401. $ref: '#/definitions/models.Gzbsfworderoperate'
  31402. type: array
  31403. "500":
  31404. description: Internal Server Error
  31405. schema:
  31406. $ref: '#/definitions/app.Response'
  31407. security:
  31408. - ApiKeyAuth: []
  31409. - LoginID: []
  31410. - Group: []
  31411. summary: 保税服务单据操作信息
  31412. tags:
  31413. - 广钻
  31414. /Guangzuan/GetGoods:
  31415. get:
  31416. parameters:
  31417. - description: 商品编号
  31418. in: query
  31419. name: goodsno
  31420. required: true
  31421. type: string
  31422. produces:
  31423. - application/json
  31424. responses:
  31425. "200":
  31426. description: OK
  31427. schema:
  31428. $ref: '#/definitions/models.GZGoods'
  31429. "500":
  31430. description: Internal Server Error
  31431. schema:
  31432. $ref: '#/definitions/app.Response'
  31433. security:
  31434. - ApiKeyAuth: []
  31435. - LoginID: []
  31436. - Group: []
  31437. summary: 获取钻石详情
  31438. tags:
  31439. - 广钻
  31440. /Guangzuan/GzCertAddressConfig:
  31441. get:
  31442. produces:
  31443. - application/json
  31444. responses:
  31445. "200":
  31446. description: OK
  31447. schema:
  31448. items:
  31449. $ref: '#/definitions/models.Gzcertaddressconfig'
  31450. type: array
  31451. "500":
  31452. description: Internal Server Error
  31453. schema:
  31454. $ref: '#/definitions/app.Response'
  31455. security:
  31456. - ApiKeyAuth: []
  31457. - LoginID: []
  31458. - Group: []
  31459. summary: Rapaport最新报价表(广钻)
  31460. tags:
  31461. - 广钻
  31462. /Guangzuan/GzCertAddressParam:
  31463. get:
  31464. produces:
  31465. - application/json
  31466. responses:
  31467. "200":
  31468. description: OK
  31469. schema:
  31470. items:
  31471. $ref: '#/definitions/models.Gzcertaddressparam'
  31472. type: array
  31473. "500":
  31474. description: Internal Server Error
  31475. schema:
  31476. $ref: '#/definitions/app.Response'
  31477. security:
  31478. - ApiKeyAuth: []
  31479. - LoginID: []
  31480. - Group: []
  31481. summary: 钻石证书地址参数
  31482. tags:
  31483. - 广钻
  31484. /Guangzuan/HomeData:
  31485. get:
  31486. parameters:
  31487. - description: 用户ID
  31488. in: query
  31489. name: userid
  31490. required: true
  31491. type: integer
  31492. produces:
  31493. - application/json
  31494. responses:
  31495. "200":
  31496. description: OK
  31497. schema:
  31498. $ref: '#/definitions/models.GZHomeData'
  31499. "500":
  31500. description: Internal Server Error
  31501. schema:
  31502. $ref: '#/definitions/app.Response'
  31503. security:
  31504. - ApiKeyAuth: []
  31505. - LoginID: []
  31506. - Group: []
  31507. summary: 首页统计数据
  31508. tags:
  31509. - 广钻
  31510. /Guangzuan/PriceCalc:
  31511. get:
  31512. parameters:
  31513. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31514. in: query
  31515. name: zsshape
  31516. required: true
  31517. type: integer
  31518. - description: 颜色(D-M)
  31519. in: query
  31520. name: zscolor
  31521. required: true
  31522. type: string
  31523. - description: 净度
  31524. in: query
  31525. name: zsclarity
  31526. required: true
  31527. type: string
  31528. - description: 重量
  31529. in: query
  31530. name: weight
  31531. required: true
  31532. type: number
  31533. - description: 汇率
  31534. in: query
  31535. name: rate
  31536. required: true
  31537. type: number
  31538. - description: 折扣(%), 方向(加:10, 减:-10 )
  31539. in: query
  31540. name: discount
  31541. type: number
  31542. produces:
  31543. - application/json
  31544. responses:
  31545. "200":
  31546. description: OK
  31547. schema:
  31548. items:
  31549. $ref: '#/definitions/models.Gzrapaportprice'
  31550. type: array
  31551. "500":
  31552. description: Internal Server Error
  31553. schema:
  31554. $ref: '#/definitions/app.Response'
  31555. security:
  31556. - ApiKeyAuth: []
  31557. - LoginID: []
  31558. - Group: []
  31559. summary: 钻石价格计算器
  31560. tags:
  31561. - 广钻
  31562. /Guangzuan/QueryBuyOrder:
  31563. get:
  31564. parameters:
  31565. - description: 页码
  31566. in: query
  31567. name: page
  31568. type: integer
  31569. - description: 每页条数
  31570. in: query
  31571. name: pagesize
  31572. type: integer
  31573. - description: 商品(查询字段-模糊查询)
  31574. in: query
  31575. name: zsallproperties
  31576. type: string
  31577. - description: 钻石分类, 格式:1,2,3
  31578. in: query
  31579. name: zscategorys
  31580. type: string
  31581. - description: 委托单号
  31582. in: query
  31583. name: wrtradeorderid
  31584. type: integer
  31585. - description: 买方(查询字段-模糊查询)
  31586. in: query
  31587. name: buyusername
  31588. type: string
  31589. produces:
  31590. - application/json
  31591. responses:
  31592. "200":
  31593. description: OK
  31594. schema:
  31595. items:
  31596. $ref: '#/definitions/models.BuyOrder'
  31597. type: array
  31598. "500":
  31599. description: Internal Server Error
  31600. schema:
  31601. $ref: '#/definitions/app.Response'
  31602. security:
  31603. - ApiKeyAuth: []
  31604. - LoginID: []
  31605. - Group: []
  31606. summary: 查询求购大厅委托单
  31607. tags:
  31608. - 广钻
  31609. /Guangzuan/QueryDiamond:
  31610. post:
  31611. parameters:
  31612. - description: 钻石搜索入参
  31613. in: body
  31614. name: data
  31615. required: true
  31616. schema:
  31617. $ref: '#/definitions/models.SellOrderQueryReq'
  31618. produces:
  31619. - application/json
  31620. responses:
  31621. "200":
  31622. description: OK
  31623. schema:
  31624. items:
  31625. $ref: '#/definitions/models.SellOrder'
  31626. type: array
  31627. "500":
  31628. description: Internal Server Error
  31629. schema:
  31630. $ref: '#/definitions/app.Response'
  31631. security:
  31632. - ApiKeyAuth: []
  31633. - LoginID: []
  31634. - Group: []
  31635. summary: 钻石搜索
  31636. tags:
  31637. - 广钻
  31638. /Guangzuan/QueryFworderoperate:
  31639. get:
  31640. parameters:
  31641. - description: 单据ID
  31642. in: query
  31643. name: orderid
  31644. required: true
  31645. type: string
  31646. - description: 操作后单据状态
  31647. in: query
  31648. name: status
  31649. required: true
  31650. type: integer
  31651. produces:
  31652. - application/json
  31653. responses:
  31654. "200":
  31655. description: OK
  31656. schema:
  31657. items:
  31658. $ref: '#/definitions/models.Fworderoperate'
  31659. type: array
  31660. "500":
  31661. description: Internal Server Error
  31662. schema:
  31663. $ref: '#/definitions/app.Response'
  31664. security:
  31665. - ApiKeyAuth: []
  31666. - LoginID: []
  31667. - Group: []
  31668. summary: 查询保税服务单据操作
  31669. tags:
  31670. - 广钻
  31671. /Guangzuan/QueryGZBSFWOrder:
  31672. get:
  31673. parameters:
  31674. - description: 用户ID
  31675. in: query
  31676. name: userid
  31677. required: true
  31678. type: integer
  31679. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31680. in: query
  31681. name: executestatus
  31682. type: integer
  31683. - description: 页码
  31684. in: query
  31685. name: page
  31686. type: integer
  31687. - description: 每页条数
  31688. in: query
  31689. name: pagesize
  31690. type: integer
  31691. produces:
  31692. - application/json
  31693. responses:
  31694. "200":
  31695. description: OK
  31696. schema:
  31697. items:
  31698. $ref: '#/definitions/models.GzbsfworderM'
  31699. type: array
  31700. "500":
  31701. description: Internal Server Error
  31702. schema:
  31703. $ref: '#/definitions/app.Response'
  31704. security:
  31705. - ApiKeyAuth: []
  31706. - LoginID: []
  31707. - Group: []
  31708. summary: 查询保税服务单据
  31709. tags:
  31710. - 广钻
  31711. /Guangzuan/QueryGZBSFWOrderDetail:
  31712. get:
  31713. parameters:
  31714. - description: 用户ID
  31715. in: query
  31716. name: userid
  31717. required: true
  31718. type: integer
  31719. - description: 单据ID
  31720. in: query
  31721. name: orderid
  31722. type: integer
  31723. - description: 页码
  31724. in: query
  31725. name: page
  31726. type: integer
  31727. - description: 每页条数
  31728. in: query
  31729. name: pagesize
  31730. type: integer
  31731. produces:
  31732. - application/json
  31733. responses:
  31734. "200":
  31735. description: OK
  31736. schema:
  31737. items:
  31738. $ref: '#/definitions/models.GzbsfworderdetailM'
  31739. type: array
  31740. "500":
  31741. description: Internal Server Error
  31742. schema:
  31743. $ref: '#/definitions/app.Response'
  31744. security:
  31745. - ApiKeyAuth: []
  31746. - LoginID: []
  31747. - Group: []
  31748. summary: 查询保税服务单据明细
  31749. tags:
  31750. - 广钻
  31751. /Guangzuan/QueryGZCJBSOrderFile:
  31752. get:
  31753. parameters:
  31754. - description: 单据ID
  31755. in: query
  31756. name: orderid
  31757. required: true
  31758. type: integer
  31759. - description: 页码
  31760. in: query
  31761. name: page
  31762. type: integer
  31763. - description: 每页条数
  31764. in: query
  31765. name: pagesize
  31766. type: integer
  31767. produces:
  31768. - application/json
  31769. responses:
  31770. "200":
  31771. description: OK
  31772. schema:
  31773. items:
  31774. $ref: '#/definitions/models.GzcjbsorderfileM'
  31775. type: array
  31776. "500":
  31777. description: Internal Server Error
  31778. schema:
  31779. $ref: '#/definitions/app.Response'
  31780. security:
  31781. - ApiKeyAuth: []
  31782. - LoginID: []
  31783. - Group: []
  31784. summary: 出境保税单据文件
  31785. tags:
  31786. - 广钻
  31787. /Guangzuan/QueryGZCJJCOrder:
  31788. get:
  31789. parameters:
  31790. - description: 用户ID
  31791. in: query
  31792. name: userid
  31793. required: true
  31794. type: integer
  31795. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31796. in: query
  31797. name: executestatus
  31798. type: integer
  31799. - description: 页码
  31800. in: query
  31801. name: page
  31802. type: integer
  31803. - description: 每页条数
  31804. in: query
  31805. name: pagesize
  31806. type: integer
  31807. produces:
  31808. - application/json
  31809. responses:
  31810. "200":
  31811. description: OK
  31812. schema:
  31813. items:
  31814. $ref: '#/definitions/models.GzcjjcorderM'
  31815. type: array
  31816. "500":
  31817. description: Internal Server Error
  31818. schema:
  31819. $ref: '#/definitions/app.Response'
  31820. security:
  31821. - ApiKeyAuth: []
  31822. - LoginID: []
  31823. - Group: []
  31824. summary: 查询出境检测单据
  31825. tags:
  31826. - 广钻
  31827. /Guangzuan/QueryGZCJJCOrderDetail:
  31828. get:
  31829. parameters:
  31830. - description: 用户ID
  31831. in: query
  31832. name: userid
  31833. required: true
  31834. type: integer
  31835. - description: 单据ID
  31836. in: query
  31837. name: orderid
  31838. type: integer
  31839. - description: 页码
  31840. in: query
  31841. name: page
  31842. type: integer
  31843. - description: 每页条数
  31844. in: query
  31845. name: pagesize
  31846. type: integer
  31847. produces:
  31848. - application/json
  31849. responses:
  31850. "200":
  31851. description: OK
  31852. schema:
  31853. items:
  31854. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31855. type: array
  31856. "500":
  31857. description: Internal Server Error
  31858. schema:
  31859. $ref: '#/definitions/app.Response'
  31860. security:
  31861. - ApiKeyAuth: []
  31862. - LoginID: []
  31863. - Group: []
  31864. summary: 查询出境检测单据明细(批次信息)
  31865. tags:
  31866. - 广钻
  31867. /Guangzuan/QueryGzcjjcorderoperate:
  31868. get:
  31869. parameters:
  31870. - description: 单据ID
  31871. in: query
  31872. name: orderid
  31873. required: true
  31874. type: string
  31875. - description: 操作后单据状态
  31876. in: query
  31877. name: status
  31878. required: true
  31879. type: integer
  31880. produces:
  31881. - application/json
  31882. responses:
  31883. "200":
  31884. description: OK
  31885. schema:
  31886. items:
  31887. $ref: '#/definitions/models.Gzcjjcorderoperate'
  31888. type: array
  31889. "500":
  31890. description: Internal Server Error
  31891. schema:
  31892. $ref: '#/definitions/app.Response'
  31893. security:
  31894. - ApiKeyAuth: []
  31895. - LoginID: []
  31896. - Group: []
  31897. summary: 查询出境检测单据操作
  31898. tags:
  31899. - 广钻
  31900. /Guangzuan/QueryMemberReport:
  31901. get:
  31902. parameters:
  31903. - description: 用户ID
  31904. in: query
  31905. name: userid
  31906. required: true
  31907. type: integer
  31908. - description: 页码
  31909. in: query
  31910. name: page
  31911. type: integer
  31912. - description: 每页条数
  31913. in: query
  31914. name: pagesize
  31915. type: integer
  31916. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31917. in: query
  31918. name: cycletype
  31919. type: string
  31920. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31921. in: query
  31922. name: begindate
  31923. required: true
  31924. type: string
  31925. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31926. in: query
  31927. name: enddate
  31928. required: true
  31929. type: string
  31930. produces:
  31931. - application/json
  31932. responses:
  31933. "200":
  31934. description: OK
  31935. schema:
  31936. items:
  31937. $ref: '#/definitions/models.Reckondaytaaccount'
  31938. type: array
  31939. "500":
  31940. description: Internal Server Error
  31941. schema:
  31942. $ref: '#/definitions/app.Response'
  31943. security:
  31944. - ApiKeyAuth: []
  31945. - LoginID: []
  31946. - Group: []
  31947. summary: 查询会员报表
  31948. tags:
  31949. - 广钻
  31950. /Guangzuan/QueryMyBargainApply:
  31951. get:
  31952. parameters:
  31953. - description: 用户ID
  31954. in: query
  31955. name: userid
  31956. required: true
  31957. type: integer
  31958. - description: 页码
  31959. in: query
  31960. name: page
  31961. type: integer
  31962. - description: 每页条数
  31963. in: query
  31964. name: pagesize
  31965. type: integer
  31966. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  31967. in: query
  31968. name: applystatus
  31969. type: integer
  31970. - description: 查询类型 - 0:我的询价 1:我订单的询价
  31971. in: query
  31972. name: type
  31973. type: integer
  31974. - description: 关联委托单ID
  31975. in: query
  31976. name: wrtradeorderid
  31977. type: string
  31978. produces:
  31979. - application/json
  31980. responses:
  31981. "200":
  31982. description: OK
  31983. schema:
  31984. items:
  31985. $ref: '#/definitions/models.MyBargainApply'
  31986. type: array
  31987. "500":
  31988. description: Internal Server Error
  31989. schema:
  31990. $ref: '#/definitions/app.Response'
  31991. security:
  31992. - ApiKeyAuth: []
  31993. - LoginID: []
  31994. - Group: []
  31995. summary: 查询询价-求购
  31996. tags:
  31997. - 广钻
  31998. /Guangzuan/QueryMyBuyOrder:
  31999. get:
  32000. parameters:
  32001. - description: 用户ID
  32002. in: query
  32003. name: userid
  32004. required: true
  32005. type: integer
  32006. - description: 页码
  32007. in: query
  32008. name: page
  32009. type: integer
  32010. - description: 每页条数
  32011. in: query
  32012. name: pagesize
  32013. type: integer
  32014. - description: 商品(查询字段-模糊查询)
  32015. in: query
  32016. name: zsallproperties
  32017. type: string
  32018. - description: 钻石分类, 格式:1,2,3
  32019. in: query
  32020. name: zscategorys
  32021. type: string
  32022. - description: 委托单号
  32023. in: query
  32024. name: wrtradeorderid
  32025. type: integer
  32026. - description: 是否历史查询
  32027. in: query
  32028. name: ishis
  32029. type: boolean
  32030. - description: 开始交易日(yyyymmdd)
  32031. in: query
  32032. name: begindate
  32033. type: string
  32034. - description: 结束交易日(yyyymmdd)
  32035. in: query
  32036. name: enddate
  32037. type: string
  32038. produces:
  32039. - application/json
  32040. responses:
  32041. "200":
  32042. description: OK
  32043. schema:
  32044. items:
  32045. $ref: '#/definitions/models.MyBuyOrder'
  32046. type: array
  32047. "500":
  32048. description: Internal Server Error
  32049. schema:
  32050. $ref: '#/definitions/app.Response'
  32051. security:
  32052. - ApiKeyAuth: []
  32053. - LoginID: []
  32054. - Group: []
  32055. summary: 查询我的求购
  32056. tags:
  32057. - 广钻
  32058. /Guangzuan/QueryMyDeListing:
  32059. get:
  32060. parameters:
  32061. - description: 用户ID
  32062. in: query
  32063. name: userid
  32064. required: true
  32065. type: integer
  32066. - description: 页码
  32067. in: query
  32068. name: page
  32069. type: integer
  32070. - description: 每页条数
  32071. in: query
  32072. name: pagesize
  32073. type: integer
  32074. - description: 商品(查询字段-模糊查询)
  32075. in: query
  32076. name: zsallproperties
  32077. type: string
  32078. - description: 钻石分类, 格式:1,2,3
  32079. in: query
  32080. name: zscategorys
  32081. type: string
  32082. - description: 成交单号
  32083. in: query
  32084. name: wrtradedetailid
  32085. type: integer
  32086. - description: 方向,0-购买 1-出售
  32087. in: query
  32088. name: buyorsell
  32089. type: integer
  32090. - description: 对手方(模糊匹配)
  32091. in: query
  32092. name: matchusername
  32093. type: string
  32094. - description: 开始交易日(yyyymmdd)
  32095. in: query
  32096. name: begindate
  32097. type: string
  32098. - description: 结束交易日(yyyymmdd)
  32099. in: query
  32100. name: enddate
  32101. type: string
  32102. produces:
  32103. - application/json
  32104. responses:
  32105. "200":
  32106. description: OK
  32107. schema:
  32108. items:
  32109. $ref: '#/definitions/models.MyDeListing'
  32110. type: array
  32111. "500":
  32112. description: Internal Server Error
  32113. schema:
  32114. $ref: '#/definitions/app.Response'
  32115. security:
  32116. - ApiKeyAuth: []
  32117. - LoginID: []
  32118. - Group: []
  32119. summary: 查询我的摘牌
  32120. tags:
  32121. - 广钻
  32122. /Guangzuan/QueryMyDelistingApply:
  32123. get:
  32124. parameters:
  32125. - description: 用户ID
  32126. in: query
  32127. name: userid
  32128. required: true
  32129. type: integer
  32130. - description: 页码
  32131. in: query
  32132. name: page
  32133. type: integer
  32134. - description: 每页条数
  32135. in: query
  32136. name: pagesize
  32137. type: integer
  32138. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32139. in: query
  32140. name: applystatus
  32141. type: integer
  32142. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32143. in: query
  32144. name: type
  32145. type: integer
  32146. - description: 买委托单ID
  32147. in: query
  32148. name: buywrtradeorderid
  32149. type: string
  32150. produces:
  32151. - application/json
  32152. responses:
  32153. "200":
  32154. description: OK
  32155. schema:
  32156. items:
  32157. $ref: '#/definitions/models.MyDelistingApply'
  32158. type: array
  32159. "500":
  32160. description: Internal Server Error
  32161. schema:
  32162. $ref: '#/definitions/app.Response'
  32163. security:
  32164. - ApiKeyAuth: []
  32165. - LoginID: []
  32166. - Group: []
  32167. summary: 查询询价-出售
  32168. tags:
  32169. - 广钻
  32170. /Guangzuan/QueryMyFavorite:
  32171. get:
  32172. parameters:
  32173. - description: 用户ID
  32174. in: query
  32175. name: userid
  32176. required: true
  32177. type: integer
  32178. - description: 页码
  32179. in: query
  32180. name: page
  32181. type: integer
  32182. - description: 每页条数
  32183. in: query
  32184. name: pagesize
  32185. type: integer
  32186. - description: 钻石分类, 格式:1,2,3
  32187. in: query
  32188. name: zscategorys
  32189. type: string
  32190. produces:
  32191. - application/json
  32192. responses:
  32193. "200":
  32194. description: OK
  32195. schema:
  32196. items:
  32197. $ref: '#/definitions/models.MyFavorite'
  32198. type: array
  32199. "500":
  32200. description: Internal Server Error
  32201. schema:
  32202. $ref: '#/definitions/app.Response'
  32203. security:
  32204. - ApiKeyAuth: []
  32205. - LoginID: []
  32206. - Group: []
  32207. summary: 查询我的收藏
  32208. tags:
  32209. - 广钻
  32210. /Guangzuan/QueryMyPerformanc:
  32211. get:
  32212. parameters:
  32213. - description: 用户ID
  32214. in: query
  32215. name: userid
  32216. required: true
  32217. type: integer
  32218. - description: 页码
  32219. in: query
  32220. name: page
  32221. type: integer
  32222. - description: 每页条数
  32223. in: query
  32224. name: pagesize
  32225. type: integer
  32226. - description: 商品(查询字段-模糊查询)
  32227. in: query
  32228. name: zsallproperties
  32229. type: string
  32230. - description: 方向,0-买 1-卖
  32231. in: query
  32232. name: buyorsell
  32233. type: integer
  32234. - description: 是否历史查询
  32235. in: query
  32236. name: ishis
  32237. type: boolean
  32238. - description: 开始交易日(yyyymmdd)
  32239. in: query
  32240. name: begindate
  32241. type: string
  32242. - description: 结束交易日(yyyymmdd)
  32243. in: query
  32244. name: enddate
  32245. type: string
  32246. produces:
  32247. - application/json
  32248. responses:
  32249. "200":
  32250. description: OK
  32251. schema:
  32252. items:
  32253. $ref: '#/definitions/models.MyPerformanc'
  32254. type: array
  32255. "500":
  32256. description: Internal Server Error
  32257. schema:
  32258. $ref: '#/definitions/app.Response'
  32259. security:
  32260. - ApiKeyAuth: []
  32261. - LoginID: []
  32262. - Group: []
  32263. summary: 查询我的履约
  32264. tags:
  32265. - 广钻
  32266. /Guangzuan/QueryMySellOrder:
  32267. get:
  32268. parameters:
  32269. - description: 用户ID
  32270. in: query
  32271. name: userid
  32272. required: true
  32273. type: integer
  32274. - description: 页码
  32275. in: query
  32276. name: page
  32277. type: integer
  32278. - description: 每页条数
  32279. in: query
  32280. name: pagesize
  32281. type: integer
  32282. - description: 商品(查询字段-模糊查询)
  32283. in: query
  32284. name: zsallproperties
  32285. type: string
  32286. - description: 钻石分类, 格式:1,2,3
  32287. in: query
  32288. name: zscategorys
  32289. type: string
  32290. - description: 委托单号
  32291. in: query
  32292. name: wrtradeorderid
  32293. type: integer
  32294. - description: 是否历史查询
  32295. in: query
  32296. name: ishis
  32297. type: boolean
  32298. - description: 开始交易日(yyyymmdd)
  32299. in: query
  32300. name: begindate
  32301. type: string
  32302. - description: 结束交易日(yyyymmdd)
  32303. in: query
  32304. name: enddate
  32305. type: string
  32306. produces:
  32307. - application/json
  32308. responses:
  32309. "200":
  32310. description: OK
  32311. schema:
  32312. items:
  32313. $ref: '#/definitions/models.MySellOrder'
  32314. type: array
  32315. "500":
  32316. description: Internal Server Error
  32317. schema:
  32318. $ref: '#/definitions/app.Response'
  32319. security:
  32320. - ApiKeyAuth: []
  32321. - LoginID: []
  32322. - Group: []
  32323. summary: 查询我的出售
  32324. tags:
  32325. - 广钻
  32326. /Guangzuan/QueryMyWRPosition:
  32327. get:
  32328. parameters:
  32329. - description: 页码
  32330. in: query
  32331. name: page
  32332. type: integer
  32333. - description: 每页条数
  32334. in: query
  32335. name: pagesize
  32336. type: integer
  32337. - description: 登录用户ID
  32338. in: query
  32339. name: wruserid
  32340. required: true
  32341. type: integer
  32342. - description: 商品(查询字段-模糊查询)
  32343. in: query
  32344. name: zsallproperties
  32345. type: string
  32346. - description: 钻石分类, 格式:1,2,3
  32347. in: query
  32348. name: zscategorys
  32349. type: string
  32350. - description: 仓库ID
  32351. in: query
  32352. name: warehouseid
  32353. type: integer
  32354. - description: 是否上架,0-全部 1-是 2-否
  32355. in: query
  32356. name: marketflag
  32357. type: integer
  32358. produces:
  32359. - application/json
  32360. responses:
  32361. "200":
  32362. description: OK
  32363. schema:
  32364. items:
  32365. $ref: '#/definitions/models.MyWRPosition'
  32366. type: array
  32367. "500":
  32368. description: Internal Server Error
  32369. schema:
  32370. $ref: '#/definitions/app.Response'
  32371. security:
  32372. - ApiKeyAuth: []
  32373. - LoginID: []
  32374. - Group: []
  32375. summary: 查询我的库存
  32376. tags:
  32377. - 广钻
  32378. /Guangzuan/QuerySellOrder:
  32379. get:
  32380. parameters:
  32381. - description: 页码
  32382. in: query
  32383. name: page
  32384. type: integer
  32385. - description: 每页条数
  32386. in: query
  32387. name: pagesize
  32388. type: integer
  32389. - description: 商品(查询字段-模糊查询)
  32390. in: query
  32391. name: zsallproperties
  32392. type: string
  32393. - description: 钻石分类, 格式:1,2,3
  32394. in: query
  32395. name: zscategorys
  32396. type: string
  32397. - description: 委托单号
  32398. in: query
  32399. name: wrtradeorderid
  32400. type: integer
  32401. - description: 卖方(查询字段-模糊查询)
  32402. in: query
  32403. name: buyusername
  32404. type: string
  32405. produces:
  32406. - application/json
  32407. responses:
  32408. "200":
  32409. description: OK
  32410. schema:
  32411. items:
  32412. $ref: '#/definitions/models.SellOrder'
  32413. type: array
  32414. "500":
  32415. description: Internal Server Error
  32416. schema:
  32417. $ref: '#/definitions/app.Response'
  32418. security:
  32419. - ApiKeyAuth: []
  32420. - LoginID: []
  32421. - Group: []
  32422. summary: 查询出售大厅委托单
  32423. tags:
  32424. - 广钻
  32425. /Guangzuan/QueryTradeReport:
  32426. get:
  32427. parameters:
  32428. - description: 用户ID
  32429. in: query
  32430. name: userid
  32431. required: true
  32432. type: integer
  32433. - description: 页码
  32434. in: query
  32435. name: page
  32436. type: integer
  32437. - description: 每页条数
  32438. in: query
  32439. name: pagesize
  32440. type: integer
  32441. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32442. in: query
  32443. name: cycletype
  32444. type: string
  32445. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32446. in: query
  32447. name: begindate
  32448. required: true
  32449. type: string
  32450. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32451. in: query
  32452. name: enddate
  32453. required: true
  32454. type: string
  32455. - description: 商品分类
  32456. in: query
  32457. name: zscategory
  32458. type: integer
  32459. - description: 商品币种
  32460. in: query
  32461. name: zscurrencytype
  32462. type: integer
  32463. produces:
  32464. - application/json
  32465. responses:
  32466. "200":
  32467. description: OK
  32468. schema:
  32469. items:
  32470. $ref: '#/definitions/models.Reckongzmemtradesum'
  32471. type: array
  32472. "500":
  32473. description: Internal Server Error
  32474. schema:
  32475. $ref: '#/definitions/app.Response'
  32476. security:
  32477. - ApiKeyAuth: []
  32478. - LoginID: []
  32479. - Group: []
  32480. summary: 查询交易报表
  32481. tags:
  32482. - 广钻
  32483. /Guangzuan/QueryWRPositionReport:
  32484. get:
  32485. parameters:
  32486. - description: 用户ID
  32487. in: query
  32488. name: userid
  32489. required: true
  32490. type: integer
  32491. - description: 页码
  32492. in: query
  32493. name: page
  32494. type: integer
  32495. - description: 每页条数
  32496. in: query
  32497. name: pagesize
  32498. type: integer
  32499. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32500. in: query
  32501. name: cycletype
  32502. type: string
  32503. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32504. in: query
  32505. name: begindate
  32506. required: true
  32507. type: string
  32508. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32509. in: query
  32510. name: enddate
  32511. required: true
  32512. type: string
  32513. - description: 商品分类
  32514. in: query
  32515. name: zscategory
  32516. type: integer
  32517. - description: 商品币种
  32518. in: query
  32519. name: zscurrencytype
  32520. type: integer
  32521. produces:
  32522. - application/json
  32523. responses:
  32524. "200":
  32525. description: OK
  32526. schema:
  32527. items:
  32528. $ref: '#/definitions/models.WRPositionReport'
  32529. type: array
  32530. "500":
  32531. description: Internal Server Error
  32532. schema:
  32533. $ref: '#/definitions/app.Response'
  32534. security:
  32535. - ApiKeyAuth: []
  32536. - LoginID: []
  32537. - Group: []
  32538. summary: 查询仓储报表
  32539. tags:
  32540. - 广钻
  32541. /Guangzuan/QueryWarehouseInfo:
  32542. get:
  32543. parameters:
  32544. - description: 页码
  32545. in: query
  32546. name: page
  32547. type: integer
  32548. - description: 每页条数
  32549. in: query
  32550. name: pagesize
  32551. type: integer
  32552. - description: 用户ID
  32553. in: query
  32554. name: userid
  32555. required: true
  32556. type: integer
  32557. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32558. in: query
  32559. name: status
  32560. type: string
  32561. - description: 是返回交易所仓库
  32562. in: query
  32563. name: isincludeexchange
  32564. type: boolean
  32565. produces:
  32566. - application/json
  32567. responses:
  32568. "200":
  32569. description: OK
  32570. schema:
  32571. items:
  32572. $ref: '#/definitions/models.GZWarehouseinfo'
  32573. type: array
  32574. "500":
  32575. description: Internal Server Error
  32576. schema:
  32577. $ref: '#/definitions/app.Response'
  32578. security:
  32579. - ApiKeyAuth: []
  32580. - LoginID: []
  32581. - Group: []
  32582. summary: 查询仓库信息
  32583. tags:
  32584. - 广钻
  32585. /HSBY/GetHsbyMyCount:
  32586. get:
  32587. description: 说明: 不包括已完成的数量。
  32588. parameters:
  32589. - description: 资金账户列表,格式:1,2,3
  32590. in: query
  32591. name: accountIDs
  32592. required: true
  32593. type: string
  32594. produces:
  32595. - application/json
  32596. responses:
  32597. "200":
  32598. description: OK
  32599. schema:
  32600. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32601. "500":
  32602. description: Internal Server Error
  32603. schema:
  32604. $ref: '#/definitions/app.Response'
  32605. security:
  32606. - ApiKeyAuth: []
  32607. summary: 获取我的订单与包裹数量
  32608. tags:
  32609. - 定制【海商报业】
  32610. /HSBY/QueryClientFixedADConfigs:
  32611. get:
  32612. produces:
  32613. - application/json
  32614. responses:
  32615. "200":
  32616. description: OK
  32617. schema:
  32618. $ref: '#/definitions/models.Clientfixedadconfig'
  32619. "500":
  32620. description: Internal Server Error
  32621. schema:
  32622. $ref: '#/definitions/app.Response'
  32623. security:
  32624. - ApiKeyAuth: []
  32625. summary: 获取终端固定广告配置
  32626. tags:
  32627. - 定制【海商报业】
  32628. /HSBY/QueryHsbyBuyMyTradeDetail:
  32629. get:
  32630. parameters:
  32631. - description: 页码
  32632. in: query
  32633. name: page
  32634. type: integer
  32635. - description: 每页条数
  32636. in: query
  32637. name: pagesize
  32638. type: integer
  32639. - description: 资金账户列表,格式:1,2,3
  32640. in: query
  32641. name: accountIDs
  32642. required: true
  32643. type: string
  32644. produces:
  32645. - application/json
  32646. responses:
  32647. "200":
  32648. description: OK
  32649. schema:
  32650. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32651. "500":
  32652. description: Internal Server Error
  32653. schema:
  32654. $ref: '#/definitions/app.Response'
  32655. security:
  32656. - ApiKeyAuth: []
  32657. summary: 查询"我的订单 - 已完成"单据信息
  32658. tags:
  32659. - 定制【海商报业】
  32660. /HSBY/QueryHsbyGoodsOrderDetails:
  32661. get:
  32662. description: 说明:查询结果已按委托价格和委托时间排序
  32663. parameters:
  32664. - description: 商品ID
  32665. in: query
  32666. name: goodsID
  32667. required: true
  32668. type: integer
  32669. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32670. in: query
  32671. name: accountIDs
  32672. type: string
  32673. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32674. in: query
  32675. name: buyOrSell
  32676. type: integer
  32677. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32678. in: query
  32679. name: price
  32680. type: number
  32681. - description: 档位,不传则默认为3档
  32682. in: query
  32683. name: speed
  32684. type: integer
  32685. produces:
  32686. - application/json
  32687. responses:
  32688. "200":
  32689. description: OK
  32690. schema:
  32691. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32692. "500":
  32693. description: Internal Server Error
  32694. schema:
  32695. $ref: '#/definitions/app.Response'
  32696. security:
  32697. - ApiKeyAuth: []
  32698. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32699. tags:
  32700. - 定制【海商报业】
  32701. /HSBY/QueryHsbyListingGoodsDetail:
  32702. get:
  32703. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32704. parameters:
  32705. - description: 商品ID
  32706. in: query
  32707. name: goodsID
  32708. required: true
  32709. type: integer
  32710. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32711. in: query
  32712. name: accountID
  32713. type: integer
  32714. produces:
  32715. - application/json
  32716. responses:
  32717. "200":
  32718. description: OK
  32719. schema:
  32720. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32721. "500":
  32722. description: Internal Server Error
  32723. schema:
  32724. $ref: '#/definitions/app.Response'
  32725. security:
  32726. - ApiKeyAuth: []
  32727. summary: 查询二级市场(挂牌点选)商品信息详情
  32728. tags:
  32729. - 定制【海商报业】
  32730. /HSBY/QueryHsbyMarketGoodsDetail:
  32731. get:
  32732. parameters:
  32733. - description: 委托单号
  32734. in: query
  32735. name: orderID
  32736. required: true
  32737. type: integer
  32738. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32739. in: query
  32740. name: accountID
  32741. type: integer
  32742. produces:
  32743. - application/json
  32744. responses:
  32745. "200":
  32746. description: OK
  32747. schema:
  32748. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32749. "500":
  32750. description: Internal Server Error
  32751. schema:
  32752. $ref: '#/definitions/app.Response'
  32753. security:
  32754. - ApiKeyAuth: []
  32755. summary: 查询三级市场(商城)商品信息详情
  32756. tags:
  32757. - 定制【海商报业】
  32758. /HSBY/QueryHsbyMarketGoodses:
  32759. get:
  32760. parameters:
  32761. - description: 页码
  32762. in: query
  32763. name: page
  32764. type: integer
  32765. - description: 每页条数
  32766. in: query
  32767. name: pagesize
  32768. type: integer
  32769. - description: 市场ID列表,格式:1,2,3
  32770. in: query
  32771. name: marketIDs
  32772. required: true
  32773. type: string
  32774. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32775. in: query
  32776. name: accountID
  32777. required: true
  32778. type: integer
  32779. - description: 类别ID
  32780. in: query
  32781. name: categoryID
  32782. type: integer
  32783. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32784. in: query
  32785. name: goodsIDs
  32786. type: string
  32787. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32788. in: query
  32789. name: couponTypeID
  32790. type: integer
  32791. produces:
  32792. - application/json
  32793. responses:
  32794. "200":
  32795. description: OK
  32796. schema:
  32797. $ref: '#/definitions/models.HsbyMarketGoods'
  32798. "500":
  32799. description: Internal Server Error
  32800. schema:
  32801. $ref: '#/definitions/app.Response'
  32802. security:
  32803. - ApiKeyAuth: []
  32804. summary: 查询特卖商品列表(三级商城)
  32805. tags:
  32806. - 定制【海商报业】
  32807. /HSBY/QueryHsbyMarkets:
  32808. get:
  32809. produces:
  32810. - application/json
  32811. responses:
  32812. "200":
  32813. description: OK
  32814. schema:
  32815. $ref: '#/definitions/models.HsbyMarketInfo'
  32816. "500":
  32817. description: Internal Server Error
  32818. schema:
  32819. $ref: '#/definitions/app.Response'
  32820. security:
  32821. - ApiKeyAuth: []
  32822. summary: 查询海商报业相关市场信息
  32823. tags:
  32824. - 定制【海商报业】
  32825. /HSBY/QueryHsbyMyBuyOrderDetails:
  32826. get:
  32827. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32828. parameters:
  32829. - description: 资金账户列表,格式:1,2,3
  32830. in: query
  32831. name: accountIDs
  32832. required: true
  32833. type: string
  32834. produces:
  32835. - application/json
  32836. responses:
  32837. "200":
  32838. description: OK
  32839. schema:
  32840. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32841. "500":
  32842. description: Internal Server Error
  32843. schema:
  32844. $ref: '#/definitions/app.Response'
  32845. security:
  32846. - ApiKeyAuth: []
  32847. summary: 查询“我的订单”信息
  32848. tags:
  32849. - 定制【海商报业】
  32850. /HSBY/QueryHsbyMyGoods:
  32851. get:
  32852. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32853. parameters:
  32854. - description: 资金账户列表,格式:1,2,3
  32855. in: query
  32856. name: accountIDs
  32857. required: true
  32858. type: string
  32859. produces:
  32860. - application/json
  32861. responses:
  32862. "200":
  32863. description: OK
  32864. schema:
  32865. $ref: '#/definitions/models.HsbyMyGoods'
  32866. "500":
  32867. description: Internal Server Error
  32868. schema:
  32869. $ref: '#/definitions/app.Response'
  32870. security:
  32871. - ApiKeyAuth: []
  32872. summary: 查询“我的商品”信息
  32873. tags:
  32874. - 定制【海商报业】
  32875. /HSBY/QueryHsbyMyPackages:
  32876. get:
  32877. parameters:
  32878. - description: 资金账户列表,格式:1,2,3
  32879. in: query
  32880. name: accountIDs
  32881. required: true
  32882. type: string
  32883. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32884. in: query
  32885. name: takeOrderStatus
  32886. type: integer
  32887. produces:
  32888. - application/json
  32889. responses:
  32890. "200":
  32891. description: OK
  32892. schema:
  32893. $ref: '#/definitions/models.HsbyMyPackage'
  32894. "500":
  32895. description: Internal Server Error
  32896. schema:
  32897. $ref: '#/definitions/app.Response'
  32898. security:
  32899. - ApiKeyAuth: []
  32900. summary: 查询我的包裹信息
  32901. tags:
  32902. - 定制【海商报业】
  32903. /HSBY/QueryHsbyPreGoodsDetail:
  32904. get:
  32905. parameters:
  32906. - description: 商品ID
  32907. in: query
  32908. name: goodsID
  32909. required: true
  32910. type: integer
  32911. - description: 资金账户,主要用于获取预售商品购买上限
  32912. in: query
  32913. name: accountID
  32914. type: integer
  32915. produces:
  32916. - application/json
  32917. responses:
  32918. "200":
  32919. description: OK
  32920. schema:
  32921. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32922. "500":
  32923. description: Internal Server Error
  32924. schema:
  32925. $ref: '#/definitions/app.Response'
  32926. security:
  32927. - ApiKeyAuth: []
  32928. summary: 查询一级市场(预售)商品信息详情
  32929. tags:
  32930. - 定制【海商报业】
  32931. /HSBY/QueryHsbyPreGoodses:
  32932. get:
  32933. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32934. parameters:
  32935. - description: 页码
  32936. in: query
  32937. name: page
  32938. type: integer
  32939. - description: 每页条数
  32940. in: query
  32941. name: pagesize
  32942. type: integer
  32943. - description: 市场ID列表,格式:1,2,3
  32944. in: query
  32945. name: marketIDs
  32946. required: true
  32947. type: string
  32948. - description: 目的地(省)ID
  32949. in: query
  32950. name: descProvinceID
  32951. type: integer
  32952. - description: 目的地(市)ID
  32953. in: query
  32954. name: descCityID
  32955. type: integer
  32956. produces:
  32957. - application/json
  32958. responses:
  32959. "200":
  32960. description: OK
  32961. schema:
  32962. $ref: '#/definitions/models.HsbyPreGoods'
  32963. "500":
  32964. description: Internal Server Error
  32965. schema:
  32966. $ref: '#/definitions/app.Response'
  32967. security:
  32968. - ApiKeyAuth: []
  32969. summary: 查询新品上市商品列表(一级市场预售)
  32970. tags:
  32971. - 定制【海商报业】
  32972. /HSBY/QueryHsbySellMyDetails:
  32973. get:
  32974. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  32975. parameters:
  32976. - description: 页码
  32977. in: query
  32978. name: page
  32979. type: integer
  32980. - description: 每页条数
  32981. in: query
  32982. name: pagesize
  32983. type: integer
  32984. - description: 资金账户列表,格式:1,2,3
  32985. in: query
  32986. name: accountIDs
  32987. required: true
  32988. type: string
  32989. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  32990. in: query
  32991. name: orderType
  32992. type: integer
  32993. produces:
  32994. - application/json
  32995. responses:
  32996. "200":
  32997. description: OK
  32998. schema:
  32999. $ref: '#/definitions/models.HsbySellMyDetail'
  33000. "500":
  33001. description: Internal Server Error
  33002. schema:
  33003. $ref: '#/definitions/app.Response'
  33004. security:
  33005. - ApiKeyAuth: []
  33006. summary: 查询"我的闲置"单据信息
  33007. tags:
  33008. - 定制【海商报业】
  33009. /HSBY/QueryHsbyTopGoodses:
  33010. get:
  33011. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  33012. parameters:
  33013. - description: 页码
  33014. in: query
  33015. name: page
  33016. type: integer
  33017. - description: 每页条数
  33018. in: query
  33019. name: pagesize
  33020. type: integer
  33021. - description: 市场ID列表,格式:1,2,3
  33022. in: query
  33023. name: marketIDs
  33024. required: true
  33025. type: string
  33026. - description: 目的地(省)ID
  33027. in: query
  33028. name: descProvinceID
  33029. type: integer
  33030. - description: 目的地(市)ID
  33031. in: query
  33032. name: descCityID
  33033. type: integer
  33034. produces:
  33035. - application/json
  33036. responses:
  33037. "200":
  33038. description: OK
  33039. schema:
  33040. $ref: '#/definitions/models.HsbyTopGoods'
  33041. "500":
  33042. description: Internal Server Error
  33043. schema:
  33044. $ref: '#/definitions/app.Response'
  33045. security:
  33046. - ApiKeyAuth: []
  33047. summary: 查询热卖商品列表(二级市场挂牌点选)
  33048. tags:
  33049. - 定制【海商报业】
  33050. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33051. get:
  33052. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33053. parameters:
  33054. - description: 商品ID
  33055. in: query
  33056. name: goodsID
  33057. required: true
  33058. type: integer
  33059. produces:
  33060. - application/json
  33061. responses:
  33062. "200":
  33063. description: OK
  33064. schema:
  33065. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33066. "500":
  33067. description: Internal Server Error
  33068. schema:
  33069. $ref: '#/definitions/app.Response'
  33070. security:
  33071. - ApiKeyAuth: []
  33072. summary: 查询游客三级市场(商城)商品信息详情
  33073. tags:
  33074. - 定制【海商报业】
  33075. /HSBY/QueryHsbyVisitorMarketGoodses:
  33076. get:
  33077. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33078. parameters:
  33079. - description: 页码
  33080. in: query
  33081. name: page
  33082. type: integer
  33083. - description: 每页条数
  33084. in: query
  33085. name: pagesize
  33086. type: integer
  33087. - description: 市场ID列表,格式:1,2,3
  33088. in: query
  33089. name: marketIDs
  33090. required: true
  33091. type: string
  33092. - description: 类别ID
  33093. in: query
  33094. name: categoryID
  33095. type: integer
  33096. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33097. in: query
  33098. name: goodsIDs
  33099. type: string
  33100. produces:
  33101. - application/json
  33102. responses:
  33103. "200":
  33104. description: OK
  33105. schema:
  33106. $ref: '#/definitions/models.HsbyMarketGoods'
  33107. "500":
  33108. description: Internal Server Error
  33109. schema:
  33110. $ref: '#/definitions/app.Response'
  33111. security:
  33112. - ApiKeyAuth: []
  33113. summary: 查询游客特卖商品列表(三级商城)
  33114. tags:
  33115. - 定制【海商报业】
  33116. /HSBY/QueryMyCollectionOrders:
  33117. get:
  33118. parameters:
  33119. - description: 页码
  33120. in: query
  33121. name: page
  33122. type: integer
  33123. - description: 每页条数
  33124. in: query
  33125. name: pagesize
  33126. type: integer
  33127. - description: 资金账户,格式:1,2,3
  33128. in: query
  33129. name: accountIDs
  33130. required: true
  33131. type: string
  33132. produces:
  33133. - application/json
  33134. responses:
  33135. "200":
  33136. description: OK
  33137. schema:
  33138. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33139. "500":
  33140. description: Internal Server Error
  33141. schema:
  33142. $ref: '#/definitions/app.Response'
  33143. security:
  33144. - ApiKeyAuth: []
  33145. summary: 我的闲置中收款信息查询
  33146. tags:
  33147. - 定制【海商报业】
  33148. /HSBY/QueryMyCouponHolds:
  33149. get:
  33150. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33151. parameters:
  33152. - description: 资金账户列表,格式:1,2,3
  33153. in: query
  33154. name: accountIDs
  33155. required: true
  33156. type: string
  33157. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33158. in: query
  33159. name: holdStatus
  33160. type: string
  33161. produces:
  33162. - application/json
  33163. responses:
  33164. "200":
  33165. description: OK
  33166. schema:
  33167. $ref: '#/definitions/models.MyCouponHold'
  33168. "500":
  33169. description: Internal Server Error
  33170. schema:
  33171. $ref: '#/definitions/app.Response'
  33172. security:
  33173. - ApiKeyAuth: []
  33174. summary: 我的优惠卷持仓查询
  33175. tags:
  33176. - 定制【海商报业】
  33177. /HSBY/QueryMyCoupons:
  33178. get:
  33179. parameters:
  33180. - description: 资金账户列表,格式:1,2,3
  33181. in: query
  33182. name: accountIDs
  33183. required: true
  33184. type: string
  33185. - description: 商品ID, 一般与sellUserID配套传入
  33186. in: query
  33187. name: goodsID
  33188. type: integer
  33189. - description: 卖方UserID
  33190. in: query
  33191. name: sellUserID
  33192. type: integer
  33193. produces:
  33194. - application/json
  33195. responses:
  33196. "200":
  33197. description: OK
  33198. schema:
  33199. $ref: '#/definitions/models.MyCoupon'
  33200. "500":
  33201. description: Internal Server Error
  33202. schema:
  33203. $ref: '#/definitions/app.Response'
  33204. security:
  33205. - ApiKeyAuth: []
  33206. summary: 我的优惠卷查询
  33207. tags:
  33208. - 定制【海商报业】
  33209. /HSBY/QueryMyPayOrders:
  33210. get:
  33211. parameters:
  33212. - description: 页码
  33213. in: query
  33214. name: page
  33215. type: integer
  33216. - description: 每页条数
  33217. in: query
  33218. name: pagesize
  33219. type: integer
  33220. - description: 资金账户列表,格式:1,2,3
  33221. in: query
  33222. name: accountIDs
  33223. required: true
  33224. type: string
  33225. - description: 买方委托单号
  33226. in: query
  33227. name: buyOrderID
  33228. type: integer
  33229. - description: 卖方委托单号
  33230. in: query
  33231. name: sellOrderID
  33232. type: integer
  33233. produces:
  33234. - application/json
  33235. responses:
  33236. "200":
  33237. description: OK
  33238. schema:
  33239. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33240. "500":
  33241. description: Internal Server Error
  33242. schema:
  33243. $ref: '#/definitions/app.Response'
  33244. security:
  33245. - ApiKeyAuth: []
  33246. summary: 获取我的订单中待付款信息
  33247. tags:
  33248. - 定制【海商报业】
  33249. /HSBY/QueryMyUsedCoupon:
  33250. get:
  33251. parameters:
  33252. - description: 资金账户列表,格式:1,2,3
  33253. in: query
  33254. name: accountIDs
  33255. required: true
  33256. type: string
  33257. produces:
  33258. - application/json
  33259. responses:
  33260. "200":
  33261. description: OK
  33262. schema:
  33263. $ref: '#/definitions/models.MyUsedCoupon'
  33264. "500":
  33265. description: Internal Server Error
  33266. schema:
  33267. $ref: '#/definitions/app.Response'
  33268. security:
  33269. - ApiKeyAuth: []
  33270. summary: 已使用优惠卷查询
  33271. tags:
  33272. - 定制【海商报业】
  33273. /HSBY/QueryProvincesAndCities:
  33274. get:
  33275. description: 查询结果只包括二级市场商品已关连的省市信息。
  33276. parameters:
  33277. - description: 省ID
  33278. in: query
  33279. name: provinceID
  33280. type: integer
  33281. produces:
  33282. - application/json
  33283. responses:
  33284. "200":
  33285. description: OK
  33286. schema:
  33287. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33288. "500":
  33289. description: Internal Server Error
  33290. schema:
  33291. $ref: '#/definitions/app.Response'
  33292. security:
  33293. - ApiKeyAuth: []
  33294. summary: 查询省市信息(不包括区)
  33295. tags:
  33296. - 定制【海商报业】
  33297. /HSBY/SetHsbyMyPackagesStatus:
  33298. post:
  33299. parameters:
  33300. - description: 提货单号
  33301. in: query
  33302. name: takeOrderID
  33303. required: true
  33304. type: string
  33305. - description: 资金账号
  33306. in: query
  33307. name: accountID
  33308. required: true
  33309. type: integer
  33310. produces:
  33311. - application/json
  33312. responses:
  33313. "200":
  33314. description: OK
  33315. schema:
  33316. $ref: '#/definitions/app.Response'
  33317. "500":
  33318. description: Internal Server Error
  33319. schema:
  33320. $ref: '#/definitions/app.Response'
  33321. security:
  33322. - ApiKeyAuth: []
  33323. summary: 设置我的包裹已收货状态
  33324. tags:
  33325. - 定制【海商报业】
  33326. /Market/GetAllExExchanges:
  33327. get:
  33328. produces:
  33329. - application/json
  33330. responses:
  33331. "200":
  33332. description: OK
  33333. schema:
  33334. $ref: '#/definitions/models.Goods'
  33335. "500":
  33336. description: Internal Server Error
  33337. schema:
  33338. $ref: '#/definitions/app.Response'
  33339. security:
  33340. - ApiKeyAuth: []
  33341. summary: 获取所有外部交易所信息
  33342. tags:
  33343. - 通用市场
  33344. /Market/QueryGoodsesByLoginID:
  33345. get:
  33346. parameters:
  33347. - description: 登录账号
  33348. in: query
  33349. name: loginID
  33350. required: true
  33351. type: integer
  33352. - description: 市场ID列表,格式:1,2,3
  33353. in: query
  33354. name: marketIDs
  33355. type: string
  33356. produces:
  33357. - application/json
  33358. responses:
  33359. "200":
  33360. description: OK
  33361. schema:
  33362. $ref: '#/definitions/models.Goods'
  33363. "500":
  33364. description: Internal Server Error
  33365. schema:
  33366. $ref: '#/definitions/app.Response'
  33367. security:
  33368. - ApiKeyAuth: []
  33369. summary: 获取登录账号有权限的商品信息
  33370. tags:
  33371. - 通用市场
  33372. /Market/QueryMarketRun:
  33373. get:
  33374. parameters:
  33375. - description: 市场ID,不传返回所有
  33376. in: query
  33377. name: marketID
  33378. type: integer
  33379. produces:
  33380. - application/json
  33381. responses:
  33382. "200":
  33383. description: OK
  33384. schema:
  33385. $ref: '#/definitions/models.Marketrun'
  33386. "500":
  33387. description: Internal Server Error
  33388. schema:
  33389. $ref: '#/definitions/app.Response'
  33390. security:
  33391. - ApiKeyAuth: []
  33392. summary: 查询市场运行信息
  33393. tags:
  33394. - 通用市场
  33395. /Market/QueryMarketsByLoginID:
  33396. get:
  33397. parameters:
  33398. - description: 登录账号
  33399. in: query
  33400. name: loginID
  33401. required: true
  33402. type: integer
  33403. produces:
  33404. - application/json
  33405. responses:
  33406. "200":
  33407. description: OK
  33408. schema:
  33409. $ref: '#/definitions/models.Market'
  33410. "500":
  33411. description: Internal Server Error
  33412. schema:
  33413. $ref: '#/definitions/app.Response'
  33414. security:
  33415. - ApiKeyAuth: []
  33416. summary: 获取登录账号有权限的市场信息
  33417. tags:
  33418. - 通用市场
  33419. /Order/QueryHisTradeDetail:
  33420. get:
  33421. parameters:
  33422. - description: 资金账户 - 格式:1,2,3
  33423. in: query
  33424. name: accountID
  33425. required: true
  33426. type: string
  33427. - description: 成交单号
  33428. in: query
  33429. name: tradeID
  33430. type: integer
  33431. - description: 委托单号
  33432. in: query
  33433. name: orderID
  33434. type: integer
  33435. - description: 商品ID
  33436. in: query
  33437. name: goodsID
  33438. type: integer
  33439. - description: 交易模式 - 格式:1,2,3
  33440. in: query
  33441. name: tradeMode
  33442. type: string
  33443. - description: 委托单据类型
  33444. in: query
  33445. name: buildType
  33446. type: integer
  33447. - description: 成交类别 - 格式:1,2,3
  33448. in: query
  33449. name: tradeType
  33450. type: string
  33451. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33452. in: query
  33453. name: startDate
  33454. type: string
  33455. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33456. in: query
  33457. name: endDate
  33458. type: string
  33459. produces:
  33460. - application/json
  33461. responses:
  33462. "200":
  33463. description: OK
  33464. schema:
  33465. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33466. "500":
  33467. description: Internal Server Error
  33468. schema:
  33469. $ref: '#/definitions/app.Response'
  33470. security:
  33471. - ApiKeyAuth: []
  33472. summary: 历史成交单查询(合约市场)
  33473. tags:
  33474. - 通用单据
  33475. /Order/QueryHisTradeOrderDetail:
  33476. get:
  33477. parameters:
  33478. - description: 资金账户 - 格式:1,2,3
  33479. in: query
  33480. name: accountID
  33481. required: true
  33482. type: string
  33483. - description: 交易模式 - 格式:1,2,3
  33484. in: query
  33485. name: tradeMode
  33486. type: string
  33487. - description: 委托状态 - 格式:1,2,3
  33488. in: query
  33489. name: orderStatus
  33490. type: string
  33491. - description: 委托单号
  33492. in: query
  33493. name: orderID
  33494. type: integer
  33495. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33496. in: query
  33497. name: startDate
  33498. type: string
  33499. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33500. in: query
  33501. name: endDate
  33502. type: string
  33503. produces:
  33504. - application/json
  33505. responses:
  33506. "200":
  33507. description: OK
  33508. schema:
  33509. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33510. "500":
  33511. description: Internal Server Error
  33512. schema:
  33513. $ref: '#/definitions/app.Response'
  33514. security:
  33515. - ApiKeyAuth: []
  33516. summary: 历史委托单查询请求(合约市场)
  33517. tags:
  33518. - 通用单据
  33519. /Order/QueryTradeDetail:
  33520. get:
  33521. parameters:
  33522. - description: 资金账户 - 格式:1,2,3
  33523. in: query
  33524. name: accountID
  33525. required: true
  33526. type: string
  33527. - description: 成交单号
  33528. in: query
  33529. name: tradeID
  33530. type: integer
  33531. - description: 委托单号
  33532. in: query
  33533. name: orderID
  33534. type: integer
  33535. - description: 交易模式 - 格式:1,2,3
  33536. in: query
  33537. name: tradeMode
  33538. type: string
  33539. - description: 委托单据类型
  33540. in: query
  33541. name: buildType
  33542. type: integer
  33543. - description: 成交类别 - 格式:1,2,3
  33544. in: query
  33545. name: tradeType
  33546. type: string
  33547. - description: 商品ID
  33548. in: query
  33549. name: goodsID
  33550. type: integer
  33551. produces:
  33552. - application/json
  33553. responses:
  33554. "200":
  33555. description: OK
  33556. schema:
  33557. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33558. "500":
  33559. description: Internal Server Error
  33560. schema:
  33561. $ref: '#/definitions/app.Response'
  33562. security:
  33563. - ApiKeyAuth: []
  33564. summary: 成交单查询(合约市场)
  33565. tags:
  33566. - 通用单据
  33567. /Order/QueryTradeHolderDetail:
  33568. get:
  33569. parameters:
  33570. - description: 用户id
  33571. in: query
  33572. name: userid
  33573. type: integer
  33574. - description: 资金账号, 格式 1,2,3
  33575. in: query
  33576. name: accids
  33577. type: string
  33578. - description: 交易模式, 格式 1,2,3
  33579. in: query
  33580. name: trademodes
  33581. type: string
  33582. - description: 市场id, 格式 1,2,3
  33583. in: query
  33584. name: marketids
  33585. type: string
  33586. - description: 商品id
  33587. in: query
  33588. name: goodsid
  33589. type: integer
  33590. - description: 买卖方向 0-买 1-卖
  33591. in: query
  33592. name: buyorsell
  33593. type: integer
  33594. produces:
  33595. - application/json
  33596. responses:
  33597. "200":
  33598. description: OK
  33599. schema:
  33600. items:
  33601. $ref: '#/definitions/models.TradeHolderDetail'
  33602. type: array
  33603. "500":
  33604. description: Internal Server Error
  33605. schema:
  33606. $ref: '#/definitions/app.Response'
  33607. security:
  33608. - ApiKeyAuth: []
  33609. summary: 查询持仓明细
  33610. tags:
  33611. - 通用单据
  33612. /Order/QueryTradeOrderDetail:
  33613. get:
  33614. parameters:
  33615. - description: 资金账户 - 格式:1,2,3
  33616. in: query
  33617. name: accountID
  33618. required: true
  33619. type: string
  33620. - description: 交易模式 - 格式:1,2,3
  33621. in: query
  33622. name: tradeMode
  33623. type: string
  33624. - description: 委托状态 - 格式:1,2,3
  33625. in: query
  33626. name: orderStatus
  33627. type: string
  33628. - description: 委托单号
  33629. in: query
  33630. name: orderID
  33631. type: integer
  33632. produces:
  33633. - application/json
  33634. responses:
  33635. "200":
  33636. description: OK
  33637. schema:
  33638. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33639. "500":
  33640. description: Internal Server Error
  33641. schema:
  33642. $ref: '#/definitions/app.Response'
  33643. security:
  33644. - ApiKeyAuth: []
  33645. summary: 委托单查询请求(合约市场)
  33646. tags:
  33647. - 通用单据
  33648. /Order/QueryTradePosition:
  33649. get:
  33650. parameters:
  33651. - description: 资金账户 - 格式:1,2,3
  33652. in: query
  33653. name: accountID
  33654. required: true
  33655. type: string
  33656. - description: 交易模式 - 格式:1,2,3
  33657. in: query
  33658. name: tradeMode
  33659. type: string
  33660. produces:
  33661. - application/json
  33662. responses:
  33663. "200":
  33664. description: OK
  33665. schema:
  33666. $ref: '#/definitions/order.QueryTradePositionRsp'
  33667. "500":
  33668. description: Internal Server Error
  33669. schema:
  33670. $ref: '#/definitions/app.Response'
  33671. security:
  33672. - ApiKeyAuth: []
  33673. summary: 持仓汇总查询(合约市场)
  33674. tags:
  33675. - 通用单据
  33676. /Qhj/QueryAccountInOutApply:
  33677. get:
  33678. parameters:
  33679. - description: 用户ID
  33680. in: query
  33681. name: userid
  33682. required: true
  33683. type: integer
  33684. - description: 申请起始日期(格式yyyymmdd)
  33685. in: query
  33686. name: begindate
  33687. type: string
  33688. - description: 申请截止日期(格式yyyymmdd)
  33689. in: query
  33690. name: enddate
  33691. type: string
  33692. - description: 模糊搜索名称
  33693. in: query
  33694. name: likename
  33695. type: string
  33696. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33697. in: query
  33698. name: applystatus
  33699. type: integer
  33700. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33701. in: query
  33702. name: querytype
  33703. type: integer
  33704. produces:
  33705. - application/json
  33706. responses:
  33707. "200":
  33708. description: OK
  33709. schema:
  33710. items:
  33711. $ref: '#/definitions/models.QhjAccountOutInApply'
  33712. type: array
  33713. "500":
  33714. description: Internal Server Error
  33715. schema:
  33716. $ref: '#/definitions/app.Response'
  33717. security:
  33718. - ApiKeyAuth: []
  33719. summary: 查询充值提现
  33720. tags:
  33721. - 大连千海金
  33722. /Qhj/QueryAreaFinanceConfig:
  33723. get:
  33724. parameters:
  33725. - description: 机构用户ID 其他做市关系,都设置为 1
  33726. in: query
  33727. name: userid
  33728. type: integer
  33729. produces:
  33730. - application/json
  33731. responses:
  33732. "200":
  33733. description: OK
  33734. schema:
  33735. items:
  33736. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33737. type: array
  33738. "500":
  33739. description: Internal Server Error
  33740. schema:
  33741. $ref: '#/definitions/app.Response'
  33742. security:
  33743. - ApiKeyAuth: []
  33744. summary: 查询企业配置表
  33745. tags:
  33746. - 大连千海金
  33747. /Qhj/QueryBankAccountSign:
  33748. get:
  33749. parameters:
  33750. - description: 用户ID
  33751. in: query
  33752. name: userid
  33753. required: true
  33754. type: integer
  33755. produces:
  33756. - application/json
  33757. responses:
  33758. "200":
  33759. description: OK
  33760. schema:
  33761. items:
  33762. $ref: '#/definitions/models.QhjBankAccountSign'
  33763. type: array
  33764. "500":
  33765. description: Internal Server Error
  33766. schema:
  33767. $ref: '#/definitions/app.Response'
  33768. security:
  33769. - ApiKeyAuth: []
  33770. summary: 查询签约银行信息(提现账户管理)
  33771. tags:
  33772. - 大连千海金
  33773. /Qhj/QueryBankInfo:
  33774. get:
  33775. produces:
  33776. - application/json
  33777. responses:
  33778. "200":
  33779. description: OK
  33780. schema:
  33781. items:
  33782. $ref: '#/definitions/models.QhjBankInfo'
  33783. type: array
  33784. "500":
  33785. description: Internal Server Error
  33786. schema:
  33787. $ref: '#/definitions/app.Response'
  33788. security:
  33789. - ApiKeyAuth: []
  33790. summary: 查询开户行
  33791. tags:
  33792. - 大连千海金
  33793. /Qhj/QueryBrokerApply:
  33794. get:
  33795. parameters:
  33796. - description: 所属机构ID
  33797. in: query
  33798. name: userid
  33799. type: integer
  33800. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33801. in: query
  33802. name: filterstatus
  33803. type: string
  33804. produces:
  33805. - application/json
  33806. responses:
  33807. "200":
  33808. description: OK
  33809. schema:
  33810. items:
  33811. $ref: '#/definitions/models.QhjBrokerApply'
  33812. type: array
  33813. "500":
  33814. description: Internal Server Error
  33815. schema:
  33816. $ref: '#/definitions/app.Response'
  33817. security:
  33818. - ApiKeyAuth: []
  33819. summary: 查询经纪人申请
  33820. tags:
  33821. - 大连千海金
  33822. /Qhj/QueryBrokerApplyEx:
  33823. get:
  33824. parameters:
  33825. - description: 所属机构ID
  33826. in: query
  33827. name: userid
  33828. type: integer
  33829. produces:
  33830. - application/json
  33831. responses:
  33832. "200":
  33833. description: OK
  33834. schema:
  33835. items:
  33836. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33837. type: array
  33838. "500":
  33839. description: Internal Server Error
  33840. schema:
  33841. $ref: '#/definitions/app.Response'
  33842. security:
  33843. - ApiKeyAuth: []
  33844. summary: 查询经纪人信息和申请记录
  33845. tags:
  33846. - 大连千海金
  33847. /Qhj/QueryBrokerRewardLog:
  33848. get:
  33849. parameters:
  33850. - description: 用户ID
  33851. in: query
  33852. name: userid
  33853. required: true
  33854. type: integer
  33855. - description: 开始交易日(yyyymmdd)
  33856. in: query
  33857. name: begindate
  33858. type: string
  33859. - description: 结束交易日(yyyymmdd)
  33860. in: query
  33861. name: enddate
  33862. type: string
  33863. produces:
  33864. - application/json
  33865. responses:
  33866. "200":
  33867. description: OK
  33868. schema:
  33869. items:
  33870. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33871. type: array
  33872. "500":
  33873. description: Internal Server Error
  33874. schema:
  33875. $ref: '#/definitions/app.Response'
  33876. security:
  33877. - ApiKeyAuth: []
  33878. summary: 查询奖励流水(我的奖励)
  33879. tags:
  33880. - 大连千海金
  33881. /Qhj/QueryContract:
  33882. get:
  33883. parameters:
  33884. - description: 用户ID
  33885. in: query
  33886. name: userid
  33887. type: integer
  33888. - description: scf合同id
  33889. in: query
  33890. name: scfcontractid
  33891. type: integer
  33892. produces:
  33893. - application/json
  33894. responses:
  33895. "200":
  33896. description: OK
  33897. schema:
  33898. items:
  33899. $ref: '#/definitions/models.QhjContract'
  33900. type: array
  33901. "500":
  33902. description: Internal Server Error
  33903. schema:
  33904. $ref: '#/definitions/app.Response'
  33905. security:
  33906. - ApiKeyAuth: []
  33907. summary: 查询融资明细(合同)
  33908. tags:
  33909. - 大连千海金
  33910. /Qhj/QueryContractLog:
  33911. get:
  33912. parameters:
  33913. - description: scf合同id
  33914. in: query
  33915. name: scfcontractid
  33916. required: true
  33917. type: integer
  33918. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33919. in: query
  33920. name: amounttype
  33921. type: string
  33922. produces:
  33923. - application/json
  33924. responses:
  33925. "200":
  33926. description: OK
  33927. schema:
  33928. items:
  33929. $ref: '#/definitions/models.QhjContractLog'
  33930. type: array
  33931. "500":
  33932. description: Internal Server Error
  33933. schema:
  33934. $ref: '#/definitions/app.Response'
  33935. security:
  33936. - ApiKeyAuth: []
  33937. summary: 查询融资明细流水(融资明细详情页中的流水)
  33938. tags:
  33939. - 大连千海金
  33940. /Qhj/QueryCusBankSignBank:
  33941. get:
  33942. produces:
  33943. - application/json
  33944. responses:
  33945. "200":
  33946. description: OK
  33947. schema:
  33948. items:
  33949. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  33950. type: array
  33951. "500":
  33952. description: Internal Server Error
  33953. schema:
  33954. $ref: '#/definitions/app.Response'
  33955. security:
  33956. - ApiKeyAuth: []
  33957. summary: 查询托管银行
  33958. tags:
  33959. - 大连千海金
  33960. /Qhj/QueryCustomerInfo:
  33961. get:
  33962. parameters:
  33963. - description: 用户ID
  33964. in: query
  33965. name: userid
  33966. required: true
  33967. type: integer
  33968. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  33969. in: query
  33970. name: querytype
  33971. required: true
  33972. type: integer
  33973. - description: 客户类型 1-个人 2-企业
  33974. in: query
  33975. name: userinfotype
  33976. type: integer
  33977. - description: 客户名称(模糊匹配)
  33978. in: query
  33979. name: customername
  33980. type: string
  33981. - description: 昵称(模糊匹配)
  33982. in: query
  33983. name: nickname
  33984. type: string
  33985. - description: 是否包含子级 1-包含
  33986. in: query
  33987. name: includesub
  33988. type: integer
  33989. produces:
  33990. - application/json
  33991. responses:
  33992. "200":
  33993. description: OK
  33994. schema:
  33995. items:
  33996. $ref: '#/definitions/models.QhjCustomer'
  33997. type: array
  33998. "500":
  33999. description: Internal Server Error
  34000. schema:
  34001. $ref: '#/definitions/app.Response'
  34002. security:
  34003. - ApiKeyAuth: []
  34004. summary: 查询客户资料
  34005. tags:
  34006. - 大连千海金
  34007. /Qhj/QueryGoodsEx:
  34008. get:
  34009. parameters:
  34010. - description: 商品id
  34011. in: query
  34012. name: goodsid
  34013. type: integer
  34014. produces:
  34015. - application/json
  34016. responses:
  34017. "200":
  34018. description: OK
  34019. schema:
  34020. items:
  34021. $ref: '#/definitions/models.Qhjgoodsex'
  34022. type: array
  34023. "500":
  34024. description: Internal Server Error
  34025. schema:
  34026. $ref: '#/definitions/app.Response'
  34027. security:
  34028. - ApiKeyAuth: []
  34029. summary: 交易商品扩展表
  34030. tags:
  34031. - 大连千海金
  34032. /Qhj/QueryMyTeam:
  34033. get:
  34034. parameters:
  34035. - description: 用户ID
  34036. in: query
  34037. name: userid
  34038. required: true
  34039. type: integer
  34040. produces:
  34041. - application/json
  34042. responses:
  34043. "200":
  34044. description: OK
  34045. schema:
  34046. items:
  34047. $ref: '#/definitions/models.QhjMyTeamEx'
  34048. type: array
  34049. "500":
  34050. description: Internal Server Error
  34051. schema:
  34052. $ref: '#/definitions/app.Response'
  34053. security:
  34054. - ApiKeyAuth: []
  34055. summary: 查询我的团队
  34056. tags:
  34057. - 大连千海金
  34058. /Qhj/QueryMyTeamOrder:
  34059. get:
  34060. parameters:
  34061. - description: 页码
  34062. in: query
  34063. name: page
  34064. type: integer
  34065. - description: 每页条数
  34066. in: query
  34067. name: pagesize
  34068. type: integer
  34069. - description: 用户ID
  34070. in: query
  34071. name: userid
  34072. required: true
  34073. type: integer
  34074. - description: 交易模式
  34075. in: query
  34076. name: trademode
  34077. type: integer
  34078. - description: 名称(模糊搜索账户)
  34079. in: query
  34080. name: filtername
  34081. type: string
  34082. produces:
  34083. - application/json
  34084. responses:
  34085. "200":
  34086. description: OK
  34087. schema:
  34088. items:
  34089. $ref: '#/definitions/models.QhjTeamOrder'
  34090. type: array
  34091. "500":
  34092. description: Internal Server Error
  34093. schema:
  34094. $ref: '#/definitions/app.Response'
  34095. security:
  34096. - ApiKeyAuth: []
  34097. summary: 查询团队订单(我的团队/团队订单)
  34098. tags:
  34099. - 大连千海金
  34100. /Qhj/QueryParentAreaList:
  34101. get:
  34102. parameters:
  34103. - description: 用户ID
  34104. in: query
  34105. name: userid
  34106. required: true
  34107. type: integer
  34108. produces:
  34109. - application/json
  34110. responses:
  34111. "200":
  34112. description: OK
  34113. schema:
  34114. items:
  34115. $ref: '#/definitions/models.QhjParentAreaList'
  34116. type: array
  34117. "500":
  34118. description: Internal Server Error
  34119. schema:
  34120. $ref: '#/definitions/app.Response'
  34121. security:
  34122. - ApiKeyAuth: []
  34123. summary: 查询所属机构列表
  34124. tags:
  34125. - 大连千海金
  34126. /Qhj/QueryPayOrder:
  34127. get:
  34128. parameters:
  34129. - description: 资金账号id
  34130. in: query
  34131. name: accountid
  34132. required: true
  34133. type: integer
  34134. - description: 成交单号
  34135. in: query
  34136. name: tradeid
  34137. type: integer
  34138. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34139. in: query
  34140. name: payflag
  34141. type: string
  34142. produces:
  34143. - application/json
  34144. responses:
  34145. "200":
  34146. description: OK
  34147. schema:
  34148. items:
  34149. $ref: '#/definitions/models.QhjPayOrder'
  34150. type: array
  34151. "500":
  34152. description: Internal Server Error
  34153. schema:
  34154. $ref: '#/definitions/app.Response'
  34155. security:
  34156. - ApiKeyAuth: []
  34157. summary: 查询待付款单据
  34158. tags:
  34159. - 大连千海金
  34160. /Qhj/QueryPickArea:
  34161. get:
  34162. parameters:
  34163. - description: 用户ID
  34164. in: query
  34165. name: userid
  34166. type: integer
  34167. produces:
  34168. - application/json
  34169. responses:
  34170. "200":
  34171. description: OK
  34172. schema:
  34173. items:
  34174. $ref: '#/definitions/models.QhjPickArea'
  34175. type: array
  34176. "500":
  34177. description: Internal Server Error
  34178. schema:
  34179. $ref: '#/definitions/app.Response'
  34180. security:
  34181. - ApiKeyAuth: []
  34182. summary: 查询提货门店
  34183. tags:
  34184. - 大连千海金
  34185. /Qhj/QueryPickGoods:
  34186. get:
  34187. parameters:
  34188. - description: 交易商品id
  34189. in: query
  34190. name: goodsid
  34191. required: true
  34192. type: integer
  34193. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34194. in: query
  34195. name: status
  34196. type: string
  34197. produces:
  34198. - application/json
  34199. responses:
  34200. "200":
  34201. description: OK
  34202. schema:
  34203. items:
  34204. $ref: '#/definitions/models.QhjPickGoods'
  34205. type: array
  34206. "500":
  34207. description: Internal Server Error
  34208. schema:
  34209. $ref: '#/definitions/app.Response'
  34210. security:
  34211. - ApiKeyAuth: []
  34212. summary: 查询提货商品
  34213. tags:
  34214. - 大连千海金
  34215. /Qhj/QueryRSTriggerLog:
  34216. get:
  34217. parameters:
  34218. - description: 用户ID
  34219. in: query
  34220. name: userid
  34221. type: integer
  34222. - description: 定投策略id
  34223. in: query
  34224. name: regularlystrategyid
  34225. type: integer
  34226. - description: 商品id
  34227. in: query
  34228. name: goodsid
  34229. type: integer
  34230. - description: 开始交易日(yyyymmdd)
  34231. in: query
  34232. name: begindate
  34233. type: string
  34234. - description: 结束交易日(yyyymmdd)
  34235. in: query
  34236. name: enddate
  34237. type: string
  34238. - description: 名称(模糊搜索账户)
  34239. in: query
  34240. name: filtername
  34241. type: string
  34242. produces:
  34243. - application/json
  34244. responses:
  34245. "200":
  34246. description: OK
  34247. schema:
  34248. items:
  34249. $ref: '#/definitions/models.QhjRSTriggerLog'
  34250. type: array
  34251. "500":
  34252. description: Internal Server Error
  34253. schema:
  34254. $ref: '#/definitions/app.Response'
  34255. security:
  34256. - ApiKeyAuth: []
  34257. summary: 查询定投记录(定投管理/详情/定投记录)
  34258. tags:
  34259. - 大连千海金
  34260. /Qhj/QueryRStrategy:
  34261. get:
  34262. parameters:
  34263. - description: 用户ID
  34264. in: query
  34265. name: userid
  34266. type: integer
  34267. - description: 商品id
  34268. in: query
  34269. name: goodsid
  34270. type: integer
  34271. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34272. in: query
  34273. name: status
  34274. type: string
  34275. - description: 名称(模糊搜索账户)
  34276. in: query
  34277. name: filtername
  34278. type: string
  34279. produces:
  34280. - application/json
  34281. responses:
  34282. "200":
  34283. description: OK
  34284. schema:
  34285. items:
  34286. $ref: '#/definitions/models.QhjRStrategy'
  34287. type: array
  34288. "500":
  34289. description: Internal Server Error
  34290. schema:
  34291. $ref: '#/definitions/app.Response'
  34292. security:
  34293. - ApiKeyAuth: []
  34294. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34295. tags:
  34296. - 大连千海金
  34297. /Qhj/QueryReckonPriceLog:
  34298. get:
  34299. parameters:
  34300. - description: 商品ID
  34301. in: query
  34302. name: goodsid
  34303. type: integer
  34304. - description: 交易日 格式(yyyymmdd)
  34305. in: query
  34306. name: tradedate
  34307. type: string
  34308. produces:
  34309. - application/json
  34310. responses:
  34311. "200":
  34312. description: OK
  34313. schema:
  34314. items:
  34315. $ref: '#/definitions/models.QhjReckonPriceLog'
  34316. type: array
  34317. "500":
  34318. description: Internal Server Error
  34319. schema:
  34320. $ref: '#/definitions/app.Response'
  34321. security:
  34322. - ApiKeyAuth: []
  34323. summary: 查询定投价(结算价)
  34324. tags:
  34325. - 大连千海金
  34326. /Qhj/QueryScoreLog:
  34327. get:
  34328. parameters:
  34329. - description: 用户ID
  34330. in: query
  34331. name: userid
  34332. required: true
  34333. type: integer
  34334. - description: 开始交易日(yyyymmdd)
  34335. in: query
  34336. name: begindate
  34337. type: string
  34338. - description: 结束交易日(yyyymmdd)
  34339. in: query
  34340. name: enddate
  34341. type: string
  34342. - description: 最近多少条
  34343. in: query
  34344. name: lastnum
  34345. type: integer
  34346. produces:
  34347. - application/json
  34348. responses:
  34349. "200":
  34350. description: OK
  34351. schema:
  34352. items:
  34353. $ref: '#/definitions/models.QhjScoreLog'
  34354. type: array
  34355. "500":
  34356. description: Internal Server Error
  34357. schema:
  34358. $ref: '#/definitions/app.Response'
  34359. security:
  34360. - ApiKeyAuth: []
  34361. summary: 查询积分流水(我的积分)
  34362. tags:
  34363. - 大连千海金
  34364. /Qhj/QuerySiteColumnDetail:
  34365. get:
  34366. parameters:
  34367. - description: 用户ID
  34368. in: query
  34369. name: userid
  34370. required: true
  34371. type: integer
  34372. produces:
  34373. - application/json
  34374. responses:
  34375. "200":
  34376. description: OK
  34377. schema:
  34378. items:
  34379. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34380. type: array
  34381. "500":
  34382. description: Internal Server Error
  34383. schema:
  34384. $ref: '#/definitions/app.Response'
  34385. security:
  34386. - ApiKeyAuth: []
  34387. summary: 查询资讯
  34388. tags:
  34389. - 大连千海金
  34390. /Qhj/QueryTradeGoodsPickup:
  34391. get:
  34392. parameters:
  34393. - description: 用户ID
  34394. in: query
  34395. name: userid
  34396. required: true
  34397. type: integer
  34398. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34399. 7:已拒绝 8:已撤销
  34400. in: query
  34401. name: takeorderstatus
  34402. type: integer
  34403. produces:
  34404. - application/json
  34405. responses:
  34406. "200":
  34407. description: OK
  34408. schema:
  34409. items:
  34410. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34411. type: array
  34412. "500":
  34413. description: Internal Server Error
  34414. schema:
  34415. $ref: '#/definitions/app.Response'
  34416. security:
  34417. - ApiKeyAuth: []
  34418. summary: 查询提货
  34419. tags:
  34420. - 大连千海金
  34421. /Qhj/QueryUserCollectConfig:
  34422. get:
  34423. parameters:
  34424. - description: 用户ID
  34425. in: query
  34426. name: userid
  34427. required: true
  34428. type: integer
  34429. produces:
  34430. - application/json
  34431. responses:
  34432. "200":
  34433. description: OK
  34434. schema:
  34435. items:
  34436. $ref: '#/definitions/models.UserCollectConfig'
  34437. type: array
  34438. "500":
  34439. description: Internal Server Error
  34440. schema:
  34441. $ref: '#/definitions/app.Response'
  34442. security:
  34443. - ApiKeyAuth: []
  34444. summary: 查询提现账户设置
  34445. tags:
  34446. - 大连千海金
  34447. /Qhj/QueryUserReceiveInfo:
  34448. get:
  34449. parameters:
  34450. - description: 用户ID
  34451. in: query
  34452. name: userid
  34453. required: true
  34454. type: integer
  34455. produces:
  34456. - application/json
  34457. responses:
  34458. "200":
  34459. description: OK
  34460. schema:
  34461. items:
  34462. $ref: '#/definitions/models.UserReceiveInfo'
  34463. type: array
  34464. "500":
  34465. description: Internal Server Error
  34466. schema:
  34467. $ref: '#/definitions/app.Response'
  34468. security:
  34469. - ApiKeyAuth: []
  34470. summary: 查询收货地址信息
  34471. tags:
  34472. - 大连千海金
  34473. /QhjMgr/QueryAccountInOutApply:
  34474. get:
  34475. parameters:
  34476. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34477. in: query
  34478. name: querytype
  34479. required: true
  34480. type: integer
  34481. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34482. in: query
  34483. name: applystatus
  34484. type: integer
  34485. - description: 申请起始日期(格式yyyymmdd)
  34486. in: query
  34487. name: begindate
  34488. type: string
  34489. - description: 申请截止日期(格式yyyymmdd)
  34490. in: query
  34491. name: enddate
  34492. type: string
  34493. - description: 模糊搜索名称
  34494. in: query
  34495. name: likename
  34496. type: string
  34497. produces:
  34498. - application/json
  34499. responses:
  34500. "200":
  34501. description: OK
  34502. schema:
  34503. items:
  34504. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34505. type: array
  34506. "500":
  34507. description: Internal Server Error
  34508. schema:
  34509. $ref: '#/definitions/app.Response'
  34510. security:
  34511. - ApiKeyAuth: []
  34512. summary: 查询充值提现
  34513. tags:
  34514. - 大连千海金(PCWeb)
  34515. /QhjMgr/QueryBrokerApply:
  34516. get:
  34517. parameters:
  34518. - description: 所属机构ID
  34519. in: query
  34520. name: userid
  34521. type: integer
  34522. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34523. in: query
  34524. name: filterstatus
  34525. type: string
  34526. - description: 名称(模糊匹配)
  34527. in: query
  34528. name: filtername
  34529. type: string
  34530. - description: 是否包含子级 1-包含
  34531. in: query
  34532. name: includesub
  34533. type: integer
  34534. produces:
  34535. - application/json
  34536. responses:
  34537. "200":
  34538. description: OK
  34539. schema:
  34540. items:
  34541. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34542. type: array
  34543. "500":
  34544. description: Internal Server Error
  34545. schema:
  34546. $ref: '#/definitions/app.Response'
  34547. security:
  34548. - ApiKeyAuth: []
  34549. summary: 查询经纪人申请
  34550. tags:
  34551. - 大连千海金(PCWeb)
  34552. /QhjMgr/QueryBrokerRewardReport:
  34553. get:
  34554. parameters:
  34555. - description: 所属机构ID
  34556. in: query
  34557. name: userid
  34558. required: true
  34559. type: integer
  34560. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34561. in: query
  34562. name: cycletype
  34563. required: true
  34564. type: integer
  34565. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34566. in: query
  34567. name: cycletime
  34568. required: true
  34569. type: string
  34570. - description: 名称(模糊匹配)
  34571. in: query
  34572. name: filtername
  34573. type: string
  34574. - description: 是否包含子级 1-包含
  34575. in: query
  34576. name: includesub
  34577. type: integer
  34578. produces:
  34579. - application/json
  34580. responses:
  34581. "200":
  34582. description: OK
  34583. schema:
  34584. items:
  34585. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34586. type: array
  34587. "500":
  34588. description: Internal Server Error
  34589. schema:
  34590. $ref: '#/definitions/app.Response'
  34591. security:
  34592. - ApiKeyAuth: []
  34593. summary: 查询经纪人奖励报表(废弃)
  34594. tags:
  34595. - 大连千海金(PCWeb)
  34596. /QhjMgr/QueryContract:
  34597. get:
  34598. parameters:
  34599. - description: 用户ID
  34600. in: query
  34601. name: userid
  34602. type: integer
  34603. - description: 商品id
  34604. in: query
  34605. name: goodsid
  34606. type: integer
  34607. - description: 名称(模糊搜索账户)
  34608. in: query
  34609. name: filtername
  34610. type: string
  34611. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34612. in: query
  34613. name: risklevel
  34614. type: string
  34615. - description: 开始交易日(yyyymmdd)
  34616. in: query
  34617. name: begindate
  34618. type: string
  34619. - description: 结束交易日(yyyymmdd)
  34620. in: query
  34621. name: enddate
  34622. type: string
  34623. produces:
  34624. - application/json
  34625. responses:
  34626. "200":
  34627. description: OK
  34628. schema:
  34629. items:
  34630. $ref: '#/definitions/models.QhjMgrContract'
  34631. type: array
  34632. "500":
  34633. description: Internal Server Error
  34634. schema:
  34635. $ref: '#/definitions/app.Response'
  34636. security:
  34637. - ApiKeyAuth: []
  34638. summary: 查询融资信息(合同)
  34639. tags:
  34640. - 大连千海金(PCWeb)
  34641. /QhjMgr/QueryCustomerInfo:
  34642. get:
  34643. parameters:
  34644. - description: 用户ID
  34645. in: query
  34646. name: userid
  34647. required: true
  34648. type: integer
  34649. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34650. in: query
  34651. name: querytype
  34652. required: true
  34653. type: integer
  34654. - description: 客户类型 1-个人 2-企业
  34655. in: query
  34656. name: userinfotype
  34657. type: integer
  34658. - description: 客户名称(模糊匹配)
  34659. in: query
  34660. name: customername
  34661. type: string
  34662. - description: 昵称(模糊匹配)
  34663. in: query
  34664. name: nickname
  34665. type: string
  34666. - description: 所属客户经理(模糊匹配)
  34667. in: query
  34668. name: brokername
  34669. type: string
  34670. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34671. 如0503 -5月3日)
  34672. in: query
  34673. name: birthday
  34674. type: string
  34675. - description: 是否包含子级 1-包含
  34676. in: query
  34677. name: includesub
  34678. type: integer
  34679. produces:
  34680. - application/json
  34681. responses:
  34682. "200":
  34683. description: OK
  34684. schema:
  34685. items:
  34686. $ref: '#/definitions/models.QhjMgrCustomer'
  34687. type: array
  34688. "500":
  34689. description: Internal Server Error
  34690. schema:
  34691. $ref: '#/definitions/app.Response'
  34692. security:
  34693. - ApiKeyAuth: []
  34694. summary: 查询客户资料
  34695. tags:
  34696. - 大连千海金(PCWeb)
  34697. /QhjMgr/QueryPickGoods:
  34698. get:
  34699. parameters:
  34700. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34701. in: query
  34702. name: status
  34703. type: string
  34704. produces:
  34705. - application/json
  34706. responses:
  34707. "200":
  34708. description: OK
  34709. schema:
  34710. items:
  34711. $ref: '#/definitions/models.QhjMgrPickGoods'
  34712. type: array
  34713. "500":
  34714. description: Internal Server Error
  34715. schema:
  34716. $ref: '#/definitions/app.Response'
  34717. security:
  34718. - ApiKeyAuth: []
  34719. summary: 查询提货商品
  34720. tags:
  34721. - 大连千海金(PCWeb)
  34722. /QhjMgr/QuerySubArea:
  34723. get:
  34724. parameters:
  34725. - description: 用户ID
  34726. in: query
  34727. name: userid
  34728. required: true
  34729. type: integer
  34730. produces:
  34731. - application/json
  34732. responses:
  34733. "200":
  34734. description: OK
  34735. schema:
  34736. items:
  34737. $ref: '#/definitions/models.QhjMgrSubArea'
  34738. type: array
  34739. "500":
  34740. description: Internal Server Error
  34741. schema:
  34742. $ref: '#/definitions/app.Response'
  34743. security:
  34744. - ApiKeyAuth: []
  34745. summary: 查询子机构列表
  34746. tags:
  34747. - 大连千海金(PCWeb)
  34748. /QhjMgr/QueryTradeDetail:
  34749. get:
  34750. parameters:
  34751. - description: 用户ID
  34752. in: query
  34753. name: userid
  34754. required: true
  34755. type: integer
  34756. - description: 用户类型 1-个人 2-企业
  34757. in: query
  34758. name: userinfotype
  34759. type: integer
  34760. - description: 交易模式
  34761. in: query
  34762. name: trademode
  34763. type: integer
  34764. - description: 商品id
  34765. in: query
  34766. name: goodsid
  34767. type: integer
  34768. - description: 名称(模糊搜索账户)
  34769. in: query
  34770. name: filtername
  34771. type: string
  34772. - description: 开始交易日(yyyymmdd)
  34773. in: query
  34774. name: begindate
  34775. type: string
  34776. - description: 结束交易日(yyyymmdd)
  34777. in: query
  34778. name: enddate
  34779. type: string
  34780. - description: 是否包含子级 1-包含
  34781. in: query
  34782. name: includesub
  34783. type: integer
  34784. produces:
  34785. - application/json
  34786. responses:
  34787. "200":
  34788. description: OK
  34789. schema:
  34790. items:
  34791. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34792. type: array
  34793. "500":
  34794. description: Internal Server Error
  34795. schema:
  34796. $ref: '#/definitions/app.Response'
  34797. security:
  34798. - ApiKeyAuth: []
  34799. summary: 查询成交明细
  34800. tags:
  34801. - 大连千海金(PCWeb)
  34802. /QhjMgr/QueryTradeOrderDetail:
  34803. get:
  34804. parameters:
  34805. - description: 用户ID
  34806. in: query
  34807. name: userid
  34808. required: true
  34809. type: integer
  34810. - description: 用户类型 1-个人 2-企业
  34811. in: query
  34812. name: userinfotype
  34813. type: integer
  34814. - description: 交易模式
  34815. in: query
  34816. name: trademode
  34817. type: integer
  34818. - description: 商品id
  34819. in: query
  34820. name: goodsid
  34821. type: integer
  34822. - description: 名称(模糊搜索账户)
  34823. in: query
  34824. name: filtername
  34825. type: string
  34826. - description: 开始交易日(yyyymmdd)
  34827. in: query
  34828. name: begindate
  34829. type: string
  34830. - description: 结束交易日(yyyymmdd)
  34831. in: query
  34832. name: enddate
  34833. type: string
  34834. - description: 是否包含子级 1-包含
  34835. in: query
  34836. name: includesub
  34837. type: integer
  34838. produces:
  34839. - application/json
  34840. responses:
  34841. "200":
  34842. description: OK
  34843. schema:
  34844. items:
  34845. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34846. type: array
  34847. "500":
  34848. description: Internal Server Error
  34849. schema:
  34850. $ref: '#/definitions/app.Response'
  34851. security:
  34852. - ApiKeyAuth: []
  34853. summary: 查询委托明细
  34854. tags:
  34855. - 大连千海金(PCWeb)
  34856. /QhjMgr/QueryTradePayOrder:
  34857. get:
  34858. parameters:
  34859. - description: 用户ID
  34860. in: query
  34861. name: userid
  34862. required: true
  34863. type: integer
  34864. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34865. in: query
  34866. name: payflag
  34867. type: string
  34868. - description: 用户类型 1-个人 2-企业
  34869. in: query
  34870. name: userinfotype
  34871. type: integer
  34872. - description: 交易模式
  34873. in: query
  34874. name: trademode
  34875. type: integer
  34876. - description: 商品id
  34877. in: query
  34878. name: goodsid
  34879. type: integer
  34880. - description: 名称(模糊搜索账户)
  34881. in: query
  34882. name: filtername
  34883. type: string
  34884. - description: 开始交易日(yyyymmdd)
  34885. in: query
  34886. name: begindate
  34887. type: string
  34888. - description: 结束交易日(yyyymmdd)
  34889. in: query
  34890. name: enddate
  34891. type: string
  34892. - description: 是否包含子级 1-包含
  34893. in: query
  34894. name: includesub
  34895. type: integer
  34896. produces:
  34897. - application/json
  34898. responses:
  34899. "200":
  34900. description: OK
  34901. schema:
  34902. items:
  34903. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34904. type: array
  34905. "500":
  34906. description: Internal Server Error
  34907. schema:
  34908. $ref: '#/definitions/app.Response'
  34909. security:
  34910. - ApiKeyAuth: []
  34911. summary: 查询待付款单
  34912. tags:
  34913. - 大连千海金(PCWeb)
  34914. /QhjMgr/QueryTradePosition:
  34915. get:
  34916. parameters:
  34917. - description: 用户ID
  34918. in: query
  34919. name: userid
  34920. required: true
  34921. type: integer
  34922. - description: 用户类型 1-个人 2-企业
  34923. in: query
  34924. name: userinfotype
  34925. type: integer
  34926. - description: 交易模式
  34927. in: query
  34928. name: trademode
  34929. type: integer
  34930. - description: 商品id
  34931. in: query
  34932. name: goodsid
  34933. type: integer
  34934. - description: 名称(模糊搜索账户)
  34935. in: query
  34936. name: filtername
  34937. type: string
  34938. - description: 是否包含子级 1-包含
  34939. in: query
  34940. name: includesub
  34941. type: integer
  34942. produces:
  34943. - application/json
  34944. responses:
  34945. "200":
  34946. description: OK
  34947. schema:
  34948. items:
  34949. $ref: '#/definitions/models.QhjMgrPositionRsp'
  34950. type: array
  34951. "500":
  34952. description: Internal Server Error
  34953. schema:
  34954. $ref: '#/definitions/app.Response'
  34955. security:
  34956. - ApiKeyAuth: []
  34957. summary: 查询持仓汇总
  34958. tags:
  34959. - 大连千海金(PCWeb)
  34960. /QhjSys/QueryAgreementChangeLog:
  34961. get:
  34962. parameters:
  34963. - description: 协议ID
  34964. in: query
  34965. name: agreementid
  34966. type: integer
  34967. - description: 协议版本号
  34968. in: query
  34969. name: agreementversion
  34970. type: integer
  34971. - description: 协议类型 - 1:注册 2:登录 3:交易
  34972. in: query
  34973. name: agreementtype
  34974. type: integer
  34975. - description: 协议编号(模糊匹配)
  34976. in: query
  34977. name: agreementno
  34978. type: string
  34979. - description: 协议名称(模糊匹配)
  34980. in: query
  34981. name: agreementname
  34982. type: string
  34983. produces:
  34984. - application/json
  34985. responses:
  34986. "200":
  34987. description: OK
  34988. schema:
  34989. items:
  34990. $ref: '#/definitions/models.QhjAgreementChangeLog'
  34991. type: array
  34992. "500":
  34993. description: Internal Server Error
  34994. schema:
  34995. $ref: '#/definitions/app.Response'
  34996. security:
  34997. - ApiKeyAuth: []
  34998. summary: 查询协议配置变更流水
  34999. tags:
  35000. - 大连千海金(协议和签约信息)
  35001. /QhjSys/QueryAgreementConfig:
  35002. get:
  35003. parameters:
  35004. - description: 协议ID
  35005. in: query
  35006. name: agreementid
  35007. type: integer
  35008. - description: 协议版本号
  35009. in: query
  35010. name: agreementversion
  35011. type: integer
  35012. - description: 协议类型 - 1:注册 2:登录 3:交易
  35013. in: query
  35014. name: agreementtype
  35015. type: integer
  35016. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  35017. in: query
  35018. name: isvalid
  35019. type: integer
  35020. - description: 协议编号(模糊匹配)
  35021. in: query
  35022. name: agreementno
  35023. type: string
  35024. - description: 协议名称(模糊匹配)
  35025. in: query
  35026. name: agreementname
  35027. type: string
  35028. produces:
  35029. - application/json
  35030. responses:
  35031. "200":
  35032. description: OK
  35033. schema:
  35034. items:
  35035. $ref: '#/definitions/models.QhjAgreementConfig'
  35036. type: array
  35037. "500":
  35038. description: Internal Server Error
  35039. schema:
  35040. $ref: '#/definitions/app.Response'
  35041. security:
  35042. - ApiKeyAuth: []
  35043. summary: 查询协议配置
  35044. tags:
  35045. - 大连千海金(协议和签约信息)
  35046. /QhjSys/QueryCustomerSignStatus:
  35047. get:
  35048. parameters:
  35049. - description: 客户ID
  35050. in: query
  35051. name: userid
  35052. type: integer
  35053. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35054. in: query
  35055. name: nodetype
  35056. type: integer
  35057. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35058. in: query
  35059. name: goodsid
  35060. type: integer
  35061. - description: 创建交易日(yyyyMMdd)
  35062. in: query
  35063. name: tradedate
  35064. type: string
  35065. - description: 用户名称(模糊匹配)
  35066. in: query
  35067. name: username
  35068. type: string
  35069. produces:
  35070. - application/json
  35071. responses:
  35072. "200":
  35073. description: OK
  35074. schema:
  35075. items:
  35076. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35077. type: array
  35078. "500":
  35079. description: Internal Server Error
  35080. schema:
  35081. $ref: '#/definitions/app.Response'
  35082. security:
  35083. - ApiKeyAuth: []
  35084. summary: 查询客户协议签约状态
  35085. tags:
  35086. - 大连千海金(协议和签约信息)
  35087. /QhjSys/QueryNodeAgreementConfig:
  35088. get:
  35089. parameters:
  35090. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35091. in: query
  35092. name: configid
  35093. type: integer
  35094. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35095. in: query
  35096. name: nodetype
  35097. type: integer
  35098. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35099. in: query
  35100. name: goodsid
  35101. type: integer
  35102. - description: 协议ID
  35103. in: query
  35104. name: agreementid
  35105. type: integer
  35106. - description: 协议类型 - 1:注册 2:登录 3:交易
  35107. in: query
  35108. name: agreementtype
  35109. type: integer
  35110. - description: 协议版本号
  35111. in: query
  35112. name: agreementversion
  35113. type: integer
  35114. - description: 协议编号(模糊匹配)
  35115. in: query
  35116. name: agreementno
  35117. type: string
  35118. - description: 协议名称(模糊匹配)
  35119. in: query
  35120. name: agreementname
  35121. type: string
  35122. produces:
  35123. - application/json
  35124. responses:
  35125. "200":
  35126. description: OK
  35127. schema:
  35128. items:
  35129. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  35130. type: array
  35131. "500":
  35132. description: Internal Server Error
  35133. schema:
  35134. $ref: '#/definitions/app.Response'
  35135. security:
  35136. - ApiKeyAuth: []
  35137. summary: 查询协议节点配置
  35138. tags:
  35139. - 大连千海金(协议和签约信息)
  35140. /QhjSys/QueryQhjCustomerSignLog:
  35141. get:
  35142. parameters:
  35143. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35144. in: query
  35145. name: logid
  35146. type: integer
  35147. - description: 客户ID
  35148. in: query
  35149. name: userid
  35150. type: integer
  35151. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35152. in: query
  35153. name: nodetype
  35154. type: integer
  35155. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35156. in: query
  35157. name: goodsid
  35158. type: integer
  35159. - description: 协议ID
  35160. in: query
  35161. name: agreementid
  35162. type: integer
  35163. - description: 用户名称(模糊匹配)
  35164. in: query
  35165. name: username
  35166. type: string
  35167. - description: 协议编号(模糊匹配)
  35168. in: query
  35169. name: agreementno
  35170. type: string
  35171. - description: 协议名称(模糊匹配)
  35172. in: query
  35173. name: agreementname
  35174. type: string
  35175. produces:
  35176. - application/json
  35177. responses:
  35178. "200":
  35179. description: OK
  35180. schema:
  35181. items:
  35182. $ref: '#/definitions/models.QhjCustomerSignLog'
  35183. type: array
  35184. "500":
  35185. description: Internal Server Error
  35186. schema:
  35187. $ref: '#/definitions/app.Response'
  35188. security:
  35189. - ApiKeyAuth: []
  35190. summary: 查询客户协议签约流水
  35191. tags:
  35192. - 大连千海金(协议和签约信息)
  35193. /QhjSys/QueryUserNodeCfgAndStatus:
  35194. get:
  35195. parameters:
  35196. - description: 客户ID
  35197. in: query
  35198. name: userid
  35199. type: integer
  35200. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35201. in: query
  35202. name: configid
  35203. type: integer
  35204. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35205. in: query
  35206. name: nodetype
  35207. type: string
  35208. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35209. in: query
  35210. name: goodsid
  35211. type: integer
  35212. - description: 协议ID
  35213. in: query
  35214. name: agreementid
  35215. type: integer
  35216. - description: 协议类型 - 1:注册 2:登录 3:交易
  35217. in: query
  35218. name: agreementtype
  35219. type: integer
  35220. - description: 协议版本号
  35221. in: query
  35222. name: agreementversion
  35223. type: integer
  35224. - description: 协议编号(模糊匹配)
  35225. in: query
  35226. name: agreementno
  35227. type: string
  35228. - description: 协议名称(模糊匹配)
  35229. in: query
  35230. name: agreementname
  35231. type: string
  35232. produces:
  35233. - application/json
  35234. responses:
  35235. "200":
  35236. description: OK
  35237. schema:
  35238. items:
  35239. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35240. type: array
  35241. "500":
  35242. description: Internal Server Error
  35243. schema:
  35244. $ref: '#/definitions/app.Response'
  35245. security:
  35246. - ApiKeyAuth: []
  35247. summary: 查询用户协议节点配置和状态
  35248. tags:
  35249. - 大连千海金(协议和签约信息)
  35250. /Quote/QueryHistoryDatas:
  35251. get:
  35252. parameters:
  35253. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35254. 日线 12:周线 13:月线 14:年线'
  35255. in: query
  35256. name: cycleType
  35257. required: true
  35258. type: integer
  35259. - description: 商品代码
  35260. in: query
  35261. name: goodsCode
  35262. required: true
  35263. type: string
  35264. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35265. in: query
  35266. name: startTime
  35267. type: string
  35268. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35269. in: query
  35270. name: endTime
  35271. type: string
  35272. - description: 条数
  35273. in: query
  35274. name: count
  35275. type: integer
  35276. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35277. in: query
  35278. name: isAsc
  35279. type: boolean
  35280. produces:
  35281. - application/json
  35282. responses:
  35283. "200":
  35284. description: OK
  35285. schema:
  35286. $ref: '#/definitions/quote.HistoryData'
  35287. "500":
  35288. description: Internal Server Error
  35289. schema:
  35290. $ref: '#/definitions/app.Response'
  35291. security:
  35292. - ApiKeyAuth: []
  35293. summary: 查询行情历史数据
  35294. tags:
  35295. - 行情服务
  35296. /Quote/QueryHistoryTikDatas:
  35297. get:
  35298. parameters:
  35299. - description: 商品代码
  35300. in: query
  35301. name: goodsCode
  35302. required: true
  35303. type: string
  35304. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35305. in: query
  35306. name: startTime
  35307. type: string
  35308. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35309. in: query
  35310. name: endTime
  35311. type: string
  35312. - description: 条数
  35313. in: query
  35314. name: count
  35315. type: integer
  35316. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35317. in: query
  35318. name: isAsc
  35319. type: boolean
  35320. produces:
  35321. - application/json
  35322. responses:
  35323. "200":
  35324. description: OK
  35325. schema:
  35326. $ref: '#/definitions/quote.HistoryTikData'
  35327. "500":
  35328. description: Internal Server Error
  35329. schema:
  35330. $ref: '#/definitions/app.Response'
  35331. security:
  35332. - ApiKeyAuth: []
  35333. summary: 查询行情Tik数据
  35334. tags:
  35335. - 行情服务
  35336. /Quote/QueryQuoteDay:
  35337. get:
  35338. parameters:
  35339. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35340. in: query
  35341. name: goodsCodes
  35342. type: string
  35343. produces:
  35344. - application/json
  35345. responses:
  35346. "200":
  35347. description: OK
  35348. schema:
  35349. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35350. "500":
  35351. description: Internal Server Error
  35352. schema:
  35353. $ref: '#/definitions/app.Response'
  35354. security:
  35355. - ApiKeyAuth: []
  35356. summary: 获取商品盘面信息
  35357. tags:
  35358. - 行情服务
  35359. /Quote/QueryTSData:
  35360. get:
  35361. parameters:
  35362. - description: 商品代码
  35363. in: query
  35364. name: goodsCode
  35365. required: true
  35366. type: string
  35367. produces:
  35368. - application/json
  35369. responses:
  35370. "200":
  35371. description: OK
  35372. schema:
  35373. $ref: '#/definitions/quote.QueryTSDataRsp'
  35374. "500":
  35375. description: Internal Server Error
  35376. schema:
  35377. $ref: '#/definitions/app.Response'
  35378. security:
  35379. - ApiKeyAuth: []
  35380. summary: 分时图数据查询
  35381. tags:
  35382. - 行情服务
  35383. /SZDZ/QueryConvertConfig:
  35384. get:
  35385. parameters:
  35386. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35387. 6:交易转花生米(不设置)
  35388. in: query
  35389. name: convertType
  35390. type: integer
  35391. - description: 外部商品代码[JD\PD]
  35392. in: query
  35393. name: outerGoodsCode
  35394. type: string
  35395. - description: 内部商品ID列表[交易],格式:1,2,3
  35396. in: query
  35397. name: innerGoodsIDs
  35398. type: string
  35399. produces:
  35400. - application/json
  35401. responses:
  35402. "200":
  35403. description: OK
  35404. schema:
  35405. $ref: '#/definitions/models.Szdz3convertconfig'
  35406. "500":
  35407. description: Internal Server Error
  35408. schema:
  35409. $ref: '#/definitions/app.Response'
  35410. security:
  35411. - ApiKeyAuth: []
  35412. summary: 查询交易系统转换设置
  35413. tags:
  35414. - 定制【尚志大宗】
  35415. /SZDZ/QueryConvertLog:
  35416. get:
  35417. parameters:
  35418. - description: 资金账户 - 格式:1,2,3
  35419. in: query
  35420. name: accountID
  35421. required: true
  35422. type: string
  35423. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35424. in: query
  35425. name: startDate
  35426. type: string
  35427. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35428. in: query
  35429. name: endDate
  35430. type: string
  35431. produces:
  35432. - application/json
  35433. responses:
  35434. "200":
  35435. description: OK
  35436. schema:
  35437. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35438. "500":
  35439. description: Internal Server Error
  35440. schema:
  35441. $ref: '#/definitions/app.Response'
  35442. security:
  35443. - ApiKeyAuth: []
  35444. summary: 交易系统转换流水查询
  35445. tags:
  35446. - 定制【尚志大宗】
  35447. /SZDZ/QueryGoodsPickup:
  35448. get:
  35449. parameters:
  35450. - description: 资金账户 - 格式:1,2,3
  35451. in: query
  35452. name: accountID
  35453. required: true
  35454. type: string
  35455. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35456. in: query
  35457. name: takeOrderStatus
  35458. type: integer
  35459. produces:
  35460. - application/json
  35461. responses:
  35462. "200":
  35463. description: OK
  35464. schema:
  35465. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35466. "500":
  35467. description: Internal Server Error
  35468. schema:
  35469. $ref: '#/definitions/app.Response'
  35470. security:
  35471. - ApiKeyAuth: []
  35472. summary: 商品提货单查询
  35473. tags:
  35474. - 定制【尚志大宗】
  35475. /SZDZ/QueryRecieptOrder:
  35476. get:
  35477. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35478. parameters:
  35479. - description: 页码
  35480. in: query
  35481. name: page
  35482. type: integer
  35483. - description: 每页条数
  35484. in: query
  35485. name: pagesize
  35486. type: integer
  35487. - description: 商品ID
  35488. in: query
  35489. name: goodsID
  35490. required: true
  35491. type: integer
  35492. - description: 所属账户名称
  35493. in: query
  35494. name: accountName
  35495. type: string
  35496. - description: 市场ID
  35497. in: query
  35498. name: marketID
  35499. type: integer
  35500. - description: 方向 - 0:买 1:卖
  35501. in: query
  35502. name: buyorsell
  35503. required: true
  35504. type: integer
  35505. produces:
  35506. - application/json
  35507. responses:
  35508. "200":
  35509. description: OK
  35510. schema:
  35511. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35512. "500":
  35513. description: Internal Server Error
  35514. schema:
  35515. $ref: '#/definitions/app.Response'
  35516. security:
  35517. - ApiKeyAuth: []
  35518. summary: 点选挂牌委托单据查询(摘牌大厅)
  35519. tags:
  35520. - 定制【尚志大宗】
  35521. /SZDZ/QuerySZDZTradePosition:
  35522. get:
  35523. parameters:
  35524. - description: 资金账户
  35525. in: query
  35526. name: accountID
  35527. required: true
  35528. type: integer
  35529. produces:
  35530. - application/json
  35531. responses:
  35532. "200":
  35533. description: OK
  35534. schema:
  35535. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35536. "500":
  35537. description: Internal Server Error
  35538. schema:
  35539. $ref: '#/definitions/app.Response'
  35540. security:
  35541. - ApiKeyAuth: []
  35542. summary: 持仓汇总查询(尚志大宗)
  35543. tags:
  35544. - 定制【尚志大宗】
  35545. /SZDZ/SearchWhite:
  35546. get:
  35547. parameters:
  35548. - description: 用户ID
  35549. in: query
  35550. name: userID
  35551. required: true
  35552. type: integer
  35553. produces:
  35554. - application/json
  35555. responses:
  35556. "200":
  35557. description: OK
  35558. schema:
  35559. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35560. "500":
  35561. description: Internal Server Error
  35562. schema:
  35563. $ref: '#/definitions/app.Response'
  35564. security:
  35565. - ApiKeyAuth: []
  35566. summary: 搜索白名单
  35567. tags:
  35568. - 定制【尚志大宗】
  35569. /Search/SearchGoodses:
  35570. get:
  35571. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35572. parameters:
  35573. - description: 检索内容
  35574. in: query
  35575. name: content
  35576. required: true
  35577. type: string
  35578. - description: 交易模式,格式:1,2,3
  35579. in: query
  35580. name: tradeModes
  35581. type: string
  35582. produces:
  35583. - application/json
  35584. responses:
  35585. "200":
  35586. description: OK
  35587. schema:
  35588. $ref: '#/definitions/models.SearchGoods'
  35589. "500":
  35590. description: Internal Server Error
  35591. schema:
  35592. $ref: '#/definitions/app.Response'
  35593. summary: 检索商品信息
  35594. tags:
  35595. - 检索服务
  35596. /TaAccount/GetTaAccounts:
  35597. get:
  35598. parameters:
  35599. - description: 登录账户
  35600. in: query
  35601. name: loginID
  35602. required: true
  35603. type: integer
  35604. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35605. in: query
  35606. name: taAccountType
  35607. type: integer
  35608. produces:
  35609. - application/json
  35610. responses:
  35611. "200":
  35612. description: OK
  35613. schema:
  35614. $ref: '#/definitions/models.Taaccount'
  35615. "500":
  35616. description: Internal Server Error
  35617. schema:
  35618. $ref: '#/definitions/app.Response'
  35619. security:
  35620. - ApiKeyAuth: []
  35621. summary: 获取资金账户信息
  35622. tags:
  35623. - 资金账户
  35624. /TaAccount/QueryAmountLog:
  35625. get:
  35626. parameters:
  35627. - description: 页码
  35628. in: query
  35629. name: page
  35630. type: integer
  35631. - description: 每页条数
  35632. in: query
  35633. name: pagesize
  35634. type: integer
  35635. - description: 分页标志 0-page从0开始 1-page从1开始
  35636. in: query
  35637. name: pageflag
  35638. type: integer
  35639. - description: 资金账户 - 格式:1,2,3
  35640. in: query
  35641. name: accountID
  35642. required: true
  35643. type: string
  35644. - description: 资金操作类型 - 格式:1,2,3
  35645. in: query
  35646. name: OperateType
  35647. type: string
  35648. produces:
  35649. - application/json
  35650. responses:
  35651. "200":
  35652. description: OK
  35653. schema:
  35654. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35655. "500":
  35656. description: Internal Server Error
  35657. schema:
  35658. $ref: '#/definitions/app.Response'
  35659. security:
  35660. - ApiKeyAuth: []
  35661. summary: 资金流水查询(当前)
  35662. tags:
  35663. - 资金账户
  35664. /TaAccount/QueryHisAmountLog:
  35665. get:
  35666. parameters:
  35667. - description: 页码
  35668. in: query
  35669. name: page
  35670. type: integer
  35671. - description: 每页条数
  35672. in: query
  35673. name: pagesize
  35674. type: integer
  35675. - description: 分页标志 0-page从0开始 1-page从1开始
  35676. in: query
  35677. name: pageflag
  35678. type: integer
  35679. - description: 资金账户 - 格式:1,2,3
  35680. in: query
  35681. name: accountID
  35682. required: true
  35683. type: string
  35684. - description: 资金操作类型 - 格式:1,2,3
  35685. in: query
  35686. name: OperateType
  35687. type: string
  35688. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35689. in: query
  35690. name: startDate
  35691. type: string
  35692. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35693. in: query
  35694. name: endDate
  35695. type: string
  35696. produces:
  35697. - application/json
  35698. responses:
  35699. "200":
  35700. description: OK
  35701. schema:
  35702. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35703. "500":
  35704. description: Internal Server Error
  35705. schema:
  35706. $ref: '#/definitions/app.Response'
  35707. security:
  35708. - ApiKeyAuth: []
  35709. summary: 资金流水查询(历史)
  35710. tags:
  35711. - 资金账户
  35712. /TaAccount/QueryRelatedTaAccount:
  35713. get:
  35714. parameters:
  35715. - description: 关联UserID
  35716. in: query
  35717. name: relateduserid
  35718. required: true
  35719. type: integer
  35720. produces:
  35721. - application/json
  35722. responses:
  35723. "200":
  35724. description: OK
  35725. schema:
  35726. items:
  35727. $ref: '#/definitions/models.RelatedTaAccount'
  35728. type: array
  35729. "500":
  35730. description: Internal Server Error
  35731. schema:
  35732. $ref: '#/definitions/app.Response'
  35733. security:
  35734. - ApiKeyAuth: []
  35735. summary: 查询关联资金账户信息
  35736. tags:
  35737. - 资金账户
  35738. /Tjmd/QueryQuoteGoodsList:
  35739. get:
  35740. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35741. parameters:
  35742. - description: 用户类型
  35743. in: query
  35744. name: usertype
  35745. required: true
  35746. type: integer
  35747. - description: 市场id, 格式 1,2,3
  35748. in: query
  35749. name: marketids
  35750. type: string
  35751. - description: 商品组id
  35752. in: query
  35753. name: goodsgroupid
  35754. type: integer
  35755. - description: 商品id
  35756. in: query
  35757. name: goodsid
  35758. type: integer
  35759. produces:
  35760. - application/json
  35761. responses:
  35762. "200":
  35763. description: OK
  35764. schema:
  35765. items:
  35766. $ref: '#/definitions/models.TjmdQuoteGoods'
  35767. type: array
  35768. "500":
  35769. description: Internal Server Error
  35770. schema:
  35771. $ref: '#/definitions/app.Response'
  35772. security:
  35773. - ApiKeyAuth: []
  35774. summary: 查询掉期报价列表
  35775. tags:
  35776. - 天津麦顿
  35777. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35778. get:
  35779. parameters:
  35780. - description: 成交单号
  35781. in: query
  35782. name: tradeid
  35783. required: true
  35784. type: string
  35785. produces:
  35786. - application/json
  35787. responses:
  35788. "200":
  35789. description: OK
  35790. schema:
  35791. items:
  35792. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35793. type: array
  35794. "500":
  35795. description: Internal Server Error
  35796. schema:
  35797. $ref: '#/definitions/app.Response'
  35798. security:
  35799. - ApiKeyAuth: []
  35800. summary: 掉期商品订单详情(交易确认书)
  35801. tags:
  35802. - 天津麦顿
  35803. /Tjmd/QueryTjmdMarketSection:
  35804. get:
  35805. produces:
  35806. - application/json
  35807. responses:
  35808. "200":
  35809. description: OK
  35810. schema:
  35811. items:
  35812. $ref: '#/definitions/models.TjmdMarketSection'
  35813. type: array
  35814. "500":
  35815. description: Internal Server Error
  35816. schema:
  35817. $ref: '#/definitions/app.Response'
  35818. security:
  35819. - ApiKeyAuth: []
  35820. summary: 查询市场板块
  35821. tags:
  35822. - 天津麦顿
  35823. /Tjmd/QueryTjmdTodayAccountMargin:
  35824. get:
  35825. parameters:
  35826. - description: 市场id
  35827. in: query
  35828. name: marketid
  35829. type: string
  35830. - description: 商品id
  35831. in: query
  35832. name: goodsid
  35833. type: string
  35834. - description: 资金账号
  35835. in: query
  35836. name: accountid
  35837. type: string
  35838. produces:
  35839. - application/json
  35840. responses:
  35841. "200":
  35842. description: OK
  35843. schema:
  35844. items:
  35845. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35846. type: array
  35847. "500":
  35848. description: Internal Server Error
  35849. schema:
  35850. $ref: '#/definitions/app.Response'
  35851. security:
  35852. - ApiKeyAuth: []
  35853. summary: 查询今日账户保证金配置
  35854. tags:
  35855. - 天津麦顿
  35856. /Tjmd/QueryTjmdTradeOrderDetail:
  35857. get:
  35858. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35859. parameters:
  35860. - description: 页码
  35861. in: query
  35862. name: page
  35863. type: integer
  35864. - description: 每页条数
  35865. in: query
  35866. name: pagesize
  35867. type: integer
  35868. - description: 用户id
  35869. in: query
  35870. name: userid
  35871. required: true
  35872. type: integer
  35873. - description: 用户类型
  35874. in: query
  35875. name: usertype
  35876. required: true
  35877. type: integer
  35878. - description: 市场id, 格式 1,2,3
  35879. in: query
  35880. name: marketids
  35881. type: string
  35882. - description: 商品id
  35883. in: query
  35884. name: goodsid
  35885. required: true
  35886. type: integer
  35887. - description: 买卖方向 0-买 1-卖
  35888. in: query
  35889. name: buyorsell
  35890. required: true
  35891. type: integer
  35892. produces:
  35893. - application/json
  35894. responses:
  35895. "200":
  35896. description: OK
  35897. schema:
  35898. items:
  35899. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35900. type: array
  35901. "500":
  35902. description: Internal Server Error
  35903. schema:
  35904. $ref: '#/definitions/app.Response'
  35905. security:
  35906. - ApiKeyAuth: []
  35907. summary: 查询掉期买卖大厅
  35908. tags:
  35909. - 天津麦顿
  35910. /Tjmd/QueryTjmdTransferApply:
  35911. get:
  35912. parameters:
  35913. - description: 类型 1-我的申请 2-对方申请
  35914. in: query
  35915. name: applytype
  35916. required: true
  35917. type: integer
  35918. - description: 市场id, 格式 1,2,3
  35919. in: query
  35920. name: marketids
  35921. type: string
  35922. - description: 资金账号, 格式 25000000001,25000000003
  35923. in: query
  35924. name: accountids
  35925. type: string
  35926. - description: 开始交易日(yyyymmdd)
  35927. in: query
  35928. name: begindate
  35929. type: string
  35930. - description: 结束交易日(yyyymmdd)
  35931. in: query
  35932. name: enddate
  35933. type: string
  35934. produces:
  35935. - application/json
  35936. responses:
  35937. "200":
  35938. description: OK
  35939. schema:
  35940. items:
  35941. $ref: '#/definitions/models.TjmdTransferApply'
  35942. type: array
  35943. "500":
  35944. description: Internal Server Error
  35945. schema:
  35946. $ref: '#/definitions/app.Response'
  35947. security:
  35948. - ApiKeyAuth: []
  35949. summary: 查询掉期协议单
  35950. tags:
  35951. - 天津麦顿
  35952. /Trade/QueryRecieptOrder:
  35953. get:
  35954. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35955. parameters:
  35956. - description: 页码
  35957. in: query
  35958. name: page
  35959. type: integer
  35960. - description: 每页条数
  35961. in: query
  35962. name: pagesize
  35963. type: integer
  35964. - description: 商品ID
  35965. in: query
  35966. name: goodsID
  35967. required: true
  35968. type: integer
  35969. - description: 所属账户名称
  35970. in: query
  35971. name: accountName
  35972. type: string
  35973. - description: 市场ID
  35974. in: query
  35975. name: marketID
  35976. type: integer
  35977. - description: 方向 - 0:买 1:卖
  35978. in: query
  35979. name: buyorsell
  35980. required: true
  35981. type: integer
  35982. produces:
  35983. - application/json
  35984. responses:
  35985. "200":
  35986. description: OK
  35987. schema:
  35988. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  35989. "500":
  35990. description: Internal Server Error
  35991. schema:
  35992. $ref: '#/definitions/app.Response'
  35993. security:
  35994. - ApiKeyAuth: []
  35995. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  35996. tags:
  35997. - 通用交易
  35998. /User/AddMessageBoard:
  35999. post:
  36000. parameters:
  36001. - description: 用户ID
  36002. in: query
  36003. name: userID
  36004. required: true
  36005. type: integer
  36006. - description: 留言信息
  36007. in: query
  36008. name: message
  36009. required: true
  36010. type: string
  36011. - description: 联系电话
  36012. in: query
  36013. name: contactNum
  36014. required: true
  36015. type: string
  36016. produces:
  36017. - application/json
  36018. responses:
  36019. "200":
  36020. description: OK
  36021. schema:
  36022. $ref: '#/definitions/app.Response'
  36023. "500":
  36024. description: Internal Server Error
  36025. schema:
  36026. $ref: '#/definitions/app.Response'
  36027. security:
  36028. - ApiKeyAuth: []
  36029. summary: 添加用户留言板信息
  36030. tags:
  36031. - 用户信息
  36032. /User/AddUserFavoriteGoods:
  36033. post:
  36034. parameters:
  36035. - description: 用户ID
  36036. in: query
  36037. name: userID
  36038. required: true
  36039. type: integer
  36040. - description: 商品ID
  36041. in: query
  36042. name: goodsID
  36043. required: true
  36044. type: integer
  36045. produces:
  36046. - application/json
  36047. responses:
  36048. "200":
  36049. description: OK
  36050. schema:
  36051. $ref: '#/definitions/app.Response'
  36052. "500":
  36053. description: Internal Server Error
  36054. schema:
  36055. $ref: '#/definitions/app.Response'
  36056. security:
  36057. - ApiKeyAuth: []
  36058. summary: 添加用户商品收藏信息
  36059. tags:
  36060. - 用户信息
  36061. /User/GetLoginID:
  36062. get:
  36063. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36064. parameters:
  36065. - description: 登录代码
  36066. in: query
  36067. name: username
  36068. required: true
  36069. type: string
  36070. produces:
  36071. - application/json
  36072. responses:
  36073. "200":
  36074. description: OK
  36075. schema:
  36076. $ref: '#/definitions/app.Response'
  36077. "500":
  36078. description: Internal Server Error
  36079. schema:
  36080. $ref: '#/definitions/app.Response'
  36081. summary: 获取登录ID
  36082. tags:
  36083. - 用户信息
  36084. /User/GetUserAccount:
  36085. get:
  36086. parameters:
  36087. - description: 用户ID
  36088. in: query
  36089. name: userID
  36090. required: true
  36091. type: integer
  36092. produces:
  36093. - application/json
  36094. responses:
  36095. "200":
  36096. description: OK
  36097. schema:
  36098. $ref: '#/definitions/models.Useraccount'
  36099. "500":
  36100. description: Internal Server Error
  36101. schema:
  36102. $ref: '#/definitions/app.Response'
  36103. security:
  36104. - ApiKeyAuth: []
  36105. summary: 获取用户账号信息
  36106. tags:
  36107. - 用户信息
  36108. /User/GetUserAuthStatus:
  36109. get:
  36110. parameters:
  36111. - description: 用户ID
  36112. in: query
  36113. name: userID
  36114. required: true
  36115. type: integer
  36116. produces:
  36117. - application/json
  36118. responses:
  36119. "200":
  36120. description: OK
  36121. schema:
  36122. $ref: '#/definitions/app.Response'
  36123. "500":
  36124. description: Internal Server Error
  36125. schema:
  36126. $ref: '#/definitions/app.Response'
  36127. security:
  36128. - ApiKeyAuth: []
  36129. summary: 获取用户实名认证状态
  36130. tags:
  36131. - 用户信息
  36132. /User/LoginQuery:
  36133. get:
  36134. parameters:
  36135. - description: 登录账号
  36136. in: query
  36137. name: loginID
  36138. required: true
  36139. type: integer
  36140. produces:
  36141. - application/json
  36142. responses:
  36143. "200":
  36144. description: OK
  36145. schema:
  36146. $ref: '#/definitions/user.LoginQueryRsp'
  36147. "500":
  36148. description: Internal Server Error
  36149. schema:
  36150. $ref: '#/definitions/app.Response'
  36151. security:
  36152. - ApiKeyAuth: []
  36153. summary: 账户登录后信息查询
  36154. tags:
  36155. - 用户信息
  36156. /User/QueryMessageBoard:
  36157. get:
  36158. parameters:
  36159. - description: 用户ID
  36160. in: query
  36161. name: userID
  36162. required: true
  36163. type: integer
  36164. produces:
  36165. - application/json
  36166. responses:
  36167. "200":
  36168. description: OK
  36169. schema:
  36170. $ref: '#/definitions/models.Messageboard'
  36171. "500":
  36172. description: Internal Server Error
  36173. schema:
  36174. $ref: '#/definitions/app.Response'
  36175. security:
  36176. - ApiKeyAuth: []
  36177. summary: 获取用户留言板信息
  36178. tags:
  36179. - 用户信息
  36180. /User/QueryUserFavoriteGoodses:
  36181. get:
  36182. parameters:
  36183. - description: 用户ID
  36184. in: query
  36185. name: userID
  36186. required: true
  36187. type: integer
  36188. produces:
  36189. - application/json
  36190. responses:
  36191. "200":
  36192. description: OK
  36193. schema:
  36194. $ref: '#/definitions/models.Userfavoritegoods'
  36195. "500":
  36196. description: Internal Server Error
  36197. schema:
  36198. $ref: '#/definitions/app.Response'
  36199. security:
  36200. - ApiKeyAuth: []
  36201. summary: 获取用户商品收藏信息
  36202. tags:
  36203. - 用户信息
  36204. /User/QueryUserInfo:
  36205. get:
  36206. parameters:
  36207. - description: 用户ID
  36208. in: query
  36209. name: userID
  36210. required: true
  36211. type: integer
  36212. - description: 是否解密
  36213. in: query
  36214. name: isDecrypt
  36215. type: boolean
  36216. produces:
  36217. - application/json
  36218. responses:
  36219. "200":
  36220. description: OK
  36221. schema:
  36222. $ref: '#/definitions/models.Userinfo'
  36223. "500":
  36224. description: Internal Server Error
  36225. schema:
  36226. $ref: '#/definitions/app.Response'
  36227. security:
  36228. - ApiKeyAuth: []
  36229. summary: 获取用户信息
  36230. tags:
  36231. - 用户信息
  36232. /User/QueryUserReferNum:
  36233. get:
  36234. parameters:
  36235. - description: 用户ID
  36236. in: query
  36237. name: userID
  36238. required: true
  36239. type: integer
  36240. produces:
  36241. - application/json
  36242. responses:
  36243. "200":
  36244. description: OK
  36245. schema:
  36246. $ref: '#/definitions/app.Response'
  36247. "500":
  36248. description: Internal Server Error
  36249. schema:
  36250. $ref: '#/definitions/app.Response'
  36251. summary: 获取用户邀请码
  36252. tags:
  36253. - 用户信息
  36254. /User/RemoveUserFavoriteGoods:
  36255. post:
  36256. parameters:
  36257. - description: 用户ID
  36258. in: query
  36259. name: userID
  36260. required: true
  36261. type: integer
  36262. - description: 商品ID
  36263. in: query
  36264. name: goodsID
  36265. required: true
  36266. type: integer
  36267. produces:
  36268. - application/json
  36269. responses:
  36270. "200":
  36271. description: OK
  36272. schema:
  36273. $ref: '#/definitions/app.Response'
  36274. "500":
  36275. description: Internal Server Error
  36276. schema:
  36277. $ref: '#/definitions/app.Response'
  36278. security:
  36279. - ApiKeyAuth: []
  36280. summary: 移除用户商品收藏信息
  36281. tags:
  36282. - 用户信息
  36283. /User/UpdateUserAccountStatus:
  36284. post:
  36285. parameters:
  36286. - description: 用户ID
  36287. in: query
  36288. name: userID
  36289. required: true
  36290. type: integer
  36291. - description: 账户状态 - 4:正常 6:注销(停用)
  36292. in: query
  36293. name: accountStatus
  36294. required: true
  36295. type: integer
  36296. produces:
  36297. - application/json
  36298. responses:
  36299. "200":
  36300. description: OK
  36301. schema:
  36302. $ref: '#/definitions/app.Response'
  36303. "500":
  36304. description: Internal Server Error
  36305. schema:
  36306. $ref: '#/definitions/app.Response'
  36307. security:
  36308. - ApiKeyAuth: []
  36309. summary: 更新用户状态
  36310. tags:
  36311. - 用户信息
  36312. /WRTrade/GetAllDeliveryGoods:
  36313. get:
  36314. produces:
  36315. - application/json
  36316. responses:
  36317. "200":
  36318. description: OK
  36319. schema:
  36320. $ref: '#/definitions/app.Response'
  36321. "500":
  36322. description: Internal Server Error
  36323. schema:
  36324. $ref: '#/definitions/app.Response'
  36325. security:
  36326. - ApiKeyAuth: []
  36327. summary: 获取带仓单分类的种类信息
  36328. tags:
  36329. - 仓单贸易
  36330. - 仓单贸易
  36331. /WrTrade2/InsertXhcpSellBackApply:
  36332. post:
  36333. parameters:
  36334. - description: 回收申请
  36335. in: body
  36336. name: jsonBody
  36337. required: true
  36338. schema:
  36339. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36340. produces:
  36341. - application/json
  36342. responses:
  36343. "200":
  36344. description: OK
  36345. schema:
  36346. $ref: '#/definitions/app.Response'
  36347. "500":
  36348. description: Internal Server Error
  36349. schema:
  36350. $ref: '#/definitions/app.Response'
  36351. security:
  36352. - ApiKeyAuth: []
  36353. summary: 新增回收申请(新会陈皮)
  36354. tags:
  36355. - 仓单贸易v2
  36356. /WrTrade2/QueryDeliveryGoodsSection:
  36357. get:
  36358. produces:
  36359. - application/json
  36360. responses:
  36361. "200":
  36362. description: OK
  36363. schema:
  36364. items:
  36365. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36366. type: array
  36367. "500":
  36368. description: Internal Server Error
  36369. schema:
  36370. $ref: '#/definitions/app.Response'
  36371. security:
  36372. - ApiKeyAuth: []
  36373. summary: 查询板块(分类)
  36374. tags:
  36375. - 仓单贸易v2
  36376. /WrTrade2/QueryFaProductDetail:
  36377. get:
  36378. description: 页面 买卖大厅 -> 选择融资方案
  36379. parameters:
  36380. - description: 仓单要素id
  36381. in: query
  36382. name: wrfactortypeid
  36383. required: true
  36384. type: integer
  36385. produces:
  36386. - application/json
  36387. responses:
  36388. "200":
  36389. description: OK
  36390. schema:
  36391. items:
  36392. $ref: '#/definitions/models.WrFAProductDetail'
  36393. type: array
  36394. "500":
  36395. description: Internal Server Error
  36396. schema:
  36397. $ref: '#/definitions/app.Response'
  36398. security:
  36399. - ApiKeyAuth: []
  36400. summary: 查询融资产品列表
  36401. tags:
  36402. - 仓单贸易v2
  36403. /WrTrade2/QueryFilterItem:
  36404. get:
  36405. parameters:
  36406. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36407. in: query
  36408. name: itype
  36409. required: true
  36410. type: string
  36411. produces:
  36412. - application/json
  36413. responses:
  36414. "200":
  36415. description: OK
  36416. schema:
  36417. items:
  36418. $ref: '#/definitions/models.WrFilterItem'
  36419. type: array
  36420. "500":
  36421. description: Internal Server Error
  36422. schema:
  36423. $ref: '#/definitions/app.Response'
  36424. security:
  36425. - ApiKeyAuth: []
  36426. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36427. tags:
  36428. - 仓单贸易v2
  36429. /WrTrade2/QueryFtDeliveryGoods:
  36430. get:
  36431. produces:
  36432. - application/json
  36433. responses:
  36434. "200":
  36435. description: OK
  36436. schema:
  36437. items:
  36438. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36439. type: array
  36440. "500":
  36441. description: Internal Server Error
  36442. schema:
  36443. $ref: '#/definitions/app.Response'
  36444. security:
  36445. - ApiKeyAuth: []
  36446. summary: 查询品种品类筛选框列表
  36447. tags:
  36448. - 仓单贸易v2
  36449. /WrTrade2/QueryHoldLB:
  36450. get:
  36451. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36452. parameters:
  36453. - description: 资金账号
  36454. in: query
  36455. name: accountid
  36456. required: true
  36457. type: integer
  36458. - description: 仓库id
  36459. in: query
  36460. name: warehouseid
  36461. type: integer
  36462. - description: 品种id
  36463. in: query
  36464. name: deliverygoodsid
  36465. type: integer
  36466. - description: 品类id
  36467. in: query
  36468. name: wrstandardid
  36469. type: integer
  36470. - description: 仓单要素id
  36471. in: query
  36472. name: wrfactortypeid
  36473. type: integer
  36474. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36475. in: query
  36476. name: dgitemname
  36477. type: string
  36478. produces:
  36479. - application/json
  36480. responses:
  36481. "200":
  36482. description: OK
  36483. schema:
  36484. items:
  36485. $ref: '#/definitions/models.WrHoldLB'
  36486. type: array
  36487. "500":
  36488. description: Internal Server Error
  36489. schema:
  36490. $ref: '#/definitions/app.Response'
  36491. security:
  36492. - ApiKeyAuth: []
  36493. summary: 查询仓单持有记录
  36494. tags:
  36495. - 仓单贸易v2
  36496. /WrTrade2/QueryOrderQuote:
  36497. get:
  36498. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36499. 唯一确定1条记录
  36500. parameters:
  36501. - description: 页码
  36502. in: query
  36503. name: page
  36504. type: integer
  36505. - description: 每页条数
  36506. in: query
  36507. name: pagesize
  36508. type: integer
  36509. - description: 仓单贸易市场id
  36510. in: query
  36511. name: marketid
  36512. type: integer
  36513. - description: 价格方式 - 1:固定价 2-浮动价
  36514. in: query
  36515. name: wrpricetype
  36516. required: true
  36517. type: integer
  36518. - description: 0:仓单预售 1:仓单贸易
  36519. in: query
  36520. name: haswr
  36521. type: integer
  36522. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36523. in: query
  36524. name: dgitemname
  36525. type: string
  36526. - description: 仓库id(筛选条件)
  36527. in: query
  36528. name: warehouseid
  36529. type: integer
  36530. - description: 品种id
  36531. in: query
  36532. name: deliverygoodsid
  36533. type: integer
  36534. - description: 品类id
  36535. in: query
  36536. name: wrstandardid
  36537. type: integer
  36538. - description: 品牌id(dgfactoryitemid)
  36539. in: query
  36540. name: brandid
  36541. type: integer
  36542. - description: 年份id(dgfactoryitemid)
  36543. in: query
  36544. name: yearsid
  36545. type: integer
  36546. - description: 仓单要素id
  36547. in: query
  36548. name: wrfactortypeid
  36549. type: integer
  36550. - description: 交收月(yyyy-mm) 仓单预售填写
  36551. in: query
  36552. name: deliverymonth
  36553. type: string
  36554. produces:
  36555. - application/json
  36556. responses:
  36557. "200":
  36558. description: OK
  36559. schema:
  36560. items:
  36561. $ref: '#/definitions/models.WrOrderQuote'
  36562. type: array
  36563. "500":
  36564. description: Internal Server Error
  36565. schema:
  36566. $ref: '#/definitions/app.Response'
  36567. security:
  36568. - ApiKeyAuth: []
  36569. summary: 查询大厅行情列表
  36570. tags:
  36571. - 仓单贸易v2
  36572. /WrTrade2/QueryOrderQuoteDetail:
  36573. get:
  36574. parameters:
  36575. - description: 页码
  36576. in: query
  36577. name: page
  36578. type: integer
  36579. - description: 每页条数
  36580. in: query
  36581. name: pagesize
  36582. type: integer
  36583. - description: 仓单贸易市场id
  36584. in: query
  36585. name: marketid
  36586. type: integer
  36587. - description: 价格方式 - 1:固定价 2-浮动价
  36588. in: query
  36589. name: wrpricetype
  36590. required: true
  36591. type: integer
  36592. - description: 0:仓单预售 1:仓单贸易
  36593. in: query
  36594. name: haswr
  36595. type: integer
  36596. - description: 仓单要素id
  36597. in: query
  36598. name: wrfactortypeid
  36599. required: true
  36600. type: integer
  36601. - description: 期货商品id(浮动价方式时填)
  36602. in: query
  36603. name: goodsid
  36604. type: integer
  36605. - description: 买卖方向 0-买 1-卖
  36606. in: query
  36607. name: buyorsell
  36608. required: true
  36609. type: integer
  36610. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36611. in: query
  36612. name: deliverymonth
  36613. type: string
  36614. produces:
  36615. - application/json
  36616. responses:
  36617. "200":
  36618. description: OK
  36619. schema:
  36620. items:
  36621. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36622. type: array
  36623. "500":
  36624. description: Internal Server Error
  36625. schema:
  36626. $ref: '#/definitions/app.Response'
  36627. security:
  36628. - ApiKeyAuth: []
  36629. summary: 查询买卖大厅
  36630. tags:
  36631. - 仓单贸易v2
  36632. /WrTrade2/QueryOrderQuoteMyq:
  36633. get:
  36634. parameters:
  36635. - description: 页码
  36636. in: query
  36637. name: page
  36638. type: integer
  36639. - description: 每页条数
  36640. in: query
  36641. name: pagesize
  36642. type: integer
  36643. - description: 用户id
  36644. in: query
  36645. name: userid
  36646. required: true
  36647. type: integer
  36648. - description: 仓单贸易市场id
  36649. in: query
  36650. name: marketid
  36651. type: integer
  36652. - description: 0:仓单预售 1:仓单贸易
  36653. in: query
  36654. name: haswr
  36655. type: integer
  36656. - description: 买卖方向 0-买 1-卖
  36657. in: query
  36658. name: buyorsell
  36659. required: true
  36660. type: integer
  36661. - description: 品种id
  36662. in: query
  36663. name: deliverygoodsid
  36664. type: integer
  36665. - description: 品类id
  36666. in: query
  36667. name: wrstandardid
  36668. type: integer
  36669. - description: 交收月(yyyy-mm) 仓单预售填写
  36670. in: query
  36671. name: deliverymonth
  36672. type: string
  36673. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36674. in: query
  36675. name: dgitemname
  36676. type: string
  36677. produces:
  36678. - application/json
  36679. responses:
  36680. "200":
  36681. description: OK
  36682. schema:
  36683. items:
  36684. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36685. type: array
  36686. "500":
  36687. description: Internal Server Error
  36688. schema:
  36689. $ref: '#/definitions/app.Response'
  36690. security:
  36691. - ApiKeyAuth: []
  36692. summary: 查询贸易圈挂牌大厅
  36693. tags:
  36694. - 仓单贸易v2
  36695. /WrTrade2/QueryPerformancePlan:
  36696. get:
  36697. parameters:
  36698. - description: 用户id
  36699. in: query
  36700. name: userid
  36701. required: true
  36702. type: integer
  36703. - description: 买卖方向 0-买 1-卖
  36704. in: query
  36705. name: buyorsell
  36706. required: true
  36707. type: integer
  36708. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36709. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36710. in: query
  36711. name: status
  36712. type: string
  36713. - description: 开始交易日(yyyymmdd)
  36714. in: query
  36715. name: begindate
  36716. type: string
  36717. - description: 结束交易日(yyyymmdd)
  36718. in: query
  36719. name: enddate
  36720. type: string
  36721. produces:
  36722. - application/json
  36723. responses:
  36724. "200":
  36725. description: OK
  36726. schema:
  36727. items:
  36728. $ref: '#/definitions/models.WrPerformancePlan'
  36729. type: array
  36730. "500":
  36731. description: Internal Server Error
  36732. schema:
  36733. $ref: '#/definitions/app.Response'
  36734. security:
  36735. - ApiKeyAuth: []
  36736. summary: 查询履约信息
  36737. tags:
  36738. - 仓单贸易v2
  36739. /WrTrade2/QueryPermancePlanTmp:
  36740. get:
  36741. description: |-
  36742. 返回指定用户的模板和公共模板(用户id为空)
  36743. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36744. parameters:
  36745. - description: 用户id
  36746. in: query
  36747. name: userid
  36748. type: integer
  36749. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36750. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36751. in: query
  36752. name: tmptype
  36753. type: string
  36754. - description: 是否包含公共模板(用户id为空的) 1-包含
  36755. in: query
  36756. name: includepub
  36757. type: integer
  36758. - description: 市场id(天津麦顿指定此参数,其它不用)
  36759. in: query
  36760. name: marketid
  36761. type: integer
  36762. produces:
  36763. - application/json
  36764. responses:
  36765. "200":
  36766. description: OK
  36767. schema:
  36768. items:
  36769. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36770. type: array
  36771. "500":
  36772. description: Internal Server Error
  36773. schema:
  36774. $ref: '#/definitions/app.Response'
  36775. security:
  36776. - ApiKeyAuth: []
  36777. summary: 查询履约模板
  36778. tags:
  36779. - 仓单贸易v2
  36780. /WrTrade2/QuerySiteColumnConfig:
  36781. get:
  36782. parameters:
  36783. - description: 页码
  36784. in: query
  36785. name: page
  36786. type: integer
  36787. - description: 每页条数
  36788. in: query
  36789. name: pagesize
  36790. type: integer
  36791. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36792. in: query
  36793. name: columntype
  36794. type: integer
  36795. produces:
  36796. - application/json
  36797. responses:
  36798. "200":
  36799. description: OK
  36800. schema:
  36801. items:
  36802. $ref: '#/definitions/models.Sitecolumnconfig'
  36803. type: array
  36804. "500":
  36805. description: Internal Server Error
  36806. schema:
  36807. $ref: '#/definitions/app.Response'
  36808. security:
  36809. - ApiKeyAuth: []
  36810. summary: 查询资讯栏目配置
  36811. tags:
  36812. - 仓单贸易v2
  36813. /WrTrade2/QuerySiteColumnDetail:
  36814. get:
  36815. parameters:
  36816. - description: 页码
  36817. in: query
  36818. name: page
  36819. type: integer
  36820. - description: 每页条数
  36821. in: query
  36822. name: pagesize
  36823. type: integer
  36824. - description: 所属栏目id
  36825. in: query
  36826. name: columnid
  36827. type: integer
  36828. produces:
  36829. - application/json
  36830. responses:
  36831. "200":
  36832. description: OK
  36833. schema:
  36834. items:
  36835. $ref: '#/definitions/models.WrSiteColumnDetail'
  36836. type: array
  36837. "500":
  36838. description: Internal Server Error
  36839. schema:
  36840. $ref: '#/definitions/app.Response'
  36841. security:
  36842. - ApiKeyAuth: []
  36843. summary: 查询资讯
  36844. tags:
  36845. - 仓单贸易v2
  36846. /WrTrade2/QuerySpotGroupTradeSum:
  36847. get:
  36848. produces:
  36849. - application/json
  36850. responses:
  36851. "200":
  36852. description: OK
  36853. schema:
  36854. items:
  36855. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36856. type: array
  36857. "500":
  36858. description: Internal Server Error
  36859. schema:
  36860. $ref: '#/definitions/app.Response'
  36861. security:
  36862. - ApiKeyAuth: []
  36863. summary: 查询指数
  36864. tags:
  36865. - 仓单贸易v2
  36866. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36867. get:
  36868. description: 查询的结果将会按日期 从小到大 排序
  36869. parameters:
  36870. - description: 现货商品id
  36871. in: query
  36872. name: deliverygoodsid
  36873. required: true
  36874. type: integer
  36875. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36876. in: query
  36877. name: lastnum
  36878. type: integer
  36879. produces:
  36880. - application/json
  36881. responses:
  36882. "200":
  36883. description: OK
  36884. schema:
  36885. items:
  36886. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36887. type: array
  36888. "500":
  36889. description: Internal Server Error
  36890. schema:
  36891. $ref: '#/definitions/app.Response'
  36892. security:
  36893. - ApiKeyAuth: []
  36894. summary: 查询指数详细(价格走势图)
  36895. tags:
  36896. - 仓单贸易v2
  36897. /WrTrade2/QueryWrAverageTradePrice:
  36898. get:
  36899. parameters:
  36900. - description: 页码
  36901. in: query
  36902. name: page
  36903. type: integer
  36904. - description: 每页条数
  36905. in: query
  36906. name: pagesize
  36907. type: integer
  36908. - description: 0:仓单预售 1:仓单贸易
  36909. in: query
  36910. name: haswr
  36911. required: true
  36912. type: integer
  36913. - description: 仓单要素id
  36914. in: query
  36915. name: wrfactortypeid
  36916. required: true
  36917. type: integer
  36918. produces:
  36919. - application/json
  36920. responses:
  36921. "200":
  36922. description: OK
  36923. schema:
  36924. items:
  36925. $ref: '#/definitions/models.WrAverageTradePrice'
  36926. type: array
  36927. "500":
  36928. description: Internal Server Error
  36929. schema:
  36930. $ref: '#/definitions/app.Response'
  36931. security:
  36932. - ApiKeyAuth: []
  36933. summary: 查询成交价(历史走势)
  36934. tags:
  36935. - 仓单贸易v2
  36936. /WrTrade2/QueryWrBrandAndYears:
  36937. get:
  36938. produces:
  36939. - application/json
  36940. responses:
  36941. "200":
  36942. description: OK
  36943. schema:
  36944. items:
  36945. $ref: '#/definitions/models.WrBrandAndYears'
  36946. type: array
  36947. "500":
  36948. description: Internal Server Error
  36949. schema:
  36950. $ref: '#/definitions/app.Response'
  36951. security:
  36952. - ApiKeyAuth: []
  36953. summary: 查询品牌和年份
  36954. tags:
  36955. - 仓单贸易v2
  36956. /WrTrade2/QueryWrBsGoodsInfo:
  36957. get:
  36958. description: 合约交易/买卖大厅/详情
  36959. parameters:
  36960. - description: 商品id
  36961. in: query
  36962. name: goodsid
  36963. required: true
  36964. type: integer
  36965. produces:
  36966. - application/json
  36967. responses:
  36968. "200":
  36969. description: OK
  36970. schema:
  36971. items:
  36972. $ref: '#/definitions/models.WrBsGoodsInfo'
  36973. type: array
  36974. "500":
  36975. description: Internal Server Error
  36976. schema:
  36977. $ref: '#/definitions/app.Response'
  36978. security:
  36979. - ApiKeyAuth: []
  36980. summary: 查询合约交易买卖大厅详情
  36981. tags:
  36982. - 仓单贸易v2
  36983. /WrTrade2/QueryWrBuybackDetail:
  36984. get:
  36985. parameters:
  36986. - description: 融资合同id
  36987. in: query
  36988. name: scfcontractid
  36989. type: integer
  36990. produces:
  36991. - application/json
  36992. responses:
  36993. "200":
  36994. description: OK
  36995. schema:
  36996. items:
  36997. $ref: '#/definitions/models.WrBuybackDetail'
  36998. type: array
  36999. "500":
  37000. description: Internal Server Error
  37001. schema:
  37002. $ref: '#/definitions/app.Response'
  37003. security:
  37004. - ApiKeyAuth: []
  37005. summary: 查询仓单回购明细
  37006. tags:
  37007. - 仓单贸易v2
  37008. /WrTrade2/QueryWrClientAdSpaceConfig:
  37009. get:
  37010. produces:
  37011. - application/json
  37012. responses:
  37013. "200":
  37014. description: OK
  37015. schema:
  37016. items:
  37017. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  37018. type: array
  37019. "500":
  37020. description: Internal Server Error
  37021. schema:
  37022. $ref: '#/definitions/app.Response'
  37023. security:
  37024. - ApiKeyAuth: []
  37025. summary: 查询固定广告配置
  37026. tags:
  37027. - 仓单贸易v2
  37028. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37029. get:
  37030. parameters:
  37031. - description: 资金账号
  37032. in: query
  37033. name: accountid
  37034. required: true
  37035. type: integer
  37036. - description: 商品id
  37037. in: query
  37038. name: goodsid
  37039. required: true
  37040. type: integer
  37041. produces:
  37042. - application/json
  37043. responses:
  37044. "200":
  37045. description: OK
  37046. schema:
  37047. items:
  37048. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37049. type: array
  37050. "500":
  37051. description: Internal Server Error
  37052. schema:
  37053. $ref: '#/definitions/app.Response'
  37054. security:
  37055. - ApiKeyAuth: []
  37056. summary: 查询合约交收可点选仓单
  37057. tags:
  37058. - 仓单贸易v2
  37059. /WrTrade2/QueryWrDeliveryDetail:
  37060. get:
  37061. parameters:
  37062. - description: 用户id
  37063. in: query
  37064. name: userid
  37065. required: true
  37066. type: integer
  37067. - description: 资金账号id
  37068. in: query
  37069. name: accountid
  37070. type: integer
  37071. - description: 开始交易日(yyyymmdd)
  37072. in: query
  37073. name: begindate
  37074. type: string
  37075. - description: 结束交易日(yyyymmdd)
  37076. in: query
  37077. name: enddate
  37078. type: string
  37079. produces:
  37080. - application/json
  37081. responses:
  37082. "200":
  37083. description: OK
  37084. schema:
  37085. items:
  37086. $ref: '#/definitions/models.WrDeliveryDetail'
  37087. type: array
  37088. "500":
  37089. description: Internal Server Error
  37090. schema:
  37091. $ref: '#/definitions/app.Response'
  37092. security:
  37093. - ApiKeyAuth: []
  37094. summary: 查询交收
  37095. tags:
  37096. - 仓单贸易v2
  37097. /WrTrade2/QueryWrDraftUserInfo:
  37098. get:
  37099. parameters:
  37100. - description: 用户ID
  37101. in: query
  37102. name: userid
  37103. required: true
  37104. type: integer
  37105. - description: 用户状态 1:正常 2:注销
  37106. in: query
  37107. name: userstatus
  37108. type: integer
  37109. produces:
  37110. - application/json
  37111. responses:
  37112. "200":
  37113. description: OK
  37114. schema:
  37115. items:
  37116. $ref: '#/definitions/models.WrDraftUserInfo'
  37117. type: array
  37118. "500":
  37119. description: Internal Server Error
  37120. schema:
  37121. $ref: '#/definitions/app.Response'
  37122. security:
  37123. - ApiKeyAuth: []
  37124. summary: 查询实名认证信息
  37125. tags:
  37126. - 仓单贸易v2
  37127. /WrTrade2/QueryWrFactorTypeInfo:
  37128. get:
  37129. parameters:
  37130. - description: 仓单要素id
  37131. in: query
  37132. name: wrfactortypeid
  37133. required: true
  37134. type: integer
  37135. produces:
  37136. - application/json
  37137. responses:
  37138. "200":
  37139. description: OK
  37140. schema:
  37141. items:
  37142. $ref: '#/definitions/models.WrFactorTypeInfo'
  37143. type: array
  37144. "500":
  37145. description: Internal Server Error
  37146. schema:
  37147. $ref: '#/definitions/app.Response'
  37148. security:
  37149. - ApiKeyAuth: []
  37150. summary: 查询仓单要素详细信息
  37151. tags:
  37152. - 仓单贸易v2
  37153. /WrTrade2/QueryWrFactorTypeInfoEx:
  37154. get:
  37155. parameters:
  37156. - description: 仓单要素id
  37157. in: query
  37158. name: wrfactortypeid
  37159. required: true
  37160. type: integer
  37161. produces:
  37162. - application/json
  37163. responses:
  37164. "200":
  37165. description: OK
  37166. schema:
  37167. items:
  37168. $ref: '#/definitions/models.WrTypeItem'
  37169. type: array
  37170. "500":
  37171. description: Internal Server Error
  37172. schema:
  37173. $ref: '#/definitions/app.Response'
  37174. security:
  37175. - ApiKeyAuth: []
  37176. summary: 查询仓单要素详细信息列表项
  37177. tags:
  37178. - 仓单贸易v2
  37179. /WrTrade2/QueryWrFinanceBuyApply:
  37180. get:
  37181. description: 页面 融资信息+ / 申请单
  37182. parameters:
  37183. - description: 用户id
  37184. in: query
  37185. name: userid
  37186. required: true
  37187. type: integer
  37188. produces:
  37189. - application/json
  37190. responses:
  37191. "200":
  37192. description: OK
  37193. schema:
  37194. items:
  37195. $ref: '#/definitions/models.WrFinanceBuyApply'
  37196. type: array
  37197. "500":
  37198. description: Internal Server Error
  37199. schema:
  37200. $ref: '#/definitions/app.Response'
  37201. security:
  37202. - ApiKeyAuth: []
  37203. summary: 查询融资购买申请
  37204. tags:
  37205. - 仓单贸易v2
  37206. /WrTrade2/QueryWrFriendApply:
  37207. get:
  37208. parameters:
  37209. - description: 用户id
  37210. in: query
  37211. name: userid
  37212. required: true
  37213. type: integer
  37214. produces:
  37215. - application/json
  37216. responses:
  37217. "200":
  37218. description: OK
  37219. schema:
  37220. items:
  37221. $ref: '#/definitions/models.WrFriendApply'
  37222. type: array
  37223. "500":
  37224. description: Internal Server Error
  37225. schema:
  37226. $ref: '#/definitions/app.Response'
  37227. security:
  37228. - ApiKeyAuth: []
  37229. summary: 查询好友申请记录
  37230. tags:
  37231. - 仓单贸易v2
  37232. /WrTrade2/QueryWrGoodsInfo:
  37233. get:
  37234. parameters:
  37235. - description: 仓单贸易市场id
  37236. in: query
  37237. name: marketid
  37238. type: integer
  37239. - description: 0:仓单预售 1:仓单贸易
  37240. in: query
  37241. name: haswr
  37242. required: true
  37243. type: integer
  37244. - description: 仓单要素id
  37245. in: query
  37246. name: wrfactortypeid
  37247. required: true
  37248. type: integer
  37249. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37250. in: query
  37251. name: tmplateid
  37252. type: integer
  37253. produces:
  37254. - application/json
  37255. responses:
  37256. "200":
  37257. description: OK
  37258. schema:
  37259. items:
  37260. $ref: '#/definitions/models.WrGoodsInfo'
  37261. type: array
  37262. "500":
  37263. description: Internal Server Error
  37264. schema:
  37265. $ref: '#/definitions/app.Response'
  37266. security:
  37267. - ApiKeyAuth: []
  37268. summary: 查询仓单商品信息
  37269. tags:
  37270. - 仓单贸易v2
  37271. /WrTrade2/QueryWrMarketTradeConfig:
  37272. get:
  37273. parameters:
  37274. - description: 市场id
  37275. in: query
  37276. name: marketid
  37277. type: integer
  37278. produces:
  37279. - application/json
  37280. responses:
  37281. "200":
  37282. description: OK
  37283. schema:
  37284. items:
  37285. $ref: '#/definitions/models.WrMarketTradeConfig'
  37286. type: array
  37287. "500":
  37288. description: Internal Server Error
  37289. schema:
  37290. $ref: '#/definitions/app.Response'
  37291. security:
  37292. - ApiKeyAuth: []
  37293. summary: 查询市场交易参数配置
  37294. tags:
  37295. - 仓单贸易v2
  37296. /WrTrade2/QueryWrOrderDetail:
  37297. get:
  37298. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37299. parameters:
  37300. - description: 页码
  37301. in: query
  37302. name: page
  37303. type: integer
  37304. - description: 每页条数
  37305. in: query
  37306. name: pagesize
  37307. type: integer
  37308. - description: 用户id
  37309. in: query
  37310. name: userid
  37311. required: true
  37312. type: integer
  37313. - description: 仓单贸易市场id
  37314. in: query
  37315. name: marketid
  37316. type: integer
  37317. - description: 0:仓单预售 1:仓单贸易
  37318. in: query
  37319. name: haswr
  37320. required: true
  37321. type: integer
  37322. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37323. in: query
  37324. name: bcancel
  37325. type: integer
  37326. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37327. in: query
  37328. name: wrtradetype
  37329. type: integer
  37330. - description: 开始交易日(yyyymmdd)
  37331. in: query
  37332. name: begindate
  37333. type: string
  37334. - description: 结束交易日(yyyymmdd)
  37335. in: query
  37336. name: enddate
  37337. type: string
  37338. produces:
  37339. - application/json
  37340. responses:
  37341. "200":
  37342. description: OK
  37343. schema:
  37344. items:
  37345. $ref: '#/definitions/models.WrOrderDetail'
  37346. type: array
  37347. "500":
  37348. description: Internal Server Error
  37349. schema:
  37350. $ref: '#/definitions/app.Response'
  37351. security:
  37352. - ApiKeyAuth: []
  37353. summary: 查询仓单委托单
  37354. tags:
  37355. - 仓单贸易v2
  37356. /WrTrade2/QueryWrOutInApply:
  37357. get:
  37358. parameters:
  37359. - description: 页码
  37360. in: query
  37361. name: page
  37362. type: integer
  37363. - description: 每页条数
  37364. in: query
  37365. name: pagesize
  37366. type: integer
  37367. - description: 用户id
  37368. in: query
  37369. name: userid
  37370. required: true
  37371. type: integer
  37372. - description: 开始交易日(yyyymmdd)
  37373. in: query
  37374. name: begindate
  37375. type: string
  37376. - description: 结束交易日(yyyymmdd)
  37377. in: query
  37378. name: enddate
  37379. type: string
  37380. produces:
  37381. - application/json
  37382. responses:
  37383. "200":
  37384. description: OK
  37385. schema:
  37386. items:
  37387. $ref: '#/definitions/models.WrOutInApply'
  37388. type: array
  37389. "500":
  37390. description: Internal Server Error
  37391. schema:
  37392. $ref: '#/definitions/app.Response'
  37393. security:
  37394. - ApiKeyAuth: []
  37395. summary: 查询提货申请
  37396. tags:
  37397. - 仓单贸易v2
  37398. /WrTrade2/QueryWrPerformancePlanStep:
  37399. get:
  37400. parameters:
  37401. - description: 履约计划id(performanceplanid)
  37402. in: query
  37403. name: planid
  37404. required: true
  37405. type: integer
  37406. - description: 当前步骤id
  37407. in: query
  37408. name: curstepid
  37409. type: integer
  37410. produces:
  37411. - application/json
  37412. responses:
  37413. "200":
  37414. description: OK
  37415. schema:
  37416. items:
  37417. $ref: '#/definitions/models.WrPerformancePlanStep'
  37418. type: array
  37419. "500":
  37420. description: Internal Server Error
  37421. schema:
  37422. $ref: '#/definitions/app.Response'
  37423. security:
  37424. - ApiKeyAuth: []
  37425. summary: 查询履约信息详情
  37426. tags:
  37427. - 仓单贸易v2
  37428. /WrTrade2/QueryWrPerformanceStepType:
  37429. get:
  37430. produces:
  37431. - application/json
  37432. responses:
  37433. "200":
  37434. description: OK
  37435. schema:
  37436. items:
  37437. $ref: '#/definitions/models.WrPerformanceStepType'
  37438. type: array
  37439. "500":
  37440. description: Internal Server Error
  37441. schema:
  37442. $ref: '#/definitions/app.Response'
  37443. security:
  37444. - ApiKeyAuth: []
  37445. summary: 查询履约步骤枚举
  37446. tags:
  37447. - 仓单贸易v2
  37448. /WrTrade2/QueryWrPosition:
  37449. get:
  37450. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37451. parameters:
  37452. - description: 用户id
  37453. in: query
  37454. name: userid
  37455. required: true
  37456. type: integer
  37457. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37458. in: query
  37459. name: querytype
  37460. required: true
  37461. type: integer
  37462. - description: 0:仓单预售 1:仓单贸易
  37463. in: query
  37464. name: haswr
  37465. required: true
  37466. type: integer
  37467. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37468. in: query
  37469. name: dgitemname
  37470. type: string
  37471. - description: 仓库id(筛选条件)
  37472. in: query
  37473. name: warehouseid
  37474. type: integer
  37475. - description: 品种id
  37476. in: query
  37477. name: deliverygoodsid
  37478. type: integer
  37479. - description: 品类id
  37480. in: query
  37481. name: wrstandardid
  37482. type: integer
  37483. produces:
  37484. - application/json
  37485. responses:
  37486. "200":
  37487. description: OK
  37488. schema:
  37489. items:
  37490. $ref: '#/definitions/models.WrPosition'
  37491. type: array
  37492. "500":
  37493. description: Internal Server Error
  37494. schema:
  37495. $ref: '#/definitions/app.Response'
  37496. security:
  37497. - ApiKeyAuth: []
  37498. summary: 查询现货(预售)仓单持仓
  37499. tags:
  37500. - 仓单贸易v2
  37501. /WrTrade2/QueryWrPreSaleInfo:
  37502. get:
  37503. parameters:
  37504. - description: 市场id
  37505. in: query
  37506. name: marketid
  37507. type: integer
  37508. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37509. in: query
  37510. name: presalestatus
  37511. type: string
  37512. - description: 摇号标识 - 0:未摇号 1:已摇号
  37513. in: query
  37514. name: lotteryflag
  37515. type: integer
  37516. - description: 最近多少条记录(按创建时间倒序)
  37517. in: query
  37518. name: lastnum
  37519. type: integer
  37520. produces:
  37521. - application/json
  37522. responses:
  37523. "200":
  37524. description: OK
  37525. schema:
  37526. items:
  37527. $ref: '#/definitions/models.WrPreSaleInfo'
  37528. type: array
  37529. "500":
  37530. description: Internal Server Error
  37531. schema:
  37532. $ref: '#/definitions/app.Response'
  37533. security:
  37534. - ApiKeyAuth: []
  37535. summary: 查询新品发布
  37536. tags:
  37537. - 仓单贸易v2
  37538. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37539. get:
  37540. parameters:
  37541. - description: 市场id
  37542. in: query
  37543. name: marketid
  37544. required: true
  37545. type: integer
  37546. - description: 现货商品id
  37547. in: query
  37548. name: wrstandardid
  37549. required: true
  37550. type: integer
  37551. - description: 开始交易日(yyyymmdd)
  37552. in: query
  37553. name: begindate
  37554. type: string
  37555. - description: 结束交易日(yyyymmdd)
  37556. in: query
  37557. name: enddate
  37558. type: string
  37559. - description: 最近多少条记录(按交易日倒序)
  37560. in: query
  37561. name: lastnum
  37562. type: integer
  37563. - description: 是否今日
  37564. in: query
  37565. name: istoday
  37566. type: boolean
  37567. produces:
  37568. - application/json
  37569. responses:
  37570. "200":
  37571. description: OK
  37572. schema:
  37573. items:
  37574. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37575. type: array
  37576. "500":
  37577. description: Internal Server Error
  37578. schema:
  37579. $ref: '#/definitions/app.Response'
  37580. security:
  37581. - ApiKeyAuth: []
  37582. summary: 查询价格走势
  37583. tags:
  37584. - 仓单贸易v2
  37585. /WrTrade2/QueryWrScfContract:
  37586. get:
  37587. parameters:
  37588. - description: 用户id
  37589. in: query
  37590. name: userid
  37591. required: true
  37592. type: integer
  37593. - description: 融资合同id
  37594. in: query
  37595. name: scfcontractid
  37596. type: integer
  37597. produces:
  37598. - application/json
  37599. responses:
  37600. "200":
  37601. description: OK
  37602. schema:
  37603. items:
  37604. $ref: '#/definitions/models.WrScfContract'
  37605. type: array
  37606. "500":
  37607. description: Internal Server Error
  37608. schema:
  37609. $ref: '#/definitions/app.Response'
  37610. security:
  37611. - ApiKeyAuth: []
  37612. summary: 查询仓单贸易融资合同
  37613. tags:
  37614. - 仓单贸易v2
  37615. /WrTrade2/QueryWrScfContractInterest:
  37616. get:
  37617. parameters:
  37618. - description: 融资合同id
  37619. in: query
  37620. name: scfcontractid
  37621. type: integer
  37622. produces:
  37623. - application/json
  37624. responses:
  37625. "200":
  37626. description: OK
  37627. schema:
  37628. items:
  37629. $ref: '#/definitions/models.WrScfContractInterest'
  37630. type: array
  37631. "500":
  37632. description: Internal Server Error
  37633. schema:
  37634. $ref: '#/definitions/app.Response'
  37635. security:
  37636. - ApiKeyAuth: []
  37637. summary: 查询融资合同费用明细
  37638. tags:
  37639. - 仓单贸易v2
  37640. /WrTrade2/QueryWrSearchUser:
  37641. get:
  37642. parameters:
  37643. - description: 用户名称(模糊匹配)
  37644. in: query
  37645. name: username
  37646. required: true
  37647. type: string
  37648. produces:
  37649. - application/json
  37650. responses:
  37651. "200":
  37652. description: OK
  37653. schema:
  37654. items:
  37655. $ref: '#/definitions/models.WrSearchUser'
  37656. type: array
  37657. "500":
  37658. description: Internal Server Error
  37659. schema:
  37660. $ref: '#/definitions/app.Response'
  37661. security:
  37662. - ApiKeyAuth: []
  37663. summary: 查询用户
  37664. tags:
  37665. - 仓单贸易v2
  37666. /WrTrade2/QueryWrSpecialMatchOrder:
  37667. get:
  37668. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37669. parameters:
  37670. - description: 页码
  37671. in: query
  37672. name: page
  37673. type: integer
  37674. - description: 每页条数
  37675. in: query
  37676. name: pagesize
  37677. type: integer
  37678. - description: 用户id
  37679. in: query
  37680. name: userid
  37681. required: true
  37682. type: integer
  37683. - description: 仓单贸易市场id
  37684. in: query
  37685. name: marketid
  37686. type: integer
  37687. - description: 0:仓单预售 1:仓单贸易
  37688. in: query
  37689. name: haswr
  37690. required: true
  37691. type: integer
  37692. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37693. in: query
  37694. name: isspecified
  37695. type: integer
  37696. produces:
  37697. - application/json
  37698. responses:
  37699. "200":
  37700. description: OK
  37701. schema:
  37702. items:
  37703. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37704. type: array
  37705. "500":
  37706. description: Internal Server Error
  37707. schema:
  37708. $ref: '#/definitions/app.Response'
  37709. security:
  37710. - ApiKeyAuth: []
  37711. summary: 查询指定成交
  37712. tags:
  37713. - 仓单贸易v2
  37714. /WrTrade2/QueryWrStandardFactoryItem:
  37715. get:
  37716. parameters:
  37717. - description: 品类id
  37718. in: query
  37719. name: wrstandardid
  37720. required: true
  37721. type: integer
  37722. produces:
  37723. - application/json
  37724. responses:
  37725. "200":
  37726. description: OK
  37727. schema:
  37728. items:
  37729. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37730. type: array
  37731. "500":
  37732. description: Internal Server Error
  37733. schema:
  37734. $ref: '#/definitions/app.Response'
  37735. security:
  37736. - ApiKeyAuth: []
  37737. summary: 查询品类要素定义项
  37738. tags:
  37739. - 仓单贸易v2
  37740. /WrTrade2/QueryWrTradeBargainApply:
  37741. get:
  37742. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37743. 议价->对方议价 填写matchuserid=登录用户id
  37744. parameters:
  37745. - description: 议价人id(摘牌方)
  37746. in: query
  37747. name: userid
  37748. type: integer
  37749. - description: 挂牌方id(查对方议价时,填写此项)
  37750. in: query
  37751. name: matchuserid
  37752. type: integer
  37753. - description: 关联委托单id
  37754. in: query
  37755. name: wrtradeorderid
  37756. type: integer
  37757. - description: 0:仓单预售 1:仓单贸易
  37758. in: query
  37759. name: haswr
  37760. required: true
  37761. type: integer
  37762. - description: 开始交易日(yyyymmdd)
  37763. in: query
  37764. name: begindate
  37765. type: string
  37766. - description: 结束交易日(yyyymmdd)
  37767. in: query
  37768. name: enddate
  37769. type: string
  37770. produces:
  37771. - application/json
  37772. responses:
  37773. "200":
  37774. description: OK
  37775. schema:
  37776. items:
  37777. $ref: '#/definitions/models.WRTradeBargainApply'
  37778. type: array
  37779. "500":
  37780. description: Internal Server Error
  37781. schema:
  37782. $ref: '#/definitions/app.Response'
  37783. security:
  37784. - ApiKeyAuth: []
  37785. summary: 查询议价单
  37786. tags:
  37787. - 仓单贸易v2
  37788. /WrTrade2/QueryWrTradeDetail:
  37789. get:
  37790. parameters:
  37791. - description: 页码
  37792. in: query
  37793. name: page
  37794. type: integer
  37795. - description: 每页条数
  37796. in: query
  37797. name: pagesize
  37798. type: integer
  37799. - description: 用户id
  37800. in: query
  37801. name: userid
  37802. required: true
  37803. type: integer
  37804. - description: 仓单贸易市场id
  37805. in: query
  37806. name: marketid
  37807. type: integer
  37808. - description: 0:仓单预售 1:仓单贸易
  37809. in: query
  37810. name: haswr
  37811. required: true
  37812. type: integer
  37813. - description: 开始交易日(yyyymmdd)
  37814. in: query
  37815. name: begindate
  37816. type: string
  37817. - description: 结束交易日(yyyymmdd)
  37818. in: query
  37819. name: enddate
  37820. type: string
  37821. produces:
  37822. - application/json
  37823. responses:
  37824. "200":
  37825. description: OK
  37826. schema:
  37827. items:
  37828. $ref: '#/definitions/models.WrTradeDetail'
  37829. type: array
  37830. "500":
  37831. description: Internal Server Error
  37832. schema:
  37833. $ref: '#/definitions/app.Response'
  37834. security:
  37835. - ApiKeyAuth: []
  37836. summary: 查询仓单成交明细
  37837. tags:
  37838. - 仓单贸易v2
  37839. /WrTrade2/QueryWrTradeOrderDetail:
  37840. get:
  37841. parameters:
  37842. - description: 页码
  37843. in: query
  37844. name: page
  37845. type: integer
  37846. - description: 每页条数
  37847. in: query
  37848. name: pagesize
  37849. type: integer
  37850. - description: 商品id
  37851. in: query
  37852. name: goodsid
  37853. required: true
  37854. type: integer
  37855. - description: 买卖方向 0-买 1-卖
  37856. in: query
  37857. name: buyorsell
  37858. required: true
  37859. type: integer
  37860. produces:
  37861. - application/json
  37862. responses:
  37863. "200":
  37864. description: OK
  37865. schema:
  37866. items:
  37867. $ref: '#/definitions/models.WrTradeOrderDetail'
  37868. type: array
  37869. "500":
  37870. description: Internal Server Error
  37871. schema:
  37872. $ref: '#/definitions/app.Response'
  37873. security:
  37874. - ApiKeyAuth: []
  37875. summary: 查询合约交易买卖大厅
  37876. tags:
  37877. - 仓单贸易v2
  37878. /WrTrade2/QueryWrTradeQuote:
  37879. get:
  37880. parameters:
  37881. - description: 现货商品id
  37882. in: query
  37883. name: wrstandardid
  37884. required: true
  37885. type: integer
  37886. - description: 开始日期(yyyymmdd)
  37887. in: query
  37888. name: begindate
  37889. required: true
  37890. type: string
  37891. - description: 结束日期(yyyymmdd)
  37892. in: query
  37893. name: enddate
  37894. required: true
  37895. type: string
  37896. - description: 市场id
  37897. in: query
  37898. name: marketid
  37899. type: integer
  37900. produces:
  37901. - application/json
  37902. responses:
  37903. "200":
  37904. description: OK
  37905. schema:
  37906. items:
  37907. $ref: '#/definitions/models.Wrtradetradequote'
  37908. type: array
  37909. "500":
  37910. description: Internal Server Error
  37911. schema:
  37912. $ref: '#/definitions/app.Response'
  37913. security:
  37914. - ApiKeyAuth: []
  37915. summary: 查询仓单贸易成交行情
  37916. tags:
  37917. - 仓单贸易v2
  37918. /WrTrade2/QueryWrUserFriend:
  37919. get:
  37920. parameters:
  37921. - description: 用户id
  37922. in: query
  37923. name: userid
  37924. required: true
  37925. type: integer
  37926. - description: 新朋友userid, 如果填写了此项则查找新朋友
  37927. in: query
  37928. name: newuserid
  37929. type: integer
  37930. produces:
  37931. - application/json
  37932. responses:
  37933. "200":
  37934. description: OK
  37935. schema:
  37936. items:
  37937. $ref: '#/definitions/models.WrUserFriend'
  37938. type: array
  37939. "500":
  37940. description: Internal Server Error
  37941. schema:
  37942. $ref: '#/definitions/app.Response'
  37943. security:
  37944. - ApiKeyAuth: []
  37945. summary: 查询我的朋友
  37946. tags:
  37947. - 仓单贸易v2
  37948. /WrTrade2/QueryWrUserReceiptInfo:
  37949. get:
  37950. parameters:
  37951. - description: 用户id
  37952. in: query
  37953. name: userid
  37954. type: integer
  37955. - description: 发票类型 - 1:个人 2:企业
  37956. in: query
  37957. name: receipttype
  37958. type: integer
  37959. produces:
  37960. - application/json
  37961. responses:
  37962. "200":
  37963. description: OK
  37964. schema:
  37965. items:
  37966. $ref: '#/definitions/models.WrUserReceiptInfo'
  37967. type: array
  37968. "500":
  37969. description: Internal Server Error
  37970. schema:
  37971. $ref: '#/definitions/app.Response'
  37972. security:
  37973. - ApiKeyAuth: []
  37974. summary: 查询发票信息
  37975. tags:
  37976. - 仓单贸易v2
  37977. /WrTrade2/QueryXhcpSellBackApply:
  37978. get:
  37979. parameters:
  37980. - description: 用户ID
  37981. in: query
  37982. name: userid
  37983. required: true
  37984. type: integer
  37985. produces:
  37986. - application/json
  37987. responses:
  37988. "200":
  37989. description: OK
  37990. schema:
  37991. items:
  37992. $ref: '#/definitions/models.Xhcpsellbackapply'
  37993. type: array
  37994. "500":
  37995. description: Internal Server Error
  37996. schema:
  37997. $ref: '#/definitions/app.Response'
  37998. security:
  37999. - ApiKeyAuth: []
  38000. summary: 查询我的回收申请(新会陈皮)
  38001. tags:
  38002. - 仓单贸易v2
  38003. /ZJ/GetBankTip:
  38004. get:
  38005. produces:
  38006. - application/json
  38007. responses:
  38008. "200":
  38009. description: OK
  38010. schema:
  38011. type: string
  38012. "500":
  38013. description: Internal Server Error
  38014. schema:
  38015. $ref: '#/definitions/app.Response'
  38016. summary: 获取中江网银端出入金提示信息
  38017. tags:
  38018. - 中江
  38019. /ZJ/GetCusBankChannels:
  38020. get:
  38021. produces:
  38022. - application/json
  38023. responses:
  38024. "200":
  38025. description: OK
  38026. schema:
  38027. items:
  38028. type: string
  38029. type: array
  38030. "500":
  38031. description: Internal Server Error
  38032. schema:
  38033. $ref: '#/definitions/app.Response'
  38034. summary: 获取中江出入金渠道显示列表
  38035. tags:
  38036. - 中江
  38037. securityDefinitions:
  38038. ApiKeyAuth:
  38039. in: header
  38040. name: Authorization
  38041. type: apiKey
  38042. Group:
  38043. in: header
  38044. name: Group
  38045. type: apiKey
  38046. LoginID:
  38047. in: header
  38048. name: LoginID
  38049. type: apiKey
  38050. swagger: "2.0"