swagger.yaml 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. ordertime:
  3848. description: 委托时间
  3849. type: string
  3850. origin:
  3851. description: 原产地
  3852. type: string
  3853. performancetemplateid:
  3854. description: 履约计划模板ID
  3855. type: integer
  3856. remark:
  3857. description: 备注
  3858. type: string
  3859. userid:
  3860. description: 用户ID
  3861. type: integer
  3862. validtime:
  3863. description: 有效期限
  3864. type: string
  3865. warehouseids:
  3866. description: 仓库ID - 多个, 逗号分隔
  3867. type: string
  3868. warehouseinfosdisplay:
  3869. type: string
  3870. wrtradeorderid:
  3871. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3872. type: string
  3873. wrtradeorderstatus:
  3874. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3875. type: integer
  3876. zscategory:
  3877. description: 钻石分类 - 枚举”ZSCategory“
  3878. type: integer
  3879. zscategorydisplay:
  3880. type: string
  3881. zsclaritytype:
  3882. description: 净度 - 两个, 逗号分隔
  3883. type: string
  3884. zsclaritytypedisplay:
  3885. type: string
  3886. zscolortype:
  3887. description: 颜色 - 两个, 逗号分隔
  3888. type: string
  3889. zscolortypedisplay:
  3890. type: string
  3891. zscrystaltype:
  3892. description: 晶型 - 多个,逗号分隔
  3893. type: string
  3894. zscrystaltypedisplay:
  3895. type: string
  3896. zscurrencytype:
  3897. description: 货币类型 - 多个, 逗号分隔
  3898. type: string
  3899. zscurrencytypedisplay:
  3900. type: string
  3901. zscuttype:
  3902. description: 切工 - 两个, 逗号分隔
  3903. type: string
  3904. zscuttypedisplay:
  3905. type: string
  3906. zsczcolor1type:
  3907. description: 彩钻颜色1, 逗号分隔
  3908. type: string
  3909. zsczcolor1typedisplay:
  3910. type: string
  3911. zsczcolor2type:
  3912. description: 彩钻颜色2, 逗号分隔
  3913. type: string
  3914. zsczcolor2typedisplay:
  3915. type: string
  3916. zsczcolor3type:
  3917. description: 彩钻颜色3, 逗号分隔
  3918. type: string
  3919. zsczcolor3typedisplay:
  3920. type: string
  3921. zsfluorescencetype:
  3922. description: 荧光 - 多个, 逗号分隔
  3923. type: string
  3924. zsfluorescencetypedisplay:
  3925. type: string
  3926. zspolishtype:
  3927. description: 抛光度 - 两个, 逗号分隔
  3928. type: string
  3929. zspolishtypedisplay:
  3930. type: string
  3931. zsshapetype:
  3932. description: 形状 - 多个, 逗号分隔
  3933. type: string
  3934. zsshapetypedisplay:
  3935. type: string
  3936. zssize:
  3937. description: 尺寸 - 两个小数, 逗号分隔
  3938. type: string
  3939. zsstyletype:
  3940. description: 款式 - 多个, 逗号分隔
  3941. type: string
  3942. zsstyletypedisplay:
  3943. type: string
  3944. zssymmetrytype:
  3945. description: 对称度 - 两个, 逗号分隔
  3946. type: string
  3947. zssymmetrytypedisplay:
  3948. type: string
  3949. zstabledisplay:
  3950. description: 求购信息
  3951. type: string
  3952. type: object
  3953. models.Clientfixedadconfig:
  3954. properties:
  3955. adsort:
  3956. description: 排序
  3957. type: integer
  3958. adtype:
  3959. description: 广告位类型 - 1:新品抢购(HSBY)
  3960. type: integer
  3961. areauserid:
  3962. description: 所属机构ID
  3963. type: integer
  3964. createdate:
  3965. description: 创建时间
  3966. type: string
  3967. creatorid:
  3968. description: 创建人
  3969. type: integer
  3970. imagepath:
  3971. description: 图片
  3972. type: string
  3973. isshow:
  3974. description: 是否展示 - 0:不展示 1:展示
  3975. type: integer
  3976. modifierid:
  3977. description: 操作人
  3978. type: integer
  3979. recsize:
  3980. description: 推荐尺寸
  3981. type: string
  3982. title:
  3983. description: 标题
  3984. type: string
  3985. updatedate:
  3986. description: 更新时间
  3987. type: string
  3988. urlcontent:
  3989. description: 链接(地址或商品ID)
  3990. type: string
  3991. urltype:
  3992. description: 链接类型 - 1:直接地址 2:商品ID
  3993. type: integer
  3994. required:
  3995. - adsort
  3996. - adtype
  3997. type: object
  3998. models.DgFactoryItem:
  3999. properties:
  4000. dgfactoryitemid:
  4001. description: 选择项ID(SEQ_DGFACTORYITEM)
  4002. type: integer
  4003. dgfactoryitemtypeid:
  4004. description: 要素项类型
  4005. type: integer
  4006. dgfactoryitemvalue:
  4007. description: 要素项值(类型为仓库时填写仓库名称)
  4008. type: string
  4009. orderindex:
  4010. description: 顺序
  4011. type: integer
  4012. type: object
  4013. models.Division:
  4014. properties:
  4015. autoid:
  4016. description: 自增ID
  4017. type: integer
  4018. divisioncode:
  4019. description: 行政代码
  4020. type: string
  4021. divisionlevel:
  4022. description: 行政级别
  4023. type: string
  4024. divisionname:
  4025. description: 行政名称
  4026. type: string
  4027. modifierid:
  4028. description: 修改人
  4029. type: integer
  4030. modifytime:
  4031. description: 修改时间
  4032. type: string
  4033. parentcode:
  4034. description: 上级行政代码
  4035. type: string
  4036. pathname:
  4037. description: 路径名称
  4038. type: string
  4039. postcode:
  4040. description: 邮政编码
  4041. type: string
  4042. separablename:
  4043. description: 可拆分的全称
  4044. type: string
  4045. shortcode:
  4046. description: 地区简码
  4047. type: string
  4048. required:
  4049. - autoid
  4050. - divisioncode
  4051. type: object
  4052. models.Enumdicitem:
  4053. properties:
  4054. autoid:
  4055. description: 自增ID
  4056. type: integer
  4057. bankmappedvalue:
  4058. description: 银行服务对应值
  4059. type: string
  4060. enumdiccode:
  4061. description: 所属枚举代码
  4062. type: string
  4063. enumdicid:
  4064. description: 所属枚举ID
  4065. type: integer
  4066. enumdicname:
  4067. description: 枚举项名称
  4068. type: string
  4069. enumitemname:
  4070. description: 枚举项值
  4071. type: integer
  4072. enumitemstatus:
  4073. description: 枚举项状态 - 1.启用 2.不启用
  4074. type: integer
  4075. enumitemvalue:
  4076. description: 通用值 - [币种通用简写]
  4077. type: string
  4078. param1:
  4079. description: 参数1[币种:币种小数位]
  4080. type: string
  4081. param2:
  4082. description: 参数1[币种:币种显示单位]
  4083. type: string
  4084. remark:
  4085. description: 备注
  4086. type: string
  4087. required:
  4088. - autoid
  4089. - enumdiccode
  4090. - enumdicid
  4091. - enumitemname
  4092. type: object
  4093. models.Ermcp2AreaExposure:
  4094. properties:
  4095. areauserid:
  4096. description: 所属机构
  4097. type: integer
  4098. enumdicname:
  4099. description: 单位
  4100. type: string
  4101. futureqty:
  4102. description: 期货套期量
  4103. type: number
  4104. futureqtychange:
  4105. description: 期货变动量 = FutureQty - OriFutureQty
  4106. type: number
  4107. goodsunitid:
  4108. description: 单位ID
  4109. type: integer
  4110. hedgedspotexposure:
  4111. description: 被套期现货敞口量
  4112. type: number
  4113. hedgedspratio:
  4114. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4115. type: number
  4116. hedgedtotalexposourechange:
  4117. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4118. type: number
  4119. hedgedtotalexposure:
  4120. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4121. type: number
  4122. hedgeplanqty:
  4123. description: 套期计划量
  4124. type: number
  4125. hedgeplanqtychange:
  4126. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4127. type: number
  4128. hedgespotqty:
  4129. description: 被套期现货量
  4130. type: number
  4131. middlegoodsid:
  4132. description: 套保品种
  4133. type: integer
  4134. middlegoodsname:
  4135. description: 套保品种名称
  4136. type: string
  4137. orifutureqty:
  4138. description: 期初期货套期量
  4139. type: number
  4140. orihedgedspotexposure:
  4141. description: 期初被套期现货敞口量
  4142. type: number
  4143. orihedgedtotalexposure:
  4144. description: 期初套期敞口量
  4145. type: number
  4146. orihedgeplanqty:
  4147. description: 期初套期计划量
  4148. type: number
  4149. orihedgespotqty:
  4150. description: 期初被套期现货量
  4151. type: number
  4152. orispotexposure:
  4153. description: 期初现货敞口量
  4154. type: number
  4155. orispotqty:
  4156. description: 期初现货总量
  4157. type: number
  4158. oritotalexposure:
  4159. description: 期初总敞口量
  4160. type: number
  4161. spotexposure:
  4162. description: 现货敞口量
  4163. type: number
  4164. spotqty:
  4165. description: 现货总量
  4166. type: number
  4167. spotqtychange:
  4168. description: 现货变动量 = SpotQty - OriSpotQty
  4169. type: number
  4170. spratio:
  4171. description: 总期现比例 = 期货套期量/现货敞口量
  4172. type: number
  4173. totalexposure:
  4174. description: 总敞口量 = 现货敞口量 + 期货套期量
  4175. type: number
  4176. totalexposurechange:
  4177. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4178. type: number
  4179. updatetime:
  4180. description: 更新时间 --DATE
  4181. type: string
  4182. type: object
  4183. models.Ermcp2hedgeditem:
  4184. properties:
  4185. accountname:
  4186. description: 套期主体
  4187. type: string
  4188. applyid:
  4189. description: 申请人
  4190. type: integer
  4191. applysrc:
  4192. description: 申请来源 - 1:管理端 2:终端
  4193. type: integer
  4194. areauserid:
  4195. description: 企业ID
  4196. type: integer
  4197. auditid:
  4198. description: 审核人
  4199. type: integer
  4200. auditremark:
  4201. description: 审核备注
  4202. type: string
  4203. auditsrc:
  4204. description: 审核来源 - 1:管理端 2:终端
  4205. type: integer
  4206. audittime:
  4207. description: 审核时间
  4208. type: string
  4209. audittradedate:
  4210. description: 审核交易日(yyyyMMdd)
  4211. type: string
  4212. createtime:
  4213. description: 申请时间
  4214. type: string
  4215. curprice:
  4216. description: 当前市场价
  4217. type: number
  4218. curstock:
  4219. description: 期末库存量 = 采购总量 - 销售总量
  4220. type: number
  4221. deliverygoodsid:
  4222. description: 现货品种ID
  4223. type: integer
  4224. enddate:
  4225. description: 完成日期
  4226. type: string
  4227. endtradedate:
  4228. description: 完成交易日
  4229. type: string
  4230. enumdicname:
  4231. description: 单位
  4232. type: string
  4233. exeamount:
  4234. description: 执行市价总额
  4235. type: number
  4236. exeavgprice:
  4237. description: 执行市场均价= 执行市价总额 / 执行现货量
  4238. type: number
  4239. execontractamount:
  4240. description: 执行定价总额
  4241. type: number
  4242. exeqty:
  4243. description: 执行现货量
  4244. type: number
  4245. exerestamount:
  4246. description: 执行剩余市价总额【现货贸易】
  4247. type: number
  4248. futurefloatpl:
  4249. description: 期货浮动损益
  4250. type: number
  4251. futurehedgepl:
  4252. description: 期货实际损益
  4253. type: number
  4254. futurehedgeplchange:
  4255. description: 期货实际损益变动
  4256. type: number
  4257. futurepl:
  4258. description: 期货套期损益
  4259. type: number
  4260. futureplchange:
  4261. description: 期货套期损益变动
  4262. type: number
  4263. hedgeamount:
  4264. description: 套期市价总额
  4265. type: number
  4266. hedgecontractamount:
  4267. description: 套期定价总额 【定价采购合同】【现货贸易】
  4268. type: number
  4269. hedgeditemid:
  4270. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4271. type: string
  4272. hedgeditemname:
  4273. description: 项目名称
  4274. type: string
  4275. hedgeditemnum:
  4276. description: 项目编号
  4277. type: string
  4278. hedgeditemstatus:
  4279. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4280. type: integer
  4281. hedgedtype:
  4282. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4283. type: integer
  4284. hedgeqty:
  4285. description: 套期现货量
  4286. type: number
  4287. hedgerate:
  4288. description: 套保比率
  4289. type: number
  4290. hedgerestamount:
  4291. description: 套期剩余市价总额【现货贸易】
  4292. type: number
  4293. hedgesumpl:
  4294. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4295. type: number
  4296. middlegoodslist:
  4297. description: 套期商品列表
  4298. items:
  4299. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4300. type: array
  4301. oriavgprice:
  4302. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4303. type: number
  4304. orifuturehedgepl:
  4305. description: 期初期货实际损益
  4306. type: number
  4307. orifuturepl:
  4308. description: 期初期货套期损益
  4309. type: number
  4310. orispothedgepl:
  4311. description: 期初现货实际损益
  4312. type: number
  4313. orispotpl:
  4314. description: 期初现货套期损益
  4315. type: number
  4316. planenddate:
  4317. description: 计划结束日期
  4318. type: string
  4319. planstartdate:
  4320. description: 计划开始日期
  4321. type: string
  4322. remark:
  4323. description: 备注
  4324. type: string
  4325. spotbookamount:
  4326. description: 现货账面总额
  4327. type: number
  4328. spotfloatpl:
  4329. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4330. type: number
  4331. spothedgepl:
  4332. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4333. type: number
  4334. spothedgeplchange:
  4335. description: 现货实际损益变动
  4336. type: number
  4337. spotpl:
  4338. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4339. type: number
  4340. spotplchange:
  4341. description: 现货套期损益变动
  4342. type: number
  4343. spottradepl:
  4344. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4345. type: number
  4346. sumobspl:
  4347. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4348. type: number
  4349. tradeuserid:
  4350. description: 交易用户ID
  4351. type: integer
  4352. unexeqty:
  4353. description: 未执行现货量 = 套期现货量 - 执行现货量
  4354. type: number
  4355. updatetime:
  4356. description: 更新时间
  4357. type: string
  4358. vatpl:
  4359. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4360. type: number
  4361. vatrate:
  4362. description: 增值税
  4363. type: number
  4364. wrstandardid:
  4365. description: 现货商品ID
  4366. type: integer
  4367. wrstandardname:
  4368. description: 商品名称
  4369. type: string
  4370. type: object
  4371. models.Ermcp2hedgeditemlink:
  4372. properties:
  4373. areauserid:
  4374. description: 企业ID
  4375. type: integer
  4376. createtime:
  4377. description: '[关联时间]创建时间'
  4378. type: string
  4379. customeruserid:
  4380. description: 对手方 【3:采购合同 4:销售合同】
  4381. type: integer
  4382. deliverygoodsid:
  4383. description: 现货品种ID
  4384. type: integer
  4385. enumdicname:
  4386. description: 单位
  4387. type: string
  4388. hedgeditemid:
  4389. description: 被套期项目ID
  4390. type: integer
  4391. hedgeditemlinkid:
  4392. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4393. type: integer
  4394. hedgeditemnum:
  4395. description: 项目编号
  4396. type: string
  4397. hedgedtype:
  4398. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4399. type: integer
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: 关联数量
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID
  4417. type: integer
  4418. spotpricedamount:
  4419. description: '[关联定价总额]定价总额'
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量【项目关联时值】
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. required:
  4440. - relatedspotcontractid
  4441. type: object
  4442. models.Ermcp2hedgeditemsDetail:
  4443. properties:
  4444. accountname:
  4445. description: 套期主体
  4446. type: string
  4447. areauserid:
  4448. description: 企业ID
  4449. type: integer
  4450. createtime:
  4451. description: '[日期时间]创建时间'
  4452. type: string
  4453. customeruserid:
  4454. description: 对手方 【3:采购合同 4:销售合同】
  4455. type: integer
  4456. deliverygoodsid:
  4457. description: 现货品种ID
  4458. type: integer
  4459. enumdicname:
  4460. description: 单位
  4461. type: string
  4462. hedgeditemid:
  4463. description: 被套期项目ID
  4464. type: string
  4465. hedgeditemspotid:
  4466. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4467. type: string
  4468. hedgedtype:
  4469. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4470. type: integer
  4471. hedgeplanno:
  4472. description: 计划编号
  4473. type: string
  4474. middlegoodschange:
  4475. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4476. type: number
  4477. oriavgprice:
  4478. description: 期初市场价[当初市场价]
  4479. type: number
  4480. relatedamount:
  4481. description: 市价总额 = 关联数量 * 期初市场价
  4482. type: number
  4483. relatedhedgeplanid:
  4484. description: 关联计划ID 【1:采购计划 2:销售计划】
  4485. type: integer
  4486. relatedqty:
  4487. description: '[期间变化量]关联数量'
  4488. type: number
  4489. relatedspotcontractid:
  4490. description: 关联合同ID 【3:采购合同 4:销售合同】
  4491. type: integer
  4492. relatedtype:
  4493. description: 关联类型 - 1:套期关联 2:执行关联
  4494. type: integer
  4495. spotgoodsbrandid:
  4496. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4497. type: integer
  4498. spotpricedamount:
  4499. description: 定价总额
  4500. type: number
  4501. spotpricedavgprice:
  4502. description: 现货均价 = 定价总额 / 关联数量
  4503. type: number
  4504. spottype:
  4505. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4506. type: integer
  4507. tradeuserid:
  4508. description: 交易用户ID
  4509. type: integer
  4510. unexeqty:
  4511. description: 未执行现货量 = 套期现货量 - 执行现货量
  4512. type: number
  4513. wrstandardid:
  4514. description: 现货商品ID
  4515. type: integer
  4516. wrstandardname:
  4517. description: 现货商品
  4518. type: string
  4519. type: object
  4520. models.Ermcp2hedgeditemspot:
  4521. properties:
  4522. areauserid:
  4523. description: 企业ID
  4524. type: integer
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. hedgeplanno:
  4547. description: 计划编号
  4548. type: string
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2hedgeditemspotDetail:
  4592. properties:
  4593. accountname:
  4594. description: 对手方
  4595. type: string
  4596. areauserid:
  4597. description: 企业ID
  4598. type: integer
  4599. brandname:
  4600. description: 品牌
  4601. type: string
  4602. contractno:
  4603. description: 合同编号
  4604. type: string
  4605. createtime:
  4606. description: 创建时间
  4607. type: string
  4608. customeruserid:
  4609. description: 对手方 【3:采购合同 4:销售合同】
  4610. type: integer
  4611. deliverygoodsid:
  4612. description: 现货品种ID
  4613. type: integer
  4614. enumdicname:
  4615. description: 单位
  4616. type: string
  4617. hedgeditemid:
  4618. description: 被套期项目ID
  4619. type: string
  4620. hedgeditemspotid:
  4621. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4622. type: string
  4623. hedgedtype:
  4624. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4625. type: integer
  4626. oriavgprice:
  4627. description: 期初市场价[当初市场价]
  4628. type: number
  4629. relatedamount:
  4630. description: 市价总额 = 关联数量 * 期初市场价
  4631. type: number
  4632. relatedhedgeplanid:
  4633. description: 关联计划ID 【1:采购计划 2:销售计划】
  4634. type: integer
  4635. relatedqty:
  4636. description: 关联数量[数量]
  4637. type: number
  4638. relatedspotcontractid:
  4639. description: 关联合同ID 【3:采购合同 4:销售合同】
  4640. type: integer
  4641. relatedtype:
  4642. description: 关联类型 - 1:套期关联 2:执行关联
  4643. type: integer
  4644. spotgoodsbrandid:
  4645. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4646. type: integer
  4647. spotpricedamount:
  4648. description: 定价总额[金额]
  4649. type: number
  4650. spotpricedavgprice:
  4651. description: 现货均价 = 定价总额 / 关联数量
  4652. type: number
  4653. spottype:
  4654. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4655. type: integer
  4656. tradeuserid:
  4657. description: 交易用户ID
  4658. type: integer
  4659. wrstandardid:
  4660. description: 现货商品ID
  4661. type: integer
  4662. wrstandardname:
  4663. description: 现货商品
  4664. type: string
  4665. required:
  4666. - hedgeditemid
  4667. type: object
  4668. models.Ermcp2himiddlegoods:
  4669. properties:
  4670. futurehedgeqty:
  4671. description: 期货持仓套期量
  4672. type: number
  4673. hedgeditemid:
  4674. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4675. type: integer
  4676. hiexpsoure:
  4677. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4678. type: number
  4679. middlegoodscode:
  4680. description: 套保商品代码
  4681. type: string
  4682. middlegoodsid:
  4683. description: 套保品种ID
  4684. type: integer
  4685. middlegoodsname:
  4686. description: 套保商品名称
  4687. type: string
  4688. unexehedgeqty:
  4689. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4690. type: number
  4691. required:
  4692. - hedgeditemid
  4693. - middlegoodsid
  4694. type: object
  4695. models.Ermcp2stockspotchangelog:
  4696. properties:
  4697. accountname:
  4698. description: 套期主体
  4699. type: string
  4700. aftervalue:
  4701. description: 现货量
  4702. type: number
  4703. beforevalue:
  4704. description: 变更前现货量
  4705. type: number
  4706. contractno:
  4707. description: '[编号]现货合同编号'
  4708. type: string
  4709. contracttype:
  4710. description: 现货合同类型 - 1:采购 -1:销售
  4711. type: integer
  4712. createtime:
  4713. description: 创建时间
  4714. type: string
  4715. customerusername:
  4716. description: 对手方
  4717. type: string
  4718. deliverygoodsid:
  4719. description: 现货品种ID
  4720. type: integer
  4721. exetype:
  4722. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4723. type: integer
  4724. logid:
  4725. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4726. type: string
  4727. logvalue:
  4728. description: '[期间变化量]现货量变更值'
  4729. type: number
  4730. middlegoodschange:
  4731. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4732. type: number
  4733. operatelogtype:
  4734. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4735. 27:生产出库
  4736. type: integer
  4737. relatedid:
  4738. description: 现货合同ID
  4739. type: integer
  4740. spotgoodsbrandid:
  4741. description: 现货品牌ID
  4742. type: integer
  4743. tradedate:
  4744. description: 交易日(yyyyMMdd)
  4745. type: string
  4746. userid:
  4747. description: 机构ID
  4748. type: integer
  4749. warehouseinfoid:
  4750. description: 仓库ID
  4751. type: integer
  4752. wrfactortypeid:
  4753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4754. type: integer
  4755. wrstandardid:
  4756. description: 现货商品ID
  4757. type: integer
  4758. wrstandardname:
  4759. description: 商品名称
  4760. type: string
  4761. type: object
  4762. models.Ermcp3AreaSpot:
  4763. properties:
  4764. areauserid:
  4765. description: 所属机构
  4766. type: integer
  4767. convertratio:
  4768. description: 套保系数
  4769. type: number
  4770. decreaseqty:
  4771. description: 减少数量=-(销售已定价数量+采购计划数量)
  4772. type: number
  4773. enumdicname:
  4774. description: 单位名称
  4775. type: string
  4776. increaseqty:
  4777. description: 增加数量=销售计划数量+采购已定价数量
  4778. type: number
  4779. oritoalspotqty:
  4780. description: 昨日数量
  4781. type: number
  4782. totalspotqty:
  4783. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4784. type: number
  4785. unitid:
  4786. description: 现货商品单位id
  4787. type: integer
  4788. updatetime:
  4789. description: 更新时间
  4790. type: string
  4791. wrstandardcode:
  4792. description: 现货商品代码
  4793. type: string
  4794. wrstandardid:
  4795. description: 现货商品ID(SEQ_WRSTANDARD)
  4796. type: integer
  4797. wrstandardname:
  4798. description: 现货商品名称
  4799. type: string
  4800. type: object
  4801. models.Ermcp3AreaSpotDetail:
  4802. properties:
  4803. contracttype:
  4804. description: 合同类型 1-采购 -1-销售
  4805. type: integer
  4806. createtime:
  4807. description: 创建时间
  4808. type: string
  4809. enumdicname:
  4810. description: 现货商品单位名称
  4811. type: string
  4812. logtype:
  4813. description: 记录类型 1-套保 2-现货合同
  4814. type: integer
  4815. qty:
  4816. description: 数量
  4817. type: number
  4818. recordname:
  4819. description: 类型名称
  4820. type: string
  4821. relatedid:
  4822. description: 套保计划ID/现货合同ID
  4823. type: string
  4824. relatedno:
  4825. description: 编号
  4826. type: string
  4827. strtime:
  4828. description: 时间
  4829. type: string
  4830. wrstandardcode:
  4831. description: 现货商品代码
  4832. type: string
  4833. wrstandardid:
  4834. description: 现货商品ID(SEQ_WRSTANDARD)
  4835. type: integer
  4836. wrstandardname:
  4837. description: 现货商品名称
  4838. type: string
  4839. type: object
  4840. models.Ermcp3AreaSpotPLReport:
  4841. properties:
  4842. accountid:
  4843. description: 期货账户ID (作废, 默认为0)
  4844. type: integer
  4845. accountname:
  4846. description: 机构名称
  4847. type: string
  4848. actualpl:
  4849. description: 现货损益
  4850. type: number
  4851. areauserid:
  4852. description: 所属机构\交易用户ID
  4853. type: integer
  4854. begindate:
  4855. description: 开始交易日
  4856. type: string
  4857. biztype:
  4858. description: 业务类型 - 1:套保 2:套利
  4859. type: integer
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. curamount:
  4864. description: 期末额
  4865. type: number
  4866. curaverageprice:
  4867. description: 期初均价
  4868. type: number
  4869. curbuyamount:
  4870. description: 期末采购总额
  4871. type: number
  4872. curbuyqty:
  4873. description: 期末采购总量
  4874. type: number
  4875. curmarketvalue:
  4876. description: 期初均价
  4877. type: number
  4878. curqty:
  4879. description: 期末量
  4880. type: number
  4881. currencyid:
  4882. description: 结算币种ID【原值】
  4883. type: integer
  4884. currencyname:
  4885. description: 币种名称
  4886. type: string
  4887. cursellamount:
  4888. description: 期末销售总额
  4889. type: number
  4890. cursellqty:
  4891. description: 期末销售总量
  4892. type: number
  4893. curspotprice:
  4894. description: 期初均价
  4895. type: number
  4896. cycletime:
  4897. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4898. type: string
  4899. cycletype:
  4900. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4901. type: integer
  4902. deliverygoodscode:
  4903. description: 现货品种代码
  4904. type: string
  4905. deliverygoodsid:
  4906. description: 现货品种ID
  4907. type: integer
  4908. deliverygoodsname:
  4909. description: 现货品种名称
  4910. type: string
  4911. enddate:
  4912. description: 结束交易日
  4913. type: string
  4914. enumdicname:
  4915. description: 现货品种单位名称(作废)
  4916. type: string
  4917. floatpl:
  4918. description: 期初均价
  4919. type: number
  4920. goodsunitid:
  4921. description: 现货品种单位id(作废)
  4922. type: integer
  4923. oriamount:
  4924. description: 期初额
  4925. type: number
  4926. oriaverageprice:
  4927. description: 期初均价
  4928. type: number
  4929. oribuyamount:
  4930. description: 期初采购总额
  4931. type: number
  4932. oribuyqty:
  4933. description: 期初采购总量
  4934. type: number
  4935. oriqty:
  4936. description: 期初量
  4937. type: number
  4938. orisellamount:
  4939. description: 期初销售总额
  4940. type: number
  4941. orisellqty:
  4942. description: 期初销售总量
  4943. type: number
  4944. reckondate:
  4945. description: 日照时期(yyyyMMdd)
  4946. type: string
  4947. spotgoodsbrandid:
  4948. description: 现货品牌ID
  4949. type: integer
  4950. todaybuyamount:
  4951. description: 今日采购额(今采购额)
  4952. type: number
  4953. todaybuyaverageprice:
  4954. description: 期初均价
  4955. type: number
  4956. todaybuyqty:
  4957. description: 今日采购量(今采购量)
  4958. type: number
  4959. todayinqty:
  4960. description: 今日入库量(今入库量)
  4961. type: number
  4962. todayoutqty:
  4963. description: 今日出库量(今出库量)
  4964. type: number
  4965. todaysellamount:
  4966. description: 今日销售额(今销售额)
  4967. type: number
  4968. todaysellaverageprice:
  4969. description: 期初均价
  4970. type: number
  4971. todaysellqty:
  4972. description: 今日销售量(今销售量)
  4973. type: number
  4974. unitid:
  4975. description: 品类单位id
  4976. type: integer
  4977. unitidname:
  4978. description: 品类单位名称
  4979. type: string
  4980. updatetime:
  4981. description: 更新时间
  4982. type: string
  4983. wrfactortypeid:
  4984. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4985. type: integer
  4986. wrstandardcode:
  4987. description: 现货商品(品类)代码
  4988. type: string
  4989. wrstandardid:
  4990. description: 现货品类ID
  4991. type: integer
  4992. wrstandardname:
  4993. description: 现货商品(品类)名称
  4994. type: string
  4995. type: object
  4996. models.Ermcp3AreaStock:
  4997. properties:
  4998. brandname:
  4999. description: 品牌名称
  5000. type: string
  5001. curstock:
  5002. description: 期末库存量(今日量)
  5003. type: number
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货品种id
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. enumdicname:
  5014. description: 单位名称
  5015. type: string
  5016. goodsunitid:
  5017. description: 现货商品单位id
  5018. type: integer
  5019. oristock:
  5020. description: 期初库存量(昨日量)
  5021. type: number
  5022. spotgoodsbrandid:
  5023. description: 现货品牌ID
  5024. type: integer
  5025. todaybuyinqty:
  5026. description: 今日采购入库量
  5027. type: number
  5028. todayproduceinqty:
  5029. description: 今日生产入库量
  5030. type: number
  5031. todayproduceoutqty:
  5032. description: 今日生产出库量
  5033. type: number
  5034. todayselloutqty:
  5035. description: 今日销售出库量
  5036. type: number
  5037. unitid:
  5038. description: 单位id
  5039. type: integer
  5040. updatetime:
  5041. description: 更新时间
  5042. type: string
  5043. userid:
  5044. description: 机构ID
  5045. type: integer
  5046. username:
  5047. description: 机构名称
  5048. type: string
  5049. warehousecode:
  5050. description: 仓库代码
  5051. type: string
  5052. warehouseinfoid:
  5053. description: 仓库ID
  5054. type: string
  5055. warehousename:
  5056. description: 仓库名称
  5057. type: string
  5058. warehousetype:
  5059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: string
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. required:
  5071. - userid
  5072. type: object
  5073. models.Ermcp3AreaStockApply:
  5074. properties:
  5075. applyid:
  5076. description: 申请人
  5077. type: integer
  5078. applyname:
  5079. description: 申请人名称
  5080. type: string
  5081. applyremark:
  5082. description: 申请备注
  5083. type: string
  5084. applysrc:
  5085. description: 申请来源 - 1:管理端 2:终端
  5086. type: integer
  5087. applystatus:
  5088. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5089. type: integer
  5090. applytime:
  5091. description: 申请时间
  5092. type: string
  5093. auditid:
  5094. description: 审核人
  5095. type: integer
  5096. auditname:
  5097. description: 审核人名称
  5098. type: string
  5099. auditremark:
  5100. description: 审核备注
  5101. type: string
  5102. auditsrc:
  5103. description: 审核来源 - 1:管理端 2:终端
  5104. type: integer
  5105. audittime:
  5106. description: 审核时间
  5107. type: string
  5108. audittradedate:
  5109. description: 审核交易日(yyyyMMdd)
  5110. type: string
  5111. brandname:
  5112. description: 品牌名称
  5113. type: string
  5114. buynickname:
  5115. description: 采购方昵称
  5116. type: string
  5117. buyuserid:
  5118. description: 采购方userid
  5119. type: integer
  5120. buyusername:
  5121. description: 采购方名称
  5122. type: string
  5123. contractno:
  5124. description: 合同编号
  5125. type: string
  5126. contractqty:
  5127. description: 合同量
  5128. type: number
  5129. contracttype:
  5130. description: 现货合同类型 - 1:采购 -1:销售
  5131. type: integer
  5132. deliverygoodscode:
  5133. description: 现货品种代码
  5134. type: string
  5135. deliverygoodsid:
  5136. description: 现货品种id
  5137. type: integer
  5138. deliverygoodsname:
  5139. description: 现货品种名称
  5140. type: string
  5141. detailjson:
  5142. description: 明细数据
  5143. type: string
  5144. enumdicname:
  5145. description: 现货商品单位名称
  5146. type: string
  5147. inoutapplyid:
  5148. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5149. type: string
  5150. inouttype:
  5151. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5152. type: integer
  5153. pricetype:
  5154. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5155. type: integer
  5156. qty:
  5157. description: 数量
  5158. type: number
  5159. sellnickname:
  5160. description: 销售方昵称
  5161. type: string
  5162. selluserid:
  5163. description: 销售方userid
  5164. type: integer
  5165. sellusername:
  5166. description: 销售方名称
  5167. type: string
  5168. spotcontractid:
  5169. description: 关联现货合同ID
  5170. type: string
  5171. spotgoodsbrandid:
  5172. description: 现货品牌ID
  5173. type: integer
  5174. unitid:
  5175. description: 单位id
  5176. type: integer
  5177. userid:
  5178. description: 机构ID
  5179. type: integer
  5180. warehousecode:
  5181. description: 仓库代码
  5182. type: string
  5183. warehouseinfoid:
  5184. description: 现货仓库ID
  5185. type: string
  5186. warehousename:
  5187. description: 仓库名称
  5188. type: string
  5189. warehousetype:
  5190. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5191. type: integer
  5192. wrstandardcode:
  5193. description: 品类代码
  5194. type: string
  5195. wrstandardid:
  5196. description: 品类ID
  5197. type: integer
  5198. wrstandardname:
  5199. description: 品类名称
  5200. type: string
  5201. type: object
  5202. models.Ermcp3AreaStockApplySum:
  5203. properties:
  5204. brandname:
  5205. description: 品牌名称
  5206. type: string
  5207. inouttype:
  5208. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5209. type: integer
  5210. spotcontractid:
  5211. description: 关联现货合同ID
  5212. type: string
  5213. spotgoodsbrandid:
  5214. description: 品牌id
  5215. type: integer
  5216. totalqty:
  5217. description: 总数量
  5218. type: number
  5219. wrstandardid:
  5220. description: 品类id
  5221. type: integer
  5222. wrstandardname:
  5223. description: 品类名称
  5224. type: string
  5225. type: object
  5226. models.Ermcp3AreaStockReportEx:
  5227. properties:
  5228. begindate:
  5229. description: 开始交易日
  5230. type: string
  5231. brandname:
  5232. description: 品牌名称
  5233. type: string
  5234. curstock:
  5235. description: 期末库存量
  5236. type: number
  5237. cycletime:
  5238. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5239. type: string
  5240. cycletype:
  5241. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5242. type: integer
  5243. deliverygoodscode:
  5244. description: 现货品种代码
  5245. type: string
  5246. deliverygoodsid:
  5247. description: 现货品种id
  5248. type: integer
  5249. deliverygoodsname:
  5250. description: 现货品种名称
  5251. type: string
  5252. diffqty:
  5253. description: 库存变化量 = 期末 - 期初
  5254. type: number
  5255. enddate:
  5256. description: 结束交易日
  5257. type: string
  5258. enumdicname:
  5259. description: 单位名称
  5260. type: string
  5261. goodsunitid:
  5262. description: 现货单位id
  5263. type: integer
  5264. oristock:
  5265. description: 期初库存量
  5266. type: number
  5267. reckondate:
  5268. description: 日照时期(yyyyMMdd)
  5269. type: string
  5270. spotgoodsbrandid:
  5271. description: 现货品牌ID
  5272. type: integer
  5273. todaybuyinqty:
  5274. description: 今采购入库量
  5275. type: number
  5276. todayproduceinqty:
  5277. description: 今内部入库量
  5278. type: number
  5279. todayproduceoutqty:
  5280. description: 今内部出库量
  5281. type: number
  5282. todayselloutqty:
  5283. description: 今销售出库量
  5284. type: number
  5285. unbuyinqty:
  5286. description: 采购未入库量(数据库未找到相关字段?)
  5287. type: number
  5288. unitid:
  5289. description: 品类单位id
  5290. type: integer
  5291. unselloutqty:
  5292. description: 销售未出库量(数据库未找到相关字段?)
  5293. type: number
  5294. updatetime:
  5295. description: 更新时间
  5296. type: string
  5297. userid:
  5298. description: 机构ID
  5299. type: integer
  5300. username:
  5301. description: 机构名称
  5302. type: string
  5303. warehousecode:
  5304. description: 仓库代码
  5305. type: string
  5306. warehouseinfoid:
  5307. description: 仓库ID
  5308. type: string
  5309. warehousename:
  5310. description: 仓库名称
  5311. type: string
  5312. warehousetype:
  5313. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5314. type: integer
  5315. wrstandardcode:
  5316. description: 品类代码
  5317. type: string
  5318. wrstandardid:
  5319. description: 品类ID
  5320. type: integer
  5321. wrstandardname:
  5322. description: 品类名称
  5323. type: string
  5324. type: object
  5325. models.Ermcp3ArealSumPL:
  5326. properties:
  5327. accountname:
  5328. description: 机构名称
  5329. type: string
  5330. areauserid:
  5331. description: 所属机构\交易用户ID
  5332. type: integer
  5333. begindate:
  5334. description: 开始交易日
  5335. type: string
  5336. currencyid:
  5337. description: 结算币种ID
  5338. type: integer
  5339. currencyname:
  5340. description: 币种名称
  5341. type: string
  5342. cycletime:
  5343. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5344. type: string
  5345. cycletype:
  5346. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5347. type: integer
  5348. enddate:
  5349. description: 结束交易日
  5350. type: string
  5351. enumdicname:
  5352. description: 单位名称(套保品种)
  5353. type: string
  5354. futureactualpl:
  5355. description: 期货损益
  5356. type: number
  5357. futurefloatpl:
  5358. description: 期货浮动损益
  5359. type: number
  5360. futurespotratio:
  5361. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5362. type: number
  5363. goodsunitid:
  5364. description: 套保品种单位id
  5365. type: integer
  5366. hedgeexposurepl:
  5367. description: 套保敞口损益
  5368. type: number
  5369. middlegoodscode:
  5370. description: 套保品种代码
  5371. type: string
  5372. middlegoodsid:
  5373. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5374. type: integer
  5375. middlegoodsname:
  5376. description: 套保品种名称
  5377. type: string
  5378. reckondate:
  5379. description: 日照时期(yyyyMMdd)
  5380. type: string
  5381. spotactualpl:
  5382. description: 现货损益
  5383. type: number
  5384. spotfloatpl:
  5385. description: 现货浮动损益
  5386. type: number
  5387. sumactualpl:
  5388. description: 实际损益 = (ActualPL + FutureActualPL)
  5389. type: number
  5390. sumpl:
  5391. description: 总敞口损益 | 汇总损益
  5392. type: number
  5393. totalfutureqty:
  5394. description: 期货头寸总量
  5395. type: number
  5396. totalneedhedgeqty:
  5397. description: 应套保总量
  5398. type: number
  5399. totalspotqty:
  5400. description: 现货头寸总量
  5401. type: number
  5402. updatetime:
  5403. description: 更新时间
  5404. type: string
  5405. type: object
  5406. models.Ermcp3Brand:
  5407. properties:
  5408. areauserid:
  5409. description: 用户id
  5410. type: integer
  5411. brandid:
  5412. description: 品牌id
  5413. type: integer
  5414. brandname:
  5415. description: 品牌名称
  5416. type: string
  5417. deliverygoodsid:
  5418. description: 品种ID
  5419. type: integer
  5420. isvalid:
  5421. description: 是否有效
  5422. type: integer
  5423. type: object
  5424. models.Ermcp3Contract:
  5425. properties:
  5426. accountid:
  5427. description: 期货账户id
  5428. type: string
  5429. amount:
  5430. description: 金额 [1:一口价、3:暂定价]
  5431. type: number
  5432. attachment:
  5433. description: 附件
  5434. type: string
  5435. auditremark:
  5436. description: 审核意见
  5437. type: string
  5438. audittime:
  5439. description: 审核时间
  5440. type: string
  5441. biztype:
  5442. description: 业务类型 1-套保 2-套利
  5443. type: integer
  5444. brandname:
  5445. description: 品牌名称
  5446. type: string
  5447. buynickname:
  5448. description: 销售方昵称
  5449. type: string
  5450. buyuserid:
  5451. description: 采购方ID
  5452. type: integer
  5453. buyusername:
  5454. description: 采购方名称
  5455. type: string
  5456. contracctstatus:
  5457. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5458. type: integer
  5459. contractmargin:
  5460. description: 合同保证金
  5461. type: number
  5462. contractno:
  5463. description: 现货合同编号
  5464. type: string
  5465. contracttype:
  5466. description: 现货合同类型 - 1:采购 -1:销售
  5467. type: integer
  5468. convertfactor:
  5469. description: 标仓系数(品类)
  5470. type: number
  5471. createtime:
  5472. description: 创建时间
  5473. type: string
  5474. currencyid:
  5475. description: 币种id
  5476. type: integer
  5477. currencyname:
  5478. description: 币种名称
  5479. type: string
  5480. deliveryenddate:
  5481. description: 交收期(结束)
  5482. type: string
  5483. deliverygoodscode:
  5484. description: 现货品种代码
  5485. type: string
  5486. deliverygoodsid:
  5487. description: 现货品种ID
  5488. type: integer
  5489. deliverygoodsname:
  5490. description: 现货品种名称
  5491. type: string
  5492. deliverystartdate:
  5493. description: 交收期(开始)
  5494. type: string
  5495. enddate:
  5496. description: 点价结束日期 [2:点价 3:暂定价]
  5497. type: string
  5498. enumdicname:
  5499. description: 单位名称
  5500. type: string
  5501. goodscode:
  5502. description: 点价合约代码
  5503. type: string
  5504. goodsid:
  5505. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5506. type: integer
  5507. goodsname:
  5508. description: 点价商品名称
  5509. type: string
  5510. margin:
  5511. description: 当前保证金
  5512. type: number
  5513. meruserid:
  5514. description: 跟单员id
  5515. type: integer
  5516. meruserlogincode:
  5517. description: 跟单员登录代码
  5518. type: string
  5519. merusername:
  5520. description: 跟单员名称
  5521. type: string
  5522. pointdesc:
  5523. description: 点价备注
  5524. type: string
  5525. price:
  5526. description: 价格\暂定价 [1:一口价、3:暂定价]
  5527. type: number
  5528. pricemove:
  5529. description: 升贴水 [2:点价 3:暂定价]
  5530. type: number
  5531. pricetype:
  5532. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5533. type: integer
  5534. producttype:
  5535. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5536. type: integer
  5537. qty:
  5538. description: 数量
  5539. type: number
  5540. remark:
  5541. description: 备注
  5542. type: string
  5543. saleuserid:
  5544. description: 业务员id
  5545. type: integer
  5546. saleuserlogincode:
  5547. description: 业务员登录代码
  5548. type: string
  5549. saleusername:
  5550. description: 业务员名称
  5551. type: string
  5552. sellnickname:
  5553. description: 采购方昵称
  5554. type: string
  5555. selluserid:
  5556. description: 销售方ID
  5557. type: integer
  5558. sellusername:
  5559. description: 销售方名称
  5560. type: string
  5561. spotcontractid:
  5562. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5563. type: string
  5564. spotgoodsbrandid:
  5565. description: 现货品牌ID(DGFactoryItem表的ID)
  5566. type: integer
  5567. spotgoodsdesc:
  5568. description: 商品型号
  5569. type: string
  5570. startdate:
  5571. description: 点价开始日期 [2:点价 3:暂定价]
  5572. type: string
  5573. subjectid:
  5574. description: 交易主体ID
  5575. type: integer
  5576. subjectname:
  5577. description: 交易主体名称
  5578. type: string
  5579. tradeuserid:
  5580. description: 交易员id
  5581. type: integer
  5582. tradeuserlogincode:
  5583. description: 交易员登录代码
  5584. type: string
  5585. tradeusername:
  5586. description: 交易员名称
  5587. type: string
  5588. unitid:
  5589. description: 单位id(取品类上的单位id)
  5590. type: integer
  5591. updatetime:
  5592. description: 更新时间
  5593. type: string
  5594. userid:
  5595. description: 所属机构ID
  5596. type: integer
  5597. vatrate:
  5598. description: 增值税率
  5599. type: number
  5600. wrstandardcode:
  5601. description: 品类代码
  5602. type: string
  5603. wrstandardid:
  5604. description: 品类ID
  5605. type: integer
  5606. wrstandardname:
  5607. description: 品类名称
  5608. type: string
  5609. type: object
  5610. models.Ermcp3ContractMiddleGoodsCfg:
  5611. properties:
  5612. agreeunit:
  5613. description: 合约乘数
  5614. type: number
  5615. convertratio:
  5616. description: 期货品种系数
  5617. type: number
  5618. covertqty:
  5619. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5620. type: integer
  5621. middlegoodsid:
  5622. description: 套保品种ID
  5623. type: integer
  5624. middlegoodspricedqty3:
  5625. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5626. example: "0"
  5627. type: string
  5628. pendingpricedqty:
  5629. description: 待点价量
  5630. example: "0"
  5631. type: string
  5632. relatedmiddlegoodsqty:
  5633. description: 已关联量(套保品种-期货)
  5634. example: "0"
  5635. type: string
  5636. spotcontractid:
  5637. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5638. type: string
  5639. type: object
  5640. models.Ermcp3ExposureContractDetail:
  5641. properties:
  5642. biztype:
  5643. description: 业务类型 1-套保 2-套利
  5644. type: integer
  5645. brandname:
  5646. description: 品牌名称
  5647. type: string
  5648. buyuserid:
  5649. description: 采购方id
  5650. type: integer
  5651. buyusername:
  5652. description: 采购方名称
  5653. type: string
  5654. contractno:
  5655. description: 合同编号
  5656. type: string
  5657. contracttype:
  5658. description: 现货合同类型 - 1:采购 -1:销售
  5659. type: integer
  5660. convertfactor:
  5661. description: 标仓系数
  5662. type: number
  5663. convertratio:
  5664. description: 折算系数(套保品种)
  5665. type: number
  5666. curqty:
  5667. description: 今定价量
  5668. type: number
  5669. deliverygoodscode:
  5670. description: 现货品种代码
  5671. type: string
  5672. deliverygoodsid:
  5673. description: 现货品种id
  5674. type: integer
  5675. deliverygoodsname:
  5676. description: 现货品种名称
  5677. type: string
  5678. diffhedgeqty:
  5679. description: 套保变动量
  5680. type: number
  5681. diffneedhedgeqty:
  5682. description: 应套保变动量
  5683. type: number
  5684. diffqty:
  5685. description: 套保品种今变动量
  5686. type: number
  5687. enumdicname:
  5688. description: 单位名称
  5689. type: string
  5690. mgunitname:
  5691. description: 套保品种单位名称
  5692. type: string
  5693. middlegoodscode:
  5694. description: 套保品种代码
  5695. type: string
  5696. middlegoodsid:
  5697. description: 套保品种id
  5698. type: integer
  5699. middlegoodsname:
  5700. description: 套保品种名称
  5701. type: string
  5702. needarbitrageratio:
  5703. description: 应套利比例
  5704. type: number
  5705. needhedgeratio:
  5706. description: 应套保比例
  5707. type: number
  5708. pricedqty:
  5709. description: 已定价量
  5710. type: number
  5711. qty:
  5712. description: 合同量
  5713. type: number
  5714. reckondate:
  5715. description: 交易日(reckondate)
  5716. type: string
  5717. selluserid:
  5718. description: 销售方id
  5719. type: integer
  5720. sellusername:
  5721. description: 销售方名称
  5722. type: string
  5723. spotcontractid:
  5724. description: 合同id
  5725. type: string
  5726. todaypricedqty:
  5727. description: 今定价量
  5728. type: number
  5729. tradedate:
  5730. description: 交易日
  5731. type: string
  5732. unitid:
  5733. description: 品类单位id
  5734. type: integer
  5735. userid:
  5736. description: 机构id
  5737. type: integer
  5738. username:
  5739. description: 交易用户
  5740. type: string
  5741. wrstandardcode:
  5742. description: 现货商品代码
  5743. type: string
  5744. wrstandardid:
  5745. description: 现货商品id
  5746. type: integer
  5747. wrstandardname:
  5748. description: 现货商品名称
  5749. type: string
  5750. type: object
  5751. models.Ermcp3ExposureDetail:
  5752. properties:
  5753. areauserid:
  5754. description: 机构ID
  5755. type: integer
  5756. changeQty:
  5757. description: 套保变动量
  5758. type: number
  5759. contracttype:
  5760. description: 现货合同类型 - 1:采购 -1:销售
  5761. type: integer
  5762. convertfactor:
  5763. description: 标仓系数
  5764. type: number
  5765. convertratio:
  5766. description: 折算系数
  5767. type: number
  5768. createtime:
  5769. description: 时间
  5770. type: string
  5771. enumdicname:
  5772. description: 现货商品单位名称
  5773. type: string
  5774. logtype:
  5775. description: 类型 - 1:套保计划 2:现货合同
  5776. type: integer
  5777. mgunitid:
  5778. description: 套保品种单位id
  5779. type: integer
  5780. mgunitidname:
  5781. description: 套保品种单位名称
  5782. type: string
  5783. middlegoodsId:
  5784. description: 套保商品id
  5785. type: integer
  5786. middlegoodscode:
  5787. description: 套保商品代码
  5788. type: string
  5789. middlegoodsname:
  5790. description: 套保商品名称
  5791. type: string
  5792. qty:
  5793. description: 数量
  5794. type: number
  5795. relateNo:
  5796. description: 现货合同/套保计划编号
  5797. type: string
  5798. unitid:
  5799. description: 现货商品单位id
  5800. type: integer
  5801. wrstandardcode:
  5802. description: 现货商品代码
  5803. type: string
  5804. wrstandardid:
  5805. description: 现货商品ID(SEQ_WRSTANDARD)
  5806. type: integer
  5807. wrstandardname:
  5808. description: 现货商品名称
  5809. type: string
  5810. type: object
  5811. models.Ermcp3ExposureFutuDetail:
  5812. properties:
  5813. accountid:
  5814. description: 交易账户id
  5815. type: integer
  5816. accountname:
  5817. description: 交易账户
  5818. type: string
  5819. begindate:
  5820. description: 开始交易日
  5821. type: string
  5822. buyorsell:
  5823. description: 方向 0-买 1-卖
  5824. type: integer
  5825. diffmgqty:
  5826. description: 套保品种今变化量
  5827. type: number
  5828. diffneedqty:
  5829. description: 应套保总量变化量
  5830. type: number
  5831. difftradeqty:
  5832. description: 交易品种今变化量
  5833. type: number
  5834. enddate:
  5835. description: 结束交易日
  5836. type: string
  5837. enumdicname:
  5838. description: 单位名称
  5839. type: string
  5840. goodscode:
  5841. description: 商品代码
  5842. type: string
  5843. goodsid:
  5844. description: 商品id
  5845. type: integer
  5846. goodsname:
  5847. description: 商品名称
  5848. type: string
  5849. holdqty:
  5850. description: 期末持仓量
  5851. type: number
  5852. middlegoodscode:
  5853. description: 套保商品代码
  5854. type: string
  5855. middlegoodsid:
  5856. description: 套保商品id
  5857. type: integer
  5858. middlegoodsname:
  5859. description: 套保商品名称
  5860. type: string
  5861. oriholdqty:
  5862. description: 期初持仓量
  5863. type: number
  5864. reckondate:
  5865. description: 交易日(RECKONDATE)
  5866. type: string
  5867. todaycloseqty:
  5868. description: 今平仓量
  5869. type: number
  5870. todayopenqty:
  5871. description: 今开仓量
  5872. type: number
  5873. tradedate:
  5874. description: 交易日(RECKONDATE)
  5875. type: string
  5876. username:
  5877. description: 用户名称(交易用户)
  5878. type: string
  5879. type: object
  5880. models.Ermcp3ExposureHedgeplanDetail:
  5881. properties:
  5882. biztype:
  5883. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5884. type: integer
  5885. changqty:
  5886. description: 应套保总量变化量
  5887. type: number
  5888. contracttype:
  5889. description: 计划类型 - 1:采购 -1:销售
  5890. type: integer
  5891. convertratio:
  5892. description: 折算系数(套保品种)
  5893. type: number
  5894. deliverygoodscode:
  5895. description: 现货商品代码
  5896. type: string
  5897. deliverygoodsid:
  5898. description: 现货商品id
  5899. type: integer
  5900. deliverygoodsname:
  5901. description: 现货商吕名称
  5902. type: string
  5903. dgunitid:
  5904. description: 现货商品单位id
  5905. type: integer
  5906. dgunitidname:
  5907. description: 单位名称(现货商品)
  5908. type: string
  5909. diffqty:
  5910. description: 套保品种今变动量
  5911. type: number
  5912. enumdicname:
  5913. description: 单位名称(品类)
  5914. type: string
  5915. hedgeplanid:
  5916. description: 套保计划id
  5917. type: string
  5918. hedgeplanno:
  5919. description: 套保计划名称
  5920. type: string
  5921. hedgeplanstatus:
  5922. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5923. type: integer
  5924. mgunitidname:
  5925. description: 单位名称(套保商品)
  5926. type: string
  5927. middlegoodscode:
  5928. description: 套保品种代码
  5929. type: string
  5930. middlegoodsid:
  5931. description: 套保品种id
  5932. type: integer
  5933. middlegoodsname:
  5934. description: 套保品种名称
  5935. type: string
  5936. needarbitrageratio:
  5937. description: 应套利比例
  5938. type: number
  5939. needhedgeratio:
  5940. description: 应套保比例
  5941. type: number
  5942. pricedqty:
  5943. description: 已定价量
  5944. type: number
  5945. qty:
  5946. description: 合同量
  5947. type: number
  5948. reckondate:
  5949. description: 交易日(reckondate)
  5950. type: string
  5951. tradedate:
  5952. description: 交易日(登记日)
  5953. type: string
  5954. unitid:
  5955. description: 品类单位id
  5956. type: integer
  5957. userid:
  5958. description: 机构id
  5959. type: integer
  5960. wrstandardcode:
  5961. description: 品类代码
  5962. type: string
  5963. wrstandardid:
  5964. description: 品类id
  5965. type: integer
  5966. wrstandardname:
  5967. description: 品类名称
  5968. type: string
  5969. type: object
  5970. models.Ermcp3ExposureParamChLog:
  5971. properties:
  5972. accountid:
  5973. description: 期货账户ID (作废, 默认为0)
  5974. type: integer
  5975. aftervalue:
  5976. description: 应套保\套利量变更后(调整后应套保总量)
  5977. type: number
  5978. areauserid:
  5979. description: 所属机构\交易用户ID
  5980. type: integer
  5981. beforevalue:
  5982. description: 应套保\套利量变更前(调整前应套保总量)
  5983. type: number
  5984. begindate:
  5985. description: 开始交易日
  5986. type: string
  5987. changelogtype:
  5988. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5989. type: integer
  5990. curvalue:
  5991. description: 当前套保\套利量(套保总量|套利总量)
  5992. type: number
  5993. diffvalue:
  5994. description: 应套保总量变化量
  5995. type: number
  5996. enddate:
  5997. description: 结束交易日
  5998. type: string
  5999. logdatetime:
  6000. description: 流水日期
  6001. type: string
  6002. logid:
  6003. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6004. type: string
  6005. middlegoodscode:
  6006. description: 套保品种代码
  6007. type: string
  6008. middlegoodsid:
  6009. description: 套保品种
  6010. type: integer
  6011. middlegoodsname:
  6012. description: 套保品种名称
  6013. type: string
  6014. paramaftervalue:
  6015. description: 参数变更后(调整后参数值)
  6016. type: number
  6017. parambeforevalue:
  6018. description: 参数变更前(调整前参数值)
  6019. type: number
  6020. reckondate:
  6021. description: 交易日(reckondate)
  6022. type: string
  6023. tradedate:
  6024. description: 交易日(yyyyMMdd)
  6025. type: string
  6026. type: object
  6027. models.Ermcp3ExpourseReport:
  6028. properties:
  6029. accountid:
  6030. description: 期货账户ID (作废, 默认为0)
  6031. type: integer
  6032. accountname:
  6033. description: 机构名称
  6034. type: string
  6035. arbitrageqty:
  6036. description: 套利量
  6037. type: number
  6038. areauserid:
  6039. description: 所属机构\交易用户ID
  6040. type: integer
  6041. begindate:
  6042. description: 开始交易日
  6043. type: string
  6044. buyfutureqty:
  6045. description: 买入期货数量
  6046. type: number
  6047. buyplanqty:
  6048. description: 采购计划数量
  6049. type: number
  6050. buypricedqty:
  6051. description: 采购合同已定价数量
  6052. type: number
  6053. cycletime:
  6054. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6055. type: string
  6056. cycletype:
  6057. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6058. type: integer
  6059. diffexposure:
  6060. description: 变动量(套保敞口)
  6061. type: number
  6062. difffutuqty:
  6063. description: 变动量(期货)
  6064. type: number
  6065. diffhedgeqty:
  6066. description: 变动量(现货应套保总量)
  6067. type: number
  6068. diffmgqtya:
  6069. description: 套保变动量
  6070. type: number
  6071. diffmgqtyb:
  6072. description: 套利变动量
  6073. type: number
  6074. diffneedqty:
  6075. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6076. type: number
  6077. diffqty:
  6078. description: 变动量(总敞口)
  6079. type: number
  6080. diffspotqty:
  6081. description: 变动量(现货) | 除税变动量
  6082. type: number
  6083. enddate:
  6084. description: 结束交易日
  6085. type: string
  6086. enumdicname:
  6087. description: 单位名称
  6088. type: string
  6089. hedgeqty:
  6090. description: 套保量
  6091. type: number
  6092. mgneedhedgeratio:
  6093. description: 套保比例(套保品的)
  6094. type: number
  6095. middlegoodsid:
  6096. description: 套保品种ID
  6097. type: integer
  6098. middlegoodsname:
  6099. description: 套保商品名称
  6100. type: string
  6101. middlgoodscode:
  6102. description: 套保商品代码
  6103. type: string
  6104. needarbitrageqty:
  6105. description: 应套利量
  6106. type: number
  6107. needarbitrageratio:
  6108. description: 套利比例(套保品的)
  6109. type: number
  6110. needhedgeexposoure:
  6111. description: 应套保敞口(套保敞口)
  6112. type: number
  6113. needhedgeqty:
  6114. description: 应套保量
  6115. type: number
  6116. needhedgeratio:
  6117. description: 应套保敞口比例
  6118. type: number
  6119. needqty:
  6120. description: 应套总量 = 应套保量 + 应套利量
  6121. type: number
  6122. oriarbitrageqty:
  6123. description: 期初套利量
  6124. type: number
  6125. oribuyfutureqty:
  6126. description: 期初买入期货数量
  6127. type: number
  6128. oribuyplanqty:
  6129. description: 期初采购计划数量
  6130. type: number
  6131. oribuypricedqty:
  6132. description: 期初采购合同已定价数量
  6133. type: number
  6134. orihedgeqty:
  6135. description: 期初套保量
  6136. type: number
  6137. orineedarbitrageqty:
  6138. description: 期初应套利量
  6139. type: number
  6140. orineedhedgeexposoure:
  6141. description: 期初应套保敞口
  6142. type: number
  6143. orineedhedgeqty:
  6144. description: 期初应套保量
  6145. type: number
  6146. orisellfutureqty:
  6147. description: 期初卖出期货数量
  6148. type: number
  6149. orisellplanqty:
  6150. description: 期初销售计划数量
  6151. type: number
  6152. orisellpricedqty:
  6153. description: 期初销售合同已定价数量
  6154. type: number
  6155. oritotalexposure:
  6156. description: 期初实时总敞口
  6157. type: number
  6158. oritotalfutureqty:
  6159. description: 期初期货头寸总量
  6160. type: number
  6161. oritotalneedhedgeqty:
  6162. description: 期初应套保总量
  6163. type: number
  6164. oritotalspotqty:
  6165. description: 期初现货头寸总量
  6166. type: number
  6167. reckondate:
  6168. description: 日照时期(yyyyMMdd)
  6169. type: string
  6170. sellfutureqty:
  6171. description: 卖出期货数量
  6172. type: number
  6173. sellplanqty:
  6174. description: 销售计划数量
  6175. type: number
  6176. sellpricedqty:
  6177. description: 销售合同已定价数量
  6178. type: number
  6179. totalexposure:
  6180. description: 实时总敞口(总敞口)
  6181. type: number
  6182. totalfutureqty:
  6183. description: 期货头寸总量(期货总量)
  6184. type: number
  6185. totalhedgeratio:
  6186. description: 敞口比例
  6187. type: number
  6188. totalneedhedgeqty:
  6189. description: 应套保总量(现货应套保总量)
  6190. type: number
  6191. totalspotqty:
  6192. description: 现货头寸总量 | 除税总量
  6193. type: number
  6194. unitid:
  6195. description: 单位id
  6196. type: integer
  6197. updatetime:
  6198. description: 更新时间
  6199. type: string
  6200. type: object
  6201. models.Ermcp3FinanceReport:
  6202. properties:
  6203. accountname:
  6204. description: 机构名称
  6205. type: string
  6206. areauserid:
  6207. description: 所属机构\交易用户ID
  6208. type: integer
  6209. begindate:
  6210. description: 开始交易日
  6211. type: string
  6212. biztype:
  6213. description: 业务类型 - 1:套保 2:套利
  6214. type: integer
  6215. brandname:
  6216. description: 品牌名称
  6217. type: string
  6218. buypreinvoicedamount:
  6219. description: 采购预收票额(预收票额)
  6220. type: number
  6221. buyprepaidamount:
  6222. description: 采购预付款额(预付货款额)
  6223. type: number
  6224. buytodayinvoiceamount:
  6225. description: 采购今收票额(今收票额)
  6226. type: number
  6227. buytodayrefundamount:
  6228. description: 采购今收退款额(今收退款额)
  6229. type: number
  6230. buytodaysettleamount:
  6231. description: 采购今付款额(今付货款额)
  6232. type: number
  6233. buyuninvoicedamount:
  6234. description: 采购应收票额(应收票额)
  6235. type: number
  6236. buyunpaidamount:
  6237. description: 采购应付款额(应付货款额)
  6238. type: number
  6239. currencyid:
  6240. description: 结算币种ID
  6241. type: integer
  6242. currencyname:
  6243. description: 币种名称
  6244. type: string
  6245. cycletime:
  6246. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6247. type: string
  6248. cycletype:
  6249. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6250. type: integer
  6251. deliverygoodscode:
  6252. description: 现货品种代码
  6253. type: string
  6254. deliverygoodsid:
  6255. description: 现货品种ID
  6256. type: integer
  6257. deliverygoodsname:
  6258. description: 现货品种名称
  6259. type: string
  6260. enddate:
  6261. description: 结束交易日
  6262. type: string
  6263. reckondate:
  6264. description: 日照时期(yyyyMMdd)
  6265. type: string
  6266. sellpreinvoicedamount:
  6267. description: 销售预开票额(预开票额)
  6268. type: number
  6269. sellprepaidamount:
  6270. description: 销售预收款额(预收货款额)
  6271. type: number
  6272. selltodayinvoiceamount:
  6273. description: 销售今开票额(今开票额)
  6274. type: number
  6275. selltodayrefundamount:
  6276. description: 销售今付退款额(今付退款额)
  6277. type: number
  6278. selltodaysettleamount:
  6279. description: 销售今收款额(今收货款额)
  6280. type: number
  6281. selluninvoicedamount:
  6282. description: 销售应开票额(应开票额)
  6283. type: number
  6284. sellunpaidamount:
  6285. description: 销售应收款额(应收货款额)
  6286. type: number
  6287. spotgoodsbrandid:
  6288. description: 现货品牌ID
  6289. type: integer
  6290. todaypaysum:
  6291. description: 今付款合计
  6292. type: number
  6293. todayreceivesum:
  6294. description: 今收款合计
  6295. type: number
  6296. updatetime:
  6297. description: 更新时间
  6298. type: string
  6299. wrfactortypeid:
  6300. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6301. type: integer
  6302. wrstandardcode:
  6303. description: 品类代码
  6304. type: string
  6305. wrstandardid:
  6306. description: 现货商品ID
  6307. type: integer
  6308. wrstandardname:
  6309. description: 品类名称
  6310. type: string
  6311. type: object
  6312. models.Ermcp3GoodsGroup:
  6313. properties:
  6314. agreeunit:
  6315. description: 合约单位
  6316. type: number
  6317. areauserid:
  6318. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6319. type: integer
  6320. canshort:
  6321. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6322. type: integer
  6323. closepricemode:
  6324. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6325. type: integer
  6326. createtime:
  6327. description: 创建时间
  6328. type: string
  6329. creatorid:
  6330. description: 创建人
  6331. type: integer
  6332. currencyid:
  6333. description: 报价货币ID
  6334. type: integer
  6335. decimalplace:
  6336. description: 报价小数位
  6337. type: integer
  6338. enumdicname:
  6339. description: 单位名称
  6340. type: string
  6341. exchangefullname:
  6342. description: 交易所全称
  6343. type: string
  6344. excludecfg:
  6345. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6346. type: integer
  6347. exexchangecode:
  6348. description: 交易所代码
  6349. type: string
  6350. exexchangeid:
  6351. description: 外部交易所ID[通道交易]
  6352. type: integer
  6353. exexchangename:
  6354. description: 交易所名称
  6355. type: string
  6356. goodsgroupid:
  6357. description: 商品组ID(自增ID)
  6358. type: integer
  6359. goodsgroupname:
  6360. description: 商品组名称
  6361. type: string
  6362. goodsgroupstatus:
  6363. description: 商品组状态 - 1:正常 2:注销
  6364. type: integer
  6365. goodunitid:
  6366. description: 报价单位ID
  6367. type: integer
  6368. groupcategroyid:
  6369. description: 品种分类ID
  6370. type: integer
  6371. innerdealmode:
  6372. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. marketid:
  6375. description: 所属市场ID
  6376. type: integer
  6377. modifierid:
  6378. description: 修改人
  6379. type: integer
  6380. modifytime:
  6381. description: 修改时间
  6382. type: string
  6383. outerdealmode:
  6384. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6385. type: integer
  6386. outergroupcode:
  6387. description: 外部商品组代码[通道交易]
  6388. type: string
  6389. quoteminunit:
  6390. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6391. type: integer
  6392. quotesourcegroupid:
  6393. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6394. type: integer
  6395. syncgoodsqty:
  6396. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6397. type: integer
  6398. required:
  6399. - areauserid
  6400. type: object
  6401. models.Ermcp3HPMiddleGoods:
  6402. properties:
  6403. biztype:
  6404. description: 业务类型 1:套保 2:套利
  6405. type: integer
  6406. contracttype:
  6407. description: 合同类型 1:采购 -1:销售
  6408. type: integer
  6409. convertratio:
  6410. description: 折算系数
  6411. type: number
  6412. customername:
  6413. description: 对手手名称
  6414. type: string
  6415. customeruserid:
  6416. description: 对手id
  6417. type: integer
  6418. enumdicname:
  6419. description: 现货单位名称
  6420. type: string
  6421. hedgeplanid:
  6422. description: 计划id
  6423. type: string
  6424. hedgeplanno:
  6425. description: 计划编号
  6426. type: string
  6427. middlegoodsid:
  6428. description: 套保品种ID
  6429. type: integer
  6430. middlegoodsplanqty3:
  6431. description: 应套保计划量
  6432. type: number
  6433. needhedgeratio:
  6434. description: 套保比例
  6435. type: number
  6436. pricedqty:
  6437. description: 已定价量
  6438. type: number
  6439. relatedmiddlegoodsqty:
  6440. description: 已关联量(套保品种)(期货)
  6441. type: number
  6442. unitid:
  6443. description: 现货单位id
  6444. type: integer
  6445. userid:
  6446. description: 用户id
  6447. type: integer
  6448. vatrate:
  6449. description: 增值税率
  6450. type: number
  6451. wrstandardcode:
  6452. description: 现货商品代码
  6453. type: string
  6454. wrstandardid:
  6455. description: 现货商品id
  6456. type: integer
  6457. wrstandardname:
  6458. description: 现货商品名称
  6459. type: string
  6460. type: object
  6461. models.Ermcp3HedgePlan:
  6462. properties:
  6463. accountid:
  6464. description: 资金账号
  6465. type: integer
  6466. areauserid:
  6467. description: 用户ID
  6468. type: integer
  6469. auditid:
  6470. description: 审核id
  6471. type: integer
  6472. auditname:
  6473. description: 审核人名称
  6474. type: string
  6475. auditremark:
  6476. description: 审核备注
  6477. type: string
  6478. auditsrc:
  6479. description: 审核来源 1-管理端 2-终端
  6480. type: integer
  6481. audittime:
  6482. description: 审核时间
  6483. type: string
  6484. contracttype:
  6485. description: 计划类型 - 1:采购 -1:销售
  6486. type: integer
  6487. convertfactor:
  6488. description: 标仓系数
  6489. type: number
  6490. createtime:
  6491. description: 创建时间
  6492. type: string
  6493. currencyid:
  6494. description: 币种id
  6495. type: integer
  6496. currencyname:
  6497. description: 币种名称
  6498. type: string
  6499. deliverygoodscode:
  6500. description: 现货品种代码
  6501. type: string
  6502. deliverygoodsid:
  6503. description: 现货品种ID
  6504. type: integer
  6505. deliverygoodsname:
  6506. description: 现货品种名称
  6507. type: string
  6508. enumdicname:
  6509. description: 单位名称(现货商品)
  6510. type: string
  6511. hedgeplanid:
  6512. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6513. type: string
  6514. hedgeplanno:
  6515. description: 套保计划编号(名称)
  6516. type: string
  6517. hedgeplanstatus:
  6518. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6519. type: integer
  6520. planqty:
  6521. description: 计划数量
  6522. type: number
  6523. plantime:
  6524. description: 计划时间
  6525. type: string
  6526. producttype:
  6527. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6528. type: integer
  6529. remark:
  6530. description: 备注
  6531. type: string
  6532. spotgoodsdesc:
  6533. description: 商品型号
  6534. type: string
  6535. taaccountname:
  6536. description: 资金账号名称
  6537. type: string
  6538. tradeuserid:
  6539. description: 交易用户id
  6540. type: integer
  6541. tradeusername:
  6542. description: 交易用户名称
  6543. type: string
  6544. unitid:
  6545. description: 单位id(现货商品)
  6546. type: integer
  6547. updatetime:
  6548. description: 更新时间
  6549. type: string
  6550. vatrate:
  6551. description: 增值税率
  6552. type: number
  6553. wrstandardcode:
  6554. description: 品类代码
  6555. type: string
  6556. wrstandardid:
  6557. description: 品类id
  6558. type: integer
  6559. wrstandardname:
  6560. description: 品类名称
  6561. type: string
  6562. wrunitid:
  6563. description: 品类单位id
  6564. type: integer
  6565. wrunitidame:
  6566. description: 品类单位名称
  6567. type: string
  6568. type: object
  6569. models.Ermcp3InnerTradeLink:
  6570. properties:
  6571. accountid:
  6572. description: 期货账号代码 | 资金账号ID
  6573. type: integer
  6574. buyorsell:
  6575. description: 方向 - 0:买 1:卖
  6576. type: integer
  6577. channelbuildtype:
  6578. description: 委托单据类型 0:无 1:建仓 2:平仓
  6579. type: integer
  6580. currencyid:
  6581. description: 币种id
  6582. type: integer
  6583. currencyname:
  6584. description: 结算币种 名称
  6585. type: string
  6586. goodscode:
  6587. description: 商品代码
  6588. type: string
  6589. goodsid:
  6590. description: 商品ID
  6591. type: integer
  6592. goodsname:
  6593. description: 商品名称
  6594. type: string
  6595. outtradeid:
  6596. description: 外部成交单号
  6597. type: string
  6598. taname:
  6599. description: 期货账户名称
  6600. type: string
  6601. tradeid:
  6602. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6603. type: string
  6604. tradeprice:
  6605. description: 成交价格
  6606. type: number
  6607. tradeqty:
  6608. description: 期货成交数量
  6609. type: integer
  6610. tradetime:
  6611. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6612. type: string
  6613. username:
  6614. description: 用户名称
  6615. type: string
  6616. type: object
  6617. models.Ermcp3OutTradeLink:
  6618. properties:
  6619. buyorsell:
  6620. description: 买卖方向 - 0:买 1:卖
  6621. type: integer
  6622. channelbuildtype:
  6623. description: 开平标志- 0:无 1:建仓 2:平仓
  6624. type: integer
  6625. currencyname:
  6626. description: 币种名称
  6627. type: string
  6628. exexchangecode:
  6629. description: 交易所代码
  6630. type: string
  6631. exexchangename:
  6632. description: 交易所名称
  6633. type: string
  6634. goodscode:
  6635. description: 合约代码
  6636. type: string
  6637. goodsid:
  6638. description: 合约id
  6639. type: integer
  6640. goodsname:
  6641. description: 合约名称
  6642. type: string
  6643. hasinnerorder:
  6644. description: 是否有内部单关联 - 0:无 1:有
  6645. type: integer
  6646. hedgeaccountcode:
  6647. description: 外部账号 | 对冲账号
  6648. type: string
  6649. outtradeid:
  6650. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6651. type: string
  6652. tradeprice:
  6653. description: 成交价格
  6654. type: number
  6655. tradeqty:
  6656. description: 成交数量
  6657. type: integer
  6658. tradetime:
  6659. description: 成交时间
  6660. type: string
  6661. type: object
  6662. models.Ermcp3PaAreaAuditCfg:
  6663. properties:
  6664. areauserid:
  6665. description: 用户ID
  6666. type: integer
  6667. buyinauditflag:
  6668. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. costratioauditflag:
  6671. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. customerauditflag:
  6674. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. deliveryauditflag:
  6677. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6678. type: integer
  6679. invoiceauditflag:
  6680. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6681. type: integer
  6682. mgneedhedgeratioauditflag:
  6683. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. moneyauditflag:
  6686. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. operatorid:
  6689. description: 操作人
  6690. type: integer
  6691. operatorsrc:
  6692. description: 操作来源 - 1:管理端 2:终端
  6693. type: integer
  6694. pointpriceauditflag:
  6695. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. produceinauditflag:
  6698. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. produceoutauditflag:
  6701. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. selloutauditflag:
  6704. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6705. type: integer
  6706. sgconvertratioauditflag:
  6707. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6708. type: integer
  6709. sgvtaratioauditflag:
  6710. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6711. type: integer
  6712. spotcontractauditflag:
  6713. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6714. type: integer
  6715. updatetime:
  6716. description: 更新时间
  6717. type: string
  6718. type: object
  6719. models.Ermcp3PaAreaSubject:
  6720. properties:
  6721. areauserid:
  6722. description: 所属机构
  6723. type: integer
  6724. canmodify:
  6725. description: 是否可修改 - 0:否 1:是
  6726. type: integer
  6727. createtime:
  6728. description: 创建时间
  6729. type: string
  6730. creatorid:
  6731. description: 创建人ID
  6732. type: string
  6733. creatorsrc:
  6734. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6735. type: integer
  6736. modifierid:
  6737. description: 修改人
  6738. type: string
  6739. modifiersrc:
  6740. description: 修改人来源 - 1:管理端 2:终端
  6741. type: integer
  6742. modifytime:
  6743. description: 修改时间
  6744. type: string
  6745. parentsubjectid:
  6746. description: 上级主体ID
  6747. type: string
  6748. remark:
  6749. description: 备注
  6750. type: string
  6751. subjectid:
  6752. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6753. type: integer
  6754. subjectname:
  6755. description: 主体名称
  6756. type: string
  6757. subjectstatus:
  6758. description: '主体状态 - 1:正常 2: 停用'
  6759. type: integer
  6760. subjecttype:
  6761. description: 主体类型 - 1:交易主体 2:业务部门
  6762. type: integer
  6763. type: object
  6764. models.Ermcp3PaTradeLink:
  6765. properties:
  6766. accountid:
  6767. description: 期货账户代码 | 账号ID
  6768. type: integer
  6769. agreeunit:
  6770. description: 合约乘数
  6771. type: number
  6772. buyorsell:
  6773. description: 方向 - 0:买 1:卖
  6774. type: integer
  6775. channelbuildtype:
  6776. description: 委托单据类型 0:无 1:建仓 2:平仓
  6777. type: integer
  6778. charge:
  6779. description: 手续费
  6780. type: number
  6781. closepl:
  6782. description: 平仓盈亏
  6783. type: number
  6784. closetype:
  6785. description: 平仓方式 - 0:无 1:平今 2:平昨
  6786. type: integer
  6787. convertratio:
  6788. description: 折算系数
  6789. type: number
  6790. enumdicname:
  6791. description: 单位名称
  6792. type: string
  6793. executeprice:
  6794. description: 执行价 [期权]
  6795. type: integer
  6796. goodscode:
  6797. description: 合约代码
  6798. type: string
  6799. goodsgroupid:
  6800. description: 对冲品种ID[期货合约商品组ID]
  6801. type: integer
  6802. goodsid:
  6803. description: 商品ID
  6804. type: integer
  6805. goodsname:
  6806. description: 合约名称
  6807. type: string
  6808. goodunitid:
  6809. description: 单位id
  6810. type: integer
  6811. hedgeflag:
  6812. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6813. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6814. type: integer
  6815. marketid:
  6816. description: 市场ID
  6817. type: integer
  6818. middlegoodsid:
  6819. description: 套保品种ID
  6820. type: integer
  6821. middlegoodsqty:
  6822. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6823. type: number
  6824. optioncode:
  6825. description: 期权代码 [期权]
  6826. type: string
  6827. ordertype:
  6828. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6829. type: integer
  6830. ordertypename:
  6831. description: 订单类型
  6832. type: string
  6833. parentaccountid:
  6834. description: 所属母账户
  6835. type: integer
  6836. premium:
  6837. description: 权利金 [期权]
  6838. type: number
  6839. relatedlot:
  6840. description: 已关联数量(已关联数量手) | db:关联手数
  6841. type: number
  6842. relatedouttradeid:
  6843. description: 关联外部成交单ID
  6844. type: string
  6845. relatedqty:
  6846. description: 关联数量
  6847. type: number
  6848. spotcontractid:
  6849. description: 现货合同ID [4:套期保值\10\11]
  6850. type: string
  6851. taname:
  6852. description: 期货账户名称
  6853. type: string
  6854. tradeamount:
  6855. description: 成交金额(账户)
  6856. type: number
  6857. tradedate:
  6858. description: 交易日(yyyyMMdd)
  6859. type: string
  6860. tradeid:
  6861. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6862. type: string
  6863. tradelot:
  6864. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6865. type: integer
  6866. tradeprice:
  6867. description: 成交价格
  6868. type: number
  6869. tradetime:
  6870. description: 时间 | db:成交时间
  6871. type: string
  6872. tradetype:
  6873. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6874. type: integer
  6875. userid:
  6876. description: 所属机构 - 所属母账户的UserID
  6877. type: string
  6878. username:
  6879. description: 用户名称
  6880. type: string
  6881. type: object
  6882. models.Ermcp3ParamChangeApp:
  6883. properties:
  6884. aftervalue:
  6885. description: 变更后
  6886. type: number
  6887. applicationid:
  6888. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6889. type: string
  6890. applyid:
  6891. description: 申请人
  6892. type: string
  6893. applyname:
  6894. description: 申请人名称(代码)
  6895. type: string
  6896. applyremark:
  6897. description: 申请备注
  6898. type: string
  6899. applysrc:
  6900. description: 申请来源 - 1:管理端 2:终端
  6901. type: integer
  6902. applystatus:
  6903. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6904. type: integer
  6905. applytime:
  6906. description: 申请时间
  6907. type: string
  6908. areauserid:
  6909. description: 所属机构用户ID
  6910. type: integer
  6911. auditid:
  6912. description: 审核人
  6913. type: string
  6914. auditname:
  6915. description: 审核人名称(代码)
  6916. type: string
  6917. auditremark:
  6918. description: 审核备注
  6919. type: string
  6920. auditsrc:
  6921. description: 审核来源 - 1:管理端 2:终端
  6922. type: integer
  6923. audittime:
  6924. description: 审核时间
  6925. type: string
  6926. audittradedate:
  6927. description: 审核交易日(yyyyMMdd)
  6928. type: string
  6929. beforevalue:
  6930. description: 变更前
  6931. type: number
  6932. deliverygoodscode:
  6933. description: 品种代码
  6934. type: string
  6935. deliverygoodsid:
  6936. description: 品种id
  6937. type: integer
  6938. deliverygoodsname:
  6939. description: 品种名称
  6940. type: string
  6941. middlegoodscode:
  6942. description: 套保品种代码
  6943. type: string
  6944. middlegoodsid:
  6945. description: 套保品种ID [ParamChangeType = 2,3,4]
  6946. type: integer
  6947. middlegoodsname:
  6948. description: 套保品种名称
  6949. type: string
  6950. operatetype:
  6951. description: 操作类型 - 1:新增 2:修改
  6952. type: integer
  6953. paramchangetype:
  6954. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6955. type: integer
  6956. wrstandardcode:
  6957. description: 现货商品代码
  6958. type: string
  6959. wrstandardid:
  6960. description: 现货商品ID [ParamChangeType = 1,2,3]
  6961. type: integer
  6962. wrstandardname:
  6963. description: 现货商品名称
  6964. type: string
  6965. type: object
  6966. models.Ermcp3RootUserAccount:
  6967. properties:
  6968. accountname:
  6969. description: 账户名称(机构名称)
  6970. type: string
  6971. accountstatus:
  6972. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6973. type: integer
  6974. applysrc:
  6975. description: 申请来源 - 1:管理端 2:终端
  6976. type: integer
  6977. auditremark:
  6978. description: 审核备注
  6979. type: string
  6980. auditsrc:
  6981. description: 审核来源 - 1:管理端 2:终端
  6982. type: integer
  6983. audittime:
  6984. description: 审核时间
  6985. type: string
  6986. audituserid:
  6987. description: 审核人
  6988. type: integer
  6989. broker:
  6990. description: 所属经纪人ID
  6991. type: integer
  6992. canceltime:
  6993. description: 销户时间
  6994. type: string
  6995. canceluserid:
  6996. description: 销户人
  6997. type: integer
  6998. canrecommend:
  6999. description: 是否可推荐 - 0:不可 1;可
  7000. type: integer
  7001. createtime:
  7002. description: 创建时间
  7003. type: string
  7004. creatorid:
  7005. description: 创建人
  7006. type: integer
  7007. hasauth:
  7008. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7009. type: integer
  7010. isanonymous:
  7011. description: 是否匿名下单 - 0:否 1:是
  7012. type: integer
  7013. maxinvestornum:
  7014. description: 最大用户数(经纪会员下投资者个数)
  7015. type: integer
  7016. memberuserid:
  7017. description: 所属会员ID
  7018. type: integer
  7019. modifierid:
  7020. description: 修改人
  7021. type: integer
  7022. modifyremark:
  7023. description: 变更备注
  7024. type: string
  7025. modifystatus:
  7026. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7027. type: integer
  7028. modifytime:
  7029. description: 修改时间
  7030. type: string
  7031. nickname:
  7032. description: 昵称
  7033. type: string
  7034. parenttopuser:
  7035. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7036. type: string
  7037. parentuserid:
  7038. description: 所属机构ID
  7039. type: integer
  7040. reckonaccountid:
  7041. description: 默认结算资金账号ID(机构分润使用) 作废
  7042. type: integer
  7043. refercount:
  7044. description: 推荐总人数
  7045. type: integer
  7046. refereeuserid:
  7047. description: 推荐人ID
  7048. type: integer
  7049. refernum:
  7050. description: 推荐码
  7051. type: string
  7052. rootuserid:
  7053. description: 根用户ID
  7054. type: integer
  7055. subaccountlevel:
  7056. description: 子账户层数
  7057. type: integer
  7058. subarealevelpath:
  7059. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7060. type: string
  7061. userid:
  7062. description: 用户ID
  7063. type: integer
  7064. usertype:
  7065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7066. type: integer
  7067. type: object
  7068. models.Ermcp3SCMiddleGoods:
  7069. properties:
  7070. biztype:
  7071. description: 业务类型 1:套保 2:套利
  7072. type: integer
  7073. contractno:
  7074. description: 合同编号
  7075. type: string
  7076. contracttype:
  7077. description: 合同类型 1:采购 -1:销售
  7078. type: integer
  7079. convertratio:
  7080. description: 折算系数
  7081. type: number
  7082. customername:
  7083. description: 对手手名称
  7084. type: string
  7085. customeruserid:
  7086. description: 对手id
  7087. type: integer
  7088. deliverygoodscode:
  7089. description: 现货品种代码
  7090. type: string
  7091. deliverygoodsid:
  7092. description: 现货品种ID
  7093. type: integer
  7094. deliverygoodsname:
  7095. description: 现货品种名称
  7096. type: string
  7097. enumdicname:
  7098. description: 现货单位名称
  7099. type: string
  7100. middlegoodsid:
  7101. description: 套保品种ID
  7102. type: integer
  7103. middlegoodspricedqty3:
  7104. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7105. type: number
  7106. needhedgeratio:
  7107. description: 套保比例
  7108. type: number
  7109. pricedqty:
  7110. description: 已定价量
  7111. type: number
  7112. relatedmiddlegoodsqty:
  7113. description: 已关联量(套保品种)(期货)
  7114. type: number
  7115. spotcontractid:
  7116. description: 合同编号
  7117. type: string
  7118. unitid:
  7119. description: 现货单位id
  7120. type: integer
  7121. userid:
  7122. description: 用户id
  7123. type: integer
  7124. vatrate:
  7125. description: 增值税率
  7126. type: number
  7127. wrstandardcode:
  7128. description: 现货商品代码
  7129. type: string
  7130. wrstandardid:
  7131. description: 现货商品id
  7132. type: integer
  7133. wrstandardname:
  7134. description: 现货商品名称
  7135. type: string
  7136. type: object
  7137. models.Ermcp3SCMiddleGoodsReport:
  7138. properties:
  7139. begindate:
  7140. description: 开始交易日
  7141. type: string
  7142. contractno:
  7143. description: 合同编号
  7144. type: string
  7145. contracttype:
  7146. description: 合同类型 1:采购 -1:销售
  7147. type: integer
  7148. convertratio:
  7149. description: 期初均价
  7150. type: number
  7151. cycletime:
  7152. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7153. type: string
  7154. cycletype:
  7155. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7156. type: integer
  7157. deliverygoodscode:
  7158. description: 品种代码
  7159. type: string
  7160. deliverygoodsid:
  7161. description: 现货品种ID
  7162. type: integer
  7163. deliverygoodsname:
  7164. description: 品种名称
  7165. type: string
  7166. diffprice:
  7167. description: 期初均价
  7168. type: number
  7169. diffqty:
  7170. description: 期初均价
  7171. type: number
  7172. enddate:
  7173. description: 结束交易日
  7174. type: string
  7175. hedgeplanqty:
  7176. description: 期初均价
  7177. type: number
  7178. matchname:
  7179. description: 交易对手方(个人:用户名称 企业:简称)
  7180. type: string
  7181. matchnickname:
  7182. description: 交易对手方昵称
  7183. type: string
  7184. middlegoodscode:
  7185. description: 套保品种代码
  7186. type: string
  7187. middlegoodsid:
  7188. description: 套保品种ID
  7189. type: integer
  7190. middlegoodsname:
  7191. description: 套保品种名称
  7192. type: string
  7193. middlegoodspricedqty:
  7194. description: 期初均价
  7195. type: number
  7196. middlegoodspricedqty2:
  7197. description: 期初均价
  7198. type: number
  7199. middlegoodspricedqty3:
  7200. description: 期初均价
  7201. type: number
  7202. needhedgeratio:
  7203. description: 期初均价
  7204. type: number
  7205. pricedamount:
  7206. description: 期初均价
  7207. type: number
  7208. pricedamount2:
  7209. description: 期初均价
  7210. type: number
  7211. pricedqty:
  7212. description: 期初均价
  7213. type: number
  7214. reckondate:
  7215. description: 日照时期(yyyyMMdd)
  7216. type: string
  7217. relatedmiddlegoodsamount:
  7218. description: 期初均价
  7219. type: number
  7220. relatedmiddlegoodsqty:
  7221. description: 期初均价
  7222. type: number
  7223. spotcontractid:
  7224. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7225. type: string
  7226. todayavgfutuprice:
  7227. description: 期初均价
  7228. type: number
  7229. todayavgprice:
  7230. description: 期初均价
  7231. type: number
  7232. todayavgprice2:
  7233. description: 期初均价
  7234. type: number
  7235. todaypricedamount:
  7236. description: 期初均价
  7237. type: number
  7238. todaypricedamount2:
  7239. description: 期初均价
  7240. type: number
  7241. todaypricedqty:
  7242. description: 期初均价
  7243. type: number
  7244. todayrelatedfutureqty:
  7245. description: 期初均价
  7246. type: number
  7247. todayrelatedmiddlegoodsamount:
  7248. description: 期初均价
  7249. type: number
  7250. todayrelatedmiddlegoodsqty:
  7251. description: 期初均价
  7252. type: number
  7253. updatetime:
  7254. description: 更新时间
  7255. type: string
  7256. userid:
  7257. description: 合同所属用户id
  7258. type: integer
  7259. vatrate:
  7260. description: 期初均价
  7261. type: number
  7262. wrstandardcode:
  7263. description: 商品(品类) 代码
  7264. type: string
  7265. wrstandardid:
  7266. description: 现货商品ID
  7267. type: integer
  7268. wrstandardname:
  7269. description: 商品(品类) 名称
  7270. type: string
  7271. type: object
  7272. models.Ermcp3SellBuyContract:
  7273. properties:
  7274. accountid:
  7275. description: 期货账户id
  7276. type: string
  7277. accountname:
  7278. description: 账户名称
  7279. type: string
  7280. attachment:
  7281. description: 附件
  7282. type: string
  7283. audittime:
  7284. description: 审核时间
  7285. type: string
  7286. bizsubjectid:
  7287. description: 归属业务部门ID - SubjectID
  7288. type: integer
  7289. biztype:
  7290. description: 业务类型 1-套保 2-套利
  7291. type: integer
  7292. brandname:
  7293. description: 品牌名称
  7294. type: string
  7295. contracctstatus:
  7296. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7297. type: integer
  7298. contractmargin:
  7299. description: 合同保证金
  7300. type: number
  7301. contractno:
  7302. description: 合同编号
  7303. type: string
  7304. contracttype:
  7305. description: 合同类型 1-采购, -1-销售
  7306. type: integer
  7307. convertfactor:
  7308. description: 标仓系数(品类)
  7309. type: number
  7310. createtime:
  7311. description: 创建时间
  7312. type: string
  7313. currencyid:
  7314. description: 币种id
  7315. type: integer
  7316. currencyname:
  7317. description: 币种名称
  7318. type: string
  7319. daikaiamount:
  7320. description: 应收(开)票额 | 未收票额
  7321. type: number
  7322. deliveryenddate:
  7323. description: 交割结束日
  7324. type: string
  7325. deliverygoodscode:
  7326. description: 现货品种代码
  7327. type: string
  7328. deliverygoodsid:
  7329. description: 现货商品ID
  7330. type: integer
  7331. deliverygoodsname:
  7332. description: 现货品种名称
  7333. type: string
  7334. deliverystartdate:
  7335. description: 交割开始日
  7336. type: string
  7337. enddate:
  7338. description: 点价结束日
  7339. type: string
  7340. enumdicname:
  7341. description: 单位名称
  7342. type: string
  7343. goodscode:
  7344. description: 点价商品代码
  7345. type: string
  7346. goodsgroupid:
  7347. description: 点价商品组id
  7348. type: integer
  7349. goodsid:
  7350. description: 点价商品ID
  7351. type: integer
  7352. goodsname:
  7353. description: 点价商品名称
  7354. type: string
  7355. invoiceamount:
  7356. description: 已开票额
  7357. type: number
  7358. loanamount:
  7359. description: 贷款总额=已定价额+调整金额
  7360. type: number
  7361. margin:
  7362. description: 保证金
  7363. type: number
  7364. meruserid:
  7365. description: 跟单员id
  7366. type: integer
  7367. meruserlogincode:
  7368. description: 跟单员登录代码
  7369. type: string
  7370. merusername:
  7371. description: 跟单员名称
  7372. type: string
  7373. nickname:
  7374. description: 账户昵称
  7375. type: string
  7376. orireckonrealqty:
  7377. description: 应交收量
  7378. type: number
  7379. payamount:
  7380. description: 已收付额(收款或付款)
  7381. type: number
  7382. preinvoiceamount:
  7383. description: 预收(开)票额
  7384. type: number
  7385. prepayamount:
  7386. description: 预收付额
  7387. type: number
  7388. price:
  7389. description: 价格
  7390. type: number
  7391. pricedamount:
  7392. description: 已定价额
  7393. type: number
  7394. pricedavg:
  7395. description: 已点均价
  7396. type: number
  7397. pricedqty:
  7398. description: 已定价量
  7399. type: number
  7400. pricemove:
  7401. description: 升贴水
  7402. type: number
  7403. pricetype:
  7404. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7405. type: integer
  7406. producttype:
  7407. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7408. type: integer
  7409. qty:
  7410. description: 合同量
  7411. type: number
  7412. reckonadjustamount:
  7413. description: 调整金额
  7414. type: number
  7415. reckonedamount:
  7416. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7417. type: number
  7418. reckonotheramount:
  7419. description: 其它费用
  7420. type: number
  7421. reckonrealqty:
  7422. description: 已交收量
  7423. type: number
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. saleuserid:
  7428. description: 业务员id
  7429. type: integer
  7430. saleuserlogincode:
  7431. description: 业务员登录代码
  7432. type: string
  7433. saleusername:
  7434. description: 业务员名称
  7435. type: string
  7436. spotcontractid:
  7437. description: 合同ID
  7438. type: string
  7439. spotgoodsbrandid:
  7440. description: 现货品牌ID(DGFactoryItem表的ID)
  7441. type: integer
  7442. spotgoodsdesc:
  7443. description: 商品型号(商品规格)
  7444. type: string
  7445. startdate:
  7446. description: 点价开始日
  7447. type: string
  7448. subjectid:
  7449. description: 交易主体ID
  7450. type: integer
  7451. subjectname:
  7452. description: 交易主体名称
  7453. type: string
  7454. totalamount:
  7455. description: 合计总额
  7456. type: number
  7457. tradeuserid:
  7458. description: 交易员id
  7459. type: integer
  7460. tradeuserlogincode:
  7461. description: 交易员登录代码
  7462. type: string
  7463. tradeusername:
  7464. description: 交易员名称
  7465. type: string
  7466. unpayamount:
  7467. description: 应收付款额(应支付或应收款) | 未付款额
  7468. type: number
  7469. unpricedqty:
  7470. description: 未定价量
  7471. type: number
  7472. unsureqty:
  7473. description: 未确定量 | 未交收量
  7474. type: number
  7475. userid:
  7476. description: 机构ID
  7477. type: integer
  7478. vatrate:
  7479. description: 增值税率
  7480. type: number
  7481. wrstandardcode:
  7482. description: 品类代码
  7483. type: string
  7484. wrstandardid:
  7485. description: 品类ID
  7486. type: integer
  7487. wrstandardname:
  7488. description: 品类名称
  7489. type: string
  7490. type: object
  7491. models.Ermcp3SpotGoodsPrice:
  7492. properties:
  7493. areauserid:
  7494. description: 所属机构id
  7495. type: integer
  7496. brandname:
  7497. description: 品牌名称
  7498. type: string
  7499. currencyid:
  7500. description: 报价货币ID
  7501. type: integer
  7502. currencyname:
  7503. description: 币种名称
  7504. type: string
  7505. deliverygoodscode:
  7506. description: 现货商品代码
  7507. type: string
  7508. deliverygoodsid:
  7509. description: 现货商品id
  7510. type: integer
  7511. deliverygoodsname:
  7512. description: 现货商品名称
  7513. type: string
  7514. enumdicname:
  7515. description: 现货商品单位名称
  7516. type: string
  7517. gbenumdicname:
  7518. description: 品类单位名称
  7519. type: string
  7520. gmunitid:
  7521. description: 品类单位id
  7522. type: integer
  7523. isvalid:
  7524. description: 是否有效 - 0:无效 1:有效
  7525. type: integer
  7526. operateid:
  7527. description: 最后操作人
  7528. type: integer
  7529. operatesrc:
  7530. description: 最后操作来源 - 1:管理端 2:终端
  7531. type: integer
  7532. operatetime:
  7533. description: 最后操作时间
  7534. type: string
  7535. operatorname:
  7536. description: 操作人名称
  7537. type: string
  7538. spotgoodsbrandid:
  7539. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7540. type: integer
  7541. spotgoodsprice:
  7542. description: 现货价格
  7543. type: number
  7544. tradedate:
  7545. description: 交易日(yyyyMMdd)
  7546. type: string
  7547. unitid:
  7548. description: 现货商品单位id
  7549. type: integer
  7550. wrstandardcode:
  7551. description: 品类代码
  7552. type: string
  7553. wrstandardid:
  7554. description: 现货品类ID(通用则为0)
  7555. type: integer
  7556. wrstandardname:
  7557. description: 品类名称
  7558. type: string
  7559. type: object
  7560. models.Ermcp3SpotGoodsPriceLog:
  7561. properties:
  7562. areauserid:
  7563. description: 所属机构id
  7564. type: integer
  7565. brandname:
  7566. description: 品牌名称
  7567. type: string
  7568. currencyid:
  7569. description: 报价货币ID
  7570. type: integer
  7571. deliverygoodscode:
  7572. description: 现货商品代码
  7573. type: string
  7574. deliverygoodsid:
  7575. description: 现货商品id
  7576. type: integer
  7577. deliverygoodsname:
  7578. description: 现货商品名称
  7579. type: string
  7580. enumdicname:
  7581. description: 现货商品单位名称
  7582. type: string
  7583. gbenumdicname:
  7584. description: 品类单位名称
  7585. type: string
  7586. gmunitid:
  7587. description: 品类单位id
  7588. type: integer
  7589. logid:
  7590. description: 日志id
  7591. type: integer
  7592. operateid:
  7593. description: 最后操作人
  7594. type: integer
  7595. operatesrc:
  7596. description: 最后操作来源 - 1:管理端 2:终端
  7597. type: integer
  7598. operatetime:
  7599. description: 最后操作时间
  7600. type: string
  7601. operatorname:
  7602. description: 操作人名称
  7603. type: string
  7604. spotgoodsbrandid:
  7605. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7606. type: integer
  7607. spotgoodsprice:
  7608. description: 现货价格
  7609. type: number
  7610. tradedate:
  7611. description: 交易日(yyyyMMdd)
  7612. type: string
  7613. unitid:
  7614. description: 现货商品单位id
  7615. type: integer
  7616. wrstandardcode:
  7617. description: 品类代码
  7618. type: string
  7619. wrstandardid:
  7620. description: 现货品类ID(通用则为0)
  7621. type: integer
  7622. wrstandardname:
  7623. description: 品类名称
  7624. type: string
  7625. type: object
  7626. models.Ermcp3SubTaaccount:
  7627. properties:
  7628. accountid:
  7629. description: 资金账户ID
  7630. type: integer
  7631. parentaccountcode:
  7632. description: 所属根账号代码(母账号代码)
  7633. type: string
  7634. parentaccountid:
  7635. description: 所属根账号(母账号)
  7636. type: integer
  7637. taname:
  7638. description: 资金账号名称
  7639. type: string
  7640. tradestatus:
  7641. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7642. type: integer
  7643. username:
  7644. description: 交易用户
  7645. type: string
  7646. type: object
  7647. models.Ermcp3TaFutuReDataReport:
  7648. properties:
  7649. accountid:
  7650. description: 交易账户
  7651. type: integer
  7652. accountname:
  7653. description: 交易账号名称
  7654. type: string
  7655. agreeunit:
  7656. description: 商品合约单位
  7657. type: number
  7658. begindate:
  7659. description: 开始交易日
  7660. type: string
  7661. buyorsell:
  7662. description: 持仓方向
  7663. type: integer
  7664. charge:
  7665. description: 手续费
  7666. type: number
  7667. closeavgprice:
  7668. description: 期初均价
  7669. type: number
  7670. closepl:
  7671. description: 平仓损益
  7672. type: number
  7673. currencyid:
  7674. description: 结算币种ID
  7675. type: integer
  7676. currencyname:
  7677. description: 币种名称
  7678. type: string
  7679. cycletime:
  7680. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7681. type: string
  7682. cycletype:
  7683. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7684. type: integer
  7685. enddate:
  7686. description: 结束交易日
  7687. type: string
  7688. enumdicname:
  7689. description: 单位名称
  7690. type: string
  7691. floatpl:
  7692. description: 浮动损益
  7693. type: number
  7694. goodscode:
  7695. description: 交易合约代码
  7696. type: string
  7697. goodsgroupid:
  7698. description: 交易品种
  7699. type: integer
  7700. goodsgroupname:
  7701. description: 交易品种名称
  7702. type: string
  7703. goodsgroupspotqty:
  7704. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7705. type: number
  7706. goodsid:
  7707. description: 交易合约
  7708. type: integer
  7709. goodsname:
  7710. description: 交易合约名称
  7711. type: string
  7712. goodunitid:
  7713. description: 交易合约单位id
  7714. type: integer
  7715. holdamount:
  7716. description: 期末持仓额
  7717. type: number
  7718. holdqty:
  7719. description: 期初均价
  7720. type: number
  7721. lastholdamount:
  7722. description: 当前持仓额
  7723. type: number
  7724. lastprice:
  7725. description: 最新价
  7726. type: number
  7727. middlegoodsid:
  7728. description: 套保品种id
  7729. type: integer
  7730. middlegoodsname:
  7731. description: 套保商品名称
  7732. type: string
  7733. middlegoodsqty:
  7734. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7735. type: number
  7736. middlgoodscode:
  7737. description: 套保商品代码
  7738. type: string
  7739. openamount:
  7740. description: 期末开仓额
  7741. type: number
  7742. openavgprice:
  7743. description: 期初均价
  7744. type: number
  7745. oriholdamount:
  7746. description: 期初持仓额
  7747. type: number
  7748. oriholdqty:
  7749. description: 期初均价
  7750. type: number
  7751. oriopenamount:
  7752. description: 期初开仓额
  7753. type: number
  7754. outergroupcode:
  7755. description: 交易品种代码
  7756. type: string
  7757. qtydecimalplace:
  7758. description: 成交量小数位
  7759. type: integer
  7760. reckondate:
  7761. description: 日照时期(yyyyMMdd)
  7762. type: string
  7763. reckonholdamount:
  7764. description: 结算持仓额
  7765. type: number
  7766. reckonpl:
  7767. description: 结算损益
  7768. type: number
  7769. reckonpl2:
  7770. description: 结算逐笔盈亏
  7771. type: number
  7772. reckonprice:
  7773. description: 结算价
  7774. type: number
  7775. relateduserid:
  7776. description: 账户关联用户ID
  7777. type: integer
  7778. todaycloseamount:
  7779. description: 今平仓额
  7780. type: number
  7781. todaycloseqty:
  7782. description: 期初均价
  7783. type: number
  7784. todaygoodsgroupspotqty:
  7785. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7786. type: number
  7787. todaymiddlegoodsqty:
  7788. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7789. type: number
  7790. todayopenamount:
  7791. description: 今开仓额
  7792. type: number
  7793. todayopenqty:
  7794. description: 期初均价
  7795. type: number
  7796. userid:
  7797. description: 账户所属用户ID
  7798. type: integer
  7799. type: object
  7800. models.Ermcp3TradeLinkDetail:
  7801. properties:
  7802. accountid:
  7803. description: 资金账号
  7804. type: integer
  7805. agreeunit:
  7806. description: 合约乘数
  7807. type: number
  7808. areauserid:
  7809. description: 所属机构
  7810. type: string
  7811. bizsubjectid:
  7812. description: 归属业务部门ID - SubjectID
  7813. type: string
  7814. buyorsell:
  7815. description: 方向 - 0:买 1:卖
  7816. type: integer
  7817. channelbuildtype:
  7818. description: 委托单据类型 0:无 1:建仓 2:平仓
  7819. type: integer
  7820. contractno:
  7821. description: 现货编号 (合同编号)
  7822. type: string
  7823. convertratio:
  7824. description: 折算系数
  7825. type: number
  7826. createtime:
  7827. description: 关联时间 | 创建时间
  7828. type: string
  7829. creatorid:
  7830. description: 创建人ID
  7831. type: string
  7832. creatorsrc:
  7833. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7834. type: integer
  7835. enumdicname:
  7836. description: 单位名称
  7837. type: string
  7838. goodscode:
  7839. description: 合约代码
  7840. type: string
  7841. goodsgroupid:
  7842. description: 对冲品种ID[期货合约商品组ID]
  7843. type: integer
  7844. goodsid:
  7845. description: 商品ID
  7846. type: integer
  7847. goodsname:
  7848. description: 合约名称
  7849. type: string
  7850. hedgeflag:
  7851. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7852. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7853. type: integer
  7854. linkdetailid:
  7855. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7856. type: string
  7857. linkstatus:
  7858. description: 关联状态 - 1:成功 2:失败 3:解绑
  7859. type: integer
  7860. middlegoodscode:
  7861. description: 套保品种代码
  7862. type: string
  7863. middlegoodsid:
  7864. description: 套保品种ID
  7865. type: integer
  7866. middlegoodsname:
  7867. description: 套保品种名称
  7868. type: string
  7869. relatedlot:
  7870. description: 关联手数
  7871. type: number
  7872. relatedmode:
  7873. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7874. type: integer
  7875. relatedqty:
  7876. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7877. type: number
  7878. retcode:
  7879. description: 返回码
  7880. type: integer
  7881. saleuserid:
  7882. description: 业务员ID
  7883. type: string
  7884. spotcontractid:
  7885. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7886. type: string
  7887. taname:
  7888. description: 期货账户
  7889. type: string
  7890. tradedate:
  7891. description: 关联交易日(yyyyMMdd)
  7892. type: string
  7893. tradeid:
  7894. description: 期货订单号 | 内部成交单ID
  7895. type: string
  7896. tradelot:
  7897. description: 成交数量 | 成交手数
  7898. type: integer
  7899. tradeprice:
  7900. description: 成交价格
  7901. type: number
  7902. tradetime:
  7903. description: 期货成交时间
  7904. type: string
  7905. tradetradedate:
  7906. description: 成交交易日(yyyyMMdd)
  7907. type: string
  7908. username:
  7909. description: 用户名称
  7910. type: string
  7911. type: object
  7912. models.Ermcp3Wrstandard:
  7913. properties:
  7914. areauserid:
  7915. description: 所属机构
  7916. type: integer
  7917. cantrade:
  7918. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7919. type: integer
  7920. convertfactor:
  7921. description: 标仓系数
  7922. type: number
  7923. createtime:
  7924. description: 创建时间
  7925. type: string
  7926. creatorid:
  7927. description: 创建人
  7928. type: integer
  7929. deliverygoodsid:
  7930. description: 现货品种ID
  7931. type: integer
  7932. enumdicname:
  7933. description: 品类单位名称
  7934. type: string
  7935. isvalid:
  7936. description: 是否有效 0-无效(停用) 1-有效(正常)
  7937. type: integer
  7938. minivalue:
  7939. description: 最小变动值
  7940. type: integer
  7941. minivaluedp:
  7942. description: 最小变动值小数位
  7943. type: integer
  7944. realminivalue:
  7945. description: 实际最小变动值
  7946. type: integer
  7947. realminivaluedp:
  7948. description: 实际最小变动值小数位
  7949. type: integer
  7950. remark:
  7951. description: 备注
  7952. type: string
  7953. unitid:
  7954. description: 品类单位ID
  7955. type: integer
  7956. updatetime:
  7957. description: 更新时间
  7958. type: string
  7959. wrstandardcode:
  7960. description: 品类代码
  7961. type: string
  7962. wrstandardid:
  7963. description: 品类ID(SEQ_WRSTANDARD)
  7964. type: integer
  7965. wrstandardname:
  7966. description: 品类名称
  7967. type: string
  7968. type: object
  7969. models.Ermcp8EnableHedgeditem:
  7970. properties:
  7971. accountname:
  7972. description: 套期主体
  7973. type: string
  7974. hedgeditemid:
  7975. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7976. type: string
  7977. hedgeditemname:
  7978. description: 项目名称
  7979. type: string
  7980. hedgeditemnum:
  7981. description: 项目编号
  7982. type: string
  7983. hedgedtype:
  7984. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7985. type: integer
  7986. planenddate:
  7987. description: 计划结束日期
  7988. type: string
  7989. planstartdate:
  7990. description: 计划开始日期
  7991. type: string
  7992. wrstandardid:
  7993. description: 现货商品ID
  7994. type: integer
  7995. wrstandardname:
  7996. description: 现货商品
  7997. type: string
  7998. type: object
  7999. models.Ermcp8HedgeditemReport:
  8000. properties:
  8001. accountname:
  8002. description: 套期主体
  8003. type: string
  8004. areauserid:
  8005. description: 企业ID
  8006. type: integer
  8007. curprice:
  8008. description: '[当日现货市场价]当前市场价'
  8009. type: number
  8010. enumdicname:
  8011. description: 单位
  8012. type: string
  8013. exeamount:
  8014. description: '[执行现货金额]执行市价总额'
  8015. type: number
  8016. exeavgprice:
  8017. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8018. type: number
  8019. exeqty:
  8020. description: '[执行数量]执行现货量'
  8021. type: number
  8022. futurehedgepl:
  8023. description: 期货实际损益
  8024. type: number
  8025. futurehedgeplchange:
  8026. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8027. type: number
  8028. futurepl:
  8029. description: 期货套期损益
  8030. type: number
  8031. futureplchange:
  8032. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8033. type: number
  8034. hedgeamount:
  8035. description: '[套期现货金额]套期市价总额'
  8036. type: number
  8037. hedgeditemnum:
  8038. description: 项目编号,模糊查询
  8039. type: string
  8040. hedgeditemstatus:
  8041. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8042. type: integer
  8043. hedgedtype:
  8044. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8045. type: integer
  8046. hedgeqty:
  8047. description: '[套期数量]套期现货量'
  8048. type: number
  8049. oriavgprice:
  8050. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8051. type: number
  8052. orifuturehedgepl:
  8053. description: 期初期货实际损益
  8054. type: number
  8055. orifuturepl:
  8056. description: 期初期货套期损益
  8057. type: number
  8058. orispothedgepl:
  8059. description: 期初现货实际损益
  8060. type: number
  8061. orispotpl:
  8062. description: 期初现货套期损益
  8063. type: number
  8064. planenddate:
  8065. description: 计划结束日期
  8066. type: string
  8067. planstartdate:
  8068. description: 计划开始日期
  8069. type: string
  8070. spothedgepl:
  8071. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8072. type: number
  8073. spothedgeplchange:
  8074. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8075. type: number
  8076. spotpl:
  8077. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8078. type: number
  8079. spotplchange:
  8080. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8081. type: number
  8082. tradeuserid:
  8083. description: 交易用户ID
  8084. type: integer
  8085. unexeqty:
  8086. description: 未执行现货量 = 套期现货量 - 执行现货量
  8087. type: number
  8088. wrstandardcode:
  8089. description: 现货品类代码
  8090. type: string
  8091. wrstandardid:
  8092. description: 现货商品ID
  8093. type: integer
  8094. wrstandardname:
  8095. description: '[现货商品]现货品类名称'
  8096. type: string
  8097. type: object
  8098. models.Ermcp8RunningHedgeditem:
  8099. properties:
  8100. accountname:
  8101. description: 套期主体
  8102. type: string
  8103. applyid:
  8104. description: 申请人
  8105. type: integer
  8106. applysrc:
  8107. description: 申请来源 - 1:管理端 2:终端
  8108. type: integer
  8109. areauserid:
  8110. description: 企业ID
  8111. type: integer
  8112. auditid:
  8113. description: 审核人
  8114. type: integer
  8115. auditremark:
  8116. description: 审核备注
  8117. type: string
  8118. auditsrc:
  8119. description: 审核来源 - 1:管理端 2:终端
  8120. type: integer
  8121. audittime:
  8122. description: 审核时间
  8123. type: string
  8124. audittradedate:
  8125. description: 审核交易日(yyyyMMdd)
  8126. type: string
  8127. createtime:
  8128. description: 申请时间
  8129. type: string
  8130. curprice:
  8131. description: 当前市场价
  8132. type: number
  8133. curstock:
  8134. description: 期末库存量 = 采购总量 - 销售总量
  8135. type: number
  8136. deliverygoodsid:
  8137. description: 现货品种ID
  8138. type: integer
  8139. enddate:
  8140. description: 完成日期
  8141. type: string
  8142. endtradedate:
  8143. description: 完成交易日
  8144. type: string
  8145. enumdicname:
  8146. description: 单位
  8147. type: string
  8148. exeamount:
  8149. description: 执行市价总额
  8150. type: number
  8151. exeavgprice:
  8152. description: 执行市场均价= 执行市价总额 / 执行现货量
  8153. type: number
  8154. execontractamount:
  8155. description: 执行定价总额
  8156. type: number
  8157. exeqty:
  8158. description: 执行现货量
  8159. type: number
  8160. exerestamount:
  8161. description: 执行剩余市价总额【现货贸易】
  8162. type: number
  8163. futurefloatpl:
  8164. description: 期货浮动损益
  8165. type: number
  8166. futurehedgepl:
  8167. description: 期货实际损益
  8168. type: number
  8169. futurehedgeplchange:
  8170. description: 期货实际损益变动
  8171. type: number
  8172. futurepl:
  8173. description: 期货套期损益
  8174. type: number
  8175. futureplchange:
  8176. description: 期货套期损益变动
  8177. type: number
  8178. hedgeamount:
  8179. description: 套期市价总额
  8180. type: number
  8181. hedgecontractamount:
  8182. description: 套期定价总额 【定价采购合同】【现货贸易】
  8183. type: number
  8184. hedgeditemid:
  8185. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8186. type: string
  8187. hedgeditemname:
  8188. description: 项目名称
  8189. type: string
  8190. hedgeditemnum:
  8191. description: 项目编号
  8192. type: string
  8193. hedgeditemstatus:
  8194. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8195. type: integer
  8196. hedgedtype:
  8197. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8198. type: integer
  8199. hedgeqty:
  8200. description: 套期现货量
  8201. type: number
  8202. hedgerate:
  8203. description: 套保比率
  8204. type: number
  8205. hedgerestamount:
  8206. description: 套期剩余市价总额【现货贸易】
  8207. type: number
  8208. hedgesumpl:
  8209. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8210. type: number
  8211. middlegoodslist:
  8212. description: 套期商品列表
  8213. items:
  8214. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8215. type: array
  8216. oriavgprice:
  8217. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8218. type: number
  8219. orifuturehedgepl:
  8220. description: 期初期货实际损益
  8221. type: number
  8222. orifuturepl:
  8223. description: 期初期货套期损益
  8224. type: number
  8225. orispothedgepl:
  8226. description: 期初现货实际损益
  8227. type: number
  8228. orispotpl:
  8229. description: 期初现货套期损益
  8230. type: number
  8231. planenddate:
  8232. description: 计划结束日期
  8233. type: string
  8234. planstartdate:
  8235. description: 计划开始日期
  8236. type: string
  8237. remark:
  8238. description: 备注
  8239. type: string
  8240. spotbookamount:
  8241. description: 现货账面总额
  8242. type: number
  8243. spotfloatpl:
  8244. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8245. type: number
  8246. spothedgepl:
  8247. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8248. type: number
  8249. spothedgeplchange:
  8250. description: 现货实际损益变动
  8251. type: number
  8252. spotpl:
  8253. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8254. type: number
  8255. spotplchange:
  8256. description: 现货套期损益变动
  8257. type: number
  8258. spottradepl:
  8259. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8260. type: number
  8261. sumobspl:
  8262. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8263. type: number
  8264. tradeuserid:
  8265. description: 交易用户ID
  8266. type: integer
  8267. unexeqty:
  8268. description: 未执行现货量 = 套期现货量 - 执行现货量
  8269. type: number
  8270. updatetime:
  8271. description: 更新时间
  8272. type: string
  8273. vatpl:
  8274. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8275. type: number
  8276. vatrate:
  8277. description: 增值税
  8278. type: number
  8279. wrstandardid:
  8280. description: 现货商品ID
  8281. type: integer
  8282. wrstandardname:
  8283. description: 商品名称
  8284. type: string
  8285. type: object
  8286. models.ErmcpBizGroupEx:
  8287. properties:
  8288. acclist:
  8289. description: 账号列表
  8290. items:
  8291. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8292. type: array
  8293. bizgroupid:
  8294. description: 业务分组id
  8295. type: integer
  8296. biztype:
  8297. description: 业务类型 1-套保 2-套利
  8298. type: integer
  8299. wrlist:
  8300. description: 现货商品表
  8301. items:
  8302. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8303. type: array
  8304. type: object
  8305. models.ErmcpBizGroupSpotGoods:
  8306. properties:
  8307. areauserid:
  8308. description: 所属机构id
  8309. type: integer
  8310. bizgroupid:
  8311. description: 分组id
  8312. type: integer
  8313. biztype:
  8314. description: 业务类型 1-套保 2-套利
  8315. type: integer
  8316. deliverygoodscode:
  8317. description: 现货商品代码
  8318. type: string
  8319. deliverygoodsid:
  8320. description: 现货商品id
  8321. type: integer
  8322. deliverygoodsname:
  8323. description: 现货商品名称
  8324. type: string
  8325. unitid:
  8326. description: 现货商品单位id
  8327. type: integer
  8328. type: object
  8329. models.ErmcpBizGroupTaAccount:
  8330. properties:
  8331. accountid:
  8332. description: 账号id
  8333. type: integer
  8334. accountname:
  8335. description: 账号名称
  8336. type: string
  8337. areauserid:
  8338. description: 所属机构id
  8339. type: integer
  8340. bizgroupid:
  8341. description: 业务分组id
  8342. type: integer
  8343. ismain:
  8344. description: 是否主账号 1-是 0-否
  8345. type: integer
  8346. type: object
  8347. models.ErmcpDGFactoryItem:
  8348. properties:
  8349. areauserid:
  8350. description: 用户id
  8351. type: integer
  8352. deliverygoodsid:
  8353. description: 现货品种ID
  8354. type: integer
  8355. dgfactoryitemid:
  8356. description: 选择项ID(SEQ_DGFACTORYITEM)
  8357. type: integer
  8358. dgfactoryitemtypeid:
  8359. description: 要素项类型
  8360. type: integer
  8361. dgfactoryitemvalue:
  8362. description: 要素项值(类型为仓库时填写仓库名称)
  8363. type: string
  8364. isvalid:
  8365. description: 是否有效 - 0:无效 1:有效
  8366. type: integer
  8367. orderindex:
  8368. description: 顺序
  8369. type: integer
  8370. warehouseid:
  8371. description: 仓库ID(类型为仓库时填写)
  8372. type: integer
  8373. type: object
  8374. models.ErmcpDeliveryGoods:
  8375. properties:
  8376. agreeunit:
  8377. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8378. type: integer
  8379. areauserid:
  8380. description: 所属机构
  8381. type: integer
  8382. auditflag:
  8383. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8384. type: integer
  8385. categoryid:
  8386. description: 类别ID(SEQ_WRCATEGORY)
  8387. type: integer
  8388. deliverygoodscode:
  8389. description: 现货品种代码
  8390. type: string
  8391. deliverygoodsid:
  8392. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8393. type: integer
  8394. deliverygoodsname:
  8395. description: 现货品种名称
  8396. type: string
  8397. deliverygoodstype:
  8398. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8399. type: integer
  8400. dgstatus:
  8401. description: 品种状态 - 作废 - 0:未激活 1:正常
  8402. type: integer
  8403. enumdicname:
  8404. description: 现货品种单位名称
  8405. type: string
  8406. goodsunitid:
  8407. description: 现货品种单位ID
  8408. type: integer
  8409. isvalid:
  8410. description: 是否有效 - 0:无效 1:有效
  8411. type: integer
  8412. qtydecimalplace:
  8413. description: 成交量小数位
  8414. type: integer
  8415. remark:
  8416. description: 备注
  8417. type: string
  8418. standardqty:
  8419. description: 标准数量(库位数量) [标准品特有]
  8420. type: integer
  8421. standardqtyrange:
  8422. description: 标准数量偏差范围 [标准品特有]
  8423. type: integer
  8424. type: object
  8425. models.ErmcpFuturesCompany:
  8426. properties:
  8427. brokerid:
  8428. description: 经纪公司代码
  8429. type: string
  8430. channeladdress:
  8431. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8432. type: string
  8433. channelid:
  8434. description: 对冲渠道ID
  8435. type: string
  8436. createtime:
  8437. description: 创建时间
  8438. type: string
  8439. creatorid:
  8440. description: 创建人
  8441. type: string
  8442. fcid:
  8443. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8444. type: integer
  8445. fcname:
  8446. description: 期货公司名称
  8447. type: string
  8448. isvalid:
  8449. description: 是否有效 - 0:无效 1:有效
  8450. type: integer
  8451. mhpaddress:
  8452. description: MHP服务地址(IP:Port)
  8453. type: string
  8454. riskrulegroupid:
  8455. description: 风控规则组ID
  8456. type: string
  8457. tradefeetmpid:
  8458. description: 手续费模板ID[TradeConfigTmpType为2]
  8459. type: string
  8460. trademargintmpid:
  8461. description: 保证金模板ID [TradeConfigTmpType为1]
  8462. type: string
  8463. traderatetmpid:
  8464. description: 汇率模板ID[TradeConfigTmpType为3]
  8465. type: string
  8466. updatetime:
  8467. description: 更新时间
  8468. type: string
  8469. updatorid:
  8470. description: 更新人
  8471. type: string
  8472. type: object
  8473. models.ErmcpGGConvertCfg:
  8474. properties:
  8475. convertratio:
  8476. description: 折算系数
  8477. type: number
  8478. destgoodsgroupid:
  8479. description: 目标品种ID
  8480. type: integer
  8481. dstcode:
  8482. description: 目录品种代码
  8483. type: string
  8484. dstexchangecode:
  8485. description: 目标期货交易所
  8486. type: string
  8487. dstname:
  8488. description: 目标品种名称
  8489. type: string
  8490. dstunitid:
  8491. description: 目标品种单位ID
  8492. type: integer
  8493. dstunitidname:
  8494. description: 目标品种单位名称
  8495. type: string
  8496. modifytime:
  8497. description: 修改时间
  8498. type: string
  8499. srccode:
  8500. description: 源品种代码
  8501. type: string
  8502. srcexchangecode:
  8503. description: 源期货交易所
  8504. type: string
  8505. srcgoodsgroupid:
  8506. description: 源品种ID
  8507. type: integer
  8508. srcname:
  8509. description: 源品种名称
  8510. type: string
  8511. srcunitid:
  8512. description: 源品种单位ID
  8513. type: integer
  8514. srcunitidname:
  8515. description: 源品种单位名称
  8516. type: string
  8517. type: object
  8518. models.ErmcpGoods:
  8519. properties:
  8520. agreeunit:
  8521. description: 合约单位
  8522. type: number
  8523. areauserid:
  8524. description: 所属机构
  8525. type: integer
  8526. auditaccountid:
  8527. description: 审核操作员账号
  8528. type: integer
  8529. audittime:
  8530. description: 审核时间
  8531. type: string
  8532. cancelaccountid:
  8533. description: 注销操作员账号
  8534. type: integer
  8535. canceltime:
  8536. description: 注销时间
  8537. type: string
  8538. closepricemode:
  8539. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8540. type: integer
  8541. closepriceparam:
  8542. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8543. type: number
  8544. createtime:
  8545. description: 创建时间
  8546. type: string
  8547. creatorid:
  8548. description: 创建人
  8549. type: integer
  8550. currencyid:
  8551. description: 报价货币ID
  8552. type: integer
  8553. cutmode:
  8554. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8555. type: integer
  8556. decimalplace:
  8557. description: 报价小数位
  8558. type: integer
  8559. delistingdate:
  8560. description: 商品退市时间(状态:退市) -- 已作废
  8561. type: string
  8562. delistingmode:
  8563. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8564. type: integer
  8565. deliveryflag:
  8566. description: 交割标志 - 0:不可交割 1:可交割
  8567. type: integer
  8568. enumdicname:
  8569. description: 单位名称
  8570. type: string
  8571. forceclosemode:
  8572. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8573. type: integer
  8574. forceclosevalue:
  8575. description: 定期强平参数 [收益权]
  8576. type: integer
  8577. goodscode:
  8578. description: 商品代码(内部)
  8579. type: string
  8580. goodscurrencyid:
  8581. description: 合约货币ID
  8582. type: integer
  8583. goodsgroupid:
  8584. description: 所属商品组ID
  8585. type: integer
  8586. goodsid:
  8587. description: 商品ID(自增ID SEQ_GOODS)
  8588. type: integer
  8589. goodsname:
  8590. description: 商品名称
  8591. type: string
  8592. goodsquotetype:
  8593. description: '合约报价类型: 1-直接报价 2-间接报价'
  8594. type: integer
  8595. goodsstatus:
  8596. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8597. type: integer
  8598. goodstradetype:
  8599. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8600. type: integer
  8601. goodunitid:
  8602. description: 报价单位ID
  8603. type: integer
  8604. hasquoter:
  8605. description: 是否有报价商 - 0:无报价商 1:有报价商
  8606. type: integer
  8607. hqprotecttime:
  8608. description: 行情保护时间(秒)
  8609. type: integer
  8610. innerdealmode:
  8611. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8612. type: integer
  8613. isbuylimited:
  8614. description: 是否限制建仓量 - 0:不限制 1:限制
  8615. type: integer
  8616. isvisible:
  8617. description: 游客是否可见 - 0:不可见 1:可见
  8618. type: integer
  8619. lasttradedate:
  8620. description: 最后交易日期(状态:待退市)
  8621. type: string
  8622. listingdate:
  8623. description: 交易开始日期
  8624. type: string
  8625. marketid:
  8626. description: 所属市场ID
  8627. type: integer
  8628. modifierid:
  8629. description: 修改人
  8630. type: integer
  8631. modifystatus:
  8632. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8633. type: integer
  8634. modifytime:
  8635. description: 修改时间
  8636. type: string
  8637. outerdealmode:
  8638. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8639. type: integer
  8640. outgoodscode:
  8641. description: 商品代码(外部)
  8642. type: string
  8643. pictureurl:
  8644. description: 商品图片
  8645. type: string
  8646. qtydecimalplace:
  8647. description: 成交量小数位
  8648. type: integer
  8649. quotegear:
  8650. description: 行情档位(1-10)
  8651. type: integer
  8652. quoteminunit:
  8653. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8654. type: integer
  8655. quoteshowtype:
  8656. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8657. type: integer
  8658. quoteshowtypeinterval:
  8659. description: 行情报价间隔时间(秒)(成交价时为0)
  8660. type: integer
  8661. relatedgoodsid:
  8662. description: 关联参考商品ID
  8663. type: integer
  8664. remark:
  8665. description: 备注
  8666. type: string
  8667. trademode:
  8668. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8669. 21:竞拍-大宗式 22:受托竞价
  8670. type: integer
  8671. required:
  8672. - goodscode
  8673. - goodsid
  8674. - goodsname
  8675. - marketid
  8676. type: object
  8677. models.ErmcpGoodsBrand:
  8678. properties:
  8679. areauserid:
  8680. description: 所属机构
  8681. type: integer
  8682. brandid:
  8683. description: BrandID(SEQ_SPOTGOODSBRAND)
  8684. type: integer
  8685. brandname:
  8686. description: 品牌名称
  8687. type: string
  8688. createtime:
  8689. description: 创建时间
  8690. type: string
  8691. creatorid:
  8692. description: 创建人
  8693. type: integer
  8694. creatorsrc:
  8695. description: 创建人来源 - 1:管理端 2:终端
  8696. type: integer
  8697. deliverygoodsid:
  8698. description: 现货品种ID
  8699. type: integer
  8700. isvalid:
  8701. description: 是否有效 - 0:无效 1:有效
  8702. type: integer
  8703. updatetime:
  8704. description: 更新时间
  8705. type: string
  8706. updatorid:
  8707. description: 更新人
  8708. type: integer
  8709. updatorsrc:
  8710. description: 更新人来源 - 1:管理端 2:终端
  8711. type: integer
  8712. wrstandardid:
  8713. description: 现货商品ID
  8714. type: integer
  8715. type: object
  8716. models.ErmcpGoodsModel:
  8717. properties:
  8718. areauserid:
  8719. description: 所属机构
  8720. type: integer
  8721. convertfactor:
  8722. description: 标仓系数
  8723. type: number
  8724. createtime:
  8725. description: 创建时间
  8726. type: string
  8727. creatorid:
  8728. description: 创建人
  8729. type: integer
  8730. creatorsrc:
  8731. description: 创建人来源 - 1:管理端 2:终端
  8732. type: integer
  8733. deliverygoodsid:
  8734. description: 现货品种ID
  8735. type: integer
  8736. isvalid:
  8737. description: 是否有效 - 0:无效 1:有效
  8738. type: integer
  8739. modelid:
  8740. description: ModelID(SEQ_SPOTGOODSMODEL)
  8741. type: integer
  8742. modelname:
  8743. description: 型号名称
  8744. type: string
  8745. updatetime:
  8746. description: 更新时间
  8747. type: string
  8748. updatorid:
  8749. description: 更新人
  8750. type: integer
  8751. updatorsrc:
  8752. description: 更新人来源 - 1:管理端 2:终端
  8753. type: integer
  8754. wrstandardid:
  8755. description: 现货商品ID
  8756. type: integer
  8757. type: object
  8758. models.ErmcpHisExposure:
  8759. properties:
  8760. needhedgeexposoure:
  8761. description: 应套保敞口
  8762. type: number
  8763. reckondate:
  8764. description: 日照时期(yyyyMMdd)
  8765. type: string
  8766. totalexposure:
  8767. description: 总敞口
  8768. type: number
  8769. type: object
  8770. models.ErmcpLoginTaAccount:
  8771. properties:
  8772. accountid:
  8773. description: 账号id
  8774. type: integer
  8775. accountname:
  8776. description: 账号名称
  8777. type: string
  8778. type: object
  8779. models.ErmcpLoginUser:
  8780. properties:
  8781. acclist:
  8782. description: 关联资金账号
  8783. items:
  8784. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8785. type: array
  8786. accountname:
  8787. description: 用户名称
  8788. type: string
  8789. clientroleid:
  8790. description: 角色id(usertype=2)
  8791. type: integer
  8792. createtime:
  8793. description: 创建时间
  8794. type: string
  8795. logincode:
  8796. description: 登录代码
  8797. type: string
  8798. loginid:
  8799. description: 登录id(LOGINID)
  8800. type: integer
  8801. loginname:
  8802. description: 登录名称(loginaccount表中的accountname字段)
  8803. type: string
  8804. loginstatus:
  8805. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8806. type: integer
  8807. memberuserid:
  8808. description: 所属会员id
  8809. type: integer
  8810. mobile:
  8811. description: 手机号
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. password:
  8817. description: 密码(不可解密)
  8818. type: string
  8819. rolename:
  8820. description: 角色名称
  8821. type: string
  8822. rolestatus:
  8823. description: 角色状态 1-启用 2-停用
  8824. type: integer
  8825. roletype:
  8826. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8827. type: string
  8828. userid:
  8829. description: 用户id
  8830. type: integer
  8831. usertype:
  8832. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8833. type: integer
  8834. type: object
  8835. models.ErmcpLoginUserEx:
  8836. properties:
  8837. accountstatus:
  8838. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8839. type: integer
  8840. mobile:
  8841. description: 手机号
  8842. type: string
  8843. querytype:
  8844. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8845. type: integer
  8846. roleid:
  8847. description: 角色id(交易账户->用户id)
  8848. type: integer
  8849. rolename:
  8850. description: 角色名称(交易账户->用户名称)
  8851. type: string
  8852. userlist:
  8853. description: 用户列表
  8854. items:
  8855. $ref: '#/definitions/models.ErmcpLoginUser'
  8856. type: array
  8857. usertype:
  8858. description: 用户类型 2-机构 7-企业成员(云平台)
  8859. type: integer
  8860. type: object
  8861. models.ErmcpMiddleGoodsModel:
  8862. properties:
  8863. areauserid:
  8864. description: 机构用户ID
  8865. type: integer
  8866. createtime:
  8867. description: 修改时间
  8868. type: string
  8869. enumdicname:
  8870. description: 单位名称
  8871. type: string
  8872. evaluateratio:
  8873. description: 估价系数
  8874. type: number
  8875. goodsgroupid:
  8876. description: 关联期货品种ID
  8877. type: integer
  8878. goodsunitid:
  8879. description: 单位ID
  8880. type: integer
  8881. isvalid:
  8882. description: 状态 0-无效(停用) 1-有效(正常)
  8883. type: integer
  8884. middlegoodscode:
  8885. description: 套保品种代码
  8886. type: string
  8887. middlegoodsid:
  8888. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8889. type: integer
  8890. middlegoodsname:
  8891. description: 套保品种名称
  8892. type: string
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. needarbitrageratio:
  8897. description: 套利比例
  8898. type: number
  8899. needhedgeratio:
  8900. description: 套保比率
  8901. type: number
  8902. qtydecimalplace:
  8903. description: 数量小数位
  8904. type: integer
  8905. relatedgoodsid:
  8906. description: 关联交易商品ID
  8907. type: integer
  8908. relatedgoodstype:
  8909. description: 关联商品类型 - 1:期货合约 2:现货品种
  8910. type: integer
  8911. remark:
  8912. description: 备注
  8913. type: string
  8914. type: object
  8915. models.ErmcpMiddlegoodsRelateGoods:
  8916. properties:
  8917. agreeunit:
  8918. description: 合约乘数
  8919. type: number
  8920. convertratio:
  8921. description: 折算系数
  8922. type: number
  8923. enumdicname:
  8924. description: 单位名称(交易商品)
  8925. type: string
  8926. goodscode:
  8927. description: 交易商品代码
  8928. type: string
  8929. goodsgroupid:
  8930. description: 交易品种id
  8931. type: integer
  8932. goodsid:
  8933. description: 商品Id
  8934. type: integer
  8935. goodsname:
  8936. description: 交易商品名称
  8937. type: string
  8938. goodunitid:
  8939. description: 交易商品单位id
  8940. type: integer
  8941. middlegoodsid:
  8942. description: 套保商品id
  8943. type: integer
  8944. middlegoodsname:
  8945. description: 套保商品名称
  8946. type: string
  8947. middlegoodsswcode:
  8948. description: 套保商品代码
  8949. type: string
  8950. needarbitrageratio:
  8951. description: 应套利比例
  8952. type: number
  8953. needhedgeratio:
  8954. description: 应套保比例
  8955. type: number
  8956. type: object
  8957. models.ErmcpRole:
  8958. properties:
  8959. areauserid:
  8960. description: 所属机构
  8961. type: integer
  8962. autoid:
  8963. description: 角色ID(自增ID)
  8964. type: integer
  8965. modifierid:
  8966. description: 修改人(创建人)
  8967. type: integer
  8968. modifiername:
  8969. description: 修改人名称
  8970. type: string
  8971. modifytime:
  8972. description: 修改时间(创建时间)
  8973. type: string
  8974. rolename:
  8975. description: 角色名称
  8976. type: string
  8977. rolestatus:
  8978. description: 角色状态 - 1:启用 2:停用
  8979. type: integer
  8980. roletype:
  8981. description: 角色类型 - 1- 管理端 2- 交易端
  8982. type: integer
  8983. type: object
  8984. models.ErmcpRoleMenu:
  8985. properties:
  8986. iconame:
  8987. description: 菜单图标
  8988. type: string
  8989. ishadrole:
  8990. description: 是否有权限
  8991. type: boolean
  8992. menutype:
  8993. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8994. type: integer
  8995. parentcode:
  8996. description: 上级资源代码
  8997. type: string
  8998. remark:
  8999. description: 菜单备注
  9000. type: string
  9001. resourcecode:
  9002. description: 菜单代码
  9003. type: string
  9004. resourcelevel:
  9005. description: 级别
  9006. type: integer
  9007. resourcename:
  9008. description: 菜单名称
  9009. type: string
  9010. roleid:
  9011. description: 角色id
  9012. type: integer
  9013. sort:
  9014. description: 排序
  9015. type: integer
  9016. url:
  9017. description: URL
  9018. type: string
  9019. userid:
  9020. description: 用户id
  9021. type: integer
  9022. type: object
  9023. models.ErmcpRoleMenuEx:
  9024. properties:
  9025. menu:
  9026. $ref: '#/definitions/models.ErmcpRoleMenu'
  9027. description: 父级菜单
  9028. subMenu:
  9029. description: 子级菜单
  9030. items:
  9031. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9032. type: array
  9033. type: object
  9034. models.ErmcpSpotContractModelEx:
  9035. properties:
  9036. accountname:
  9037. description: 套期主体
  9038. type: string
  9039. amount:
  9040. description: 金额 [1:一口价、3:暂定价]
  9041. type: number
  9042. attachment:
  9043. description: 附件
  9044. type: string
  9045. auditremark:
  9046. description: 审核意见
  9047. type: string
  9048. audittime:
  9049. description: 审核时间
  9050. type: string
  9051. avgprice:
  9052. description: 定价均价 = 已定价金额 / 已定价量
  9053. type: number
  9054. brandname:
  9055. description: 品牌名称
  9056. type: string
  9057. buyuserid:
  9058. description: 采购方ID
  9059. type: integer
  9060. buyusername:
  9061. description: 采购方名称
  9062. type: string
  9063. contracctstatus:
  9064. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9065. type: integer
  9066. contractmargin:
  9067. description: 合同保证金
  9068. type: number
  9069. contractno:
  9070. description: '[合同编号]现货合同编号'
  9071. type: string
  9072. contracttype:
  9073. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9074. type: integer
  9075. convertfactor:
  9076. description: 标仓系数
  9077. type: number
  9078. createtime:
  9079. description: 创建时间
  9080. type: string
  9081. customername:
  9082. description: 对手方
  9083. type: string
  9084. customeruserid:
  9085. description: 客户ID
  9086. type: integer
  9087. deliveryenddate:
  9088. description: 交收期(结束)
  9089. type: string
  9090. deliverygoodscode:
  9091. description: 现货品种代码
  9092. type: string
  9093. deliverygoodsid:
  9094. description: 现货品种ID
  9095. type: integer
  9096. deliverygoodsname:
  9097. description: 现货品种名称
  9098. type: string
  9099. deliverystartdate:
  9100. description: 交收期(开始)
  9101. type: string
  9102. enddate:
  9103. description: 点价结束日期 [2:点价 3:暂定价]
  9104. type: string
  9105. enumdicname:
  9106. description: 单位名称
  9107. type: string
  9108. goodscode:
  9109. description: 点价合约代码
  9110. type: string
  9111. goodsid:
  9112. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9113. type: integer
  9114. goodsname:
  9115. description: 点价商品名称
  9116. type: string
  9117. isrelated:
  9118. description: 是否已关联计划项目 - 0:否 1:是
  9119. type: integer
  9120. isrelated2:
  9121. description: 是否已关联现货项目 - 0:否 1:是
  9122. type: integer
  9123. margin:
  9124. description: 当前保证金
  9125. type: number
  9126. modelname:
  9127. description: 型号名称
  9128. type: string
  9129. price:
  9130. description: 价格\暂定价 [1:一口价、3:暂定价]
  9131. type: number
  9132. pricedamount:
  9133. description: 已定价金额 = (点价价格+升贴水) * 数量
  9134. type: number
  9135. pricedqty:
  9136. description: 已定价量
  9137. type: number
  9138. pricemove:
  9139. description: 升贴水 [2:点价 3:暂定价]
  9140. type: number
  9141. pricetype:
  9142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9143. type: integer
  9144. producttype:
  9145. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9146. type: integer
  9147. qty:
  9148. description: '[合同数量]数量'
  9149. type: number
  9150. remark:
  9151. description: 备注
  9152. type: string
  9153. selluserid:
  9154. description: 销售方ID
  9155. type: integer
  9156. sellusername:
  9157. description: 销售方名称
  9158. type: string
  9159. spotamount:
  9160. description: 合同现货金额 [不含升贴水]
  9161. type: number
  9162. spotavgprice:
  9163. description: 现货均价 = 合同现货金额 / 已定价量
  9164. type: number
  9165. spotcontractid:
  9166. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9167. type: string
  9168. spotgoodsbrandid:
  9169. description: 现货品牌ID
  9170. type: integer
  9171. spotgoodsdesc:
  9172. description: 商品型号
  9173. type: string
  9174. spotgoodsmodelid:
  9175. description: 现货型号ID
  9176. type: integer
  9177. startdate:
  9178. description: 点价开始日期 [2:点价 3:暂定价]
  9179. type: string
  9180. tradeuserid:
  9181. description: 交易用户ID
  9182. type: integer
  9183. unpricedqty:
  9184. description: 未定价量 = 合同数量 - 已定价量
  9185. type: number
  9186. updatetime:
  9187. description: 更新时间
  9188. type: string
  9189. userid:
  9190. description: 机构ID
  9191. type: integer
  9192. wrstandardcode:
  9193. description: 现货商品代码
  9194. type: string
  9195. wrstandardid:
  9196. description: 现货商品ID
  9197. type: integer
  9198. wrstandardname:
  9199. description: '[现货商品]现货商品名称'
  9200. type: string
  9201. type: object
  9202. models.ErmcpTaAccount:
  9203. properties:
  9204. accountid:
  9205. description: 账户id
  9206. type: integer
  9207. accountname:
  9208. description: 账户名称
  9209. type: string
  9210. currencyid:
  9211. description: 币种id
  9212. type: integer
  9213. hedgeaccountcode:
  9214. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9215. type: string
  9216. ismain:
  9217. description: 是否主账户 0-否 1-是
  9218. type: integer
  9219. parentaccountid:
  9220. description: 父账户id
  9221. type: integer
  9222. relateduserid:
  9223. description: 关联userid
  9224. type: integer
  9225. tradefeetmpid:
  9226. description: 手续费模板id
  9227. type: integer
  9228. tradefeetmpname:
  9229. description: 手续费模板名称
  9230. type: string
  9231. trademargintmpid:
  9232. description: 保证金模板id
  9233. type: integer
  9234. trademargintmpname:
  9235. description: 保证金模板名称
  9236. type: string
  9237. traderatetmpid:
  9238. description: 汇率模板id
  9239. type: integer
  9240. traderatetmpname:
  9241. description: 汇率模板名称
  9242. type: string
  9243. tradestatus:
  9244. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9245. type: integer
  9246. userid:
  9247. description: 用户id
  9248. type: integer
  9249. type: object
  9250. models.ErmcpTaAccountEx:
  9251. properties:
  9252. mainAcc:
  9253. $ref: '#/definitions/models.ErmcpTaAccountM'
  9254. description: 主账号
  9255. subacclist:
  9256. description: 子账号列表
  9257. items:
  9258. $ref: '#/definitions/models.ErmcpTaAccount'
  9259. type: array
  9260. type: object
  9261. models.ErmcpTaAccountInfo:
  9262. properties:
  9263. accountid:
  9264. description: 资金账户ID
  9265. type: integer
  9266. accountname:
  9267. description: 账户名称
  9268. type: string
  9269. balance:
  9270. description: 期初余额
  9271. type: number
  9272. capitalbalance:
  9273. description: 本金余额[外部子账户实际出入金余额]
  9274. type: number
  9275. closepl:
  9276. description: 今日平仓盈亏
  9277. type: number
  9278. creditdecrease:
  9279. description: 今日授信减少
  9280. type: number
  9281. creditincrease:
  9282. description: 今日授信增加
  9283. type: number
  9284. curdebt:
  9285. description: 期末欠款
  9286. type: number
  9287. currencyid:
  9288. description: 货币ID
  9289. type: integer
  9290. currentbalance:
  9291. description: 期末余额
  9292. type: number
  9293. freezecharge:
  9294. description: 手续费冻结
  9295. type: number
  9296. freezemargin:
  9297. description: 冻结保证金
  9298. type: number
  9299. fromaccountid:
  9300. description: 所属上级账户
  9301. type: integer
  9302. inamount:
  9303. description: 今日入金金额(包括三方入金)
  9304. type: number
  9305. ismain:
  9306. description: 是否母账号 0:不是母账户 1:是母账户
  9307. type: integer
  9308. mortgagecredit:
  9309. description: 授信金额
  9310. type: number
  9311. oridebt:
  9312. description: 期初欠款
  9313. type: number
  9314. orifreezecharge:
  9315. description: 期初手续费冻结
  9316. type: number
  9317. orifreezemargin:
  9318. description: 期初冻结保证金
  9319. type: number
  9320. orimortgagecredit:
  9321. description: 期初授信金额
  9322. type: number
  9323. oriothercredit:
  9324. description: 期初其它授信金额
  9325. type: number
  9326. oriotherfreezemargin:
  9327. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9328. type: number
  9329. orioutamountfreeze:
  9330. description: 期初出金冻结
  9331. type: number
  9332. oriusedmargin:
  9333. description: 期初占用保证金
  9334. type: number
  9335. othercredit:
  9336. description: 其它授信金额
  9337. type: number
  9338. othercreditdecrease:
  9339. description: 今日其它授信减少
  9340. type: number
  9341. othercreditincrease:
  9342. description: 今日其它授信增加
  9343. type: number
  9344. otherfreezemargin:
  9345. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9346. type: number
  9347. outamount:
  9348. description: 今日出金金额(包括三方出金)
  9349. type: number
  9350. outamountfreeze:
  9351. description: 出金冻结
  9352. type: number
  9353. outthreshold:
  9354. description: 出金阈值
  9355. type: number
  9356. parentaccountid:
  9357. description: 所属根账号
  9358. type: integer
  9359. paycharge:
  9360. description: 今日手续费支出
  9361. type: number
  9362. relateduserid:
  9363. description: 关联用户
  9364. type: integer
  9365. signstatus:
  9366. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9367. type: integer
  9368. sublevelpath:
  9369. description: 账号层级路径(逗号分隔,首尾加逗号)
  9370. type: string
  9371. taaccounttype:
  9372. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9373. type: integer
  9374. thirdinamount:
  9375. description: 今日三方入金
  9376. type: number
  9377. thirdoutamount:
  9378. description: 今日三方出金
  9379. type: number
  9380. tradestatus:
  9381. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9382. type: integer
  9383. transferamount:
  9384. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9385. type: number
  9386. usedmargin:
  9387. description: 占用保证金
  9388. type: number
  9389. userid:
  9390. description: 用户ID
  9391. type: integer
  9392. type: object
  9393. models.ErmcpTaAccountM:
  9394. properties:
  9395. accountid:
  9396. description: 账户id
  9397. type: integer
  9398. accountname:
  9399. description: 账户名称
  9400. type: string
  9401. currencyid:
  9402. description: 币种id
  9403. type: integer
  9404. fcid:
  9405. description: 期货公司id
  9406. type: integer
  9407. fcname:
  9408. description: 期货公司代码
  9409. type: string
  9410. hedgeaccountcode:
  9411. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9412. type: string
  9413. ismain:
  9414. description: 是否主账户 0-否 1-是
  9415. type: integer
  9416. parentaccountid:
  9417. description: 父账户id
  9418. type: integer
  9419. relateduserid:
  9420. description: 关联userid
  9421. type: integer
  9422. tradefeetmpid:
  9423. description: 手续费模板id
  9424. type: integer
  9425. tradefeetmpname:
  9426. description: 手续费模板名称
  9427. type: string
  9428. trademargintmpid:
  9429. description: 保证金模板id
  9430. type: integer
  9431. trademargintmpname:
  9432. description: 保证金模板名称
  9433. type: string
  9434. traderatetmpid:
  9435. description: 汇率模板id
  9436. type: integer
  9437. traderatetmpname:
  9438. description: 汇率模板名称
  9439. type: string
  9440. tradestatus:
  9441. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9442. type: integer
  9443. userid:
  9444. description: 用户id
  9445. type: integer
  9446. type: object
  9447. models.ErmcpTradeConfigTMP:
  9448. properties:
  9449. areauserid:
  9450. description: 所属机构
  9451. type: integer
  9452. basiccurrencyid:
  9453. description: 基本币种ID[汇率] - 目标币种
  9454. type: integer
  9455. mainaccountid:
  9456. description: 主账户ID
  9457. type: integer
  9458. modifierid:
  9459. description: 修改人
  9460. type: integer
  9461. remark:
  9462. description: 备注
  9463. type: string
  9464. tradeconfigtmpid:
  9465. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9466. type: integer
  9467. tradeconfigtmpname:
  9468. description: 交易配置模板名称
  9469. type: string
  9470. tradeconfigtmptype:
  9471. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9472. type: integer
  9473. updatetime:
  9474. description: 更新时间
  9475. type: string
  9476. type: object
  9477. models.Ermcpjrlinkpos:
  9478. properties:
  9479. areauserid:
  9480. description: 所属企业
  9481. type: integer
  9482. averageprice:
  9483. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9484. type: number
  9485. closepl:
  9486. description: 总平仓盈亏 [期货损益]
  9487. type: number
  9488. executeprice:
  9489. description: 执行价 - 1:期货单 为 0
  9490. type: integer
  9491. futurehedgeqty:
  9492. description: 期货套期量
  9493. type: number
  9494. goodsid:
  9495. description: 期货合约
  9496. type: integer
  9497. middlegoodscode:
  9498. description: 套保商品代码
  9499. type: string
  9500. middlegoodsname:
  9501. description: 套保商品名称
  9502. type: string
  9503. netqty:
  9504. description: 净头寸
  9505. type: number
  9506. optioncode:
  9507. description: 期权代码
  9508. type: string
  9509. ordertype:
  9510. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9511. type: integer
  9512. reckonpl:
  9513. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9514. type: number
  9515. spotcontractid:
  9516. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9517. type: string
  9518. todayfutureclosepl:
  9519. description: 今日平仓盈亏
  9520. type: number
  9521. totalbuyamount:
  9522. description: 买金额 [期货]
  9523. type: number
  9524. totalbuyholdamount:
  9525. description: 买持仓总金额[期货]
  9526. type: number
  9527. totalbuyqty:
  9528. description: 买数量
  9529. type: number
  9530. totalcharge:
  9531. description: 手续费
  9532. type: number
  9533. totalpremium:
  9534. description: 权利金 [期权]
  9535. type: number
  9536. totalsellamount:
  9537. description: 卖金额 [期货]
  9538. type: number
  9539. totalsellholdamount:
  9540. description: 卖持仓总金额[期货]
  9541. type: number
  9542. totalsellqty:
  9543. description: 卖数量
  9544. type: number
  9545. updatetime:
  9546. description: 更新时间
  9547. type: string
  9548. required:
  9549. - spotcontractid
  9550. type: object
  9551. models.Ermcppatradelinkdetail:
  9552. properties:
  9553. agreeunit:
  9554. description: 合约乘数
  9555. type: number
  9556. amount:
  9557. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9558. type: number
  9559. areauserid:
  9560. description: 所属机构
  9561. type: integer
  9562. bizsubjectid:
  9563. description: 归属业务部门ID - SubjectID
  9564. type: integer
  9565. buyorsell:
  9566. description: 方向 - 0:买 1:卖
  9567. type: integer
  9568. convertratio:
  9569. description: 品种系数
  9570. type: number
  9571. createtime:
  9572. description: 创建时间
  9573. type: string
  9574. creatorid:
  9575. description: 创建人ID
  9576. type: integer
  9577. creatorsrc:
  9578. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9579. type: integer
  9580. goodsgroupid:
  9581. description: 对冲品种ID[期货合约商品组ID]
  9582. type: integer
  9583. goodsid:
  9584. description: 商品ID
  9585. type: integer
  9586. hedgeditemid:
  9587. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9588. type: integer
  9589. hedgeflag:
  9590. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9591. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9592. type: integer
  9593. linkdetailid:
  9594. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9595. type: string
  9596. linkstatus:
  9597. description: 关联状态 - 1:成功 2:失败 3:解绑
  9598. type: integer
  9599. middlegoodsid:
  9600. description: 套保品种ID
  9601. type: integer
  9602. name:
  9603. description: 账户名/子账户
  9604. type: string
  9605. optioncode:
  9606. description: '[期货合约]期权代码 [期权]'
  9607. type: string
  9608. ordertype:
  9609. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9610. type: integer
  9611. relatedlot:
  9612. description: '[数量]关联手数'
  9613. type: number
  9614. relatedmode:
  9615. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9616. type: integer
  9617. relatedqty:
  9618. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9619. type: number
  9620. retcode:
  9621. description: 返回码
  9622. type: integer
  9623. saleuserid:
  9624. description: 业务员ID
  9625. type: integer
  9626. tradedate:
  9627. description: 关联交易日(yyyyMMdd)
  9628. type: string
  9629. tradeid:
  9630. description: '[成交单号]内部成交单ID'
  9631. type: string
  9632. tradelot:
  9633. description: 成交手数
  9634. type: integer
  9635. tradeprice:
  9636. description: '[价格]成交价格'
  9637. type: number
  9638. tradetime:
  9639. description: 日期时间
  9640. type: string
  9641. tradetradedate:
  9642. description: 成交交易日(yyyyMMdd)
  9643. type: string
  9644. required:
  9645. - hedgeditemid
  9646. type: object
  9647. models.Exchangerateconfig:
  9648. properties:
  9649. descurrencyid:
  9650. description: 目标币种ID
  9651. type: integer
  9652. exchangerate:
  9653. description: 汇率
  9654. type: number
  9655. oricurrencyid:
  9656. description: 源币种ID
  9657. type: integer
  9658. remark:
  9659. description: 备注
  9660. type: string
  9661. type: object
  9662. models.Externalexchange:
  9663. properties:
  9664. autoid:
  9665. description: AutoID - SEQ_EXTERNALEXCHANGE
  9666. type: integer
  9667. exchangefullname:
  9668. description: 外部交易所全称
  9669. type: string
  9670. exexchangecode:
  9671. description: 外部交易所代码
  9672. type: string
  9673. exexchangename:
  9674. description: 外部交易所名称(简称)
  9675. type: string
  9676. ismarketprice:
  9677. description: 是否支持市价 - 0:不支持 1:支持
  9678. type: integer
  9679. quotegear:
  9680. description: 行情档位(1-10)
  9681. type: integer
  9682. showbrokerflag:
  9683. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9684. type: integer
  9685. updatetime:
  9686. description: 更新时间
  9687. type: string
  9688. required:
  9689. - autoid
  9690. type: object
  9691. models.Funcmenulist:
  9692. properties:
  9693. iconame:
  9694. description: 菜单图标
  9695. type: string
  9696. menutype:
  9697. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9698. type: integer
  9699. parentcode:
  9700. description: 上级资源代码
  9701. type: string
  9702. remark:
  9703. description: 备注
  9704. type: string
  9705. resourcecode:
  9706. description: 资源代码
  9707. type: string
  9708. resourcelevel:
  9709. description: 级别 1-一级 2-二级 3-三级 4-四级
  9710. type: integer
  9711. resourcename:
  9712. description: 资源名
  9713. type: string
  9714. sort:
  9715. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9716. type: integer
  9717. url:
  9718. description: URL
  9719. type: string
  9720. required:
  9721. - resourcecode
  9722. type: object
  9723. models.Fworderoperate:
  9724. properties:
  9725. advanceamount:
  9726. description: 总预付款
  9727. type: number
  9728. advanceproofaddr:
  9729. description: 预付款收款凭证(确认结算费用时)
  9730. type: string
  9731. bankfee:
  9732. description: 汇款银行手续费
  9733. type: number
  9734. bankproofaddr:
  9735. description: 广钻汇款银行手续费凭证(确认结算费用时)
  9736. type: string
  9737. customsproofaddr:
  9738. description: 海关税费保证金收据(确认结算费用时)
  9739. type: string
  9740. logisticsfee:
  9741. description: 代缴物流保险费
  9742. type: number
  9743. logisticsproofaddr:
  9744. description: 代缴物流保险费凭证(确认结算费用时)
  9745. type: string
  9746. operatetime:
  9747. description: 操作时间
  9748. type: string
  9749. operatoraccount:
  9750. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  9751. type: string
  9752. operatorid:
  9753. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  9754. type: integer
  9755. operatorname:
  9756. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  9757. type: string
  9758. operatorsrc:
  9759. description: 操作人来源 - 1:管理端 2:终端
  9760. type: integer
  9761. orderid:
  9762. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  9763. type: string
  9764. otherfee:
  9765. description: 其它费用
  9766. type: number
  9767. remark:
  9768. description: 操作备注
  9769. type: string
  9770. servicefee:
  9771. description: 综合服务费
  9772. type: number
  9773. settleamount:
  9774. description: 总结算费用 - 实际扣除资金,不含税费保证金
  9775. type: number
  9776. status:
  9777. description: 操作后单据状态 - 枚举"GZBSStatus"
  9778. type: integer
  9779. taxmargin:
  9780. description: 税费保证金
  9781. type: number
  9782. totalfee:
  9783. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  9784. type: number
  9785. required:
  9786. - orderid
  9787. - status
  9788. type: object
  9789. models.GErmcpspotgoodsprice:
  9790. properties:
  9791. chg:
  9792. description: 涨跌幅
  9793. type: number
  9794. currencyid:
  9795. description: 报价货币ID
  9796. type: integer
  9797. deliverygoodsid:
  9798. description: 现货品种ID
  9799. type: integer
  9800. prespotgoodsprice:
  9801. description: 上日价格
  9802. type: number
  9803. spotgoodsbrandid:
  9804. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9805. type: integer
  9806. spotgoodsprice:
  9807. description: 【最新价】当前价格
  9808. type: number
  9809. srcmarketname:
  9810. description: 来源市场名称
  9811. type: string
  9812. todaypricedtotalamount:
  9813. description: 今日定价金额
  9814. type: number
  9815. todaypricedtotalqty:
  9816. description: 今日定价总量
  9817. type: number
  9818. todayspotgoodsprice:
  9819. description: 今日指定价
  9820. type: number
  9821. tradedate:
  9822. description: 【日期】交易日
  9823. type: string
  9824. wrstandardcode:
  9825. description: 现货商品代码
  9826. type: string
  9827. wrstandardid:
  9828. description: 现货商品ID(通用则为0)
  9829. type: integer
  9830. wrstandardname:
  9831. description: 【名称】现货商品名称
  9832. type: string
  9833. ystspotgoodsprice:
  9834. description: 昨价
  9835. type: number
  9836. type: object
  9837. models.GThjuserscorelog:
  9838. properties:
  9839. createtime:
  9840. description: 记账时间
  9841. type: string
  9842. redpacketvalue:
  9843. description: 红包值【抽奖】
  9844. type: number
  9845. score:
  9846. description: 变动积分
  9847. type: number
  9848. scoreconfigtype:
  9849. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9850. 7:抽奖配置
  9851. type: integer
  9852. stype:
  9853. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9854. 6:自己供求下单积分 7:抽奖配置'
  9855. type: string
  9856. type: object
  9857. models.GZGoods:
  9858. properties:
  9859. address:
  9860. description: 详细地址
  9861. type: string
  9862. cerno:
  9863. description: 证书编号 - 类型:2,4,5
  9864. type: string
  9865. cityname:
  9866. description: 城市名称
  9867. type: string
  9868. countryname:
  9869. description: 国家名称
  9870. type: string
  9871. cpcertno:
  9872. description: 金伯利证书编号 - 类型:3
  9873. type: string
  9874. districtname:
  9875. description: 地区名称
  9876. type: string
  9877. goodsno:
  9878. description: 商品编号
  9879. type: string
  9880. imagepath:
  9881. description: 商品照片(相对地址)
  9882. type: string
  9883. isvalid:
  9884. description: 是否有效 - 0:无效 1:有效
  9885. type: integer
  9886. kppath:
  9887. description: 金伯利证书图片(相对地址) - 类型:3
  9888. type: string
  9889. kpweight:
  9890. description: 金伯利证书重量 - 类型:3
  9891. type: string
  9892. marketprice:
  9893. description: 市场价
  9894. type: string
  9895. mobile:
  9896. description: 手机号码
  9897. type: string
  9898. origin:
  9899. description: 原产地 - 类型:3
  9900. type: string
  9901. performancetemplateid:
  9902. description: 履约计划模板ID
  9903. type: integer
  9904. price:
  9905. description: 总价(价格) - 类型:1,2,3,4,5
  9906. type: number
  9907. priceper:
  9908. description: 克拉单价 - 类型:1,2,3,5
  9909. type: string
  9910. provincename:
  9911. description: 省名称
  9912. type: string
  9913. remainqty:
  9914. description: 剩余重量
  9915. type: number
  9916. remark:
  9917. description: 备注
  9918. type: string
  9919. sellusername:
  9920. description: 账户名称(机构名称)
  9921. type: string
  9922. settingmaterial:
  9923. description: 镶嵌材料 - 类型:4
  9924. type: string
  9925. size1:
  9926. description: 尺寸1 - 类型:2,4,5
  9927. type: string
  9928. size2:
  9929. description: 尺寸2 - 类型:2,4,5
  9930. type: string
  9931. size3:
  9932. description: 尺寸3 - 类型:2,4,5
  9933. type: string
  9934. sizedisplay:
  9935. description: 尺寸
  9936. type: string
  9937. stonedesc:
  9938. description: 配石描述 - 类型:4
  9939. type: string
  9940. userid:
  9941. description: 用户ID
  9942. type: integer
  9943. warehouseid:
  9944. description: 仓库ID
  9945. type: integer
  9946. warehousenamedisplay:
  9947. type: string
  9948. weight:
  9949. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9950. type: number
  9951. weightavg:
  9952. description: 平均单颗重量 - 类型:1,3
  9953. type: number
  9954. wrpath:
  9955. description: 仓单扫描件(相对地址)
  9956. type: string
  9957. wrstandardid:
  9958. description: 现货商品ID
  9959. type: integer
  9960. wrtradeorderid:
  9961. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9962. type: string
  9963. zscategory:
  9964. description: 钻石分类 - 枚举”ZSCategory“
  9965. type: integer
  9966. zscategorydisplay:
  9967. type: string
  9968. zscerttype:
  9969. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9970. type: integer
  9971. zscerttypedisplay:
  9972. type: string
  9973. zsclaritytype1:
  9974. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9975. type: integer
  9976. zsclaritytype1display:
  9977. type: string
  9978. zsclaritytype2:
  9979. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9980. type: integer
  9981. zsclaritytype2display:
  9982. type: string
  9983. zscolortype1:
  9984. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9985. type: integer
  9986. zscolortype1display:
  9987. type: string
  9988. zscolortype2:
  9989. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9990. type: integer
  9991. zscolortype2display:
  9992. type: string
  9993. zscrystaltype:
  9994. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9995. type: string
  9996. zscrystaltypedisplay:
  9997. type: string
  9998. zscurrencytype:
  9999. description: 货币类型 - 枚举“ZSCurrencyType”
  10000. type: integer
  10001. zscurrencytypedisplay:
  10002. type: string
  10003. zscurrencytypedisplayunit:
  10004. type: string
  10005. zscuttype1:
  10006. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10007. type: integer
  10008. zscuttype1display:
  10009. type: string
  10010. zscuttype2:
  10011. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10012. type: integer
  10013. zscuttype2display:
  10014. type: string
  10015. zsczcolor1type:
  10016. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10017. type: integer
  10018. zsczcolor1typedisplay:
  10019. type: string
  10020. zsczcolor2type:
  10021. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10022. type: integer
  10023. zsczcolor2typedisplay:
  10024. type: string
  10025. zsczcolor3type:
  10026. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10027. type: integer
  10028. zsczcolor3typedisplay:
  10029. type: string
  10030. zsfluorescencetype1:
  10031. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10032. type: integer
  10033. zsfluorescencetype1display:
  10034. type: string
  10035. zsfluorescencetype2:
  10036. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10037. type: integer
  10038. zsfluorescencetype2display:
  10039. type: string
  10040. zspolishtype1:
  10041. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10042. type: integer
  10043. zspolishtype1display:
  10044. type: string
  10045. zspolishtype2:
  10046. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10047. type: integer
  10048. zspolishtype2display:
  10049. type: string
  10050. zsshapetype:
  10051. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  10052. type: string
  10053. zsshapetypedisplay:
  10054. type: string
  10055. zsstyletype:
  10056. description: 款式 - 类型:4
  10057. type: integer
  10058. zsstyletypedisplay:
  10059. type: string
  10060. zssymmetrytype1:
  10061. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10062. type: integer
  10063. zssymmetrytype1display:
  10064. type: string
  10065. zssymmetrytype2:
  10066. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10067. type: integer
  10068. zssymmetrytype2display:
  10069. type: string
  10070. required:
  10071. - goodsno
  10072. type: object
  10073. models.GZHomeData:
  10074. properties:
  10075. purchasedtransactions:
  10076. description: 已购买的交易
  10077. type: integer
  10078. transactioninpurchase:
  10079. description: 求购中的交易
  10080. type: integer
  10081. transactionsonsale:
  10082. description: 出售中的交易
  10083. type: integer
  10084. transactionssold:
  10085. description: 已卖出的交易
  10086. type: integer
  10087. unhandledmessage:
  10088. description: 未处理消息
  10089. type: integer
  10090. type: object
  10091. models.GZWarehouseinfo:
  10092. properties:
  10093. address:
  10094. description: 详细地址
  10095. type: string
  10096. areauserid:
  10097. description: 所属机构
  10098. type: integer
  10099. autoid:
  10100. description: 自增ID
  10101. type: integer
  10102. cityid:
  10103. description: 市
  10104. type: integer
  10105. cityname:
  10106. description: 城市名称
  10107. type: string
  10108. contactname:
  10109. description: 联系人
  10110. type: string
  10111. contactnum:
  10112. description: 联系电话
  10113. type: string
  10114. countryid:
  10115. description: 国家
  10116. type: integer
  10117. countryname:
  10118. description: 国家名称
  10119. type: string
  10120. createtime:
  10121. description: 创建时间
  10122. type: string
  10123. districtid:
  10124. description: 区
  10125. type: integer
  10126. districtname:
  10127. description: 地区名称
  10128. type: string
  10129. hasvideo:
  10130. description: 是否有视频 - 0:无 1:有
  10131. type: integer
  10132. provinceid:
  10133. description: 省
  10134. type: integer
  10135. provincename:
  10136. description: 省名称
  10137. type: string
  10138. remark:
  10139. description: 审核备注
  10140. type: string
  10141. videourl:
  10142. description: 视频地址
  10143. type: string
  10144. warehousecode:
  10145. description: 仓库代码
  10146. type: string
  10147. warehousename:
  10148. description: 仓库名称
  10149. type: string
  10150. warehousestatus:
  10151. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10152. type: integer
  10153. warehousetype:
  10154. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10155. type: integer
  10156. type: object
  10157. models.Goods:
  10158. properties:
  10159. agreeunit:
  10160. description: 合约单位
  10161. type: number
  10162. areauserid:
  10163. description: 所属机构
  10164. type: integer
  10165. auditaccountid:
  10166. description: 审核操作员账号
  10167. type: integer
  10168. audittime:
  10169. description: 审核时间
  10170. type: string
  10171. cancelaccountid:
  10172. description: 注销操作员账号
  10173. type: integer
  10174. canceltime:
  10175. description: 注销时间
  10176. type: string
  10177. closepricemode:
  10178. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10179. type: integer
  10180. closepriceparam:
  10181. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10182. type: number
  10183. createtime:
  10184. description: 创建时间
  10185. type: string
  10186. creatorid:
  10187. description: 创建人
  10188. type: integer
  10189. currencyid:
  10190. description: 报价货币ID
  10191. type: integer
  10192. cutmode:
  10193. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10194. type: integer
  10195. decimalplace:
  10196. description: 报价小数位
  10197. type: integer
  10198. delistingdate:
  10199. description: 商品退市时间(状态:退市) -- 已作废
  10200. type: string
  10201. delistingmode:
  10202. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10203. type: integer
  10204. deliveryflag:
  10205. description: 交割标志 - 0:不可交割 1:可交割
  10206. type: integer
  10207. forceclosemode:
  10208. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10209. type: integer
  10210. forceclosevalue:
  10211. description: 定期强平参数 [收益权]
  10212. type: integer
  10213. goodscode:
  10214. description: 商品代码(内部)
  10215. type: string
  10216. goodscurrencyid:
  10217. description: 合约货币ID
  10218. type: integer
  10219. goodsgroupid:
  10220. description: 所属商品组ID
  10221. type: integer
  10222. goodsid:
  10223. description: 商品ID(自增ID SEQ_GOODS)
  10224. type: integer
  10225. goodsname:
  10226. description: 商品名称
  10227. type: string
  10228. goodsquotetype:
  10229. description: '合约报价类型: 1-直接报价 2-间接报价'
  10230. type: integer
  10231. goodsstatus:
  10232. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10233. type: integer
  10234. goodstradetype:
  10235. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10236. type: integer
  10237. goodunitid:
  10238. description: 报价单位ID
  10239. type: integer
  10240. hasquoter:
  10241. description: 是否有报价商 - 0:无报价商 1:有报价商
  10242. type: integer
  10243. hqprotecttime:
  10244. description: 行情保护时间(秒)
  10245. type: integer
  10246. innerdealmode:
  10247. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10248. type: integer
  10249. isbuylimited:
  10250. description: 是否限制建仓量 - 0:不限制 1:限制
  10251. type: integer
  10252. isvisible:
  10253. description: 游客是否可见 - 0:不可见 1:可见
  10254. type: integer
  10255. lasttradedate:
  10256. description: 最后交易日期(状态:待退市)
  10257. type: string
  10258. listingdate:
  10259. description: 交易开始日期
  10260. type: string
  10261. marketid:
  10262. description: 所属市场ID
  10263. type: integer
  10264. modifierid:
  10265. description: 修改人
  10266. type: integer
  10267. modifystatus:
  10268. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10269. type: integer
  10270. modifytime:
  10271. description: 修改时间
  10272. type: string
  10273. outerdealmode:
  10274. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10275. type: integer
  10276. outgoodscode:
  10277. description: 商品代码(外部)
  10278. type: string
  10279. pictureurl:
  10280. description: 商品图片
  10281. type: string
  10282. qtydecimalplace:
  10283. description: 成交量小数位
  10284. type: integer
  10285. quotegear:
  10286. description: 行情档位(1-10)
  10287. type: integer
  10288. quoteminunit:
  10289. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10290. type: integer
  10291. quoteshowtype:
  10292. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10293. type: integer
  10294. quoteshowtypeinterval:
  10295. description: 行情报价间隔时间(秒)(成交价时为0)
  10296. type: integer
  10297. remark:
  10298. description: 备注
  10299. type: string
  10300. required:
  10301. - goodscode
  10302. - goodsid
  10303. - goodsname
  10304. - marketid
  10305. type: object
  10306. models.GoodsIDAndName:
  10307. properties:
  10308. goodscode:
  10309. description: 商品代码(内部)
  10310. type: string
  10311. goodsid:
  10312. description: 商品ID(自增ID SEQ_GOODS)
  10313. type: integer
  10314. goodsname:
  10315. description: 商品名称
  10316. type: string
  10317. marketid:
  10318. description: 所属市场ID
  10319. type: integer
  10320. required:
  10321. - goodscode
  10322. - goodsid
  10323. - goodsname
  10324. - marketid
  10325. type: object
  10326. models.Goodsgroup:
  10327. properties:
  10328. agreeunit:
  10329. description: 合约单位
  10330. type: number
  10331. canshort:
  10332. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10333. type: integer
  10334. closepricemode:
  10335. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10336. type: integer
  10337. closepriceparam:
  10338. description: 强平最新价浮动比例 - 方式为2时使用
  10339. type: number
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. currencyid:
  10347. description: 报价货币ID
  10348. type: integer
  10349. decimalplace:
  10350. description: 报价小数位
  10351. type: integer
  10352. exercisetype:
  10353. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10354. type: integer
  10355. exexchangeid:
  10356. description: 外部交易所ID[通道交易]
  10357. type: integer
  10358. goodsgroupid:
  10359. description: 商品组ID(自增ID)
  10360. type: integer
  10361. goodsgroupname:
  10362. description: 商品组名称
  10363. type: string
  10364. goodsgroupstatus:
  10365. description: 商品组状态 - 1:正常 2:注销
  10366. type: integer
  10367. goodunitid:
  10368. description: 报价单位ID
  10369. type: integer
  10370. innerdealmode:
  10371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10372. type: integer
  10373. isbuylimited:
  10374. description: 是否限制建仓量 - 0:不限制 1:限制
  10375. type: integer
  10376. marketid:
  10377. description: 所属市场ID
  10378. type: integer
  10379. modifierid:
  10380. description: 修改人
  10381. type: integer
  10382. modifytime:
  10383. description: 修改时间
  10384. type: string
  10385. outerdealmode:
  10386. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10387. type: integer
  10388. outergroupcode:
  10389. description: 外部商品组代码[通道交易]
  10390. type: string
  10391. premiumdecimalplace:
  10392. description: 权利金小数位[场外期权]
  10393. type: integer
  10394. premiumspreadalgorithm:
  10395. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10396. type: integer
  10397. premiumspreadvalue:
  10398. description: 权利金点差值[场外期权]
  10399. type: number
  10400. qtydecimalplace:
  10401. description: 成交量小数位
  10402. type: integer
  10403. quotegear:
  10404. description: 行情档位(1-10)
  10405. type: integer
  10406. quoteminunit:
  10407. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10408. type: integer
  10409. quoterid:
  10410. description: 报价商ID[场外期权]
  10411. type: integer
  10412. quotesourcegroupid:
  10413. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10414. type: integer
  10415. syncgoodsqty:
  10416. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10417. type: integer
  10418. required:
  10419. - goodsgroupid
  10420. - goodsgroupname
  10421. - goodsgroupstatus
  10422. - marketid
  10423. type: object
  10424. models.Goodssortbypreposition:
  10425. properties:
  10426. goodscode:
  10427. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10428. type: string
  10429. goodsgroupcode:
  10430. description: 品种代码
  10431. type: string
  10432. prepositionqty:
  10433. description: 昨持仓量
  10434. type: integer
  10435. sortindex:
  10436. description: 排序
  10437. type: integer
  10438. tradedate:
  10439. description: 交易日
  10440. type: string
  10441. updatetime:
  10442. description: 更新时间
  10443. type: string
  10444. required:
  10445. - goodscode
  10446. - tradedate
  10447. type: object
  10448. models.GzbsfworderM:
  10449. properties:
  10450. accountid:
  10451. description: 资金账户ID
  10452. type: integer
  10453. addresscn:
  10454. description: 地址(中文)
  10455. type: string
  10456. addressen:
  10457. description: 地址(英文)
  10458. type: string
  10459. advanceamount:
  10460. description: 总预付款
  10461. type: number
  10462. colorrange:
  10463. description: 颜色范围
  10464. type: string
  10465. companynamecn:
  10466. description: 收货人(中文)
  10467. type: string
  10468. companynameen:
  10469. description: 收货人(英文)
  10470. type: string
  10471. contactfax:
  10472. description: 收货人传真
  10473. type: string
  10474. contactname:
  10475. description: 收货人姓名
  10476. type: string
  10477. contactphoneno:
  10478. description: 收货人电话
  10479. type: string
  10480. contentrange:
  10481. description: 【内容】内容范围
  10482. type: string
  10483. createtime:
  10484. description: 创建时间
  10485. type: string
  10486. executestatus:
  10487. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10488. type: integer
  10489. gzbsdeliverytype:
  10490. description: 收货方式 - 枚举"GZBSDeliveryType"
  10491. type: integer
  10492. gzbsstatus:
  10493. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10494. type: integer
  10495. gzbsstatusdisplay:
  10496. description: 单据状态
  10497. type: string
  10498. handlestatus:
  10499. description: 处理状态
  10500. type: integer
  10501. orderdate:
  10502. description: 单据日期
  10503. type: string
  10504. orderid:
  10505. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10506. type: string
  10507. orderno:
  10508. description: 单据编号 - GZDEBSFW+单据流水号
  10509. type: string
  10510. ordersn:
  10511. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10512. type: string
  10513. origincountry:
  10514. description: 原产国
  10515. type: string
  10516. otherlogistics:
  10517. description: 指定其它物流
  10518. type: string
  10519. priceper:
  10520. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10521. type: number
  10522. settleamount:
  10523. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10524. type: number
  10525. shaperange:
  10526. description: 形状范围
  10527. type: string
  10528. taxmargin:
  10529. description: 税费保证金 - 确认结算费用时退回
  10530. type: number
  10531. totalamount:
  10532. description: 总值(美元)
  10533. type: number
  10534. totalgrossweightgm:
  10535. description: 总毛重(克)
  10536. type: number
  10537. totalnetweightgm:
  10538. description: 总净重(克)
  10539. type: number
  10540. totalnetweigthct:
  10541. description: 总净重(克拉)
  10542. type: number
  10543. totalnumber:
  10544. description: 总粒数
  10545. type: integer
  10546. userid:
  10547. description: 用户ID
  10548. type: integer
  10549. weightrange:
  10550. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10551. type: string
  10552. required:
  10553. - userid
  10554. type: object
  10555. models.GzbsfworderdetailM:
  10556. properties:
  10557. colorinfo:
  10558. description: 彩钻信息
  10559. type: string
  10560. createtime:
  10561. description: 创建时间
  10562. type: string
  10563. grossweightgm:
  10564. description: 毛重(克)
  10565. type: number
  10566. gzcjshape:
  10567. description: 形状(字符)
  10568. type: string
  10569. netweigthct:
  10570. description: 净重(克拉)
  10571. type: number
  10572. netweigthgm:
  10573. description: 净重(克)
  10574. type: number
  10575. ordercontent:
  10576. description: 内容
  10577. type: string
  10578. orderdetailid:
  10579. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10580. type: string
  10581. orderid:
  10582. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10583. type: string
  10584. orderindex:
  10585. description: 顺序
  10586. type: integer
  10587. perprice:
  10588. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10589. type: number
  10590. remark:
  10591. description: 备注(其它)
  10592. type: string
  10593. totalamount:
  10594. description: 总值(美元)
  10595. type: number
  10596. type: object
  10597. models.Gzbsfworderoperate:
  10598. properties:
  10599. advanceproofaddr:
  10600. description: 预付款收款凭证(确认结算费用时)
  10601. type: string
  10602. bankfee:
  10603. description: 汇款银行手续费
  10604. type: number
  10605. bankproofaddr:
  10606. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10607. type: string
  10608. customsproofaddr:
  10609. description: 海关税费保证金收据(确认结算费用时)
  10610. type: string
  10611. gzbsstatus:
  10612. description: 操作后单据状态 - 枚举"GZBSStatus"
  10613. type: integer
  10614. logisticsfee:
  10615. description: 代缴物流保险费
  10616. type: number
  10617. logisticsproofaddr:
  10618. description: 代缴物流保险费凭证(确认结算费用时)
  10619. type: string
  10620. operatetime:
  10621. description: 操作时间
  10622. type: string
  10623. operatoraccount:
  10624. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10625. type: string
  10626. operatorid:
  10627. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10628. type: integer
  10629. operatorname:
  10630. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10631. type: string
  10632. operatorsrc:
  10633. description: 操作人来源 - 1:管理端 2:终端
  10634. type: integer
  10635. orderid:
  10636. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10637. type: integer
  10638. otherfee:
  10639. description: 其它费用
  10640. type: number
  10641. remark:
  10642. description: 操作备注
  10643. type: string
  10644. servicefee:
  10645. description: 综合服务费
  10646. type: number
  10647. taxmargin:
  10648. description: 税费保证金
  10649. type: number
  10650. totalfee:
  10651. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10652. type: number
  10653. required:
  10654. - orderid
  10655. type: object
  10656. models.Gzcertaddressconfig:
  10657. properties:
  10658. certregion:
  10659. description: 证书地域 - 1:国内 2:国际
  10660. type: integer
  10661. certtype:
  10662. description: 证书类型
  10663. type: string
  10664. orderindex:
  10665. description: 显示顺序
  10666. type: integer
  10667. orgcnname:
  10668. description: 机构名称(中文)
  10669. type: string
  10670. orgenname:
  10671. description: 机构名称(英文)
  10672. type: string
  10673. queryaddress:
  10674. description: 查询地址
  10675. type: string
  10676. remark:
  10677. description: 备注
  10678. type: string
  10679. updatetime:
  10680. description: 更新时间
  10681. type: string
  10682. type: object
  10683. models.Gzcertaddressparam:
  10684. properties:
  10685. certtype:
  10686. description: 证书类型
  10687. type: string
  10688. orderindex:
  10689. description: 参数顺序
  10690. type: integer
  10691. paramkey:
  10692. description: 参数Key
  10693. type: string
  10694. paramname:
  10695. description: 参数名称
  10696. type: string
  10697. updatetime:
  10698. description: 更新时间
  10699. type: string
  10700. type: object
  10701. models.GzcjbsorderfileM:
  10702. properties:
  10703. canmembervisit:
  10704. description: 会员是否可访问 - 1:可 2:不可
  10705. type: integer
  10706. fileaddress:
  10707. description: 文件地址
  10708. type: string
  10709. filegentype:
  10710. description: 文件生成类型 - 1:系统生成 2:手动上传
  10711. type: integer
  10712. filename:
  10713. description: 文件名称
  10714. type: string
  10715. operatetime:
  10716. description: 操作时间
  10717. type: string
  10718. operatoraccount:
  10719. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10720. type: string
  10721. operatorid:
  10722. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10723. type: integer
  10724. operatorsrc:
  10725. description: 操作人来源 - 1:管理端 2:终端
  10726. type: integer
  10727. orderfileid:
  10728. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10729. type: integer
  10730. orderid:
  10731. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10732. type: integer
  10733. required:
  10734. - orderid
  10735. type: object
  10736. models.GzcjjcorderM:
  10737. properties:
  10738. accountid:
  10739. description: 资金账户ID
  10740. type: integer
  10741. addresscn:
  10742. description: 地址(中文)
  10743. type: string
  10744. addressen:
  10745. description: 地址(英文)
  10746. type: string
  10747. advanceamount:
  10748. description: 总预付款
  10749. type: number
  10750. colorrange:
  10751. description: 颜色范围
  10752. type: string
  10753. companynamecn:
  10754. description: 公司名称(中文)
  10755. type: string
  10756. companynameen:
  10757. description: 公司名称(英文)
  10758. type: string
  10759. contactname:
  10760. description: 联系人姓名
  10761. type: string
  10762. contactphoneno:
  10763. description: 联系人电话
  10764. type: string
  10765. contactposition:
  10766. description: 联系人职位
  10767. type: string
  10768. createtime:
  10769. description: 创建时间
  10770. type: string
  10771. email:
  10772. description: 邮箱
  10773. type: string
  10774. executestatus:
  10775. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10776. type: integer
  10777. gzcjaccount:
  10778. description: 送检账户
  10779. type: string
  10780. gzcjaccounttype:
  10781. description: 检测账户类型 - 枚举"GZCJAccountType"
  10782. type: integer
  10783. gzcjcategorytype:
  10784. description: 货物品类 - 枚举"GZCJCategoryType"
  10785. type: integer
  10786. gzcjcategorytypedisplay:
  10787. description: 货物品类
  10788. type: string
  10789. gzcjdeliverytype:
  10790. description: 收货方式 - 枚举"GZCJDeliveryType"
  10791. type: integer
  10792. gzcjdeliverytypedisplay:
  10793. description: 收货方式
  10794. type: string
  10795. gzcjstatus:
  10796. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10797. type: integer
  10798. gzcjstatusdisplay:
  10799. description: 单据状态(出境检测)
  10800. type: string
  10801. handlestatus:
  10802. description: 处理状态
  10803. type: integer
  10804. invoiceremark:
  10805. description: 复核备注 - 发票装箱单使用
  10806. type: string
  10807. orderid:
  10808. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10809. type: integer
  10810. orderidstr:
  10811. description: 单据ID 字符(801+Unix秒时间戳(10位)+xxxxxx)
  10812. type: string
  10813. orderno:
  10814. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10815. type: string
  10816. ordersn:
  10817. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10818. type: string
  10819. origincountry:
  10820. description: 原产国
  10821. type: string
  10822. processingcountry:
  10823. description: 成品钻石加工国
  10824. type: string
  10825. realservicefee:
  10826. description: 应收综合服务费
  10827. type: number
  10828. servicefeesum:
  10829. description: 汇总综合服务费 - 明细上值汇总
  10830. type: number
  10831. settleamount:
  10832. description: 总结算费用
  10833. type: number
  10834. shaperange:
  10835. description: 形状范围
  10836. type: string
  10837. totalamount:
  10838. description: 总金额(美元)
  10839. type: number
  10840. totalgrossweight:
  10841. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10842. * 200
  10843. type: number
  10844. totalnumber:
  10845. description: 总粒数
  10846. type: integer
  10847. totalweight:
  10848. description: 总克拉数(保留3位小数)
  10849. type: number
  10850. totalweightgm:
  10851. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10852. type: number
  10853. userid:
  10854. description: 用户ID
  10855. type: integer
  10856. weightrange:
  10857. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10858. type: string
  10859. zsorigin:
  10860. description: 天然钻石毛坯原产地
  10861. type: string
  10862. required:
  10863. - userid
  10864. type: object
  10865. models.GzcjjcorderdetailM:
  10866. properties:
  10867. amount:
  10868. description: 参考货值(USD)
  10869. type: number
  10870. colorinfo:
  10871. description: 彩钻信息
  10872. type: string
  10873. createtime:
  10874. description: 创建时间
  10875. type: string
  10876. gzcjmarktype:
  10877. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10878. type: integer
  10879. gzcjpublishtype:
  10880. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10881. type: integer
  10882. gzcjpublishtypestring:
  10883. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10884. type: string
  10885. gzcjservicetype:
  10886. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10887. type: integer
  10888. gzcjservicetypestring:
  10889. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10890. type: string
  10891. gzcjshapetype:
  10892. description: 形状 - 枚举"GZCJShapeType"
  10893. type: integer
  10894. gzcjshapetypestring:
  10895. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10896. type: string
  10897. gzno:
  10898. description: 货物编号
  10899. type: string
  10900. orderdetailid:
  10901. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10902. type: string
  10903. orderid:
  10904. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10905. type: string
  10906. orderindex:
  10907. description: 顺序
  10908. type: integer
  10909. origincertno:
  10910. description: 原证书号【送检账户为“广钻账户”】
  10911. type: string
  10912. remark:
  10913. description: 备注(其它)
  10914. type: string
  10915. servicefee:
  10916. description: 综合服务费 - 根据市场配置计算
  10917. type: number
  10918. weight:
  10919. description: 重量(CT)
  10920. type: number
  10921. type: object
  10922. models.Gzcjjcorderoperate:
  10923. properties:
  10924. advanceamount:
  10925. description: 总预付款
  10926. type: number
  10927. advanceproofaddr:
  10928. description: 预付检测费和海关税费银行凭证(确认结算费用时)
  10929. type: string
  10930. bankfee:
  10931. description: 汇款银行手续费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10932. type: number
  10933. bankproofaddr:
  10934. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10935. type: string
  10936. customsfee:
  10937. description: 海关税费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10938. type: number
  10939. customsproofaddr:
  10940. description: 海关税费凭证(确认结算费用时)
  10941. type: string
  10942. exchangerate:
  10943. description: 汇率 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10944. type: number
  10945. giaproofaddr:
  10946. description: GIA检测费凭证(确认结算费用时)
  10947. type: string
  10948. giarmbfee:
  10949. description: GIA检测费(¥) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10950. type: number
  10951. giausdfee:
  10952. description: GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10953. type: number
  10954. logisticsfee:
  10955. description: 代缴物流保险费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10956. type: number
  10957. logisticsproofaddr:
  10958. description: 代缴物流保险费凭证(确认结算费用时)
  10959. type: string
  10960. operatetime:
  10961. description: 操作时间
  10962. type: string
  10963. operatoraccount:
  10964. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10965. type: string
  10966. operatorid:
  10967. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10968. type: integer
  10969. operatorname:
  10970. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10971. type: string
  10972. operatorsrc:
  10973. description: 操作人来源 - 1:管理端 2:终端
  10974. type: integer
  10975. orderid:
  10976. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10977. type: string
  10978. otherfee:
  10979. description: 其它费用
  10980. type: number
  10981. remark:
  10982. description: 操作备注
  10983. type: string
  10984. servicefee:
  10985. description: 综合服务费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10986. type: number
  10987. settleamount:
  10988. description: 总结算费用
  10989. type: number
  10990. status:
  10991. description: 操作后单据状态 - 枚举"GZCJStatus"
  10992. type: integer
  10993. totalfee:
  10994. description: 总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus
  10995. = 10.预付款确认中\13.付款确认中] 时
  10996. type: number
  10997. required:
  10998. - orderid
  10999. - status
  11000. type: object
  11001. models.Gzrapaportprice:
  11002. properties:
  11003. dollar:
  11004. description: 美元
  11005. type: string
  11006. rmb:
  11007. description: 人民币
  11008. type: string
  11009. type: object
  11010. models.Hedgeinnerholderdetail:
  11011. properties:
  11012. accountid:
  11013. description: 账号ID
  11014. type: integer
  11015. buyorsell:
  11016. description: 方向 - 0:买 1:卖
  11017. type: integer
  11018. freezeqty:
  11019. description: 冻结数量 - 按单平使用
  11020. type: integer
  11021. goodsid:
  11022. description: 商品ID
  11023. type: integer
  11024. holderamount:
  11025. description: 持仓金额 [商品币种]
  11026. type: number
  11027. holderdays:
  11028. description: 剩余冻结天数
  11029. type: integer
  11030. holderprice:
  11031. description: 持仓价格
  11032. type: number
  11033. holderqty:
  11034. description: 持仓数量
  11035. type: integer
  11036. marketid:
  11037. description: 市场ID
  11038. type: integer
  11039. openprice:
  11040. description: 建仓价格
  11041. type: number
  11042. openqty:
  11043. description: 建仓数量
  11044. type: integer
  11045. parentaccountid:
  11046. description: 所属母账户
  11047. type: integer
  11048. releaseamount:
  11049. description: 释放持仓金额[商品币种]
  11050. type: number
  11051. tradeamount:
  11052. description: 成交金额[账户]
  11053. type: number
  11054. tradedate:
  11055. description: 交易日(yyyyMMdd)
  11056. type: string
  11057. tradeid:
  11058. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11059. type: string
  11060. tradetime:
  11061. description: 交易时间
  11062. type: string
  11063. required:
  11064. - buyorsell
  11065. - tradeid
  11066. type: object
  11067. models.Hedgemarketopenlog:
  11068. properties:
  11069. accountid:
  11070. description: 资金账号[外部母账户]
  11071. type: integer
  11072. fcname:
  11073. description: 期货公司名称
  11074. type: string
  11075. handlestatus:
  11076. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  11077. type: integer
  11078. marketid:
  11079. description: 市场ID
  11080. type: integer
  11081. status:
  11082. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  11083. type: integer
  11084. tradedate:
  11085. description: 交易日(yyyyMMdd)
  11086. type: string
  11087. updatetime:
  11088. description: 更新时间
  11089. type: string
  11090. required:
  11091. - accountid
  11092. type: object
  11093. models.HistoryData:
  11094. properties:
  11095. c:
  11096. description: 收盘价
  11097. type: number
  11098. f:
  11099. description: 是否补充数据
  11100. type: boolean
  11101. h:
  11102. description: 最高价
  11103. type: number
  11104. hv:
  11105. description: 持仓量
  11106. type: integer
  11107. l:
  11108. description: 最低价
  11109. type: number
  11110. o:
  11111. description: 开盘价
  11112. type: number
  11113. s:
  11114. description: 结算价,日线周期(包括)以上才有
  11115. type: number
  11116. ts:
  11117. description: 时间
  11118. type: string
  11119. tt:
  11120. description: 总金额
  11121. type: number
  11122. tv:
  11123. description: 总量(成交量)
  11124. type: integer
  11125. type: object
  11126. models.HsbyBuyMyPayOrder:
  11127. properties:
  11128. agreeunit:
  11129. description: 合约单位
  11130. type: number
  11131. buyaccountid:
  11132. description: 买方账号ID[报价币种]
  11133. type: integer
  11134. buyorderid:
  11135. description: 买方委托单号
  11136. type: string
  11137. createtime:
  11138. description: 创建时间
  11139. type: string
  11140. currencysign:
  11141. description: 货币符号
  11142. type: string
  11143. decimalplace:
  11144. description: 报价小数位
  11145. type: integer
  11146. goodscode:
  11147. description: 商品代码(内部)
  11148. type: string
  11149. goodsid:
  11150. description: 商品ID
  11151. type: integer
  11152. goodsname:
  11153. description: 商品名称
  11154. type: string
  11155. marketid:
  11156. description: 市场ID
  11157. type: integer
  11158. offamount:
  11159. description: 优惠金额
  11160. type: number
  11161. originalamount:
  11162. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  11163. type: number
  11164. payamount:
  11165. description: 支付金额 = TradeAmount + TradeCharge
  11166. type: number
  11167. payflag:
  11168. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11169. type: integer
  11170. paylimitedtime:
  11171. description: 支付期限
  11172. type: string
  11173. paytime:
  11174. description: 付款时间
  11175. type: string
  11176. picurls1:
  11177. description: 预售商品介绍图片[多张用逗号分隔]
  11178. type: string
  11179. picurls2:
  11180. description: 挂牌商品介绍图片[多张用逗号分隔]
  11181. type: string
  11182. sellaccountid:
  11183. description: 卖方账号ID[报价币种]
  11184. type: integer
  11185. sellorderid:
  11186. description: 卖方委托单号
  11187. type: string
  11188. tradeamount:
  11189. description: 成交金额
  11190. type: number
  11191. tradecharge:
  11192. description: 成交手续费(买方)
  11193. type: number
  11194. tradedate:
  11195. description: 交易日(yyyyMMdd)
  11196. type: string
  11197. tradeid:
  11198. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11199. type: string
  11200. trademode:
  11201. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11202. 21:竞拍-大宗式 22:受托竞价
  11203. type: integer
  11204. tradeprice:
  11205. description: 成交价格
  11206. type: number
  11207. tradeqty:
  11208. description: 成交数量
  11209. type: integer
  11210. vendorname1:
  11211. description: 预售商品供应商名称
  11212. type: string
  11213. vendorname2:
  11214. description: 挂牌商品供应商名称
  11215. type: string
  11216. required:
  11217. - goodscode
  11218. - goodsname
  11219. - tradeid
  11220. - trademode
  11221. type: object
  11222. models.HsbyBuyMyTradeDetail:
  11223. properties:
  11224. accountid:
  11225. description: 账户ID[报价币种]
  11226. type: integer
  11227. agreeunit:
  11228. description: 合约单位
  11229. type: number
  11230. amount:
  11231. description: 金额 = 价格 * 数量 * 合约单位
  11232. type: number
  11233. buyorsell:
  11234. description: 买卖 - 0:买 1:卖
  11235. type: integer
  11236. currencysign:
  11237. description: 货币符号
  11238. type: string
  11239. decimalplace:
  11240. description: 报价小数位
  11241. type: integer
  11242. goodscode:
  11243. description: 商品代码(内部)
  11244. type: string
  11245. goodsid:
  11246. description: 商品ID
  11247. type: integer
  11248. goodsname:
  11249. description: 商品名称
  11250. type: string
  11251. marketid:
  11252. description: 市场ID
  11253. type: integer
  11254. orderamount:
  11255. description: 委托金额
  11256. type: number
  11257. orderid:
  11258. description: 单号(成交单号)
  11259. type: string
  11260. picurls1:
  11261. description: 预售商品介绍图片[多张用逗号分隔]
  11262. type: string
  11263. picurls2:
  11264. description: 挂牌商品介绍图片[多张用逗号分隔]
  11265. type: string
  11266. price:
  11267. description: 价格
  11268. type: number
  11269. qty:
  11270. description: 数量
  11271. type: integer
  11272. time:
  11273. description: 时间
  11274. type: string
  11275. trademode:
  11276. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11277. 21:竞拍-大宗式 22:受托竞价
  11278. type: integer
  11279. vendorname1:
  11280. description: 预售商品供应商名称
  11281. type: string
  11282. vendorname2:
  11283. description: 挂牌商品供应商名称
  11284. type: string
  11285. required:
  11286. - accountid
  11287. - buyorsell
  11288. - goodscode
  11289. - goodsid
  11290. - goodsname
  11291. - marketid
  11292. - orderid
  11293. - qty
  11294. - time
  11295. - trademode
  11296. type: object
  11297. models.HsbyGoodsOrderDetail:
  11298. properties:
  11299. buyorsell:
  11300. description: 买卖 - 0:买 1:卖
  11301. type: integer
  11302. currencysign:
  11303. description: 货币符号
  11304. type: string
  11305. customername:
  11306. description: 客户名称(企业名称),已脱敏
  11307. type: string
  11308. enableqty:
  11309. description: 可用数量
  11310. type: integer
  11311. goodunit:
  11312. description: 报价单位
  11313. type: string
  11314. orderid:
  11315. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11316. type: string
  11317. orderprice:
  11318. description: 委托价格
  11319. type: number
  11320. ordertime:
  11321. description: 委托时间
  11322. type: string
  11323. required:
  11324. - buyorsell
  11325. - orderid
  11326. - ordertime
  11327. type: object
  11328. models.HsbyListingGoodsDetail:
  11329. properties:
  11330. agreeunit:
  11331. description: 合约单位
  11332. type: number
  11333. buymaxqty:
  11334. description: 购买上限 [71] - 0为不限
  11335. type: integer
  11336. currency:
  11337. description: 货币
  11338. type: string
  11339. currencysign:
  11340. description: 货币符号
  11341. type: string
  11342. decimalplace:
  11343. description: 报价小数位
  11344. type: integer
  11345. desccityid:
  11346. description: 目的地(市)ID
  11347. type: integer
  11348. descprovinceid:
  11349. description: 目的地(省)ID
  11350. type: integer
  11351. goodscode:
  11352. description: 商品代码(内部)
  11353. type: string
  11354. goodsdesc:
  11355. description: 商品详情
  11356. type: string
  11357. goodsid:
  11358. description: 商品ID(自增ID SEQ_GOODS)
  11359. type: integer
  11360. goodsname:
  11361. description: 商品名称
  11362. type: string
  11363. goodsprice:
  11364. description: 商品价格
  11365. type: number
  11366. hotindex:
  11367. description: 景点热度
  11368. type: integer
  11369. last:
  11370. description: 现价
  11371. type: number
  11372. limitdown:
  11373. description: 跌停价
  11374. type: number
  11375. limitup:
  11376. description: 涨停价
  11377. type: number
  11378. lotsize:
  11379. description: 手数最小变动单位
  11380. type: integer
  11381. marketid:
  11382. description: 所属市场ID
  11383. type: integer
  11384. picurls:
  11385. description: 介绍图片[多张用逗号分隔]
  11386. type: string
  11387. quoteminunit:
  11388. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11389. type: integer
  11390. stepvalue:
  11391. description: 价格最小变动单位
  11392. type: number
  11393. trademode:
  11394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11395. 21:竞拍-大宗式 22:受托竞价
  11396. type: integer
  11397. vendorattr:
  11398. description: 供应商附件(多张,逗号分隔)
  11399. type: string
  11400. vendorname:
  11401. description: 供应商名称
  11402. type: string
  11403. vendorphone:
  11404. description: 供应商客服电话
  11405. type: string
  11406. videourls:
  11407. description: 介绍视频[多张用逗号分隔]
  11408. type: string
  11409. required:
  11410. - goodscode
  11411. - goodsid
  11412. - goodsname
  11413. - marketid
  11414. - trademode
  11415. type: object
  11416. models.HsbyMarketGoods:
  11417. properties:
  11418. accountid:
  11419. description: 账户ID[报价币种]
  11420. type: integer
  11421. agreeunit:
  11422. description: 合约单位
  11423. type: number
  11424. buyorsell:
  11425. description: 买卖 - 0:买 1:卖
  11426. type: integer
  11427. categoryid:
  11428. description: 类别ID(WRCATEGORY)
  11429. type: integer
  11430. currency:
  11431. description: 货币
  11432. type: string
  11433. currencysign:
  11434. description: 货币符号
  11435. type: string
  11436. customername:
  11437. description: 卖家名称
  11438. type: string
  11439. decimalplace:
  11440. description: 报价小数位
  11441. type: integer
  11442. goodscode:
  11443. description: 商品代码(内部)
  11444. type: string
  11445. goodsid:
  11446. description: 商品ID
  11447. type: integer
  11448. goodsname:
  11449. description: 商品名称
  11450. type: string
  11451. goodsprice:
  11452. description: 商品价格
  11453. type: number
  11454. hascoupon:
  11455. description: 是否可用优惠卷
  11456. type: boolean
  11457. hotindex:
  11458. description: 景点热度
  11459. type: integer
  11460. marketid:
  11461. description: 市场ID
  11462. type: integer
  11463. orderid:
  11464. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11465. type: string
  11466. orderprice:
  11467. description: 委托价格
  11468. type: number
  11469. orderstatus:
  11470. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11471. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11472. 16:成交失败违约(荷兰式竞拍专用)
  11473. type: integer
  11474. picurls:
  11475. description: 介绍图片[多张用逗号分隔]
  11476. type: string
  11477. quoteminunit:
  11478. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11479. type: integer
  11480. sellUserID:
  11481. description: 卖方UserID
  11482. type: integer
  11483. trademode:
  11484. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11485. 21:竞拍-大宗式 22:受托竞价
  11486. type: integer
  11487. videourls:
  11488. description: 介绍视频[多张用逗号分隔]
  11489. type: string
  11490. required:
  11491. - accountid
  11492. - buyorsell
  11493. - goodscode
  11494. - goodsid
  11495. - goodsname
  11496. - marketid
  11497. - orderid
  11498. - trademode
  11499. type: object
  11500. models.HsbyMarketGoodsDetail:
  11501. properties:
  11502. accountid:
  11503. description: 账户ID[报价币种]
  11504. type: integer
  11505. agreeunit:
  11506. description: 合约单位
  11507. type: number
  11508. buymaxqty:
  11509. description: 购买上限 [71] - 0为不限
  11510. type: integer
  11511. buyorsell:
  11512. description: 买卖 - 0:买 1:卖
  11513. type: integer
  11514. cancelqty:
  11515. description: 撤单数量
  11516. type: integer
  11517. categoryid:
  11518. description: 类别ID(WRCATEGORY)
  11519. type: integer
  11520. currency:
  11521. description: 货币
  11522. type: string
  11523. currencysign:
  11524. description: 货币符号
  11525. type: string
  11526. customername:
  11527. description: 卖家名称
  11528. type: string
  11529. decimalplace:
  11530. description: 报价小数位
  11531. type: integer
  11532. goodscode:
  11533. description: 商品代码(内部)
  11534. type: string
  11535. goodsdesc:
  11536. description: 商品详情
  11537. type: string
  11538. goodsid:
  11539. description: 商品ID
  11540. type: integer
  11541. goodsname:
  11542. description: 商品名称
  11543. type: string
  11544. goodsprice:
  11545. description: 商品价格
  11546. type: number
  11547. hotindex:
  11548. description: 景点热度
  11549. type: integer
  11550. lotsize:
  11551. description: 手数最小变动单位
  11552. type: integer
  11553. marketid:
  11554. description: 市场ID
  11555. type: integer
  11556. orderid:
  11557. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11558. type: string
  11559. orderprice:
  11560. description: 委托价格
  11561. type: number
  11562. orderqty:
  11563. description: 委托数量
  11564. type: integer
  11565. orderstatus:
  11566. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11567. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11568. 16:成交失败违约(荷兰式竞拍专用)
  11569. type: integer
  11570. picurls:
  11571. description: 介绍图片[多张用逗号分隔]
  11572. type: string
  11573. quoteminunit:
  11574. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11575. type: integer
  11576. sellUserID:
  11577. description: 卖方UserID
  11578. type: integer
  11579. trademode:
  11580. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11581. 21:竞拍-大宗式 22:受托竞价
  11582. type: integer
  11583. tradeqty:
  11584. description: 成交数量
  11585. type: integer
  11586. vendorattr:
  11587. description: 供应商附件(多张,逗号分隔)
  11588. type: string
  11589. vendorname:
  11590. description: 供应商名称
  11591. type: string
  11592. vendorphone:
  11593. description: 供应商客服电话
  11594. type: string
  11595. videourls:
  11596. description: 介绍视频[多张用逗号分隔]
  11597. type: string
  11598. required:
  11599. - accountid
  11600. - buyorsell
  11601. - goodscode
  11602. - goodsid
  11603. - goodsname
  11604. - marketid
  11605. - orderid
  11606. - orderqty
  11607. - trademode
  11608. type: object
  11609. models.HsbyMarketInfo:
  11610. properties:
  11611. marketid:
  11612. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11613. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11614. type: integer
  11615. marketname:
  11616. description: 市场名称
  11617. type: string
  11618. marketstatus:
  11619. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11620. type: integer
  11621. trademode:
  11622. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11623. 21:竞拍-大宗式 22:受托竞价
  11624. type: integer
  11625. required:
  11626. - marketid
  11627. - marketstatus
  11628. - trademode
  11629. type: object
  11630. models.HsbyMyGoods:
  11631. properties:
  11632. accountid:
  11633. description: 账号Id
  11634. type: integer
  11635. agreeunit:
  11636. description: 合约单位
  11637. type: number
  11638. buyaverageprice:
  11639. description: 持仓均价
  11640. type: number
  11641. buycurholderamount:
  11642. description: 买当前持仓总金额[商品币种]
  11643. type: number
  11644. buycurpositionqty:
  11645. description: 买当前持仓总数量
  11646. type: integer
  11647. buymaxqty:
  11648. description: 购买上限 [71] - 0为不限
  11649. type: integer
  11650. currencysign:
  11651. description: 货币符号
  11652. type: string
  11653. decimalplace:
  11654. description: 报价小数位
  11655. type: integer
  11656. enableqty:
  11657. description: 可用数量
  11658. type: integer
  11659. goodscode:
  11660. description: 商品代码(内部)
  11661. type: string
  11662. goodsid:
  11663. description: 商品Id
  11664. type: integer
  11665. goodsname:
  11666. description: 商品名称
  11667. type: string
  11668. goodsprice:
  11669. description: 商品价格
  11670. type: number
  11671. goodsstatus:
  11672. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11673. type: integer
  11674. last:
  11675. description: 现价(仅使用于挂牌点选)
  11676. type: number
  11677. limitdown:
  11678. description: 跌停价(仅使用于挂牌点选)
  11679. type: number
  11680. limitup:
  11681. description: 涨停价(仅使用于挂牌点选)
  11682. type: number
  11683. lotsize:
  11684. description: 手数最小变动单位
  11685. type: integer
  11686. marketid:
  11687. description: 所属市场ID
  11688. type: integer
  11689. picurls:
  11690. description: 介绍图片[多张用逗号分隔]
  11691. type: string
  11692. quoteminunit:
  11693. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11694. type: integer
  11695. stepvalue:
  11696. description: 价格最小变动单位
  11697. type: number
  11698. trademode:
  11699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11700. 21:竞拍-大宗式 22:受托竞价
  11701. type: integer
  11702. required:
  11703. - accountid
  11704. - goodscode
  11705. - goodsid
  11706. - goodsname
  11707. - marketid
  11708. - trademode
  11709. type: object
  11710. models.HsbyMyPackage:
  11711. properties:
  11712. accountid:
  11713. description: 账户ID
  11714. type: integer
  11715. address:
  11716. description: 提货人详细地址
  11717. type: string
  11718. agreeunit:
  11719. description: 合约单位
  11720. type: number
  11721. amount:
  11722. description: 提货金额
  11723. type: number
  11724. auditer:
  11725. description: 审核人
  11726. type: integer
  11727. audittime:
  11728. description: 审核时间
  11729. type: string
  11730. averageprice:
  11731. description: 均价
  11732. type: number
  11733. cardnum:
  11734. description: 提货人证件号码
  11735. type: string
  11736. cardtypeid:
  11737. description: 提货人证件类型
  11738. type: integer
  11739. checkremark:
  11740. description: 审核备注
  11741. type: string
  11742. currencysign:
  11743. description: 货币符号
  11744. type: string
  11745. decimalplace:
  11746. description: 报价小数位
  11747. type: integer
  11748. goodscode:
  11749. description: 商品代码(内部)
  11750. type: string
  11751. goodsid:
  11752. description: 商品ID
  11753. type: integer
  11754. goodsname:
  11755. description: 商品名称
  11756. type: string
  11757. handlestatus:
  11758. description: 处理状态
  11759. type: integer
  11760. marketid:
  11761. description: 市场ID
  11762. type: integer
  11763. phonenum:
  11764. description: 提货人联系方式
  11765. type: string
  11766. picurls:
  11767. description: 介绍图片[多张用逗号分隔]
  11768. type: string
  11769. qty:
  11770. description: 提货数量
  11771. type: number
  11772. recivername:
  11773. description: 提货人姓名
  11774. type: string
  11775. reqtime:
  11776. description: 更新时间
  11777. type: string
  11778. takemode:
  11779. description: 提货方式 - 2:自提 3:配送
  11780. type: integer
  11781. takeorderid:
  11782. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11783. type: string
  11784. takeorderstatus:
  11785. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11786. type: integer
  11787. takeremark:
  11788. description: 提货备注
  11789. type: string
  11790. tradedate:
  11791. description: 交易日(yyyyMMdd)
  11792. type: string
  11793. trademode:
  11794. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11795. 21:竞拍-大宗式 22:受托竞价
  11796. type: integer
  11797. userid:
  11798. description: 用户ID
  11799. type: integer
  11800. vendorname:
  11801. description: 供应商名称
  11802. type: string
  11803. required:
  11804. - goodscode
  11805. - goodsname
  11806. - takeorderid
  11807. - trademode
  11808. type: object
  11809. models.HsbyPreGoods:
  11810. properties:
  11811. agreeunit:
  11812. description: 合约单位
  11813. type: number
  11814. currency:
  11815. description: 货币
  11816. type: string
  11817. currencysign:
  11818. description: 货币符号
  11819. type: string
  11820. decimalplace:
  11821. description: 报价小数位
  11822. type: integer
  11823. desccityid:
  11824. description: 目的地(市)
  11825. type: integer
  11826. descprovinceid:
  11827. description: 目的地(省)
  11828. type: integer
  11829. enableqty:
  11830. description: 剩余数量
  11831. type: integer
  11832. goodscode:
  11833. description: 商品代码(内部)
  11834. type: string
  11835. goodsid:
  11836. description: 商品ID(自增ID SEQ_GOODS)
  11837. type: integer
  11838. goodsname:
  11839. description: 商品名称
  11840. type: string
  11841. goodsstatus:
  11842. description: 商品状态- 2:未上市 3:上市
  11843. type: integer
  11844. lasttradedate:
  11845. description: 最后交易日期(状态:待退市)
  11846. type: string
  11847. listingdate:
  11848. description: 交易开始日期
  11849. type: string
  11850. marketid:
  11851. description: 所属市场ID
  11852. type: integer
  11853. picurls:
  11854. description: 介绍图片[多张用逗号分隔]
  11855. type: string
  11856. presaledqty:
  11857. description: 已预售量(预售结束时更新)
  11858. type: integer
  11859. presaleqty:
  11860. description: 预售数量
  11861. type: integer
  11862. quoteminunit:
  11863. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11864. type: integer
  11865. refprice:
  11866. description: 参考价格[一口价]
  11867. type: number
  11868. relatedgoodsid:
  11869. description: 关联交易合约ID
  11870. type: integer
  11871. trademode:
  11872. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11873. 21:竞拍-大宗式 22:受托竞价
  11874. type: integer
  11875. videourls:
  11876. description: 介绍视频[多张用逗号分隔]
  11877. type: string
  11878. required:
  11879. - goodscode
  11880. - goodsid
  11881. - goodsname
  11882. - marketid
  11883. - trademode
  11884. type: object
  11885. models.HsbyPreGoodsDetail:
  11886. properties:
  11887. agreeunit:
  11888. description: 合约单位
  11889. type: number
  11890. buymaxqty:
  11891. description: 购买上限 [71] - 0为不限
  11892. type: integer
  11893. currency:
  11894. description: 货币
  11895. type: string
  11896. currencysign:
  11897. description: 货币符号
  11898. type: string
  11899. customername:
  11900. description: 发行单位
  11901. type: string
  11902. decimalplace:
  11903. description: 报价小数位
  11904. type: integer
  11905. desccityid:
  11906. description: 目的地(市)ID
  11907. type: integer
  11908. descprovinceid:
  11909. description: 目的地(省)ID
  11910. type: integer
  11911. enableqty:
  11912. description: 剩余数量
  11913. type: integer
  11914. goodscode:
  11915. description: 商品代码(内部)
  11916. type: string
  11917. goodsdesc:
  11918. description: 商品详情
  11919. type: string
  11920. goodsid:
  11921. description: 商品ID(自增ID SEQ_GOODS)
  11922. type: integer
  11923. goodsname:
  11924. description: 商品名称
  11925. type: string
  11926. goodsstatus:
  11927. description: 商品状态- 2:未上市 3:上市
  11928. type: integer
  11929. goodunit:
  11930. description: 报价单位
  11931. type: string
  11932. lasttradedate:
  11933. description: 最后交易日期(状态:待退市)
  11934. type: string
  11935. listingdate:
  11936. description: 交易开始日期
  11937. type: string
  11938. lotsize:
  11939. description: 手数最小变动单位
  11940. type: integer
  11941. marketid:
  11942. description: 所属市场ID
  11943. type: integer
  11944. picurls:
  11945. description: 介绍图片[多张用逗号分隔]
  11946. type: string
  11947. presaledqty:
  11948. description: 已预售量(预售结束时更新)
  11949. type: integer
  11950. presaleqty:
  11951. description: 预售数量
  11952. type: integer
  11953. quoteminunit:
  11954. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11955. type: integer
  11956. refprice:
  11957. description: 参考价格[一口价]
  11958. type: number
  11959. relatedgoodsid:
  11960. description: 关联交易合约ID
  11961. type: integer
  11962. stepvalue:
  11963. description: 价格最小变动单位
  11964. type: number
  11965. trademode:
  11966. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11967. 21:竞拍-大宗式 22:受托竞价
  11968. type: integer
  11969. vendorattr:
  11970. description: 供应商附件(多张,逗号分隔)
  11971. type: string
  11972. vendorname:
  11973. description: 供应商名称
  11974. type: string
  11975. vendorphone:
  11976. description: 供应商客服电话
  11977. type: string
  11978. videourls:
  11979. description: 介绍视频[多张用逗号分隔]
  11980. type: string
  11981. required:
  11982. - goodscode
  11983. - goodsid
  11984. - goodsname
  11985. - marketid
  11986. - trademode
  11987. type: object
  11988. models.HsbySellCollectionOrder:
  11989. properties:
  11990. agreeunit:
  11991. description: 合约单位
  11992. type: number
  11993. buyaccountid:
  11994. description: 买方账号ID[报价币种]
  11995. type: integer
  11996. buyorderid:
  11997. description: 买方委托单号
  11998. type: string
  11999. createtime:
  12000. description: 创建时间
  12001. type: string
  12002. currencysign:
  12003. description: 货币符号
  12004. type: string
  12005. decimalplace:
  12006. description: 报价小数位
  12007. type: integer
  12008. goodscode:
  12009. description: 商品代码(内部)
  12010. type: string
  12011. goodsid:
  12012. description: 商品ID
  12013. type: integer
  12014. goodsname:
  12015. description: 商品名称
  12016. type: string
  12017. marketid:
  12018. description: 市场ID
  12019. type: integer
  12020. offamount:
  12021. description: 优惠金额
  12022. type: number
  12023. payamount:
  12024. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  12025. type: number
  12026. payflag:
  12027. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12028. type: integer
  12029. paylimitedtime:
  12030. description: 支付期限
  12031. type: string
  12032. paytime:
  12033. description: 付款时间
  12034. type: string
  12035. picurls:
  12036. description: 商品介绍图片[多张用逗号分隔]
  12037. type: string
  12038. sellaccountid:
  12039. description: 卖方账号ID[报价币种]
  12040. type: integer
  12041. sellorderid:
  12042. description: 卖方委托单号
  12043. type: string
  12044. tradeamount:
  12045. description: 成交金额
  12046. type: number
  12047. tradecharge:
  12048. description: 成交手续费(买方)
  12049. type: number
  12050. tradedate:
  12051. description: 交易日(yyyyMMdd)
  12052. type: string
  12053. tradeid:
  12054. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12055. type: string
  12056. trademode:
  12057. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12058. 21:竞拍-大宗式 22:受托竞价
  12059. type: integer
  12060. tradeprice:
  12061. description: 成交价格
  12062. type: number
  12063. tradeqty:
  12064. description: 成交数量
  12065. type: integer
  12066. required:
  12067. - goodscode
  12068. - goodsname
  12069. - tradeid
  12070. - trademode
  12071. type: object
  12072. models.HsbySellMyDetail:
  12073. properties:
  12074. accountid:
  12075. description: 账户ID[报价币种]
  12076. type: integer
  12077. agreeunit:
  12078. description: 合约单位
  12079. type: number
  12080. buyorsell:
  12081. description: 买卖 - 0:买 1:卖
  12082. type: integer
  12083. currencysign:
  12084. description: 货币符号
  12085. type: string
  12086. decimalplace:
  12087. description: 报价小数位
  12088. type: integer
  12089. goodscode:
  12090. description: 商品代码(内部)
  12091. type: string
  12092. goodsid:
  12093. description: 商品ID
  12094. type: integer
  12095. goodsname:
  12096. description: 商品名称
  12097. type: string
  12098. marketid:
  12099. description: 市场ID
  12100. type: integer
  12101. orderid:
  12102. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  12103. type: string
  12104. ordertype:
  12105. description: 单据类型:0 - 发布中, 1 - 已完成
  12106. type: integer
  12107. picurls:
  12108. description: 介绍图片[多张用逗号分隔]
  12109. type: string
  12110. price:
  12111. description: 价格
  12112. type: number
  12113. qty:
  12114. description: 数量
  12115. type: integer
  12116. time:
  12117. description: 时间
  12118. type: string
  12119. trademode:
  12120. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12121. 21:竞拍-大宗式 22:受托竞价
  12122. type: integer
  12123. vendorname:
  12124. description: 供应商名称
  12125. type: string
  12126. required:
  12127. - accountid
  12128. - buyorsell
  12129. - goodscode
  12130. - goodsid
  12131. - goodsname
  12132. - marketid
  12133. - orderid
  12134. - time
  12135. - trademode
  12136. type: object
  12137. models.HsbyTopGoods:
  12138. properties:
  12139. agreeunit:
  12140. description: 合约单位
  12141. type: number
  12142. currency:
  12143. description: 货币
  12144. type: string
  12145. currencysign:
  12146. description: 货币符号
  12147. type: string
  12148. decimalplace:
  12149. description: 报价小数位
  12150. type: integer
  12151. desccityid:
  12152. description: 目的地(市)
  12153. type: integer
  12154. descprovinceid:
  12155. description: 目的地(省)
  12156. type: integer
  12157. goodscode:
  12158. description: 商品代码(内部)
  12159. type: string
  12160. goodsid:
  12161. description: 商品ID(自增ID SEQ_GOODS)
  12162. type: integer
  12163. goodsname:
  12164. description: 商品名称
  12165. type: string
  12166. hotindex:
  12167. description: 景点热度
  12168. type: integer
  12169. last:
  12170. description: 现价
  12171. type: number
  12172. marketid:
  12173. description: 所属市场ID
  12174. type: integer
  12175. picurls:
  12176. description: 介绍图片[多张用逗号分隔]
  12177. type: string
  12178. quoteminunit:
  12179. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12180. type: integer
  12181. trademode:
  12182. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12183. 21:竞拍-大宗式 22:受托竞价
  12184. type: integer
  12185. videourls:
  12186. description: 介绍视频[多张用逗号分隔]
  12187. type: string
  12188. required:
  12189. - goodscode
  12190. - goodsid
  12191. - goodsname
  12192. - marketid
  12193. - trademode
  12194. type: object
  12195. models.HybsMyBuyOrderDetail:
  12196. properties:
  12197. accountid:
  12198. description: 账户ID[报价币种]
  12199. type: integer
  12200. agreeunit:
  12201. description: 合约单位
  12202. type: number
  12203. buyorsell:
  12204. description: 买卖 - 0:买 1:卖
  12205. type: integer
  12206. cancelqty:
  12207. description: 撤单数量
  12208. type: integer
  12209. currencysign:
  12210. description: 货币符号
  12211. type: string
  12212. decimalplace:
  12213. description: 报价小数位
  12214. type: integer
  12215. goodscode:
  12216. description: 商品代码(内部)
  12217. type: string
  12218. goodsid:
  12219. description: 商品ID
  12220. type: integer
  12221. goodsname:
  12222. description: 商品名称
  12223. type: string
  12224. listingselecttype:
  12225. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12226. type: integer
  12227. marketid:
  12228. description: 市场ID
  12229. type: integer
  12230. mybuystatus:
  12231. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12232. type: integer
  12233. orderamount:
  12234. description: 委托金额
  12235. type: number
  12236. orderid:
  12237. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12238. type: string
  12239. orderprice:
  12240. description: 委托价格
  12241. type: number
  12242. orderqty:
  12243. description: 委托数量
  12244. type: integer
  12245. orderstatus:
  12246. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12247. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12248. 16:成交失败违约(荷兰式竞拍专用)
  12249. type: integer
  12250. ordertime:
  12251. description: 委托时间
  12252. type: string
  12253. picurls1:
  12254. description: 预售商品介绍图片[多张用逗号分隔]
  12255. type: string
  12256. picurls2:
  12257. description: 挂牌商品介绍图片[多张用逗号分隔]
  12258. type: string
  12259. trademode:
  12260. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12261. 21:竞拍-大宗式 22:受托竞价
  12262. type: integer
  12263. tradeqty:
  12264. description: 成交数量
  12265. type: integer
  12266. vendorname1:
  12267. description: 预售商品供应商名称
  12268. type: string
  12269. vendorname2:
  12270. description: 挂牌商品供应商名称
  12271. type: string
  12272. required:
  12273. - accountid
  12274. - buyorsell
  12275. - goodscode
  12276. - goodsid
  12277. - goodsname
  12278. - marketid
  12279. - orderid
  12280. - orderqty
  12281. - ordertime
  12282. - trademode
  12283. type: object
  12284. models.InternalEnableTradeDetail:
  12285. properties:
  12286. agreeunit:
  12287. description: 合约乘数
  12288. type: number
  12289. areauserid:
  12290. description: 企业ID
  12291. type: integer
  12292. convertratio:
  12293. description: 品种系数
  12294. type: number
  12295. deliverygoodscode:
  12296. description: 现货品种代码
  12297. type: string
  12298. deliverygoodsid:
  12299. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12300. type: integer
  12301. deliverygoodsname:
  12302. description: 现货品种名称
  12303. type: string
  12304. futurehedgeqty:
  12305. description: '[已关联数量]期货持仓套期量'
  12306. type: number
  12307. goodsid:
  12308. description: 期货合约ID
  12309. type: integer
  12310. hedgeditemid:
  12311. description: 被套期项目ID
  12312. type: string
  12313. hedgeditemnum:
  12314. description: 项目编号
  12315. type: string
  12316. tradeuserid:
  12317. description: 交易用户ID
  12318. type: integer
  12319. unexehedgeqty:
  12320. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12321. type: number
  12322. unexespotqty:
  12323. description: 未执行现货量
  12324. type: number
  12325. wrstandardcode:
  12326. description: 现货品类代码
  12327. type: string
  12328. wrstandardid:
  12329. description: 现货品类ID(SEQ_WRSTANDARD)
  12330. type: integer
  12331. wrstandardname:
  12332. description: 现货品类名称
  12333. type: string
  12334. required:
  12335. - areauserid
  12336. - goodsid
  12337. - tradeuserid
  12338. type: object
  12339. models.InternalUncorrelatedTradeDetail:
  12340. properties:
  12341. accountid:
  12342. description: 账号ID
  12343. type: integer
  12344. accountname:
  12345. description: 套期主体
  12346. type: string
  12347. agreeunit:
  12348. description: 合约乘数
  12349. type: number
  12350. areauserid:
  12351. description: 所属机构
  12352. type: integer
  12353. bizsubjectid:
  12354. description: 归属业务部门ID - SubjectID
  12355. type: integer
  12356. buyorsell:
  12357. description: 方向 - 0:买 1:卖
  12358. type: integer
  12359. channelbuildtype:
  12360. description: 委托单据类型 0:无 1:建仓 2:平仓
  12361. type: integer
  12362. convertratio:
  12363. description: 品种系数
  12364. type: number
  12365. createtime:
  12366. description: 创建时间
  12367. type: string
  12368. creatorid:
  12369. description: 创建人ID
  12370. type: integer
  12371. creatorsrc:
  12372. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12373. type: integer
  12374. enableqty:
  12375. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12376. type: number
  12377. enumdicname:
  12378. description: 单位
  12379. type: string
  12380. goodscode:
  12381. description: 合约代码
  12382. type: string
  12383. goodsgroupid:
  12384. description: 对冲品种ID[期货合约商品组ID]
  12385. type: integer
  12386. goodsid:
  12387. description: 商品ID
  12388. type: integer
  12389. goodsname:
  12390. description: 合约名称
  12391. type: string
  12392. hedgeditemid:
  12393. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12394. type: integer
  12395. hedgeflag:
  12396. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12397. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12398. type: integer
  12399. linkdetailid:
  12400. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12401. type: string
  12402. linkstatus:
  12403. description: 关联状态 - 1:成功 2:失败 3:解绑
  12404. type: integer
  12405. middlegoodsid:
  12406. description: 套保品种ID
  12407. type: integer
  12408. middlegoodsqty:
  12409. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12410. type: number
  12411. relatedlot:
  12412. description: '[数量]关联手数'
  12413. type: number
  12414. relatedmode:
  12415. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12416. type: integer
  12417. relatedqty:
  12418. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12419. type: number
  12420. retcode:
  12421. description: 返回码
  12422. type: integer
  12423. saleuserid:
  12424. description: 业务员ID
  12425. type: integer
  12426. tradedate:
  12427. description: 关联交易日(yyyyMMdd)
  12428. type: string
  12429. tradeid:
  12430. description: 成交单号
  12431. type: string
  12432. tradelot:
  12433. description: 成交手数
  12434. type: integer
  12435. tradeprice:
  12436. description: 成交价
  12437. type: number
  12438. tradetime:
  12439. description: 成交时间
  12440. type: string
  12441. tradetradedate:
  12442. description: 成交交易日(yyyyMMdd)
  12443. type: string
  12444. tradeuserid:
  12445. description: 交易用户ID
  12446. type: integer
  12447. type: object
  12448. models.Loginaccount:
  12449. properties:
  12450. accountname:
  12451. description: 账户名称
  12452. type: string
  12453. canoutin:
  12454. description: 是否可出入金 - 0:不可 1:可
  12455. type: integer
  12456. clientroleid:
  12457. description: 终端角色ID
  12458. type: integer
  12459. haslogined:
  12460. description: 是否已登录 - 0:未登录 1:已登录
  12461. type: integer
  12462. hasupdatedpwd:
  12463. description: 是否已更改密码 - 0:未修改 1:已修改
  12464. type: integer
  12465. lastloginip:
  12466. description: 最新登录地址
  12467. type: string
  12468. lastloginmode:
  12469. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  12470. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12471. type: integer
  12472. lastloginremark:
  12473. description: 最新登录描述
  12474. type: string
  12475. lastlogintime:
  12476. description: 最新登录时间
  12477. type: string
  12478. logincode:
  12479. description: 登录代码
  12480. type: string
  12481. loginfailnum:
  12482. description: 连续登录失败次数(登录成功时清零)
  12483. type: integer
  12484. loginid:
  12485. description: 登陆账号
  12486. type: integer
  12487. loginport:
  12488. description: 最新登录端口
  12489. type: integer
  12490. loginstatus:
  12491. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  12492. type: integer
  12493. loginusertype:
  12494. description: 登录账号类型 - 1:投资者 2:机构交易员
  12495. type: integer
  12496. mobile:
  12497. description: 手机号码(加密存储)
  12498. type: string
  12499. modifierid:
  12500. description: 修改人
  12501. type: integer
  12502. modifysrc:
  12503. description: 审核来源 - 1:管理端 2:终端
  12504. type: integer
  12505. modifytime:
  12506. description: 修改时间
  12507. type: string
  12508. pwdwrongcount:
  12509. description: 密码错误次数
  12510. type: integer
  12511. relateduserid:
  12512. description: 关联用户ID(机构)
  12513. type: integer
  12514. taaccountrighttype:
  12515. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  12516. type: integer
  12517. unfreezetime:
  12518. description: 账户解冻时间
  12519. type: string
  12520. userid:
  12521. description: 用户ID
  12522. type: integer
  12523. required:
  12524. - loginid
  12525. type: object
  12526. models.MainAccountInfo:
  12527. properties:
  12528. accountid:
  12529. description: 账号id
  12530. type: integer
  12531. accountname:
  12532. description: 账号名称(taaccount表中的名称)
  12533. type: string
  12534. appid:
  12535. description: AppID
  12536. type: string
  12537. authcode:
  12538. description: 授权码
  12539. type: string
  12540. brokerid:
  12541. description: 经纪商id
  12542. type: string
  12543. fcid:
  12544. description: 期货公司id
  12545. type: integer
  12546. fcname:
  12547. description: 期货公司代码
  12548. type: string
  12549. hedgeaccountcode:
  12550. description: 外部账号代码(主账号登录代码)
  12551. type: string
  12552. hedgeaccountpwd:
  12553. description: 密码
  12554. type: string
  12555. ismain:
  12556. description: 是否主账号
  12557. type: integer
  12558. relateduserid:
  12559. description: 关联用户id
  12560. type: integer
  12561. userid:
  12562. description: 关联用户id
  12563. type: integer
  12564. type: object
  12565. models.Market:
  12566. properties:
  12567. auctionwrtype:
  12568. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  12569. type: integer
  12570. canacceptquote:
  12571. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12572. type: integer
  12573. cangoodsexercise:
  12574. description: '[期权]是否可现货行权- 0:否 1:是'
  12575. type: integer
  12576. cangoodsexercisetype:
  12577. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12578. type: integer
  12579. canmanualquotestrike:
  12580. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12581. type: integer
  12582. canmutistage:
  12583. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12584. type: integer
  12585. canpreexercise:
  12586. description: '[期权]是否可预申报- 0:否 1:是'
  12587. type: integer
  12588. clearinterval:
  12589. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12590. type: integer
  12591. contracttmp:
  12592. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12593. type: string
  12594. exchareaid:
  12595. description: 所属交易所,可以没有
  12596. type: integer
  12597. goodstype:
  12598. description: 商品类型 - 1:交易商品 2:仓单商品
  12599. type: integer
  12600. hasrebate:
  12601. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12602. type: integer
  12603. hastradecredit:
  12604. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12605. type: integer
  12606. haswr:
  12607. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12608. type: integer
  12609. isdeductmargin:
  12610. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12611. type: integer
  12612. isrecordsource:
  12613. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12614. type: integer
  12615. isreleasemargin:
  12616. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12617. type: integer
  12618. marginformula:
  12619. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12620. type: integer
  12621. marginformula2:
  12622. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12623. type: integer
  12624. marketid:
  12625. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12626. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12627. type: integer
  12628. marketname:
  12629. description: 市场名称
  12630. type: string
  12631. marketserviceid:
  12632. description: 市场服务ID
  12633. type: integer
  12634. marketstatus:
  12635. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12636. type: integer
  12637. markettype:
  12638. description: 市场类型- 1:非交易服务 2:交易服务
  12639. type: integer
  12640. matchermode:
  12641. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  12642. type: integer
  12643. openmethod:
  12644. description: 开盘模式 - 0 自动 1手动
  12645. type: integer
  12646. otcuserid:
  12647. description: 场外期权做市商[场外期权]
  12648. type: integer
  12649. outersynctime:
  12650. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12651. type: string
  12652. pendingflag:
  12653. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12654. type: integer
  12655. pendingtime:
  12656. description: 待开市时间[通道交易-对冲](HH:mm)
  12657. type: string
  12658. performancetempid:
  12659. description: 履约计划模板ID - 作废
  12660. type: integer
  12661. premiumquotemode:
  12662. description: 权利金报价方式 - 1:自动 2:手动
  12663. type: integer
  12664. rebateratio:
  12665. description: 返利比率[竞价式]
  12666. type: number
  12667. reckonorder:
  12668. description: 结算顺序
  12669. type: integer
  12670. reckonpricealgorithm:
  12671. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12672. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12673. type: integer
  12674. reckonpriceparam:
  12675. description: 结算价参数
  12676. type: integer
  12677. reckontime:
  12678. description: 结算时间[通道交易-对冲](HH:mm)
  12679. type: string
  12680. roleprioritytype:
  12681. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12682. type: integer
  12683. selllistingauditflag:
  12684. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12685. type: integer
  12686. trademarkettype:
  12687. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12688. type: integer
  12689. trademode:
  12690. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12691. 21:竞拍-大宗式 22:受托竞价
  12692. type: integer
  12693. tradeproperty:
  12694. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12695. 8:场外期权
  12696. type: integer
  12697. tradetype:
  12698. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12699. type: integer
  12700. required:
  12701. - marketid
  12702. - marketstatus
  12703. - openmethod
  12704. - reckonpricealgorithm
  12705. - trademode
  12706. - tradeproperty
  12707. type: object
  12708. models.Marketcalendar:
  12709. properties:
  12710. holidaydate:
  12711. description: 节假日期(yyyy-MM-dd)
  12712. type: string
  12713. marketid:
  12714. description: 市场ID
  12715. type: integer
  12716. type: object
  12717. models.Marketrun:
  12718. properties:
  12719. afternexttradedate:
  12720. description: 下下交易日
  12721. type: string
  12722. clearquoteflag:
  12723. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  12724. type: integer
  12725. lastreckondate:
  12726. description: 最新交易日(结算成功)
  12727. type: string
  12728. machinedate:
  12729. description: 机器时间
  12730. type: string
  12731. manualflag:
  12732. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  12733. type: integer
  12734. marketid:
  12735. description: 市场ID
  12736. type: integer
  12737. nexttradedate:
  12738. description: 下一交易日
  12739. type: string
  12740. pretradedate:
  12741. description: 上一交易日
  12742. type: string
  12743. reckonflag:
  12744. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  12745. type: integer
  12746. runstatus:
  12747. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  12748. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  12749. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  12750. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  12751. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  12752. 62.今日免清算
  12753. type: integer
  12754. sectionid:
  12755. description: 时间段号[多时段时用]
  12756. type: integer
  12757. tradedate:
  12758. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  12759. type: string
  12760. tradedate2:
  12761. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  12762. type: string
  12763. updatetime:
  12764. description: 更新时间
  12765. type: string
  12766. required:
  12767. - marketid
  12768. - nexttradedate
  12769. - reckonflag
  12770. - runstatus
  12771. - tradedate
  12772. - tradedate2
  12773. type: object
  12774. models.Messageboard:
  12775. properties:
  12776. contactnum:
  12777. description: 联系电话
  12778. type: string
  12779. createtime:
  12780. description: 创建时间
  12781. type: string
  12782. message:
  12783. description: 留言信息
  12784. type: string
  12785. messageboardid:
  12786. description: 留言簿ID(SEQ_MessageBoard)
  12787. type: integer
  12788. userid:
  12789. description: 用户ID
  12790. type: integer
  12791. required:
  12792. - messageboardid
  12793. type: object
  12794. models.MyBargainApply:
  12795. properties:
  12796. accountid:
  12797. description: 摘牌资金账号
  12798. type: integer
  12799. applyprice:
  12800. description: 申请价格
  12801. type: string
  12802. applyremark:
  12803. description: 申请备注
  12804. type: string
  12805. applystatus:
  12806. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  12807. type: integer
  12808. applytime:
  12809. description: 申请时间
  12810. type: string
  12811. buyorsell:
  12812. description: 买卖 - 0:买 1:卖
  12813. type: integer
  12814. buyusername:
  12815. description: 买方
  12816. type: string
  12817. confirmprice:
  12818. description: 可接受价格(拒绝时填写)-作废
  12819. type: number
  12820. confirmqty:
  12821. description: 可接受数量(拒绝时填写)-作废
  12822. type: integer
  12823. confirmremark:
  12824. description: 确认备注
  12825. type: string
  12826. confirmtime:
  12827. description: 确认时间
  12828. type: string
  12829. confirmuserid:
  12830. description: 确认人
  12831. type: integer
  12832. goodsno:
  12833. description: 商品编号
  12834. type: string
  12835. handlestatus:
  12836. description: 处理状态
  12837. type: integer
  12838. ladingbillid:
  12839. description: 摘牌方提单ID [卖]
  12840. type: integer
  12841. marketid:
  12842. description: 市场ID
  12843. type: integer
  12844. matchaccountid:
  12845. description: 挂牌方资金账号
  12846. type: integer
  12847. matchuserid:
  12848. description: 挂牌方用户ID
  12849. type: integer
  12850. performancetemplateid:
  12851. description: 履约计划模板ID
  12852. type: integer
  12853. price:
  12854. description: 价格
  12855. type: number
  12856. priceper:
  12857. description: 克拉单价 - 类型:1,2,3,5
  12858. type: string
  12859. qty:
  12860. description: 申请数量
  12861. type: number
  12862. refprice:
  12863. description: 参考价格
  12864. type: string
  12865. retcode:
  12866. description: 委托返回代码
  12867. type: integer
  12868. sellusername:
  12869. description: 卖方
  12870. type: string
  12871. sizedisplay:
  12872. description: 尺寸
  12873. type: string
  12874. subnum:
  12875. description: 摘牌方提单子单号 [卖]
  12876. type: integer
  12877. tradedate:
  12878. description: 交易日(yyyyMMdd)
  12879. type: string
  12880. userid:
  12881. description: 摘牌人用户ID
  12882. type: integer
  12883. warehousenamedisplay:
  12884. type: string
  12885. wrbargainid:
  12886. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  12887. type: string
  12888. wrtradeorderid:
  12889. description: 关联委托单ID
  12890. type: string
  12891. zscerttypedisplay:
  12892. type: string
  12893. zsclaritytype1display:
  12894. type: string
  12895. zsclaritytype2display:
  12896. type: string
  12897. zscolortype1display:
  12898. type: string
  12899. zscolortype2display:
  12900. type: string
  12901. zscrystaltypedisplay:
  12902. type: string
  12903. zscurrencytypedisplay:
  12904. type: string
  12905. zscurrencytypedisplayunit:
  12906. type: string
  12907. zscuttype1display:
  12908. type: string
  12909. zscuttype2display:
  12910. type: string
  12911. zsczcolor1typedisplay:
  12912. type: string
  12913. zsczcolor2typedisplay:
  12914. type: string
  12915. zsczcolor3typedisplay:
  12916. type: string
  12917. zsfluorescencetype1display:
  12918. type: string
  12919. zsfluorescencetype2display:
  12920. type: string
  12921. zspolishtype1display:
  12922. type: string
  12923. zspolishtype2display:
  12924. type: string
  12925. zsshapetypedisplay:
  12926. type: string
  12927. zsstyletypedisplay:
  12928. type: string
  12929. zssymmetrytype1display:
  12930. type: string
  12931. zssymmetrytype2display:
  12932. type: string
  12933. required:
  12934. - userid
  12935. type: object
  12936. models.MyBuyOrder:
  12937. properties:
  12938. accountid:
  12939. description: 资金账户ID
  12940. type: integer
  12941. marketid:
  12942. description: 市场ID
  12943. type: integer
  12944. ordertime:
  12945. description: 委托时间
  12946. type: string
  12947. origin:
  12948. description: 原产地
  12949. type: string
  12950. performancetemplateid:
  12951. description: 履约计划模板ID
  12952. type: integer
  12953. remark:
  12954. description: 备注
  12955. type: string
  12956. userid:
  12957. description: 用户ID
  12958. type: integer
  12959. validtime:
  12960. description: 有效期限
  12961. type: string
  12962. warehouseids:
  12963. description: 仓库ID - 多个, 逗号分隔
  12964. type: string
  12965. warehouseinfosdisplay:
  12966. type: string
  12967. wrtradeorderid:
  12968. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  12969. type: string
  12970. wrtradeorderstatus:
  12971. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  12972. type: integer
  12973. zscategory:
  12974. description: 钻石分类 - 枚举”ZSCategory“
  12975. type: integer
  12976. zscategorydisplay:
  12977. type: string
  12978. zsclaritytype:
  12979. description: 净度 - 两个, 逗号分隔
  12980. type: string
  12981. zsclaritytypedisplay:
  12982. type: string
  12983. zscolortype:
  12984. description: 颜色 - 两个, 逗号分隔
  12985. type: string
  12986. zscolortypedisplay:
  12987. type: string
  12988. zscrystaltype:
  12989. description: 晶型 - 多个,逗号分隔
  12990. type: string
  12991. zscrystaltypedisplay:
  12992. type: string
  12993. zscurrencytype:
  12994. description: 货币类型 - 多个, 逗号分隔
  12995. type: string
  12996. zscurrencytypedisplay:
  12997. type: string
  12998. zscuttype:
  12999. description: 切工 - 两个, 逗号分隔
  13000. type: string
  13001. zscuttypedisplay:
  13002. type: string
  13003. zsczcolor1type:
  13004. description: 彩钻颜色1, 逗号分隔
  13005. type: string
  13006. zsczcolor1typedisplay:
  13007. type: string
  13008. zsczcolor2type:
  13009. description: 彩钻颜色2, 逗号分隔
  13010. type: string
  13011. zsczcolor2typedisplay:
  13012. type: string
  13013. zsczcolor3type:
  13014. description: 彩钻颜色3, 逗号分隔
  13015. type: string
  13016. zsczcolor3typedisplay:
  13017. type: string
  13018. zsfluorescencetype:
  13019. description: 荧光 - 多个, 逗号分隔
  13020. type: string
  13021. zsfluorescencetypedisplay:
  13022. type: string
  13023. zspolishtype:
  13024. description: 抛光度 - 两个, 逗号分隔
  13025. type: string
  13026. zspolishtypedisplay:
  13027. type: string
  13028. zsshapetype:
  13029. description: 形状 - 多个, 逗号分隔
  13030. type: string
  13031. zsshapetypedisplay:
  13032. type: string
  13033. zssize:
  13034. description: 尺寸 - 两个小数, 逗号分隔
  13035. type: string
  13036. zsstyletype:
  13037. description: 款式 - 多个, 逗号分隔
  13038. type: string
  13039. zsstyletypedisplay:
  13040. type: string
  13041. zssymmetrytype:
  13042. description: 对称度 - 两个, 逗号分隔
  13043. type: string
  13044. zssymmetrytypedisplay:
  13045. type: string
  13046. zstabledisplay:
  13047. description: 求购信息
  13048. type: string
  13049. required:
  13050. - userid
  13051. type: object
  13052. models.MyCoupon:
  13053. properties:
  13054. accountid:
  13055. description: 资金账户ID
  13056. type: integer
  13057. areauserid:
  13058. description: 所属机构
  13059. type: integer
  13060. conditionvalue:
  13061. description: 条件阈值(可为0)
  13062. type: number
  13063. couponcategroy:
  13064. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  13065. type: integer
  13066. couponname:
  13067. description: 优惠券名称
  13068. type: string
  13069. coupontypeid:
  13070. description: 优惠券类型ID
  13071. type: string
  13072. couponvalue:
  13073. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13074. type: number
  13075. curfreezeqty:
  13076. description: 期末冻结数量
  13077. type: integer
  13078. curqty:
  13079. description: 期末数量
  13080. type: integer
  13081. isgeneral:
  13082. description: 是否通用券 - 0:否 1:是
  13083. type: integer
  13084. isunusable:
  13085. description: 是否不可用
  13086. type: boolean
  13087. limitedflag:
  13088. description: 是否指定商品 - 0:不限 1:限制
  13089. type: integer
  13090. limitedgoodsids:
  13091. description: 指定商品IDs[逗号分隔,前后加逗号]
  13092. type: string
  13093. orifreezeqty:
  13094. description: 期初冻结数量
  13095. type: integer
  13096. oriqty:
  13097. description: 期初数量
  13098. type: integer
  13099. reasontype:
  13100. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  13101. type: integer
  13102. todaydecrease:
  13103. description: 今日减少
  13104. type: integer
  13105. todayincrease:
  13106. description: 今日增加
  13107. type: integer
  13108. userid:
  13109. description: 用户ID
  13110. type: integer
  13111. userscope:
  13112. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  13113. type: string
  13114. required:
  13115. - accountid
  13116. - coupontypeid
  13117. type: object
  13118. models.MyCouponHold:
  13119. properties:
  13120. accountid:
  13121. description: 资金账户ID
  13122. type: integer
  13123. conditionvalue:
  13124. description: 条件阈值(可为0)
  13125. type: number
  13126. couponcategroy:
  13127. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  13128. type: integer
  13129. couponholdid:
  13130. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  13131. type: string
  13132. couponname:
  13133. description: 优惠券名称
  13134. type: string
  13135. coupontypeid:
  13136. description: 优惠券类型ID - SEQ_COUPONTYPE
  13137. type: string
  13138. couponvalue:
  13139. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13140. type: number
  13141. createtime:
  13142. description: 创建时间
  13143. type: string
  13144. enddate:
  13145. description: 结束日期
  13146. type: string
  13147. giveapplyid:
  13148. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  13149. type: integer
  13150. holdstatus:
  13151. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  13152. type: integer
  13153. isgeneral:
  13154. description: 是否通用券 - 0:否 1:是
  13155. type: integer
  13156. limitedflag:
  13157. description: 是否指定商品 - 0:不限 1:限制
  13158. type: integer
  13159. limitedgoodsids:
  13160. description: 指定商品IDs[逗号分隔]
  13161. type: string
  13162. qty:
  13163. description: 数量(按1平铺)
  13164. type: integer
  13165. startdate:
  13166. description: 开始日期
  13167. type: string
  13168. userid:
  13169. description: 用户ID
  13170. type: integer
  13171. userscope:
  13172. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  13173. type: string
  13174. required:
  13175. - couponholdid
  13176. type: object
  13177. models.MyDeListing:
  13178. properties:
  13179. buyaccountid:
  13180. description: 买方账号ID
  13181. type: integer
  13182. buychargevalue:
  13183. description: 买方手续费
  13184. type: number
  13185. buyuserid:
  13186. description: 买方用户ID
  13187. type: integer
  13188. deliverygoodsid:
  13189. description: 现货品种ID
  13190. type: integer
  13191. exchangerate:
  13192. description: 汇率
  13193. type: number
  13194. goodsno:
  13195. description: 商品编号
  13196. type: string
  13197. marketid:
  13198. description: 市场ID
  13199. type: integer
  13200. matchusername:
  13201. description: 对手方
  13202. type: string
  13203. oritradeamount:
  13204. description: 成交金额[商品币种]
  13205. type: number
  13206. performanceplanid:
  13207. description: 履约计划ID/合同ID
  13208. type: string
  13209. price:
  13210. description: 价格
  13211. type: number
  13212. qty:
  13213. description: 成交重量
  13214. type: number
  13215. sellaccountid:
  13216. description: 卖方账号ID
  13217. type: integer
  13218. sellchargevalue:
  13219. description: 卖方手续费
  13220. type: number
  13221. selluserid:
  13222. description: 卖方用户ID
  13223. type: integer
  13224. sizedisplay:
  13225. description: 尺寸
  13226. type: string
  13227. tradeamount:
  13228. description: 成交金额
  13229. type: number
  13230. tradedate:
  13231. description: 交易日(yyyyMMdd)
  13232. type: string
  13233. tradeprice:
  13234. description: 成交价格
  13235. type: number
  13236. tradetime:
  13237. description: 成交时间
  13238. type: string
  13239. userid:
  13240. description: 用户ID
  13241. type: integer
  13242. warehousenamedisplay:
  13243. type: string
  13244. wrfactortypeid:
  13245. description: 仓单要素类型ID
  13246. type: integer
  13247. wrstandardid:
  13248. description: 现货商品ID
  13249. type: integer
  13250. wrtradedetailid:
  13251. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13252. type: string
  13253. zscategory:
  13254. description: 钻石分类 - 枚举”ZSCategory“
  13255. type: integer
  13256. zscategorydisplay:
  13257. type: string
  13258. zscerttypedisplay:
  13259. type: string
  13260. zsclaritytype1display:
  13261. type: string
  13262. zsclaritytype2display:
  13263. type: string
  13264. zscolortype1display:
  13265. type: string
  13266. zscolortype2display:
  13267. type: string
  13268. zscrystaltypedisplay:
  13269. type: string
  13270. zscurrencytype:
  13271. description: 货币类型 - 枚举“ZSCurrencyType”
  13272. type: integer
  13273. zscurrencytypedisplay:
  13274. type: string
  13275. zscurrencytypedisplayunit:
  13276. type: string
  13277. zscuttype1display:
  13278. type: string
  13279. zscuttype2display:
  13280. type: string
  13281. zsczcolor1typedisplay:
  13282. type: string
  13283. zsczcolor2typedisplay:
  13284. type: string
  13285. zsczcolor3typedisplay:
  13286. type: string
  13287. zsfluorescencetype1display:
  13288. type: string
  13289. zsfluorescencetype2display:
  13290. type: string
  13291. zspolishtype1display:
  13292. type: string
  13293. zspolishtype2display:
  13294. type: string
  13295. zsshapetypedisplay:
  13296. type: string
  13297. zsstyletypedisplay:
  13298. type: string
  13299. zssymmetrytype1display:
  13300. type: string
  13301. zssymmetrytype2display:
  13302. type: string
  13303. required:
  13304. - userid
  13305. type: object
  13306. models.MyDelistingApply:
  13307. properties:
  13308. applyprice:
  13309. description: 申请价格
  13310. type: number
  13311. applyqty:
  13312. description: 申请数量
  13313. type: number
  13314. applyremark:
  13315. description: 申请备注
  13316. type: string
  13317. applystatus:
  13318. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13319. type: integer
  13320. applytime:
  13321. description: 申请时间
  13322. type: string
  13323. auditremark:
  13324. description: 确认备注
  13325. type: string
  13326. audittime:
  13327. description: 确认时间
  13328. type: string
  13329. buyuserid:
  13330. description: 买方用户ID
  13331. type: integer
  13332. buyusername:
  13333. description: 买方
  13334. type: string
  13335. buywrtradeorderid:
  13336. description: 买委托单ID
  13337. type: string
  13338. cerno:
  13339. description: 证书编号 - 类型:2,4,5
  13340. type: string
  13341. goodsno:
  13342. description: 商品编号
  13343. type: string
  13344. ladingbillid:
  13345. description: 卖方提单ID
  13346. type: string
  13347. marketid:
  13348. description: 市场ID
  13349. type: integer
  13350. performancetemplateid:
  13351. description: 履约计划模板ID
  13352. type: integer
  13353. price:
  13354. description: 价格
  13355. type: number
  13356. priceper:
  13357. description: 克拉单价
  13358. type: string
  13359. sellaccountid:
  13360. description: 卖方账户ID
  13361. type: integer
  13362. selldelistingapplyid:
  13363. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13364. type: string
  13365. selltradeorderid:
  13366. description: 卖方委托ID(买方确认成交后更新)
  13367. type: string
  13368. selluserid:
  13369. description: 卖方用户ID
  13370. type: integer
  13371. sellusername:
  13372. description: 卖方
  13373. type: string
  13374. sizedisplay:
  13375. description: 尺寸
  13376. type: string
  13377. subnum:
  13378. description: 卖方提单子单号
  13379. type: integer
  13380. warehouseinfosdisplay:
  13381. type: string
  13382. weight:
  13383. description: 克拉重量
  13384. type: number
  13385. wrfactortypeid:
  13386. description: 仓单要素类型ID
  13387. type: string
  13388. wrstandardid:
  13389. description: 现货商品ID
  13390. type: integer
  13391. zsallproperties:
  13392. type: string
  13393. zscategorydisplay:
  13394. type: string
  13395. zscerttype:
  13396. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13397. type: integer
  13398. zscerttypedisplay:
  13399. description: 证书类型
  13400. type: string
  13401. zsclaritytypedisplay:
  13402. type: string
  13403. zscolortypedisplay:
  13404. type: string
  13405. zscrystaltypedisplay:
  13406. type: string
  13407. zscurrencytypedisplay:
  13408. type: string
  13409. zscurrencytypedisplayunit:
  13410. description: 价格单位
  13411. type: string
  13412. zscuttypedisplay:
  13413. type: string
  13414. zsczcolor1typedisplay:
  13415. type: string
  13416. zsczcolor2typedisplay:
  13417. type: string
  13418. zsczcolor3typedisplay:
  13419. type: string
  13420. zsfluorescencetypedisplay:
  13421. type: string
  13422. zspolishtypedisplay:
  13423. type: string
  13424. zsshapetypedisplay:
  13425. type: string
  13426. zssizedisplay:
  13427. type: string
  13428. zsstyletypedisplay:
  13429. type: string
  13430. zssymmetrytypedisplay:
  13431. type: string
  13432. zstabledisplay:
  13433. type: string
  13434. required:
  13435. - selluserid
  13436. type: object
  13437. models.MyFavorite:
  13438. properties:
  13439. accountname:
  13440. description: 账户名称(机构名称)
  13441. type: string
  13442. buyorsell:
  13443. description: 买卖 - 0:买 1:卖
  13444. type: integer
  13445. favoritestatus:
  13446. description: 收藏状态 - 1:正常 2:失效
  13447. type: integer
  13448. goodsno:
  13449. description: 商品编号
  13450. type: string
  13451. marketid:
  13452. description: 市场ID
  13453. type: integer
  13454. marketprice:
  13455. description: 市场价
  13456. type: string
  13457. price:
  13458. description: 价格
  13459. type: number
  13460. priceper:
  13461. description: 克拉单价
  13462. type: string
  13463. sellusername:
  13464. description: 卖家
  13465. type: string
  13466. sizedisplay:
  13467. description: 尺寸
  13468. type: string
  13469. userid:
  13470. description: 用户ID
  13471. type: integer
  13472. warehousenamedisplay:
  13473. description: 仓库名称
  13474. type: string
  13475. weight:
  13476. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13477. type: number
  13478. weightavg:
  13479. description: 平均单颗重量 - 类型:1,3
  13480. type: number
  13481. wrfactortypeid:
  13482. description: 仓单要素类型ID/商品ID(77)
  13483. type: string
  13484. wrstandardid:
  13485. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  13486. type: integer
  13487. wrtradeorderid:
  13488. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13489. type: string
  13490. zscategory:
  13491. description: 钻石分类 - 枚举”ZSCategory“
  13492. type: integer
  13493. zscategorydisplay:
  13494. type: string
  13495. zscerttypedisplay:
  13496. type: string
  13497. zsclaritytype1display:
  13498. type: string
  13499. zsclaritytype2display:
  13500. type: string
  13501. zscolortype1display:
  13502. type: string
  13503. zscolortype2display:
  13504. type: string
  13505. zscrystaltypedisplay:
  13506. type: string
  13507. zscurrencytypedisplay:
  13508. type: string
  13509. zscurrencytypedisplayunit:
  13510. type: string
  13511. zscuttype1display:
  13512. type: string
  13513. zscuttype2display:
  13514. type: string
  13515. zsczcolor1typedisplay:
  13516. type: string
  13517. zsczcolor2typedisplay:
  13518. type: string
  13519. zsczcolor3typedisplay:
  13520. type: string
  13521. zsfluorescencetype1display:
  13522. type: string
  13523. zsfluorescencetype2display:
  13524. type: string
  13525. zspolishtype1display:
  13526. type: string
  13527. zspolishtype2display:
  13528. type: string
  13529. zsshapetypedisplay:
  13530. type: string
  13531. zsstyletypedisplay:
  13532. type: string
  13533. zssymmetrytype1display:
  13534. type: string
  13535. zssymmetrytype2display:
  13536. type: string
  13537. required:
  13538. - userid
  13539. type: object
  13540. models.MyPerformanc:
  13541. properties:
  13542. accountname:
  13543. description: '[对手方]账户名称(机构名称)'
  13544. type: string
  13545. amount:
  13546. description: 履约金额
  13547. type: number
  13548. buyaccountid:
  13549. description: 买方账号
  13550. type: integer
  13551. buyerfreezeamount:
  13552. description: 买方履约前冻结资金
  13553. type: number
  13554. buyerfreezeamountremain:
  13555. description: 买方履约前冻结资金剩余
  13556. type: number
  13557. buyerinfo:
  13558. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13559. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  13560. type: string
  13561. buyorsell:
  13562. description: 方向 - 0:买 1:卖
  13563. type: integer
  13564. buypaidamount:
  13565. description: 买方已冻/已扣金额
  13566. type: number
  13567. buytodayamount:
  13568. description: 买方今日扣/冻金额 (待开市时清零)
  13569. type: number
  13570. curstepid:
  13571. description: 当前步骤ID
  13572. type: string
  13573. goodsno:
  13574. description: 商品编号
  13575. type: string
  13576. overshortamount:
  13577. description: 溢短金额
  13578. type: number
  13579. paymenttype:
  13580. description: 买方支付方式 - 1:冻结 2:扣款
  13581. type: integer
  13582. performanceplanid:
  13583. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13584. type: string
  13585. performancestatus:
  13586. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13587. 9:超时待处理 10:超时关闭
  13588. type: integer
  13589. price:
  13590. description: 价格
  13591. type: number
  13592. priceper:
  13593. description: 克拉单价
  13594. type: string
  13595. relatedorderid:
  13596. description: 关联单号(履约类型的关联单号)
  13597. type: string
  13598. remaindays:
  13599. description: 剩余天数
  13600. type: integer
  13601. sellerfreezeamount:
  13602. description: 卖方履约前冻结资金
  13603. type: number
  13604. sellerfreezeamountremain:
  13605. description: 卖方履约前冻结资金剩余
  13606. type: number
  13607. sellerinfo:
  13608. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13609. "xxxxxxxx"}'
  13610. type: string
  13611. sellreceivedamount:
  13612. description: 卖方已收金额
  13613. type: number
  13614. selltodayamount:
  13615. description: 卖方今日收取金额(待开市时清零)
  13616. type: number
  13617. sizedisplay:
  13618. description: 尺寸
  13619. type: string
  13620. steptypeid:
  13621. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13622. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13623. type: integer
  13624. warehousenamedisplay:
  13625. type: string
  13626. zscategorydisplay:
  13627. type: string
  13628. zscerttypedisplay:
  13629. type: string
  13630. zsclaritytype1display:
  13631. type: string
  13632. zsclaritytype2display:
  13633. type: string
  13634. zscolortype1display:
  13635. type: string
  13636. zscolortype2display:
  13637. type: string
  13638. zscrystaltypedisplay:
  13639. type: string
  13640. zscurrencytypedisplay:
  13641. type: string
  13642. zscurrencytypedisplayunit:
  13643. type: string
  13644. zscuttype1display:
  13645. type: string
  13646. zscuttype2display:
  13647. type: string
  13648. zsczcolor1typedisplay:
  13649. type: string
  13650. zsczcolor2typedisplay:
  13651. type: string
  13652. zsczcolor3typedisplay:
  13653. type: string
  13654. zsfluorescencetype1display:
  13655. type: string
  13656. zsfluorescencetype2display:
  13657. type: string
  13658. zspolishtype1display:
  13659. type: string
  13660. zspolishtype2display:
  13661. type: string
  13662. zsshapetypedisplay:
  13663. type: string
  13664. zsstyletypedisplay:
  13665. type: string
  13666. zssymmetrytype1display:
  13667. type: string
  13668. zssymmetrytype2display:
  13669. type: string
  13670. type: object
  13671. models.MyRefer:
  13672. properties:
  13673. accountname:
  13674. description: 用户名(脱敏)
  13675. type: string
  13676. createtime:
  13677. description: 时间(yyyy-mm-dd)
  13678. type: string
  13679. score:
  13680. description: 积分
  13681. type: number
  13682. type: object
  13683. models.MySellOrder:
  13684. properties:
  13685. accountid:
  13686. description: 资金账号
  13687. type: integer
  13688. applyid:
  13689. description: 申请单ID
  13690. type: integer
  13691. attachment1:
  13692. description: 附件1
  13693. type: string
  13694. attachment2:
  13695. description: 附件2
  13696. type: string
  13697. buyorsell:
  13698. description: 买卖 - 0:买 1:卖
  13699. type: integer
  13700. canbargain:
  13701. description: 是否可议价 - 0:不可 1:可
  13702. type: integer
  13703. cancelqty:
  13704. description: 撤销数量
  13705. type: integer
  13706. canceltime:
  13707. description: 撤销时间
  13708. type: string
  13709. cerno:
  13710. type: string
  13711. chargealgorithm:
  13712. description: 手续费收取方式 1:比率 2:固定
  13713. type: integer
  13714. chargealgorithmvalue:
  13715. description: 手续费设置值(交易所部分)
  13716. type: number
  13717. chargealgorithmvalue2:
  13718. description: 手续费设置值(会员部分)
  13719. type: number
  13720. clientordertime:
  13721. description: 客户端委托时间
  13722. type: string
  13723. cpcertno:
  13724. type: string
  13725. exchangerate:
  13726. description: 汇率[67]
  13727. type: number
  13728. firstratio:
  13729. description: 首付比率 - [挂牌时指定,摘牌时使用]
  13730. type: number
  13731. fixedprice:
  13732. description: '[克拉单价]固定价格 - [挂牌]'
  13733. type: number
  13734. freezecharge:
  13735. description: 冻结手续费
  13736. type: number
  13737. freezefirstamount:
  13738. description: 冻结首付金额 - [摘牌]
  13739. type: number
  13740. freezemargin:
  13741. description: 冻结保证金
  13742. type: number
  13743. goodsno:
  13744. description: 商品编号
  13745. type: string
  13746. imagepath:
  13747. type: string
  13748. isspecified:
  13749. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  13750. type: integer
  13751. kppath:
  13752. type: string
  13753. kpweight:
  13754. type: string
  13755. marginalgorithm:
  13756. description: 保证金方式 - 1:比率 2:固定
  13757. type: integer
  13758. marginvalue:
  13759. description: 保证金设置值
  13760. type: number
  13761. marketid:
  13762. description: 市场ID
  13763. type: integer
  13764. marketprice:
  13765. type: string
  13766. orderamount:
  13767. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  13768. type: number
  13769. ordertime:
  13770. description: 委托时间
  13771. type: string
  13772. performancetemplateid:
  13773. description: 履约计划模板ID
  13774. type: integer
  13775. price:
  13776. description: 价格
  13777. type: number
  13778. pricefactor:
  13779. description: 价格系数(浮动价时填写) - [挂牌]
  13780. type: number
  13781. pricemove:
  13782. description: 升贴水(浮动价时填写) - [挂牌]
  13783. type: number
  13784. priceper:
  13785. type: string
  13786. relatedwrtradeorderid:
  13787. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  13788. type: integer
  13789. remark:
  13790. type: string
  13791. retcode:
  13792. description: 错误代码
  13793. type: integer
  13794. selledqty:
  13795. description: 成交重量
  13796. type: number
  13797. settingmaterial:
  13798. type: string
  13799. size1:
  13800. type: string
  13801. size2:
  13802. type: string
  13803. size3:
  13804. type: string
  13805. sizedisplay:
  13806. description: 尺寸
  13807. type: string
  13808. stonedesc:
  13809. type: string
  13810. totalqty:
  13811. description: 总重量
  13812. type: number
  13813. tradedate:
  13814. description: 交易日(yyyyMMdd)
  13815. type: string
  13816. tradeprice:
  13817. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13818. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13819. type: number
  13820. unfreezecharge:
  13821. description: 解冻手续费
  13822. type: number
  13823. unfreezefirstamount:
  13824. description: 解冻首付金额 - [摘牌]
  13825. type: number
  13826. unfreezemargin:
  13827. description: 解冻保证金
  13828. type: number
  13829. userid:
  13830. description: 用户ID
  13831. type: integer
  13832. uuid:
  13833. description: 发起端唯一id
  13834. type: string
  13835. validtime:
  13836. description: 有效期限
  13837. type: string
  13838. validtype:
  13839. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  13840. type: integer
  13841. warehousenamedisplay:
  13842. type: string
  13843. wrbargainid:
  13844. description: 议价申请单ID
  13845. type: integer
  13846. wrfactortypeid:
  13847. description: 仓单要素类型ID/商品ID(77)
  13848. type: integer
  13849. wrpath:
  13850. type: string
  13851. wrpricetype:
  13852. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13853. type: integer
  13854. wrstandardid:
  13855. description: 现货商品ID
  13856. type: integer
  13857. wrtradeorderid:
  13858. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13859. type: string
  13860. wrtradeorderstatus:
  13861. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  13862. type: integer
  13863. wrtradetype:
  13864. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13865. type: integer
  13866. wrtransferuserid:
  13867. description: 仓单受让用户 - [摘牌]
  13868. type: integer
  13869. zscategory:
  13870. description: 钻石分类 - 枚举”ZSCategory“
  13871. type: integer
  13872. zscategorydisplay:
  13873. description: 钻石分类 - 描述
  13874. type: string
  13875. zscerttypedisplay:
  13876. type: string
  13877. zsclaritytype1display:
  13878. type: string
  13879. zsclaritytype2display:
  13880. type: string
  13881. zscolortype1display:
  13882. type: string
  13883. zscolortype2display:
  13884. type: string
  13885. zscrystaltype:
  13886. type: string
  13887. zscrystaltypedisplay:
  13888. type: string
  13889. zscurrencytype:
  13890. description: 货币类型 - 枚举“ZSCurrencyType”
  13891. type: integer
  13892. zscurrencytypedisplay:
  13893. type: string
  13894. zscurrencytypedisplayunit:
  13895. type: string
  13896. zscuttype1display:
  13897. type: string
  13898. zscuttype2display:
  13899. type: string
  13900. zsczcolor1typedisplay:
  13901. type: string
  13902. zsczcolor2typedisplay:
  13903. type: string
  13904. zsczcolor3typedisplay:
  13905. type: string
  13906. zsfluorescencetype1display:
  13907. type: string
  13908. zsfluorescencetype2display:
  13909. type: string
  13910. zspolishtype1display:
  13911. type: string
  13912. zspolishtype2display:
  13913. type: string
  13914. zsshapetypedisplay:
  13915. type: string
  13916. zsstyletypedisplay:
  13917. type: string
  13918. zssymmetrytype1display:
  13919. type: string
  13920. zssymmetrytype2display:
  13921. type: string
  13922. required:
  13923. - userid
  13924. type: object
  13925. models.MyUsedCoupon:
  13926. properties:
  13927. accountid:
  13928. description: 资金账户ID(买方)
  13929. type: integer
  13930. conditionvalue:
  13931. description: 条件阈值(可为0)
  13932. type: number
  13933. couponcategroy:
  13934. description: 种类 - 1:现金券 2:折扣券
  13935. type: integer
  13936. couponname:
  13937. description: 优惠券名称
  13938. type: string
  13939. coupontypeid:
  13940. description: 优惠券类型ID(买方)
  13941. type: string
  13942. couponvalue:
  13943. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  13944. type: number
  13945. createtime:
  13946. description: 创建时间
  13947. type: string
  13948. goodsid:
  13949. description: 商品ID
  13950. type: integer
  13951. handlestatus:
  13952. description: 处理状态
  13953. type: integer
  13954. marketid:
  13955. description: 市场ID
  13956. type: integer
  13957. offamount:
  13958. description: 优惠金额
  13959. type: number
  13960. orderid:
  13961. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13962. type: string
  13963. sellaccountid:
  13964. description: 资金账户ID(卖方)
  13965. type: integer
  13966. tradeamount:
  13967. description: 成交金额
  13968. type: number
  13969. tradeid:
  13970. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13971. type: string
  13972. usedqty:
  13973. description: 使用数量
  13974. type: integer
  13975. required:
  13976. - coupontypeid
  13977. - orderid
  13978. type: object
  13979. models.MyWRPosition:
  13980. properties:
  13981. cerno:
  13982. description: 证书编号 - 类型:2,4,5
  13983. type: string
  13984. cpcertno:
  13985. description: 金伯利证书编号 - 类型:3
  13986. type: string
  13987. ffreezeqty:
  13988. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  13989. type: number
  13990. ftotalqty:
  13991. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  13992. type: number
  13993. goodsno:
  13994. description: 商品编号
  13995. type: string
  13996. imagepath:
  13997. description: 商品照片(相对地址)
  13998. type: string
  13999. isvalid:
  14000. description: 是否有效 - 0:无效 1:有效
  14001. type: integer
  14002. kppath:
  14003. description: 金伯利证书图片(相对地址) - 类型:3
  14004. type: string
  14005. kpweight:
  14006. description: 金伯利证书重量 - 类型:3
  14007. type: string
  14008. ladingbillid:
  14009. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14010. type: string
  14011. marketflag:
  14012. description: 是否上架,0-全部 1-是 2-否
  14013. type: integer
  14014. marketprice:
  14015. description: 市场价
  14016. type: string
  14017. origin:
  14018. description: 原产地 - 类型:3
  14019. type: string
  14020. price:
  14021. description: 总价(价格) - 类型:1,2,3,4,5
  14022. type: number
  14023. priceper:
  14024. description: 克拉单价 - 类型:1,2,3,5
  14025. type: string
  14026. remark:
  14027. description: 备注
  14028. type: string
  14029. sellmobile:
  14030. description: 手机号码(加密存储)
  14031. type: string
  14032. sellusername:
  14033. description: 账户名称(机构名称)
  14034. type: string
  14035. settingmaterial:
  14036. description: 镶嵌材料 - 类型:4
  14037. type: string
  14038. size1:
  14039. description: 尺寸1 - 类型:2,4,5
  14040. type: string
  14041. size2:
  14042. description: 尺寸2 - 类型:2,4,5
  14043. type: string
  14044. size3:
  14045. description: 尺寸3 - 类型:2,4,5
  14046. type: string
  14047. sizedisplay:
  14048. description: 尺寸
  14049. type: string
  14050. stonedesc:
  14051. description: 配石描述 - 类型:4
  14052. type: string
  14053. subnum:
  14054. description: 提单子单号
  14055. type: integer
  14056. userid:
  14057. description: 用户ID
  14058. type: integer
  14059. warehouseid:
  14060. description: 仓库ID
  14061. type: integer
  14062. warehousenamedisplay:
  14063. type: string
  14064. weight:
  14065. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14066. type: number
  14067. weightavg:
  14068. description: 平均单颗重量 - 类型:1,3
  14069. type: number
  14070. wrpath:
  14071. description: 仓单扫描件(相对地址)
  14072. type: string
  14073. wrstandardid:
  14074. description: 现货商品ID
  14075. type: integer
  14076. wrtradeorderid:
  14077. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14078. type: string
  14079. wruserid:
  14080. description: 登录用户ID
  14081. type: integer
  14082. zscategory:
  14083. description: 钻石分类 - 枚举”ZSCategory“
  14084. type: integer
  14085. zscategorydisplay:
  14086. type: string
  14087. zscerttype:
  14088. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  14089. type: integer
  14090. zscerttypedisplay:
  14091. type: string
  14092. zsclaritytype1:
  14093. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  14094. type: integer
  14095. zsclaritytype1display:
  14096. type: string
  14097. zsclaritytype2:
  14098. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  14099. type: integer
  14100. zsclaritytype2display:
  14101. type: string
  14102. zscolortype1:
  14103. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  14104. type: integer
  14105. zscolortype1display:
  14106. type: string
  14107. zscolortype2:
  14108. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  14109. type: integer
  14110. zscolortype2display:
  14111. type: string
  14112. zscrystaltype:
  14113. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  14114. type: string
  14115. zscrystaltypedisplay:
  14116. type: string
  14117. zscurrencytype:
  14118. description: 货币类型 - 枚举“ZSCurrencyType”
  14119. type: integer
  14120. zscurrencytypedisplay:
  14121. type: string
  14122. zscurrencytypedisplayunit:
  14123. type: string
  14124. zscuttype1:
  14125. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  14126. type: integer
  14127. zscuttype1display:
  14128. type: string
  14129. zscuttype2:
  14130. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  14131. type: integer
  14132. zscuttype2display:
  14133. type: string
  14134. zsczcolor1type:
  14135. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  14136. type: integer
  14137. zsczcolor1typedisplay:
  14138. type: string
  14139. zsczcolor2type:
  14140. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  14141. type: integer
  14142. zsczcolor2typedisplay:
  14143. type: string
  14144. zsczcolor3type:
  14145. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  14146. type: integer
  14147. zsczcolor3typedisplay:
  14148. type: string
  14149. zsfluorescencetype1:
  14150. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  14151. type: integer
  14152. zsfluorescencetype1display:
  14153. type: string
  14154. zsfluorescencetype2:
  14155. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  14156. type: integer
  14157. zsfluorescencetype2display:
  14158. type: string
  14159. zspolishtype1:
  14160. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  14161. type: integer
  14162. zspolishtype1display:
  14163. type: string
  14164. zspolishtype2:
  14165. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  14166. type: integer
  14167. zspolishtype2display:
  14168. type: string
  14169. zsshapetype:
  14170. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  14171. type: string
  14172. zsshapetypedisplay:
  14173. type: string
  14174. zsstyletype:
  14175. description: 款式 - 类型:4
  14176. type: integer
  14177. zsstyletypedisplay:
  14178. type: string
  14179. zssymmetrytype1:
  14180. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  14181. type: integer
  14182. zssymmetrytype1display:
  14183. type: string
  14184. zssymmetrytype2:
  14185. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  14186. type: integer
  14187. zssymmetrytype2display:
  14188. type: string
  14189. required:
  14190. - wruserid
  14191. type: object
  14192. models.NewFuncmenulist:
  14193. properties:
  14194. authtype:
  14195. description: 权限类型 - 1:菜单 2:组件 3:按钮
  14196. type: integer
  14197. buttonname:
  14198. description: 按钮名称
  14199. type: string
  14200. buttontype:
  14201. description: 按钮类型 - 存按钮样式
  14202. type: string
  14203. component:
  14204. description: 组件名或组件地址
  14205. type: string
  14206. hidden:
  14207. description: 是否隐藏 - 0:显示 1:隐藏
  14208. type: integer
  14209. iconame:
  14210. description: 菜单图标
  14211. type: string
  14212. menutype:
  14213. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14214. type: integer
  14215. parentcode:
  14216. description: 上级资源代码
  14217. type: string
  14218. remark:
  14219. description: Remark
  14220. type: string
  14221. resourcecode:
  14222. description: 资源代码
  14223. type: string
  14224. resourcelevel:
  14225. description: 级别1-一级 2-二级 3-三级4-四级
  14226. type: integer
  14227. resourcename:
  14228. description: 资源名(Title)
  14229. type: string
  14230. sort:
  14231. description: 排序
  14232. type: integer
  14233. url:
  14234. description: Url
  14235. type: string
  14236. urltype:
  14237. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14238. type: integer
  14239. required:
  14240. - resourcecode
  14241. type: object
  14242. models.OperationPrimaryMenu:
  14243. properties:
  14244. Children:
  14245. description: 二级功能菜单
  14246. items:
  14247. $ref: '#/definitions/models.OperationSecondaryMenu'
  14248. type: array
  14249. Key:
  14250. description: 菜单KEY
  14251. type: string
  14252. Label:
  14253. description: 菜单标题
  14254. type: string
  14255. type: object
  14256. models.OperationSecondaryMenu:
  14257. properties:
  14258. Key:
  14259. description: 菜单KEY
  14260. type: string
  14261. Label:
  14262. description: 菜单标题
  14263. type: string
  14264. TabList:
  14265. description: 三级功能菜单
  14266. items:
  14267. $ref: '#/definitions/models.OperationTabMenu'
  14268. type: array
  14269. type: object
  14270. models.OperationTabMenu:
  14271. properties:
  14272. Key:
  14273. description: 菜单KEY
  14274. type: string
  14275. Label:
  14276. description: 菜单标题
  14277. type: string
  14278. type: object
  14279. models.Patradelinkdetail:
  14280. properties:
  14281. accountname:
  14282. description: 套期主体
  14283. type: string
  14284. agreeunit:
  14285. description: 合约乘数
  14286. type: number
  14287. amount:
  14288. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14289. type: number
  14290. areauserid:
  14291. description: 所属机构
  14292. type: integer
  14293. bizsubjectid:
  14294. description: 归属业务部门ID - SubjectID
  14295. type: integer
  14296. buyorsell:
  14297. description: 方向 - 0:买 1:卖
  14298. type: integer
  14299. convertratio:
  14300. description: 品种系数
  14301. type: number
  14302. convertratiochange:
  14303. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14304. type: number
  14305. createtime:
  14306. description: '[日期时间]创建时间'
  14307. type: string
  14308. creatorid:
  14309. description: 创建人ID
  14310. type: integer
  14311. creatorsrc:
  14312. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14313. type: integer
  14314. goodscode:
  14315. description: 商品代码(内部)
  14316. type: string
  14317. goodsgroupid:
  14318. description: 对冲品种ID[期货合约商品组ID]
  14319. type: integer
  14320. goodsid:
  14321. description: 商品ID
  14322. type: integer
  14323. hedgeditemid:
  14324. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14325. type: integer
  14326. hedgeflag:
  14327. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14328. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14329. type: integer
  14330. linkdetailid:
  14331. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14332. type: string
  14333. linkstatus:
  14334. description: 关联状态 - 1:成功 2:失败 3:解绑
  14335. type: integer
  14336. middlegoodsid:
  14337. description: 套保品种ID
  14338. type: integer
  14339. name:
  14340. description: 账户名/子账户
  14341. type: string
  14342. optioncode:
  14343. description: '[期货合约]期权代码 [期权]'
  14344. type: string
  14345. ordertype:
  14346. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14347. type: integer
  14348. relatedlot:
  14349. description: '[数量]关联手数'
  14350. type: number
  14351. relatedmode:
  14352. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14353. type: integer
  14354. relatedqty:
  14355. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14356. type: number
  14357. retcode:
  14358. description: 返回码
  14359. type: integer
  14360. saleuserid:
  14361. description: 业务员ID
  14362. type: integer
  14363. tradedate:
  14364. description: 关联交易日(yyyyMMdd)
  14365. type: string
  14366. tradeid:
  14367. description: '[成交单号]内部成交单ID'
  14368. type: string
  14369. tradelot:
  14370. description: 成交手数
  14371. type: integer
  14372. tradeprice:
  14373. description: '[价格]成交价格'
  14374. type: number
  14375. tradetradedate:
  14376. description: 成交交易日(yyyyMMdd)
  14377. type: string
  14378. type: object
  14379. models.PromotionIncome:
  14380. properties:
  14381. profitmonth:
  14382. description: 时间
  14383. type: string
  14384. profitstatus:
  14385. description: 状态 - 1:已支付 2:未支付 3:支取中
  14386. type: integer
  14387. sumamount:
  14388. description: 金额
  14389. type: number
  14390. type: object
  14391. models.PromotionIncomeDetail:
  14392. properties:
  14393. buyorsell:
  14394. description: 方向
  14395. type: string
  14396. market:
  14397. description: 市场
  14398. type: string
  14399. profitamount:
  14400. description: 金额
  14401. type: number
  14402. profitroletype:
  14403. description: 级别
  14404. type: string
  14405. tradetime:
  14406. description: 时间
  14407. type: string
  14408. wrstandardcode:
  14409. description: 现货商品代码
  14410. type: string
  14411. wrstandardid:
  14412. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14413. type: integer
  14414. wrstandardname:
  14415. description: 现货商品名称
  14416. type: string
  14417. type: object
  14418. models.PurchaseTransfer:
  14419. properties:
  14420. pictureurls:
  14421. description: 详情图片(逗号分隔)
  14422. type: string
  14423. refgoodsid:
  14424. description: 参考商品ID
  14425. type: integer
  14426. thumurls:
  14427. description: 缩略图片(1:1)(逗号分隔)
  14428. type: string
  14429. unitid:
  14430. description: 现货商品单位ID
  14431. type: integer
  14432. wrstandardcode:
  14433. description: 现货商品代码
  14434. type: string
  14435. wrstandardid:
  14436. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14437. type: integer
  14438. wrstandardname:
  14439. description: 现货商品名称(模糊查询)
  14440. type: string
  14441. type: object
  14442. models.QhjAccountOutInApply:
  14443. properties:
  14444. accountcode:
  14445. description: 资金账号
  14446. type: string
  14447. accountname:
  14448. description: 用户名称(名称)
  14449. type: string
  14450. accountpwd:
  14451. description: 资金密码
  14452. type: string
  14453. accountticket:
  14454. description: 最新账户服务流水号
  14455. type: string
  14456. amount:
  14457. description: 金额
  14458. type: number
  14459. applyremark:
  14460. description: 申请备注
  14461. type: string
  14462. applystatus:
  14463. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  14464. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  14465. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  14466. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  14467. type: integer
  14468. auditid:
  14469. description: 审核人
  14470. type: integer
  14471. audittime:
  14472. description: 审核时间
  14473. type: string
  14474. bank_apply_ticket:
  14475. description: 银行申请流水
  14476. type: string
  14477. bankaccountname:
  14478. description: 银行账户名
  14479. type: string
  14480. bankaccountno:
  14481. description: 银行卡号
  14482. type: string
  14483. bankid:
  14484. description: 银行编号
  14485. type: string
  14486. bankticket:
  14487. description: 银行流水
  14488. type: string
  14489. branchbankid:
  14490. description: 银行支行号
  14491. type: string
  14492. branchbankname:
  14493. description: 银行支行名称
  14494. type: string
  14495. capamountout:
  14496. description: 出金(劣后本金) - 外部子账户
  14497. type: number
  14498. certificatephotourl:
  14499. description: 凭证地址
  14500. type: string
  14501. charge:
  14502. description: 手续费
  14503. type: number
  14504. checkerrorflag:
  14505. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  14506. type: integer
  14507. currency:
  14508. description: 币种
  14509. type: string
  14510. cusbankid:
  14511. description: 托管银行编号
  14512. type: string
  14513. cusbankname:
  14514. description: 托管银行名称
  14515. type: string
  14516. cusbankshortname:
  14517. description: 托管银行简称
  14518. type: string
  14519. exchticket:
  14520. description: 银行服务流水号
  14521. type: string
  14522. executetype:
  14523. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  14524. 7:外部子账户:入金 8:外部子账户:出金'
  14525. type: integer
  14526. extendinfo:
  14527. description: 扩展信息
  14528. type: string
  14529. extoperateid:
  14530. description: 交易服务流水号
  14531. type: integer
  14532. infamount:
  14533. description: 劣后金额(自有)
  14534. type: number
  14535. logincode:
  14536. description: 登录账号(账号)
  14537. type: string
  14538. netaddr:
  14539. description: 调转网址
  14540. type: string
  14541. priamount:
  14542. description: 优先金额(授信)
  14543. type: number
  14544. reauditid:
  14545. description: 复审人
  14546. type: integer
  14547. reauditremark:
  14548. description: 复审备注
  14549. type: string
  14550. reaudittime:
  14551. description: 复审时间
  14552. type: string
  14553. relatedorderid:
  14554. description: 三方关联ID
  14555. type: string
  14556. remark:
  14557. description: 备注
  14558. type: string
  14559. remark2:
  14560. description: 备注(失败原因)
  14561. type: string
  14562. soucreamount:
  14563. description: 原始出入金金额
  14564. type: number
  14565. soucrecurrencyid:
  14566. description: 原始出入金币种
  14567. type: integer
  14568. tradedate:
  14569. description: 交易日(yyyyMMdd)
  14570. type: string
  14571. updatetime:
  14572. description: 更新时间(申请时间)
  14573. type: string
  14574. userid:
  14575. description: 用户id
  14576. type: integer
  14577. userinfotype:
  14578. description: 账户类型 1-个人 2-企业
  14579. type: integer
  14580. type: object
  14581. models.QhjAgreementChangeLog:
  14582. properties:
  14583. agreementcontent:
  14584. description: 协议内容
  14585. type: string
  14586. agreementfrequency:
  14587. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14588. type: integer
  14589. agreementid:
  14590. description: 协议ID
  14591. type: integer
  14592. agreementname:
  14593. description: 协议名称
  14594. type: string
  14595. agreementno:
  14596. description: 协议编号
  14597. type: string
  14598. agreementtype:
  14599. description: 协议类型 - 1:注册 2:登录 3:交易
  14600. type: integer
  14601. agreementversion:
  14602. description: 协议版本号
  14603. type: integer
  14604. logid:
  14605. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  14606. type: integer
  14607. reviserid:
  14608. description: 修改人
  14609. type: integer
  14610. revisersrc:
  14611. description: 修改来源 - 1:管理端 2:终端
  14612. type: integer
  14613. updatetime:
  14614. description: 更新时间
  14615. type: string
  14616. type: object
  14617. models.QhjAgreementConfig:
  14618. properties:
  14619. agreementcontent:
  14620. description: 协议内容
  14621. type: string
  14622. agreementfrequency:
  14623. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14624. type: integer
  14625. agreementid:
  14626. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  14627. type: integer
  14628. agreementname:
  14629. description: 协议名称
  14630. type: string
  14631. agreementno:
  14632. description: 协议编号
  14633. type: string
  14634. agreementtype:
  14635. description: 协议类型 - 1:注册 2:登录 3:交易
  14636. type: integer
  14637. agreementversion:
  14638. description: 协议版本号(从1开始每次修改加1)
  14639. type: integer
  14640. createtime:
  14641. description: 创建时间
  14642. type: string
  14643. creatorid:
  14644. description: 创建人
  14645. type: integer
  14646. creatorsrc:
  14647. description: 创建来源 - 1:管理端 2:终端
  14648. type: integer
  14649. isvalid:
  14650. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  14651. type: integer
  14652. reviserid:
  14653. description: 修改人
  14654. type: integer
  14655. revisersrc:
  14656. description: 修改来源 - 1:管理端 2:终端
  14657. type: integer
  14658. updatetime:
  14659. description: 更新时间
  14660. type: string
  14661. type: object
  14662. models.QhjAreaFinanceConfig:
  14663. properties:
  14664. additionalratio:
  14665. description: 追加款比例
  14666. type: number
  14667. advanceratio:
  14668. description: 预付款比例
  14669. type: number
  14670. alarmratio:
  14671. description: 告警比例
  14672. type: number
  14673. consumptiondirectreward:
  14674. description: 消费直推奖励值
  14675. type: number
  14676. consumptionenabled:
  14677. description: 是否启用消费奖励 - 0:不启用 1:启用
  14678. type: integer
  14679. consumptionindirectreward:
  14680. description: 消费间推奖励值
  14681. type: number
  14682. consumptionmodel:
  14683. description: 消费奖励方式 - 1:比率 2:固定
  14684. type: integer
  14685. customerservicenum:
  14686. description: 客服电话
  14687. type: string
  14688. dayinterestrate:
  14689. description: 日利率
  14690. type: number
  14691. disableconsumptiontips:
  14692. description: 关闭消费奖励提示
  14693. type: string
  14694. modifierid:
  14695. description: 修改人ID
  14696. type: integer
  14697. modifysrc:
  14698. description: 审核来源 - 1:管理端 2:终端
  14699. type: integer
  14700. modifytime:
  14701. description: 修改时间
  14702. type: string
  14703. promotionvalue:
  14704. description: 推广奖励值(固定)
  14705. type: number
  14706. scoreconfigvalue1:
  14707. description: 提货积分配置1
  14708. type: integer
  14709. scoreconfigvalue2:
  14710. description: 提货积分配置2
  14711. type: integer
  14712. userid:
  14713. description: 机构用户ID其他做市关系,都设置为 1
  14714. type: integer
  14715. username:
  14716. description: 用户名称
  14717. type: string
  14718. type: object
  14719. models.QhjBankAccountSign:
  14720. properties:
  14721. accountcode:
  14722. description: 资金账号
  14723. type: string
  14724. accountname:
  14725. description: 资金账号对应的账号名(UserName)
  14726. type: string
  14727. accountname2:
  14728. description: 资金账号对应的账号名(UserName) - 密文
  14729. type: string
  14730. accounttype:
  14731. description: 账户类型(UserType)
  14732. type: integer
  14733. applicationtime:
  14734. description: 最后一次更新的时间
  14735. type: string
  14736. applyexchticket:
  14737. description: 申请流水
  14738. type: string
  14739. auditid:
  14740. description: 审核人
  14741. type: integer
  14742. audittime:
  14743. description: 审核时间
  14744. type: string
  14745. bankaccountname:
  14746. description: 签约银行卡账号名
  14747. type: string
  14748. bankaccountname2:
  14749. description: 签约银行卡账号名 - 密文
  14750. type: string
  14751. bankaccountno:
  14752. description: 银行卡号
  14753. type: string
  14754. bankaccountno2:
  14755. description: 银行卡号 - 密文
  14756. type: string
  14757. bankaccounttype:
  14758. description: 银行账户类型 - 1-对私; 2-对公
  14759. type: integer
  14760. bankcardtype:
  14761. description: 银行卡类型
  14762. type: integer
  14763. bankchildaccount:
  14764. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  14765. type: string
  14766. bankcity:
  14767. description: 开户行城市
  14768. type: string
  14769. bankid:
  14770. description: 签约银行ID
  14771. type: string
  14772. bankname:
  14773. description: 签约银行名称
  14774. type: string
  14775. bankprovince:
  14776. description: 开户行省份
  14777. type: string
  14778. branchbankid:
  14779. description: 签约银行支行号
  14780. type: string
  14781. branchbankname:
  14782. description: 签约银行支行名称
  14783. type: string
  14784. cardno:
  14785. description: 证件号码
  14786. type: string
  14787. cardno2:
  14788. description: 证件号码 - 密文
  14789. type: string
  14790. cardtype:
  14791. description: 证件类型
  14792. type: string
  14793. currency:
  14794. description: 币种
  14795. type: string
  14796. cusbankid:
  14797. description: 托管银行编号
  14798. type: string
  14799. cusbankname:
  14800. description: 托管银行名称
  14801. type: string
  14802. direct:
  14803. description: 方向(可以判断那方先发起的签约)
  14804. type: integer
  14805. exchticket:
  14806. description: 最后一次签约成功的流水号
  14807. type: string
  14808. extendinfo:
  14809. description: 扩展信息(JSON字符串)
  14810. type: string
  14811. mobilephone:
  14812. description: 手机号
  14813. type: string
  14814. mobilephone2:
  14815. description: 手机号 - 密文
  14816. type: string
  14817. netaddr:
  14818. description: 调转网址
  14819. type: string
  14820. relateduserid:
  14821. description: 关联使用者userid
  14822. type: integer
  14823. signstatus:
  14824. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14825. 10:审核拒绝 11:换签待审核
  14826. type: integer
  14827. updatetime:
  14828. description: 更新时间(签解约更新时间)
  14829. type: string
  14830. type: object
  14831. models.QhjBankInfo:
  14832. properties:
  14833. bankid:
  14834. description: 银行ID
  14835. type: string
  14836. bankname:
  14837. description: 银行名称
  14838. type: string
  14839. clearbankno:
  14840. description: 清算系统银行编号
  14841. type: string
  14842. orderindex:
  14843. description: 排序顺序
  14844. type: integer
  14845. status:
  14846. description: 状态 - 0:正常 1:注销
  14847. type: integer
  14848. type: object
  14849. models.QhjBrokerApply:
  14850. properties:
  14851. applicantid:
  14852. description: 申请人
  14853. type: integer
  14854. applysrc:
  14855. description: 申请来源 - 1:管理端 2:终端
  14856. type: integer
  14857. applystatus:
  14858. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14859. type: integer
  14860. applytime:
  14861. description: 申请时间
  14862. type: string
  14863. auditorid:
  14864. description: 审核人
  14865. type: integer
  14866. auditremark:
  14867. description: 审核备注
  14868. type: string
  14869. auditsrc:
  14870. description: 审核来源 - 1:管理端 2:终端
  14871. type: integer
  14872. audittime:
  14873. description: 审核时间
  14874. type: string
  14875. audittradedate:
  14876. description: 审核交易日(yyyyMMdd)
  14877. type: string
  14878. brokerapplyid:
  14879. description: 申请ID(SEQ_BROKERAPPLY)
  14880. type: integer
  14881. cardbackphotourl:
  14882. description: 证件背面图片地址
  14883. type: string
  14884. cardfrontphotourl:
  14885. description: 证件正面图片地址
  14886. type: string
  14887. cardnum:
  14888. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14889. type: string
  14890. customername:
  14891. description: 姓名
  14892. type: string
  14893. logincode:
  14894. description: 登录代码
  14895. type: string
  14896. mobile:
  14897. description: 手机号码
  14898. type: string
  14899. parentuserid:
  14900. description: 所属机构id
  14901. type: integer
  14902. parentusername:
  14903. description: 所属机构名称
  14904. type: string
  14905. refereeuserid:
  14906. description: 推荐人id(经纪人)
  14907. type: integer
  14908. refernum:
  14909. description: 推荐码
  14910. type: string
  14911. remark:
  14912. description: 备注
  14913. type: string
  14914. subarealevelpath:
  14915. description: 层级路径
  14916. type: string
  14917. tradedate:
  14918. description: 交易日(yyyyMMdd)
  14919. type: string
  14920. userid:
  14921. description: 申请人用户ID
  14922. type: integer
  14923. userinfotype:
  14924. description: 用户类型 1-个人 2-企业
  14925. type: integer
  14926. username:
  14927. description: 用户名称
  14928. type: string
  14929. type: object
  14930. models.QhjBrokerApplyEx:
  14931. properties:
  14932. applylist:
  14933. description: 经纪人申请记录(只返回最新一条)
  14934. items:
  14935. $ref: '#/definitions/models.QhjBrokerApply'
  14936. type: array
  14937. canrecommend:
  14938. description: 是否经纪人 0-不是 1-是
  14939. type: integer
  14940. refernum:
  14941. description: 推荐码
  14942. type: string
  14943. userid:
  14944. description: 用户id
  14945. type: integer
  14946. userinfotype:
  14947. description: 用户类型 1-个人 2-企业
  14948. type: integer
  14949. type: object
  14950. models.QhjBrokerRewardLog:
  14951. properties:
  14952. accountid:
  14953. description: 资金账号ID
  14954. type: integer
  14955. createtime:
  14956. description: 创建时间(时间)
  14957. type: string
  14958. handlestatus:
  14959. description: 处理状态
  14960. type: integer
  14961. logid:
  14962. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14963. type: string
  14964. marketid:
  14965. description: 市场ID
  14966. type: integer
  14967. mmaccountid:
  14968. description: 做市商资金账号ID
  14969. type: string
  14970. mmuserid:
  14971. description: 做市商用户ID
  14972. type: string
  14973. rewardamount:
  14974. description: 奖励金额
  14975. type: number
  14976. rewardmodel:
  14977. description: 消费奖励方式 - 1:比率 2:固定
  14978. type: integer
  14979. rewardtype:
  14980. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14981. type: integer
  14982. rewardvalue:
  14983. description: 配置奖励值
  14984. type: number
  14985. srcamount:
  14986. description: 成交金额 [消费奖励] (金额)
  14987. type: number
  14988. srcgoodsid:
  14989. description: 来源商品ID [消费奖励]
  14990. type: string
  14991. srctime:
  14992. description: 来源时间 (成交时间) [消费奖励]
  14993. type: string
  14994. srctradeid:
  14995. description: 来源成交单ID [消费奖励] - 排除提货成交
  14996. type: string
  14997. srcuserid:
  14998. description: 来源用户ID(推广账户)
  14999. type: string
  15000. srcusername:
  15001. description: 推广账户名称
  15002. type: string
  15003. tradedate:
  15004. description: 交易日(yyyyMMdd)
  15005. type: string
  15006. userid:
  15007. description: 经纪人用户ID
  15008. type: integer
  15009. type: object
  15010. models.QhjContract:
  15011. properties:
  15012. contractconfirmtime:
  15013. description: 合同确认时间(时间)
  15014. type: string
  15015. currisklevel:
  15016. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15017. type: integer
  15018. decimalplace:
  15019. description: 商品报价小数位
  15020. type: integer
  15021. enumdicname:
  15022. description: 单位名称
  15023. type: string
  15024. goodscode:
  15025. description: 商品代码
  15026. type: string
  15027. goodsid:
  15028. description: 商品ID [5:融资单]
  15029. type: integer
  15030. goodsname:
  15031. description: 商品名称
  15032. type: string
  15033. goodunitid:
  15034. description: 商品单位id
  15035. type: integer
  15036. initmargin:
  15037. description: 初始保证金(首付款)
  15038. type: number
  15039. lenderamount:
  15040. description: 贷款金额(总额|订单总额)
  15041. type: number
  15042. marginratio:
  15043. description: 保证金比率(首付比例)
  15044. type: number
  15045. payamount:
  15046. description: 已付(已付货款)
  15047. type: number
  15048. reckonrecovermargin:
  15049. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15050. type: number
  15051. recoveredmargin:
  15052. description: 已追缴保证金
  15053. type: number
  15054. remainamount:
  15055. description: 合同剩余金额(融资额)
  15056. type: number
  15057. scfcontractid:
  15058. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15059. type: string
  15060. scfcontractstatus:
  15061. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15062. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15063. type: integer
  15064. scfcontracttype:
  15065. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15066. type: integer
  15067. totalinterest:
  15068. description: 已计总利息(利息)
  15069. type: number
  15070. tradeprice:
  15071. description: 成交价格(成本价格)
  15072. type: number
  15073. userid:
  15074. description: 用户ID
  15075. type: integer
  15076. username:
  15077. description: 用户名称
  15078. type: string
  15079. wrqty:
  15080. description: 仓单数量(数量)
  15081. type: number
  15082. type: object
  15083. models.QhjContractLog:
  15084. properties:
  15085. amount:
  15086. description: 支付金额
  15087. type: number
  15088. amounttype:
  15089. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  15090. type: integer
  15091. logid:
  15092. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15093. type: string
  15094. remainamount:
  15095. description: 剩余货款
  15096. type: number
  15097. scfcontractid:
  15098. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15099. type: integer
  15100. updatetime:
  15101. description: 更新时间
  15102. type: string
  15103. type: object
  15104. models.QhjCusBankSignBankEx:
  15105. properties:
  15106. banklst:
  15107. description: 银行列表
  15108. items:
  15109. $ref: '#/definitions/models.QhjBankInfo'
  15110. type: array
  15111. canallot:
  15112. description: 是否支持跨行调拨 - 0:不支持 1:支持
  15113. type: integer
  15114. canallotquery:
  15115. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  15116. type: integer
  15117. canbindcard:
  15118. description: 是否可绑卡与解卡 - 0:不可 1:可以
  15119. type: integer
  15120. caninamount:
  15121. description: 是否可入金 - 0:不可 1:可以
  15122. type: integer
  15123. caninamount2:
  15124. description: 是否可入金(网银端) - 0:不可 1:可以
  15125. type: integer
  15126. canmodifybankcard:
  15127. description: 是否可修改银行卡号 - 0:不可 1:可以
  15128. type: integer
  15129. canmodifyphone:
  15130. description: 是否可修改手机号 - 0:不可 1:可以
  15131. type: integer
  15132. canmodifysigninfo:
  15133. description: 是否可修改签约信息 - 0:不可 1:可以
  15134. type: integer
  15135. canoutamount:
  15136. description: 是否可出金 - 0:不可 1:可以
  15137. type: integer
  15138. canoutamount2:
  15139. description: 是否可出金(网银端) - 0:不可 1:可以
  15140. type: integer
  15141. canrelease:
  15142. description: 是否可解约 - 0:不可 1:可以
  15143. type: integer
  15144. canrelease2:
  15145. description: 是否可解约(网银端) - 0:不可 1:可以
  15146. type: integer
  15147. cansign:
  15148. description: 是否可签约 - 0:不可 1:可以
  15149. type: integer
  15150. cansign2:
  15151. description: 是否可签约(网银端) - 0:不可 1:可以
  15152. type: integer
  15153. currency:
  15154. description: 币种
  15155. type: string
  15156. cusbankid:
  15157. description: 托管银行编号(对应清算中心TRAN_NO)
  15158. type: string
  15159. cusbankname:
  15160. description: 银行业务名称
  15161. type: string
  15162. cusbankshortname:
  15163. description: 银行业务简称
  15164. type: string
  15165. exchbankid:
  15166. description: 交易所开户银行ID
  15167. type: string
  15168. exchpaybankaccname:
  15169. description: 交易所支出结算账户户名
  15170. type: string
  15171. exchpaybankaccno:
  15172. description: 交易所支出结算账户
  15173. type: string
  15174. isneedcheck:
  15175. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15176. type: integer
  15177. isneedclear:
  15178. description: 是否需要清算 - 0:不需要 1:需要
  15179. type: integer
  15180. lastcheckstatus:
  15181. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15182. type: integer
  15183. lastchecktime:
  15184. description: 最后对账时间
  15185. type: string
  15186. lastclearstatus:
  15187. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15188. type: integer
  15189. lastcleartime:
  15190. description: 最后清算时间
  15191. type: string
  15192. lastsignintime:
  15193. description: 最后签到时间
  15194. type: string
  15195. lastsignouttime:
  15196. description: 最后签退时间
  15197. type: string
  15198. riskinfo:
  15199. description: 签约风险提示书
  15200. type: string
  15201. signstatus:
  15202. description: 当前签到/签退状态 - 1:签到 2:签退
  15203. type: integer
  15204. tradedate:
  15205. description: 交易日(yyyyMMdd)
  15206. type: string
  15207. updatetime:
  15208. description: 当前签到/签退更新时间
  15209. type: string
  15210. type: object
  15211. models.QhjCustomer:
  15212. properties:
  15213. address:
  15214. description: 通讯地址
  15215. type: string
  15216. attachment1:
  15217. description: 附件1
  15218. type: string
  15219. attachment2:
  15220. description: 附件2
  15221. type: string
  15222. audittime:
  15223. description: 审核时间
  15224. type: string
  15225. cardbackphotourl:
  15226. description: 证件反面图片地址
  15227. type: string
  15228. cardfrontphotourl:
  15229. description: 证件正面图片地址
  15230. type: string
  15231. cardnum:
  15232. description: 证件号码
  15233. type: string
  15234. cardtype:
  15235. description: 证件类型
  15236. type: integer
  15237. cardtypename:
  15238. description: 证件类型名称
  15239. type: string
  15240. cityid:
  15241. description: 市
  15242. type: integer
  15243. cityname:
  15244. description: 城市名称
  15245. type: string
  15246. contactname:
  15247. description: 联系人
  15248. type: string
  15249. countryid:
  15250. description: 国家
  15251. type: integer
  15252. countryname:
  15253. description: 国家名称
  15254. type: string
  15255. createtime:
  15256. description: 创建时间
  15257. type: string
  15258. customername:
  15259. description: 客户名称
  15260. type: string
  15261. districtid:
  15262. description: 区域
  15263. type: integer
  15264. districtname:
  15265. description: 地区名称
  15266. type: string
  15267. email:
  15268. description: 邮件
  15269. type: string
  15270. legalpersonname:
  15271. description: 法人姓名(企业)
  15272. type: string
  15273. logincode:
  15274. description: 登录账号(代码)
  15275. type: string
  15276. memberuserid:
  15277. description: 所属机构ID(所属会员)
  15278. type: integer
  15279. memberusername:
  15280. description: 所属会员名称
  15281. type: string
  15282. mobile:
  15283. description: 手机号码
  15284. type: string
  15285. modifytime:
  15286. description: 修改时间
  15287. type: string
  15288. nickname:
  15289. description: 昵称
  15290. type: string
  15291. parentuserid:
  15292. description: 上级机构(所属机构)
  15293. type: integer
  15294. parentusername:
  15295. description: 所属机构名称
  15296. type: string
  15297. provinceid:
  15298. description: 省
  15299. type: integer
  15300. provincename:
  15301. description: 省名称
  15302. type: string
  15303. proxystatementurl:
  15304. description: 授权委托书
  15305. type: string
  15306. remark:
  15307. description: 备注
  15308. type: string
  15309. status:
  15310. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15311. type: integer
  15312. statusdesc:
  15313. description: 账户状态中文描述
  15314. type: string
  15315. taxpayernum:
  15316. description: 纳税人识别号
  15317. type: string
  15318. telphone:
  15319. description: 联系电话
  15320. type: string
  15321. userid:
  15322. description: 用户ID
  15323. type: integer
  15324. userinfotype:
  15325. description: 客户类型 1-个人 2-企业
  15326. type: integer
  15327. username:
  15328. description: 用户名称
  15329. type: string
  15330. type: object
  15331. models.QhjCustomerSignLog:
  15332. properties:
  15333. agreementcontent:
  15334. description: 协议内容
  15335. type: string
  15336. agreementid:
  15337. description: 协议ID
  15338. type: integer
  15339. agreementname:
  15340. description: 协议名称
  15341. type: string
  15342. agreementno:
  15343. description: 协议编号
  15344. type: string
  15345. agreementtype:
  15346. description: 协议类型 - 1:注册 2:登录 3:交易
  15347. type: integer
  15348. agreementversion:
  15349. description: 协议版本号
  15350. type: integer
  15351. createtime:
  15352. description: 创建时间
  15353. type: string
  15354. goodscode:
  15355. description: 商品代码
  15356. type: string
  15357. goodsid:
  15358. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15359. type: integer
  15360. goodsname:
  15361. description: 商品名称
  15362. type: string
  15363. logid:
  15364. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15365. type: integer
  15366. nodetype:
  15367. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15368. type: integer
  15369. signadressurl:
  15370. description: 签约文件地址
  15371. type: string
  15372. signtimestamp:
  15373. description: 签约状态时间戳
  15374. type: string
  15375. userid:
  15376. description: 客户ID
  15377. type: integer
  15378. username:
  15379. description: 客户名称
  15380. type: string
  15381. type: object
  15382. models.QhjCustomerSignStatus:
  15383. properties:
  15384. createtime:
  15385. description: 创建时间
  15386. type: string
  15387. goodscode:
  15388. description: 商品代码
  15389. type: string
  15390. goodsid:
  15391. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15392. type: integer
  15393. goodsname:
  15394. description: 商品名称
  15395. type: string
  15396. nodetype:
  15397. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15398. type: integer
  15399. signtimestamp:
  15400. description: 签约状态时间戳
  15401. type: string
  15402. tradedate:
  15403. description: 创建交易日(yyyyMMdd)
  15404. type: string
  15405. updatetime:
  15406. description: 更新时间
  15407. type: string
  15408. userid:
  15409. description: 客户ID
  15410. type: integer
  15411. username:
  15412. description: 客户名称
  15413. type: string
  15414. type: object
  15415. models.QhjMgrAccountOutInApply:
  15416. properties:
  15417. accountcode:
  15418. description: 资金账号
  15419. type: string
  15420. accountname:
  15421. description: 用户名称(名称)
  15422. type: string
  15423. accountpwd:
  15424. description: 资金密码
  15425. type: string
  15426. accountticket:
  15427. description: 最新账户服务流水号
  15428. type: string
  15429. amount:
  15430. description: 金额
  15431. type: number
  15432. applyremark:
  15433. description: 申请备注
  15434. type: string
  15435. applystatus:
  15436. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15437. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15438. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15439. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15440. type: integer
  15441. auditid:
  15442. description: 审核人
  15443. type: integer
  15444. audittime:
  15445. description: 审核时间
  15446. type: string
  15447. bank_apply_ticket:
  15448. description: 银行申请流水
  15449. type: string
  15450. bankaccountname:
  15451. description: 银行账户名
  15452. type: string
  15453. bankaccountno:
  15454. description: 银行卡号
  15455. type: string
  15456. bankid:
  15457. description: 银行编号
  15458. type: string
  15459. bankname:
  15460. description: 银行名称
  15461. type: string
  15462. bankticket:
  15463. description: 银行流水
  15464. type: string
  15465. branchbankid:
  15466. description: 银行支行号
  15467. type: string
  15468. branchbankname:
  15469. description: 银行支行名称
  15470. type: string
  15471. capamountout:
  15472. description: 出金(劣后本金) - 外部子账户
  15473. type: number
  15474. certificatephotourl:
  15475. description: 凭证地址
  15476. type: string
  15477. charge:
  15478. description: 手续费
  15479. type: number
  15480. checkerrorflag:
  15481. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15482. type: integer
  15483. currency:
  15484. description: 币种
  15485. type: string
  15486. cusbankid:
  15487. description: 托管银行编号
  15488. type: string
  15489. exchticket:
  15490. description: 银行服务流水号
  15491. type: string
  15492. executetype:
  15493. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15494. 7:外部子账户:入金 8:外部子账户:出金'
  15495. type: integer
  15496. extendinfo:
  15497. description: 扩展信息
  15498. type: string
  15499. extoperateid:
  15500. description: 交易服务流水号
  15501. type: integer
  15502. infamount:
  15503. description: 劣后金额(自有)
  15504. type: number
  15505. logincode:
  15506. description: 登录账号(账号)
  15507. type: string
  15508. netaddr:
  15509. description: 调转网址
  15510. type: string
  15511. priamount:
  15512. description: 优先金额(授信)
  15513. type: number
  15514. reauditid:
  15515. description: 复审人
  15516. type: integer
  15517. reauditremark:
  15518. description: 复审备注
  15519. type: string
  15520. reaudittime:
  15521. description: 复审时间
  15522. type: string
  15523. relatedorderid:
  15524. description: 三方关联ID
  15525. type: string
  15526. remark:
  15527. description: 备注
  15528. type: string
  15529. remark2:
  15530. description: 备注(失败原因)
  15531. type: string
  15532. soucreamount:
  15533. description: 原始出入金金额
  15534. type: number
  15535. soucrecurrencyid:
  15536. description: 原始出入金币种
  15537. type: integer
  15538. tradedate:
  15539. description: 交易日(yyyyMMdd)
  15540. type: string
  15541. updatetime:
  15542. description: 更新时间(申请时间)
  15543. type: string
  15544. userid:
  15545. description: 用户id
  15546. type: integer
  15547. userinfotype:
  15548. description: 账户类型 1-个人 2-企业
  15549. type: integer
  15550. type: object
  15551. models.QhjMgrBrokerApply:
  15552. properties:
  15553. applicantid:
  15554. description: 申请人
  15555. type: integer
  15556. applysrc:
  15557. description: 申请来源 - 1:管理端 2:终端
  15558. type: integer
  15559. applystatus:
  15560. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15561. type: integer
  15562. applytime:
  15563. description: 申请时间
  15564. type: string
  15565. auditorid:
  15566. description: 审核人
  15567. type: integer
  15568. auditremark:
  15569. description: 审核备注
  15570. type: string
  15571. auditsrc:
  15572. description: 审核来源 - 1:管理端 2:终端
  15573. type: integer
  15574. audittime:
  15575. description: 审核时间
  15576. type: string
  15577. audittradedate:
  15578. description: 审核交易日(yyyyMMdd)
  15579. type: string
  15580. brokerapplyid:
  15581. description: 申请ID(SEQ_BROKERAPPLY)
  15582. type: integer
  15583. cardbackphotourl:
  15584. description: 证件背面图片地址
  15585. type: string
  15586. cardfrontphotourl:
  15587. description: 证件正面图片地址
  15588. type: string
  15589. cardnum:
  15590. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15591. type: string
  15592. customername:
  15593. description: 姓名
  15594. type: string
  15595. filterstatus:
  15596. description: 筛选条件
  15597. type: string
  15598. logincode:
  15599. description: 登录代码
  15600. type: string
  15601. mobile:
  15602. description: 手机号码
  15603. type: string
  15604. parentuserid:
  15605. description: 所属机构id
  15606. type: integer
  15607. parentusername:
  15608. description: 所属机构名称
  15609. type: string
  15610. refereeuserid:
  15611. description: 推荐人id(经纪人)
  15612. type: integer
  15613. refernum:
  15614. description: 推荐码
  15615. type: string
  15616. remark:
  15617. description: 备注
  15618. type: string
  15619. subarealevelpath:
  15620. description: 层级路径
  15621. type: string
  15622. tradedate:
  15623. description: 交易日(yyyyMMdd)
  15624. type: string
  15625. userid:
  15626. description: 申请人用户ID
  15627. type: integer
  15628. userinfotype:
  15629. description: 用户类型 1-个人 2-企业
  15630. type: integer
  15631. username:
  15632. description: 用户名称
  15633. type: string
  15634. type: object
  15635. models.QhjMgrBrokerRewardReport:
  15636. properties:
  15637. createtime:
  15638. description: 创建时间(注册时间)
  15639. type: string
  15640. cycletime:
  15641. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15642. type: string
  15643. cycletype:
  15644. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15645. type: integer
  15646. directtotalnum:
  15647. description: 直推总人数【期末】
  15648. type: integer
  15649. indirecttotalnum:
  15650. description: 间推总人数【期末】
  15651. type: integer
  15652. mobile:
  15653. description: 电话号码
  15654. type: string
  15655. refereeuserid:
  15656. description: 推荐人id(经纪人id)
  15657. type: integer
  15658. refereeusername:
  15659. description: 推荐人名称(经纪人) 上级经纪人名称
  15660. type: string
  15661. refernum:
  15662. description: 推荐码
  15663. type: string
  15664. subarealevelpath:
  15665. description: 用户层级路径
  15666. type: string
  15667. todayrewardamount:
  15668. description: 奖励总金额【汇总】
  15669. type: number
  15670. updatetime:
  15671. description: 更新时间
  15672. type: string
  15673. userid:
  15674. description: 经纪人用户ID
  15675. type: integer
  15676. userinfotype:
  15677. description: 用户类型 1-个人 2-企业
  15678. type: integer
  15679. username:
  15680. description: 用户名称
  15681. type: string
  15682. type: object
  15683. models.QhjMgrContract:
  15684. properties:
  15685. contractconfirmtime:
  15686. description: 合同确认时间(时间)
  15687. type: string
  15688. currisklevel:
  15689. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15690. type: integer
  15691. decimalplace:
  15692. description: 商品报价小数位
  15693. type: integer
  15694. enumdicname:
  15695. description: 单位名称
  15696. type: string
  15697. goodscode:
  15698. description: 商品代码
  15699. type: string
  15700. goodsid:
  15701. description: 商品ID [5:融资单]
  15702. type: integer
  15703. goodsname:
  15704. description: 商品名称
  15705. type: string
  15706. goodunitid:
  15707. description: 商品单位id
  15708. type: integer
  15709. initmargin:
  15710. description: 初始保证金(首付款)
  15711. type: number
  15712. lenderamount:
  15713. description: 贷款金额(总额|订单总额)
  15714. type: number
  15715. logincode:
  15716. description: 账号(登录代码)
  15717. type: string
  15718. marginratio:
  15719. description: 保证金比率(首付比例)
  15720. type: number
  15721. mobile:
  15722. description: 电话号码(用户资料里的电话)
  15723. type: string
  15724. payamount:
  15725. description: 已付(已付货款)
  15726. type: number
  15727. reckonrecovermargin:
  15728. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15729. type: number
  15730. recoveredmargin:
  15731. description: 已追缴保证金
  15732. type: number
  15733. remainamount:
  15734. description: 合同剩余金额(融资额)
  15735. type: number
  15736. scfcontractid:
  15737. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15738. type: string
  15739. scfcontractstatus:
  15740. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15741. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15742. type: integer
  15743. scfcontracttype:
  15744. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15745. type: integer
  15746. totalinterest:
  15747. description: 已计总利息(利息)
  15748. type: number
  15749. tradedate:
  15750. description: 交易日
  15751. type: string
  15752. tradeprice:
  15753. description: 成交价格(成本价格)
  15754. type: number
  15755. userid:
  15756. description: 用户ID
  15757. type: integer
  15758. userinfotype:
  15759. description: 用户类型 1-个人 2-企业
  15760. type: integer
  15761. username:
  15762. description: 用户名称
  15763. type: string
  15764. wrqty:
  15765. description: 仓单数量(数量)
  15766. type: number
  15767. type: object
  15768. models.QhjMgrCustomer:
  15769. properties:
  15770. address:
  15771. description: 通讯地址
  15772. type: string
  15773. attachment1:
  15774. description: 附件1
  15775. type: string
  15776. audittime:
  15777. description: 审核时间
  15778. type: string
  15779. birthday:
  15780. description: 生日
  15781. type: string
  15782. brokerid:
  15783. description: 所属客户经理id
  15784. type: integer
  15785. brokername:
  15786. description: 所属客户经理名称
  15787. type: string
  15788. cardbackphotourl:
  15789. description: 证件反面图片地址
  15790. type: string
  15791. cardfrontphotourl:
  15792. description: 证件正面图片地址
  15793. type: string
  15794. cardnum:
  15795. description: 证件号码
  15796. type: string
  15797. cardtype:
  15798. description: 证件类型
  15799. type: integer
  15800. cardtypename:
  15801. description: 证件类型名称
  15802. type: string
  15803. cityid:
  15804. description: 市
  15805. type: integer
  15806. cityname:
  15807. description: 城市名称
  15808. type: string
  15809. contactname:
  15810. description: 联系人
  15811. type: string
  15812. countryid:
  15813. description: 国家
  15814. type: integer
  15815. countryname:
  15816. description: 国家名称
  15817. type: string
  15818. createtime:
  15819. description: 创建时间
  15820. type: string
  15821. customername:
  15822. description: 客户名称
  15823. type: string
  15824. districtid:
  15825. description: 区域
  15826. type: integer
  15827. districtname:
  15828. description: 地区名称
  15829. type: string
  15830. email:
  15831. description: 邮件
  15832. type: string
  15833. legalpersonname:
  15834. description: 法人姓名(企业)
  15835. type: string
  15836. logincode:
  15837. description: 登录账号(代码)
  15838. type: string
  15839. memberuserid:
  15840. description: 所属机构ID(所属会员)
  15841. type: integer
  15842. memberusername:
  15843. description: 所属会员名称
  15844. type: string
  15845. mobile:
  15846. description: 手机号码
  15847. type: string
  15848. modifytime:
  15849. description: 修改时间
  15850. type: string
  15851. nickname:
  15852. description: 昵称
  15853. type: string
  15854. parentuserid:
  15855. description: 上级机构(所属机构)
  15856. type: integer
  15857. parentusername:
  15858. description: 所属机构名称
  15859. type: string
  15860. provinceid:
  15861. description: 省
  15862. type: integer
  15863. provincename:
  15864. description: 省名称
  15865. type: string
  15866. proxystatementurl:
  15867. description: 授权委托书
  15868. type: string
  15869. querytype:
  15870. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15871. type: integer
  15872. remark:
  15873. description: 备注
  15874. type: string
  15875. sex:
  15876. description: 性别 0-女 1-男
  15877. type: integer
  15878. status:
  15879. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15880. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15881. type: integer
  15882. statusdesc:
  15883. description: 账户状态中文描述
  15884. type: string
  15885. taxpayernum:
  15886. description: 纳税人识别号
  15887. type: string
  15888. telphone:
  15889. description: 联系电话
  15890. type: string
  15891. userid:
  15892. description: 用户ID
  15893. type: integer
  15894. userinfotype:
  15895. description: 客户类型 1-个人 2-企业
  15896. type: integer
  15897. username:
  15898. description: 用户名称
  15899. type: string
  15900. type: object
  15901. models.QhjMgrPickGoods:
  15902. properties:
  15903. enumdicname:
  15904. description: 单位名称(提货商品)
  15905. type: string
  15906. goodsid:
  15907. description: 商品id
  15908. type: integer
  15909. imageaddress:
  15910. description: 图片
  15911. type: string
  15912. modifierid:
  15913. description: 修改人
  15914. type: integer
  15915. modifiername:
  15916. description: 修改人名称
  15917. type: string
  15918. modifysrc:
  15919. description: 修改来源 - 1:管理端 2:终端
  15920. type: integer
  15921. pickupgoodsagreeunit:
  15922. description: 合约乘数
  15923. type: number
  15924. pickupgoodsdesc:
  15925. description: 描述
  15926. type: string
  15927. pickupgoodsid:
  15928. description: 提货商品ID
  15929. type: string
  15930. pickupgoodsname:
  15931. description: 提货商品名称
  15932. type: string
  15933. pickupgoodsstatus:
  15934. description: 状态 - 1:正常 2:停用 3:注销
  15935. type: integer
  15936. pickupgoodsunitid:
  15937. description: 单位ID
  15938. type: integer
  15939. pickupratio:
  15940. description: 提货系数
  15941. type: number
  15942. preparedays:
  15943. description: 备货期(天)
  15944. type: integer
  15945. remark:
  15946. description: 备注
  15947. type: string
  15948. updatetime:
  15949. description: 更新时间
  15950. type: string
  15951. type: object
  15952. models.QhjMgrPositionRsp:
  15953. properties:
  15954. accountid:
  15955. description: 账号Id
  15956. type: integer
  15957. accountname:
  15958. description: 用户名称
  15959. type: string
  15960. agreeunit:
  15961. description: 合约乘数
  15962. type: number
  15963. averageprice:
  15964. description: 均价
  15965. type: number
  15966. avialqty:
  15967. description: 可用数量
  15968. type: number
  15969. decimalplace:
  15970. description: 报价小数位
  15971. type: integer
  15972. enumdicname:
  15973. description: 单位名称(商品)
  15974. type: string
  15975. frozenqty:
  15976. description: 冻结数量
  15977. type: number
  15978. goodscode:
  15979. description: 商品代码(内部)
  15980. type: string
  15981. goodsid:
  15982. description: 商品Id
  15983. type: integer
  15984. goodsname:
  15985. description: 商品名称
  15986. type: string
  15987. goodunitid:
  15988. description: 报价单位ID
  15989. type: integer
  15990. holderamount:
  15991. description: 金额
  15992. type: number
  15993. holderqty:
  15994. description: 持有数量
  15995. type: number
  15996. holdertype:
  15997. description: 持仓类别 - 1:单边持仓 2:双边持仓
  15998. type: integer
  15999. logincode:
  16000. description: 登录代码(账户)
  16001. type: string
  16002. marketid:
  16003. description: 市场id
  16004. type: integer
  16005. qtydecimalplace:
  16006. description: 成交量小数位
  16007. type: integer
  16008. trademode:
  16009. description: 交易模式
  16010. type: integer
  16011. userid:
  16012. description: 用户id
  16013. type: integer
  16014. userinfotype:
  16015. description: 账户类型 1-个人 2-企业
  16016. type: integer
  16017. type: object
  16018. models.QhjMgrSubArea:
  16019. properties:
  16020. accountname:
  16021. description: 账户名称(机构名称)
  16022. type: string
  16023. memberuserid:
  16024. description: 所属会员ID
  16025. type: integer
  16026. parenttopuser:
  16027. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16028. type: string
  16029. parentuserid:
  16030. description: 所属机构ID
  16031. type: integer
  16032. rootuserid:
  16033. description: 根用户ID
  16034. type: string
  16035. subaccountlevel:
  16036. description: 子账户层数
  16037. type: integer
  16038. subarealevelpath:
  16039. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16040. type: string
  16041. userid:
  16042. description: 用户ID
  16043. type: integer
  16044. usertype:
  16045. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16046. type: integer
  16047. type: object
  16048. models.QhjMgrTradeDetailRsp:
  16049. properties:
  16050. accountid:
  16051. description: 资金账号
  16052. type: integer
  16053. accountname:
  16054. description: 用户名称
  16055. type: string
  16056. agreeunit:
  16057. description: 合约乘数
  16058. type: number
  16059. buyorsell:
  16060. description: 成交类型(方向) 0:买 1:卖
  16061. type: integer
  16062. decimalplace:
  16063. description: 报价小数位
  16064. type: integer
  16065. enumdicname:
  16066. description: 单位名称(商品)
  16067. type: string
  16068. goodscode:
  16069. description: 商品代码(内部)
  16070. type: string
  16071. goodsid:
  16072. description: 商品id
  16073. type: integer
  16074. goodsname:
  16075. description: 商品名称
  16076. type: string
  16077. goodunitid:
  16078. description: 报价单位ID
  16079. type: integer
  16080. logincode:
  16081. description: 登录代码(账户)
  16082. type: string
  16083. marketid:
  16084. description: 市场id
  16085. type: integer
  16086. orderid:
  16087. description: 关联委托单号
  16088. type: string
  16089. qtydecimalplace:
  16090. description: 成交量小数位
  16091. type: integer
  16092. tradeamount:
  16093. description: 金额
  16094. type: number
  16095. tradedate:
  16096. description: 交易日
  16097. type: string
  16098. tradeid:
  16099. description: 成交单号
  16100. type: string
  16101. trademode:
  16102. description: 交易模式
  16103. type: integer
  16104. tradeprice:
  16105. description: 价格
  16106. type: number
  16107. tradeqty:
  16108. description: 数量
  16109. type: number
  16110. tradetime:
  16111. description: 成交时间
  16112. type: string
  16113. userid:
  16114. description: 用户id
  16115. type: integer
  16116. userinfotype:
  16117. description: 账户类型 1-个人 2-企业
  16118. type: integer
  16119. type: object
  16120. models.QhjMgrTradeOrderDetailRsp:
  16121. properties:
  16122. accountid:
  16123. description: 资金账号
  16124. type: integer
  16125. accountname:
  16126. description: 用户名称
  16127. type: string
  16128. agreeunit:
  16129. description: 合约乘数
  16130. type: number
  16131. amount:
  16132. description: 金额
  16133. type: number
  16134. decimalplace:
  16135. description: 报价小数位
  16136. type: integer
  16137. enumdicname:
  16138. description: 单位名称(商品)
  16139. type: string
  16140. goodscode:
  16141. description: 商品代码(内部)
  16142. type: string
  16143. goodsid:
  16144. description: 商品id
  16145. type: integer
  16146. goodsname:
  16147. description: 商品名称
  16148. type: string
  16149. goodunitid:
  16150. description: 报价单位ID
  16151. type: integer
  16152. logincode:
  16153. description: 登录代码(账户)
  16154. type: string
  16155. marketid:
  16156. description: 市场id
  16157. type: integer
  16158. orderid:
  16159. description: 关联委托单号
  16160. type: string
  16161. orderprice:
  16162. description: 价格
  16163. type: number
  16164. orderqty:
  16165. description: 数量
  16166. type: number
  16167. orderstatus:
  16168. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16169. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16170. 16:成交失败违约(荷兰式竞拍专用)
  16171. type: integer
  16172. ordertime:
  16173. description: 委托时间
  16174. type: string
  16175. qtydecimalplace:
  16176. description: 成交量小数位
  16177. type: integer
  16178. tradedate:
  16179. description: 交易日
  16180. type: string
  16181. trademode:
  16182. description: 交易模式
  16183. type: integer
  16184. userid:
  16185. description: 用户id
  16186. type: integer
  16187. userinfotype:
  16188. description: 账户类型 1-个人 2-企业
  16189. type: integer
  16190. type: object
  16191. models.QhjMgrTradePayOrder:
  16192. properties:
  16193. accountname:
  16194. description: 用户名称
  16195. type: string
  16196. advanceratio:
  16197. description: 首付比率
  16198. type: number
  16199. agreeunit:
  16200. description: 合约乘数
  16201. type: number
  16202. buyaccountid:
  16203. description: 买方账号ID[报价币种]
  16204. type: integer
  16205. buyorderid:
  16206. description: 买方委托单号(关联单号)
  16207. type: string
  16208. createtime:
  16209. description: 创建时间
  16210. type: string
  16211. decimalplace:
  16212. description: 报价小数位
  16213. type: integer
  16214. enumdicname:
  16215. description: 单位名称(商品)
  16216. type: string
  16217. goodscode:
  16218. description: 商品代码(内部)
  16219. type: string
  16220. goodsid:
  16221. description: 商品ID
  16222. type: integer
  16223. goodsname:
  16224. description: 商品名称
  16225. type: string
  16226. goodunitid:
  16227. description: 报价单位ID
  16228. type: integer
  16229. logincode:
  16230. description: 登录代码(账户)
  16231. type: string
  16232. marketid:
  16233. description: 市场id
  16234. type: integer
  16235. offamount:
  16236. description: 优惠金额
  16237. type: number
  16238. operatetype:
  16239. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16240. type: integer
  16241. payamount:
  16242. description: 支付金额(金额)
  16243. type: number
  16244. payflag:
  16245. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16246. type: integer
  16247. paylimitedtime:
  16248. description: 支付期限
  16249. type: string
  16250. paytime:
  16251. description: 付款时间
  16252. type: string
  16253. qtydecimalplace:
  16254. description: 成交量小数位
  16255. type: integer
  16256. sellaccountid:
  16257. description: 卖方账号ID[报价币种]
  16258. type: integer
  16259. sellorderid:
  16260. description: 卖方委托单号
  16261. type: string
  16262. tradeamount:
  16263. description: 成交金额(优惠后金额)
  16264. type: number
  16265. tradecharge:
  16266. description: 成交手续费(买方)
  16267. type: number
  16268. tradedate:
  16269. description: 交易日(yyyyMMdd)
  16270. type: string
  16271. tradeid:
  16272. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16273. type: string
  16274. trademode:
  16275. description: 交易模式
  16276. type: integer
  16277. tradeprice:
  16278. description: 成交价格(价格)
  16279. type: number
  16280. tradeqty:
  16281. description: 成交数量(数量)
  16282. type: number
  16283. tradetime:
  16284. description: 成交时间
  16285. type: string
  16286. userid:
  16287. description: 用户id
  16288. type: integer
  16289. userinfotype:
  16290. description: 账户类型 1-个人 2-企业
  16291. type: integer
  16292. type: object
  16293. models.QhjMyTeamEx:
  16294. properties:
  16295. accountname:
  16296. description: 用户名称
  16297. type: string
  16298. accountstatus:
  16299. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16300. type: integer
  16301. createtime:
  16302. description: 创建时间
  16303. type: string
  16304. mobile:
  16305. description: 手机号码
  16306. type: string
  16307. refereeuserid:
  16308. description: 推荐人id
  16309. type: integer
  16310. refernum:
  16311. description: 推荐码
  16312. type: string
  16313. subList:
  16314. items:
  16315. $ref: '#/definitions/models.QhjMyTeamEx'
  16316. type: array
  16317. userid:
  16318. description: 用户id
  16319. type: integer
  16320. userinfotype:
  16321. description: 用户类型 1-个人 2-企业
  16322. type: integer
  16323. type: object
  16324. models.QhjNodeAgreementConfig:
  16325. properties:
  16326. agreementcontent:
  16327. description: 协议内容
  16328. type: string
  16329. agreementid:
  16330. description: 协议ID
  16331. type: integer
  16332. agreementname:
  16333. description: 协议名称
  16334. type: string
  16335. agreementno:
  16336. description: 协议编号
  16337. type: string
  16338. agreementtype:
  16339. description: 协议类型 - 1:注册 2:登录 3:交易
  16340. type: integer
  16341. agreementversion:
  16342. description: 协议版本号
  16343. type: integer
  16344. configid:
  16345. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16346. type: integer
  16347. createtime:
  16348. description: 创建时间
  16349. type: string
  16350. goodsid:
  16351. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16352. type: integer
  16353. nodetype:
  16354. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16355. type: integer
  16356. type: object
  16357. models.QhjParentAreaList:
  16358. properties:
  16359. accountname:
  16360. description: 账户名称(机构名称)
  16361. type: string
  16362. userid:
  16363. description: 用户ID
  16364. type: integer
  16365. usertype:
  16366. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16367. type: integer
  16368. type: object
  16369. models.QhjPayOrder:
  16370. properties:
  16371. advanceratio:
  16372. description: 首付比率
  16373. type: number
  16374. buyaccountid:
  16375. description: 买方账号ID[报价币种]
  16376. type: integer
  16377. buyorderid:
  16378. description: 买方委托单号
  16379. type: string
  16380. createtime:
  16381. description: 创建时间
  16382. type: string
  16383. decimalplace:
  16384. description: 商品报价小数位
  16385. type: integer
  16386. enumdicname:
  16387. description: 单位名称
  16388. type: string
  16389. goodscode:
  16390. description: 商品代码
  16391. type: string
  16392. goodsid:
  16393. description: 商品ID
  16394. type: integer
  16395. goodsname:
  16396. description: 商品名称
  16397. type: string
  16398. goodunitid:
  16399. description: 商品单位id
  16400. type: integer
  16401. marketid:
  16402. description: 市场ID
  16403. type: integer
  16404. offamount:
  16405. description: 优惠金额
  16406. type: number
  16407. operatetype:
  16408. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16409. type: integer
  16410. payamount:
  16411. description: 支付金额
  16412. type: number
  16413. payflag:
  16414. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16415. type: integer
  16416. paylimitedtime:
  16417. description: 支付期限
  16418. type: string
  16419. paytime:
  16420. description: 付款时间
  16421. type: string
  16422. qtydecimalplace:
  16423. description: 成交量小数位
  16424. type: integer
  16425. sellaccountid:
  16426. description: 卖方账号ID[报价币种]
  16427. type: integer
  16428. sellorderid:
  16429. description: 卖方委托单号
  16430. type: string
  16431. tradeamount:
  16432. description: 成交金额(优惠后金额)
  16433. type: number
  16434. tradecharge:
  16435. description: 成交手续费(买方)
  16436. type: number
  16437. tradedate:
  16438. description: 交易日(yyyyMMdd)
  16439. type: string
  16440. tradeid:
  16441. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16442. type: string
  16443. tradeprice:
  16444. description: 成交价格
  16445. type: number
  16446. tradeqty:
  16447. description: 成交数量
  16448. type: number
  16449. type: object
  16450. models.QhjPickArea:
  16451. properties:
  16452. address:
  16453. description: 详细地址
  16454. type: string
  16455. cityid:
  16456. description: 市
  16457. type: integer
  16458. cityname:
  16459. description: 城市名称
  16460. type: string
  16461. countryid:
  16462. description: 国家
  16463. type: integer
  16464. countryname:
  16465. description: 国家名称
  16466. type: string
  16467. districtid:
  16468. description: 地区
  16469. type: integer
  16470. districtname:
  16471. description: 地区名称
  16472. type: string
  16473. fromuserid:
  16474. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16475. type: integer
  16476. fromusername:
  16477. description: 所属机构名称
  16478. type: string
  16479. provinceid:
  16480. description: 省
  16481. type: integer
  16482. provincename:
  16483. description: 省名称
  16484. type: string
  16485. suborgtype:
  16486. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16487. type: integer
  16488. userid:
  16489. description: 机构用户ID 其他做市关系,都设置为 1
  16490. type: integer
  16491. username:
  16492. description: 机构用户名称(门店门称)
  16493. type: string
  16494. type: object
  16495. models.QhjPickGoods:
  16496. properties:
  16497. enumdicname:
  16498. description: 单位名称(提货商品)
  16499. type: string
  16500. goodsid:
  16501. description: 商品id
  16502. type: integer
  16503. imageaddress:
  16504. description: 图片
  16505. type: string
  16506. modifierid:
  16507. description: 修改人
  16508. type: integer
  16509. modifiername:
  16510. description: 修改人名称
  16511. type: string
  16512. modifysrc:
  16513. description: 修改来源 - 1:管理端 2:终端
  16514. type: integer
  16515. pickupgoodsagreeunit:
  16516. description: 合约乘数
  16517. type: number
  16518. pickupgoodsdesc:
  16519. description: 描述
  16520. type: string
  16521. pickupgoodsid:
  16522. description: 提货商品ID
  16523. type: string
  16524. pickupgoodsname:
  16525. description: 提货商品名称
  16526. type: string
  16527. pickupgoodsstatus:
  16528. description: 状态 - 1:正常 2:停用 3:注销
  16529. type: integer
  16530. pickupgoodsunitid:
  16531. description: 单位ID
  16532. type: integer
  16533. pickupratio:
  16534. description: 提货系数
  16535. type: number
  16536. preparedays:
  16537. description: 备货期(天)
  16538. type: integer
  16539. remark:
  16540. description: 备注
  16541. type: string
  16542. updatetime:
  16543. description: 更新时间
  16544. type: string
  16545. type: object
  16546. models.QhjRSTriggerLog:
  16547. properties:
  16548. accountid:
  16549. description: 用户资金账户
  16550. type: integer
  16551. accountname:
  16552. description: 账号名称(ACCOUNTID对应的名称)
  16553. type: string
  16554. currencyid:
  16555. description: 币种id
  16556. type: integer
  16557. currencyname:
  16558. description: 币种名称
  16559. type: string
  16560. decimalplace:
  16561. description: 商品报价小数位
  16562. type: integer
  16563. enumdicname:
  16564. description: 单位名称
  16565. type: string
  16566. goodscode:
  16567. description: 定投商品代码
  16568. type: string
  16569. goodsid:
  16570. description: 定投商品ID
  16571. type: integer
  16572. goodsname:
  16573. description: 定投商品名称
  16574. type: string
  16575. goodunitid:
  16576. description: 定投商品单位id
  16577. type: integer
  16578. logid:
  16579. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16580. type: string
  16581. logincode:
  16582. description: 账号(登录代码)
  16583. type: string
  16584. qtydecimalplace:
  16585. description: 成交量小数位
  16586. type: integer
  16587. regularlycycle:
  16588. description: 定投频率 - 1:每周 2:每月
  16589. type: integer
  16590. regularlycyclevalue:
  16591. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16592. type: string
  16593. regularlymode:
  16594. description: 定投方式 - 1:按数量 2:按金额
  16595. type: integer
  16596. regularlymodevalue:
  16597. description: 定投方式值 - 数量或金额
  16598. type: number
  16599. regularlystrategyid:
  16600. description: 定投策略ID
  16601. type: integer
  16602. retcode:
  16603. description: 错误码
  16604. type: string
  16605. tradeid:
  16606. description: 成交单ID
  16607. type: string
  16608. triggeramount:
  16609. description: 触发金额
  16610. type: number
  16611. triggerqty:
  16612. description: 触发数量
  16613. type: number
  16614. triggerstatus:
  16615. description: 触发状态 - 1:成功 2:失败
  16616. type: integer
  16617. triggertime:
  16618. description: 触发时间
  16619. type: string
  16620. triggertradedate:
  16621. description: 触发交易日
  16622. type: string
  16623. userid:
  16624. description: 所属用户ID
  16625. type: integer
  16626. userinfotype:
  16627. description: 用户类型 1-个人 2-企业
  16628. type: integer
  16629. username:
  16630. description: 用户名称(userid对应的名称)
  16631. type: string
  16632. type: object
  16633. models.QhjRStrategy:
  16634. properties:
  16635. accountid:
  16636. description: 用户资金账户
  16637. type: integer
  16638. accountname:
  16639. description: 账号名称(ACCOUNTID对应的名称)
  16640. type: string
  16641. currencyid:
  16642. description: 币种id
  16643. type: integer
  16644. currencyname:
  16645. description: 币种名称
  16646. type: string
  16647. decimalplace:
  16648. description: 商品报价小数位
  16649. type: integer
  16650. enumdicname:
  16651. description: 单位名称
  16652. type: string
  16653. goodscode:
  16654. description: 定投商品代码
  16655. type: string
  16656. goodsid:
  16657. description: 定投商品ID
  16658. type: integer
  16659. goodsname:
  16660. description: 定投商品名称
  16661. type: string
  16662. goodunitid:
  16663. description: 定投商品单位id
  16664. type: integer
  16665. lasteffecttradedate:
  16666. description: 最新生效交易日
  16667. type: string
  16668. laststoptradedate:
  16669. description: 最新暂停交易日
  16670. type: string
  16671. lasttriggertradedate:
  16672. description: 最新触发交易日
  16673. type: string
  16674. logincode:
  16675. description: 账号(登录代码)
  16676. type: string
  16677. nexttriggeramount:
  16678. description: 下次触发金额
  16679. type: number
  16680. nexttriggerdate:
  16681. description: 下次触发日期
  16682. type: string
  16683. nexttriggerqty:
  16684. description: 下次触发数量 [按小数位放大值]
  16685. type: number
  16686. qtydecimalplace:
  16687. description: 成交量小数位
  16688. type: integer
  16689. regularlycycle:
  16690. description: 定投频率 - 1:每周 2:每月
  16691. type: integer
  16692. regularlycyclevalue:
  16693. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16694. type: string
  16695. regularlymode:
  16696. description: 定投方式 - 1:按数量 2:按金额
  16697. type: integer
  16698. regularlymodevalue:
  16699. description: 定投方式值 - 数量或金额
  16700. type: number
  16701. regularlystrategyid:
  16702. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16703. type: integer
  16704. regularlystrategystatus:
  16705. description: 策略状态 - 1:正常 2:暂停 3:终止
  16706. type: integer
  16707. remark:
  16708. description: 备注
  16709. type: string
  16710. triggersuccesstimes:
  16711. description: 累计定投成功次数
  16712. type: string
  16713. triggertotalamount:
  16714. description: 累计定投金额(成功)
  16715. type: number
  16716. triggertotalqty:
  16717. description: 累计定投数量(成功) [按小数位放大值]
  16718. type: number
  16719. triggertotaltimes:
  16720. description: 累计定投总次数
  16721. type: string
  16722. updatesrc:
  16723. description: 更新来源 - 1:管理端 2:终端
  16724. type: integer
  16725. updatetime:
  16726. description: 更新时间
  16727. type: string
  16728. updatorid:
  16729. description: 更新人
  16730. type: string
  16731. userid:
  16732. description: 所属用户ID
  16733. type: integer
  16734. userinfotype:
  16735. description: 用户类型 1-个人 2-企业
  16736. type: integer
  16737. username:
  16738. description: 用户名称(userid对应的名称)
  16739. type: string
  16740. type: object
  16741. models.QhjReckonPriceLog:
  16742. properties:
  16743. decimalplace:
  16744. description: 商品报价小数位
  16745. type: integer
  16746. goodscode:
  16747. description: 商品代码
  16748. type: string
  16749. goodsid:
  16750. description: 商品ID
  16751. type: integer
  16752. goodsname:
  16753. description: 商品名称
  16754. type: string
  16755. lastreckonprice:
  16756. description: 上日结算价
  16757. type: number
  16758. nextdnlimitprice:
  16759. description: 下个交易日跌停价
  16760. type: number
  16761. nexttrade:
  16762. description: 下个交易日
  16763. type: string
  16764. nextuplimitprice:
  16765. description: 下个交易日涨停价
  16766. type: number
  16767. reckonprice:
  16768. description: 今日结算价(定投价)
  16769. type: number
  16770. reckontime:
  16771. description: 结算时间
  16772. type: string
  16773. totalholderqty:
  16774. description: 总持仓数
  16775. type: integer
  16776. totalstock:
  16777. description: 总库存
  16778. type: integer
  16779. tradedate:
  16780. description: 交易日
  16781. type: string
  16782. updowncount:
  16783. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16784. type: integer
  16785. updownflag:
  16786. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16787. type: integer
  16788. updownrate:
  16789. description: 今日涨跌幅
  16790. type: number
  16791. updownrate_2d:
  16792. description: 连续两日涨跌幅
  16793. type: number
  16794. updownrate_3d:
  16795. description: 连续三日涨跌幅
  16796. type: number
  16797. type: object
  16798. models.QhjScoreLog:
  16799. properties:
  16800. accountid:
  16801. description: 账户ID
  16802. type: integer
  16803. createtime:
  16804. description: 创建时间(时间)
  16805. type: string
  16806. goodsid:
  16807. description: 商品ID
  16808. type: integer
  16809. hasuploaded:
  16810. description: 是否已同步(千海金) 0:未同步 1;已同步
  16811. type: integer
  16812. logid:
  16813. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16814. type: string
  16815. marketid:
  16816. description: 市场ID
  16817. type: integer
  16818. relatedamount:
  16819. description: 关联金额
  16820. type: number
  16821. relatedorderid:
  16822. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16823. type: string
  16824. scoreconfigvalue1:
  16825. description: 积分配置1
  16826. type: integer
  16827. scoreconfigvalue2:
  16828. description: 积分配置1
  16829. type: integer
  16830. scoretype:
  16831. description: 积分类型 - 1:提货积分
  16832. type: integer
  16833. scorevalue:
  16834. description: 积分
  16835. type: number
  16836. tradedate:
  16837. description: 交易日(yyyyMMdd)
  16838. type: string
  16839. uploadedtime:
  16840. description: 同步时间
  16841. type: string
  16842. userid:
  16843. description: 用户ID
  16844. type: integer
  16845. type: object
  16846. models.QhjSiteColumnDetail:
  16847. properties:
  16848. author:
  16849. description: 作者
  16850. type: string
  16851. brief:
  16852. description: 简介
  16853. type: string
  16854. columnid:
  16855. description: 所属栏目
  16856. type: integer
  16857. context:
  16858. description: 内容
  16859. type: string
  16860. coverimage:
  16861. description: 封面图片
  16862. type: string
  16863. creaedate:
  16864. description: 创建时间
  16865. type: string
  16866. creatorid:
  16867. description: 创建人
  16868. type: integer
  16869. hits:
  16870. description: 点击数
  16871. type: integer
  16872. id:
  16873. description: ID(SEQ_SITE_COLUMNDETAIL)
  16874. type: integer
  16875. isshow:
  16876. description: 是否展示 - 0:不展示 1:展示
  16877. type: integer
  16878. istop:
  16879. description: 是否置顶 - 0:不置 1:置顶
  16880. type: integer
  16881. modifierid:
  16882. description: 操作人
  16883. type: integer
  16884. publishdate:
  16885. description: 发布日期
  16886. type: string
  16887. status:
  16888. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16889. type: integer
  16890. title:
  16891. description: 标题
  16892. type: string
  16893. updatedate:
  16894. description: 修改时间
  16895. type: string
  16896. userid:
  16897. description: 用户ID(默认为0, 核心为为机构用户ID)
  16898. type: integer
  16899. username:
  16900. description: 用户名称
  16901. type: string
  16902. type: object
  16903. models.QhjTeamOrder:
  16904. properties:
  16905. accountid:
  16906. description: 账户ID[报价币种]
  16907. type: integer
  16908. accountname:
  16909. description: 账户名称
  16910. type: string
  16911. agreeunit:
  16912. description: 合约乘数
  16913. type: number
  16914. buyorsell:
  16915. description: 方向 - 0:买 1:卖
  16916. type: integer
  16917. decimalplace:
  16918. description: 报价小数位
  16919. type: integer
  16920. enumdicname:
  16921. description: 单位名称
  16922. type: string
  16923. goodscode:
  16924. description: 商品代码(内部)
  16925. type: string
  16926. goodsid:
  16927. description: 商品ID
  16928. type: integer
  16929. goodsname:
  16930. description: 商品名称
  16931. type: string
  16932. goodunitid:
  16933. description: 报价单位ID
  16934. type: integer
  16935. marketid:
  16936. description: 市场ID
  16937. type: integer
  16938. marketname:
  16939. description: 市场名称
  16940. type: string
  16941. qtydecimalplace:
  16942. description: 成交量小数位
  16943. type: integer
  16944. refereeuserid:
  16945. description: 推荐人ID
  16946. type: integer
  16947. tradeamount:
  16948. description: 成交金额[账户币种,用于所有权]
  16949. type: number
  16950. tradedate:
  16951. description: 交易日(yyyyMMdd)
  16952. type: string
  16953. trademode:
  16954. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16955. 21:竞拍-大宗式 22:受托竞价
  16956. type: integer
  16957. tradeprice:
  16958. description: 成交价格
  16959. type: number
  16960. tradeqty:
  16961. description: 成交数量
  16962. type: number
  16963. tradetime:
  16964. description: 成交时间
  16965. type: string
  16966. userid:
  16967. description: 用户ID
  16968. type: integer
  16969. type: object
  16970. models.QhjTradeGoodsPickup:
  16971. properties:
  16972. accountid:
  16973. description: 账户ID
  16974. type: integer
  16975. address:
  16976. description: 提货人详细地址
  16977. type: string
  16978. amount:
  16979. description: 提货金额
  16980. type: number
  16981. artradedate:
  16982. description: 自动收货交易日(yyyyMMdd)
  16983. type: string
  16984. auditer:
  16985. description: 审核人
  16986. type: integer
  16987. auditsrc:
  16988. description: 更新来源 - 1:管理端 2:终端
  16989. type: integer
  16990. audittime:
  16991. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16992. type: string
  16993. audittradedate:
  16994. description: 审核交易日(yyyyMMdd)
  16995. type: string
  16996. cardnum:
  16997. description: 提货人证件号码
  16998. type: string
  16999. cardtypeid:
  17000. description: 提货人证件类型
  17001. type: integer
  17002. checkremark:
  17003. description: 审核备注
  17004. type: string
  17005. cityid:
  17006. description: 市
  17007. type: integer
  17008. cityname:
  17009. description: 城市名称
  17010. type: string
  17011. confirmtime:
  17012. description: 取货时间 或 收货时间
  17013. type: string
  17014. countryid:
  17015. description: 国家
  17016. type: integer
  17017. countryname:
  17018. description: 国家名称
  17019. type: string
  17020. decimalplace:
  17021. description: 商品报价小数位
  17022. type: integer
  17023. districtid:
  17024. description: 地区
  17025. type: integer
  17026. districtname:
  17027. description: 地区名称
  17028. type: string
  17029. enumdicname:
  17030. description: 单位名称(提货商品)
  17031. type: string
  17032. expresscompany:
  17033. description: 物流公司
  17034. type: string
  17035. expressnum:
  17036. description: 物流单号
  17037. type: string
  17038. goodsagreeunit:
  17039. description: 交易商品乘数
  17040. type: number
  17041. goodscode:
  17042. description: 商品代码
  17043. type: string
  17044. goodsid:
  17045. description: 商品ID
  17046. type: integer
  17047. goodsname:
  17048. description: 商品名称
  17049. type: string
  17050. goodsqty:
  17051. description: 交易商品手数(69模式按成交量小数位放大取整)
  17052. type: number
  17053. handlestatus:
  17054. description: 处理状态
  17055. type: integer
  17056. logincode:
  17057. description: 账号(登录代码, 有可能为空)
  17058. type: string
  17059. marketid:
  17060. description: 市场ID
  17061. type: integer
  17062. phonenum:
  17063. description: 提货人联系方式
  17064. type: string
  17065. pickupgoodsagreeunit:
  17066. description: 提货商品合约乘数
  17067. type: number
  17068. pickupgoodsid:
  17069. description: 提货商品ID
  17070. type: string
  17071. pickupgoodsname:
  17072. description: 提货商品名称
  17073. type: string
  17074. pickupgoodsqty:
  17075. description: 提货商品手数(数量)
  17076. type: number
  17077. pickupgoodsunitid:
  17078. description: 单位ID(提货商品)
  17079. type: integer
  17080. pickupratio:
  17081. description: 提货系数
  17082. type: number
  17083. preparedays:
  17084. description: 备货期(天)-提货单明细表
  17085. type: integer
  17086. provinceid:
  17087. description: 省
  17088. type: integer
  17089. provincename:
  17090. description: 省名称
  17091. type: string
  17092. qty:
  17093. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  17094. type: number
  17095. qtydecimalplace:
  17096. description: 商品数量小数位
  17097. type: integer
  17098. recivername:
  17099. description: 提货人姓名
  17100. type: string
  17101. reqtime:
  17102. description: 提货申请时间
  17103. type: string
  17104. storeuserid:
  17105. description: 门店用户ID (千海金)
  17106. type: integer
  17107. storeusername:
  17108. description: 门店用户名称
  17109. type: string
  17110. takemode:
  17111. description: 提货方式 - 2:自提 3:配送(邮寄)
  17112. type: integer
  17113. takeorderid:
  17114. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17115. type: string
  17116. takeorderstatus:
  17117. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  17118. 7:已拒绝 8:已撤销
  17119. type: integer
  17120. takeremark:
  17121. description: 提货备注
  17122. type: string
  17123. tradedate:
  17124. description: 交易日(yyyyMMdd)
  17125. type: string
  17126. updatetime:
  17127. description: 更新时间
  17128. type: string
  17129. userid:
  17130. description: 用户ID
  17131. type: integer
  17132. userinfotype:
  17133. description: 客户类型 1-个人 2-企业
  17134. type: integer
  17135. username:
  17136. description: 用户名称
  17137. type: string
  17138. type: object
  17139. models.QhjUserNodeCfgAndStatus:
  17140. properties:
  17141. agreementcontent:
  17142. description: 协议内容
  17143. type: string
  17144. agreementid:
  17145. description: 协议ID
  17146. type: integer
  17147. agreementname:
  17148. description: 协议名称
  17149. type: string
  17150. agreementno:
  17151. description: 协议编号
  17152. type: string
  17153. agreementtype:
  17154. description: 协议类型 - 1:注册 2:登录 3:交易
  17155. type: integer
  17156. agreementversion:
  17157. description: 协议版本号
  17158. type: integer
  17159. configid:
  17160. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17161. type: integer
  17162. createtime:
  17163. description: 创建时间
  17164. type: string
  17165. goodsid:
  17166. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17167. type: integer
  17168. nodetype:
  17169. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17170. type: integer
  17171. signtimestamp:
  17172. description: 签约状态时间戳(最近一次)
  17173. type: string
  17174. tradedate:
  17175. description: 签约交易日(yyyyMMdd)
  17176. type: string
  17177. userid:
  17178. description: 客户ID
  17179. type: integer
  17180. type: object
  17181. models.Qhjgoodsex:
  17182. properties:
  17183. canfinance:
  17184. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17185. type: integer
  17186. canregularlybuy:
  17187. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17188. type: integer
  17189. defaulttradeuserid:
  17190. description: 默认交易用户ID
  17191. type: integer
  17192. deliverygoodsid:
  17193. description: 现货品种ID
  17194. type: integer
  17195. goodsid:
  17196. description: 商品ID(自增ID SEQ_GOODS)
  17197. type: integer
  17198. minamount:
  17199. description: 最小购买金额
  17200. type: number
  17201. regularlybuyminamount:
  17202. description: 定投最小金额
  17203. type: number
  17204. regularlybuyminqty:
  17205. description: 定投最小数量
  17206. type: number
  17207. spotgoodsbrandid:
  17208. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17209. type: integer
  17210. visibilityforenterprise:
  17211. description: 企业客户是否可见 - 0:不可见 1:可见
  17212. type: integer
  17213. visibilityforpersonal:
  17214. description: 个人客户是否可见 - 0:不可见 1:可见
  17215. type: integer
  17216. wrstandardid:
  17217. description: 现货商品ID
  17218. type: integer
  17219. type: object
  17220. models.QueryErrorInfosRsp:
  17221. properties:
  17222. description:
  17223. description: 异常描述
  17224. type: string
  17225. errorcode:
  17226. description: 异常代码
  17227. type: string
  17228. errorid:
  17229. description: 异常ID
  17230. type: integer
  17231. modulecode:
  17232. description: 所属模块
  17233. type: string
  17234. operatecode:
  17235. description: 所属操作
  17236. type: string
  17237. rownumber:
  17238. description: 行号
  17239. type: string
  17240. required:
  17241. - errorid
  17242. type: object
  17243. models.QueryHedgeOrderDetailRsp:
  17244. properties:
  17245. accountid:
  17246. description: 账户ID
  17247. type: integer
  17248. buyorsell:
  17249. description: 买卖 - 0:买 1:卖
  17250. type: integer
  17251. cancellogincode:
  17252. description: 撤单人
  17253. type: string
  17254. channelbuildtype:
  17255. description: 开平标志 - 0:无 1:建仓 2:平仓
  17256. type: integer
  17257. channelinnerorderstatus:
  17258. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17259. 9:全部成交
  17260. type: integer
  17261. channeloperatetype:
  17262. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17263. type: integer
  17264. closetype:
  17265. description: 平仓方式 - 0:无 1:平今 2:平昨
  17266. type: integer
  17267. curexchangerate:
  17268. description: 当前汇率
  17269. type: number
  17270. decimalplace:
  17271. description: 商品报价小数位
  17272. type: integer
  17273. exchangefullname:
  17274. description: 外部交易所全称
  17275. type: string
  17276. goodscode:
  17277. description: 商品代码(内部)
  17278. type: string
  17279. goodsid:
  17280. description: 商品ID
  17281. type: integer
  17282. goodsname:
  17283. description: 商品名称
  17284. type: string
  17285. marketid:
  17286. description: 市场ID
  17287. type: integer
  17288. openfreezemargin:
  17289. description: 冻结保证金(冻结交易金额)
  17290. type: number
  17291. orderid:
  17292. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17293. type: string
  17294. orderlogincode:
  17295. description: 委托人
  17296. type: string
  17297. orderprice:
  17298. description: 委托价格(账户)
  17299. type: number
  17300. orderqty:
  17301. description: 委托数量
  17302. type: integer
  17303. ordertime:
  17304. description: 委托时间
  17305. type: string
  17306. pricemode:
  17307. description: '取价方式 - 1:市价 2: 限价'
  17308. type: integer
  17309. tradedate:
  17310. description: 交易日(yyyyMMdd)
  17311. type: string
  17312. tradeqty:
  17313. description: 成交数量
  17314. type: integer
  17315. type: object
  17316. models.QueryHedgeTradeDetailRsp:
  17317. properties:
  17318. accountid:
  17319. description: 账号ID
  17320. type: integer
  17321. buyorsell:
  17322. description: 方向 - 0:买 1:卖
  17323. type: integer
  17324. channelbuildtype:
  17325. description: 委托单据类型 0:无 1:建仓 2:平仓
  17326. type: integer
  17327. closecharge:
  17328. description: 平仓手续费(账户)
  17329. type: number
  17330. closecharge2:
  17331. description: 平仓手续费(商品)
  17332. type: number
  17333. closepl:
  17334. description: 平仓盈亏(账户)
  17335. type: number
  17336. closepl2:
  17337. description: 平仓盈亏(商品)
  17338. type: number
  17339. closepl3:
  17340. description: 平仓盈亏(账户)(逐笔)
  17341. type: number
  17342. closepl4:
  17343. description: 平仓盈亏(商品)(逐笔)
  17344. type: number
  17345. closetype:
  17346. description: 平仓方式 - 0:无 1:平今 2:平昨
  17347. type: integer
  17348. curexchangerate:
  17349. description: 当前汇率
  17350. type: number
  17351. decimalplace:
  17352. description: 商品报价小数位
  17353. type: integer
  17354. exchangefullname:
  17355. description: 外部交易所全称
  17356. type: string
  17357. goodscode:
  17358. description: 商品代码(内部)
  17359. type: string
  17360. goodsid:
  17361. description: 商品ID
  17362. type: integer
  17363. goodsname:
  17364. description: 商品名称
  17365. type: string
  17366. marketid:
  17367. description: 市场ID
  17368. type: integer
  17369. opencharge:
  17370. description: 建仓手续费(账户)
  17371. type: number
  17372. opencharge2:
  17373. description: 建仓手续费(商品)
  17374. type: number
  17375. orderid:
  17376. description: 委托单号
  17377. type: string
  17378. orderlogincode:
  17379. description: 委托人
  17380. type: string
  17381. tradeamount:
  17382. description: 成交金额(账户)
  17383. type: number
  17384. tradedate:
  17385. description: 交易日(yyyyMMdd)
  17386. type: string
  17387. tradeid:
  17388. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17389. type: string
  17390. tradeprice:
  17391. description: 成交价格
  17392. type: number
  17393. tradeqty:
  17394. description: 成交数量
  17395. type: integer
  17396. tradetime:
  17397. description: 成交时间
  17398. type: string
  17399. tradetype:
  17400. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17401. type: integer
  17402. type: object
  17403. models.QuotePrimaryMenu:
  17404. properties:
  17405. Index:
  17406. description: 序号
  17407. type: integer
  17408. Key:
  17409. description: 键名
  17410. type: string
  17411. Name:
  17412. description: 菜单名称
  17413. type: string
  17414. SubMenus:
  17415. description: 子菜单
  17416. items:
  17417. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17418. type: array
  17419. SubTitleType:
  17420. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17421. type: integer
  17422. TradeModes:
  17423. description: 包含市场交易类型
  17424. type: string
  17425. type: object
  17426. models.QuoteSecondaryMenu:
  17427. properties:
  17428. ExExchangeCode:
  17429. description: 外部交易所代码
  17430. type: string
  17431. ExExchangeID:
  17432. description: 外部交易所ID
  17433. type: integer
  17434. GoodsGroupIDs:
  17435. description: 商品组ID列表
  17436. items:
  17437. type: integer
  17438. type: array
  17439. Index:
  17440. description: 序号
  17441. type: integer
  17442. MarketID:
  17443. description: 市场ID
  17444. type: integer
  17445. MenuTitle:
  17446. description: 菜单标题(市场名称或外部交易所名称)
  17447. type: string
  17448. TradeMode:
  17449. description: 交易模式
  17450. type: integer
  17451. type: object
  17452. models.Reckondaytaaccount:
  17453. properties:
  17454. accountid:
  17455. description: 资金账户ID
  17456. type: integer
  17457. accountname:
  17458. description: 账户名称
  17459. type: string
  17460. accountpl:
  17461. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17462. type: number
  17463. avaiablemoney:
  17464. description: 可用资金
  17465. type: number
  17466. avaiableoutmoney:
  17467. description: 可出资金
  17468. type: number
  17469. balance:
  17470. description: 期初余额
  17471. type: number
  17472. capitalbalance:
  17473. description: 本金余额[外部子账户实际出入金余额]
  17474. type: number
  17475. changeflag:
  17476. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17477. type: integer
  17478. clearbalance:
  17479. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17480. type: number
  17481. clearpl:
  17482. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17483. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17484. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17485. type: number
  17486. closepl:
  17487. description: 今日平仓盈亏
  17488. type: number
  17489. closepl2:
  17490. description: 平仓盈亏(逐笔)
  17491. type: number
  17492. creditdecrease:
  17493. description: 今日授信减少
  17494. type: number
  17495. creditincrease:
  17496. description: 今日授信增加
  17497. type: number
  17498. curdebt:
  17499. description: 期末欠款
  17500. type: number
  17501. currencyid:
  17502. description: 货币ID
  17503. type: integer
  17504. currentbalance:
  17505. description: 期末余额
  17506. type: number
  17507. cycletype:
  17508. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17509. type: integer
  17510. defercharge:
  17511. description: 今日递延费2支出[111, 112]
  17512. type: number
  17513. deliveryamountin:
  17514. description: 今日交收货款收入
  17515. type: number
  17516. deliveryamountout:
  17517. description: 今日交收货款支出
  17518. type: number
  17519. deliverycharge:
  17520. description: 今日交收手续费支出 [105,106]
  17521. type: number
  17522. deliverycompensationfeein:
  17523. description: 今日交收补偿费收入
  17524. type: number
  17525. deliverycompensationfeeout:
  17526. description: 今日交收补偿费支出
  17527. type: number
  17528. dividedcharge:
  17529. description: 今日已收手续费分成
  17530. type: number
  17531. floatnetvalue:
  17532. description: 浮动净值 = 净值 + 浮动盈亏
  17533. type: number
  17534. floatpl:
  17535. description: 浮动盈亏 - 每日有负债类商品
  17536. type: number
  17537. freezecharge:
  17538. description: 手续费冻结
  17539. type: number
  17540. freezemargin:
  17541. description: 冻结保证金
  17542. type: number
  17543. fromaccountid:
  17544. description: 所属上级账户
  17545. type: integer
  17546. holdcharge:
  17547. description: 今日持仓过夜费支出[108,109,110]
  17548. type: number
  17549. inamount:
  17550. description: 今日入金金额
  17551. type: number
  17552. interestcharge:
  17553. description: 今日递延费支出[103, 104]
  17554. type: number
  17555. ismain:
  17556. description: 是否账号 0:不是母账户 1:是母账户
  17557. type: integer
  17558. ismarketaccount:
  17559. description: 是否机构接单账号 0:不是 1:是
  17560. type: integer
  17561. isreckonaccount:
  17562. description: 是否机构分润账号 0:不是 1:是
  17563. type: integer
  17564. mortgagecredit:
  17565. description: 授信金额
  17566. type: number
  17567. netvalue:
  17568. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17569. type: number
  17570. oridebt:
  17571. description: 期初欠款
  17572. type: number
  17573. orifreezecharge:
  17574. description: 期初手续费冻结
  17575. type: number
  17576. orifreezemargin:
  17577. description: 期初冻结保证金
  17578. type: number
  17579. orimortgagecredit:
  17580. description: 期初授信金额
  17581. type: number
  17582. oriothercredit:
  17583. description: 期初其它授信金额
  17584. type: number
  17585. oriotherfreezemargin:
  17586. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17587. type: number
  17588. orioutamountfreeze:
  17589. description: 期初出金冻结
  17590. type: number
  17591. oriusedmargin:
  17592. description: 期初占用保证金
  17593. type: number
  17594. othercredit:
  17595. description: 其它授信金额
  17596. type: number
  17597. othercreditdecrease:
  17598. description: 今日其它授信减少
  17599. type: number
  17600. othercreditincrease:
  17601. description: 今日其它授信增加
  17602. type: number
  17603. otherfreezemargin:
  17604. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17605. type: number
  17606. otherincome:
  17607. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17608. type: number
  17609. otherpay:
  17610. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17611. type: number
  17612. outamount:
  17613. description: 今日出金金额
  17614. type: number
  17615. outamountfreeze:
  17616. description: 出金冻结
  17617. type: number
  17618. outthreshold:
  17619. description: 出金阈值
  17620. type: number
  17621. ownershipvalue:
  17622. description: 所有权市值
  17623. type: number
  17624. parentaccountid:
  17625. description: 所属根账户
  17626. type: integer
  17627. password:
  17628. description: 资金密码
  17629. type: string
  17630. paycharge:
  17631. description: 今日手续费支出
  17632. type: number
  17633. paycharge2:
  17634. description: 今日手续费支出(外部配置)
  17635. type: number
  17636. payexchcharge:
  17637. description: 今日应付交易所手续费
  17638. type: number
  17639. reckondate:
  17640. description: 日照日期(yyyyMMdd)
  17641. type: string
  17642. reckonpl:
  17643. description: 今日结算盈亏
  17644. type: number
  17645. reckonpl2:
  17646. description: 结算盈亏(逐笔) - 汇总取期末
  17647. type: number
  17648. relatedaccountstatus:
  17649. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17650. type: integer
  17651. relateuserid:
  17652. description: 关联用户
  17653. type: integer
  17654. riskrate:
  17655. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17656. type: number
  17657. signstatus:
  17658. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17659. type: integer
  17660. spotvalue:
  17661. description: 现货市值-统计服务更新
  17662. type: number
  17663. sublevelpath:
  17664. description: 账号层级路径(逗号分隔,首尾加逗号)
  17665. type: string
  17666. taaccounttype:
  17667. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17668. type: integer
  17669. thirdinamount:
  17670. description: 今日三方入金
  17671. type: number
  17672. thirdoutamount:
  17673. description: 今日三方出金
  17674. type: number
  17675. tradeamount:
  17676. description: 今日成交金额
  17677. type: number
  17678. tradecharge:
  17679. description: 今日交易手续费支出 [101,102]
  17680. type: number
  17681. tradeqty:
  17682. description: 今日成交量
  17683. type: integer
  17684. tradestatus:
  17685. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17686. type: integer
  17687. transferamount:
  17688. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17689. type: number
  17690. usedmargin:
  17691. description: 占用保证金
  17692. type: number
  17693. userid:
  17694. description: 用户ID
  17695. type: integer
  17696. required:
  17697. - userid
  17698. type: object
  17699. models.Reckongzmemtradesum:
  17700. properties:
  17701. buylistingamount:
  17702. description: 买挂牌金额 - 无数据,预留
  17703. type: number
  17704. buylistinglot:
  17705. description: 买挂牌宗数
  17706. type: integer
  17707. buylistingqty:
  17708. description: 买挂牌数量 - 无数据,预留
  17709. type: number
  17710. buytradeamount:
  17711. description: 购买金额
  17712. type: number
  17713. buytradelot:
  17714. description: 购买宗数
  17715. type: integer
  17716. buytradeqty:
  17717. description: 购买数量
  17718. type: number
  17719. marketid:
  17720. description: 市场ID
  17721. type: integer
  17722. reckondate:
  17723. description: 日照日期(yyyyMMdd)
  17724. type: string
  17725. selllistingamount:
  17726. description: 卖挂牌金额
  17727. type: number
  17728. selllistinglot:
  17729. description: 卖挂牌宗数
  17730. type: integer
  17731. selllistingqty:
  17732. description: 卖挂牌数量
  17733. type: number
  17734. selltradeamount:
  17735. description: 销售金额
  17736. type: number
  17737. selltradelot:
  17738. description: 销售宗数
  17739. type: integer
  17740. selltradeqty:
  17741. description: 销售数量
  17742. type: number
  17743. updatetime:
  17744. description: 更新时间
  17745. type: string
  17746. userid:
  17747. description: 用户ID
  17748. type: integer
  17749. zscategory:
  17750. description: 钻石分类 - 枚举”ZSCategory“
  17751. type: integer
  17752. zscategorydisplay:
  17753. type: string
  17754. zscurrencytype:
  17755. description: 货币类型 - 枚举“ZSCurrencyType”
  17756. type: integer
  17757. zscurrencytypedisplay:
  17758. type: string
  17759. zscurrencytypedisplayunit:
  17760. type: string
  17761. required:
  17762. - userid
  17763. type: object
  17764. models.RegisterMoney:
  17765. properties:
  17766. amount:
  17767. description: 红包
  17768. type: number
  17769. type: object
  17770. models.RelatedTaAccount:
  17771. properties:
  17772. accountid:
  17773. description: 资金账户ID
  17774. type: integer
  17775. type: object
  17776. models.RoleMenu:
  17777. properties:
  17778. hasright:
  17779. description: 是否有权限 0-没有权限 1-有权限
  17780. type: integer
  17781. iconame:
  17782. description: 菜单图标
  17783. type: string
  17784. menutype:
  17785. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17786. type: integer
  17787. parentcode:
  17788. description: 上级资源代码
  17789. type: string
  17790. remark:
  17791. description: 菜单备注
  17792. type: string
  17793. resourcecode:
  17794. description: 菜单代码
  17795. type: string
  17796. resourcelevel:
  17797. description: 级别
  17798. type: integer
  17799. resourcename:
  17800. description: 菜单名称
  17801. type: string
  17802. roleid:
  17803. description: 角色id
  17804. type: integer
  17805. sort:
  17806. description: 排序
  17807. type: integer
  17808. subMenu:
  17809. description: 子级菜单(结构同上层一样, swag解析不出来)
  17810. items:
  17811. $ref: '#/definitions/models.RoleMenu'
  17812. type: array
  17813. url:
  17814. description: URL
  17815. type: string
  17816. userid:
  17817. description: 用户id
  17818. type: integer
  17819. type: object
  17820. models.SearchGoods:
  17821. properties:
  17822. goodscode:
  17823. description: 商品代码(内部)
  17824. type: string
  17825. goodsid:
  17826. description: 商品ID(自增ID SEQ_GOODS)
  17827. type: integer
  17828. goodsname:
  17829. description: 商品名称
  17830. type: string
  17831. marketid:
  17832. description: 所属市场ID
  17833. type: integer
  17834. marketname:
  17835. description: 市场名称
  17836. type: string
  17837. trademode:
  17838. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17839. 21:竞拍-大宗式 22:受托竞价
  17840. type: integer
  17841. required:
  17842. - goodscode
  17843. - goodsid
  17844. - goodsname
  17845. - marketid
  17846. - trademode
  17847. type: object
  17848. models.SellOrder:
  17849. properties:
  17850. accountid:
  17851. description: 资金账号
  17852. type: integer
  17853. applyid:
  17854. description: 申请单ID
  17855. type: integer
  17856. attachment1:
  17857. description: 附件1
  17858. type: string
  17859. attachment2:
  17860. description: 附件2
  17861. type: string
  17862. buyorsell:
  17863. description: 买卖 - 0:买 1:卖
  17864. type: integer
  17865. canbargain:
  17866. description: 是否可议价 - 0:不可 1:可
  17867. type: integer
  17868. cancelqty:
  17869. description: 撤销数量
  17870. type: integer
  17871. canceltime:
  17872. description: 撤销时间
  17873. type: string
  17874. cerno:
  17875. type: string
  17876. chargealgorithm:
  17877. description: 手续费收取方式 1:比率 2:固定
  17878. type: integer
  17879. chargealgorithmvalue:
  17880. description: 手续费设置值(交易所部分)
  17881. type: number
  17882. chargealgorithmvalue2:
  17883. description: 手续费设置值(会员部分)
  17884. type: number
  17885. clientordertime:
  17886. description: 客户端委托时间
  17887. type: string
  17888. cpcertno:
  17889. type: string
  17890. exchangerate:
  17891. description: 汇率[67]
  17892. type: number
  17893. firstratio:
  17894. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17895. type: number
  17896. fixedprice:
  17897. description: '[克拉单价]固定价格 - [挂牌]'
  17898. type: number
  17899. freezecharge:
  17900. description: 冻结手续费
  17901. type: number
  17902. freezefirstamount:
  17903. description: 冻结首付金额 - [摘牌]
  17904. type: number
  17905. freezemargin:
  17906. description: 冻结保证金
  17907. type: number
  17908. goodsno:
  17909. description: 商品编号
  17910. type: string
  17911. imagepath:
  17912. type: string
  17913. isQueryDiamond:
  17914. description: 是否钻石查询
  17915. type: boolean
  17916. isspecified:
  17917. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17918. type: integer
  17919. kppath:
  17920. type: string
  17921. kpweight:
  17922. type: string
  17923. marginalgorithm:
  17924. description: 保证金方式 - 1:比率 2:固定
  17925. type: integer
  17926. marginvalue:
  17927. description: 保证金设置值
  17928. type: number
  17929. marketid:
  17930. description: 市场ID
  17931. type: integer
  17932. marketprice:
  17933. type: string
  17934. orderamount:
  17935. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17936. type: number
  17937. ordertime:
  17938. description: 委托时间
  17939. type: string
  17940. performancetemplateid:
  17941. description: 履约计划模板ID
  17942. type: integer
  17943. price:
  17944. description: 价格
  17945. type: number
  17946. pricefactor:
  17947. description: 价格系数(浮动价时填写) - [挂牌]
  17948. type: number
  17949. pricemove:
  17950. description: 升贴水(浮动价时填写) - [挂牌]
  17951. type: number
  17952. priceper:
  17953. type: string
  17954. relatedwrtradeorderid:
  17955. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17956. type: integer
  17957. remainqty:
  17958. description: 剩余重量
  17959. type: number
  17960. remark:
  17961. type: string
  17962. retcode:
  17963. description: 错误代码
  17964. type: integer
  17965. sellusername:
  17966. description: 卖方(查询字段-模糊查询)
  17967. type: string
  17968. settingmaterial:
  17969. description: 镶嵌材料
  17970. type: string
  17971. size1:
  17972. type: string
  17973. size2:
  17974. type: string
  17975. size3:
  17976. type: string
  17977. sizedisplay:
  17978. description: 尺寸
  17979. type: string
  17980. stonedesc:
  17981. description: 配石描述
  17982. type: string
  17983. totalqty:
  17984. description: 总重量
  17985. type: number
  17986. tradedate:
  17987. description: 交易日(yyyyMMdd)
  17988. type: string
  17989. tradeprice:
  17990. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17991. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17992. type: number
  17993. unfreezecharge:
  17994. description: 解冻手续费
  17995. type: number
  17996. unfreezefirstamount:
  17997. description: 解冻首付金额 - [摘牌]
  17998. type: number
  17999. unfreezemargin:
  18000. description: 解冻保证金
  18001. type: number
  18002. userid:
  18003. description: 用户ID
  18004. type: integer
  18005. uuid:
  18006. description: 发起端唯一id
  18007. type: string
  18008. validtime:
  18009. description: 有效期限
  18010. type: string
  18011. validtype:
  18012. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18013. type: integer
  18014. warehousenamedisplay:
  18015. type: string
  18016. wrbargainid:
  18017. description: 议价申请单ID
  18018. type: integer
  18019. wrfactortypeid:
  18020. description: 仓单要素类型ID/商品ID(77)
  18021. type: integer
  18022. wrpath:
  18023. type: string
  18024. wrpricetype:
  18025. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18026. type: integer
  18027. wrstandardid:
  18028. description: 现货商品ID
  18029. type: integer
  18030. wrtradeorderid:
  18031. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18032. type: string
  18033. wrtradeorderstatus:
  18034. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败
  18035. type: integer
  18036. wrtradetype:
  18037. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18038. type: integer
  18039. wrtransferuserid:
  18040. description: 仓单受让用户 - [摘牌]
  18041. type: integer
  18042. zscategory:
  18043. description: 钻石分类 - 枚举”ZSCategory“
  18044. type: integer
  18045. zscategorydisplay:
  18046. description: 钻石分类 - 描述
  18047. type: string
  18048. zscerttypedisplay:
  18049. type: string
  18050. zsclaritytype1display:
  18051. type: string
  18052. zsclaritytype2display:
  18053. type: string
  18054. zscolortype1display:
  18055. type: string
  18056. zscolortype2display:
  18057. type: string
  18058. zscrystaltype:
  18059. type: string
  18060. zscrystaltypedisplay:
  18061. type: string
  18062. zscurrencytype:
  18063. description: 货币类型 - 枚举“ZSCurrencyType”
  18064. type: integer
  18065. zscurrencytypedisplay:
  18066. type: string
  18067. zscurrencytypedisplayunit:
  18068. type: string
  18069. zscuttype1display:
  18070. type: string
  18071. zscuttype2display:
  18072. type: string
  18073. zsczcolor1typedisplay:
  18074. type: string
  18075. zsczcolor2typedisplay:
  18076. type: string
  18077. zsczcolor3typedisplay:
  18078. type: string
  18079. zsfluorescencetype1display:
  18080. type: string
  18081. zsfluorescencetype2display:
  18082. type: string
  18083. zspolishtype1display:
  18084. type: string
  18085. zspolishtype2display:
  18086. type: string
  18087. zsshapetypedisplay:
  18088. type: string
  18089. zsstyletypedisplay:
  18090. type: string
  18091. zssymmetrytype1display:
  18092. type: string
  18093. zssymmetrytype2display:
  18094. type: string
  18095. type: object
  18096. models.SellOrderQueryReq:
  18097. properties:
  18098. origin:
  18099. description: 原产地
  18100. type: string
  18101. page:
  18102. description: 页码
  18103. type: integer
  18104. pagesize:
  18105. description: 每页大小
  18106. type: integer
  18107. total:
  18108. description: 总条数
  18109. type: integer
  18110. warehouseid:
  18111. description: 仓库ID
  18112. type: integer
  18113. weight1:
  18114. description: 总重量(克拉重量)-从
  18115. type: number
  18116. weight2:
  18117. description: 总重量(克拉重量)-至
  18118. type: number
  18119. weightavg1:
  18120. description: 平均单颗重量-从
  18121. type: number
  18122. weightavg2:
  18123. description: 平均单颗重量-至
  18124. type: number
  18125. zscategory:
  18126. description: 钻石分类 - 枚举”ZSCategory“
  18127. type: integer
  18128. zscerttype:
  18129. description: 证书类型
  18130. items:
  18131. type: string
  18132. type: array
  18133. zsclaritytype:
  18134. description: 净度
  18135. items:
  18136. type: integer
  18137. type: array
  18138. zscolortype:
  18139. description: 颜色
  18140. items:
  18141. type: integer
  18142. type: array
  18143. zscurrencytype:
  18144. description: 货币类型 - 枚举“ZSCurrencyType”
  18145. items:
  18146. type: string
  18147. type: array
  18148. zscuttype:
  18149. description: 切工
  18150. items:
  18151. type: integer
  18152. type: array
  18153. zsczcolor1type:
  18154. description: 彩钻颜色1
  18155. items:
  18156. type: string
  18157. type: array
  18158. zsfluorescencetype:
  18159. description: 荧光
  18160. items:
  18161. type: integer
  18162. type: array
  18163. zspolishtype:
  18164. description: 抛光度
  18165. items:
  18166. type: integer
  18167. type: array
  18168. zsshapetype:
  18169. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18170. items:
  18171. type: string
  18172. type: array
  18173. zsstyletype:
  18174. description: 款式
  18175. items:
  18176. type: string
  18177. type: array
  18178. zssymmetrytype:
  18179. description: 对称度
  18180. items:
  18181. type: integer
  18182. type: array
  18183. required:
  18184. - zscategory
  18185. type: object
  18186. models.Sitecolumnconfig:
  18187. properties:
  18188. columnname:
  18189. description: 栏目名称
  18190. type: string
  18191. columntype:
  18192. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18193. type: integer
  18194. creaedate:
  18195. description: 创建时间
  18196. type: string
  18197. creatorid:
  18198. description: 创建人
  18199. type: integer
  18200. id:
  18201. description: ID(SEQ_SITE_COLUMNCONFIG)
  18202. type: integer
  18203. isshow:
  18204. description: 是否展示 - 0:不展示 1:展示
  18205. type: integer
  18206. modifierid:
  18207. description: 操作人
  18208. type: integer
  18209. sort:
  18210. description: 排序
  18211. type: integer
  18212. updatedate:
  18213. description: 修改时间
  18214. type: string
  18215. type: object
  18216. models.Spotgoodsprice:
  18217. properties:
  18218. prespotgoodsprice:
  18219. description: 上日价格
  18220. type: number
  18221. spotgoodsprice:
  18222. description: 当前价格
  18223. type: number
  18224. spotgoodsqty:
  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. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18505. description: 商品信息
  18506. spotgoodspricelogs:
  18507. description: 历史价格走势
  18508. items:
  18509. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18510. type: array
  18511. type: object
  18512. models.THJPresaleApplyDeposit:
  18513. properties:
  18514. depositid:
  18515. description: 自增ID autoid
  18516. type: string
  18517. depositrate:
  18518. description: 定金比例
  18519. type: number
  18520. discountamount:
  18521. description: 优惠金额(每吨)
  18522. type: number
  18523. presaleapplyid:
  18524. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18525. type: string
  18526. type: object
  18527. models.THJProduct:
  18528. properties:
  18529. bannerpicurl:
  18530. description: Banner图(逗号分隔)
  18531. type: string
  18532. pictureurls:
  18533. description: 详情图片(逗号分隔)
  18534. type: string
  18535. thumurls:
  18536. description: 缩略图片(1:1)(逗号分隔)
  18537. type: string
  18538. wrstandardcode:
  18539. description: 现货商品代码
  18540. type: string
  18541. wrstandardid:
  18542. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18543. type: string
  18544. wrstandardname:
  18545. description: 现货商品名称
  18546. type: string
  18547. type: object
  18548. models.THJPurchaseTradeDetail_Date:
  18549. properties:
  18550. depositrate:
  18551. description: 定金比例
  18552. type: number
  18553. enddate:
  18554. description: 预售结束日期
  18555. type: string
  18556. endmonth:
  18557. description: 交收月份(yyyy-mm)
  18558. type: string
  18559. takestartdate:
  18560. description: 提货开始日期
  18561. type: string
  18562. tradeprice:
  18563. description: 摘牌价格
  18564. type: number
  18565. tradeqty:
  18566. description: 摘牌数量
  18567. type: integer
  18568. transferamount:
  18569. description: 转让金额
  18570. type: number
  18571. transferid:
  18572. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18573. type: string
  18574. transferprice:
  18575. description: 转让价格
  18576. type: number
  18577. type: object
  18578. models.THJPurchaseTradeDetail_Goodsinfo:
  18579. properties:
  18580. minivalue:
  18581. description: 最小变动值
  18582. type: integer
  18583. pictureurls:
  18584. description: 详情图片(逗号分隔)
  18585. type: string
  18586. refgoodscode:
  18587. description: 参考商品代码
  18588. type: string
  18589. refgoodsid:
  18590. description: 参考商品ID
  18591. type: integer
  18592. unitid:
  18593. description: 现货商品单位ID
  18594. type: integer
  18595. wrstandardcode:
  18596. description: 现货商品代码
  18597. type: string
  18598. wrstandardid:
  18599. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18600. type: integer
  18601. wrstandardname:
  18602. description: 现货商品名称(模糊查询)
  18603. type: string
  18604. type: object
  18605. models.THJPurchaseTradeDetailRsp:
  18606. properties:
  18607. deliverydate:
  18608. description: 交割日期
  18609. items:
  18610. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18611. type: array
  18612. goodsinfo:
  18613. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18614. description: 商品信息
  18615. history:
  18616. description: 历史价格走势(历史数据日线)
  18617. items:
  18618. $ref: '#/definitions/models.HistoryData'
  18619. type: array
  18620. type: object
  18621. models.THJSigninReq:
  18622. properties:
  18623. userid:
  18624. description: 用户ID
  18625. type: integer
  18626. required:
  18627. - userid
  18628. type: object
  18629. models.THJSigninRsp:
  18630. properties:
  18631. signinstatus:
  18632. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18633. type: integer
  18634. type: object
  18635. models.THJSpotGoodsPriceLog:
  18636. properties:
  18637. spotgoodsprice:
  18638. description: 现货价格
  18639. type: number
  18640. tradedate:
  18641. description: 交易日(yyyyMMdd)
  18642. type: string
  18643. type: object
  18644. models.THJTradeData:
  18645. properties:
  18646. accountname:
  18647. description: 被推荐人
  18648. type: string
  18649. buytradelot:
  18650. description: 购买笔数
  18651. type: integer
  18652. buytradeqty:
  18653. description: 购买数量
  18654. type: number
  18655. marketid:
  18656. description: 市场ID 采购-64201 供求-65201
  18657. type: integer
  18658. reckondate:
  18659. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18660. type: string
  18661. selltradelot:
  18662. description: 销售笔数
  18663. type: integer
  18664. selltradeqty:
  18665. description: 销售数量
  18666. type: number
  18667. userid:
  18668. description: 用户ID
  18669. type: integer
  18670. wrstandardname:
  18671. description: 现货商品名称
  18672. type: string
  18673. required:
  18674. - marketid
  18675. - userid
  18676. type: object
  18677. models.THJUserLevelInfo:
  18678. properties:
  18679. appup:
  18680. description: 晋升已累计的数量
  18681. type: integer
  18682. checkday:
  18683. description: 最近一次考核日
  18684. type: string
  18685. levelgroup:
  18686. description: 当前等级
  18687. type: string
  18688. nextlevelgroup:
  18689. description: 下一等级
  18690. type: string
  18691. notyet:
  18692. description: 晋升还差多少数量
  18693. type: integer
  18694. progress:
  18695. description: 进度
  18696. type: number
  18697. type: object
  18698. models.THJWrstandard:
  18699. properties:
  18700. areauserid:
  18701. description: 所属机构
  18702. type: integer
  18703. bannerpicurl:
  18704. description: Banner图(逗号分隔)
  18705. type: string
  18706. convertfactor:
  18707. description: 标仓系数
  18708. type: number
  18709. deliverygoodsid:
  18710. description: 现货品种ID
  18711. type: integer
  18712. isvalid:
  18713. description: 是否有效 - 0:无效 1:有效
  18714. type: integer
  18715. minivalue:
  18716. description: 最小变动值
  18717. type: integer
  18718. minivaluedp:
  18719. description: 最小变动值小数位
  18720. type: integer
  18721. pictureurls:
  18722. description: 详情图片(逗号分隔)
  18723. type: string
  18724. realminivalue:
  18725. description: 实际最小变动值
  18726. type: integer
  18727. realminivaluedp:
  18728. description: 实际最小变动值小数位
  18729. type: integer
  18730. storagefee:
  18731. description: '仓储费(固定: 111)'
  18732. type: number
  18733. thumurls:
  18734. description: 缩略图片(1:1)(逗号分隔)
  18735. type: string
  18736. unitid:
  18737. description: 现货商品单位ID
  18738. type: integer
  18739. vatrate:
  18740. description: 现货增值税率
  18741. type: number
  18742. wrsstatus:
  18743. description: 状态 - 作废 - 0:未激活 1:正常
  18744. type: integer
  18745. wrstandardcode:
  18746. description: 现货商品代码
  18747. type: string
  18748. wrstandardid:
  18749. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18750. type: integer
  18751. wrstandardname:
  18752. description: 现货商品名称(模糊查询)
  18753. type: string
  18754. type: object
  18755. models.THJWrstandardDetail_GoodsInfo:
  18756. properties:
  18757. bannerpicurl:
  18758. description: Banner图(逗号分隔)
  18759. type: string
  18760. pictureurls:
  18761. description: 详情图片(逗号分隔)
  18762. type: string
  18763. spotgoodsprice:
  18764. description: 现货价格
  18765. type: number
  18766. unitid:
  18767. description: 现货商品单位ID
  18768. type: integer
  18769. wrstandardcode:
  18770. description: 现货商品代码
  18771. type: string
  18772. wrstandardid:
  18773. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18774. type: integer
  18775. wrstandardname:
  18776. description: 现货商品名称
  18777. type: string
  18778. type: object
  18779. models.THJWrstandardDetailRsp:
  18780. properties:
  18781. deliverymodes:
  18782. description: 交割方式
  18783. items:
  18784. $ref: '#/definitions/models.THJDeliveryMode'
  18785. type: array
  18786. deliverymonth:
  18787. description: 交割月份
  18788. items:
  18789. $ref: '#/definitions/models.THJDeliveryMonth'
  18790. type: array
  18791. goodsinfo:
  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.Thjspotquoteconfig:
  19408. properties:
  19409. autoid:
  19410. description: 自增ID(SEQ_THJ_SPOTQUOTECONFIG)
  19411. type: integer
  19412. relatedid:
  19413. description: 关联新闻ID(Site_ColumnDetail)
  19414. type: integer
  19415. spotmonth:
  19416. description: 现货月份(yyyy-MM)
  19417. type: string
  19418. spotname:
  19419. description: 现货名称
  19420. type: string
  19421. spotprice:
  19422. description: 现货招标价
  19423. type: string
  19424. spotqty:
  19425. description: 现货采购量
  19426. type: string
  19427. spotsrc:
  19428. description: 现货来源
  19429. type: string
  19430. updatetime:
  19431. description: 更新时间
  19432. type: string
  19433. type: object
  19434. models.TjmdHolderDetailTradeInfo:
  19435. properties:
  19436. agreeunit:
  19437. description: 合约乘数
  19438. type: number
  19439. buyaccountid:
  19440. description: 买方账户
  19441. type: string
  19442. buyusername:
  19443. description: 买方
  19444. type: string
  19445. delistingdate:
  19446. description: 最后结算日
  19447. type: string
  19448. expiredate:
  19449. description: 到期结算价定价日
  19450. type: string
  19451. exprieprice:
  19452. description: 到期清算价格
  19453. type: string
  19454. goodscode:
  19455. description: 商品代码
  19456. type: string
  19457. goodsid:
  19458. description: 商品ID
  19459. type: integer
  19460. goodsname:
  19461. description: 商品名称(交易标的)
  19462. type: string
  19463. lasttradedate:
  19464. description: 最后交易日
  19465. type: string
  19466. listingdate:
  19467. description: 开始交易日
  19468. type: string
  19469. openprice:
  19470. description: 成交价
  19471. type: number
  19472. openqty:
  19473. description: 交易数量
  19474. type: integer
  19475. sellaccountid:
  19476. description: 卖方账户
  19477. type: string
  19478. sellusername:
  19479. description: 卖方
  19480. type: string
  19481. tradeamount:
  19482. description: 初始名义价值
  19483. type: number
  19484. tradedate:
  19485. description: 成交日期
  19486. type: string
  19487. tradeid:
  19488. description: 成交编号
  19489. type: string
  19490. type: object
  19491. models.TjmdMarketSection:
  19492. properties:
  19493. marketsectionid:
  19494. description: 市场版块ID(SEQ_MARKETSECTION)
  19495. type: integer
  19496. marketsectionname:
  19497. description: 市场版块名称
  19498. type: string
  19499. mlist:
  19500. description: 市场列表(板块下面有多少个市场)
  19501. items:
  19502. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19503. type: array
  19504. orderindex:
  19505. description: 排序
  19506. type: integer
  19507. pictureurl:
  19508. description: 图片url, 规格(90*90)
  19509. type: string
  19510. remark:
  19511. description: 备注
  19512. type: string
  19513. type: object
  19514. models.TjmdMarketSectionConfig:
  19515. properties:
  19516. auctionwrtype:
  19517. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19518. type: integer
  19519. canacceptquote:
  19520. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19521. type: integer
  19522. cangoodsexercise:
  19523. description: '[期权]是否可现货行权- 0:否 1:是'
  19524. type: integer
  19525. cangoodsexercisetype:
  19526. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19527. type: integer
  19528. canmanualquotestrike:
  19529. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19530. type: integer
  19531. canmutistage:
  19532. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19533. type: integer
  19534. canpreexercise:
  19535. description: '[期权]是否可预申报- 0:否 1:是'
  19536. type: integer
  19537. clearinterval:
  19538. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19539. type: integer
  19540. contracttmp:
  19541. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19542. type: string
  19543. exchareaid:
  19544. description: 所属交易所,可以没有
  19545. type: integer
  19546. financemarketid:
  19547. description: 融资回购市场ID [仓单贸易]
  19548. type: integer
  19549. goodstype:
  19550. description: 商品类型 - 1:交易商品 2:仓单商品
  19551. type: integer
  19552. hasrebate:
  19553. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19554. type: integer
  19555. hastradecredit:
  19556. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19557. type: integer
  19558. haswr:
  19559. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19560. type: integer
  19561. isdeductmargin:
  19562. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19563. type: integer
  19564. isrecordsource:
  19565. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19566. type: integer
  19567. isreleasemargin:
  19568. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19569. type: integer
  19570. isupdatereckonprice:
  19571. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19572. type: integer
  19573. listingmode:
  19574. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19575. type: integer
  19576. marginformula:
  19577. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19578. type: integer
  19579. marginformula2:
  19580. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19581. type: integer
  19582. marketid:
  19583. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19584. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19585. type: integer
  19586. marketname:
  19587. description: 市场名称
  19588. type: string
  19589. marketsectionid:
  19590. description: 市场版块ID(SEQ_MARKETSECTION)
  19591. type: integer
  19592. marketserviceid:
  19593. description: 市场服务ID
  19594. type: integer
  19595. marketstatus:
  19596. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19597. type: integer
  19598. markettype:
  19599. description: 市场类型- 1:非交易服务 2:交易服务
  19600. type: integer
  19601. matchermode:
  19602. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19603. type: integer
  19604. nowrquotaflag:
  19605. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19606. type: integer
  19607. openmethod:
  19608. description: 开盘模式 - 0 自动 1手动
  19609. type: integer
  19610. orderindex:
  19611. description: 排序
  19612. type: integer
  19613. otcuserid:
  19614. description: 场外期权做市商[场外期权]
  19615. type: integer
  19616. outersynctime:
  19617. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19618. type: string
  19619. paylaterflag:
  19620. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19621. type: integer
  19622. pendingflag:
  19623. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19624. type: integer
  19625. pendingtime:
  19626. description: 待开市时间[通道交易-对冲](HH:mm)
  19627. type: string
  19628. performancetempid:
  19629. description: 履约计划模板ID - 作废
  19630. type: integer
  19631. premiumquotemode:
  19632. description: 权利金报价方式 - 1:自动 2:手动
  19633. type: integer
  19634. rebateratio:
  19635. description: 返利比率[竞价式]
  19636. type: number
  19637. reckonorder:
  19638. description: 结算顺序
  19639. type: integer
  19640. reckonpricealgorithm:
  19641. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19642. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19643. type: integer
  19644. reckonpriceparam:
  19645. description: 结算价参数
  19646. type: integer
  19647. reckontime:
  19648. description: 结算时间[通道交易-对冲](HH:mm)
  19649. type: string
  19650. roleprioritytype:
  19651. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19652. type: integer
  19653. selllistingauditflag:
  19654. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19655. type: integer
  19656. trademarkettype:
  19657. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19658. type: integer
  19659. trademode:
  19660. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19661. 21:竞拍-大宗式 22:受托竞价
  19662. type: integer
  19663. tradeproperty:
  19664. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19665. 8:场外期权
  19666. type: integer
  19667. tradetype:
  19668. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19669. type: integer
  19670. updatereckonpriceinterval:
  19671. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19672. type: integer
  19673. type: object
  19674. models.TjmdQuoteGoods:
  19675. properties:
  19676. buyqty:
  19677. description: 买量(暂不做, 无值, 保留字段)
  19678. type: number
  19679. decimalplace:
  19680. description: 报价小数位
  19681. type: integer
  19682. goodscode:
  19683. description: 合约代码
  19684. type: string
  19685. goodsgroupid:
  19686. description: 商品组ID(自增ID)
  19687. type: integer
  19688. goodsgroupname:
  19689. description: 商品组名称
  19690. type: string
  19691. goodsid:
  19692. description: 合约id
  19693. type: integer
  19694. goodsname:
  19695. description: 合约名称
  19696. type: string
  19697. refgoodscode:
  19698. description: 标的合约代码
  19699. type: string
  19700. refgoodsid:
  19701. description: 标的合约id
  19702. type: integer
  19703. refgoodsname:
  19704. description: 标的合约名称
  19705. type: string
  19706. sellqty:
  19707. description: 卖量(暂不做, 无值, 保留字段)
  19708. type: number
  19709. type: object
  19710. models.TjmdTodayAccountMargin:
  19711. properties:
  19712. accountid:
  19713. description: 账号ID
  19714. type: integer
  19715. goodsid:
  19716. description: 商品ID
  19717. type: integer
  19718. infoc:
  19719. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19720. description: 配置参数
  19721. marketid:
  19722. description: 市场ID
  19723. type: integer
  19724. type: object
  19725. models.TjmdTradeOrderDetail:
  19726. properties:
  19727. buyorsell:
  19728. description: 买卖方向 0-买 1-卖
  19729. type: integer
  19730. goodsid:
  19731. description: 商品id
  19732. type: integer
  19733. marketmaxsub:
  19734. description: 市价最大偏移范围 [浮动价 - 点差]
  19735. type: number
  19736. orderid:
  19737. description: 委托单号
  19738. type: string
  19739. orderprice:
  19740. description: 期初均价
  19741. type: number
  19742. orderqty:
  19743. description: 委托数量
  19744. type: integer
  19745. pricemode:
  19746. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19747. type: integer
  19748. userid:
  19749. description: 用户id
  19750. type: integer
  19751. username:
  19752. description: 用户名称(已脱敏)
  19753. type: string
  19754. type: object
  19755. models.TjmdTransferApply:
  19756. properties:
  19757. applyid:
  19758. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19759. type: integer
  19760. applystatus:
  19761. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19762. type: integer
  19763. applytime:
  19764. description: 申请时间(时间)
  19765. type: string
  19766. auditremark:
  19767. description: 审核备注(拒绝原因?)
  19768. type: string
  19769. begindate:
  19770. description: 开始交易日(yyyymmdd)
  19771. type: string
  19772. buyorsell:
  19773. description: 买卖 - 0:买 1:卖
  19774. type: integer
  19775. enddate:
  19776. description: 结束交易日(yyyymmdd)
  19777. type: string
  19778. goodscode:
  19779. description: 商品代码
  19780. type: string
  19781. goodsid:
  19782. description: 商品ID
  19783. type: integer
  19784. goodsname:
  19785. description: 商品名称
  19786. type: string
  19787. marketid:
  19788. description: 市场ID
  19789. type: integer
  19790. qty:
  19791. description: 期初均价
  19792. type: number
  19793. tradeid:
  19794. description: 成交单号(关联持仓)
  19795. type: string
  19796. transferamount:
  19797. description: 转让总金额(金额)
  19798. type: number
  19799. transferprice:
  19800. description: 转让价格(协议价格)
  19801. type: number
  19802. type: object
  19803. models.TradeHolderDetail:
  19804. properties:
  19805. accountid:
  19806. description: 账号ID
  19807. type: integer
  19808. agreeunit:
  19809. description: 合约乘数
  19810. type: number
  19811. buyorsell:
  19812. description: 方向 - 0:买 1:卖
  19813. type: integer
  19814. currencyid:
  19815. description: 商品币种id
  19816. type: integer
  19817. currencyname:
  19818. description: 币种名称
  19819. type: string
  19820. decimalplace:
  19821. description: 商品价格小数位
  19822. type: integer
  19823. enumdicname:
  19824. description: 商品单位名称
  19825. type: string
  19826. expirecycle:
  19827. description: 行权周期(天) - 1:滚动行权时填写
  19828. type: integer
  19829. expiredate:
  19830. description: 行权日(yyyyMMdd) - 到期日
  19831. type: string
  19832. expiretype:
  19833. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19834. type: integer
  19835. freezeqty:
  19836. description: 期初均价
  19837. type: number
  19838. goodscode:
  19839. description: 商品代码
  19840. type: string
  19841. goodsid:
  19842. description: 商品ID
  19843. type: integer
  19844. goodsname:
  19845. description: 商品名称
  19846. type: string
  19847. goodunitid:
  19848. description: 商品单位id
  19849. type: integer
  19850. holderamount:
  19851. description: 持仓金额
  19852. type: number
  19853. holdercredit:
  19854. description: 持仓授信金额
  19855. type: number
  19856. holderdays:
  19857. description: 剩余冻结天数
  19858. type: integer
  19859. holderprice:
  19860. description: 持仓价格
  19861. type: number
  19862. holderqty:
  19863. description: 期初均价
  19864. type: number
  19865. isconfirmexercise:
  19866. description: 是否确认行权- 0:否 1:是
  19867. type: integer
  19868. ispreexercise:
  19869. description: 是否预申报- 0:否 1:是 2:不可行权
  19870. type: integer
  19871. marketid:
  19872. description: 市场id
  19873. type: integer
  19874. marketname:
  19875. description: 市场名称
  19876. type: string
  19877. openprice:
  19878. description: 建仓价格
  19879. type: number
  19880. openqty:
  19881. description: 期初均价
  19882. type: number
  19883. optiontype:
  19884. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19885. type: integer
  19886. preexerciseprice:
  19887. description: 预申报价格
  19888. type: number
  19889. premium:
  19890. description: 权利金
  19891. type: number
  19892. qtydecimalplace:
  19893. description: 商品成交量小数位
  19894. type: integer
  19895. refgoodscode:
  19896. description: 标的合约代码
  19897. type: string
  19898. refgoodsid:
  19899. description: 标的合约id
  19900. type: integer
  19901. releaseamount:
  19902. description: 释放持仓金额
  19903. type: number
  19904. releaseholdercredit:
  19905. description: 释放持仓授信金额
  19906. type: number
  19907. taname:
  19908. description: 资金账号名称
  19909. type: string
  19910. tradeamount:
  19911. description: 成交金额
  19912. type: number
  19913. tradedate:
  19914. description: 交易日(yyyyMMdd)
  19915. type: string
  19916. tradeid:
  19917. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19918. type: string
  19919. trademode:
  19920. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19921. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19922. type: integer
  19923. tradeproperty:
  19924. description: 交易属性
  19925. type: integer
  19926. tradetime:
  19927. description: 交易时间
  19928. type: string
  19929. userid:
  19930. description: 用户id
  19931. type: integer
  19932. username:
  19933. description: 用户名称
  19934. type: string
  19935. type: object
  19936. models.Unlinkermcphedgeplan:
  19937. properties:
  19938. accountid:
  19939. description: 期货账户ID - 作废
  19940. type: integer
  19941. accountname:
  19942. description: 交易用户
  19943. type: string
  19944. applyid:
  19945. description: 申请人
  19946. type: integer
  19947. applysrc:
  19948. description: 申请来源 - 1:管理端 2:终端
  19949. type: integer
  19950. applytime:
  19951. description: 申请时间
  19952. type: string
  19953. areauserid:
  19954. description: '[企业ID]机构ID'
  19955. type: integer
  19956. auditid:
  19957. description: 审核人
  19958. type: integer
  19959. auditremark:
  19960. description: 审核备注
  19961. type: string
  19962. auditsrc:
  19963. description: 审核来源 - 1:管理端 2:终端
  19964. type: integer
  19965. audittime:
  19966. description: 审核时间
  19967. type: string
  19968. audittradedate:
  19969. description: 审核交易日(yyyyMMdd)
  19970. type: string
  19971. biztype:
  19972. description: 业务类型 - 1:套保
  19973. type: integer
  19974. contracttype:
  19975. description: 计划类型 - 1:采购 -1:销售
  19976. type: integer
  19977. convertfactor:
  19978. description: 标仓系数 - 作废
  19979. type: number
  19980. createtime:
  19981. description: 创建时间
  19982. type: string
  19983. currencyid:
  19984. description: 结算币种ID - 作废
  19985. type: integer
  19986. deliverygoodsid:
  19987. description: 现货品种ID
  19988. type: integer
  19989. enumdicname:
  19990. description: 结算币种
  19991. type: string
  19992. hedgeplanid:
  19993. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19994. type: string
  19995. hedgeplanno:
  19996. description: '[计划编号]套保计划编号,模糊查询'
  19997. type: string
  19998. hedgeplanstatus:
  19999. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  20000. type: integer
  20001. isrelated:
  20002. description: 是否已关联计划项目 - 0:否 1:是
  20003. type: integer
  20004. planqty:
  20005. description: '[计划量]计划数量'
  20006. type: number
  20007. plantime:
  20008. description: 计划时间
  20009. type: string
  20010. producttype:
  20011. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  20012. type: integer
  20013. remark:
  20014. description: 备注
  20015. type: string
  20016. spotgoodsdesc:
  20017. description: 商品型号
  20018. type: string
  20019. tradedate:
  20020. description: 交易日(yyyyMMdd)
  20021. type: string
  20022. tradeuserid:
  20023. description: 交易用户ID
  20024. type: integer
  20025. updatetime:
  20026. description: 更新时间
  20027. type: string
  20028. wrstandardid:
  20029. description: 现货商品ID
  20030. type: integer
  20031. wrstandardname:
  20032. description: 现货商品,模糊查询
  20033. type: string
  20034. required:
  20035. - areauserid
  20036. type: object
  20037. models.UserCollectConfig:
  20038. properties:
  20039. accountstatus:
  20040. description: 账户状态 - 1:正常 2:停用 3:注销
  20041. type: integer
  20042. collectaccountname:
  20043. description: 收款人账户名称
  20044. type: string
  20045. collectaccountno:
  20046. description: 收款人账户
  20047. type: string
  20048. collectbankname:
  20049. description: 收款人开户行
  20050. type: string
  20051. collectbranchbankname:
  20052. description: 收款人开户支行
  20053. type: string
  20054. collectconfigid:
  20055. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20056. type: string
  20057. remark:
  20058. description: 备注
  20059. type: string
  20060. userid:
  20061. description: 收款人用户ID
  20062. type: integer
  20063. type: object
  20064. models.UserReceiveInfo:
  20065. properties:
  20066. address:
  20067. description: 提货人详细地址
  20068. type: string
  20069. autoid:
  20070. description: AutoID
  20071. type: integer
  20072. cardnum:
  20073. description: 证件号码(加密存储)
  20074. type: string
  20075. cardtypeid:
  20076. description: 证件类型
  20077. type: integer
  20078. cityid:
  20079. description: 市
  20080. type: integer
  20081. cityname:
  20082. description: 城市名称
  20083. type: string
  20084. countryid:
  20085. description: 国家
  20086. type: integer
  20087. countryname:
  20088. description: 国家名称
  20089. type: string
  20090. districtid:
  20091. description: 地区
  20092. type: integer
  20093. districtname:
  20094. description: 地区名称
  20095. type: string
  20096. hasencrypt:
  20097. description: 数据是否已加密 - 0:未加密 1:已加密
  20098. type: integer
  20099. isdefault:
  20100. description: 是否默认地址 - 0:否 1:是
  20101. type: integer
  20102. phonenum:
  20103. description: 提货人联系方式(加密存储)
  20104. type: string
  20105. provinceid:
  20106. description: 省
  20107. type: integer
  20108. provincename:
  20109. description: 省名称
  20110. type: string
  20111. receivername:
  20112. description: 提货人姓名
  20113. type: string
  20114. takeremark:
  20115. description: 提货备注
  20116. type: string
  20117. userid:
  20118. description: 用户ID
  20119. type: integer
  20120. type: object
  20121. models.Useraccount:
  20122. properties:
  20123. accountname:
  20124. description: 账户名称(机构名称)
  20125. type: string
  20126. accountstatus:
  20127. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20128. type: integer
  20129. applysrc:
  20130. description: 申请来源 - 1:管理端 2:终端
  20131. type: integer
  20132. auditremark:
  20133. description: 审核备注
  20134. type: string
  20135. auditsrc:
  20136. description: 审核来源 - 1:管理端 2:终端
  20137. type: integer
  20138. audittime:
  20139. description: 审核时间
  20140. type: string
  20141. audituserid:
  20142. description: 审核人
  20143. type: integer
  20144. broker:
  20145. description: 所属经纪人ID
  20146. type: integer
  20147. canceltime:
  20148. description: 销户时间
  20149. type: string
  20150. canceluserid:
  20151. description: 销户人
  20152. type: integer
  20153. canrecommend:
  20154. description: 是否可推荐 - 0:不可 1;可
  20155. type: integer
  20156. createtime:
  20157. description: 创建时间
  20158. type: string
  20159. creatorid:
  20160. description: 创建人
  20161. type: integer
  20162. curscore:
  20163. description: 积分
  20164. type: integer
  20165. hasauth:
  20166. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20167. type: integer
  20168. isanonymous:
  20169. description: 是否匿名下单 - 0:否 1:是
  20170. type: integer
  20171. issigned:
  20172. description: 今日是否已签到
  20173. type: boolean
  20174. maxinvestornum:
  20175. description: 最大用户数(经纪会员下投资者个数)
  20176. type: integer
  20177. memberuserid:
  20178. description: 所属会员ID
  20179. type: integer
  20180. modifierid:
  20181. description: 修改人
  20182. type: integer
  20183. modifyremark:
  20184. description: 变更备注
  20185. type: string
  20186. modifystatus:
  20187. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20188. type: integer
  20189. modifytime:
  20190. description: 修改时间
  20191. type: string
  20192. parenttopuser:
  20193. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20194. type: string
  20195. parentuserid:
  20196. description: 所属机构ID
  20197. type: integer
  20198. reckonaccountid:
  20199. description: 默认结算资金账号ID(机构分润使用) 作废
  20200. type: integer
  20201. refercount:
  20202. description: 推荐总人数
  20203. type: integer
  20204. refereeuserid:
  20205. description: 推荐人ID
  20206. type: integer
  20207. refernum:
  20208. description: 推荐码
  20209. type: string
  20210. rootuserid:
  20211. description: 根用户ID
  20212. type: integer
  20213. subaccountlevel:
  20214. description: 子账户层数
  20215. type: integer
  20216. subarealevelpath:
  20217. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20218. type: string
  20219. todayrefercount:
  20220. description: 今日推荐人数
  20221. type: integer
  20222. userid:
  20223. description: 用户ID
  20224. type: integer
  20225. usertype:
  20226. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20227. type: integer
  20228. required:
  20229. - userid
  20230. type: object
  20231. models.Userfavoritegoods:
  20232. properties:
  20233. goodsid:
  20234. description: 商品ID
  20235. type: integer
  20236. required:
  20237. - goodsid
  20238. type: object
  20239. models.Userinfo:
  20240. properties:
  20241. address:
  20242. description: 地址
  20243. type: string
  20244. attachment1:
  20245. description: 附件1
  20246. type: string
  20247. attachment2:
  20248. description: 附件2
  20249. type: string
  20250. bankaccount:
  20251. description: 银行帐号 (加密存储)
  20252. type: string
  20253. bankaccountname:
  20254. description: 收款人名称
  20255. type: string
  20256. bankcardfrontphotourl:
  20257. description: 银行卡正面照地址
  20258. type: string
  20259. bankid:
  20260. description: 银行编码
  20261. type: string
  20262. bankname:
  20263. description: 银行名称
  20264. type: string
  20265. biznature:
  20266. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20267. type: integer
  20268. bizscope:
  20269. description: 企业经营范围(企业)
  20270. type: string
  20271. cardbackphotourl:
  20272. description: 证件背面图片地址
  20273. type: string
  20274. cardfrontphotourl:
  20275. description: 证件正面图片地址
  20276. type: string
  20277. cardnum:
  20278. description: 证件号码(加密存储)
  20279. type: string
  20280. cardtypeid:
  20281. description: 证件类型ID
  20282. type: integer
  20283. cityid:
  20284. description: 市
  20285. type: integer
  20286. company:
  20287. description: 公司(个人)
  20288. type: string
  20289. contactname:
  20290. description: 联系人
  20291. type: string
  20292. countryid:
  20293. description: 国家
  20294. type: integer
  20295. createtime:
  20296. description: 创建时间
  20297. type: string
  20298. creatorid:
  20299. description: 创建人
  20300. type: integer
  20301. customername:
  20302. description: 客户名称(企业名称)
  20303. type: string
  20304. districtid:
  20305. description: 地区
  20306. type: integer
  20307. email:
  20308. description: 邮件(加密存储)
  20309. type: string
  20310. fax:
  20311. description: 传真(加密存储)
  20312. type: string
  20313. halfbodyphotourl:
  20314. description: 半身照地址
  20315. type: string
  20316. hasencrypt:
  20317. description: 数据是否已加密 - 0:未加密 1:已加密
  20318. type: integer
  20319. headurl:
  20320. description: 头像地址
  20321. type: string
  20322. legalcardbackphotourl:
  20323. description: 法人身份证背面照地址
  20324. type: string
  20325. legalcardfrontphotourl:
  20326. description: 法人身份证正面照地址
  20327. type: string
  20328. legalpersonname:
  20329. description: 法人姓名(企业)
  20330. type: string
  20331. mobile:
  20332. description: 手机号码(加密存储)
  20333. type: string
  20334. mobile2:
  20335. description: 手机号码[明文-尚志]
  20336. type: string
  20337. modifierid:
  20338. description: 修改人
  20339. type: integer
  20340. modifiertime:
  20341. description: 修改时间
  20342. type: string
  20343. needinvoice:
  20344. description: 是否需要发票 - 0:不需要 1:需要
  20345. type: integer
  20346. nickname:
  20347. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20348. type: string
  20349. openmode:
  20350. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20351. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20352. type: integer
  20353. otherurl:
  20354. description: 其它图片地址[使用分号分隔]
  20355. type: string
  20356. postalcode:
  20357. description: 邮政编码
  20358. type: string
  20359. provinceid:
  20360. description: 省
  20361. type: integer
  20362. qq:
  20363. description: QQ(加密存储
  20364. type: string
  20365. remark:
  20366. description: 备注
  20367. type: string
  20368. sex:
  20369. description: '用户性别 0: 女 1: 男'
  20370. type: integer
  20371. signpdfurl:
  20372. description: 签约pdf文件
  20373. type: string
  20374. telphone:
  20375. description: 联系电话(加密存储)
  20376. type: string
  20377. userid:
  20378. description: 用户ID
  20379. type: integer
  20380. userinfotype:
  20381. description: 用户信息类型 - 1:个人 2:企业
  20382. type: integer
  20383. userstatus:
  20384. description: 用户状态 - 1:正常 2:注销
  20385. type: integer
  20386. usertype:
  20387. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20388. type: integer
  20389. wechat:
  20390. description: 微信(加密存储)
  20391. type: string
  20392. wskhinfo:
  20393. description: 开户申请信息(JSON)
  20394. type: string
  20395. required:
  20396. - userid
  20397. type: object
  20398. models.WRPositionReport:
  20399. properties:
  20400. accountid:
  20401. description: 帐户ID
  20402. type: integer
  20403. brandid:
  20404. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20405. type: integer
  20406. buylistinglot:
  20407. description: 买挂牌宗数
  20408. type: integer
  20409. buytradeamount:
  20410. description: 购买金额
  20411. type: number
  20412. buytradelot:
  20413. description: 购买宗数
  20414. type: integer
  20415. buytradeqty:
  20416. description: 购买数量
  20417. type: number
  20418. creditcurqty:
  20419. description: 授信当前数量
  20420. type: integer
  20421. creditfreezeqty:
  20422. description: 授信冻结数量
  20423. type: integer
  20424. credittotalqty:
  20425. description: 授信总数量
  20426. type: integer
  20427. credittradeqty:
  20428. description: 授信成交数量
  20429. type: integer
  20430. decreaseqty:
  20431. description: 今日减少数量
  20432. type: integer
  20433. deliverygoodsid:
  20434. description: 交割商品ID
  20435. type: integer
  20436. deliverymonthid:
  20437. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20438. type: integer
  20439. freezeqty:
  20440. description: 总冻结数量
  20441. type: integer
  20442. increaseqty:
  20443. description: 今日增加数量
  20444. type: integer
  20445. marketvalue:
  20446. description: 市值
  20447. type: number
  20448. pickupqty:
  20449. description: 今日提货数量
  20450. type: integer
  20451. qualityid:
  20452. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20453. type: integer
  20454. reckondate:
  20455. description: 日照时期(yyyyMMdd)
  20456. type: string
  20457. relatedqty:
  20458. description: 关联数量
  20459. type: integer
  20460. selllistingamount:
  20461. description: 卖挂牌金额
  20462. type: number
  20463. selllistinglot:
  20464. description: 卖挂牌宗数
  20465. type: integer
  20466. selllistingqty:
  20467. description: 卖挂牌数量
  20468. type: number
  20469. selltradeamount:
  20470. description: 销售金额
  20471. type: number
  20472. selltradelot:
  20473. description: 销售宗数
  20474. type: integer
  20475. selltradeqty:
  20476. description: 销售数量
  20477. type: number
  20478. specid:
  20479. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20480. type: integer
  20481. totalprice:
  20482. description: 销售金额(¥)
  20483. type: number
  20484. totalqty:
  20485. description: 总数量
  20486. type: integer
  20487. totalweight:
  20488. description: 销售重量(ct)
  20489. type: number
  20490. tradewrqty:
  20491. description: 订单仓单头寸总数量
  20492. type: integer
  20493. transfertradewrqty:
  20494. description: 今日转订单数量
  20495. type: integer
  20496. warehouseid:
  20497. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20498. type: integer
  20499. wrfactortypeid:
  20500. description: 仓单要素类型ID
  20501. type: integer
  20502. wrpositionid:
  20503. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20504. type: integer
  20505. wrstandardcode:
  20506. description: 现货商品代码
  20507. type: string
  20508. wrstandardid:
  20509. description: 现货商品ID
  20510. type: integer
  20511. wruserid:
  20512. description: 持有人ID
  20513. type: integer
  20514. zscategory:
  20515. description: 商品分类
  20516. type: integer
  20517. zscategorydisplay:
  20518. type: string
  20519. zscurrencytype:
  20520. description: 商品币种
  20521. type: integer
  20522. zscurrencytypedisplay:
  20523. type: string
  20524. zscurrencytypedisplayunit:
  20525. type: string
  20526. type: object
  20527. models.WRSConverTDetail:
  20528. properties:
  20529. convertratio:
  20530. description: 套保系数
  20531. type: number
  20532. deliverygoodscode:
  20533. description: 现货商品代码
  20534. type: string
  20535. deliverygoodsid:
  20536. description: 现货品种ID
  20537. type: integer
  20538. deliverygoodsname:
  20539. description: 现货商品名称
  20540. type: string
  20541. enumdicname:
  20542. description: 单位名称
  20543. type: string
  20544. goodsunitid:
  20545. description: 套保品种单位id
  20546. type: integer
  20547. middlegoodscode:
  20548. description: 套保品种代码
  20549. type: string
  20550. middlegoodsid:
  20551. description: 套保品种ID
  20552. type: integer
  20553. middlegoodsname:
  20554. description: 套保品种名称
  20555. type: string
  20556. modifytime:
  20557. description: 修改时间
  20558. type: string
  20559. wrstandardid:
  20560. description: 品类ID
  20561. type: integer
  20562. type: object
  20563. models.WRStandardInfo:
  20564. properties:
  20565. areauserid:
  20566. description: 所属机构
  20567. type: integer
  20568. convertfactor:
  20569. description: 标仓系数
  20570. type: number
  20571. createtime:
  20572. description: 创建时间
  20573. type: string
  20574. creatorid:
  20575. description: 创建人
  20576. type: integer
  20577. deliverygoodsid:
  20578. description: 品种ID
  20579. type: integer
  20580. deliverygoodsname:
  20581. description: 交割商品名称
  20582. type: string
  20583. factoryitemjson:
  20584. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20585. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20586. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20587. 逗号分隔'
  20588. type: string
  20589. isvalid:
  20590. description: 是否有效 - 0:无效 1:有效
  20591. type: integer
  20592. minivalue:
  20593. description: 最小变动值
  20594. type: integer
  20595. minivaluedp:
  20596. description: 最小变动值小数位
  20597. type: integer
  20598. realminivalue:
  20599. description: 实际最小变动值
  20600. type: integer
  20601. realminivaluedp:
  20602. description: 实际最小变动值小数位
  20603. type: integer
  20604. remark:
  20605. description: 备注
  20606. type: string
  20607. unitid:
  20608. description: 单位ID
  20609. type: integer
  20610. unitname:
  20611. description: 单位
  20612. type: string
  20613. updatetime:
  20614. description: 更新时间
  20615. type: string
  20616. updatorid:
  20617. description: 更新人
  20618. type: integer
  20619. wrsstatus:
  20620. description: 状态 - 作废 - 0:未激活 1:正常
  20621. type: integer
  20622. wrstandardcode:
  20623. description: 现货品类代码
  20624. type: string
  20625. wrstandardid:
  20626. description: 现货品类ID(SEQ_WRSTANDARD)
  20627. type: integer
  20628. wrstandardname:
  20629. description: 现货品类名称
  20630. type: string
  20631. required:
  20632. - wrstandardid
  20633. type: object
  20634. models.WRTradeBargainApply:
  20635. properties:
  20636. accountid:
  20637. description: 摘牌资金账号
  20638. type: integer
  20639. applyprice:
  20640. description: 申请价格(议价价格)
  20641. type: string
  20642. applyqty:
  20643. description: 摘牌数量(议价数量)
  20644. type: number
  20645. applyremark:
  20646. description: 申请备注
  20647. type: string
  20648. applystatus:
  20649. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20650. type: integer
  20651. applytime:
  20652. description: 申请时间(议价时间)
  20653. type: string
  20654. begindate:
  20655. description: 开始交易日(yyyymmdd)
  20656. type: string
  20657. buyorsell:
  20658. description: 买卖(挂牌类型) - 0:买 1:卖
  20659. type: integer
  20660. confirmremark:
  20661. description: 确认备注
  20662. type: string
  20663. confirmtime:
  20664. description: 确认时间
  20665. type: string
  20666. confirmuserid:
  20667. description: 确认人
  20668. type: integer
  20669. deliverygoodscode:
  20670. description: 品种代码
  20671. type: string
  20672. deliverygoodsid:
  20673. description: 品种ID
  20674. type: integer
  20675. deliverygoodsname:
  20676. description: 品种名称
  20677. type: string
  20678. deliverymonth:
  20679. description: 交收月
  20680. type: string
  20681. enddate:
  20682. description: 结束交易日(yyyymmdd)
  20683. type: string
  20684. enumdicname:
  20685. description: 单位名称
  20686. type: string
  20687. fixedprice:
  20688. description: 期初均价
  20689. type: number
  20690. handlestatus:
  20691. description: 处理状态
  20692. type: integer
  20693. marginvalue:
  20694. description: 期初均价
  20695. type: number
  20696. marketid:
  20697. description: 市场ID
  20698. type: integer
  20699. matchaccountid:
  20700. description: 挂牌方资金账号
  20701. type: integer
  20702. matchuserid:
  20703. description: 挂牌方用户id
  20704. type: integer
  20705. matchusername:
  20706. description: 挂牌方用户名称(已脱敏)
  20707. type: string
  20708. minivalue:
  20709. description: 现货商品最小变动值
  20710. type: integer
  20711. optioncompare:
  20712. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20713. type: string
  20714. orderqty:
  20715. description: 挂牌数量
  20716. type: integer
  20717. refprice:
  20718. description: 参考价格
  20719. type: string
  20720. retcode:
  20721. description: 委托返回代码
  20722. type: integer
  20723. templatename:
  20724. description: 履约方式(履约模板名称)
  20725. type: string
  20726. tradedate:
  20727. description: 交易日(yyyyMMdd)
  20728. type: string
  20729. userid:
  20730. description: 摘牌人用户ID(议价人ID)
  20731. type: integer
  20732. username:
  20733. description: 议价人名字(已脱敏)
  20734. type: string
  20735. validtime:
  20736. description: 有效期限
  20737. type: string
  20738. warehouseid:
  20739. description: 仓库ID
  20740. type: integer
  20741. warehousename:
  20742. description: 仓库名称
  20743. type: string
  20744. wrbargainid:
  20745. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20746. type: string
  20747. wrfactortypeid:
  20748. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20749. type: string
  20750. wrfactortypename:
  20751. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20752. type: string
  20753. wrstandardcode:
  20754. description: 现货商品代码
  20755. type: string
  20756. wrstandardid:
  20757. description: 现货商品ID
  20758. type: integer
  20759. wrstandardname:
  20760. description: 商品名称
  20761. type: string
  20762. wrtradeorderid:
  20763. description: 关联委托单ID
  20764. type: string
  20765. wrtypename:
  20766. description: 商品
  20767. type: string
  20768. type: object
  20769. models.Warehouseinfo:
  20770. properties:
  20771. address:
  20772. description: 详细地址
  20773. type: string
  20774. areauserid:
  20775. description: 所属机构
  20776. type: integer
  20777. autoid:
  20778. description: 自增ID
  20779. type: integer
  20780. cityid:
  20781. description: 市
  20782. type: integer
  20783. contactname:
  20784. description: 联系人
  20785. type: string
  20786. contactnum:
  20787. description: 联系电话
  20788. type: string
  20789. countryid:
  20790. description: 国家
  20791. type: integer
  20792. createtime:
  20793. description: 创建时间
  20794. type: string
  20795. districtid:
  20796. description: 区
  20797. type: integer
  20798. hasvideo:
  20799. description: 是否有视频 - 0:无 1:有
  20800. type: integer
  20801. provinceid:
  20802. description: 省
  20803. type: integer
  20804. remark:
  20805. description: 审核备注
  20806. type: string
  20807. videourl:
  20808. description: 视频地址
  20809. type: string
  20810. warehousecode:
  20811. description: 仓库代码
  20812. type: string
  20813. warehousename:
  20814. description: 仓库名称
  20815. type: string
  20816. warehousestatus:
  20817. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20818. type: integer
  20819. warehousetype:
  20820. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20821. type: integer
  20822. required:
  20823. - autoid
  20824. - warehousecode
  20825. type: object
  20826. models.WrAverageTradePrice:
  20827. properties:
  20828. averageprice:
  20829. description: 期初均价
  20830. type: number
  20831. tradedate:
  20832. description: 交易日yyyymm
  20833. type: string
  20834. type: object
  20835. models.WrBrandAndYears:
  20836. properties:
  20837. brandlst:
  20838. description: 品牌列表
  20839. items:
  20840. $ref: '#/definitions/models.DgFactoryItem'
  20841. type: array
  20842. yearslst:
  20843. description: 年份列表
  20844. items:
  20845. $ref: '#/definitions/models.DgFactoryItem'
  20846. type: array
  20847. type: object
  20848. models.WrBsGoodsInfo:
  20849. properties:
  20850. buyorsell:
  20851. description: 买卖方向 0-买 1-卖
  20852. type: integer
  20853. goodsid:
  20854. description: 交易合约ID
  20855. type: integer
  20856. lstitem:
  20857. description: 商品信息项
  20858. items:
  20859. $ref: '#/definitions/models.WrTypeItem'
  20860. type: array
  20861. lststep:
  20862. description: 履约规则
  20863. items:
  20864. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20865. type: array
  20866. type: object
  20867. models.WrBuybackDetail:
  20868. properties:
  20869. buybackamount:
  20870. description: 回购金额
  20871. type: number
  20872. buybackqty:
  20873. description: 回购数量
  20874. type: number
  20875. buybackreleasemargin:
  20876. description: 回购释放保证金
  20877. type: number
  20878. buybacktime:
  20879. description: 回购时间
  20880. type: string
  20881. errordesc:
  20882. description: 错误描述
  20883. type: string
  20884. handlestatus:
  20885. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20886. type: integer
  20887. relatedwrid:
  20888. description: 关联仓单ID
  20889. type: integer
  20890. scfcontractid:
  20891. description: SCF合同ID
  20892. type: string
  20893. scfwrbuybackid:
  20894. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20895. type: integer
  20896. tradedate:
  20897. description: 交易日(yyyyMMdd)
  20898. type: string
  20899. type: object
  20900. models.WrClientAdSpaceConfig:
  20901. properties:
  20902. adspaceid:
  20903. description: 广告位ID
  20904. type: integer
  20905. adspacename:
  20906. description: 广告位名称
  20907. type: string
  20908. adspacetype:
  20909. description: 广告位类型 - 1:固定广告位
  20910. type: integer
  20911. areauserid:
  20912. description: 所属机构ID
  20913. type: integer
  20914. createdate:
  20915. description: 创建时间
  20916. type: string
  20917. imagepath:
  20918. description: 图片
  20919. type: string
  20920. modifierid:
  20921. description: 操作人
  20922. type: integer
  20923. recsize:
  20924. description: 推荐尺寸
  20925. type: string
  20926. title:
  20927. description: 标题
  20928. type: string
  20929. updatedate:
  20930. description: 更新时间
  20931. type: string
  20932. urlcontent:
  20933. description: 链接(地址\商品ID\功能菜单Key\appid)
  20934. type: string
  20935. urltype:
  20936. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20937. type: integer
  20938. type: object
  20939. models.WrDeliveryAvalidHoldLB:
  20940. properties:
  20941. accountid:
  20942. description: 资金账号
  20943. type: integer
  20944. avalidqty:
  20945. description: 数量(可点选数量)
  20946. type: number
  20947. deliverygoodsid:
  20948. description: 品种id
  20949. type: integer
  20950. enumdicname:
  20951. description: 单位名称
  20952. type: string
  20953. goodsid:
  20954. description: x合约商品id
  20955. type: integer
  20956. ladingbillid:
  20957. description: 提单id
  20958. type: string
  20959. pgoodscode:
  20960. description: p商品代码(点价合约)
  20961. type: string
  20962. pgoodsid:
  20963. description: p商品id(点价合约)
  20964. type: integer
  20965. pgoodsname:
  20966. description: p商品名称(点价合约)
  20967. type: string
  20968. pricemove:
  20969. description: 升贴水
  20970. type: number
  20971. subnum:
  20972. description: 提单子id
  20973. type: integer
  20974. userid:
  20975. description: 用户id
  20976. type: integer
  20977. username:
  20978. description: 仓单持有人
  20979. type: string
  20980. warehousecode:
  20981. description: 仓库代码
  20982. type: string
  20983. warehouseid:
  20984. description: 仓库id
  20985. type: integer
  20986. warehousename:
  20987. description: 仓库名称
  20988. type: string
  20989. wrfactortypeid:
  20990. description: 仓单要素id
  20991. type: string
  20992. wrstandardcode:
  20993. description: 品代码
  20994. type: string
  20995. wrstandardid:
  20996. description: 品类d
  20997. type: integer
  20998. wrstandardname:
  20999. description: 品类名称
  21000. type: string
  21001. wrtypename:
  21002. description: 商品
  21003. type: string
  21004. xgoodscode:
  21005. description: x合约代码
  21006. type: string
  21007. xgoodsname:
  21008. description: x合约名称
  21009. type: string
  21010. type: object
  21011. models.WrDeliveryDetail:
  21012. properties:
  21013. accountid:
  21014. description: 账号ID
  21015. type: integer
  21016. averageprice:
  21017. description: 期初均价
  21018. type: number
  21019. begindate:
  21020. description: 开始交易日(yyyymmdd)
  21021. type: string
  21022. buyorsell:
  21023. description: 方向 - 0:买 1:卖
  21024. type: integer
  21025. deliveryamount:
  21026. description: 货款金额(X总货款+P总货款)
  21027. type: number
  21028. deliveryid:
  21029. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  21030. type: string
  21031. deliveryorderid:
  21032. description: 申报单号
  21033. type: string
  21034. deliverypricemove:
  21035. description: 升贴水(升贴水总额)
  21036. type: number
  21037. deliveryqty:
  21038. description: 交收数量(点选数量)
  21039. type: number
  21040. deliverystatus:
  21041. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21042. type: integer
  21043. deliverytime:
  21044. description: 交割时间
  21045. type: string
  21046. deliverytotalamount:
  21047. description: 交收金额
  21048. type: number
  21049. enddate:
  21050. description: 结束交易日(yyyymmdd)
  21051. type: string
  21052. enumdicname:
  21053. description: 单位名称
  21054. type: string
  21055. matchaccountid:
  21056. description: 对手账号ID
  21057. type: integer
  21058. matchusername:
  21059. description: 对手方名称(仓单持有人)
  21060. type: string
  21061. p1goodsremainamount:
  21062. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21063. type: number
  21064. pdeliverycloseqty:
  21065. description: p合约平仓数量
  21066. type: number
  21067. pdeliveryprice:
  21068. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21069. type: number
  21070. pgoodscode:
  21071. description: 商品代码
  21072. type: string
  21073. pgoodsid:
  21074. description: p点选合约id
  21075. type: integer
  21076. pgoodsname:
  21077. description: 商品名称
  21078. type: string
  21079. ppricemode:
  21080. description: 点价价格方式 - 1:商品价 2:固定值
  21081. type: integer
  21082. tradedate:
  21083. description: 交易日(yyyymmdd)
  21084. type: string
  21085. userid:
  21086. description: 用户id
  21087. type: integer
  21088. username:
  21089. description: 用户名称
  21090. type: string
  21091. warehousename:
  21092. description: 仓库名称
  21093. type: string
  21094. wrfactortypeid:
  21095. description: 仓单要素类型ID
  21096. type: string
  21097. wrtypename:
  21098. description: 商品
  21099. type: string
  21100. xdeliverycloseqty:
  21101. description: 合约数量
  21102. type: number
  21103. xgoodsamount:
  21104. description: 期初均价
  21105. type: number
  21106. xgoodscode:
  21107. description: 商品代码
  21108. type: string
  21109. xgoodsid:
  21110. description: x交易合约ID
  21111. type: integer
  21112. xgoodsname:
  21113. description: 商品名称
  21114. type: string
  21115. type: object
  21116. models.WrDeliveryGoodsSection:
  21117. properties:
  21118. dglst:
  21119. description: 板块商品列表
  21120. items:
  21121. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21122. type: array
  21123. imagepath:
  21124. description: 图片地址
  21125. type: string
  21126. orderindex:
  21127. description: 排序
  21128. type: integer
  21129. sectionid:
  21130. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21131. = 1的版块1 - 云融指数
  21132. type: integer
  21133. sectionname:
  21134. description: 版块名称
  21135. type: string
  21136. sectiontype:
  21137. description: 版块类型 - 1:指数版块 2:普通版块
  21138. type: integer
  21139. type: object
  21140. models.WrDeliveryGoodsSectionConfig:
  21141. properties:
  21142. deliverygoodscode:
  21143. description: 现货商品代码
  21144. type: string
  21145. deliverygoodsid:
  21146. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21147. type: integer
  21148. deliverygoodsname:
  21149. description: 现货商品名称
  21150. type: string
  21151. orderindex:
  21152. description: 排序
  21153. type: integer
  21154. type: object
  21155. models.WrDraftUserInfo:
  21156. properties:
  21157. address:
  21158. description: 地址
  21159. type: string
  21160. attachment1:
  21161. description: 附件1
  21162. type: string
  21163. attachment2:
  21164. description: 附件2
  21165. type: string
  21166. attachment3:
  21167. description: 附件3
  21168. type: string
  21169. attachment4:
  21170. description: 附件4
  21171. type: string
  21172. attachment5:
  21173. description: 附件5
  21174. type: string
  21175. bankaccount:
  21176. description: 银行帐号 (加密存储)
  21177. type: string
  21178. bankaccountname:
  21179. description: 收款人名称
  21180. type: string
  21181. bankcardfrontphotourl:
  21182. description: 银行卡正面照地址
  21183. type: string
  21184. bankid:
  21185. description: 银行编码
  21186. type: string
  21187. bankname:
  21188. description: 银行名称
  21189. type: string
  21190. birthday:
  21191. description: 生日(个人:年月日)
  21192. type: string
  21193. biznature:
  21194. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21195. type: integer
  21196. bizscope:
  21197. description: 企业经营范围(企业)
  21198. type: string
  21199. biztype:
  21200. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21201. type: integer
  21202. cardbackphotourl:
  21203. description: 证件背面图片地址
  21204. type: string
  21205. cardfrontphotourl:
  21206. description: 证件正面图片地址
  21207. type: string
  21208. cardnum:
  21209. description: 证件号码(加密存储)
  21210. type: string
  21211. cardtypeid:
  21212. description: 证件类型ID
  21213. type: integer
  21214. cityid:
  21215. description: 市
  21216. type: integer
  21217. company:
  21218. description: 公司(个人)
  21219. type: string
  21220. contactcardbackphotourl:
  21221. description: 联系人证件背面图片地址
  21222. type: string
  21223. contactcardfrontphotourl:
  21224. description: 联系人证件正面图片地址
  21225. type: string
  21226. contactname:
  21227. description: 联系人
  21228. type: string
  21229. countryid:
  21230. description: 国家
  21231. type: integer
  21232. createtime:
  21233. description: 创建时间
  21234. type: string
  21235. creatorid:
  21236. description: 创建人
  21237. type: integer
  21238. creditquota:
  21239. description: 授信额度(金瑞)
  21240. type: number
  21241. customername:
  21242. description: 客户名称(企业名称)
  21243. type: string
  21244. districtid:
  21245. description: 地区
  21246. type: integer
  21247. email:
  21248. description: 邮件(加密存储)
  21249. type: string
  21250. fax:
  21251. description: 传真(加密存储)
  21252. type: string
  21253. halfbodyphotourl:
  21254. description: 半身照地址
  21255. type: string
  21256. hasencrypt:
  21257. description: 数据是否已加密 - 0:未加密 1:已加密
  21258. type: integer
  21259. headurl:
  21260. description: 头像地址
  21261. type: string
  21262. legalcardbackphotourl:
  21263. description: 法人身份证背面照地址
  21264. type: string
  21265. legalcardfrontphotourl:
  21266. description: 法人身份证正面照地址
  21267. type: string
  21268. legalpersonname:
  21269. description: 法人姓名(企业)
  21270. type: string
  21271. mobile:
  21272. description: 手机号码(加密存储)
  21273. type: string
  21274. mobile2:
  21275. description: 手机号码[明文-尚志]
  21276. type: string
  21277. modifierid:
  21278. description: 修改人
  21279. type: integer
  21280. modifiertime:
  21281. description: 修改时间
  21282. type: string
  21283. needinvoice:
  21284. description: 是否需要发票 - 0:不需要 1:需要
  21285. type: integer
  21286. nickname:
  21287. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21288. type: string
  21289. openmode:
  21290. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21291. 6:苹果手机端注册 7:PC交易端注册"
  21292. type: integer
  21293. otherurl:
  21294. description: 其它图片地址[使用分号分隔]
  21295. type: string
  21296. postalcode:
  21297. description: 邮政编码
  21298. type: string
  21299. provinceid:
  21300. description: 省
  21301. type: integer
  21302. proxystatementurl:
  21303. description: 授权委托书
  21304. type: string
  21305. qq:
  21306. description: QQ(加密存储
  21307. type: string
  21308. remark:
  21309. description: 备注
  21310. type: string
  21311. sex:
  21312. description: '用户性别 0: 女 1: 男'
  21313. type: integer
  21314. signpdfurl:
  21315. description: 签约pdf文件
  21316. type: string
  21317. taxpayernum:
  21318. description: 纳税人识别号
  21319. type: string
  21320. telphone:
  21321. description: 联系电话(加密存储)
  21322. type: string
  21323. userid:
  21324. description: 用户ID
  21325. type: integer
  21326. userinfotype:
  21327. description: 用户信息类型 - 1:个人 2:企业
  21328. type: integer
  21329. userstatus:
  21330. description: 用户状态 - 1:正常 2:注销
  21331. type: integer
  21332. usertype:
  21333. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21334. type: integer
  21335. wechat:
  21336. description: 微信(加密存储)
  21337. type: string
  21338. wskhinfo:
  21339. description: 开户申请信息(JSON)
  21340. type: string
  21341. type: object
  21342. models.WrFAProductDetail:
  21343. properties:
  21344. accountid:
  21345. description: 资金账号
  21346. type: integer
  21347. areauserid:
  21348. description: 金融机构ID
  21349. type: integer
  21350. financingdays:
  21351. description: 天数(天)
  21352. type: integer
  21353. interestminlen:
  21354. description: 最小起息天数
  21355. type: integer
  21356. interestrate:
  21357. description: 利率
  21358. type: number
  21359. interestratemode:
  21360. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21361. type: integer
  21362. interestsettlemode:
  21363. description: 结息方式 - 1:按日结息 3:按月结息
  21364. type: integer
  21365. interestsettlevalue:
  21366. description: 结息方式值
  21367. type: integer
  21368. isautoloan:
  21369. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21370. type: integer
  21371. loantag:
  21372. description: '放款标识: "放款快" 或者为空'
  21373. type: string
  21374. marginratio:
  21375. description: 保证金比率质押率 - [仓单质押]
  21376. type: number
  21377. productdetailid:
  21378. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21379. type: integer
  21380. productid:
  21381. description: 金融产品ID
  21382. type: integer
  21383. productname:
  21384. description: 产品名称
  21385. type: string
  21386. updatetime:
  21387. description: 更新时间
  21388. type: string
  21389. username:
  21390. description: 融出方
  21391. type: string
  21392. type: object
  21393. models.WrFactorTypeInfo:
  21394. properties:
  21395. deliverygoodscode:
  21396. description: 品种代码
  21397. type: string
  21398. deliverygoodsname:
  21399. description: 品种名称
  21400. type: string
  21401. dgfactoryitemid:
  21402. description: 选择项id
  21403. type: integer
  21404. dgfactoryitemtypeid:
  21405. description: 要素选择项ID (1-仓库 2-品牌)
  21406. type: integer
  21407. dgfactoryitemvalue:
  21408. description: 要素项值
  21409. type: string
  21410. itemtypename:
  21411. description: 要素项名称
  21412. type: string
  21413. optioncompare:
  21414. description: 选择比较串
  21415. type: string
  21416. warehouseid:
  21417. description: 仓库id
  21418. type: integer
  21419. wrfactortypeid:
  21420. description: 仓单要素ID
  21421. type: string
  21422. wrfactortypename:
  21423. description: 要素名称
  21424. type: string
  21425. wrfactortypename2:
  21426. description: 要素名称(不含仓库)
  21427. type: string
  21428. wrstandardcode:
  21429. description: 品类代码
  21430. type: string
  21431. wrstandardid:
  21432. description: 品类id
  21433. type: integer
  21434. wrstandardname:
  21435. description: 品类名称
  21436. type: string
  21437. type: object
  21438. models.WrFilterItem:
  21439. properties:
  21440. itemcode:
  21441. description: 代码
  21442. type: string
  21443. itemid:
  21444. description: 项id
  21445. type: integer
  21446. itemname:
  21447. description: 名称
  21448. type: string
  21449. itemtype:
  21450. description: 类型 1-品种 2-品类(商品) 3-仓库
  21451. type: integer
  21452. type: object
  21453. models.WrFinanceBuyApply:
  21454. properties:
  21455. applydate:
  21456. description: 申请时间
  21457. type: string
  21458. applystatus:
  21459. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21460. type: integer
  21461. applyuserid:
  21462. description: 申请人
  21463. type: integer
  21464. auditdate:
  21465. description: 审核时间
  21466. type: string
  21467. auditremark:
  21468. description: 审核备注
  21469. type: string
  21470. audituserid:
  21471. description: 审核人
  21472. type: integer
  21473. buyaccountid:
  21474. description: 买方资金账号
  21475. type: integer
  21476. buyorsell:
  21477. description: 买卖 - 0:买 1:卖
  21478. type: integer
  21479. buyuserid:
  21480. description: 买方用户ID
  21481. type: integer
  21482. buyusername:
  21483. description: 买方名称
  21484. type: string
  21485. buywrtradeorderid:
  21486. description: 融资方买委托单ID
  21487. type: string
  21488. deliverygoodscode:
  21489. description: 品种代码
  21490. type: string
  21491. deliverygoodsid:
  21492. description: 品种ID
  21493. type: integer
  21494. deliverygoodsname:
  21495. description: 品种名称
  21496. type: string
  21497. deliverymonth:
  21498. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21499. type: string
  21500. enumdicname:
  21501. description: 单位名称
  21502. type: string
  21503. financeaccountid:
  21504. description: 融资方资金帐户ID
  21505. type: integer
  21506. financeapplyid:
  21507. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21508. type: string
  21509. financeareauserid:
  21510. description: 融资方用户ID
  21511. type: string
  21512. financename:
  21513. description: 融出方名称
  21514. type: string
  21515. financetype:
  21516. description: 融资类型 1-融资回购
  21517. type: integer
  21518. financingdays:
  21519. description: 天数(天)
  21520. type: integer
  21521. freezebuymargin:
  21522. description: 冻结融资保证金(买方)
  21523. type: number
  21524. handleremark:
  21525. description: 处理备注
  21526. type: string
  21527. handlestatus:
  21528. description: 处理状态
  21529. type: integer
  21530. interestminlen:
  21531. description: 最小起息天数
  21532. type: integer
  21533. interestrate:
  21534. description: 利率
  21535. type: number
  21536. interestratemode:
  21537. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21538. type: integer
  21539. interestsettlemode:
  21540. description: 结息方式 - 1:按日结息 3:按月结息
  21541. type: integer
  21542. interestsettlevalue:
  21543. description: 结息方式值
  21544. type: integer
  21545. isautoloan:
  21546. description: 是否自动放款 - 0:手动 1:自动
  21547. type: integer
  21548. marginratio:
  21549. description: 保证金比率质押率 - [仓单质押]
  21550. type: number
  21551. marketid:
  21552. description: 市场ID
  21553. type: integer
  21554. minivalue:
  21555. description: 现货商品最小变动值
  21556. type: integer
  21557. optioncompare:
  21558. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21559. type: string
  21560. orderqty:
  21561. description: 委托数量(商品数量)
  21562. type: number
  21563. productdetailid:
  21564. description: 产品组合ID
  21565. type: integer
  21566. productid:
  21567. description: 金融产品ID
  21568. type: integer
  21569. productname:
  21570. description: 产品名称
  21571. type: string
  21572. remark:
  21573. description: 备注
  21574. type: string
  21575. scfcontractid:
  21576. description: 仓单回购合同ID
  21577. type: string
  21578. sellaccountid:
  21579. description: 卖方资金账号
  21580. type: integer
  21581. selluserid:
  21582. description: 卖方用户ID
  21583. type: integer
  21584. sellwrtradeorderid:
  21585. description: 卖方委托单ID
  21586. type: string
  21587. tradeamount:
  21588. description: 成交金额(借款金额)
  21589. type: number
  21590. tradedate:
  21591. description: 交易日(yyyyMMdd)
  21592. type: string
  21593. tradeprice:
  21594. description: 成交价格
  21595. type: number
  21596. warehouseid:
  21597. description: 仓库ID
  21598. type: integer
  21599. warehousename:
  21600. description: 仓库名称
  21601. type: string
  21602. wrfactortypeid:
  21603. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21604. type: string
  21605. wrfactortypename:
  21606. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21607. type: string
  21608. wrpricetype:
  21609. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21610. type: integer
  21611. wrstandardcode:
  21612. description: 现货商品代码
  21613. type: string
  21614. wrstandardid:
  21615. description: 现货商品ID
  21616. type: integer
  21617. wrstandardname:
  21618. description: 商品名称
  21619. type: string
  21620. wrtypename:
  21621. description: 商品
  21622. type: string
  21623. type: object
  21624. models.WrFriendApply:
  21625. properties:
  21626. applicantid:
  21627. description: 申请人
  21628. type: integer
  21629. applyname:
  21630. description: 申请人名称
  21631. type: string
  21632. applysrc:
  21633. description: 申请来源 - 1:管理端 2:终端
  21634. type: integer
  21635. applystatus:
  21636. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21637. type: integer
  21638. applytime:
  21639. description: 申请时间
  21640. type: string
  21641. auditname:
  21642. description: 审核人名称
  21643. type: string
  21644. auditorid:
  21645. description: 审核人
  21646. type: integer
  21647. auditremark:
  21648. description: 审核备注
  21649. type: string
  21650. auditsrc:
  21651. description: 审核来源 - 1:管理端 2:终端
  21652. type: integer
  21653. audittime:
  21654. description: 审核时间
  21655. type: string
  21656. friendapplyid:
  21657. description: 申请ID(SEQ_FRIENDAPPLY)
  21658. type: string
  21659. friendname:
  21660. description: 好友名字(已脱敏)
  21661. type: string
  21662. frienduserid:
  21663. description: 好友用户ID
  21664. type: string
  21665. remark:
  21666. description: 备注
  21667. type: string
  21668. userid:
  21669. description: 申请人用户ID
  21670. type: integer
  21671. type: object
  21672. models.WrFtDeliveryGoods:
  21673. properties:
  21674. deliverygoodscode:
  21675. description: 品种代码
  21676. type: string
  21677. deliverygoodsid:
  21678. description: 品种ID
  21679. type: integer
  21680. deliverygoodsname:
  21681. description: 品种名称
  21682. type: string
  21683. wdlst:
  21684. description: 商品列表
  21685. items:
  21686. $ref: '#/definitions/models.WrFtWrstandard'
  21687. type: array
  21688. type: object
  21689. models.WrFtWrstandard:
  21690. properties:
  21691. enumdicname:
  21692. description: 单位名称
  21693. type: string
  21694. minivalue:
  21695. description: 最小变动值
  21696. type: integer
  21697. wrstandardcode:
  21698. description: 现货商品代码
  21699. type: string
  21700. wrstandardid:
  21701. description: 现货商品ID
  21702. type: integer
  21703. wrstandardname:
  21704. description: 商品名称
  21705. type: string
  21706. type: object
  21707. models.WrGoodsInfo:
  21708. properties:
  21709. haswr:
  21710. description: 0:仓单预售 1:仓单贸易
  21711. type: integer
  21712. lstitem:
  21713. description: 商品信息项
  21714. items:
  21715. $ref: '#/definitions/models.WrTypeItem'
  21716. type: array
  21717. lststep:
  21718. description: 履约规则
  21719. items:
  21720. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21721. type: array
  21722. marketid:
  21723. description: 市场id
  21724. type: integer
  21725. type: object
  21726. models.WrGoodsPerformanceStep:
  21727. properties:
  21728. autoid:
  21729. description: AutoID
  21730. type: integer
  21731. isauto:
  21732. description: 是否自动 - 0:不自动 1:自动
  21733. type: integer
  21734. remark:
  21735. description: 备注
  21736. type: string
  21737. stepdate:
  21738. description: 天数信息(T+N)
  21739. type: string
  21740. stepdays:
  21741. description: 距离上一步天数
  21742. type: integer
  21743. stepindex:
  21744. description: 步骤序号
  21745. type: integer
  21746. stepinfo:
  21747. description: 步骤信息(步骤名称+步骤值)
  21748. type: string
  21749. steptypeid:
  21750. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21751. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21752. type: integer
  21753. steptypename:
  21754. description: 步骤名称
  21755. type: string
  21756. stepvalue:
  21757. description: 期初均价
  21758. type: number
  21759. templateid:
  21760. description: 履约计划模板ID
  21761. type: integer
  21762. type: object
  21763. models.WrHoldLB:
  21764. properties:
  21765. accountid:
  21766. description: 持有人帐户ID
  21767. type: integer
  21768. bannerpicurl:
  21769. description: Banner图
  21770. type: string
  21771. createtime:
  21772. description: 创建时间(过户时间)
  21773. type: string
  21774. deliverygoodscode:
  21775. description: 品种代码
  21776. type: string
  21777. deliverygoodsid:
  21778. description: 品种ID
  21779. type: integer
  21780. deliverygoodsname:
  21781. description: 品种名称
  21782. type: string
  21783. enableqty:
  21784. description: 可用数量
  21785. type: number
  21786. enumdicname:
  21787. description: 单位名称
  21788. type: string
  21789. freezerqty:
  21790. description: 冻结数量
  21791. type: number
  21792. ladingbillid:
  21793. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21794. type: string
  21795. minivalue:
  21796. description: 现货商品最小变动值
  21797. type: integer
  21798. optioncompare:
  21799. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21800. type: string
  21801. parentsubnum:
  21802. description: 拆分父子单号
  21803. type: integer
  21804. pledgeqty:
  21805. description: 质押数量
  21806. type: number
  21807. qty:
  21808. description: 数量
  21809. type: number
  21810. spotgoodsprice:
  21811. description: 参考价(THJ)
  21812. type: number
  21813. subnum:
  21814. description: 提单子单号
  21815. type: integer
  21816. thumurls:
  21817. description: 缩略图
  21818. type: string
  21819. tradedate:
  21820. description: 交易日(yyyyMMdd)
  21821. type: string
  21822. userid:
  21823. description: 持有人ID
  21824. type: integer
  21825. warehouseid:
  21826. description: 仓库ID
  21827. type: integer
  21828. warehousename:
  21829. description: 仓库名称
  21830. type: string
  21831. wrfactortypeid:
  21832. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21833. type: string
  21834. wrfactortypename:
  21835. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21836. type: string
  21837. wrholdeno:
  21838. description: 仓单编号
  21839. type: string
  21840. wrid:
  21841. description: 仓单变更ID
  21842. type: string
  21843. wrstandardcode:
  21844. description: 现货商品代码
  21845. type: string
  21846. wrstandardid:
  21847. description: 现货商品ID
  21848. type: integer
  21849. wrstandardname:
  21850. description: 商品名称
  21851. type: string
  21852. wrtypename:
  21853. description: 商品
  21854. type: string
  21855. type: object
  21856. models.WrMarketTradeConfig:
  21857. properties:
  21858. basisdownratio:
  21859. description: 浮动价基差下限比例(仓单贸易)
  21860. type: number
  21861. basisupratio:
  21862. description: 浮动价基差上限比例(仓单贸易)
  21863. type: number
  21864. buychargealgorithm:
  21865. description: 买方手续费收取方式 1:比率 2:固定
  21866. type: integer
  21867. buychargealgorithm2:
  21868. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21869. type: integer
  21870. buychargealgorithmvalue:
  21871. description: 买方手续费设置值(交易所部分)
  21872. type: number
  21873. buychargealgorithmvalue2:
  21874. description: 买方手续费设置值(会员部分)
  21875. type: number
  21876. buychargealgorithmvalue3:
  21877. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21878. type: number
  21879. buychargealgorithmvalue4:
  21880. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21881. type: number
  21882. buyfirstmarginalgorithm:
  21883. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21884. type: integer
  21885. buyfirstmarginvalue:
  21886. description: 买方出价保证金设置值 - [竞拍]
  21887. type: number
  21888. buymarginalgorithm:
  21889. description: 买方保证金方式 - 1:比率 2:固定
  21890. type: integer
  21891. buymarginvalue:
  21892. description: 买方保证金设置值
  21893. type: number
  21894. buyreleaseratio:
  21895. description: 买方释放比率[2:分步履约]
  21896. type: number
  21897. executemode:
  21898. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21899. type: integer
  21900. executeside:
  21901. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21902. type: integer
  21903. failedchargealgorithm:
  21904. description: 流拍手续费收取方式 1:比率 2:固定
  21905. type: integer
  21906. failedchargevalue:
  21907. description: 流拍手续费设置值
  21908. type: number
  21909. failedchargevalue2:
  21910. description: 流拍卖方手续费设置值
  21911. type: number
  21912. holddays:
  21913. description: 合同期限[2:分步履约]
  21914. type: integer
  21915. listingmode:
  21916. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21917. type: integer
  21918. marketid:
  21919. description: 市场ID-仓单贸易、竞拍、预售
  21920. type: integer
  21921. minqty:
  21922. description: 最小执行量[2:分步履约]
  21923. type: number
  21924. modifierid:
  21925. description: 修改人
  21926. type: integer
  21927. nowrquotaflag:
  21928. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21929. type: integer
  21930. performancetempid:
  21931. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21932. 立即执行(-1)
  21933. type: integer
  21934. performancetempid2:
  21935. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21936. 立即执行
  21937. type: integer
  21938. performancetempid2s:
  21939. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21940. - 履约方式: 立即执行
  21941. type: string
  21942. performancetempids:
  21943. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21944. - 履约方式: 立即执行(-1)
  21945. type: string
  21946. performanceway:
  21947. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21948. type: integer
  21949. sellchargealgorithm:
  21950. description: 卖方手续费收取方式 1:比率 2:固定
  21951. type: integer
  21952. sellchargealgorithm2:
  21953. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21954. type: integer
  21955. sellchargealgorithmvalue:
  21956. description: 卖方手续费设置值(交易所部分)
  21957. type: number
  21958. sellchargealgorithmvalue2:
  21959. description: 卖方手续费设置值(会员部分)
  21960. type: number
  21961. sellchargealgorithmvalue3:
  21962. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21963. type: number
  21964. sellchargealgorithmvalue4:
  21965. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21966. type: number
  21967. sellmarginalgorithm:
  21968. description: 卖方保证金方式 - 1:比率 2:固定
  21969. type: integer
  21970. sellmarginvalue:
  21971. description: 卖方保证金设置值
  21972. type: number
  21973. sellmarginvalue2:
  21974. description: 卖方保证金设置值(无仓单)
  21975. type: number
  21976. sellreleaseratio:
  21977. description: 卖方释放比率[2:分步履约]
  21978. type: number
  21979. updatetime:
  21980. description: 更新时间
  21981. type: string
  21982. type: object
  21983. models.WrOrderDetail:
  21984. properties:
  21985. accountid:
  21986. description: 交易账号(资金账号)
  21987. type: integer
  21988. allfriendsflag:
  21989. description: 是否全好友可见 - 0:否 1:是
  21990. type: integer
  21991. amount:
  21992. description: 期初均价
  21993. type: number
  21994. bannerpicurl:
  21995. description: Banner图
  21996. type: string
  21997. begindate:
  21998. description: 开始交易日(yyyymmdd)
  21999. type: string
  22000. buyorsell:
  22001. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  22002. type: integer
  22003. canbargain:
  22004. description: 是否可议价 - 0:不可 1:可
  22005. type: integer
  22006. cancelqty:
  22007. description: 撤销数量
  22008. type: number
  22009. canpart:
  22010. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  22011. type: integer
  22012. delistminqty:
  22013. description: 起摘数量
  22014. type: integer
  22015. deliverygoodscode:
  22016. description: 品种代码
  22017. type: string
  22018. deliverygoodsid:
  22019. description: 品种ID
  22020. type: integer
  22021. deliverygoodsname:
  22022. description: 品种名称
  22023. type: string
  22024. deliverymonth:
  22025. description: 交收月
  22026. type: string
  22027. enddate:
  22028. description: 结束交易日(yyyymmdd)
  22029. type: string
  22030. enumdicname:
  22031. description: 单位名称
  22032. type: string
  22033. fixedprice:
  22034. description: 固定价格 - [挂牌]
  22035. type: number
  22036. freezecharge:
  22037. description: 期初均价
  22038. type: number
  22039. freezemargin:
  22040. description: 期初均价
  22041. type: number
  22042. futupricemove:
  22043. description: 期货升贴水
  22044. type: number
  22045. futushow:
  22046. description: 期货合约/升贴水
  22047. type: string
  22048. goodscode:
  22049. description: 期货合约
  22050. type: string
  22051. goodsid:
  22052. description: 期货商品id
  22053. type: integer
  22054. goodsname:
  22055. description: 商品名称
  22056. type: string
  22057. haswr:
  22058. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22059. type: integer
  22060. isspecified:
  22061. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22062. type: integer
  22063. ladingbillid:
  22064. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22065. type: string
  22066. marginvalue:
  22067. description: 期初均价
  22068. type: number
  22069. marketid:
  22070. description: 市场ID
  22071. type: integer
  22072. matchusername:
  22073. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22074. type: string
  22075. minivalue:
  22076. description: 现货商品最小变动值
  22077. type: integer
  22078. optioncompare:
  22079. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22080. type: string
  22081. orderqty:
  22082. description: 委托数量
  22083. type: number
  22084. ordertime:
  22085. description: 委托时间(挂牌时间)
  22086. type: string
  22087. performancetemplateid:
  22088. description: 履约模板id
  22089. type: integer
  22090. pricemove:
  22091. description: 升贴水(浮动价时填写) - [挂牌]
  22092. type: number
  22093. taname:
  22094. description: 交易用户名称(资金账号名称)
  22095. type: string
  22096. thumurls:
  22097. description: 缩略图
  22098. type: string
  22099. tradedate:
  22100. description: 交易日(yyyyMMdd)
  22101. type: string
  22102. tradeprice:
  22103. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22104. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22105. type: number
  22106. tradeqty:
  22107. description: 成交数量
  22108. type: number
  22109. unitid:
  22110. description: 现货商品单位ID
  22111. type: integer
  22112. userid:
  22113. description: 用户ID
  22114. type: integer
  22115. validtime:
  22116. description: 挂牌有效期
  22117. type: string
  22118. validtype:
  22119. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22120. type: integer
  22121. warehouseid:
  22122. description: 仓库ID
  22123. type: integer
  22124. warehousename:
  22125. description: 仓库名称
  22126. type: string
  22127. wrfactortypeid:
  22128. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22129. type: string
  22130. wrfactortypename:
  22131. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22132. type: string
  22133. wrpricetype:
  22134. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22135. type: integer
  22136. wrstandardcode:
  22137. description: 现货商品代码
  22138. type: string
  22139. wrstandardid:
  22140. description: 现货商品ID
  22141. type: integer
  22142. wrstandardname:
  22143. description: 商品名称
  22144. type: string
  22145. wrtradeorderid:
  22146. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22147. type: string
  22148. wrtradeorderstatus:
  22149. 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:撤单解冻贷款失败
  22150. type: integer
  22151. wrtradetype:
  22152. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22153. type: integer
  22154. wrtypename:
  22155. description: 商品
  22156. type: string
  22157. type: object
  22158. models.WrOrderQuote:
  22159. properties:
  22160. bannerpicurl:
  22161. description: Banner图
  22162. type: string
  22163. buyprice:
  22164. description: 买价
  22165. type: number
  22166. buypricemove:
  22167. description: 买升贴水(基差)
  22168. type: number
  22169. buyqty:
  22170. description: 买量
  22171. type: number
  22172. deliverygoodscode:
  22173. description: 品种代码
  22174. type: string
  22175. deliverygoodsid:
  22176. description: 品种id
  22177. type: integer
  22178. deliverygoodsname:
  22179. description: 品种名称
  22180. type: string
  22181. deliverymonth:
  22182. description: 交收月
  22183. type: string
  22184. enumdicname:
  22185. description: 单位名称
  22186. type: string
  22187. goodscode:
  22188. description: 商品合约(浮动价列表才有)
  22189. type: string
  22190. goodsid:
  22191. description: 商品id(浮动价列表才有)
  22192. type: integer
  22193. minivalue:
  22194. description: 现货商品最小变动值
  22195. type: integer
  22196. pictureurls:
  22197. description: 详情图片(逗号分隔)
  22198. type: string
  22199. sellprice:
  22200. description: 卖价
  22201. type: number
  22202. sellpricemove:
  22203. description: 卖升贴水(基差)
  22204. type: number
  22205. sellqty:
  22206. description: 卖量
  22207. type: number
  22208. spotgoodsprice:
  22209. description: 参考价(THJ)
  22210. type: number
  22211. thumurls:
  22212. description: 缩略图片(1:1)(逗号分隔)
  22213. type: string
  22214. warehousecode:
  22215. description: 仓库代码
  22216. type: string
  22217. warehouseid:
  22218. description: 仓库id
  22219. type: integer
  22220. warehousename:
  22221. description: 仓库名称
  22222. type: string
  22223. wrfactortypeid:
  22224. description: 仓单要素id
  22225. type: string
  22226. wrfactortypename:
  22227. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22228. type: string
  22229. wrgoodsname:
  22230. description: 商品(商品名称+仓库要素名称 拼接)
  22231. type: string
  22232. wrstandardcode:
  22233. description: 商品代码
  22234. type: string
  22235. wrstandardid:
  22236. description: 商品id
  22237. type: integer
  22238. wrstandardname:
  22239. description: 商品名称
  22240. type: string
  22241. type: object
  22242. models.WrOrderQuoteDetail:
  22243. properties:
  22244. buyorsell:
  22245. description: 买卖 - 0:买 1:卖
  22246. type: integer
  22247. delistminqty:
  22248. description: 期初均价
  22249. type: number
  22250. deliverymonth:
  22251. description: 交收月
  22252. type: string
  22253. enumdicname:
  22254. description: 单位名称
  22255. type: string
  22256. fixedprice:
  22257. description: 买(卖)价
  22258. type: number
  22259. marketid:
  22260. description: 市场id
  22261. type: integer
  22262. minivalue:
  22263. description: 现货商品最小变动值
  22264. type: integer
  22265. orderqty:
  22266. description: 买(卖)量(=委托量-成交量)
  22267. type: number
  22268. ordertime:
  22269. description: 委托时间
  22270. type: string
  22271. pricemove:
  22272. description: 买(卖)升贴水- 基差
  22273. type: number
  22274. userid:
  22275. description: 购买方(销售方)用户ID
  22276. type: integer
  22277. username:
  22278. description: 购买方(销售方)
  22279. type: string
  22280. wrtradeorderid:
  22281. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22282. type: string
  22283. type: object
  22284. models.WrOutInApply:
  22285. properties:
  22286. address:
  22287. description: 详细地址
  22288. type: string
  22289. applyid:
  22290. description: 申请单id
  22291. type: string
  22292. applystatus:
  22293. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22294. 8:已撤销
  22295. type: integer
  22296. applytime:
  22297. description: 申请时间
  22298. type: string
  22299. applytype:
  22300. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22301. type: integer
  22302. appointmentmodel:
  22303. description: 预约方式 - 1:物流 2:自送 3:自提
  22304. type: integer
  22305. appointmentmodeldisplay:
  22306. description: 预约方式(显示枚举)
  22307. type: string
  22308. appointmentremark:
  22309. description: 申请备注
  22310. type: string
  22311. bannerpicurl:
  22312. description: Banner图
  22313. type: string
  22314. begindate:
  22315. description: 开始交易日(yyyymmdd)
  22316. type: string
  22317. contactname:
  22318. description: 联系人
  22319. type: string
  22320. contactnum:
  22321. description: 联系方式
  22322. type: string
  22323. deliverygoodscode:
  22324. description: 品种代码
  22325. type: string
  22326. deliverygoodsid:
  22327. description: 品种ID
  22328. type: integer
  22329. deliverygoodsname:
  22330. description: 品种名称
  22331. type: string
  22332. enddate:
  22333. description: 结束交易日(yyyymmdd)
  22334. type: string
  22335. enumdicname:
  22336. description: 单位名称
  22337. type: string
  22338. expresscompany:
  22339. description: 物流公司
  22340. type: string
  22341. expressnum:
  22342. description: 物流单号
  22343. type: string
  22344. minivalue:
  22345. description: 现货商品最小变动值
  22346. type: integer
  22347. optioncompare:
  22348. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22349. type: string
  22350. qty:
  22351. description: 数量
  22352. type: integer
  22353. userid:
  22354. description: 用户id
  22355. type: integer
  22356. warehouseid:
  22357. description: 仓库ID
  22358. type: integer
  22359. warehousename:
  22360. description: 仓库名称
  22361. type: string
  22362. wrfactortypeid:
  22363. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22364. type: string
  22365. wrfactortypename:
  22366. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22367. type: string
  22368. wrstandardcode:
  22369. description: 现货商品代码
  22370. type: string
  22371. wrstandardid:
  22372. description: 现货商品ID
  22373. type: integer
  22374. wrstandardname:
  22375. description: 商品名称
  22376. type: string
  22377. wrtypename:
  22378. description: 商品
  22379. type: string
  22380. type: object
  22381. models.WrPerformancePlan:
  22382. properties:
  22383. activatemonth:
  22384. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22385. type: string
  22386. amount:
  22387. description: 履约金额(总金额)
  22388. type: number
  22389. begindate:
  22390. description: 开始交易日(yyyymmdd)
  22391. type: string
  22392. buyaccountid:
  22393. description: 买方账号
  22394. type: integer
  22395. buyerfreezeamount:
  22396. description: 履约冻结(买履约)
  22397. type: number
  22398. buyerfreezeamountremain:
  22399. description: 履约冻结剩余(买履约)
  22400. type: number
  22401. buyorsell:
  22402. description: 买卖方向 0-买 1-卖
  22403. type: integer
  22404. buypaidamount:
  22405. description: 买方已冻/已扣金额 (已付金额)
  22406. type: number
  22407. buyusername:
  22408. description: 买方名字
  22409. type: string
  22410. contractid:
  22411. description: 合同ID
  22412. type: integer
  22413. createtime:
  22414. description: 创建时间
  22415. type: string
  22416. creatorid:
  22417. description: 创建人
  22418. type: integer
  22419. curstepdeadline:
  22420. description: 当前步骤到期时间
  22421. type: string
  22422. curstepid:
  22423. description: 当前步骤ID
  22424. type: string
  22425. curstepname:
  22426. description: 当前步骤名称
  22427. type: string
  22428. deliverygoodscode:
  22429. description: 品种代码
  22430. type: string
  22431. deliverygoodsid:
  22432. description: 品种ID
  22433. type: integer
  22434. deliverygoodsname:
  22435. description: 品种名称
  22436. type: string
  22437. enddate:
  22438. description: 结束交易日(yyyymmdd)
  22439. type: string
  22440. enumdicname:
  22441. description: 单位名称
  22442. type: string
  22443. expressfee:
  22444. description: 运费
  22445. type: number
  22446. expressfeeconfirmed:
  22447. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22448. type: integer
  22449. hasovershort:
  22450. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22451. type: integer
  22452. haswr:
  22453. description: 类型 0-仓单预售 1-仓单贸易
  22454. type: integer
  22455. marketid:
  22456. description: 市场ID
  22457. type: integer
  22458. middleaccountid:
  22459. description: 中间商资金账号ID
  22460. type: integer
  22461. middleuserid:
  22462. description: 中间商用户ID
  22463. type: integer
  22464. minivalue:
  22465. description: 现货商品最小变动值
  22466. type: integer
  22467. optioncompare:
  22468. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22469. type: string
  22470. overshortamount:
  22471. description: 溢短金额
  22472. type: number
  22473. overshortqty:
  22474. description: 溢短数量
  22475. type: number
  22476. paymenttype:
  22477. description: 付款方式 - 1:冻结 2:扣款
  22478. type: integer
  22479. performanceplanid:
  22480. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22481. type: string
  22482. performancestatus:
  22483. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22484. 9:超时待处理 10:超时关闭
  22485. type: integer
  22486. performancetype:
  22487. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22488. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22489. type: integer
  22490. qty:
  22491. description: 履约数量
  22492. type: number
  22493. relatedorderid:
  22494. description: 关联单号(履约类型的关联单号)
  22495. type: string
  22496. remark:
  22497. description: 备注
  22498. type: string
  22499. sellaccountid:
  22500. description: 卖方账号
  22501. type: integer
  22502. sellerfreezeamount:
  22503. description: 履约冻结(卖履约)
  22504. type: number
  22505. sellerfreezeamountremain:
  22506. description: 履约冻结剩余(卖履约)
  22507. type: number
  22508. sellreceivedamount:
  22509. description: 卖方已收金额
  22510. type: number
  22511. sellusername:
  22512. description: 卖方名字
  22513. type: string
  22514. shipremark:
  22515. description: 发货备注[物流单号]
  22516. type: string
  22517. starttime:
  22518. description: 开始时间
  22519. type: string
  22520. steptypeid:
  22521. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22522. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22523. type: integer
  22524. typename:
  22525. description: 履约类型 名称
  22526. type: string
  22527. unpaidamount:
  22528. description: 期初均价
  22529. type: number
  22530. userid:
  22531. description: 用户id
  22532. type: integer
  22533. warehouseid:
  22534. description: 仓库ID
  22535. type: integer
  22536. warehousename:
  22537. description: 仓库名称
  22538. type: string
  22539. wrfactortypeid:
  22540. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22541. type: string
  22542. wrfactortypename:
  22543. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22544. type: string
  22545. wrstandardcode:
  22546. description: 现货商品代码
  22547. type: string
  22548. wrstandardid:
  22549. description: 现货商品ID
  22550. type: integer
  22551. wrstandardname:
  22552. description: 商品名称
  22553. type: string
  22554. wrtransferuserid:
  22555. description: 仓单受让用户
  22556. type: integer
  22557. wrtypename:
  22558. description: 商品
  22559. type: string
  22560. required:
  22561. - userid
  22562. type: object
  22563. models.WrPerformancePlanStep:
  22564. properties:
  22565. delaydays:
  22566. description: 延期申请天数
  22567. type: integer
  22568. deliverygoodscode:
  22569. description: 品种代码
  22570. type: string
  22571. deliverygoodsid:
  22572. description: 品种ID
  22573. type: integer
  22574. deliverygoodsname:
  22575. description: 品种名称
  22576. type: string
  22577. endtime:
  22578. description: 结束日期
  22579. type: string
  22580. enumdicname:
  22581. description: 单位名称
  22582. type: string
  22583. executeside:
  22584. description: 步骤执行方 - 1:买方 2:卖方
  22585. type: integer
  22586. handlestatus:
  22587. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22588. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22589. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22590. type: integer
  22591. isauto:
  22592. description: 是否自动 - 0:不自动 1:自动
  22593. type: integer
  22594. islastreceivestep:
  22595. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22596. type: integer
  22597. minivalue:
  22598. description: 现货商品最小变动值
  22599. type: integer
  22600. optioncompare:
  22601. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22602. type: string
  22603. overdays:
  22604. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22605. type: integer
  22606. performancestepid:
  22607. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22608. type: string
  22609. planid:
  22610. description: 所属履约计划ID
  22611. type: string
  22612. realamount:
  22613. description: 实际完成金额
  22614. type: number
  22615. relatedorderid:
  22616. description: 关联单号
  22617. type: string
  22618. remaindays:
  22619. description: 剩余天数
  22620. type: integer
  22621. remark:
  22622. description: 错误备注
  22623. type: string
  22624. starttime:
  22625. description: 开始日期
  22626. type: string
  22627. stepamount:
  22628. description: 步骤金额
  22629. type: number
  22630. stepdays:
  22631. description: 距离上一步天数(分钟)
  22632. type: integer
  22633. stepindex:
  22634. description: 步骤序号
  22635. type: integer
  22636. steplanchtype:
  22637. description: 步骤启动类型 - 1:系统自动 2:手动
  22638. type: integer
  22639. stepremark:
  22640. description: 步骤备注
  22641. type: string
  22642. stepstatus:
  22643. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22644. type: integer
  22645. steptypeid:
  22646. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22647. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22648. type: integer
  22649. steptypename:
  22650. description: 步骤名称
  22651. type: string
  22652. stepvalue:
  22653. description: 步骤值
  22654. type: number
  22655. warehouseid:
  22656. description: 仓库ID
  22657. type: integer
  22658. warehousename:
  22659. description: 仓库名称
  22660. type: string
  22661. wrfactortypeid:
  22662. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22663. type: string
  22664. wrfactortypename:
  22665. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22666. type: string
  22667. wrstandardcode:
  22668. description: 现货商品代码
  22669. type: string
  22670. wrstandardid:
  22671. description: 现货商品ID
  22672. type: integer
  22673. wrstandardname:
  22674. description: 商品名称
  22675. type: string
  22676. wrtypename:
  22677. description: 商品
  22678. type: string
  22679. type: object
  22680. models.WrPerformanceStepType:
  22681. properties:
  22682. canauto:
  22683. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22684. type: integer
  22685. steptypeid:
  22686. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22687. type: integer
  22688. steptypename:
  22689. description: 步骤类型名称
  22690. type: string
  22691. type: object
  22692. models.WrPerformanceTemplateEx:
  22693. properties:
  22694. autoid:
  22695. description: AutoID 模板id
  22696. type: integer
  22697. createtime:
  22698. description: 创建时间
  22699. type: string
  22700. creatorid:
  22701. description: 创建人
  22702. type: integer
  22703. lstStep:
  22704. description: 步骤信息列表
  22705. items:
  22706. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22707. type: array
  22708. paymenttype:
  22709. description: 支付方式 - 1:冻结 2:扣款
  22710. type: integer
  22711. takemode:
  22712. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22713. type: integer
  22714. templatename:
  22715. description: 模板名称
  22716. type: string
  22717. templatetype:
  22718. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22719. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22720. type: integer
  22721. userid:
  22722. description: 所属用户
  22723. type: integer
  22724. type: object
  22725. models.WrPosition:
  22726. properties:
  22727. accountid:
  22728. description: 帐户ID
  22729. type: integer
  22730. buyexcuteqty:
  22731. description: 采购履约中数量
  22732. type: number
  22733. creditcurqty:
  22734. description: 授信当前数量(预售仓单:预售当前量)
  22735. type: number
  22736. creditenableqty:
  22737. description: '授信可用数量(预售仓单: 可用数量)'
  22738. type: number
  22739. creditfreezeqty:
  22740. description: '授信冻结数量(预售仓单: 当前数量)'
  22741. type: number
  22742. credittotalqty:
  22743. description: 授信总数量(预售仓单:预售总量)
  22744. type: number
  22745. credittradeqty:
  22746. description: 授信成交数量(预售仓单:成交总量)
  22747. type: number
  22748. deliverygoodscode:
  22749. description: 品种代码
  22750. type: string
  22751. deliverygoodsid:
  22752. description: 品种ID
  22753. type: integer
  22754. deliverygoodsname:
  22755. description: 品种名称
  22756. type: string
  22757. enalbeqty:
  22758. description: 可用数量
  22759. type: number
  22760. enumdicname:
  22761. description: 单位名称
  22762. type: string
  22763. freezeqty:
  22764. description: 总冻结数量
  22765. type: number
  22766. haswr:
  22767. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22768. type: integer
  22769. minivalue:
  22770. description: 现货商品最小变动值
  22771. type: integer
  22772. modifytime:
  22773. description: 修改时间(过户时间)
  22774. type: string
  22775. optioncompare:
  22776. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22777. type: string
  22778. pledgeqty:
  22779. description: 质押数量
  22780. type: number
  22781. querytype:
  22782. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22783. type: integer
  22784. sellexcuteqty:
  22785. description: 销售履约中数量
  22786. type: number
  22787. totalqty:
  22788. description: 总数量(库存数量)
  22789. type: number
  22790. warehouseid:
  22791. description: 仓库ID
  22792. type: integer
  22793. warehousename:
  22794. description: 仓库名称
  22795. type: string
  22796. wrfactortypeid:
  22797. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22798. type: string
  22799. wrfactortypename:
  22800. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22801. type: string
  22802. wrpositionid:
  22803. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22804. type: string
  22805. wrpositionno:
  22806. description: 仓单编号
  22807. type: string
  22808. wrstandardcode:
  22809. description: 现货商品代码
  22810. type: string
  22811. wrstandardid:
  22812. description: 现货商品ID
  22813. type: integer
  22814. wrstandardname:
  22815. description: 商品名称
  22816. type: string
  22817. wrtypename:
  22818. description: 商品
  22819. type: string
  22820. wruserid:
  22821. description: 持有人ID
  22822. type: integer
  22823. type: object
  22824. models.WrPreSaleInfo:
  22825. properties:
  22826. bannerpicurl:
  22827. description: Banner图
  22828. type: string
  22829. baseqty:
  22830. description: 中签基数
  22831. type: number
  22832. createtime:
  22833. description: 创建时间
  22834. type: string
  22835. deliverygoodsid:
  22836. description: 现货品种ID
  22837. type: integer
  22838. enddate:
  22839. description: 预售结束日期
  22840. type: string
  22841. enumdicname:
  22842. description: 单位名称
  22843. type: string
  22844. lotteryflag:
  22845. description: 摇号标识 - 0:未摇号 1:已摇号
  22846. type: integer
  22847. lotteryqty:
  22848. description: 摇号总量
  22849. type: number
  22850. luckyqty:
  22851. description: 已中签量
  22852. type: number
  22853. marketid:
  22854. description: 市场ID
  22855. type: integer
  22856. maxbuyqty:
  22857. description: 单人最大申购量
  22858. type: number
  22859. maxluckyqty:
  22860. description: 单人最大中签量
  22861. type: number
  22862. pictureurls:
  22863. description: 详情图片(逗号分隔)
  22864. type: string
  22865. placeqty:
  22866. description: 已配售量
  22867. type: number
  22868. presaleapplyid:
  22869. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22870. example: "0"
  22871. type: string
  22872. presaleqty:
  22873. description: 预售总量
  22874. type: number
  22875. presalestatus:
  22876. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22877. type: integer
  22878. sellaccountid:
  22879. description: 发行方资金账户ID
  22880. type: integer
  22881. selluserid:
  22882. description: 发行方用户ID
  22883. type: integer
  22884. sellwrtradeorderid:
  22885. description: 发行方卖委托单ID
  22886. type: string
  22887. startdate:
  22888. description: 预售开始日期
  22889. type: string
  22890. takestartdate:
  22891. description: 提货开始日期
  22892. type: string
  22893. thumurls:
  22894. description: 缩略图片(1:1)(逗号分隔)
  22895. type: string
  22896. tradedate:
  22897. description: 交易日
  22898. type: string
  22899. unitid:
  22900. description: 单位ID
  22901. type: integer
  22902. unitprice:
  22903. description: 商品单价
  22904. type: number
  22905. username:
  22906. description: 发行方用户名称
  22907. type: string
  22908. warehousecode:
  22909. description: 仓库代码(仓库简称)
  22910. type: string
  22911. warehouseid:
  22912. description: 仓库ID
  22913. type: integer
  22914. warehousename:
  22915. description: 仓库名称
  22916. type: string
  22917. wrfactortypeid:
  22918. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22919. example: "0"
  22920. type: string
  22921. wrstandardid:
  22922. description: 现货商品ID
  22923. type: integer
  22924. wrstandardname:
  22925. description: 现货商品名称
  22926. type: string
  22927. type: object
  22928. models.WrQuoteOrderMyq:
  22929. properties:
  22930. buyorsell:
  22931. description: 买卖 - 0:买 1:卖
  22932. type: integer
  22933. canbargain:
  22934. description: 是否可议价 - 0:不可 1:可
  22935. type: integer
  22936. canpart:
  22937. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22938. type: integer
  22939. delistminqty:
  22940. description: 期初均价
  22941. type: number
  22942. deliverygoodscode:
  22943. description: 品种代码
  22944. type: string
  22945. deliverygoodsid:
  22946. description: 品种ID
  22947. type: integer
  22948. deliverygoodsname:
  22949. description: 品种名称
  22950. type: string
  22951. deliverymonth:
  22952. description: 交收月
  22953. type: string
  22954. enumdicname:
  22955. description: 单位名称
  22956. type: string
  22957. fixedprice:
  22958. description: 买(卖)价
  22959. type: number
  22960. goodscode:
  22961. description: 商品合约代码
  22962. type: string
  22963. marginflag:
  22964. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22965. type: integer
  22966. marginvalue:
  22967. description: 保证金设置值
  22968. type: number
  22969. minivalue:
  22970. description: 现货商品最小变动值
  22971. type: integer
  22972. orderqty:
  22973. description: 买(卖)量(=委托量-成交量)
  22974. type: number
  22975. ordertime:
  22976. description: 委托时间
  22977. type: string
  22978. performancetemplateid:
  22979. description: 履约模板id
  22980. type: integer
  22981. pricemove:
  22982. description: 买(卖)升贴水- 基差
  22983. type: number
  22984. templatename:
  22985. description: 履约模板名称
  22986. type: string
  22987. userid:
  22988. description: 购买方(销售方)用户ID
  22989. type: integer
  22990. username:
  22991. description: 购买方(销售方)
  22992. type: string
  22993. validtime:
  22994. description: 有效期限
  22995. type: string
  22996. validtype:
  22997. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22998. type: integer
  22999. warehousename:
  23000. description: 仓库名称
  23001. type: string
  23002. wrfactortypeid:
  23003. description: 仓单要素id
  23004. type: string
  23005. wrstandardcode:
  23006. description: 现货商品代码
  23007. type: string
  23008. wrstandardid:
  23009. description: 现货商品ID
  23010. type: integer
  23011. wrstandardname:
  23012. description: 商品名称
  23013. type: string
  23014. wrtradeorderid:
  23015. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23016. type: string
  23017. wrtypename:
  23018. description: 商品
  23019. type: string
  23020. type: object
  23021. models.WrReckonSpotGoodsTradeSum:
  23022. properties:
  23023. begindate:
  23024. description: 开始日期(结果含开始日期) yyyymmdd
  23025. type: string
  23026. enddate:
  23027. description: 结束日期(结果含结束日期) yyyymmdd
  23028. type: string
  23029. istoday:
  23030. description: 是否当日
  23031. type: boolean
  23032. marketid:
  23033. description: 市场ID
  23034. type: integer
  23035. price:
  23036. description: 价格 = 日成交金额 / 日成交数量
  23037. type: string
  23038. reckondate:
  23039. description: 日期 格式 yyyymmdd
  23040. type: string
  23041. tradeamount:
  23042. description: 期初均价
  23043. type: number
  23044. tradeqty:
  23045. description: 期初均价
  23046. type: number
  23047. wrstandardid:
  23048. description: 现货商品ID
  23049. type: integer
  23050. type: object
  23051. models.WrScfContract:
  23052. properties:
  23053. borroweruserid:
  23054. description: 借款用户ID
  23055. type: integer
  23056. buybackwrpositionqty:
  23057. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23058. type: number
  23059. closeinterest:
  23060. description: 已结利息 -> 已结费用
  23061. type: number
  23062. currisklevel:
  23063. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23064. type: integer
  23065. deadline:
  23066. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23067. type: string
  23068. deliverygoodscode:
  23069. description: 品种代码
  23070. type: string
  23071. deliverygoodsid:
  23072. description: 品种ID
  23073. type: integer
  23074. deliverygoodsname:
  23075. description: 品种名称
  23076. type: string
  23077. enumdicname:
  23078. description: 单位名称
  23079. type: string
  23080. financingdays:
  23081. description: 天数(天)
  23082. type: integer
  23083. initmargin:
  23084. description: 保证金 - [仓单回购]
  23085. type: number
  23086. interestamount:
  23087. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23088. type: number
  23089. interestdebt:
  23090. description: 利息欠款(记录负数) -> 费用欠款
  23091. type: number
  23092. interestminlen:
  23093. description: 最小起息天数
  23094. type: integer
  23095. interestrate:
  23096. description: 利率
  23097. type: number
  23098. interestratemode:
  23099. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23100. type: integer
  23101. interestsettlemode:
  23102. description: 结息方式 - 1:按日结息 3:按月结息
  23103. type: integer
  23104. interestsettlevalue:
  23105. description: 结息方式值
  23106. type: integer
  23107. isautoloan:
  23108. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23109. type: integer
  23110. lastcloseinterestday:
  23111. description: 最近结息日(yyyyMMdd)
  23112. type: string
  23113. lenderamount:
  23114. description: 贷款金额 -> 借款金额
  23115. type: number
  23116. lenderuserid:
  23117. description: 贷款方用户ID -> 融出方用户ID
  23118. type: integer
  23119. lenderusername:
  23120. description: 融出方
  23121. type: string
  23122. marginratio:
  23123. description: 保证金比率质押率 - [仓单质押]
  23124. type: number
  23125. marketid:
  23126. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23127. type: integer
  23128. minivalue:
  23129. description: 现货商品最小变动值
  23130. type: integer
  23131. optioncompare:
  23132. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23133. type: string
  23134. pricemove:
  23135. description: 估值升贴水值
  23136. type: number
  23137. productdetailid:
  23138. description: 产品组合ID
  23139. type: integer
  23140. productid:
  23141. description: 金融产品ID
  23142. type: integer
  23143. productname:
  23144. description: 产品名称
  23145. type: string
  23146. remainamount:
  23147. description: 合同剩余金额 -> 剩余金额
  23148. type: number
  23149. remainwrpositionqty:
  23150. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23151. type: number
  23152. remark:
  23153. description: 备注
  23154. type: string
  23155. scfcontractid:
  23156. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23157. type: string
  23158. scfcontractstatus:
  23159. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23160. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23161. type: integer
  23162. scfcontracttype:
  23163. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23164. type: integer
  23165. startinterestday:
  23166. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23167. type: string
  23168. totalinterest:
  23169. description: 已计利息 -> 已计费用
  23170. type: number
  23171. unpaidinterest:
  23172. description: 期初均价
  23173. type: number
  23174. updatetime:
  23175. description: 更新时间
  23176. type: string
  23177. warehouseid:
  23178. description: 仓库ID
  23179. type: integer
  23180. warehousename:
  23181. description: 仓库名称
  23182. type: string
  23183. wrfactortypeid:
  23184. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23185. type: string
  23186. wrfactortypename:
  23187. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23188. type: string
  23189. wrqty:
  23190. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23191. type: number
  23192. wrstandardcode:
  23193. description: 现货商品代码
  23194. type: string
  23195. wrstandardid:
  23196. description: 现货商品ID
  23197. type: integer
  23198. wrstandardname:
  23199. description: 商品名称
  23200. type: string
  23201. wrtypename:
  23202. description: 商品
  23203. type: string
  23204. type: object
  23205. models.WrScfContractInterest:
  23206. properties:
  23207. closeinterest:
  23208. description: 已结利息
  23209. type: number
  23210. closeintereststatus:
  23211. description: 结息状态 - 1:未结 2:已结
  23212. type: integer
  23213. closetime:
  23214. description: 结息时间
  23215. type: string
  23216. closetradedate:
  23217. description: 结息交易日
  23218. type: string
  23219. creatorid:
  23220. description: 操作人ID
  23221. type: integer
  23222. dayrate:
  23223. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23224. type: number
  23225. interest:
  23226. description: 利息
  23227. type: number
  23228. interestamount:
  23229. description: 计息金额
  23230. type: number
  23231. interestday:
  23232. description: 计息日(yyyyMMdd)
  23233. type: string
  23234. scfcontractid:
  23235. description: SCF合同ID
  23236. type: string
  23237. scfcontractinterestid:
  23238. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23239. type: integer
  23240. updatetime:
  23241. description: 更新时间
  23242. type: string
  23243. type: object
  23244. models.WrSearchUser:
  23245. properties:
  23246. userid:
  23247. description: 用户ID
  23248. type: integer
  23249. username:
  23250. description: 用户名称(已脱敏)
  23251. type: string
  23252. username2:
  23253. description: 用户名称(未脱敏)
  23254. type: string
  23255. usertype:
  23256. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23257. type: integer
  23258. required:
  23259. - username
  23260. type: object
  23261. models.WrSiteColumnDetail:
  23262. properties:
  23263. author:
  23264. description: 作者
  23265. type: string
  23266. brief:
  23267. description: 简介
  23268. type: string
  23269. context:
  23270. description: 内容
  23271. type: string
  23272. coverimage:
  23273. description: 封面图片
  23274. type: string
  23275. creaedate:
  23276. description: 创建时间
  23277. type: string
  23278. id:
  23279. description: ID(SEQ_SITE_COLUMNDETAIL)
  23280. type: integer
  23281. istop:
  23282. description: 是否置顶 - 0:不置 1:置顶
  23283. type: integer
  23284. publishdate:
  23285. description: 发布日期
  23286. type: string
  23287. title:
  23288. description: 标题
  23289. type: string
  23290. updatedate:
  23291. description: 修改时间
  23292. type: string
  23293. type: object
  23294. models.WrSpecialMatchOrder:
  23295. properties:
  23296. amount:
  23297. description: 金额 = 数量 * 价格
  23298. type: number
  23299. buyorsell:
  23300. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23301. type: integer
  23302. cancelqty:
  23303. description: 撤销数量
  23304. type: number
  23305. deliverygoodscode:
  23306. description: 品种代码
  23307. type: string
  23308. deliverygoodsid:
  23309. description: 品种ID
  23310. type: integer
  23311. deliverygoodsname:
  23312. description: 品种名称
  23313. type: string
  23314. enumdicname:
  23315. description: 单位名称
  23316. type: string
  23317. fixedprice:
  23318. description: 固定价格(价格)
  23319. type: number
  23320. haswr:
  23321. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23322. type: integer
  23323. isspecified:
  23324. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23325. type: integer
  23326. marketid:
  23327. description: 市场ID
  23328. type: integer
  23329. matchuserid:
  23330. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23331. type: integer
  23332. matchusername:
  23333. description: 指定方
  23334. type: string
  23335. minivalue:
  23336. description: 现货商品最小变动值
  23337. type: integer
  23338. optioncompare:
  23339. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23340. type: string
  23341. orderqty:
  23342. description: 委托数量
  23343. type: number
  23344. ordertime:
  23345. description: 委托时间
  23346. type: string
  23347. pricemove:
  23348. description: 升贴水(浮动价时填写) - [挂牌]
  23349. type: number
  23350. tradedate:
  23351. description: 交易日(yyyyMMdd)
  23352. type: string
  23353. tradeprice:
  23354. description: 成交价格
  23355. type: number
  23356. tradeqty:
  23357. description: 成交数量
  23358. type: number
  23359. userid:
  23360. description: 用户ID
  23361. type: integer
  23362. username:
  23363. description: 发起方
  23364. type: string
  23365. warehouseid:
  23366. description: 仓库ID
  23367. type: integer
  23368. warehousename:
  23369. description: 仓库名称
  23370. type: string
  23371. wrfactortypeid:
  23372. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23373. type: string
  23374. wrfactortypename:
  23375. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23376. type: string
  23377. wrpricetype:
  23378. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23379. type: integer
  23380. wrstandardcode:
  23381. description: 现货商品代码
  23382. type: string
  23383. wrstandardid:
  23384. description: 现货商品ID
  23385. type: integer
  23386. wrstandardname:
  23387. description: 商品名称
  23388. type: string
  23389. wrtradeorderid:
  23390. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23391. type: string
  23392. wrtradeorderstatus:
  23393. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23394. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23395. type: integer
  23396. wrtradetype:
  23397. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23398. type: integer
  23399. wrtypename:
  23400. description: 商品
  23401. type: string
  23402. type: object
  23403. models.WrSpotGroupTradeSum:
  23404. properties:
  23405. deliverygoodscode:
  23406. description: 现货品种代码
  23407. type: string
  23408. deliverygoodsid:
  23409. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23410. type: integer
  23411. deliverygoodsname:
  23412. description: 现货品种名称
  23413. type: string
  23414. lastavgprice:
  23415. description: 上上个交易日价格(前2天价格)
  23416. type: string
  23417. lastreckondate:
  23418. description: 上上个交易日(前2天交易日)
  23419. type: string
  23420. reckondate:
  23421. description: 上个交易日(前1天交易日)
  23422. type: string
  23423. todayavgprice:
  23424. description: 上个交易日价格(前1天价格)
  23425. type: string
  23426. updown:
  23427. description: 涨跌
  23428. type: string
  23429. updownratio:
  23430. description: 涨幅(已格式化, 直接显示即可)
  23431. type: string
  23432. type: object
  23433. models.WrSpotGroupTradeSumDetail:
  23434. properties:
  23435. deliverygoodsid:
  23436. description: 现货商品id
  23437. type: integer
  23438. price:
  23439. description: 价格
  23440. type: number
  23441. reckondate:
  23442. description: 日期(yyymmdd, 如:20211031)
  23443. type: string
  23444. type: object
  23445. models.WrSpotGroupTradeSumEx:
  23446. properties:
  23447. lst:
  23448. description: 指数列表
  23449. items:
  23450. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23451. type: array
  23452. prereckondate:
  23453. description: 上上个交易日(yyymmdd)
  23454. type: string
  23455. reckondate:
  23456. description: 上个交易日(yyyymmdd)
  23457. type: string
  23458. type: object
  23459. models.WrStandardFactoryItem:
  23460. properties:
  23461. dgfactoryitemid:
  23462. description: 选择项id
  23463. type: integer
  23464. dgfactoryitemvalue:
  23465. description: 要素项值
  23466. type: string
  23467. warehouseid:
  23468. description: 仓库id
  23469. type: integer
  23470. type: object
  23471. models.WrStandardFactoryItemEx:
  23472. properties:
  23473. dgfactoryitemtypeid:
  23474. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23475. type: integer
  23476. itemlst:
  23477. description: 要素项列表
  23478. items:
  23479. $ref: '#/definitions/models.WrStandardFactoryItem'
  23480. type: array
  23481. itemtypename:
  23482. description: 要素项类型名称
  23483. type: string
  23484. wrstandardid:
  23485. description: 品类
  23486. type: integer
  23487. type: object
  23488. models.WrTradeDetail:
  23489. properties:
  23490. accountid:
  23491. description: 资金账号
  23492. type: integer
  23493. bannerpicurl:
  23494. description: Banner图
  23495. type: string
  23496. begindate:
  23497. description: 开始交易日(yyyymmdd)
  23498. type: string
  23499. buyorsell:
  23500. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23501. type: integer
  23502. chargevalue:
  23503. description: 手续费
  23504. type: number
  23505. contractaddr:
  23506. description: 合同地址
  23507. type: string
  23508. deliverygoodscode:
  23509. description: 品种代码
  23510. type: string
  23511. deliverygoodsid:
  23512. description: 品种ID
  23513. type: integer
  23514. deliverygoodsname:
  23515. description: 品种名称
  23516. type: string
  23517. deliverymonth:
  23518. description: 交收月
  23519. type: string
  23520. enddate:
  23521. description: 结束交易日(yyyymmdd)
  23522. type: string
  23523. enumdicname:
  23524. description: 单位名称
  23525. type: string
  23526. haswr:
  23527. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23528. type: integer
  23529. marketid:
  23530. description: 市场ID
  23531. type: integer
  23532. matchaccountid:
  23533. description: 对手账号
  23534. type: integer
  23535. matchusername:
  23536. description: 对手方
  23537. type: string
  23538. minivalue:
  23539. description: 现货商品最小变动值
  23540. type: integer
  23541. optioncompare:
  23542. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23543. type: string
  23544. thumurls:
  23545. description: 缩略图
  23546. type: string
  23547. tradedate:
  23548. description: 交易日(yyyyMMdd)
  23549. type: string
  23550. tradeprice:
  23551. description: 成交价格
  23552. type: number
  23553. tradeqty:
  23554. description: 成交数量
  23555. type: number
  23556. tradetime:
  23557. description: 成交时间
  23558. type: string
  23559. unitid:
  23560. description: 现货商品单位ID
  23561. type: integer
  23562. userid:
  23563. description: 用户ID
  23564. type: integer
  23565. warehouseid:
  23566. description: 仓库ID
  23567. type: integer
  23568. warehousename:
  23569. description: 仓库名称
  23570. type: string
  23571. wrfactortypeid:
  23572. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23573. type: string
  23574. wrfactortypename:
  23575. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23576. type: string
  23577. wrstandardcode:
  23578. description: 现货商品代码
  23579. type: string
  23580. wrstandardid:
  23581. description: 现货商品ID
  23582. type: integer
  23583. wrstandardname:
  23584. description: 商品名称
  23585. type: string
  23586. wrtradedetailid:
  23587. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23588. type: string
  23589. wrtradetype:
  23590. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23591. type: integer
  23592. wrtypename:
  23593. description: 商品
  23594. type: string
  23595. type: object
  23596. models.WrTradeOrderDetail:
  23597. properties:
  23598. buyorsell:
  23599. description: 买卖方向 0-买 1-卖
  23600. type: integer
  23601. goodsid:
  23602. description: 商品id
  23603. type: integer
  23604. orderid:
  23605. description: 委托单号
  23606. type: string
  23607. orderprice:
  23608. description: 期初均价
  23609. type: number
  23610. orderqty:
  23611. description: 委托数量
  23612. type: integer
  23613. userid:
  23614. description: 用户id
  23615. type: integer
  23616. username:
  23617. description: 用户名称(已脱敏)
  23618. type: string
  23619. type: object
  23620. models.WrTypeItem:
  23621. properties:
  23622. name:
  23623. description: 名称
  23624. type: string
  23625. value:
  23626. description: 值
  23627. type: string
  23628. type: object
  23629. models.WrUserFriend:
  23630. properties:
  23631. friendname:
  23632. description: 朋友名称(已脱敏)
  23633. type: string
  23634. frienduserid:
  23635. description: 朋友id
  23636. type: integer
  23637. isfriend:
  23638. description: 是否好友 0-不是 1-是
  23639. type: integer
  23640. userid:
  23641. description: 用户id
  23642. type: integer
  23643. type: object
  23644. models.WrUserReceiptInfo:
  23645. properties:
  23646. address:
  23647. description: 地址[发票类型:企业]
  23648. type: string
  23649. autoid:
  23650. description: AutoID
  23651. type: integer
  23652. contactinfo:
  23653. description: 联系方式
  23654. type: string
  23655. email:
  23656. description: 收件邮箱
  23657. type: string
  23658. idnum:
  23659. description: 身份证号码[发票类型:个人]
  23660. type: string
  23661. isdefault:
  23662. description: 是否默认地址 - 0:否 1:是
  23663. type: integer
  23664. receiptaccount:
  23665. description: 发票帐号[发票类型:企业]
  23666. type: string
  23667. receiptbank:
  23668. description: 发票开户行[发票类型:企业]
  23669. type: string
  23670. receipttype:
  23671. description: 发票类型 - 1:个人 2:企业
  23672. type: integer
  23673. taxpayerid:
  23674. description: 纳税人识别号
  23675. type: string
  23676. userid:
  23677. description: 用户ID
  23678. type: integer
  23679. username:
  23680. description: 户名(个人姓名或企业名称)
  23681. type: string
  23682. type: object
  23683. models.Wrtradetradequote:
  23684. properties:
  23685. buyaccountid:
  23686. description: 买方账号ID
  23687. type: integer
  23688. buychargevalue:
  23689. description: 买方手续费
  23690. type: number
  23691. buyuserid:
  23692. description: 买方用户ID
  23693. type: integer
  23694. deliverygoodsid:
  23695. description: 现货品种ID
  23696. type: integer
  23697. exchangerate:
  23698. description: 汇率
  23699. type: number
  23700. marketid:
  23701. description: 市场ID
  23702. type: integer
  23703. oritradeamount:
  23704. description: 成交金额[商品币种]
  23705. type: number
  23706. performanceplanid:
  23707. description: 履约计划ID/合同ID
  23708. type: integer
  23709. sellaccountid:
  23710. description: 卖方账号ID
  23711. type: integer
  23712. sellchargevalue:
  23713. description: 卖方手续费
  23714. type: number
  23715. selluserid:
  23716. description: 卖方用户ID
  23717. type: integer
  23718. tradeamount:
  23719. description: 成交金额
  23720. type: number
  23721. tradedate:
  23722. description: 交易日(yyyyMMdd)
  23723. type: string
  23724. tradeprice:
  23725. description: 成交价格
  23726. type: number
  23727. tradeqty:
  23728. description: 成交数量
  23729. type: integer
  23730. tradetime:
  23731. description: 成交时间
  23732. type: string
  23733. wrfactortypeid:
  23734. description: 仓单要素类型ID
  23735. type: integer
  23736. wrstandardid:
  23737. description: 现货商品ID
  23738. type: integer
  23739. wrtradedetailid:
  23740. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23741. type: integer
  23742. type: object
  23743. models.XHBRAND:
  23744. properties:
  23745. brandid:
  23746. description: 品牌id
  23747. type: integer
  23748. brandname:
  23749. description: 品牌名称
  23750. type: string
  23751. isvalid:
  23752. description: 是否有效 0-无效 1-有效
  23753. type: integer
  23754. type: object
  23755. models.XHDeliveryGoods:
  23756. properties:
  23757. areauserid:
  23758. description: 所属机构
  23759. type: integer
  23760. bdlst:
  23761. description: 品牌列表
  23762. items:
  23763. $ref: '#/definitions/models.XHBRAND'
  23764. type: array
  23765. deliverygoodscode:
  23766. description: 现货品种代码
  23767. type: string
  23768. deliverygoodsid:
  23769. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23770. type: integer
  23771. deliverygoodsname:
  23772. description: 现货品种名称
  23773. type: string
  23774. dgstatus:
  23775. description: 品种状态 - 作废 - 0:未激活 1:正常
  23776. type: integer
  23777. filterSubEmpty:
  23778. description: 过滤下级为空的
  23779. type: integer
  23780. isvalid:
  23781. description: 是否有效 - 0:无效 1:有效
  23782. type: integer
  23783. remark:
  23784. description: 备注
  23785. type: string
  23786. unitid:
  23787. description: 单位id(目前看,数据库中是空值)
  23788. type: integer
  23789. wdlst:
  23790. description: 品类(现货商品)列表
  23791. items:
  23792. $ref: '#/definitions/models.XHWrstandard'
  23793. type: array
  23794. type: object
  23795. models.XHMiddleGoods:
  23796. properties:
  23797. GPLST:
  23798. description: 期货品种列表
  23799. items:
  23800. $ref: '#/definitions/models.TBGoodsGroup'
  23801. type: array
  23802. convertratio:
  23803. description: 拆算系数
  23804. type: number
  23805. costratio:
  23806. description: 成本权重
  23807. type: number
  23808. deliverygoodsid:
  23809. description: 现货商品id
  23810. type: integer
  23811. enumdicname:
  23812. description: 单位名称
  23813. type: string
  23814. middlegoodscode:
  23815. description: 套保品种代码
  23816. type: string
  23817. middlegoodsid:
  23818. description: 套保品种id
  23819. type: integer
  23820. middlegoodsname:
  23821. description: 套保品种名称
  23822. type: string
  23823. unitid:
  23824. description: 单位id
  23825. type: integer
  23826. type: object
  23827. models.XHWrstandard:
  23828. properties:
  23829. bannerpicurl:
  23830. description: banner图
  23831. type: string
  23832. deliverygoodsid:
  23833. description: 品种ID
  23834. type: integer
  23835. enumdicname:
  23836. description: 单位名称
  23837. type: string
  23838. mglst:
  23839. description: 套保品列表
  23840. items:
  23841. $ref: '#/definitions/models.XHMiddleGoods'
  23842. type: array
  23843. pictureurls:
  23844. description: 详情图片(逗号分隔)
  23845. type: string
  23846. thumurls:
  23847. description: 缩略图片(1:1)(逗号分隔)
  23848. type: string
  23849. unitid:
  23850. description: 单位id
  23851. type: integer
  23852. vatrate:
  23853. description: 增值税率
  23854. type: number
  23855. wrstandardcode:
  23856. description: 现货商品代码
  23857. type: string
  23858. wrstandardid:
  23859. description: 现货商品ID(SEQ_WRSTANDARD)
  23860. type: integer
  23861. wrstandardname:
  23862. description: 现货商品名称
  23863. type: string
  23864. type: object
  23865. models.XhcpSellBackApplyEx:
  23866. properties:
  23867. applyremark:
  23868. description: 申请备注
  23869. type: string
  23870. expirytype:
  23871. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23872. type: integer
  23873. goodsspec:
  23874. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23875. type: integer
  23876. holeflag:
  23877. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23878. type: integer
  23879. isunopened:
  23880. description: 是否原封 - 1:否 2:是
  23881. type: integer
  23882. mpflag:
  23883. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23884. type: integer
  23885. openflag:
  23886. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23887. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23888. type: integer
  23889. phonenum:
  23890. description: 联系电话
  23891. type: string
  23892. userid:
  23893. description: 所属用户ID
  23894. type: integer
  23895. zpflag:
  23896. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23897. type: integer
  23898. required:
  23899. - userid
  23900. type: object
  23901. models.Xhcpsellbackapply:
  23902. properties:
  23903. applyid:
  23904. description: 申请人
  23905. type: integer
  23906. applyremark:
  23907. description: 申请备注
  23908. type: string
  23909. applysrc:
  23910. description: 申请来源 - 1:管理端 2:终端
  23911. type: integer
  23912. applystatus:
  23913. description: 申请状态 - 1:待确认 2:已处理
  23914. type: integer
  23915. applytime:
  23916. description: 申请时间
  23917. type: string
  23918. auditremark:
  23919. description: 审核备注
  23920. type: string
  23921. auditsrc:
  23922. description: 审核来源 - 1:管理端 2:终端
  23923. type: integer
  23924. expirytype:
  23925. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23926. type: integer
  23927. goodsspec:
  23928. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23929. type: integer
  23930. holeflag:
  23931. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23932. type: integer
  23933. isunopened:
  23934. description: 是否原封 - 1:否 2:是
  23935. type: integer
  23936. mpflag:
  23937. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23938. type: integer
  23939. openflag:
  23940. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23941. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23942. type: integer
  23943. phonenum:
  23944. description: 联系电话
  23945. type: string
  23946. sellbackapplyid:
  23947. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23948. type: string
  23949. userid:
  23950. description: 所属用户ID
  23951. type: integer
  23952. zpflag:
  23953. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23954. type: integer
  23955. required:
  23956. - userid
  23957. type: object
  23958. order.QueryHisTradeDetailRsp:
  23959. properties:
  23960. accountid:
  23961. description: 账户ID[报价币种]
  23962. type: integer
  23963. advanceratio:
  23964. description: 首付比率
  23965. type: number
  23966. buildtype:
  23967. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23968. type: integer
  23969. buyorsell:
  23970. description: 方向 - 0:买 1:卖
  23971. type: integer
  23972. charge:
  23973. description: 手续费
  23974. type: number
  23975. closecharge:
  23976. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23977. type: number
  23978. closeexchagechargevalue:
  23979. description: 平仓交易所手续费设置值
  23980. type: number
  23981. closefeealgorithm:
  23982. description: 平仓手续费收取方式 1:比率 2:固定
  23983. type: integer
  23984. closememberchargevalue:
  23985. description: 平仓会员手续费设置值
  23986. type: number
  23987. closepl:
  23988. description: 平仓盈亏
  23989. type: number
  23990. closepl2:
  23991. description: 平仓盈亏[逐笔]
  23992. type: number
  23993. closeqty:
  23994. description: 平仓数量(先建后平操作 需要记录)
  23995. type: number
  23996. creditamount:
  23997. description: 授信金额
  23998. type: number
  23999. decimalplace:
  24000. description: 商品报价小数位
  24001. type: integer
  24002. enumdicname:
  24003. description: 单位名称
  24004. type: string
  24005. gcaccountid:
  24006. description: 账户ID[合约币种]
  24007. type: integer
  24008. goodscode:
  24009. description: 商品代码
  24010. type: string
  24011. goodsid:
  24012. description: 商品ID
  24013. type: integer
  24014. goodsname:
  24015. description: 商品名称
  24016. type: string
  24017. goodunitid:
  24018. description: 商品单位id
  24019. type: integer
  24020. histradedate:
  24021. description: 历史交易日
  24022. type: string
  24023. intclosepl:
  24024. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24025. type: integer
  24026. isconfirmexercise:
  24027. description: 是否确认行权- 0:否 1:是
  24028. type: integer
  24029. ismain:
  24030. description: 是否主单 - 0:不是 1:是
  24031. type: integer
  24032. ispreexercise:
  24033. description: 是否预申报- 0:否 1:是
  24034. type: integer
  24035. isreckoned:
  24036. description: 是否结算 - 0:未结算 1:已结算
  24037. type: integer
  24038. isvaliddata:
  24039. description: 是否有效 - 0:无效 1:有效
  24040. type: integer
  24041. listingselecttype:
  24042. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24043. type: integer
  24044. marketid:
  24045. description: 市场ID
  24046. type: integer
  24047. marketname:
  24048. description: 市场名称
  24049. type: string
  24050. matchaccountid:
  24051. description: 对手账号id
  24052. type: integer
  24053. memberuserid:
  24054. description: 会员id 个人投资者 需要填写
  24055. type: integer
  24056. opencharge:
  24057. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24058. type: number
  24059. openexchagechargevalue:
  24060. description: 建仓交易所手续费设置值
  24061. type: number
  24062. openfeealgorithm:
  24063. description: 建仓手续费收取方式 1:比率 2:固定
  24064. type: integer
  24065. openmemberchargevalue:
  24066. description: 建仓会员手续费设置值
  24067. type: number
  24068. openqty:
  24069. description: 开仓数量(先建后平操作 需要记录)
  24070. type: number
  24071. optiontype:
  24072. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24073. type: integer
  24074. orderid:
  24075. description: 委托单号
  24076. type: string
  24077. payamount:
  24078. description: 支付金额(付款金额)
  24079. type: number
  24080. performanceplanid:
  24081. description: 履约计划ID[期权]
  24082. type: integer
  24083. performancestatus:
  24084. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24085. type: integer
  24086. preexerciseprice:
  24087. description: 预申报价格
  24088. type: number
  24089. premium:
  24090. description: 权利金 - [持仓单的权利金]
  24091. type: number
  24092. qtydecimalplace:
  24093. description: 商品报价小数位
  24094. type: integer
  24095. recvamount:
  24096. description: 到账金额 = 成交金额 - 手续费
  24097. type: number
  24098. relatedouttradeid:
  24099. description: 关联外部成交单ID
  24100. type: integer
  24101. status:
  24102. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24103. type: integer
  24104. totalamount:
  24105. description: 订单总额 = 成交金额 + 手续费
  24106. type: number
  24107. tradeamount:
  24108. description: 成交金额[账户币种,用于所有权]
  24109. type: number
  24110. tradedate:
  24111. description: 交易日(yyyyMMdd)
  24112. type: string
  24113. tradeid:
  24114. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24115. type: string
  24116. trademode:
  24117. description: 交易模式
  24118. type: integer
  24119. tradeprice:
  24120. description: 成交价格
  24121. type: number
  24122. tradeproperty:
  24123. description: 交易属性
  24124. type: integer
  24125. tradeqty:
  24126. description: 成交数量
  24127. type: number
  24128. tradetime:
  24129. description: 成交时间
  24130. type: string
  24131. tradetype:
  24132. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24133. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24134. type: integer
  24135. required:
  24136. - accountid
  24137. - buyorsell
  24138. - goodsid
  24139. - histradedate
  24140. - marketid
  24141. - memberuserid
  24142. - orderid
  24143. - tradeamount
  24144. - tradedate
  24145. - tradeid
  24146. - tradeprice
  24147. - tradeqty
  24148. - tradetime
  24149. type: object
  24150. order.QueryHisTradeOrderDetailRsp:
  24151. properties:
  24152. accountid:
  24153. description: 账户ID[报价币种]
  24154. type: integer
  24155. buildtype:
  24156. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24157. type: integer
  24158. buyorsell:
  24159. description: 买卖 - 0:买 1:卖
  24160. type: integer
  24161. cancelorderid:
  24162. description: 撤单单号(撤单时填写)
  24163. type: string
  24164. cancelqty:
  24165. description: 撤单数量
  24166. type: number
  24167. clientordertime:
  24168. description: 客户端委托时间
  24169. type: string
  24170. clientticket:
  24171. description: 客户端流水号
  24172. type: string
  24173. clienttype:
  24174. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24175. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24176. type: integer
  24177. closeexchagechargevalue:
  24178. description: 平仓交易所手续费设置值
  24179. type: number
  24180. closefeealgorithm:
  24181. description: 平仓手续费收取方式 1:比率 2:固定
  24182. type: integer
  24183. closefreezecharge:
  24184. description: 平仓冻结手续费(先建后平操作,需要记录)
  24185. type: number
  24186. closememberchargevalue:
  24187. description: 平仓会员手续费设置值
  24188. type: number
  24189. closeqty:
  24190. description: 平仓数量(先建后平操作 需要记录)
  24191. type: number
  24192. closetradeqty:
  24193. description: 平仓成交数量(先建后平操作,需要记录)
  24194. type: number
  24195. closeunfreezecharge:
  24196. description: 平仓解冻手续费(先建后平操作,需要记录)
  24197. type: number
  24198. decimalplace:
  24199. description: 商品报价小数位
  24200. type: integer
  24201. delistingtype:
  24202. description: 摘牌类型 - 1:价格最优 2:点选成交
  24203. type: integer
  24204. enumdicname:
  24205. description: 单位名称
  24206. type: string
  24207. freezecharge:
  24208. description: 冻结手续费
  24209. type: number
  24210. freezemargin:
  24211. description: 冻结保证金(冻结交易金额)
  24212. type: number
  24213. gcaccountid:
  24214. description: 账户ID[合约币种]
  24215. type: integer
  24216. goodscode:
  24217. description: 商品代码
  24218. type: string
  24219. goodsid:
  24220. description: 商品ID
  24221. type: integer
  24222. goodsname:
  24223. description: 商品名称
  24224. type: string
  24225. goodunitid:
  24226. description: 商品单位id
  24227. type: integer
  24228. histradedate:
  24229. description: 历史交易日
  24230. type: string
  24231. isconfirmexercise:
  24232. description: 是否确认行权- 0:否 1:是
  24233. type: integer
  24234. ispreexercise:
  24235. description: 是否预申报- 0:否 1:是
  24236. type: integer
  24237. isvaliddata:
  24238. description: 是否有效 - 0:无效 1:有效
  24239. type: integer
  24240. listingselecttype:
  24241. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24242. type: integer
  24243. marginalgorithm:
  24244. description: 保证金收取方式 1:比率 2:固定
  24245. type: integer
  24246. marginvalue:
  24247. description: 即市保证金设置值
  24248. type: number
  24249. marketid:
  24250. description: 市场ID
  24251. type: integer
  24252. marketmaxsub:
  24253. description: 市价最大偏移范围
  24254. type: number
  24255. marketname:
  24256. description: 市场名称
  24257. type: string
  24258. memberuserid:
  24259. description: 所属会员UserID
  24260. type: integer
  24261. openexchagechargevalue:
  24262. description: 建仓交易所手续费设置值
  24263. type: number
  24264. openfeealgorithm:
  24265. description: 建仓手续费收取方式 1:比率 2:固定
  24266. type: integer
  24267. openfreezecharge:
  24268. description: 开仓冻结手续费(先建后平操作,需要记录)
  24269. type: number
  24270. openmemberchargevalue:
  24271. description: 建仓会员手续费设置值
  24272. type: number
  24273. openqty:
  24274. description: 开仓数量(先建后平操作,需要记录)
  24275. type: number
  24276. opentradeqty:
  24277. description: 开仓成交数量(先建后平操作,需要记录)
  24278. type: number
  24279. openunfreezecharge:
  24280. description: 开仓解冻手续费(先建后平操作,需要记录)
  24281. type: number
  24282. operatetype:
  24283. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24284. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24285. 15:管理端协议转让
  24286. type: integer
  24287. operatorid:
  24288. description: 登录账号(LoginID)
  24289. type: integer
  24290. optiontype:
  24291. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24292. type: integer
  24293. orderid:
  24294. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24295. type: string
  24296. orderprice:
  24297. description: 委托价格
  24298. type: number
  24299. orderqty:
  24300. description: 委托数量
  24301. type: number
  24302. ordersrc:
  24303. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24304. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24305. type: integer
  24306. orderstatus:
  24307. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24308. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24309. 16:成交失败违约(荷兰式竞拍专用)
  24310. type: integer
  24311. ordertime:
  24312. description: 委托时间
  24313. type: string
  24314. preexerciseprice:
  24315. description: 预申报价格
  24316. type: number
  24317. premium:
  24318. description: 权利金
  24319. type: number
  24320. preorderid:
  24321. description: 关联预埋单号(止盈止损单时填写)
  24322. type: string
  24323. pricemode:
  24324. description: '取价方式 - 1:市价 2: 限价'
  24325. type: integer
  24326. qtydecimalplace:
  24327. description: 成交量小数位
  24328. type: integer
  24329. quoteid:
  24330. description: 报价单ID
  24331. type: integer
  24332. relatedid:
  24333. description: 关联单号(交割单)
  24334. type: string
  24335. retcode:
  24336. description: 错误代码
  24337. type: integer
  24338. sessionid:
  24339. description: 会话ID
  24340. type: integer
  24341. tradedate:
  24342. description: 交易日(yyyyMMdd)
  24343. type: string
  24344. trademode:
  24345. description: 交易模式
  24346. type: integer
  24347. tradeproperty:
  24348. description: 交易属性
  24349. type: integer
  24350. tradeqty:
  24351. description: 成交数量
  24352. type: number
  24353. unfreezecharge:
  24354. description: 解冻手续费
  24355. type: number
  24356. unfreezemargin:
  24357. description: 解冻保证金
  24358. type: number
  24359. updatetime:
  24360. description: 更新时间
  24361. type: string
  24362. uuid:
  24363. description: 发起端唯一id
  24364. type: string
  24365. validtime:
  24366. description: 有效期限
  24367. type: string
  24368. validtype:
  24369. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24370. type: integer
  24371. volumetype:
  24372. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24373. type: integer
  24374. required:
  24375. - accountid
  24376. - buildtype
  24377. - buyorsell
  24378. - goodsid
  24379. - histradedate
  24380. - marketid
  24381. - memberuserid
  24382. - operatetype
  24383. - orderid
  24384. - orderqty
  24385. - ordertime
  24386. - pricemode
  24387. - tradedate
  24388. - validtype
  24389. type: object
  24390. order.QueryTradeDetailRsp:
  24391. properties:
  24392. accountid:
  24393. description: 账户ID[报价币种]
  24394. type: integer
  24395. advanceratio:
  24396. description: 首付比率
  24397. type: number
  24398. buildtype:
  24399. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24400. type: integer
  24401. buyorsell:
  24402. description: 方向 - 0:买 1:卖
  24403. type: integer
  24404. charge:
  24405. description: 手续费
  24406. type: number
  24407. closecharge:
  24408. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24409. type: number
  24410. closeexchagechargevalue:
  24411. description: 平仓交易所手续费设置值
  24412. type: number
  24413. closefeealgorithm:
  24414. description: 平仓手续费收取方式 1:比率 2:固定
  24415. type: integer
  24416. closememberchargevalue:
  24417. description: 平仓会员手续费设置值
  24418. type: number
  24419. closepl:
  24420. description: 平仓盈亏
  24421. type: number
  24422. closepl2:
  24423. description: 平仓盈亏[逐笔]
  24424. type: number
  24425. closeqty:
  24426. description: 平仓数量(先建后平操作 需要记录)
  24427. type: number
  24428. creditamount:
  24429. description: 授信金额
  24430. type: number
  24431. decimalplace:
  24432. description: 商品报价小数位
  24433. type: integer
  24434. enumdicname:
  24435. description: 单位名称
  24436. type: string
  24437. gcaccountid:
  24438. description: 账户ID[合约币种]
  24439. type: integer
  24440. goodscode:
  24441. description: 商品代码
  24442. type: string
  24443. goodsid:
  24444. description: 商品ID
  24445. type: integer
  24446. goodsname:
  24447. description: 商品名称
  24448. type: string
  24449. goodunitid:
  24450. description: 商品单位id
  24451. type: integer
  24452. intclosepl:
  24453. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24454. type: integer
  24455. isconfirmexercise:
  24456. description: 是否确认行权- 0:否 1:是
  24457. type: integer
  24458. ismain:
  24459. description: 是否主单 - 0:不是 1:是
  24460. type: integer
  24461. ispreexercise:
  24462. description: 是否预申报- 0:否 1:是
  24463. type: integer
  24464. isreckoned:
  24465. description: 是否结算 - 0:未结算 1:已结算
  24466. type: integer
  24467. listingselecttype:
  24468. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24469. type: integer
  24470. marketid:
  24471. description: 市场ID
  24472. type: integer
  24473. marketname:
  24474. description: 市场名称
  24475. type: string
  24476. matchaccountid:
  24477. description: 对手账号id
  24478. type: integer
  24479. memberuserid:
  24480. description: 会员id 个人投资者 需要填写
  24481. type: integer
  24482. opencharge:
  24483. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24484. type: number
  24485. openexchagechargevalue:
  24486. description: 建仓交易所手续费设置值
  24487. type: number
  24488. openfeealgorithm:
  24489. description: 建仓手续费收取方式 1:比率 2:固定
  24490. type: integer
  24491. openmemberchargevalue:
  24492. description: 建仓会员手续费设置值
  24493. type: number
  24494. openqty:
  24495. description: 开仓数量(先建后平操作 需要记录)
  24496. type: number
  24497. optiontype:
  24498. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24499. type: integer
  24500. orderid:
  24501. description: 委托单号
  24502. type: string
  24503. payamount:
  24504. description: 支付金额(付款金额)
  24505. type: number
  24506. performanceplanid:
  24507. description: 履约计划ID[期权]
  24508. type: integer
  24509. performancestatus:
  24510. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24511. type: integer
  24512. preexerciseprice:
  24513. description: 预申报价格
  24514. type: number
  24515. premium:
  24516. description: 权利金 - [持仓单的权利金]
  24517. type: number
  24518. qtydecimalplace:
  24519. description: 商品报价小数位
  24520. type: integer
  24521. recvamount:
  24522. description: 到账金额 = 成交金额 - 手续费
  24523. type: number
  24524. relatedouttradeid:
  24525. description: 关联外部成交单ID
  24526. type: integer
  24527. status:
  24528. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24529. type: integer
  24530. totalamount:
  24531. description: 订单总额 = 成交金额 + 手续费
  24532. type: number
  24533. tradeamount:
  24534. description: 成交金额[账户币种,用于所有权]
  24535. type: number
  24536. tradedate:
  24537. description: 交易日(yyyyMMdd)
  24538. type: string
  24539. tradeid:
  24540. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24541. type: string
  24542. trademode:
  24543. description: 交易模式
  24544. type: integer
  24545. tradeprice:
  24546. description: 成交价格
  24547. type: number
  24548. tradeproperty:
  24549. description: 交易属性
  24550. type: integer
  24551. tradeqty:
  24552. description: 成交数量
  24553. type: number
  24554. tradetime:
  24555. description: 成交时间
  24556. type: string
  24557. tradetype:
  24558. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24559. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24560. type: integer
  24561. required:
  24562. - accountid
  24563. - buyorsell
  24564. - goodsid
  24565. - marketid
  24566. - memberuserid
  24567. - orderid
  24568. - tradeamount
  24569. - tradedate
  24570. - tradeid
  24571. - tradeprice
  24572. - tradeqty
  24573. - tradetime
  24574. type: object
  24575. order.QueryTradeOrderDetailRsp:
  24576. properties:
  24577. accountid:
  24578. description: 账户ID[报价币种]
  24579. type: integer
  24580. buildtype:
  24581. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24582. type: integer
  24583. buyorsell:
  24584. description: 买卖 - 0:买 1:卖
  24585. type: integer
  24586. cancelorderid:
  24587. description: 撤单单号(撤单时填写)
  24588. type: string
  24589. cancelqty:
  24590. description: 撤单数量
  24591. type: number
  24592. clienttype:
  24593. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24594. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24595. type: integer
  24596. closefreezecharge:
  24597. description: 平仓冻结手续费(先建后平操作,需要记录)
  24598. type: number
  24599. closeqty:
  24600. description: 平仓数量(先建后平操作 需要记录)
  24601. type: number
  24602. closetradeqty:
  24603. description: 平仓成交数量(先建后平操作,需要记录)
  24604. type: number
  24605. closeunfreezecharge:
  24606. description: 平仓解冻手续费(先建后平操作,需要记录)
  24607. type: number
  24608. decimalplace:
  24609. description: 商品报价小数位
  24610. type: integer
  24611. delistingtype:
  24612. description: 摘牌类型 - 1:价格最优 2:点选成交
  24613. type: integer
  24614. enableqty:
  24615. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24616. type: number
  24617. enumdicname:
  24618. description: 单位名称
  24619. type: string
  24620. freezecharge:
  24621. description: 冻结手续费
  24622. type: number
  24623. freezemargin:
  24624. description: 冻结保证金(冻结交易金额)
  24625. type: number
  24626. goodscode:
  24627. description: 商品代码
  24628. type: string
  24629. goodsid:
  24630. description: 商品ID
  24631. type: integer
  24632. goodsname:
  24633. description: 商品名称
  24634. type: string
  24635. goodunitid:
  24636. description: 商品单位id
  24637. type: integer
  24638. listingselecttype:
  24639. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24640. type: integer
  24641. marketid:
  24642. description: 市场ID
  24643. type: integer
  24644. marketname:
  24645. description: 市场名称
  24646. type: string
  24647. openfreezecharge:
  24648. description: 开仓冻结手续费(先建后平操作,需要记录)
  24649. type: number
  24650. openqty:
  24651. description: 开仓数量(先建后平操作,需要记录)
  24652. type: number
  24653. opentradeqty:
  24654. description: 开仓成交数量(先建后平操作,需要记录)
  24655. type: number
  24656. openunfreezecharge:
  24657. description: 开仓解冻手续费(先建后平操作,需要记录)
  24658. type: number
  24659. operatetype:
  24660. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24661. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24662. 15:管理端协议转让
  24663. type: integer
  24664. operatorid:
  24665. description: 登录账号(LoginID)
  24666. type: integer
  24667. orderid:
  24668. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24669. type: string
  24670. orderprice:
  24671. description: 委托价格
  24672. type: number
  24673. orderqty:
  24674. description: 委托数量
  24675. type: number
  24676. ordersrc:
  24677. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24678. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24679. type: integer
  24680. orderstatus:
  24681. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24682. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24683. 16:成交失败违约(荷兰式竞拍专用)
  24684. type: integer
  24685. ordertime:
  24686. description: 委托时间
  24687. type: string
  24688. preorderid:
  24689. description: 关联预埋单号(止盈止损单时填写)
  24690. type: string
  24691. pricemode:
  24692. description: '取价方式 - 1:市价 2: 限价'
  24693. type: integer
  24694. qtydecimalplace:
  24695. description: 商品报价小数位
  24696. type: integer
  24697. relatedid:
  24698. description: 关联单号(交割单)
  24699. type: string
  24700. tradedate:
  24701. description: 交易日(yyyyMMdd)
  24702. type: string
  24703. trademode:
  24704. description: 交易模式
  24705. type: integer
  24706. tradeqty:
  24707. description: 成交数量
  24708. type: number
  24709. unfreezecharge:
  24710. description: 解冻手续费
  24711. type: number
  24712. unfreezemargin:
  24713. description: 解冻保证金
  24714. type: number
  24715. validtime:
  24716. description: 有效期限
  24717. type: string
  24718. validtype:
  24719. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24720. type: integer
  24721. volumetype:
  24722. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24723. type: integer
  24724. required:
  24725. - accountid
  24726. - buildtype
  24727. - buyorsell
  24728. - goodsid
  24729. - marketid
  24730. - operatetype
  24731. - orderqty
  24732. - ordertime
  24733. - pricemode
  24734. - tradedate
  24735. - validtype
  24736. type: object
  24737. order.QueryTradePositionRsp:
  24738. properties:
  24739. accountid:
  24740. description: 资金账户
  24741. type: integer
  24742. agreeunit:
  24743. description: 合约单位
  24744. type: number
  24745. averageprice:
  24746. description: 持仓均价
  24747. type: number
  24748. buyorsell:
  24749. description: 方向 - 0:买 1:卖
  24750. type: integer
  24751. closetotalqty:
  24752. description: 平仓总数量
  24753. type: number
  24754. curholderamount:
  24755. description: 当前持仓总金额[商品币种]
  24756. type: number
  24757. curpositionqty:
  24758. description: 当前持仓总数量
  24759. type: number
  24760. currencyid:
  24761. description: 报价货币ID
  24762. type: integer
  24763. curtdposition:
  24764. description: 期末今日头寸
  24765. type: number
  24766. decimalplace:
  24767. description: 报价小数位
  24768. type: integer
  24769. enableqty:
  24770. description: 可用量
  24771. type: number
  24772. fretdposition:
  24773. description: 冻结今日头寸
  24774. type: number
  24775. frozenqty:
  24776. description: 持仓冻结数量
  24777. type: number
  24778. goodscode:
  24779. description: 商品代码
  24780. type: string
  24781. goodsid:
  24782. description: 商品Id
  24783. type: integer
  24784. goodsname:
  24785. description: 商品名称
  24786. type: string
  24787. goodunit:
  24788. description: 报价单位
  24789. type: string
  24790. goodunitid:
  24791. description: 报价单位ID
  24792. type: integer
  24793. holderamount:
  24794. description: 期初持仓总金额[商品币种]
  24795. type: number
  24796. lastprice:
  24797. description: 最新价
  24798. type: number
  24799. marketamount:
  24800. description: 市值
  24801. type: number
  24802. marketid:
  24803. description: 所属市场ID
  24804. type: integer
  24805. openreqqty:
  24806. description: 开仓申请数量(用于比较最大持仓数量)
  24807. type: number
  24808. opentotalqty:
  24809. description: 开仓总数量
  24810. type: number
  24811. otherfrozenqty:
  24812. description: 持仓其他冻结数量(交割冻结)
  24813. type: number
  24814. positionpl:
  24815. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24816. * 合约单位
  24817. type: number
  24818. positionplrate:
  24819. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24820. type: number
  24821. positionqty:
  24822. description: 期初持仓数量
  24823. type: number
  24824. qtydecimalplace:
  24825. description: 成交量小数位
  24826. type: integer
  24827. refgoodscode:
  24828. description: 参考商品代码
  24829. type: string
  24830. refgoodsid:
  24831. description: 参考商品ID
  24832. type: integer
  24833. tnqty:
  24834. description: T+N冻结总量
  24835. type: number
  24836. tnusedqty:
  24837. description: T+N使用量(可以使用T+N的冻结数量)
  24838. type: number
  24839. trademode:
  24840. description: 交易模式
  24841. type: integer
  24842. tradeproperty:
  24843. description: 交易属性
  24844. type: integer
  24845. usedmargin:
  24846. description: 占用保证金[商品币种]
  24847. type: number
  24848. required:
  24849. - goodsid
  24850. type: object
  24851. pb.GoodsMarginCfgStruct:
  24852. properties:
  24853. CustomerTypeID:
  24854. description: 投资者客户类型
  24855. type: integer
  24856. GoodsID:
  24857. description: 商品ID
  24858. type: integer
  24859. IsDefault:
  24860. description: 是否默认标志位
  24861. type: integer
  24862. LockMarginValue:
  24863. description: 锁仓保证金
  24864. type: number
  24865. MarginAlgorithm:
  24866. description: 保证金计算方式
  24867. type: integer
  24868. MarketMarginValue:
  24869. description: 即市保证金值
  24870. type: number
  24871. RealMarginAlgorithm:
  24872. description: 实付保证金计算方式
  24873. type: integer
  24874. RealMarginValue:
  24875. description: 实付比例
  24876. type: number
  24877. ReckonMarginValue:
  24878. description: 结算保证金值
  24879. type: number
  24880. type: object
  24881. quote.HistoryData:
  24882. properties:
  24883. c:
  24884. description: 收盘价
  24885. type: number
  24886. f:
  24887. description: 是否补充数据
  24888. type: boolean
  24889. h:
  24890. description: 最高价
  24891. type: number
  24892. hv:
  24893. description: 持仓量
  24894. type: integer
  24895. l:
  24896. description: 最低价
  24897. type: number
  24898. o:
  24899. description: 开盘价
  24900. type: number
  24901. s:
  24902. description: 结算价,日线周期(包括)以上才有
  24903. type: number
  24904. ts:
  24905. description: 时间
  24906. type: string
  24907. tt:
  24908. description: 总金额
  24909. type: number
  24910. tv:
  24911. description: 总量(成交量)
  24912. type: integer
  24913. type: object
  24914. quote.HistoryTikData:
  24915. properties:
  24916. AV:
  24917. description: 卖量
  24918. type: integer
  24919. Ask:
  24920. description: 卖价
  24921. type: number
  24922. BV:
  24923. description: 买量
  24924. type: integer
  24925. Bid:
  24926. description: 买价
  24927. type: number
  24928. HI:
  24929. description: 单笔持仓
  24930. type: integer
  24931. HV:
  24932. description: 持仓量
  24933. type: integer
  24934. PE:
  24935. description: 现价
  24936. type: number
  24937. TDR:
  24938. description: 交易方向,0:买 1:卖
  24939. type: integer
  24940. TK:
  24941. description: 交易类型
  24942. type: integer
  24943. TS:
  24944. description: 行情时间文本
  24945. type: string
  24946. TT:
  24947. description: 现金额
  24948. type: number
  24949. Vol:
  24950. description: 现量
  24951. type: integer
  24952. type: object
  24953. quote.QueryQuoteDayRsp:
  24954. properties:
  24955. ask:
  24956. description: 卖1
  24957. type: number
  24958. ask2:
  24959. description: 卖2
  24960. type: number
  24961. ask3:
  24962. description: 卖3
  24963. type: number
  24964. ask4:
  24965. description: 卖4
  24966. type: number
  24967. ask5:
  24968. description: 卖5
  24969. type: number
  24970. ask6:
  24971. description: 卖6
  24972. type: number
  24973. ask7:
  24974. description: 卖7
  24975. type: number
  24976. ask8:
  24977. description: 卖8
  24978. type: number
  24979. ask9:
  24980. description: 卖9
  24981. type: number
  24982. ask10:
  24983. description: 卖10
  24984. type: number
  24985. askorderid:
  24986. description: 卖单号1
  24987. type: integer
  24988. askorderid2:
  24989. description: 卖单号2
  24990. type: integer
  24991. askorderid3:
  24992. description: 卖单号3
  24993. type: integer
  24994. askorderid4:
  24995. description: 卖单号4
  24996. type: integer
  24997. askorderid5:
  24998. description: 卖单号5
  24999. type: integer
  25000. askordervolume:
  25001. description: 卖单量1
  25002. type: integer
  25003. askordervolume2:
  25004. description: 卖单量2
  25005. type: integer
  25006. askordervolume3:
  25007. description: 卖单量3
  25008. type: integer
  25009. askordervolume4:
  25010. description: 卖单量4
  25011. type: integer
  25012. askordervolume5:
  25013. description: 卖单量5
  25014. type: integer
  25015. askordervolume6:
  25016. description: 卖单量6
  25017. type: integer
  25018. askordervolume7:
  25019. description: 卖单量7
  25020. type: integer
  25021. askordervolume8:
  25022. description: 卖单量8
  25023. type: integer
  25024. askordervolume9:
  25025. description: 卖单量9
  25026. type: integer
  25027. askordervolume10:
  25028. description: 卖单量10
  25029. type: integer
  25030. askqueueinfo:
  25031. description: 大利市卖港股用
  25032. type: string
  25033. askvolume:
  25034. description: 卖量1
  25035. type: integer
  25036. askvolume2:
  25037. description: 卖量2
  25038. type: integer
  25039. askvolume3:
  25040. description: 卖量3
  25041. type: integer
  25042. askvolume4:
  25043. description: 卖量4
  25044. type: integer
  25045. askvolume5:
  25046. description: 卖量5
  25047. type: integer
  25048. askvolume6:
  25049. description: 卖量6
  25050. type: integer
  25051. askvolume7:
  25052. description: 卖量7
  25053. type: integer
  25054. askvolume8:
  25055. description: 卖量8
  25056. type: integer
  25057. askvolume9:
  25058. description: 卖量9
  25059. type: integer
  25060. askvolume10:
  25061. description: 卖量10
  25062. type: integer
  25063. averageprice:
  25064. description: 均价
  25065. type: number
  25066. bid:
  25067. description: 买1
  25068. type: number
  25069. bid2:
  25070. description: 买2
  25071. type: number
  25072. bid3:
  25073. description: 买3
  25074. type: number
  25075. bid4:
  25076. description: 买4
  25077. type: number
  25078. bid5:
  25079. description: 买5
  25080. type: number
  25081. bid6:
  25082. description: 买6
  25083. type: number
  25084. bid7:
  25085. description: 买7
  25086. type: number
  25087. bid8:
  25088. description: 买8
  25089. type: number
  25090. bid9:
  25091. description: 买9
  25092. type: number
  25093. bid10:
  25094. description: 买10
  25095. type: number
  25096. bidorderid:
  25097. description: 买单号1
  25098. type: integer
  25099. bidorderid2:
  25100. description: 买单号2
  25101. type: integer
  25102. bidorderid3:
  25103. description: 买单号3
  25104. type: integer
  25105. bidorderid4:
  25106. description: 买单号4
  25107. type: integer
  25108. bidorderid5:
  25109. description: 买单号5
  25110. type: integer
  25111. bidordervolume:
  25112. description: 买单量1
  25113. type: integer
  25114. bidordervolume2:
  25115. description: 买单量2
  25116. type: integer
  25117. bidordervolume3:
  25118. description: 买单量3
  25119. type: integer
  25120. bidordervolume4:
  25121. description: 买单量4
  25122. type: integer
  25123. bidordervolume5:
  25124. description: 买单量5
  25125. type: integer
  25126. bidordervolume6:
  25127. description: 买单量6
  25128. type: integer
  25129. bidordervolume7:
  25130. description: 买单量7
  25131. type: integer
  25132. bidordervolume8:
  25133. description: 买单量8
  25134. type: integer
  25135. bidordervolume9:
  25136. description: 买单量9
  25137. type: integer
  25138. bidordervolume10:
  25139. description: 买单量10
  25140. type: integer
  25141. bidqueueinfo:
  25142. description: 大利市买港股用
  25143. type: string
  25144. bidvolume:
  25145. description: 买量1
  25146. type: integer
  25147. bidvolume2:
  25148. description: 买量2
  25149. type: integer
  25150. bidvolume3:
  25151. description: 买量3
  25152. type: integer
  25153. bidvolume4:
  25154. description: 买量4
  25155. type: integer
  25156. bidvolume5:
  25157. description: 买量5
  25158. type: integer
  25159. bidvolume6:
  25160. description: 买量6
  25161. type: integer
  25162. bidvolume7:
  25163. description: 买量7
  25164. type: integer
  25165. bidvolume8:
  25166. description: 买量8
  25167. type: integer
  25168. bidvolume9:
  25169. description: 买量9
  25170. type: integer
  25171. bidvolume10:
  25172. description: 买量10
  25173. type: integer
  25174. calloptionpremiums:
  25175. description: 认购期权1
  25176. type: integer
  25177. calloptionpremiums2:
  25178. description: 认购期权2
  25179. type: integer
  25180. calloptionpremiums3:
  25181. description: 认购期权3
  25182. type: integer
  25183. calloptionpremiums4:
  25184. description: 认购期权4
  25185. type: integer
  25186. calloptionpremiums5:
  25187. description: 认购期权5
  25188. type: integer
  25189. cleartime:
  25190. description: 清盘时间
  25191. type: integer
  25192. exchangecode:
  25193. description: 交易所代码
  25194. type: integer
  25195. exchangedate:
  25196. description: 交易日
  25197. type: integer
  25198. goodscode:
  25199. description: 商品代码
  25200. type: string
  25201. grepmarketprice:
  25202. description: 暗盘价 港股专用
  25203. type: number
  25204. highest:
  25205. description: 最高价
  25206. type: number
  25207. holdincrement:
  25208. description: 单笔持仓
  25209. type: integer
  25210. holdvolume:
  25211. description: 持仓
  25212. type: integer
  25213. iep:
  25214. description: 平衡价 港股专用
  25215. type: number
  25216. iev:
  25217. description: 平衡量 港股专用
  25218. type: number
  25219. inventory:
  25220. description: 库存
  25221. type: integer
  25222. iscleared:
  25223. description: 是否清盘标志
  25224. type: integer
  25225. issettled:
  25226. description: 是否结算标志
  25227. type: integer
  25228. last:
  25229. description: 最新价
  25230. type: number
  25231. lastlot:
  25232. description: 最新成交手数
  25233. type: integer
  25234. lasttime:
  25235. description: 行情时间(只有现价变化行情时间才变化)
  25236. type: string
  25237. lastturnover:
  25238. description: 最新成交金额
  25239. type: number
  25240. lastvolume:
  25241. description: 最新成交量
  25242. type: integer
  25243. limitdown:
  25244. description: 跌停价
  25245. type: number
  25246. limitup:
  25247. description: 涨停价
  25248. type: number
  25249. lowest:
  25250. description: 最低价
  25251. type: number
  25252. nontotalholdervolume:
  25253. description: 非交易持仓量
  25254. type: integer
  25255. nontotallot:
  25256. description: 非交易总手数
  25257. type: integer
  25258. nontotalturnover:
  25259. description: 非交易总金额
  25260. type: integer
  25261. nontotalvolume:
  25262. description: 非交易总量
  25263. type: integer
  25264. opened:
  25265. description: 开盘价
  25266. type: number
  25267. opentime:
  25268. description: 开盘时间
  25269. type: string
  25270. orderid:
  25271. description: 序号
  25272. type: integer
  25273. preclose:
  25274. description: 昨收
  25275. type: number
  25276. preholdvolume:
  25277. description: 昨持仓
  25278. type: integer
  25279. presettle:
  25280. description: 昨结价
  25281. type: number
  25282. publictradetype:
  25283. description: 公共交易标志类型 港股专用
  25284. type: string
  25285. putoptionpremiums:
  25286. description: 认沽期权1
  25287. type: integer
  25288. putoptionpremiums2:
  25289. description: 认沽期权2
  25290. type: integer
  25291. putoptionpremiums3:
  25292. description: 认沽期权3
  25293. type: integer
  25294. putoptionpremiums4:
  25295. description: 认沽期权4
  25296. type: integer
  25297. putoptionpremiums5:
  25298. description: 认沽期权5
  25299. type: integer
  25300. settle:
  25301. description: 结算价
  25302. type: number
  25303. strikeprice:
  25304. description: 发行价
  25305. type: number
  25306. totalaskvolume:
  25307. description: 内盘
  25308. type: integer
  25309. totalbidvolume:
  25310. description: 外盘
  25311. type: integer
  25312. totallot:
  25313. description: 总手数
  25314. type: integer
  25315. totalturnover:
  25316. description: 总金额
  25317. type: number
  25318. totalvolume:
  25319. description: 总量
  25320. type: integer
  25321. utclasttime:
  25322. description: utc的行情时间
  25323. type: string
  25324. type: object
  25325. quote.QueryTSDataRsp:
  25326. properties:
  25327. Count:
  25328. description: 交易日应有数据个数
  25329. type: integer
  25330. decimalPlace:
  25331. description: 小数位
  25332. type: integer
  25333. endTime:
  25334. description: 结束时间
  25335. type: string
  25336. goodsCode:
  25337. description: 商品代码
  25338. type: string
  25339. historyDatas:
  25340. description: 历史数据
  25341. items:
  25342. $ref: '#/definitions/quote.HistoryData'
  25343. type: array
  25344. outGoodsCode:
  25345. description: 外部商品代码
  25346. type: string
  25347. preSettle:
  25348. description: 昨结价
  25349. type: number
  25350. runSteps:
  25351. description: 交易日开休市计划
  25352. items:
  25353. $ref: '#/definitions/quote.TSDataRunStep'
  25354. type: array
  25355. startTime:
  25356. description: 开始时间
  25357. type: string
  25358. tradeDate:
  25359. description: 交易日
  25360. type: string
  25361. type: object
  25362. quote.TSDataRunStep:
  25363. properties:
  25364. end:
  25365. description: 真实结束时间
  25366. type: string
  25367. endflag:
  25368. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25369. type: integer
  25370. endtime:
  25371. description: 结束时间(HH:mm)
  25372. type: string
  25373. endweekday:
  25374. description: 结束周几
  25375. type: integer
  25376. groupid:
  25377. description: 分组ID
  25378. type: integer
  25379. runstep:
  25380. description: 运行阶段 - 2:连续交易
  25381. type: integer
  25382. sectionid:
  25383. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25384. 结束时间=结算时间 结束周几=结算周几
  25385. type: integer
  25386. start:
  25387. description: 真实开始时间
  25388. type: string
  25389. startflag:
  25390. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25391. type: integer
  25392. starttime:
  25393. description: 起始时间(HH:mm)
  25394. type: string
  25395. startweekday:
  25396. description: 起始周几
  25397. type: integer
  25398. tradeweekday:
  25399. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25400. type: integer
  25401. type: object
  25402. szdz.QueryConvertLogRsp:
  25403. properties:
  25404. accountid:
  25405. description: 资金账户ID
  25406. type: integer
  25407. clientticket:
  25408. description: 客户端流水号
  25409. type: string
  25410. converttype:
  25411. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25412. type: integer
  25413. createtime:
  25414. description: 记账时间
  25415. type: string
  25416. daymaxvalue:
  25417. description: 配置当日最大转入限制
  25418. type: number
  25419. daymaxvalue2:
  25420. description: 配置当日最大转入限制(转入)
  25421. type: number
  25422. goodscode:
  25423. description: 商品代码
  25424. type: string
  25425. goodsname:
  25426. description: 商品名称
  25427. type: string
  25428. handlestatus:
  25429. description: 处理状态
  25430. type: integer
  25431. innergoodsid:
  25432. description: 内部商品ID
  25433. type: integer
  25434. inratio:
  25435. description: 配置转入比值
  25436. type: integer
  25437. invalue:
  25438. description: 目标值
  25439. type: number
  25440. logid:
  25441. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25442. type: integer
  25443. mobile:
  25444. description: 手机号码(加密存储)
  25445. type: string
  25446. outergoodscode:
  25447. description: 外部商品代码[JD\PD]
  25448. type: string
  25449. outratio:
  25450. description: 配置转出比值
  25451. type: integer
  25452. outvalue:
  25453. description: 源值
  25454. type: number
  25455. pddecimalplace:
  25456. description: PD小数位
  25457. type: integer
  25458. qty:
  25459. description: 数量
  25460. type: string
  25461. remark:
  25462. description: 备注
  25463. type: string
  25464. sessionid:
  25465. description: 会话ID
  25466. type: integer
  25467. timemaxvalue:
  25468. description: 配置单次最大转入限制
  25469. type: number
  25470. timemaxvalue2:
  25471. description: 配置单次最大转入限制(转入)
  25472. type: number
  25473. timeminvalue:
  25474. description: 配置单次最小数量限制
  25475. type: number
  25476. timeminvalue2:
  25477. description: 配置单次最小数量限制(转入)
  25478. type: number
  25479. tradedate:
  25480. description: 交易日(yyyyMMdd)
  25481. type: string
  25482. userid:
  25483. description: 用户ID
  25484. type: integer
  25485. required:
  25486. - logid
  25487. type: object
  25488. szdz.QueryGoodsPickupRsp:
  25489. properties:
  25490. accountid:
  25491. description: 账户ID
  25492. type: integer
  25493. address:
  25494. description: 提货人详细地址
  25495. type: string
  25496. auditer:
  25497. description: 审核人
  25498. type: integer
  25499. audittime:
  25500. description: 审核时间
  25501. type: string
  25502. cardnum:
  25503. description: 提货人证件号码
  25504. type: string
  25505. cardtypeid:
  25506. description: 提货人证件类型
  25507. type: integer
  25508. checkremark:
  25509. description: 审核备注
  25510. type: string
  25511. goodscode:
  25512. description: 商品代码
  25513. type: string
  25514. goodsid:
  25515. description: 商品ID
  25516. type: integer
  25517. goodsname:
  25518. description: 商品名称
  25519. type: string
  25520. handlestatus:
  25521. description: 处理状态
  25522. type: integer
  25523. marketid:
  25524. description: 市场ID
  25525. type: integer
  25526. phonenum:
  25527. description: 提货人联系方式
  25528. type: string
  25529. qty:
  25530. description: 提货数量
  25531. type: number
  25532. recivername:
  25533. description: 提货人姓名
  25534. type: string
  25535. reqtime:
  25536. description: 更新时间
  25537. type: string
  25538. takemode:
  25539. description: 提货方式 - 2:自提 3:配送
  25540. type: integer
  25541. takeorderid:
  25542. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25543. type: string
  25544. takeorderstatus:
  25545. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25546. type: integer
  25547. takeremark:
  25548. description: 提货备注
  25549. type: string
  25550. tradedate:
  25551. description: 交易日(yyyyMMdd)
  25552. type: string
  25553. userid:
  25554. description: 用户ID
  25555. type: integer
  25556. required:
  25557. - takeorderid
  25558. type: object
  25559. szdz.QueryRecieptOrderRsp:
  25560. properties:
  25561. accountName:
  25562. description: 所属账号名称(已脱敏)
  25563. type: string
  25564. accountid:
  25565. description: 资金账号
  25566. type: integer
  25567. buyorsell:
  25568. description: 方向 - 0:买 1:卖
  25569. type: integer
  25570. enableqty:
  25571. description: 可摘数量
  25572. type: integer
  25573. goodscode:
  25574. description: 商品代码
  25575. type: string
  25576. goodsid:
  25577. description: 商品ID
  25578. type: integer
  25579. goodsname:
  25580. description: 商品名称
  25581. type: string
  25582. orderid:
  25583. description: 委托单号
  25584. type: string
  25585. orderprice:
  25586. description: 委托价格
  25587. type: number
  25588. ordertime:
  25589. description: 委托时间
  25590. type: string
  25591. tradedate:
  25592. description: 交易日(yyyyMMdd)
  25593. type: string
  25594. required:
  25595. - ordertime
  25596. type: object
  25597. szdz.QuerySZDZTradePositionRsp:
  25598. properties:
  25599. accountid:
  25600. description: 账号Id
  25601. type: integer
  25602. agreeunit:
  25603. description: 合约单位
  25604. type: number
  25605. averageprice:
  25606. description: 持仓均价
  25607. type: number
  25608. buyorsell:
  25609. description: 方向 - 0:买 1:卖
  25610. type: integer
  25611. closetotalqty:
  25612. description: 平仓总数量
  25613. type: integer
  25614. curholderamount:
  25615. description: 当前持仓总金额
  25616. type: number
  25617. curpositionqty:
  25618. description: 当前持仓总数量
  25619. type: integer
  25620. currencyid:
  25621. description: 报价货币ID
  25622. type: integer
  25623. curtdposition:
  25624. description: 期末今日头寸
  25625. type: integer
  25626. decimalplace:
  25627. description: 报价小数位
  25628. type: integer
  25629. enableqty:
  25630. description: 可用量
  25631. type: integer
  25632. fretdposition:
  25633. description: 冻结今日头寸
  25634. type: integer
  25635. frozenqty:
  25636. description: 持仓冻结数量
  25637. type: integer
  25638. goodscode:
  25639. description: 商品代码(内部)
  25640. type: string
  25641. goodsid:
  25642. description: 商品Id
  25643. type: integer
  25644. goodsname:
  25645. description: 商品名称
  25646. type: string
  25647. goodunit:
  25648. description: 报价单位
  25649. type: string
  25650. goodunitid:
  25651. description: 报价单位ID
  25652. type: integer
  25653. holderamount:
  25654. description: 期初持仓总金额
  25655. type: number
  25656. marketid:
  25657. description: 市场ID
  25658. type: integer
  25659. openreqqty:
  25660. description: 开仓申请数量
  25661. type: integer
  25662. opentotalqty:
  25663. description: 开仓总数量
  25664. type: integer
  25665. otherfrozenqty:
  25666. description: 持仓其他冻结数量(交割冻结)
  25667. type: integer
  25668. positionqty:
  25669. description: 期初持仓数量
  25670. type: integer
  25671. szdz3freezqty:
  25672. description: 尚志大宗转换冻结总数量
  25673. type: integer
  25674. tnqty:
  25675. description: T+N冻结总量
  25676. type: integer
  25677. tnusedqty:
  25678. description: T+N使用量
  25679. type: integer
  25680. trademode:
  25681. description: 交易模式
  25682. type: integer
  25683. usedmargin:
  25684. description: 占用保证金
  25685. type: number
  25686. type: object
  25687. taaccount.QueryAmountLogRsp:
  25688. properties:
  25689. accountid:
  25690. description: 资金账户ID
  25691. type: integer
  25692. agoodscode:
  25693. description: 竞拍商品代码
  25694. type: string
  25695. agoodsname:
  25696. description: 竞拍商品名称
  25697. type: string
  25698. amount:
  25699. description: 资金金额
  25700. type: number
  25701. amountadjusttype:
  25702. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25703. type: integer
  25704. autoid:
  25705. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25706. type: integer
  25707. balance:
  25708. description: 期初余额
  25709. type: number
  25710. businesscode:
  25711. description: 业务编号
  25712. type: integer
  25713. createtime:
  25714. description: 发生时间
  25715. type: string
  25716. currencyid:
  25717. description: 币种ID
  25718. type: integer
  25719. currentbalance:
  25720. description: 期末余额(变动后金额)
  25721. type: number
  25722. dgoodscode:
  25723. description: 交割商品代码
  25724. type: string
  25725. dgoodsname:
  25726. description: 交割商品名称
  25727. type: string
  25728. goodscode:
  25729. description: 商品代码
  25730. type: string
  25731. goodsid:
  25732. description: 商品ID
  25733. type: integer
  25734. goodsname:
  25735. description: 商品名称
  25736. type: string
  25737. marketid:
  25738. description: 市场ID
  25739. type: integer
  25740. marketname:
  25741. description: 市场名称
  25742. type: string
  25743. moneyticket:
  25744. description: 资金流水号:银行端流水号
  25745. type: integer
  25746. operatetype:
  25747. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25748. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25749. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25750. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25751. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25752. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25753. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25754. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25755. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25756. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25757. type: integer
  25758. relationorderid:
  25759. description: 关联单号
  25760. type: string
  25761. remark:
  25762. description: 备注
  25763. type: string
  25764. trademode:
  25765. description: 交易模式
  25766. type: integer
  25767. required:
  25768. - accountid
  25769. - amount
  25770. - amountadjusttype
  25771. - autoid
  25772. - balance
  25773. - createtime
  25774. - currentbalance
  25775. - operatetype
  25776. type: object
  25777. taaccount.QueryHisAmountLogRsp:
  25778. properties:
  25779. accountid:
  25780. description: 资金账户ID
  25781. type: integer
  25782. agoodscode:
  25783. description: 竞拍商品代码
  25784. type: string
  25785. agoodsname:
  25786. description: 竞拍商品名称
  25787. type: string
  25788. amount:
  25789. description: 资金金额
  25790. type: number
  25791. amountadjusttype:
  25792. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25793. type: integer
  25794. autoid:
  25795. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25796. type: integer
  25797. balance:
  25798. description: 期初余额
  25799. type: number
  25800. businesscode:
  25801. description: 业务编号
  25802. type: integer
  25803. createtime:
  25804. description: 发生时间
  25805. type: string
  25806. currencyid:
  25807. description: 币种ID
  25808. type: integer
  25809. currentbalance:
  25810. description: 期末余额(变动后金额)
  25811. type: number
  25812. dgoodscode:
  25813. description: 交割商品代码
  25814. type: string
  25815. dgoodsname:
  25816. description: 交割商品名称
  25817. type: string
  25818. goodscode:
  25819. description: 商品代码
  25820. type: string
  25821. goodsid:
  25822. description: 商品ID
  25823. type: integer
  25824. goodsname:
  25825. description: 商品名称
  25826. type: string
  25827. histradedate:
  25828. description: 历史交易日
  25829. type: string
  25830. isvaliddata:
  25831. description: 是否有效 - 0:无效 1:有效
  25832. type: integer
  25833. marketid:
  25834. description: 市场ID
  25835. type: integer
  25836. marketname:
  25837. description: 市场名称
  25838. type: string
  25839. moneyticket:
  25840. description: 资金流水号:银行端流水号
  25841. type: integer
  25842. operatetype:
  25843. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25844. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25845. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25846. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25847. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25848. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25849. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25850. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25851. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25852. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25853. type: integer
  25854. relationorderid:
  25855. description: 关联单号
  25856. type: string
  25857. remark:
  25858. description: 备注
  25859. type: string
  25860. trademode:
  25861. description: 交易模式
  25862. type: integer
  25863. required:
  25864. - accountid
  25865. - amount
  25866. - amountadjusttype
  25867. - autoid
  25868. - balance
  25869. - createtime
  25870. - currentbalance
  25871. - histradedate
  25872. - operatetype
  25873. type: object
  25874. trade.QueryRecieptOrderRsp:
  25875. properties:
  25876. accountName:
  25877. description: 所属账号名称(已脱敏)
  25878. type: string
  25879. accountid:
  25880. description: 资金账号
  25881. type: integer
  25882. buyorsell:
  25883. description: 方向 - 0:买 1:卖
  25884. type: integer
  25885. enableqty:
  25886. description: 可摘数量
  25887. type: integer
  25888. goodscode:
  25889. description: 商品代码
  25890. type: string
  25891. goodsid:
  25892. description: 商品ID
  25893. type: integer
  25894. goodsname:
  25895. description: 商品名称
  25896. type: string
  25897. orderid:
  25898. description: 委托单号
  25899. type: string
  25900. orderprice:
  25901. description: 委托价格
  25902. type: number
  25903. ordertime:
  25904. description: 委托时间
  25905. type: string
  25906. tradedate:
  25907. description: 交易日(yyyyMMdd)
  25908. type: string
  25909. required:
  25910. - ordertime
  25911. type: object
  25912. user.LoginQueryRsp:
  25913. properties:
  25914. areaRoles:
  25915. description: 所属角色信息
  25916. items:
  25917. $ref: '#/definitions/models.Arearole'
  25918. type: array
  25919. exchangeRateConfigs:
  25920. description: 汇率信息
  25921. items:
  25922. $ref: '#/definitions/models.Exchangerateconfig'
  25923. type: array
  25924. externalExchanges:
  25925. description: 外部交易所
  25926. items:
  25927. $ref: '#/definitions/models.Externalexchange'
  25928. type: array
  25929. goodsgroups:
  25930. description: 商品组
  25931. items:
  25932. $ref: '#/definitions/models.Goodsgroup'
  25933. type: array
  25934. loginAccount:
  25935. $ref: '#/definitions/models.Loginaccount'
  25936. description: 登录账号
  25937. markets:
  25938. description: 市场
  25939. items:
  25940. $ref: '#/definitions/models.Market'
  25941. type: array
  25942. systemParams:
  25943. description: 系统参数
  25944. items:
  25945. $ref: '#/definitions/models.Systemparam'
  25946. type: array
  25947. userAccount:
  25948. $ref: '#/definitions/models.Useraccount'
  25949. description: 用户账号
  25950. userInfo:
  25951. $ref: '#/definitions/models.Userinfo'
  25952. description: 用户信息
  25953. username:
  25954. description: 用户姓名
  25955. type: string
  25956. type: object
  25957. user.UpdateUserHeadUrlReq:
  25958. properties:
  25959. headurl:
  25960. type: string
  25961. userID:
  25962. type: integer
  25963. required:
  25964. - headurl
  25965. - userID
  25966. type: object
  25967. info:
  25968. contact: {}
  25969. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25970. termsOfService: http://www.muchinfo.cn
  25971. title: MTP2.0 查询服务 API
  25972. version: "1.0"
  25973. paths:
  25974. /CPTrade/QueryCPTradeMyBidInfos:
  25975. get:
  25976. parameters:
  25977. - description: 资金账户
  25978. in: query
  25979. name: accountid
  25980. required: true
  25981. type: integer
  25982. - description: 预售市场ID
  25983. in: query
  25984. name: marketid
  25985. type: integer
  25986. - description: 预售商品ID
  25987. in: query
  25988. name: goodsid
  25989. type: integer
  25990. produces:
  25991. - application/json
  25992. responses:
  25993. "200":
  25994. description: OK
  25995. schema:
  25996. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 查询产能预售我的出价信息
  26004. tags:
  26005. - 产能预售
  26006. /CPTrade/QueryCPTradeOrderDetail:
  26007. get:
  26008. parameters:
  26009. - description: 预售商品ID
  26010. in: query
  26011. name: goodsid
  26012. type: integer
  26013. - description: 预售市场ID
  26014. in: query
  26015. name: marketid
  26016. type: integer
  26017. - description: 预售商品ID列表 - 格式:1,2,3
  26018. in: query
  26019. name: goodsids
  26020. type: string
  26021. produces:
  26022. - application/json
  26023. responses:
  26024. "200":
  26025. description: OK
  26026. schema:
  26027. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  26028. "500":
  26029. description: Internal Server Error
  26030. schema:
  26031. $ref: '#/definitions/app.Response'
  26032. security:
  26033. - ApiKeyAuth: []
  26034. summary: 查询产能预售委托单信息
  26035. tags:
  26036. - 产能预售
  26037. /CPTrade/QueryMyCPTradeGoods:
  26038. get:
  26039. parameters:
  26040. - description: 资金账户
  26041. in: query
  26042. name: accountid
  26043. required: true
  26044. type: integer
  26045. produces:
  26046. - application/json
  26047. responses:
  26048. "200":
  26049. description: OK
  26050. schema:
  26051. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26052. "500":
  26053. description: Internal Server Error
  26054. schema:
  26055. $ref: '#/definitions/app.Response'
  26056. security:
  26057. - ApiKeyAuth: []
  26058. summary: 查询我的预售信息
  26059. tags:
  26060. - 产能预售
  26061. /CPTrade/QueryPositionCancel:
  26062. get:
  26063. parameters:
  26064. - description: 账户ID
  26065. in: query
  26066. name: userid
  26067. required: true
  26068. type: integer
  26069. - description: 注销ID
  26070. in: query
  26071. name: cancelid
  26072. type: integer
  26073. - description: 资金账户ID
  26074. in: query
  26075. name: accountid
  26076. type: integer
  26077. produces:
  26078. - application/json
  26079. responses:
  26080. "200":
  26081. description: OK
  26082. schema:
  26083. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26084. "500":
  26085. description: Internal Server Error
  26086. schema:
  26087. $ref: '#/definitions/app.Response'
  26088. security:
  26089. - ApiKeyAuth: []
  26090. summary: 查询远期订单注销申请信息
  26091. tags:
  26092. - 产能预售
  26093. /CPTrade/QueryPreasleApply:
  26094. get:
  26095. parameters:
  26096. - description: 账户ID
  26097. in: query
  26098. name: userid
  26099. required: true
  26100. type: integer
  26101. - description: 申请ID
  26102. in: query
  26103. name: applyid
  26104. type: integer
  26105. - description: 资金账户ID
  26106. in: query
  26107. name: accountid
  26108. type: integer
  26109. produces:
  26110. - application/json
  26111. responses:
  26112. "200":
  26113. description: OK
  26114. schema:
  26115. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26116. "500":
  26117. description: Internal Server Error
  26118. schema:
  26119. $ref: '#/definitions/app.Response'
  26120. security:
  26121. - ApiKeyAuth: []
  26122. summary: 查询产能预售申请信息
  26123. tags:
  26124. - 产能预售
  26125. /CPTrade/QueryPresaleGoodsEx:
  26126. get:
  26127. parameters:
  26128. - description: 预售商品ID
  26129. in: query
  26130. name: goodsid
  26131. type: integer
  26132. - description: 预售市场ID
  26133. in: query
  26134. name: marketid
  26135. type: integer
  26136. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26137. in: query
  26138. name: presalemode
  26139. type: integer
  26140. - description: 预售商品ID列表 - 格式:1,2,3
  26141. in: query
  26142. name: goodsids
  26143. type: string
  26144. - description: 预售商品代码
  26145. in: query
  26146. name: goodscode
  26147. type: string
  26148. produces:
  26149. - application/json
  26150. responses:
  26151. "200":
  26152. description: OK
  26153. schema:
  26154. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26155. "500":
  26156. description: Internal Server Error
  26157. schema:
  26158. $ref: '#/definitions/app.Response'
  26159. security:
  26160. - ApiKeyAuth: []
  26161. summary: 查询产能预售商品扩展信息
  26162. tags:
  26163. - 产能预售
  26164. /CPTrade/QueryUserGoodsData:
  26165. get:
  26166. parameters:
  26167. - description: 资金账户ID
  26168. in: query
  26169. name: accountid
  26170. required: true
  26171. type: integer
  26172. produces:
  26173. - application/json
  26174. responses:
  26175. "200":
  26176. description: OK
  26177. schema:
  26178. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26179. "500":
  26180. description: Internal Server Error
  26181. schema:
  26182. $ref: '#/definitions/app.Response'
  26183. security:
  26184. - ApiKeyAuth: []
  26185. summary: 查询远期订单信息
  26186. tags:
  26187. - 产能预售
  26188. /Common/DeleteNewFuncmenu:
  26189. delete:
  26190. consumes:
  26191. - application/json
  26192. parameters:
  26193. - description: 菜单表数据,只需要resourcecode字段即可
  26194. in: body
  26195. name: data
  26196. required: true
  26197. schema:
  26198. $ref: '#/definitions/models.NewFuncmenulist'
  26199. produces:
  26200. - application/json
  26201. responses:
  26202. "200":
  26203. description: OK
  26204. schema:
  26205. $ref: '#/definitions/app.Response'
  26206. "500":
  26207. description: Internal Server Error
  26208. schema:
  26209. $ref: '#/definitions/app.Response'
  26210. security:
  26211. - ApiKeyAuth: []
  26212. summary: 删除菜单表数据
  26213. tags:
  26214. - 通用服务
  26215. /Common/FindNewFuncmenu:
  26216. get:
  26217. parameters:
  26218. - description: 资源代码
  26219. in: query
  26220. name: resourcecode
  26221. type: string
  26222. - description: 上级资源代码
  26223. in: query
  26224. name: parentcode
  26225. type: string
  26226. - description: 资源名(Title), 模糊查询
  26227. in: query
  26228. name: resourcename
  26229. type: string
  26230. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26231. in: query
  26232. name: menutype
  26233. type: string
  26234. produces:
  26235. - application/json
  26236. responses:
  26237. "200":
  26238. description: OK
  26239. schema:
  26240. items:
  26241. $ref: '#/definitions/models.NewFuncmenulist'
  26242. type: array
  26243. "500":
  26244. description: Internal Server Error
  26245. schema:
  26246. $ref: '#/definitions/app.Response'
  26247. security:
  26248. - ApiKeyAuth: []
  26249. summary: 获取菜单表数据
  26250. tags:
  26251. - 通用服务
  26252. /Common/GetAllEnums:
  26253. get:
  26254. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26255. parameters:
  26256. - description: 起始自增ID
  26257. in: query
  26258. name: autoid
  26259. type: integer
  26260. produces:
  26261. - application/json
  26262. responses:
  26263. "200":
  26264. description: OK
  26265. schema:
  26266. $ref: '#/definitions/models.Enumdicitem'
  26267. "500":
  26268. description: Internal Server Error
  26269. schema:
  26270. $ref: '#/definitions/app.Response'
  26271. summary: 获取所有枚举信息
  26272. tags:
  26273. - 通用服务
  26274. /Common/GetClientMenus:
  26275. get:
  26276. parameters:
  26277. - description: 登录账号
  26278. in: query
  26279. name: loginID
  26280. required: true
  26281. type: integer
  26282. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26283. in: query
  26284. name: clientType
  26285. type: integer
  26286. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26287. in: query
  26288. name: name
  26289. type: string
  26290. produces:
  26291. - application/json
  26292. responses:
  26293. "200":
  26294. description: OK
  26295. schema:
  26296. items:
  26297. $ref: '#/definitions/common.ClientMenu'
  26298. type: array
  26299. "500":
  26300. description: Internal Server Error
  26301. schema:
  26302. $ref: '#/definitions/app.Response'
  26303. security:
  26304. - ApiKeyAuth: []
  26305. summary: 获取交易端菜单
  26306. tags:
  26307. - 通用服务
  26308. /Common/GetClientNewFuncmenu:
  26309. get:
  26310. parameters:
  26311. - description: 登录账号
  26312. in: query
  26313. name: loginid
  26314. required: true
  26315. type: integer
  26316. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26317. in: query
  26318. name: menutype
  26319. required: true
  26320. type: integer
  26321. produces:
  26322. - application/json
  26323. responses:
  26324. "200":
  26325. description: OK
  26326. schema:
  26327. items:
  26328. $ref: '#/definitions/models.NewFuncmenulist'
  26329. type: array
  26330. "500":
  26331. description: Internal Server Error
  26332. schema:
  26333. $ref: '#/definitions/app.Response'
  26334. security:
  26335. - ApiKeyAuth: []
  26336. summary: 获取终端菜单
  26337. tags:
  26338. - 通用服务
  26339. /Common/GetDivisions:
  26340. get:
  26341. produces:
  26342. - application/json
  26343. responses:
  26344. "200":
  26345. description: OK
  26346. schema:
  26347. $ref: '#/definitions/models.Division'
  26348. "500":
  26349. description: Internal Server Error
  26350. schema:
  26351. $ref: '#/definitions/app.Response'
  26352. summary: 查询区域信息
  26353. tags:
  26354. - 通用服务
  26355. /Common/GetPCWebMenus:
  26356. get:
  26357. parameters:
  26358. - description: 登录账号
  26359. in: query
  26360. name: loginID
  26361. required: true
  26362. type: integer
  26363. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26364. in: query
  26365. name: name
  26366. type: string
  26367. produces:
  26368. - application/json
  26369. responses:
  26370. "200":
  26371. description: OK
  26372. schema:
  26373. items:
  26374. $ref: '#/definitions/common.PCWebMenu'
  26375. type: array
  26376. "500":
  26377. description: Internal Server Error
  26378. schema:
  26379. $ref: '#/definitions/app.Response'
  26380. security:
  26381. - ApiKeyAuth: []
  26382. summary: 获取PCWeb交易端菜单
  26383. tags:
  26384. - 通用服务
  26385. /Common/GetServerTime:
  26386. get:
  26387. produces:
  26388. - application/json
  26389. responses:
  26390. "200":
  26391. description: OK
  26392. schema:
  26393. $ref: '#/definitions/app.Response'
  26394. "500":
  26395. description: Internal Server Error
  26396. schema:
  26397. $ref: '#/definitions/app.Response'
  26398. summary: 获取服务器时间
  26399. tags:
  26400. - 通用服务
  26401. /Common/InsertNewFuncmenu:
  26402. post:
  26403. consumes:
  26404. - application/json
  26405. parameters:
  26406. - description: 菜单表数据
  26407. in: body
  26408. name: data
  26409. required: true
  26410. schema:
  26411. $ref: '#/definitions/models.NewFuncmenulist'
  26412. produces:
  26413. - application/json
  26414. responses:
  26415. "200":
  26416. description: OK
  26417. schema:
  26418. $ref: '#/definitions/app.Response'
  26419. "500":
  26420. description: Internal Server Error
  26421. schema:
  26422. $ref: '#/definitions/app.Response'
  26423. security:
  26424. - ApiKeyAuth: []
  26425. summary: 插入菜单表数据
  26426. tags:
  26427. - 通用服务
  26428. /Common/NoticeReaded:
  26429. post:
  26430. parameters:
  26431. - description: 登录账号
  26432. in: query
  26433. name: loginID
  26434. required: true
  26435. type: integer
  26436. - description: 通知公告ID
  26437. in: query
  26438. name: noticeID
  26439. required: true
  26440. type: integer
  26441. produces:
  26442. - application/json
  26443. responses:
  26444. "200":
  26445. description: OK
  26446. schema:
  26447. $ref: '#/definitions/app.Response'
  26448. "500":
  26449. description: Internal Server Error
  26450. schema:
  26451. $ref: '#/definitions/app.Response'
  26452. security:
  26453. - ApiKeyAuth: []
  26454. summary: 通知公告设置已读请求
  26455. tags:
  26456. - 通用服务
  26457. /Common/QueryErrorInfos:
  26458. get:
  26459. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26460. parameters:
  26461. - description: 起始行号前索引
  26462. in: query
  26463. name: rowNumber
  26464. type: string
  26465. produces:
  26466. - application/json
  26467. responses:
  26468. "200":
  26469. description: OK
  26470. schema:
  26471. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26472. "500":
  26473. description: Internal Server Error
  26474. schema:
  26475. $ref: '#/definitions/app.Response'
  26476. summary: 获取数据库错误信息
  26477. tags:
  26478. - 通用服务
  26479. /Common/QueryImageConfigs:
  26480. get:
  26481. parameters:
  26482. - description: 用户id
  26483. in: query
  26484. name: userId
  26485. type: integer
  26486. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26487. in: query
  26488. name: imageType
  26489. type: integer
  26490. produces:
  26491. - application/json
  26492. responses:
  26493. "200":
  26494. description: OK
  26495. schema:
  26496. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26497. "500":
  26498. description: Internal Server Error
  26499. schema:
  26500. $ref: '#/definitions/app.Response'
  26501. summary: 查询轮播图配置信息
  26502. tags:
  26503. - 通用服务
  26504. /Common/QueryNotice:
  26505. get:
  26506. parameters:
  26507. - description: 页码
  26508. in: query
  26509. name: page
  26510. type: integer
  26511. - description: 每页条数
  26512. in: query
  26513. name: pagesize
  26514. type: integer
  26515. - description: 分页标志 0-page从0开始 1-page从1开始
  26516. in: query
  26517. name: pageflag
  26518. type: integer
  26519. - description: 登录账号
  26520. in: query
  26521. name: loginID
  26522. required: true
  26523. type: integer
  26524. - description: 消息类型 - 1:公告通知 2:系统消息
  26525. in: query
  26526. name: msgType
  26527. type: integer
  26528. - description: 是否只获取未读信息
  26529. in: query
  26530. name: onlyUnRead
  26531. type: boolean
  26532. - description: 自增ID,传入后会返回这个ID后面的记录
  26533. in: query
  26534. name: lastID
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. $ref: '#/definitions/common.QueryNoticeRsp'
  26543. "500":
  26544. description: Internal Server Error
  26545. schema:
  26546. $ref: '#/definitions/app.Response'
  26547. security:
  26548. - ApiKeyAuth: []
  26549. summary: 通知公告系统消息查询
  26550. tags:
  26551. - 通用服务
  26552. /Common/QueryProvincesAndCities:
  26553. get:
  26554. parameters:
  26555. - description: 省ID
  26556. in: query
  26557. name: provinceID
  26558. type: integer
  26559. produces:
  26560. - application/json
  26561. responses:
  26562. "200":
  26563. description: OK
  26564. schema:
  26565. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26566. "500":
  26567. description: Internal Server Error
  26568. schema:
  26569. $ref: '#/definitions/app.Response'
  26570. summary: 查询省市信息(不包括区)
  26571. tags:
  26572. - 通用服务
  26573. /Common/QueryRates:
  26574. get:
  26575. parameters:
  26576. - description: 页码
  26577. in: query
  26578. name: page
  26579. type: integer
  26580. - description: 每页条数
  26581. in: query
  26582. name: pagesize
  26583. type: integer
  26584. - description: 源币种ID
  26585. in: query
  26586. name: oricurrencyid
  26587. type: integer
  26588. - description: 目标币种ID
  26589. in: query
  26590. name: descurrencyid
  26591. type: integer
  26592. produces:
  26593. - application/json
  26594. responses:
  26595. "200":
  26596. description: OK
  26597. schema:
  26598. items:
  26599. $ref: '#/definitions/models.Exchangerateconfig'
  26600. type: array
  26601. "500":
  26602. description: Internal Server Error
  26603. schema:
  26604. $ref: '#/definitions/app.Response'
  26605. security:
  26606. - ApiKeyAuth: []
  26607. - LoginID: []
  26608. - Group: []
  26609. summary: 查询汇率信息
  26610. tags:
  26611. - 通用服务
  26612. /Common/QueryTableDefine:
  26613. get:
  26614. parameters:
  26615. - description: 表key
  26616. in: query
  26617. name: tableKey
  26618. type: string
  26619. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26620. in: query
  26621. name: tableType
  26622. type: integer
  26623. produces:
  26624. - application/json
  26625. responses:
  26626. "200":
  26627. description: OK
  26628. schema:
  26629. $ref: '#/definitions/common.QueryTableDefineRsp'
  26630. "500":
  26631. description: Internal Server Error
  26632. schema:
  26633. $ref: '#/definitions/app.Response'
  26634. summary: 查询交易端列表头信息
  26635. tags:
  26636. - 通用服务
  26637. /Common/QueryTraderMenu:
  26638. get:
  26639. parameters:
  26640. - description: 登录账号
  26641. in: query
  26642. name: loginid
  26643. required: true
  26644. type: integer
  26645. produces:
  26646. - application/json
  26647. responses:
  26648. "200":
  26649. description: OK
  26650. schema:
  26651. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26652. "500":
  26653. description: Internal Server Error
  26654. schema:
  26655. $ref: '#/definitions/app.Response'
  26656. summary: 查询交易端菜单
  26657. tags:
  26658. - 通用服务
  26659. /Common/UpdateNewFuncmenu:
  26660. put:
  26661. consumes:
  26662. - application/json
  26663. parameters:
  26664. - description: 菜单表数据
  26665. in: body
  26666. name: data
  26667. required: true
  26668. schema:
  26669. $ref: '#/definitions/models.NewFuncmenulist'
  26670. produces:
  26671. - application/json
  26672. responses:
  26673. "200":
  26674. description: OK
  26675. schema:
  26676. $ref: '#/definitions/app.Response'
  26677. "500":
  26678. description: Internal Server Error
  26679. schema:
  26680. $ref: '#/definitions/app.Response'
  26681. security:
  26682. - ApiKeyAuth: []
  26683. summary: 更新菜单表数据
  26684. tags:
  26685. - 通用服务
  26686. /Delivery/QueryDeliveryRelation:
  26687. get:
  26688. parameters:
  26689. - description: 商品ID
  26690. in: query
  26691. name: goodsid
  26692. type: integer
  26693. - description: 品种ID
  26694. in: query
  26695. name: deliverygoodsid
  26696. type: integer
  26697. - description: 市场ID
  26698. in: query
  26699. name: marketid
  26700. type: integer
  26701. produces:
  26702. - application/json
  26703. responses:
  26704. "200":
  26705. description: OK
  26706. schema:
  26707. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26708. "500":
  26709. description: Internal Server Error
  26710. schema:
  26711. $ref: '#/definitions/app.Response'
  26712. security:
  26713. - ApiKeyAuth: []
  26714. summary: 查询商品交割关系表
  26715. tags:
  26716. - 交割服务
  26717. /Ermcp/GetErmcpGoods:
  26718. get:
  26719. parameters:
  26720. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26721. in: query
  26722. name: userid
  26723. type: integer
  26724. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26725. in: query
  26726. name: lastUpdateTime
  26727. type: string
  26728. produces:
  26729. - application/json
  26730. responses:
  26731. "200":
  26732. description: OK
  26733. schema:
  26734. $ref: '#/definitions/models.ErmcpGoods'
  26735. "500":
  26736. description: Internal Server Error
  26737. schema:
  26738. $ref: '#/definitions/app.Response'
  26739. security:
  26740. - ApiKeyAuth: []
  26741. summary: 查询企业风管期货商品信息
  26742. tags:
  26743. - 企业风险管理(app)
  26744. /Ermcp/GetErmcpGoodsSortByPosition:
  26745. get:
  26746. parameters:
  26747. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26748. in: query
  26749. name: sortIndex
  26750. type: string
  26751. produces:
  26752. - application/json
  26753. responses:
  26754. "200":
  26755. description: OK
  26756. schema:
  26757. $ref: '#/definitions/models.Goodssortbypreposition'
  26758. "500":
  26759. description: Internal Server Error
  26760. schema:
  26761. $ref: '#/definitions/app.Response'
  26762. security:
  26763. - ApiKeyAuth: []
  26764. summary: 查询企业风管期货主力、次主力商品信息
  26765. tags:
  26766. - 企业风险管理(app)
  26767. /Ermcp/GetErmcpOutAccountStatus:
  26768. get:
  26769. parameters:
  26770. - description: 登录账号
  26771. in: query
  26772. name: loginID
  26773. required: true
  26774. type: integer
  26775. produces:
  26776. - application/json
  26777. responses:
  26778. "200":
  26779. description: OK
  26780. schema:
  26781. $ref: '#/definitions/models.Hedgemarketopenlog'
  26782. "500":
  26783. description: Internal Server Error
  26784. schema:
  26785. $ref: '#/definitions/app.Response'
  26786. security:
  26787. - ApiKeyAuth: []
  26788. summary: 获取目标登录账号当前对冲账号在线状态
  26789. tags:
  26790. - 企业风险管理(app)
  26791. /Ermcp/GetErmcpRoleFuncMenuLists:
  26792. get:
  26793. parameters:
  26794. - description: 登录账号
  26795. in: query
  26796. name: loginID
  26797. required: true
  26798. type: integer
  26799. produces:
  26800. - application/json
  26801. responses:
  26802. "200":
  26803. description: OK
  26804. schema:
  26805. $ref: '#/definitions/models.Funcmenulist'
  26806. "500":
  26807. description: Internal Server Error
  26808. schema:
  26809. $ref: '#/definitions/app.Response'
  26810. security:
  26811. - ApiKeyAuth: []
  26812. summary: 获取企业风管终端权限
  26813. tags:
  26814. - 企业风险管理(app)
  26815. /Ermcp/QueryAccMgrBizGroupSet:
  26816. get:
  26817. parameters:
  26818. - description: 用户ID
  26819. in: query
  26820. name: userid
  26821. required: true
  26822. type: integer
  26823. - description: 现货商品id
  26824. in: query
  26825. name: deliverygoodsid
  26826. type: integer
  26827. produces:
  26828. - application/json
  26829. responses:
  26830. "200":
  26831. description: OK
  26832. schema:
  26833. items:
  26834. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26835. type: array
  26836. "500":
  26837. description: Internal Server Error
  26838. schema:
  26839. $ref: '#/definitions/app.Response'
  26840. security:
  26841. - ApiKeyAuth: []
  26842. summary: 查询业务类型分组(账户管理/账户设置)
  26843. tags:
  26844. - 企业风险管理(app)
  26845. /Ermcp/QueryAccMgrLoginUser:
  26846. get:
  26847. parameters:
  26848. - description: 用户ID
  26849. in: query
  26850. name: userid
  26851. required: true
  26852. type: integer
  26853. - description: 用户类型 2-机构 7-企业成员
  26854. in: query
  26855. name: usertype
  26856. type: integer
  26857. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26858. in: query
  26859. name: querytype
  26860. required: true
  26861. type: integer
  26862. produces:
  26863. - application/json
  26864. responses:
  26865. "200":
  26866. description: OK
  26867. schema:
  26868. items:
  26869. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26870. type: array
  26871. "500":
  26872. description: Internal Server Error
  26873. schema:
  26874. $ref: '#/definitions/app.Response'
  26875. security:
  26876. - ApiKeyAuth: []
  26877. summary: 查询账户管理登录账号(账户管理/登录账号)
  26878. tags:
  26879. - 企业风险管理(app)
  26880. /Ermcp/QueryAccMgrMainAccountInfo:
  26881. get:
  26882. parameters:
  26883. - description: 用户ID
  26884. in: query
  26885. name: userid
  26886. type: integer
  26887. - description: 主账号id
  26888. in: query
  26889. name: accountid
  26890. type: integer
  26891. produces:
  26892. - application/json
  26893. responses:
  26894. "200":
  26895. description: OK
  26896. schema:
  26897. items:
  26898. $ref: '#/definitions/models.MainAccountInfo'
  26899. type: array
  26900. "500":
  26901. description: Internal Server Error
  26902. schema:
  26903. $ref: '#/definitions/app.Response'
  26904. security:
  26905. - ApiKeyAuth: []
  26906. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26907. tags:
  26908. - 企业风险管理(app)
  26909. /Ermcp/QueryAccMgrRole:
  26910. get:
  26911. parameters:
  26912. - description: 用户ID
  26913. in: query
  26914. name: userid
  26915. required: true
  26916. type: integer
  26917. produces:
  26918. - application/json
  26919. responses:
  26920. "200":
  26921. description: OK
  26922. schema:
  26923. items:
  26924. $ref: '#/definitions/models.ErmcpRole'
  26925. type: array
  26926. "500":
  26927. description: Internal Server Error
  26928. schema:
  26929. $ref: '#/definitions/app.Response'
  26930. security:
  26931. - ApiKeyAuth: []
  26932. summary: 查询账户管理角色设置(账户管理/角色设置)
  26933. tags:
  26934. - 企业风险管理(app)
  26935. /Ermcp/QueryAccMgrRoleMenu:
  26936. get:
  26937. parameters:
  26938. - description: 用户ID
  26939. in: query
  26940. name: userid
  26941. required: true
  26942. type: integer
  26943. - description: 角色id(可多个,逗号隔开)
  26944. in: query
  26945. name: roleid
  26946. type: string
  26947. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26948. in: query
  26949. name: menutype
  26950. type: integer
  26951. produces:
  26952. - application/json
  26953. responses:
  26954. "200":
  26955. description: OK
  26956. schema:
  26957. items:
  26958. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26959. type: array
  26960. "500":
  26961. description: Internal Server Error
  26962. schema:
  26963. $ref: '#/definitions/app.Response'
  26964. security:
  26965. - ApiKeyAuth: []
  26966. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26967. tags:
  26968. - 企业风险管理(app)
  26969. /Ermcp/QueryAccMgrTaAccountInfo:
  26970. get:
  26971. parameters:
  26972. - description: 用户ID
  26973. in: query
  26974. name: userid
  26975. required: true
  26976. type: integer
  26977. - description: 账号id
  26978. in: query
  26979. name: accountid
  26980. type: integer
  26981. produces:
  26982. - application/json
  26983. responses:
  26984. "200":
  26985. description: OK
  26986. schema:
  26987. items:
  26988. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26989. type: array
  26990. "500":
  26991. description: Internal Server Error
  26992. schema:
  26993. $ref: '#/definitions/app.Response'
  26994. security:
  26995. - ApiKeyAuth: []
  26996. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26997. tags:
  26998. - 企业风险管理(app)
  26999. /Ermcp/QueryAccMgrTaaccount:
  27000. get:
  27001. parameters:
  27002. - description: 用户ID
  27003. in: query
  27004. name: userid
  27005. required: true
  27006. type: integer
  27007. produces:
  27008. - application/json
  27009. responses:
  27010. "200":
  27011. description: OK
  27012. schema:
  27013. items:
  27014. $ref: '#/definitions/models.ErmcpTaAccountEx'
  27015. type: array
  27016. "500":
  27017. description: Internal Server Error
  27018. schema:
  27019. $ref: '#/definitions/app.Response'
  27020. security:
  27021. - ApiKeyAuth: []
  27022. summary: 查询账户管理期货账号(账户管理/期货账号)
  27023. tags:
  27024. - 企业风险管理(app)
  27025. /Ermcp/QueryAvaildGoodsGroup:
  27026. get:
  27027. parameters:
  27028. - description: 所属机构ID
  27029. in: query
  27030. name: userid
  27031. required: true
  27032. type: integer
  27033. produces:
  27034. - application/json
  27035. responses:
  27036. "200":
  27037. description: OK
  27038. schema:
  27039. items:
  27040. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  27041. type: array
  27042. "500":
  27043. description: Internal Server Error
  27044. schema:
  27045. $ref: '#/definitions/app.Response'
  27046. security:
  27047. - ApiKeyAuth: []
  27048. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27049. tags:
  27050. - 企业风险管理(app)
  27051. /Ermcp/QueryBusinessDj:
  27052. get:
  27053. parameters:
  27054. - description: 用户ID
  27055. in: query
  27056. name: UserId
  27057. required: true
  27058. type: integer
  27059. - description: 用户类型 2-机构 7-企业成员
  27060. in: query
  27061. name: usertype
  27062. type: integer
  27063. - description: 现货合同ID, 不填则查所有
  27064. in: query
  27065. name: relatedid
  27066. type: string
  27067. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27068. in: query
  27069. name: applystatus
  27070. type: string
  27071. produces:
  27072. - application/json
  27073. responses:
  27074. "200":
  27075. description: OK
  27076. schema:
  27077. items:
  27078. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27079. type: array
  27080. "500":
  27081. description: Internal Server Error
  27082. schema:
  27083. $ref: '#/definitions/app.Response'
  27084. security:
  27085. - ApiKeyAuth: []
  27086. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27087. tags:
  27088. - 企业风险管理(app)
  27089. /Ermcp/QueryBusinessFp:
  27090. get:
  27091. parameters:
  27092. - description: 用户ID
  27093. in: query
  27094. name: UserId
  27095. required: true
  27096. type: integer
  27097. - description: 用户类型 2-机构 7-企业成员
  27098. in: query
  27099. name: usertype
  27100. type: integer
  27101. - description: 现货合同ID, 不填则查所有
  27102. in: query
  27103. name: relatedid
  27104. type: string
  27105. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27106. in: query
  27107. name: applystatus
  27108. type: string
  27109. produces:
  27110. - application/json
  27111. responses:
  27112. "200":
  27113. description: OK
  27114. schema:
  27115. items:
  27116. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27117. type: array
  27118. "500":
  27119. description: Internal Server Error
  27120. schema:
  27121. $ref: '#/definitions/app.Response'
  27122. security:
  27123. - ApiKeyAuth: []
  27124. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27125. tags:
  27126. - 企业风险管理(app)
  27127. /Ermcp/QueryBusinessJs:
  27128. get:
  27129. parameters:
  27130. - description: 用户ID
  27131. in: query
  27132. name: UserId
  27133. required: true
  27134. type: integer
  27135. - description: 用户类型 2-机构 7-企业成员
  27136. in: query
  27137. name: usertype
  27138. type: integer
  27139. - description: 现货合同ID, 不填则查所有
  27140. in: query
  27141. name: relatedid
  27142. type: string
  27143. - description: 操作申请id
  27144. in: query
  27145. name: operateapplyid
  27146. type: string
  27147. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27148. in: query
  27149. name: applystatus
  27150. type: string
  27151. produces:
  27152. - application/json
  27153. responses:
  27154. "200":
  27155. description: OK
  27156. schema:
  27157. items:
  27158. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27159. type: array
  27160. "500":
  27161. description: Internal Server Error
  27162. schema:
  27163. $ref: '#/definitions/app.Response'
  27164. security:
  27165. - ApiKeyAuth: []
  27166. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27167. tags:
  27168. - 企业风险管理(app)
  27169. /Ermcp/QueryBusinessJsEx:
  27170. get:
  27171. parameters:
  27172. - description: 用户ID
  27173. in: query
  27174. name: UserId
  27175. required: true
  27176. type: integer
  27177. - description: 用户类型 2-机构 7-企业成员
  27178. in: query
  27179. name: usertype
  27180. type: integer
  27181. - description: 现货合同ID, 不填则查所有
  27182. in: query
  27183. name: relatedid
  27184. type: string
  27185. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27186. in: query
  27187. name: applystatus
  27188. type: string
  27189. produces:
  27190. - application/json
  27191. responses:
  27192. "200":
  27193. description: OK
  27194. schema:
  27195. items:
  27196. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27197. type: array
  27198. "500":
  27199. description: Internal Server Error
  27200. schema:
  27201. $ref: '#/definitions/app.Response'
  27202. security:
  27203. - ApiKeyAuth: []
  27204. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27205. tags:
  27206. - 企业风险管理(app)
  27207. /Ermcp/QueryBusinessKx:
  27208. get:
  27209. parameters:
  27210. - description: 用户ID
  27211. in: query
  27212. name: UserId
  27213. required: true
  27214. type: integer
  27215. - description: 用户类型 2-机构 7-企业成员
  27216. in: query
  27217. name: usertype
  27218. type: integer
  27219. - description: 现货合同ID, 不填则查所有
  27220. in: query
  27221. name: relatedid
  27222. type: string
  27223. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27224. in: query
  27225. name: applystatus
  27226. type: string
  27227. produces:
  27228. - application/json
  27229. responses:
  27230. "200":
  27231. description: OK
  27232. schema:
  27233. items:
  27234. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27235. type: array
  27236. "500":
  27237. description: Internal Server Error
  27238. schema:
  27239. $ref: '#/definitions/app.Response'
  27240. security:
  27241. - ApiKeyAuth: []
  27242. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27243. tags:
  27244. - 企业风险管理(app)
  27245. /Ermcp/QueryChangeLog:
  27246. get:
  27247. parameters:
  27248. - description: 合同ID
  27249. in: query
  27250. name: RelatedId
  27251. required: true
  27252. type: string
  27253. produces:
  27254. - application/json
  27255. responses:
  27256. "200":
  27257. description: OK
  27258. schema:
  27259. items:
  27260. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27261. type: array
  27262. "500":
  27263. description: Internal Server Error
  27264. schema:
  27265. $ref: '#/definitions/app.Response'
  27266. security:
  27267. - ApiKeyAuth: []
  27268. summary: 查询变更记录
  27269. tags:
  27270. - 企业风险管理(app)
  27271. /Ermcp/QueryErmcpHisOrderDetails:
  27272. get:
  27273. parameters:
  27274. - description: 资金账户ID
  27275. in: query
  27276. name: accountID
  27277. required: true
  27278. type: integer
  27279. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27280. in: query
  27281. name: startDate
  27282. type: string
  27283. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27284. in: query
  27285. name: endDate
  27286. type: string
  27287. produces:
  27288. - application/json
  27289. responses:
  27290. "200":
  27291. description: OK
  27292. schema:
  27293. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27294. "500":
  27295. description: Internal Server Error
  27296. schema:
  27297. $ref: '#/definitions/app.Response'
  27298. security:
  27299. - ApiKeyAuth: []
  27300. summary: 获取企业风管期货历史委托单信息
  27301. tags:
  27302. - 企业风险管理(app)
  27303. /Ermcp/QueryErmcpHisTradeDetails:
  27304. get:
  27305. parameters:
  27306. - description: 资金账户ID
  27307. in: query
  27308. name: accountID
  27309. required: true
  27310. type: integer
  27311. - description: 商品ID
  27312. in: query
  27313. name: goodsID
  27314. type: integer
  27315. - description: 买卖方向,0:买 1:卖
  27316. in: query
  27317. name: buyOrSell
  27318. type: integer
  27319. - description: 关联委托单号
  27320. in: query
  27321. name: orderID
  27322. type: integer
  27323. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27324. in: query
  27325. name: startDate
  27326. type: string
  27327. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27328. in: query
  27329. name: endDate
  27330. type: string
  27331. produces:
  27332. - application/json
  27333. responses:
  27334. "200":
  27335. description: OK
  27336. schema:
  27337. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27338. "500":
  27339. description: Internal Server Error
  27340. schema:
  27341. $ref: '#/definitions/app.Response'
  27342. security:
  27343. - ApiKeyAuth: []
  27344. summary: 获取企业风管期货历史成交单信息
  27345. tags:
  27346. - 企业风险管理(app)
  27347. /Ermcp/QueryErmcpInnerHolderDetails:
  27348. get:
  27349. parameters:
  27350. - description: 资金账户ID
  27351. in: query
  27352. name: accountID
  27353. required: true
  27354. type: integer
  27355. - description: 商品ID
  27356. in: query
  27357. name: goodsID
  27358. type: integer
  27359. - description: 买卖方向,0:买 1:卖
  27360. in: query
  27361. name: buyOrSell
  27362. type: integer
  27363. produces:
  27364. - application/json
  27365. responses:
  27366. "200":
  27367. description: OK
  27368. schema:
  27369. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27370. "500":
  27371. description: Internal Server Error
  27372. schema:
  27373. $ref: '#/definitions/app.Response'
  27374. security:
  27375. - ApiKeyAuth: []
  27376. summary: 获取企业风管期货内部持仓单信息
  27377. tags:
  27378. - 企业风险管理(app)
  27379. /Ermcp/QueryErmcpOrderDetails:
  27380. get:
  27381. parameters:
  27382. - description: 资金账户ID
  27383. in: query
  27384. name: accountID
  27385. required: true
  27386. type: integer
  27387. produces:
  27388. - application/json
  27389. responses:
  27390. "200":
  27391. description: OK
  27392. schema:
  27393. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27394. "500":
  27395. description: Internal Server Error
  27396. schema:
  27397. $ref: '#/definitions/app.Response'
  27398. security:
  27399. - ApiKeyAuth: []
  27400. summary: 获取企业风管期货委托单信息
  27401. tags:
  27402. - 企业风险管理(app)
  27403. /Ermcp/QueryErmcpTradeDetails:
  27404. get:
  27405. parameters:
  27406. - description: 资金账户ID
  27407. in: query
  27408. name: accountID
  27409. required: true
  27410. type: integer
  27411. - description: 商品ID
  27412. in: query
  27413. name: goodsID
  27414. type: integer
  27415. - description: 买卖方向,0:买 1:卖
  27416. in: query
  27417. name: buyOrSell
  27418. type: integer
  27419. - description: 关联委托单号
  27420. in: query
  27421. name: orderID
  27422. type: integer
  27423. produces:
  27424. - application/json
  27425. responses:
  27426. "200":
  27427. description: OK
  27428. schema:
  27429. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27430. "500":
  27431. description: Internal Server Error
  27432. schema:
  27433. $ref: '#/definitions/app.Response'
  27434. security:
  27435. - ApiKeyAuth: []
  27436. summary: 获取企业风管期货成交单信息
  27437. tags:
  27438. - 企业风险管理(app)
  27439. /Ermcp/QueryErmcpTradePosition:
  27440. get:
  27441. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27442. parameters:
  27443. - description: 资金账户ID
  27444. in: query
  27445. name: accountID
  27446. required: true
  27447. type: integer
  27448. - description: 所属市场ID
  27449. in: query
  27450. name: marketID
  27451. type: integer
  27452. produces:
  27453. - application/json
  27454. responses:
  27455. "200":
  27456. description: OK
  27457. schema:
  27458. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27459. "500":
  27460. description: Internal Server Error
  27461. schema:
  27462. $ref: '#/definitions/app.Response'
  27463. security:
  27464. - ApiKeyAuth: []
  27465. summary: 获取企业风管期货持仓头寸信息
  27466. tags:
  27467. - 企业风险管理(app)
  27468. /Ermcp/QueryExposureDetail:
  27469. get:
  27470. parameters:
  27471. - description: 所属机构ID
  27472. in: query
  27473. name: areaUserId
  27474. required: true
  27475. type: integer
  27476. - description: 套保商品
  27477. in: query
  27478. name: middleGoodsId
  27479. required: true
  27480. type: integer
  27481. produces:
  27482. - application/json
  27483. responses:
  27484. "200":
  27485. description: OK
  27486. schema:
  27487. items:
  27488. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27489. type: array
  27490. "500":
  27491. description: Internal Server Error
  27492. schema:
  27493. $ref: '#/definitions/app.Response'
  27494. security:
  27495. - ApiKeyAuth: []
  27496. summary: 查询敞口现货明细
  27497. tags:
  27498. - 企业风险管理(app)
  27499. /Ermcp/QueryExposureGoods:
  27500. get:
  27501. parameters:
  27502. - description: 套保商品id
  27503. in: query
  27504. name: middlegoodsid
  27505. required: true
  27506. type: integer
  27507. produces:
  27508. - application/json
  27509. responses:
  27510. "200":
  27511. description: OK
  27512. schema:
  27513. items:
  27514. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27515. type: array
  27516. "500":
  27517. description: Internal Server Error
  27518. schema:
  27519. $ref: '#/definitions/app.Response'
  27520. security:
  27521. - ApiKeyAuth: []
  27522. summary: 查询敞口主力合约
  27523. tags:
  27524. - 企业风险管理(app)
  27525. /Ermcp/QueryExposureHedgePosition:
  27526. get:
  27527. parameters:
  27528. - description: 用户id
  27529. in: query
  27530. name: userid
  27531. required: true
  27532. type: integer
  27533. produces:
  27534. - application/json
  27535. responses:
  27536. "200":
  27537. description: OK
  27538. schema:
  27539. items:
  27540. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27541. type: array
  27542. "500":
  27543. description: Internal Server Error
  27544. schema:
  27545. $ref: '#/definitions/app.Response'
  27546. security:
  27547. - ApiKeyAuth: []
  27548. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27549. tags:
  27550. - 企业风险管理(app)
  27551. /Ermcp/QueryExposureHedgePositionDetail:
  27552. get:
  27553. parameters:
  27554. - description: 所属机构ID
  27555. in: query
  27556. name: userid
  27557. required: true
  27558. type: integer
  27559. - description: 商品id
  27560. in: query
  27561. name: goodsId
  27562. required: true
  27563. type: integer
  27564. produces:
  27565. - application/json
  27566. responses:
  27567. "200":
  27568. description: OK
  27569. schema:
  27570. items:
  27571. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27572. type: array
  27573. "500":
  27574. description: Internal Server Error
  27575. schema:
  27576. $ref: '#/definitions/app.Response'
  27577. security:
  27578. - ApiKeyAuth: []
  27579. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27580. tags:
  27581. - 企业风险管理(app)
  27582. /Ermcp/QueryExposureSpot:
  27583. get:
  27584. parameters:
  27585. - description: 所属机构ID
  27586. in: query
  27587. name: areaUserId
  27588. required: true
  27589. type: integer
  27590. produces:
  27591. - application/json
  27592. responses:
  27593. "200":
  27594. description: OK
  27595. schema:
  27596. items:
  27597. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27598. type: array
  27599. "500":
  27600. description: Internal Server Error
  27601. schema:
  27602. $ref: '#/definitions/app.Response'
  27603. security:
  27604. - ApiKeyAuth: []
  27605. summary: 查询敞口现货头寸(敞口/现货头寸)
  27606. tags:
  27607. - 企业风险管理(app)
  27608. /Ermcp/QueryExposureSpotDetail:
  27609. get:
  27610. parameters:
  27611. - description: 所属机构ID
  27612. in: query
  27613. name: areaUserId
  27614. required: true
  27615. type: integer
  27616. - description: 现货品种ID
  27617. in: query
  27618. name: wrstandardId
  27619. required: true
  27620. type: integer
  27621. produces:
  27622. - application/json
  27623. responses:
  27624. "200":
  27625. description: OK
  27626. schema:
  27627. items:
  27628. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27629. type: array
  27630. "500":
  27631. description: Internal Server Error
  27632. schema:
  27633. $ref: '#/definitions/app.Response'
  27634. security:
  27635. - ApiKeyAuth: []
  27636. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27637. tags:
  27638. - 企业风险管理(app)
  27639. /Ermcp/QueryFuturesCompany:
  27640. get:
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27649. type: array
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. summary: 查询期货公司
  27657. tags:
  27658. - 企业风险管理(app)
  27659. /Ermcp/QueryGGConvertConfig:
  27660. get:
  27661. parameters:
  27662. - description: 品种id(不填则查所有)
  27663. in: query
  27664. name: goodsgroupid
  27665. type: integer
  27666. produces:
  27667. - application/json
  27668. responses:
  27669. "200":
  27670. description: OK
  27671. schema:
  27672. items:
  27673. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27674. type: array
  27675. "500":
  27676. description: Internal Server Error
  27677. schema:
  27678. $ref: '#/definitions/app.Response'
  27679. security:
  27680. - ApiKeyAuth: []
  27681. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27682. tags:
  27683. - 企业风险管理(app)
  27684. /Ermcp/QueryGoodsBrand:
  27685. get:
  27686. parameters:
  27687. - description: 用户ID
  27688. in: query
  27689. name: userid
  27690. required: true
  27691. type: integer
  27692. - description: 现货商品ID
  27693. in: query
  27694. name: wrstandardid
  27695. type: integer
  27696. produces:
  27697. - application/json
  27698. responses:
  27699. "200":
  27700. description: OK
  27701. schema:
  27702. items:
  27703. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27704. type: array
  27705. "500":
  27706. description: Internal Server Error
  27707. schema:
  27708. $ref: '#/definitions/app.Response'
  27709. security:
  27710. - ApiKeyAuth: []
  27711. summary: 查询商品品牌
  27712. tags:
  27713. - 企业风险管理(app)
  27714. /Ermcp/QueryGoodsModel:
  27715. get:
  27716. parameters:
  27717. - description: 用户ID
  27718. in: query
  27719. name: userid
  27720. required: true
  27721. type: integer
  27722. produces:
  27723. - application/json
  27724. responses:
  27725. "200":
  27726. description: OK
  27727. schema:
  27728. items:
  27729. $ref: '#/definitions/models.ErmcpGoodsModel'
  27730. type: array
  27731. "500":
  27732. description: Internal Server Error
  27733. schema:
  27734. $ref: '#/definitions/app.Response'
  27735. security:
  27736. - ApiKeyAuth: []
  27737. summary: 查询商品型号
  27738. tags:
  27739. - 企业风险管理(app)
  27740. /Ermcp/QueryHisExposure:
  27741. get:
  27742. parameters:
  27743. - description: 用户id
  27744. in: query
  27745. name: userid
  27746. required: true
  27747. type: integer
  27748. - description: 每个品种记录数
  27749. in: query
  27750. name: lastNum
  27751. required: true
  27752. type: integer
  27753. produces:
  27754. - application/json
  27755. responses:
  27756. "200":
  27757. description: OK
  27758. schema:
  27759. items:
  27760. $ref: '#/definitions/ermcp.HisExposureRsp'
  27761. type: array
  27762. "500":
  27763. description: Internal Server Error
  27764. schema:
  27765. $ref: '#/definitions/app.Response'
  27766. security:
  27767. - ApiKeyAuth: []
  27768. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27769. tags:
  27770. - 企业风险管理(app)
  27771. /Ermcp/QueryMiddleGoods:
  27772. get:
  27773. parameters:
  27774. - description: 所属机构ID
  27775. in: query
  27776. name: userid
  27777. required: true
  27778. type: integer
  27779. - description: 状态 0-停用 1-正常
  27780. in: query
  27781. name: status
  27782. required: true
  27783. type: integer
  27784. produces:
  27785. - application/json
  27786. responses:
  27787. "200":
  27788. description: OK
  27789. schema:
  27790. items:
  27791. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27792. type: array
  27793. "500":
  27794. description: Internal Server Error
  27795. schema:
  27796. $ref: '#/definitions/app.Response'
  27797. security:
  27798. - ApiKeyAuth: []
  27799. summary: 查询套保品种(菜单:套保品种)
  27800. tags:
  27801. - 企业风险管理(app)
  27802. /Ermcp/QueryMiddleGoodsChangeLog:
  27803. get:
  27804. parameters:
  27805. - description: 所属机构ID
  27806. in: query
  27807. name: userid
  27808. required: true
  27809. type: integer
  27810. - description: 套保品种id
  27811. in: query
  27812. name: middlegoodsid
  27813. required: true
  27814. type: integer
  27815. produces:
  27816. - application/json
  27817. responses:
  27818. "200":
  27819. description: OK
  27820. schema:
  27821. items:
  27822. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27823. type: array
  27824. "500":
  27825. description: Internal Server Error
  27826. schema:
  27827. $ref: '#/definitions/app.Response'
  27828. security:
  27829. - ApiKeyAuth: []
  27830. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27831. tags:
  27832. - 企业风险管理(app)
  27833. /Ermcp/QueryMiddleGoodsDetail:
  27834. get:
  27835. parameters:
  27836. - description: 所属机构ID
  27837. in: query
  27838. name: userid
  27839. required: true
  27840. type: integer
  27841. - description: 套保品种id
  27842. in: query
  27843. name: middlegoodsid
  27844. type: integer
  27845. produces:
  27846. - application/json
  27847. responses:
  27848. "200":
  27849. description: OK
  27850. schema:
  27851. items:
  27852. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27853. type: array
  27854. "500":
  27855. description: Internal Server Error
  27856. schema:
  27857. $ref: '#/definitions/app.Response'
  27858. security:
  27859. - ApiKeyAuth: []
  27860. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27861. tags:
  27862. - 企业风险管理(app)
  27863. /Ermcp/QueryPendingAuditInfo:
  27864. get:
  27865. parameters:
  27866. - description: 用户ID
  27867. in: query
  27868. name: UserId
  27869. required: true
  27870. type: integer
  27871. produces:
  27872. - application/json
  27873. responses:
  27874. "200":
  27875. description: OK
  27876. schema:
  27877. items:
  27878. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27879. type: array
  27880. "500":
  27881. description: Internal Server Error
  27882. schema:
  27883. $ref: '#/definitions/app.Response'
  27884. security:
  27885. - ApiKeyAuth: []
  27886. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27887. tags:
  27888. - 企业风险管理(app)
  27889. /Ermcp/QueryRealtimeExposure:
  27890. get:
  27891. parameters:
  27892. - description: 所属机构ID
  27893. in: query
  27894. name: userid
  27895. required: true
  27896. type: integer
  27897. produces:
  27898. - application/json
  27899. responses:
  27900. "200":
  27901. description: OK
  27902. schema:
  27903. items:
  27904. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27905. type: array
  27906. "500":
  27907. description: Internal Server Error
  27908. schema:
  27909. $ref: '#/definitions/app.Response'
  27910. security:
  27911. - ApiKeyAuth: []
  27912. summary: 查询实时敞口
  27913. tags:
  27914. - 企业风险管理(app)
  27915. /Ermcp/QueryRealtimeExposurePosition:
  27916. get:
  27917. parameters:
  27918. - description: 用户id
  27919. in: query
  27920. name: userid
  27921. required: true
  27922. type: integer
  27923. - description: 套保商品ID
  27924. in: query
  27925. name: middleGoodsId
  27926. required: true
  27927. type: integer
  27928. produces:
  27929. - application/json
  27930. responses:
  27931. "200":
  27932. description: OK
  27933. schema:
  27934. items:
  27935. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27936. type: array
  27937. "500":
  27938. description: Internal Server Error
  27939. schema:
  27940. $ref: '#/definitions/app.Response'
  27941. security:
  27942. - ApiKeyAuth: []
  27943. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27944. tags:
  27945. - 企业风险管理(app)
  27946. /Ermcp/QueryRoleMenu:
  27947. get:
  27948. parameters:
  27949. - description: 登录ID
  27950. in: query
  27951. name: loginid
  27952. required: true
  27953. type: integer
  27954. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27955. in: query
  27956. name: menutype
  27957. type: integer
  27958. produces:
  27959. - application/json
  27960. responses:
  27961. "200":
  27962. description: OK
  27963. schema:
  27964. items:
  27965. $ref: '#/definitions/models.RoleMenu'
  27966. type: array
  27967. "500":
  27968. description: Internal Server Error
  27969. schema:
  27970. $ref: '#/definitions/app.Response'
  27971. security:
  27972. - ApiKeyAuth: []
  27973. summary: 查询角色菜单和权限
  27974. tags:
  27975. - 企业风险管理(app)
  27976. /Ermcp/QueryTradeConfigTMP:
  27977. get:
  27978. parameters:
  27979. - description: 所属机构id
  27980. in: query
  27981. name: areauserid
  27982. type: integer
  27983. produces:
  27984. - application/json
  27985. responses:
  27986. "200":
  27987. description: OK
  27988. schema:
  27989. items:
  27990. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27991. type: array
  27992. "500":
  27993. description: Internal Server Error
  27994. schema:
  27995. $ref: '#/definitions/app.Response'
  27996. security:
  27997. - ApiKeyAuth: []
  27998. summary: 查询交易模板配置
  27999. tags:
  28000. - 企业风险管理(app)
  28001. /Ermcp/QueryUserInfo:
  28002. get:
  28003. parameters:
  28004. - description: 所属机构用户ID
  28005. in: query
  28006. name: MemberUserID
  28007. required: true
  28008. type: integer
  28009. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  28010. in: query
  28011. name: queryType
  28012. required: true
  28013. type: integer
  28014. produces:
  28015. - application/json
  28016. responses:
  28017. "200":
  28018. description: OK
  28019. schema:
  28020. items:
  28021. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  28022. type: array
  28023. "500":
  28024. description: Internal Server Error
  28025. schema:
  28026. $ref: '#/definitions/app.Response'
  28027. security:
  28028. - ApiKeyAuth: []
  28029. summary: 查询客户资料
  28030. tags:
  28031. - 企业风险管理(app)
  28032. /Ermcp/QueryWarehouseInfo:
  28033. get:
  28034. parameters:
  28035. - description: 用户ID
  28036. in: query
  28037. name: userid
  28038. required: true
  28039. type: integer
  28040. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28041. in: query
  28042. name: status
  28043. type: string
  28044. produces:
  28045. - application/json
  28046. responses:
  28047. "200":
  28048. description: OK
  28049. schema:
  28050. items:
  28051. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28052. type: array
  28053. "500":
  28054. description: Internal Server Error
  28055. schema:
  28056. $ref: '#/definitions/app.Response'
  28057. security:
  28058. - ApiKeyAuth: []
  28059. summary: 查询仓库信息
  28060. tags:
  28061. - 企业风险管理(app)
  28062. /Ermcp3/QryAreaExpourseContractDetail:
  28063. get:
  28064. parameters:
  28065. - description: 用户ID
  28066. in: query
  28067. name: userid
  28068. required: true
  28069. type: integer
  28070. - description: 套保商品id
  28071. in: query
  28072. name: middlegoodsid
  28073. required: true
  28074. type: integer
  28075. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28076. in: query
  28077. name: cycletype
  28078. required: true
  28079. type: integer
  28080. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28081. 全(0)【原值】
  28082. in: query
  28083. name: cycletime
  28084. required: true
  28085. type: string
  28086. produces:
  28087. - application/json
  28088. responses:
  28089. "200":
  28090. description: OK
  28091. schema:
  28092. items:
  28093. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28094. type: array
  28095. "500":
  28096. description: Internal Server Error
  28097. schema:
  28098. $ref: '#/definitions/app.Response'
  28099. security:
  28100. - ApiKeyAuth: []
  28101. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28102. tags:
  28103. - 企业风险管理v3(app)
  28104. /Ermcp3/QryAreaExpourseFutuDetail:
  28105. get:
  28106. parameters:
  28107. - description: 用户ID
  28108. in: query
  28109. name: userid
  28110. required: true
  28111. type: integer
  28112. - description: 套保商品id
  28113. in: query
  28114. name: middlegoodsid
  28115. required: true
  28116. type: integer
  28117. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28118. in: query
  28119. name: cycletype
  28120. required: true
  28121. type: integer
  28122. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28123. 全(0)【原值】
  28124. in: query
  28125. name: cycletime
  28126. required: true
  28127. type: string
  28128. produces:
  28129. - application/json
  28130. responses:
  28131. "200":
  28132. description: OK
  28133. schema:
  28134. items:
  28135. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28136. type: array
  28137. "500":
  28138. description: Internal Server Error
  28139. schema:
  28140. $ref: '#/definitions/app.Response'
  28141. security:
  28142. - ApiKeyAuth: []
  28143. summary: 查询敞口期货明细(敞口报表/期货明细)
  28144. tags:
  28145. - 企业风险管理v3(app)
  28146. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28147. get:
  28148. parameters:
  28149. - description: 用户ID
  28150. in: query
  28151. name: userid
  28152. required: true
  28153. type: integer
  28154. - description: 套保商品id
  28155. in: query
  28156. name: middlegoodsid
  28157. required: true
  28158. type: integer
  28159. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28160. in: query
  28161. name: cycletype
  28162. required: true
  28163. type: integer
  28164. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28165. 全(0)【原值】
  28166. in: query
  28167. name: cycletime
  28168. required: true
  28169. type: string
  28170. produces:
  28171. - application/json
  28172. responses:
  28173. "200":
  28174. description: OK
  28175. schema:
  28176. items:
  28177. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28178. type: array
  28179. "500":
  28180. description: Internal Server Error
  28181. schema:
  28182. $ref: '#/definitions/app.Response'
  28183. security:
  28184. - ApiKeyAuth: []
  28185. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28186. tags:
  28187. - 企业风险管理v3(app)
  28188. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28189. get:
  28190. parameters:
  28191. - description: 用户ID
  28192. in: query
  28193. name: userid
  28194. required: true
  28195. type: integer
  28196. - description: 套保商品id
  28197. in: query
  28198. name: middlegoodsid
  28199. required: true
  28200. type: integer
  28201. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28202. in: query
  28203. name: cycletype
  28204. required: true
  28205. type: integer
  28206. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28207. 全(0)【原值】
  28208. in: query
  28209. name: cycletime
  28210. required: true
  28211. type: string
  28212. produces:
  28213. - application/json
  28214. responses:
  28215. "200":
  28216. description: OK
  28217. schema:
  28218. items:
  28219. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28220. type: array
  28221. "500":
  28222. description: Internal Server Error
  28223. schema:
  28224. $ref: '#/definitions/app.Response'
  28225. security:
  28226. - ApiKeyAuth: []
  28227. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28228. tags:
  28229. - 企业风险管理v3(app)
  28230. /Ermcp3/QryAreaExpourseReport:
  28231. get:
  28232. parameters:
  28233. - description: 用户ID
  28234. in: query
  28235. name: userid
  28236. required: true
  28237. type: integer
  28238. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28239. in: query
  28240. name: querytype
  28241. required: true
  28242. type: integer
  28243. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28244. in: query
  28245. name: cycletype
  28246. required: true
  28247. type: integer
  28248. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28249. 全(0)【原值】
  28250. in: query
  28251. name: cycletime
  28252. required: true
  28253. type: string
  28254. produces:
  28255. - application/json
  28256. responses:
  28257. "200":
  28258. description: OK
  28259. schema:
  28260. items:
  28261. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28262. type: array
  28263. "500":
  28264. description: Internal Server Error
  28265. schema:
  28266. $ref: '#/definitions/app.Response'
  28267. security:
  28268. - ApiKeyAuth: []
  28269. summary: 查询敞口报表
  28270. tags:
  28271. - 企业风险管理v3(app)
  28272. /Ermcp3/QryAreaSpotplReport:
  28273. get:
  28274. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28275. parameters:
  28276. - description: 用户ID
  28277. in: query
  28278. name: userid
  28279. required: true
  28280. type: integer
  28281. - description: 查询类型 1-报表 2-报表明细
  28282. in: query
  28283. name: querytype
  28284. required: true
  28285. type: integer
  28286. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28287. in: query
  28288. name: cycletype
  28289. required: true
  28290. type: integer
  28291. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28292. 全(0)【原值】
  28293. in: query
  28294. name: cycletime
  28295. required: true
  28296. type: string
  28297. - description: 现货品种id(明细必填)
  28298. in: query
  28299. name: deliverygoodsid
  28300. type: integer
  28301. - description: 币种id(明细必填)
  28302. in: query
  28303. name: currencyid
  28304. type: integer
  28305. - description: 日/周/月报表汇总维度 1:品种+品类
  28306. in: query
  28307. name: sumflag
  28308. type: integer
  28309. produces:
  28310. - application/json
  28311. responses:
  28312. "200":
  28313. description: OK
  28314. schema:
  28315. items:
  28316. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28317. type: array
  28318. "500":
  28319. description: Internal Server Error
  28320. schema:
  28321. $ref: '#/definitions/app.Response'
  28322. security:
  28323. - ApiKeyAuth: []
  28324. summary: 查询现货报表
  28325. tags:
  28326. - 企业风险管理v3(app)
  28327. /Ermcp3/QryAreaStockReport:
  28328. get:
  28329. parameters:
  28330. - description: 用户ID
  28331. in: query
  28332. name: userid
  28333. required: true
  28334. type: integer
  28335. - description: 查询类型 1-报表 2-报表明细
  28336. in: query
  28337. name: querytype
  28338. required: true
  28339. type: integer
  28340. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28341. in: query
  28342. name: cycletype
  28343. required: true
  28344. type: integer
  28345. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28346. 全(0)【原值】
  28347. in: query
  28348. name: cycletime
  28349. required: true
  28350. type: string
  28351. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28352. in: query
  28353. name: sumfields
  28354. type: string
  28355. - description: 品种ID
  28356. in: query
  28357. name: deliverygoodsid
  28358. type: integer
  28359. - description: 品类ID
  28360. in: query
  28361. name: wrstandardid
  28362. type: integer
  28363. - description: 品牌ID
  28364. in: query
  28365. name: spotgoodsbrandid
  28366. type: integer
  28367. - description: 仓库ID
  28368. in: query
  28369. name: warehouseinfoid
  28370. type: integer
  28371. produces:
  28372. - application/json
  28373. responses:
  28374. "200":
  28375. description: OK
  28376. schema:
  28377. items:
  28378. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28379. type: array
  28380. "500":
  28381. description: Internal Server Error
  28382. schema:
  28383. $ref: '#/definitions/app.Response'
  28384. security:
  28385. - ApiKeyAuth: []
  28386. summary: 查询库存报表
  28387. tags:
  28388. - 企业风险管理v3(app)
  28389. /Ermcp3/QryAreaSumPL:
  28390. get:
  28391. parameters:
  28392. - description: 用户ID
  28393. in: query
  28394. name: userid
  28395. required: true
  28396. type: integer
  28397. - description: 查询类型 1-报表 2-报表明细
  28398. in: query
  28399. name: querytype
  28400. required: true
  28401. type: integer
  28402. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28403. in: query
  28404. name: cycletype
  28405. required: true
  28406. type: integer
  28407. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28408. 全(0)【原值】
  28409. in: query
  28410. name: cycletime
  28411. required: true
  28412. type: string
  28413. - description: 币种id(明细必填)
  28414. in: query
  28415. name: currencyid
  28416. type: integer
  28417. - description: 套保品种ID, 查询类型为2时起效
  28418. in: query
  28419. name: middlegoodsid
  28420. type: integer
  28421. produces:
  28422. - application/json
  28423. responses:
  28424. "200":
  28425. description: OK
  28426. schema:
  28427. items:
  28428. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28429. type: array
  28430. "500":
  28431. description: Internal Server Error
  28432. schema:
  28433. $ref: '#/definitions/app.Response'
  28434. security:
  28435. - ApiKeyAuth: []
  28436. summary: 查询汇总损益表
  28437. tags:
  28438. - 企业风险管理v3(app)
  28439. /Ermcp3/QryFinanceReport:
  28440. get:
  28441. parameters:
  28442. - description: 用户ID
  28443. in: query
  28444. name: userid
  28445. required: true
  28446. type: integer
  28447. - description: 查询类型 1-报表 2-报表明细
  28448. in: query
  28449. name: querytype
  28450. required: true
  28451. type: integer
  28452. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28453. in: query
  28454. name: cycletype
  28455. required: true
  28456. type: integer
  28457. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28458. 全(0)【原值】
  28459. in: query
  28460. name: cycletime
  28461. required: true
  28462. type: string
  28463. - description: 币种id(报表明细必填)
  28464. in: query
  28465. name: currencyid
  28466. type: integer
  28467. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28468. in: query
  28469. name: sumfields
  28470. type: string
  28471. produces:
  28472. - application/json
  28473. responses:
  28474. "200":
  28475. description: OK
  28476. schema:
  28477. items:
  28478. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28479. type: array
  28480. "500":
  28481. description: Internal Server Error
  28482. schema:
  28483. $ref: '#/definitions/app.Response'
  28484. security:
  28485. - ApiKeyAuth: []
  28486. summary: 查询财务报表
  28487. tags:
  28488. - 企业风险管理v3(app)
  28489. /Ermcp3/QrySCMiddleGoodsReport:
  28490. get:
  28491. parameters:
  28492. - description: 用户ID
  28493. in: query
  28494. name: userid
  28495. required: true
  28496. type: integer
  28497. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28498. in: query
  28499. name: cycletype
  28500. required: true
  28501. type: integer
  28502. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28503. 全(0)【原值】
  28504. in: query
  28505. name: cycletime
  28506. required: true
  28507. type: string
  28508. - description: 合同id
  28509. in: query
  28510. name: spotcontractid
  28511. type: integer
  28512. - description: 套保品种id
  28513. in: query
  28514. name: middlegoodsid
  28515. type: integer
  28516. - description: 现货品种id
  28517. in: query
  28518. name: deliverygoodsid
  28519. type: integer
  28520. - description: 现货商品id
  28521. in: query
  28522. name: wrstandardid
  28523. type: integer
  28524. - description: 合同编号(模糊匹配)
  28525. in: query
  28526. name: contractno
  28527. type: string
  28528. produces:
  28529. - application/json
  28530. responses:
  28531. "200":
  28532. description: OK
  28533. schema:
  28534. items:
  28535. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28536. type: array
  28537. "500":
  28538. description: Internal Server Error
  28539. schema:
  28540. $ref: '#/definitions/app.Response'
  28541. security:
  28542. - ApiKeyAuth: []
  28543. summary: 查询定价报表
  28544. tags:
  28545. - 企业风险管理v3(app)
  28546. /Ermcp3/QryTaFutureDataReport:
  28547. get:
  28548. parameters:
  28549. - description: 用户ID
  28550. in: query
  28551. name: userid
  28552. required: true
  28553. type: integer
  28554. - description: 查询类型 1-报表 2-报表明细
  28555. in: query
  28556. name: querytype
  28557. required: true
  28558. type: integer
  28559. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28560. in: query
  28561. name: cycletype
  28562. required: true
  28563. type: integer
  28564. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28565. 全(0)【原值】
  28566. in: query
  28567. name: cycletime
  28568. required: true
  28569. type: string
  28570. - description: 币种id(查明细必填)
  28571. in: query
  28572. name: currencyid
  28573. type: integer
  28574. - description: 品种id(查明细必填)
  28575. in: query
  28576. name: goodsgroupid
  28577. type: integer
  28578. - description: 商品id(查明细必填)
  28579. in: query
  28580. name: goodsid
  28581. type: integer
  28582. - description: 买卖方向(查明细必填)
  28583. in: query
  28584. name: buyorsell
  28585. type: integer
  28586. produces:
  28587. - application/json
  28588. responses:
  28589. "200":
  28590. description: OK
  28591. schema:
  28592. items:
  28593. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28594. type: array
  28595. "500":
  28596. description: Internal Server Error
  28597. schema:
  28598. $ref: '#/definitions/app.Response'
  28599. security:
  28600. - ApiKeyAuth: []
  28601. summary: 查询期货报表
  28602. tags:
  28603. - 企业风险管理v3(app)
  28604. /Ermcp3/QueryAreaStock:
  28605. get:
  28606. parameters:
  28607. - description: 用户ID
  28608. in: query
  28609. name: userid
  28610. required: true
  28611. type: integer
  28612. produces:
  28613. - application/json
  28614. responses:
  28615. "200":
  28616. description: OK
  28617. schema:
  28618. items:
  28619. $ref: '#/definitions/models.Ermcp3AreaStock'
  28620. type: array
  28621. "500":
  28622. description: Internal Server Error
  28623. schema:
  28624. $ref: '#/definitions/app.Response'
  28625. security:
  28626. - ApiKeyAuth: []
  28627. summary: 查询机构库存(库存管理/当前库存)
  28628. tags:
  28629. - 企业风险管理v3(app)
  28630. /Ermcp3/QueryAreaStockApply:
  28631. get:
  28632. parameters:
  28633. - description: 用户ID
  28634. in: query
  28635. name: userid
  28636. required: true
  28637. type: integer
  28638. - description: 用户类型 2-机构 7-企业成员
  28639. in: query
  28640. name: usertype
  28641. type: integer
  28642. - description: 现货商品ID
  28643. in: query
  28644. name: deliverygoodsid
  28645. type: integer
  28646. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28647. in: query
  28648. name: inouttype
  28649. type: string
  28650. - description: 合同ID
  28651. in: query
  28652. name: spotcontractid
  28653. type: integer
  28654. - description: 品类ID
  28655. in: query
  28656. name: wrstandardid
  28657. type: integer
  28658. - description: 品牌ID
  28659. in: query
  28660. name: spotgoodsbrandid
  28661. type: integer
  28662. - description: 仓库ID
  28663. in: query
  28664. name: warehouseinfoid
  28665. type: integer
  28666. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28667. in: query
  28668. name: applystatus
  28669. type: string
  28670. produces:
  28671. - application/json
  28672. responses:
  28673. "200":
  28674. description: OK
  28675. schema:
  28676. items:
  28677. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28678. type: array
  28679. "500":
  28680. description: Internal Server Error
  28681. schema:
  28682. $ref: '#/definitions/app.Response'
  28683. security:
  28684. - ApiKeyAuth: []
  28685. summary: 查询库存申请(出入库记录|库存审核)
  28686. tags:
  28687. - 企业风险管理v3(app)
  28688. /Ermcp3/QueryAreaStockApplySum:
  28689. get:
  28690. parameters:
  28691. - description: 合同ID
  28692. in: query
  28693. name: spotcontractid
  28694. required: true
  28695. type: integer
  28696. produces:
  28697. - application/json
  28698. responses:
  28699. "200":
  28700. description: OK
  28701. schema:
  28702. items:
  28703. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28704. type: array
  28705. "500":
  28706. description: Internal Server Error
  28707. schema:
  28708. $ref: '#/definitions/app.Response'
  28709. security:
  28710. - ApiKeyAuth: []
  28711. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28712. tags:
  28713. - 企业风险管理v3(app)
  28714. /Ermcp3/QueryDGFactoryItem:
  28715. get:
  28716. parameters:
  28717. - description: 用户id
  28718. in: query
  28719. name: userid
  28720. type: integer
  28721. - description: 用户类型 2-机构 7-企业成员
  28722. in: query
  28723. name: usertype
  28724. type: integer
  28725. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28726. in: query
  28727. name: dgfactoryitemid
  28728. type: integer
  28729. - description: 现货品种ID
  28730. in: query
  28731. name: deliverygoodsid
  28732. type: integer
  28733. - description: 要素项类型
  28734. in: query
  28735. name: dgfactoryitemtypeid
  28736. type: integer
  28737. - description: 顺序
  28738. in: query
  28739. name: orderindex
  28740. type: integer
  28741. produces:
  28742. - application/json
  28743. responses:
  28744. "200":
  28745. description: OK
  28746. schema:
  28747. items:
  28748. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28749. type: array
  28750. "500":
  28751. description: Internal Server Error
  28752. schema:
  28753. $ref: '#/definitions/app.Response'
  28754. security:
  28755. - ApiKeyAuth: []
  28756. summary: 查询品种要素定义项
  28757. tags:
  28758. - 企业风险管理v3(app)
  28759. /Ermcp3/QueryDeliveryGoods:
  28760. get:
  28761. parameters:
  28762. - description: 用户id
  28763. in: query
  28764. name: userid
  28765. required: true
  28766. type: integer
  28767. - description: 用户类型 2-机构 7-企业成员
  28768. in: query
  28769. name: usertype
  28770. type: integer
  28771. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28772. in: query
  28773. name: excludecfg
  28774. type: integer
  28775. produces:
  28776. - application/json
  28777. responses:
  28778. "200":
  28779. description: OK
  28780. schema:
  28781. items:
  28782. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28783. type: array
  28784. "500":
  28785. description: Internal Server Error
  28786. schema:
  28787. $ref: '#/definitions/app.Response'
  28788. security:
  28789. - ApiKeyAuth: []
  28790. summary: 查询现货商品
  28791. tags:
  28792. - 企业风险管理v3(app)
  28793. /Ermcp3/QueryDeliveryGoodsDetail:
  28794. get:
  28795. parameters:
  28796. - description: 用户id
  28797. in: query
  28798. name: userid
  28799. required: true
  28800. type: integer
  28801. - description: 用户类型 2-机构 7-企业成员
  28802. in: query
  28803. name: usertype
  28804. type: integer
  28805. - description: 现货商品id
  28806. in: query
  28807. name: deliverygoodsid
  28808. type: integer
  28809. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28810. in: query
  28811. name: filtersubempty
  28812. type: integer
  28813. produces:
  28814. - application/json
  28815. responses:
  28816. "200":
  28817. description: OK
  28818. schema:
  28819. items:
  28820. $ref: '#/definitions/models.XHDeliveryGoods'
  28821. type: array
  28822. "500":
  28823. description: Internal Server Error
  28824. schema:
  28825. $ref: '#/definitions/app.Response'
  28826. security:
  28827. - ApiKeyAuth: []
  28828. summary: 查询现货商品详情
  28829. tags:
  28830. - 企业风险管理v3(app)
  28831. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28832. get:
  28833. parameters:
  28834. - description: 合同id
  28835. in: query
  28836. name: spotcontractid
  28837. required: true
  28838. type: string
  28839. produces:
  28840. - application/json
  28841. responses:
  28842. "200":
  28843. description: OK
  28844. schema:
  28845. items:
  28846. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28847. type: array
  28848. "500":
  28849. description: Internal Server Error
  28850. schema:
  28851. $ref: '#/definitions/app.Response'
  28852. security:
  28853. - ApiKeyAuth: []
  28854. summary: 查询现货合同期现配置信息
  28855. tags:
  28856. - 企业风险管理v3(app)
  28857. /Ermcp3/QueryExposureDetail:
  28858. get:
  28859. parameters:
  28860. - description: 用户id
  28861. in: query
  28862. name: userid
  28863. required: true
  28864. type: integer
  28865. - description: 用户类型 2-机构 7-企业成员
  28866. in: query
  28867. name: usertype
  28868. type: integer
  28869. - description: 套保商品
  28870. in: query
  28871. name: middlegoodsid
  28872. required: true
  28873. type: integer
  28874. produces:
  28875. - application/json
  28876. responses:
  28877. "200":
  28878. description: OK
  28879. schema:
  28880. items:
  28881. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28882. type: array
  28883. "500":
  28884. description: Internal Server Error
  28885. schema:
  28886. $ref: '#/definitions/app.Response'
  28887. security:
  28888. - ApiKeyAuth: []
  28889. summary: 查询敞口现货明细
  28890. tags:
  28891. - 企业风险管理v3(app)
  28892. /Ermcp3/QueryExposureSpot:
  28893. get:
  28894. parameters:
  28895. - description: 用户id
  28896. in: query
  28897. name: userid
  28898. required: true
  28899. type: integer
  28900. - description: 用户类型 2-机构 7-企业成员
  28901. in: query
  28902. name: usertype
  28903. type: integer
  28904. produces:
  28905. - application/json
  28906. responses:
  28907. "200":
  28908. description: OK
  28909. schema:
  28910. items:
  28911. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28912. type: array
  28913. "500":
  28914. description: Internal Server Error
  28915. schema:
  28916. $ref: '#/definitions/app.Response'
  28917. security:
  28918. - ApiKeyAuth: []
  28919. summary: 查询敞口现货头寸(敞口/现货头寸)
  28920. tags:
  28921. - 企业风险管理v3(app)
  28922. /Ermcp3/QueryExposureSpotDetail:
  28923. get:
  28924. parameters:
  28925. - description: 用户id
  28926. in: query
  28927. name: userid
  28928. required: true
  28929. type: integer
  28930. - description: 用户类型 2-机构 7-企业成员
  28931. in: query
  28932. name: usertype
  28933. type: integer
  28934. - description: 现货商品ID
  28935. in: query
  28936. name: wrstandardid
  28937. required: true
  28938. type: integer
  28939. produces:
  28940. - application/json
  28941. responses:
  28942. "200":
  28943. description: OK
  28944. schema:
  28945. items:
  28946. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28947. type: array
  28948. "500":
  28949. description: Internal Server Error
  28950. schema:
  28951. $ref: '#/definitions/app.Response'
  28952. security:
  28953. - ApiKeyAuth: []
  28954. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28955. tags:
  28956. - 企业风险管理v3(app)
  28957. /Ermcp3/QueryGoodsGroup:
  28958. get:
  28959. parameters:
  28960. - description: 用户id
  28961. in: query
  28962. name: userid
  28963. required: true
  28964. type: integer
  28965. - description: 用户类型 2-机构 7-企业成员
  28966. in: query
  28967. name: usertype
  28968. type: integer
  28969. - description: 排除套保品中已关联的商品组 1-排除
  28970. in: query
  28971. name: excludecfg
  28972. type: integer
  28973. produces:
  28974. - application/json
  28975. responses:
  28976. "200":
  28977. description: OK
  28978. schema:
  28979. items:
  28980. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28981. type: array
  28982. "500":
  28983. description: Internal Server Error
  28984. schema:
  28985. $ref: '#/definitions/app.Response'
  28986. security:
  28987. - ApiKeyAuth: []
  28988. summary: 查询期货商品组
  28989. tags:
  28990. - 企业风险管理v3(app)
  28991. /Ermcp3/QueryGoodsWrstandard:
  28992. get:
  28993. parameters:
  28994. - description: 用户id
  28995. in: query
  28996. name: userid
  28997. required: true
  28998. type: integer
  28999. - description: 用户类型 2-机构 7-企业成员
  29000. in: query
  29001. name: usertype
  29002. type: integer
  29003. - description: 现货商品id
  29004. in: query
  29005. name: deliverygoodsid
  29006. type: integer
  29007. produces:
  29008. - application/json
  29009. responses:
  29010. "200":
  29011. description: OK
  29012. schema:
  29013. items:
  29014. $ref: '#/definitions/models.Ermcp3Wrstandard'
  29015. type: array
  29016. "500":
  29017. description: Internal Server Error
  29018. schema:
  29019. $ref: '#/definitions/app.Response'
  29020. security:
  29021. - ApiKeyAuth: []
  29022. summary: 查询商品品类
  29023. tags:
  29024. - 企业风险管理v3(app)
  29025. /Ermcp3/QueryGoodsbrand:
  29026. get:
  29027. parameters:
  29028. - description: 用户id
  29029. in: query
  29030. name: userid
  29031. required: true
  29032. type: integer
  29033. - description: 用户类型 2-机构 7-企业成员
  29034. in: query
  29035. name: usertype
  29036. type: integer
  29037. produces:
  29038. - application/json
  29039. responses:
  29040. "200":
  29041. description: OK
  29042. schema:
  29043. items:
  29044. $ref: '#/definitions/models.Ermcp3Brand'
  29045. type: array
  29046. "500":
  29047. description: Internal Server Error
  29048. schema:
  29049. $ref: '#/definitions/app.Response'
  29050. security:
  29051. - ApiKeyAuth: []
  29052. summary: 查询商品品牌
  29053. tags:
  29054. - 企业风险管理v3(app)
  29055. /Ermcp3/QueryHPMiddleGoods:
  29056. get:
  29057. parameters:
  29058. - description: 用户ID(填登录用户的userid)
  29059. in: query
  29060. name: userid
  29061. required: true
  29062. type: integer
  29063. - description: 买卖方向 0-买 1-卖
  29064. in: query
  29065. name: buyorsell
  29066. required: true
  29067. type: integer
  29068. - description: 商品组id
  29069. in: query
  29070. name: goodsgroupid
  29071. required: true
  29072. type: integer
  29073. - description: 套保计划编号(模糊匹配)
  29074. in: query
  29075. name: hedgeplanno
  29076. type: string
  29077. - description: 现货商品名称(模糊匹配)
  29078. in: query
  29079. name: wrstandardname
  29080. type: string
  29081. produces:
  29082. - application/json
  29083. responses:
  29084. "200":
  29085. description: OK
  29086. schema:
  29087. items:
  29088. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29089. type: array
  29090. "500":
  29091. description: Internal Server Error
  29092. schema:
  29093. $ref: '#/definitions/app.Response'
  29094. security:
  29095. - ApiKeyAuth: []
  29096. summary: 查询可关联套保计划
  29097. tags:
  29098. - 企业风险管理v3(app)
  29099. /Ermcp3/QueryHedgePlan:
  29100. get:
  29101. parameters:
  29102. - description: 用户ID
  29103. in: query
  29104. name: userid
  29105. required: true
  29106. type: integer
  29107. - description: 用户类型 2-机构 7-企业成员
  29108. in: query
  29109. name: usertype
  29110. type: integer
  29111. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29112. in: query
  29113. name: hedgeplanstatus
  29114. required: true
  29115. type: string
  29116. produces:
  29117. - application/json
  29118. responses:
  29119. "200":
  29120. description: OK
  29121. schema:
  29122. items:
  29123. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29124. type: array
  29125. "500":
  29126. description: Internal Server Error
  29127. schema:
  29128. $ref: '#/definitions/app.Response'
  29129. security:
  29130. - ApiKeyAuth: []
  29131. summary: 查询套保计划
  29132. tags:
  29133. - 企业风险管理v3(app)
  29134. /Ermcp3/QueryInnerTradeLink:
  29135. get:
  29136. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29137. parameters:
  29138. - description: 外部成交单号
  29139. in: query
  29140. name: outtradeid
  29141. required: true
  29142. type: integer
  29143. produces:
  29144. - application/json
  29145. responses:
  29146. "200":
  29147. description: OK
  29148. schema:
  29149. items:
  29150. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29151. type: array
  29152. "500":
  29153. description: Internal Server Error
  29154. schema:
  29155. $ref: '#/definitions/app.Response'
  29156. security:
  29157. - ApiKeyAuth: []
  29158. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29159. tags:
  29160. - 企业风险管理v3(app)
  29161. /Ermcp3/QueryMiddleGoodsDetail:
  29162. get:
  29163. parameters:
  29164. - description: 用户id
  29165. in: query
  29166. name: userid
  29167. required: true
  29168. type: integer
  29169. - description: 用户类型 2-机构 7-企业成员
  29170. in: query
  29171. name: usertype
  29172. type: integer
  29173. - description: 套保品种id
  29174. in: query
  29175. name: middlegoodsid
  29176. type: integer
  29177. produces:
  29178. - application/json
  29179. responses:
  29180. "200":
  29181. description: OK
  29182. schema:
  29183. items:
  29184. $ref: '#/definitions/models.TBMiddleGoods'
  29185. type: array
  29186. "500":
  29187. description: Internal Server Error
  29188. schema:
  29189. $ref: '#/definitions/app.Response'
  29190. security:
  29191. - ApiKeyAuth: []
  29192. summary: 查询套保品种详情(套保品种/商品详情)
  29193. tags:
  29194. - 企业风险管理v3(app)
  29195. /Ermcp3/QueryOutTradeLink:
  29196. get:
  29197. description: 页面 app 现货->期现关联->外部成交单关联
  29198. parameters:
  29199. - description: 用户ID(填登录用户的userid)
  29200. in: query
  29201. name: userid
  29202. required: true
  29203. type: integer
  29204. - description: 外部订单号(模糊匹配)
  29205. in: query
  29206. name: outtradeid
  29207. type: string
  29208. - description: 合约名称/代码(模糊匹配)
  29209. in: query
  29210. name: goodsname
  29211. type: string
  29212. - description: 关联状态 0-未关联 1-已关联
  29213. in: query
  29214. name: hasinnerorder
  29215. type: integer
  29216. produces:
  29217. - application/json
  29218. responses:
  29219. "200":
  29220. description: OK
  29221. schema:
  29222. items:
  29223. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29224. type: array
  29225. "500":
  29226. description: Internal Server Error
  29227. schema:
  29228. $ref: '#/definitions/app.Response'
  29229. security:
  29230. - ApiKeyAuth: []
  29231. summary: 查询外部成交单关联
  29232. tags:
  29233. - 企业风险管理v3(app)
  29234. /Ermcp3/QueryPaAreaAuditCfg:
  29235. get:
  29236. parameters:
  29237. - description: 用户id
  29238. in: query
  29239. name: userid
  29240. required: true
  29241. type: integer
  29242. produces:
  29243. - application/json
  29244. responses:
  29245. "200":
  29246. description: OK
  29247. schema:
  29248. items:
  29249. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29250. type: array
  29251. "500":
  29252. description: Internal Server Error
  29253. schema:
  29254. $ref: '#/definitions/app.Response'
  29255. security:
  29256. - ApiKeyAuth: []
  29257. summary: 查询审核设置
  29258. tags:
  29259. - 企业风险管理v3(app)
  29260. /Ermcp3/QueryPaAreaSubject:
  29261. get:
  29262. parameters:
  29263. - description: 用户id
  29264. in: query
  29265. name: userid
  29266. required: true
  29267. type: integer
  29268. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29269. in: query
  29270. name: subjectid
  29271. type: integer
  29272. - description: 主体类型 - 1:交易主体 2:业务部门
  29273. in: query
  29274. name: subjecttype
  29275. type: integer
  29276. - description: '主体状态 - 1:正常 2: 停用'
  29277. in: query
  29278. name: subjectstatus
  29279. type: integer
  29280. produces:
  29281. - application/json
  29282. responses:
  29283. "200":
  29284. description: OK
  29285. schema:
  29286. items:
  29287. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29288. type: array
  29289. "500":
  29290. description: Internal Server Error
  29291. schema:
  29292. $ref: '#/definitions/app.Response'
  29293. security:
  29294. - ApiKeyAuth: []
  29295. summary: 查询交易主体
  29296. tags:
  29297. - 企业风险管理v3(app)
  29298. /Ermcp3/QueryPaTradeLink:
  29299. get:
  29300. description: 页面 app 现货->期现关联->期现单据关联
  29301. parameters:
  29302. - description: 用户ID
  29303. in: query
  29304. name: userid
  29305. required: true
  29306. type: integer
  29307. produces:
  29308. - application/json
  29309. responses:
  29310. "200":
  29311. description: OK
  29312. schema:
  29313. items:
  29314. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29315. type: array
  29316. "500":
  29317. description: Internal Server Error
  29318. schema:
  29319. $ref: '#/definitions/app.Response'
  29320. security:
  29321. - ApiKeyAuth: []
  29322. summary: 查询期现单据关联
  29323. tags:
  29324. - 企业风险管理v3(app)
  29325. /Ermcp3/QueryPaTradeLinkDetail:
  29326. get:
  29327. description: 页面 app 现货->期现关联->关联记录
  29328. parameters:
  29329. - description: 用户ID(填登录用户的userid)
  29330. in: query
  29331. name: userid
  29332. required: true
  29333. type: integer
  29334. - description: 关联状态 1:成功 2:失败 3:解绑
  29335. in: query
  29336. name: linkstatus
  29337. type: integer
  29338. - description: 期货订单号(模糊匹配)
  29339. in: query
  29340. name: tradeid
  29341. type: string
  29342. - description: 现货编号(模糊匹配)
  29343. in: query
  29344. name: contractno
  29345. type: string
  29346. - description: 期货账户(模糊匹配)
  29347. in: query
  29348. name: taname
  29349. type: string
  29350. produces:
  29351. - application/json
  29352. responses:
  29353. "200":
  29354. description: OK
  29355. schema:
  29356. items:
  29357. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29358. type: array
  29359. "500":
  29360. description: Internal Server Error
  29361. schema:
  29362. $ref: '#/definitions/app.Response'
  29363. security:
  29364. - ApiKeyAuth: []
  29365. summary: 查询期现关联记录
  29366. tags:
  29367. - 企业风险管理v3(app)
  29368. /Ermcp3/QueryParamChangeApp:
  29369. get:
  29370. description: |-
  29371. 原型页面:
  29372. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29373. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29374. parameters:
  29375. - description: 用户ID
  29376. in: query
  29377. name: userid
  29378. required: true
  29379. type: integer
  29380. - description: 现货品种id
  29381. in: query
  29382. name: deliverygoodsid
  29383. type: integer
  29384. - description: 现货商品id
  29385. in: query
  29386. name: wrstandardid
  29387. type: integer
  29388. - description: 套保商品id
  29389. in: query
  29390. name: middlegoodsid
  29391. type: integer
  29392. - description: 操作类型 1:新增 2:修改
  29393. in: query
  29394. name: operatetype
  29395. type: integer
  29396. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29397. in: query
  29398. name: paramchangetype
  29399. type: integer
  29400. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29401. in: query
  29402. name: ftstatus
  29403. type: string
  29404. produces:
  29405. - application/json
  29406. responses:
  29407. "200":
  29408. description: OK
  29409. schema:
  29410. items:
  29411. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29412. type: array
  29413. "500":
  29414. description: Internal Server Error
  29415. schema:
  29416. $ref: '#/definitions/app.Response'
  29417. security:
  29418. - ApiKeyAuth: []
  29419. summary: 查询现货商品参数变更申请(流水)
  29420. tags:
  29421. - 企业风险管理v3(app)
  29422. /Ermcp3/QueryRootUserAccount:
  29423. get:
  29424. parameters:
  29425. - description: 用户ID
  29426. in: query
  29427. name: userid
  29428. required: true
  29429. type: integer
  29430. produces:
  29431. - application/json
  29432. responses:
  29433. "200":
  29434. description: OK
  29435. schema:
  29436. items:
  29437. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29438. type: array
  29439. "500":
  29440. description: Internal Server Error
  29441. schema:
  29442. $ref: '#/definitions/app.Response'
  29443. security:
  29444. - ApiKeyAuth: []
  29445. summary: 查询顶级用户信息
  29446. tags:
  29447. - 企业风险管理v3(app)
  29448. /Ermcp3/QuerySCMiddleGoods:
  29449. get:
  29450. description: |-
  29451. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29452. 现货编号 即 合同编号
  29453. parameters:
  29454. - description: 用户ID(填登录用户的userid)
  29455. in: query
  29456. name: userid
  29457. required: true
  29458. type: integer
  29459. - description: 买卖方向 0-买 1-卖
  29460. in: query
  29461. name: buyorsell
  29462. required: true
  29463. type: integer
  29464. - description: 商品组id
  29465. in: query
  29466. name: goodsgroupid
  29467. required: true
  29468. type: integer
  29469. - description: 业务类型 1:套保 2:套利
  29470. in: query
  29471. name: biztype
  29472. type: integer
  29473. - description: 现货编号(模糊匹配)
  29474. in: query
  29475. name: contractno
  29476. type: string
  29477. - description: 对手方(模糊匹配)
  29478. in: query
  29479. name: customername
  29480. type: string
  29481. - description: 现货商品名称(模糊匹配)
  29482. in: query
  29483. name: wrstandardname
  29484. type: string
  29485. produces:
  29486. - application/json
  29487. responses:
  29488. "200":
  29489. description: OK
  29490. schema:
  29491. items:
  29492. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29493. type: array
  29494. "500":
  29495. description: Internal Server Error
  29496. schema:
  29497. $ref: '#/definitions/app.Response'
  29498. security:
  29499. - ApiKeyAuth: []
  29500. summary: 查询现货订单
  29501. tags:
  29502. - 企业风险管理v3(app)
  29503. /Ermcp3/QuerySpotContract:
  29504. get:
  29505. parameters:
  29506. - description: 用户id(当指定contractid, userid可不填)
  29507. in: query
  29508. name: userid
  29509. required: true
  29510. type: integer
  29511. - description: 用户类型 2-机构 7-企业成员
  29512. in: query
  29513. name: usertype
  29514. type: integer
  29515. - description: 合同类型 1-采购, -1-销售
  29516. in: query
  29517. name: contracttype
  29518. type: integer
  29519. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29520. in: query
  29521. name: querytype
  29522. type: string
  29523. - description: 合同ID(SpotContractId)
  29524. in: query
  29525. name: contractid
  29526. type: string
  29527. - description: 合同编号(模糊匹配)
  29528. in: query
  29529. name: contractno
  29530. type: string
  29531. - description: 商品名称(模糊匹配)
  29532. in: query
  29533. name: wrstandardname
  29534. type: string
  29535. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29536. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29537. in: query
  29538. name: status
  29539. type: string
  29540. - description: 是否只查今日的合同 1-查今日合同
  29541. in: query
  29542. name: istoday
  29543. type: integer
  29544. produces:
  29545. - application/json
  29546. responses:
  29547. "200":
  29548. description: OK
  29549. schema:
  29550. items:
  29551. $ref: '#/definitions/models.Ermcp3Contract'
  29552. type: array
  29553. "500":
  29554. description: Internal Server Error
  29555. schema:
  29556. $ref: '#/definitions/app.Response'
  29557. security:
  29558. - ApiKeyAuth: []
  29559. summary: 查询现货合同
  29560. tags:
  29561. - 企业风险管理v3(app)
  29562. /Ermcp3/QuerySpotContractBS:
  29563. get:
  29564. parameters:
  29565. - description: 用户id
  29566. in: query
  29567. name: userid
  29568. required: true
  29569. type: integer
  29570. - description: 用户类型 2-机构 7-企业成员
  29571. in: query
  29572. name: usertype
  29573. type: integer
  29574. - description: 合同类型 1-采购, -1-销售
  29575. in: query
  29576. name: contracttype
  29577. required: true
  29578. type: integer
  29579. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29580. in: query
  29581. name: querytype
  29582. type: integer
  29583. - description: 合同ID(SpotContractId)
  29584. in: query
  29585. name: contractid
  29586. type: string
  29587. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29588. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29589. in: query
  29590. name: status
  29591. type: string
  29592. - description: 是否只查今日的合同 1-查今日合同
  29593. in: query
  29594. name: istoday
  29595. type: integer
  29596. produces:
  29597. - application/json
  29598. responses:
  29599. "200":
  29600. description: OK
  29601. schema:
  29602. items:
  29603. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29604. type: array
  29605. "500":
  29606. description: Internal Server Error
  29607. schema:
  29608. $ref: '#/definitions/app.Response'
  29609. security:
  29610. - ApiKeyAuth: []
  29611. summary: 查询合同(采购/销售)
  29612. tags:
  29613. - 企业风险管理v3(app)
  29614. /Ermcp3/QuerySpotGoodsPrice:
  29615. get:
  29616. parameters:
  29617. - description: 用户ID
  29618. in: query
  29619. name: userid
  29620. required: true
  29621. type: integer
  29622. produces:
  29623. - application/json
  29624. responses:
  29625. "200":
  29626. description: OK
  29627. schema:
  29628. items:
  29629. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29630. type: array
  29631. "500":
  29632. description: Internal Server Error
  29633. schema:
  29634. $ref: '#/definitions/app.Response'
  29635. security:
  29636. - ApiKeyAuth: []
  29637. summary: 查询现货市价(现货市价)
  29638. tags:
  29639. - 企业风险管理v3(app)
  29640. /Ermcp3/QuerySpotGoodsPriceLog:
  29641. get:
  29642. parameters:
  29643. - description: 用户ID
  29644. in: query
  29645. name: userid
  29646. required: true
  29647. type: integer
  29648. - description: 现货商品ID
  29649. in: query
  29650. name: deliverygoodsid
  29651. required: true
  29652. type: integer
  29653. - description: 品牌ID
  29654. in: query
  29655. name: brandid
  29656. type: integer
  29657. - description: 品类ID
  29658. in: query
  29659. name: wrstandardid
  29660. type: integer
  29661. produces:
  29662. - application/json
  29663. responses:
  29664. "200":
  29665. description: OK
  29666. schema:
  29667. items:
  29668. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29669. type: array
  29670. "500":
  29671. description: Internal Server Error
  29672. schema:
  29673. $ref: '#/definitions/app.Response'
  29674. security:
  29675. - ApiKeyAuth: []
  29676. summary: 查询现货市价详情(现货市价/详情)
  29677. tags:
  29678. - 企业风险管理v3(app)
  29679. /Ermcp3/QuerySubTaaccount:
  29680. get:
  29681. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29682. parameters:
  29683. - description: 母账号id
  29684. in: query
  29685. name: parentaccountid
  29686. type: integer
  29687. - description: 母账号代码
  29688. in: query
  29689. name: parentaccountcode
  29690. type: string
  29691. produces:
  29692. - application/json
  29693. responses:
  29694. "200":
  29695. description: OK
  29696. schema:
  29697. items:
  29698. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29699. type: array
  29700. "500":
  29701. description: Internal Server Error
  29702. schema:
  29703. $ref: '#/definitions/app.Response'
  29704. security:
  29705. - ApiKeyAuth: []
  29706. summary: 查询期货子账户
  29707. tags:
  29708. - 企业风险管理v3(app)
  29709. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29710. get:
  29711. parameters:
  29712. - description: 套期项目ID
  29713. in: query
  29714. name: hedgeditemid
  29715. required: true
  29716. type: integer
  29717. produces:
  29718. - application/json
  29719. responses:
  29720. "200":
  29721. description: OK
  29722. schema:
  29723. items:
  29724. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29725. type: array
  29726. "500":
  29727. description: Internal Server Error
  29728. schema:
  29729. $ref: '#/definitions/app.Response'
  29730. security:
  29731. - ApiKeyAuth: []
  29732. summary: 现货成交明细查询
  29733. tags:
  29734. - 企业风险管理v8
  29735. /Ermcp8/QueryERMCP2HedgedItemspot:
  29736. get:
  29737. parameters:
  29738. - description: 套期项目ID
  29739. in: query
  29740. name: hedgeditemid
  29741. required: true
  29742. type: integer
  29743. produces:
  29744. - application/json
  29745. responses:
  29746. "200":
  29747. description: OK
  29748. schema:
  29749. items:
  29750. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29751. type: array
  29752. "500":
  29753. description: Internal Server Error
  29754. schema:
  29755. $ref: '#/definitions/app.Response'
  29756. security:
  29757. - ApiKeyAuth: []
  29758. summary: 套期计划明细查询
  29759. tags:
  29760. - 企业风险管理v8
  29761. /Ermcp8/QueryERMCPJRLinkPos:
  29762. get:
  29763. parameters:
  29764. - description: 套期项目ID
  29765. in: query
  29766. name: hedgeditemid
  29767. required: true
  29768. type: integer
  29769. produces:
  29770. - application/json
  29771. responses:
  29772. "200":
  29773. description: OK
  29774. schema:
  29775. items:
  29776. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29777. type: array
  29778. "500":
  29779. description: Internal Server Error
  29780. schema:
  29781. $ref: '#/definitions/app.Response'
  29782. security:
  29783. - ApiKeyAuth: []
  29784. summary: 期货持仓明细查询
  29785. tags:
  29786. - 企业风险管理v8
  29787. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29788. get:
  29789. parameters:
  29790. - description: 套期项目ID
  29791. in: query
  29792. name: hedgeditemid
  29793. required: true
  29794. type: integer
  29795. produces:
  29796. - application/json
  29797. responses:
  29798. "200":
  29799. description: OK
  29800. schema:
  29801. items:
  29802. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29803. type: array
  29804. "500":
  29805. description: Internal Server Error
  29806. schema:
  29807. $ref: '#/definitions/app.Response'
  29808. security:
  29809. - ApiKeyAuth: []
  29810. summary: 期货成交单明细查询
  29811. tags:
  29812. - 企业风险管理v8
  29813. /Ermcp8/QueryErmcp2AreaExposure:
  29814. get:
  29815. parameters:
  29816. - description: 用户ID
  29817. in: query
  29818. name: userid
  29819. required: true
  29820. type: string
  29821. produces:
  29822. - application/json
  29823. responses:
  29824. "200":
  29825. description: OK
  29826. schema:
  29827. items:
  29828. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29829. type: array
  29830. "500":
  29831. description: Internal Server Error
  29832. schema:
  29833. $ref: '#/definitions/app.Response'
  29834. security:
  29835. - ApiKeyAuth: []
  29836. summary: 企业敞口查询
  29837. tags:
  29838. - 企业风险管理v8
  29839. /Ermcp8/QueryErmcp2HedgedItem:
  29840. get:
  29841. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29842. parameters:
  29843. - description: 用户ID
  29844. in: query
  29845. name: userid
  29846. required: true
  29847. type: string
  29848. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29849. in: query
  29850. name: hedgedtype
  29851. type: integer
  29852. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29853. in: query
  29854. name: hedgeditemstatus
  29855. type: integer
  29856. produces:
  29857. - application/json
  29858. responses:
  29859. "200":
  29860. description: OK
  29861. schema:
  29862. items:
  29863. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29864. type: array
  29865. "500":
  29866. description: Internal Server Error
  29867. schema:
  29868. $ref: '#/definitions/app.Response'
  29869. security:
  29870. - ApiKeyAuth: []
  29871. summary: 查询被套期项目信息
  29872. tags:
  29873. - 企业风险管理v8
  29874. /Ermcp8/QueryErmcp2HedgedItemLink:
  29875. get:
  29876. parameters:
  29877. - description: 现货合同ID
  29878. in: query
  29879. name: spotcontractid
  29880. required: true
  29881. type: integer
  29882. produces:
  29883. - application/json
  29884. responses:
  29885. "200":
  29886. description: OK
  29887. schema:
  29888. items:
  29889. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29890. type: array
  29891. "500":
  29892. description: Internal Server Error
  29893. schema:
  29894. $ref: '#/definitions/app.Response'
  29895. security:
  29896. - ApiKeyAuth: []
  29897. summary: 现货合同关联被套期项目查询
  29898. tags:
  29899. - 企业风险管理v8
  29900. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29901. get:
  29902. parameters:
  29903. - description: 用户ID
  29904. in: query
  29905. name: userid
  29906. required: true
  29907. type: integer
  29908. - description: 套保品种ID
  29909. in: query
  29910. name: middlegoodsid
  29911. required: true
  29912. type: integer
  29913. produces:
  29914. - application/json
  29915. responses:
  29916. "200":
  29917. description: OK
  29918. schema:
  29919. items:
  29920. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29921. type: array
  29922. "500":
  29923. description: Internal Server Error
  29924. schema:
  29925. $ref: '#/definitions/app.Response'
  29926. security:
  29927. - ApiKeyAuth: []
  29928. summary: 敞口明细 - 计划变动明细
  29929. tags:
  29930. - 企业风险管理v8
  29931. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29932. get:
  29933. parameters:
  29934. - description: 用户ID
  29935. in: query
  29936. name: userid
  29937. required: true
  29938. type: integer
  29939. - description: 套保品种ID
  29940. in: query
  29941. name: middlegoodsid
  29942. required: true
  29943. type: integer
  29944. produces:
  29945. - application/json
  29946. responses:
  29947. "200":
  29948. description: OK
  29949. schema:
  29950. items:
  29951. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29952. type: array
  29953. "500":
  29954. description: Internal Server Error
  29955. schema:
  29956. $ref: '#/definitions/app.Response'
  29957. security:
  29958. - ApiKeyAuth: []
  29959. summary: 敞口明细 - 现货变动明细查询
  29960. tags:
  29961. - 企业风险管理v8
  29962. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29963. get:
  29964. parameters:
  29965. - description: 用户ID
  29966. in: query
  29967. name: userid
  29968. required: true
  29969. type: integer
  29970. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29971. in: query
  29972. name: spottype
  29973. required: true
  29974. type: integer
  29975. - description: 现货商品ID
  29976. in: query
  29977. name: wrstandardid
  29978. type: integer
  29979. produces:
  29980. - application/json
  29981. responses:
  29982. "200":
  29983. description: OK
  29984. schema:
  29985. items:
  29986. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29987. type: array
  29988. "500":
  29989. description: Internal Server Error
  29990. schema:
  29991. $ref: '#/definitions/app.Response'
  29992. security:
  29993. - ApiKeyAuth: []
  29994. summary: 可关联项目查询
  29995. tags:
  29996. - 企业风险管理v8
  29997. /Ermcp8/QueryErmcp8HedgeditemReport:
  29998. get:
  29999. parameters:
  30000. - description: 用户ID
  30001. in: query
  30002. name: userid
  30003. required: true
  30004. type: integer
  30005. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  30006. in: query
  30007. name: cycletype
  30008. type: integer
  30009. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  30010. 全(0)【原值】
  30011. in: query
  30012. name: cycletime
  30013. required: true
  30014. type: string
  30015. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  30016. in: query
  30017. name: hedgedtype
  30018. type: integer
  30019. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  30020. in: query
  30021. name: hedgeditemstatus
  30022. type: integer
  30023. - description: 项目编号,模糊查询
  30024. in: query
  30025. name: hedgeditemnum
  30026. type: string
  30027. - description: 现货商品ID
  30028. in: query
  30029. name: wrstandardid
  30030. type: integer
  30031. produces:
  30032. - application/json
  30033. responses:
  30034. "200":
  30035. description: OK
  30036. schema:
  30037. items:
  30038. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  30039. type: array
  30040. "500":
  30041. description: Internal Server Error
  30042. schema:
  30043. $ref: '#/definitions/app.Response'
  30044. security:
  30045. - ApiKeyAuth: []
  30046. summary: 套期项目报表查询
  30047. tags:
  30048. - 企业风险管理v8
  30049. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30050. get:
  30051. parameters:
  30052. - description: 用户ID
  30053. in: query
  30054. name: userid
  30055. required: true
  30056. type: string
  30057. produces:
  30058. - application/json
  30059. responses:
  30060. "200":
  30061. description: OK
  30062. schema:
  30063. items:
  30064. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30065. type: array
  30066. "500":
  30067. description: Internal Server Error
  30068. schema:
  30069. $ref: '#/definitions/app.Response'
  30070. security:
  30071. - ApiKeyAuth: []
  30072. summary: 查询执行中项目查询信息
  30073. tags:
  30074. - 企业风险管理v8
  30075. /Ermcp8/QueryInternalEnableTradeDetail:
  30076. get:
  30077. parameters:
  30078. - description: 企业ID
  30079. in: query
  30080. name: areauserid
  30081. required: true
  30082. type: integer
  30083. - description: 期货合约ID
  30084. in: query
  30085. name: goodsid
  30086. required: true
  30087. type: integer
  30088. - description: 交易用户ID
  30089. in: query
  30090. name: tradeuserid
  30091. required: true
  30092. type: integer
  30093. produces:
  30094. - application/json
  30095. responses:
  30096. "200":
  30097. description: OK
  30098. schema:
  30099. items:
  30100. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30101. type: array
  30102. "500":
  30103. description: Internal Server Error
  30104. schema:
  30105. $ref: '#/definitions/app.Response'
  30106. security:
  30107. - ApiKeyAuth: []
  30108. summary: 内部成交单可关联项目查询
  30109. tags:
  30110. - 企业风险管理v8
  30111. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30112. get:
  30113. parameters:
  30114. - description: 用户编号
  30115. in: query
  30116. name: userid
  30117. required: true
  30118. type: integer
  30119. - description: 起始日期(格式yyyymmdd)
  30120. in: query
  30121. name: begindate
  30122. type: string
  30123. - description: 终止日期(格式yyyymmdd)
  30124. in: query
  30125. name: enddate
  30126. type: string
  30127. - description: 合约代码
  30128. in: query
  30129. name: goodscode
  30130. type: string
  30131. - description: 合约名称
  30132. in: query
  30133. name: goodsname
  30134. type: string
  30135. - description: 成交单号
  30136. in: query
  30137. name: tradeid
  30138. type: integer
  30139. - description: 方向 - 0:买 1:卖
  30140. in: query
  30141. name: buyorsell
  30142. type: integer
  30143. - description: 套期主体
  30144. in: query
  30145. name: accountname
  30146. type: string
  30147. produces:
  30148. - application/json
  30149. responses:
  30150. "200":
  30151. description: OK
  30152. schema:
  30153. items:
  30154. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30155. type: array
  30156. "500":
  30157. description: Internal Server Error
  30158. schema:
  30159. $ref: '#/definitions/app.Response'
  30160. security:
  30161. - ApiKeyAuth: []
  30162. summary: 内部未关联成交单查询
  30163. tags:
  30164. - 企业风险管理v8
  30165. /Ermcp8/QueryMarketCalendar:
  30166. get:
  30167. parameters:
  30168. - description: 市场ID
  30169. in: query
  30170. name: marketid
  30171. type: integer
  30172. produces:
  30173. - application/json
  30174. responses:
  30175. "200":
  30176. description: OK
  30177. schema:
  30178. items:
  30179. $ref: '#/definitions/models.Marketcalendar'
  30180. type: array
  30181. "500":
  30182. description: Internal Server Error
  30183. schema:
  30184. $ref: '#/definitions/app.Response'
  30185. security:
  30186. - ApiKeyAuth: []
  30187. summary: 市场节假日查询
  30188. tags:
  30189. - 企业风险管理v8
  30190. /Ermcp8/QueryPatradeLinkDetail:
  30191. get:
  30192. parameters:
  30193. - description: 用户ID
  30194. in: query
  30195. name: userid
  30196. required: true
  30197. type: integer
  30198. - description: 套保品种ID
  30199. in: query
  30200. name: middlegoodsid
  30201. required: true
  30202. type: integer
  30203. produces:
  30204. - application/json
  30205. responses:
  30206. "200":
  30207. description: OK
  30208. schema:
  30209. items:
  30210. $ref: '#/definitions/models.Patradelinkdetail'
  30211. type: array
  30212. "500":
  30213. description: Internal Server Error
  30214. schema:
  30215. $ref: '#/definitions/app.Response'
  30216. security:
  30217. - ApiKeyAuth: []
  30218. summary: 敞口明细 - 期货变动明细
  30219. tags:
  30220. - 企业风险管理v8
  30221. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30222. get:
  30223. parameters:
  30224. - description: 企业ID
  30225. in: query
  30226. name: areauserid
  30227. required: true
  30228. type: integer
  30229. - description: 计划类型 - 1:采购 -1:销售
  30230. in: query
  30231. name: contracttype
  30232. type: integer
  30233. - description: 计划编号,模糊查询
  30234. in: query
  30235. name: hedgeplanno
  30236. type: string
  30237. - description: 现货商品,模糊查询
  30238. in: query
  30239. name: wrstandardname
  30240. type: string
  30241. produces:
  30242. - application/json
  30243. responses:
  30244. "200":
  30245. description: OK
  30246. schema:
  30247. items:
  30248. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30249. type: array
  30250. "500":
  30251. description: Internal Server Error
  30252. schema:
  30253. $ref: '#/definitions/app.Response'
  30254. security:
  30255. - ApiKeyAuth: []
  30256. summary: 未关联购销计划
  30257. tags:
  30258. - 企业风险管理v8
  30259. /Ermcp8/QueryUnLinkSpotContract:
  30260. get:
  30261. parameters:
  30262. - description: 用户ID
  30263. in: query
  30264. name: userid
  30265. required: true
  30266. type: integer
  30267. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30268. in: query
  30269. name: pricetype
  30270. type: integer
  30271. - description: 合同编号, 模拟查询
  30272. in: query
  30273. name: contractno
  30274. type: string
  30275. - description: 对手方, 模拟查询
  30276. in: query
  30277. name: customername
  30278. type: string
  30279. - description: 项合同类型 - 1:采购 -1:销售
  30280. in: query
  30281. name: contracttype
  30282. type: integer
  30283. produces:
  30284. - application/json
  30285. responses:
  30286. "200":
  30287. description: OK
  30288. schema:
  30289. items:
  30290. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30291. type: array
  30292. "500":
  30293. description: Internal Server Error
  30294. schema:
  30295. $ref: '#/definitions/app.Response'
  30296. security:
  30297. - ApiKeyAuth: []
  30298. summary: 未关联合同查询
  30299. tags:
  30300. - 企业风险管理v8
  30301. /Erms2/QueryArbitrageStrategy:
  30302. get:
  30303. parameters:
  30304. - description: 账户ID
  30305. in: query
  30306. name: userid
  30307. required: true
  30308. type: integer
  30309. - description: 商品组ID(品种ID)
  30310. in: query
  30311. name: goodsgroupid
  30312. type: string
  30313. produces:
  30314. - application/json
  30315. responses:
  30316. "200":
  30317. description: OK
  30318. schema:
  30319. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30320. "500":
  30321. description: Internal Server Error
  30322. schema:
  30323. $ref: '#/definitions/app.Response'
  30324. security:
  30325. - ApiKeyAuth: []
  30326. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30327. tags:
  30328. - 风险管理
  30329. /Erms2/QueryInnerTradeDetail:
  30330. get:
  30331. parameters:
  30332. - description: 资金账户
  30333. in: query
  30334. name: accountid
  30335. required: true
  30336. type: integer
  30337. produces:
  30338. - application/json
  30339. responses:
  30340. "200":
  30341. description: OK
  30342. schema:
  30343. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30344. "500":
  30345. description: Internal Server Error
  30346. schema:
  30347. $ref: '#/definitions/app.Response'
  30348. security:
  30349. - ApiKeyAuth: []
  30350. summary: 查询内部成交单信息
  30351. tags:
  30352. - 风险管理
  30353. /Erms2/QuerySpotContract:
  30354. get:
  30355. parameters:
  30356. - description: 策略申请ID
  30357. in: query
  30358. name: asapplyid
  30359. required: true
  30360. type: integer
  30361. - description: 现货合同ID
  30362. in: query
  30363. name: spotcontractid
  30364. type: integer
  30365. produces:
  30366. - application/json
  30367. responses:
  30368. "200":
  30369. description: OK
  30370. schema:
  30371. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30372. "500":
  30373. description: Internal Server Error
  30374. schema:
  30375. $ref: '#/definitions/app.Response'
  30376. security:
  30377. - ApiKeyAuth: []
  30378. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30379. tags:
  30380. - 风险管理
  30381. /Erms3/AddErms2ASApply:
  30382. post:
  30383. parameters:
  30384. - description: 申请参数
  30385. in: body
  30386. name: jsonBody
  30387. required: true
  30388. schema:
  30389. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30390. produces:
  30391. - application/json
  30392. responses:
  30393. "200":
  30394. description: OK
  30395. schema:
  30396. $ref: '#/definitions/app.Response'
  30397. "500":
  30398. description: Internal Server Error
  30399. schema:
  30400. $ref: '#/definitions/app.Response'
  30401. security:
  30402. - ApiKeyAuth: []
  30403. summary: 新增期现套利业务申请
  30404. tags:
  30405. - 风险管理v3
  30406. /Erms3/AddErms2SpotTradeApply:
  30407. post:
  30408. parameters:
  30409. - description: 申请参数
  30410. in: body
  30411. name: jsonBody
  30412. required: true
  30413. schema:
  30414. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30415. produces:
  30416. - application/json
  30417. responses:
  30418. "200":
  30419. description: OK
  30420. schema:
  30421. $ref: '#/definitions/app.Response'
  30422. "500":
  30423. description: Internal Server Error
  30424. schema:
  30425. $ref: '#/definitions/app.Response'
  30426. security:
  30427. - ApiKeyAuth: []
  30428. summary: 新增现货贸易业务申请
  30429. tags:
  30430. - 风险管理v3
  30431. /Erms3/AddSpotContractApply:
  30432. post:
  30433. parameters:
  30434. - description: 申请参数
  30435. in: body
  30436. name: jsonBody
  30437. required: true
  30438. schema:
  30439. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30440. produces:
  30441. - application/json
  30442. responses:
  30443. "200":
  30444. description: OK
  30445. schema:
  30446. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30447. "500":
  30448. description: Internal Server Error
  30449. schema:
  30450. $ref: '#/definitions/app.Response'
  30451. security:
  30452. - ApiKeyAuth: []
  30453. summary: 新增现货合同申请
  30454. tags:
  30455. - 风险管理v3
  30456. /Erms3/AddUserInfoApply:
  30457. post:
  30458. parameters:
  30459. - description: 用户信息
  30460. in: body
  30461. name: jsonBody
  30462. required: true
  30463. schema:
  30464. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30465. produces:
  30466. - application/json
  30467. responses:
  30468. "200":
  30469. description: OK
  30470. schema:
  30471. $ref: '#/definitions/app.Response'
  30472. "500":
  30473. description: Internal Server Error
  30474. schema:
  30475. $ref: '#/definitions/app.Response'
  30476. security:
  30477. - ApiKeyAuth: []
  30478. summary: 新增客户申请
  30479. tags:
  30480. - 风险管理v3
  30481. /Erms3/DeleteUserInfoApply:
  30482. get:
  30483. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30484. parameters:
  30485. - description: 用户ID
  30486. in: query
  30487. name: userID
  30488. required: true
  30489. type: integer
  30490. produces:
  30491. - application/json
  30492. responses:
  30493. "200":
  30494. description: OK
  30495. schema:
  30496. $ref: '#/definitions/app.Response'
  30497. "500":
  30498. description: Internal Server Error
  30499. schema:
  30500. $ref: '#/definitions/app.Response'
  30501. security:
  30502. - ApiKeyAuth: []
  30503. summary: 删除客户申请
  30504. tags:
  30505. - 风险管理v3
  30506. /Erms3/ModifyUserInfoApply:
  30507. post:
  30508. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30509. int, "userstate": 2 }'
  30510. parameters:
  30511. - description: 用户信息
  30512. in: body
  30513. name: jsonBody
  30514. required: true
  30515. schema:
  30516. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30517. produces:
  30518. - application/json
  30519. responses:
  30520. "200":
  30521. description: OK
  30522. schema:
  30523. $ref: '#/definitions/app.Response'
  30524. "500":
  30525. description: Internal Server Error
  30526. schema:
  30527. $ref: '#/definitions/app.Response'
  30528. security:
  30529. - ApiKeyAuth: []
  30530. summary: 修改客户申请
  30531. tags:
  30532. - 风险管理v3
  30533. /Erms3/QueryBusinessInfo:
  30534. get:
  30535. parameters:
  30536. - description: 资金账号ID列表,用逗号分隔
  30537. in: query
  30538. name: accountids
  30539. required: true
  30540. type: string
  30541. - description: 状态,0为未结束 1为已结束
  30542. in: query
  30543. name: status
  30544. required: true
  30545. type: integer
  30546. produces:
  30547. - application/json
  30548. responses:
  30549. "200":
  30550. description: OK
  30551. schema:
  30552. items:
  30553. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30554. type: array
  30555. "500":
  30556. description: Internal Server Error
  30557. schema:
  30558. $ref: '#/definitions/app.Response'
  30559. security:
  30560. - ApiKeyAuth: []
  30561. summary: 查询业务表单数据
  30562. tags:
  30563. - 风险管理v3
  30564. /Erms3/QueryPendingAuditContract:
  30565. get:
  30566. parameters:
  30567. - description: 资金账号ID列表,逗号隔开
  30568. in: query
  30569. name: accountids
  30570. required: true
  30571. type: string
  30572. - description: 合同类型 1-采购 -1-销售
  30573. in: query
  30574. name: contracttype
  30575. required: true
  30576. type: integer
  30577. - description: 合同模式 1-普通 2-回购
  30578. in: query
  30579. name: contractmode
  30580. required: true
  30581. type: integer
  30582. produces:
  30583. - application/json
  30584. responses:
  30585. "200":
  30586. description: OK
  30587. schema:
  30588. items:
  30589. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30590. type: array
  30591. "500":
  30592. description: Internal Server Error
  30593. schema:
  30594. $ref: '#/definitions/app.Response'
  30595. security:
  30596. - ApiKeyAuth: []
  30597. summary: 查询待审核合同
  30598. tags:
  30599. - 风险管理v3
  30600. /Erms3/QueryPendingBusiness:
  30601. get:
  30602. parameters:
  30603. - description: 资金账号ID列表,逗号隔开
  30604. in: query
  30605. name: accountids
  30606. required: true
  30607. type: string
  30608. produces:
  30609. - application/json
  30610. responses:
  30611. "200":
  30612. description: OK
  30613. schema:
  30614. items:
  30615. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30616. type: array
  30617. "500":
  30618. description: Internal Server Error
  30619. schema:
  30620. $ref: '#/definitions/app.Response'
  30621. security:
  30622. - ApiKeyAuth: []
  30623. summary: 查询待审核基差贸易业务
  30624. tags:
  30625. - 风险管理v3
  30626. /Erms3/QuerySpotContractAppleForm:
  30627. get:
  30628. parameters:
  30629. - description: 登录账号
  30630. in: query
  30631. name: loginID
  30632. required: true
  30633. type: integer
  30634. produces:
  30635. - application/json
  30636. responses:
  30637. "200":
  30638. description: OK
  30639. schema:
  30640. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30641. "500":
  30642. description: Internal Server Error
  30643. schema:
  30644. $ref: '#/definitions/app.Response'
  30645. security:
  30646. - ApiKeyAuth: []
  30647. summary: 查询合同申请表单数据
  30648. tags:
  30649. - 风险管理v3
  30650. /Erms3/QuerySpotContractDetail:
  30651. get:
  30652. parameters:
  30653. - description: 资金账号ID列表,用逗号分隔
  30654. in: query
  30655. name: accountids
  30656. required: true
  30657. type: string
  30658. - description: 合同类型,1为采购合同 -1为销售合同
  30659. in: query
  30660. name: contracttype
  30661. required: true
  30662. type: integer
  30663. - description: 合同模式,1为普通合同 2为回购销售合同
  30664. in: query
  30665. name: contractmode
  30666. required: true
  30667. type: integer
  30668. - description: 状态,0为履约中 1为已完成
  30669. in: query
  30670. name: status
  30671. required: true
  30672. type: integer
  30673. produces:
  30674. - application/json
  30675. responses:
  30676. "200":
  30677. description: OK
  30678. schema:
  30679. items:
  30680. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30681. type: array
  30682. "500":
  30683. description: Internal Server Error
  30684. schema:
  30685. $ref: '#/definitions/app.Response'
  30686. security:
  30687. - ApiKeyAuth: []
  30688. summary: 查询合同详细信息
  30689. tags:
  30690. - 风险管理v3
  30691. /Erms3/QueryUserInfoApplies:
  30692. get:
  30693. parameters:
  30694. - description: 页码
  30695. in: query
  30696. name: page
  30697. type: integer
  30698. - description: 每页条数
  30699. in: query
  30700. name: pagesize
  30701. type: integer
  30702. - description: 客户名称,支持模糊查询
  30703. in: query
  30704. name: userName
  30705. type: string
  30706. produces:
  30707. - application/json
  30708. responses:
  30709. "200":
  30710. description: OK
  30711. schema:
  30712. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30713. "500":
  30714. description: Internal Server Error
  30715. schema:
  30716. $ref: '#/definitions/app.Response'
  30717. security:
  30718. - ApiKeyAuth: []
  30719. summary: 客户申请信息查询
  30720. tags:
  30721. - 风险管理v3
  30722. /Erms3/QueryUserInfos:
  30723. get:
  30724. parameters:
  30725. - description: 页码
  30726. in: query
  30727. name: page
  30728. type: integer
  30729. - description: 每页条数
  30730. in: query
  30731. name: pagesize
  30732. type: integer
  30733. - description: 客户名称,支持模糊查询
  30734. in: query
  30735. name: userName
  30736. type: string
  30737. produces:
  30738. - application/json
  30739. responses:
  30740. "200":
  30741. description: OK
  30742. schema:
  30743. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30744. "500":
  30745. description: Internal Server Error
  30746. schema:
  30747. $ref: '#/definitions/app.Response'
  30748. security:
  30749. - ApiKeyAuth: []
  30750. summary: 客户信息查询
  30751. tags:
  30752. - 风险管理v3
  30753. /Ferroalloy/GetSpotGoodsPrice:
  30754. get:
  30755. parameters:
  30756. - description: 页码
  30757. in: query
  30758. name: page
  30759. type: integer
  30760. - description: 每页条数
  30761. in: query
  30762. name: pagesize
  30763. type: integer
  30764. produces:
  30765. - application/json
  30766. responses:
  30767. "200":
  30768. description: OK
  30769. schema:
  30770. items:
  30771. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30772. type: array
  30773. "500":
  30774. description: Internal Server Error
  30775. schema:
  30776. $ref: '#/definitions/app.Response'
  30777. security:
  30778. - ApiKeyAuth: []
  30779. summary: 获取现货行情
  30780. tags:
  30781. - 铁合金
  30782. /Ferroalloy/QueryMyRefer:
  30783. get:
  30784. parameters:
  30785. - description: 用户ID
  30786. in: query
  30787. name: userid
  30788. required: true
  30789. type: integer
  30790. - description: 页码
  30791. in: query
  30792. name: page
  30793. type: integer
  30794. - description: 每页条数
  30795. in: query
  30796. name: pagesize
  30797. type: integer
  30798. produces:
  30799. - application/json
  30800. responses:
  30801. "200":
  30802. description: OK
  30803. schema:
  30804. items:
  30805. $ref: '#/definitions/models.MyRefer'
  30806. type: array
  30807. "500":
  30808. description: Internal Server Error
  30809. schema:
  30810. $ref: '#/definitions/app.Response'
  30811. security:
  30812. - ApiKeyAuth: []
  30813. summary: 查询我的推荐列表
  30814. tags:
  30815. - 铁合金
  30816. /Ferroalloy/QueryMyRegisterMoney:
  30817. get:
  30818. parameters:
  30819. - description: 资金账户
  30820. in: query
  30821. name: accountid
  30822. required: true
  30823. type: integer
  30824. produces:
  30825. - application/json
  30826. responses:
  30827. "200":
  30828. description: OK
  30829. schema:
  30830. items:
  30831. $ref: '#/definitions/models.RegisterMoney'
  30832. type: array
  30833. "500":
  30834. description: Internal Server Error
  30835. schema:
  30836. $ref: '#/definitions/app.Response'
  30837. summary: 查询我的注册红包
  30838. tags:
  30839. - 铁合金
  30840. /Ferroalloy/QuerySpotgoodsPrice:
  30841. get:
  30842. parameters:
  30843. - description: 页码
  30844. in: query
  30845. name: page
  30846. type: integer
  30847. - description: 每页条数
  30848. in: query
  30849. name: pagesize
  30850. type: integer
  30851. produces:
  30852. - application/json
  30853. responses:
  30854. "200":
  30855. description: OK
  30856. schema:
  30857. items:
  30858. $ref: '#/definitions/models.Spotgoodsprice'
  30859. type: array
  30860. "500":
  30861. description: Internal Server Error
  30862. schema:
  30863. $ref: '#/definitions/app.Response'
  30864. security:
  30865. - ApiKeyAuth: []
  30866. summary: 查询行情-现货列表
  30867. tags:
  30868. - 铁合金
  30869. /Ferroalloy/QueryTHJGoodsDetail:
  30870. get:
  30871. parameters:
  30872. - description: 现货商品ID
  30873. in: query
  30874. name: wrstandardid
  30875. required: true
  30876. type: integer
  30877. produces:
  30878. - application/json
  30879. responses:
  30880. "200":
  30881. description: OK
  30882. schema:
  30883. items:
  30884. $ref: '#/definitions/models.THJGoodsDetailRsp'
  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/QueryTHJListing:
  30896. get:
  30897. parameters:
  30898. - description: 现货商品名称(模糊查询)
  30899. in: query
  30900. name: wrstandardname
  30901. type: string
  30902. - description: 页码
  30903. in: query
  30904. name: page
  30905. type: integer
  30906. - description: 每页条数
  30907. in: query
  30908. name: pagesize
  30909. type: integer
  30910. produces:
  30911. - application/json
  30912. responses:
  30913. "200":
  30914. description: OK
  30915. schema:
  30916. items:
  30917. $ref: '#/definitions/models.THJWrstandard'
  30918. type: array
  30919. "500":
  30920. description: Internal Server Error
  30921. schema:
  30922. $ref: '#/definitions/app.Response'
  30923. security:
  30924. - ApiKeyAuth: []
  30925. summary: 查询供求列表
  30926. tags:
  30927. - 铁合金
  30928. /Ferroalloy/QueryTHJProduct:
  30929. get:
  30930. parameters:
  30931. - description: 用户ID
  30932. in: query
  30933. name: userid
  30934. required: true
  30935. type: integer
  30936. - description: 关注标志 true-已关注 false-未关注
  30937. in: query
  30938. name: favoriteflag
  30939. type: boolean
  30940. - description: 页码
  30941. in: query
  30942. name: page
  30943. type: integer
  30944. - description: 每页条数
  30945. in: query
  30946. name: pagesize
  30947. type: integer
  30948. produces:
  30949. - application/json
  30950. responses:
  30951. "200":
  30952. description: OK
  30953. schema:
  30954. items:
  30955. $ref: '#/definitions/models.THJProduct'
  30956. type: array
  30957. "500":
  30958. description: Internal Server Error
  30959. schema:
  30960. $ref: '#/definitions/app.Response'
  30961. security:
  30962. - ApiKeyAuth: []
  30963. summary: 获取产品介绍列表
  30964. tags:
  30965. - 铁合金
  30966. /Ferroalloy/QueryTHJPromotionIncome:
  30967. get:
  30968. parameters:
  30969. - description: 用户ID
  30970. in: query
  30971. name: userid
  30972. required: true
  30973. type: integer
  30974. - description: 状态 - 0:全部 1:已支付 2:未支付
  30975. in: query
  30976. name: profitstatus
  30977. type: integer
  30978. - description: 页码
  30979. in: query
  30980. name: page
  30981. type: integer
  30982. - description: 每页条数
  30983. in: query
  30984. name: pagesize
  30985. type: integer
  30986. produces:
  30987. - application/json
  30988. responses:
  30989. "200":
  30990. description: OK
  30991. schema:
  30992. items:
  30993. $ref: '#/definitions/models.PromotionIncome'
  30994. type: array
  30995. "500":
  30996. description: Internal Server Error
  30997. schema:
  30998. $ref: '#/definitions/app.Response'
  30999. security:
  31000. - ApiKeyAuth: []
  31001. summary: 查询我的推广-推广收益
  31002. tags:
  31003. - 铁合金
  31004. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  31005. get:
  31006. parameters:
  31007. - description: 用户ID
  31008. in: query
  31009. name: userid
  31010. required: true
  31011. type: integer
  31012. - description: 月份,格式:yyyymm
  31013. in: query
  31014. name: mouth
  31015. required: true
  31016. type: string
  31017. - description: 页码
  31018. in: query
  31019. name: page
  31020. type: integer
  31021. - description: 每页条数
  31022. in: query
  31023. name: pagesize
  31024. type: integer
  31025. produces:
  31026. - application/json
  31027. responses:
  31028. "200":
  31029. description: OK
  31030. schema:
  31031. items:
  31032. $ref: '#/definitions/models.PromotionIncomeDetail'
  31033. type: array
  31034. "500":
  31035. description: Internal Server Error
  31036. schema:
  31037. $ref: '#/definitions/app.Response'
  31038. security:
  31039. - ApiKeyAuth: []
  31040. summary: 查询我的推广-推广收益-明细
  31041. tags:
  31042. - 铁合金
  31043. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  31044. get:
  31045. parameters:
  31046. - description: 用户ID
  31047. in: query
  31048. name: userid
  31049. required: true
  31050. type: integer
  31051. - description: 类型 - 0:未完成 1:已完成
  31052. in: query
  31053. name: type
  31054. type: integer
  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.Thjpurchasetradedetail'
  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/QueryTHJPurchaseTransfer:
  31082. get:
  31083. parameters:
  31084. - description: 现货商品名称(模糊查询)
  31085. in: query
  31086. name: wrstandardname
  31087. type: string
  31088. - description: 页码
  31089. in: query
  31090. name: page
  31091. type: integer
  31092. - description: 每页条数
  31093. in: query
  31094. name: pagesize
  31095. type: integer
  31096. produces:
  31097. - application/json
  31098. responses:
  31099. "200":
  31100. description: OK
  31101. schema:
  31102. items:
  31103. $ref: '#/definitions/models.PurchaseTransfer'
  31104. type: array
  31105. "500":
  31106. description: Internal Server Error
  31107. schema:
  31108. $ref: '#/definitions/app.Response'
  31109. security:
  31110. - ApiKeyAuth: []
  31111. summary: 查询合同转让列表
  31112. tags:
  31113. - 铁合金
  31114. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31115. get:
  31116. parameters:
  31117. - description: 现货商品ID
  31118. in: query
  31119. name: wrstandardid
  31120. required: true
  31121. type: integer
  31122. produces:
  31123. - application/json
  31124. responses:
  31125. "200":
  31126. description: OK
  31127. schema:
  31128. items:
  31129. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31130. type: array
  31131. "500":
  31132. description: Internal Server Error
  31133. schema:
  31134. $ref: '#/definitions/app.Response'
  31135. security:
  31136. - ApiKeyAuth: []
  31137. summary: 查询合同转让详情
  31138. tags:
  31139. - 铁合金
  31140. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31141. get:
  31142. parameters:
  31143. - description: 用户ID
  31144. in: query
  31145. name: userid
  31146. required: true
  31147. type: integer
  31148. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31149. in: query
  31150. name: ordertype
  31151. required: true
  31152. type: integer
  31153. - description: 页码
  31154. in: query
  31155. name: page
  31156. type: integer
  31157. - description: 每页条数
  31158. in: query
  31159. name: pagesize
  31160. type: integer
  31161. produces:
  31162. - application/json
  31163. responses:
  31164. "200":
  31165. description: OK
  31166. schema:
  31167. items:
  31168. $ref: '#/definitions/models.Thjpurchasetransfer'
  31169. type: array
  31170. "500":
  31171. description: Internal Server Error
  31172. schema:
  31173. $ref: '#/definitions/app.Response'
  31174. security:
  31175. - ApiKeyAuth: []
  31176. summary: 查询我的订单-转让/受让订单
  31177. tags:
  31178. - 铁合金
  31179. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31180. get:
  31181. parameters:
  31182. - description: 转让单号
  31183. in: query
  31184. name: transferid
  31185. required: true
  31186. type: string
  31187. produces:
  31188. - application/json
  31189. responses:
  31190. "200":
  31191. description: OK
  31192. schema:
  31193. items:
  31194. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31195. type: array
  31196. "500":
  31197. description: Internal Server Error
  31198. schema:
  31199. $ref: '#/definitions/app.Response'
  31200. security:
  31201. - ApiKeyAuth: []
  31202. summary: 查询我的订单-转让/受让订单-详情
  31203. tags:
  31204. - 铁合金
  31205. /Ferroalloy/QueryTHJScoreConfig:
  31206. get:
  31207. parameters:
  31208. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31209. 6:自己供求下单积分 7:抽奖配置'
  31210. in: query
  31211. name: stype
  31212. type: string
  31213. produces:
  31214. - application/json
  31215. responses:
  31216. "200":
  31217. description: OK
  31218. schema:
  31219. items:
  31220. $ref: '#/definitions/models.Thjscoreconfig'
  31221. type: array
  31222. "500":
  31223. description: Internal Server Error
  31224. schema:
  31225. $ref: '#/definitions/app.Response'
  31226. security:
  31227. - ApiKeyAuth: []
  31228. summary: 查询积分配置
  31229. tags:
  31230. - 铁合金
  31231. /Ferroalloy/QueryTHJTradeData:
  31232. get:
  31233. parameters:
  31234. - description: 用户ID
  31235. in: query
  31236. name: userid
  31237. required: true
  31238. type: integer
  31239. - description: 市场ID 采购-64201 供求-65201
  31240. in: query
  31241. name: marketid
  31242. required: true
  31243. type: integer
  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.THJTradeData'
  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/QueryTHJWrstandard:
  31271. get:
  31272. parameters:
  31273. - description: 现货商品名称(模糊查询)
  31274. in: query
  31275. name: wrstandardname
  31276. type: string
  31277. - description: 页码
  31278. in: query
  31279. name: page
  31280. type: integer
  31281. - description: 每页条数
  31282. in: query
  31283. name: pagesize
  31284. type: integer
  31285. produces:
  31286. - application/json
  31287. responses:
  31288. "200":
  31289. description: OK
  31290. schema:
  31291. items:
  31292. $ref: '#/definitions/models.THJWrstandard'
  31293. type: array
  31294. "500":
  31295. description: Internal Server Error
  31296. schema:
  31297. $ref: '#/definitions/app.Response'
  31298. security:
  31299. - ApiKeyAuth: []
  31300. summary: 查询采购列表
  31301. tags:
  31302. - 铁合金
  31303. /Ferroalloy/QueryTHJWrstandardDetail:
  31304. get:
  31305. parameters:
  31306. - description: 现货商品ID
  31307. in: query
  31308. name: wrstandardid
  31309. required: true
  31310. type: integer
  31311. produces:
  31312. - application/json
  31313. responses:
  31314. "200":
  31315. description: OK
  31316. schema:
  31317. items:
  31318. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31319. type: array
  31320. "500":
  31321. description: Internal Server Error
  31322. schema:
  31323. $ref: '#/definitions/app.Response'
  31324. security:
  31325. - ApiKeyAuth: []
  31326. summary: 查询采购详情
  31327. tags:
  31328. - 铁合金
  31329. /Ferroalloy/QueryThjSpotQuoteConfig:
  31330. get:
  31331. produces:
  31332. - application/json
  31333. responses:
  31334. "200":
  31335. description: OK
  31336. schema:
  31337. items:
  31338. $ref: '#/definitions/models.Thjspotquoteconfig'
  31339. type: array
  31340. "500":
  31341. description: Internal Server Error
  31342. schema:
  31343. $ref: '#/definitions/app.Response'
  31344. summary: 查询现货行情配置表
  31345. tags:
  31346. - 铁合金
  31347. /Ferroalloy/QueryUserLevelInfo:
  31348. get:
  31349. parameters:
  31350. - description: 用户ID
  31351. in: query
  31352. name: userid
  31353. required: true
  31354. type: integer
  31355. produces:
  31356. - application/json
  31357. responses:
  31358. "200":
  31359. description: OK
  31360. schema:
  31361. items:
  31362. $ref: '#/definitions/models.THJUserLevelInfo'
  31363. type: array
  31364. "500":
  31365. description: Internal Server Error
  31366. schema:
  31367. $ref: '#/definitions/app.Response'
  31368. security:
  31369. - ApiKeyAuth: []
  31370. summary: 查询用户等级信息
  31371. tags:
  31372. - 铁合金
  31373. /Ferroalloy/QueryUserScoreLog:
  31374. get:
  31375. parameters:
  31376. - description: 用户ID
  31377. in: query
  31378. name: userid
  31379. required: true
  31380. type: integer
  31381. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31382. 6:自己供求下单积分 7:抽奖配置'
  31383. in: query
  31384. name: stype
  31385. type: string
  31386. - description: 页码
  31387. in: query
  31388. name: page
  31389. type: integer
  31390. - description: 每页条数
  31391. in: query
  31392. name: pagesize
  31393. type: integer
  31394. produces:
  31395. - application/json
  31396. responses:
  31397. "200":
  31398. description: OK
  31399. schema:
  31400. items:
  31401. $ref: '#/definitions/models.GThjuserscorelog'
  31402. type: array
  31403. "500":
  31404. description: Internal Server Error
  31405. schema:
  31406. $ref: '#/definitions/app.Response'
  31407. security:
  31408. - ApiKeyAuth: []
  31409. summary: 查询我的积分流水
  31410. tags:
  31411. - 铁合金
  31412. /Ferroalloy/Signin:
  31413. post:
  31414. parameters:
  31415. - description: 用户签到请求
  31416. in: body
  31417. name: jsonBody
  31418. required: true
  31419. schema:
  31420. $ref: '#/definitions/models.THJSigninReq'
  31421. produces:
  31422. - application/json
  31423. responses:
  31424. "200":
  31425. description: OK
  31426. schema:
  31427. $ref: '#/definitions/models.THJSigninRsp'
  31428. "500":
  31429. description: Internal Server Error
  31430. schema:
  31431. $ref: '#/definitions/app.Response'
  31432. security:
  31433. - ApiKeyAuth: []
  31434. summary: 用户签到
  31435. tags:
  31436. - 铁合金
  31437. /Guangzuan/GZBSFWOrderOperate:
  31438. get:
  31439. parameters:
  31440. - description: 单据ID
  31441. in: query
  31442. name: orderid
  31443. required: true
  31444. type: integer
  31445. produces:
  31446. - application/json
  31447. responses:
  31448. "200":
  31449. description: OK
  31450. schema:
  31451. items:
  31452. $ref: '#/definitions/models.Gzbsfworderoperate'
  31453. type: array
  31454. "500":
  31455. description: Internal Server Error
  31456. schema:
  31457. $ref: '#/definitions/app.Response'
  31458. security:
  31459. - ApiKeyAuth: []
  31460. - LoginID: []
  31461. - Group: []
  31462. summary: 保税服务单据操作信息
  31463. tags:
  31464. - 广钻
  31465. /Guangzuan/GetGoods:
  31466. get:
  31467. parameters:
  31468. - description: 商品编号
  31469. in: query
  31470. name: goodsno
  31471. required: true
  31472. type: string
  31473. produces:
  31474. - application/json
  31475. responses:
  31476. "200":
  31477. description: OK
  31478. schema:
  31479. $ref: '#/definitions/models.GZGoods'
  31480. "500":
  31481. description: Internal Server Error
  31482. schema:
  31483. $ref: '#/definitions/app.Response'
  31484. security:
  31485. - ApiKeyAuth: []
  31486. - LoginID: []
  31487. - Group: []
  31488. summary: 获取钻石详情
  31489. tags:
  31490. - 广钻
  31491. /Guangzuan/GzCertAddressConfig:
  31492. get:
  31493. produces:
  31494. - application/json
  31495. responses:
  31496. "200":
  31497. description: OK
  31498. schema:
  31499. items:
  31500. $ref: '#/definitions/models.Gzcertaddressconfig'
  31501. type: array
  31502. "500":
  31503. description: Internal Server Error
  31504. schema:
  31505. $ref: '#/definitions/app.Response'
  31506. security:
  31507. - ApiKeyAuth: []
  31508. - LoginID: []
  31509. - Group: []
  31510. summary: Rapaport最新报价表(广钻)
  31511. tags:
  31512. - 广钻
  31513. /Guangzuan/GzCertAddressParam:
  31514. get:
  31515. produces:
  31516. - application/json
  31517. responses:
  31518. "200":
  31519. description: OK
  31520. schema:
  31521. items:
  31522. $ref: '#/definitions/models.Gzcertaddressparam'
  31523. type: array
  31524. "500":
  31525. description: Internal Server Error
  31526. schema:
  31527. $ref: '#/definitions/app.Response'
  31528. security:
  31529. - ApiKeyAuth: []
  31530. - LoginID: []
  31531. - Group: []
  31532. summary: 钻石证书地址参数
  31533. tags:
  31534. - 广钻
  31535. /Guangzuan/HomeData:
  31536. get:
  31537. parameters:
  31538. - description: 用户ID
  31539. in: query
  31540. name: userid
  31541. required: true
  31542. type: integer
  31543. produces:
  31544. - application/json
  31545. responses:
  31546. "200":
  31547. description: OK
  31548. schema:
  31549. $ref: '#/definitions/models.GZHomeData'
  31550. "500":
  31551. description: Internal Server Error
  31552. schema:
  31553. $ref: '#/definitions/app.Response'
  31554. security:
  31555. - ApiKeyAuth: []
  31556. - LoginID: []
  31557. - Group: []
  31558. summary: 首页统计数据
  31559. tags:
  31560. - 广钻
  31561. /Guangzuan/PriceCalc:
  31562. get:
  31563. parameters:
  31564. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31565. in: query
  31566. name: zsshape
  31567. required: true
  31568. type: integer
  31569. - description: 颜色(D-M)
  31570. in: query
  31571. name: zscolor
  31572. required: true
  31573. type: string
  31574. - description: 净度
  31575. in: query
  31576. name: zsclarity
  31577. required: true
  31578. type: string
  31579. - description: 重量
  31580. in: query
  31581. name: weight
  31582. required: true
  31583. type: number
  31584. - description: 汇率
  31585. in: query
  31586. name: rate
  31587. required: true
  31588. type: number
  31589. - description: 折扣(%), 方向(加:10, 减:-10 )
  31590. in: query
  31591. name: discount
  31592. type: number
  31593. produces:
  31594. - application/json
  31595. responses:
  31596. "200":
  31597. description: OK
  31598. schema:
  31599. items:
  31600. $ref: '#/definitions/models.Gzrapaportprice'
  31601. type: array
  31602. "500":
  31603. description: Internal Server Error
  31604. schema:
  31605. $ref: '#/definitions/app.Response'
  31606. security:
  31607. - ApiKeyAuth: []
  31608. - LoginID: []
  31609. - Group: []
  31610. summary: 钻石价格计算器
  31611. tags:
  31612. - 广钻
  31613. /Guangzuan/QueryBuyOrder:
  31614. get:
  31615. parameters:
  31616. - description: 页码
  31617. in: query
  31618. name: page
  31619. type: integer
  31620. - description: 每页条数
  31621. in: query
  31622. name: pagesize
  31623. type: integer
  31624. - description: 商品(查询字段-模糊查询)
  31625. in: query
  31626. name: zsallproperties
  31627. type: string
  31628. - description: 钻石分类, 格式:1,2,3
  31629. in: query
  31630. name: zscategorys
  31631. type: string
  31632. - description: 委托单号
  31633. in: query
  31634. name: wrtradeorderid
  31635. type: integer
  31636. - description: 买方(查询字段-模糊查询)
  31637. in: query
  31638. name: buyusername
  31639. type: string
  31640. produces:
  31641. - application/json
  31642. responses:
  31643. "200":
  31644. description: OK
  31645. schema:
  31646. items:
  31647. $ref: '#/definitions/models.BuyOrder'
  31648. type: array
  31649. "500":
  31650. description: Internal Server Error
  31651. schema:
  31652. $ref: '#/definitions/app.Response'
  31653. security:
  31654. - ApiKeyAuth: []
  31655. - LoginID: []
  31656. - Group: []
  31657. summary: 查询求购大厅委托单
  31658. tags:
  31659. - 广钻
  31660. /Guangzuan/QueryDiamond:
  31661. post:
  31662. parameters:
  31663. - description: 钻石搜索入参
  31664. in: body
  31665. name: data
  31666. required: true
  31667. schema:
  31668. $ref: '#/definitions/models.SellOrderQueryReq'
  31669. produces:
  31670. - application/json
  31671. responses:
  31672. "200":
  31673. description: OK
  31674. schema:
  31675. items:
  31676. $ref: '#/definitions/models.SellOrder'
  31677. type: array
  31678. "500":
  31679. description: Internal Server Error
  31680. schema:
  31681. $ref: '#/definitions/app.Response'
  31682. security:
  31683. - ApiKeyAuth: []
  31684. - LoginID: []
  31685. - Group: []
  31686. summary: 钻石搜索
  31687. tags:
  31688. - 广钻
  31689. /Guangzuan/QueryFworderoperate:
  31690. get:
  31691. parameters:
  31692. - description: 单据ID
  31693. in: query
  31694. name: orderid
  31695. required: true
  31696. type: string
  31697. - description: 操作后单据状态
  31698. in: query
  31699. name: status
  31700. required: true
  31701. type: integer
  31702. produces:
  31703. - application/json
  31704. responses:
  31705. "200":
  31706. description: OK
  31707. schema:
  31708. items:
  31709. $ref: '#/definitions/models.Fworderoperate'
  31710. type: array
  31711. "500":
  31712. description: Internal Server Error
  31713. schema:
  31714. $ref: '#/definitions/app.Response'
  31715. security:
  31716. - ApiKeyAuth: []
  31717. - LoginID: []
  31718. - Group: []
  31719. summary: 查询保税服务单据操作
  31720. tags:
  31721. - 广钻
  31722. /Guangzuan/QueryGZBSFWOrder:
  31723. get:
  31724. parameters:
  31725. - description: 用户ID
  31726. in: query
  31727. name: userid
  31728. required: true
  31729. type: integer
  31730. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31731. in: query
  31732. name: executestatus
  31733. type: integer
  31734. - description: 页码
  31735. in: query
  31736. name: page
  31737. type: integer
  31738. - description: 每页条数
  31739. in: query
  31740. name: pagesize
  31741. type: integer
  31742. produces:
  31743. - application/json
  31744. responses:
  31745. "200":
  31746. description: OK
  31747. schema:
  31748. items:
  31749. $ref: '#/definitions/models.GzbsfworderM'
  31750. type: array
  31751. "500":
  31752. description: Internal Server Error
  31753. schema:
  31754. $ref: '#/definitions/app.Response'
  31755. security:
  31756. - ApiKeyAuth: []
  31757. - LoginID: []
  31758. - Group: []
  31759. summary: 查询保税服务单据
  31760. tags:
  31761. - 广钻
  31762. /Guangzuan/QueryGZBSFWOrderDetail:
  31763. get:
  31764. parameters:
  31765. - description: 用户ID
  31766. in: query
  31767. name: userid
  31768. required: true
  31769. type: integer
  31770. - description: 单据ID
  31771. in: query
  31772. name: orderid
  31773. type: string
  31774. - description: 页码
  31775. in: query
  31776. name: page
  31777. type: integer
  31778. - description: 每页条数
  31779. in: query
  31780. name: pagesize
  31781. type: integer
  31782. produces:
  31783. - application/json
  31784. responses:
  31785. "200":
  31786. description: OK
  31787. schema:
  31788. items:
  31789. $ref: '#/definitions/models.GzbsfworderdetailM'
  31790. type: array
  31791. "500":
  31792. description: Internal Server Error
  31793. schema:
  31794. $ref: '#/definitions/app.Response'
  31795. security:
  31796. - ApiKeyAuth: []
  31797. - LoginID: []
  31798. - Group: []
  31799. summary: 查询保税服务单据明细
  31800. tags:
  31801. - 广钻
  31802. /Guangzuan/QueryGZCJBSOrderFile:
  31803. get:
  31804. parameters:
  31805. - description: 单据ID
  31806. in: query
  31807. name: orderid
  31808. required: true
  31809. type: integer
  31810. - description: 页码
  31811. in: query
  31812. name: page
  31813. type: integer
  31814. - description: 每页条数
  31815. in: query
  31816. name: pagesize
  31817. type: integer
  31818. produces:
  31819. - application/json
  31820. responses:
  31821. "200":
  31822. description: OK
  31823. schema:
  31824. items:
  31825. $ref: '#/definitions/models.GzcjbsorderfileM'
  31826. type: array
  31827. "500":
  31828. description: Internal Server Error
  31829. schema:
  31830. $ref: '#/definitions/app.Response'
  31831. security:
  31832. - ApiKeyAuth: []
  31833. - LoginID: []
  31834. - Group: []
  31835. summary: 出境保税单据文件
  31836. tags:
  31837. - 广钻
  31838. /Guangzuan/QueryGZCJJCOrder:
  31839. get:
  31840. parameters:
  31841. - description: 用户ID
  31842. in: query
  31843. name: userid
  31844. required: true
  31845. type: integer
  31846. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31847. in: query
  31848. name: executestatus
  31849. type: integer
  31850. - description: 页码
  31851. in: query
  31852. name: page
  31853. type: integer
  31854. - description: 每页条数
  31855. in: query
  31856. name: pagesize
  31857. type: integer
  31858. produces:
  31859. - application/json
  31860. responses:
  31861. "200":
  31862. description: OK
  31863. schema:
  31864. items:
  31865. $ref: '#/definitions/models.GzcjjcorderM'
  31866. type: array
  31867. "500":
  31868. description: Internal Server Error
  31869. schema:
  31870. $ref: '#/definitions/app.Response'
  31871. security:
  31872. - ApiKeyAuth: []
  31873. - LoginID: []
  31874. - Group: []
  31875. summary: 查询出境检测单据
  31876. tags:
  31877. - 广钻
  31878. /Guangzuan/QueryGZCJJCOrderDetail:
  31879. get:
  31880. parameters:
  31881. - description: 用户ID
  31882. in: query
  31883. name: userid
  31884. required: true
  31885. type: integer
  31886. - description: 单据ID
  31887. in: query
  31888. name: orderid
  31889. type: string
  31890. - description: 页码
  31891. in: query
  31892. name: page
  31893. type: integer
  31894. - description: 每页条数
  31895. in: query
  31896. name: pagesize
  31897. type: integer
  31898. produces:
  31899. - application/json
  31900. responses:
  31901. "200":
  31902. description: OK
  31903. schema:
  31904. items:
  31905. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31906. type: array
  31907. "500":
  31908. description: Internal Server Error
  31909. schema:
  31910. $ref: '#/definitions/app.Response'
  31911. security:
  31912. - ApiKeyAuth: []
  31913. - LoginID: []
  31914. - Group: []
  31915. summary: 查询出境检测单据明细(批次信息)
  31916. tags:
  31917. - 广钻
  31918. /Guangzuan/QueryGzcjjcorderoperate:
  31919. get:
  31920. parameters:
  31921. - description: 单据ID
  31922. in: query
  31923. name: orderid
  31924. required: true
  31925. type: string
  31926. - description: 操作后单据状态
  31927. in: query
  31928. name: status
  31929. required: true
  31930. type: integer
  31931. produces:
  31932. - application/json
  31933. responses:
  31934. "200":
  31935. description: OK
  31936. schema:
  31937. items:
  31938. $ref: '#/definitions/models.Gzcjjcorderoperate'
  31939. type: array
  31940. "500":
  31941. description: Internal Server Error
  31942. schema:
  31943. $ref: '#/definitions/app.Response'
  31944. security:
  31945. - ApiKeyAuth: []
  31946. - LoginID: []
  31947. - Group: []
  31948. summary: 查询出境检测单据操作
  31949. tags:
  31950. - 广钻
  31951. /Guangzuan/QueryMemberReport:
  31952. get:
  31953. parameters:
  31954. - description: 用户ID
  31955. in: query
  31956. name: userid
  31957. required: true
  31958. type: integer
  31959. - description: 页码
  31960. in: query
  31961. name: page
  31962. type: integer
  31963. - description: 每页条数
  31964. in: query
  31965. name: pagesize
  31966. type: integer
  31967. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31968. in: query
  31969. name: cycletype
  31970. type: string
  31971. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31972. in: query
  31973. name: begindate
  31974. required: true
  31975. type: string
  31976. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31977. in: query
  31978. name: enddate
  31979. required: true
  31980. type: string
  31981. produces:
  31982. - application/json
  31983. responses:
  31984. "200":
  31985. description: OK
  31986. schema:
  31987. items:
  31988. $ref: '#/definitions/models.Reckondaytaaccount'
  31989. type: array
  31990. "500":
  31991. description: Internal Server Error
  31992. schema:
  31993. $ref: '#/definitions/app.Response'
  31994. security:
  31995. - ApiKeyAuth: []
  31996. - LoginID: []
  31997. - Group: []
  31998. summary: 查询会员报表
  31999. tags:
  32000. - 广钻
  32001. /Guangzuan/QueryMyBargainApply:
  32002. get:
  32003. parameters:
  32004. - description: 用户ID
  32005. in: query
  32006. name: userid
  32007. required: true
  32008. type: integer
  32009. - description: 页码
  32010. in: query
  32011. name: page
  32012. type: integer
  32013. - description: 每页条数
  32014. in: query
  32015. name: pagesize
  32016. type: integer
  32017. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32018. in: query
  32019. name: applystatus
  32020. type: integer
  32021. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32022. in: query
  32023. name: type
  32024. type: integer
  32025. - description: 关联委托单ID
  32026. in: query
  32027. name: wrtradeorderid
  32028. type: string
  32029. produces:
  32030. - application/json
  32031. responses:
  32032. "200":
  32033. description: OK
  32034. schema:
  32035. items:
  32036. $ref: '#/definitions/models.MyBargainApply'
  32037. type: array
  32038. "500":
  32039. description: Internal Server Error
  32040. schema:
  32041. $ref: '#/definitions/app.Response'
  32042. security:
  32043. - ApiKeyAuth: []
  32044. - LoginID: []
  32045. - Group: []
  32046. summary: 查询询价-求购
  32047. tags:
  32048. - 广钻
  32049. /Guangzuan/QueryMyBuyOrder:
  32050. get:
  32051. parameters:
  32052. - description: 用户ID
  32053. in: query
  32054. name: userid
  32055. required: true
  32056. type: integer
  32057. - description: 页码
  32058. in: query
  32059. name: page
  32060. type: integer
  32061. - description: 每页条数
  32062. in: query
  32063. name: pagesize
  32064. type: integer
  32065. - description: 商品(查询字段-模糊查询)
  32066. in: query
  32067. name: zsallproperties
  32068. type: string
  32069. - description: 钻石分类, 格式:1,2,3
  32070. in: query
  32071. name: zscategorys
  32072. type: string
  32073. - description: 委托单号
  32074. in: query
  32075. name: wrtradeorderid
  32076. type: integer
  32077. - description: 是否历史查询
  32078. in: query
  32079. name: ishis
  32080. type: boolean
  32081. - description: 开始交易日(yyyymmdd)
  32082. in: query
  32083. name: begindate
  32084. type: string
  32085. - description: 结束交易日(yyyymmdd)
  32086. in: query
  32087. name: enddate
  32088. type: string
  32089. produces:
  32090. - application/json
  32091. responses:
  32092. "200":
  32093. description: OK
  32094. schema:
  32095. items:
  32096. $ref: '#/definitions/models.MyBuyOrder'
  32097. type: array
  32098. "500":
  32099. description: Internal Server Error
  32100. schema:
  32101. $ref: '#/definitions/app.Response'
  32102. security:
  32103. - ApiKeyAuth: []
  32104. - LoginID: []
  32105. - Group: []
  32106. summary: 查询我的求购
  32107. tags:
  32108. - 广钻
  32109. /Guangzuan/QueryMyDeListing:
  32110. get:
  32111. parameters:
  32112. - description: 用户ID
  32113. in: query
  32114. name: userid
  32115. required: true
  32116. type: integer
  32117. - description: 页码
  32118. in: query
  32119. name: page
  32120. type: integer
  32121. - description: 每页条数
  32122. in: query
  32123. name: pagesize
  32124. type: integer
  32125. - description: 商品(查询字段-模糊查询)
  32126. in: query
  32127. name: zsallproperties
  32128. type: string
  32129. - description: 钻石分类, 格式:1,2,3
  32130. in: query
  32131. name: zscategorys
  32132. type: string
  32133. - description: 成交单号
  32134. in: query
  32135. name: wrtradedetailid
  32136. type: integer
  32137. - description: 方向,0-购买 1-出售
  32138. in: query
  32139. name: buyorsell
  32140. type: integer
  32141. - description: 对手方(模糊匹配)
  32142. in: query
  32143. name: matchusername
  32144. type: string
  32145. - description: 开始交易日(yyyymmdd)
  32146. in: query
  32147. name: begindate
  32148. type: string
  32149. - description: 结束交易日(yyyymmdd)
  32150. in: query
  32151. name: enddate
  32152. type: string
  32153. produces:
  32154. - application/json
  32155. responses:
  32156. "200":
  32157. description: OK
  32158. schema:
  32159. items:
  32160. $ref: '#/definitions/models.MyDeListing'
  32161. type: array
  32162. "500":
  32163. description: Internal Server Error
  32164. schema:
  32165. $ref: '#/definitions/app.Response'
  32166. security:
  32167. - ApiKeyAuth: []
  32168. - LoginID: []
  32169. - Group: []
  32170. summary: 查询我的摘牌
  32171. tags:
  32172. - 广钻
  32173. /Guangzuan/QueryMyDelistingApply:
  32174. get:
  32175. parameters:
  32176. - description: 用户ID
  32177. in: query
  32178. name: userid
  32179. required: true
  32180. type: integer
  32181. - description: 页码
  32182. in: query
  32183. name: page
  32184. type: integer
  32185. - description: 每页条数
  32186. in: query
  32187. name: pagesize
  32188. type: integer
  32189. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32190. in: query
  32191. name: applystatus
  32192. type: integer
  32193. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32194. in: query
  32195. name: type
  32196. type: integer
  32197. - description: 买委托单ID
  32198. in: query
  32199. name: buywrtradeorderid
  32200. type: string
  32201. produces:
  32202. - application/json
  32203. responses:
  32204. "200":
  32205. description: OK
  32206. schema:
  32207. items:
  32208. $ref: '#/definitions/models.MyDelistingApply'
  32209. type: array
  32210. "500":
  32211. description: Internal Server Error
  32212. schema:
  32213. $ref: '#/definitions/app.Response'
  32214. security:
  32215. - ApiKeyAuth: []
  32216. - LoginID: []
  32217. - Group: []
  32218. summary: 查询询价-出售
  32219. tags:
  32220. - 广钻
  32221. /Guangzuan/QueryMyFavorite:
  32222. get:
  32223. parameters:
  32224. - description: 用户ID
  32225. in: query
  32226. name: userid
  32227. required: true
  32228. type: integer
  32229. - description: 页码
  32230. in: query
  32231. name: page
  32232. type: integer
  32233. - description: 每页条数
  32234. in: query
  32235. name: pagesize
  32236. type: integer
  32237. - description: 钻石分类, 格式:1,2,3
  32238. in: query
  32239. name: zscategorys
  32240. type: string
  32241. produces:
  32242. - application/json
  32243. responses:
  32244. "200":
  32245. description: OK
  32246. schema:
  32247. items:
  32248. $ref: '#/definitions/models.MyFavorite'
  32249. type: array
  32250. "500":
  32251. description: Internal Server Error
  32252. schema:
  32253. $ref: '#/definitions/app.Response'
  32254. security:
  32255. - ApiKeyAuth: []
  32256. - LoginID: []
  32257. - Group: []
  32258. summary: 查询我的收藏
  32259. tags:
  32260. - 广钻
  32261. /Guangzuan/QueryMyPerformanc:
  32262. get:
  32263. parameters:
  32264. - description: 用户ID
  32265. in: query
  32266. name: userid
  32267. required: true
  32268. type: integer
  32269. - description: 页码
  32270. in: query
  32271. name: page
  32272. type: integer
  32273. - description: 每页条数
  32274. in: query
  32275. name: pagesize
  32276. type: integer
  32277. - description: 商品(查询字段-模糊查询)
  32278. in: query
  32279. name: zsallproperties
  32280. type: string
  32281. - description: 方向,0-买 1-卖
  32282. in: query
  32283. name: buyorsell
  32284. type: integer
  32285. - description: 是否历史查询
  32286. in: query
  32287. name: ishis
  32288. type: boolean
  32289. - description: 开始交易日(yyyymmdd)
  32290. in: query
  32291. name: begindate
  32292. type: string
  32293. - description: 结束交易日(yyyymmdd)
  32294. in: query
  32295. name: enddate
  32296. type: string
  32297. produces:
  32298. - application/json
  32299. responses:
  32300. "200":
  32301. description: OK
  32302. schema:
  32303. items:
  32304. $ref: '#/definitions/models.MyPerformanc'
  32305. type: array
  32306. "500":
  32307. description: Internal Server Error
  32308. schema:
  32309. $ref: '#/definitions/app.Response'
  32310. security:
  32311. - ApiKeyAuth: []
  32312. - LoginID: []
  32313. - Group: []
  32314. summary: 查询我的履约
  32315. tags:
  32316. - 广钻
  32317. /Guangzuan/QueryMySellOrder:
  32318. get:
  32319. parameters:
  32320. - description: 用户ID
  32321. in: query
  32322. name: userid
  32323. required: true
  32324. type: integer
  32325. - description: 页码
  32326. in: query
  32327. name: page
  32328. type: integer
  32329. - description: 每页条数
  32330. in: query
  32331. name: pagesize
  32332. type: integer
  32333. - description: 商品(查询字段-模糊查询)
  32334. in: query
  32335. name: zsallproperties
  32336. type: string
  32337. - description: 钻石分类, 格式:1,2,3
  32338. in: query
  32339. name: zscategorys
  32340. type: string
  32341. - description: 委托单号
  32342. in: query
  32343. name: wrtradeorderid
  32344. type: integer
  32345. - description: 是否历史查询
  32346. in: query
  32347. name: ishis
  32348. type: boolean
  32349. - description: 开始交易日(yyyymmdd)
  32350. in: query
  32351. name: begindate
  32352. type: string
  32353. - description: 结束交易日(yyyymmdd)
  32354. in: query
  32355. name: enddate
  32356. type: string
  32357. produces:
  32358. - application/json
  32359. responses:
  32360. "200":
  32361. description: OK
  32362. schema:
  32363. items:
  32364. $ref: '#/definitions/models.MySellOrder'
  32365. type: array
  32366. "500":
  32367. description: Internal Server Error
  32368. schema:
  32369. $ref: '#/definitions/app.Response'
  32370. security:
  32371. - ApiKeyAuth: []
  32372. - LoginID: []
  32373. - Group: []
  32374. summary: 查询我的出售
  32375. tags:
  32376. - 广钻
  32377. /Guangzuan/QueryMyWRPosition:
  32378. get:
  32379. parameters:
  32380. - description: 页码
  32381. in: query
  32382. name: page
  32383. type: integer
  32384. - description: 每页条数
  32385. in: query
  32386. name: pagesize
  32387. type: integer
  32388. - description: 登录用户ID
  32389. in: query
  32390. name: wruserid
  32391. required: true
  32392. type: integer
  32393. - description: 商品(查询字段-模糊查询)
  32394. in: query
  32395. name: zsallproperties
  32396. type: string
  32397. - description: 钻石分类, 格式:1,2,3
  32398. in: query
  32399. name: zscategorys
  32400. type: string
  32401. - description: 仓库ID
  32402. in: query
  32403. name: warehouseid
  32404. type: integer
  32405. - description: 是否上架,0-全部 1-是 2-否
  32406. in: query
  32407. name: marketflag
  32408. type: integer
  32409. produces:
  32410. - application/json
  32411. responses:
  32412. "200":
  32413. description: OK
  32414. schema:
  32415. items:
  32416. $ref: '#/definitions/models.MyWRPosition'
  32417. type: array
  32418. "500":
  32419. description: Internal Server Error
  32420. schema:
  32421. $ref: '#/definitions/app.Response'
  32422. security:
  32423. - ApiKeyAuth: []
  32424. - LoginID: []
  32425. - Group: []
  32426. summary: 查询我的库存
  32427. tags:
  32428. - 广钻
  32429. /Guangzuan/QuerySellOrder:
  32430. get:
  32431. parameters:
  32432. - description: 页码
  32433. in: query
  32434. name: page
  32435. type: integer
  32436. - description: 每页条数
  32437. in: query
  32438. name: pagesize
  32439. type: integer
  32440. - description: 商品(查询字段-模糊查询)
  32441. in: query
  32442. name: zsallproperties
  32443. type: string
  32444. - description: 钻石分类, 格式:1,2,3
  32445. in: query
  32446. name: zscategorys
  32447. type: string
  32448. - description: 委托单号
  32449. in: query
  32450. name: wrtradeorderid
  32451. type: integer
  32452. - description: 卖方(查询字段-模糊查询)
  32453. in: query
  32454. name: buyusername
  32455. type: string
  32456. produces:
  32457. - application/json
  32458. responses:
  32459. "200":
  32460. description: OK
  32461. schema:
  32462. items:
  32463. $ref: '#/definitions/models.SellOrder'
  32464. type: array
  32465. "500":
  32466. description: Internal Server Error
  32467. schema:
  32468. $ref: '#/definitions/app.Response'
  32469. security:
  32470. - ApiKeyAuth: []
  32471. - LoginID: []
  32472. - Group: []
  32473. summary: 查询出售大厅委托单
  32474. tags:
  32475. - 广钻
  32476. /Guangzuan/QueryTradeReport:
  32477. get:
  32478. parameters:
  32479. - description: 用户ID
  32480. in: query
  32481. name: userid
  32482. required: true
  32483. type: integer
  32484. - description: 页码
  32485. in: query
  32486. name: page
  32487. type: integer
  32488. - description: 每页条数
  32489. in: query
  32490. name: pagesize
  32491. type: integer
  32492. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32493. in: query
  32494. name: cycletype
  32495. type: string
  32496. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32497. in: query
  32498. name: begindate
  32499. required: true
  32500. type: string
  32501. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32502. in: query
  32503. name: enddate
  32504. required: true
  32505. type: string
  32506. - description: 商品分类
  32507. in: query
  32508. name: zscategory
  32509. type: integer
  32510. - description: 商品币种
  32511. in: query
  32512. name: zscurrencytype
  32513. type: integer
  32514. produces:
  32515. - application/json
  32516. responses:
  32517. "200":
  32518. description: OK
  32519. schema:
  32520. items:
  32521. $ref: '#/definitions/models.Reckongzmemtradesum'
  32522. type: array
  32523. "500":
  32524. description: Internal Server Error
  32525. schema:
  32526. $ref: '#/definitions/app.Response'
  32527. security:
  32528. - ApiKeyAuth: []
  32529. - LoginID: []
  32530. - Group: []
  32531. summary: 查询交易报表
  32532. tags:
  32533. - 广钻
  32534. /Guangzuan/QueryWRPositionReport:
  32535. get:
  32536. parameters:
  32537. - description: 用户ID
  32538. in: query
  32539. name: userid
  32540. required: true
  32541. type: integer
  32542. - description: 页码
  32543. in: query
  32544. name: page
  32545. type: integer
  32546. - description: 每页条数
  32547. in: query
  32548. name: pagesize
  32549. type: integer
  32550. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32551. in: query
  32552. name: cycletype
  32553. type: string
  32554. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32555. in: query
  32556. name: begindate
  32557. required: true
  32558. type: string
  32559. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32560. in: query
  32561. name: enddate
  32562. required: true
  32563. type: string
  32564. - description: 商品分类
  32565. in: query
  32566. name: zscategory
  32567. type: integer
  32568. - description: 商品币种
  32569. in: query
  32570. name: zscurrencytype
  32571. type: integer
  32572. produces:
  32573. - application/json
  32574. responses:
  32575. "200":
  32576. description: OK
  32577. schema:
  32578. items:
  32579. $ref: '#/definitions/models.WRPositionReport'
  32580. type: array
  32581. "500":
  32582. description: Internal Server Error
  32583. schema:
  32584. $ref: '#/definitions/app.Response'
  32585. security:
  32586. - ApiKeyAuth: []
  32587. - LoginID: []
  32588. - Group: []
  32589. summary: 查询仓储报表
  32590. tags:
  32591. - 广钻
  32592. /Guangzuan/QueryWarehouseInfo:
  32593. get:
  32594. parameters:
  32595. - description: 页码
  32596. in: query
  32597. name: page
  32598. type: integer
  32599. - description: 每页条数
  32600. in: query
  32601. name: pagesize
  32602. type: integer
  32603. - description: 用户ID
  32604. in: query
  32605. name: userid
  32606. required: true
  32607. type: integer
  32608. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32609. in: query
  32610. name: status
  32611. type: string
  32612. - description: 是返回交易所仓库
  32613. in: query
  32614. name: isincludeexchange
  32615. type: boolean
  32616. produces:
  32617. - application/json
  32618. responses:
  32619. "200":
  32620. description: OK
  32621. schema:
  32622. items:
  32623. $ref: '#/definitions/models.GZWarehouseinfo'
  32624. type: array
  32625. "500":
  32626. description: Internal Server Error
  32627. schema:
  32628. $ref: '#/definitions/app.Response'
  32629. security:
  32630. - ApiKeyAuth: []
  32631. - LoginID: []
  32632. - Group: []
  32633. summary: 查询仓库信息
  32634. tags:
  32635. - 广钻
  32636. /HSBY/GetHsbyMyCount:
  32637. get:
  32638. description: 说明: 不包括已完成的数量。
  32639. parameters:
  32640. - description: 资金账户列表,格式:1,2,3
  32641. in: query
  32642. name: accountIDs
  32643. required: true
  32644. type: string
  32645. produces:
  32646. - application/json
  32647. responses:
  32648. "200":
  32649. description: OK
  32650. schema:
  32651. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32652. "500":
  32653. description: Internal Server Error
  32654. schema:
  32655. $ref: '#/definitions/app.Response'
  32656. security:
  32657. - ApiKeyAuth: []
  32658. summary: 获取我的订单与包裹数量
  32659. tags:
  32660. - 定制【海商报业】
  32661. /HSBY/QueryClientFixedADConfigs:
  32662. get:
  32663. produces:
  32664. - application/json
  32665. responses:
  32666. "200":
  32667. description: OK
  32668. schema:
  32669. $ref: '#/definitions/models.Clientfixedadconfig'
  32670. "500":
  32671. description: Internal Server Error
  32672. schema:
  32673. $ref: '#/definitions/app.Response'
  32674. security:
  32675. - ApiKeyAuth: []
  32676. summary: 获取终端固定广告配置
  32677. tags:
  32678. - 定制【海商报业】
  32679. /HSBY/QueryHsbyBuyMyTradeDetail:
  32680. get:
  32681. parameters:
  32682. - description: 页码
  32683. in: query
  32684. name: page
  32685. type: integer
  32686. - description: 每页条数
  32687. in: query
  32688. name: pagesize
  32689. type: integer
  32690. - description: 资金账户列表,格式:1,2,3
  32691. in: query
  32692. name: accountIDs
  32693. required: true
  32694. type: string
  32695. produces:
  32696. - application/json
  32697. responses:
  32698. "200":
  32699. description: OK
  32700. schema:
  32701. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32702. "500":
  32703. description: Internal Server Error
  32704. schema:
  32705. $ref: '#/definitions/app.Response'
  32706. security:
  32707. - ApiKeyAuth: []
  32708. summary: 查询"我的订单 - 已完成"单据信息
  32709. tags:
  32710. - 定制【海商报业】
  32711. /HSBY/QueryHsbyGoodsOrderDetails:
  32712. get:
  32713. description: 说明:查询结果已按委托价格和委托时间排序
  32714. parameters:
  32715. - description: 商品ID
  32716. in: query
  32717. name: goodsID
  32718. required: true
  32719. type: integer
  32720. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32721. in: query
  32722. name: accountIDs
  32723. type: string
  32724. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32725. in: query
  32726. name: buyOrSell
  32727. type: integer
  32728. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32729. in: query
  32730. name: price
  32731. type: number
  32732. - description: 档位,不传则默认为3档
  32733. in: query
  32734. name: speed
  32735. type: integer
  32736. produces:
  32737. - application/json
  32738. responses:
  32739. "200":
  32740. description: OK
  32741. schema:
  32742. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32743. "500":
  32744. description: Internal Server Error
  32745. schema:
  32746. $ref: '#/definitions/app.Response'
  32747. security:
  32748. - ApiKeyAuth: []
  32749. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32750. tags:
  32751. - 定制【海商报业】
  32752. /HSBY/QueryHsbyListingGoodsDetail:
  32753. get:
  32754. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32755. parameters:
  32756. - description: 商品ID
  32757. in: query
  32758. name: goodsID
  32759. required: true
  32760. type: integer
  32761. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32762. in: query
  32763. name: accountID
  32764. type: integer
  32765. produces:
  32766. - application/json
  32767. responses:
  32768. "200":
  32769. description: OK
  32770. schema:
  32771. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32772. "500":
  32773. description: Internal Server Error
  32774. schema:
  32775. $ref: '#/definitions/app.Response'
  32776. security:
  32777. - ApiKeyAuth: []
  32778. summary: 查询二级市场(挂牌点选)商品信息详情
  32779. tags:
  32780. - 定制【海商报业】
  32781. /HSBY/QueryHsbyMarketGoodsDetail:
  32782. get:
  32783. parameters:
  32784. - description: 委托单号
  32785. in: query
  32786. name: orderID
  32787. required: true
  32788. type: integer
  32789. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32790. in: query
  32791. name: accountID
  32792. type: integer
  32793. produces:
  32794. - application/json
  32795. responses:
  32796. "200":
  32797. description: OK
  32798. schema:
  32799. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32800. "500":
  32801. description: Internal Server Error
  32802. schema:
  32803. $ref: '#/definitions/app.Response'
  32804. security:
  32805. - ApiKeyAuth: []
  32806. summary: 查询三级市场(商城)商品信息详情
  32807. tags:
  32808. - 定制【海商报业】
  32809. /HSBY/QueryHsbyMarketGoodses:
  32810. get:
  32811. parameters:
  32812. - description: 页码
  32813. in: query
  32814. name: page
  32815. type: integer
  32816. - description: 每页条数
  32817. in: query
  32818. name: pagesize
  32819. type: integer
  32820. - description: 市场ID列表,格式:1,2,3
  32821. in: query
  32822. name: marketIDs
  32823. required: true
  32824. type: string
  32825. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32826. in: query
  32827. name: accountID
  32828. required: true
  32829. type: integer
  32830. - description: 类别ID
  32831. in: query
  32832. name: categoryID
  32833. type: integer
  32834. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32835. in: query
  32836. name: goodsIDs
  32837. type: string
  32838. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32839. in: query
  32840. name: couponTypeID
  32841. type: integer
  32842. produces:
  32843. - application/json
  32844. responses:
  32845. "200":
  32846. description: OK
  32847. schema:
  32848. $ref: '#/definitions/models.HsbyMarketGoods'
  32849. "500":
  32850. description: Internal Server Error
  32851. schema:
  32852. $ref: '#/definitions/app.Response'
  32853. security:
  32854. - ApiKeyAuth: []
  32855. summary: 查询特卖商品列表(三级商城)
  32856. tags:
  32857. - 定制【海商报业】
  32858. /HSBY/QueryHsbyMarkets:
  32859. get:
  32860. produces:
  32861. - application/json
  32862. responses:
  32863. "200":
  32864. description: OK
  32865. schema:
  32866. $ref: '#/definitions/models.HsbyMarketInfo'
  32867. "500":
  32868. description: Internal Server Error
  32869. schema:
  32870. $ref: '#/definitions/app.Response'
  32871. security:
  32872. - ApiKeyAuth: []
  32873. summary: 查询海商报业相关市场信息
  32874. tags:
  32875. - 定制【海商报业】
  32876. /HSBY/QueryHsbyMyBuyOrderDetails:
  32877. get:
  32878. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32879. parameters:
  32880. - description: 资金账户列表,格式:1,2,3
  32881. in: query
  32882. name: accountIDs
  32883. required: true
  32884. type: string
  32885. produces:
  32886. - application/json
  32887. responses:
  32888. "200":
  32889. description: OK
  32890. schema:
  32891. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32892. "500":
  32893. description: Internal Server Error
  32894. schema:
  32895. $ref: '#/definitions/app.Response'
  32896. security:
  32897. - ApiKeyAuth: []
  32898. summary: 查询“我的订单”信息
  32899. tags:
  32900. - 定制【海商报业】
  32901. /HSBY/QueryHsbyMyGoods:
  32902. get:
  32903. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32904. parameters:
  32905. - description: 资金账户列表,格式:1,2,3
  32906. in: query
  32907. name: accountIDs
  32908. required: true
  32909. type: string
  32910. produces:
  32911. - application/json
  32912. responses:
  32913. "200":
  32914. description: OK
  32915. schema:
  32916. $ref: '#/definitions/models.HsbyMyGoods'
  32917. "500":
  32918. description: Internal Server Error
  32919. schema:
  32920. $ref: '#/definitions/app.Response'
  32921. security:
  32922. - ApiKeyAuth: []
  32923. summary: 查询“我的商品”信息
  32924. tags:
  32925. - 定制【海商报业】
  32926. /HSBY/QueryHsbyMyPackages:
  32927. get:
  32928. parameters:
  32929. - description: 资金账户列表,格式:1,2,3
  32930. in: query
  32931. name: accountIDs
  32932. required: true
  32933. type: string
  32934. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32935. in: query
  32936. name: takeOrderStatus
  32937. type: integer
  32938. produces:
  32939. - application/json
  32940. responses:
  32941. "200":
  32942. description: OK
  32943. schema:
  32944. $ref: '#/definitions/models.HsbyMyPackage'
  32945. "500":
  32946. description: Internal Server Error
  32947. schema:
  32948. $ref: '#/definitions/app.Response'
  32949. security:
  32950. - ApiKeyAuth: []
  32951. summary: 查询我的包裹信息
  32952. tags:
  32953. - 定制【海商报业】
  32954. /HSBY/QueryHsbyPreGoodsDetail:
  32955. get:
  32956. parameters:
  32957. - description: 商品ID
  32958. in: query
  32959. name: goodsID
  32960. required: true
  32961. type: integer
  32962. - description: 资金账户,主要用于获取预售商品购买上限
  32963. in: query
  32964. name: accountID
  32965. type: integer
  32966. produces:
  32967. - application/json
  32968. responses:
  32969. "200":
  32970. description: OK
  32971. schema:
  32972. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32973. "500":
  32974. description: Internal Server Error
  32975. schema:
  32976. $ref: '#/definitions/app.Response'
  32977. security:
  32978. - ApiKeyAuth: []
  32979. summary: 查询一级市场(预售)商品信息详情
  32980. tags:
  32981. - 定制【海商报业】
  32982. /HSBY/QueryHsbyPreGoodses:
  32983. get:
  32984. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32985. parameters:
  32986. - description: 页码
  32987. in: query
  32988. name: page
  32989. type: integer
  32990. - description: 每页条数
  32991. in: query
  32992. name: pagesize
  32993. type: integer
  32994. - description: 市场ID列表,格式:1,2,3
  32995. in: query
  32996. name: marketIDs
  32997. required: true
  32998. type: string
  32999. - description: 目的地(省)ID
  33000. in: query
  33001. name: descProvinceID
  33002. type: integer
  33003. - description: 目的地(市)ID
  33004. in: query
  33005. name: descCityID
  33006. type: integer
  33007. produces:
  33008. - application/json
  33009. responses:
  33010. "200":
  33011. description: OK
  33012. schema:
  33013. $ref: '#/definitions/models.HsbyPreGoods'
  33014. "500":
  33015. description: Internal Server Error
  33016. schema:
  33017. $ref: '#/definitions/app.Response'
  33018. security:
  33019. - ApiKeyAuth: []
  33020. summary: 查询新品上市商品列表(一级市场预售)
  33021. tags:
  33022. - 定制【海商报业】
  33023. /HSBY/QueryHsbySellMyDetails:
  33024. get:
  33025. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  33026. parameters:
  33027. - description: 页码
  33028. in: query
  33029. name: page
  33030. type: integer
  33031. - description: 每页条数
  33032. in: query
  33033. name: pagesize
  33034. type: integer
  33035. - description: 资金账户列表,格式:1,2,3
  33036. in: query
  33037. name: accountIDs
  33038. required: true
  33039. type: string
  33040. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  33041. in: query
  33042. name: orderType
  33043. type: integer
  33044. produces:
  33045. - application/json
  33046. responses:
  33047. "200":
  33048. description: OK
  33049. schema:
  33050. $ref: '#/definitions/models.HsbySellMyDetail'
  33051. "500":
  33052. description: Internal Server Error
  33053. schema:
  33054. $ref: '#/definitions/app.Response'
  33055. security:
  33056. - ApiKeyAuth: []
  33057. summary: 查询"我的闲置"单据信息
  33058. tags:
  33059. - 定制【海商报业】
  33060. /HSBY/QueryHsbyTopGoodses:
  33061. get:
  33062. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  33063. parameters:
  33064. - description: 页码
  33065. in: query
  33066. name: page
  33067. type: integer
  33068. - description: 每页条数
  33069. in: query
  33070. name: pagesize
  33071. type: integer
  33072. - description: 市场ID列表,格式:1,2,3
  33073. in: query
  33074. name: marketIDs
  33075. required: true
  33076. type: string
  33077. - description: 目的地(省)ID
  33078. in: query
  33079. name: descProvinceID
  33080. type: integer
  33081. - description: 目的地(市)ID
  33082. in: query
  33083. name: descCityID
  33084. type: integer
  33085. produces:
  33086. - application/json
  33087. responses:
  33088. "200":
  33089. description: OK
  33090. schema:
  33091. $ref: '#/definitions/models.HsbyTopGoods'
  33092. "500":
  33093. description: Internal Server Error
  33094. schema:
  33095. $ref: '#/definitions/app.Response'
  33096. security:
  33097. - ApiKeyAuth: []
  33098. summary: 查询热卖商品列表(二级市场挂牌点选)
  33099. tags:
  33100. - 定制【海商报业】
  33101. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33102. get:
  33103. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33104. parameters:
  33105. - description: 商品ID
  33106. in: query
  33107. name: goodsID
  33108. required: true
  33109. type: integer
  33110. produces:
  33111. - application/json
  33112. responses:
  33113. "200":
  33114. description: OK
  33115. schema:
  33116. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33117. "500":
  33118. description: Internal Server Error
  33119. schema:
  33120. $ref: '#/definitions/app.Response'
  33121. security:
  33122. - ApiKeyAuth: []
  33123. summary: 查询游客三级市场(商城)商品信息详情
  33124. tags:
  33125. - 定制【海商报业】
  33126. /HSBY/QueryHsbyVisitorMarketGoodses:
  33127. get:
  33128. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33129. parameters:
  33130. - description: 页码
  33131. in: query
  33132. name: page
  33133. type: integer
  33134. - description: 每页条数
  33135. in: query
  33136. name: pagesize
  33137. type: integer
  33138. - description: 市场ID列表,格式:1,2,3
  33139. in: query
  33140. name: marketIDs
  33141. required: true
  33142. type: string
  33143. - description: 类别ID
  33144. in: query
  33145. name: categoryID
  33146. type: integer
  33147. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33148. in: query
  33149. name: goodsIDs
  33150. type: string
  33151. produces:
  33152. - application/json
  33153. responses:
  33154. "200":
  33155. description: OK
  33156. schema:
  33157. $ref: '#/definitions/models.HsbyMarketGoods'
  33158. "500":
  33159. description: Internal Server Error
  33160. schema:
  33161. $ref: '#/definitions/app.Response'
  33162. security:
  33163. - ApiKeyAuth: []
  33164. summary: 查询游客特卖商品列表(三级商城)
  33165. tags:
  33166. - 定制【海商报业】
  33167. /HSBY/QueryMyCollectionOrders:
  33168. get:
  33169. parameters:
  33170. - description: 页码
  33171. in: query
  33172. name: page
  33173. type: integer
  33174. - description: 每页条数
  33175. in: query
  33176. name: pagesize
  33177. type: integer
  33178. - description: 资金账户,格式:1,2,3
  33179. in: query
  33180. name: accountIDs
  33181. required: true
  33182. type: string
  33183. produces:
  33184. - application/json
  33185. responses:
  33186. "200":
  33187. description: OK
  33188. schema:
  33189. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33190. "500":
  33191. description: Internal Server Error
  33192. schema:
  33193. $ref: '#/definitions/app.Response'
  33194. security:
  33195. - ApiKeyAuth: []
  33196. summary: 我的闲置中收款信息查询
  33197. tags:
  33198. - 定制【海商报业】
  33199. /HSBY/QueryMyCouponHolds:
  33200. get:
  33201. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33202. parameters:
  33203. - description: 资金账户列表,格式:1,2,3
  33204. in: query
  33205. name: accountIDs
  33206. required: true
  33207. type: string
  33208. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33209. in: query
  33210. name: holdStatus
  33211. type: string
  33212. produces:
  33213. - application/json
  33214. responses:
  33215. "200":
  33216. description: OK
  33217. schema:
  33218. $ref: '#/definitions/models.MyCouponHold'
  33219. "500":
  33220. description: Internal Server Error
  33221. schema:
  33222. $ref: '#/definitions/app.Response'
  33223. security:
  33224. - ApiKeyAuth: []
  33225. summary: 我的优惠卷持仓查询
  33226. tags:
  33227. - 定制【海商报业】
  33228. /HSBY/QueryMyCoupons:
  33229. get:
  33230. parameters:
  33231. - description: 资金账户列表,格式:1,2,3
  33232. in: query
  33233. name: accountIDs
  33234. required: true
  33235. type: string
  33236. - description: 商品ID, 一般与sellUserID配套传入
  33237. in: query
  33238. name: goodsID
  33239. type: integer
  33240. - description: 卖方UserID
  33241. in: query
  33242. name: sellUserID
  33243. type: integer
  33244. produces:
  33245. - application/json
  33246. responses:
  33247. "200":
  33248. description: OK
  33249. schema:
  33250. $ref: '#/definitions/models.MyCoupon'
  33251. "500":
  33252. description: Internal Server Error
  33253. schema:
  33254. $ref: '#/definitions/app.Response'
  33255. security:
  33256. - ApiKeyAuth: []
  33257. summary: 我的优惠卷查询
  33258. tags:
  33259. - 定制【海商报业】
  33260. /HSBY/QueryMyPayOrders:
  33261. get:
  33262. parameters:
  33263. - description: 页码
  33264. in: query
  33265. name: page
  33266. type: integer
  33267. - description: 每页条数
  33268. in: query
  33269. name: pagesize
  33270. type: integer
  33271. - description: 资金账户列表,格式:1,2,3
  33272. in: query
  33273. name: accountIDs
  33274. required: true
  33275. type: string
  33276. - description: 买方委托单号
  33277. in: query
  33278. name: buyOrderID
  33279. type: integer
  33280. - description: 卖方委托单号
  33281. in: query
  33282. name: sellOrderID
  33283. type: integer
  33284. produces:
  33285. - application/json
  33286. responses:
  33287. "200":
  33288. description: OK
  33289. schema:
  33290. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33291. "500":
  33292. description: Internal Server Error
  33293. schema:
  33294. $ref: '#/definitions/app.Response'
  33295. security:
  33296. - ApiKeyAuth: []
  33297. summary: 获取我的订单中待付款信息
  33298. tags:
  33299. - 定制【海商报业】
  33300. /HSBY/QueryMyUsedCoupon:
  33301. get:
  33302. parameters:
  33303. - description: 资金账户列表,格式:1,2,3
  33304. in: query
  33305. name: accountIDs
  33306. required: true
  33307. type: string
  33308. produces:
  33309. - application/json
  33310. responses:
  33311. "200":
  33312. description: OK
  33313. schema:
  33314. $ref: '#/definitions/models.MyUsedCoupon'
  33315. "500":
  33316. description: Internal Server Error
  33317. schema:
  33318. $ref: '#/definitions/app.Response'
  33319. security:
  33320. - ApiKeyAuth: []
  33321. summary: 已使用优惠卷查询
  33322. tags:
  33323. - 定制【海商报业】
  33324. /HSBY/QueryProvincesAndCities:
  33325. get:
  33326. description: 查询结果只包括二级市场商品已关连的省市信息。
  33327. parameters:
  33328. - description: 省ID
  33329. in: query
  33330. name: provinceID
  33331. type: integer
  33332. produces:
  33333. - application/json
  33334. responses:
  33335. "200":
  33336. description: OK
  33337. schema:
  33338. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33339. "500":
  33340. description: Internal Server Error
  33341. schema:
  33342. $ref: '#/definitions/app.Response'
  33343. security:
  33344. - ApiKeyAuth: []
  33345. summary: 查询省市信息(不包括区)
  33346. tags:
  33347. - 定制【海商报业】
  33348. /HSBY/SetHsbyMyPackagesStatus:
  33349. post:
  33350. parameters:
  33351. - description: 提货单号
  33352. in: query
  33353. name: takeOrderID
  33354. required: true
  33355. type: string
  33356. - description: 资金账号
  33357. in: query
  33358. name: accountID
  33359. required: true
  33360. type: integer
  33361. produces:
  33362. - application/json
  33363. responses:
  33364. "200":
  33365. description: OK
  33366. schema:
  33367. $ref: '#/definitions/app.Response'
  33368. "500":
  33369. description: Internal Server Error
  33370. schema:
  33371. $ref: '#/definitions/app.Response'
  33372. security:
  33373. - ApiKeyAuth: []
  33374. summary: 设置我的包裹已收货状态
  33375. tags:
  33376. - 定制【海商报业】
  33377. /Market/GetAllExExchanges:
  33378. get:
  33379. produces:
  33380. - application/json
  33381. responses:
  33382. "200":
  33383. description: OK
  33384. schema:
  33385. $ref: '#/definitions/models.Goods'
  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/QueryGoodsesByLoginID:
  33396. get:
  33397. parameters:
  33398. - description: 登录账号
  33399. in: query
  33400. name: loginID
  33401. required: true
  33402. type: integer
  33403. - description: 市场ID列表,格式:1,2,3
  33404. in: query
  33405. name: marketIDs
  33406. type: string
  33407. produces:
  33408. - application/json
  33409. responses:
  33410. "200":
  33411. description: OK
  33412. schema:
  33413. $ref: '#/definitions/models.Goods'
  33414. "500":
  33415. description: Internal Server Error
  33416. schema:
  33417. $ref: '#/definitions/app.Response'
  33418. security:
  33419. - ApiKeyAuth: []
  33420. summary: 获取登录账号有权限的商品信息
  33421. tags:
  33422. - 通用市场
  33423. /Market/QueryMarketRun:
  33424. get:
  33425. parameters:
  33426. - description: 市场ID,不传返回所有
  33427. in: query
  33428. name: marketID
  33429. type: integer
  33430. produces:
  33431. - application/json
  33432. responses:
  33433. "200":
  33434. description: OK
  33435. schema:
  33436. $ref: '#/definitions/models.Marketrun'
  33437. "500":
  33438. description: Internal Server Error
  33439. schema:
  33440. $ref: '#/definitions/app.Response'
  33441. security:
  33442. - ApiKeyAuth: []
  33443. summary: 查询市场运行信息
  33444. tags:
  33445. - 通用市场
  33446. /Market/QueryMarketsByLoginID:
  33447. get:
  33448. parameters:
  33449. - description: 登录账号
  33450. in: query
  33451. name: loginID
  33452. required: true
  33453. type: integer
  33454. produces:
  33455. - application/json
  33456. responses:
  33457. "200":
  33458. description: OK
  33459. schema:
  33460. $ref: '#/definitions/models.Market'
  33461. "500":
  33462. description: Internal Server Error
  33463. schema:
  33464. $ref: '#/definitions/app.Response'
  33465. security:
  33466. - ApiKeyAuth: []
  33467. summary: 获取登录账号有权限的市场信息
  33468. tags:
  33469. - 通用市场
  33470. /Order/QueryHisTradeDetail:
  33471. get:
  33472. parameters:
  33473. - description: 资金账户 - 格式:1,2,3
  33474. in: query
  33475. name: accountID
  33476. required: true
  33477. type: string
  33478. - description: 成交单号
  33479. in: query
  33480. name: tradeID
  33481. type: integer
  33482. - description: 委托单号
  33483. in: query
  33484. name: orderID
  33485. type: integer
  33486. - description: 商品ID
  33487. in: query
  33488. name: goodsID
  33489. type: integer
  33490. - description: 交易模式 - 格式:1,2,3
  33491. in: query
  33492. name: tradeMode
  33493. type: string
  33494. - description: 委托单据类型
  33495. in: query
  33496. name: buildType
  33497. type: integer
  33498. - description: 成交类别 - 格式:1,2,3
  33499. in: query
  33500. name: tradeType
  33501. type: string
  33502. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33503. in: query
  33504. name: startDate
  33505. type: string
  33506. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33507. in: query
  33508. name: endDate
  33509. type: string
  33510. produces:
  33511. - application/json
  33512. responses:
  33513. "200":
  33514. description: OK
  33515. schema:
  33516. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33517. "500":
  33518. description: Internal Server Error
  33519. schema:
  33520. $ref: '#/definitions/app.Response'
  33521. security:
  33522. - ApiKeyAuth: []
  33523. summary: 历史成交单查询(合约市场)
  33524. tags:
  33525. - 通用单据
  33526. /Order/QueryHisTradeOrderDetail:
  33527. get:
  33528. parameters:
  33529. - description: 资金账户 - 格式:1,2,3
  33530. in: query
  33531. name: accountID
  33532. required: true
  33533. type: string
  33534. - description: 交易模式 - 格式:1,2,3
  33535. in: query
  33536. name: tradeMode
  33537. type: string
  33538. - description: 委托状态 - 格式:1,2,3
  33539. in: query
  33540. name: orderStatus
  33541. type: string
  33542. - description: 委托单号
  33543. in: query
  33544. name: orderID
  33545. type: integer
  33546. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33547. in: query
  33548. name: startDate
  33549. type: string
  33550. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33551. in: query
  33552. name: endDate
  33553. type: string
  33554. produces:
  33555. - application/json
  33556. responses:
  33557. "200":
  33558. description: OK
  33559. schema:
  33560. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33561. "500":
  33562. description: Internal Server Error
  33563. schema:
  33564. $ref: '#/definitions/app.Response'
  33565. security:
  33566. - ApiKeyAuth: []
  33567. summary: 历史委托单查询请求(合约市场)
  33568. tags:
  33569. - 通用单据
  33570. /Order/QueryTradeDetail:
  33571. get:
  33572. parameters:
  33573. - description: 资金账户 - 格式:1,2,3
  33574. in: query
  33575. name: accountID
  33576. required: true
  33577. type: string
  33578. - description: 成交单号
  33579. in: query
  33580. name: tradeID
  33581. type: integer
  33582. - description: 委托单号
  33583. in: query
  33584. name: orderID
  33585. type: integer
  33586. - description: 交易模式 - 格式:1,2,3
  33587. in: query
  33588. name: tradeMode
  33589. type: string
  33590. - description: 委托单据类型
  33591. in: query
  33592. name: buildType
  33593. type: integer
  33594. - description: 成交类别 - 格式:1,2,3
  33595. in: query
  33596. name: tradeType
  33597. type: string
  33598. - description: 商品ID
  33599. in: query
  33600. name: goodsID
  33601. type: integer
  33602. produces:
  33603. - application/json
  33604. responses:
  33605. "200":
  33606. description: OK
  33607. schema:
  33608. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33609. "500":
  33610. description: Internal Server Error
  33611. schema:
  33612. $ref: '#/definitions/app.Response'
  33613. security:
  33614. - ApiKeyAuth: []
  33615. summary: 成交单查询(合约市场)
  33616. tags:
  33617. - 通用单据
  33618. /Order/QueryTradeHolderDetail:
  33619. get:
  33620. parameters:
  33621. - description: 用户id
  33622. in: query
  33623. name: userid
  33624. type: integer
  33625. - description: 资金账号, 格式 1,2,3
  33626. in: query
  33627. name: accids
  33628. type: string
  33629. - description: 交易模式, 格式 1,2,3
  33630. in: query
  33631. name: trademodes
  33632. type: string
  33633. - description: 市场id, 格式 1,2,3
  33634. in: query
  33635. name: marketids
  33636. type: string
  33637. - description: 商品id
  33638. in: query
  33639. name: goodsid
  33640. type: integer
  33641. - description: 买卖方向 0-买 1-卖
  33642. in: query
  33643. name: buyorsell
  33644. type: integer
  33645. produces:
  33646. - application/json
  33647. responses:
  33648. "200":
  33649. description: OK
  33650. schema:
  33651. items:
  33652. $ref: '#/definitions/models.TradeHolderDetail'
  33653. type: array
  33654. "500":
  33655. description: Internal Server Error
  33656. schema:
  33657. $ref: '#/definitions/app.Response'
  33658. security:
  33659. - ApiKeyAuth: []
  33660. summary: 查询持仓明细
  33661. tags:
  33662. - 通用单据
  33663. /Order/QueryTradeOrderDetail:
  33664. get:
  33665. parameters:
  33666. - description: 资金账户 - 格式:1,2,3
  33667. in: query
  33668. name: accountID
  33669. required: true
  33670. type: string
  33671. - description: 交易模式 - 格式:1,2,3
  33672. in: query
  33673. name: tradeMode
  33674. type: string
  33675. - description: 委托状态 - 格式:1,2,3
  33676. in: query
  33677. name: orderStatus
  33678. type: string
  33679. - description: 委托单号
  33680. in: query
  33681. name: orderID
  33682. type: integer
  33683. produces:
  33684. - application/json
  33685. responses:
  33686. "200":
  33687. description: OK
  33688. schema:
  33689. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33690. "500":
  33691. description: Internal Server Error
  33692. schema:
  33693. $ref: '#/definitions/app.Response'
  33694. security:
  33695. - ApiKeyAuth: []
  33696. summary: 委托单查询请求(合约市场)
  33697. tags:
  33698. - 通用单据
  33699. /Order/QueryTradePosition:
  33700. get:
  33701. parameters:
  33702. - description: 资金账户 - 格式:1,2,3
  33703. in: query
  33704. name: accountID
  33705. required: true
  33706. type: string
  33707. - description: 交易模式 - 格式:1,2,3
  33708. in: query
  33709. name: tradeMode
  33710. type: string
  33711. produces:
  33712. - application/json
  33713. responses:
  33714. "200":
  33715. description: OK
  33716. schema:
  33717. $ref: '#/definitions/order.QueryTradePositionRsp'
  33718. "500":
  33719. description: Internal Server Error
  33720. schema:
  33721. $ref: '#/definitions/app.Response'
  33722. security:
  33723. - ApiKeyAuth: []
  33724. summary: 持仓汇总查询(合约市场)
  33725. tags:
  33726. - 通用单据
  33727. /Qhj/QueryAccountInOutApply:
  33728. get:
  33729. parameters:
  33730. - description: 用户ID
  33731. in: query
  33732. name: userid
  33733. required: true
  33734. type: integer
  33735. - description: 申请起始日期(格式yyyymmdd)
  33736. in: query
  33737. name: begindate
  33738. type: string
  33739. - description: 申请截止日期(格式yyyymmdd)
  33740. in: query
  33741. name: enddate
  33742. type: string
  33743. - description: 模糊搜索名称
  33744. in: query
  33745. name: likename
  33746. type: string
  33747. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33748. in: query
  33749. name: applystatus
  33750. type: integer
  33751. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33752. in: query
  33753. name: querytype
  33754. type: integer
  33755. produces:
  33756. - application/json
  33757. responses:
  33758. "200":
  33759. description: OK
  33760. schema:
  33761. items:
  33762. $ref: '#/definitions/models.QhjAccountOutInApply'
  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/QueryAreaFinanceConfig:
  33774. get:
  33775. parameters:
  33776. - description: 机构用户ID 其他做市关系,都设置为 1
  33777. in: query
  33778. name: userid
  33779. type: integer
  33780. produces:
  33781. - application/json
  33782. responses:
  33783. "200":
  33784. description: OK
  33785. schema:
  33786. items:
  33787. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33788. type: array
  33789. "500":
  33790. description: Internal Server Error
  33791. schema:
  33792. $ref: '#/definitions/app.Response'
  33793. security:
  33794. - ApiKeyAuth: []
  33795. summary: 查询企业配置表
  33796. tags:
  33797. - 大连千海金
  33798. /Qhj/QueryBankAccountSign:
  33799. get:
  33800. parameters:
  33801. - description: 用户ID
  33802. in: query
  33803. name: userid
  33804. required: true
  33805. type: integer
  33806. produces:
  33807. - application/json
  33808. responses:
  33809. "200":
  33810. description: OK
  33811. schema:
  33812. items:
  33813. $ref: '#/definitions/models.QhjBankAccountSign'
  33814. type: array
  33815. "500":
  33816. description: Internal Server Error
  33817. schema:
  33818. $ref: '#/definitions/app.Response'
  33819. security:
  33820. - ApiKeyAuth: []
  33821. summary: 查询签约银行信息(提现账户管理)
  33822. tags:
  33823. - 大连千海金
  33824. /Qhj/QueryBankInfo:
  33825. get:
  33826. produces:
  33827. - application/json
  33828. responses:
  33829. "200":
  33830. description: OK
  33831. schema:
  33832. items:
  33833. $ref: '#/definitions/models.QhjBankInfo'
  33834. type: array
  33835. "500":
  33836. description: Internal Server Error
  33837. schema:
  33838. $ref: '#/definitions/app.Response'
  33839. security:
  33840. - ApiKeyAuth: []
  33841. summary: 查询开户行
  33842. tags:
  33843. - 大连千海金
  33844. /Qhj/QueryBrokerApply:
  33845. get:
  33846. parameters:
  33847. - description: 所属机构ID
  33848. in: query
  33849. name: userid
  33850. type: integer
  33851. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33852. in: query
  33853. name: filterstatus
  33854. type: string
  33855. produces:
  33856. - application/json
  33857. responses:
  33858. "200":
  33859. description: OK
  33860. schema:
  33861. items:
  33862. $ref: '#/definitions/models.QhjBrokerApply'
  33863. type: array
  33864. "500":
  33865. description: Internal Server Error
  33866. schema:
  33867. $ref: '#/definitions/app.Response'
  33868. security:
  33869. - ApiKeyAuth: []
  33870. summary: 查询经纪人申请
  33871. tags:
  33872. - 大连千海金
  33873. /Qhj/QueryBrokerApplyEx:
  33874. get:
  33875. parameters:
  33876. - description: 所属机构ID
  33877. in: query
  33878. name: userid
  33879. type: integer
  33880. produces:
  33881. - application/json
  33882. responses:
  33883. "200":
  33884. description: OK
  33885. schema:
  33886. items:
  33887. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33888. type: array
  33889. "500":
  33890. description: Internal Server Error
  33891. schema:
  33892. $ref: '#/definitions/app.Response'
  33893. security:
  33894. - ApiKeyAuth: []
  33895. summary: 查询经纪人信息和申请记录
  33896. tags:
  33897. - 大连千海金
  33898. /Qhj/QueryBrokerRewardLog:
  33899. get:
  33900. parameters:
  33901. - description: 用户ID
  33902. in: query
  33903. name: userid
  33904. required: true
  33905. type: integer
  33906. - description: 开始交易日(yyyymmdd)
  33907. in: query
  33908. name: begindate
  33909. type: string
  33910. - description: 结束交易日(yyyymmdd)
  33911. in: query
  33912. name: enddate
  33913. type: string
  33914. produces:
  33915. - application/json
  33916. responses:
  33917. "200":
  33918. description: OK
  33919. schema:
  33920. items:
  33921. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33922. type: array
  33923. "500":
  33924. description: Internal Server Error
  33925. schema:
  33926. $ref: '#/definitions/app.Response'
  33927. security:
  33928. - ApiKeyAuth: []
  33929. summary: 查询奖励流水(我的奖励)
  33930. tags:
  33931. - 大连千海金
  33932. /Qhj/QueryContract:
  33933. get:
  33934. parameters:
  33935. - description: 用户ID
  33936. in: query
  33937. name: userid
  33938. type: integer
  33939. - description: scf合同id
  33940. in: query
  33941. name: scfcontractid
  33942. type: integer
  33943. produces:
  33944. - application/json
  33945. responses:
  33946. "200":
  33947. description: OK
  33948. schema:
  33949. items:
  33950. $ref: '#/definitions/models.QhjContract'
  33951. type: array
  33952. "500":
  33953. description: Internal Server Error
  33954. schema:
  33955. $ref: '#/definitions/app.Response'
  33956. security:
  33957. - ApiKeyAuth: []
  33958. summary: 查询融资明细(合同)
  33959. tags:
  33960. - 大连千海金
  33961. /Qhj/QueryContractLog:
  33962. get:
  33963. parameters:
  33964. - description: scf合同id
  33965. in: query
  33966. name: scfcontractid
  33967. required: true
  33968. type: integer
  33969. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33970. in: query
  33971. name: amounttype
  33972. type: string
  33973. produces:
  33974. - application/json
  33975. responses:
  33976. "200":
  33977. description: OK
  33978. schema:
  33979. items:
  33980. $ref: '#/definitions/models.QhjContractLog'
  33981. type: array
  33982. "500":
  33983. description: Internal Server Error
  33984. schema:
  33985. $ref: '#/definitions/app.Response'
  33986. security:
  33987. - ApiKeyAuth: []
  33988. summary: 查询融资明细流水(融资明细详情页中的流水)
  33989. tags:
  33990. - 大连千海金
  33991. /Qhj/QueryCusBankSignBank:
  33992. get:
  33993. produces:
  33994. - application/json
  33995. responses:
  33996. "200":
  33997. description: OK
  33998. schema:
  33999. items:
  34000. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  34001. type: array
  34002. "500":
  34003. description: Internal Server Error
  34004. schema:
  34005. $ref: '#/definitions/app.Response'
  34006. security:
  34007. - ApiKeyAuth: []
  34008. summary: 查询托管银行
  34009. tags:
  34010. - 大连千海金
  34011. /Qhj/QueryCustomerInfo:
  34012. get:
  34013. parameters:
  34014. - description: 用户ID
  34015. in: query
  34016. name: userid
  34017. required: true
  34018. type: integer
  34019. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34020. in: query
  34021. name: querytype
  34022. required: true
  34023. type: integer
  34024. - description: 客户类型 1-个人 2-企业
  34025. in: query
  34026. name: userinfotype
  34027. type: integer
  34028. - description: 客户名称(模糊匹配)
  34029. in: query
  34030. name: customername
  34031. type: string
  34032. - description: 昵称(模糊匹配)
  34033. in: query
  34034. name: nickname
  34035. type: string
  34036. - description: 是否包含子级 1-包含
  34037. in: query
  34038. name: includesub
  34039. type: integer
  34040. produces:
  34041. - application/json
  34042. responses:
  34043. "200":
  34044. description: OK
  34045. schema:
  34046. items:
  34047. $ref: '#/definitions/models.QhjCustomer'
  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/QueryGoodsEx:
  34059. get:
  34060. parameters:
  34061. - description: 商品id
  34062. in: query
  34063. name: goodsid
  34064. type: integer
  34065. produces:
  34066. - application/json
  34067. responses:
  34068. "200":
  34069. description: OK
  34070. schema:
  34071. items:
  34072. $ref: '#/definitions/models.Qhjgoodsex'
  34073. type: array
  34074. "500":
  34075. description: Internal Server Error
  34076. schema:
  34077. $ref: '#/definitions/app.Response'
  34078. security:
  34079. - ApiKeyAuth: []
  34080. summary: 交易商品扩展表
  34081. tags:
  34082. - 大连千海金
  34083. /Qhj/QueryMyTeam:
  34084. get:
  34085. parameters:
  34086. - description: 用户ID
  34087. in: query
  34088. name: userid
  34089. required: true
  34090. type: integer
  34091. produces:
  34092. - application/json
  34093. responses:
  34094. "200":
  34095. description: OK
  34096. schema:
  34097. items:
  34098. $ref: '#/definitions/models.QhjMyTeamEx'
  34099. type: array
  34100. "500":
  34101. description: Internal Server Error
  34102. schema:
  34103. $ref: '#/definitions/app.Response'
  34104. security:
  34105. - ApiKeyAuth: []
  34106. summary: 查询我的团队
  34107. tags:
  34108. - 大连千海金
  34109. /Qhj/QueryMyTeamOrder:
  34110. get:
  34111. parameters:
  34112. - description: 页码
  34113. in: query
  34114. name: page
  34115. type: integer
  34116. - description: 每页条数
  34117. in: query
  34118. name: pagesize
  34119. type: integer
  34120. - description: 用户ID
  34121. in: query
  34122. name: userid
  34123. required: true
  34124. type: integer
  34125. - description: 交易模式
  34126. in: query
  34127. name: trademode
  34128. type: integer
  34129. - description: 名称(模糊搜索账户)
  34130. in: query
  34131. name: filtername
  34132. type: string
  34133. produces:
  34134. - application/json
  34135. responses:
  34136. "200":
  34137. description: OK
  34138. schema:
  34139. items:
  34140. $ref: '#/definitions/models.QhjTeamOrder'
  34141. type: array
  34142. "500":
  34143. description: Internal Server Error
  34144. schema:
  34145. $ref: '#/definitions/app.Response'
  34146. security:
  34147. - ApiKeyAuth: []
  34148. summary: 查询团队订单(我的团队/团队订单)
  34149. tags:
  34150. - 大连千海金
  34151. /Qhj/QueryParentAreaList:
  34152. get:
  34153. parameters:
  34154. - description: 用户ID
  34155. in: query
  34156. name: userid
  34157. required: true
  34158. type: integer
  34159. produces:
  34160. - application/json
  34161. responses:
  34162. "200":
  34163. description: OK
  34164. schema:
  34165. items:
  34166. $ref: '#/definitions/models.QhjParentAreaList'
  34167. type: array
  34168. "500":
  34169. description: Internal Server Error
  34170. schema:
  34171. $ref: '#/definitions/app.Response'
  34172. security:
  34173. - ApiKeyAuth: []
  34174. summary: 查询所属机构列表
  34175. tags:
  34176. - 大连千海金
  34177. /Qhj/QueryPayOrder:
  34178. get:
  34179. parameters:
  34180. - description: 资金账号id
  34181. in: query
  34182. name: accountid
  34183. required: true
  34184. type: integer
  34185. - description: 成交单号
  34186. in: query
  34187. name: tradeid
  34188. type: integer
  34189. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34190. in: query
  34191. name: payflag
  34192. type: string
  34193. produces:
  34194. - application/json
  34195. responses:
  34196. "200":
  34197. description: OK
  34198. schema:
  34199. items:
  34200. $ref: '#/definitions/models.QhjPayOrder'
  34201. type: array
  34202. "500":
  34203. description: Internal Server Error
  34204. schema:
  34205. $ref: '#/definitions/app.Response'
  34206. security:
  34207. - ApiKeyAuth: []
  34208. summary: 查询待付款单据
  34209. tags:
  34210. - 大连千海金
  34211. /Qhj/QueryPickArea:
  34212. get:
  34213. parameters:
  34214. - description: 用户ID
  34215. in: query
  34216. name: userid
  34217. type: integer
  34218. produces:
  34219. - application/json
  34220. responses:
  34221. "200":
  34222. description: OK
  34223. schema:
  34224. items:
  34225. $ref: '#/definitions/models.QhjPickArea'
  34226. type: array
  34227. "500":
  34228. description: Internal Server Error
  34229. schema:
  34230. $ref: '#/definitions/app.Response'
  34231. security:
  34232. - ApiKeyAuth: []
  34233. summary: 查询提货门店
  34234. tags:
  34235. - 大连千海金
  34236. /Qhj/QueryPickGoods:
  34237. get:
  34238. parameters:
  34239. - description: 交易商品id
  34240. in: query
  34241. name: goodsid
  34242. required: true
  34243. type: integer
  34244. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34245. in: query
  34246. name: status
  34247. type: string
  34248. produces:
  34249. - application/json
  34250. responses:
  34251. "200":
  34252. description: OK
  34253. schema:
  34254. items:
  34255. $ref: '#/definitions/models.QhjPickGoods'
  34256. type: array
  34257. "500":
  34258. description: Internal Server Error
  34259. schema:
  34260. $ref: '#/definitions/app.Response'
  34261. security:
  34262. - ApiKeyAuth: []
  34263. summary: 查询提货商品
  34264. tags:
  34265. - 大连千海金
  34266. /Qhj/QueryRSTriggerLog:
  34267. get:
  34268. parameters:
  34269. - description: 用户ID
  34270. in: query
  34271. name: userid
  34272. type: integer
  34273. - description: 定投策略id
  34274. in: query
  34275. name: regularlystrategyid
  34276. type: integer
  34277. - description: 商品id
  34278. in: query
  34279. name: goodsid
  34280. type: integer
  34281. - description: 开始交易日(yyyymmdd)
  34282. in: query
  34283. name: begindate
  34284. type: string
  34285. - description: 结束交易日(yyyymmdd)
  34286. in: query
  34287. name: enddate
  34288. type: string
  34289. - description: 名称(模糊搜索账户)
  34290. in: query
  34291. name: filtername
  34292. type: string
  34293. produces:
  34294. - application/json
  34295. responses:
  34296. "200":
  34297. description: OK
  34298. schema:
  34299. items:
  34300. $ref: '#/definitions/models.QhjRSTriggerLog'
  34301. type: array
  34302. "500":
  34303. description: Internal Server Error
  34304. schema:
  34305. $ref: '#/definitions/app.Response'
  34306. security:
  34307. - ApiKeyAuth: []
  34308. summary: 查询定投记录(定投管理/详情/定投记录)
  34309. tags:
  34310. - 大连千海金
  34311. /Qhj/QueryRStrategy:
  34312. get:
  34313. parameters:
  34314. - description: 用户ID
  34315. in: query
  34316. name: userid
  34317. type: integer
  34318. - description: 商品id
  34319. in: query
  34320. name: goodsid
  34321. type: integer
  34322. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34323. in: query
  34324. name: status
  34325. type: string
  34326. - description: 名称(模糊搜索账户)
  34327. in: query
  34328. name: filtername
  34329. type: string
  34330. produces:
  34331. - application/json
  34332. responses:
  34333. "200":
  34334. description: OK
  34335. schema:
  34336. items:
  34337. $ref: '#/definitions/models.QhjRStrategy'
  34338. type: array
  34339. "500":
  34340. description: Internal Server Error
  34341. schema:
  34342. $ref: '#/definitions/app.Response'
  34343. security:
  34344. - ApiKeyAuth: []
  34345. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34346. tags:
  34347. - 大连千海金
  34348. /Qhj/QueryReckonPriceLog:
  34349. get:
  34350. parameters:
  34351. - description: 商品ID
  34352. in: query
  34353. name: goodsid
  34354. type: integer
  34355. - description: 交易日 格式(yyyymmdd)
  34356. in: query
  34357. name: tradedate
  34358. type: string
  34359. produces:
  34360. - application/json
  34361. responses:
  34362. "200":
  34363. description: OK
  34364. schema:
  34365. items:
  34366. $ref: '#/definitions/models.QhjReckonPriceLog'
  34367. type: array
  34368. "500":
  34369. description: Internal Server Error
  34370. schema:
  34371. $ref: '#/definitions/app.Response'
  34372. security:
  34373. - ApiKeyAuth: []
  34374. summary: 查询定投价(结算价)
  34375. tags:
  34376. - 大连千海金
  34377. /Qhj/QueryScoreLog:
  34378. get:
  34379. parameters:
  34380. - description: 用户ID
  34381. in: query
  34382. name: userid
  34383. required: true
  34384. type: integer
  34385. - description: 开始交易日(yyyymmdd)
  34386. in: query
  34387. name: begindate
  34388. type: string
  34389. - description: 结束交易日(yyyymmdd)
  34390. in: query
  34391. name: enddate
  34392. type: string
  34393. - description: 最近多少条
  34394. in: query
  34395. name: lastnum
  34396. type: integer
  34397. produces:
  34398. - application/json
  34399. responses:
  34400. "200":
  34401. description: OK
  34402. schema:
  34403. items:
  34404. $ref: '#/definitions/models.QhjScoreLog'
  34405. type: array
  34406. "500":
  34407. description: Internal Server Error
  34408. schema:
  34409. $ref: '#/definitions/app.Response'
  34410. security:
  34411. - ApiKeyAuth: []
  34412. summary: 查询积分流水(我的积分)
  34413. tags:
  34414. - 大连千海金
  34415. /Qhj/QuerySiteColumnDetail:
  34416. get:
  34417. parameters:
  34418. - description: 用户ID
  34419. in: query
  34420. name: userid
  34421. required: true
  34422. type: integer
  34423. produces:
  34424. - application/json
  34425. responses:
  34426. "200":
  34427. description: OK
  34428. schema:
  34429. items:
  34430. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34431. type: array
  34432. "500":
  34433. description: Internal Server Error
  34434. schema:
  34435. $ref: '#/definitions/app.Response'
  34436. security:
  34437. - ApiKeyAuth: []
  34438. summary: 查询资讯
  34439. tags:
  34440. - 大连千海金
  34441. /Qhj/QueryTradeGoodsPickup:
  34442. get:
  34443. parameters:
  34444. - description: 用户ID
  34445. in: query
  34446. name: userid
  34447. required: true
  34448. type: integer
  34449. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34450. 7:已拒绝 8:已撤销
  34451. in: query
  34452. name: takeorderstatus
  34453. type: integer
  34454. produces:
  34455. - application/json
  34456. responses:
  34457. "200":
  34458. description: OK
  34459. schema:
  34460. items:
  34461. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34462. type: array
  34463. "500":
  34464. description: Internal Server Error
  34465. schema:
  34466. $ref: '#/definitions/app.Response'
  34467. security:
  34468. - ApiKeyAuth: []
  34469. summary: 查询提货
  34470. tags:
  34471. - 大连千海金
  34472. /Qhj/QueryUserCollectConfig:
  34473. get:
  34474. parameters:
  34475. - description: 用户ID
  34476. in: query
  34477. name: userid
  34478. required: true
  34479. type: integer
  34480. produces:
  34481. - application/json
  34482. responses:
  34483. "200":
  34484. description: OK
  34485. schema:
  34486. items:
  34487. $ref: '#/definitions/models.UserCollectConfig'
  34488. type: array
  34489. "500":
  34490. description: Internal Server Error
  34491. schema:
  34492. $ref: '#/definitions/app.Response'
  34493. security:
  34494. - ApiKeyAuth: []
  34495. summary: 查询提现账户设置
  34496. tags:
  34497. - 大连千海金
  34498. /Qhj/QueryUserReceiveInfo:
  34499. get:
  34500. parameters:
  34501. - description: 用户ID
  34502. in: query
  34503. name: userid
  34504. required: true
  34505. type: integer
  34506. produces:
  34507. - application/json
  34508. responses:
  34509. "200":
  34510. description: OK
  34511. schema:
  34512. items:
  34513. $ref: '#/definitions/models.UserReceiveInfo'
  34514. type: array
  34515. "500":
  34516. description: Internal Server Error
  34517. schema:
  34518. $ref: '#/definitions/app.Response'
  34519. security:
  34520. - ApiKeyAuth: []
  34521. summary: 查询收货地址信息
  34522. tags:
  34523. - 大连千海金
  34524. /QhjMgr/QueryAccountInOutApply:
  34525. get:
  34526. parameters:
  34527. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34528. in: query
  34529. name: querytype
  34530. required: true
  34531. type: integer
  34532. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34533. in: query
  34534. name: applystatus
  34535. type: integer
  34536. - description: 申请起始日期(格式yyyymmdd)
  34537. in: query
  34538. name: begindate
  34539. type: string
  34540. - description: 申请截止日期(格式yyyymmdd)
  34541. in: query
  34542. name: enddate
  34543. type: string
  34544. - description: 模糊搜索名称
  34545. in: query
  34546. name: likename
  34547. type: string
  34548. produces:
  34549. - application/json
  34550. responses:
  34551. "200":
  34552. description: OK
  34553. schema:
  34554. items:
  34555. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34556. type: array
  34557. "500":
  34558. description: Internal Server Error
  34559. schema:
  34560. $ref: '#/definitions/app.Response'
  34561. security:
  34562. - ApiKeyAuth: []
  34563. summary: 查询充值提现
  34564. tags:
  34565. - 大连千海金(PCWeb)
  34566. /QhjMgr/QueryBrokerApply:
  34567. get:
  34568. parameters:
  34569. - description: 所属机构ID
  34570. in: query
  34571. name: userid
  34572. type: integer
  34573. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34574. in: query
  34575. name: filterstatus
  34576. type: string
  34577. - description: 名称(模糊匹配)
  34578. in: query
  34579. name: filtername
  34580. type: string
  34581. - description: 是否包含子级 1-包含
  34582. in: query
  34583. name: includesub
  34584. type: integer
  34585. produces:
  34586. - application/json
  34587. responses:
  34588. "200":
  34589. description: OK
  34590. schema:
  34591. items:
  34592. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34593. type: array
  34594. "500":
  34595. description: Internal Server Error
  34596. schema:
  34597. $ref: '#/definitions/app.Response'
  34598. security:
  34599. - ApiKeyAuth: []
  34600. summary: 查询经纪人申请
  34601. tags:
  34602. - 大连千海金(PCWeb)
  34603. /QhjMgr/QueryBrokerRewardReport:
  34604. get:
  34605. parameters:
  34606. - description: 所属机构ID
  34607. in: query
  34608. name: userid
  34609. required: true
  34610. type: integer
  34611. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34612. in: query
  34613. name: cycletype
  34614. required: true
  34615. type: integer
  34616. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34617. in: query
  34618. name: cycletime
  34619. required: true
  34620. type: string
  34621. - description: 名称(模糊匹配)
  34622. in: query
  34623. name: filtername
  34624. type: string
  34625. - description: 是否包含子级 1-包含
  34626. in: query
  34627. name: includesub
  34628. type: integer
  34629. produces:
  34630. - application/json
  34631. responses:
  34632. "200":
  34633. description: OK
  34634. schema:
  34635. items:
  34636. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34637. type: array
  34638. "500":
  34639. description: Internal Server Error
  34640. schema:
  34641. $ref: '#/definitions/app.Response'
  34642. security:
  34643. - ApiKeyAuth: []
  34644. summary: 查询经纪人奖励报表(废弃)
  34645. tags:
  34646. - 大连千海金(PCWeb)
  34647. /QhjMgr/QueryContract:
  34648. get:
  34649. parameters:
  34650. - description: 用户ID
  34651. in: query
  34652. name: userid
  34653. type: integer
  34654. - description: 商品id
  34655. in: query
  34656. name: goodsid
  34657. type: integer
  34658. - description: 名称(模糊搜索账户)
  34659. in: query
  34660. name: filtername
  34661. type: string
  34662. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34663. in: query
  34664. name: risklevel
  34665. type: string
  34666. - description: 开始交易日(yyyymmdd)
  34667. in: query
  34668. name: begindate
  34669. type: string
  34670. - description: 结束交易日(yyyymmdd)
  34671. in: query
  34672. name: enddate
  34673. type: string
  34674. produces:
  34675. - application/json
  34676. responses:
  34677. "200":
  34678. description: OK
  34679. schema:
  34680. items:
  34681. $ref: '#/definitions/models.QhjMgrContract'
  34682. type: array
  34683. "500":
  34684. description: Internal Server Error
  34685. schema:
  34686. $ref: '#/definitions/app.Response'
  34687. security:
  34688. - ApiKeyAuth: []
  34689. summary: 查询融资信息(合同)
  34690. tags:
  34691. - 大连千海金(PCWeb)
  34692. /QhjMgr/QueryCustomerInfo:
  34693. get:
  34694. parameters:
  34695. - description: 用户ID
  34696. in: query
  34697. name: userid
  34698. required: true
  34699. type: integer
  34700. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34701. in: query
  34702. name: querytype
  34703. required: true
  34704. type: integer
  34705. - description: 客户类型 1-个人 2-企业
  34706. in: query
  34707. name: userinfotype
  34708. type: integer
  34709. - description: 客户名称(模糊匹配)
  34710. in: query
  34711. name: customername
  34712. type: string
  34713. - description: 昵称(模糊匹配)
  34714. in: query
  34715. name: nickname
  34716. type: string
  34717. - description: 所属客户经理(模糊匹配)
  34718. in: query
  34719. name: brokername
  34720. type: string
  34721. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34722. 如0503 -5月3日)
  34723. in: query
  34724. name: birthday
  34725. type: string
  34726. - description: 是否包含子级 1-包含
  34727. in: query
  34728. name: includesub
  34729. type: integer
  34730. produces:
  34731. - application/json
  34732. responses:
  34733. "200":
  34734. description: OK
  34735. schema:
  34736. items:
  34737. $ref: '#/definitions/models.QhjMgrCustomer'
  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/QueryPickGoods:
  34749. get:
  34750. parameters:
  34751. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34752. in: query
  34753. name: status
  34754. type: string
  34755. produces:
  34756. - application/json
  34757. responses:
  34758. "200":
  34759. description: OK
  34760. schema:
  34761. items:
  34762. $ref: '#/definitions/models.QhjMgrPickGoods'
  34763. type: array
  34764. "500":
  34765. description: Internal Server Error
  34766. schema:
  34767. $ref: '#/definitions/app.Response'
  34768. security:
  34769. - ApiKeyAuth: []
  34770. summary: 查询提货商品
  34771. tags:
  34772. - 大连千海金(PCWeb)
  34773. /QhjMgr/QuerySubArea:
  34774. get:
  34775. parameters:
  34776. - description: 用户ID
  34777. in: query
  34778. name: userid
  34779. required: true
  34780. type: integer
  34781. produces:
  34782. - application/json
  34783. responses:
  34784. "200":
  34785. description: OK
  34786. schema:
  34787. items:
  34788. $ref: '#/definitions/models.QhjMgrSubArea'
  34789. type: array
  34790. "500":
  34791. description: Internal Server Error
  34792. schema:
  34793. $ref: '#/definitions/app.Response'
  34794. security:
  34795. - ApiKeyAuth: []
  34796. summary: 查询子机构列表
  34797. tags:
  34798. - 大连千海金(PCWeb)
  34799. /QhjMgr/QueryTradeDetail:
  34800. get:
  34801. parameters:
  34802. - description: 用户ID
  34803. in: query
  34804. name: userid
  34805. required: true
  34806. type: integer
  34807. - description: 用户类型 1-个人 2-企业
  34808. in: query
  34809. name: userinfotype
  34810. type: integer
  34811. - description: 交易模式
  34812. in: query
  34813. name: trademode
  34814. type: integer
  34815. - description: 商品id
  34816. in: query
  34817. name: goodsid
  34818. type: integer
  34819. - description: 名称(模糊搜索账户)
  34820. in: query
  34821. name: filtername
  34822. type: string
  34823. - description: 开始交易日(yyyymmdd)
  34824. in: query
  34825. name: begindate
  34826. type: string
  34827. - description: 结束交易日(yyyymmdd)
  34828. in: query
  34829. name: enddate
  34830. type: string
  34831. - description: 是否包含子级 1-包含
  34832. in: query
  34833. name: includesub
  34834. type: integer
  34835. produces:
  34836. - application/json
  34837. responses:
  34838. "200":
  34839. description: OK
  34840. schema:
  34841. items:
  34842. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34843. type: array
  34844. "500":
  34845. description: Internal Server Error
  34846. schema:
  34847. $ref: '#/definitions/app.Response'
  34848. security:
  34849. - ApiKeyAuth: []
  34850. summary: 查询成交明细
  34851. tags:
  34852. - 大连千海金(PCWeb)
  34853. /QhjMgr/QueryTradeOrderDetail:
  34854. get:
  34855. parameters:
  34856. - description: 用户ID
  34857. in: query
  34858. name: userid
  34859. required: true
  34860. type: integer
  34861. - description: 用户类型 1-个人 2-企业
  34862. in: query
  34863. name: userinfotype
  34864. type: integer
  34865. - description: 交易模式
  34866. in: query
  34867. name: trademode
  34868. type: integer
  34869. - description: 商品id
  34870. in: query
  34871. name: goodsid
  34872. type: integer
  34873. - description: 名称(模糊搜索账户)
  34874. in: query
  34875. name: filtername
  34876. type: string
  34877. - description: 开始交易日(yyyymmdd)
  34878. in: query
  34879. name: begindate
  34880. type: string
  34881. - description: 结束交易日(yyyymmdd)
  34882. in: query
  34883. name: enddate
  34884. type: string
  34885. - description: 是否包含子级 1-包含
  34886. in: query
  34887. name: includesub
  34888. type: integer
  34889. produces:
  34890. - application/json
  34891. responses:
  34892. "200":
  34893. description: OK
  34894. schema:
  34895. items:
  34896. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34897. type: array
  34898. "500":
  34899. description: Internal Server Error
  34900. schema:
  34901. $ref: '#/definitions/app.Response'
  34902. security:
  34903. - ApiKeyAuth: []
  34904. summary: 查询委托明细
  34905. tags:
  34906. - 大连千海金(PCWeb)
  34907. /QhjMgr/QueryTradePayOrder:
  34908. get:
  34909. parameters:
  34910. - description: 用户ID
  34911. in: query
  34912. name: userid
  34913. required: true
  34914. type: integer
  34915. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34916. in: query
  34917. name: payflag
  34918. type: string
  34919. - description: 用户类型 1-个人 2-企业
  34920. in: query
  34921. name: userinfotype
  34922. type: integer
  34923. - description: 交易模式
  34924. in: query
  34925. name: trademode
  34926. type: integer
  34927. - description: 商品id
  34928. in: query
  34929. name: goodsid
  34930. type: integer
  34931. - description: 名称(模糊搜索账户)
  34932. in: query
  34933. name: filtername
  34934. type: string
  34935. - description: 开始交易日(yyyymmdd)
  34936. in: query
  34937. name: begindate
  34938. type: string
  34939. - description: 结束交易日(yyyymmdd)
  34940. in: query
  34941. name: enddate
  34942. type: string
  34943. - description: 是否包含子级 1-包含
  34944. in: query
  34945. name: includesub
  34946. type: integer
  34947. produces:
  34948. - application/json
  34949. responses:
  34950. "200":
  34951. description: OK
  34952. schema:
  34953. items:
  34954. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34955. type: array
  34956. "500":
  34957. description: Internal Server Error
  34958. schema:
  34959. $ref: '#/definitions/app.Response'
  34960. security:
  34961. - ApiKeyAuth: []
  34962. summary: 查询待付款单
  34963. tags:
  34964. - 大连千海金(PCWeb)
  34965. /QhjMgr/QueryTradePosition:
  34966. get:
  34967. parameters:
  34968. - description: 用户ID
  34969. in: query
  34970. name: userid
  34971. required: true
  34972. type: integer
  34973. - description: 用户类型 1-个人 2-企业
  34974. in: query
  34975. name: userinfotype
  34976. type: integer
  34977. - description: 交易模式
  34978. in: query
  34979. name: trademode
  34980. type: integer
  34981. - description: 商品id
  34982. in: query
  34983. name: goodsid
  34984. type: integer
  34985. - description: 名称(模糊搜索账户)
  34986. in: query
  34987. name: filtername
  34988. type: string
  34989. - description: 是否包含子级 1-包含
  34990. in: query
  34991. name: includesub
  34992. type: integer
  34993. produces:
  34994. - application/json
  34995. responses:
  34996. "200":
  34997. description: OK
  34998. schema:
  34999. items:
  35000. $ref: '#/definitions/models.QhjMgrPositionRsp'
  35001. type: array
  35002. "500":
  35003. description: Internal Server Error
  35004. schema:
  35005. $ref: '#/definitions/app.Response'
  35006. security:
  35007. - ApiKeyAuth: []
  35008. summary: 查询持仓汇总
  35009. tags:
  35010. - 大连千海金(PCWeb)
  35011. /QhjSys/QueryAgreementChangeLog:
  35012. get:
  35013. parameters:
  35014. - description: 协议ID
  35015. in: query
  35016. name: agreementid
  35017. type: integer
  35018. - description: 协议版本号
  35019. in: query
  35020. name: agreementversion
  35021. type: integer
  35022. - description: 协议类型 - 1:注册 2:登录 3:交易
  35023. in: query
  35024. name: agreementtype
  35025. type: integer
  35026. - description: 协议编号(模糊匹配)
  35027. in: query
  35028. name: agreementno
  35029. type: string
  35030. - description: 协议名称(模糊匹配)
  35031. in: query
  35032. name: agreementname
  35033. type: string
  35034. produces:
  35035. - application/json
  35036. responses:
  35037. "200":
  35038. description: OK
  35039. schema:
  35040. items:
  35041. $ref: '#/definitions/models.QhjAgreementChangeLog'
  35042. type: array
  35043. "500":
  35044. description: Internal Server Error
  35045. schema:
  35046. $ref: '#/definitions/app.Response'
  35047. security:
  35048. - ApiKeyAuth: []
  35049. summary: 查询协议配置变更流水
  35050. tags:
  35051. - 大连千海金(协议和签约信息)
  35052. /QhjSys/QueryAgreementConfig:
  35053. get:
  35054. parameters:
  35055. - description: 协议ID
  35056. in: query
  35057. name: agreementid
  35058. type: integer
  35059. - description: 协议版本号
  35060. in: query
  35061. name: agreementversion
  35062. type: integer
  35063. - description: 协议类型 - 1:注册 2:登录 3:交易
  35064. in: query
  35065. name: agreementtype
  35066. type: integer
  35067. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  35068. in: query
  35069. name: isvalid
  35070. type: integer
  35071. - description: 协议编号(模糊匹配)
  35072. in: query
  35073. name: agreementno
  35074. type: string
  35075. - description: 协议名称(模糊匹配)
  35076. in: query
  35077. name: agreementname
  35078. type: string
  35079. produces:
  35080. - application/json
  35081. responses:
  35082. "200":
  35083. description: OK
  35084. schema:
  35085. items:
  35086. $ref: '#/definitions/models.QhjAgreementConfig'
  35087. type: array
  35088. "500":
  35089. description: Internal Server Error
  35090. schema:
  35091. $ref: '#/definitions/app.Response'
  35092. security:
  35093. - ApiKeyAuth: []
  35094. summary: 查询协议配置
  35095. tags:
  35096. - 大连千海金(协议和签约信息)
  35097. /QhjSys/QueryCustomerSignStatus:
  35098. get:
  35099. parameters:
  35100. - description: 客户ID
  35101. in: query
  35102. name: userid
  35103. type: integer
  35104. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35105. in: query
  35106. name: nodetype
  35107. type: integer
  35108. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35109. in: query
  35110. name: goodsid
  35111. type: integer
  35112. - description: 创建交易日(yyyyMMdd)
  35113. in: query
  35114. name: tradedate
  35115. type: string
  35116. - description: 用户名称(模糊匹配)
  35117. in: query
  35118. name: username
  35119. type: string
  35120. produces:
  35121. - application/json
  35122. responses:
  35123. "200":
  35124. description: OK
  35125. schema:
  35126. items:
  35127. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35128. type: array
  35129. "500":
  35130. description: Internal Server Error
  35131. schema:
  35132. $ref: '#/definitions/app.Response'
  35133. security:
  35134. - ApiKeyAuth: []
  35135. summary: 查询客户协议签约状态
  35136. tags:
  35137. - 大连千海金(协议和签约信息)
  35138. /QhjSys/QueryNodeAgreementConfig:
  35139. get:
  35140. parameters:
  35141. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35142. in: query
  35143. name: configid
  35144. type: integer
  35145. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35146. in: query
  35147. name: nodetype
  35148. type: integer
  35149. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35150. in: query
  35151. name: goodsid
  35152. type: integer
  35153. - description: 协议ID
  35154. in: query
  35155. name: agreementid
  35156. type: integer
  35157. - description: 协议类型 - 1:注册 2:登录 3:交易
  35158. in: query
  35159. name: agreementtype
  35160. type: integer
  35161. - description: 协议版本号
  35162. in: query
  35163. name: agreementversion
  35164. type: integer
  35165. - description: 协议编号(模糊匹配)
  35166. in: query
  35167. name: agreementno
  35168. type: string
  35169. - description: 协议名称(模糊匹配)
  35170. in: query
  35171. name: agreementname
  35172. type: string
  35173. produces:
  35174. - application/json
  35175. responses:
  35176. "200":
  35177. description: OK
  35178. schema:
  35179. items:
  35180. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  35181. type: array
  35182. "500":
  35183. description: Internal Server Error
  35184. schema:
  35185. $ref: '#/definitions/app.Response'
  35186. security:
  35187. - ApiKeyAuth: []
  35188. summary: 查询协议节点配置
  35189. tags:
  35190. - 大连千海金(协议和签约信息)
  35191. /QhjSys/QueryQhjCustomerSignLog:
  35192. get:
  35193. parameters:
  35194. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35195. in: query
  35196. name: logid
  35197. type: integer
  35198. - description: 客户ID
  35199. in: query
  35200. name: userid
  35201. type: integer
  35202. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35203. in: query
  35204. name: nodetype
  35205. type: integer
  35206. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35207. in: query
  35208. name: goodsid
  35209. type: integer
  35210. - description: 协议ID
  35211. in: query
  35212. name: agreementid
  35213. type: integer
  35214. - description: 用户名称(模糊匹配)
  35215. in: query
  35216. name: username
  35217. type: string
  35218. - description: 协议编号(模糊匹配)
  35219. in: query
  35220. name: agreementno
  35221. type: string
  35222. - description: 协议名称(模糊匹配)
  35223. in: query
  35224. name: agreementname
  35225. type: string
  35226. produces:
  35227. - application/json
  35228. responses:
  35229. "200":
  35230. description: OK
  35231. schema:
  35232. items:
  35233. $ref: '#/definitions/models.QhjCustomerSignLog'
  35234. type: array
  35235. "500":
  35236. description: Internal Server Error
  35237. schema:
  35238. $ref: '#/definitions/app.Response'
  35239. security:
  35240. - ApiKeyAuth: []
  35241. summary: 查询客户协议签约流水
  35242. tags:
  35243. - 大连千海金(协议和签约信息)
  35244. /QhjSys/QueryUserNodeCfgAndStatus:
  35245. get:
  35246. parameters:
  35247. - description: 客户ID
  35248. in: query
  35249. name: userid
  35250. type: integer
  35251. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35252. in: query
  35253. name: configid
  35254. type: integer
  35255. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35256. in: query
  35257. name: nodetype
  35258. type: string
  35259. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35260. in: query
  35261. name: goodsid
  35262. type: integer
  35263. - description: 协议ID
  35264. in: query
  35265. name: agreementid
  35266. type: integer
  35267. - description: 协议类型 - 1:注册 2:登录 3:交易
  35268. in: query
  35269. name: agreementtype
  35270. type: integer
  35271. - description: 协议版本号
  35272. in: query
  35273. name: agreementversion
  35274. type: integer
  35275. - description: 协议编号(模糊匹配)
  35276. in: query
  35277. name: agreementno
  35278. type: string
  35279. - description: 协议名称(模糊匹配)
  35280. in: query
  35281. name: agreementname
  35282. type: string
  35283. produces:
  35284. - application/json
  35285. responses:
  35286. "200":
  35287. description: OK
  35288. schema:
  35289. items:
  35290. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35291. type: array
  35292. "500":
  35293. description: Internal Server Error
  35294. schema:
  35295. $ref: '#/definitions/app.Response'
  35296. security:
  35297. - ApiKeyAuth: []
  35298. summary: 查询用户协议节点配置和状态
  35299. tags:
  35300. - 大连千海金(协议和签约信息)
  35301. /Quote/QueryHistoryDatas:
  35302. get:
  35303. parameters:
  35304. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35305. 日线 12:周线 13:月线 14:年线'
  35306. in: query
  35307. name: cycleType
  35308. required: true
  35309. type: integer
  35310. - description: 商品代码
  35311. in: query
  35312. name: goodsCode
  35313. required: true
  35314. type: string
  35315. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35316. in: query
  35317. name: startTime
  35318. type: string
  35319. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35320. in: query
  35321. name: endTime
  35322. type: string
  35323. - description: 条数
  35324. in: query
  35325. name: count
  35326. type: integer
  35327. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35328. in: query
  35329. name: isAsc
  35330. type: boolean
  35331. produces:
  35332. - application/json
  35333. responses:
  35334. "200":
  35335. description: OK
  35336. schema:
  35337. $ref: '#/definitions/quote.HistoryData'
  35338. "500":
  35339. description: Internal Server Error
  35340. schema:
  35341. $ref: '#/definitions/app.Response'
  35342. security:
  35343. - ApiKeyAuth: []
  35344. summary: 查询行情历史数据
  35345. tags:
  35346. - 行情服务
  35347. /Quote/QueryHistoryTikDatas:
  35348. get:
  35349. parameters:
  35350. - description: 商品代码
  35351. in: query
  35352. name: goodsCode
  35353. required: true
  35354. type: string
  35355. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35356. in: query
  35357. name: startTime
  35358. type: string
  35359. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35360. in: query
  35361. name: endTime
  35362. type: string
  35363. - description: 条数
  35364. in: query
  35365. name: count
  35366. type: integer
  35367. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35368. in: query
  35369. name: isAsc
  35370. type: boolean
  35371. produces:
  35372. - application/json
  35373. responses:
  35374. "200":
  35375. description: OK
  35376. schema:
  35377. $ref: '#/definitions/quote.HistoryTikData'
  35378. "500":
  35379. description: Internal Server Error
  35380. schema:
  35381. $ref: '#/definitions/app.Response'
  35382. security:
  35383. - ApiKeyAuth: []
  35384. summary: 查询行情Tik数据
  35385. tags:
  35386. - 行情服务
  35387. /Quote/QueryQuoteDay:
  35388. get:
  35389. parameters:
  35390. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35391. in: query
  35392. name: goodsCodes
  35393. type: string
  35394. produces:
  35395. - application/json
  35396. responses:
  35397. "200":
  35398. description: OK
  35399. schema:
  35400. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35401. "500":
  35402. description: Internal Server Error
  35403. schema:
  35404. $ref: '#/definitions/app.Response'
  35405. security:
  35406. - ApiKeyAuth: []
  35407. summary: 获取商品盘面信息
  35408. tags:
  35409. - 行情服务
  35410. /Quote/QueryTSData:
  35411. get:
  35412. parameters:
  35413. - description: 商品代码
  35414. in: query
  35415. name: goodsCode
  35416. required: true
  35417. type: string
  35418. produces:
  35419. - application/json
  35420. responses:
  35421. "200":
  35422. description: OK
  35423. schema:
  35424. $ref: '#/definitions/quote.QueryTSDataRsp'
  35425. "500":
  35426. description: Internal Server Error
  35427. schema:
  35428. $ref: '#/definitions/app.Response'
  35429. security:
  35430. - ApiKeyAuth: []
  35431. summary: 分时图数据查询
  35432. tags:
  35433. - 行情服务
  35434. /SZDZ/QueryConvertConfig:
  35435. get:
  35436. parameters:
  35437. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35438. 6:交易转花生米(不设置)
  35439. in: query
  35440. name: convertType
  35441. type: integer
  35442. - description: 外部商品代码[JD\PD]
  35443. in: query
  35444. name: outerGoodsCode
  35445. type: string
  35446. - description: 内部商品ID列表[交易],格式:1,2,3
  35447. in: query
  35448. name: innerGoodsIDs
  35449. type: string
  35450. produces:
  35451. - application/json
  35452. responses:
  35453. "200":
  35454. description: OK
  35455. schema:
  35456. $ref: '#/definitions/models.Szdz3convertconfig'
  35457. "500":
  35458. description: Internal Server Error
  35459. schema:
  35460. $ref: '#/definitions/app.Response'
  35461. security:
  35462. - ApiKeyAuth: []
  35463. summary: 查询交易系统转换设置
  35464. tags:
  35465. - 定制【尚志大宗】
  35466. /SZDZ/QueryConvertLog:
  35467. get:
  35468. parameters:
  35469. - description: 资金账户 - 格式:1,2,3
  35470. in: query
  35471. name: accountID
  35472. required: true
  35473. type: string
  35474. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35475. in: query
  35476. name: startDate
  35477. type: string
  35478. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35479. in: query
  35480. name: endDate
  35481. type: string
  35482. produces:
  35483. - application/json
  35484. responses:
  35485. "200":
  35486. description: OK
  35487. schema:
  35488. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35489. "500":
  35490. description: Internal Server Error
  35491. schema:
  35492. $ref: '#/definitions/app.Response'
  35493. security:
  35494. - ApiKeyAuth: []
  35495. summary: 交易系统转换流水查询
  35496. tags:
  35497. - 定制【尚志大宗】
  35498. /SZDZ/QueryGoodsPickup:
  35499. get:
  35500. parameters:
  35501. - description: 资金账户 - 格式:1,2,3
  35502. in: query
  35503. name: accountID
  35504. required: true
  35505. type: string
  35506. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35507. in: query
  35508. name: takeOrderStatus
  35509. type: integer
  35510. produces:
  35511. - application/json
  35512. responses:
  35513. "200":
  35514. description: OK
  35515. schema:
  35516. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35517. "500":
  35518. description: Internal Server Error
  35519. schema:
  35520. $ref: '#/definitions/app.Response'
  35521. security:
  35522. - ApiKeyAuth: []
  35523. summary: 商品提货单查询
  35524. tags:
  35525. - 定制【尚志大宗】
  35526. /SZDZ/QueryRecieptOrder:
  35527. get:
  35528. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35529. parameters:
  35530. - description: 页码
  35531. in: query
  35532. name: page
  35533. type: integer
  35534. - description: 每页条数
  35535. in: query
  35536. name: pagesize
  35537. type: integer
  35538. - description: 商品ID
  35539. in: query
  35540. name: goodsID
  35541. required: true
  35542. type: integer
  35543. - description: 所属账户名称
  35544. in: query
  35545. name: accountName
  35546. type: string
  35547. - description: 市场ID
  35548. in: query
  35549. name: marketID
  35550. type: integer
  35551. - description: 方向 - 0:买 1:卖
  35552. in: query
  35553. name: buyorsell
  35554. required: true
  35555. type: integer
  35556. produces:
  35557. - application/json
  35558. responses:
  35559. "200":
  35560. description: OK
  35561. schema:
  35562. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35563. "500":
  35564. description: Internal Server Error
  35565. schema:
  35566. $ref: '#/definitions/app.Response'
  35567. security:
  35568. - ApiKeyAuth: []
  35569. summary: 点选挂牌委托单据查询(摘牌大厅)
  35570. tags:
  35571. - 定制【尚志大宗】
  35572. /SZDZ/QuerySZDZTradePosition:
  35573. get:
  35574. parameters:
  35575. - description: 资金账户
  35576. in: query
  35577. name: accountID
  35578. required: true
  35579. type: integer
  35580. produces:
  35581. - application/json
  35582. responses:
  35583. "200":
  35584. description: OK
  35585. schema:
  35586. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35587. "500":
  35588. description: Internal Server Error
  35589. schema:
  35590. $ref: '#/definitions/app.Response'
  35591. security:
  35592. - ApiKeyAuth: []
  35593. summary: 持仓汇总查询(尚志大宗)
  35594. tags:
  35595. - 定制【尚志大宗】
  35596. /SZDZ/SearchWhite:
  35597. get:
  35598. parameters:
  35599. - description: 用户ID
  35600. in: query
  35601. name: userID
  35602. required: true
  35603. type: integer
  35604. produces:
  35605. - application/json
  35606. responses:
  35607. "200":
  35608. description: OK
  35609. schema:
  35610. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35611. "500":
  35612. description: Internal Server Error
  35613. schema:
  35614. $ref: '#/definitions/app.Response'
  35615. security:
  35616. - ApiKeyAuth: []
  35617. summary: 搜索白名单
  35618. tags:
  35619. - 定制【尚志大宗】
  35620. /Search/SearchGoodses:
  35621. get:
  35622. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35623. parameters:
  35624. - description: 检索内容
  35625. in: query
  35626. name: content
  35627. required: true
  35628. type: string
  35629. - description: 交易模式,格式:1,2,3
  35630. in: query
  35631. name: tradeModes
  35632. type: string
  35633. produces:
  35634. - application/json
  35635. responses:
  35636. "200":
  35637. description: OK
  35638. schema:
  35639. $ref: '#/definitions/models.SearchGoods'
  35640. "500":
  35641. description: Internal Server Error
  35642. schema:
  35643. $ref: '#/definitions/app.Response'
  35644. summary: 检索商品信息
  35645. tags:
  35646. - 检索服务
  35647. /TaAccount/GetTaAccounts:
  35648. get:
  35649. parameters:
  35650. - description: 登录账户
  35651. in: query
  35652. name: loginID
  35653. required: true
  35654. type: integer
  35655. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35656. in: query
  35657. name: taAccountType
  35658. type: integer
  35659. produces:
  35660. - application/json
  35661. responses:
  35662. "200":
  35663. description: OK
  35664. schema:
  35665. $ref: '#/definitions/models.Taaccount'
  35666. "500":
  35667. description: Internal Server Error
  35668. schema:
  35669. $ref: '#/definitions/app.Response'
  35670. security:
  35671. - ApiKeyAuth: []
  35672. summary: 获取资金账户信息
  35673. tags:
  35674. - 资金账户
  35675. /TaAccount/QueryAmountLog:
  35676. get:
  35677. parameters:
  35678. - description: 页码
  35679. in: query
  35680. name: page
  35681. type: integer
  35682. - description: 每页条数
  35683. in: query
  35684. name: pagesize
  35685. type: integer
  35686. - description: 分页标志 0-page从0开始 1-page从1开始
  35687. in: query
  35688. name: pageflag
  35689. type: integer
  35690. - description: 资金账户 - 格式:1,2,3
  35691. in: query
  35692. name: accountID
  35693. required: true
  35694. type: string
  35695. - description: 资金操作类型 - 格式:1,2,3
  35696. in: query
  35697. name: OperateType
  35698. type: string
  35699. produces:
  35700. - application/json
  35701. responses:
  35702. "200":
  35703. description: OK
  35704. schema:
  35705. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35706. "500":
  35707. description: Internal Server Error
  35708. schema:
  35709. $ref: '#/definitions/app.Response'
  35710. security:
  35711. - ApiKeyAuth: []
  35712. summary: 资金流水查询(当前)
  35713. tags:
  35714. - 资金账户
  35715. /TaAccount/QueryHisAmountLog:
  35716. get:
  35717. parameters:
  35718. - description: 页码
  35719. in: query
  35720. name: page
  35721. type: integer
  35722. - description: 每页条数
  35723. in: query
  35724. name: pagesize
  35725. type: integer
  35726. - description: 分页标志 0-page从0开始 1-page从1开始
  35727. in: query
  35728. name: pageflag
  35729. type: integer
  35730. - description: 资金账户 - 格式:1,2,3
  35731. in: query
  35732. name: accountID
  35733. required: true
  35734. type: string
  35735. - description: 资金操作类型 - 格式:1,2,3
  35736. in: query
  35737. name: OperateType
  35738. type: string
  35739. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35740. in: query
  35741. name: startDate
  35742. type: string
  35743. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35744. in: query
  35745. name: endDate
  35746. type: string
  35747. produces:
  35748. - application/json
  35749. responses:
  35750. "200":
  35751. description: OK
  35752. schema:
  35753. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35754. "500":
  35755. description: Internal Server Error
  35756. schema:
  35757. $ref: '#/definitions/app.Response'
  35758. security:
  35759. - ApiKeyAuth: []
  35760. summary: 资金流水查询(历史)
  35761. tags:
  35762. - 资金账户
  35763. /TaAccount/QueryRelatedTaAccount:
  35764. get:
  35765. parameters:
  35766. - description: 关联UserID
  35767. in: query
  35768. name: relateduserid
  35769. required: true
  35770. type: integer
  35771. produces:
  35772. - application/json
  35773. responses:
  35774. "200":
  35775. description: OK
  35776. schema:
  35777. items:
  35778. $ref: '#/definitions/models.RelatedTaAccount'
  35779. type: array
  35780. "500":
  35781. description: Internal Server Error
  35782. schema:
  35783. $ref: '#/definitions/app.Response'
  35784. security:
  35785. - ApiKeyAuth: []
  35786. summary: 查询关联资金账户信息
  35787. tags:
  35788. - 资金账户
  35789. /Tjmd/QueryQuoteGoodsList:
  35790. get:
  35791. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35792. parameters:
  35793. - description: 用户类型
  35794. in: query
  35795. name: usertype
  35796. required: true
  35797. type: integer
  35798. - description: 市场id, 格式 1,2,3
  35799. in: query
  35800. name: marketids
  35801. type: string
  35802. - description: 商品组id
  35803. in: query
  35804. name: goodsgroupid
  35805. type: integer
  35806. - description: 商品id
  35807. in: query
  35808. name: goodsid
  35809. type: integer
  35810. produces:
  35811. - application/json
  35812. responses:
  35813. "200":
  35814. description: OK
  35815. schema:
  35816. items:
  35817. $ref: '#/definitions/models.TjmdQuoteGoods'
  35818. type: array
  35819. "500":
  35820. description: Internal Server Error
  35821. schema:
  35822. $ref: '#/definitions/app.Response'
  35823. security:
  35824. - ApiKeyAuth: []
  35825. summary: 查询掉期报价列表
  35826. tags:
  35827. - 天津麦顿
  35828. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35829. get:
  35830. parameters:
  35831. - description: 成交单号
  35832. in: query
  35833. name: tradeid
  35834. required: true
  35835. type: string
  35836. produces:
  35837. - application/json
  35838. responses:
  35839. "200":
  35840. description: OK
  35841. schema:
  35842. items:
  35843. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35844. type: array
  35845. "500":
  35846. description: Internal Server Error
  35847. schema:
  35848. $ref: '#/definitions/app.Response'
  35849. security:
  35850. - ApiKeyAuth: []
  35851. summary: 掉期商品订单详情(交易确认书)
  35852. tags:
  35853. - 天津麦顿
  35854. /Tjmd/QueryTjmdMarketSection:
  35855. get:
  35856. produces:
  35857. - application/json
  35858. responses:
  35859. "200":
  35860. description: OK
  35861. schema:
  35862. items:
  35863. $ref: '#/definitions/models.TjmdMarketSection'
  35864. type: array
  35865. "500":
  35866. description: Internal Server Error
  35867. schema:
  35868. $ref: '#/definitions/app.Response'
  35869. security:
  35870. - ApiKeyAuth: []
  35871. summary: 查询市场板块
  35872. tags:
  35873. - 天津麦顿
  35874. /Tjmd/QueryTjmdTodayAccountMargin:
  35875. get:
  35876. parameters:
  35877. - description: 市场id
  35878. in: query
  35879. name: marketid
  35880. type: string
  35881. - description: 商品id
  35882. in: query
  35883. name: goodsid
  35884. type: string
  35885. - description: 资金账号
  35886. in: query
  35887. name: accountid
  35888. type: string
  35889. produces:
  35890. - application/json
  35891. responses:
  35892. "200":
  35893. description: OK
  35894. schema:
  35895. items:
  35896. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35897. type: array
  35898. "500":
  35899. description: Internal Server Error
  35900. schema:
  35901. $ref: '#/definitions/app.Response'
  35902. security:
  35903. - ApiKeyAuth: []
  35904. summary: 查询今日账户保证金配置
  35905. tags:
  35906. - 天津麦顿
  35907. /Tjmd/QueryTjmdTradeOrderDetail:
  35908. get:
  35909. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35910. parameters:
  35911. - description: 页码
  35912. in: query
  35913. name: page
  35914. type: integer
  35915. - description: 每页条数
  35916. in: query
  35917. name: pagesize
  35918. type: integer
  35919. - description: 用户id
  35920. in: query
  35921. name: userid
  35922. required: true
  35923. type: integer
  35924. - description: 用户类型
  35925. in: query
  35926. name: usertype
  35927. required: true
  35928. type: integer
  35929. - description: 市场id, 格式 1,2,3
  35930. in: query
  35931. name: marketids
  35932. type: string
  35933. - description: 商品id
  35934. in: query
  35935. name: goodsid
  35936. required: true
  35937. type: integer
  35938. - description: 买卖方向 0-买 1-卖
  35939. in: query
  35940. name: buyorsell
  35941. required: true
  35942. type: integer
  35943. produces:
  35944. - application/json
  35945. responses:
  35946. "200":
  35947. description: OK
  35948. schema:
  35949. items:
  35950. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35951. type: array
  35952. "500":
  35953. description: Internal Server Error
  35954. schema:
  35955. $ref: '#/definitions/app.Response'
  35956. security:
  35957. - ApiKeyAuth: []
  35958. summary: 查询掉期买卖大厅
  35959. tags:
  35960. - 天津麦顿
  35961. /Tjmd/QueryTjmdTransferApply:
  35962. get:
  35963. parameters:
  35964. - description: 类型 1-我的申请 2-对方申请
  35965. in: query
  35966. name: applytype
  35967. required: true
  35968. type: integer
  35969. - description: 市场id, 格式 1,2,3
  35970. in: query
  35971. name: marketids
  35972. type: string
  35973. - description: 资金账号, 格式 25000000001,25000000003
  35974. in: query
  35975. name: accountids
  35976. type: string
  35977. - description: 开始交易日(yyyymmdd)
  35978. in: query
  35979. name: begindate
  35980. type: string
  35981. - description: 结束交易日(yyyymmdd)
  35982. in: query
  35983. name: enddate
  35984. type: string
  35985. produces:
  35986. - application/json
  35987. responses:
  35988. "200":
  35989. description: OK
  35990. schema:
  35991. items:
  35992. $ref: '#/definitions/models.TjmdTransferApply'
  35993. type: array
  35994. "500":
  35995. description: Internal Server Error
  35996. schema:
  35997. $ref: '#/definitions/app.Response'
  35998. security:
  35999. - ApiKeyAuth: []
  36000. summary: 查询掉期协议单
  36001. tags:
  36002. - 天津麦顿
  36003. /Trade/QueryRecieptOrder:
  36004. get:
  36005. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  36006. parameters:
  36007. - description: 页码
  36008. in: query
  36009. name: page
  36010. type: integer
  36011. - description: 每页条数
  36012. in: query
  36013. name: pagesize
  36014. type: integer
  36015. - description: 商品ID
  36016. in: query
  36017. name: goodsID
  36018. required: true
  36019. type: integer
  36020. - description: 所属账户名称
  36021. in: query
  36022. name: accountName
  36023. type: string
  36024. - description: 市场ID
  36025. in: query
  36026. name: marketID
  36027. type: integer
  36028. - description: 方向 - 0:买 1:卖
  36029. in: query
  36030. name: buyorsell
  36031. required: true
  36032. type: integer
  36033. produces:
  36034. - application/json
  36035. responses:
  36036. "200":
  36037. description: OK
  36038. schema:
  36039. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  36040. "500":
  36041. description: Internal Server Error
  36042. schema:
  36043. $ref: '#/definitions/app.Response'
  36044. security:
  36045. - ApiKeyAuth: []
  36046. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  36047. tags:
  36048. - 通用交易
  36049. /User/AddMessageBoard:
  36050. post:
  36051. parameters:
  36052. - description: 用户ID
  36053. in: query
  36054. name: userID
  36055. required: true
  36056. type: integer
  36057. - description: 留言信息
  36058. in: query
  36059. name: message
  36060. required: true
  36061. type: string
  36062. - description: 联系电话
  36063. in: query
  36064. name: contactNum
  36065. required: true
  36066. type: string
  36067. produces:
  36068. - application/json
  36069. responses:
  36070. "200":
  36071. description: OK
  36072. schema:
  36073. $ref: '#/definitions/app.Response'
  36074. "500":
  36075. description: Internal Server Error
  36076. schema:
  36077. $ref: '#/definitions/app.Response'
  36078. security:
  36079. - ApiKeyAuth: []
  36080. summary: 添加用户留言板信息
  36081. tags:
  36082. - 用户信息
  36083. /User/AddUserFavoriteGoods:
  36084. post:
  36085. parameters:
  36086. - description: 用户ID
  36087. in: query
  36088. name: userID
  36089. required: true
  36090. type: integer
  36091. - description: 商品ID
  36092. in: query
  36093. name: goodsID
  36094. required: true
  36095. type: integer
  36096. produces:
  36097. - application/json
  36098. responses:
  36099. "200":
  36100. description: OK
  36101. schema:
  36102. $ref: '#/definitions/app.Response'
  36103. "500":
  36104. description: Internal Server Error
  36105. schema:
  36106. $ref: '#/definitions/app.Response'
  36107. security:
  36108. - ApiKeyAuth: []
  36109. summary: 添加用户商品收藏信息
  36110. tags:
  36111. - 用户信息
  36112. /User/GetLoginID:
  36113. get:
  36114. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36115. parameters:
  36116. - description: 登录代码
  36117. in: query
  36118. name: username
  36119. required: true
  36120. type: string
  36121. produces:
  36122. - application/json
  36123. responses:
  36124. "200":
  36125. description: OK
  36126. schema:
  36127. $ref: '#/definitions/app.Response'
  36128. "500":
  36129. description: Internal Server Error
  36130. schema:
  36131. $ref: '#/definitions/app.Response'
  36132. summary: 获取登录ID
  36133. tags:
  36134. - 用户信息
  36135. /User/GetUserAccount:
  36136. get:
  36137. parameters:
  36138. - description: 用户ID
  36139. in: query
  36140. name: userID
  36141. required: true
  36142. type: integer
  36143. produces:
  36144. - application/json
  36145. responses:
  36146. "200":
  36147. description: OK
  36148. schema:
  36149. $ref: '#/definitions/models.Useraccount'
  36150. "500":
  36151. description: Internal Server Error
  36152. schema:
  36153. $ref: '#/definitions/app.Response'
  36154. security:
  36155. - ApiKeyAuth: []
  36156. summary: 获取用户账号信息
  36157. tags:
  36158. - 用户信息
  36159. /User/GetUserAuthStatus:
  36160. get:
  36161. parameters:
  36162. - description: 用户ID
  36163. in: query
  36164. name: userID
  36165. required: true
  36166. type: integer
  36167. produces:
  36168. - application/json
  36169. responses:
  36170. "200":
  36171. description: OK
  36172. schema:
  36173. $ref: '#/definitions/app.Response'
  36174. "500":
  36175. description: Internal Server Error
  36176. schema:
  36177. $ref: '#/definitions/app.Response'
  36178. security:
  36179. - ApiKeyAuth: []
  36180. summary: 获取用户实名认证状态
  36181. tags:
  36182. - 用户信息
  36183. /User/LoginQuery:
  36184. get:
  36185. parameters:
  36186. - description: 登录账号
  36187. in: query
  36188. name: loginID
  36189. required: true
  36190. type: integer
  36191. produces:
  36192. - application/json
  36193. responses:
  36194. "200":
  36195. description: OK
  36196. schema:
  36197. $ref: '#/definitions/user.LoginQueryRsp'
  36198. "500":
  36199. description: Internal Server Error
  36200. schema:
  36201. $ref: '#/definitions/app.Response'
  36202. security:
  36203. - ApiKeyAuth: []
  36204. summary: 账户登录后信息查询
  36205. tags:
  36206. - 用户信息
  36207. /User/QueryMessageBoard:
  36208. get:
  36209. parameters:
  36210. - description: 用户ID
  36211. in: query
  36212. name: userID
  36213. required: true
  36214. type: integer
  36215. produces:
  36216. - application/json
  36217. responses:
  36218. "200":
  36219. description: OK
  36220. schema:
  36221. $ref: '#/definitions/models.Messageboard'
  36222. "500":
  36223. description: Internal Server Error
  36224. schema:
  36225. $ref: '#/definitions/app.Response'
  36226. security:
  36227. - ApiKeyAuth: []
  36228. summary: 获取用户留言板信息
  36229. tags:
  36230. - 用户信息
  36231. /User/QueryUserFavoriteGoodses:
  36232. get:
  36233. parameters:
  36234. - description: 用户ID
  36235. in: query
  36236. name: userID
  36237. required: true
  36238. type: integer
  36239. produces:
  36240. - application/json
  36241. responses:
  36242. "200":
  36243. description: OK
  36244. schema:
  36245. $ref: '#/definitions/models.Userfavoritegoods'
  36246. "500":
  36247. description: Internal Server Error
  36248. schema:
  36249. $ref: '#/definitions/app.Response'
  36250. security:
  36251. - ApiKeyAuth: []
  36252. summary: 获取用户商品收藏信息
  36253. tags:
  36254. - 用户信息
  36255. /User/QueryUserInfo:
  36256. get:
  36257. parameters:
  36258. - description: 用户ID
  36259. in: query
  36260. name: userID
  36261. required: true
  36262. type: integer
  36263. - description: 是否解密
  36264. in: query
  36265. name: isDecrypt
  36266. type: boolean
  36267. produces:
  36268. - application/json
  36269. responses:
  36270. "200":
  36271. description: OK
  36272. schema:
  36273. $ref: '#/definitions/models.Userinfo'
  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/QueryUserReferNum:
  36284. get:
  36285. parameters:
  36286. - description: 用户ID
  36287. in: query
  36288. name: userID
  36289. required: true
  36290. type: integer
  36291. produces:
  36292. - application/json
  36293. responses:
  36294. "200":
  36295. description: OK
  36296. schema:
  36297. $ref: '#/definitions/app.Response'
  36298. "500":
  36299. description: Internal Server Error
  36300. schema:
  36301. $ref: '#/definitions/app.Response'
  36302. summary: 获取用户邀请码
  36303. tags:
  36304. - 用户信息
  36305. /User/RemoveUserFavoriteGoods:
  36306. post:
  36307. parameters:
  36308. - description: 用户ID
  36309. in: query
  36310. name: userID
  36311. required: true
  36312. type: integer
  36313. - description: 商品ID
  36314. in: query
  36315. name: goodsID
  36316. required: true
  36317. type: integer
  36318. produces:
  36319. - application/json
  36320. responses:
  36321. "200":
  36322. description: OK
  36323. schema:
  36324. $ref: '#/definitions/app.Response'
  36325. "500":
  36326. description: Internal Server Error
  36327. schema:
  36328. $ref: '#/definitions/app.Response'
  36329. security:
  36330. - ApiKeyAuth: []
  36331. summary: 移除用户商品收藏信息
  36332. tags:
  36333. - 用户信息
  36334. /User/UpdateUserAccountStatus:
  36335. post:
  36336. parameters:
  36337. - description: 用户ID
  36338. in: query
  36339. name: userID
  36340. required: true
  36341. type: integer
  36342. - description: 账户状态 - 4:正常 6:注销(停用)
  36343. in: query
  36344. name: accountStatus
  36345. required: true
  36346. type: integer
  36347. produces:
  36348. - application/json
  36349. responses:
  36350. "200":
  36351. description: OK
  36352. schema:
  36353. $ref: '#/definitions/app.Response'
  36354. "500":
  36355. description: Internal Server Error
  36356. schema:
  36357. $ref: '#/definitions/app.Response'
  36358. security:
  36359. - ApiKeyAuth: []
  36360. summary: 更新用户状态
  36361. tags:
  36362. - 用户信息
  36363. /User/UpdateUserHeadUrl:
  36364. post:
  36365. parameters:
  36366. - description: 入参
  36367. in: body
  36368. name: data
  36369. required: true
  36370. schema:
  36371. $ref: '#/definitions/user.UpdateUserHeadUrlReq'
  36372. produces:
  36373. - application/json
  36374. responses:
  36375. "200":
  36376. description: OK
  36377. schema:
  36378. $ref: '#/definitions/app.Response'
  36379. "500":
  36380. description: Internal Server Error
  36381. schema:
  36382. $ref: '#/definitions/app.Response'
  36383. security:
  36384. - ApiKeyAuth: []
  36385. summary: 更新用户头像
  36386. tags:
  36387. - 用户信息
  36388. /WRTrade/GetAllDeliveryGoods:
  36389. get:
  36390. produces:
  36391. - application/json
  36392. responses:
  36393. "200":
  36394. description: OK
  36395. schema:
  36396. $ref: '#/definitions/app.Response'
  36397. "500":
  36398. description: Internal Server Error
  36399. schema:
  36400. $ref: '#/definitions/app.Response'
  36401. security:
  36402. - ApiKeyAuth: []
  36403. summary: 获取带仓单分类的种类信息
  36404. tags:
  36405. - 仓单贸易
  36406. - 仓单贸易
  36407. /WrTrade2/InsertXhcpSellBackApply:
  36408. post:
  36409. parameters:
  36410. - description: 回收申请
  36411. in: body
  36412. name: jsonBody
  36413. required: true
  36414. schema:
  36415. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36416. produces:
  36417. - application/json
  36418. responses:
  36419. "200":
  36420. description: OK
  36421. schema:
  36422. $ref: '#/definitions/app.Response'
  36423. "500":
  36424. description: Internal Server Error
  36425. schema:
  36426. $ref: '#/definitions/app.Response'
  36427. security:
  36428. - ApiKeyAuth: []
  36429. summary: 新增回收申请(新会陈皮)
  36430. tags:
  36431. - 仓单贸易v2
  36432. /WrTrade2/QueryDeliveryGoodsSection:
  36433. get:
  36434. produces:
  36435. - application/json
  36436. responses:
  36437. "200":
  36438. description: OK
  36439. schema:
  36440. items:
  36441. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36442. type: array
  36443. "500":
  36444. description: Internal Server Error
  36445. schema:
  36446. $ref: '#/definitions/app.Response'
  36447. security:
  36448. - ApiKeyAuth: []
  36449. summary: 查询板块(分类)
  36450. tags:
  36451. - 仓单贸易v2
  36452. /WrTrade2/QueryFaProductDetail:
  36453. get:
  36454. description: 页面 买卖大厅 -> 选择融资方案
  36455. parameters:
  36456. - description: 仓单要素id
  36457. in: query
  36458. name: wrfactortypeid
  36459. required: true
  36460. type: integer
  36461. produces:
  36462. - application/json
  36463. responses:
  36464. "200":
  36465. description: OK
  36466. schema:
  36467. items:
  36468. $ref: '#/definitions/models.WrFAProductDetail'
  36469. type: array
  36470. "500":
  36471. description: Internal Server Error
  36472. schema:
  36473. $ref: '#/definitions/app.Response'
  36474. security:
  36475. - ApiKeyAuth: []
  36476. summary: 查询融资产品列表
  36477. tags:
  36478. - 仓单贸易v2
  36479. /WrTrade2/QueryFilterItem:
  36480. get:
  36481. parameters:
  36482. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36483. in: query
  36484. name: itype
  36485. required: true
  36486. type: string
  36487. produces:
  36488. - application/json
  36489. responses:
  36490. "200":
  36491. description: OK
  36492. schema:
  36493. items:
  36494. $ref: '#/definitions/models.WrFilterItem'
  36495. type: array
  36496. "500":
  36497. description: Internal Server Error
  36498. schema:
  36499. $ref: '#/definitions/app.Response'
  36500. security:
  36501. - ApiKeyAuth: []
  36502. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36503. tags:
  36504. - 仓单贸易v2
  36505. /WrTrade2/QueryFtDeliveryGoods:
  36506. get:
  36507. produces:
  36508. - application/json
  36509. responses:
  36510. "200":
  36511. description: OK
  36512. schema:
  36513. items:
  36514. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36515. type: array
  36516. "500":
  36517. description: Internal Server Error
  36518. schema:
  36519. $ref: '#/definitions/app.Response'
  36520. security:
  36521. - ApiKeyAuth: []
  36522. summary: 查询品种品类筛选框列表
  36523. tags:
  36524. - 仓单贸易v2
  36525. /WrTrade2/QueryHoldLB:
  36526. get:
  36527. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36528. parameters:
  36529. - description: 资金账号
  36530. in: query
  36531. name: accountid
  36532. required: true
  36533. type: integer
  36534. - description: 仓库id
  36535. in: query
  36536. name: warehouseid
  36537. type: integer
  36538. - description: 品种id
  36539. in: query
  36540. name: deliverygoodsid
  36541. type: integer
  36542. - description: 品类id
  36543. in: query
  36544. name: wrstandardid
  36545. type: integer
  36546. - description: 仓单要素id
  36547. in: query
  36548. name: wrfactortypeid
  36549. type: integer
  36550. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36551. in: query
  36552. name: dgitemname
  36553. type: string
  36554. produces:
  36555. - application/json
  36556. responses:
  36557. "200":
  36558. description: OK
  36559. schema:
  36560. items:
  36561. $ref: '#/definitions/models.WrHoldLB'
  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/QueryOrderQuote:
  36573. get:
  36574. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36575. 唯一确定1条记录
  36576. parameters:
  36577. - description: 页码
  36578. in: query
  36579. name: page
  36580. type: integer
  36581. - description: 每页条数
  36582. in: query
  36583. name: pagesize
  36584. type: integer
  36585. - description: 仓单贸易市场id
  36586. in: query
  36587. name: marketid
  36588. type: integer
  36589. - description: 价格方式 - 1:固定价 2-浮动价
  36590. in: query
  36591. name: wrpricetype
  36592. required: true
  36593. type: integer
  36594. - description: 0:仓单预售 1:仓单贸易
  36595. in: query
  36596. name: haswr
  36597. type: integer
  36598. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36599. in: query
  36600. name: dgitemname
  36601. type: string
  36602. - description: 仓库id(筛选条件)
  36603. in: query
  36604. name: warehouseid
  36605. type: integer
  36606. - description: 品种id
  36607. in: query
  36608. name: deliverygoodsid
  36609. type: integer
  36610. - description: 品类id
  36611. in: query
  36612. name: wrstandardid
  36613. type: integer
  36614. - description: 品牌id(dgfactoryitemid)
  36615. in: query
  36616. name: brandid
  36617. type: integer
  36618. - description: 年份id(dgfactoryitemid)
  36619. in: query
  36620. name: yearsid
  36621. type: integer
  36622. - description: 仓单要素id
  36623. in: query
  36624. name: wrfactortypeid
  36625. type: integer
  36626. - description: 交收月(yyyy-mm) 仓单预售填写
  36627. in: query
  36628. name: deliverymonth
  36629. type: string
  36630. produces:
  36631. - application/json
  36632. responses:
  36633. "200":
  36634. description: OK
  36635. schema:
  36636. items:
  36637. $ref: '#/definitions/models.WrOrderQuote'
  36638. type: array
  36639. "500":
  36640. description: Internal Server Error
  36641. schema:
  36642. $ref: '#/definitions/app.Response'
  36643. security:
  36644. - ApiKeyAuth: []
  36645. summary: 查询大厅行情列表
  36646. tags:
  36647. - 仓单贸易v2
  36648. /WrTrade2/QueryOrderQuoteDetail:
  36649. get:
  36650. parameters:
  36651. - description: 页码
  36652. in: query
  36653. name: page
  36654. type: integer
  36655. - description: 每页条数
  36656. in: query
  36657. name: pagesize
  36658. type: integer
  36659. - description: 仓单贸易市场id
  36660. in: query
  36661. name: marketid
  36662. type: integer
  36663. - description: 价格方式 - 1:固定价 2-浮动价
  36664. in: query
  36665. name: wrpricetype
  36666. required: true
  36667. type: integer
  36668. - description: 0:仓单预售 1:仓单贸易
  36669. in: query
  36670. name: haswr
  36671. type: integer
  36672. - description: 仓单要素id
  36673. in: query
  36674. name: wrfactortypeid
  36675. required: true
  36676. type: integer
  36677. - description: 期货商品id(浮动价方式时填)
  36678. in: query
  36679. name: goodsid
  36680. type: integer
  36681. - description: 买卖方向 0-买 1-卖
  36682. in: query
  36683. name: buyorsell
  36684. required: true
  36685. type: integer
  36686. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36687. in: query
  36688. name: deliverymonth
  36689. type: string
  36690. produces:
  36691. - application/json
  36692. responses:
  36693. "200":
  36694. description: OK
  36695. schema:
  36696. items:
  36697. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36698. type: array
  36699. "500":
  36700. description: Internal Server Error
  36701. schema:
  36702. $ref: '#/definitions/app.Response'
  36703. security:
  36704. - ApiKeyAuth: []
  36705. summary: 查询买卖大厅
  36706. tags:
  36707. - 仓单贸易v2
  36708. /WrTrade2/QueryOrderQuoteMyq:
  36709. get:
  36710. parameters:
  36711. - description: 页码
  36712. in: query
  36713. name: page
  36714. type: integer
  36715. - description: 每页条数
  36716. in: query
  36717. name: pagesize
  36718. type: integer
  36719. - description: 用户id
  36720. in: query
  36721. name: userid
  36722. required: true
  36723. type: integer
  36724. - description: 仓单贸易市场id
  36725. in: query
  36726. name: marketid
  36727. type: integer
  36728. - description: 0:仓单预售 1:仓单贸易
  36729. in: query
  36730. name: haswr
  36731. type: integer
  36732. - description: 买卖方向 0-买 1-卖
  36733. in: query
  36734. name: buyorsell
  36735. required: true
  36736. type: integer
  36737. - description: 品种id
  36738. in: query
  36739. name: deliverygoodsid
  36740. type: integer
  36741. - description: 品类id
  36742. in: query
  36743. name: wrstandardid
  36744. type: integer
  36745. - description: 交收月(yyyy-mm) 仓单预售填写
  36746. in: query
  36747. name: deliverymonth
  36748. type: string
  36749. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36750. in: query
  36751. name: dgitemname
  36752. type: string
  36753. produces:
  36754. - application/json
  36755. responses:
  36756. "200":
  36757. description: OK
  36758. schema:
  36759. items:
  36760. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36761. type: array
  36762. "500":
  36763. description: Internal Server Error
  36764. schema:
  36765. $ref: '#/definitions/app.Response'
  36766. security:
  36767. - ApiKeyAuth: []
  36768. summary: 查询贸易圈挂牌大厅
  36769. tags:
  36770. - 仓单贸易v2
  36771. /WrTrade2/QueryPerformancePlan:
  36772. get:
  36773. parameters:
  36774. - description: 用户id
  36775. in: query
  36776. name: userid
  36777. required: true
  36778. type: integer
  36779. - description: 买卖方向 0-买 1-卖
  36780. in: query
  36781. name: buyorsell
  36782. required: true
  36783. type: integer
  36784. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36785. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36786. in: query
  36787. name: status
  36788. type: string
  36789. - description: 开始交易日(yyyymmdd)
  36790. in: query
  36791. name: begindate
  36792. type: string
  36793. - description: 结束交易日(yyyymmdd)
  36794. in: query
  36795. name: enddate
  36796. type: string
  36797. produces:
  36798. - application/json
  36799. responses:
  36800. "200":
  36801. description: OK
  36802. schema:
  36803. items:
  36804. $ref: '#/definitions/models.WrPerformancePlan'
  36805. type: array
  36806. "500":
  36807. description: Internal Server Error
  36808. schema:
  36809. $ref: '#/definitions/app.Response'
  36810. security:
  36811. - ApiKeyAuth: []
  36812. summary: 查询履约信息
  36813. tags:
  36814. - 仓单贸易v2
  36815. /WrTrade2/QueryPermancePlanTmp:
  36816. get:
  36817. description: |-
  36818. 返回指定用户的模板和公共模板(用户id为空)
  36819. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36820. parameters:
  36821. - description: 用户id
  36822. in: query
  36823. name: userid
  36824. type: integer
  36825. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36826. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36827. in: query
  36828. name: tmptype
  36829. type: string
  36830. - description: 是否包含公共模板(用户id为空的) 1-包含
  36831. in: query
  36832. name: includepub
  36833. type: integer
  36834. - description: 市场id(天津麦顿指定此参数,其它不用)
  36835. in: query
  36836. name: marketid
  36837. type: integer
  36838. produces:
  36839. - application/json
  36840. responses:
  36841. "200":
  36842. description: OK
  36843. schema:
  36844. items:
  36845. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36846. type: array
  36847. "500":
  36848. description: Internal Server Error
  36849. schema:
  36850. $ref: '#/definitions/app.Response'
  36851. security:
  36852. - ApiKeyAuth: []
  36853. summary: 查询履约模板
  36854. tags:
  36855. - 仓单贸易v2
  36856. /WrTrade2/QuerySiteColumnConfig:
  36857. get:
  36858. parameters:
  36859. - description: 页码
  36860. in: query
  36861. name: page
  36862. type: integer
  36863. - description: 每页条数
  36864. in: query
  36865. name: pagesize
  36866. type: integer
  36867. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36868. in: query
  36869. name: columntype
  36870. type: integer
  36871. produces:
  36872. - application/json
  36873. responses:
  36874. "200":
  36875. description: OK
  36876. schema:
  36877. items:
  36878. $ref: '#/definitions/models.Sitecolumnconfig'
  36879. type: array
  36880. "500":
  36881. description: Internal Server Error
  36882. schema:
  36883. $ref: '#/definitions/app.Response'
  36884. security:
  36885. - ApiKeyAuth: []
  36886. summary: 查询资讯栏目配置
  36887. tags:
  36888. - 仓单贸易v2
  36889. /WrTrade2/QuerySiteColumnDetail:
  36890. get:
  36891. parameters:
  36892. - description: 页码
  36893. in: query
  36894. name: page
  36895. type: integer
  36896. - description: 每页条数
  36897. in: query
  36898. name: pagesize
  36899. type: integer
  36900. - description: 所属栏目id
  36901. in: query
  36902. name: columnid
  36903. type: integer
  36904. produces:
  36905. - application/json
  36906. responses:
  36907. "200":
  36908. description: OK
  36909. schema:
  36910. items:
  36911. $ref: '#/definitions/models.WrSiteColumnDetail'
  36912. type: array
  36913. "500":
  36914. description: Internal Server Error
  36915. schema:
  36916. $ref: '#/definitions/app.Response'
  36917. security:
  36918. - ApiKeyAuth: []
  36919. summary: 查询资讯
  36920. tags:
  36921. - 仓单贸易v2
  36922. /WrTrade2/QuerySpotGroupTradeSum:
  36923. get:
  36924. produces:
  36925. - application/json
  36926. responses:
  36927. "200":
  36928. description: OK
  36929. schema:
  36930. items:
  36931. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36932. type: array
  36933. "500":
  36934. description: Internal Server Error
  36935. schema:
  36936. $ref: '#/definitions/app.Response'
  36937. security:
  36938. - ApiKeyAuth: []
  36939. summary: 查询指数
  36940. tags:
  36941. - 仓单贸易v2
  36942. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36943. get:
  36944. description: 查询的结果将会按日期 从小到大 排序
  36945. parameters:
  36946. - description: 现货商品id
  36947. in: query
  36948. name: deliverygoodsid
  36949. required: true
  36950. type: integer
  36951. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36952. in: query
  36953. name: lastnum
  36954. type: integer
  36955. produces:
  36956. - application/json
  36957. responses:
  36958. "200":
  36959. description: OK
  36960. schema:
  36961. items:
  36962. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36963. type: array
  36964. "500":
  36965. description: Internal Server Error
  36966. schema:
  36967. $ref: '#/definitions/app.Response'
  36968. security:
  36969. - ApiKeyAuth: []
  36970. summary: 查询指数详细(价格走势图)
  36971. tags:
  36972. - 仓单贸易v2
  36973. /WrTrade2/QueryWrAverageTradePrice:
  36974. get:
  36975. parameters:
  36976. - description: 页码
  36977. in: query
  36978. name: page
  36979. type: integer
  36980. - description: 每页条数
  36981. in: query
  36982. name: pagesize
  36983. type: integer
  36984. - description: 0:仓单预售 1:仓单贸易
  36985. in: query
  36986. name: haswr
  36987. required: true
  36988. type: integer
  36989. - description: 仓单要素id
  36990. in: query
  36991. name: wrfactortypeid
  36992. required: true
  36993. type: integer
  36994. produces:
  36995. - application/json
  36996. responses:
  36997. "200":
  36998. description: OK
  36999. schema:
  37000. items:
  37001. $ref: '#/definitions/models.WrAverageTradePrice'
  37002. type: array
  37003. "500":
  37004. description: Internal Server Error
  37005. schema:
  37006. $ref: '#/definitions/app.Response'
  37007. security:
  37008. - ApiKeyAuth: []
  37009. summary: 查询成交价(历史走势)
  37010. tags:
  37011. - 仓单贸易v2
  37012. /WrTrade2/QueryWrBrandAndYears:
  37013. get:
  37014. produces:
  37015. - application/json
  37016. responses:
  37017. "200":
  37018. description: OK
  37019. schema:
  37020. items:
  37021. $ref: '#/definitions/models.WrBrandAndYears'
  37022. type: array
  37023. "500":
  37024. description: Internal Server Error
  37025. schema:
  37026. $ref: '#/definitions/app.Response'
  37027. security:
  37028. - ApiKeyAuth: []
  37029. summary: 查询品牌和年份
  37030. tags:
  37031. - 仓单贸易v2
  37032. /WrTrade2/QueryWrBsGoodsInfo:
  37033. get:
  37034. description: 合约交易/买卖大厅/详情
  37035. parameters:
  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.WrBsGoodsInfo'
  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/QueryWrBuybackDetail:
  37060. get:
  37061. parameters:
  37062. - description: 融资合同id
  37063. in: query
  37064. name: scfcontractid
  37065. type: integer
  37066. produces:
  37067. - application/json
  37068. responses:
  37069. "200":
  37070. description: OK
  37071. schema:
  37072. items:
  37073. $ref: '#/definitions/models.WrBuybackDetail'
  37074. type: array
  37075. "500":
  37076. description: Internal Server Error
  37077. schema:
  37078. $ref: '#/definitions/app.Response'
  37079. security:
  37080. - ApiKeyAuth: []
  37081. summary: 查询仓单回购明细
  37082. tags:
  37083. - 仓单贸易v2
  37084. /WrTrade2/QueryWrClientAdSpaceConfig:
  37085. get:
  37086. produces:
  37087. - application/json
  37088. responses:
  37089. "200":
  37090. description: OK
  37091. schema:
  37092. items:
  37093. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  37094. type: array
  37095. "500":
  37096. description: Internal Server Error
  37097. schema:
  37098. $ref: '#/definitions/app.Response'
  37099. security:
  37100. - ApiKeyAuth: []
  37101. summary: 查询固定广告配置
  37102. tags:
  37103. - 仓单贸易v2
  37104. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37105. get:
  37106. parameters:
  37107. - description: 资金账号
  37108. in: query
  37109. name: accountid
  37110. required: true
  37111. type: integer
  37112. - description: 商品id
  37113. in: query
  37114. name: goodsid
  37115. required: true
  37116. type: integer
  37117. produces:
  37118. - application/json
  37119. responses:
  37120. "200":
  37121. description: OK
  37122. schema:
  37123. items:
  37124. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37125. type: array
  37126. "500":
  37127. description: Internal Server Error
  37128. schema:
  37129. $ref: '#/definitions/app.Response'
  37130. security:
  37131. - ApiKeyAuth: []
  37132. summary: 查询合约交收可点选仓单
  37133. tags:
  37134. - 仓单贸易v2
  37135. /WrTrade2/QueryWrDeliveryDetail:
  37136. get:
  37137. parameters:
  37138. - description: 用户id
  37139. in: query
  37140. name: userid
  37141. required: true
  37142. type: integer
  37143. - description: 资金账号id
  37144. in: query
  37145. name: accountid
  37146. type: integer
  37147. - description: 开始交易日(yyyymmdd)
  37148. in: query
  37149. name: begindate
  37150. type: string
  37151. - description: 结束交易日(yyyymmdd)
  37152. in: query
  37153. name: enddate
  37154. type: string
  37155. produces:
  37156. - application/json
  37157. responses:
  37158. "200":
  37159. description: OK
  37160. schema:
  37161. items:
  37162. $ref: '#/definitions/models.WrDeliveryDetail'
  37163. type: array
  37164. "500":
  37165. description: Internal Server Error
  37166. schema:
  37167. $ref: '#/definitions/app.Response'
  37168. security:
  37169. - ApiKeyAuth: []
  37170. summary: 查询交收
  37171. tags:
  37172. - 仓单贸易v2
  37173. /WrTrade2/QueryWrDraftUserInfo:
  37174. get:
  37175. parameters:
  37176. - description: 用户ID
  37177. in: query
  37178. name: userid
  37179. required: true
  37180. type: integer
  37181. - description: 用户状态 1:正常 2:注销
  37182. in: query
  37183. name: userstatus
  37184. type: integer
  37185. produces:
  37186. - application/json
  37187. responses:
  37188. "200":
  37189. description: OK
  37190. schema:
  37191. items:
  37192. $ref: '#/definitions/models.WrDraftUserInfo'
  37193. type: array
  37194. "500":
  37195. description: Internal Server Error
  37196. schema:
  37197. $ref: '#/definitions/app.Response'
  37198. security:
  37199. - ApiKeyAuth: []
  37200. summary: 查询实名认证信息
  37201. tags:
  37202. - 仓单贸易v2
  37203. /WrTrade2/QueryWrFactorTypeInfo:
  37204. get:
  37205. parameters:
  37206. - description: 仓单要素id
  37207. in: query
  37208. name: wrfactortypeid
  37209. required: true
  37210. type: integer
  37211. produces:
  37212. - application/json
  37213. responses:
  37214. "200":
  37215. description: OK
  37216. schema:
  37217. items:
  37218. $ref: '#/definitions/models.WrFactorTypeInfo'
  37219. type: array
  37220. "500":
  37221. description: Internal Server Error
  37222. schema:
  37223. $ref: '#/definitions/app.Response'
  37224. security:
  37225. - ApiKeyAuth: []
  37226. summary: 查询仓单要素详细信息
  37227. tags:
  37228. - 仓单贸易v2
  37229. /WrTrade2/QueryWrFactorTypeInfoEx:
  37230. get:
  37231. parameters:
  37232. - description: 仓单要素id
  37233. in: query
  37234. name: wrfactortypeid
  37235. required: true
  37236. type: integer
  37237. produces:
  37238. - application/json
  37239. responses:
  37240. "200":
  37241. description: OK
  37242. schema:
  37243. items:
  37244. $ref: '#/definitions/models.WrTypeItem'
  37245. type: array
  37246. "500":
  37247. description: Internal Server Error
  37248. schema:
  37249. $ref: '#/definitions/app.Response'
  37250. security:
  37251. - ApiKeyAuth: []
  37252. summary: 查询仓单要素详细信息列表项
  37253. tags:
  37254. - 仓单贸易v2
  37255. /WrTrade2/QueryWrFinanceBuyApply:
  37256. get:
  37257. description: 页面 融资信息+ / 申请单
  37258. parameters:
  37259. - description: 用户id
  37260. in: query
  37261. name: userid
  37262. required: true
  37263. type: integer
  37264. produces:
  37265. - application/json
  37266. responses:
  37267. "200":
  37268. description: OK
  37269. schema:
  37270. items:
  37271. $ref: '#/definitions/models.WrFinanceBuyApply'
  37272. type: array
  37273. "500":
  37274. description: Internal Server Error
  37275. schema:
  37276. $ref: '#/definitions/app.Response'
  37277. security:
  37278. - ApiKeyAuth: []
  37279. summary: 查询融资购买申请
  37280. tags:
  37281. - 仓单贸易v2
  37282. /WrTrade2/QueryWrFriendApply:
  37283. get:
  37284. parameters:
  37285. - description: 用户id
  37286. in: query
  37287. name: userid
  37288. required: true
  37289. type: integer
  37290. produces:
  37291. - application/json
  37292. responses:
  37293. "200":
  37294. description: OK
  37295. schema:
  37296. items:
  37297. $ref: '#/definitions/models.WrFriendApply'
  37298. type: array
  37299. "500":
  37300. description: Internal Server Error
  37301. schema:
  37302. $ref: '#/definitions/app.Response'
  37303. security:
  37304. - ApiKeyAuth: []
  37305. summary: 查询好友申请记录
  37306. tags:
  37307. - 仓单贸易v2
  37308. /WrTrade2/QueryWrGoodsInfo:
  37309. get:
  37310. parameters:
  37311. - description: 仓单贸易市场id
  37312. in: query
  37313. name: marketid
  37314. type: integer
  37315. - description: 0:仓单预售 1:仓单贸易
  37316. in: query
  37317. name: haswr
  37318. required: true
  37319. type: integer
  37320. - description: 仓单要素id
  37321. in: query
  37322. name: wrfactortypeid
  37323. required: true
  37324. type: integer
  37325. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37326. in: query
  37327. name: tmplateid
  37328. type: integer
  37329. produces:
  37330. - application/json
  37331. responses:
  37332. "200":
  37333. description: OK
  37334. schema:
  37335. items:
  37336. $ref: '#/definitions/models.WrGoodsInfo'
  37337. type: array
  37338. "500":
  37339. description: Internal Server Error
  37340. schema:
  37341. $ref: '#/definitions/app.Response'
  37342. security:
  37343. - ApiKeyAuth: []
  37344. summary: 查询仓单商品信息
  37345. tags:
  37346. - 仓单贸易v2
  37347. /WrTrade2/QueryWrMarketTradeConfig:
  37348. get:
  37349. parameters:
  37350. - description: 市场id
  37351. in: query
  37352. name: marketid
  37353. type: integer
  37354. produces:
  37355. - application/json
  37356. responses:
  37357. "200":
  37358. description: OK
  37359. schema:
  37360. items:
  37361. $ref: '#/definitions/models.WrMarketTradeConfig'
  37362. type: array
  37363. "500":
  37364. description: Internal Server Error
  37365. schema:
  37366. $ref: '#/definitions/app.Response'
  37367. security:
  37368. - ApiKeyAuth: []
  37369. summary: 查询市场交易参数配置
  37370. tags:
  37371. - 仓单贸易v2
  37372. /WrTrade2/QueryWrOrderDetail:
  37373. get:
  37374. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37375. parameters:
  37376. - description: 页码
  37377. in: query
  37378. name: page
  37379. type: integer
  37380. - description: 每页条数
  37381. in: query
  37382. name: pagesize
  37383. type: integer
  37384. - description: 用户id
  37385. in: query
  37386. name: userid
  37387. required: true
  37388. type: integer
  37389. - description: 仓单贸易市场id
  37390. in: query
  37391. name: marketid
  37392. type: integer
  37393. - description: 0:仓单预售 1:仓单贸易
  37394. in: query
  37395. name: haswr
  37396. required: true
  37397. type: integer
  37398. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37399. in: query
  37400. name: bcancel
  37401. type: integer
  37402. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37403. in: query
  37404. name: wrtradetype
  37405. type: integer
  37406. - description: 开始交易日(yyyymmdd)
  37407. in: query
  37408. name: begindate
  37409. type: string
  37410. - description: 结束交易日(yyyymmdd)
  37411. in: query
  37412. name: enddate
  37413. type: string
  37414. produces:
  37415. - application/json
  37416. responses:
  37417. "200":
  37418. description: OK
  37419. schema:
  37420. items:
  37421. $ref: '#/definitions/models.WrOrderDetail'
  37422. type: array
  37423. "500":
  37424. description: Internal Server Error
  37425. schema:
  37426. $ref: '#/definitions/app.Response'
  37427. security:
  37428. - ApiKeyAuth: []
  37429. summary: 查询仓单委托单
  37430. tags:
  37431. - 仓单贸易v2
  37432. /WrTrade2/QueryWrOutInApply:
  37433. get:
  37434. parameters:
  37435. - description: 页码
  37436. in: query
  37437. name: page
  37438. type: integer
  37439. - description: 每页条数
  37440. in: query
  37441. name: pagesize
  37442. type: integer
  37443. - description: 用户id
  37444. in: query
  37445. name: userid
  37446. required: true
  37447. type: integer
  37448. - description: 开始交易日(yyyymmdd)
  37449. in: query
  37450. name: begindate
  37451. type: string
  37452. - description: 结束交易日(yyyymmdd)
  37453. in: query
  37454. name: enddate
  37455. type: string
  37456. produces:
  37457. - application/json
  37458. responses:
  37459. "200":
  37460. description: OK
  37461. schema:
  37462. items:
  37463. $ref: '#/definitions/models.WrOutInApply'
  37464. type: array
  37465. "500":
  37466. description: Internal Server Error
  37467. schema:
  37468. $ref: '#/definitions/app.Response'
  37469. security:
  37470. - ApiKeyAuth: []
  37471. summary: 查询提货申请
  37472. tags:
  37473. - 仓单贸易v2
  37474. /WrTrade2/QueryWrPerformancePlanStep:
  37475. get:
  37476. parameters:
  37477. - description: 履约计划id(performanceplanid)
  37478. in: query
  37479. name: planid
  37480. required: true
  37481. type: integer
  37482. - description: 当前步骤id
  37483. in: query
  37484. name: curstepid
  37485. type: integer
  37486. produces:
  37487. - application/json
  37488. responses:
  37489. "200":
  37490. description: OK
  37491. schema:
  37492. items:
  37493. $ref: '#/definitions/models.WrPerformancePlanStep'
  37494. type: array
  37495. "500":
  37496. description: Internal Server Error
  37497. schema:
  37498. $ref: '#/definitions/app.Response'
  37499. security:
  37500. - ApiKeyAuth: []
  37501. summary: 查询履约信息详情
  37502. tags:
  37503. - 仓单贸易v2
  37504. /WrTrade2/QueryWrPerformanceStepType:
  37505. get:
  37506. produces:
  37507. - application/json
  37508. responses:
  37509. "200":
  37510. description: OK
  37511. schema:
  37512. items:
  37513. $ref: '#/definitions/models.WrPerformanceStepType'
  37514. type: array
  37515. "500":
  37516. description: Internal Server Error
  37517. schema:
  37518. $ref: '#/definitions/app.Response'
  37519. security:
  37520. - ApiKeyAuth: []
  37521. summary: 查询履约步骤枚举
  37522. tags:
  37523. - 仓单贸易v2
  37524. /WrTrade2/QueryWrPosition:
  37525. get:
  37526. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37527. parameters:
  37528. - description: 用户id
  37529. in: query
  37530. name: userid
  37531. required: true
  37532. type: integer
  37533. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37534. in: query
  37535. name: querytype
  37536. required: true
  37537. type: integer
  37538. - description: 0:仓单预售 1:仓单贸易
  37539. in: query
  37540. name: haswr
  37541. required: true
  37542. type: integer
  37543. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37544. in: query
  37545. name: dgitemname
  37546. type: string
  37547. - description: 仓库id(筛选条件)
  37548. in: query
  37549. name: warehouseid
  37550. type: integer
  37551. - description: 品种id
  37552. in: query
  37553. name: deliverygoodsid
  37554. type: integer
  37555. - description: 品类id
  37556. in: query
  37557. name: wrstandardid
  37558. type: integer
  37559. produces:
  37560. - application/json
  37561. responses:
  37562. "200":
  37563. description: OK
  37564. schema:
  37565. items:
  37566. $ref: '#/definitions/models.WrPosition'
  37567. type: array
  37568. "500":
  37569. description: Internal Server Error
  37570. schema:
  37571. $ref: '#/definitions/app.Response'
  37572. security:
  37573. - ApiKeyAuth: []
  37574. summary: 查询现货(预售)仓单持仓
  37575. tags:
  37576. - 仓单贸易v2
  37577. /WrTrade2/QueryWrPreSaleInfo:
  37578. get:
  37579. parameters:
  37580. - description: 市场id
  37581. in: query
  37582. name: marketid
  37583. type: integer
  37584. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37585. in: query
  37586. name: presalestatus
  37587. type: string
  37588. - description: 摇号标识 - 0:未摇号 1:已摇号
  37589. in: query
  37590. name: lotteryflag
  37591. type: integer
  37592. - description: 最近多少条记录(按创建时间倒序)
  37593. in: query
  37594. name: lastnum
  37595. type: integer
  37596. produces:
  37597. - application/json
  37598. responses:
  37599. "200":
  37600. description: OK
  37601. schema:
  37602. items:
  37603. $ref: '#/definitions/models.WrPreSaleInfo'
  37604. type: array
  37605. "500":
  37606. description: Internal Server Error
  37607. schema:
  37608. $ref: '#/definitions/app.Response'
  37609. security:
  37610. - ApiKeyAuth: []
  37611. summary: 查询新品发布
  37612. tags:
  37613. - 仓单贸易v2
  37614. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37615. get:
  37616. parameters:
  37617. - description: 市场id
  37618. in: query
  37619. name: marketid
  37620. required: true
  37621. type: integer
  37622. - description: 现货商品id
  37623. in: query
  37624. name: wrstandardid
  37625. required: true
  37626. type: integer
  37627. - description: 开始交易日(yyyymmdd)
  37628. in: query
  37629. name: begindate
  37630. type: string
  37631. - description: 结束交易日(yyyymmdd)
  37632. in: query
  37633. name: enddate
  37634. type: string
  37635. - description: 最近多少条记录(按交易日倒序)
  37636. in: query
  37637. name: lastnum
  37638. type: integer
  37639. - description: 是否今日
  37640. in: query
  37641. name: istoday
  37642. type: boolean
  37643. produces:
  37644. - application/json
  37645. responses:
  37646. "200":
  37647. description: OK
  37648. schema:
  37649. items:
  37650. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37651. type: array
  37652. "500":
  37653. description: Internal Server Error
  37654. schema:
  37655. $ref: '#/definitions/app.Response'
  37656. security:
  37657. - ApiKeyAuth: []
  37658. summary: 查询价格走势
  37659. tags:
  37660. - 仓单贸易v2
  37661. /WrTrade2/QueryWrScfContract:
  37662. get:
  37663. parameters:
  37664. - description: 用户id
  37665. in: query
  37666. name: userid
  37667. required: true
  37668. type: integer
  37669. - description: 融资合同id
  37670. in: query
  37671. name: scfcontractid
  37672. type: integer
  37673. produces:
  37674. - application/json
  37675. responses:
  37676. "200":
  37677. description: OK
  37678. schema:
  37679. items:
  37680. $ref: '#/definitions/models.WrScfContract'
  37681. type: array
  37682. "500":
  37683. description: Internal Server Error
  37684. schema:
  37685. $ref: '#/definitions/app.Response'
  37686. security:
  37687. - ApiKeyAuth: []
  37688. summary: 查询仓单贸易融资合同
  37689. tags:
  37690. - 仓单贸易v2
  37691. /WrTrade2/QueryWrScfContractInterest:
  37692. get:
  37693. parameters:
  37694. - description: 融资合同id
  37695. in: query
  37696. name: scfcontractid
  37697. type: integer
  37698. produces:
  37699. - application/json
  37700. responses:
  37701. "200":
  37702. description: OK
  37703. schema:
  37704. items:
  37705. $ref: '#/definitions/models.WrScfContractInterest'
  37706. type: array
  37707. "500":
  37708. description: Internal Server Error
  37709. schema:
  37710. $ref: '#/definitions/app.Response'
  37711. security:
  37712. - ApiKeyAuth: []
  37713. summary: 查询融资合同费用明细
  37714. tags:
  37715. - 仓单贸易v2
  37716. /WrTrade2/QueryWrSearchUser:
  37717. get:
  37718. parameters:
  37719. - description: 用户名称(模糊匹配)
  37720. in: query
  37721. name: username
  37722. required: true
  37723. type: string
  37724. produces:
  37725. - application/json
  37726. responses:
  37727. "200":
  37728. description: OK
  37729. schema:
  37730. items:
  37731. $ref: '#/definitions/models.WrSearchUser'
  37732. type: array
  37733. "500":
  37734. description: Internal Server Error
  37735. schema:
  37736. $ref: '#/definitions/app.Response'
  37737. security:
  37738. - ApiKeyAuth: []
  37739. summary: 查询用户
  37740. tags:
  37741. - 仓单贸易v2
  37742. /WrTrade2/QueryWrSpecialMatchOrder:
  37743. get:
  37744. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37745. parameters:
  37746. - description: 页码
  37747. in: query
  37748. name: page
  37749. type: integer
  37750. - description: 每页条数
  37751. in: query
  37752. name: pagesize
  37753. type: integer
  37754. - description: 用户id
  37755. in: query
  37756. name: userid
  37757. required: true
  37758. type: integer
  37759. - description: 仓单贸易市场id
  37760. in: query
  37761. name: marketid
  37762. type: integer
  37763. - description: 0:仓单预售 1:仓单贸易
  37764. in: query
  37765. name: haswr
  37766. required: true
  37767. type: integer
  37768. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37769. in: query
  37770. name: isspecified
  37771. type: integer
  37772. produces:
  37773. - application/json
  37774. responses:
  37775. "200":
  37776. description: OK
  37777. schema:
  37778. items:
  37779. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37780. type: array
  37781. "500":
  37782. description: Internal Server Error
  37783. schema:
  37784. $ref: '#/definitions/app.Response'
  37785. security:
  37786. - ApiKeyAuth: []
  37787. summary: 查询指定成交
  37788. tags:
  37789. - 仓单贸易v2
  37790. /WrTrade2/QueryWrStandardFactoryItem:
  37791. get:
  37792. parameters:
  37793. - description: 品类id
  37794. in: query
  37795. name: wrstandardid
  37796. required: true
  37797. type: integer
  37798. produces:
  37799. - application/json
  37800. responses:
  37801. "200":
  37802. description: OK
  37803. schema:
  37804. items:
  37805. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37806. type: array
  37807. "500":
  37808. description: Internal Server Error
  37809. schema:
  37810. $ref: '#/definitions/app.Response'
  37811. security:
  37812. - ApiKeyAuth: []
  37813. summary: 查询品类要素定义项
  37814. tags:
  37815. - 仓单贸易v2
  37816. /WrTrade2/QueryWrTradeBargainApply:
  37817. get:
  37818. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37819. 议价->对方议价 填写matchuserid=登录用户id
  37820. parameters:
  37821. - description: 议价人id(摘牌方)
  37822. in: query
  37823. name: userid
  37824. type: integer
  37825. - description: 挂牌方id(查对方议价时,填写此项)
  37826. in: query
  37827. name: matchuserid
  37828. type: integer
  37829. - description: 关联委托单id
  37830. in: query
  37831. name: wrtradeorderid
  37832. type: integer
  37833. - description: 0:仓单预售 1:仓单贸易
  37834. in: query
  37835. name: haswr
  37836. required: true
  37837. type: integer
  37838. - description: 开始交易日(yyyymmdd)
  37839. in: query
  37840. name: begindate
  37841. type: string
  37842. - description: 结束交易日(yyyymmdd)
  37843. in: query
  37844. name: enddate
  37845. type: string
  37846. produces:
  37847. - application/json
  37848. responses:
  37849. "200":
  37850. description: OK
  37851. schema:
  37852. items:
  37853. $ref: '#/definitions/models.WRTradeBargainApply'
  37854. type: array
  37855. "500":
  37856. description: Internal Server Error
  37857. schema:
  37858. $ref: '#/definitions/app.Response'
  37859. security:
  37860. - ApiKeyAuth: []
  37861. summary: 查询议价单
  37862. tags:
  37863. - 仓单贸易v2
  37864. /WrTrade2/QueryWrTradeDetail:
  37865. get:
  37866. parameters:
  37867. - description: 页码
  37868. in: query
  37869. name: page
  37870. type: integer
  37871. - description: 每页条数
  37872. in: query
  37873. name: pagesize
  37874. type: integer
  37875. - description: 用户id
  37876. in: query
  37877. name: userid
  37878. required: true
  37879. type: integer
  37880. - description: 仓单贸易市场id
  37881. in: query
  37882. name: marketid
  37883. type: integer
  37884. - description: 0:仓单预售 1:仓单贸易
  37885. in: query
  37886. name: haswr
  37887. required: true
  37888. type: integer
  37889. - description: 开始交易日(yyyymmdd)
  37890. in: query
  37891. name: begindate
  37892. type: string
  37893. - description: 结束交易日(yyyymmdd)
  37894. in: query
  37895. name: enddate
  37896. type: string
  37897. produces:
  37898. - application/json
  37899. responses:
  37900. "200":
  37901. description: OK
  37902. schema:
  37903. items:
  37904. $ref: '#/definitions/models.WrTradeDetail'
  37905. type: array
  37906. "500":
  37907. description: Internal Server Error
  37908. schema:
  37909. $ref: '#/definitions/app.Response'
  37910. security:
  37911. - ApiKeyAuth: []
  37912. summary: 查询仓单成交明细
  37913. tags:
  37914. - 仓单贸易v2
  37915. /WrTrade2/QueryWrTradeOrderDetail:
  37916. get:
  37917. parameters:
  37918. - description: 页码
  37919. in: query
  37920. name: page
  37921. type: integer
  37922. - description: 每页条数
  37923. in: query
  37924. name: pagesize
  37925. type: integer
  37926. - description: 商品id
  37927. in: query
  37928. name: goodsid
  37929. required: true
  37930. type: integer
  37931. - description: 买卖方向 0-买 1-卖
  37932. in: query
  37933. name: buyorsell
  37934. required: true
  37935. type: integer
  37936. produces:
  37937. - application/json
  37938. responses:
  37939. "200":
  37940. description: OK
  37941. schema:
  37942. items:
  37943. $ref: '#/definitions/models.WrTradeOrderDetail'
  37944. type: array
  37945. "500":
  37946. description: Internal Server Error
  37947. schema:
  37948. $ref: '#/definitions/app.Response'
  37949. security:
  37950. - ApiKeyAuth: []
  37951. summary: 查询合约交易买卖大厅
  37952. tags:
  37953. - 仓单贸易v2
  37954. /WrTrade2/QueryWrTradeQuote:
  37955. get:
  37956. parameters:
  37957. - description: 现货商品id
  37958. in: query
  37959. name: wrstandardid
  37960. required: true
  37961. type: integer
  37962. - description: 开始日期(yyyymmdd)
  37963. in: query
  37964. name: begindate
  37965. required: true
  37966. type: string
  37967. - description: 结束日期(yyyymmdd)
  37968. in: query
  37969. name: enddate
  37970. required: true
  37971. type: string
  37972. - description: 市场id
  37973. in: query
  37974. name: marketid
  37975. type: integer
  37976. produces:
  37977. - application/json
  37978. responses:
  37979. "200":
  37980. description: OK
  37981. schema:
  37982. items:
  37983. $ref: '#/definitions/models.Wrtradetradequote'
  37984. type: array
  37985. "500":
  37986. description: Internal Server Error
  37987. schema:
  37988. $ref: '#/definitions/app.Response'
  37989. security:
  37990. - ApiKeyAuth: []
  37991. summary: 查询仓单贸易成交行情
  37992. tags:
  37993. - 仓单贸易v2
  37994. /WrTrade2/QueryWrUserFriend:
  37995. get:
  37996. parameters:
  37997. - description: 用户id
  37998. in: query
  37999. name: userid
  38000. required: true
  38001. type: integer
  38002. - description: 新朋友userid, 如果填写了此项则查找新朋友
  38003. in: query
  38004. name: newuserid
  38005. type: integer
  38006. produces:
  38007. - application/json
  38008. responses:
  38009. "200":
  38010. description: OK
  38011. schema:
  38012. items:
  38013. $ref: '#/definitions/models.WrUserFriend'
  38014. type: array
  38015. "500":
  38016. description: Internal Server Error
  38017. schema:
  38018. $ref: '#/definitions/app.Response'
  38019. security:
  38020. - ApiKeyAuth: []
  38021. summary: 查询我的朋友
  38022. tags:
  38023. - 仓单贸易v2
  38024. /WrTrade2/QueryWrUserReceiptInfo:
  38025. get:
  38026. parameters:
  38027. - description: 用户id
  38028. in: query
  38029. name: userid
  38030. type: integer
  38031. - description: 发票类型 - 1:个人 2:企业
  38032. in: query
  38033. name: receipttype
  38034. type: integer
  38035. produces:
  38036. - application/json
  38037. responses:
  38038. "200":
  38039. description: OK
  38040. schema:
  38041. items:
  38042. $ref: '#/definitions/models.WrUserReceiptInfo'
  38043. type: array
  38044. "500":
  38045. description: Internal Server Error
  38046. schema:
  38047. $ref: '#/definitions/app.Response'
  38048. security:
  38049. - ApiKeyAuth: []
  38050. summary: 查询发票信息
  38051. tags:
  38052. - 仓单贸易v2
  38053. /WrTrade2/QueryXhcpSellBackApply:
  38054. get:
  38055. parameters:
  38056. - description: 用户ID
  38057. in: query
  38058. name: userid
  38059. required: true
  38060. type: integer
  38061. produces:
  38062. - application/json
  38063. responses:
  38064. "200":
  38065. description: OK
  38066. schema:
  38067. items:
  38068. $ref: '#/definitions/models.Xhcpsellbackapply'
  38069. type: array
  38070. "500":
  38071. description: Internal Server Error
  38072. schema:
  38073. $ref: '#/definitions/app.Response'
  38074. security:
  38075. - ApiKeyAuth: []
  38076. summary: 查询我的回收申请(新会陈皮)
  38077. tags:
  38078. - 仓单贸易v2
  38079. /ZJ/GetBankTip:
  38080. get:
  38081. produces:
  38082. - application/json
  38083. responses:
  38084. "200":
  38085. description: OK
  38086. schema:
  38087. type: string
  38088. "500":
  38089. description: Internal Server Error
  38090. schema:
  38091. $ref: '#/definitions/app.Response'
  38092. summary: 获取中江网银端出入金提示信息
  38093. tags:
  38094. - 中江
  38095. /ZJ/GetCusBankChannels:
  38096. get:
  38097. produces:
  38098. - application/json
  38099. responses:
  38100. "200":
  38101. description: OK
  38102. schema:
  38103. items:
  38104. type: string
  38105. type: array
  38106. "500":
  38107. description: Internal Server Error
  38108. schema:
  38109. $ref: '#/definitions/app.Response'
  38110. summary: 获取中江出入金渠道显示列表
  38111. tags:
  38112. - 中江
  38113. securityDefinitions:
  38114. ApiKeyAuth:
  38115. in: header
  38116. name: Authorization
  38117. type: apiKey
  38118. Group:
  38119. in: header
  38120. name: Group
  38121. type: apiKey
  38122. LoginID:
  38123. in: header
  38124. name: LoginID
  38125. type: apiKey
  38126. swagger: "2.0"