swagger.yaml 1.0 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117
  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. pictureurls:
  18581. description: 详情图片(逗号分隔)
  18582. type: string
  18583. refgoodscode:
  18584. description: 参考商品代码
  18585. type: string
  18586. refgoodsid:
  18587. description: 参考商品ID
  18588. type: integer
  18589. unitid:
  18590. description: 现货商品单位ID
  18591. type: integer
  18592. wrstandardcode:
  18593. description: 现货商品代码
  18594. type: string
  18595. wrstandardid:
  18596. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18597. type: integer
  18598. wrstandardname:
  18599. description: 现货商品名称(模糊查询)
  18600. type: string
  18601. type: object
  18602. models.THJPurchaseTradeDetailRsp:
  18603. properties:
  18604. deliverydate:
  18605. description: 交割日期
  18606. items:
  18607. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18608. type: array
  18609. goodsinfo:
  18610. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18611. description: 商品信息
  18612. history:
  18613. description: 历史价格走势(历史数据日线)
  18614. items:
  18615. $ref: '#/definitions/models.HistoryData'
  18616. type: array
  18617. type: object
  18618. models.THJSigninReq:
  18619. properties:
  18620. userid:
  18621. description: 用户ID
  18622. type: integer
  18623. required:
  18624. - userid
  18625. type: object
  18626. models.THJSigninRsp:
  18627. properties:
  18628. signinstatus:
  18629. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18630. type: integer
  18631. type: object
  18632. models.THJSpotGoodsPriceLog:
  18633. properties:
  18634. spotgoodsprice:
  18635. description: 现货价格
  18636. type: number
  18637. tradedate:
  18638. description: 交易日(yyyyMMdd)
  18639. type: string
  18640. type: object
  18641. models.THJTradeData:
  18642. properties:
  18643. accountname:
  18644. description: 被推荐人
  18645. type: string
  18646. buytradelot:
  18647. description: 购买笔数
  18648. type: integer
  18649. buytradeqty:
  18650. description: 购买数量
  18651. type: number
  18652. marketid:
  18653. description: 市场ID 采购-64201 供求-65201
  18654. type: integer
  18655. reckondate:
  18656. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18657. type: string
  18658. selltradelot:
  18659. description: 销售笔数
  18660. type: integer
  18661. selltradeqty:
  18662. description: 销售数量
  18663. type: number
  18664. userid:
  18665. description: 用户ID
  18666. type: integer
  18667. wrstandardname:
  18668. description: 现货商品名称
  18669. type: string
  18670. required:
  18671. - marketid
  18672. - userid
  18673. type: object
  18674. models.THJUserLevelInfo:
  18675. properties:
  18676. appup:
  18677. description: 晋升已累计的数量
  18678. type: integer
  18679. checkday:
  18680. description: 最近一次考核日
  18681. type: string
  18682. levelgroup:
  18683. description: 当前等级
  18684. type: string
  18685. nextlevelgroup:
  18686. description: 下一等级
  18687. type: string
  18688. notyet:
  18689. description: 晋升还差多少数量
  18690. type: integer
  18691. progress:
  18692. description: 进度
  18693. type: number
  18694. type: object
  18695. models.THJWrstandard:
  18696. properties:
  18697. areauserid:
  18698. description: 所属机构
  18699. type: integer
  18700. bannerpicurl:
  18701. description: Banner图(逗号分隔)
  18702. type: string
  18703. convertfactor:
  18704. description: 标仓系数
  18705. type: number
  18706. deliverygoodsid:
  18707. description: 现货品种ID
  18708. type: integer
  18709. isvalid:
  18710. description: 是否有效 - 0:无效 1:有效
  18711. type: integer
  18712. minivalue:
  18713. description: 最小变动值
  18714. type: integer
  18715. minivaluedp:
  18716. description: 最小变动值小数位
  18717. type: integer
  18718. pictureurls:
  18719. description: 详情图片(逗号分隔)
  18720. type: string
  18721. realminivalue:
  18722. description: 实际最小变动值
  18723. type: integer
  18724. realminivaluedp:
  18725. description: 实际最小变动值小数位
  18726. type: integer
  18727. storagefee:
  18728. description: '仓储费(固定: 111)'
  18729. type: number
  18730. thumurls:
  18731. description: 缩略图片(1:1)(逗号分隔)
  18732. type: string
  18733. unitid:
  18734. description: 现货商品单位ID
  18735. type: integer
  18736. vatrate:
  18737. description: 现货增值税率
  18738. type: number
  18739. wrsstatus:
  18740. description: 状态 - 作废 - 0:未激活 1:正常
  18741. type: integer
  18742. wrstandardcode:
  18743. description: 现货商品代码
  18744. type: string
  18745. wrstandardid:
  18746. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18747. type: integer
  18748. wrstandardname:
  18749. description: 现货商品名称(模糊查询)
  18750. type: string
  18751. type: object
  18752. models.THJWrstandardDetail_GoodsInfo:
  18753. properties:
  18754. bannerpicurl:
  18755. description: Banner图(逗号分隔)
  18756. type: string
  18757. pictureurls:
  18758. description: 详情图片(逗号分隔)
  18759. type: string
  18760. spotgoodsprice:
  18761. description: 现货价格
  18762. type: number
  18763. unitid:
  18764. description: 现货商品单位ID
  18765. type: integer
  18766. wrstandardcode:
  18767. description: 现货商品代码
  18768. type: string
  18769. wrstandardid:
  18770. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18771. type: integer
  18772. wrstandardname:
  18773. description: 现货商品名称
  18774. type: string
  18775. type: object
  18776. models.THJWrstandardDetailRsp:
  18777. properties:
  18778. deliverymodes:
  18779. description: 交割方式
  18780. items:
  18781. $ref: '#/definitions/models.THJDeliveryMode'
  18782. type: array
  18783. deliverymonth:
  18784. description: 交割月份
  18785. items:
  18786. $ref: '#/definitions/models.THJDeliveryMonth'
  18787. type: array
  18788. goodsinfo:
  18789. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18790. description: 商品信息
  18791. presaleapplydeposits:
  18792. description: 支付方式
  18793. items:
  18794. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18795. type: array
  18796. spotgoodspricelogs:
  18797. description: 历史价格走势
  18798. items:
  18799. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18800. type: array
  18801. type: object
  18802. models.Taaccount:
  18803. properties:
  18804. accountflag:
  18805. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18806. type: integer
  18807. accountid:
  18808. description: 资金账户ID
  18809. type: integer
  18810. accountname:
  18811. description: 账户名称
  18812. type: string
  18813. balance:
  18814. description: 期初余额
  18815. type: number
  18816. capitalbalance:
  18817. description: 本金余额[外部子账户实际出入金余额]
  18818. type: number
  18819. changeflag:
  18820. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18821. type: integer
  18822. changetime:
  18823. description: 账户状态变更时间
  18824. type: string
  18825. closepl:
  18826. description: 今日平仓盈亏
  18827. type: number
  18828. creditdecrease:
  18829. description: 今日授信减少
  18830. type: number
  18831. creditincrease:
  18832. description: 今日授信增加
  18833. type: number
  18834. curamount:
  18835. description: 总市值(从持仓中统计)
  18836. type: number
  18837. currencyid:
  18838. description: 货币ID
  18839. type: integer
  18840. currentbalance:
  18841. description: 期末余额
  18842. type: number
  18843. freezecharge:
  18844. description: 手续费冻结
  18845. type: number
  18846. freezemargin:
  18847. description: 冻结保证金
  18848. type: number
  18849. fromaccountid:
  18850. description: 所属上级账户
  18851. type: integer
  18852. inamount:
  18853. description: 今日入金金额(包括三方入金)
  18854. type: number
  18855. ismain:
  18856. description: 是否母账号 0:不是母账户 1:是母账户
  18857. type: integer
  18858. ismarketaccount:
  18859. description: 是否机构接单账号 0:不是 1:是
  18860. type: integer
  18861. isreckonaccount:
  18862. description: 是否机构分润账号 0:不是 1:是
  18863. type: integer
  18864. mortgagecredit:
  18865. description: 授信金额
  18866. type: number
  18867. orifreezecharge:
  18868. description: 期初手续费冻结
  18869. type: number
  18870. orifreezemargin:
  18871. description: 期初冻结保证金
  18872. type: number
  18873. orimortgagecredit:
  18874. description: 期初授信金额
  18875. type: number
  18876. oriothercredit:
  18877. description: 期初其它授信金额
  18878. type: number
  18879. oriotherfreezemargin:
  18880. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18881. type: number
  18882. orioutamountfreeze:
  18883. description: 期初出金冻结
  18884. type: number
  18885. oriusedmargin:
  18886. description: 期初占用保证金
  18887. type: number
  18888. othercredit:
  18889. description: 其它授信金额
  18890. type: number
  18891. othercreditdecrease:
  18892. description: 今日其它授信减少
  18893. type: number
  18894. othercreditincrease:
  18895. description: 今日其它授信增加
  18896. type: number
  18897. otherfreezemargin:
  18898. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18899. type: number
  18900. otherincome:
  18901. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18902. type: number
  18903. otherpay:
  18904. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18905. type: number
  18906. outamount:
  18907. description: 今日出金金额(包括三方出金)
  18908. type: number
  18909. outamountfreeze:
  18910. description: 出金冻结
  18911. type: number
  18912. outthreshold:
  18913. description: 出金阈值
  18914. type: number
  18915. parentaccountid:
  18916. description: 所属根账号
  18917. type: integer
  18918. paycharge:
  18919. description: 今日手续费支出
  18920. type: number
  18921. relatedaccountstatus:
  18922. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18923. type: integer
  18924. relateduserid:
  18925. description: 关联用户
  18926. type: integer
  18927. remainamount:
  18928. description: 融资额(从融资合同中统计)
  18929. type: number
  18930. serivcegroup:
  18931. description: 服务分组
  18932. type: integer
  18933. signstatus:
  18934. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18935. type: integer
  18936. sublevelpath:
  18937. description: 账号层级路径(逗号分隔,首尾加逗号)
  18938. type: string
  18939. taaccounttype:
  18940. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18941. type: integer
  18942. thirdinamount:
  18943. description: 今日三方入金
  18944. type: number
  18945. thirdoutamount:
  18946. description: 今日三方出金
  18947. type: number
  18948. tradestatus:
  18949. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18950. type: integer
  18951. tradestatuschangetime:
  18952. description: 激活时间
  18953. type: string
  18954. transferamount:
  18955. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18956. type: number
  18957. usedmargin:
  18958. description: 占用保证金
  18959. type: number
  18960. userid:
  18961. description: 用户ID
  18962. type: integer
  18963. required:
  18964. - accountid
  18965. - userid
  18966. type: object
  18967. models.Tablecolumnconfig:
  18968. properties:
  18969. aligntype:
  18970. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18971. type: integer
  18972. autoid:
  18973. description: AutoID
  18974. type: integer
  18975. columnfield:
  18976. description: 列字段
  18977. type: string
  18978. columntitle:
  18979. description: 列Title
  18980. type: string
  18981. columnwidth:
  18982. description: 列宽
  18983. type: string
  18984. fixed:
  18985. description: 固定类型 - 空 | left | right
  18986. type: string
  18987. formatterstring:
  18988. description: 格式化字符
  18989. type: string
  18990. formattertype:
  18991. description: 格式化类型
  18992. type: string
  18993. groupname:
  18994. description: 表头分组名称
  18995. type: string
  18996. ismerge:
  18997. description: 是否合并显示 - 0:不合并 1:合并
  18998. type: integer
  18999. isshow:
  19000. description: 是否显示 - 0:不显示 1:显示
  19001. type: integer
  19002. needsummary:
  19003. description: 是否需要汇总 - 0:不需要 1:需要
  19004. type: integer
  19005. orderindex:
  19006. description: 顺序
  19007. type: integer
  19008. remark:
  19009. description: 备注
  19010. type: string
  19011. summarytype:
  19012. description: 汇总类型 - 1:加总 2:最后一个
  19013. type: integer
  19014. tablekey:
  19015. description: 列表Key
  19016. type: string
  19017. required:
  19018. - autoid
  19019. type: object
  19020. models.Thjpurchasetradedetail:
  19021. properties:
  19022. buyaccountid:
  19023. description: 买方账号ID
  19024. type: integer
  19025. buychargevalue:
  19026. description: 买方到期手续费
  19027. type: number
  19028. buyconfirmremark:
  19029. description: 买方确认备注
  19030. type: string
  19031. buyconfirmtime:
  19032. description: 买方确认时间
  19033. type: string
  19034. buyfreezecharge:
  19035. description: 买方摘牌冻结手续费
  19036. type: number
  19037. buyuserid:
  19038. description: 买方用户ID
  19039. type: integer
  19040. contactinfo:
  19041. description: 联系方式
  19042. type: string
  19043. contactname:
  19044. description: 联系人姓名
  19045. type: string
  19046. contractaddrbuy:
  19047. description: 贸易合同地址(买家)
  19048. type: string
  19049. contractaddrsell:
  19050. description: 贸易合同地址(卖家)
  19051. type: string
  19052. createtime:
  19053. description: 预售挂牌时间
  19054. type: string
  19055. deliverygoodsid:
  19056. description: 现货品种ID
  19057. type: integer
  19058. depositrate:
  19059. description: 定金比例
  19060. type: number
  19061. desaddress:
  19062. description: 目的地地址
  19063. type: string
  19064. discountamount:
  19065. description: 优惠总金额(优惠金额*TradeQty)
  19066. type: number
  19067. enddate:
  19068. description: 到期日期
  19069. type: string
  19070. enddatemonth:
  19071. description: 交收月份(提货日期)
  19072. type: string
  19073. handlestatus:
  19074. description: 处理状态
  19075. type: integer
  19076. lastamount:
  19077. description: 到期总货款 = 到期价格 * 摘牌数量
  19078. type: number
  19079. lastprice:
  19080. description: '[实际价]到期价格'
  19081. type: number
  19082. lastpricedate:
  19083. description: 到期价格日期 - 暂不使用
  19084. type: string
  19085. marketid:
  19086. description: 市场ID
  19087. type: integer
  19088. orderstatus:
  19089. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19090. (枚举:THJOrderStatus)
  19091. type: integer
  19092. payeddeposit:
  19093. description: '[定金]买方已付定金(预付款)'
  19094. type: number
  19095. payedtradedate:
  19096. description: 支付尾款成功交易日
  19097. type: string
  19098. presaleapplyid:
  19099. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19100. type: string
  19101. presalestatus:
  19102. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19103. type: integer
  19104. receiptinfo:
  19105. description: 发票信息
  19106. type: string
  19107. remainamount:
  19108. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19109. type: number
  19110. sellaccountid:
  19111. description: 卖方账号ID
  19112. type: integer
  19113. sellchargevalue:
  19114. description: 卖方到期手续费
  19115. type: number
  19116. sellconfirmattach:
  19117. description: 卖方确认附件
  19118. type: string
  19119. sellconfirmremark:
  19120. description: 卖方确认备注
  19121. type: string
  19122. sellconfirmtime:
  19123. description: 卖方确认时间
  19124. type: string
  19125. sellconfirmtradedate:
  19126. description: 卖方确认交易日
  19127. type: string
  19128. selluserid:
  19129. description: 卖方用户ID
  19130. type: integer
  19131. thjdeliverymode:
  19132. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19133. type: integer
  19134. thjdeliverymodedisplay:
  19135. description: 提货方式
  19136. type: string
  19137. thjorderstatusdisplay:
  19138. description: 状态
  19139. type: string
  19140. tradeamount:
  19141. description: 摘牌总货款
  19142. type: number
  19143. tradedate:
  19144. description: 交易日(yyyyMMdd)
  19145. type: string
  19146. tradeprice:
  19147. description: 摘牌价格 - 参考价
  19148. type: number
  19149. tradeqty:
  19150. description: '[预售价]摘牌数量'
  19151. type: integer
  19152. tradetime:
  19153. description: 摘牌时间(委托时间)
  19154. type: string
  19155. transferprice:
  19156. description: 转让价格 - 购买价
  19157. type: number
  19158. unitid:
  19159. description: 商品单位
  19160. type: integer
  19161. warehouseid:
  19162. description: 仓库ID
  19163. type: integer
  19164. warehousename:
  19165. description: 仓库名称
  19166. type: string
  19167. wrfactortypeid:
  19168. description: 仓单要素类型ID
  19169. type: string
  19170. wrstandardid:
  19171. description: 现货商品ID
  19172. type: integer
  19173. wrstandardname:
  19174. description: 现货商品名称
  19175. type: string
  19176. wrtradedetailid:
  19177. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19178. type: string
  19179. required:
  19180. - buyuserid
  19181. type: object
  19182. models.Thjpurchasetransfer:
  19183. properties:
  19184. buyaccountid:
  19185. description: 买方账号ID
  19186. type: integer
  19187. buyuserid:
  19188. description: 买方用户ID
  19189. type: integer
  19190. contractaddr:
  19191. description: 协议转让合同地址
  19192. type: string
  19193. createtime:
  19194. description: 转让挂牌时间
  19195. type: string
  19196. deliverygoodsid:
  19197. description: 现货品种ID
  19198. type: integer
  19199. enddate:
  19200. description: 到期日期
  19201. type: string
  19202. enddatemonth:
  19203. description: 交收月份(提货日期)
  19204. type: string
  19205. handlestatus:
  19206. description: 处理状态
  19207. type: integer
  19208. marketid:
  19209. description: 市场ID(固定为(64202)
  19210. type: integer
  19211. ordertype:
  19212. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19213. type: integer
  19214. payeddeposit:
  19215. description: 买方已付定金(预付款)
  19216. type: number
  19217. presaleapplyid:
  19218. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19219. type: string
  19220. presalestatus:
  19221. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19222. type: integer
  19223. remark:
  19224. description: 备注
  19225. type: string
  19226. sellaccountid:
  19227. description: 卖方账号ID
  19228. type: integer
  19229. sellcharge:
  19230. description: 卖方手续费值
  19231. type: number
  19232. sellchargealgorithm:
  19233. description: 卖方手续费收取方式 1:比率 2:固定
  19234. type: integer
  19235. sellchargealgorithmvalue:
  19236. description: 手续费设置值(交易所部分)
  19237. type: number
  19238. selluserid:
  19239. description: 卖方用户ID
  19240. type: integer
  19241. tradedate:
  19242. description: 交易日(yyyyMMdd)
  19243. type: string
  19244. tradeprice:
  19245. description: 参考价
  19246. type: number
  19247. transferamount:
  19248. description: 转让金额
  19249. type: number
  19250. transferid:
  19251. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19252. type: string
  19253. transferprice:
  19254. description: 转让价格
  19255. type: number
  19256. transferqty:
  19257. description: 数量
  19258. type: integer
  19259. transferstatus:
  19260. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19261. type: integer
  19262. transfertradedate:
  19263. description: 转让交易日
  19264. type: string
  19265. transfertradetime:
  19266. description: 转让成交时间
  19267. type: string
  19268. unitid:
  19269. description: 现货商品单位ID
  19270. type: integer
  19271. warehouseid:
  19272. description: 仓库ID
  19273. type: integer
  19274. wrfactortypeid:
  19275. description: 仓单要素类型ID
  19276. type: string
  19277. wrstandardid:
  19278. description: 现货商品ID
  19279. type: integer
  19280. wrstandardname:
  19281. description: 现货商品名称
  19282. type: string
  19283. wrtradedetailid:
  19284. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19285. type: string
  19286. required:
  19287. - ordertype
  19288. type: object
  19289. models.ThjpurchasetransferDetail:
  19290. properties:
  19291. buyusername:
  19292. description: 受让人
  19293. type: string
  19294. contactinfo:
  19295. description: 联系方式
  19296. type: string
  19297. contactname:
  19298. description: 联系人姓名
  19299. type: string
  19300. contractaddr:
  19301. description: 协议转让合同地址
  19302. type: string
  19303. contractaddrbuy:
  19304. description: 贸易合同地址(买家)
  19305. type: string
  19306. contractaddrsell:
  19307. description: 贸易合同地址(卖家)
  19308. type: string
  19309. createtime:
  19310. description: 转让委托时间
  19311. type: string
  19312. depositrate:
  19313. description: 定金比例
  19314. type: number
  19315. desaddress:
  19316. description: 目的地地址
  19317. type: string
  19318. enddate:
  19319. description: 到期日期
  19320. type: string
  19321. enddatemonth:
  19322. description: 交收月份(提货日期)
  19323. type: string
  19324. lastprice:
  19325. description: '[实际价]到期价格'
  19326. type: number
  19327. payeddeposit:
  19328. description: 买方已付定金(预付款(含定金))
  19329. type: number
  19330. receiptinfo:
  19331. description: 发票信息
  19332. type: string
  19333. sellusername:
  19334. description: 转让人
  19335. type: string
  19336. thjdeliverymode:
  19337. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19338. type: integer
  19339. tradeprice:
  19340. description: 预售价格
  19341. type: number
  19342. transferamount:
  19343. description: 转让金额
  19344. type: number
  19345. transferid:
  19346. description: 转让单号
  19347. type: string
  19348. transferprice:
  19349. description: 转让价格
  19350. type: number
  19351. transferqty:
  19352. description: 转让数量
  19353. type: integer
  19354. transferstatus:
  19355. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19356. type: integer
  19357. transfertradetime:
  19358. description: 转让成交时间
  19359. type: string
  19360. warehousename:
  19361. description: 仓库名称
  19362. type: string
  19363. wrstandardcode:
  19364. description: 现货商品代码
  19365. type: string
  19366. wrstandardid:
  19367. description: 现货商品ID
  19368. type: integer
  19369. wrstandardname:
  19370. description: 现货商品名称
  19371. type: string
  19372. wrtradedetailid:
  19373. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19374. type: string
  19375. type: object
  19376. models.Thjscoreconfig:
  19377. properties:
  19378. parma1:
  19379. description: 参数1
  19380. type: integer
  19381. parma2:
  19382. description: 参数2
  19383. type: integer
  19384. parma3:
  19385. description: 参数3
  19386. type: integer
  19387. parma4:
  19388. description: 参数4
  19389. type: integer
  19390. parma5:
  19391. description: 参数5
  19392. type: integer
  19393. parma6:
  19394. description: 参数6
  19395. type: integer
  19396. parma7:
  19397. description: 参数6
  19398. type: integer
  19399. scoreconfigtype:
  19400. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19401. 7:抽奖得红包
  19402. type: integer
  19403. type: object
  19404. models.Thjspotquoteconfig:
  19405. properties:
  19406. autoid:
  19407. description: 自增ID(SEQ_THJ_SPOTQUOTECONFIG)
  19408. type: integer
  19409. relatedid:
  19410. description: 关联新闻ID(Site_ColumnDetail)
  19411. type: integer
  19412. spotmonth:
  19413. description: 现货月份(yyyy-MM)
  19414. type: string
  19415. spotname:
  19416. description: 现货名称
  19417. type: string
  19418. spotprice:
  19419. description: 现货招标价
  19420. type: string
  19421. spotqty:
  19422. description: 现货采购量
  19423. type: string
  19424. spotsrc:
  19425. description: 现货来源
  19426. type: string
  19427. updatetime:
  19428. description: 更新时间
  19429. type: string
  19430. type: object
  19431. models.TjmdHolderDetailTradeInfo:
  19432. properties:
  19433. agreeunit:
  19434. description: 合约乘数
  19435. type: number
  19436. buyaccountid:
  19437. description: 买方账户
  19438. type: string
  19439. buyusername:
  19440. description: 买方
  19441. type: string
  19442. delistingdate:
  19443. description: 最后结算日
  19444. type: string
  19445. expiredate:
  19446. description: 到期结算价定价日
  19447. type: string
  19448. exprieprice:
  19449. description: 到期清算价格
  19450. type: string
  19451. goodscode:
  19452. description: 商品代码
  19453. type: string
  19454. goodsid:
  19455. description: 商品ID
  19456. type: integer
  19457. goodsname:
  19458. description: 商品名称(交易标的)
  19459. type: string
  19460. lasttradedate:
  19461. description: 最后交易日
  19462. type: string
  19463. listingdate:
  19464. description: 开始交易日
  19465. type: string
  19466. openprice:
  19467. description: 成交价
  19468. type: number
  19469. openqty:
  19470. description: 交易数量
  19471. type: integer
  19472. sellaccountid:
  19473. description: 卖方账户
  19474. type: string
  19475. sellusername:
  19476. description: 卖方
  19477. type: string
  19478. tradeamount:
  19479. description: 初始名义价值
  19480. type: number
  19481. tradedate:
  19482. description: 成交日期
  19483. type: string
  19484. tradeid:
  19485. description: 成交编号
  19486. type: string
  19487. type: object
  19488. models.TjmdMarketSection:
  19489. properties:
  19490. marketsectionid:
  19491. description: 市场版块ID(SEQ_MARKETSECTION)
  19492. type: integer
  19493. marketsectionname:
  19494. description: 市场版块名称
  19495. type: string
  19496. mlist:
  19497. description: 市场列表(板块下面有多少个市场)
  19498. items:
  19499. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19500. type: array
  19501. orderindex:
  19502. description: 排序
  19503. type: integer
  19504. pictureurl:
  19505. description: 图片url, 规格(90*90)
  19506. type: string
  19507. remark:
  19508. description: 备注
  19509. type: string
  19510. type: object
  19511. models.TjmdMarketSectionConfig:
  19512. properties:
  19513. auctionwrtype:
  19514. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19515. type: integer
  19516. canacceptquote:
  19517. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19518. type: integer
  19519. cangoodsexercise:
  19520. description: '[期权]是否可现货行权- 0:否 1:是'
  19521. type: integer
  19522. cangoodsexercisetype:
  19523. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19524. type: integer
  19525. canmanualquotestrike:
  19526. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19527. type: integer
  19528. canmutistage:
  19529. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19530. type: integer
  19531. canpreexercise:
  19532. description: '[期权]是否可预申报- 0:否 1:是'
  19533. type: integer
  19534. clearinterval:
  19535. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19536. type: integer
  19537. contracttmp:
  19538. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19539. type: string
  19540. exchareaid:
  19541. description: 所属交易所,可以没有
  19542. type: integer
  19543. financemarketid:
  19544. description: 融资回购市场ID [仓单贸易]
  19545. type: integer
  19546. goodstype:
  19547. description: 商品类型 - 1:交易商品 2:仓单商品
  19548. type: integer
  19549. hasrebate:
  19550. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19551. type: integer
  19552. hastradecredit:
  19553. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19554. type: integer
  19555. haswr:
  19556. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19557. type: integer
  19558. isdeductmargin:
  19559. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19560. type: integer
  19561. isrecordsource:
  19562. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19563. type: integer
  19564. isreleasemargin:
  19565. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19566. type: integer
  19567. isupdatereckonprice:
  19568. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19569. type: integer
  19570. listingmode:
  19571. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19572. type: integer
  19573. marginformula:
  19574. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19575. type: integer
  19576. marginformula2:
  19577. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19578. type: integer
  19579. marketid:
  19580. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19581. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19582. type: integer
  19583. marketname:
  19584. description: 市场名称
  19585. type: string
  19586. marketsectionid:
  19587. description: 市场版块ID(SEQ_MARKETSECTION)
  19588. type: integer
  19589. marketserviceid:
  19590. description: 市场服务ID
  19591. type: integer
  19592. marketstatus:
  19593. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19594. type: integer
  19595. markettype:
  19596. description: 市场类型- 1:非交易服务 2:交易服务
  19597. type: integer
  19598. matchermode:
  19599. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19600. type: integer
  19601. nowrquotaflag:
  19602. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19603. type: integer
  19604. openmethod:
  19605. description: 开盘模式 - 0 自动 1手动
  19606. type: integer
  19607. orderindex:
  19608. description: 排序
  19609. type: integer
  19610. otcuserid:
  19611. description: 场外期权做市商[场外期权]
  19612. type: integer
  19613. outersynctime:
  19614. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19615. type: string
  19616. paylaterflag:
  19617. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19618. type: integer
  19619. pendingflag:
  19620. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19621. type: integer
  19622. pendingtime:
  19623. description: 待开市时间[通道交易-对冲](HH:mm)
  19624. type: string
  19625. performancetempid:
  19626. description: 履约计划模板ID - 作废
  19627. type: integer
  19628. premiumquotemode:
  19629. description: 权利金报价方式 - 1:自动 2:手动
  19630. type: integer
  19631. rebateratio:
  19632. description: 返利比率[竞价式]
  19633. type: number
  19634. reckonorder:
  19635. description: 结算顺序
  19636. type: integer
  19637. reckonpricealgorithm:
  19638. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19639. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19640. type: integer
  19641. reckonpriceparam:
  19642. description: 结算价参数
  19643. type: integer
  19644. reckontime:
  19645. description: 结算时间[通道交易-对冲](HH:mm)
  19646. type: string
  19647. roleprioritytype:
  19648. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19649. type: integer
  19650. selllistingauditflag:
  19651. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19652. type: integer
  19653. trademarkettype:
  19654. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19655. type: integer
  19656. trademode:
  19657. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19658. 21:竞拍-大宗式 22:受托竞价
  19659. type: integer
  19660. tradeproperty:
  19661. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19662. 8:场外期权
  19663. type: integer
  19664. tradetype:
  19665. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19666. type: integer
  19667. updatereckonpriceinterval:
  19668. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19669. type: integer
  19670. type: object
  19671. models.TjmdQuoteGoods:
  19672. properties:
  19673. buyqty:
  19674. description: 买量(暂不做, 无值, 保留字段)
  19675. type: number
  19676. decimalplace:
  19677. description: 报价小数位
  19678. type: integer
  19679. goodscode:
  19680. description: 合约代码
  19681. type: string
  19682. goodsgroupid:
  19683. description: 商品组ID(自增ID)
  19684. type: integer
  19685. goodsgroupname:
  19686. description: 商品组名称
  19687. type: string
  19688. goodsid:
  19689. description: 合约id
  19690. type: integer
  19691. goodsname:
  19692. description: 合约名称
  19693. type: string
  19694. refgoodscode:
  19695. description: 标的合约代码
  19696. type: string
  19697. refgoodsid:
  19698. description: 标的合约id
  19699. type: integer
  19700. refgoodsname:
  19701. description: 标的合约名称
  19702. type: string
  19703. sellqty:
  19704. description: 卖量(暂不做, 无值, 保留字段)
  19705. type: number
  19706. type: object
  19707. models.TjmdTodayAccountMargin:
  19708. properties:
  19709. accountid:
  19710. description: 账号ID
  19711. type: integer
  19712. goodsid:
  19713. description: 商品ID
  19714. type: integer
  19715. infoc:
  19716. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19717. description: 配置参数
  19718. marketid:
  19719. description: 市场ID
  19720. type: integer
  19721. type: object
  19722. models.TjmdTradeOrderDetail:
  19723. properties:
  19724. buyorsell:
  19725. description: 买卖方向 0-买 1-卖
  19726. type: integer
  19727. goodsid:
  19728. description: 商品id
  19729. type: integer
  19730. marketmaxsub:
  19731. description: 市价最大偏移范围 [浮动价 - 点差]
  19732. type: number
  19733. orderid:
  19734. description: 委托单号
  19735. type: string
  19736. orderprice:
  19737. description: 期初均价
  19738. type: number
  19739. orderqty:
  19740. description: 委托数量
  19741. type: integer
  19742. pricemode:
  19743. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19744. type: integer
  19745. userid:
  19746. description: 用户id
  19747. type: integer
  19748. username:
  19749. description: 用户名称(已脱敏)
  19750. type: string
  19751. type: object
  19752. models.TjmdTransferApply:
  19753. properties:
  19754. applyid:
  19755. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19756. type: integer
  19757. applystatus:
  19758. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19759. type: integer
  19760. applytime:
  19761. description: 申请时间(时间)
  19762. type: string
  19763. auditremark:
  19764. description: 审核备注(拒绝原因?)
  19765. type: string
  19766. begindate:
  19767. description: 开始交易日(yyyymmdd)
  19768. type: string
  19769. buyorsell:
  19770. description: 买卖 - 0:买 1:卖
  19771. type: integer
  19772. enddate:
  19773. description: 结束交易日(yyyymmdd)
  19774. type: string
  19775. goodscode:
  19776. description: 商品代码
  19777. type: string
  19778. goodsid:
  19779. description: 商品ID
  19780. type: integer
  19781. goodsname:
  19782. description: 商品名称
  19783. type: string
  19784. marketid:
  19785. description: 市场ID
  19786. type: integer
  19787. qty:
  19788. description: 期初均价
  19789. type: number
  19790. tradeid:
  19791. description: 成交单号(关联持仓)
  19792. type: string
  19793. transferamount:
  19794. description: 转让总金额(金额)
  19795. type: number
  19796. transferprice:
  19797. description: 转让价格(协议价格)
  19798. type: number
  19799. type: object
  19800. models.TradeHolderDetail:
  19801. properties:
  19802. accountid:
  19803. description: 账号ID
  19804. type: integer
  19805. agreeunit:
  19806. description: 合约乘数
  19807. type: number
  19808. buyorsell:
  19809. description: 方向 - 0:买 1:卖
  19810. type: integer
  19811. currencyid:
  19812. description: 商品币种id
  19813. type: integer
  19814. currencyname:
  19815. description: 币种名称
  19816. type: string
  19817. decimalplace:
  19818. description: 商品价格小数位
  19819. type: integer
  19820. enumdicname:
  19821. description: 商品单位名称
  19822. type: string
  19823. expirecycle:
  19824. description: 行权周期(天) - 1:滚动行权时填写
  19825. type: integer
  19826. expiredate:
  19827. description: 行权日(yyyyMMdd) - 到期日
  19828. type: string
  19829. expiretype:
  19830. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19831. type: integer
  19832. freezeqty:
  19833. description: 期初均价
  19834. type: number
  19835. goodscode:
  19836. description: 商品代码
  19837. type: string
  19838. goodsid:
  19839. description: 商品ID
  19840. type: integer
  19841. goodsname:
  19842. description: 商品名称
  19843. type: string
  19844. goodunitid:
  19845. description: 商品单位id
  19846. type: integer
  19847. holderamount:
  19848. description: 持仓金额
  19849. type: number
  19850. holdercredit:
  19851. description: 持仓授信金额
  19852. type: number
  19853. holderdays:
  19854. description: 剩余冻结天数
  19855. type: integer
  19856. holderprice:
  19857. description: 持仓价格
  19858. type: number
  19859. holderqty:
  19860. description: 期初均价
  19861. type: number
  19862. isconfirmexercise:
  19863. description: 是否确认行权- 0:否 1:是
  19864. type: integer
  19865. ispreexercise:
  19866. description: 是否预申报- 0:否 1:是 2:不可行权
  19867. type: integer
  19868. marketid:
  19869. description: 市场id
  19870. type: integer
  19871. marketname:
  19872. description: 市场名称
  19873. type: string
  19874. openprice:
  19875. description: 建仓价格
  19876. type: number
  19877. openqty:
  19878. description: 期初均价
  19879. type: number
  19880. optiontype:
  19881. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19882. type: integer
  19883. preexerciseprice:
  19884. description: 预申报价格
  19885. type: number
  19886. premium:
  19887. description: 权利金
  19888. type: number
  19889. qtydecimalplace:
  19890. description: 商品成交量小数位
  19891. type: integer
  19892. refgoodscode:
  19893. description: 标的合约代码
  19894. type: string
  19895. refgoodsid:
  19896. description: 标的合约id
  19897. type: integer
  19898. releaseamount:
  19899. description: 释放持仓金额
  19900. type: number
  19901. releaseholdercredit:
  19902. description: 释放持仓授信金额
  19903. type: number
  19904. taname:
  19905. description: 资金账号名称
  19906. type: string
  19907. tradeamount:
  19908. description: 成交金额
  19909. type: number
  19910. tradedate:
  19911. description: 交易日(yyyyMMdd)
  19912. type: string
  19913. tradeid:
  19914. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19915. type: string
  19916. trademode:
  19917. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19918. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19919. type: integer
  19920. tradeproperty:
  19921. description: 交易属性
  19922. type: integer
  19923. tradetime:
  19924. description: 交易时间
  19925. type: string
  19926. userid:
  19927. description: 用户id
  19928. type: integer
  19929. username:
  19930. description: 用户名称
  19931. type: string
  19932. type: object
  19933. models.Unlinkermcphedgeplan:
  19934. properties:
  19935. accountid:
  19936. description: 期货账户ID - 作废
  19937. type: integer
  19938. accountname:
  19939. description: 交易用户
  19940. type: string
  19941. applyid:
  19942. description: 申请人
  19943. type: integer
  19944. applysrc:
  19945. description: 申请来源 - 1:管理端 2:终端
  19946. type: integer
  19947. applytime:
  19948. description: 申请时间
  19949. type: string
  19950. areauserid:
  19951. description: '[企业ID]机构ID'
  19952. type: integer
  19953. auditid:
  19954. description: 审核人
  19955. type: integer
  19956. auditremark:
  19957. description: 审核备注
  19958. type: string
  19959. auditsrc:
  19960. description: 审核来源 - 1:管理端 2:终端
  19961. type: integer
  19962. audittime:
  19963. description: 审核时间
  19964. type: string
  19965. audittradedate:
  19966. description: 审核交易日(yyyyMMdd)
  19967. type: string
  19968. biztype:
  19969. description: 业务类型 - 1:套保
  19970. type: integer
  19971. contracttype:
  19972. description: 计划类型 - 1:采购 -1:销售
  19973. type: integer
  19974. convertfactor:
  19975. description: 标仓系数 - 作废
  19976. type: number
  19977. createtime:
  19978. description: 创建时间
  19979. type: string
  19980. currencyid:
  19981. description: 结算币种ID - 作废
  19982. type: integer
  19983. deliverygoodsid:
  19984. description: 现货品种ID
  19985. type: integer
  19986. enumdicname:
  19987. description: 结算币种
  19988. type: string
  19989. hedgeplanid:
  19990. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19991. type: string
  19992. hedgeplanno:
  19993. description: '[计划编号]套保计划编号,模糊查询'
  19994. type: string
  19995. hedgeplanstatus:
  19996. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19997. type: integer
  19998. isrelated:
  19999. description: 是否已关联计划项目 - 0:否 1:是
  20000. type: integer
  20001. planqty:
  20002. description: '[计划量]计划数量'
  20003. type: number
  20004. plantime:
  20005. description: 计划时间
  20006. type: string
  20007. producttype:
  20008. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  20009. type: integer
  20010. remark:
  20011. description: 备注
  20012. type: string
  20013. spotgoodsdesc:
  20014. description: 商品型号
  20015. type: string
  20016. tradedate:
  20017. description: 交易日(yyyyMMdd)
  20018. type: string
  20019. tradeuserid:
  20020. description: 交易用户ID
  20021. type: integer
  20022. updatetime:
  20023. description: 更新时间
  20024. type: string
  20025. wrstandardid:
  20026. description: 现货商品ID
  20027. type: integer
  20028. wrstandardname:
  20029. description: 现货商品,模糊查询
  20030. type: string
  20031. required:
  20032. - areauserid
  20033. type: object
  20034. models.UserCollectConfig:
  20035. properties:
  20036. accountstatus:
  20037. description: 账户状态 - 1:正常 2:停用 3:注销
  20038. type: integer
  20039. collectaccountname:
  20040. description: 收款人账户名称
  20041. type: string
  20042. collectaccountno:
  20043. description: 收款人账户
  20044. type: string
  20045. collectbankname:
  20046. description: 收款人开户行
  20047. type: string
  20048. collectbranchbankname:
  20049. description: 收款人开户支行
  20050. type: string
  20051. collectconfigid:
  20052. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20053. type: string
  20054. remark:
  20055. description: 备注
  20056. type: string
  20057. userid:
  20058. description: 收款人用户ID
  20059. type: integer
  20060. type: object
  20061. models.UserReceiveInfo:
  20062. properties:
  20063. address:
  20064. description: 提货人详细地址
  20065. type: string
  20066. autoid:
  20067. description: AutoID
  20068. type: integer
  20069. cardnum:
  20070. description: 证件号码(加密存储)
  20071. type: string
  20072. cardtypeid:
  20073. description: 证件类型
  20074. type: integer
  20075. cityid:
  20076. description: 市
  20077. type: integer
  20078. cityname:
  20079. description: 城市名称
  20080. type: string
  20081. countryid:
  20082. description: 国家
  20083. type: integer
  20084. countryname:
  20085. description: 国家名称
  20086. type: string
  20087. districtid:
  20088. description: 地区
  20089. type: integer
  20090. districtname:
  20091. description: 地区名称
  20092. type: string
  20093. hasencrypt:
  20094. description: 数据是否已加密 - 0:未加密 1:已加密
  20095. type: integer
  20096. isdefault:
  20097. description: 是否默认地址 - 0:否 1:是
  20098. type: integer
  20099. phonenum:
  20100. description: 提货人联系方式(加密存储)
  20101. type: string
  20102. provinceid:
  20103. description: 省
  20104. type: integer
  20105. provincename:
  20106. description: 省名称
  20107. type: string
  20108. receivername:
  20109. description: 提货人姓名
  20110. type: string
  20111. takeremark:
  20112. description: 提货备注
  20113. type: string
  20114. userid:
  20115. description: 用户ID
  20116. type: integer
  20117. type: object
  20118. models.Useraccount:
  20119. properties:
  20120. accountname:
  20121. description: 账户名称(机构名称)
  20122. type: string
  20123. accountstatus:
  20124. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20125. type: integer
  20126. applysrc:
  20127. description: 申请来源 - 1:管理端 2:终端
  20128. type: integer
  20129. auditremark:
  20130. description: 审核备注
  20131. type: string
  20132. auditsrc:
  20133. description: 审核来源 - 1:管理端 2:终端
  20134. type: integer
  20135. audittime:
  20136. description: 审核时间
  20137. type: string
  20138. audituserid:
  20139. description: 审核人
  20140. type: integer
  20141. broker:
  20142. description: 所属经纪人ID
  20143. type: integer
  20144. canceltime:
  20145. description: 销户时间
  20146. type: string
  20147. canceluserid:
  20148. description: 销户人
  20149. type: integer
  20150. canrecommend:
  20151. description: 是否可推荐 - 0:不可 1;可
  20152. type: integer
  20153. createtime:
  20154. description: 创建时间
  20155. type: string
  20156. creatorid:
  20157. description: 创建人
  20158. type: integer
  20159. curscore:
  20160. description: 积分
  20161. type: integer
  20162. hasauth:
  20163. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20164. type: integer
  20165. isanonymous:
  20166. description: 是否匿名下单 - 0:否 1:是
  20167. type: integer
  20168. issigned:
  20169. description: 今日是否已签到
  20170. type: boolean
  20171. maxinvestornum:
  20172. description: 最大用户数(经纪会员下投资者个数)
  20173. type: integer
  20174. memberuserid:
  20175. description: 所属会员ID
  20176. type: integer
  20177. modifierid:
  20178. description: 修改人
  20179. type: integer
  20180. modifyremark:
  20181. description: 变更备注
  20182. type: string
  20183. modifystatus:
  20184. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20185. type: integer
  20186. modifytime:
  20187. description: 修改时间
  20188. type: string
  20189. parenttopuser:
  20190. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20191. type: string
  20192. parentuserid:
  20193. description: 所属机构ID
  20194. type: integer
  20195. reckonaccountid:
  20196. description: 默认结算资金账号ID(机构分润使用) 作废
  20197. type: integer
  20198. refercount:
  20199. description: 推荐总人数
  20200. type: integer
  20201. refereeuserid:
  20202. description: 推荐人ID
  20203. type: integer
  20204. refernum:
  20205. description: 推荐码
  20206. type: string
  20207. rootuserid:
  20208. description: 根用户ID
  20209. type: integer
  20210. subaccountlevel:
  20211. description: 子账户层数
  20212. type: integer
  20213. subarealevelpath:
  20214. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20215. type: string
  20216. todayrefercount:
  20217. description: 今日推荐人数
  20218. type: integer
  20219. userid:
  20220. description: 用户ID
  20221. type: integer
  20222. usertype:
  20223. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20224. type: integer
  20225. required:
  20226. - userid
  20227. type: object
  20228. models.Userfavoritegoods:
  20229. properties:
  20230. goodsid:
  20231. description: 商品ID
  20232. type: integer
  20233. required:
  20234. - goodsid
  20235. type: object
  20236. models.Userinfo:
  20237. properties:
  20238. address:
  20239. description: 地址
  20240. type: string
  20241. attachment1:
  20242. description: 附件1
  20243. type: string
  20244. attachment2:
  20245. description: 附件2
  20246. type: string
  20247. bankaccount:
  20248. description: 银行帐号 (加密存储)
  20249. type: string
  20250. bankaccountname:
  20251. description: 收款人名称
  20252. type: string
  20253. bankcardfrontphotourl:
  20254. description: 银行卡正面照地址
  20255. type: string
  20256. bankid:
  20257. description: 银行编码
  20258. type: string
  20259. bankname:
  20260. description: 银行名称
  20261. type: string
  20262. biznature:
  20263. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20264. type: integer
  20265. bizscope:
  20266. description: 企业经营范围(企业)
  20267. type: string
  20268. cardbackphotourl:
  20269. description: 证件背面图片地址
  20270. type: string
  20271. cardfrontphotourl:
  20272. description: 证件正面图片地址
  20273. type: string
  20274. cardnum:
  20275. description: 证件号码(加密存储)
  20276. type: string
  20277. cardtypeid:
  20278. description: 证件类型ID
  20279. type: integer
  20280. cityid:
  20281. description: 市
  20282. type: integer
  20283. company:
  20284. description: 公司(个人)
  20285. type: string
  20286. contactname:
  20287. description: 联系人
  20288. type: string
  20289. countryid:
  20290. description: 国家
  20291. type: integer
  20292. createtime:
  20293. description: 创建时间
  20294. type: string
  20295. creatorid:
  20296. description: 创建人
  20297. type: integer
  20298. customername:
  20299. description: 客户名称(企业名称)
  20300. type: string
  20301. districtid:
  20302. description: 地区
  20303. type: integer
  20304. email:
  20305. description: 邮件(加密存储)
  20306. type: string
  20307. fax:
  20308. description: 传真(加密存储)
  20309. type: string
  20310. halfbodyphotourl:
  20311. description: 半身照地址
  20312. type: string
  20313. hasencrypt:
  20314. description: 数据是否已加密 - 0:未加密 1:已加密
  20315. type: integer
  20316. headurl:
  20317. description: 头像地址
  20318. type: string
  20319. legalcardbackphotourl:
  20320. description: 法人身份证背面照地址
  20321. type: string
  20322. legalcardfrontphotourl:
  20323. description: 法人身份证正面照地址
  20324. type: string
  20325. legalpersonname:
  20326. description: 法人姓名(企业)
  20327. type: string
  20328. mobile:
  20329. description: 手机号码(加密存储)
  20330. type: string
  20331. mobile2:
  20332. description: 手机号码[明文-尚志]
  20333. type: string
  20334. modifierid:
  20335. description: 修改人
  20336. type: integer
  20337. modifiertime:
  20338. description: 修改时间
  20339. type: string
  20340. needinvoice:
  20341. description: 是否需要发票 - 0:不需要 1:需要
  20342. type: integer
  20343. nickname:
  20344. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20345. type: string
  20346. openmode:
  20347. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20348. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20349. type: integer
  20350. otherurl:
  20351. description: 其它图片地址[使用分号分隔]
  20352. type: string
  20353. postalcode:
  20354. description: 邮政编码
  20355. type: string
  20356. provinceid:
  20357. description: 省
  20358. type: integer
  20359. qq:
  20360. description: QQ(加密存储
  20361. type: string
  20362. remark:
  20363. description: 备注
  20364. type: string
  20365. sex:
  20366. description: '用户性别 0: 女 1: 男'
  20367. type: integer
  20368. signpdfurl:
  20369. description: 签约pdf文件
  20370. type: string
  20371. telphone:
  20372. description: 联系电话(加密存储)
  20373. type: string
  20374. userid:
  20375. description: 用户ID
  20376. type: integer
  20377. userinfotype:
  20378. description: 用户信息类型 - 1:个人 2:企业
  20379. type: integer
  20380. userstatus:
  20381. description: 用户状态 - 1:正常 2:注销
  20382. type: integer
  20383. usertype:
  20384. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20385. type: integer
  20386. wechat:
  20387. description: 微信(加密存储)
  20388. type: string
  20389. wskhinfo:
  20390. description: 开户申请信息(JSON)
  20391. type: string
  20392. required:
  20393. - userid
  20394. type: object
  20395. models.WRPositionReport:
  20396. properties:
  20397. accountid:
  20398. description: 帐户ID
  20399. type: integer
  20400. brandid:
  20401. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20402. type: integer
  20403. buylistinglot:
  20404. description: 买挂牌宗数
  20405. type: integer
  20406. buytradeamount:
  20407. description: 购买金额
  20408. type: number
  20409. buytradelot:
  20410. description: 购买宗数
  20411. type: integer
  20412. buytradeqty:
  20413. description: 购买数量
  20414. type: number
  20415. creditcurqty:
  20416. description: 授信当前数量
  20417. type: integer
  20418. creditfreezeqty:
  20419. description: 授信冻结数量
  20420. type: integer
  20421. credittotalqty:
  20422. description: 授信总数量
  20423. type: integer
  20424. credittradeqty:
  20425. description: 授信成交数量
  20426. type: integer
  20427. decreaseqty:
  20428. description: 今日减少数量
  20429. type: integer
  20430. deliverygoodsid:
  20431. description: 交割商品ID
  20432. type: integer
  20433. deliverymonthid:
  20434. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20435. type: integer
  20436. freezeqty:
  20437. description: 总冻结数量
  20438. type: integer
  20439. increaseqty:
  20440. description: 今日增加数量
  20441. type: integer
  20442. marketvalue:
  20443. description: 市值
  20444. type: number
  20445. pickupqty:
  20446. description: 今日提货数量
  20447. type: integer
  20448. qualityid:
  20449. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20450. type: integer
  20451. reckondate:
  20452. description: 日照时期(yyyyMMdd)
  20453. type: string
  20454. relatedqty:
  20455. description: 关联数量
  20456. type: integer
  20457. selllistingamount:
  20458. description: 卖挂牌金额
  20459. type: number
  20460. selllistinglot:
  20461. description: 卖挂牌宗数
  20462. type: integer
  20463. selllistingqty:
  20464. description: 卖挂牌数量
  20465. type: number
  20466. selltradeamount:
  20467. description: 销售金额
  20468. type: number
  20469. selltradelot:
  20470. description: 销售宗数
  20471. type: integer
  20472. selltradeqty:
  20473. description: 销售数量
  20474. type: number
  20475. specid:
  20476. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20477. type: integer
  20478. totalprice:
  20479. description: 销售金额(¥)
  20480. type: number
  20481. totalqty:
  20482. description: 总数量
  20483. type: integer
  20484. totalweight:
  20485. description: 销售重量(ct)
  20486. type: number
  20487. tradewrqty:
  20488. description: 订单仓单头寸总数量
  20489. type: integer
  20490. transfertradewrqty:
  20491. description: 今日转订单数量
  20492. type: integer
  20493. warehouseid:
  20494. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20495. type: integer
  20496. wrfactortypeid:
  20497. description: 仓单要素类型ID
  20498. type: integer
  20499. wrpositionid:
  20500. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20501. type: integer
  20502. wrstandardcode:
  20503. description: 现货商品代码
  20504. type: string
  20505. wrstandardid:
  20506. description: 现货商品ID
  20507. type: integer
  20508. wruserid:
  20509. description: 持有人ID
  20510. type: integer
  20511. zscategory:
  20512. description: 商品分类
  20513. type: integer
  20514. zscategorydisplay:
  20515. type: string
  20516. zscurrencytype:
  20517. description: 商品币种
  20518. type: integer
  20519. zscurrencytypedisplay:
  20520. type: string
  20521. zscurrencytypedisplayunit:
  20522. type: string
  20523. type: object
  20524. models.WRSConverTDetail:
  20525. properties:
  20526. convertratio:
  20527. description: 套保系数
  20528. type: number
  20529. deliverygoodscode:
  20530. description: 现货商品代码
  20531. type: string
  20532. deliverygoodsid:
  20533. description: 现货品种ID
  20534. type: integer
  20535. deliverygoodsname:
  20536. description: 现货商品名称
  20537. type: string
  20538. enumdicname:
  20539. description: 单位名称
  20540. type: string
  20541. goodsunitid:
  20542. description: 套保品种单位id
  20543. type: integer
  20544. middlegoodscode:
  20545. description: 套保品种代码
  20546. type: string
  20547. middlegoodsid:
  20548. description: 套保品种ID
  20549. type: integer
  20550. middlegoodsname:
  20551. description: 套保品种名称
  20552. type: string
  20553. modifytime:
  20554. description: 修改时间
  20555. type: string
  20556. wrstandardid:
  20557. description: 品类ID
  20558. type: integer
  20559. type: object
  20560. models.WRStandardInfo:
  20561. properties:
  20562. areauserid:
  20563. description: 所属机构
  20564. type: integer
  20565. convertfactor:
  20566. description: 标仓系数
  20567. type: number
  20568. createtime:
  20569. description: 创建时间
  20570. type: string
  20571. creatorid:
  20572. description: 创建人
  20573. type: integer
  20574. deliverygoodsid:
  20575. description: 品种ID
  20576. type: integer
  20577. deliverygoodsname:
  20578. description: 交割商品名称
  20579. type: string
  20580. factoryitemjson:
  20581. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20582. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20583. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20584. 逗号分隔'
  20585. type: string
  20586. isvalid:
  20587. description: 是否有效 - 0:无效 1:有效
  20588. type: integer
  20589. minivalue:
  20590. description: 最小变动值
  20591. type: integer
  20592. minivaluedp:
  20593. description: 最小变动值小数位
  20594. type: integer
  20595. realminivalue:
  20596. description: 实际最小变动值
  20597. type: integer
  20598. realminivaluedp:
  20599. description: 实际最小变动值小数位
  20600. type: integer
  20601. remark:
  20602. description: 备注
  20603. type: string
  20604. unitid:
  20605. description: 单位ID
  20606. type: integer
  20607. unitname:
  20608. description: 单位
  20609. type: string
  20610. updatetime:
  20611. description: 更新时间
  20612. type: string
  20613. updatorid:
  20614. description: 更新人
  20615. type: integer
  20616. wrsstatus:
  20617. description: 状态 - 作废 - 0:未激活 1:正常
  20618. type: integer
  20619. wrstandardcode:
  20620. description: 现货品类代码
  20621. type: string
  20622. wrstandardid:
  20623. description: 现货品类ID(SEQ_WRSTANDARD)
  20624. type: integer
  20625. wrstandardname:
  20626. description: 现货品类名称
  20627. type: string
  20628. required:
  20629. - wrstandardid
  20630. type: object
  20631. models.WRTradeBargainApply:
  20632. properties:
  20633. accountid:
  20634. description: 摘牌资金账号
  20635. type: integer
  20636. applyprice:
  20637. description: 申请价格(议价价格)
  20638. type: string
  20639. applyqty:
  20640. description: 摘牌数量(议价数量)
  20641. type: number
  20642. applyremark:
  20643. description: 申请备注
  20644. type: string
  20645. applystatus:
  20646. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20647. type: integer
  20648. applytime:
  20649. description: 申请时间(议价时间)
  20650. type: string
  20651. begindate:
  20652. description: 开始交易日(yyyymmdd)
  20653. type: string
  20654. buyorsell:
  20655. description: 买卖(挂牌类型) - 0:买 1:卖
  20656. type: integer
  20657. confirmremark:
  20658. description: 确认备注
  20659. type: string
  20660. confirmtime:
  20661. description: 确认时间
  20662. type: string
  20663. confirmuserid:
  20664. description: 确认人
  20665. type: integer
  20666. deliverygoodscode:
  20667. description: 品种代码
  20668. type: string
  20669. deliverygoodsid:
  20670. description: 品种ID
  20671. type: integer
  20672. deliverygoodsname:
  20673. description: 品种名称
  20674. type: string
  20675. deliverymonth:
  20676. description: 交收月
  20677. type: string
  20678. enddate:
  20679. description: 结束交易日(yyyymmdd)
  20680. type: string
  20681. enumdicname:
  20682. description: 单位名称
  20683. type: string
  20684. fixedprice:
  20685. description: 期初均价
  20686. type: number
  20687. handlestatus:
  20688. description: 处理状态
  20689. type: integer
  20690. marginvalue:
  20691. description: 期初均价
  20692. type: number
  20693. marketid:
  20694. description: 市场ID
  20695. type: integer
  20696. matchaccountid:
  20697. description: 挂牌方资金账号
  20698. type: integer
  20699. matchuserid:
  20700. description: 挂牌方用户id
  20701. type: integer
  20702. matchusername:
  20703. description: 挂牌方用户名称(已脱敏)
  20704. type: string
  20705. minivalue:
  20706. description: 现货商品最小变动值
  20707. type: integer
  20708. optioncompare:
  20709. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20710. type: string
  20711. orderqty:
  20712. description: 挂牌数量
  20713. type: integer
  20714. refprice:
  20715. description: 参考价格
  20716. type: string
  20717. retcode:
  20718. description: 委托返回代码
  20719. type: integer
  20720. templatename:
  20721. description: 履约方式(履约模板名称)
  20722. type: string
  20723. tradedate:
  20724. description: 交易日(yyyyMMdd)
  20725. type: string
  20726. userid:
  20727. description: 摘牌人用户ID(议价人ID)
  20728. type: integer
  20729. username:
  20730. description: 议价人名字(已脱敏)
  20731. type: string
  20732. validtime:
  20733. description: 有效期限
  20734. type: string
  20735. warehouseid:
  20736. description: 仓库ID
  20737. type: integer
  20738. warehousename:
  20739. description: 仓库名称
  20740. type: string
  20741. wrbargainid:
  20742. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20743. type: string
  20744. wrfactortypeid:
  20745. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20746. type: string
  20747. wrfactortypename:
  20748. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20749. type: string
  20750. wrstandardcode:
  20751. description: 现货商品代码
  20752. type: string
  20753. wrstandardid:
  20754. description: 现货商品ID
  20755. type: integer
  20756. wrstandardname:
  20757. description: 商品名称
  20758. type: string
  20759. wrtradeorderid:
  20760. description: 关联委托单ID
  20761. type: string
  20762. wrtypename:
  20763. description: 商品
  20764. type: string
  20765. type: object
  20766. models.Warehouseinfo:
  20767. properties:
  20768. address:
  20769. description: 详细地址
  20770. type: string
  20771. areauserid:
  20772. description: 所属机构
  20773. type: integer
  20774. autoid:
  20775. description: 自增ID
  20776. type: integer
  20777. cityid:
  20778. description: 市
  20779. type: integer
  20780. contactname:
  20781. description: 联系人
  20782. type: string
  20783. contactnum:
  20784. description: 联系电话
  20785. type: string
  20786. countryid:
  20787. description: 国家
  20788. type: integer
  20789. createtime:
  20790. description: 创建时间
  20791. type: string
  20792. districtid:
  20793. description: 区
  20794. type: integer
  20795. hasvideo:
  20796. description: 是否有视频 - 0:无 1:有
  20797. type: integer
  20798. provinceid:
  20799. description: 省
  20800. type: integer
  20801. remark:
  20802. description: 审核备注
  20803. type: string
  20804. videourl:
  20805. description: 视频地址
  20806. type: string
  20807. warehousecode:
  20808. description: 仓库代码
  20809. type: string
  20810. warehousename:
  20811. description: 仓库名称
  20812. type: string
  20813. warehousestatus:
  20814. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20815. type: integer
  20816. warehousetype:
  20817. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20818. type: integer
  20819. required:
  20820. - autoid
  20821. - warehousecode
  20822. type: object
  20823. models.WrAverageTradePrice:
  20824. properties:
  20825. averageprice:
  20826. description: 期初均价
  20827. type: number
  20828. tradedate:
  20829. description: 交易日yyyymm
  20830. type: string
  20831. type: object
  20832. models.WrBrandAndYears:
  20833. properties:
  20834. brandlst:
  20835. description: 品牌列表
  20836. items:
  20837. $ref: '#/definitions/models.DgFactoryItem'
  20838. type: array
  20839. yearslst:
  20840. description: 年份列表
  20841. items:
  20842. $ref: '#/definitions/models.DgFactoryItem'
  20843. type: array
  20844. type: object
  20845. models.WrBsGoodsInfo:
  20846. properties:
  20847. buyorsell:
  20848. description: 买卖方向 0-买 1-卖
  20849. type: integer
  20850. goodsid:
  20851. description: 交易合约ID
  20852. type: integer
  20853. lstitem:
  20854. description: 商品信息项
  20855. items:
  20856. $ref: '#/definitions/models.WrTypeItem'
  20857. type: array
  20858. lststep:
  20859. description: 履约规则
  20860. items:
  20861. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20862. type: array
  20863. type: object
  20864. models.WrBuybackDetail:
  20865. properties:
  20866. buybackamount:
  20867. description: 回购金额
  20868. type: number
  20869. buybackqty:
  20870. description: 回购数量
  20871. type: number
  20872. buybackreleasemargin:
  20873. description: 回购释放保证金
  20874. type: number
  20875. buybacktime:
  20876. description: 回购时间
  20877. type: string
  20878. errordesc:
  20879. description: 错误描述
  20880. type: string
  20881. handlestatus:
  20882. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20883. type: integer
  20884. relatedwrid:
  20885. description: 关联仓单ID
  20886. type: integer
  20887. scfcontractid:
  20888. description: SCF合同ID
  20889. type: string
  20890. scfwrbuybackid:
  20891. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20892. type: integer
  20893. tradedate:
  20894. description: 交易日(yyyyMMdd)
  20895. type: string
  20896. type: object
  20897. models.WrClientAdSpaceConfig:
  20898. properties:
  20899. adspaceid:
  20900. description: 广告位ID
  20901. type: integer
  20902. adspacename:
  20903. description: 广告位名称
  20904. type: string
  20905. adspacetype:
  20906. description: 广告位类型 - 1:固定广告位
  20907. type: integer
  20908. areauserid:
  20909. description: 所属机构ID
  20910. type: integer
  20911. createdate:
  20912. description: 创建时间
  20913. type: string
  20914. imagepath:
  20915. description: 图片
  20916. type: string
  20917. modifierid:
  20918. description: 操作人
  20919. type: integer
  20920. recsize:
  20921. description: 推荐尺寸
  20922. type: string
  20923. title:
  20924. description: 标题
  20925. type: string
  20926. updatedate:
  20927. description: 更新时间
  20928. type: string
  20929. urlcontent:
  20930. description: 链接(地址\商品ID\功能菜单Key\appid)
  20931. type: string
  20932. urltype:
  20933. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20934. type: integer
  20935. type: object
  20936. models.WrDeliveryAvalidHoldLB:
  20937. properties:
  20938. accountid:
  20939. description: 资金账号
  20940. type: integer
  20941. avalidqty:
  20942. description: 数量(可点选数量)
  20943. type: number
  20944. deliverygoodsid:
  20945. description: 品种id
  20946. type: integer
  20947. enumdicname:
  20948. description: 单位名称
  20949. type: string
  20950. goodsid:
  20951. description: x合约商品id
  20952. type: integer
  20953. ladingbillid:
  20954. description: 提单id
  20955. type: string
  20956. pgoodscode:
  20957. description: p商品代码(点价合约)
  20958. type: string
  20959. pgoodsid:
  20960. description: p商品id(点价合约)
  20961. type: integer
  20962. pgoodsname:
  20963. description: p商品名称(点价合约)
  20964. type: string
  20965. pricemove:
  20966. description: 升贴水
  20967. type: number
  20968. subnum:
  20969. description: 提单子id
  20970. type: integer
  20971. userid:
  20972. description: 用户id
  20973. type: integer
  20974. username:
  20975. description: 仓单持有人
  20976. type: string
  20977. warehousecode:
  20978. description: 仓库代码
  20979. type: string
  20980. warehouseid:
  20981. description: 仓库id
  20982. type: integer
  20983. warehousename:
  20984. description: 仓库名称
  20985. type: string
  20986. wrfactortypeid:
  20987. description: 仓单要素id
  20988. type: string
  20989. wrstandardcode:
  20990. description: 品代码
  20991. type: string
  20992. wrstandardid:
  20993. description: 品类d
  20994. type: integer
  20995. wrstandardname:
  20996. description: 品类名称
  20997. type: string
  20998. wrtypename:
  20999. description: 商品
  21000. type: string
  21001. xgoodscode:
  21002. description: x合约代码
  21003. type: string
  21004. xgoodsname:
  21005. description: x合约名称
  21006. type: string
  21007. type: object
  21008. models.WrDeliveryDetail:
  21009. properties:
  21010. accountid:
  21011. description: 账号ID
  21012. type: integer
  21013. averageprice:
  21014. description: 期初均价
  21015. type: number
  21016. begindate:
  21017. description: 开始交易日(yyyymmdd)
  21018. type: string
  21019. buyorsell:
  21020. description: 方向 - 0:买 1:卖
  21021. type: integer
  21022. deliveryamount:
  21023. description: 货款金额(X总货款+P总货款)
  21024. type: number
  21025. deliveryid:
  21026. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  21027. type: string
  21028. deliveryorderid:
  21029. description: 申报单号
  21030. type: string
  21031. deliverypricemove:
  21032. description: 升贴水(升贴水总额)
  21033. type: number
  21034. deliveryqty:
  21035. description: 交收数量(点选数量)
  21036. type: number
  21037. deliverystatus:
  21038. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  21039. type: integer
  21040. deliverytime:
  21041. description: 交割时间
  21042. type: string
  21043. deliverytotalamount:
  21044. description: 交收金额
  21045. type: number
  21046. enddate:
  21047. description: 结束交易日(yyyymmdd)
  21048. type: string
  21049. enumdicname:
  21050. description: 单位名称
  21051. type: string
  21052. matchaccountid:
  21053. description: 对手账号ID
  21054. type: integer
  21055. matchusername:
  21056. description: 对手方名称(仓单持有人)
  21057. type: string
  21058. p1goodsremainamount:
  21059. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21060. type: number
  21061. pdeliverycloseqty:
  21062. description: p合约平仓数量
  21063. type: number
  21064. pdeliveryprice:
  21065. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21066. type: number
  21067. pgoodscode:
  21068. description: 商品代码
  21069. type: string
  21070. pgoodsid:
  21071. description: p点选合约id
  21072. type: integer
  21073. pgoodsname:
  21074. description: 商品名称
  21075. type: string
  21076. ppricemode:
  21077. description: 点价价格方式 - 1:商品价 2:固定值
  21078. type: integer
  21079. tradedate:
  21080. description: 交易日(yyyymmdd)
  21081. type: string
  21082. userid:
  21083. description: 用户id
  21084. type: integer
  21085. username:
  21086. description: 用户名称
  21087. type: string
  21088. warehousename:
  21089. description: 仓库名称
  21090. type: string
  21091. wrfactortypeid:
  21092. description: 仓单要素类型ID
  21093. type: string
  21094. wrtypename:
  21095. description: 商品
  21096. type: string
  21097. xdeliverycloseqty:
  21098. description: 合约数量
  21099. type: number
  21100. xgoodsamount:
  21101. description: 期初均价
  21102. type: number
  21103. xgoodscode:
  21104. description: 商品代码
  21105. type: string
  21106. xgoodsid:
  21107. description: x交易合约ID
  21108. type: integer
  21109. xgoodsname:
  21110. description: 商品名称
  21111. type: string
  21112. type: object
  21113. models.WrDeliveryGoodsSection:
  21114. properties:
  21115. dglst:
  21116. description: 板块商品列表
  21117. items:
  21118. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21119. type: array
  21120. imagepath:
  21121. description: 图片地址
  21122. type: string
  21123. orderindex:
  21124. description: 排序
  21125. type: integer
  21126. sectionid:
  21127. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21128. = 1的版块1 - 云融指数
  21129. type: integer
  21130. sectionname:
  21131. description: 版块名称
  21132. type: string
  21133. sectiontype:
  21134. description: 版块类型 - 1:指数版块 2:普通版块
  21135. type: integer
  21136. type: object
  21137. models.WrDeliveryGoodsSectionConfig:
  21138. properties:
  21139. deliverygoodscode:
  21140. description: 现货商品代码
  21141. type: string
  21142. deliverygoodsid:
  21143. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21144. type: integer
  21145. deliverygoodsname:
  21146. description: 现货商品名称
  21147. type: string
  21148. orderindex:
  21149. description: 排序
  21150. type: integer
  21151. type: object
  21152. models.WrDraftUserInfo:
  21153. properties:
  21154. address:
  21155. description: 地址
  21156. type: string
  21157. attachment1:
  21158. description: 附件1
  21159. type: string
  21160. attachment2:
  21161. description: 附件2
  21162. type: string
  21163. attachment3:
  21164. description: 附件3
  21165. type: string
  21166. attachment4:
  21167. description: 附件4
  21168. type: string
  21169. attachment5:
  21170. description: 附件5
  21171. type: string
  21172. bankaccount:
  21173. description: 银行帐号 (加密存储)
  21174. type: string
  21175. bankaccountname:
  21176. description: 收款人名称
  21177. type: string
  21178. bankcardfrontphotourl:
  21179. description: 银行卡正面照地址
  21180. type: string
  21181. bankid:
  21182. description: 银行编码
  21183. type: string
  21184. bankname:
  21185. description: 银行名称
  21186. type: string
  21187. birthday:
  21188. description: 生日(个人:年月日)
  21189. type: string
  21190. biznature:
  21191. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21192. type: integer
  21193. bizscope:
  21194. description: 企业经营范围(企业)
  21195. type: string
  21196. biztype:
  21197. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21198. type: integer
  21199. cardbackphotourl:
  21200. description: 证件背面图片地址
  21201. type: string
  21202. cardfrontphotourl:
  21203. description: 证件正面图片地址
  21204. type: string
  21205. cardnum:
  21206. description: 证件号码(加密存储)
  21207. type: string
  21208. cardtypeid:
  21209. description: 证件类型ID
  21210. type: integer
  21211. cityid:
  21212. description: 市
  21213. type: integer
  21214. company:
  21215. description: 公司(个人)
  21216. type: string
  21217. contactcardbackphotourl:
  21218. description: 联系人证件背面图片地址
  21219. type: string
  21220. contactcardfrontphotourl:
  21221. description: 联系人证件正面图片地址
  21222. type: string
  21223. contactname:
  21224. description: 联系人
  21225. type: string
  21226. countryid:
  21227. description: 国家
  21228. type: integer
  21229. createtime:
  21230. description: 创建时间
  21231. type: string
  21232. creatorid:
  21233. description: 创建人
  21234. type: integer
  21235. creditquota:
  21236. description: 授信额度(金瑞)
  21237. type: number
  21238. customername:
  21239. description: 客户名称(企业名称)
  21240. type: string
  21241. districtid:
  21242. description: 地区
  21243. type: integer
  21244. email:
  21245. description: 邮件(加密存储)
  21246. type: string
  21247. fax:
  21248. description: 传真(加密存储)
  21249. type: string
  21250. halfbodyphotourl:
  21251. description: 半身照地址
  21252. type: string
  21253. hasencrypt:
  21254. description: 数据是否已加密 - 0:未加密 1:已加密
  21255. type: integer
  21256. headurl:
  21257. description: 头像地址
  21258. type: string
  21259. legalcardbackphotourl:
  21260. description: 法人身份证背面照地址
  21261. type: string
  21262. legalcardfrontphotourl:
  21263. description: 法人身份证正面照地址
  21264. type: string
  21265. legalpersonname:
  21266. description: 法人姓名(企业)
  21267. type: string
  21268. mobile:
  21269. description: 手机号码(加密存储)
  21270. type: string
  21271. mobile2:
  21272. description: 手机号码[明文-尚志]
  21273. type: string
  21274. modifierid:
  21275. description: 修改人
  21276. type: integer
  21277. modifiertime:
  21278. description: 修改时间
  21279. type: string
  21280. needinvoice:
  21281. description: 是否需要发票 - 0:不需要 1:需要
  21282. type: integer
  21283. nickname:
  21284. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21285. type: string
  21286. openmode:
  21287. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21288. 6:苹果手机端注册 7:PC交易端注册"
  21289. type: integer
  21290. otherurl:
  21291. description: 其它图片地址[使用分号分隔]
  21292. type: string
  21293. postalcode:
  21294. description: 邮政编码
  21295. type: string
  21296. provinceid:
  21297. description: 省
  21298. type: integer
  21299. proxystatementurl:
  21300. description: 授权委托书
  21301. type: string
  21302. qq:
  21303. description: QQ(加密存储
  21304. type: string
  21305. remark:
  21306. description: 备注
  21307. type: string
  21308. sex:
  21309. description: '用户性别 0: 女 1: 男'
  21310. type: integer
  21311. signpdfurl:
  21312. description: 签约pdf文件
  21313. type: string
  21314. taxpayernum:
  21315. description: 纳税人识别号
  21316. type: string
  21317. telphone:
  21318. description: 联系电话(加密存储)
  21319. type: string
  21320. userid:
  21321. description: 用户ID
  21322. type: integer
  21323. userinfotype:
  21324. description: 用户信息类型 - 1:个人 2:企业
  21325. type: integer
  21326. userstatus:
  21327. description: 用户状态 - 1:正常 2:注销
  21328. type: integer
  21329. usertype:
  21330. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21331. type: integer
  21332. wechat:
  21333. description: 微信(加密存储)
  21334. type: string
  21335. wskhinfo:
  21336. description: 开户申请信息(JSON)
  21337. type: string
  21338. type: object
  21339. models.WrFAProductDetail:
  21340. properties:
  21341. accountid:
  21342. description: 资金账号
  21343. type: integer
  21344. areauserid:
  21345. description: 金融机构ID
  21346. type: integer
  21347. financingdays:
  21348. description: 天数(天)
  21349. type: integer
  21350. interestminlen:
  21351. description: 最小起息天数
  21352. type: integer
  21353. interestrate:
  21354. description: 利率
  21355. type: number
  21356. interestratemode:
  21357. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21358. type: integer
  21359. interestsettlemode:
  21360. description: 结息方式 - 1:按日结息 3:按月结息
  21361. type: integer
  21362. interestsettlevalue:
  21363. description: 结息方式值
  21364. type: integer
  21365. isautoloan:
  21366. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21367. type: integer
  21368. loantag:
  21369. description: '放款标识: "放款快" 或者为空'
  21370. type: string
  21371. marginratio:
  21372. description: 保证金比率质押率 - [仓单质押]
  21373. type: number
  21374. productdetailid:
  21375. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21376. type: integer
  21377. productid:
  21378. description: 金融产品ID
  21379. type: integer
  21380. productname:
  21381. description: 产品名称
  21382. type: string
  21383. updatetime:
  21384. description: 更新时间
  21385. type: string
  21386. username:
  21387. description: 融出方
  21388. type: string
  21389. type: object
  21390. models.WrFactorTypeInfo:
  21391. properties:
  21392. deliverygoodscode:
  21393. description: 品种代码
  21394. type: string
  21395. deliverygoodsname:
  21396. description: 品种名称
  21397. type: string
  21398. dgfactoryitemid:
  21399. description: 选择项id
  21400. type: integer
  21401. dgfactoryitemtypeid:
  21402. description: 要素选择项ID (1-仓库 2-品牌)
  21403. type: integer
  21404. dgfactoryitemvalue:
  21405. description: 要素项值
  21406. type: string
  21407. itemtypename:
  21408. description: 要素项名称
  21409. type: string
  21410. optioncompare:
  21411. description: 选择比较串
  21412. type: string
  21413. warehouseid:
  21414. description: 仓库id
  21415. type: integer
  21416. wrfactortypeid:
  21417. description: 仓单要素ID
  21418. type: string
  21419. wrfactortypename:
  21420. description: 要素名称
  21421. type: string
  21422. wrfactortypename2:
  21423. description: 要素名称(不含仓库)
  21424. type: string
  21425. wrstandardcode:
  21426. description: 品类代码
  21427. type: string
  21428. wrstandardid:
  21429. description: 品类id
  21430. type: integer
  21431. wrstandardname:
  21432. description: 品类名称
  21433. type: string
  21434. type: object
  21435. models.WrFilterItem:
  21436. properties:
  21437. itemcode:
  21438. description: 代码
  21439. type: string
  21440. itemid:
  21441. description: 项id
  21442. type: integer
  21443. itemname:
  21444. description: 名称
  21445. type: string
  21446. itemtype:
  21447. description: 类型 1-品种 2-品类(商品) 3-仓库
  21448. type: integer
  21449. type: object
  21450. models.WrFinanceBuyApply:
  21451. properties:
  21452. applydate:
  21453. description: 申请时间
  21454. type: string
  21455. applystatus:
  21456. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21457. type: integer
  21458. applyuserid:
  21459. description: 申请人
  21460. type: integer
  21461. auditdate:
  21462. description: 审核时间
  21463. type: string
  21464. auditremark:
  21465. description: 审核备注
  21466. type: string
  21467. audituserid:
  21468. description: 审核人
  21469. type: integer
  21470. buyaccountid:
  21471. description: 买方资金账号
  21472. type: integer
  21473. buyorsell:
  21474. description: 买卖 - 0:买 1:卖
  21475. type: integer
  21476. buyuserid:
  21477. description: 买方用户ID
  21478. type: integer
  21479. buyusername:
  21480. description: 买方名称
  21481. type: string
  21482. buywrtradeorderid:
  21483. description: 融资方买委托单ID
  21484. type: string
  21485. deliverygoodscode:
  21486. description: 品种代码
  21487. type: string
  21488. deliverygoodsid:
  21489. description: 品种ID
  21490. type: integer
  21491. deliverygoodsname:
  21492. description: 品种名称
  21493. type: string
  21494. deliverymonth:
  21495. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21496. type: string
  21497. enumdicname:
  21498. description: 单位名称
  21499. type: string
  21500. financeaccountid:
  21501. description: 融资方资金帐户ID
  21502. type: integer
  21503. financeapplyid:
  21504. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21505. type: string
  21506. financeareauserid:
  21507. description: 融资方用户ID
  21508. type: string
  21509. financename:
  21510. description: 融出方名称
  21511. type: string
  21512. financetype:
  21513. description: 融资类型 1-融资回购
  21514. type: integer
  21515. financingdays:
  21516. description: 天数(天)
  21517. type: integer
  21518. freezebuymargin:
  21519. description: 冻结融资保证金(买方)
  21520. type: number
  21521. handleremark:
  21522. description: 处理备注
  21523. type: string
  21524. handlestatus:
  21525. description: 处理状态
  21526. type: integer
  21527. interestminlen:
  21528. description: 最小起息天数
  21529. type: integer
  21530. interestrate:
  21531. description: 利率
  21532. type: number
  21533. interestratemode:
  21534. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21535. type: integer
  21536. interestsettlemode:
  21537. description: 结息方式 - 1:按日结息 3:按月结息
  21538. type: integer
  21539. interestsettlevalue:
  21540. description: 结息方式值
  21541. type: integer
  21542. isautoloan:
  21543. description: 是否自动放款 - 0:手动 1:自动
  21544. type: integer
  21545. marginratio:
  21546. description: 保证金比率质押率 - [仓单质押]
  21547. type: number
  21548. marketid:
  21549. description: 市场ID
  21550. type: integer
  21551. minivalue:
  21552. description: 现货商品最小变动值
  21553. type: integer
  21554. optioncompare:
  21555. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21556. type: string
  21557. orderqty:
  21558. description: 委托数量(商品数量)
  21559. type: number
  21560. productdetailid:
  21561. description: 产品组合ID
  21562. type: integer
  21563. productid:
  21564. description: 金融产品ID
  21565. type: integer
  21566. productname:
  21567. description: 产品名称
  21568. type: string
  21569. remark:
  21570. description: 备注
  21571. type: string
  21572. scfcontractid:
  21573. description: 仓单回购合同ID
  21574. type: string
  21575. sellaccountid:
  21576. description: 卖方资金账号
  21577. type: integer
  21578. selluserid:
  21579. description: 卖方用户ID
  21580. type: integer
  21581. sellwrtradeorderid:
  21582. description: 卖方委托单ID
  21583. type: string
  21584. tradeamount:
  21585. description: 成交金额(借款金额)
  21586. type: number
  21587. tradedate:
  21588. description: 交易日(yyyyMMdd)
  21589. type: string
  21590. tradeprice:
  21591. description: 成交价格
  21592. type: number
  21593. warehouseid:
  21594. description: 仓库ID
  21595. type: integer
  21596. warehousename:
  21597. description: 仓库名称
  21598. type: string
  21599. wrfactortypeid:
  21600. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21601. type: string
  21602. wrfactortypename:
  21603. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21604. type: string
  21605. wrpricetype:
  21606. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21607. type: integer
  21608. wrstandardcode:
  21609. description: 现货商品代码
  21610. type: string
  21611. wrstandardid:
  21612. description: 现货商品ID
  21613. type: integer
  21614. wrstandardname:
  21615. description: 商品名称
  21616. type: string
  21617. wrtypename:
  21618. description: 商品
  21619. type: string
  21620. type: object
  21621. models.WrFriendApply:
  21622. properties:
  21623. applicantid:
  21624. description: 申请人
  21625. type: integer
  21626. applyname:
  21627. description: 申请人名称
  21628. type: string
  21629. applysrc:
  21630. description: 申请来源 - 1:管理端 2:终端
  21631. type: integer
  21632. applystatus:
  21633. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21634. type: integer
  21635. applytime:
  21636. description: 申请时间
  21637. type: string
  21638. auditname:
  21639. description: 审核人名称
  21640. type: string
  21641. auditorid:
  21642. description: 审核人
  21643. type: integer
  21644. auditremark:
  21645. description: 审核备注
  21646. type: string
  21647. auditsrc:
  21648. description: 审核来源 - 1:管理端 2:终端
  21649. type: integer
  21650. audittime:
  21651. description: 审核时间
  21652. type: string
  21653. friendapplyid:
  21654. description: 申请ID(SEQ_FRIENDAPPLY)
  21655. type: string
  21656. friendname:
  21657. description: 好友名字(已脱敏)
  21658. type: string
  21659. frienduserid:
  21660. description: 好友用户ID
  21661. type: string
  21662. remark:
  21663. description: 备注
  21664. type: string
  21665. userid:
  21666. description: 申请人用户ID
  21667. type: integer
  21668. type: object
  21669. models.WrFtDeliveryGoods:
  21670. properties:
  21671. deliverygoodscode:
  21672. description: 品种代码
  21673. type: string
  21674. deliverygoodsid:
  21675. description: 品种ID
  21676. type: integer
  21677. deliverygoodsname:
  21678. description: 品种名称
  21679. type: string
  21680. wdlst:
  21681. description: 商品列表
  21682. items:
  21683. $ref: '#/definitions/models.WrFtWrstandard'
  21684. type: array
  21685. type: object
  21686. models.WrFtWrstandard:
  21687. properties:
  21688. enumdicname:
  21689. description: 单位名称
  21690. type: string
  21691. minivalue:
  21692. description: 最小变动值
  21693. type: integer
  21694. wrstandardcode:
  21695. description: 现货商品代码
  21696. type: string
  21697. wrstandardid:
  21698. description: 现货商品ID
  21699. type: integer
  21700. wrstandardname:
  21701. description: 商品名称
  21702. type: string
  21703. type: object
  21704. models.WrGoodsInfo:
  21705. properties:
  21706. haswr:
  21707. description: 0:仓单预售 1:仓单贸易
  21708. type: integer
  21709. lstitem:
  21710. description: 商品信息项
  21711. items:
  21712. $ref: '#/definitions/models.WrTypeItem'
  21713. type: array
  21714. lststep:
  21715. description: 履约规则
  21716. items:
  21717. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21718. type: array
  21719. marketid:
  21720. description: 市场id
  21721. type: integer
  21722. type: object
  21723. models.WrGoodsPerformanceStep:
  21724. properties:
  21725. autoid:
  21726. description: AutoID
  21727. type: integer
  21728. isauto:
  21729. description: 是否自动 - 0:不自动 1:自动
  21730. type: integer
  21731. remark:
  21732. description: 备注
  21733. type: string
  21734. stepdate:
  21735. description: 天数信息(T+N)
  21736. type: string
  21737. stepdays:
  21738. description: 距离上一步天数
  21739. type: integer
  21740. stepindex:
  21741. description: 步骤序号
  21742. type: integer
  21743. stepinfo:
  21744. description: 步骤信息(步骤名称+步骤值)
  21745. type: string
  21746. steptypeid:
  21747. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21748. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21749. type: integer
  21750. steptypename:
  21751. description: 步骤名称
  21752. type: string
  21753. stepvalue:
  21754. description: 期初均价
  21755. type: number
  21756. templateid:
  21757. description: 履约计划模板ID
  21758. type: integer
  21759. type: object
  21760. models.WrHoldLB:
  21761. properties:
  21762. accountid:
  21763. description: 持有人帐户ID
  21764. type: integer
  21765. bannerpicurl:
  21766. description: Banner图
  21767. type: string
  21768. createtime:
  21769. description: 创建时间(过户时间)
  21770. type: string
  21771. deliverygoodscode:
  21772. description: 品种代码
  21773. type: string
  21774. deliverygoodsid:
  21775. description: 品种ID
  21776. type: integer
  21777. deliverygoodsname:
  21778. description: 品种名称
  21779. type: string
  21780. enableqty:
  21781. description: 可用数量
  21782. type: number
  21783. enumdicname:
  21784. description: 单位名称
  21785. type: string
  21786. freezerqty:
  21787. description: 冻结数量
  21788. type: number
  21789. ladingbillid:
  21790. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21791. type: string
  21792. minivalue:
  21793. description: 现货商品最小变动值
  21794. type: integer
  21795. optioncompare:
  21796. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21797. type: string
  21798. parentsubnum:
  21799. description: 拆分父子单号
  21800. type: integer
  21801. pledgeqty:
  21802. description: 质押数量
  21803. type: number
  21804. qty:
  21805. description: 数量
  21806. type: number
  21807. spotgoodsprice:
  21808. description: 参考价(THJ)
  21809. type: number
  21810. subnum:
  21811. description: 提单子单号
  21812. type: integer
  21813. thumurls:
  21814. description: 缩略图
  21815. type: string
  21816. tradedate:
  21817. description: 交易日(yyyyMMdd)
  21818. type: string
  21819. userid:
  21820. description: 持有人ID
  21821. type: integer
  21822. warehouseid:
  21823. description: 仓库ID
  21824. type: integer
  21825. warehousename:
  21826. description: 仓库名称
  21827. type: string
  21828. wrfactortypeid:
  21829. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21830. type: string
  21831. wrfactortypename:
  21832. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21833. type: string
  21834. wrholdeno:
  21835. description: 仓单编号
  21836. type: string
  21837. wrid:
  21838. description: 仓单变更ID
  21839. type: string
  21840. wrstandardcode:
  21841. description: 现货商品代码
  21842. type: string
  21843. wrstandardid:
  21844. description: 现货商品ID
  21845. type: integer
  21846. wrstandardname:
  21847. description: 商品名称
  21848. type: string
  21849. wrtypename:
  21850. description: 商品
  21851. type: string
  21852. type: object
  21853. models.WrMarketTradeConfig:
  21854. properties:
  21855. basisdownratio:
  21856. description: 浮动价基差下限比例(仓单贸易)
  21857. type: number
  21858. basisupratio:
  21859. description: 浮动价基差上限比例(仓单贸易)
  21860. type: number
  21861. buychargealgorithm:
  21862. description: 买方手续费收取方式 1:比率 2:固定
  21863. type: integer
  21864. buychargealgorithm2:
  21865. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21866. type: integer
  21867. buychargealgorithmvalue:
  21868. description: 买方手续费设置值(交易所部分)
  21869. type: number
  21870. buychargealgorithmvalue2:
  21871. description: 买方手续费设置值(会员部分)
  21872. type: number
  21873. buychargealgorithmvalue3:
  21874. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21875. type: number
  21876. buychargealgorithmvalue4:
  21877. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21878. type: number
  21879. buyfirstmarginalgorithm:
  21880. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21881. type: integer
  21882. buyfirstmarginvalue:
  21883. description: 买方出价保证金设置值 - [竞拍]
  21884. type: number
  21885. buymarginalgorithm:
  21886. description: 买方保证金方式 - 1:比率 2:固定
  21887. type: integer
  21888. buymarginvalue:
  21889. description: 买方保证金设置值
  21890. type: number
  21891. buyreleaseratio:
  21892. description: 买方释放比率[2:分步履约]
  21893. type: number
  21894. executemode:
  21895. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21896. type: integer
  21897. executeside:
  21898. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21899. type: integer
  21900. failedchargealgorithm:
  21901. description: 流拍手续费收取方式 1:比率 2:固定
  21902. type: integer
  21903. failedchargevalue:
  21904. description: 流拍手续费设置值
  21905. type: number
  21906. failedchargevalue2:
  21907. description: 流拍卖方手续费设置值
  21908. type: number
  21909. holddays:
  21910. description: 合同期限[2:分步履约]
  21911. type: integer
  21912. listingmode:
  21913. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21914. type: integer
  21915. marketid:
  21916. description: 市场ID-仓单贸易、竞拍、预售
  21917. type: integer
  21918. minqty:
  21919. description: 最小执行量[2:分步履约]
  21920. type: number
  21921. modifierid:
  21922. description: 修改人
  21923. type: integer
  21924. nowrquotaflag:
  21925. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21926. type: integer
  21927. performancetempid:
  21928. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21929. 立即执行(-1)
  21930. type: integer
  21931. performancetempid2:
  21932. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21933. 立即执行
  21934. type: integer
  21935. performancetempid2s:
  21936. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21937. - 履约方式: 立即执行
  21938. type: string
  21939. performancetempids:
  21940. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21941. - 履约方式: 立即执行(-1)
  21942. type: string
  21943. performanceway:
  21944. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21945. type: integer
  21946. sellchargealgorithm:
  21947. description: 卖方手续费收取方式 1:比率 2:固定
  21948. type: integer
  21949. sellchargealgorithm2:
  21950. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21951. type: integer
  21952. sellchargealgorithmvalue:
  21953. description: 卖方手续费设置值(交易所部分)
  21954. type: number
  21955. sellchargealgorithmvalue2:
  21956. description: 卖方手续费设置值(会员部分)
  21957. type: number
  21958. sellchargealgorithmvalue3:
  21959. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21960. type: number
  21961. sellchargealgorithmvalue4:
  21962. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21963. type: number
  21964. sellmarginalgorithm:
  21965. description: 卖方保证金方式 - 1:比率 2:固定
  21966. type: integer
  21967. sellmarginvalue:
  21968. description: 卖方保证金设置值
  21969. type: number
  21970. sellmarginvalue2:
  21971. description: 卖方保证金设置值(无仓单)
  21972. type: number
  21973. sellreleaseratio:
  21974. description: 卖方释放比率[2:分步履约]
  21975. type: number
  21976. updatetime:
  21977. description: 更新时间
  21978. type: string
  21979. type: object
  21980. models.WrOrderDetail:
  21981. properties:
  21982. accountid:
  21983. description: 交易账号(资金账号)
  21984. type: integer
  21985. allfriendsflag:
  21986. description: 是否全好友可见 - 0:否 1:是
  21987. type: integer
  21988. amount:
  21989. description: 期初均价
  21990. type: number
  21991. bannerpicurl:
  21992. description: Banner图
  21993. type: string
  21994. begindate:
  21995. description: 开始交易日(yyyymmdd)
  21996. type: string
  21997. buyorsell:
  21998. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21999. type: integer
  22000. canbargain:
  22001. description: 是否可议价 - 0:不可 1:可
  22002. type: integer
  22003. cancelqty:
  22004. description: 撤销数量
  22005. type: number
  22006. canpart:
  22007. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  22008. type: integer
  22009. delistminqty:
  22010. description: 起摘数量
  22011. type: integer
  22012. deliverygoodscode:
  22013. description: 品种代码
  22014. type: string
  22015. deliverygoodsid:
  22016. description: 品种ID
  22017. type: integer
  22018. deliverygoodsname:
  22019. description: 品种名称
  22020. type: string
  22021. deliverymonth:
  22022. description: 交收月
  22023. type: string
  22024. enddate:
  22025. description: 结束交易日(yyyymmdd)
  22026. type: string
  22027. enumdicname:
  22028. description: 单位名称
  22029. type: string
  22030. fixedprice:
  22031. description: 固定价格 - [挂牌]
  22032. type: number
  22033. freezecharge:
  22034. description: 期初均价
  22035. type: number
  22036. freezemargin:
  22037. description: 期初均价
  22038. type: number
  22039. futupricemove:
  22040. description: 期货升贴水
  22041. type: number
  22042. futushow:
  22043. description: 期货合约/升贴水
  22044. type: string
  22045. goodscode:
  22046. description: 期货合约
  22047. type: string
  22048. goodsid:
  22049. description: 期货商品id
  22050. type: integer
  22051. goodsname:
  22052. description: 商品名称
  22053. type: string
  22054. haswr:
  22055. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22056. type: integer
  22057. isspecified:
  22058. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22059. type: integer
  22060. ladingbillid:
  22061. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22062. type: string
  22063. marginvalue:
  22064. description: 期初均价
  22065. type: number
  22066. marketid:
  22067. description: 市场ID
  22068. type: integer
  22069. matchusername:
  22070. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22071. type: string
  22072. minivalue:
  22073. description: 现货商品最小变动值
  22074. type: integer
  22075. optioncompare:
  22076. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22077. type: string
  22078. orderqty:
  22079. description: 委托数量
  22080. type: number
  22081. ordertime:
  22082. description: 委托时间(挂牌时间)
  22083. type: string
  22084. performancetemplateid:
  22085. description: 履约模板id
  22086. type: integer
  22087. pricemove:
  22088. description: 升贴水(浮动价时填写) - [挂牌]
  22089. type: number
  22090. taname:
  22091. description: 交易用户名称(资金账号名称)
  22092. type: string
  22093. thumurls:
  22094. description: 缩略图
  22095. type: string
  22096. tradedate:
  22097. description: 交易日(yyyyMMdd)
  22098. type: string
  22099. tradeprice:
  22100. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22101. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22102. type: number
  22103. tradeqty:
  22104. description: 成交数量
  22105. type: number
  22106. unitid:
  22107. description: 现货商品单位ID
  22108. type: integer
  22109. userid:
  22110. description: 用户ID
  22111. type: integer
  22112. validtime:
  22113. description: 挂牌有效期
  22114. type: string
  22115. validtype:
  22116. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22117. type: integer
  22118. warehouseid:
  22119. description: 仓库ID
  22120. type: integer
  22121. warehousename:
  22122. description: 仓库名称
  22123. type: string
  22124. wrfactortypeid:
  22125. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22126. type: string
  22127. wrfactortypename:
  22128. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22129. type: string
  22130. wrpricetype:
  22131. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22132. type: integer
  22133. wrstandardcode:
  22134. description: 现货商品代码
  22135. type: string
  22136. wrstandardid:
  22137. description: 现货商品ID
  22138. type: integer
  22139. wrstandardname:
  22140. description: 商品名称
  22141. type: string
  22142. wrtradeorderid:
  22143. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22144. type: string
  22145. wrtradeorderstatus:
  22146. 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:撤单解冻贷款失败
  22147. type: integer
  22148. wrtradetype:
  22149. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22150. type: integer
  22151. wrtypename:
  22152. description: 商品
  22153. type: string
  22154. type: object
  22155. models.WrOrderQuote:
  22156. properties:
  22157. bannerpicurl:
  22158. description: Banner图
  22159. type: string
  22160. buyprice:
  22161. description: 买价
  22162. type: number
  22163. buypricemove:
  22164. description: 买升贴水(基差)
  22165. type: number
  22166. buyqty:
  22167. description: 买量
  22168. type: number
  22169. deliverygoodscode:
  22170. description: 品种代码
  22171. type: string
  22172. deliverygoodsid:
  22173. description: 品种id
  22174. type: integer
  22175. deliverygoodsname:
  22176. description: 品种名称
  22177. type: string
  22178. deliverymonth:
  22179. description: 交收月
  22180. type: string
  22181. enumdicname:
  22182. description: 单位名称
  22183. type: string
  22184. goodscode:
  22185. description: 商品合约(浮动价列表才有)
  22186. type: string
  22187. goodsid:
  22188. description: 商品id(浮动价列表才有)
  22189. type: integer
  22190. minivalue:
  22191. description: 现货商品最小变动值
  22192. type: integer
  22193. pictureurls:
  22194. description: 详情图片(逗号分隔)
  22195. type: string
  22196. sellprice:
  22197. description: 卖价
  22198. type: number
  22199. sellpricemove:
  22200. description: 卖升贴水(基差)
  22201. type: number
  22202. sellqty:
  22203. description: 卖量
  22204. type: number
  22205. spotgoodsprice:
  22206. description: 参考价(THJ)
  22207. type: number
  22208. thumurls:
  22209. description: 缩略图片(1:1)(逗号分隔)
  22210. type: string
  22211. warehousecode:
  22212. description: 仓库代码
  22213. type: string
  22214. warehouseid:
  22215. description: 仓库id
  22216. type: integer
  22217. warehousename:
  22218. description: 仓库名称
  22219. type: string
  22220. wrfactortypeid:
  22221. description: 仓单要素id
  22222. type: string
  22223. wrfactortypename:
  22224. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22225. type: string
  22226. wrgoodsname:
  22227. description: 商品(商品名称+仓库要素名称 拼接)
  22228. type: string
  22229. wrstandardcode:
  22230. description: 商品代码
  22231. type: string
  22232. wrstandardid:
  22233. description: 商品id
  22234. type: integer
  22235. wrstandardname:
  22236. description: 商品名称
  22237. type: string
  22238. type: object
  22239. models.WrOrderQuoteDetail:
  22240. properties:
  22241. buyorsell:
  22242. description: 买卖 - 0:买 1:卖
  22243. type: integer
  22244. delistminqty:
  22245. description: 期初均价
  22246. type: number
  22247. deliverymonth:
  22248. description: 交收月
  22249. type: string
  22250. enumdicname:
  22251. description: 单位名称
  22252. type: string
  22253. fixedprice:
  22254. description: 买(卖)价
  22255. type: number
  22256. marketid:
  22257. description: 市场id
  22258. type: integer
  22259. minivalue:
  22260. description: 现货商品最小变动值
  22261. type: integer
  22262. orderqty:
  22263. description: 买(卖)量(=委托量-成交量)
  22264. type: number
  22265. ordertime:
  22266. description: 委托时间
  22267. type: string
  22268. pricemove:
  22269. description: 买(卖)升贴水- 基差
  22270. type: number
  22271. userid:
  22272. description: 购买方(销售方)用户ID
  22273. type: integer
  22274. username:
  22275. description: 购买方(销售方)
  22276. type: string
  22277. wrtradeorderid:
  22278. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22279. type: string
  22280. type: object
  22281. models.WrOutInApply:
  22282. properties:
  22283. address:
  22284. description: 详细地址
  22285. type: string
  22286. applyid:
  22287. description: 申请单id
  22288. type: string
  22289. applystatus:
  22290. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22291. 8:已撤销
  22292. type: integer
  22293. applytime:
  22294. description: 申请时间
  22295. type: string
  22296. applytype:
  22297. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22298. type: integer
  22299. appointmentmodel:
  22300. description: 预约方式 - 1:物流 2:自送 3:自提
  22301. type: integer
  22302. appointmentmodeldisplay:
  22303. description: 预约方式(显示枚举)
  22304. type: string
  22305. appointmentremark:
  22306. description: 申请备注
  22307. type: string
  22308. bannerpicurl:
  22309. description: Banner图
  22310. type: string
  22311. begindate:
  22312. description: 开始交易日(yyyymmdd)
  22313. type: string
  22314. contactname:
  22315. description: 联系人
  22316. type: string
  22317. contactnum:
  22318. description: 联系方式
  22319. type: string
  22320. deliverygoodscode:
  22321. description: 品种代码
  22322. type: string
  22323. deliverygoodsid:
  22324. description: 品种ID
  22325. type: integer
  22326. deliverygoodsname:
  22327. description: 品种名称
  22328. type: string
  22329. enddate:
  22330. description: 结束交易日(yyyymmdd)
  22331. type: string
  22332. enumdicname:
  22333. description: 单位名称
  22334. type: string
  22335. expresscompany:
  22336. description: 物流公司
  22337. type: string
  22338. expressnum:
  22339. description: 物流单号
  22340. type: string
  22341. minivalue:
  22342. description: 现货商品最小变动值
  22343. type: integer
  22344. optioncompare:
  22345. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22346. type: string
  22347. qty:
  22348. description: 数量
  22349. type: integer
  22350. userid:
  22351. description: 用户id
  22352. type: integer
  22353. warehouseid:
  22354. description: 仓库ID
  22355. type: integer
  22356. warehousename:
  22357. description: 仓库名称
  22358. type: string
  22359. wrfactortypeid:
  22360. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22361. type: string
  22362. wrfactortypename:
  22363. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22364. type: string
  22365. wrstandardcode:
  22366. description: 现货商品代码
  22367. type: string
  22368. wrstandardid:
  22369. description: 现货商品ID
  22370. type: integer
  22371. wrstandardname:
  22372. description: 商品名称
  22373. type: string
  22374. wrtypename:
  22375. description: 商品
  22376. type: string
  22377. type: object
  22378. models.WrPerformancePlan:
  22379. properties:
  22380. activatemonth:
  22381. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22382. type: string
  22383. amount:
  22384. description: 履约金额(总金额)
  22385. type: number
  22386. begindate:
  22387. description: 开始交易日(yyyymmdd)
  22388. type: string
  22389. buyaccountid:
  22390. description: 买方账号
  22391. type: integer
  22392. buyerfreezeamount:
  22393. description: 履约冻结(买履约)
  22394. type: number
  22395. buyerfreezeamountremain:
  22396. description: 履约冻结剩余(买履约)
  22397. type: number
  22398. buyorsell:
  22399. description: 买卖方向 0-买 1-卖
  22400. type: integer
  22401. buypaidamount:
  22402. description: 买方已冻/已扣金额 (已付金额)
  22403. type: number
  22404. buyusername:
  22405. description: 买方名字
  22406. type: string
  22407. contractid:
  22408. description: 合同ID
  22409. type: integer
  22410. createtime:
  22411. description: 创建时间
  22412. type: string
  22413. creatorid:
  22414. description: 创建人
  22415. type: integer
  22416. curstepdeadline:
  22417. description: 当前步骤到期时间
  22418. type: string
  22419. curstepid:
  22420. description: 当前步骤ID
  22421. type: string
  22422. curstepname:
  22423. description: 当前步骤名称
  22424. type: string
  22425. deliverygoodscode:
  22426. description: 品种代码
  22427. type: string
  22428. deliverygoodsid:
  22429. description: 品种ID
  22430. type: integer
  22431. deliverygoodsname:
  22432. description: 品种名称
  22433. type: string
  22434. enddate:
  22435. description: 结束交易日(yyyymmdd)
  22436. type: string
  22437. enumdicname:
  22438. description: 单位名称
  22439. type: string
  22440. expressfee:
  22441. description: 运费
  22442. type: number
  22443. expressfeeconfirmed:
  22444. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22445. type: integer
  22446. hasovershort:
  22447. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22448. type: integer
  22449. haswr:
  22450. description: 类型 0-仓单预售 1-仓单贸易
  22451. type: integer
  22452. marketid:
  22453. description: 市场ID
  22454. type: integer
  22455. middleaccountid:
  22456. description: 中间商资金账号ID
  22457. type: integer
  22458. middleuserid:
  22459. description: 中间商用户ID
  22460. type: integer
  22461. minivalue:
  22462. description: 现货商品最小变动值
  22463. type: integer
  22464. optioncompare:
  22465. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22466. type: string
  22467. overshortamount:
  22468. description: 溢短金额
  22469. type: number
  22470. overshortqty:
  22471. description: 溢短数量
  22472. type: number
  22473. paymenttype:
  22474. description: 付款方式 - 1:冻结 2:扣款
  22475. type: integer
  22476. performanceplanid:
  22477. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22478. type: string
  22479. performancestatus:
  22480. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22481. 9:超时待处理 10:超时关闭
  22482. type: integer
  22483. performancetype:
  22484. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22485. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22486. type: integer
  22487. qty:
  22488. description: 履约数量
  22489. type: number
  22490. relatedorderid:
  22491. description: 关联单号(履约类型的关联单号)
  22492. type: string
  22493. remark:
  22494. description: 备注
  22495. type: string
  22496. sellaccountid:
  22497. description: 卖方账号
  22498. type: integer
  22499. sellerfreezeamount:
  22500. description: 履约冻结(卖履约)
  22501. type: number
  22502. sellerfreezeamountremain:
  22503. description: 履约冻结剩余(卖履约)
  22504. type: number
  22505. sellreceivedamount:
  22506. description: 卖方已收金额
  22507. type: number
  22508. sellusername:
  22509. description: 卖方名字
  22510. type: string
  22511. shipremark:
  22512. description: 发货备注[物流单号]
  22513. type: string
  22514. starttime:
  22515. description: 开始时间
  22516. type: string
  22517. steptypeid:
  22518. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22519. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22520. type: integer
  22521. typename:
  22522. description: 履约类型 名称
  22523. type: string
  22524. unpaidamount:
  22525. description: 期初均价
  22526. type: number
  22527. userid:
  22528. description: 用户id
  22529. type: integer
  22530. warehouseid:
  22531. description: 仓库ID
  22532. type: integer
  22533. warehousename:
  22534. description: 仓库名称
  22535. type: string
  22536. wrfactortypeid:
  22537. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22538. type: string
  22539. wrfactortypename:
  22540. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22541. type: string
  22542. wrstandardcode:
  22543. description: 现货商品代码
  22544. type: string
  22545. wrstandardid:
  22546. description: 现货商品ID
  22547. type: integer
  22548. wrstandardname:
  22549. description: 商品名称
  22550. type: string
  22551. wrtransferuserid:
  22552. description: 仓单受让用户
  22553. type: integer
  22554. wrtypename:
  22555. description: 商品
  22556. type: string
  22557. required:
  22558. - userid
  22559. type: object
  22560. models.WrPerformancePlanStep:
  22561. properties:
  22562. delaydays:
  22563. description: 延期申请天数
  22564. type: integer
  22565. deliverygoodscode:
  22566. description: 品种代码
  22567. type: string
  22568. deliverygoodsid:
  22569. description: 品种ID
  22570. type: integer
  22571. deliverygoodsname:
  22572. description: 品种名称
  22573. type: string
  22574. endtime:
  22575. description: 结束日期
  22576. type: string
  22577. enumdicname:
  22578. description: 单位名称
  22579. type: string
  22580. executeside:
  22581. description: 步骤执行方 - 1:买方 2:卖方
  22582. type: integer
  22583. handlestatus:
  22584. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22585. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22586. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22587. type: integer
  22588. isauto:
  22589. description: 是否自动 - 0:不自动 1:自动
  22590. type: integer
  22591. islastreceivestep:
  22592. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22593. type: integer
  22594. minivalue:
  22595. description: 现货商品最小变动值
  22596. type: integer
  22597. optioncompare:
  22598. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22599. type: string
  22600. overdays:
  22601. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22602. type: integer
  22603. performancestepid:
  22604. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22605. type: string
  22606. planid:
  22607. description: 所属履约计划ID
  22608. type: string
  22609. realamount:
  22610. description: 实际完成金额
  22611. type: number
  22612. relatedorderid:
  22613. description: 关联单号
  22614. type: string
  22615. remaindays:
  22616. description: 剩余天数
  22617. type: integer
  22618. remark:
  22619. description: 错误备注
  22620. type: string
  22621. starttime:
  22622. description: 开始日期
  22623. type: string
  22624. stepamount:
  22625. description: 步骤金额
  22626. type: number
  22627. stepdays:
  22628. description: 距离上一步天数(分钟)
  22629. type: integer
  22630. stepindex:
  22631. description: 步骤序号
  22632. type: integer
  22633. steplanchtype:
  22634. description: 步骤启动类型 - 1:系统自动 2:手动
  22635. type: integer
  22636. stepremark:
  22637. description: 步骤备注
  22638. type: string
  22639. stepstatus:
  22640. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22641. type: integer
  22642. steptypeid:
  22643. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22644. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22645. type: integer
  22646. steptypename:
  22647. description: 步骤名称
  22648. type: string
  22649. stepvalue:
  22650. description: 步骤值
  22651. type: number
  22652. warehouseid:
  22653. description: 仓库ID
  22654. type: integer
  22655. warehousename:
  22656. description: 仓库名称
  22657. type: string
  22658. wrfactortypeid:
  22659. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22660. type: string
  22661. wrfactortypename:
  22662. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22663. type: string
  22664. wrstandardcode:
  22665. description: 现货商品代码
  22666. type: string
  22667. wrstandardid:
  22668. description: 现货商品ID
  22669. type: integer
  22670. wrstandardname:
  22671. description: 商品名称
  22672. type: string
  22673. wrtypename:
  22674. description: 商品
  22675. type: string
  22676. type: object
  22677. models.WrPerformanceStepType:
  22678. properties:
  22679. canauto:
  22680. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22681. type: integer
  22682. steptypeid:
  22683. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22684. type: integer
  22685. steptypename:
  22686. description: 步骤类型名称
  22687. type: string
  22688. type: object
  22689. models.WrPerformanceTemplateEx:
  22690. properties:
  22691. autoid:
  22692. description: AutoID 模板id
  22693. type: integer
  22694. createtime:
  22695. description: 创建时间
  22696. type: string
  22697. creatorid:
  22698. description: 创建人
  22699. type: integer
  22700. lstStep:
  22701. description: 步骤信息列表
  22702. items:
  22703. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22704. type: array
  22705. paymenttype:
  22706. description: 支付方式 - 1:冻结 2:扣款
  22707. type: integer
  22708. takemode:
  22709. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22710. type: integer
  22711. templatename:
  22712. description: 模板名称
  22713. type: string
  22714. templatetype:
  22715. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22716. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22717. type: integer
  22718. userid:
  22719. description: 所属用户
  22720. type: integer
  22721. type: object
  22722. models.WrPosition:
  22723. properties:
  22724. accountid:
  22725. description: 帐户ID
  22726. type: integer
  22727. buyexcuteqty:
  22728. description: 采购履约中数量
  22729. type: number
  22730. creditcurqty:
  22731. description: 授信当前数量(预售仓单:预售当前量)
  22732. type: number
  22733. creditenableqty:
  22734. description: '授信可用数量(预售仓单: 可用数量)'
  22735. type: number
  22736. creditfreezeqty:
  22737. description: '授信冻结数量(预售仓单: 当前数量)'
  22738. type: number
  22739. credittotalqty:
  22740. description: 授信总数量(预售仓单:预售总量)
  22741. type: number
  22742. credittradeqty:
  22743. description: 授信成交数量(预售仓单:成交总量)
  22744. type: number
  22745. deliverygoodscode:
  22746. description: 品种代码
  22747. type: string
  22748. deliverygoodsid:
  22749. description: 品种ID
  22750. type: integer
  22751. deliverygoodsname:
  22752. description: 品种名称
  22753. type: string
  22754. enalbeqty:
  22755. description: 可用数量
  22756. type: number
  22757. enumdicname:
  22758. description: 单位名称
  22759. type: string
  22760. freezeqty:
  22761. description: 总冻结数量
  22762. type: number
  22763. haswr:
  22764. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22765. type: integer
  22766. minivalue:
  22767. description: 现货商品最小变动值
  22768. type: integer
  22769. modifytime:
  22770. description: 修改时间(过户时间)
  22771. type: string
  22772. optioncompare:
  22773. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22774. type: string
  22775. pledgeqty:
  22776. description: 质押数量
  22777. type: number
  22778. querytype:
  22779. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22780. type: integer
  22781. sellexcuteqty:
  22782. description: 销售履约中数量
  22783. type: number
  22784. totalqty:
  22785. description: 总数量(库存数量)
  22786. type: number
  22787. warehouseid:
  22788. description: 仓库ID
  22789. type: integer
  22790. warehousename:
  22791. description: 仓库名称
  22792. type: string
  22793. wrfactortypeid:
  22794. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22795. type: string
  22796. wrfactortypename:
  22797. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22798. type: string
  22799. wrpositionid:
  22800. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22801. type: string
  22802. wrpositionno:
  22803. description: 仓单编号
  22804. type: string
  22805. wrstandardcode:
  22806. description: 现货商品代码
  22807. type: string
  22808. wrstandardid:
  22809. description: 现货商品ID
  22810. type: integer
  22811. wrstandardname:
  22812. description: 商品名称
  22813. type: string
  22814. wrtypename:
  22815. description: 商品
  22816. type: string
  22817. wruserid:
  22818. description: 持有人ID
  22819. type: integer
  22820. type: object
  22821. models.WrPreSaleInfo:
  22822. properties:
  22823. bannerpicurl:
  22824. description: Banner图
  22825. type: string
  22826. baseqty:
  22827. description: 中签基数
  22828. type: number
  22829. createtime:
  22830. description: 创建时间
  22831. type: string
  22832. deliverygoodsid:
  22833. description: 现货品种ID
  22834. type: integer
  22835. enddate:
  22836. description: 预售结束日期
  22837. type: string
  22838. enumdicname:
  22839. description: 单位名称
  22840. type: string
  22841. lotteryflag:
  22842. description: 摇号标识 - 0:未摇号 1:已摇号
  22843. type: integer
  22844. lotteryqty:
  22845. description: 摇号总量
  22846. type: number
  22847. luckyqty:
  22848. description: 已中签量
  22849. type: number
  22850. marketid:
  22851. description: 市场ID
  22852. type: integer
  22853. maxbuyqty:
  22854. description: 单人最大申购量
  22855. type: number
  22856. maxluckyqty:
  22857. description: 单人最大中签量
  22858. type: number
  22859. pictureurls:
  22860. description: 详情图片(逗号分隔)
  22861. type: string
  22862. placeqty:
  22863. description: 已配售量
  22864. type: number
  22865. presaleapplyid:
  22866. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22867. example: "0"
  22868. type: string
  22869. presaleqty:
  22870. description: 预售总量
  22871. type: number
  22872. presalestatus:
  22873. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22874. type: integer
  22875. sellaccountid:
  22876. description: 发行方资金账户ID
  22877. type: integer
  22878. selluserid:
  22879. description: 发行方用户ID
  22880. type: integer
  22881. sellwrtradeorderid:
  22882. description: 发行方卖委托单ID
  22883. type: string
  22884. startdate:
  22885. description: 预售开始日期
  22886. type: string
  22887. takestartdate:
  22888. description: 提货开始日期
  22889. type: string
  22890. thumurls:
  22891. description: 缩略图片(1:1)(逗号分隔)
  22892. type: string
  22893. tradedate:
  22894. description: 交易日
  22895. type: string
  22896. unitid:
  22897. description: 单位ID
  22898. type: integer
  22899. unitprice:
  22900. description: 商品单价
  22901. type: number
  22902. username:
  22903. description: 发行方用户名称
  22904. type: string
  22905. warehousecode:
  22906. description: 仓库代码(仓库简称)
  22907. type: string
  22908. warehouseid:
  22909. description: 仓库ID
  22910. type: integer
  22911. warehousename:
  22912. description: 仓库名称
  22913. type: string
  22914. wrfactortypeid:
  22915. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22916. example: "0"
  22917. type: string
  22918. wrstandardid:
  22919. description: 现货商品ID
  22920. type: integer
  22921. wrstandardname:
  22922. description: 现货商品名称
  22923. type: string
  22924. type: object
  22925. models.WrQuoteOrderMyq:
  22926. properties:
  22927. buyorsell:
  22928. description: 买卖 - 0:买 1:卖
  22929. type: integer
  22930. canbargain:
  22931. description: 是否可议价 - 0:不可 1:可
  22932. type: integer
  22933. canpart:
  22934. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22935. type: integer
  22936. delistminqty:
  22937. description: 期初均价
  22938. type: number
  22939. deliverygoodscode:
  22940. description: 品种代码
  22941. type: string
  22942. deliverygoodsid:
  22943. description: 品种ID
  22944. type: integer
  22945. deliverygoodsname:
  22946. description: 品种名称
  22947. type: string
  22948. deliverymonth:
  22949. description: 交收月
  22950. type: string
  22951. enumdicname:
  22952. description: 单位名称
  22953. type: string
  22954. fixedprice:
  22955. description: 买(卖)价
  22956. type: number
  22957. goodscode:
  22958. description: 商品合约代码
  22959. type: string
  22960. marginflag:
  22961. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22962. type: integer
  22963. marginvalue:
  22964. description: 保证金设置值
  22965. type: number
  22966. minivalue:
  22967. description: 现货商品最小变动值
  22968. type: integer
  22969. orderqty:
  22970. description: 买(卖)量(=委托量-成交量)
  22971. type: number
  22972. ordertime:
  22973. description: 委托时间
  22974. type: string
  22975. performancetemplateid:
  22976. description: 履约模板id
  22977. type: integer
  22978. pricemove:
  22979. description: 买(卖)升贴水- 基差
  22980. type: number
  22981. templatename:
  22982. description: 履约模板名称
  22983. type: string
  22984. userid:
  22985. description: 购买方(销售方)用户ID
  22986. type: integer
  22987. username:
  22988. description: 购买方(销售方)
  22989. type: string
  22990. validtime:
  22991. description: 有效期限
  22992. type: string
  22993. validtype:
  22994. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22995. type: integer
  22996. warehousename:
  22997. description: 仓库名称
  22998. type: string
  22999. wrfactortypeid:
  23000. description: 仓单要素id
  23001. type: string
  23002. wrstandardcode:
  23003. description: 现货商品代码
  23004. type: string
  23005. wrstandardid:
  23006. description: 现货商品ID
  23007. type: integer
  23008. wrstandardname:
  23009. description: 商品名称
  23010. type: string
  23011. wrtradeorderid:
  23012. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23013. type: string
  23014. wrtypename:
  23015. description: 商品
  23016. type: string
  23017. type: object
  23018. models.WrReckonSpotGoodsTradeSum:
  23019. properties:
  23020. begindate:
  23021. description: 开始日期(结果含开始日期) yyyymmdd
  23022. type: string
  23023. enddate:
  23024. description: 结束日期(结果含结束日期) yyyymmdd
  23025. type: string
  23026. istoday:
  23027. description: 是否当日
  23028. type: boolean
  23029. marketid:
  23030. description: 市场ID
  23031. type: integer
  23032. price:
  23033. description: 价格 = 日成交金额 / 日成交数量
  23034. type: string
  23035. reckondate:
  23036. description: 日期 格式 yyyymmdd
  23037. type: string
  23038. tradeamount:
  23039. description: 期初均价
  23040. type: number
  23041. tradeqty:
  23042. description: 期初均价
  23043. type: number
  23044. wrstandardid:
  23045. description: 现货商品ID
  23046. type: integer
  23047. type: object
  23048. models.WrScfContract:
  23049. properties:
  23050. borroweruserid:
  23051. description: 借款用户ID
  23052. type: integer
  23053. buybackwrpositionqty:
  23054. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23055. type: number
  23056. closeinterest:
  23057. description: 已结利息 -> 已结费用
  23058. type: number
  23059. currisklevel:
  23060. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23061. type: integer
  23062. deadline:
  23063. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23064. type: string
  23065. deliverygoodscode:
  23066. description: 品种代码
  23067. type: string
  23068. deliverygoodsid:
  23069. description: 品种ID
  23070. type: integer
  23071. deliverygoodsname:
  23072. description: 品种名称
  23073. type: string
  23074. enumdicname:
  23075. description: 单位名称
  23076. type: string
  23077. financingdays:
  23078. description: 天数(天)
  23079. type: integer
  23080. initmargin:
  23081. description: 保证金 - [仓单回购]
  23082. type: number
  23083. interestamount:
  23084. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23085. type: number
  23086. interestdebt:
  23087. description: 利息欠款(记录负数) -> 费用欠款
  23088. type: number
  23089. interestminlen:
  23090. description: 最小起息天数
  23091. type: integer
  23092. interestrate:
  23093. description: 利率
  23094. type: number
  23095. interestratemode:
  23096. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23097. type: integer
  23098. interestsettlemode:
  23099. description: 结息方式 - 1:按日结息 3:按月结息
  23100. type: integer
  23101. interestsettlevalue:
  23102. description: 结息方式值
  23103. type: integer
  23104. isautoloan:
  23105. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23106. type: integer
  23107. lastcloseinterestday:
  23108. description: 最近结息日(yyyyMMdd)
  23109. type: string
  23110. lenderamount:
  23111. description: 贷款金额 -> 借款金额
  23112. type: number
  23113. lenderuserid:
  23114. description: 贷款方用户ID -> 融出方用户ID
  23115. type: integer
  23116. lenderusername:
  23117. description: 融出方
  23118. type: string
  23119. marginratio:
  23120. description: 保证金比率质押率 - [仓单质押]
  23121. type: number
  23122. marketid:
  23123. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23124. type: integer
  23125. minivalue:
  23126. description: 现货商品最小变动值
  23127. type: integer
  23128. optioncompare:
  23129. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23130. type: string
  23131. pricemove:
  23132. description: 估值升贴水值
  23133. type: number
  23134. productdetailid:
  23135. description: 产品组合ID
  23136. type: integer
  23137. productid:
  23138. description: 金融产品ID
  23139. type: integer
  23140. productname:
  23141. description: 产品名称
  23142. type: string
  23143. remainamount:
  23144. description: 合同剩余金额 -> 剩余金额
  23145. type: number
  23146. remainwrpositionqty:
  23147. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23148. type: number
  23149. remark:
  23150. description: 备注
  23151. type: string
  23152. scfcontractid:
  23153. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23154. type: string
  23155. scfcontractstatus:
  23156. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23157. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23158. type: integer
  23159. scfcontracttype:
  23160. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23161. type: integer
  23162. startinterestday:
  23163. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23164. type: string
  23165. totalinterest:
  23166. description: 已计利息 -> 已计费用
  23167. type: number
  23168. unpaidinterest:
  23169. description: 期初均价
  23170. type: number
  23171. updatetime:
  23172. description: 更新时间
  23173. type: string
  23174. warehouseid:
  23175. description: 仓库ID
  23176. type: integer
  23177. warehousename:
  23178. description: 仓库名称
  23179. type: string
  23180. wrfactortypeid:
  23181. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23182. type: string
  23183. wrfactortypename:
  23184. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23185. type: string
  23186. wrqty:
  23187. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23188. type: number
  23189. wrstandardcode:
  23190. description: 现货商品代码
  23191. type: string
  23192. wrstandardid:
  23193. description: 现货商品ID
  23194. type: integer
  23195. wrstandardname:
  23196. description: 商品名称
  23197. type: string
  23198. wrtypename:
  23199. description: 商品
  23200. type: string
  23201. type: object
  23202. models.WrScfContractInterest:
  23203. properties:
  23204. closeinterest:
  23205. description: 已结利息
  23206. type: number
  23207. closeintereststatus:
  23208. description: 结息状态 - 1:未结 2:已结
  23209. type: integer
  23210. closetime:
  23211. description: 结息时间
  23212. type: string
  23213. closetradedate:
  23214. description: 结息交易日
  23215. type: string
  23216. creatorid:
  23217. description: 操作人ID
  23218. type: integer
  23219. dayrate:
  23220. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23221. type: number
  23222. interest:
  23223. description: 利息
  23224. type: number
  23225. interestamount:
  23226. description: 计息金额
  23227. type: number
  23228. interestday:
  23229. description: 计息日(yyyyMMdd)
  23230. type: string
  23231. scfcontractid:
  23232. description: SCF合同ID
  23233. type: string
  23234. scfcontractinterestid:
  23235. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23236. type: integer
  23237. updatetime:
  23238. description: 更新时间
  23239. type: string
  23240. type: object
  23241. models.WrSearchUser:
  23242. properties:
  23243. userid:
  23244. description: 用户ID
  23245. type: integer
  23246. username:
  23247. description: 用户名称(已脱敏)
  23248. type: string
  23249. username2:
  23250. description: 用户名称(未脱敏)
  23251. type: string
  23252. usertype:
  23253. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23254. type: integer
  23255. required:
  23256. - username
  23257. type: object
  23258. models.WrSiteColumnDetail:
  23259. properties:
  23260. author:
  23261. description: 作者
  23262. type: string
  23263. brief:
  23264. description: 简介
  23265. type: string
  23266. context:
  23267. description: 内容
  23268. type: string
  23269. coverimage:
  23270. description: 封面图片
  23271. type: string
  23272. creaedate:
  23273. description: 创建时间
  23274. type: string
  23275. id:
  23276. description: ID(SEQ_SITE_COLUMNDETAIL)
  23277. type: integer
  23278. istop:
  23279. description: 是否置顶 - 0:不置 1:置顶
  23280. type: integer
  23281. publishdate:
  23282. description: 发布日期
  23283. type: string
  23284. title:
  23285. description: 标题
  23286. type: string
  23287. updatedate:
  23288. description: 修改时间
  23289. type: string
  23290. type: object
  23291. models.WrSpecialMatchOrder:
  23292. properties:
  23293. amount:
  23294. description: 金额 = 数量 * 价格
  23295. type: number
  23296. buyorsell:
  23297. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23298. type: integer
  23299. cancelqty:
  23300. description: 撤销数量
  23301. type: number
  23302. deliverygoodscode:
  23303. description: 品种代码
  23304. type: string
  23305. deliverygoodsid:
  23306. description: 品种ID
  23307. type: integer
  23308. deliverygoodsname:
  23309. description: 品种名称
  23310. type: string
  23311. enumdicname:
  23312. description: 单位名称
  23313. type: string
  23314. fixedprice:
  23315. description: 固定价格(价格)
  23316. type: number
  23317. haswr:
  23318. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23319. type: integer
  23320. isspecified:
  23321. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23322. type: integer
  23323. marketid:
  23324. description: 市场ID
  23325. type: integer
  23326. matchuserid:
  23327. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23328. type: integer
  23329. matchusername:
  23330. description: 指定方
  23331. type: string
  23332. minivalue:
  23333. description: 现货商品最小变动值
  23334. type: integer
  23335. optioncompare:
  23336. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23337. type: string
  23338. orderqty:
  23339. description: 委托数量
  23340. type: number
  23341. ordertime:
  23342. description: 委托时间
  23343. type: string
  23344. pricemove:
  23345. description: 升贴水(浮动价时填写) - [挂牌]
  23346. type: number
  23347. tradedate:
  23348. description: 交易日(yyyyMMdd)
  23349. type: string
  23350. tradeprice:
  23351. description: 成交价格
  23352. type: number
  23353. tradeqty:
  23354. description: 成交数量
  23355. type: number
  23356. userid:
  23357. description: 用户ID
  23358. type: integer
  23359. username:
  23360. description: 发起方
  23361. type: string
  23362. warehouseid:
  23363. description: 仓库ID
  23364. type: integer
  23365. warehousename:
  23366. description: 仓库名称
  23367. type: string
  23368. wrfactortypeid:
  23369. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23370. type: string
  23371. wrfactortypename:
  23372. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23373. type: string
  23374. wrpricetype:
  23375. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23376. type: integer
  23377. wrstandardcode:
  23378. description: 现货商品代码
  23379. type: string
  23380. wrstandardid:
  23381. description: 现货商品ID
  23382. type: integer
  23383. wrstandardname:
  23384. description: 商品名称
  23385. type: string
  23386. wrtradeorderid:
  23387. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23388. type: string
  23389. wrtradeorderstatus:
  23390. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23391. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23392. type: integer
  23393. wrtradetype:
  23394. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23395. type: integer
  23396. wrtypename:
  23397. description: 商品
  23398. type: string
  23399. type: object
  23400. models.WrSpotGroupTradeSum:
  23401. properties:
  23402. deliverygoodscode:
  23403. description: 现货品种代码
  23404. type: string
  23405. deliverygoodsid:
  23406. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23407. type: integer
  23408. deliverygoodsname:
  23409. description: 现货品种名称
  23410. type: string
  23411. lastavgprice:
  23412. description: 上上个交易日价格(前2天价格)
  23413. type: string
  23414. lastreckondate:
  23415. description: 上上个交易日(前2天交易日)
  23416. type: string
  23417. reckondate:
  23418. description: 上个交易日(前1天交易日)
  23419. type: string
  23420. todayavgprice:
  23421. description: 上个交易日价格(前1天价格)
  23422. type: string
  23423. updown:
  23424. description: 涨跌
  23425. type: string
  23426. updownratio:
  23427. description: 涨幅(已格式化, 直接显示即可)
  23428. type: string
  23429. type: object
  23430. models.WrSpotGroupTradeSumDetail:
  23431. properties:
  23432. deliverygoodsid:
  23433. description: 现货商品id
  23434. type: integer
  23435. price:
  23436. description: 价格
  23437. type: number
  23438. reckondate:
  23439. description: 日期(yyymmdd, 如:20211031)
  23440. type: string
  23441. type: object
  23442. models.WrSpotGroupTradeSumEx:
  23443. properties:
  23444. lst:
  23445. description: 指数列表
  23446. items:
  23447. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23448. type: array
  23449. prereckondate:
  23450. description: 上上个交易日(yyymmdd)
  23451. type: string
  23452. reckondate:
  23453. description: 上个交易日(yyyymmdd)
  23454. type: string
  23455. type: object
  23456. models.WrStandardFactoryItem:
  23457. properties:
  23458. dgfactoryitemid:
  23459. description: 选择项id
  23460. type: integer
  23461. dgfactoryitemvalue:
  23462. description: 要素项值
  23463. type: string
  23464. warehouseid:
  23465. description: 仓库id
  23466. type: integer
  23467. type: object
  23468. models.WrStandardFactoryItemEx:
  23469. properties:
  23470. dgfactoryitemtypeid:
  23471. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23472. type: integer
  23473. itemlst:
  23474. description: 要素项列表
  23475. items:
  23476. $ref: '#/definitions/models.WrStandardFactoryItem'
  23477. type: array
  23478. itemtypename:
  23479. description: 要素项类型名称
  23480. type: string
  23481. wrstandardid:
  23482. description: 品类
  23483. type: integer
  23484. type: object
  23485. models.WrTradeDetail:
  23486. properties:
  23487. accountid:
  23488. description: 资金账号
  23489. type: integer
  23490. bannerpicurl:
  23491. description: Banner图
  23492. type: string
  23493. begindate:
  23494. description: 开始交易日(yyyymmdd)
  23495. type: string
  23496. buyorsell:
  23497. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23498. type: integer
  23499. chargevalue:
  23500. description: 手续费
  23501. type: number
  23502. contractaddr:
  23503. description: 合同地址
  23504. type: string
  23505. deliverygoodscode:
  23506. description: 品种代码
  23507. type: string
  23508. deliverygoodsid:
  23509. description: 品种ID
  23510. type: integer
  23511. deliverygoodsname:
  23512. description: 品种名称
  23513. type: string
  23514. deliverymonth:
  23515. description: 交收月
  23516. type: string
  23517. enddate:
  23518. description: 结束交易日(yyyymmdd)
  23519. type: string
  23520. enumdicname:
  23521. description: 单位名称
  23522. type: string
  23523. haswr:
  23524. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23525. type: integer
  23526. marketid:
  23527. description: 市场ID
  23528. type: integer
  23529. matchaccountid:
  23530. description: 对手账号
  23531. type: integer
  23532. matchusername:
  23533. description: 对手方
  23534. type: string
  23535. minivalue:
  23536. description: 现货商品最小变动值
  23537. type: integer
  23538. optioncompare:
  23539. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23540. type: string
  23541. thumurls:
  23542. description: 缩略图
  23543. type: string
  23544. tradedate:
  23545. description: 交易日(yyyyMMdd)
  23546. type: string
  23547. tradeprice:
  23548. description: 成交价格
  23549. type: number
  23550. tradeqty:
  23551. description: 成交数量
  23552. type: number
  23553. tradetime:
  23554. description: 成交时间
  23555. type: string
  23556. unitid:
  23557. description: 现货商品单位ID
  23558. type: integer
  23559. userid:
  23560. description: 用户ID
  23561. type: integer
  23562. warehouseid:
  23563. description: 仓库ID
  23564. type: integer
  23565. warehousename:
  23566. description: 仓库名称
  23567. type: string
  23568. wrfactortypeid:
  23569. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23570. type: string
  23571. wrfactortypename:
  23572. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23573. type: string
  23574. wrstandardcode:
  23575. description: 现货商品代码
  23576. type: string
  23577. wrstandardid:
  23578. description: 现货商品ID
  23579. type: integer
  23580. wrstandardname:
  23581. description: 商品名称
  23582. type: string
  23583. wrtradedetailid:
  23584. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23585. type: string
  23586. wrtradetype:
  23587. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23588. type: integer
  23589. wrtypename:
  23590. description: 商品
  23591. type: string
  23592. type: object
  23593. models.WrTradeOrderDetail:
  23594. properties:
  23595. buyorsell:
  23596. description: 买卖方向 0-买 1-卖
  23597. type: integer
  23598. goodsid:
  23599. description: 商品id
  23600. type: integer
  23601. orderid:
  23602. description: 委托单号
  23603. type: string
  23604. orderprice:
  23605. description: 期初均价
  23606. type: number
  23607. orderqty:
  23608. description: 委托数量
  23609. type: integer
  23610. userid:
  23611. description: 用户id
  23612. type: integer
  23613. username:
  23614. description: 用户名称(已脱敏)
  23615. type: string
  23616. type: object
  23617. models.WrTypeItem:
  23618. properties:
  23619. name:
  23620. description: 名称
  23621. type: string
  23622. value:
  23623. description: 值
  23624. type: string
  23625. type: object
  23626. models.WrUserFriend:
  23627. properties:
  23628. friendname:
  23629. description: 朋友名称(已脱敏)
  23630. type: string
  23631. frienduserid:
  23632. description: 朋友id
  23633. type: integer
  23634. isfriend:
  23635. description: 是否好友 0-不是 1-是
  23636. type: integer
  23637. userid:
  23638. description: 用户id
  23639. type: integer
  23640. type: object
  23641. models.WrUserReceiptInfo:
  23642. properties:
  23643. address:
  23644. description: 地址[发票类型:企业]
  23645. type: string
  23646. autoid:
  23647. description: AutoID
  23648. type: integer
  23649. contactinfo:
  23650. description: 联系方式
  23651. type: string
  23652. email:
  23653. description: 收件邮箱
  23654. type: string
  23655. idnum:
  23656. description: 身份证号码[发票类型:个人]
  23657. type: string
  23658. isdefault:
  23659. description: 是否默认地址 - 0:否 1:是
  23660. type: integer
  23661. receiptaccount:
  23662. description: 发票帐号[发票类型:企业]
  23663. type: string
  23664. receiptbank:
  23665. description: 发票开户行[发票类型:企业]
  23666. type: string
  23667. receipttype:
  23668. description: 发票类型 - 1:个人 2:企业
  23669. type: integer
  23670. taxpayerid:
  23671. description: 纳税人识别号
  23672. type: string
  23673. userid:
  23674. description: 用户ID
  23675. type: integer
  23676. username:
  23677. description: 户名(个人姓名或企业名称)
  23678. type: string
  23679. type: object
  23680. models.Wrtradetradequote:
  23681. properties:
  23682. buyaccountid:
  23683. description: 买方账号ID
  23684. type: integer
  23685. buychargevalue:
  23686. description: 买方手续费
  23687. type: number
  23688. buyuserid:
  23689. description: 买方用户ID
  23690. type: integer
  23691. deliverygoodsid:
  23692. description: 现货品种ID
  23693. type: integer
  23694. exchangerate:
  23695. description: 汇率
  23696. type: number
  23697. marketid:
  23698. description: 市场ID
  23699. type: integer
  23700. oritradeamount:
  23701. description: 成交金额[商品币种]
  23702. type: number
  23703. performanceplanid:
  23704. description: 履约计划ID/合同ID
  23705. type: integer
  23706. sellaccountid:
  23707. description: 卖方账号ID
  23708. type: integer
  23709. sellchargevalue:
  23710. description: 卖方手续费
  23711. type: number
  23712. selluserid:
  23713. description: 卖方用户ID
  23714. type: integer
  23715. tradeamount:
  23716. description: 成交金额
  23717. type: number
  23718. tradedate:
  23719. description: 交易日(yyyyMMdd)
  23720. type: string
  23721. tradeprice:
  23722. description: 成交价格
  23723. type: number
  23724. tradeqty:
  23725. description: 成交数量
  23726. type: integer
  23727. tradetime:
  23728. description: 成交时间
  23729. type: string
  23730. wrfactortypeid:
  23731. description: 仓单要素类型ID
  23732. type: integer
  23733. wrstandardid:
  23734. description: 现货商品ID
  23735. type: integer
  23736. wrtradedetailid:
  23737. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23738. type: integer
  23739. type: object
  23740. models.XHBRAND:
  23741. properties:
  23742. brandid:
  23743. description: 品牌id
  23744. type: integer
  23745. brandname:
  23746. description: 品牌名称
  23747. type: string
  23748. isvalid:
  23749. description: 是否有效 0-无效 1-有效
  23750. type: integer
  23751. type: object
  23752. models.XHDeliveryGoods:
  23753. properties:
  23754. areauserid:
  23755. description: 所属机构
  23756. type: integer
  23757. bdlst:
  23758. description: 品牌列表
  23759. items:
  23760. $ref: '#/definitions/models.XHBRAND'
  23761. type: array
  23762. deliverygoodscode:
  23763. description: 现货品种代码
  23764. type: string
  23765. deliverygoodsid:
  23766. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23767. type: integer
  23768. deliverygoodsname:
  23769. description: 现货品种名称
  23770. type: string
  23771. dgstatus:
  23772. description: 品种状态 - 作废 - 0:未激活 1:正常
  23773. type: integer
  23774. filterSubEmpty:
  23775. description: 过滤下级为空的
  23776. type: integer
  23777. isvalid:
  23778. description: 是否有效 - 0:无效 1:有效
  23779. type: integer
  23780. remark:
  23781. description: 备注
  23782. type: string
  23783. unitid:
  23784. description: 单位id(目前看,数据库中是空值)
  23785. type: integer
  23786. wdlst:
  23787. description: 品类(现货商品)列表
  23788. items:
  23789. $ref: '#/definitions/models.XHWrstandard'
  23790. type: array
  23791. type: object
  23792. models.XHMiddleGoods:
  23793. properties:
  23794. GPLST:
  23795. description: 期货品种列表
  23796. items:
  23797. $ref: '#/definitions/models.TBGoodsGroup'
  23798. type: array
  23799. convertratio:
  23800. description: 拆算系数
  23801. type: number
  23802. costratio:
  23803. description: 成本权重
  23804. type: number
  23805. deliverygoodsid:
  23806. description: 现货商品id
  23807. type: integer
  23808. enumdicname:
  23809. description: 单位名称
  23810. type: string
  23811. middlegoodscode:
  23812. description: 套保品种代码
  23813. type: string
  23814. middlegoodsid:
  23815. description: 套保品种id
  23816. type: integer
  23817. middlegoodsname:
  23818. description: 套保品种名称
  23819. type: string
  23820. unitid:
  23821. description: 单位id
  23822. type: integer
  23823. type: object
  23824. models.XHWrstandard:
  23825. properties:
  23826. bannerpicurl:
  23827. description: banner图
  23828. type: string
  23829. deliverygoodsid:
  23830. description: 品种ID
  23831. type: integer
  23832. enumdicname:
  23833. description: 单位名称
  23834. type: string
  23835. mglst:
  23836. description: 套保品列表
  23837. items:
  23838. $ref: '#/definitions/models.XHMiddleGoods'
  23839. type: array
  23840. pictureurls:
  23841. description: 详情图片(逗号分隔)
  23842. type: string
  23843. thumurls:
  23844. description: 缩略图片(1:1)(逗号分隔)
  23845. type: string
  23846. unitid:
  23847. description: 单位id
  23848. type: integer
  23849. vatrate:
  23850. description: 增值税率
  23851. type: number
  23852. wrstandardcode:
  23853. description: 现货商品代码
  23854. type: string
  23855. wrstandardid:
  23856. description: 现货商品ID(SEQ_WRSTANDARD)
  23857. type: integer
  23858. wrstandardname:
  23859. description: 现货商品名称
  23860. type: string
  23861. type: object
  23862. models.XhcpSellBackApplyEx:
  23863. properties:
  23864. applyremark:
  23865. description: 申请备注
  23866. type: string
  23867. expirytype:
  23868. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23869. type: integer
  23870. goodsspec:
  23871. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23872. type: integer
  23873. holeflag:
  23874. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23875. type: integer
  23876. isunopened:
  23877. description: 是否原封 - 1:否 2:是
  23878. type: integer
  23879. mpflag:
  23880. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23881. type: integer
  23882. openflag:
  23883. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23884. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23885. type: integer
  23886. phonenum:
  23887. description: 联系电话
  23888. type: string
  23889. userid:
  23890. description: 所属用户ID
  23891. type: integer
  23892. zpflag:
  23893. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23894. type: integer
  23895. required:
  23896. - userid
  23897. type: object
  23898. models.Xhcpsellbackapply:
  23899. properties:
  23900. applyid:
  23901. description: 申请人
  23902. type: integer
  23903. applyremark:
  23904. description: 申请备注
  23905. type: string
  23906. applysrc:
  23907. description: 申请来源 - 1:管理端 2:终端
  23908. type: integer
  23909. applystatus:
  23910. description: 申请状态 - 1:待确认 2:已处理
  23911. type: integer
  23912. applytime:
  23913. description: 申请时间
  23914. type: string
  23915. auditremark:
  23916. description: 审核备注
  23917. type: string
  23918. auditsrc:
  23919. description: 审核来源 - 1:管理端 2:终端
  23920. type: integer
  23921. expirytype:
  23922. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23923. type: integer
  23924. goodsspec:
  23925. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23926. type: integer
  23927. holeflag:
  23928. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23929. type: integer
  23930. isunopened:
  23931. description: 是否原封 - 1:否 2:是
  23932. type: integer
  23933. mpflag:
  23934. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23935. type: integer
  23936. openflag:
  23937. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23938. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23939. type: integer
  23940. phonenum:
  23941. description: 联系电话
  23942. type: string
  23943. sellbackapplyid:
  23944. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23945. type: string
  23946. userid:
  23947. description: 所属用户ID
  23948. type: integer
  23949. zpflag:
  23950. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23951. type: integer
  23952. required:
  23953. - userid
  23954. type: object
  23955. order.QueryHisTradeDetailRsp:
  23956. properties:
  23957. accountid:
  23958. description: 账户ID[报价币种]
  23959. type: integer
  23960. advanceratio:
  23961. description: 首付比率
  23962. type: number
  23963. buildtype:
  23964. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23965. type: integer
  23966. buyorsell:
  23967. description: 方向 - 0:买 1:卖
  23968. type: integer
  23969. charge:
  23970. description: 手续费
  23971. type: number
  23972. closecharge:
  23973. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23974. type: number
  23975. closeexchagechargevalue:
  23976. description: 平仓交易所手续费设置值
  23977. type: number
  23978. closefeealgorithm:
  23979. description: 平仓手续费收取方式 1:比率 2:固定
  23980. type: integer
  23981. closememberchargevalue:
  23982. description: 平仓会员手续费设置值
  23983. type: number
  23984. closepl:
  23985. description: 平仓盈亏
  23986. type: number
  23987. closepl2:
  23988. description: 平仓盈亏[逐笔]
  23989. type: number
  23990. closeqty:
  23991. description: 平仓数量(先建后平操作 需要记录)
  23992. type: number
  23993. creditamount:
  23994. description: 授信金额
  23995. type: number
  23996. decimalplace:
  23997. description: 商品报价小数位
  23998. type: integer
  23999. enumdicname:
  24000. description: 单位名称
  24001. type: string
  24002. gcaccountid:
  24003. description: 账户ID[合约币种]
  24004. type: integer
  24005. goodscode:
  24006. description: 商品代码
  24007. type: string
  24008. goodsid:
  24009. description: 商品ID
  24010. type: integer
  24011. goodsname:
  24012. description: 商品名称
  24013. type: string
  24014. goodunitid:
  24015. description: 商品单位id
  24016. type: integer
  24017. histradedate:
  24018. description: 历史交易日
  24019. type: string
  24020. intclosepl:
  24021. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24022. type: integer
  24023. isconfirmexercise:
  24024. description: 是否确认行权- 0:否 1:是
  24025. type: integer
  24026. ismain:
  24027. description: 是否主单 - 0:不是 1:是
  24028. type: integer
  24029. ispreexercise:
  24030. description: 是否预申报- 0:否 1:是
  24031. type: integer
  24032. isreckoned:
  24033. description: 是否结算 - 0:未结算 1:已结算
  24034. type: integer
  24035. isvaliddata:
  24036. description: 是否有效 - 0:无效 1:有效
  24037. type: integer
  24038. listingselecttype:
  24039. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24040. type: integer
  24041. marketid:
  24042. description: 市场ID
  24043. type: integer
  24044. marketname:
  24045. description: 市场名称
  24046. type: string
  24047. matchaccountid:
  24048. description: 对手账号id
  24049. type: integer
  24050. memberuserid:
  24051. description: 会员id 个人投资者 需要填写
  24052. type: integer
  24053. opencharge:
  24054. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24055. type: number
  24056. openexchagechargevalue:
  24057. description: 建仓交易所手续费设置值
  24058. type: number
  24059. openfeealgorithm:
  24060. description: 建仓手续费收取方式 1:比率 2:固定
  24061. type: integer
  24062. openmemberchargevalue:
  24063. description: 建仓会员手续费设置值
  24064. type: number
  24065. openqty:
  24066. description: 开仓数量(先建后平操作 需要记录)
  24067. type: number
  24068. optiontype:
  24069. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24070. type: integer
  24071. orderid:
  24072. description: 委托单号
  24073. type: string
  24074. payamount:
  24075. description: 支付金额(付款金额)
  24076. type: number
  24077. performanceplanid:
  24078. description: 履约计划ID[期权]
  24079. type: integer
  24080. performancestatus:
  24081. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24082. type: integer
  24083. preexerciseprice:
  24084. description: 预申报价格
  24085. type: number
  24086. premium:
  24087. description: 权利金 - [持仓单的权利金]
  24088. type: number
  24089. qtydecimalplace:
  24090. description: 商品报价小数位
  24091. type: integer
  24092. recvamount:
  24093. description: 到账金额 = 成交金额 - 手续费
  24094. type: number
  24095. relatedouttradeid:
  24096. description: 关联外部成交单ID
  24097. type: integer
  24098. status:
  24099. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24100. type: integer
  24101. totalamount:
  24102. description: 订单总额 = 成交金额 + 手续费
  24103. type: number
  24104. tradeamount:
  24105. description: 成交金额[账户币种,用于所有权]
  24106. type: number
  24107. tradedate:
  24108. description: 交易日(yyyyMMdd)
  24109. type: string
  24110. tradeid:
  24111. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24112. type: string
  24113. trademode:
  24114. description: 交易模式
  24115. type: integer
  24116. tradeprice:
  24117. description: 成交价格
  24118. type: number
  24119. tradeproperty:
  24120. description: 交易属性
  24121. type: integer
  24122. tradeqty:
  24123. description: 成交数量
  24124. type: number
  24125. tradetime:
  24126. description: 成交时间
  24127. type: string
  24128. tradetype:
  24129. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24130. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24131. type: integer
  24132. required:
  24133. - accountid
  24134. - buyorsell
  24135. - goodsid
  24136. - histradedate
  24137. - marketid
  24138. - memberuserid
  24139. - orderid
  24140. - tradeamount
  24141. - tradedate
  24142. - tradeid
  24143. - tradeprice
  24144. - tradeqty
  24145. - tradetime
  24146. type: object
  24147. order.QueryHisTradeOrderDetailRsp:
  24148. properties:
  24149. accountid:
  24150. description: 账户ID[报价币种]
  24151. type: integer
  24152. buildtype:
  24153. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24154. type: integer
  24155. buyorsell:
  24156. description: 买卖 - 0:买 1:卖
  24157. type: integer
  24158. cancelorderid:
  24159. description: 撤单单号(撤单时填写)
  24160. type: string
  24161. cancelqty:
  24162. description: 撤单数量
  24163. type: number
  24164. clientordertime:
  24165. description: 客户端委托时间
  24166. type: string
  24167. clientticket:
  24168. description: 客户端流水号
  24169. type: string
  24170. clienttype:
  24171. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24172. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24173. type: integer
  24174. closeexchagechargevalue:
  24175. description: 平仓交易所手续费设置值
  24176. type: number
  24177. closefeealgorithm:
  24178. description: 平仓手续费收取方式 1:比率 2:固定
  24179. type: integer
  24180. closefreezecharge:
  24181. description: 平仓冻结手续费(先建后平操作,需要记录)
  24182. type: number
  24183. closememberchargevalue:
  24184. description: 平仓会员手续费设置值
  24185. type: number
  24186. closeqty:
  24187. description: 平仓数量(先建后平操作 需要记录)
  24188. type: number
  24189. closetradeqty:
  24190. description: 平仓成交数量(先建后平操作,需要记录)
  24191. type: number
  24192. closeunfreezecharge:
  24193. description: 平仓解冻手续费(先建后平操作,需要记录)
  24194. type: number
  24195. decimalplace:
  24196. description: 商品报价小数位
  24197. type: integer
  24198. delistingtype:
  24199. description: 摘牌类型 - 1:价格最优 2:点选成交
  24200. type: integer
  24201. enumdicname:
  24202. description: 单位名称
  24203. type: string
  24204. freezecharge:
  24205. description: 冻结手续费
  24206. type: number
  24207. freezemargin:
  24208. description: 冻结保证金(冻结交易金额)
  24209. type: number
  24210. gcaccountid:
  24211. description: 账户ID[合约币种]
  24212. type: integer
  24213. goodscode:
  24214. description: 商品代码
  24215. type: string
  24216. goodsid:
  24217. description: 商品ID
  24218. type: integer
  24219. goodsname:
  24220. description: 商品名称
  24221. type: string
  24222. goodunitid:
  24223. description: 商品单位id
  24224. type: integer
  24225. histradedate:
  24226. description: 历史交易日
  24227. type: string
  24228. isconfirmexercise:
  24229. description: 是否确认行权- 0:否 1:是
  24230. type: integer
  24231. ispreexercise:
  24232. description: 是否预申报- 0:否 1:是
  24233. type: integer
  24234. isvaliddata:
  24235. description: 是否有效 - 0:无效 1:有效
  24236. type: integer
  24237. listingselecttype:
  24238. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24239. type: integer
  24240. marginalgorithm:
  24241. description: 保证金收取方式 1:比率 2:固定
  24242. type: integer
  24243. marginvalue:
  24244. description: 即市保证金设置值
  24245. type: number
  24246. marketid:
  24247. description: 市场ID
  24248. type: integer
  24249. marketmaxsub:
  24250. description: 市价最大偏移范围
  24251. type: number
  24252. marketname:
  24253. description: 市场名称
  24254. type: string
  24255. memberuserid:
  24256. description: 所属会员UserID
  24257. type: integer
  24258. openexchagechargevalue:
  24259. description: 建仓交易所手续费设置值
  24260. type: number
  24261. openfeealgorithm:
  24262. description: 建仓手续费收取方式 1:比率 2:固定
  24263. type: integer
  24264. openfreezecharge:
  24265. description: 开仓冻结手续费(先建后平操作,需要记录)
  24266. type: number
  24267. openmemberchargevalue:
  24268. description: 建仓会员手续费设置值
  24269. type: number
  24270. openqty:
  24271. description: 开仓数量(先建后平操作,需要记录)
  24272. type: number
  24273. opentradeqty:
  24274. description: 开仓成交数量(先建后平操作,需要记录)
  24275. type: number
  24276. openunfreezecharge:
  24277. description: 开仓解冻手续费(先建后平操作,需要记录)
  24278. type: number
  24279. operatetype:
  24280. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24281. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24282. 15:管理端协议转让
  24283. type: integer
  24284. operatorid:
  24285. description: 登录账号(LoginID)
  24286. type: integer
  24287. optiontype:
  24288. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24289. type: integer
  24290. orderid:
  24291. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24292. type: string
  24293. orderprice:
  24294. description: 委托价格
  24295. type: number
  24296. orderqty:
  24297. description: 委托数量
  24298. type: number
  24299. ordersrc:
  24300. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24301. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24302. type: integer
  24303. orderstatus:
  24304. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24305. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24306. 16:成交失败违约(荷兰式竞拍专用)
  24307. type: integer
  24308. ordertime:
  24309. description: 委托时间
  24310. type: string
  24311. preexerciseprice:
  24312. description: 预申报价格
  24313. type: number
  24314. premium:
  24315. description: 权利金
  24316. type: number
  24317. preorderid:
  24318. description: 关联预埋单号(止盈止损单时填写)
  24319. type: string
  24320. pricemode:
  24321. description: '取价方式 - 1:市价 2: 限价'
  24322. type: integer
  24323. qtydecimalplace:
  24324. description: 成交量小数位
  24325. type: integer
  24326. quoteid:
  24327. description: 报价单ID
  24328. type: integer
  24329. relatedid:
  24330. description: 关联单号(交割单)
  24331. type: string
  24332. retcode:
  24333. description: 错误代码
  24334. type: integer
  24335. sessionid:
  24336. description: 会话ID
  24337. type: integer
  24338. tradedate:
  24339. description: 交易日(yyyyMMdd)
  24340. type: string
  24341. trademode:
  24342. description: 交易模式
  24343. type: integer
  24344. tradeproperty:
  24345. description: 交易属性
  24346. type: integer
  24347. tradeqty:
  24348. description: 成交数量
  24349. type: number
  24350. unfreezecharge:
  24351. description: 解冻手续费
  24352. type: number
  24353. unfreezemargin:
  24354. description: 解冻保证金
  24355. type: number
  24356. updatetime:
  24357. description: 更新时间
  24358. type: string
  24359. uuid:
  24360. description: 发起端唯一id
  24361. type: string
  24362. validtime:
  24363. description: 有效期限
  24364. type: string
  24365. validtype:
  24366. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24367. type: integer
  24368. volumetype:
  24369. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24370. type: integer
  24371. required:
  24372. - accountid
  24373. - buildtype
  24374. - buyorsell
  24375. - goodsid
  24376. - histradedate
  24377. - marketid
  24378. - memberuserid
  24379. - operatetype
  24380. - orderid
  24381. - orderqty
  24382. - ordertime
  24383. - pricemode
  24384. - tradedate
  24385. - validtype
  24386. type: object
  24387. order.QueryTradeDetailRsp:
  24388. properties:
  24389. accountid:
  24390. description: 账户ID[报价币种]
  24391. type: integer
  24392. advanceratio:
  24393. description: 首付比率
  24394. type: number
  24395. buildtype:
  24396. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24397. type: integer
  24398. buyorsell:
  24399. description: 方向 - 0:买 1:卖
  24400. type: integer
  24401. charge:
  24402. description: 手续费
  24403. type: number
  24404. closecharge:
  24405. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24406. type: number
  24407. closeexchagechargevalue:
  24408. description: 平仓交易所手续费设置值
  24409. type: number
  24410. closefeealgorithm:
  24411. description: 平仓手续费收取方式 1:比率 2:固定
  24412. type: integer
  24413. closememberchargevalue:
  24414. description: 平仓会员手续费设置值
  24415. type: number
  24416. closepl:
  24417. description: 平仓盈亏
  24418. type: number
  24419. closepl2:
  24420. description: 平仓盈亏[逐笔]
  24421. type: number
  24422. closeqty:
  24423. description: 平仓数量(先建后平操作 需要记录)
  24424. type: number
  24425. creditamount:
  24426. description: 授信金额
  24427. type: number
  24428. decimalplace:
  24429. description: 商品报价小数位
  24430. type: integer
  24431. enumdicname:
  24432. description: 单位名称
  24433. type: string
  24434. gcaccountid:
  24435. description: 账户ID[合约币种]
  24436. type: integer
  24437. goodscode:
  24438. description: 商品代码
  24439. type: string
  24440. goodsid:
  24441. description: 商品ID
  24442. type: integer
  24443. goodsname:
  24444. description: 商品名称
  24445. type: string
  24446. goodunitid:
  24447. description: 商品单位id
  24448. type: integer
  24449. intclosepl:
  24450. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24451. type: integer
  24452. isconfirmexercise:
  24453. description: 是否确认行权- 0:否 1:是
  24454. type: integer
  24455. ismain:
  24456. description: 是否主单 - 0:不是 1:是
  24457. type: integer
  24458. ispreexercise:
  24459. description: 是否预申报- 0:否 1:是
  24460. type: integer
  24461. isreckoned:
  24462. description: 是否结算 - 0:未结算 1:已结算
  24463. type: integer
  24464. listingselecttype:
  24465. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24466. type: integer
  24467. marketid:
  24468. description: 市场ID
  24469. type: integer
  24470. marketname:
  24471. description: 市场名称
  24472. type: string
  24473. matchaccountid:
  24474. description: 对手账号id
  24475. type: integer
  24476. memberuserid:
  24477. description: 会员id 个人投资者 需要填写
  24478. type: integer
  24479. opencharge:
  24480. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24481. type: number
  24482. openexchagechargevalue:
  24483. description: 建仓交易所手续费设置值
  24484. type: number
  24485. openfeealgorithm:
  24486. description: 建仓手续费收取方式 1:比率 2:固定
  24487. type: integer
  24488. openmemberchargevalue:
  24489. description: 建仓会员手续费设置值
  24490. type: number
  24491. openqty:
  24492. description: 开仓数量(先建后平操作 需要记录)
  24493. type: number
  24494. optiontype:
  24495. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24496. type: integer
  24497. orderid:
  24498. description: 委托单号
  24499. type: string
  24500. payamount:
  24501. description: 支付金额(付款金额)
  24502. type: number
  24503. performanceplanid:
  24504. description: 履约计划ID[期权]
  24505. type: integer
  24506. performancestatus:
  24507. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24508. type: integer
  24509. preexerciseprice:
  24510. description: 预申报价格
  24511. type: number
  24512. premium:
  24513. description: 权利金 - [持仓单的权利金]
  24514. type: number
  24515. qtydecimalplace:
  24516. description: 商品报价小数位
  24517. type: integer
  24518. recvamount:
  24519. description: 到账金额 = 成交金额 - 手续费
  24520. type: number
  24521. relatedouttradeid:
  24522. description: 关联外部成交单ID
  24523. type: integer
  24524. status:
  24525. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24526. type: integer
  24527. totalamount:
  24528. description: 订单总额 = 成交金额 + 手续费
  24529. type: number
  24530. tradeamount:
  24531. description: 成交金额[账户币种,用于所有权]
  24532. type: number
  24533. tradedate:
  24534. description: 交易日(yyyyMMdd)
  24535. type: string
  24536. tradeid:
  24537. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24538. type: string
  24539. trademode:
  24540. description: 交易模式
  24541. type: integer
  24542. tradeprice:
  24543. description: 成交价格
  24544. type: number
  24545. tradeproperty:
  24546. description: 交易属性
  24547. type: integer
  24548. tradeqty:
  24549. description: 成交数量
  24550. type: number
  24551. tradetime:
  24552. description: 成交时间
  24553. type: string
  24554. tradetype:
  24555. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24556. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24557. type: integer
  24558. required:
  24559. - accountid
  24560. - buyorsell
  24561. - goodsid
  24562. - marketid
  24563. - memberuserid
  24564. - orderid
  24565. - tradeamount
  24566. - tradedate
  24567. - tradeid
  24568. - tradeprice
  24569. - tradeqty
  24570. - tradetime
  24571. type: object
  24572. order.QueryTradeOrderDetailRsp:
  24573. properties:
  24574. accountid:
  24575. description: 账户ID[报价币种]
  24576. type: integer
  24577. buildtype:
  24578. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24579. type: integer
  24580. buyorsell:
  24581. description: 买卖 - 0:买 1:卖
  24582. type: integer
  24583. cancelorderid:
  24584. description: 撤单单号(撤单时填写)
  24585. type: string
  24586. cancelqty:
  24587. description: 撤单数量
  24588. type: number
  24589. clienttype:
  24590. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24591. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24592. type: integer
  24593. closefreezecharge:
  24594. description: 平仓冻结手续费(先建后平操作,需要记录)
  24595. type: number
  24596. closeqty:
  24597. description: 平仓数量(先建后平操作 需要记录)
  24598. type: number
  24599. closetradeqty:
  24600. description: 平仓成交数量(先建后平操作,需要记录)
  24601. type: number
  24602. closeunfreezecharge:
  24603. description: 平仓解冻手续费(先建后平操作,需要记录)
  24604. type: number
  24605. decimalplace:
  24606. description: 商品报价小数位
  24607. type: integer
  24608. delistingtype:
  24609. description: 摘牌类型 - 1:价格最优 2:点选成交
  24610. type: integer
  24611. enableqty:
  24612. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24613. type: number
  24614. enumdicname:
  24615. description: 单位名称
  24616. type: string
  24617. freezecharge:
  24618. description: 冻结手续费
  24619. type: number
  24620. freezemargin:
  24621. description: 冻结保证金(冻结交易金额)
  24622. type: number
  24623. goodscode:
  24624. description: 商品代码
  24625. type: string
  24626. goodsid:
  24627. description: 商品ID
  24628. type: integer
  24629. goodsname:
  24630. description: 商品名称
  24631. type: string
  24632. goodunitid:
  24633. description: 商品单位id
  24634. type: integer
  24635. listingselecttype:
  24636. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24637. type: integer
  24638. marketid:
  24639. description: 市场ID
  24640. type: integer
  24641. marketname:
  24642. description: 市场名称
  24643. type: string
  24644. openfreezecharge:
  24645. description: 开仓冻结手续费(先建后平操作,需要记录)
  24646. type: number
  24647. openqty:
  24648. description: 开仓数量(先建后平操作,需要记录)
  24649. type: number
  24650. opentradeqty:
  24651. description: 开仓成交数量(先建后平操作,需要记录)
  24652. type: number
  24653. openunfreezecharge:
  24654. description: 开仓解冻手续费(先建后平操作,需要记录)
  24655. type: number
  24656. operatetype:
  24657. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24658. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24659. 15:管理端协议转让
  24660. type: integer
  24661. operatorid:
  24662. description: 登录账号(LoginID)
  24663. type: integer
  24664. orderid:
  24665. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24666. type: string
  24667. orderprice:
  24668. description: 委托价格
  24669. type: number
  24670. orderqty:
  24671. description: 委托数量
  24672. type: number
  24673. ordersrc:
  24674. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24675. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24676. type: integer
  24677. orderstatus:
  24678. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24679. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24680. 16:成交失败违约(荷兰式竞拍专用)
  24681. type: integer
  24682. ordertime:
  24683. description: 委托时间
  24684. type: string
  24685. preorderid:
  24686. description: 关联预埋单号(止盈止损单时填写)
  24687. type: string
  24688. pricemode:
  24689. description: '取价方式 - 1:市价 2: 限价'
  24690. type: integer
  24691. qtydecimalplace:
  24692. description: 商品报价小数位
  24693. type: integer
  24694. relatedid:
  24695. description: 关联单号(交割单)
  24696. type: string
  24697. tradedate:
  24698. description: 交易日(yyyyMMdd)
  24699. type: string
  24700. trademode:
  24701. description: 交易模式
  24702. type: integer
  24703. tradeqty:
  24704. description: 成交数量
  24705. type: number
  24706. unfreezecharge:
  24707. description: 解冻手续费
  24708. type: number
  24709. unfreezemargin:
  24710. description: 解冻保证金
  24711. type: number
  24712. validtime:
  24713. description: 有效期限
  24714. type: string
  24715. validtype:
  24716. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24717. type: integer
  24718. volumetype:
  24719. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24720. type: integer
  24721. required:
  24722. - accountid
  24723. - buildtype
  24724. - buyorsell
  24725. - goodsid
  24726. - marketid
  24727. - operatetype
  24728. - orderqty
  24729. - ordertime
  24730. - pricemode
  24731. - tradedate
  24732. - validtype
  24733. type: object
  24734. order.QueryTradePositionRsp:
  24735. properties:
  24736. accountid:
  24737. description: 资金账户
  24738. type: integer
  24739. agreeunit:
  24740. description: 合约单位
  24741. type: number
  24742. averageprice:
  24743. description: 持仓均价
  24744. type: number
  24745. buyorsell:
  24746. description: 方向 - 0:买 1:卖
  24747. type: integer
  24748. closetotalqty:
  24749. description: 平仓总数量
  24750. type: number
  24751. curholderamount:
  24752. description: 当前持仓总金额[商品币种]
  24753. type: number
  24754. curpositionqty:
  24755. description: 当前持仓总数量
  24756. type: number
  24757. currencyid:
  24758. description: 报价货币ID
  24759. type: integer
  24760. curtdposition:
  24761. description: 期末今日头寸
  24762. type: number
  24763. decimalplace:
  24764. description: 报价小数位
  24765. type: integer
  24766. enableqty:
  24767. description: 可用量
  24768. type: number
  24769. fretdposition:
  24770. description: 冻结今日头寸
  24771. type: number
  24772. frozenqty:
  24773. description: 持仓冻结数量
  24774. type: number
  24775. goodscode:
  24776. description: 商品代码
  24777. type: string
  24778. goodsid:
  24779. description: 商品Id
  24780. type: integer
  24781. goodsname:
  24782. description: 商品名称
  24783. type: string
  24784. goodunit:
  24785. description: 报价单位
  24786. type: string
  24787. goodunitid:
  24788. description: 报价单位ID
  24789. type: integer
  24790. holderamount:
  24791. description: 期初持仓总金额[商品币种]
  24792. type: number
  24793. lastprice:
  24794. description: 最新价
  24795. type: number
  24796. marketamount:
  24797. description: 市值
  24798. type: number
  24799. marketid:
  24800. description: 所属市场ID
  24801. type: integer
  24802. openreqqty:
  24803. description: 开仓申请数量(用于比较最大持仓数量)
  24804. type: number
  24805. opentotalqty:
  24806. description: 开仓总数量
  24807. type: number
  24808. otherfrozenqty:
  24809. description: 持仓其他冻结数量(交割冻结)
  24810. type: number
  24811. positionpl:
  24812. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24813. * 合约单位
  24814. type: number
  24815. positionplrate:
  24816. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24817. type: number
  24818. positionqty:
  24819. description: 期初持仓数量
  24820. type: number
  24821. qtydecimalplace:
  24822. description: 成交量小数位
  24823. type: integer
  24824. refgoodscode:
  24825. description: 参考商品代码
  24826. type: string
  24827. refgoodsid:
  24828. description: 参考商品ID
  24829. type: integer
  24830. tnqty:
  24831. description: T+N冻结总量
  24832. type: number
  24833. tnusedqty:
  24834. description: T+N使用量(可以使用T+N的冻结数量)
  24835. type: number
  24836. trademode:
  24837. description: 交易模式
  24838. type: integer
  24839. tradeproperty:
  24840. description: 交易属性
  24841. type: integer
  24842. usedmargin:
  24843. description: 占用保证金[商品币种]
  24844. type: number
  24845. required:
  24846. - goodsid
  24847. type: object
  24848. pb.GoodsMarginCfgStruct:
  24849. properties:
  24850. CustomerTypeID:
  24851. description: 投资者客户类型
  24852. type: integer
  24853. GoodsID:
  24854. description: 商品ID
  24855. type: integer
  24856. IsDefault:
  24857. description: 是否默认标志位
  24858. type: integer
  24859. LockMarginValue:
  24860. description: 锁仓保证金
  24861. type: number
  24862. MarginAlgorithm:
  24863. description: 保证金计算方式
  24864. type: integer
  24865. MarketMarginValue:
  24866. description: 即市保证金值
  24867. type: number
  24868. RealMarginAlgorithm:
  24869. description: 实付保证金计算方式
  24870. type: integer
  24871. RealMarginValue:
  24872. description: 实付比例
  24873. type: number
  24874. ReckonMarginValue:
  24875. description: 结算保证金值
  24876. type: number
  24877. type: object
  24878. quote.HistoryData:
  24879. properties:
  24880. c:
  24881. description: 收盘价
  24882. type: number
  24883. f:
  24884. description: 是否补充数据
  24885. type: boolean
  24886. h:
  24887. description: 最高价
  24888. type: number
  24889. hv:
  24890. description: 持仓量
  24891. type: integer
  24892. l:
  24893. description: 最低价
  24894. type: number
  24895. o:
  24896. description: 开盘价
  24897. type: number
  24898. s:
  24899. description: 结算价,日线周期(包括)以上才有
  24900. type: number
  24901. ts:
  24902. description: 时间
  24903. type: string
  24904. tt:
  24905. description: 总金额
  24906. type: number
  24907. tv:
  24908. description: 总量(成交量)
  24909. type: integer
  24910. type: object
  24911. quote.HistoryTikData:
  24912. properties:
  24913. AV:
  24914. description: 卖量
  24915. type: integer
  24916. Ask:
  24917. description: 卖价
  24918. type: number
  24919. BV:
  24920. description: 买量
  24921. type: integer
  24922. Bid:
  24923. description: 买价
  24924. type: number
  24925. HI:
  24926. description: 单笔持仓
  24927. type: integer
  24928. HV:
  24929. description: 持仓量
  24930. type: integer
  24931. PE:
  24932. description: 现价
  24933. type: number
  24934. TDR:
  24935. description: 交易方向,0:买 1:卖
  24936. type: integer
  24937. TK:
  24938. description: 交易类型
  24939. type: integer
  24940. TS:
  24941. description: 行情时间文本
  24942. type: string
  24943. TT:
  24944. description: 现金额
  24945. type: number
  24946. Vol:
  24947. description: 现量
  24948. type: integer
  24949. type: object
  24950. quote.QueryQuoteDayRsp:
  24951. properties:
  24952. ask:
  24953. description: 卖1
  24954. type: number
  24955. ask2:
  24956. description: 卖2
  24957. type: number
  24958. ask3:
  24959. description: 卖3
  24960. type: number
  24961. ask4:
  24962. description: 卖4
  24963. type: number
  24964. ask5:
  24965. description: 卖5
  24966. type: number
  24967. ask6:
  24968. description: 卖6
  24969. type: number
  24970. ask7:
  24971. description: 卖7
  24972. type: number
  24973. ask8:
  24974. description: 卖8
  24975. type: number
  24976. ask9:
  24977. description: 卖9
  24978. type: number
  24979. ask10:
  24980. description: 卖10
  24981. type: number
  24982. askorderid:
  24983. description: 卖单号1
  24984. type: integer
  24985. askorderid2:
  24986. description: 卖单号2
  24987. type: integer
  24988. askorderid3:
  24989. description: 卖单号3
  24990. type: integer
  24991. askorderid4:
  24992. description: 卖单号4
  24993. type: integer
  24994. askorderid5:
  24995. description: 卖单号5
  24996. type: integer
  24997. askordervolume:
  24998. description: 卖单量1
  24999. type: integer
  25000. askordervolume2:
  25001. description: 卖单量2
  25002. type: integer
  25003. askordervolume3:
  25004. description: 卖单量3
  25005. type: integer
  25006. askordervolume4:
  25007. description: 卖单量4
  25008. type: integer
  25009. askordervolume5:
  25010. description: 卖单量5
  25011. type: integer
  25012. askordervolume6:
  25013. description: 卖单量6
  25014. type: integer
  25015. askordervolume7:
  25016. description: 卖单量7
  25017. type: integer
  25018. askordervolume8:
  25019. description: 卖单量8
  25020. type: integer
  25021. askordervolume9:
  25022. description: 卖单量9
  25023. type: integer
  25024. askordervolume10:
  25025. description: 卖单量10
  25026. type: integer
  25027. askqueueinfo:
  25028. description: 大利市卖港股用
  25029. type: string
  25030. askvolume:
  25031. description: 卖量1
  25032. type: integer
  25033. askvolume2:
  25034. description: 卖量2
  25035. type: integer
  25036. askvolume3:
  25037. description: 卖量3
  25038. type: integer
  25039. askvolume4:
  25040. description: 卖量4
  25041. type: integer
  25042. askvolume5:
  25043. description: 卖量5
  25044. type: integer
  25045. askvolume6:
  25046. description: 卖量6
  25047. type: integer
  25048. askvolume7:
  25049. description: 卖量7
  25050. type: integer
  25051. askvolume8:
  25052. description: 卖量8
  25053. type: integer
  25054. askvolume9:
  25055. description: 卖量9
  25056. type: integer
  25057. askvolume10:
  25058. description: 卖量10
  25059. type: integer
  25060. averageprice:
  25061. description: 均价
  25062. type: number
  25063. bid:
  25064. description: 买1
  25065. type: number
  25066. bid2:
  25067. description: 买2
  25068. type: number
  25069. bid3:
  25070. description: 买3
  25071. type: number
  25072. bid4:
  25073. description: 买4
  25074. type: number
  25075. bid5:
  25076. description: 买5
  25077. type: number
  25078. bid6:
  25079. description: 买6
  25080. type: number
  25081. bid7:
  25082. description: 买7
  25083. type: number
  25084. bid8:
  25085. description: 买8
  25086. type: number
  25087. bid9:
  25088. description: 买9
  25089. type: number
  25090. bid10:
  25091. description: 买10
  25092. type: number
  25093. bidorderid:
  25094. description: 买单号1
  25095. type: integer
  25096. bidorderid2:
  25097. description: 买单号2
  25098. type: integer
  25099. bidorderid3:
  25100. description: 买单号3
  25101. type: integer
  25102. bidorderid4:
  25103. description: 买单号4
  25104. type: integer
  25105. bidorderid5:
  25106. description: 买单号5
  25107. type: integer
  25108. bidordervolume:
  25109. description: 买单量1
  25110. type: integer
  25111. bidordervolume2:
  25112. description: 买单量2
  25113. type: integer
  25114. bidordervolume3:
  25115. description: 买单量3
  25116. type: integer
  25117. bidordervolume4:
  25118. description: 买单量4
  25119. type: integer
  25120. bidordervolume5:
  25121. description: 买单量5
  25122. type: integer
  25123. bidordervolume6:
  25124. description: 买单量6
  25125. type: integer
  25126. bidordervolume7:
  25127. description: 买单量7
  25128. type: integer
  25129. bidordervolume8:
  25130. description: 买单量8
  25131. type: integer
  25132. bidordervolume9:
  25133. description: 买单量9
  25134. type: integer
  25135. bidordervolume10:
  25136. description: 买单量10
  25137. type: integer
  25138. bidqueueinfo:
  25139. description: 大利市买港股用
  25140. type: string
  25141. bidvolume:
  25142. description: 买量1
  25143. type: integer
  25144. bidvolume2:
  25145. description: 买量2
  25146. type: integer
  25147. bidvolume3:
  25148. description: 买量3
  25149. type: integer
  25150. bidvolume4:
  25151. description: 买量4
  25152. type: integer
  25153. bidvolume5:
  25154. description: 买量5
  25155. type: integer
  25156. bidvolume6:
  25157. description: 买量6
  25158. type: integer
  25159. bidvolume7:
  25160. description: 买量7
  25161. type: integer
  25162. bidvolume8:
  25163. description: 买量8
  25164. type: integer
  25165. bidvolume9:
  25166. description: 买量9
  25167. type: integer
  25168. bidvolume10:
  25169. description: 买量10
  25170. type: integer
  25171. calloptionpremiums:
  25172. description: 认购期权1
  25173. type: integer
  25174. calloptionpremiums2:
  25175. description: 认购期权2
  25176. type: integer
  25177. calloptionpremiums3:
  25178. description: 认购期权3
  25179. type: integer
  25180. calloptionpremiums4:
  25181. description: 认购期权4
  25182. type: integer
  25183. calloptionpremiums5:
  25184. description: 认购期权5
  25185. type: integer
  25186. cleartime:
  25187. description: 清盘时间
  25188. type: integer
  25189. exchangecode:
  25190. description: 交易所代码
  25191. type: integer
  25192. exchangedate:
  25193. description: 交易日
  25194. type: integer
  25195. goodscode:
  25196. description: 商品代码
  25197. type: string
  25198. grepmarketprice:
  25199. description: 暗盘价 港股专用
  25200. type: number
  25201. highest:
  25202. description: 最高价
  25203. type: number
  25204. holdincrement:
  25205. description: 单笔持仓
  25206. type: integer
  25207. holdvolume:
  25208. description: 持仓
  25209. type: integer
  25210. iep:
  25211. description: 平衡价 港股专用
  25212. type: number
  25213. iev:
  25214. description: 平衡量 港股专用
  25215. type: number
  25216. inventory:
  25217. description: 库存
  25218. type: integer
  25219. iscleared:
  25220. description: 是否清盘标志
  25221. type: integer
  25222. issettled:
  25223. description: 是否结算标志
  25224. type: integer
  25225. last:
  25226. description: 最新价
  25227. type: number
  25228. lastlot:
  25229. description: 最新成交手数
  25230. type: integer
  25231. lasttime:
  25232. description: 行情时间(只有现价变化行情时间才变化)
  25233. type: string
  25234. lastturnover:
  25235. description: 最新成交金额
  25236. type: number
  25237. lastvolume:
  25238. description: 最新成交量
  25239. type: integer
  25240. limitdown:
  25241. description: 跌停价
  25242. type: number
  25243. limitup:
  25244. description: 涨停价
  25245. type: number
  25246. lowest:
  25247. description: 最低价
  25248. type: number
  25249. nontotalholdervolume:
  25250. description: 非交易持仓量
  25251. type: integer
  25252. nontotallot:
  25253. description: 非交易总手数
  25254. type: integer
  25255. nontotalturnover:
  25256. description: 非交易总金额
  25257. type: integer
  25258. nontotalvolume:
  25259. description: 非交易总量
  25260. type: integer
  25261. opened:
  25262. description: 开盘价
  25263. type: number
  25264. opentime:
  25265. description: 开盘时间
  25266. type: string
  25267. orderid:
  25268. description: 序号
  25269. type: integer
  25270. preclose:
  25271. description: 昨收
  25272. type: number
  25273. preholdvolume:
  25274. description: 昨持仓
  25275. type: integer
  25276. presettle:
  25277. description: 昨结价
  25278. type: number
  25279. publictradetype:
  25280. description: 公共交易标志类型 港股专用
  25281. type: string
  25282. putoptionpremiums:
  25283. description: 认沽期权1
  25284. type: integer
  25285. putoptionpremiums2:
  25286. description: 认沽期权2
  25287. type: integer
  25288. putoptionpremiums3:
  25289. description: 认沽期权3
  25290. type: integer
  25291. putoptionpremiums4:
  25292. description: 认沽期权4
  25293. type: integer
  25294. putoptionpremiums5:
  25295. description: 认沽期权5
  25296. type: integer
  25297. settle:
  25298. description: 结算价
  25299. type: number
  25300. strikeprice:
  25301. description: 发行价
  25302. type: number
  25303. totalaskvolume:
  25304. description: 内盘
  25305. type: integer
  25306. totalbidvolume:
  25307. description: 外盘
  25308. type: integer
  25309. totallot:
  25310. description: 总手数
  25311. type: integer
  25312. totalturnover:
  25313. description: 总金额
  25314. type: number
  25315. totalvolume:
  25316. description: 总量
  25317. type: integer
  25318. utclasttime:
  25319. description: utc的行情时间
  25320. type: string
  25321. type: object
  25322. quote.QueryTSDataRsp:
  25323. properties:
  25324. Count:
  25325. description: 交易日应有数据个数
  25326. type: integer
  25327. decimalPlace:
  25328. description: 小数位
  25329. type: integer
  25330. endTime:
  25331. description: 结束时间
  25332. type: string
  25333. goodsCode:
  25334. description: 商品代码
  25335. type: string
  25336. historyDatas:
  25337. description: 历史数据
  25338. items:
  25339. $ref: '#/definitions/quote.HistoryData'
  25340. type: array
  25341. outGoodsCode:
  25342. description: 外部商品代码
  25343. type: string
  25344. preSettle:
  25345. description: 昨结价
  25346. type: number
  25347. runSteps:
  25348. description: 交易日开休市计划
  25349. items:
  25350. $ref: '#/definitions/quote.TSDataRunStep'
  25351. type: array
  25352. startTime:
  25353. description: 开始时间
  25354. type: string
  25355. tradeDate:
  25356. description: 交易日
  25357. type: string
  25358. type: object
  25359. quote.TSDataRunStep:
  25360. properties:
  25361. end:
  25362. description: 真实结束时间
  25363. type: string
  25364. endflag:
  25365. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25366. type: integer
  25367. endtime:
  25368. description: 结束时间(HH:mm)
  25369. type: string
  25370. endweekday:
  25371. description: 结束周几
  25372. type: integer
  25373. groupid:
  25374. description: 分组ID
  25375. type: integer
  25376. runstep:
  25377. description: 运行阶段 - 2:连续交易
  25378. type: integer
  25379. sectionid:
  25380. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25381. 结束时间=结算时间 结束周几=结算周几
  25382. type: integer
  25383. start:
  25384. description: 真实开始时间
  25385. type: string
  25386. startflag:
  25387. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25388. type: integer
  25389. starttime:
  25390. description: 起始时间(HH:mm)
  25391. type: string
  25392. startweekday:
  25393. description: 起始周几
  25394. type: integer
  25395. tradeweekday:
  25396. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25397. type: integer
  25398. type: object
  25399. szdz.QueryConvertLogRsp:
  25400. properties:
  25401. accountid:
  25402. description: 资金账户ID
  25403. type: integer
  25404. clientticket:
  25405. description: 客户端流水号
  25406. type: string
  25407. converttype:
  25408. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25409. type: integer
  25410. createtime:
  25411. description: 记账时间
  25412. type: string
  25413. daymaxvalue:
  25414. description: 配置当日最大转入限制
  25415. type: number
  25416. daymaxvalue2:
  25417. description: 配置当日最大转入限制(转入)
  25418. type: number
  25419. goodscode:
  25420. description: 商品代码
  25421. type: string
  25422. goodsname:
  25423. description: 商品名称
  25424. type: string
  25425. handlestatus:
  25426. description: 处理状态
  25427. type: integer
  25428. innergoodsid:
  25429. description: 内部商品ID
  25430. type: integer
  25431. inratio:
  25432. description: 配置转入比值
  25433. type: integer
  25434. invalue:
  25435. description: 目标值
  25436. type: number
  25437. logid:
  25438. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25439. type: integer
  25440. mobile:
  25441. description: 手机号码(加密存储)
  25442. type: string
  25443. outergoodscode:
  25444. description: 外部商品代码[JD\PD]
  25445. type: string
  25446. outratio:
  25447. description: 配置转出比值
  25448. type: integer
  25449. outvalue:
  25450. description: 源值
  25451. type: number
  25452. pddecimalplace:
  25453. description: PD小数位
  25454. type: integer
  25455. qty:
  25456. description: 数量
  25457. type: string
  25458. remark:
  25459. description: 备注
  25460. type: string
  25461. sessionid:
  25462. description: 会话ID
  25463. type: integer
  25464. timemaxvalue:
  25465. description: 配置单次最大转入限制
  25466. type: number
  25467. timemaxvalue2:
  25468. description: 配置单次最大转入限制(转入)
  25469. type: number
  25470. timeminvalue:
  25471. description: 配置单次最小数量限制
  25472. type: number
  25473. timeminvalue2:
  25474. description: 配置单次最小数量限制(转入)
  25475. type: number
  25476. tradedate:
  25477. description: 交易日(yyyyMMdd)
  25478. type: string
  25479. userid:
  25480. description: 用户ID
  25481. type: integer
  25482. required:
  25483. - logid
  25484. type: object
  25485. szdz.QueryGoodsPickupRsp:
  25486. properties:
  25487. accountid:
  25488. description: 账户ID
  25489. type: integer
  25490. address:
  25491. description: 提货人详细地址
  25492. type: string
  25493. auditer:
  25494. description: 审核人
  25495. type: integer
  25496. audittime:
  25497. description: 审核时间
  25498. type: string
  25499. cardnum:
  25500. description: 提货人证件号码
  25501. type: string
  25502. cardtypeid:
  25503. description: 提货人证件类型
  25504. type: integer
  25505. checkremark:
  25506. description: 审核备注
  25507. type: string
  25508. goodscode:
  25509. description: 商品代码
  25510. type: string
  25511. goodsid:
  25512. description: 商品ID
  25513. type: integer
  25514. goodsname:
  25515. description: 商品名称
  25516. type: string
  25517. handlestatus:
  25518. description: 处理状态
  25519. type: integer
  25520. marketid:
  25521. description: 市场ID
  25522. type: integer
  25523. phonenum:
  25524. description: 提货人联系方式
  25525. type: string
  25526. qty:
  25527. description: 提货数量
  25528. type: number
  25529. recivername:
  25530. description: 提货人姓名
  25531. type: string
  25532. reqtime:
  25533. description: 更新时间
  25534. type: string
  25535. takemode:
  25536. description: 提货方式 - 2:自提 3:配送
  25537. type: integer
  25538. takeorderid:
  25539. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25540. type: string
  25541. takeorderstatus:
  25542. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25543. type: integer
  25544. takeremark:
  25545. description: 提货备注
  25546. type: string
  25547. tradedate:
  25548. description: 交易日(yyyyMMdd)
  25549. type: string
  25550. userid:
  25551. description: 用户ID
  25552. type: integer
  25553. required:
  25554. - takeorderid
  25555. type: object
  25556. szdz.QueryRecieptOrderRsp:
  25557. properties:
  25558. accountName:
  25559. description: 所属账号名称(已脱敏)
  25560. type: string
  25561. accountid:
  25562. description: 资金账号
  25563. type: integer
  25564. buyorsell:
  25565. description: 方向 - 0:买 1:卖
  25566. type: integer
  25567. enableqty:
  25568. description: 可摘数量
  25569. type: integer
  25570. goodscode:
  25571. description: 商品代码
  25572. type: string
  25573. goodsid:
  25574. description: 商品ID
  25575. type: integer
  25576. goodsname:
  25577. description: 商品名称
  25578. type: string
  25579. orderid:
  25580. description: 委托单号
  25581. type: string
  25582. orderprice:
  25583. description: 委托价格
  25584. type: number
  25585. ordertime:
  25586. description: 委托时间
  25587. type: string
  25588. tradedate:
  25589. description: 交易日(yyyyMMdd)
  25590. type: string
  25591. required:
  25592. - ordertime
  25593. type: object
  25594. szdz.QuerySZDZTradePositionRsp:
  25595. properties:
  25596. accountid:
  25597. description: 账号Id
  25598. type: integer
  25599. agreeunit:
  25600. description: 合约单位
  25601. type: number
  25602. averageprice:
  25603. description: 持仓均价
  25604. type: number
  25605. buyorsell:
  25606. description: 方向 - 0:买 1:卖
  25607. type: integer
  25608. closetotalqty:
  25609. description: 平仓总数量
  25610. type: integer
  25611. curholderamount:
  25612. description: 当前持仓总金额
  25613. type: number
  25614. curpositionqty:
  25615. description: 当前持仓总数量
  25616. type: integer
  25617. currencyid:
  25618. description: 报价货币ID
  25619. type: integer
  25620. curtdposition:
  25621. description: 期末今日头寸
  25622. type: integer
  25623. decimalplace:
  25624. description: 报价小数位
  25625. type: integer
  25626. enableqty:
  25627. description: 可用量
  25628. type: integer
  25629. fretdposition:
  25630. description: 冻结今日头寸
  25631. type: integer
  25632. frozenqty:
  25633. description: 持仓冻结数量
  25634. type: integer
  25635. goodscode:
  25636. description: 商品代码(内部)
  25637. type: string
  25638. goodsid:
  25639. description: 商品Id
  25640. type: integer
  25641. goodsname:
  25642. description: 商品名称
  25643. type: string
  25644. goodunit:
  25645. description: 报价单位
  25646. type: string
  25647. goodunitid:
  25648. description: 报价单位ID
  25649. type: integer
  25650. holderamount:
  25651. description: 期初持仓总金额
  25652. type: number
  25653. marketid:
  25654. description: 市场ID
  25655. type: integer
  25656. openreqqty:
  25657. description: 开仓申请数量
  25658. type: integer
  25659. opentotalqty:
  25660. description: 开仓总数量
  25661. type: integer
  25662. otherfrozenqty:
  25663. description: 持仓其他冻结数量(交割冻结)
  25664. type: integer
  25665. positionqty:
  25666. description: 期初持仓数量
  25667. type: integer
  25668. szdz3freezqty:
  25669. description: 尚志大宗转换冻结总数量
  25670. type: integer
  25671. tnqty:
  25672. description: T+N冻结总量
  25673. type: integer
  25674. tnusedqty:
  25675. description: T+N使用量
  25676. type: integer
  25677. trademode:
  25678. description: 交易模式
  25679. type: integer
  25680. usedmargin:
  25681. description: 占用保证金
  25682. type: number
  25683. type: object
  25684. taaccount.QueryAmountLogRsp:
  25685. properties:
  25686. accountid:
  25687. description: 资金账户ID
  25688. type: integer
  25689. agoodscode:
  25690. description: 竞拍商品代码
  25691. type: string
  25692. agoodsname:
  25693. description: 竞拍商品名称
  25694. type: string
  25695. amount:
  25696. description: 资金金额
  25697. type: number
  25698. amountadjusttype:
  25699. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25700. type: integer
  25701. autoid:
  25702. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25703. type: integer
  25704. balance:
  25705. description: 期初余额
  25706. type: number
  25707. businesscode:
  25708. description: 业务编号
  25709. type: integer
  25710. createtime:
  25711. description: 发生时间
  25712. type: string
  25713. currencyid:
  25714. description: 币种ID
  25715. type: integer
  25716. currentbalance:
  25717. description: 期末余额(变动后金额)
  25718. type: number
  25719. dgoodscode:
  25720. description: 交割商品代码
  25721. type: string
  25722. dgoodsname:
  25723. description: 交割商品名称
  25724. type: string
  25725. goodscode:
  25726. description: 商品代码
  25727. type: string
  25728. goodsid:
  25729. description: 商品ID
  25730. type: integer
  25731. goodsname:
  25732. description: 商品名称
  25733. type: string
  25734. marketid:
  25735. description: 市场ID
  25736. type: integer
  25737. marketname:
  25738. description: 市场名称
  25739. type: string
  25740. moneyticket:
  25741. description: 资金流水号:银行端流水号
  25742. type: integer
  25743. operatetype:
  25744. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25745. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25746. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25747. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25748. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25749. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25750. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25751. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25752. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25753. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25754. type: integer
  25755. relationorderid:
  25756. description: 关联单号
  25757. type: string
  25758. remark:
  25759. description: 备注
  25760. type: string
  25761. trademode:
  25762. description: 交易模式
  25763. type: integer
  25764. required:
  25765. - accountid
  25766. - amount
  25767. - amountadjusttype
  25768. - autoid
  25769. - balance
  25770. - createtime
  25771. - currentbalance
  25772. - operatetype
  25773. type: object
  25774. taaccount.QueryHisAmountLogRsp:
  25775. properties:
  25776. accountid:
  25777. description: 资金账户ID
  25778. type: integer
  25779. agoodscode:
  25780. description: 竞拍商品代码
  25781. type: string
  25782. agoodsname:
  25783. description: 竞拍商品名称
  25784. type: string
  25785. amount:
  25786. description: 资金金额
  25787. type: number
  25788. amountadjusttype:
  25789. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25790. type: integer
  25791. autoid:
  25792. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25793. type: integer
  25794. balance:
  25795. description: 期初余额
  25796. type: number
  25797. businesscode:
  25798. description: 业务编号
  25799. type: integer
  25800. createtime:
  25801. description: 发生时间
  25802. type: string
  25803. currencyid:
  25804. description: 币种ID
  25805. type: integer
  25806. currentbalance:
  25807. description: 期末余额(变动后金额)
  25808. type: number
  25809. dgoodscode:
  25810. description: 交割商品代码
  25811. type: string
  25812. dgoodsname:
  25813. description: 交割商品名称
  25814. type: string
  25815. goodscode:
  25816. description: 商品代码
  25817. type: string
  25818. goodsid:
  25819. description: 商品ID
  25820. type: integer
  25821. goodsname:
  25822. description: 商品名称
  25823. type: string
  25824. histradedate:
  25825. description: 历史交易日
  25826. type: string
  25827. isvaliddata:
  25828. description: 是否有效 - 0:无效 1:有效
  25829. type: integer
  25830. marketid:
  25831. description: 市场ID
  25832. type: integer
  25833. marketname:
  25834. description: 市场名称
  25835. type: string
  25836. moneyticket:
  25837. description: 资金流水号:银行端流水号
  25838. type: integer
  25839. operatetype:
  25840. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25841. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25842. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25843. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25844. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25845. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25846. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25847. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25848. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25849. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25850. type: integer
  25851. relationorderid:
  25852. description: 关联单号
  25853. type: string
  25854. remark:
  25855. description: 备注
  25856. type: string
  25857. trademode:
  25858. description: 交易模式
  25859. type: integer
  25860. required:
  25861. - accountid
  25862. - amount
  25863. - amountadjusttype
  25864. - autoid
  25865. - balance
  25866. - createtime
  25867. - currentbalance
  25868. - histradedate
  25869. - operatetype
  25870. type: object
  25871. trade.QueryRecieptOrderRsp:
  25872. properties:
  25873. accountName:
  25874. description: 所属账号名称(已脱敏)
  25875. type: string
  25876. accountid:
  25877. description: 资金账号
  25878. type: integer
  25879. buyorsell:
  25880. description: 方向 - 0:买 1:卖
  25881. type: integer
  25882. enableqty:
  25883. description: 可摘数量
  25884. type: integer
  25885. goodscode:
  25886. description: 商品代码
  25887. type: string
  25888. goodsid:
  25889. description: 商品ID
  25890. type: integer
  25891. goodsname:
  25892. description: 商品名称
  25893. type: string
  25894. orderid:
  25895. description: 委托单号
  25896. type: string
  25897. orderprice:
  25898. description: 委托价格
  25899. type: number
  25900. ordertime:
  25901. description: 委托时间
  25902. type: string
  25903. tradedate:
  25904. description: 交易日(yyyyMMdd)
  25905. type: string
  25906. required:
  25907. - ordertime
  25908. type: object
  25909. user.LoginQueryRsp:
  25910. properties:
  25911. areaRoles:
  25912. description: 所属角色信息
  25913. items:
  25914. $ref: '#/definitions/models.Arearole'
  25915. type: array
  25916. exchangeRateConfigs:
  25917. description: 汇率信息
  25918. items:
  25919. $ref: '#/definitions/models.Exchangerateconfig'
  25920. type: array
  25921. externalExchanges:
  25922. description: 外部交易所
  25923. items:
  25924. $ref: '#/definitions/models.Externalexchange'
  25925. type: array
  25926. goodsgroups:
  25927. description: 商品组
  25928. items:
  25929. $ref: '#/definitions/models.Goodsgroup'
  25930. type: array
  25931. loginAccount:
  25932. $ref: '#/definitions/models.Loginaccount'
  25933. description: 登录账号
  25934. markets:
  25935. description: 市场
  25936. items:
  25937. $ref: '#/definitions/models.Market'
  25938. type: array
  25939. systemParams:
  25940. description: 系统参数
  25941. items:
  25942. $ref: '#/definitions/models.Systemparam'
  25943. type: array
  25944. userAccount:
  25945. $ref: '#/definitions/models.Useraccount'
  25946. description: 用户账号
  25947. userInfo:
  25948. $ref: '#/definitions/models.Userinfo'
  25949. description: 用户信息
  25950. username:
  25951. description: 用户姓名
  25952. type: string
  25953. type: object
  25954. info:
  25955. contact: {}
  25956. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25957. termsOfService: http://www.muchinfo.cn
  25958. title: MTP2.0 查询服务 API
  25959. version: "1.0"
  25960. paths:
  25961. /CPTrade/QueryCPTradeMyBidInfos:
  25962. get:
  25963. parameters:
  25964. - description: 资金账户
  25965. in: query
  25966. name: accountid
  25967. required: true
  25968. type: integer
  25969. - description: 预售市场ID
  25970. in: query
  25971. name: marketid
  25972. type: integer
  25973. - description: 预售商品ID
  25974. in: query
  25975. name: goodsid
  25976. type: integer
  25977. produces:
  25978. - application/json
  25979. responses:
  25980. "200":
  25981. description: OK
  25982. schema:
  25983. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25984. "500":
  25985. description: Internal Server Error
  25986. schema:
  25987. $ref: '#/definitions/app.Response'
  25988. security:
  25989. - ApiKeyAuth: []
  25990. summary: 查询产能预售我的出价信息
  25991. tags:
  25992. - 产能预售
  25993. /CPTrade/QueryCPTradeOrderDetail:
  25994. get:
  25995. parameters:
  25996. - description: 预售商品ID
  25997. in: query
  25998. name: goodsid
  25999. type: integer
  26000. - description: 预售市场ID
  26001. in: query
  26002. name: marketid
  26003. type: integer
  26004. - description: 预售商品ID列表 - 格式:1,2,3
  26005. in: query
  26006. name: goodsids
  26007. type: string
  26008. produces:
  26009. - application/json
  26010. responses:
  26011. "200":
  26012. description: OK
  26013. schema:
  26014. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  26015. "500":
  26016. description: Internal Server Error
  26017. schema:
  26018. $ref: '#/definitions/app.Response'
  26019. security:
  26020. - ApiKeyAuth: []
  26021. summary: 查询产能预售委托单信息
  26022. tags:
  26023. - 产能预售
  26024. /CPTrade/QueryMyCPTradeGoods:
  26025. get:
  26026. parameters:
  26027. - description: 资金账户
  26028. in: query
  26029. name: accountid
  26030. required: true
  26031. type: integer
  26032. produces:
  26033. - application/json
  26034. responses:
  26035. "200":
  26036. description: OK
  26037. schema:
  26038. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  26039. "500":
  26040. description: Internal Server Error
  26041. schema:
  26042. $ref: '#/definitions/app.Response'
  26043. security:
  26044. - ApiKeyAuth: []
  26045. summary: 查询我的预售信息
  26046. tags:
  26047. - 产能预售
  26048. /CPTrade/QueryPositionCancel:
  26049. get:
  26050. parameters:
  26051. - description: 账户ID
  26052. in: query
  26053. name: userid
  26054. required: true
  26055. type: integer
  26056. - description: 注销ID
  26057. in: query
  26058. name: cancelid
  26059. type: integer
  26060. - description: 资金账户ID
  26061. in: query
  26062. name: accountid
  26063. type: integer
  26064. produces:
  26065. - application/json
  26066. responses:
  26067. "200":
  26068. description: OK
  26069. schema:
  26070. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26071. "500":
  26072. description: Internal Server Error
  26073. schema:
  26074. $ref: '#/definitions/app.Response'
  26075. security:
  26076. - ApiKeyAuth: []
  26077. summary: 查询远期订单注销申请信息
  26078. tags:
  26079. - 产能预售
  26080. /CPTrade/QueryPreasleApply:
  26081. get:
  26082. parameters:
  26083. - description: 账户ID
  26084. in: query
  26085. name: userid
  26086. required: true
  26087. type: integer
  26088. - description: 申请ID
  26089. in: query
  26090. name: applyid
  26091. type: integer
  26092. - description: 资金账户ID
  26093. in: query
  26094. name: accountid
  26095. type: integer
  26096. produces:
  26097. - application/json
  26098. responses:
  26099. "200":
  26100. description: OK
  26101. schema:
  26102. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26103. "500":
  26104. description: Internal Server Error
  26105. schema:
  26106. $ref: '#/definitions/app.Response'
  26107. security:
  26108. - ApiKeyAuth: []
  26109. summary: 查询产能预售申请信息
  26110. tags:
  26111. - 产能预售
  26112. /CPTrade/QueryPresaleGoodsEx:
  26113. get:
  26114. parameters:
  26115. - description: 预售商品ID
  26116. in: query
  26117. name: goodsid
  26118. type: integer
  26119. - description: 预售市场ID
  26120. in: query
  26121. name: marketid
  26122. type: integer
  26123. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26124. in: query
  26125. name: presalemode
  26126. type: integer
  26127. - description: 预售商品ID列表 - 格式:1,2,3
  26128. in: query
  26129. name: goodsids
  26130. type: string
  26131. - description: 预售商品代码
  26132. in: query
  26133. name: goodscode
  26134. type: string
  26135. produces:
  26136. - application/json
  26137. responses:
  26138. "200":
  26139. description: OK
  26140. schema:
  26141. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26142. "500":
  26143. description: Internal Server Error
  26144. schema:
  26145. $ref: '#/definitions/app.Response'
  26146. security:
  26147. - ApiKeyAuth: []
  26148. summary: 查询产能预售商品扩展信息
  26149. tags:
  26150. - 产能预售
  26151. /CPTrade/QueryUserGoodsData:
  26152. get:
  26153. parameters:
  26154. - description: 资金账户ID
  26155. in: query
  26156. name: accountid
  26157. required: true
  26158. type: integer
  26159. produces:
  26160. - application/json
  26161. responses:
  26162. "200":
  26163. description: OK
  26164. schema:
  26165. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26166. "500":
  26167. description: Internal Server Error
  26168. schema:
  26169. $ref: '#/definitions/app.Response'
  26170. security:
  26171. - ApiKeyAuth: []
  26172. summary: 查询远期订单信息
  26173. tags:
  26174. - 产能预售
  26175. /Common/DeleteNewFuncmenu:
  26176. delete:
  26177. consumes:
  26178. - application/json
  26179. parameters:
  26180. - description: 菜单表数据,只需要resourcecode字段即可
  26181. in: body
  26182. name: data
  26183. required: true
  26184. schema:
  26185. $ref: '#/definitions/models.NewFuncmenulist'
  26186. produces:
  26187. - application/json
  26188. responses:
  26189. "200":
  26190. description: OK
  26191. schema:
  26192. $ref: '#/definitions/app.Response'
  26193. "500":
  26194. description: Internal Server Error
  26195. schema:
  26196. $ref: '#/definitions/app.Response'
  26197. security:
  26198. - ApiKeyAuth: []
  26199. summary: 删除菜单表数据
  26200. tags:
  26201. - 通用服务
  26202. /Common/FindNewFuncmenu:
  26203. get:
  26204. parameters:
  26205. - description: 资源代码
  26206. in: query
  26207. name: resourcecode
  26208. type: string
  26209. - description: 上级资源代码
  26210. in: query
  26211. name: parentcode
  26212. type: string
  26213. - description: 资源名(Title), 模糊查询
  26214. in: query
  26215. name: resourcename
  26216. type: string
  26217. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26218. in: query
  26219. name: menutype
  26220. type: string
  26221. produces:
  26222. - application/json
  26223. responses:
  26224. "200":
  26225. description: OK
  26226. schema:
  26227. items:
  26228. $ref: '#/definitions/models.NewFuncmenulist'
  26229. type: array
  26230. "500":
  26231. description: Internal Server Error
  26232. schema:
  26233. $ref: '#/definitions/app.Response'
  26234. security:
  26235. - ApiKeyAuth: []
  26236. summary: 获取菜单表数据
  26237. tags:
  26238. - 通用服务
  26239. /Common/GetAllEnums:
  26240. get:
  26241. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26242. parameters:
  26243. - description: 起始自增ID
  26244. in: query
  26245. name: autoid
  26246. type: integer
  26247. produces:
  26248. - application/json
  26249. responses:
  26250. "200":
  26251. description: OK
  26252. schema:
  26253. $ref: '#/definitions/models.Enumdicitem'
  26254. "500":
  26255. description: Internal Server Error
  26256. schema:
  26257. $ref: '#/definitions/app.Response'
  26258. summary: 获取所有枚举信息
  26259. tags:
  26260. - 通用服务
  26261. /Common/GetClientMenus:
  26262. get:
  26263. parameters:
  26264. - description: 登录账号
  26265. in: query
  26266. name: loginID
  26267. required: true
  26268. type: integer
  26269. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26270. in: query
  26271. name: clientType
  26272. type: integer
  26273. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26274. in: query
  26275. name: name
  26276. type: string
  26277. produces:
  26278. - application/json
  26279. responses:
  26280. "200":
  26281. description: OK
  26282. schema:
  26283. items:
  26284. $ref: '#/definitions/common.ClientMenu'
  26285. type: array
  26286. "500":
  26287. description: Internal Server Error
  26288. schema:
  26289. $ref: '#/definitions/app.Response'
  26290. security:
  26291. - ApiKeyAuth: []
  26292. summary: 获取交易端菜单
  26293. tags:
  26294. - 通用服务
  26295. /Common/GetClientNewFuncmenu:
  26296. get:
  26297. parameters:
  26298. - description: 登录账号
  26299. in: query
  26300. name: loginid
  26301. required: true
  26302. type: integer
  26303. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26304. in: query
  26305. name: menutype
  26306. required: true
  26307. type: integer
  26308. produces:
  26309. - application/json
  26310. responses:
  26311. "200":
  26312. description: OK
  26313. schema:
  26314. items:
  26315. $ref: '#/definitions/models.NewFuncmenulist'
  26316. type: array
  26317. "500":
  26318. description: Internal Server Error
  26319. schema:
  26320. $ref: '#/definitions/app.Response'
  26321. security:
  26322. - ApiKeyAuth: []
  26323. summary: 获取终端菜单
  26324. tags:
  26325. - 通用服务
  26326. /Common/GetDivisions:
  26327. get:
  26328. produces:
  26329. - application/json
  26330. responses:
  26331. "200":
  26332. description: OK
  26333. schema:
  26334. $ref: '#/definitions/models.Division'
  26335. "500":
  26336. description: Internal Server Error
  26337. schema:
  26338. $ref: '#/definitions/app.Response'
  26339. summary: 查询区域信息
  26340. tags:
  26341. - 通用服务
  26342. /Common/GetPCWebMenus:
  26343. get:
  26344. parameters:
  26345. - description: 登录账号
  26346. in: query
  26347. name: loginID
  26348. required: true
  26349. type: integer
  26350. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26351. in: query
  26352. name: name
  26353. type: string
  26354. produces:
  26355. - application/json
  26356. responses:
  26357. "200":
  26358. description: OK
  26359. schema:
  26360. items:
  26361. $ref: '#/definitions/common.PCWebMenu'
  26362. type: array
  26363. "500":
  26364. description: Internal Server Error
  26365. schema:
  26366. $ref: '#/definitions/app.Response'
  26367. security:
  26368. - ApiKeyAuth: []
  26369. summary: 获取PCWeb交易端菜单
  26370. tags:
  26371. - 通用服务
  26372. /Common/GetServerTime:
  26373. get:
  26374. produces:
  26375. - application/json
  26376. responses:
  26377. "200":
  26378. description: OK
  26379. schema:
  26380. $ref: '#/definitions/app.Response'
  26381. "500":
  26382. description: Internal Server Error
  26383. schema:
  26384. $ref: '#/definitions/app.Response'
  26385. summary: 获取服务器时间
  26386. tags:
  26387. - 通用服务
  26388. /Common/InsertNewFuncmenu:
  26389. post:
  26390. consumes:
  26391. - application/json
  26392. parameters:
  26393. - description: 菜单表数据
  26394. in: body
  26395. name: data
  26396. required: true
  26397. schema:
  26398. $ref: '#/definitions/models.NewFuncmenulist'
  26399. produces:
  26400. - application/json
  26401. responses:
  26402. "200":
  26403. description: OK
  26404. schema:
  26405. $ref: '#/definitions/app.Response'
  26406. "500":
  26407. description: Internal Server Error
  26408. schema:
  26409. $ref: '#/definitions/app.Response'
  26410. security:
  26411. - ApiKeyAuth: []
  26412. summary: 插入菜单表数据
  26413. tags:
  26414. - 通用服务
  26415. /Common/NoticeReaded:
  26416. post:
  26417. parameters:
  26418. - description: 登录账号
  26419. in: query
  26420. name: loginID
  26421. required: true
  26422. type: integer
  26423. - description: 通知公告ID
  26424. in: query
  26425. name: noticeID
  26426. required: true
  26427. type: integer
  26428. produces:
  26429. - application/json
  26430. responses:
  26431. "200":
  26432. description: OK
  26433. schema:
  26434. $ref: '#/definitions/app.Response'
  26435. "500":
  26436. description: Internal Server Error
  26437. schema:
  26438. $ref: '#/definitions/app.Response'
  26439. security:
  26440. - ApiKeyAuth: []
  26441. summary: 通知公告设置已读请求
  26442. tags:
  26443. - 通用服务
  26444. /Common/QueryErrorInfos:
  26445. get:
  26446. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26447. parameters:
  26448. - description: 起始行号前索引
  26449. in: query
  26450. name: rowNumber
  26451. type: string
  26452. produces:
  26453. - application/json
  26454. responses:
  26455. "200":
  26456. description: OK
  26457. schema:
  26458. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26459. "500":
  26460. description: Internal Server Error
  26461. schema:
  26462. $ref: '#/definitions/app.Response'
  26463. summary: 获取数据库错误信息
  26464. tags:
  26465. - 通用服务
  26466. /Common/QueryImageConfigs:
  26467. get:
  26468. parameters:
  26469. - description: 用户id
  26470. in: query
  26471. name: userId
  26472. type: integer
  26473. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26474. in: query
  26475. name: imageType
  26476. type: integer
  26477. produces:
  26478. - application/json
  26479. responses:
  26480. "200":
  26481. description: OK
  26482. schema:
  26483. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26484. "500":
  26485. description: Internal Server Error
  26486. schema:
  26487. $ref: '#/definitions/app.Response'
  26488. summary: 查询轮播图配置信息
  26489. tags:
  26490. - 通用服务
  26491. /Common/QueryNotice:
  26492. get:
  26493. parameters:
  26494. - description: 页码
  26495. in: query
  26496. name: page
  26497. type: integer
  26498. - description: 每页条数
  26499. in: query
  26500. name: pagesize
  26501. type: integer
  26502. - description: 分页标志 0-page从0开始 1-page从1开始
  26503. in: query
  26504. name: pageflag
  26505. type: integer
  26506. - description: 登录账号
  26507. in: query
  26508. name: loginID
  26509. required: true
  26510. type: integer
  26511. - description: 消息类型 - 1:公告通知 2:系统消息
  26512. in: query
  26513. name: msgType
  26514. type: integer
  26515. - description: 是否只获取未读信息
  26516. in: query
  26517. name: onlyUnRead
  26518. type: boolean
  26519. - description: 自增ID,传入后会返回这个ID后面的记录
  26520. in: query
  26521. name: lastID
  26522. type: integer
  26523. produces:
  26524. - application/json
  26525. responses:
  26526. "200":
  26527. description: OK
  26528. schema:
  26529. $ref: '#/definitions/common.QueryNoticeRsp'
  26530. "500":
  26531. description: Internal Server Error
  26532. schema:
  26533. $ref: '#/definitions/app.Response'
  26534. security:
  26535. - ApiKeyAuth: []
  26536. summary: 通知公告系统消息查询
  26537. tags:
  26538. - 通用服务
  26539. /Common/QueryProvincesAndCities:
  26540. get:
  26541. parameters:
  26542. - description: 省ID
  26543. in: query
  26544. name: provinceID
  26545. type: integer
  26546. produces:
  26547. - application/json
  26548. responses:
  26549. "200":
  26550. description: OK
  26551. schema:
  26552. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26553. "500":
  26554. description: Internal Server Error
  26555. schema:
  26556. $ref: '#/definitions/app.Response'
  26557. summary: 查询省市信息(不包括区)
  26558. tags:
  26559. - 通用服务
  26560. /Common/QueryRates:
  26561. get:
  26562. parameters:
  26563. - description: 页码
  26564. in: query
  26565. name: page
  26566. type: integer
  26567. - description: 每页条数
  26568. in: query
  26569. name: pagesize
  26570. type: integer
  26571. - description: 源币种ID
  26572. in: query
  26573. name: oricurrencyid
  26574. type: integer
  26575. - description: 目标币种ID
  26576. in: query
  26577. name: descurrencyid
  26578. type: integer
  26579. produces:
  26580. - application/json
  26581. responses:
  26582. "200":
  26583. description: OK
  26584. schema:
  26585. items:
  26586. $ref: '#/definitions/models.Exchangerateconfig'
  26587. type: array
  26588. "500":
  26589. description: Internal Server Error
  26590. schema:
  26591. $ref: '#/definitions/app.Response'
  26592. security:
  26593. - ApiKeyAuth: []
  26594. - LoginID: []
  26595. - Group: []
  26596. summary: 查询汇率信息
  26597. tags:
  26598. - 通用服务
  26599. /Common/QueryTableDefine:
  26600. get:
  26601. parameters:
  26602. - description: 表key
  26603. in: query
  26604. name: tableKey
  26605. type: string
  26606. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26607. in: query
  26608. name: tableType
  26609. type: integer
  26610. produces:
  26611. - application/json
  26612. responses:
  26613. "200":
  26614. description: OK
  26615. schema:
  26616. $ref: '#/definitions/common.QueryTableDefineRsp'
  26617. "500":
  26618. description: Internal Server Error
  26619. schema:
  26620. $ref: '#/definitions/app.Response'
  26621. summary: 查询交易端列表头信息
  26622. tags:
  26623. - 通用服务
  26624. /Common/QueryTraderMenu:
  26625. get:
  26626. parameters:
  26627. - description: 登录账号
  26628. in: query
  26629. name: loginid
  26630. required: true
  26631. type: integer
  26632. produces:
  26633. - application/json
  26634. responses:
  26635. "200":
  26636. description: OK
  26637. schema:
  26638. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26639. "500":
  26640. description: Internal Server Error
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. summary: 查询交易端菜单
  26644. tags:
  26645. - 通用服务
  26646. /Common/UpdateNewFuncmenu:
  26647. put:
  26648. consumes:
  26649. - application/json
  26650. parameters:
  26651. - description: 菜单表数据
  26652. in: body
  26653. name: data
  26654. required: true
  26655. schema:
  26656. $ref: '#/definitions/models.NewFuncmenulist'
  26657. produces:
  26658. - application/json
  26659. responses:
  26660. "200":
  26661. description: OK
  26662. schema:
  26663. $ref: '#/definitions/app.Response'
  26664. "500":
  26665. description: Internal Server Error
  26666. schema:
  26667. $ref: '#/definitions/app.Response'
  26668. security:
  26669. - ApiKeyAuth: []
  26670. summary: 更新菜单表数据
  26671. tags:
  26672. - 通用服务
  26673. /Delivery/QueryDeliveryRelation:
  26674. get:
  26675. parameters:
  26676. - description: 商品ID
  26677. in: query
  26678. name: goodsid
  26679. type: integer
  26680. - description: 品种ID
  26681. in: query
  26682. name: deliverygoodsid
  26683. type: integer
  26684. - description: 市场ID
  26685. in: query
  26686. name: marketid
  26687. type: integer
  26688. produces:
  26689. - application/json
  26690. responses:
  26691. "200":
  26692. description: OK
  26693. schema:
  26694. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26695. "500":
  26696. description: Internal Server Error
  26697. schema:
  26698. $ref: '#/definitions/app.Response'
  26699. security:
  26700. - ApiKeyAuth: []
  26701. summary: 查询商品交割关系表
  26702. tags:
  26703. - 交割服务
  26704. /Ermcp/GetErmcpGoods:
  26705. get:
  26706. parameters:
  26707. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26708. in: query
  26709. name: userid
  26710. type: integer
  26711. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26712. in: query
  26713. name: lastUpdateTime
  26714. type: string
  26715. produces:
  26716. - application/json
  26717. responses:
  26718. "200":
  26719. description: OK
  26720. schema:
  26721. $ref: '#/definitions/models.ErmcpGoods'
  26722. "500":
  26723. description: Internal Server Error
  26724. schema:
  26725. $ref: '#/definitions/app.Response'
  26726. security:
  26727. - ApiKeyAuth: []
  26728. summary: 查询企业风管期货商品信息
  26729. tags:
  26730. - 企业风险管理(app)
  26731. /Ermcp/GetErmcpGoodsSortByPosition:
  26732. get:
  26733. parameters:
  26734. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26735. in: query
  26736. name: sortIndex
  26737. type: string
  26738. produces:
  26739. - application/json
  26740. responses:
  26741. "200":
  26742. description: OK
  26743. schema:
  26744. $ref: '#/definitions/models.Goodssortbypreposition'
  26745. "500":
  26746. description: Internal Server Error
  26747. schema:
  26748. $ref: '#/definitions/app.Response'
  26749. security:
  26750. - ApiKeyAuth: []
  26751. summary: 查询企业风管期货主力、次主力商品信息
  26752. tags:
  26753. - 企业风险管理(app)
  26754. /Ermcp/GetErmcpOutAccountStatus:
  26755. get:
  26756. parameters:
  26757. - description: 登录账号
  26758. in: query
  26759. name: loginID
  26760. required: true
  26761. type: integer
  26762. produces:
  26763. - application/json
  26764. responses:
  26765. "200":
  26766. description: OK
  26767. schema:
  26768. $ref: '#/definitions/models.Hedgemarketopenlog'
  26769. "500":
  26770. description: Internal Server Error
  26771. schema:
  26772. $ref: '#/definitions/app.Response'
  26773. security:
  26774. - ApiKeyAuth: []
  26775. summary: 获取目标登录账号当前对冲账号在线状态
  26776. tags:
  26777. - 企业风险管理(app)
  26778. /Ermcp/GetErmcpRoleFuncMenuLists:
  26779. get:
  26780. parameters:
  26781. - description: 登录账号
  26782. in: query
  26783. name: loginID
  26784. required: true
  26785. type: integer
  26786. produces:
  26787. - application/json
  26788. responses:
  26789. "200":
  26790. description: OK
  26791. schema:
  26792. $ref: '#/definitions/models.Funcmenulist'
  26793. "500":
  26794. description: Internal Server Error
  26795. schema:
  26796. $ref: '#/definitions/app.Response'
  26797. security:
  26798. - ApiKeyAuth: []
  26799. summary: 获取企业风管终端权限
  26800. tags:
  26801. - 企业风险管理(app)
  26802. /Ermcp/QueryAccMgrBizGroupSet:
  26803. get:
  26804. parameters:
  26805. - description: 用户ID
  26806. in: query
  26807. name: userid
  26808. required: true
  26809. type: integer
  26810. - description: 现货商品id
  26811. in: query
  26812. name: deliverygoodsid
  26813. type: integer
  26814. produces:
  26815. - application/json
  26816. responses:
  26817. "200":
  26818. description: OK
  26819. schema:
  26820. items:
  26821. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26822. type: array
  26823. "500":
  26824. description: Internal Server Error
  26825. schema:
  26826. $ref: '#/definitions/app.Response'
  26827. security:
  26828. - ApiKeyAuth: []
  26829. summary: 查询业务类型分组(账户管理/账户设置)
  26830. tags:
  26831. - 企业风险管理(app)
  26832. /Ermcp/QueryAccMgrLoginUser:
  26833. get:
  26834. parameters:
  26835. - description: 用户ID
  26836. in: query
  26837. name: userid
  26838. required: true
  26839. type: integer
  26840. - description: 用户类型 2-机构 7-企业成员
  26841. in: query
  26842. name: usertype
  26843. type: integer
  26844. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26845. in: query
  26846. name: querytype
  26847. required: true
  26848. type: integer
  26849. produces:
  26850. - application/json
  26851. responses:
  26852. "200":
  26853. description: OK
  26854. schema:
  26855. items:
  26856. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26857. type: array
  26858. "500":
  26859. description: Internal Server Error
  26860. schema:
  26861. $ref: '#/definitions/app.Response'
  26862. security:
  26863. - ApiKeyAuth: []
  26864. summary: 查询账户管理登录账号(账户管理/登录账号)
  26865. tags:
  26866. - 企业风险管理(app)
  26867. /Ermcp/QueryAccMgrMainAccountInfo:
  26868. get:
  26869. parameters:
  26870. - description: 用户ID
  26871. in: query
  26872. name: userid
  26873. type: integer
  26874. - description: 主账号id
  26875. in: query
  26876. name: accountid
  26877. type: integer
  26878. produces:
  26879. - application/json
  26880. responses:
  26881. "200":
  26882. description: OK
  26883. schema:
  26884. items:
  26885. $ref: '#/definitions/models.MainAccountInfo'
  26886. type: array
  26887. "500":
  26888. description: Internal Server Error
  26889. schema:
  26890. $ref: '#/definitions/app.Response'
  26891. security:
  26892. - ApiKeyAuth: []
  26893. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26894. tags:
  26895. - 企业风险管理(app)
  26896. /Ermcp/QueryAccMgrRole:
  26897. get:
  26898. parameters:
  26899. - description: 用户ID
  26900. in: query
  26901. name: userid
  26902. required: true
  26903. type: integer
  26904. produces:
  26905. - application/json
  26906. responses:
  26907. "200":
  26908. description: OK
  26909. schema:
  26910. items:
  26911. $ref: '#/definitions/models.ErmcpRole'
  26912. type: array
  26913. "500":
  26914. description: Internal Server Error
  26915. schema:
  26916. $ref: '#/definitions/app.Response'
  26917. security:
  26918. - ApiKeyAuth: []
  26919. summary: 查询账户管理角色设置(账户管理/角色设置)
  26920. tags:
  26921. - 企业风险管理(app)
  26922. /Ermcp/QueryAccMgrRoleMenu:
  26923. get:
  26924. parameters:
  26925. - description: 用户ID
  26926. in: query
  26927. name: userid
  26928. required: true
  26929. type: integer
  26930. - description: 角色id(可多个,逗号隔开)
  26931. in: query
  26932. name: roleid
  26933. type: string
  26934. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26935. in: query
  26936. name: menutype
  26937. type: integer
  26938. produces:
  26939. - application/json
  26940. responses:
  26941. "200":
  26942. description: OK
  26943. schema:
  26944. items:
  26945. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26946. type: array
  26947. "500":
  26948. description: Internal Server Error
  26949. schema:
  26950. $ref: '#/definitions/app.Response'
  26951. security:
  26952. - ApiKeyAuth: []
  26953. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26954. tags:
  26955. - 企业风险管理(app)
  26956. /Ermcp/QueryAccMgrTaAccountInfo:
  26957. get:
  26958. parameters:
  26959. - description: 用户ID
  26960. in: query
  26961. name: userid
  26962. required: true
  26963. type: integer
  26964. - description: 账号id
  26965. in: query
  26966. name: accountid
  26967. type: integer
  26968. produces:
  26969. - application/json
  26970. responses:
  26971. "200":
  26972. description: OK
  26973. schema:
  26974. items:
  26975. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26976. type: array
  26977. "500":
  26978. description: Internal Server Error
  26979. schema:
  26980. $ref: '#/definitions/app.Response'
  26981. security:
  26982. - ApiKeyAuth: []
  26983. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26984. tags:
  26985. - 企业风险管理(app)
  26986. /Ermcp/QueryAccMgrTaaccount:
  26987. get:
  26988. parameters:
  26989. - description: 用户ID
  26990. in: query
  26991. name: userid
  26992. required: true
  26993. type: integer
  26994. produces:
  26995. - application/json
  26996. responses:
  26997. "200":
  26998. description: OK
  26999. schema:
  27000. items:
  27001. $ref: '#/definitions/models.ErmcpTaAccountEx'
  27002. type: array
  27003. "500":
  27004. description: Internal Server Error
  27005. schema:
  27006. $ref: '#/definitions/app.Response'
  27007. security:
  27008. - ApiKeyAuth: []
  27009. summary: 查询账户管理期货账号(账户管理/期货账号)
  27010. tags:
  27011. - 企业风险管理(app)
  27012. /Ermcp/QueryAvaildGoodsGroup:
  27013. get:
  27014. parameters:
  27015. - description: 所属机构ID
  27016. in: query
  27017. name: userid
  27018. required: true
  27019. type: integer
  27020. produces:
  27021. - application/json
  27022. responses:
  27023. "200":
  27024. description: OK
  27025. schema:
  27026. items:
  27027. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  27028. type: array
  27029. "500":
  27030. description: Internal Server Error
  27031. schema:
  27032. $ref: '#/definitions/app.Response'
  27033. security:
  27034. - ApiKeyAuth: []
  27035. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  27036. tags:
  27037. - 企业风险管理(app)
  27038. /Ermcp/QueryBusinessDj:
  27039. get:
  27040. parameters:
  27041. - description: 用户ID
  27042. in: query
  27043. name: UserId
  27044. required: true
  27045. type: integer
  27046. - description: 用户类型 2-机构 7-企业成员
  27047. in: query
  27048. name: usertype
  27049. type: integer
  27050. - description: 现货合同ID, 不填则查所有
  27051. in: query
  27052. name: relatedid
  27053. type: string
  27054. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27055. in: query
  27056. name: applystatus
  27057. type: string
  27058. produces:
  27059. - application/json
  27060. responses:
  27061. "200":
  27062. description: OK
  27063. schema:
  27064. items:
  27065. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27066. type: array
  27067. "500":
  27068. description: Internal Server Error
  27069. schema:
  27070. $ref: '#/definitions/app.Response'
  27071. security:
  27072. - ApiKeyAuth: []
  27073. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27074. tags:
  27075. - 企业风险管理(app)
  27076. /Ermcp/QueryBusinessFp:
  27077. get:
  27078. parameters:
  27079. - description: 用户ID
  27080. in: query
  27081. name: UserId
  27082. required: true
  27083. type: integer
  27084. - description: 用户类型 2-机构 7-企业成员
  27085. in: query
  27086. name: usertype
  27087. type: integer
  27088. - description: 现货合同ID, 不填则查所有
  27089. in: query
  27090. name: relatedid
  27091. type: string
  27092. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27093. in: query
  27094. name: applystatus
  27095. type: string
  27096. produces:
  27097. - application/json
  27098. responses:
  27099. "200":
  27100. description: OK
  27101. schema:
  27102. items:
  27103. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27104. type: array
  27105. "500":
  27106. description: Internal Server Error
  27107. schema:
  27108. $ref: '#/definitions/app.Response'
  27109. security:
  27110. - ApiKeyAuth: []
  27111. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27112. tags:
  27113. - 企业风险管理(app)
  27114. /Ermcp/QueryBusinessJs:
  27115. get:
  27116. parameters:
  27117. - description: 用户ID
  27118. in: query
  27119. name: UserId
  27120. required: true
  27121. type: integer
  27122. - description: 用户类型 2-机构 7-企业成员
  27123. in: query
  27124. name: usertype
  27125. type: integer
  27126. - description: 现货合同ID, 不填则查所有
  27127. in: query
  27128. name: relatedid
  27129. type: string
  27130. - description: 操作申请id
  27131. in: query
  27132. name: operateapplyid
  27133. type: string
  27134. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27135. in: query
  27136. name: applystatus
  27137. type: string
  27138. produces:
  27139. - application/json
  27140. responses:
  27141. "200":
  27142. description: OK
  27143. schema:
  27144. items:
  27145. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  27146. type: array
  27147. "500":
  27148. description: Internal Server Error
  27149. schema:
  27150. $ref: '#/definitions/app.Response'
  27151. security:
  27152. - ApiKeyAuth: []
  27153. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  27154. tags:
  27155. - 企业风险管理(app)
  27156. /Ermcp/QueryBusinessJsEx:
  27157. get:
  27158. parameters:
  27159. - description: 用户ID
  27160. in: query
  27161. name: UserId
  27162. required: true
  27163. type: integer
  27164. - description: 用户类型 2-机构 7-企业成员
  27165. in: query
  27166. name: usertype
  27167. type: integer
  27168. - description: 现货合同ID, 不填则查所有
  27169. in: query
  27170. name: relatedid
  27171. type: string
  27172. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27173. in: query
  27174. name: applystatus
  27175. type: string
  27176. produces:
  27177. - application/json
  27178. responses:
  27179. "200":
  27180. description: OK
  27181. schema:
  27182. items:
  27183. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27184. type: array
  27185. "500":
  27186. description: Internal Server Error
  27187. schema:
  27188. $ref: '#/definitions/app.Response'
  27189. security:
  27190. - ApiKeyAuth: []
  27191. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27192. tags:
  27193. - 企业风险管理(app)
  27194. /Ermcp/QueryBusinessKx:
  27195. get:
  27196. parameters:
  27197. - description: 用户ID
  27198. in: query
  27199. name: UserId
  27200. required: true
  27201. type: integer
  27202. - description: 用户类型 2-机构 7-企业成员
  27203. in: query
  27204. name: usertype
  27205. type: integer
  27206. - description: 现货合同ID, 不填则查所有
  27207. in: query
  27208. name: relatedid
  27209. type: string
  27210. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27211. in: query
  27212. name: applystatus
  27213. type: string
  27214. produces:
  27215. - application/json
  27216. responses:
  27217. "200":
  27218. description: OK
  27219. schema:
  27220. items:
  27221. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27222. type: array
  27223. "500":
  27224. description: Internal Server Error
  27225. schema:
  27226. $ref: '#/definitions/app.Response'
  27227. security:
  27228. - ApiKeyAuth: []
  27229. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27230. tags:
  27231. - 企业风险管理(app)
  27232. /Ermcp/QueryChangeLog:
  27233. get:
  27234. parameters:
  27235. - description: 合同ID
  27236. in: query
  27237. name: RelatedId
  27238. required: true
  27239. type: string
  27240. produces:
  27241. - application/json
  27242. responses:
  27243. "200":
  27244. description: OK
  27245. schema:
  27246. items:
  27247. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27248. type: array
  27249. "500":
  27250. description: Internal Server Error
  27251. schema:
  27252. $ref: '#/definitions/app.Response'
  27253. security:
  27254. - ApiKeyAuth: []
  27255. summary: 查询变更记录
  27256. tags:
  27257. - 企业风险管理(app)
  27258. /Ermcp/QueryErmcpHisOrderDetails:
  27259. get:
  27260. parameters:
  27261. - description: 资金账户ID
  27262. in: query
  27263. name: accountID
  27264. required: true
  27265. type: integer
  27266. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27267. in: query
  27268. name: startDate
  27269. type: string
  27270. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27271. in: query
  27272. name: endDate
  27273. type: string
  27274. produces:
  27275. - application/json
  27276. responses:
  27277. "200":
  27278. description: OK
  27279. schema:
  27280. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27281. "500":
  27282. description: Internal Server Error
  27283. schema:
  27284. $ref: '#/definitions/app.Response'
  27285. security:
  27286. - ApiKeyAuth: []
  27287. summary: 获取企业风管期货历史委托单信息
  27288. tags:
  27289. - 企业风险管理(app)
  27290. /Ermcp/QueryErmcpHisTradeDetails:
  27291. get:
  27292. parameters:
  27293. - description: 资金账户ID
  27294. in: query
  27295. name: accountID
  27296. required: true
  27297. type: integer
  27298. - description: 商品ID
  27299. in: query
  27300. name: goodsID
  27301. type: integer
  27302. - description: 买卖方向,0:买 1:卖
  27303. in: query
  27304. name: buyOrSell
  27305. type: integer
  27306. - description: 关联委托单号
  27307. in: query
  27308. name: orderID
  27309. type: integer
  27310. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27311. in: query
  27312. name: startDate
  27313. type: string
  27314. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27315. in: query
  27316. name: endDate
  27317. type: string
  27318. produces:
  27319. - application/json
  27320. responses:
  27321. "200":
  27322. description: OK
  27323. schema:
  27324. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27325. "500":
  27326. description: Internal Server Error
  27327. schema:
  27328. $ref: '#/definitions/app.Response'
  27329. security:
  27330. - ApiKeyAuth: []
  27331. summary: 获取企业风管期货历史成交单信息
  27332. tags:
  27333. - 企业风险管理(app)
  27334. /Ermcp/QueryErmcpInnerHolderDetails:
  27335. get:
  27336. parameters:
  27337. - description: 资金账户ID
  27338. in: query
  27339. name: accountID
  27340. required: true
  27341. type: integer
  27342. - description: 商品ID
  27343. in: query
  27344. name: goodsID
  27345. type: integer
  27346. - description: 买卖方向,0:买 1:卖
  27347. in: query
  27348. name: buyOrSell
  27349. type: integer
  27350. produces:
  27351. - application/json
  27352. responses:
  27353. "200":
  27354. description: OK
  27355. schema:
  27356. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27357. "500":
  27358. description: Internal Server Error
  27359. schema:
  27360. $ref: '#/definitions/app.Response'
  27361. security:
  27362. - ApiKeyAuth: []
  27363. summary: 获取企业风管期货内部持仓单信息
  27364. tags:
  27365. - 企业风险管理(app)
  27366. /Ermcp/QueryErmcpOrderDetails:
  27367. get:
  27368. parameters:
  27369. - description: 资金账户ID
  27370. in: query
  27371. name: accountID
  27372. required: true
  27373. type: integer
  27374. produces:
  27375. - application/json
  27376. responses:
  27377. "200":
  27378. description: OK
  27379. schema:
  27380. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27381. "500":
  27382. description: Internal Server Error
  27383. schema:
  27384. $ref: '#/definitions/app.Response'
  27385. security:
  27386. - ApiKeyAuth: []
  27387. summary: 获取企业风管期货委托单信息
  27388. tags:
  27389. - 企业风险管理(app)
  27390. /Ermcp/QueryErmcpTradeDetails:
  27391. get:
  27392. parameters:
  27393. - description: 资金账户ID
  27394. in: query
  27395. name: accountID
  27396. required: true
  27397. type: integer
  27398. - description: 商品ID
  27399. in: query
  27400. name: goodsID
  27401. type: integer
  27402. - description: 买卖方向,0:买 1:卖
  27403. in: query
  27404. name: buyOrSell
  27405. type: integer
  27406. - description: 关联委托单号
  27407. in: query
  27408. name: orderID
  27409. type: integer
  27410. produces:
  27411. - application/json
  27412. responses:
  27413. "200":
  27414. description: OK
  27415. schema:
  27416. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27417. "500":
  27418. description: Internal Server Error
  27419. schema:
  27420. $ref: '#/definitions/app.Response'
  27421. security:
  27422. - ApiKeyAuth: []
  27423. summary: 获取企业风管期货成交单信息
  27424. tags:
  27425. - 企业风险管理(app)
  27426. /Ermcp/QueryErmcpTradePosition:
  27427. get:
  27428. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27429. parameters:
  27430. - description: 资金账户ID
  27431. in: query
  27432. name: accountID
  27433. required: true
  27434. type: integer
  27435. - description: 所属市场ID
  27436. in: query
  27437. name: marketID
  27438. type: integer
  27439. produces:
  27440. - application/json
  27441. responses:
  27442. "200":
  27443. description: OK
  27444. schema:
  27445. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27446. "500":
  27447. description: Internal Server Error
  27448. schema:
  27449. $ref: '#/definitions/app.Response'
  27450. security:
  27451. - ApiKeyAuth: []
  27452. summary: 获取企业风管期货持仓头寸信息
  27453. tags:
  27454. - 企业风险管理(app)
  27455. /Ermcp/QueryExposureDetail:
  27456. get:
  27457. parameters:
  27458. - description: 所属机构ID
  27459. in: query
  27460. name: areaUserId
  27461. required: true
  27462. type: integer
  27463. - description: 套保商品
  27464. in: query
  27465. name: middleGoodsId
  27466. required: true
  27467. type: integer
  27468. produces:
  27469. - application/json
  27470. responses:
  27471. "200":
  27472. description: OK
  27473. schema:
  27474. items:
  27475. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27476. type: array
  27477. "500":
  27478. description: Internal Server Error
  27479. schema:
  27480. $ref: '#/definitions/app.Response'
  27481. security:
  27482. - ApiKeyAuth: []
  27483. summary: 查询敞口现货明细
  27484. tags:
  27485. - 企业风险管理(app)
  27486. /Ermcp/QueryExposureGoods:
  27487. get:
  27488. parameters:
  27489. - description: 套保商品id
  27490. in: query
  27491. name: middlegoodsid
  27492. required: true
  27493. type: integer
  27494. produces:
  27495. - application/json
  27496. responses:
  27497. "200":
  27498. description: OK
  27499. schema:
  27500. items:
  27501. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27502. type: array
  27503. "500":
  27504. description: Internal Server Error
  27505. schema:
  27506. $ref: '#/definitions/app.Response'
  27507. security:
  27508. - ApiKeyAuth: []
  27509. summary: 查询敞口主力合约
  27510. tags:
  27511. - 企业风险管理(app)
  27512. /Ermcp/QueryExposureHedgePosition:
  27513. get:
  27514. parameters:
  27515. - description: 用户id
  27516. in: query
  27517. name: userid
  27518. required: true
  27519. type: integer
  27520. produces:
  27521. - application/json
  27522. responses:
  27523. "200":
  27524. description: OK
  27525. schema:
  27526. items:
  27527. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27528. type: array
  27529. "500":
  27530. description: Internal Server Error
  27531. schema:
  27532. $ref: '#/definitions/app.Response'
  27533. security:
  27534. - ApiKeyAuth: []
  27535. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27536. tags:
  27537. - 企业风险管理(app)
  27538. /Ermcp/QueryExposureHedgePositionDetail:
  27539. get:
  27540. parameters:
  27541. - description: 所属机构ID
  27542. in: query
  27543. name: userid
  27544. required: true
  27545. type: integer
  27546. - description: 商品id
  27547. in: query
  27548. name: goodsId
  27549. required: true
  27550. type: integer
  27551. produces:
  27552. - application/json
  27553. responses:
  27554. "200":
  27555. description: OK
  27556. schema:
  27557. items:
  27558. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27559. type: array
  27560. "500":
  27561. description: Internal Server Error
  27562. schema:
  27563. $ref: '#/definitions/app.Response'
  27564. security:
  27565. - ApiKeyAuth: []
  27566. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27567. tags:
  27568. - 企业风险管理(app)
  27569. /Ermcp/QueryExposureSpot:
  27570. get:
  27571. parameters:
  27572. - description: 所属机构ID
  27573. in: query
  27574. name: areaUserId
  27575. required: true
  27576. type: integer
  27577. produces:
  27578. - application/json
  27579. responses:
  27580. "200":
  27581. description: OK
  27582. schema:
  27583. items:
  27584. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27585. type: array
  27586. "500":
  27587. description: Internal Server Error
  27588. schema:
  27589. $ref: '#/definitions/app.Response'
  27590. security:
  27591. - ApiKeyAuth: []
  27592. summary: 查询敞口现货头寸(敞口/现货头寸)
  27593. tags:
  27594. - 企业风险管理(app)
  27595. /Ermcp/QueryExposureSpotDetail:
  27596. get:
  27597. parameters:
  27598. - description: 所属机构ID
  27599. in: query
  27600. name: areaUserId
  27601. required: true
  27602. type: integer
  27603. - description: 现货品种ID
  27604. in: query
  27605. name: wrstandardId
  27606. required: true
  27607. type: integer
  27608. produces:
  27609. - application/json
  27610. responses:
  27611. "200":
  27612. description: OK
  27613. schema:
  27614. items:
  27615. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27616. type: array
  27617. "500":
  27618. description: Internal Server Error
  27619. schema:
  27620. $ref: '#/definitions/app.Response'
  27621. security:
  27622. - ApiKeyAuth: []
  27623. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27624. tags:
  27625. - 企业风险管理(app)
  27626. /Ermcp/QueryFuturesCompany:
  27627. get:
  27628. produces:
  27629. - application/json
  27630. responses:
  27631. "200":
  27632. description: OK
  27633. schema:
  27634. items:
  27635. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27636. type: array
  27637. "500":
  27638. description: Internal Server Error
  27639. schema:
  27640. $ref: '#/definitions/app.Response'
  27641. security:
  27642. - ApiKeyAuth: []
  27643. summary: 查询期货公司
  27644. tags:
  27645. - 企业风险管理(app)
  27646. /Ermcp/QueryGGConvertConfig:
  27647. get:
  27648. parameters:
  27649. - description: 品种id(不填则查所有)
  27650. in: query
  27651. name: goodsgroupid
  27652. type: integer
  27653. produces:
  27654. - application/json
  27655. responses:
  27656. "200":
  27657. description: OK
  27658. schema:
  27659. items:
  27660. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27661. type: array
  27662. "500":
  27663. description: Internal Server Error
  27664. schema:
  27665. $ref: '#/definitions/app.Response'
  27666. security:
  27667. - ApiKeyAuth: []
  27668. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27669. tags:
  27670. - 企业风险管理(app)
  27671. /Ermcp/QueryGoodsBrand:
  27672. get:
  27673. parameters:
  27674. - description: 用户ID
  27675. in: query
  27676. name: userid
  27677. required: true
  27678. type: integer
  27679. - description: 现货商品ID
  27680. in: query
  27681. name: wrstandardid
  27682. type: integer
  27683. produces:
  27684. - application/json
  27685. responses:
  27686. "200":
  27687. description: OK
  27688. schema:
  27689. items:
  27690. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27691. type: array
  27692. "500":
  27693. description: Internal Server Error
  27694. schema:
  27695. $ref: '#/definitions/app.Response'
  27696. security:
  27697. - ApiKeyAuth: []
  27698. summary: 查询商品品牌
  27699. tags:
  27700. - 企业风险管理(app)
  27701. /Ermcp/QueryGoodsModel:
  27702. get:
  27703. parameters:
  27704. - description: 用户ID
  27705. in: query
  27706. name: userid
  27707. required: true
  27708. type: integer
  27709. produces:
  27710. - application/json
  27711. responses:
  27712. "200":
  27713. description: OK
  27714. schema:
  27715. items:
  27716. $ref: '#/definitions/models.ErmcpGoodsModel'
  27717. type: array
  27718. "500":
  27719. description: Internal Server Error
  27720. schema:
  27721. $ref: '#/definitions/app.Response'
  27722. security:
  27723. - ApiKeyAuth: []
  27724. summary: 查询商品型号
  27725. tags:
  27726. - 企业风险管理(app)
  27727. /Ermcp/QueryHisExposure:
  27728. get:
  27729. parameters:
  27730. - description: 用户id
  27731. in: query
  27732. name: userid
  27733. required: true
  27734. type: integer
  27735. - description: 每个品种记录数
  27736. in: query
  27737. name: lastNum
  27738. required: true
  27739. type: integer
  27740. produces:
  27741. - application/json
  27742. responses:
  27743. "200":
  27744. description: OK
  27745. schema:
  27746. items:
  27747. $ref: '#/definitions/ermcp.HisExposureRsp'
  27748. type: array
  27749. "500":
  27750. description: Internal Server Error
  27751. schema:
  27752. $ref: '#/definitions/app.Response'
  27753. security:
  27754. - ApiKeyAuth: []
  27755. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27756. tags:
  27757. - 企业风险管理(app)
  27758. /Ermcp/QueryMiddleGoods:
  27759. get:
  27760. parameters:
  27761. - description: 所属机构ID
  27762. in: query
  27763. name: userid
  27764. required: true
  27765. type: integer
  27766. - description: 状态 0-停用 1-正常
  27767. in: query
  27768. name: status
  27769. required: true
  27770. type: integer
  27771. produces:
  27772. - application/json
  27773. responses:
  27774. "200":
  27775. description: OK
  27776. schema:
  27777. items:
  27778. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27779. type: array
  27780. "500":
  27781. description: Internal Server Error
  27782. schema:
  27783. $ref: '#/definitions/app.Response'
  27784. security:
  27785. - ApiKeyAuth: []
  27786. summary: 查询套保品种(菜单:套保品种)
  27787. tags:
  27788. - 企业风险管理(app)
  27789. /Ermcp/QueryMiddleGoodsChangeLog:
  27790. get:
  27791. parameters:
  27792. - description: 所属机构ID
  27793. in: query
  27794. name: userid
  27795. required: true
  27796. type: integer
  27797. - description: 套保品种id
  27798. in: query
  27799. name: middlegoodsid
  27800. required: true
  27801. type: integer
  27802. produces:
  27803. - application/json
  27804. responses:
  27805. "200":
  27806. description: OK
  27807. schema:
  27808. items:
  27809. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27810. type: array
  27811. "500":
  27812. description: Internal Server Error
  27813. schema:
  27814. $ref: '#/definitions/app.Response'
  27815. security:
  27816. - ApiKeyAuth: []
  27817. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27818. tags:
  27819. - 企业风险管理(app)
  27820. /Ermcp/QueryMiddleGoodsDetail:
  27821. get:
  27822. parameters:
  27823. - description: 所属机构ID
  27824. in: query
  27825. name: userid
  27826. required: true
  27827. type: integer
  27828. - description: 套保品种id
  27829. in: query
  27830. name: middlegoodsid
  27831. type: integer
  27832. produces:
  27833. - application/json
  27834. responses:
  27835. "200":
  27836. description: OK
  27837. schema:
  27838. items:
  27839. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27840. type: array
  27841. "500":
  27842. description: Internal Server Error
  27843. schema:
  27844. $ref: '#/definitions/app.Response'
  27845. security:
  27846. - ApiKeyAuth: []
  27847. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27848. tags:
  27849. - 企业风险管理(app)
  27850. /Ermcp/QueryPendingAuditInfo:
  27851. get:
  27852. parameters:
  27853. - description: 用户ID
  27854. in: query
  27855. name: UserId
  27856. required: true
  27857. type: integer
  27858. produces:
  27859. - application/json
  27860. responses:
  27861. "200":
  27862. description: OK
  27863. schema:
  27864. items:
  27865. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27866. type: array
  27867. "500":
  27868. description: Internal Server Error
  27869. schema:
  27870. $ref: '#/definitions/app.Response'
  27871. security:
  27872. - ApiKeyAuth: []
  27873. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27874. tags:
  27875. - 企业风险管理(app)
  27876. /Ermcp/QueryRealtimeExposure:
  27877. get:
  27878. parameters:
  27879. - description: 所属机构ID
  27880. in: query
  27881. name: userid
  27882. required: true
  27883. type: integer
  27884. produces:
  27885. - application/json
  27886. responses:
  27887. "200":
  27888. description: OK
  27889. schema:
  27890. items:
  27891. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27892. type: array
  27893. "500":
  27894. description: Internal Server Error
  27895. schema:
  27896. $ref: '#/definitions/app.Response'
  27897. security:
  27898. - ApiKeyAuth: []
  27899. summary: 查询实时敞口
  27900. tags:
  27901. - 企业风险管理(app)
  27902. /Ermcp/QueryRealtimeExposurePosition:
  27903. get:
  27904. parameters:
  27905. - description: 用户id
  27906. in: query
  27907. name: userid
  27908. required: true
  27909. type: integer
  27910. - description: 套保商品ID
  27911. in: query
  27912. name: middleGoodsId
  27913. required: true
  27914. type: integer
  27915. produces:
  27916. - application/json
  27917. responses:
  27918. "200":
  27919. description: OK
  27920. schema:
  27921. items:
  27922. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27923. type: array
  27924. "500":
  27925. description: Internal Server Error
  27926. schema:
  27927. $ref: '#/definitions/app.Response'
  27928. security:
  27929. - ApiKeyAuth: []
  27930. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27931. tags:
  27932. - 企业风险管理(app)
  27933. /Ermcp/QueryRoleMenu:
  27934. get:
  27935. parameters:
  27936. - description: 登录ID
  27937. in: query
  27938. name: loginid
  27939. required: true
  27940. type: integer
  27941. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27942. in: query
  27943. name: menutype
  27944. type: integer
  27945. produces:
  27946. - application/json
  27947. responses:
  27948. "200":
  27949. description: OK
  27950. schema:
  27951. items:
  27952. $ref: '#/definitions/models.RoleMenu'
  27953. type: array
  27954. "500":
  27955. description: Internal Server Error
  27956. schema:
  27957. $ref: '#/definitions/app.Response'
  27958. security:
  27959. - ApiKeyAuth: []
  27960. summary: 查询角色菜单和权限
  27961. tags:
  27962. - 企业风险管理(app)
  27963. /Ermcp/QueryTradeConfigTMP:
  27964. get:
  27965. parameters:
  27966. - description: 所属机构id
  27967. in: query
  27968. name: areauserid
  27969. type: integer
  27970. produces:
  27971. - application/json
  27972. responses:
  27973. "200":
  27974. description: OK
  27975. schema:
  27976. items:
  27977. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27978. type: array
  27979. "500":
  27980. description: Internal Server Error
  27981. schema:
  27982. $ref: '#/definitions/app.Response'
  27983. security:
  27984. - ApiKeyAuth: []
  27985. summary: 查询交易模板配置
  27986. tags:
  27987. - 企业风险管理(app)
  27988. /Ermcp/QueryUserInfo:
  27989. get:
  27990. parameters:
  27991. - description: 所属机构用户ID
  27992. in: query
  27993. name: MemberUserID
  27994. required: true
  27995. type: integer
  27996. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27997. in: query
  27998. name: queryType
  27999. required: true
  28000. type: integer
  28001. produces:
  28002. - application/json
  28003. responses:
  28004. "200":
  28005. description: OK
  28006. schema:
  28007. items:
  28008. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  28009. type: array
  28010. "500":
  28011. description: Internal Server Error
  28012. schema:
  28013. $ref: '#/definitions/app.Response'
  28014. security:
  28015. - ApiKeyAuth: []
  28016. summary: 查询客户资料
  28017. tags:
  28018. - 企业风险管理(app)
  28019. /Ermcp/QueryWarehouseInfo:
  28020. get:
  28021. parameters:
  28022. - description: 用户ID
  28023. in: query
  28024. name: userid
  28025. required: true
  28026. type: integer
  28027. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  28028. in: query
  28029. name: status
  28030. type: string
  28031. produces:
  28032. - application/json
  28033. responses:
  28034. "200":
  28035. description: OK
  28036. schema:
  28037. items:
  28038. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  28039. type: array
  28040. "500":
  28041. description: Internal Server Error
  28042. schema:
  28043. $ref: '#/definitions/app.Response'
  28044. security:
  28045. - ApiKeyAuth: []
  28046. summary: 查询仓库信息
  28047. tags:
  28048. - 企业风险管理(app)
  28049. /Ermcp3/QryAreaExpourseContractDetail:
  28050. get:
  28051. parameters:
  28052. - description: 用户ID
  28053. in: query
  28054. name: userid
  28055. required: true
  28056. type: integer
  28057. - description: 套保商品id
  28058. in: query
  28059. name: middlegoodsid
  28060. required: true
  28061. type: integer
  28062. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28063. in: query
  28064. name: cycletype
  28065. required: true
  28066. type: integer
  28067. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28068. 全(0)【原值】
  28069. in: query
  28070. name: cycletime
  28071. required: true
  28072. type: string
  28073. produces:
  28074. - application/json
  28075. responses:
  28076. "200":
  28077. description: OK
  28078. schema:
  28079. items:
  28080. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  28081. type: array
  28082. "500":
  28083. description: Internal Server Error
  28084. schema:
  28085. $ref: '#/definitions/app.Response'
  28086. security:
  28087. - ApiKeyAuth: []
  28088. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  28089. tags:
  28090. - 企业风险管理v3(app)
  28091. /Ermcp3/QryAreaExpourseFutuDetail:
  28092. get:
  28093. parameters:
  28094. - description: 用户ID
  28095. in: query
  28096. name: userid
  28097. required: true
  28098. type: integer
  28099. - description: 套保商品id
  28100. in: query
  28101. name: middlegoodsid
  28102. required: true
  28103. type: integer
  28104. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28105. in: query
  28106. name: cycletype
  28107. required: true
  28108. type: integer
  28109. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28110. 全(0)【原值】
  28111. in: query
  28112. name: cycletime
  28113. required: true
  28114. type: string
  28115. produces:
  28116. - application/json
  28117. responses:
  28118. "200":
  28119. description: OK
  28120. schema:
  28121. items:
  28122. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  28123. type: array
  28124. "500":
  28125. description: Internal Server Error
  28126. schema:
  28127. $ref: '#/definitions/app.Response'
  28128. security:
  28129. - ApiKeyAuth: []
  28130. summary: 查询敞口期货明细(敞口报表/期货明细)
  28131. tags:
  28132. - 企业风险管理v3(app)
  28133. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  28134. get:
  28135. parameters:
  28136. - description: 用户ID
  28137. in: query
  28138. name: userid
  28139. required: true
  28140. type: integer
  28141. - description: 套保商品id
  28142. in: query
  28143. name: middlegoodsid
  28144. required: true
  28145. type: integer
  28146. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28147. in: query
  28148. name: cycletype
  28149. required: true
  28150. type: integer
  28151. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28152. 全(0)【原值】
  28153. in: query
  28154. name: cycletime
  28155. required: true
  28156. type: string
  28157. produces:
  28158. - application/json
  28159. responses:
  28160. "200":
  28161. description: OK
  28162. schema:
  28163. items:
  28164. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  28165. type: array
  28166. "500":
  28167. description: Internal Server Error
  28168. schema:
  28169. $ref: '#/definitions/app.Response'
  28170. security:
  28171. - ApiKeyAuth: []
  28172. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  28173. tags:
  28174. - 企业风险管理v3(app)
  28175. /Ermcp3/QryAreaExpourseParamChLogDetail:
  28176. get:
  28177. parameters:
  28178. - description: 用户ID
  28179. in: query
  28180. name: userid
  28181. required: true
  28182. type: integer
  28183. - description: 套保商品id
  28184. in: query
  28185. name: middlegoodsid
  28186. required: true
  28187. type: integer
  28188. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28189. in: query
  28190. name: cycletype
  28191. required: true
  28192. type: integer
  28193. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28194. 全(0)【原值】
  28195. in: query
  28196. name: cycletime
  28197. required: true
  28198. type: string
  28199. produces:
  28200. - application/json
  28201. responses:
  28202. "200":
  28203. description: OK
  28204. schema:
  28205. items:
  28206. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  28207. type: array
  28208. "500":
  28209. description: Internal Server Error
  28210. schema:
  28211. $ref: '#/definitions/app.Response'
  28212. security:
  28213. - ApiKeyAuth: []
  28214. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  28215. tags:
  28216. - 企业风险管理v3(app)
  28217. /Ermcp3/QryAreaExpourseReport:
  28218. get:
  28219. parameters:
  28220. - description: 用户ID
  28221. in: query
  28222. name: userid
  28223. required: true
  28224. type: integer
  28225. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28226. in: query
  28227. name: querytype
  28228. required: true
  28229. type: integer
  28230. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28231. in: query
  28232. name: cycletype
  28233. required: true
  28234. type: integer
  28235. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28236. 全(0)【原值】
  28237. in: query
  28238. name: cycletime
  28239. required: true
  28240. type: string
  28241. produces:
  28242. - application/json
  28243. responses:
  28244. "200":
  28245. description: OK
  28246. schema:
  28247. items:
  28248. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  28249. type: array
  28250. "500":
  28251. description: Internal Server Error
  28252. schema:
  28253. $ref: '#/definitions/app.Response'
  28254. security:
  28255. - ApiKeyAuth: []
  28256. summary: 查询敞口报表
  28257. tags:
  28258. - 企业风险管理v3(app)
  28259. /Ermcp3/QryAreaSpotplReport:
  28260. get:
  28261. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28262. parameters:
  28263. - description: 用户ID
  28264. in: query
  28265. name: userid
  28266. required: true
  28267. type: integer
  28268. - description: 查询类型 1-报表 2-报表明细
  28269. in: query
  28270. name: querytype
  28271. required: true
  28272. type: integer
  28273. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28274. in: query
  28275. name: cycletype
  28276. required: true
  28277. type: integer
  28278. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28279. 全(0)【原值】
  28280. in: query
  28281. name: cycletime
  28282. required: true
  28283. type: string
  28284. - description: 现货品种id(明细必填)
  28285. in: query
  28286. name: deliverygoodsid
  28287. type: integer
  28288. - description: 币种id(明细必填)
  28289. in: query
  28290. name: currencyid
  28291. type: integer
  28292. - description: 日/周/月报表汇总维度 1:品种+品类
  28293. in: query
  28294. name: sumflag
  28295. type: integer
  28296. produces:
  28297. - application/json
  28298. responses:
  28299. "200":
  28300. description: OK
  28301. schema:
  28302. items:
  28303. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28304. type: array
  28305. "500":
  28306. description: Internal Server Error
  28307. schema:
  28308. $ref: '#/definitions/app.Response'
  28309. security:
  28310. - ApiKeyAuth: []
  28311. summary: 查询现货报表
  28312. tags:
  28313. - 企业风险管理v3(app)
  28314. /Ermcp3/QryAreaStockReport:
  28315. get:
  28316. parameters:
  28317. - description: 用户ID
  28318. in: query
  28319. name: userid
  28320. required: true
  28321. type: integer
  28322. - description: 查询类型 1-报表 2-报表明细
  28323. in: query
  28324. name: querytype
  28325. required: true
  28326. type: integer
  28327. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28328. in: query
  28329. name: cycletype
  28330. required: true
  28331. type: integer
  28332. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28333. 全(0)【原值】
  28334. in: query
  28335. name: cycletime
  28336. required: true
  28337. type: string
  28338. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28339. in: query
  28340. name: sumfields
  28341. type: string
  28342. - description: 品种ID
  28343. in: query
  28344. name: deliverygoodsid
  28345. type: integer
  28346. - description: 品类ID
  28347. in: query
  28348. name: wrstandardid
  28349. type: integer
  28350. - description: 品牌ID
  28351. in: query
  28352. name: spotgoodsbrandid
  28353. type: integer
  28354. - description: 仓库ID
  28355. in: query
  28356. name: warehouseinfoid
  28357. type: integer
  28358. produces:
  28359. - application/json
  28360. responses:
  28361. "200":
  28362. description: OK
  28363. schema:
  28364. items:
  28365. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28366. type: array
  28367. "500":
  28368. description: Internal Server Error
  28369. schema:
  28370. $ref: '#/definitions/app.Response'
  28371. security:
  28372. - ApiKeyAuth: []
  28373. summary: 查询库存报表
  28374. tags:
  28375. - 企业风险管理v3(app)
  28376. /Ermcp3/QryAreaSumPL:
  28377. get:
  28378. parameters:
  28379. - description: 用户ID
  28380. in: query
  28381. name: userid
  28382. required: true
  28383. type: integer
  28384. - description: 查询类型 1-报表 2-报表明细
  28385. in: query
  28386. name: querytype
  28387. required: true
  28388. type: integer
  28389. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28390. in: query
  28391. name: cycletype
  28392. required: true
  28393. type: integer
  28394. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28395. 全(0)【原值】
  28396. in: query
  28397. name: cycletime
  28398. required: true
  28399. type: string
  28400. - description: 币种id(明细必填)
  28401. in: query
  28402. name: currencyid
  28403. type: integer
  28404. - description: 套保品种ID, 查询类型为2时起效
  28405. in: query
  28406. name: middlegoodsid
  28407. type: integer
  28408. produces:
  28409. - application/json
  28410. responses:
  28411. "200":
  28412. description: OK
  28413. schema:
  28414. items:
  28415. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28416. type: array
  28417. "500":
  28418. description: Internal Server Error
  28419. schema:
  28420. $ref: '#/definitions/app.Response'
  28421. security:
  28422. - ApiKeyAuth: []
  28423. summary: 查询汇总损益表
  28424. tags:
  28425. - 企业风险管理v3(app)
  28426. /Ermcp3/QryFinanceReport:
  28427. get:
  28428. parameters:
  28429. - description: 用户ID
  28430. in: query
  28431. name: userid
  28432. required: true
  28433. type: integer
  28434. - description: 查询类型 1-报表 2-报表明细
  28435. in: query
  28436. name: querytype
  28437. required: true
  28438. type: integer
  28439. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28440. in: query
  28441. name: cycletype
  28442. required: true
  28443. type: integer
  28444. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28445. 全(0)【原值】
  28446. in: query
  28447. name: cycletime
  28448. required: true
  28449. type: string
  28450. - description: 币种id(报表明细必填)
  28451. in: query
  28452. name: currencyid
  28453. type: integer
  28454. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28455. in: query
  28456. name: sumfields
  28457. type: string
  28458. produces:
  28459. - application/json
  28460. responses:
  28461. "200":
  28462. description: OK
  28463. schema:
  28464. items:
  28465. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28466. type: array
  28467. "500":
  28468. description: Internal Server Error
  28469. schema:
  28470. $ref: '#/definitions/app.Response'
  28471. security:
  28472. - ApiKeyAuth: []
  28473. summary: 查询财务报表
  28474. tags:
  28475. - 企业风险管理v3(app)
  28476. /Ermcp3/QrySCMiddleGoodsReport:
  28477. get:
  28478. parameters:
  28479. - description: 用户ID
  28480. in: query
  28481. name: userid
  28482. required: true
  28483. type: integer
  28484. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28485. in: query
  28486. name: cycletype
  28487. required: true
  28488. type: integer
  28489. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28490. 全(0)【原值】
  28491. in: query
  28492. name: cycletime
  28493. required: true
  28494. type: string
  28495. - description: 合同id
  28496. in: query
  28497. name: spotcontractid
  28498. type: integer
  28499. - description: 套保品种id
  28500. in: query
  28501. name: middlegoodsid
  28502. type: integer
  28503. - description: 现货品种id
  28504. in: query
  28505. name: deliverygoodsid
  28506. type: integer
  28507. - description: 现货商品id
  28508. in: query
  28509. name: wrstandardid
  28510. type: integer
  28511. - description: 合同编号(模糊匹配)
  28512. in: query
  28513. name: contractno
  28514. type: string
  28515. produces:
  28516. - application/json
  28517. responses:
  28518. "200":
  28519. description: OK
  28520. schema:
  28521. items:
  28522. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28523. type: array
  28524. "500":
  28525. description: Internal Server Error
  28526. schema:
  28527. $ref: '#/definitions/app.Response'
  28528. security:
  28529. - ApiKeyAuth: []
  28530. summary: 查询定价报表
  28531. tags:
  28532. - 企业风险管理v3(app)
  28533. /Ermcp3/QryTaFutureDataReport:
  28534. get:
  28535. parameters:
  28536. - description: 用户ID
  28537. in: query
  28538. name: userid
  28539. required: true
  28540. type: integer
  28541. - description: 查询类型 1-报表 2-报表明细
  28542. in: query
  28543. name: querytype
  28544. required: true
  28545. type: integer
  28546. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28547. in: query
  28548. name: cycletype
  28549. required: true
  28550. type: integer
  28551. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28552. 全(0)【原值】
  28553. in: query
  28554. name: cycletime
  28555. required: true
  28556. type: string
  28557. - description: 币种id(查明细必填)
  28558. in: query
  28559. name: currencyid
  28560. type: integer
  28561. - description: 品种id(查明细必填)
  28562. in: query
  28563. name: goodsgroupid
  28564. type: integer
  28565. - description: 商品id(查明细必填)
  28566. in: query
  28567. name: goodsid
  28568. type: integer
  28569. - description: 买卖方向(查明细必填)
  28570. in: query
  28571. name: buyorsell
  28572. type: integer
  28573. produces:
  28574. - application/json
  28575. responses:
  28576. "200":
  28577. description: OK
  28578. schema:
  28579. items:
  28580. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28581. type: array
  28582. "500":
  28583. description: Internal Server Error
  28584. schema:
  28585. $ref: '#/definitions/app.Response'
  28586. security:
  28587. - ApiKeyAuth: []
  28588. summary: 查询期货报表
  28589. tags:
  28590. - 企业风险管理v3(app)
  28591. /Ermcp3/QueryAreaStock:
  28592. get:
  28593. parameters:
  28594. - description: 用户ID
  28595. in: query
  28596. name: userid
  28597. required: true
  28598. type: integer
  28599. produces:
  28600. - application/json
  28601. responses:
  28602. "200":
  28603. description: OK
  28604. schema:
  28605. items:
  28606. $ref: '#/definitions/models.Ermcp3AreaStock'
  28607. type: array
  28608. "500":
  28609. description: Internal Server Error
  28610. schema:
  28611. $ref: '#/definitions/app.Response'
  28612. security:
  28613. - ApiKeyAuth: []
  28614. summary: 查询机构库存(库存管理/当前库存)
  28615. tags:
  28616. - 企业风险管理v3(app)
  28617. /Ermcp3/QueryAreaStockApply:
  28618. get:
  28619. parameters:
  28620. - description: 用户ID
  28621. in: query
  28622. name: userid
  28623. required: true
  28624. type: integer
  28625. - description: 用户类型 2-机构 7-企业成员
  28626. in: query
  28627. name: usertype
  28628. type: integer
  28629. - description: 现货商品ID
  28630. in: query
  28631. name: deliverygoodsid
  28632. type: integer
  28633. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28634. in: query
  28635. name: inouttype
  28636. type: string
  28637. - description: 合同ID
  28638. in: query
  28639. name: spotcontractid
  28640. type: integer
  28641. - description: 品类ID
  28642. in: query
  28643. name: wrstandardid
  28644. type: integer
  28645. - description: 品牌ID
  28646. in: query
  28647. name: spotgoodsbrandid
  28648. type: integer
  28649. - description: 仓库ID
  28650. in: query
  28651. name: warehouseinfoid
  28652. type: integer
  28653. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28654. in: query
  28655. name: applystatus
  28656. type: string
  28657. produces:
  28658. - application/json
  28659. responses:
  28660. "200":
  28661. description: OK
  28662. schema:
  28663. items:
  28664. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28665. type: array
  28666. "500":
  28667. description: Internal Server Error
  28668. schema:
  28669. $ref: '#/definitions/app.Response'
  28670. security:
  28671. - ApiKeyAuth: []
  28672. summary: 查询库存申请(出入库记录|库存审核)
  28673. tags:
  28674. - 企业风险管理v3(app)
  28675. /Ermcp3/QueryAreaStockApplySum:
  28676. get:
  28677. parameters:
  28678. - description: 合同ID
  28679. in: query
  28680. name: spotcontractid
  28681. required: true
  28682. type: integer
  28683. produces:
  28684. - application/json
  28685. responses:
  28686. "200":
  28687. description: OK
  28688. schema:
  28689. items:
  28690. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28691. type: array
  28692. "500":
  28693. description: Internal Server Error
  28694. schema:
  28695. $ref: '#/definitions/app.Response'
  28696. security:
  28697. - ApiKeyAuth: []
  28698. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28699. tags:
  28700. - 企业风险管理v3(app)
  28701. /Ermcp3/QueryDGFactoryItem:
  28702. get:
  28703. parameters:
  28704. - description: 用户id
  28705. in: query
  28706. name: userid
  28707. type: integer
  28708. - description: 用户类型 2-机构 7-企业成员
  28709. in: query
  28710. name: usertype
  28711. type: integer
  28712. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28713. in: query
  28714. name: dgfactoryitemid
  28715. type: integer
  28716. - description: 现货品种ID
  28717. in: query
  28718. name: deliverygoodsid
  28719. type: integer
  28720. - description: 要素项类型
  28721. in: query
  28722. name: dgfactoryitemtypeid
  28723. type: integer
  28724. - description: 顺序
  28725. in: query
  28726. name: orderindex
  28727. type: integer
  28728. produces:
  28729. - application/json
  28730. responses:
  28731. "200":
  28732. description: OK
  28733. schema:
  28734. items:
  28735. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28736. type: array
  28737. "500":
  28738. description: Internal Server Error
  28739. schema:
  28740. $ref: '#/definitions/app.Response'
  28741. security:
  28742. - ApiKeyAuth: []
  28743. summary: 查询品种要素定义项
  28744. tags:
  28745. - 企业风险管理v3(app)
  28746. /Ermcp3/QueryDeliveryGoods:
  28747. get:
  28748. parameters:
  28749. - description: 用户id
  28750. in: query
  28751. name: userid
  28752. required: true
  28753. type: integer
  28754. - description: 用户类型 2-机构 7-企业成员
  28755. in: query
  28756. name: usertype
  28757. type: integer
  28758. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28759. in: query
  28760. name: excludecfg
  28761. type: integer
  28762. produces:
  28763. - application/json
  28764. responses:
  28765. "200":
  28766. description: OK
  28767. schema:
  28768. items:
  28769. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28770. type: array
  28771. "500":
  28772. description: Internal Server Error
  28773. schema:
  28774. $ref: '#/definitions/app.Response'
  28775. security:
  28776. - ApiKeyAuth: []
  28777. summary: 查询现货商品
  28778. tags:
  28779. - 企业风险管理v3(app)
  28780. /Ermcp3/QueryDeliveryGoodsDetail:
  28781. get:
  28782. parameters:
  28783. - description: 用户id
  28784. in: query
  28785. name: userid
  28786. required: true
  28787. type: integer
  28788. - description: 用户类型 2-机构 7-企业成员
  28789. in: query
  28790. name: usertype
  28791. type: integer
  28792. - description: 现货商品id
  28793. in: query
  28794. name: deliverygoodsid
  28795. type: integer
  28796. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28797. in: query
  28798. name: filtersubempty
  28799. type: integer
  28800. produces:
  28801. - application/json
  28802. responses:
  28803. "200":
  28804. description: OK
  28805. schema:
  28806. items:
  28807. $ref: '#/definitions/models.XHDeliveryGoods'
  28808. type: array
  28809. "500":
  28810. description: Internal Server Error
  28811. schema:
  28812. $ref: '#/definitions/app.Response'
  28813. security:
  28814. - ApiKeyAuth: []
  28815. summary: 查询现货商品详情
  28816. tags:
  28817. - 企业风险管理v3(app)
  28818. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28819. get:
  28820. parameters:
  28821. - description: 合同id
  28822. in: query
  28823. name: spotcontractid
  28824. required: true
  28825. type: string
  28826. produces:
  28827. - application/json
  28828. responses:
  28829. "200":
  28830. description: OK
  28831. schema:
  28832. items:
  28833. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28834. type: array
  28835. "500":
  28836. description: Internal Server Error
  28837. schema:
  28838. $ref: '#/definitions/app.Response'
  28839. security:
  28840. - ApiKeyAuth: []
  28841. summary: 查询现货合同期现配置信息
  28842. tags:
  28843. - 企业风险管理v3(app)
  28844. /Ermcp3/QueryExposureDetail:
  28845. get:
  28846. parameters:
  28847. - description: 用户id
  28848. in: query
  28849. name: userid
  28850. required: true
  28851. type: integer
  28852. - description: 用户类型 2-机构 7-企业成员
  28853. in: query
  28854. name: usertype
  28855. type: integer
  28856. - description: 套保商品
  28857. in: query
  28858. name: middlegoodsid
  28859. required: true
  28860. type: integer
  28861. produces:
  28862. - application/json
  28863. responses:
  28864. "200":
  28865. description: OK
  28866. schema:
  28867. items:
  28868. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28869. type: array
  28870. "500":
  28871. description: Internal Server Error
  28872. schema:
  28873. $ref: '#/definitions/app.Response'
  28874. security:
  28875. - ApiKeyAuth: []
  28876. summary: 查询敞口现货明细
  28877. tags:
  28878. - 企业风险管理v3(app)
  28879. /Ermcp3/QueryExposureSpot:
  28880. get:
  28881. parameters:
  28882. - description: 用户id
  28883. in: query
  28884. name: userid
  28885. required: true
  28886. type: integer
  28887. - description: 用户类型 2-机构 7-企业成员
  28888. in: query
  28889. name: usertype
  28890. type: integer
  28891. produces:
  28892. - application/json
  28893. responses:
  28894. "200":
  28895. description: OK
  28896. schema:
  28897. items:
  28898. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28899. type: array
  28900. "500":
  28901. description: Internal Server Error
  28902. schema:
  28903. $ref: '#/definitions/app.Response'
  28904. security:
  28905. - ApiKeyAuth: []
  28906. summary: 查询敞口现货头寸(敞口/现货头寸)
  28907. tags:
  28908. - 企业风险管理v3(app)
  28909. /Ermcp3/QueryExposureSpotDetail:
  28910. get:
  28911. parameters:
  28912. - description: 用户id
  28913. in: query
  28914. name: userid
  28915. required: true
  28916. type: integer
  28917. - description: 用户类型 2-机构 7-企业成员
  28918. in: query
  28919. name: usertype
  28920. type: integer
  28921. - description: 现货商品ID
  28922. in: query
  28923. name: wrstandardid
  28924. required: true
  28925. type: integer
  28926. produces:
  28927. - application/json
  28928. responses:
  28929. "200":
  28930. description: OK
  28931. schema:
  28932. items:
  28933. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28934. type: array
  28935. "500":
  28936. description: Internal Server Error
  28937. schema:
  28938. $ref: '#/definitions/app.Response'
  28939. security:
  28940. - ApiKeyAuth: []
  28941. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28942. tags:
  28943. - 企业风险管理v3(app)
  28944. /Ermcp3/QueryGoodsGroup:
  28945. get:
  28946. parameters:
  28947. - description: 用户id
  28948. in: query
  28949. name: userid
  28950. required: true
  28951. type: integer
  28952. - description: 用户类型 2-机构 7-企业成员
  28953. in: query
  28954. name: usertype
  28955. type: integer
  28956. - description: 排除套保品中已关联的商品组 1-排除
  28957. in: query
  28958. name: excludecfg
  28959. type: integer
  28960. produces:
  28961. - application/json
  28962. responses:
  28963. "200":
  28964. description: OK
  28965. schema:
  28966. items:
  28967. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28968. type: array
  28969. "500":
  28970. description: Internal Server Error
  28971. schema:
  28972. $ref: '#/definitions/app.Response'
  28973. security:
  28974. - ApiKeyAuth: []
  28975. summary: 查询期货商品组
  28976. tags:
  28977. - 企业风险管理v3(app)
  28978. /Ermcp3/QueryGoodsWrstandard:
  28979. get:
  28980. parameters:
  28981. - description: 用户id
  28982. in: query
  28983. name: userid
  28984. required: true
  28985. type: integer
  28986. - description: 用户类型 2-机构 7-企业成员
  28987. in: query
  28988. name: usertype
  28989. type: integer
  28990. - description: 现货商品id
  28991. in: query
  28992. name: deliverygoodsid
  28993. type: integer
  28994. produces:
  28995. - application/json
  28996. responses:
  28997. "200":
  28998. description: OK
  28999. schema:
  29000. items:
  29001. $ref: '#/definitions/models.Ermcp3Wrstandard'
  29002. type: array
  29003. "500":
  29004. description: Internal Server Error
  29005. schema:
  29006. $ref: '#/definitions/app.Response'
  29007. security:
  29008. - ApiKeyAuth: []
  29009. summary: 查询商品品类
  29010. tags:
  29011. - 企业风险管理v3(app)
  29012. /Ermcp3/QueryGoodsbrand:
  29013. get:
  29014. parameters:
  29015. - description: 用户id
  29016. in: query
  29017. name: userid
  29018. required: true
  29019. type: integer
  29020. - description: 用户类型 2-机构 7-企业成员
  29021. in: query
  29022. name: usertype
  29023. type: integer
  29024. produces:
  29025. - application/json
  29026. responses:
  29027. "200":
  29028. description: OK
  29029. schema:
  29030. items:
  29031. $ref: '#/definitions/models.Ermcp3Brand'
  29032. type: array
  29033. "500":
  29034. description: Internal Server Error
  29035. schema:
  29036. $ref: '#/definitions/app.Response'
  29037. security:
  29038. - ApiKeyAuth: []
  29039. summary: 查询商品品牌
  29040. tags:
  29041. - 企业风险管理v3(app)
  29042. /Ermcp3/QueryHPMiddleGoods:
  29043. get:
  29044. parameters:
  29045. - description: 用户ID(填登录用户的userid)
  29046. in: query
  29047. name: userid
  29048. required: true
  29049. type: integer
  29050. - description: 买卖方向 0-买 1-卖
  29051. in: query
  29052. name: buyorsell
  29053. required: true
  29054. type: integer
  29055. - description: 商品组id
  29056. in: query
  29057. name: goodsgroupid
  29058. required: true
  29059. type: integer
  29060. - description: 套保计划编号(模糊匹配)
  29061. in: query
  29062. name: hedgeplanno
  29063. type: string
  29064. - description: 现货商品名称(模糊匹配)
  29065. in: query
  29066. name: wrstandardname
  29067. type: string
  29068. produces:
  29069. - application/json
  29070. responses:
  29071. "200":
  29072. description: OK
  29073. schema:
  29074. items:
  29075. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29076. type: array
  29077. "500":
  29078. description: Internal Server Error
  29079. schema:
  29080. $ref: '#/definitions/app.Response'
  29081. security:
  29082. - ApiKeyAuth: []
  29083. summary: 查询可关联套保计划
  29084. tags:
  29085. - 企业风险管理v3(app)
  29086. /Ermcp3/QueryHedgePlan:
  29087. get:
  29088. parameters:
  29089. - description: 用户ID
  29090. in: query
  29091. name: userid
  29092. required: true
  29093. type: integer
  29094. - description: 用户类型 2-机构 7-企业成员
  29095. in: query
  29096. name: usertype
  29097. type: integer
  29098. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29099. in: query
  29100. name: hedgeplanstatus
  29101. required: true
  29102. type: string
  29103. produces:
  29104. - application/json
  29105. responses:
  29106. "200":
  29107. description: OK
  29108. schema:
  29109. items:
  29110. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29111. type: array
  29112. "500":
  29113. description: Internal Server Error
  29114. schema:
  29115. $ref: '#/definitions/app.Response'
  29116. security:
  29117. - ApiKeyAuth: []
  29118. summary: 查询套保计划
  29119. tags:
  29120. - 企业风险管理v3(app)
  29121. /Ermcp3/QueryInnerTradeLink:
  29122. get:
  29123. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29124. parameters:
  29125. - description: 外部成交单号
  29126. in: query
  29127. name: outtradeid
  29128. required: true
  29129. type: integer
  29130. produces:
  29131. - application/json
  29132. responses:
  29133. "200":
  29134. description: OK
  29135. schema:
  29136. items:
  29137. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29138. type: array
  29139. "500":
  29140. description: Internal Server Error
  29141. schema:
  29142. $ref: '#/definitions/app.Response'
  29143. security:
  29144. - ApiKeyAuth: []
  29145. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29146. tags:
  29147. - 企业风险管理v3(app)
  29148. /Ermcp3/QueryMiddleGoodsDetail:
  29149. get:
  29150. parameters:
  29151. - description: 用户id
  29152. in: query
  29153. name: userid
  29154. required: true
  29155. type: integer
  29156. - description: 用户类型 2-机构 7-企业成员
  29157. in: query
  29158. name: usertype
  29159. type: integer
  29160. - description: 套保品种id
  29161. in: query
  29162. name: middlegoodsid
  29163. type: integer
  29164. produces:
  29165. - application/json
  29166. responses:
  29167. "200":
  29168. description: OK
  29169. schema:
  29170. items:
  29171. $ref: '#/definitions/models.TBMiddleGoods'
  29172. type: array
  29173. "500":
  29174. description: Internal Server Error
  29175. schema:
  29176. $ref: '#/definitions/app.Response'
  29177. security:
  29178. - ApiKeyAuth: []
  29179. summary: 查询套保品种详情(套保品种/商品详情)
  29180. tags:
  29181. - 企业风险管理v3(app)
  29182. /Ermcp3/QueryOutTradeLink:
  29183. get:
  29184. description: 页面 app 现货->期现关联->外部成交单关联
  29185. parameters:
  29186. - description: 用户ID(填登录用户的userid)
  29187. in: query
  29188. name: userid
  29189. required: true
  29190. type: integer
  29191. - description: 外部订单号(模糊匹配)
  29192. in: query
  29193. name: outtradeid
  29194. type: string
  29195. - description: 合约名称/代码(模糊匹配)
  29196. in: query
  29197. name: goodsname
  29198. type: string
  29199. - description: 关联状态 0-未关联 1-已关联
  29200. in: query
  29201. name: hasinnerorder
  29202. type: integer
  29203. produces:
  29204. - application/json
  29205. responses:
  29206. "200":
  29207. description: OK
  29208. schema:
  29209. items:
  29210. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29211. type: array
  29212. "500":
  29213. description: Internal Server Error
  29214. schema:
  29215. $ref: '#/definitions/app.Response'
  29216. security:
  29217. - ApiKeyAuth: []
  29218. summary: 查询外部成交单关联
  29219. tags:
  29220. - 企业风险管理v3(app)
  29221. /Ermcp3/QueryPaAreaAuditCfg:
  29222. get:
  29223. parameters:
  29224. - description: 用户id
  29225. in: query
  29226. name: userid
  29227. required: true
  29228. type: integer
  29229. produces:
  29230. - application/json
  29231. responses:
  29232. "200":
  29233. description: OK
  29234. schema:
  29235. items:
  29236. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29237. type: array
  29238. "500":
  29239. description: Internal Server Error
  29240. schema:
  29241. $ref: '#/definitions/app.Response'
  29242. security:
  29243. - ApiKeyAuth: []
  29244. summary: 查询审核设置
  29245. tags:
  29246. - 企业风险管理v3(app)
  29247. /Ermcp3/QueryPaAreaSubject:
  29248. get:
  29249. parameters:
  29250. - description: 用户id
  29251. in: query
  29252. name: userid
  29253. required: true
  29254. type: integer
  29255. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29256. in: query
  29257. name: subjectid
  29258. type: integer
  29259. - description: 主体类型 - 1:交易主体 2:业务部门
  29260. in: query
  29261. name: subjecttype
  29262. type: integer
  29263. - description: '主体状态 - 1:正常 2: 停用'
  29264. in: query
  29265. name: subjectstatus
  29266. type: integer
  29267. produces:
  29268. - application/json
  29269. responses:
  29270. "200":
  29271. description: OK
  29272. schema:
  29273. items:
  29274. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29275. type: array
  29276. "500":
  29277. description: Internal Server Error
  29278. schema:
  29279. $ref: '#/definitions/app.Response'
  29280. security:
  29281. - ApiKeyAuth: []
  29282. summary: 查询交易主体
  29283. tags:
  29284. - 企业风险管理v3(app)
  29285. /Ermcp3/QueryPaTradeLink:
  29286. get:
  29287. description: 页面 app 现货->期现关联->期现单据关联
  29288. parameters:
  29289. - description: 用户ID
  29290. in: query
  29291. name: userid
  29292. required: true
  29293. type: integer
  29294. produces:
  29295. - application/json
  29296. responses:
  29297. "200":
  29298. description: OK
  29299. schema:
  29300. items:
  29301. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29302. type: array
  29303. "500":
  29304. description: Internal Server Error
  29305. schema:
  29306. $ref: '#/definitions/app.Response'
  29307. security:
  29308. - ApiKeyAuth: []
  29309. summary: 查询期现单据关联
  29310. tags:
  29311. - 企业风险管理v3(app)
  29312. /Ermcp3/QueryPaTradeLinkDetail:
  29313. get:
  29314. description: 页面 app 现货->期现关联->关联记录
  29315. parameters:
  29316. - description: 用户ID(填登录用户的userid)
  29317. in: query
  29318. name: userid
  29319. required: true
  29320. type: integer
  29321. - description: 关联状态 1:成功 2:失败 3:解绑
  29322. in: query
  29323. name: linkstatus
  29324. type: integer
  29325. - description: 期货订单号(模糊匹配)
  29326. in: query
  29327. name: tradeid
  29328. type: string
  29329. - description: 现货编号(模糊匹配)
  29330. in: query
  29331. name: contractno
  29332. type: string
  29333. - description: 期货账户(模糊匹配)
  29334. in: query
  29335. name: taname
  29336. type: string
  29337. produces:
  29338. - application/json
  29339. responses:
  29340. "200":
  29341. description: OK
  29342. schema:
  29343. items:
  29344. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29345. type: array
  29346. "500":
  29347. description: Internal Server Error
  29348. schema:
  29349. $ref: '#/definitions/app.Response'
  29350. security:
  29351. - ApiKeyAuth: []
  29352. summary: 查询期现关联记录
  29353. tags:
  29354. - 企业风险管理v3(app)
  29355. /Ermcp3/QueryParamChangeApp:
  29356. get:
  29357. description: |-
  29358. 原型页面:
  29359. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29360. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29361. parameters:
  29362. - description: 用户ID
  29363. in: query
  29364. name: userid
  29365. required: true
  29366. type: integer
  29367. - description: 现货品种id
  29368. in: query
  29369. name: deliverygoodsid
  29370. type: integer
  29371. - description: 现货商品id
  29372. in: query
  29373. name: wrstandardid
  29374. type: integer
  29375. - description: 套保商品id
  29376. in: query
  29377. name: middlegoodsid
  29378. type: integer
  29379. - description: 操作类型 1:新增 2:修改
  29380. in: query
  29381. name: operatetype
  29382. type: integer
  29383. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29384. in: query
  29385. name: paramchangetype
  29386. type: integer
  29387. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29388. in: query
  29389. name: ftstatus
  29390. type: string
  29391. produces:
  29392. - application/json
  29393. responses:
  29394. "200":
  29395. description: OK
  29396. schema:
  29397. items:
  29398. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29399. type: array
  29400. "500":
  29401. description: Internal Server Error
  29402. schema:
  29403. $ref: '#/definitions/app.Response'
  29404. security:
  29405. - ApiKeyAuth: []
  29406. summary: 查询现货商品参数变更申请(流水)
  29407. tags:
  29408. - 企业风险管理v3(app)
  29409. /Ermcp3/QueryRootUserAccount:
  29410. get:
  29411. parameters:
  29412. - description: 用户ID
  29413. in: query
  29414. name: userid
  29415. required: true
  29416. type: integer
  29417. produces:
  29418. - application/json
  29419. responses:
  29420. "200":
  29421. description: OK
  29422. schema:
  29423. items:
  29424. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29425. type: array
  29426. "500":
  29427. description: Internal Server Error
  29428. schema:
  29429. $ref: '#/definitions/app.Response'
  29430. security:
  29431. - ApiKeyAuth: []
  29432. summary: 查询顶级用户信息
  29433. tags:
  29434. - 企业风险管理v3(app)
  29435. /Ermcp3/QuerySCMiddleGoods:
  29436. get:
  29437. description: |-
  29438. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29439. 现货编号 即 合同编号
  29440. parameters:
  29441. - description: 用户ID(填登录用户的userid)
  29442. in: query
  29443. name: userid
  29444. required: true
  29445. type: integer
  29446. - description: 买卖方向 0-买 1-卖
  29447. in: query
  29448. name: buyorsell
  29449. required: true
  29450. type: integer
  29451. - description: 商品组id
  29452. in: query
  29453. name: goodsgroupid
  29454. required: true
  29455. type: integer
  29456. - description: 业务类型 1:套保 2:套利
  29457. in: query
  29458. name: biztype
  29459. type: integer
  29460. - description: 现货编号(模糊匹配)
  29461. in: query
  29462. name: contractno
  29463. type: string
  29464. - description: 对手方(模糊匹配)
  29465. in: query
  29466. name: customername
  29467. type: string
  29468. - description: 现货商品名称(模糊匹配)
  29469. in: query
  29470. name: wrstandardname
  29471. type: string
  29472. produces:
  29473. - application/json
  29474. responses:
  29475. "200":
  29476. description: OK
  29477. schema:
  29478. items:
  29479. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29480. type: array
  29481. "500":
  29482. description: Internal Server Error
  29483. schema:
  29484. $ref: '#/definitions/app.Response'
  29485. security:
  29486. - ApiKeyAuth: []
  29487. summary: 查询现货订单
  29488. tags:
  29489. - 企业风险管理v3(app)
  29490. /Ermcp3/QuerySpotContract:
  29491. get:
  29492. parameters:
  29493. - description: 用户id(当指定contractid, userid可不填)
  29494. in: query
  29495. name: userid
  29496. required: true
  29497. type: integer
  29498. - description: 用户类型 2-机构 7-企业成员
  29499. in: query
  29500. name: usertype
  29501. type: integer
  29502. - description: 合同类型 1-采购, -1-销售
  29503. in: query
  29504. name: contracttype
  29505. type: integer
  29506. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29507. in: query
  29508. name: querytype
  29509. type: string
  29510. - description: 合同ID(SpotContractId)
  29511. in: query
  29512. name: contractid
  29513. type: string
  29514. - description: 合同编号(模糊匹配)
  29515. in: query
  29516. name: contractno
  29517. type: string
  29518. - description: 商品名称(模糊匹配)
  29519. in: query
  29520. name: wrstandardname
  29521. type: string
  29522. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29523. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29524. in: query
  29525. name: status
  29526. type: string
  29527. - description: 是否只查今日的合同 1-查今日合同
  29528. in: query
  29529. name: istoday
  29530. type: integer
  29531. produces:
  29532. - application/json
  29533. responses:
  29534. "200":
  29535. description: OK
  29536. schema:
  29537. items:
  29538. $ref: '#/definitions/models.Ermcp3Contract'
  29539. type: array
  29540. "500":
  29541. description: Internal Server Error
  29542. schema:
  29543. $ref: '#/definitions/app.Response'
  29544. security:
  29545. - ApiKeyAuth: []
  29546. summary: 查询现货合同
  29547. tags:
  29548. - 企业风险管理v3(app)
  29549. /Ermcp3/QuerySpotContractBS:
  29550. get:
  29551. parameters:
  29552. - description: 用户id
  29553. in: query
  29554. name: userid
  29555. required: true
  29556. type: integer
  29557. - description: 用户类型 2-机构 7-企业成员
  29558. in: query
  29559. name: usertype
  29560. type: integer
  29561. - description: 合同类型 1-采购, -1-销售
  29562. in: query
  29563. name: contracttype
  29564. required: true
  29565. type: integer
  29566. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29567. in: query
  29568. name: querytype
  29569. type: integer
  29570. - description: 合同ID(SpotContractId)
  29571. in: query
  29572. name: contractid
  29573. type: string
  29574. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29575. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29576. in: query
  29577. name: status
  29578. type: string
  29579. - description: 是否只查今日的合同 1-查今日合同
  29580. in: query
  29581. name: istoday
  29582. type: integer
  29583. produces:
  29584. - application/json
  29585. responses:
  29586. "200":
  29587. description: OK
  29588. schema:
  29589. items:
  29590. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29591. type: array
  29592. "500":
  29593. description: Internal Server Error
  29594. schema:
  29595. $ref: '#/definitions/app.Response'
  29596. security:
  29597. - ApiKeyAuth: []
  29598. summary: 查询合同(采购/销售)
  29599. tags:
  29600. - 企业风险管理v3(app)
  29601. /Ermcp3/QuerySpotGoodsPrice:
  29602. get:
  29603. parameters:
  29604. - description: 用户ID
  29605. in: query
  29606. name: userid
  29607. required: true
  29608. type: integer
  29609. produces:
  29610. - application/json
  29611. responses:
  29612. "200":
  29613. description: OK
  29614. schema:
  29615. items:
  29616. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29617. type: array
  29618. "500":
  29619. description: Internal Server Error
  29620. schema:
  29621. $ref: '#/definitions/app.Response'
  29622. security:
  29623. - ApiKeyAuth: []
  29624. summary: 查询现货市价(现货市价)
  29625. tags:
  29626. - 企业风险管理v3(app)
  29627. /Ermcp3/QuerySpotGoodsPriceLog:
  29628. get:
  29629. parameters:
  29630. - description: 用户ID
  29631. in: query
  29632. name: userid
  29633. required: true
  29634. type: integer
  29635. - description: 现货商品ID
  29636. in: query
  29637. name: deliverygoodsid
  29638. required: true
  29639. type: integer
  29640. - description: 品牌ID
  29641. in: query
  29642. name: brandid
  29643. type: integer
  29644. - description: 品类ID
  29645. in: query
  29646. name: wrstandardid
  29647. type: integer
  29648. produces:
  29649. - application/json
  29650. responses:
  29651. "200":
  29652. description: OK
  29653. schema:
  29654. items:
  29655. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29656. type: array
  29657. "500":
  29658. description: Internal Server Error
  29659. schema:
  29660. $ref: '#/definitions/app.Response'
  29661. security:
  29662. - ApiKeyAuth: []
  29663. summary: 查询现货市价详情(现货市价/详情)
  29664. tags:
  29665. - 企业风险管理v3(app)
  29666. /Ermcp3/QuerySubTaaccount:
  29667. get:
  29668. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29669. parameters:
  29670. - description: 母账号id
  29671. in: query
  29672. name: parentaccountid
  29673. type: integer
  29674. - description: 母账号代码
  29675. in: query
  29676. name: parentaccountcode
  29677. type: string
  29678. produces:
  29679. - application/json
  29680. responses:
  29681. "200":
  29682. description: OK
  29683. schema:
  29684. items:
  29685. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29686. type: array
  29687. "500":
  29688. description: Internal Server Error
  29689. schema:
  29690. $ref: '#/definitions/app.Response'
  29691. security:
  29692. - ApiKeyAuth: []
  29693. summary: 查询期货子账户
  29694. tags:
  29695. - 企业风险管理v3(app)
  29696. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29697. get:
  29698. parameters:
  29699. - description: 套期项目ID
  29700. in: query
  29701. name: hedgeditemid
  29702. required: true
  29703. type: integer
  29704. produces:
  29705. - application/json
  29706. responses:
  29707. "200":
  29708. description: OK
  29709. schema:
  29710. items:
  29711. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29712. type: array
  29713. "500":
  29714. description: Internal Server Error
  29715. schema:
  29716. $ref: '#/definitions/app.Response'
  29717. security:
  29718. - ApiKeyAuth: []
  29719. summary: 现货成交明细查询
  29720. tags:
  29721. - 企业风险管理v8
  29722. /Ermcp8/QueryERMCP2HedgedItemspot:
  29723. get:
  29724. parameters:
  29725. - description: 套期项目ID
  29726. in: query
  29727. name: hedgeditemid
  29728. required: true
  29729. type: integer
  29730. produces:
  29731. - application/json
  29732. responses:
  29733. "200":
  29734. description: OK
  29735. schema:
  29736. items:
  29737. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29738. type: array
  29739. "500":
  29740. description: Internal Server Error
  29741. schema:
  29742. $ref: '#/definitions/app.Response'
  29743. security:
  29744. - ApiKeyAuth: []
  29745. summary: 套期计划明细查询
  29746. tags:
  29747. - 企业风险管理v8
  29748. /Ermcp8/QueryERMCPJRLinkPos:
  29749. get:
  29750. parameters:
  29751. - description: 套期项目ID
  29752. in: query
  29753. name: hedgeditemid
  29754. required: true
  29755. type: integer
  29756. produces:
  29757. - application/json
  29758. responses:
  29759. "200":
  29760. description: OK
  29761. schema:
  29762. items:
  29763. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29764. type: array
  29765. "500":
  29766. description: Internal Server Error
  29767. schema:
  29768. $ref: '#/definitions/app.Response'
  29769. security:
  29770. - ApiKeyAuth: []
  29771. summary: 期货持仓明细查询
  29772. tags:
  29773. - 企业风险管理v8
  29774. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29775. get:
  29776. parameters:
  29777. - description: 套期项目ID
  29778. in: query
  29779. name: hedgeditemid
  29780. required: true
  29781. type: integer
  29782. produces:
  29783. - application/json
  29784. responses:
  29785. "200":
  29786. description: OK
  29787. schema:
  29788. items:
  29789. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29790. type: array
  29791. "500":
  29792. description: Internal Server Error
  29793. schema:
  29794. $ref: '#/definitions/app.Response'
  29795. security:
  29796. - ApiKeyAuth: []
  29797. summary: 期货成交单明细查询
  29798. tags:
  29799. - 企业风险管理v8
  29800. /Ermcp8/QueryErmcp2AreaExposure:
  29801. get:
  29802. parameters:
  29803. - description: 用户ID
  29804. in: query
  29805. name: userid
  29806. required: true
  29807. type: string
  29808. produces:
  29809. - application/json
  29810. responses:
  29811. "200":
  29812. description: OK
  29813. schema:
  29814. items:
  29815. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29816. type: array
  29817. "500":
  29818. description: Internal Server Error
  29819. schema:
  29820. $ref: '#/definitions/app.Response'
  29821. security:
  29822. - ApiKeyAuth: []
  29823. summary: 企业敞口查询
  29824. tags:
  29825. - 企业风险管理v8
  29826. /Ermcp8/QueryErmcp2HedgedItem:
  29827. get:
  29828. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29829. parameters:
  29830. - description: 用户ID
  29831. in: query
  29832. name: userid
  29833. required: true
  29834. type: string
  29835. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29836. in: query
  29837. name: hedgedtype
  29838. type: integer
  29839. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29840. in: query
  29841. name: hedgeditemstatus
  29842. type: integer
  29843. produces:
  29844. - application/json
  29845. responses:
  29846. "200":
  29847. description: OK
  29848. schema:
  29849. items:
  29850. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29851. type: array
  29852. "500":
  29853. description: Internal Server Error
  29854. schema:
  29855. $ref: '#/definitions/app.Response'
  29856. security:
  29857. - ApiKeyAuth: []
  29858. summary: 查询被套期项目信息
  29859. tags:
  29860. - 企业风险管理v8
  29861. /Ermcp8/QueryErmcp2HedgedItemLink:
  29862. get:
  29863. parameters:
  29864. - description: 现货合同ID
  29865. in: query
  29866. name: spotcontractid
  29867. required: true
  29868. type: integer
  29869. produces:
  29870. - application/json
  29871. responses:
  29872. "200":
  29873. description: OK
  29874. schema:
  29875. items:
  29876. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29877. type: array
  29878. "500":
  29879. description: Internal Server Error
  29880. schema:
  29881. $ref: '#/definitions/app.Response'
  29882. security:
  29883. - ApiKeyAuth: []
  29884. summary: 现货合同关联被套期项目查询
  29885. tags:
  29886. - 企业风险管理v8
  29887. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29888. get:
  29889. parameters:
  29890. - description: 用户ID
  29891. in: query
  29892. name: userid
  29893. required: true
  29894. type: integer
  29895. - description: 套保品种ID
  29896. in: query
  29897. name: middlegoodsid
  29898. required: true
  29899. type: integer
  29900. produces:
  29901. - application/json
  29902. responses:
  29903. "200":
  29904. description: OK
  29905. schema:
  29906. items:
  29907. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29908. type: array
  29909. "500":
  29910. description: Internal Server Error
  29911. schema:
  29912. $ref: '#/definitions/app.Response'
  29913. security:
  29914. - ApiKeyAuth: []
  29915. summary: 敞口明细 - 计划变动明细
  29916. tags:
  29917. - 企业风险管理v8
  29918. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29919. get:
  29920. parameters:
  29921. - description: 用户ID
  29922. in: query
  29923. name: userid
  29924. required: true
  29925. type: integer
  29926. - description: 套保品种ID
  29927. in: query
  29928. name: middlegoodsid
  29929. required: true
  29930. type: integer
  29931. produces:
  29932. - application/json
  29933. responses:
  29934. "200":
  29935. description: OK
  29936. schema:
  29937. items:
  29938. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29939. type: array
  29940. "500":
  29941. description: Internal Server Error
  29942. schema:
  29943. $ref: '#/definitions/app.Response'
  29944. security:
  29945. - ApiKeyAuth: []
  29946. summary: 敞口明细 - 现货变动明细查询
  29947. tags:
  29948. - 企业风险管理v8
  29949. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29950. get:
  29951. parameters:
  29952. - description: 用户ID
  29953. in: query
  29954. name: userid
  29955. required: true
  29956. type: integer
  29957. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29958. in: query
  29959. name: spottype
  29960. required: true
  29961. type: integer
  29962. - description: 现货商品ID
  29963. in: query
  29964. name: wrstandardid
  29965. type: integer
  29966. produces:
  29967. - application/json
  29968. responses:
  29969. "200":
  29970. description: OK
  29971. schema:
  29972. items:
  29973. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29974. type: array
  29975. "500":
  29976. description: Internal Server Error
  29977. schema:
  29978. $ref: '#/definitions/app.Response'
  29979. security:
  29980. - ApiKeyAuth: []
  29981. summary: 可关联项目查询
  29982. tags:
  29983. - 企业风险管理v8
  29984. /Ermcp8/QueryErmcp8HedgeditemReport:
  29985. get:
  29986. parameters:
  29987. - description: 用户ID
  29988. in: query
  29989. name: userid
  29990. required: true
  29991. type: integer
  29992. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29993. in: query
  29994. name: cycletype
  29995. type: integer
  29996. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29997. 全(0)【原值】
  29998. in: query
  29999. name: cycletime
  30000. required: true
  30001. type: string
  30002. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  30003. in: query
  30004. name: hedgedtype
  30005. type: integer
  30006. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  30007. in: query
  30008. name: hedgeditemstatus
  30009. type: integer
  30010. - description: 项目编号,模糊查询
  30011. in: query
  30012. name: hedgeditemnum
  30013. type: string
  30014. - description: 现货商品ID
  30015. in: query
  30016. name: wrstandardid
  30017. type: integer
  30018. produces:
  30019. - application/json
  30020. responses:
  30021. "200":
  30022. description: OK
  30023. schema:
  30024. items:
  30025. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  30026. type: array
  30027. "500":
  30028. description: Internal Server Error
  30029. schema:
  30030. $ref: '#/definitions/app.Response'
  30031. security:
  30032. - ApiKeyAuth: []
  30033. summary: 套期项目报表查询
  30034. tags:
  30035. - 企业风险管理v8
  30036. /Ermcp8/QueryErmcp8RunningHedgeditem:
  30037. get:
  30038. parameters:
  30039. - description: 用户ID
  30040. in: query
  30041. name: userid
  30042. required: true
  30043. type: string
  30044. produces:
  30045. - application/json
  30046. responses:
  30047. "200":
  30048. description: OK
  30049. schema:
  30050. items:
  30051. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30052. type: array
  30053. "500":
  30054. description: Internal Server Error
  30055. schema:
  30056. $ref: '#/definitions/app.Response'
  30057. security:
  30058. - ApiKeyAuth: []
  30059. summary: 查询执行中项目查询信息
  30060. tags:
  30061. - 企业风险管理v8
  30062. /Ermcp8/QueryInternalEnableTradeDetail:
  30063. get:
  30064. parameters:
  30065. - description: 企业ID
  30066. in: query
  30067. name: areauserid
  30068. required: true
  30069. type: integer
  30070. - description: 期货合约ID
  30071. in: query
  30072. name: goodsid
  30073. required: true
  30074. type: integer
  30075. - description: 交易用户ID
  30076. in: query
  30077. name: tradeuserid
  30078. required: true
  30079. type: integer
  30080. produces:
  30081. - application/json
  30082. responses:
  30083. "200":
  30084. description: OK
  30085. schema:
  30086. items:
  30087. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30088. type: array
  30089. "500":
  30090. description: Internal Server Error
  30091. schema:
  30092. $ref: '#/definitions/app.Response'
  30093. security:
  30094. - ApiKeyAuth: []
  30095. summary: 内部成交单可关联项目查询
  30096. tags:
  30097. - 企业风险管理v8
  30098. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30099. get:
  30100. parameters:
  30101. - description: 用户编号
  30102. in: query
  30103. name: userid
  30104. required: true
  30105. type: integer
  30106. - description: 起始日期(格式yyyymmdd)
  30107. in: query
  30108. name: begindate
  30109. type: string
  30110. - description: 终止日期(格式yyyymmdd)
  30111. in: query
  30112. name: enddate
  30113. type: string
  30114. - description: 合约代码
  30115. in: query
  30116. name: goodscode
  30117. type: string
  30118. - description: 合约名称
  30119. in: query
  30120. name: goodsname
  30121. type: string
  30122. - description: 成交单号
  30123. in: query
  30124. name: tradeid
  30125. type: integer
  30126. - description: 方向 - 0:买 1:卖
  30127. in: query
  30128. name: buyorsell
  30129. type: integer
  30130. - description: 套期主体
  30131. in: query
  30132. name: accountname
  30133. type: string
  30134. produces:
  30135. - application/json
  30136. responses:
  30137. "200":
  30138. description: OK
  30139. schema:
  30140. items:
  30141. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30142. type: array
  30143. "500":
  30144. description: Internal Server Error
  30145. schema:
  30146. $ref: '#/definitions/app.Response'
  30147. security:
  30148. - ApiKeyAuth: []
  30149. summary: 内部未关联成交单查询
  30150. tags:
  30151. - 企业风险管理v8
  30152. /Ermcp8/QueryMarketCalendar:
  30153. get:
  30154. parameters:
  30155. - description: 市场ID
  30156. in: query
  30157. name: marketid
  30158. type: integer
  30159. produces:
  30160. - application/json
  30161. responses:
  30162. "200":
  30163. description: OK
  30164. schema:
  30165. items:
  30166. $ref: '#/definitions/models.Marketcalendar'
  30167. type: array
  30168. "500":
  30169. description: Internal Server Error
  30170. schema:
  30171. $ref: '#/definitions/app.Response'
  30172. security:
  30173. - ApiKeyAuth: []
  30174. summary: 市场节假日查询
  30175. tags:
  30176. - 企业风险管理v8
  30177. /Ermcp8/QueryPatradeLinkDetail:
  30178. get:
  30179. parameters:
  30180. - description: 用户ID
  30181. in: query
  30182. name: userid
  30183. required: true
  30184. type: integer
  30185. - description: 套保品种ID
  30186. in: query
  30187. name: middlegoodsid
  30188. required: true
  30189. type: integer
  30190. produces:
  30191. - application/json
  30192. responses:
  30193. "200":
  30194. description: OK
  30195. schema:
  30196. items:
  30197. $ref: '#/definitions/models.Patradelinkdetail'
  30198. type: array
  30199. "500":
  30200. description: Internal Server Error
  30201. schema:
  30202. $ref: '#/definitions/app.Response'
  30203. security:
  30204. - ApiKeyAuth: []
  30205. summary: 敞口明细 - 期货变动明细
  30206. tags:
  30207. - 企业风险管理v8
  30208. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30209. get:
  30210. parameters:
  30211. - description: 企业ID
  30212. in: query
  30213. name: areauserid
  30214. required: true
  30215. type: integer
  30216. - description: 计划类型 - 1:采购 -1:销售
  30217. in: query
  30218. name: contracttype
  30219. type: integer
  30220. - description: 计划编号,模糊查询
  30221. in: query
  30222. name: hedgeplanno
  30223. type: string
  30224. - description: 现货商品,模糊查询
  30225. in: query
  30226. name: wrstandardname
  30227. type: string
  30228. produces:
  30229. - application/json
  30230. responses:
  30231. "200":
  30232. description: OK
  30233. schema:
  30234. items:
  30235. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30236. type: array
  30237. "500":
  30238. description: Internal Server Error
  30239. schema:
  30240. $ref: '#/definitions/app.Response'
  30241. security:
  30242. - ApiKeyAuth: []
  30243. summary: 未关联购销计划
  30244. tags:
  30245. - 企业风险管理v8
  30246. /Ermcp8/QueryUnLinkSpotContract:
  30247. get:
  30248. parameters:
  30249. - description: 用户ID
  30250. in: query
  30251. name: userid
  30252. required: true
  30253. type: integer
  30254. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30255. in: query
  30256. name: pricetype
  30257. type: integer
  30258. - description: 合同编号, 模拟查询
  30259. in: query
  30260. name: contractno
  30261. type: string
  30262. - description: 对手方, 模拟查询
  30263. in: query
  30264. name: customername
  30265. type: string
  30266. - description: 项合同类型 - 1:采购 -1:销售
  30267. in: query
  30268. name: contracttype
  30269. type: integer
  30270. produces:
  30271. - application/json
  30272. responses:
  30273. "200":
  30274. description: OK
  30275. schema:
  30276. items:
  30277. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  30278. type: array
  30279. "500":
  30280. description: Internal Server Error
  30281. schema:
  30282. $ref: '#/definitions/app.Response'
  30283. security:
  30284. - ApiKeyAuth: []
  30285. summary: 未关联合同查询
  30286. tags:
  30287. - 企业风险管理v8
  30288. /Erms2/QueryArbitrageStrategy:
  30289. get:
  30290. parameters:
  30291. - description: 账户ID
  30292. in: query
  30293. name: userid
  30294. required: true
  30295. type: integer
  30296. - description: 商品组ID(品种ID)
  30297. in: query
  30298. name: goodsgroupid
  30299. type: string
  30300. produces:
  30301. - application/json
  30302. responses:
  30303. "200":
  30304. description: OK
  30305. schema:
  30306. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30307. "500":
  30308. description: Internal Server Error
  30309. schema:
  30310. $ref: '#/definitions/app.Response'
  30311. security:
  30312. - ApiKeyAuth: []
  30313. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30314. tags:
  30315. - 风险管理
  30316. /Erms2/QueryInnerTradeDetail:
  30317. get:
  30318. parameters:
  30319. - description: 资金账户
  30320. in: query
  30321. name: accountid
  30322. required: true
  30323. type: integer
  30324. produces:
  30325. - application/json
  30326. responses:
  30327. "200":
  30328. description: OK
  30329. schema:
  30330. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30331. "500":
  30332. description: Internal Server Error
  30333. schema:
  30334. $ref: '#/definitions/app.Response'
  30335. security:
  30336. - ApiKeyAuth: []
  30337. summary: 查询内部成交单信息
  30338. tags:
  30339. - 风险管理
  30340. /Erms2/QuerySpotContract:
  30341. get:
  30342. parameters:
  30343. - description: 策略申请ID
  30344. in: query
  30345. name: asapplyid
  30346. required: true
  30347. type: integer
  30348. - description: 现货合同ID
  30349. in: query
  30350. name: spotcontractid
  30351. type: integer
  30352. produces:
  30353. - application/json
  30354. responses:
  30355. "200":
  30356. description: OK
  30357. schema:
  30358. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30359. "500":
  30360. description: Internal Server Error
  30361. schema:
  30362. $ref: '#/definitions/app.Response'
  30363. security:
  30364. - ApiKeyAuth: []
  30365. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30366. tags:
  30367. - 风险管理
  30368. /Erms3/AddErms2ASApply:
  30369. post:
  30370. parameters:
  30371. - description: 申请参数
  30372. in: body
  30373. name: jsonBody
  30374. required: true
  30375. schema:
  30376. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30377. produces:
  30378. - application/json
  30379. responses:
  30380. "200":
  30381. description: OK
  30382. schema:
  30383. $ref: '#/definitions/app.Response'
  30384. "500":
  30385. description: Internal Server Error
  30386. schema:
  30387. $ref: '#/definitions/app.Response'
  30388. security:
  30389. - ApiKeyAuth: []
  30390. summary: 新增期现套利业务申请
  30391. tags:
  30392. - 风险管理v3
  30393. /Erms3/AddErms2SpotTradeApply:
  30394. post:
  30395. parameters:
  30396. - description: 申请参数
  30397. in: body
  30398. name: jsonBody
  30399. required: true
  30400. schema:
  30401. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30402. produces:
  30403. - application/json
  30404. responses:
  30405. "200":
  30406. description: OK
  30407. schema:
  30408. $ref: '#/definitions/app.Response'
  30409. "500":
  30410. description: Internal Server Error
  30411. schema:
  30412. $ref: '#/definitions/app.Response'
  30413. security:
  30414. - ApiKeyAuth: []
  30415. summary: 新增现货贸易业务申请
  30416. tags:
  30417. - 风险管理v3
  30418. /Erms3/AddSpotContractApply:
  30419. post:
  30420. parameters:
  30421. - description: 申请参数
  30422. in: body
  30423. name: jsonBody
  30424. required: true
  30425. schema:
  30426. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30427. produces:
  30428. - application/json
  30429. responses:
  30430. "200":
  30431. description: OK
  30432. schema:
  30433. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30434. "500":
  30435. description: Internal Server Error
  30436. schema:
  30437. $ref: '#/definitions/app.Response'
  30438. security:
  30439. - ApiKeyAuth: []
  30440. summary: 新增现货合同申请
  30441. tags:
  30442. - 风险管理v3
  30443. /Erms3/AddUserInfoApply:
  30444. post:
  30445. parameters:
  30446. - description: 用户信息
  30447. in: body
  30448. name: jsonBody
  30449. required: true
  30450. schema:
  30451. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30452. produces:
  30453. - application/json
  30454. responses:
  30455. "200":
  30456. description: OK
  30457. schema:
  30458. $ref: '#/definitions/app.Response'
  30459. "500":
  30460. description: Internal Server Error
  30461. schema:
  30462. $ref: '#/definitions/app.Response'
  30463. security:
  30464. - ApiKeyAuth: []
  30465. summary: 新增客户申请
  30466. tags:
  30467. - 风险管理v3
  30468. /Erms3/DeleteUserInfoApply:
  30469. get:
  30470. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30471. parameters:
  30472. - description: 用户ID
  30473. in: query
  30474. name: userID
  30475. required: true
  30476. type: integer
  30477. produces:
  30478. - application/json
  30479. responses:
  30480. "200":
  30481. description: OK
  30482. schema:
  30483. $ref: '#/definitions/app.Response'
  30484. "500":
  30485. description: Internal Server Error
  30486. schema:
  30487. $ref: '#/definitions/app.Response'
  30488. security:
  30489. - ApiKeyAuth: []
  30490. summary: 删除客户申请
  30491. tags:
  30492. - 风险管理v3
  30493. /Erms3/ModifyUserInfoApply:
  30494. post:
  30495. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30496. int, "userstate": 2 }'
  30497. parameters:
  30498. - description: 用户信息
  30499. in: body
  30500. name: jsonBody
  30501. required: true
  30502. schema:
  30503. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30504. produces:
  30505. - application/json
  30506. responses:
  30507. "200":
  30508. description: OK
  30509. schema:
  30510. $ref: '#/definitions/app.Response'
  30511. "500":
  30512. description: Internal Server Error
  30513. schema:
  30514. $ref: '#/definitions/app.Response'
  30515. security:
  30516. - ApiKeyAuth: []
  30517. summary: 修改客户申请
  30518. tags:
  30519. - 风险管理v3
  30520. /Erms3/QueryBusinessInfo:
  30521. get:
  30522. parameters:
  30523. - description: 资金账号ID列表,用逗号分隔
  30524. in: query
  30525. name: accountids
  30526. required: true
  30527. type: string
  30528. - description: 状态,0为未结束 1为已结束
  30529. in: query
  30530. name: status
  30531. required: true
  30532. type: integer
  30533. produces:
  30534. - application/json
  30535. responses:
  30536. "200":
  30537. description: OK
  30538. schema:
  30539. items:
  30540. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30541. type: array
  30542. "500":
  30543. description: Internal Server Error
  30544. schema:
  30545. $ref: '#/definitions/app.Response'
  30546. security:
  30547. - ApiKeyAuth: []
  30548. summary: 查询业务表单数据
  30549. tags:
  30550. - 风险管理v3
  30551. /Erms3/QueryPendingAuditContract:
  30552. get:
  30553. parameters:
  30554. - description: 资金账号ID列表,逗号隔开
  30555. in: query
  30556. name: accountids
  30557. required: true
  30558. type: string
  30559. - description: 合同类型 1-采购 -1-销售
  30560. in: query
  30561. name: contracttype
  30562. required: true
  30563. type: integer
  30564. - description: 合同模式 1-普通 2-回购
  30565. in: query
  30566. name: contractmode
  30567. required: true
  30568. type: integer
  30569. produces:
  30570. - application/json
  30571. responses:
  30572. "200":
  30573. description: OK
  30574. schema:
  30575. items:
  30576. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30577. type: array
  30578. "500":
  30579. description: Internal Server Error
  30580. schema:
  30581. $ref: '#/definitions/app.Response'
  30582. security:
  30583. - ApiKeyAuth: []
  30584. summary: 查询待审核合同
  30585. tags:
  30586. - 风险管理v3
  30587. /Erms3/QueryPendingBusiness:
  30588. get:
  30589. parameters:
  30590. - description: 资金账号ID列表,逗号隔开
  30591. in: query
  30592. name: accountids
  30593. required: true
  30594. type: string
  30595. produces:
  30596. - application/json
  30597. responses:
  30598. "200":
  30599. description: OK
  30600. schema:
  30601. items:
  30602. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30603. type: array
  30604. "500":
  30605. description: Internal Server Error
  30606. schema:
  30607. $ref: '#/definitions/app.Response'
  30608. security:
  30609. - ApiKeyAuth: []
  30610. summary: 查询待审核基差贸易业务
  30611. tags:
  30612. - 风险管理v3
  30613. /Erms3/QuerySpotContractAppleForm:
  30614. get:
  30615. parameters:
  30616. - description: 登录账号
  30617. in: query
  30618. name: loginID
  30619. required: true
  30620. type: integer
  30621. produces:
  30622. - application/json
  30623. responses:
  30624. "200":
  30625. description: OK
  30626. schema:
  30627. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30628. "500":
  30629. description: Internal Server Error
  30630. schema:
  30631. $ref: '#/definitions/app.Response'
  30632. security:
  30633. - ApiKeyAuth: []
  30634. summary: 查询合同申请表单数据
  30635. tags:
  30636. - 风险管理v3
  30637. /Erms3/QuerySpotContractDetail:
  30638. get:
  30639. parameters:
  30640. - description: 资金账号ID列表,用逗号分隔
  30641. in: query
  30642. name: accountids
  30643. required: true
  30644. type: string
  30645. - description: 合同类型,1为采购合同 -1为销售合同
  30646. in: query
  30647. name: contracttype
  30648. required: true
  30649. type: integer
  30650. - description: 合同模式,1为普通合同 2为回购销售合同
  30651. in: query
  30652. name: contractmode
  30653. required: true
  30654. type: integer
  30655. - description: 状态,0为履约中 1为已完成
  30656. in: query
  30657. name: status
  30658. required: true
  30659. type: integer
  30660. produces:
  30661. - application/json
  30662. responses:
  30663. "200":
  30664. description: OK
  30665. schema:
  30666. items:
  30667. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30668. type: array
  30669. "500":
  30670. description: Internal Server Error
  30671. schema:
  30672. $ref: '#/definitions/app.Response'
  30673. security:
  30674. - ApiKeyAuth: []
  30675. summary: 查询合同详细信息
  30676. tags:
  30677. - 风险管理v3
  30678. /Erms3/QueryUserInfoApplies:
  30679. get:
  30680. parameters:
  30681. - description: 页码
  30682. in: query
  30683. name: page
  30684. type: integer
  30685. - description: 每页条数
  30686. in: query
  30687. name: pagesize
  30688. type: integer
  30689. - description: 客户名称,支持模糊查询
  30690. in: query
  30691. name: userName
  30692. type: string
  30693. produces:
  30694. - application/json
  30695. responses:
  30696. "200":
  30697. description: OK
  30698. schema:
  30699. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30700. "500":
  30701. description: Internal Server Error
  30702. schema:
  30703. $ref: '#/definitions/app.Response'
  30704. security:
  30705. - ApiKeyAuth: []
  30706. summary: 客户申请信息查询
  30707. tags:
  30708. - 风险管理v3
  30709. /Erms3/QueryUserInfos:
  30710. get:
  30711. parameters:
  30712. - description: 页码
  30713. in: query
  30714. name: page
  30715. type: integer
  30716. - description: 每页条数
  30717. in: query
  30718. name: pagesize
  30719. type: integer
  30720. - description: 客户名称,支持模糊查询
  30721. in: query
  30722. name: userName
  30723. type: string
  30724. produces:
  30725. - application/json
  30726. responses:
  30727. "200":
  30728. description: OK
  30729. schema:
  30730. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30731. "500":
  30732. description: Internal Server Error
  30733. schema:
  30734. $ref: '#/definitions/app.Response'
  30735. security:
  30736. - ApiKeyAuth: []
  30737. summary: 客户信息查询
  30738. tags:
  30739. - 风险管理v3
  30740. /Ferroalloy/GetSpotGoodsPrice:
  30741. get:
  30742. parameters:
  30743. - description: 页码
  30744. in: query
  30745. name: page
  30746. type: integer
  30747. - description: 每页条数
  30748. in: query
  30749. name: pagesize
  30750. type: integer
  30751. produces:
  30752. - application/json
  30753. responses:
  30754. "200":
  30755. description: OK
  30756. schema:
  30757. items:
  30758. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30759. type: array
  30760. "500":
  30761. description: Internal Server Error
  30762. schema:
  30763. $ref: '#/definitions/app.Response'
  30764. security:
  30765. - ApiKeyAuth: []
  30766. summary: 获取现货行情
  30767. tags:
  30768. - 铁合金
  30769. /Ferroalloy/QueryMyRefer:
  30770. get:
  30771. parameters:
  30772. - description: 用户ID
  30773. in: query
  30774. name: userid
  30775. required: true
  30776. type: integer
  30777. - description: 页码
  30778. in: query
  30779. name: page
  30780. type: integer
  30781. - description: 每页条数
  30782. in: query
  30783. name: pagesize
  30784. type: integer
  30785. produces:
  30786. - application/json
  30787. responses:
  30788. "200":
  30789. description: OK
  30790. schema:
  30791. items:
  30792. $ref: '#/definitions/models.MyRefer'
  30793. type: array
  30794. "500":
  30795. description: Internal Server Error
  30796. schema:
  30797. $ref: '#/definitions/app.Response'
  30798. security:
  30799. - ApiKeyAuth: []
  30800. summary: 查询我的推荐列表
  30801. tags:
  30802. - 铁合金
  30803. /Ferroalloy/QueryMyRegisterMoney:
  30804. get:
  30805. parameters:
  30806. - description: 资金账户
  30807. in: query
  30808. name: accountid
  30809. required: true
  30810. type: integer
  30811. produces:
  30812. - application/json
  30813. responses:
  30814. "200":
  30815. description: OK
  30816. schema:
  30817. items:
  30818. $ref: '#/definitions/models.RegisterMoney'
  30819. type: array
  30820. "500":
  30821. description: Internal Server Error
  30822. schema:
  30823. $ref: '#/definitions/app.Response'
  30824. summary: 查询我的注册红包
  30825. tags:
  30826. - 铁合金
  30827. /Ferroalloy/QuerySpotgoodsPrice:
  30828. get:
  30829. parameters:
  30830. - description: 页码
  30831. in: query
  30832. name: page
  30833. type: integer
  30834. - description: 每页条数
  30835. in: query
  30836. name: pagesize
  30837. type: integer
  30838. produces:
  30839. - application/json
  30840. responses:
  30841. "200":
  30842. description: OK
  30843. schema:
  30844. items:
  30845. $ref: '#/definitions/models.Spotgoodsprice'
  30846. type: array
  30847. "500":
  30848. description: Internal Server Error
  30849. schema:
  30850. $ref: '#/definitions/app.Response'
  30851. security:
  30852. - ApiKeyAuth: []
  30853. summary: 查询行情-现货列表
  30854. tags:
  30855. - 铁合金
  30856. /Ferroalloy/QueryTHJGoodsDetail:
  30857. get:
  30858. parameters:
  30859. - description: 现货商品ID
  30860. in: query
  30861. name: wrstandardid
  30862. required: true
  30863. type: integer
  30864. produces:
  30865. - application/json
  30866. responses:
  30867. "200":
  30868. description: OK
  30869. schema:
  30870. items:
  30871. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30872. type: array
  30873. "500":
  30874. description: Internal Server Error
  30875. schema:
  30876. $ref: '#/definitions/app.Response'
  30877. security:
  30878. - ApiKeyAuth: []
  30879. summary: 查询商品详情
  30880. tags:
  30881. - 铁合金
  30882. /Ferroalloy/QueryTHJListing:
  30883. get:
  30884. parameters:
  30885. - description: 现货商品名称(模糊查询)
  30886. in: query
  30887. name: wrstandardname
  30888. type: string
  30889. - description: 页码
  30890. in: query
  30891. name: page
  30892. type: integer
  30893. - description: 每页条数
  30894. in: query
  30895. name: pagesize
  30896. type: integer
  30897. produces:
  30898. - application/json
  30899. responses:
  30900. "200":
  30901. description: OK
  30902. schema:
  30903. items:
  30904. $ref: '#/definitions/models.THJWrstandard'
  30905. type: array
  30906. "500":
  30907. description: Internal Server Error
  30908. schema:
  30909. $ref: '#/definitions/app.Response'
  30910. security:
  30911. - ApiKeyAuth: []
  30912. summary: 查询供求列表
  30913. tags:
  30914. - 铁合金
  30915. /Ferroalloy/QueryTHJProduct:
  30916. get:
  30917. parameters:
  30918. - description: 用户ID
  30919. in: query
  30920. name: userid
  30921. required: true
  30922. type: integer
  30923. - description: 关注标志 true-已关注 false-未关注
  30924. in: query
  30925. name: favoriteflag
  30926. type: boolean
  30927. - description: 页码
  30928. in: query
  30929. name: page
  30930. type: integer
  30931. - description: 每页条数
  30932. in: query
  30933. name: pagesize
  30934. type: integer
  30935. produces:
  30936. - application/json
  30937. responses:
  30938. "200":
  30939. description: OK
  30940. schema:
  30941. items:
  30942. $ref: '#/definitions/models.THJProduct'
  30943. type: array
  30944. "500":
  30945. description: Internal Server Error
  30946. schema:
  30947. $ref: '#/definitions/app.Response'
  30948. security:
  30949. - ApiKeyAuth: []
  30950. summary: 获取产品介绍列表
  30951. tags:
  30952. - 铁合金
  30953. /Ferroalloy/QueryTHJPromotionIncome:
  30954. get:
  30955. parameters:
  30956. - description: 用户ID
  30957. in: query
  30958. name: userid
  30959. required: true
  30960. type: integer
  30961. - description: 状态 - 0:全部 1:已支付 2:未支付
  30962. in: query
  30963. name: profitstatus
  30964. type: integer
  30965. - description: 页码
  30966. in: query
  30967. name: page
  30968. type: integer
  30969. - description: 每页条数
  30970. in: query
  30971. name: pagesize
  30972. type: integer
  30973. produces:
  30974. - application/json
  30975. responses:
  30976. "200":
  30977. description: OK
  30978. schema:
  30979. items:
  30980. $ref: '#/definitions/models.PromotionIncome'
  30981. type: array
  30982. "500":
  30983. description: Internal Server Error
  30984. schema:
  30985. $ref: '#/definitions/app.Response'
  30986. security:
  30987. - ApiKeyAuth: []
  30988. summary: 查询我的推广-推广收益
  30989. tags:
  30990. - 铁合金
  30991. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  30992. get:
  30993. parameters:
  30994. - description: 用户ID
  30995. in: query
  30996. name: userid
  30997. required: true
  30998. type: integer
  30999. - description: 月份,格式:yyyymm
  31000. in: query
  31001. name: mouth
  31002. required: true
  31003. type: string
  31004. - description: 页码
  31005. in: query
  31006. name: page
  31007. type: integer
  31008. - description: 每页条数
  31009. in: query
  31010. name: pagesize
  31011. type: integer
  31012. produces:
  31013. - application/json
  31014. responses:
  31015. "200":
  31016. description: OK
  31017. schema:
  31018. items:
  31019. $ref: '#/definitions/models.PromotionIncomeDetail'
  31020. type: array
  31021. "500":
  31022. description: Internal Server Error
  31023. schema:
  31024. $ref: '#/definitions/app.Response'
  31025. security:
  31026. - ApiKeyAuth: []
  31027. summary: 查询我的推广-推广收益-明细
  31028. tags:
  31029. - 铁合金
  31030. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  31031. get:
  31032. parameters:
  31033. - description: 用户ID
  31034. in: query
  31035. name: userid
  31036. required: true
  31037. type: integer
  31038. - description: 类型 - 0:未完成 1:已完成
  31039. in: query
  31040. name: type
  31041. type: integer
  31042. - description: 页码
  31043. in: query
  31044. name: page
  31045. type: integer
  31046. - description: 每页条数
  31047. in: query
  31048. name: pagesize
  31049. type: integer
  31050. produces:
  31051. - application/json
  31052. responses:
  31053. "200":
  31054. description: OK
  31055. schema:
  31056. items:
  31057. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31058. type: array
  31059. "500":
  31060. description: Internal Server Error
  31061. schema:
  31062. $ref: '#/definitions/app.Response'
  31063. security:
  31064. - ApiKeyAuth: []
  31065. summary: 查询我的订单-采购订单
  31066. tags:
  31067. - 铁合金
  31068. /Ferroalloy/QueryTHJPurchaseTransfer:
  31069. get:
  31070. parameters:
  31071. - description: 现货商品名称(模糊查询)
  31072. in: query
  31073. name: wrstandardname
  31074. type: string
  31075. - description: 页码
  31076. in: query
  31077. name: page
  31078. type: integer
  31079. - description: 每页条数
  31080. in: query
  31081. name: pagesize
  31082. type: integer
  31083. produces:
  31084. - application/json
  31085. responses:
  31086. "200":
  31087. description: OK
  31088. schema:
  31089. items:
  31090. $ref: '#/definitions/models.PurchaseTransfer'
  31091. type: array
  31092. "500":
  31093. description: Internal Server Error
  31094. schema:
  31095. $ref: '#/definitions/app.Response'
  31096. security:
  31097. - ApiKeyAuth: []
  31098. summary: 查询合同转让列表
  31099. tags:
  31100. - 铁合金
  31101. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31102. get:
  31103. parameters:
  31104. - description: 现货商品ID
  31105. in: query
  31106. name: wrstandardid
  31107. required: true
  31108. type: integer
  31109. produces:
  31110. - application/json
  31111. responses:
  31112. "200":
  31113. description: OK
  31114. schema:
  31115. items:
  31116. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31117. type: array
  31118. "500":
  31119. description: Internal Server Error
  31120. schema:
  31121. $ref: '#/definitions/app.Response'
  31122. security:
  31123. - ApiKeyAuth: []
  31124. summary: 查询合同转让详情
  31125. tags:
  31126. - 铁合金
  31127. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31128. get:
  31129. parameters:
  31130. - description: 用户ID
  31131. in: query
  31132. name: userid
  31133. required: true
  31134. type: integer
  31135. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31136. in: query
  31137. name: ordertype
  31138. required: true
  31139. type: integer
  31140. - description: 页码
  31141. in: query
  31142. name: page
  31143. type: integer
  31144. - description: 每页条数
  31145. in: query
  31146. name: pagesize
  31147. type: integer
  31148. produces:
  31149. - application/json
  31150. responses:
  31151. "200":
  31152. description: OK
  31153. schema:
  31154. items:
  31155. $ref: '#/definitions/models.Thjpurchasetransfer'
  31156. type: array
  31157. "500":
  31158. description: Internal Server Error
  31159. schema:
  31160. $ref: '#/definitions/app.Response'
  31161. security:
  31162. - ApiKeyAuth: []
  31163. summary: 查询我的订单-转让/受让订单
  31164. tags:
  31165. - 铁合金
  31166. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31167. get:
  31168. parameters:
  31169. - description: 转让单号
  31170. in: query
  31171. name: transferid
  31172. required: true
  31173. type: string
  31174. produces:
  31175. - application/json
  31176. responses:
  31177. "200":
  31178. description: OK
  31179. schema:
  31180. items:
  31181. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31182. type: array
  31183. "500":
  31184. description: Internal Server Error
  31185. schema:
  31186. $ref: '#/definitions/app.Response'
  31187. security:
  31188. - ApiKeyAuth: []
  31189. summary: 查询我的订单-转让/受让订单-详情
  31190. tags:
  31191. - 铁合金
  31192. /Ferroalloy/QueryTHJScoreConfig:
  31193. get:
  31194. parameters:
  31195. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31196. 6:自己供求下单积分 7:抽奖配置'
  31197. in: query
  31198. name: stype
  31199. type: string
  31200. produces:
  31201. - application/json
  31202. responses:
  31203. "200":
  31204. description: OK
  31205. schema:
  31206. items:
  31207. $ref: '#/definitions/models.Thjscoreconfig'
  31208. type: array
  31209. "500":
  31210. description: Internal Server Error
  31211. schema:
  31212. $ref: '#/definitions/app.Response'
  31213. security:
  31214. - ApiKeyAuth: []
  31215. summary: 查询积分配置
  31216. tags:
  31217. - 铁合金
  31218. /Ferroalloy/QueryTHJTradeData:
  31219. get:
  31220. parameters:
  31221. - description: 用户ID
  31222. in: query
  31223. name: userid
  31224. required: true
  31225. type: integer
  31226. - description: 市场ID 采购-64201 供求-65201
  31227. in: query
  31228. name: marketid
  31229. required: true
  31230. type: integer
  31231. - description: 页码
  31232. in: query
  31233. name: page
  31234. type: integer
  31235. - description: 每页条数
  31236. in: query
  31237. name: pagesize
  31238. type: integer
  31239. produces:
  31240. - application/json
  31241. responses:
  31242. "200":
  31243. description: OK
  31244. schema:
  31245. items:
  31246. $ref: '#/definitions/models.THJTradeData'
  31247. type: array
  31248. "500":
  31249. description: Internal Server Error
  31250. schema:
  31251. $ref: '#/definitions/app.Response'
  31252. security:
  31253. - ApiKeyAuth: []
  31254. summary: 获取我的推广-交易数据
  31255. tags:
  31256. - 铁合金
  31257. /Ferroalloy/QueryTHJWrstandard:
  31258. get:
  31259. parameters:
  31260. - description: 现货商品名称(模糊查询)
  31261. in: query
  31262. name: wrstandardname
  31263. type: string
  31264. - description: 页码
  31265. in: query
  31266. name: page
  31267. type: integer
  31268. - description: 每页条数
  31269. in: query
  31270. name: pagesize
  31271. type: integer
  31272. produces:
  31273. - application/json
  31274. responses:
  31275. "200":
  31276. description: OK
  31277. schema:
  31278. items:
  31279. $ref: '#/definitions/models.THJWrstandard'
  31280. type: array
  31281. "500":
  31282. description: Internal Server Error
  31283. schema:
  31284. $ref: '#/definitions/app.Response'
  31285. security:
  31286. - ApiKeyAuth: []
  31287. summary: 查询采购列表
  31288. tags:
  31289. - 铁合金
  31290. /Ferroalloy/QueryTHJWrstandardDetail:
  31291. get:
  31292. parameters:
  31293. - description: 现货商品ID
  31294. in: query
  31295. name: wrstandardid
  31296. required: true
  31297. type: integer
  31298. produces:
  31299. - application/json
  31300. responses:
  31301. "200":
  31302. description: OK
  31303. schema:
  31304. items:
  31305. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31306. type: array
  31307. "500":
  31308. description: Internal Server Error
  31309. schema:
  31310. $ref: '#/definitions/app.Response'
  31311. security:
  31312. - ApiKeyAuth: []
  31313. summary: 查询采购详情
  31314. tags:
  31315. - 铁合金
  31316. /Ferroalloy/QueryThjSpotQuoteConfig:
  31317. get:
  31318. produces:
  31319. - application/json
  31320. responses:
  31321. "200":
  31322. description: OK
  31323. schema:
  31324. items:
  31325. $ref: '#/definitions/models.Thjspotquoteconfig'
  31326. type: array
  31327. "500":
  31328. description: Internal Server Error
  31329. schema:
  31330. $ref: '#/definitions/app.Response'
  31331. summary: 查询现货行情配置表
  31332. tags:
  31333. - 铁合金
  31334. /Ferroalloy/QueryUserLevelInfo:
  31335. get:
  31336. parameters:
  31337. - description: 用户ID
  31338. in: query
  31339. name: userid
  31340. required: true
  31341. type: integer
  31342. produces:
  31343. - application/json
  31344. responses:
  31345. "200":
  31346. description: OK
  31347. schema:
  31348. items:
  31349. $ref: '#/definitions/models.THJUserLevelInfo'
  31350. type: array
  31351. "500":
  31352. description: Internal Server Error
  31353. schema:
  31354. $ref: '#/definitions/app.Response'
  31355. security:
  31356. - ApiKeyAuth: []
  31357. summary: 查询用户等级信息
  31358. tags:
  31359. - 铁合金
  31360. /Ferroalloy/QueryUserScoreLog:
  31361. get:
  31362. parameters:
  31363. - description: 用户ID
  31364. in: query
  31365. name: userid
  31366. required: true
  31367. type: integer
  31368. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31369. 6:自己供求下单积分 7:抽奖配置'
  31370. in: query
  31371. name: stype
  31372. type: string
  31373. - description: 页码
  31374. in: query
  31375. name: page
  31376. type: integer
  31377. - description: 每页条数
  31378. in: query
  31379. name: pagesize
  31380. type: integer
  31381. produces:
  31382. - application/json
  31383. responses:
  31384. "200":
  31385. description: OK
  31386. schema:
  31387. items:
  31388. $ref: '#/definitions/models.GThjuserscorelog'
  31389. type: array
  31390. "500":
  31391. description: Internal Server Error
  31392. schema:
  31393. $ref: '#/definitions/app.Response'
  31394. security:
  31395. - ApiKeyAuth: []
  31396. summary: 查询我的积分流水
  31397. tags:
  31398. - 铁合金
  31399. /Ferroalloy/Signin:
  31400. post:
  31401. parameters:
  31402. - description: 用户签到请求
  31403. in: body
  31404. name: jsonBody
  31405. required: true
  31406. schema:
  31407. $ref: '#/definitions/models.THJSigninReq'
  31408. produces:
  31409. - application/json
  31410. responses:
  31411. "200":
  31412. description: OK
  31413. schema:
  31414. $ref: '#/definitions/models.THJSigninRsp'
  31415. "500":
  31416. description: Internal Server Error
  31417. schema:
  31418. $ref: '#/definitions/app.Response'
  31419. security:
  31420. - ApiKeyAuth: []
  31421. summary: 用户签到
  31422. tags:
  31423. - 铁合金
  31424. /Guangzuan/GZBSFWOrderOperate:
  31425. get:
  31426. parameters:
  31427. - description: 单据ID
  31428. in: query
  31429. name: orderid
  31430. required: true
  31431. type: integer
  31432. produces:
  31433. - application/json
  31434. responses:
  31435. "200":
  31436. description: OK
  31437. schema:
  31438. items:
  31439. $ref: '#/definitions/models.Gzbsfworderoperate'
  31440. type: array
  31441. "500":
  31442. description: Internal Server Error
  31443. schema:
  31444. $ref: '#/definitions/app.Response'
  31445. security:
  31446. - ApiKeyAuth: []
  31447. - LoginID: []
  31448. - Group: []
  31449. summary: 保税服务单据操作信息
  31450. tags:
  31451. - 广钻
  31452. /Guangzuan/GetGoods:
  31453. get:
  31454. parameters:
  31455. - description: 商品编号
  31456. in: query
  31457. name: goodsno
  31458. required: true
  31459. type: string
  31460. produces:
  31461. - application/json
  31462. responses:
  31463. "200":
  31464. description: OK
  31465. schema:
  31466. $ref: '#/definitions/models.GZGoods'
  31467. "500":
  31468. description: Internal Server Error
  31469. schema:
  31470. $ref: '#/definitions/app.Response'
  31471. security:
  31472. - ApiKeyAuth: []
  31473. - LoginID: []
  31474. - Group: []
  31475. summary: 获取钻石详情
  31476. tags:
  31477. - 广钻
  31478. /Guangzuan/GzCertAddressConfig:
  31479. get:
  31480. produces:
  31481. - application/json
  31482. responses:
  31483. "200":
  31484. description: OK
  31485. schema:
  31486. items:
  31487. $ref: '#/definitions/models.Gzcertaddressconfig'
  31488. type: array
  31489. "500":
  31490. description: Internal Server Error
  31491. schema:
  31492. $ref: '#/definitions/app.Response'
  31493. security:
  31494. - ApiKeyAuth: []
  31495. - LoginID: []
  31496. - Group: []
  31497. summary: Rapaport最新报价表(广钻)
  31498. tags:
  31499. - 广钻
  31500. /Guangzuan/GzCertAddressParam:
  31501. get:
  31502. produces:
  31503. - application/json
  31504. responses:
  31505. "200":
  31506. description: OK
  31507. schema:
  31508. items:
  31509. $ref: '#/definitions/models.Gzcertaddressparam'
  31510. type: array
  31511. "500":
  31512. description: Internal Server Error
  31513. schema:
  31514. $ref: '#/definitions/app.Response'
  31515. security:
  31516. - ApiKeyAuth: []
  31517. - LoginID: []
  31518. - Group: []
  31519. summary: 钻石证书地址参数
  31520. tags:
  31521. - 广钻
  31522. /Guangzuan/HomeData:
  31523. get:
  31524. parameters:
  31525. - description: 用户ID
  31526. in: query
  31527. name: userid
  31528. required: true
  31529. type: integer
  31530. produces:
  31531. - application/json
  31532. responses:
  31533. "200":
  31534. description: OK
  31535. schema:
  31536. $ref: '#/definitions/models.GZHomeData'
  31537. "500":
  31538. description: Internal Server Error
  31539. schema:
  31540. $ref: '#/definitions/app.Response'
  31541. security:
  31542. - ApiKeyAuth: []
  31543. - LoginID: []
  31544. - Group: []
  31545. summary: 首页统计数据
  31546. tags:
  31547. - 广钻
  31548. /Guangzuan/PriceCalc:
  31549. get:
  31550. parameters:
  31551. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31552. in: query
  31553. name: zsshape
  31554. required: true
  31555. type: integer
  31556. - description: 颜色(D-M)
  31557. in: query
  31558. name: zscolor
  31559. required: true
  31560. type: string
  31561. - description: 净度
  31562. in: query
  31563. name: zsclarity
  31564. required: true
  31565. type: string
  31566. - description: 重量
  31567. in: query
  31568. name: weight
  31569. required: true
  31570. type: number
  31571. - description: 汇率
  31572. in: query
  31573. name: rate
  31574. required: true
  31575. type: number
  31576. - description: 折扣(%), 方向(加:10, 减:-10 )
  31577. in: query
  31578. name: discount
  31579. type: number
  31580. produces:
  31581. - application/json
  31582. responses:
  31583. "200":
  31584. description: OK
  31585. schema:
  31586. items:
  31587. $ref: '#/definitions/models.Gzrapaportprice'
  31588. type: array
  31589. "500":
  31590. description: Internal Server Error
  31591. schema:
  31592. $ref: '#/definitions/app.Response'
  31593. security:
  31594. - ApiKeyAuth: []
  31595. - LoginID: []
  31596. - Group: []
  31597. summary: 钻石价格计算器
  31598. tags:
  31599. - 广钻
  31600. /Guangzuan/QueryBuyOrder:
  31601. get:
  31602. parameters:
  31603. - description: 页码
  31604. in: query
  31605. name: page
  31606. type: integer
  31607. - description: 每页条数
  31608. in: query
  31609. name: pagesize
  31610. type: integer
  31611. - description: 商品(查询字段-模糊查询)
  31612. in: query
  31613. name: zsallproperties
  31614. type: string
  31615. - description: 钻石分类, 格式:1,2,3
  31616. in: query
  31617. name: zscategorys
  31618. type: string
  31619. - description: 委托单号
  31620. in: query
  31621. name: wrtradeorderid
  31622. type: integer
  31623. - description: 买方(查询字段-模糊查询)
  31624. in: query
  31625. name: buyusername
  31626. type: string
  31627. produces:
  31628. - application/json
  31629. responses:
  31630. "200":
  31631. description: OK
  31632. schema:
  31633. items:
  31634. $ref: '#/definitions/models.BuyOrder'
  31635. type: array
  31636. "500":
  31637. description: Internal Server Error
  31638. schema:
  31639. $ref: '#/definitions/app.Response'
  31640. security:
  31641. - ApiKeyAuth: []
  31642. - LoginID: []
  31643. - Group: []
  31644. summary: 查询求购大厅委托单
  31645. tags:
  31646. - 广钻
  31647. /Guangzuan/QueryDiamond:
  31648. post:
  31649. parameters:
  31650. - description: 钻石搜索入参
  31651. in: body
  31652. name: data
  31653. required: true
  31654. schema:
  31655. $ref: '#/definitions/models.SellOrderQueryReq'
  31656. produces:
  31657. - application/json
  31658. responses:
  31659. "200":
  31660. description: OK
  31661. schema:
  31662. items:
  31663. $ref: '#/definitions/models.SellOrder'
  31664. type: array
  31665. "500":
  31666. description: Internal Server Error
  31667. schema:
  31668. $ref: '#/definitions/app.Response'
  31669. security:
  31670. - ApiKeyAuth: []
  31671. - LoginID: []
  31672. - Group: []
  31673. summary: 钻石搜索
  31674. tags:
  31675. - 广钻
  31676. /Guangzuan/QueryFworderoperate:
  31677. get:
  31678. parameters:
  31679. - description: 单据ID
  31680. in: query
  31681. name: orderid
  31682. required: true
  31683. type: string
  31684. - description: 操作后单据状态
  31685. in: query
  31686. name: status
  31687. required: true
  31688. type: integer
  31689. produces:
  31690. - application/json
  31691. responses:
  31692. "200":
  31693. description: OK
  31694. schema:
  31695. items:
  31696. $ref: '#/definitions/models.Fworderoperate'
  31697. type: array
  31698. "500":
  31699. description: Internal Server Error
  31700. schema:
  31701. $ref: '#/definitions/app.Response'
  31702. security:
  31703. - ApiKeyAuth: []
  31704. - LoginID: []
  31705. - Group: []
  31706. summary: 查询保税服务单据操作
  31707. tags:
  31708. - 广钻
  31709. /Guangzuan/QueryGZBSFWOrder:
  31710. get:
  31711. parameters:
  31712. - description: 用户ID
  31713. in: query
  31714. name: userid
  31715. required: true
  31716. type: integer
  31717. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31718. in: query
  31719. name: executestatus
  31720. type: integer
  31721. - description: 页码
  31722. in: query
  31723. name: page
  31724. type: integer
  31725. - description: 每页条数
  31726. in: query
  31727. name: pagesize
  31728. type: integer
  31729. produces:
  31730. - application/json
  31731. responses:
  31732. "200":
  31733. description: OK
  31734. schema:
  31735. items:
  31736. $ref: '#/definitions/models.GzbsfworderM'
  31737. type: array
  31738. "500":
  31739. description: Internal Server Error
  31740. schema:
  31741. $ref: '#/definitions/app.Response'
  31742. security:
  31743. - ApiKeyAuth: []
  31744. - LoginID: []
  31745. - Group: []
  31746. summary: 查询保税服务单据
  31747. tags:
  31748. - 广钻
  31749. /Guangzuan/QueryGZBSFWOrderDetail:
  31750. get:
  31751. parameters:
  31752. - description: 用户ID
  31753. in: query
  31754. name: userid
  31755. required: true
  31756. type: integer
  31757. - description: 单据ID
  31758. in: query
  31759. name: orderid
  31760. type: string
  31761. - description: 页码
  31762. in: query
  31763. name: page
  31764. type: integer
  31765. - description: 每页条数
  31766. in: query
  31767. name: pagesize
  31768. type: integer
  31769. produces:
  31770. - application/json
  31771. responses:
  31772. "200":
  31773. description: OK
  31774. schema:
  31775. items:
  31776. $ref: '#/definitions/models.GzbsfworderdetailM'
  31777. type: array
  31778. "500":
  31779. description: Internal Server Error
  31780. schema:
  31781. $ref: '#/definitions/app.Response'
  31782. security:
  31783. - ApiKeyAuth: []
  31784. - LoginID: []
  31785. - Group: []
  31786. summary: 查询保税服务单据明细
  31787. tags:
  31788. - 广钻
  31789. /Guangzuan/QueryGZCJBSOrderFile:
  31790. get:
  31791. parameters:
  31792. - description: 单据ID
  31793. in: query
  31794. name: orderid
  31795. required: true
  31796. type: integer
  31797. - description: 页码
  31798. in: query
  31799. name: page
  31800. type: integer
  31801. - description: 每页条数
  31802. in: query
  31803. name: pagesize
  31804. type: integer
  31805. produces:
  31806. - application/json
  31807. responses:
  31808. "200":
  31809. description: OK
  31810. schema:
  31811. items:
  31812. $ref: '#/definitions/models.GzcjbsorderfileM'
  31813. type: array
  31814. "500":
  31815. description: Internal Server Error
  31816. schema:
  31817. $ref: '#/definitions/app.Response'
  31818. security:
  31819. - ApiKeyAuth: []
  31820. - LoginID: []
  31821. - Group: []
  31822. summary: 出境保税单据文件
  31823. tags:
  31824. - 广钻
  31825. /Guangzuan/QueryGZCJJCOrder:
  31826. get:
  31827. parameters:
  31828. - description: 用户ID
  31829. in: query
  31830. name: userid
  31831. required: true
  31832. type: integer
  31833. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31834. in: query
  31835. name: executestatus
  31836. type: integer
  31837. - description: 页码
  31838. in: query
  31839. name: page
  31840. type: integer
  31841. - description: 每页条数
  31842. in: query
  31843. name: pagesize
  31844. type: integer
  31845. produces:
  31846. - application/json
  31847. responses:
  31848. "200":
  31849. description: OK
  31850. schema:
  31851. items:
  31852. $ref: '#/definitions/models.GzcjjcorderM'
  31853. type: array
  31854. "500":
  31855. description: Internal Server Error
  31856. schema:
  31857. $ref: '#/definitions/app.Response'
  31858. security:
  31859. - ApiKeyAuth: []
  31860. - LoginID: []
  31861. - Group: []
  31862. summary: 查询出境检测单据
  31863. tags:
  31864. - 广钻
  31865. /Guangzuan/QueryGZCJJCOrderDetail:
  31866. get:
  31867. parameters:
  31868. - description: 用户ID
  31869. in: query
  31870. name: userid
  31871. required: true
  31872. type: integer
  31873. - description: 单据ID
  31874. in: query
  31875. name: orderid
  31876. type: string
  31877. - description: 页码
  31878. in: query
  31879. name: page
  31880. type: integer
  31881. - description: 每页条数
  31882. in: query
  31883. name: pagesize
  31884. type: integer
  31885. produces:
  31886. - application/json
  31887. responses:
  31888. "200":
  31889. description: OK
  31890. schema:
  31891. items:
  31892. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31893. type: array
  31894. "500":
  31895. description: Internal Server Error
  31896. schema:
  31897. $ref: '#/definitions/app.Response'
  31898. security:
  31899. - ApiKeyAuth: []
  31900. - LoginID: []
  31901. - Group: []
  31902. summary: 查询出境检测单据明细(批次信息)
  31903. tags:
  31904. - 广钻
  31905. /Guangzuan/QueryGzcjjcorderoperate:
  31906. get:
  31907. parameters:
  31908. - description: 单据ID
  31909. in: query
  31910. name: orderid
  31911. required: true
  31912. type: string
  31913. - description: 操作后单据状态
  31914. in: query
  31915. name: status
  31916. required: true
  31917. type: integer
  31918. produces:
  31919. - application/json
  31920. responses:
  31921. "200":
  31922. description: OK
  31923. schema:
  31924. items:
  31925. $ref: '#/definitions/models.Gzcjjcorderoperate'
  31926. type: array
  31927. "500":
  31928. description: Internal Server Error
  31929. schema:
  31930. $ref: '#/definitions/app.Response'
  31931. security:
  31932. - ApiKeyAuth: []
  31933. - LoginID: []
  31934. - Group: []
  31935. summary: 查询出境检测单据操作
  31936. tags:
  31937. - 广钻
  31938. /Guangzuan/QueryMemberReport:
  31939. get:
  31940. parameters:
  31941. - description: 用户ID
  31942. in: query
  31943. name: userid
  31944. required: true
  31945. type: integer
  31946. - description: 页码
  31947. in: query
  31948. name: page
  31949. type: integer
  31950. - description: 每页条数
  31951. in: query
  31952. name: pagesize
  31953. type: integer
  31954. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31955. in: query
  31956. name: cycletype
  31957. type: string
  31958. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31959. in: query
  31960. name: begindate
  31961. required: true
  31962. type: string
  31963. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31964. in: query
  31965. name: enddate
  31966. required: true
  31967. type: string
  31968. produces:
  31969. - application/json
  31970. responses:
  31971. "200":
  31972. description: OK
  31973. schema:
  31974. items:
  31975. $ref: '#/definitions/models.Reckondaytaaccount'
  31976. type: array
  31977. "500":
  31978. description: Internal Server Error
  31979. schema:
  31980. $ref: '#/definitions/app.Response'
  31981. security:
  31982. - ApiKeyAuth: []
  31983. - LoginID: []
  31984. - Group: []
  31985. summary: 查询会员报表
  31986. tags:
  31987. - 广钻
  31988. /Guangzuan/QueryMyBargainApply:
  31989. get:
  31990. parameters:
  31991. - description: 用户ID
  31992. in: query
  31993. name: userid
  31994. required: true
  31995. type: integer
  31996. - description: 页码
  31997. in: query
  31998. name: page
  31999. type: integer
  32000. - description: 每页条数
  32001. in: query
  32002. name: pagesize
  32003. type: integer
  32004. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32005. in: query
  32006. name: applystatus
  32007. type: integer
  32008. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32009. in: query
  32010. name: type
  32011. type: integer
  32012. - description: 关联委托单ID
  32013. in: query
  32014. name: wrtradeorderid
  32015. type: string
  32016. produces:
  32017. - application/json
  32018. responses:
  32019. "200":
  32020. description: OK
  32021. schema:
  32022. items:
  32023. $ref: '#/definitions/models.MyBargainApply'
  32024. type: array
  32025. "500":
  32026. description: Internal Server Error
  32027. schema:
  32028. $ref: '#/definitions/app.Response'
  32029. security:
  32030. - ApiKeyAuth: []
  32031. - LoginID: []
  32032. - Group: []
  32033. summary: 查询询价-求购
  32034. tags:
  32035. - 广钻
  32036. /Guangzuan/QueryMyBuyOrder:
  32037. get:
  32038. parameters:
  32039. - description: 用户ID
  32040. in: query
  32041. name: userid
  32042. required: true
  32043. type: integer
  32044. - description: 页码
  32045. in: query
  32046. name: page
  32047. type: integer
  32048. - description: 每页条数
  32049. in: query
  32050. name: pagesize
  32051. type: integer
  32052. - description: 商品(查询字段-模糊查询)
  32053. in: query
  32054. name: zsallproperties
  32055. type: string
  32056. - description: 钻石分类, 格式:1,2,3
  32057. in: query
  32058. name: zscategorys
  32059. type: string
  32060. - description: 委托单号
  32061. in: query
  32062. name: wrtradeorderid
  32063. type: integer
  32064. - description: 是否历史查询
  32065. in: query
  32066. name: ishis
  32067. type: boolean
  32068. - description: 开始交易日(yyyymmdd)
  32069. in: query
  32070. name: begindate
  32071. type: string
  32072. - description: 结束交易日(yyyymmdd)
  32073. in: query
  32074. name: enddate
  32075. type: string
  32076. produces:
  32077. - application/json
  32078. responses:
  32079. "200":
  32080. description: OK
  32081. schema:
  32082. items:
  32083. $ref: '#/definitions/models.MyBuyOrder'
  32084. type: array
  32085. "500":
  32086. description: Internal Server Error
  32087. schema:
  32088. $ref: '#/definitions/app.Response'
  32089. security:
  32090. - ApiKeyAuth: []
  32091. - LoginID: []
  32092. - Group: []
  32093. summary: 查询我的求购
  32094. tags:
  32095. - 广钻
  32096. /Guangzuan/QueryMyDeListing:
  32097. get:
  32098. parameters:
  32099. - description: 用户ID
  32100. in: query
  32101. name: userid
  32102. required: true
  32103. type: integer
  32104. - description: 页码
  32105. in: query
  32106. name: page
  32107. type: integer
  32108. - description: 每页条数
  32109. in: query
  32110. name: pagesize
  32111. type: integer
  32112. - description: 商品(查询字段-模糊查询)
  32113. in: query
  32114. name: zsallproperties
  32115. type: string
  32116. - description: 钻石分类, 格式:1,2,3
  32117. in: query
  32118. name: zscategorys
  32119. type: string
  32120. - description: 成交单号
  32121. in: query
  32122. name: wrtradedetailid
  32123. type: integer
  32124. - description: 方向,0-购买 1-出售
  32125. in: query
  32126. name: buyorsell
  32127. type: integer
  32128. - description: 对手方(模糊匹配)
  32129. in: query
  32130. name: matchusername
  32131. type: string
  32132. - description: 开始交易日(yyyymmdd)
  32133. in: query
  32134. name: begindate
  32135. type: string
  32136. - description: 结束交易日(yyyymmdd)
  32137. in: query
  32138. name: enddate
  32139. type: string
  32140. produces:
  32141. - application/json
  32142. responses:
  32143. "200":
  32144. description: OK
  32145. schema:
  32146. items:
  32147. $ref: '#/definitions/models.MyDeListing'
  32148. type: array
  32149. "500":
  32150. description: Internal Server Error
  32151. schema:
  32152. $ref: '#/definitions/app.Response'
  32153. security:
  32154. - ApiKeyAuth: []
  32155. - LoginID: []
  32156. - Group: []
  32157. summary: 查询我的摘牌
  32158. tags:
  32159. - 广钻
  32160. /Guangzuan/QueryMyDelistingApply:
  32161. get:
  32162. parameters:
  32163. - description: 用户ID
  32164. in: query
  32165. name: userid
  32166. required: true
  32167. type: integer
  32168. - description: 页码
  32169. in: query
  32170. name: page
  32171. type: integer
  32172. - description: 每页条数
  32173. in: query
  32174. name: pagesize
  32175. type: integer
  32176. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32177. in: query
  32178. name: applystatus
  32179. type: integer
  32180. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32181. in: query
  32182. name: type
  32183. type: integer
  32184. - description: 买委托单ID
  32185. in: query
  32186. name: buywrtradeorderid
  32187. type: string
  32188. produces:
  32189. - application/json
  32190. responses:
  32191. "200":
  32192. description: OK
  32193. schema:
  32194. items:
  32195. $ref: '#/definitions/models.MyDelistingApply'
  32196. type: array
  32197. "500":
  32198. description: Internal Server Error
  32199. schema:
  32200. $ref: '#/definitions/app.Response'
  32201. security:
  32202. - ApiKeyAuth: []
  32203. - LoginID: []
  32204. - Group: []
  32205. summary: 查询询价-出售
  32206. tags:
  32207. - 广钻
  32208. /Guangzuan/QueryMyFavorite:
  32209. get:
  32210. parameters:
  32211. - description: 用户ID
  32212. in: query
  32213. name: userid
  32214. required: true
  32215. type: integer
  32216. - description: 页码
  32217. in: query
  32218. name: page
  32219. type: integer
  32220. - description: 每页条数
  32221. in: query
  32222. name: pagesize
  32223. type: integer
  32224. - description: 钻石分类, 格式:1,2,3
  32225. in: query
  32226. name: zscategorys
  32227. type: string
  32228. produces:
  32229. - application/json
  32230. responses:
  32231. "200":
  32232. description: OK
  32233. schema:
  32234. items:
  32235. $ref: '#/definitions/models.MyFavorite'
  32236. type: array
  32237. "500":
  32238. description: Internal Server Error
  32239. schema:
  32240. $ref: '#/definitions/app.Response'
  32241. security:
  32242. - ApiKeyAuth: []
  32243. - LoginID: []
  32244. - Group: []
  32245. summary: 查询我的收藏
  32246. tags:
  32247. - 广钻
  32248. /Guangzuan/QueryMyPerformanc:
  32249. get:
  32250. parameters:
  32251. - description: 用户ID
  32252. in: query
  32253. name: userid
  32254. required: true
  32255. type: integer
  32256. - description: 页码
  32257. in: query
  32258. name: page
  32259. type: integer
  32260. - description: 每页条数
  32261. in: query
  32262. name: pagesize
  32263. type: integer
  32264. - description: 商品(查询字段-模糊查询)
  32265. in: query
  32266. name: zsallproperties
  32267. type: string
  32268. - description: 方向,0-买 1-卖
  32269. in: query
  32270. name: buyorsell
  32271. type: integer
  32272. - description: 是否历史查询
  32273. in: query
  32274. name: ishis
  32275. type: boolean
  32276. - description: 开始交易日(yyyymmdd)
  32277. in: query
  32278. name: begindate
  32279. type: string
  32280. - description: 结束交易日(yyyymmdd)
  32281. in: query
  32282. name: enddate
  32283. type: string
  32284. produces:
  32285. - application/json
  32286. responses:
  32287. "200":
  32288. description: OK
  32289. schema:
  32290. items:
  32291. $ref: '#/definitions/models.MyPerformanc'
  32292. type: array
  32293. "500":
  32294. description: Internal Server Error
  32295. schema:
  32296. $ref: '#/definitions/app.Response'
  32297. security:
  32298. - ApiKeyAuth: []
  32299. - LoginID: []
  32300. - Group: []
  32301. summary: 查询我的履约
  32302. tags:
  32303. - 广钻
  32304. /Guangzuan/QueryMySellOrder:
  32305. get:
  32306. parameters:
  32307. - description: 用户ID
  32308. in: query
  32309. name: userid
  32310. required: true
  32311. type: integer
  32312. - description: 页码
  32313. in: query
  32314. name: page
  32315. type: integer
  32316. - description: 每页条数
  32317. in: query
  32318. name: pagesize
  32319. type: integer
  32320. - description: 商品(查询字段-模糊查询)
  32321. in: query
  32322. name: zsallproperties
  32323. type: string
  32324. - description: 钻石分类, 格式:1,2,3
  32325. in: query
  32326. name: zscategorys
  32327. type: string
  32328. - description: 委托单号
  32329. in: query
  32330. name: wrtradeorderid
  32331. type: integer
  32332. - description: 是否历史查询
  32333. in: query
  32334. name: ishis
  32335. type: boolean
  32336. - description: 开始交易日(yyyymmdd)
  32337. in: query
  32338. name: begindate
  32339. type: string
  32340. - description: 结束交易日(yyyymmdd)
  32341. in: query
  32342. name: enddate
  32343. type: string
  32344. produces:
  32345. - application/json
  32346. responses:
  32347. "200":
  32348. description: OK
  32349. schema:
  32350. items:
  32351. $ref: '#/definitions/models.MySellOrder'
  32352. type: array
  32353. "500":
  32354. description: Internal Server Error
  32355. schema:
  32356. $ref: '#/definitions/app.Response'
  32357. security:
  32358. - ApiKeyAuth: []
  32359. - LoginID: []
  32360. - Group: []
  32361. summary: 查询我的出售
  32362. tags:
  32363. - 广钻
  32364. /Guangzuan/QueryMyWRPosition:
  32365. get:
  32366. parameters:
  32367. - description: 页码
  32368. in: query
  32369. name: page
  32370. type: integer
  32371. - description: 每页条数
  32372. in: query
  32373. name: pagesize
  32374. type: integer
  32375. - description: 登录用户ID
  32376. in: query
  32377. name: wruserid
  32378. required: true
  32379. type: integer
  32380. - description: 商品(查询字段-模糊查询)
  32381. in: query
  32382. name: zsallproperties
  32383. type: string
  32384. - description: 钻石分类, 格式:1,2,3
  32385. in: query
  32386. name: zscategorys
  32387. type: string
  32388. - description: 仓库ID
  32389. in: query
  32390. name: warehouseid
  32391. type: integer
  32392. - description: 是否上架,0-全部 1-是 2-否
  32393. in: query
  32394. name: marketflag
  32395. type: integer
  32396. produces:
  32397. - application/json
  32398. responses:
  32399. "200":
  32400. description: OK
  32401. schema:
  32402. items:
  32403. $ref: '#/definitions/models.MyWRPosition'
  32404. type: array
  32405. "500":
  32406. description: Internal Server Error
  32407. schema:
  32408. $ref: '#/definitions/app.Response'
  32409. security:
  32410. - ApiKeyAuth: []
  32411. - LoginID: []
  32412. - Group: []
  32413. summary: 查询我的库存
  32414. tags:
  32415. - 广钻
  32416. /Guangzuan/QuerySellOrder:
  32417. get:
  32418. parameters:
  32419. - description: 页码
  32420. in: query
  32421. name: page
  32422. type: integer
  32423. - description: 每页条数
  32424. in: query
  32425. name: pagesize
  32426. type: integer
  32427. - description: 商品(查询字段-模糊查询)
  32428. in: query
  32429. name: zsallproperties
  32430. type: string
  32431. - description: 钻石分类, 格式:1,2,3
  32432. in: query
  32433. name: zscategorys
  32434. type: string
  32435. - description: 委托单号
  32436. in: query
  32437. name: wrtradeorderid
  32438. type: integer
  32439. - description: 卖方(查询字段-模糊查询)
  32440. in: query
  32441. name: buyusername
  32442. type: string
  32443. produces:
  32444. - application/json
  32445. responses:
  32446. "200":
  32447. description: OK
  32448. schema:
  32449. items:
  32450. $ref: '#/definitions/models.SellOrder'
  32451. type: array
  32452. "500":
  32453. description: Internal Server Error
  32454. schema:
  32455. $ref: '#/definitions/app.Response'
  32456. security:
  32457. - ApiKeyAuth: []
  32458. - LoginID: []
  32459. - Group: []
  32460. summary: 查询出售大厅委托单
  32461. tags:
  32462. - 广钻
  32463. /Guangzuan/QueryTradeReport:
  32464. get:
  32465. parameters:
  32466. - description: 用户ID
  32467. in: query
  32468. name: userid
  32469. required: true
  32470. type: integer
  32471. - description: 页码
  32472. in: query
  32473. name: page
  32474. type: integer
  32475. - description: 每页条数
  32476. in: query
  32477. name: pagesize
  32478. type: integer
  32479. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32480. in: query
  32481. name: cycletype
  32482. type: string
  32483. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32484. in: query
  32485. name: begindate
  32486. required: true
  32487. type: string
  32488. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32489. in: query
  32490. name: enddate
  32491. required: true
  32492. type: string
  32493. - description: 商品分类
  32494. in: query
  32495. name: zscategory
  32496. type: integer
  32497. - description: 商品币种
  32498. in: query
  32499. name: zscurrencytype
  32500. type: integer
  32501. produces:
  32502. - application/json
  32503. responses:
  32504. "200":
  32505. description: OK
  32506. schema:
  32507. items:
  32508. $ref: '#/definitions/models.Reckongzmemtradesum'
  32509. type: array
  32510. "500":
  32511. description: Internal Server Error
  32512. schema:
  32513. $ref: '#/definitions/app.Response'
  32514. security:
  32515. - ApiKeyAuth: []
  32516. - LoginID: []
  32517. - Group: []
  32518. summary: 查询交易报表
  32519. tags:
  32520. - 广钻
  32521. /Guangzuan/QueryWRPositionReport:
  32522. get:
  32523. parameters:
  32524. - description: 用户ID
  32525. in: query
  32526. name: userid
  32527. required: true
  32528. type: integer
  32529. - description: 页码
  32530. in: query
  32531. name: page
  32532. type: integer
  32533. - description: 每页条数
  32534. in: query
  32535. name: pagesize
  32536. type: integer
  32537. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32538. in: query
  32539. name: cycletype
  32540. type: string
  32541. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32542. in: query
  32543. name: begindate
  32544. required: true
  32545. type: string
  32546. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32547. in: query
  32548. name: enddate
  32549. required: true
  32550. type: string
  32551. - description: 商品分类
  32552. in: query
  32553. name: zscategory
  32554. type: integer
  32555. - description: 商品币种
  32556. in: query
  32557. name: zscurrencytype
  32558. type: integer
  32559. produces:
  32560. - application/json
  32561. responses:
  32562. "200":
  32563. description: OK
  32564. schema:
  32565. items:
  32566. $ref: '#/definitions/models.WRPositionReport'
  32567. type: array
  32568. "500":
  32569. description: Internal Server Error
  32570. schema:
  32571. $ref: '#/definitions/app.Response'
  32572. security:
  32573. - ApiKeyAuth: []
  32574. - LoginID: []
  32575. - Group: []
  32576. summary: 查询仓储报表
  32577. tags:
  32578. - 广钻
  32579. /Guangzuan/QueryWarehouseInfo:
  32580. get:
  32581. parameters:
  32582. - description: 页码
  32583. in: query
  32584. name: page
  32585. type: integer
  32586. - description: 每页条数
  32587. in: query
  32588. name: pagesize
  32589. type: integer
  32590. - description: 用户ID
  32591. in: query
  32592. name: userid
  32593. required: true
  32594. type: integer
  32595. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32596. in: query
  32597. name: status
  32598. type: string
  32599. - description: 是返回交易所仓库
  32600. in: query
  32601. name: isincludeexchange
  32602. type: boolean
  32603. produces:
  32604. - application/json
  32605. responses:
  32606. "200":
  32607. description: OK
  32608. schema:
  32609. items:
  32610. $ref: '#/definitions/models.GZWarehouseinfo'
  32611. type: array
  32612. "500":
  32613. description: Internal Server Error
  32614. schema:
  32615. $ref: '#/definitions/app.Response'
  32616. security:
  32617. - ApiKeyAuth: []
  32618. - LoginID: []
  32619. - Group: []
  32620. summary: 查询仓库信息
  32621. tags:
  32622. - 广钻
  32623. /HSBY/GetHsbyMyCount:
  32624. get:
  32625. description: 说明: 不包括已完成的数量。
  32626. parameters:
  32627. - description: 资金账户列表,格式:1,2,3
  32628. in: query
  32629. name: accountIDs
  32630. required: true
  32631. type: string
  32632. produces:
  32633. - application/json
  32634. responses:
  32635. "200":
  32636. description: OK
  32637. schema:
  32638. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32639. "500":
  32640. description: Internal Server Error
  32641. schema:
  32642. $ref: '#/definitions/app.Response'
  32643. security:
  32644. - ApiKeyAuth: []
  32645. summary: 获取我的订单与包裹数量
  32646. tags:
  32647. - 定制【海商报业】
  32648. /HSBY/QueryClientFixedADConfigs:
  32649. get:
  32650. produces:
  32651. - application/json
  32652. responses:
  32653. "200":
  32654. description: OK
  32655. schema:
  32656. $ref: '#/definitions/models.Clientfixedadconfig'
  32657. "500":
  32658. description: Internal Server Error
  32659. schema:
  32660. $ref: '#/definitions/app.Response'
  32661. security:
  32662. - ApiKeyAuth: []
  32663. summary: 获取终端固定广告配置
  32664. tags:
  32665. - 定制【海商报业】
  32666. /HSBY/QueryHsbyBuyMyTradeDetail:
  32667. get:
  32668. parameters:
  32669. - description: 页码
  32670. in: query
  32671. name: page
  32672. type: integer
  32673. - description: 每页条数
  32674. in: query
  32675. name: pagesize
  32676. type: integer
  32677. - description: 资金账户列表,格式:1,2,3
  32678. in: query
  32679. name: accountIDs
  32680. required: true
  32681. type: string
  32682. produces:
  32683. - application/json
  32684. responses:
  32685. "200":
  32686. description: OK
  32687. schema:
  32688. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32689. "500":
  32690. description: Internal Server Error
  32691. schema:
  32692. $ref: '#/definitions/app.Response'
  32693. security:
  32694. - ApiKeyAuth: []
  32695. summary: 查询"我的订单 - 已完成"单据信息
  32696. tags:
  32697. - 定制【海商报业】
  32698. /HSBY/QueryHsbyGoodsOrderDetails:
  32699. get:
  32700. description: 说明:查询结果已按委托价格和委托时间排序
  32701. parameters:
  32702. - description: 商品ID
  32703. in: query
  32704. name: goodsID
  32705. required: true
  32706. type: integer
  32707. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32708. in: query
  32709. name: accountIDs
  32710. type: string
  32711. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32712. in: query
  32713. name: buyOrSell
  32714. type: integer
  32715. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32716. in: query
  32717. name: price
  32718. type: number
  32719. - description: 档位,不传则默认为3档
  32720. in: query
  32721. name: speed
  32722. type: integer
  32723. produces:
  32724. - application/json
  32725. responses:
  32726. "200":
  32727. description: OK
  32728. schema:
  32729. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32730. "500":
  32731. description: Internal Server Error
  32732. schema:
  32733. $ref: '#/definitions/app.Response'
  32734. security:
  32735. - ApiKeyAuth: []
  32736. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32737. tags:
  32738. - 定制【海商报业】
  32739. /HSBY/QueryHsbyListingGoodsDetail:
  32740. get:
  32741. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32742. parameters:
  32743. - description: 商品ID
  32744. in: query
  32745. name: goodsID
  32746. required: true
  32747. type: integer
  32748. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32749. in: query
  32750. name: accountID
  32751. type: integer
  32752. produces:
  32753. - application/json
  32754. responses:
  32755. "200":
  32756. description: OK
  32757. schema:
  32758. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32759. "500":
  32760. description: Internal Server Error
  32761. schema:
  32762. $ref: '#/definitions/app.Response'
  32763. security:
  32764. - ApiKeyAuth: []
  32765. summary: 查询二级市场(挂牌点选)商品信息详情
  32766. tags:
  32767. - 定制【海商报业】
  32768. /HSBY/QueryHsbyMarketGoodsDetail:
  32769. get:
  32770. parameters:
  32771. - description: 委托单号
  32772. in: query
  32773. name: orderID
  32774. required: true
  32775. type: integer
  32776. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32777. in: query
  32778. name: accountID
  32779. type: integer
  32780. produces:
  32781. - application/json
  32782. responses:
  32783. "200":
  32784. description: OK
  32785. schema:
  32786. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32787. "500":
  32788. description: Internal Server Error
  32789. schema:
  32790. $ref: '#/definitions/app.Response'
  32791. security:
  32792. - ApiKeyAuth: []
  32793. summary: 查询三级市场(商城)商品信息详情
  32794. tags:
  32795. - 定制【海商报业】
  32796. /HSBY/QueryHsbyMarketGoodses:
  32797. get:
  32798. parameters:
  32799. - description: 页码
  32800. in: query
  32801. name: page
  32802. type: integer
  32803. - description: 每页条数
  32804. in: query
  32805. name: pagesize
  32806. type: integer
  32807. - description: 市场ID列表,格式:1,2,3
  32808. in: query
  32809. name: marketIDs
  32810. required: true
  32811. type: string
  32812. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32813. in: query
  32814. name: accountID
  32815. required: true
  32816. type: integer
  32817. - description: 类别ID
  32818. in: query
  32819. name: categoryID
  32820. type: integer
  32821. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32822. in: query
  32823. name: goodsIDs
  32824. type: string
  32825. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32826. in: query
  32827. name: couponTypeID
  32828. type: integer
  32829. produces:
  32830. - application/json
  32831. responses:
  32832. "200":
  32833. description: OK
  32834. schema:
  32835. $ref: '#/definitions/models.HsbyMarketGoods'
  32836. "500":
  32837. description: Internal Server Error
  32838. schema:
  32839. $ref: '#/definitions/app.Response'
  32840. security:
  32841. - ApiKeyAuth: []
  32842. summary: 查询特卖商品列表(三级商城)
  32843. tags:
  32844. - 定制【海商报业】
  32845. /HSBY/QueryHsbyMarkets:
  32846. get:
  32847. produces:
  32848. - application/json
  32849. responses:
  32850. "200":
  32851. description: OK
  32852. schema:
  32853. $ref: '#/definitions/models.HsbyMarketInfo'
  32854. "500":
  32855. description: Internal Server Error
  32856. schema:
  32857. $ref: '#/definitions/app.Response'
  32858. security:
  32859. - ApiKeyAuth: []
  32860. summary: 查询海商报业相关市场信息
  32861. tags:
  32862. - 定制【海商报业】
  32863. /HSBY/QueryHsbyMyBuyOrderDetails:
  32864. get:
  32865. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32866. parameters:
  32867. - description: 资金账户列表,格式:1,2,3
  32868. in: query
  32869. name: accountIDs
  32870. required: true
  32871. type: string
  32872. produces:
  32873. - application/json
  32874. responses:
  32875. "200":
  32876. description: OK
  32877. schema:
  32878. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32879. "500":
  32880. description: Internal Server Error
  32881. schema:
  32882. $ref: '#/definitions/app.Response'
  32883. security:
  32884. - ApiKeyAuth: []
  32885. summary: 查询“我的订单”信息
  32886. tags:
  32887. - 定制【海商报业】
  32888. /HSBY/QueryHsbyMyGoods:
  32889. get:
  32890. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32891. parameters:
  32892. - description: 资金账户列表,格式:1,2,3
  32893. in: query
  32894. name: accountIDs
  32895. required: true
  32896. type: string
  32897. produces:
  32898. - application/json
  32899. responses:
  32900. "200":
  32901. description: OK
  32902. schema:
  32903. $ref: '#/definitions/models.HsbyMyGoods'
  32904. "500":
  32905. description: Internal Server Error
  32906. schema:
  32907. $ref: '#/definitions/app.Response'
  32908. security:
  32909. - ApiKeyAuth: []
  32910. summary: 查询“我的商品”信息
  32911. tags:
  32912. - 定制【海商报业】
  32913. /HSBY/QueryHsbyMyPackages:
  32914. get:
  32915. parameters:
  32916. - description: 资金账户列表,格式:1,2,3
  32917. in: query
  32918. name: accountIDs
  32919. required: true
  32920. type: string
  32921. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32922. in: query
  32923. name: takeOrderStatus
  32924. type: integer
  32925. produces:
  32926. - application/json
  32927. responses:
  32928. "200":
  32929. description: OK
  32930. schema:
  32931. $ref: '#/definitions/models.HsbyMyPackage'
  32932. "500":
  32933. description: Internal Server Error
  32934. schema:
  32935. $ref: '#/definitions/app.Response'
  32936. security:
  32937. - ApiKeyAuth: []
  32938. summary: 查询我的包裹信息
  32939. tags:
  32940. - 定制【海商报业】
  32941. /HSBY/QueryHsbyPreGoodsDetail:
  32942. get:
  32943. parameters:
  32944. - description: 商品ID
  32945. in: query
  32946. name: goodsID
  32947. required: true
  32948. type: integer
  32949. - description: 资金账户,主要用于获取预售商品购买上限
  32950. in: query
  32951. name: accountID
  32952. type: integer
  32953. produces:
  32954. - application/json
  32955. responses:
  32956. "200":
  32957. description: OK
  32958. schema:
  32959. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32960. "500":
  32961. description: Internal Server Error
  32962. schema:
  32963. $ref: '#/definitions/app.Response'
  32964. security:
  32965. - ApiKeyAuth: []
  32966. summary: 查询一级市场(预售)商品信息详情
  32967. tags:
  32968. - 定制【海商报业】
  32969. /HSBY/QueryHsbyPreGoodses:
  32970. get:
  32971. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32972. parameters:
  32973. - description: 页码
  32974. in: query
  32975. name: page
  32976. type: integer
  32977. - description: 每页条数
  32978. in: query
  32979. name: pagesize
  32980. type: integer
  32981. - description: 市场ID列表,格式:1,2,3
  32982. in: query
  32983. name: marketIDs
  32984. required: true
  32985. type: string
  32986. - description: 目的地(省)ID
  32987. in: query
  32988. name: descProvinceID
  32989. type: integer
  32990. - description: 目的地(市)ID
  32991. in: query
  32992. name: descCityID
  32993. type: integer
  32994. produces:
  32995. - application/json
  32996. responses:
  32997. "200":
  32998. description: OK
  32999. schema:
  33000. $ref: '#/definitions/models.HsbyPreGoods'
  33001. "500":
  33002. description: Internal Server Error
  33003. schema:
  33004. $ref: '#/definitions/app.Response'
  33005. security:
  33006. - ApiKeyAuth: []
  33007. summary: 查询新品上市商品列表(一级市场预售)
  33008. tags:
  33009. - 定制【海商报业】
  33010. /HSBY/QueryHsbySellMyDetails:
  33011. get:
  33012. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  33013. parameters:
  33014. - description: 页码
  33015. in: query
  33016. name: page
  33017. type: integer
  33018. - description: 每页条数
  33019. in: query
  33020. name: pagesize
  33021. type: integer
  33022. - description: 资金账户列表,格式:1,2,3
  33023. in: query
  33024. name: accountIDs
  33025. required: true
  33026. type: string
  33027. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  33028. in: query
  33029. name: orderType
  33030. type: integer
  33031. produces:
  33032. - application/json
  33033. responses:
  33034. "200":
  33035. description: OK
  33036. schema:
  33037. $ref: '#/definitions/models.HsbySellMyDetail'
  33038. "500":
  33039. description: Internal Server Error
  33040. schema:
  33041. $ref: '#/definitions/app.Response'
  33042. security:
  33043. - ApiKeyAuth: []
  33044. summary: 查询"我的闲置"单据信息
  33045. tags:
  33046. - 定制【海商报业】
  33047. /HSBY/QueryHsbyTopGoodses:
  33048. get:
  33049. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  33050. parameters:
  33051. - description: 页码
  33052. in: query
  33053. name: page
  33054. type: integer
  33055. - description: 每页条数
  33056. in: query
  33057. name: pagesize
  33058. type: integer
  33059. - description: 市场ID列表,格式:1,2,3
  33060. in: query
  33061. name: marketIDs
  33062. required: true
  33063. type: string
  33064. - description: 目的地(省)ID
  33065. in: query
  33066. name: descProvinceID
  33067. type: integer
  33068. - description: 目的地(市)ID
  33069. in: query
  33070. name: descCityID
  33071. type: integer
  33072. produces:
  33073. - application/json
  33074. responses:
  33075. "200":
  33076. description: OK
  33077. schema:
  33078. $ref: '#/definitions/models.HsbyTopGoods'
  33079. "500":
  33080. description: Internal Server Error
  33081. schema:
  33082. $ref: '#/definitions/app.Response'
  33083. security:
  33084. - ApiKeyAuth: []
  33085. summary: 查询热卖商品列表(二级市场挂牌点选)
  33086. tags:
  33087. - 定制【海商报业】
  33088. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33089. get:
  33090. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33091. parameters:
  33092. - description: 商品ID
  33093. in: query
  33094. name: goodsID
  33095. required: true
  33096. type: integer
  33097. produces:
  33098. - application/json
  33099. responses:
  33100. "200":
  33101. description: OK
  33102. schema:
  33103. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33104. "500":
  33105. description: Internal Server Error
  33106. schema:
  33107. $ref: '#/definitions/app.Response'
  33108. security:
  33109. - ApiKeyAuth: []
  33110. summary: 查询游客三级市场(商城)商品信息详情
  33111. tags:
  33112. - 定制【海商报业】
  33113. /HSBY/QueryHsbyVisitorMarketGoodses:
  33114. get:
  33115. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33116. parameters:
  33117. - description: 页码
  33118. in: query
  33119. name: page
  33120. type: integer
  33121. - description: 每页条数
  33122. in: query
  33123. name: pagesize
  33124. type: integer
  33125. - description: 市场ID列表,格式:1,2,3
  33126. in: query
  33127. name: marketIDs
  33128. required: true
  33129. type: string
  33130. - description: 类别ID
  33131. in: query
  33132. name: categoryID
  33133. type: integer
  33134. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33135. in: query
  33136. name: goodsIDs
  33137. type: string
  33138. produces:
  33139. - application/json
  33140. responses:
  33141. "200":
  33142. description: OK
  33143. schema:
  33144. $ref: '#/definitions/models.HsbyMarketGoods'
  33145. "500":
  33146. description: Internal Server Error
  33147. schema:
  33148. $ref: '#/definitions/app.Response'
  33149. security:
  33150. - ApiKeyAuth: []
  33151. summary: 查询游客特卖商品列表(三级商城)
  33152. tags:
  33153. - 定制【海商报业】
  33154. /HSBY/QueryMyCollectionOrders:
  33155. get:
  33156. parameters:
  33157. - description: 页码
  33158. in: query
  33159. name: page
  33160. type: integer
  33161. - description: 每页条数
  33162. in: query
  33163. name: pagesize
  33164. type: integer
  33165. - description: 资金账户,格式:1,2,3
  33166. in: query
  33167. name: accountIDs
  33168. required: true
  33169. type: string
  33170. produces:
  33171. - application/json
  33172. responses:
  33173. "200":
  33174. description: OK
  33175. schema:
  33176. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33177. "500":
  33178. description: Internal Server Error
  33179. schema:
  33180. $ref: '#/definitions/app.Response'
  33181. security:
  33182. - ApiKeyAuth: []
  33183. summary: 我的闲置中收款信息查询
  33184. tags:
  33185. - 定制【海商报业】
  33186. /HSBY/QueryMyCouponHolds:
  33187. get:
  33188. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33189. parameters:
  33190. - description: 资金账户列表,格式:1,2,3
  33191. in: query
  33192. name: accountIDs
  33193. required: true
  33194. type: string
  33195. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33196. in: query
  33197. name: holdStatus
  33198. type: string
  33199. produces:
  33200. - application/json
  33201. responses:
  33202. "200":
  33203. description: OK
  33204. schema:
  33205. $ref: '#/definitions/models.MyCouponHold'
  33206. "500":
  33207. description: Internal Server Error
  33208. schema:
  33209. $ref: '#/definitions/app.Response'
  33210. security:
  33211. - ApiKeyAuth: []
  33212. summary: 我的优惠卷持仓查询
  33213. tags:
  33214. - 定制【海商报业】
  33215. /HSBY/QueryMyCoupons:
  33216. get:
  33217. parameters:
  33218. - description: 资金账户列表,格式:1,2,3
  33219. in: query
  33220. name: accountIDs
  33221. required: true
  33222. type: string
  33223. - description: 商品ID, 一般与sellUserID配套传入
  33224. in: query
  33225. name: goodsID
  33226. type: integer
  33227. - description: 卖方UserID
  33228. in: query
  33229. name: sellUserID
  33230. type: integer
  33231. produces:
  33232. - application/json
  33233. responses:
  33234. "200":
  33235. description: OK
  33236. schema:
  33237. $ref: '#/definitions/models.MyCoupon'
  33238. "500":
  33239. description: Internal Server Error
  33240. schema:
  33241. $ref: '#/definitions/app.Response'
  33242. security:
  33243. - ApiKeyAuth: []
  33244. summary: 我的优惠卷查询
  33245. tags:
  33246. - 定制【海商报业】
  33247. /HSBY/QueryMyPayOrders:
  33248. get:
  33249. parameters:
  33250. - description: 页码
  33251. in: query
  33252. name: page
  33253. type: integer
  33254. - description: 每页条数
  33255. in: query
  33256. name: pagesize
  33257. type: integer
  33258. - description: 资金账户列表,格式:1,2,3
  33259. in: query
  33260. name: accountIDs
  33261. required: true
  33262. type: string
  33263. - description: 买方委托单号
  33264. in: query
  33265. name: buyOrderID
  33266. type: integer
  33267. - description: 卖方委托单号
  33268. in: query
  33269. name: sellOrderID
  33270. type: integer
  33271. produces:
  33272. - application/json
  33273. responses:
  33274. "200":
  33275. description: OK
  33276. schema:
  33277. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33278. "500":
  33279. description: Internal Server Error
  33280. schema:
  33281. $ref: '#/definitions/app.Response'
  33282. security:
  33283. - ApiKeyAuth: []
  33284. summary: 获取我的订单中待付款信息
  33285. tags:
  33286. - 定制【海商报业】
  33287. /HSBY/QueryMyUsedCoupon:
  33288. get:
  33289. parameters:
  33290. - description: 资金账户列表,格式:1,2,3
  33291. in: query
  33292. name: accountIDs
  33293. required: true
  33294. type: string
  33295. produces:
  33296. - application/json
  33297. responses:
  33298. "200":
  33299. description: OK
  33300. schema:
  33301. $ref: '#/definitions/models.MyUsedCoupon'
  33302. "500":
  33303. description: Internal Server Error
  33304. schema:
  33305. $ref: '#/definitions/app.Response'
  33306. security:
  33307. - ApiKeyAuth: []
  33308. summary: 已使用优惠卷查询
  33309. tags:
  33310. - 定制【海商报业】
  33311. /HSBY/QueryProvincesAndCities:
  33312. get:
  33313. description: 查询结果只包括二级市场商品已关连的省市信息。
  33314. parameters:
  33315. - description: 省ID
  33316. in: query
  33317. name: provinceID
  33318. type: integer
  33319. produces:
  33320. - application/json
  33321. responses:
  33322. "200":
  33323. description: OK
  33324. schema:
  33325. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33326. "500":
  33327. description: Internal Server Error
  33328. schema:
  33329. $ref: '#/definitions/app.Response'
  33330. security:
  33331. - ApiKeyAuth: []
  33332. summary: 查询省市信息(不包括区)
  33333. tags:
  33334. - 定制【海商报业】
  33335. /HSBY/SetHsbyMyPackagesStatus:
  33336. post:
  33337. parameters:
  33338. - description: 提货单号
  33339. in: query
  33340. name: takeOrderID
  33341. required: true
  33342. type: string
  33343. - description: 资金账号
  33344. in: query
  33345. name: accountID
  33346. required: true
  33347. type: integer
  33348. produces:
  33349. - application/json
  33350. responses:
  33351. "200":
  33352. description: OK
  33353. schema:
  33354. $ref: '#/definitions/app.Response'
  33355. "500":
  33356. description: Internal Server Error
  33357. schema:
  33358. $ref: '#/definitions/app.Response'
  33359. security:
  33360. - ApiKeyAuth: []
  33361. summary: 设置我的包裹已收货状态
  33362. tags:
  33363. - 定制【海商报业】
  33364. /Market/GetAllExExchanges:
  33365. get:
  33366. produces:
  33367. - application/json
  33368. responses:
  33369. "200":
  33370. description: OK
  33371. schema:
  33372. $ref: '#/definitions/models.Goods'
  33373. "500":
  33374. description: Internal Server Error
  33375. schema:
  33376. $ref: '#/definitions/app.Response'
  33377. security:
  33378. - ApiKeyAuth: []
  33379. summary: 获取所有外部交易所信息
  33380. tags:
  33381. - 通用市场
  33382. /Market/QueryGoodsesByLoginID:
  33383. get:
  33384. parameters:
  33385. - description: 登录账号
  33386. in: query
  33387. name: loginID
  33388. required: true
  33389. type: integer
  33390. - description: 市场ID列表,格式:1,2,3
  33391. in: query
  33392. name: marketIDs
  33393. type: string
  33394. produces:
  33395. - application/json
  33396. responses:
  33397. "200":
  33398. description: OK
  33399. schema:
  33400. $ref: '#/definitions/models.Goods'
  33401. "500":
  33402. description: Internal Server Error
  33403. schema:
  33404. $ref: '#/definitions/app.Response'
  33405. security:
  33406. - ApiKeyAuth: []
  33407. summary: 获取登录账号有权限的商品信息
  33408. tags:
  33409. - 通用市场
  33410. /Market/QueryMarketRun:
  33411. get:
  33412. parameters:
  33413. - description: 市场ID,不传返回所有
  33414. in: query
  33415. name: marketID
  33416. type: integer
  33417. produces:
  33418. - application/json
  33419. responses:
  33420. "200":
  33421. description: OK
  33422. schema:
  33423. $ref: '#/definitions/models.Marketrun'
  33424. "500":
  33425. description: Internal Server Error
  33426. schema:
  33427. $ref: '#/definitions/app.Response'
  33428. security:
  33429. - ApiKeyAuth: []
  33430. summary: 查询市场运行信息
  33431. tags:
  33432. - 通用市场
  33433. /Market/QueryMarketsByLoginID:
  33434. get:
  33435. parameters:
  33436. - description: 登录账号
  33437. in: query
  33438. name: loginID
  33439. required: true
  33440. type: integer
  33441. produces:
  33442. - application/json
  33443. responses:
  33444. "200":
  33445. description: OK
  33446. schema:
  33447. $ref: '#/definitions/models.Market'
  33448. "500":
  33449. description: Internal Server Error
  33450. schema:
  33451. $ref: '#/definitions/app.Response'
  33452. security:
  33453. - ApiKeyAuth: []
  33454. summary: 获取登录账号有权限的市场信息
  33455. tags:
  33456. - 通用市场
  33457. /Order/QueryHisTradeDetail:
  33458. get:
  33459. parameters:
  33460. - description: 资金账户 - 格式:1,2,3
  33461. in: query
  33462. name: accountID
  33463. required: true
  33464. type: string
  33465. - description: 成交单号
  33466. in: query
  33467. name: tradeID
  33468. type: integer
  33469. - description: 委托单号
  33470. in: query
  33471. name: orderID
  33472. type: integer
  33473. - description: 商品ID
  33474. in: query
  33475. name: goodsID
  33476. type: integer
  33477. - description: 交易模式 - 格式:1,2,3
  33478. in: query
  33479. name: tradeMode
  33480. type: string
  33481. - description: 委托单据类型
  33482. in: query
  33483. name: buildType
  33484. type: integer
  33485. - description: 成交类别 - 格式:1,2,3
  33486. in: query
  33487. name: tradeType
  33488. type: string
  33489. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33490. in: query
  33491. name: startDate
  33492. type: string
  33493. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33494. in: query
  33495. name: endDate
  33496. type: string
  33497. produces:
  33498. - application/json
  33499. responses:
  33500. "200":
  33501. description: OK
  33502. schema:
  33503. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33504. "500":
  33505. description: Internal Server Error
  33506. schema:
  33507. $ref: '#/definitions/app.Response'
  33508. security:
  33509. - ApiKeyAuth: []
  33510. summary: 历史成交单查询(合约市场)
  33511. tags:
  33512. - 通用单据
  33513. /Order/QueryHisTradeOrderDetail:
  33514. get:
  33515. parameters:
  33516. - description: 资金账户 - 格式:1,2,3
  33517. in: query
  33518. name: accountID
  33519. required: true
  33520. type: string
  33521. - description: 交易模式 - 格式:1,2,3
  33522. in: query
  33523. name: tradeMode
  33524. type: string
  33525. - description: 委托状态 - 格式:1,2,3
  33526. in: query
  33527. name: orderStatus
  33528. type: string
  33529. - description: 委托单号
  33530. in: query
  33531. name: orderID
  33532. type: integer
  33533. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33534. in: query
  33535. name: startDate
  33536. type: string
  33537. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33538. in: query
  33539. name: endDate
  33540. type: string
  33541. produces:
  33542. - application/json
  33543. responses:
  33544. "200":
  33545. description: OK
  33546. schema:
  33547. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33548. "500":
  33549. description: Internal Server Error
  33550. schema:
  33551. $ref: '#/definitions/app.Response'
  33552. security:
  33553. - ApiKeyAuth: []
  33554. summary: 历史委托单查询请求(合约市场)
  33555. tags:
  33556. - 通用单据
  33557. /Order/QueryTradeDetail:
  33558. get:
  33559. parameters:
  33560. - description: 资金账户 - 格式:1,2,3
  33561. in: query
  33562. name: accountID
  33563. required: true
  33564. type: string
  33565. - description: 成交单号
  33566. in: query
  33567. name: tradeID
  33568. type: integer
  33569. - description: 委托单号
  33570. in: query
  33571. name: orderID
  33572. type: integer
  33573. - description: 交易模式 - 格式:1,2,3
  33574. in: query
  33575. name: tradeMode
  33576. type: string
  33577. - description: 委托单据类型
  33578. in: query
  33579. name: buildType
  33580. type: integer
  33581. - description: 成交类别 - 格式:1,2,3
  33582. in: query
  33583. name: tradeType
  33584. type: string
  33585. - description: 商品ID
  33586. in: query
  33587. name: goodsID
  33588. type: integer
  33589. produces:
  33590. - application/json
  33591. responses:
  33592. "200":
  33593. description: OK
  33594. schema:
  33595. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33596. "500":
  33597. description: Internal Server Error
  33598. schema:
  33599. $ref: '#/definitions/app.Response'
  33600. security:
  33601. - ApiKeyAuth: []
  33602. summary: 成交单查询(合约市场)
  33603. tags:
  33604. - 通用单据
  33605. /Order/QueryTradeHolderDetail:
  33606. get:
  33607. parameters:
  33608. - description: 用户id
  33609. in: query
  33610. name: userid
  33611. type: integer
  33612. - description: 资金账号, 格式 1,2,3
  33613. in: query
  33614. name: accids
  33615. type: string
  33616. - description: 交易模式, 格式 1,2,3
  33617. in: query
  33618. name: trademodes
  33619. type: string
  33620. - description: 市场id, 格式 1,2,3
  33621. in: query
  33622. name: marketids
  33623. type: string
  33624. - description: 商品id
  33625. in: query
  33626. name: goodsid
  33627. type: integer
  33628. - description: 买卖方向 0-买 1-卖
  33629. in: query
  33630. name: buyorsell
  33631. type: integer
  33632. produces:
  33633. - application/json
  33634. responses:
  33635. "200":
  33636. description: OK
  33637. schema:
  33638. items:
  33639. $ref: '#/definitions/models.TradeHolderDetail'
  33640. type: array
  33641. "500":
  33642. description: Internal Server Error
  33643. schema:
  33644. $ref: '#/definitions/app.Response'
  33645. security:
  33646. - ApiKeyAuth: []
  33647. summary: 查询持仓明细
  33648. tags:
  33649. - 通用单据
  33650. /Order/QueryTradeOrderDetail:
  33651. get:
  33652. parameters:
  33653. - description: 资金账户 - 格式:1,2,3
  33654. in: query
  33655. name: accountID
  33656. required: true
  33657. type: string
  33658. - description: 交易模式 - 格式:1,2,3
  33659. in: query
  33660. name: tradeMode
  33661. type: string
  33662. - description: 委托状态 - 格式:1,2,3
  33663. in: query
  33664. name: orderStatus
  33665. type: string
  33666. - description: 委托单号
  33667. in: query
  33668. name: orderID
  33669. type: integer
  33670. produces:
  33671. - application/json
  33672. responses:
  33673. "200":
  33674. description: OK
  33675. schema:
  33676. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33677. "500":
  33678. description: Internal Server Error
  33679. schema:
  33680. $ref: '#/definitions/app.Response'
  33681. security:
  33682. - ApiKeyAuth: []
  33683. summary: 委托单查询请求(合约市场)
  33684. tags:
  33685. - 通用单据
  33686. /Order/QueryTradePosition:
  33687. get:
  33688. parameters:
  33689. - description: 资金账户 - 格式:1,2,3
  33690. in: query
  33691. name: accountID
  33692. required: true
  33693. type: string
  33694. - description: 交易模式 - 格式:1,2,3
  33695. in: query
  33696. name: tradeMode
  33697. type: string
  33698. produces:
  33699. - application/json
  33700. responses:
  33701. "200":
  33702. description: OK
  33703. schema:
  33704. $ref: '#/definitions/order.QueryTradePositionRsp'
  33705. "500":
  33706. description: Internal Server Error
  33707. schema:
  33708. $ref: '#/definitions/app.Response'
  33709. security:
  33710. - ApiKeyAuth: []
  33711. summary: 持仓汇总查询(合约市场)
  33712. tags:
  33713. - 通用单据
  33714. /Qhj/QueryAccountInOutApply:
  33715. get:
  33716. parameters:
  33717. - description: 用户ID
  33718. in: query
  33719. name: userid
  33720. required: true
  33721. type: integer
  33722. - description: 申请起始日期(格式yyyymmdd)
  33723. in: query
  33724. name: begindate
  33725. type: string
  33726. - description: 申请截止日期(格式yyyymmdd)
  33727. in: query
  33728. name: enddate
  33729. type: string
  33730. - description: 模糊搜索名称
  33731. in: query
  33732. name: likename
  33733. type: string
  33734. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33735. in: query
  33736. name: applystatus
  33737. type: integer
  33738. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33739. in: query
  33740. name: querytype
  33741. type: integer
  33742. produces:
  33743. - application/json
  33744. responses:
  33745. "200":
  33746. description: OK
  33747. schema:
  33748. items:
  33749. $ref: '#/definitions/models.QhjAccountOutInApply'
  33750. type: array
  33751. "500":
  33752. description: Internal Server Error
  33753. schema:
  33754. $ref: '#/definitions/app.Response'
  33755. security:
  33756. - ApiKeyAuth: []
  33757. summary: 查询充值提现
  33758. tags:
  33759. - 大连千海金
  33760. /Qhj/QueryAreaFinanceConfig:
  33761. get:
  33762. parameters:
  33763. - description: 机构用户ID 其他做市关系,都设置为 1
  33764. in: query
  33765. name: userid
  33766. type: integer
  33767. produces:
  33768. - application/json
  33769. responses:
  33770. "200":
  33771. description: OK
  33772. schema:
  33773. items:
  33774. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33775. type: array
  33776. "500":
  33777. description: Internal Server Error
  33778. schema:
  33779. $ref: '#/definitions/app.Response'
  33780. security:
  33781. - ApiKeyAuth: []
  33782. summary: 查询企业配置表
  33783. tags:
  33784. - 大连千海金
  33785. /Qhj/QueryBankAccountSign:
  33786. get:
  33787. parameters:
  33788. - description: 用户ID
  33789. in: query
  33790. name: userid
  33791. required: true
  33792. type: integer
  33793. produces:
  33794. - application/json
  33795. responses:
  33796. "200":
  33797. description: OK
  33798. schema:
  33799. items:
  33800. $ref: '#/definitions/models.QhjBankAccountSign'
  33801. type: array
  33802. "500":
  33803. description: Internal Server Error
  33804. schema:
  33805. $ref: '#/definitions/app.Response'
  33806. security:
  33807. - ApiKeyAuth: []
  33808. summary: 查询签约银行信息(提现账户管理)
  33809. tags:
  33810. - 大连千海金
  33811. /Qhj/QueryBankInfo:
  33812. get:
  33813. produces:
  33814. - application/json
  33815. responses:
  33816. "200":
  33817. description: OK
  33818. schema:
  33819. items:
  33820. $ref: '#/definitions/models.QhjBankInfo'
  33821. type: array
  33822. "500":
  33823. description: Internal Server Error
  33824. schema:
  33825. $ref: '#/definitions/app.Response'
  33826. security:
  33827. - ApiKeyAuth: []
  33828. summary: 查询开户行
  33829. tags:
  33830. - 大连千海金
  33831. /Qhj/QueryBrokerApply:
  33832. get:
  33833. parameters:
  33834. - description: 所属机构ID
  33835. in: query
  33836. name: userid
  33837. type: integer
  33838. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33839. in: query
  33840. name: filterstatus
  33841. type: string
  33842. produces:
  33843. - application/json
  33844. responses:
  33845. "200":
  33846. description: OK
  33847. schema:
  33848. items:
  33849. $ref: '#/definitions/models.QhjBrokerApply'
  33850. type: array
  33851. "500":
  33852. description: Internal Server Error
  33853. schema:
  33854. $ref: '#/definitions/app.Response'
  33855. security:
  33856. - ApiKeyAuth: []
  33857. summary: 查询经纪人申请
  33858. tags:
  33859. - 大连千海金
  33860. /Qhj/QueryBrokerApplyEx:
  33861. get:
  33862. parameters:
  33863. - description: 所属机构ID
  33864. in: query
  33865. name: userid
  33866. type: integer
  33867. produces:
  33868. - application/json
  33869. responses:
  33870. "200":
  33871. description: OK
  33872. schema:
  33873. items:
  33874. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33875. type: array
  33876. "500":
  33877. description: Internal Server Error
  33878. schema:
  33879. $ref: '#/definitions/app.Response'
  33880. security:
  33881. - ApiKeyAuth: []
  33882. summary: 查询经纪人信息和申请记录
  33883. tags:
  33884. - 大连千海金
  33885. /Qhj/QueryBrokerRewardLog:
  33886. get:
  33887. parameters:
  33888. - description: 用户ID
  33889. in: query
  33890. name: userid
  33891. required: true
  33892. type: integer
  33893. - description: 开始交易日(yyyymmdd)
  33894. in: query
  33895. name: begindate
  33896. type: string
  33897. - description: 结束交易日(yyyymmdd)
  33898. in: query
  33899. name: enddate
  33900. type: string
  33901. produces:
  33902. - application/json
  33903. responses:
  33904. "200":
  33905. description: OK
  33906. schema:
  33907. items:
  33908. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33909. type: array
  33910. "500":
  33911. description: Internal Server Error
  33912. schema:
  33913. $ref: '#/definitions/app.Response'
  33914. security:
  33915. - ApiKeyAuth: []
  33916. summary: 查询奖励流水(我的奖励)
  33917. tags:
  33918. - 大连千海金
  33919. /Qhj/QueryContract:
  33920. get:
  33921. parameters:
  33922. - description: 用户ID
  33923. in: query
  33924. name: userid
  33925. type: integer
  33926. - description: scf合同id
  33927. in: query
  33928. name: scfcontractid
  33929. type: integer
  33930. produces:
  33931. - application/json
  33932. responses:
  33933. "200":
  33934. description: OK
  33935. schema:
  33936. items:
  33937. $ref: '#/definitions/models.QhjContract'
  33938. type: array
  33939. "500":
  33940. description: Internal Server Error
  33941. schema:
  33942. $ref: '#/definitions/app.Response'
  33943. security:
  33944. - ApiKeyAuth: []
  33945. summary: 查询融资明细(合同)
  33946. tags:
  33947. - 大连千海金
  33948. /Qhj/QueryContractLog:
  33949. get:
  33950. parameters:
  33951. - description: scf合同id
  33952. in: query
  33953. name: scfcontractid
  33954. required: true
  33955. type: integer
  33956. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33957. in: query
  33958. name: amounttype
  33959. type: string
  33960. produces:
  33961. - application/json
  33962. responses:
  33963. "200":
  33964. description: OK
  33965. schema:
  33966. items:
  33967. $ref: '#/definitions/models.QhjContractLog'
  33968. type: array
  33969. "500":
  33970. description: Internal Server Error
  33971. schema:
  33972. $ref: '#/definitions/app.Response'
  33973. security:
  33974. - ApiKeyAuth: []
  33975. summary: 查询融资明细流水(融资明细详情页中的流水)
  33976. tags:
  33977. - 大连千海金
  33978. /Qhj/QueryCusBankSignBank:
  33979. get:
  33980. produces:
  33981. - application/json
  33982. responses:
  33983. "200":
  33984. description: OK
  33985. schema:
  33986. items:
  33987. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  33988. type: array
  33989. "500":
  33990. description: Internal Server Error
  33991. schema:
  33992. $ref: '#/definitions/app.Response'
  33993. security:
  33994. - ApiKeyAuth: []
  33995. summary: 查询托管银行
  33996. tags:
  33997. - 大连千海金
  33998. /Qhj/QueryCustomerInfo:
  33999. get:
  34000. parameters:
  34001. - description: 用户ID
  34002. in: query
  34003. name: userid
  34004. required: true
  34005. type: integer
  34006. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34007. in: query
  34008. name: querytype
  34009. required: true
  34010. type: integer
  34011. - description: 客户类型 1-个人 2-企业
  34012. in: query
  34013. name: userinfotype
  34014. type: integer
  34015. - description: 客户名称(模糊匹配)
  34016. in: query
  34017. name: customername
  34018. type: string
  34019. - description: 昵称(模糊匹配)
  34020. in: query
  34021. name: nickname
  34022. type: string
  34023. - description: 是否包含子级 1-包含
  34024. in: query
  34025. name: includesub
  34026. type: integer
  34027. produces:
  34028. - application/json
  34029. responses:
  34030. "200":
  34031. description: OK
  34032. schema:
  34033. items:
  34034. $ref: '#/definitions/models.QhjCustomer'
  34035. type: array
  34036. "500":
  34037. description: Internal Server Error
  34038. schema:
  34039. $ref: '#/definitions/app.Response'
  34040. security:
  34041. - ApiKeyAuth: []
  34042. summary: 查询客户资料
  34043. tags:
  34044. - 大连千海金
  34045. /Qhj/QueryGoodsEx:
  34046. get:
  34047. parameters:
  34048. - description: 商品id
  34049. in: query
  34050. name: goodsid
  34051. type: integer
  34052. produces:
  34053. - application/json
  34054. responses:
  34055. "200":
  34056. description: OK
  34057. schema:
  34058. items:
  34059. $ref: '#/definitions/models.Qhjgoodsex'
  34060. type: array
  34061. "500":
  34062. description: Internal Server Error
  34063. schema:
  34064. $ref: '#/definitions/app.Response'
  34065. security:
  34066. - ApiKeyAuth: []
  34067. summary: 交易商品扩展表
  34068. tags:
  34069. - 大连千海金
  34070. /Qhj/QueryMyTeam:
  34071. get:
  34072. parameters:
  34073. - description: 用户ID
  34074. in: query
  34075. name: userid
  34076. required: true
  34077. type: integer
  34078. produces:
  34079. - application/json
  34080. responses:
  34081. "200":
  34082. description: OK
  34083. schema:
  34084. items:
  34085. $ref: '#/definitions/models.QhjMyTeamEx'
  34086. type: array
  34087. "500":
  34088. description: Internal Server Error
  34089. schema:
  34090. $ref: '#/definitions/app.Response'
  34091. security:
  34092. - ApiKeyAuth: []
  34093. summary: 查询我的团队
  34094. tags:
  34095. - 大连千海金
  34096. /Qhj/QueryMyTeamOrder:
  34097. get:
  34098. parameters:
  34099. - description: 页码
  34100. in: query
  34101. name: page
  34102. type: integer
  34103. - description: 每页条数
  34104. in: query
  34105. name: pagesize
  34106. type: integer
  34107. - description: 用户ID
  34108. in: query
  34109. name: userid
  34110. required: true
  34111. type: integer
  34112. - description: 交易模式
  34113. in: query
  34114. name: trademode
  34115. type: integer
  34116. - description: 名称(模糊搜索账户)
  34117. in: query
  34118. name: filtername
  34119. type: string
  34120. produces:
  34121. - application/json
  34122. responses:
  34123. "200":
  34124. description: OK
  34125. schema:
  34126. items:
  34127. $ref: '#/definitions/models.QhjTeamOrder'
  34128. type: array
  34129. "500":
  34130. description: Internal Server Error
  34131. schema:
  34132. $ref: '#/definitions/app.Response'
  34133. security:
  34134. - ApiKeyAuth: []
  34135. summary: 查询团队订单(我的团队/团队订单)
  34136. tags:
  34137. - 大连千海金
  34138. /Qhj/QueryParentAreaList:
  34139. get:
  34140. parameters:
  34141. - description: 用户ID
  34142. in: query
  34143. name: userid
  34144. required: true
  34145. type: integer
  34146. produces:
  34147. - application/json
  34148. responses:
  34149. "200":
  34150. description: OK
  34151. schema:
  34152. items:
  34153. $ref: '#/definitions/models.QhjParentAreaList'
  34154. type: array
  34155. "500":
  34156. description: Internal Server Error
  34157. schema:
  34158. $ref: '#/definitions/app.Response'
  34159. security:
  34160. - ApiKeyAuth: []
  34161. summary: 查询所属机构列表
  34162. tags:
  34163. - 大连千海金
  34164. /Qhj/QueryPayOrder:
  34165. get:
  34166. parameters:
  34167. - description: 资金账号id
  34168. in: query
  34169. name: accountid
  34170. required: true
  34171. type: integer
  34172. - description: 成交单号
  34173. in: query
  34174. name: tradeid
  34175. type: integer
  34176. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34177. in: query
  34178. name: payflag
  34179. type: string
  34180. produces:
  34181. - application/json
  34182. responses:
  34183. "200":
  34184. description: OK
  34185. schema:
  34186. items:
  34187. $ref: '#/definitions/models.QhjPayOrder'
  34188. type: array
  34189. "500":
  34190. description: Internal Server Error
  34191. schema:
  34192. $ref: '#/definitions/app.Response'
  34193. security:
  34194. - ApiKeyAuth: []
  34195. summary: 查询待付款单据
  34196. tags:
  34197. - 大连千海金
  34198. /Qhj/QueryPickArea:
  34199. get:
  34200. parameters:
  34201. - description: 用户ID
  34202. in: query
  34203. name: userid
  34204. type: integer
  34205. produces:
  34206. - application/json
  34207. responses:
  34208. "200":
  34209. description: OK
  34210. schema:
  34211. items:
  34212. $ref: '#/definitions/models.QhjPickArea'
  34213. type: array
  34214. "500":
  34215. description: Internal Server Error
  34216. schema:
  34217. $ref: '#/definitions/app.Response'
  34218. security:
  34219. - ApiKeyAuth: []
  34220. summary: 查询提货门店
  34221. tags:
  34222. - 大连千海金
  34223. /Qhj/QueryPickGoods:
  34224. get:
  34225. parameters:
  34226. - description: 交易商品id
  34227. in: query
  34228. name: goodsid
  34229. required: true
  34230. type: integer
  34231. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34232. in: query
  34233. name: status
  34234. type: string
  34235. produces:
  34236. - application/json
  34237. responses:
  34238. "200":
  34239. description: OK
  34240. schema:
  34241. items:
  34242. $ref: '#/definitions/models.QhjPickGoods'
  34243. type: array
  34244. "500":
  34245. description: Internal Server Error
  34246. schema:
  34247. $ref: '#/definitions/app.Response'
  34248. security:
  34249. - ApiKeyAuth: []
  34250. summary: 查询提货商品
  34251. tags:
  34252. - 大连千海金
  34253. /Qhj/QueryRSTriggerLog:
  34254. get:
  34255. parameters:
  34256. - description: 用户ID
  34257. in: query
  34258. name: userid
  34259. type: integer
  34260. - description: 定投策略id
  34261. in: query
  34262. name: regularlystrategyid
  34263. type: integer
  34264. - description: 商品id
  34265. in: query
  34266. name: goodsid
  34267. type: integer
  34268. - description: 开始交易日(yyyymmdd)
  34269. in: query
  34270. name: begindate
  34271. type: string
  34272. - description: 结束交易日(yyyymmdd)
  34273. in: query
  34274. name: enddate
  34275. type: string
  34276. - description: 名称(模糊搜索账户)
  34277. in: query
  34278. name: filtername
  34279. type: string
  34280. produces:
  34281. - application/json
  34282. responses:
  34283. "200":
  34284. description: OK
  34285. schema:
  34286. items:
  34287. $ref: '#/definitions/models.QhjRSTriggerLog'
  34288. type: array
  34289. "500":
  34290. description: Internal Server Error
  34291. schema:
  34292. $ref: '#/definitions/app.Response'
  34293. security:
  34294. - ApiKeyAuth: []
  34295. summary: 查询定投记录(定投管理/详情/定投记录)
  34296. tags:
  34297. - 大连千海金
  34298. /Qhj/QueryRStrategy:
  34299. get:
  34300. parameters:
  34301. - description: 用户ID
  34302. in: query
  34303. name: userid
  34304. type: integer
  34305. - description: 商品id
  34306. in: query
  34307. name: goodsid
  34308. type: integer
  34309. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34310. in: query
  34311. name: status
  34312. type: string
  34313. - description: 名称(模糊搜索账户)
  34314. in: query
  34315. name: filtername
  34316. type: string
  34317. produces:
  34318. - application/json
  34319. responses:
  34320. "200":
  34321. description: OK
  34322. schema:
  34323. items:
  34324. $ref: '#/definitions/models.QhjRStrategy'
  34325. type: array
  34326. "500":
  34327. description: Internal Server Error
  34328. schema:
  34329. $ref: '#/definitions/app.Response'
  34330. security:
  34331. - ApiKeyAuth: []
  34332. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34333. tags:
  34334. - 大连千海金
  34335. /Qhj/QueryReckonPriceLog:
  34336. get:
  34337. parameters:
  34338. - description: 商品ID
  34339. in: query
  34340. name: goodsid
  34341. type: integer
  34342. - description: 交易日 格式(yyyymmdd)
  34343. in: query
  34344. name: tradedate
  34345. type: string
  34346. produces:
  34347. - application/json
  34348. responses:
  34349. "200":
  34350. description: OK
  34351. schema:
  34352. items:
  34353. $ref: '#/definitions/models.QhjReckonPriceLog'
  34354. type: array
  34355. "500":
  34356. description: Internal Server Error
  34357. schema:
  34358. $ref: '#/definitions/app.Response'
  34359. security:
  34360. - ApiKeyAuth: []
  34361. summary: 查询定投价(结算价)
  34362. tags:
  34363. - 大连千海金
  34364. /Qhj/QueryScoreLog:
  34365. get:
  34366. parameters:
  34367. - description: 用户ID
  34368. in: query
  34369. name: userid
  34370. required: true
  34371. type: integer
  34372. - description: 开始交易日(yyyymmdd)
  34373. in: query
  34374. name: begindate
  34375. type: string
  34376. - description: 结束交易日(yyyymmdd)
  34377. in: query
  34378. name: enddate
  34379. type: string
  34380. - description: 最近多少条
  34381. in: query
  34382. name: lastnum
  34383. type: integer
  34384. produces:
  34385. - application/json
  34386. responses:
  34387. "200":
  34388. description: OK
  34389. schema:
  34390. items:
  34391. $ref: '#/definitions/models.QhjScoreLog'
  34392. type: array
  34393. "500":
  34394. description: Internal Server Error
  34395. schema:
  34396. $ref: '#/definitions/app.Response'
  34397. security:
  34398. - ApiKeyAuth: []
  34399. summary: 查询积分流水(我的积分)
  34400. tags:
  34401. - 大连千海金
  34402. /Qhj/QuerySiteColumnDetail:
  34403. get:
  34404. parameters:
  34405. - description: 用户ID
  34406. in: query
  34407. name: userid
  34408. required: true
  34409. type: integer
  34410. produces:
  34411. - application/json
  34412. responses:
  34413. "200":
  34414. description: OK
  34415. schema:
  34416. items:
  34417. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34418. type: array
  34419. "500":
  34420. description: Internal Server Error
  34421. schema:
  34422. $ref: '#/definitions/app.Response'
  34423. security:
  34424. - ApiKeyAuth: []
  34425. summary: 查询资讯
  34426. tags:
  34427. - 大连千海金
  34428. /Qhj/QueryTradeGoodsPickup:
  34429. get:
  34430. parameters:
  34431. - description: 用户ID
  34432. in: query
  34433. name: userid
  34434. required: true
  34435. type: integer
  34436. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34437. 7:已拒绝 8:已撤销
  34438. in: query
  34439. name: takeorderstatus
  34440. type: integer
  34441. produces:
  34442. - application/json
  34443. responses:
  34444. "200":
  34445. description: OK
  34446. schema:
  34447. items:
  34448. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34449. type: array
  34450. "500":
  34451. description: Internal Server Error
  34452. schema:
  34453. $ref: '#/definitions/app.Response'
  34454. security:
  34455. - ApiKeyAuth: []
  34456. summary: 查询提货
  34457. tags:
  34458. - 大连千海金
  34459. /Qhj/QueryUserCollectConfig:
  34460. get:
  34461. parameters:
  34462. - description: 用户ID
  34463. in: query
  34464. name: userid
  34465. required: true
  34466. type: integer
  34467. produces:
  34468. - application/json
  34469. responses:
  34470. "200":
  34471. description: OK
  34472. schema:
  34473. items:
  34474. $ref: '#/definitions/models.UserCollectConfig'
  34475. type: array
  34476. "500":
  34477. description: Internal Server Error
  34478. schema:
  34479. $ref: '#/definitions/app.Response'
  34480. security:
  34481. - ApiKeyAuth: []
  34482. summary: 查询提现账户设置
  34483. tags:
  34484. - 大连千海金
  34485. /Qhj/QueryUserReceiveInfo:
  34486. get:
  34487. parameters:
  34488. - description: 用户ID
  34489. in: query
  34490. name: userid
  34491. required: true
  34492. type: integer
  34493. produces:
  34494. - application/json
  34495. responses:
  34496. "200":
  34497. description: OK
  34498. schema:
  34499. items:
  34500. $ref: '#/definitions/models.UserReceiveInfo'
  34501. type: array
  34502. "500":
  34503. description: Internal Server Error
  34504. schema:
  34505. $ref: '#/definitions/app.Response'
  34506. security:
  34507. - ApiKeyAuth: []
  34508. summary: 查询收货地址信息
  34509. tags:
  34510. - 大连千海金
  34511. /QhjMgr/QueryAccountInOutApply:
  34512. get:
  34513. parameters:
  34514. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34515. in: query
  34516. name: querytype
  34517. required: true
  34518. type: integer
  34519. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34520. in: query
  34521. name: applystatus
  34522. type: integer
  34523. - description: 申请起始日期(格式yyyymmdd)
  34524. in: query
  34525. name: begindate
  34526. type: string
  34527. - description: 申请截止日期(格式yyyymmdd)
  34528. in: query
  34529. name: enddate
  34530. type: string
  34531. - description: 模糊搜索名称
  34532. in: query
  34533. name: likename
  34534. type: string
  34535. produces:
  34536. - application/json
  34537. responses:
  34538. "200":
  34539. description: OK
  34540. schema:
  34541. items:
  34542. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34543. type: array
  34544. "500":
  34545. description: Internal Server Error
  34546. schema:
  34547. $ref: '#/definitions/app.Response'
  34548. security:
  34549. - ApiKeyAuth: []
  34550. summary: 查询充值提现
  34551. tags:
  34552. - 大连千海金(PCWeb)
  34553. /QhjMgr/QueryBrokerApply:
  34554. get:
  34555. parameters:
  34556. - description: 所属机构ID
  34557. in: query
  34558. name: userid
  34559. type: integer
  34560. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34561. in: query
  34562. name: filterstatus
  34563. type: string
  34564. - description: 名称(模糊匹配)
  34565. in: query
  34566. name: filtername
  34567. type: string
  34568. - description: 是否包含子级 1-包含
  34569. in: query
  34570. name: includesub
  34571. type: integer
  34572. produces:
  34573. - application/json
  34574. responses:
  34575. "200":
  34576. description: OK
  34577. schema:
  34578. items:
  34579. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34580. type: array
  34581. "500":
  34582. description: Internal Server Error
  34583. schema:
  34584. $ref: '#/definitions/app.Response'
  34585. security:
  34586. - ApiKeyAuth: []
  34587. summary: 查询经纪人申请
  34588. tags:
  34589. - 大连千海金(PCWeb)
  34590. /QhjMgr/QueryBrokerRewardReport:
  34591. get:
  34592. parameters:
  34593. - description: 所属机构ID
  34594. in: query
  34595. name: userid
  34596. required: true
  34597. type: integer
  34598. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34599. in: query
  34600. name: cycletype
  34601. required: true
  34602. type: integer
  34603. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34604. in: query
  34605. name: cycletime
  34606. required: true
  34607. type: string
  34608. - description: 名称(模糊匹配)
  34609. in: query
  34610. name: filtername
  34611. type: string
  34612. - description: 是否包含子级 1-包含
  34613. in: query
  34614. name: includesub
  34615. type: integer
  34616. produces:
  34617. - application/json
  34618. responses:
  34619. "200":
  34620. description: OK
  34621. schema:
  34622. items:
  34623. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34624. type: array
  34625. "500":
  34626. description: Internal Server Error
  34627. schema:
  34628. $ref: '#/definitions/app.Response'
  34629. security:
  34630. - ApiKeyAuth: []
  34631. summary: 查询经纪人奖励报表(废弃)
  34632. tags:
  34633. - 大连千海金(PCWeb)
  34634. /QhjMgr/QueryContract:
  34635. get:
  34636. parameters:
  34637. - description: 用户ID
  34638. in: query
  34639. name: userid
  34640. type: integer
  34641. - description: 商品id
  34642. in: query
  34643. name: goodsid
  34644. type: integer
  34645. - description: 名称(模糊搜索账户)
  34646. in: query
  34647. name: filtername
  34648. type: string
  34649. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34650. in: query
  34651. name: risklevel
  34652. type: string
  34653. - description: 开始交易日(yyyymmdd)
  34654. in: query
  34655. name: begindate
  34656. type: string
  34657. - description: 结束交易日(yyyymmdd)
  34658. in: query
  34659. name: enddate
  34660. type: string
  34661. produces:
  34662. - application/json
  34663. responses:
  34664. "200":
  34665. description: OK
  34666. schema:
  34667. items:
  34668. $ref: '#/definitions/models.QhjMgrContract'
  34669. type: array
  34670. "500":
  34671. description: Internal Server Error
  34672. schema:
  34673. $ref: '#/definitions/app.Response'
  34674. security:
  34675. - ApiKeyAuth: []
  34676. summary: 查询融资信息(合同)
  34677. tags:
  34678. - 大连千海金(PCWeb)
  34679. /QhjMgr/QueryCustomerInfo:
  34680. get:
  34681. parameters:
  34682. - description: 用户ID
  34683. in: query
  34684. name: userid
  34685. required: true
  34686. type: integer
  34687. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34688. in: query
  34689. name: querytype
  34690. required: true
  34691. type: integer
  34692. - description: 客户类型 1-个人 2-企业
  34693. in: query
  34694. name: userinfotype
  34695. type: integer
  34696. - description: 客户名称(模糊匹配)
  34697. in: query
  34698. name: customername
  34699. type: string
  34700. - description: 昵称(模糊匹配)
  34701. in: query
  34702. name: nickname
  34703. type: string
  34704. - description: 所属客户经理(模糊匹配)
  34705. in: query
  34706. name: brokername
  34707. type: string
  34708. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34709. 如0503 -5月3日)
  34710. in: query
  34711. name: birthday
  34712. type: string
  34713. - description: 是否包含子级 1-包含
  34714. in: query
  34715. name: includesub
  34716. type: integer
  34717. produces:
  34718. - application/json
  34719. responses:
  34720. "200":
  34721. description: OK
  34722. schema:
  34723. items:
  34724. $ref: '#/definitions/models.QhjMgrCustomer'
  34725. type: array
  34726. "500":
  34727. description: Internal Server Error
  34728. schema:
  34729. $ref: '#/definitions/app.Response'
  34730. security:
  34731. - ApiKeyAuth: []
  34732. summary: 查询客户资料
  34733. tags:
  34734. - 大连千海金(PCWeb)
  34735. /QhjMgr/QueryPickGoods:
  34736. get:
  34737. parameters:
  34738. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34739. in: query
  34740. name: status
  34741. type: string
  34742. produces:
  34743. - application/json
  34744. responses:
  34745. "200":
  34746. description: OK
  34747. schema:
  34748. items:
  34749. $ref: '#/definitions/models.QhjMgrPickGoods'
  34750. type: array
  34751. "500":
  34752. description: Internal Server Error
  34753. schema:
  34754. $ref: '#/definitions/app.Response'
  34755. security:
  34756. - ApiKeyAuth: []
  34757. summary: 查询提货商品
  34758. tags:
  34759. - 大连千海金(PCWeb)
  34760. /QhjMgr/QuerySubArea:
  34761. get:
  34762. parameters:
  34763. - description: 用户ID
  34764. in: query
  34765. name: userid
  34766. required: true
  34767. type: integer
  34768. produces:
  34769. - application/json
  34770. responses:
  34771. "200":
  34772. description: OK
  34773. schema:
  34774. items:
  34775. $ref: '#/definitions/models.QhjMgrSubArea'
  34776. type: array
  34777. "500":
  34778. description: Internal Server Error
  34779. schema:
  34780. $ref: '#/definitions/app.Response'
  34781. security:
  34782. - ApiKeyAuth: []
  34783. summary: 查询子机构列表
  34784. tags:
  34785. - 大连千海金(PCWeb)
  34786. /QhjMgr/QueryTradeDetail:
  34787. get:
  34788. parameters:
  34789. - description: 用户ID
  34790. in: query
  34791. name: userid
  34792. required: true
  34793. type: integer
  34794. - description: 用户类型 1-个人 2-企业
  34795. in: query
  34796. name: userinfotype
  34797. type: integer
  34798. - description: 交易模式
  34799. in: query
  34800. name: trademode
  34801. type: integer
  34802. - description: 商品id
  34803. in: query
  34804. name: goodsid
  34805. type: integer
  34806. - description: 名称(模糊搜索账户)
  34807. in: query
  34808. name: filtername
  34809. type: string
  34810. - description: 开始交易日(yyyymmdd)
  34811. in: query
  34812. name: begindate
  34813. type: string
  34814. - description: 结束交易日(yyyymmdd)
  34815. in: query
  34816. name: enddate
  34817. type: string
  34818. - description: 是否包含子级 1-包含
  34819. in: query
  34820. name: includesub
  34821. type: integer
  34822. produces:
  34823. - application/json
  34824. responses:
  34825. "200":
  34826. description: OK
  34827. schema:
  34828. items:
  34829. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34830. type: array
  34831. "500":
  34832. description: Internal Server Error
  34833. schema:
  34834. $ref: '#/definitions/app.Response'
  34835. security:
  34836. - ApiKeyAuth: []
  34837. summary: 查询成交明细
  34838. tags:
  34839. - 大连千海金(PCWeb)
  34840. /QhjMgr/QueryTradeOrderDetail:
  34841. get:
  34842. parameters:
  34843. - description: 用户ID
  34844. in: query
  34845. name: userid
  34846. required: true
  34847. type: integer
  34848. - description: 用户类型 1-个人 2-企业
  34849. in: query
  34850. name: userinfotype
  34851. type: integer
  34852. - description: 交易模式
  34853. in: query
  34854. name: trademode
  34855. type: integer
  34856. - description: 商品id
  34857. in: query
  34858. name: goodsid
  34859. type: integer
  34860. - description: 名称(模糊搜索账户)
  34861. in: query
  34862. name: filtername
  34863. type: string
  34864. - description: 开始交易日(yyyymmdd)
  34865. in: query
  34866. name: begindate
  34867. type: string
  34868. - description: 结束交易日(yyyymmdd)
  34869. in: query
  34870. name: enddate
  34871. type: string
  34872. - description: 是否包含子级 1-包含
  34873. in: query
  34874. name: includesub
  34875. type: integer
  34876. produces:
  34877. - application/json
  34878. responses:
  34879. "200":
  34880. description: OK
  34881. schema:
  34882. items:
  34883. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34884. type: array
  34885. "500":
  34886. description: Internal Server Error
  34887. schema:
  34888. $ref: '#/definitions/app.Response'
  34889. security:
  34890. - ApiKeyAuth: []
  34891. summary: 查询委托明细
  34892. tags:
  34893. - 大连千海金(PCWeb)
  34894. /QhjMgr/QueryTradePayOrder:
  34895. get:
  34896. parameters:
  34897. - description: 用户ID
  34898. in: query
  34899. name: userid
  34900. required: true
  34901. type: integer
  34902. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34903. in: query
  34904. name: payflag
  34905. type: string
  34906. - description: 用户类型 1-个人 2-企业
  34907. in: query
  34908. name: userinfotype
  34909. type: integer
  34910. - description: 交易模式
  34911. in: query
  34912. name: trademode
  34913. type: integer
  34914. - description: 商品id
  34915. in: query
  34916. name: goodsid
  34917. type: integer
  34918. - description: 名称(模糊搜索账户)
  34919. in: query
  34920. name: filtername
  34921. type: string
  34922. - description: 开始交易日(yyyymmdd)
  34923. in: query
  34924. name: begindate
  34925. type: string
  34926. - description: 结束交易日(yyyymmdd)
  34927. in: query
  34928. name: enddate
  34929. type: string
  34930. - description: 是否包含子级 1-包含
  34931. in: query
  34932. name: includesub
  34933. type: integer
  34934. produces:
  34935. - application/json
  34936. responses:
  34937. "200":
  34938. description: OK
  34939. schema:
  34940. items:
  34941. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34942. type: array
  34943. "500":
  34944. description: Internal Server Error
  34945. schema:
  34946. $ref: '#/definitions/app.Response'
  34947. security:
  34948. - ApiKeyAuth: []
  34949. summary: 查询待付款单
  34950. tags:
  34951. - 大连千海金(PCWeb)
  34952. /QhjMgr/QueryTradePosition:
  34953. get:
  34954. parameters:
  34955. - description: 用户ID
  34956. in: query
  34957. name: userid
  34958. required: true
  34959. type: integer
  34960. - description: 用户类型 1-个人 2-企业
  34961. in: query
  34962. name: userinfotype
  34963. type: integer
  34964. - description: 交易模式
  34965. in: query
  34966. name: trademode
  34967. type: integer
  34968. - description: 商品id
  34969. in: query
  34970. name: goodsid
  34971. type: integer
  34972. - description: 名称(模糊搜索账户)
  34973. in: query
  34974. name: filtername
  34975. type: string
  34976. - description: 是否包含子级 1-包含
  34977. in: query
  34978. name: includesub
  34979. type: integer
  34980. produces:
  34981. - application/json
  34982. responses:
  34983. "200":
  34984. description: OK
  34985. schema:
  34986. items:
  34987. $ref: '#/definitions/models.QhjMgrPositionRsp'
  34988. type: array
  34989. "500":
  34990. description: Internal Server Error
  34991. schema:
  34992. $ref: '#/definitions/app.Response'
  34993. security:
  34994. - ApiKeyAuth: []
  34995. summary: 查询持仓汇总
  34996. tags:
  34997. - 大连千海金(PCWeb)
  34998. /QhjSys/QueryAgreementChangeLog:
  34999. get:
  35000. parameters:
  35001. - description: 协议ID
  35002. in: query
  35003. name: agreementid
  35004. type: integer
  35005. - description: 协议版本号
  35006. in: query
  35007. name: agreementversion
  35008. type: integer
  35009. - description: 协议类型 - 1:注册 2:登录 3:交易
  35010. in: query
  35011. name: agreementtype
  35012. type: integer
  35013. - description: 协议编号(模糊匹配)
  35014. in: query
  35015. name: agreementno
  35016. type: string
  35017. - description: 协议名称(模糊匹配)
  35018. in: query
  35019. name: agreementname
  35020. type: string
  35021. produces:
  35022. - application/json
  35023. responses:
  35024. "200":
  35025. description: OK
  35026. schema:
  35027. items:
  35028. $ref: '#/definitions/models.QhjAgreementChangeLog'
  35029. type: array
  35030. "500":
  35031. description: Internal Server Error
  35032. schema:
  35033. $ref: '#/definitions/app.Response'
  35034. security:
  35035. - ApiKeyAuth: []
  35036. summary: 查询协议配置变更流水
  35037. tags:
  35038. - 大连千海金(协议和签约信息)
  35039. /QhjSys/QueryAgreementConfig:
  35040. get:
  35041. parameters:
  35042. - description: 协议ID
  35043. in: query
  35044. name: agreementid
  35045. type: integer
  35046. - description: 协议版本号
  35047. in: query
  35048. name: agreementversion
  35049. type: integer
  35050. - description: 协议类型 - 1:注册 2:登录 3:交易
  35051. in: query
  35052. name: agreementtype
  35053. type: integer
  35054. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  35055. in: query
  35056. name: isvalid
  35057. type: integer
  35058. - description: 协议编号(模糊匹配)
  35059. in: query
  35060. name: agreementno
  35061. type: string
  35062. - description: 协议名称(模糊匹配)
  35063. in: query
  35064. name: agreementname
  35065. type: string
  35066. produces:
  35067. - application/json
  35068. responses:
  35069. "200":
  35070. description: OK
  35071. schema:
  35072. items:
  35073. $ref: '#/definitions/models.QhjAgreementConfig'
  35074. type: array
  35075. "500":
  35076. description: Internal Server Error
  35077. schema:
  35078. $ref: '#/definitions/app.Response'
  35079. security:
  35080. - ApiKeyAuth: []
  35081. summary: 查询协议配置
  35082. tags:
  35083. - 大连千海金(协议和签约信息)
  35084. /QhjSys/QueryCustomerSignStatus:
  35085. get:
  35086. parameters:
  35087. - description: 客户ID
  35088. in: query
  35089. name: userid
  35090. type: integer
  35091. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35092. in: query
  35093. name: nodetype
  35094. type: integer
  35095. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35096. in: query
  35097. name: goodsid
  35098. type: integer
  35099. - description: 创建交易日(yyyyMMdd)
  35100. in: query
  35101. name: tradedate
  35102. type: string
  35103. - description: 用户名称(模糊匹配)
  35104. in: query
  35105. name: username
  35106. type: string
  35107. produces:
  35108. - application/json
  35109. responses:
  35110. "200":
  35111. description: OK
  35112. schema:
  35113. items:
  35114. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35115. type: array
  35116. "500":
  35117. description: Internal Server Error
  35118. schema:
  35119. $ref: '#/definitions/app.Response'
  35120. security:
  35121. - ApiKeyAuth: []
  35122. summary: 查询客户协议签约状态
  35123. tags:
  35124. - 大连千海金(协议和签约信息)
  35125. /QhjSys/QueryNodeAgreementConfig:
  35126. get:
  35127. parameters:
  35128. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35129. in: query
  35130. name: configid
  35131. type: integer
  35132. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35133. in: query
  35134. name: nodetype
  35135. type: integer
  35136. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35137. in: query
  35138. name: goodsid
  35139. type: integer
  35140. - description: 协议ID
  35141. in: query
  35142. name: agreementid
  35143. type: integer
  35144. - description: 协议类型 - 1:注册 2:登录 3:交易
  35145. in: query
  35146. name: agreementtype
  35147. type: integer
  35148. - description: 协议版本号
  35149. in: query
  35150. name: agreementversion
  35151. type: integer
  35152. - description: 协议编号(模糊匹配)
  35153. in: query
  35154. name: agreementno
  35155. type: string
  35156. - description: 协议名称(模糊匹配)
  35157. in: query
  35158. name: agreementname
  35159. type: string
  35160. produces:
  35161. - application/json
  35162. responses:
  35163. "200":
  35164. description: OK
  35165. schema:
  35166. items:
  35167. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  35168. type: array
  35169. "500":
  35170. description: Internal Server Error
  35171. schema:
  35172. $ref: '#/definitions/app.Response'
  35173. security:
  35174. - ApiKeyAuth: []
  35175. summary: 查询协议节点配置
  35176. tags:
  35177. - 大连千海金(协议和签约信息)
  35178. /QhjSys/QueryQhjCustomerSignLog:
  35179. get:
  35180. parameters:
  35181. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35182. in: query
  35183. name: logid
  35184. type: integer
  35185. - description: 客户ID
  35186. in: query
  35187. name: userid
  35188. type: integer
  35189. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35190. in: query
  35191. name: nodetype
  35192. type: integer
  35193. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35194. in: query
  35195. name: goodsid
  35196. type: integer
  35197. - description: 协议ID
  35198. in: query
  35199. name: agreementid
  35200. type: integer
  35201. - description: 用户名称(模糊匹配)
  35202. in: query
  35203. name: username
  35204. type: string
  35205. - description: 协议编号(模糊匹配)
  35206. in: query
  35207. name: agreementno
  35208. type: string
  35209. - description: 协议名称(模糊匹配)
  35210. in: query
  35211. name: agreementname
  35212. type: string
  35213. produces:
  35214. - application/json
  35215. responses:
  35216. "200":
  35217. description: OK
  35218. schema:
  35219. items:
  35220. $ref: '#/definitions/models.QhjCustomerSignLog'
  35221. type: array
  35222. "500":
  35223. description: Internal Server Error
  35224. schema:
  35225. $ref: '#/definitions/app.Response'
  35226. security:
  35227. - ApiKeyAuth: []
  35228. summary: 查询客户协议签约流水
  35229. tags:
  35230. - 大连千海金(协议和签约信息)
  35231. /QhjSys/QueryUserNodeCfgAndStatus:
  35232. get:
  35233. parameters:
  35234. - description: 客户ID
  35235. in: query
  35236. name: userid
  35237. type: integer
  35238. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35239. in: query
  35240. name: configid
  35241. type: integer
  35242. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35243. in: query
  35244. name: nodetype
  35245. type: string
  35246. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35247. in: query
  35248. name: goodsid
  35249. type: integer
  35250. - description: 协议ID
  35251. in: query
  35252. name: agreementid
  35253. type: integer
  35254. - description: 协议类型 - 1:注册 2:登录 3:交易
  35255. in: query
  35256. name: agreementtype
  35257. type: integer
  35258. - description: 协议版本号
  35259. in: query
  35260. name: agreementversion
  35261. type: integer
  35262. - description: 协议编号(模糊匹配)
  35263. in: query
  35264. name: agreementno
  35265. type: string
  35266. - description: 协议名称(模糊匹配)
  35267. in: query
  35268. name: agreementname
  35269. type: string
  35270. produces:
  35271. - application/json
  35272. responses:
  35273. "200":
  35274. description: OK
  35275. schema:
  35276. items:
  35277. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35278. type: array
  35279. "500":
  35280. description: Internal Server Error
  35281. schema:
  35282. $ref: '#/definitions/app.Response'
  35283. security:
  35284. - ApiKeyAuth: []
  35285. summary: 查询用户协议节点配置和状态
  35286. tags:
  35287. - 大连千海金(协议和签约信息)
  35288. /Quote/QueryHistoryDatas:
  35289. get:
  35290. parameters:
  35291. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35292. 日线 12:周线 13:月线 14:年线'
  35293. in: query
  35294. name: cycleType
  35295. required: true
  35296. type: integer
  35297. - description: 商品代码
  35298. in: query
  35299. name: goodsCode
  35300. required: true
  35301. type: string
  35302. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35303. in: query
  35304. name: startTime
  35305. type: string
  35306. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35307. in: query
  35308. name: endTime
  35309. type: string
  35310. - description: 条数
  35311. in: query
  35312. name: count
  35313. type: integer
  35314. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35315. in: query
  35316. name: isAsc
  35317. type: boolean
  35318. produces:
  35319. - application/json
  35320. responses:
  35321. "200":
  35322. description: OK
  35323. schema:
  35324. $ref: '#/definitions/quote.HistoryData'
  35325. "500":
  35326. description: Internal Server Error
  35327. schema:
  35328. $ref: '#/definitions/app.Response'
  35329. security:
  35330. - ApiKeyAuth: []
  35331. summary: 查询行情历史数据
  35332. tags:
  35333. - 行情服务
  35334. /Quote/QueryHistoryTikDatas:
  35335. get:
  35336. parameters:
  35337. - description: 商品代码
  35338. in: query
  35339. name: goodsCode
  35340. required: true
  35341. type: string
  35342. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35343. in: query
  35344. name: startTime
  35345. type: string
  35346. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35347. in: query
  35348. name: endTime
  35349. type: string
  35350. - description: 条数
  35351. in: query
  35352. name: count
  35353. type: integer
  35354. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35355. in: query
  35356. name: isAsc
  35357. type: boolean
  35358. produces:
  35359. - application/json
  35360. responses:
  35361. "200":
  35362. description: OK
  35363. schema:
  35364. $ref: '#/definitions/quote.HistoryTikData'
  35365. "500":
  35366. description: Internal Server Error
  35367. schema:
  35368. $ref: '#/definitions/app.Response'
  35369. security:
  35370. - ApiKeyAuth: []
  35371. summary: 查询行情Tik数据
  35372. tags:
  35373. - 行情服务
  35374. /Quote/QueryQuoteDay:
  35375. get:
  35376. parameters:
  35377. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35378. in: query
  35379. name: goodsCodes
  35380. type: string
  35381. produces:
  35382. - application/json
  35383. responses:
  35384. "200":
  35385. description: OK
  35386. schema:
  35387. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35388. "500":
  35389. description: Internal Server Error
  35390. schema:
  35391. $ref: '#/definitions/app.Response'
  35392. security:
  35393. - ApiKeyAuth: []
  35394. summary: 获取商品盘面信息
  35395. tags:
  35396. - 行情服务
  35397. /Quote/QueryTSData:
  35398. get:
  35399. parameters:
  35400. - description: 商品代码
  35401. in: query
  35402. name: goodsCode
  35403. required: true
  35404. type: string
  35405. produces:
  35406. - application/json
  35407. responses:
  35408. "200":
  35409. description: OK
  35410. schema:
  35411. $ref: '#/definitions/quote.QueryTSDataRsp'
  35412. "500":
  35413. description: Internal Server Error
  35414. schema:
  35415. $ref: '#/definitions/app.Response'
  35416. security:
  35417. - ApiKeyAuth: []
  35418. summary: 分时图数据查询
  35419. tags:
  35420. - 行情服务
  35421. /SZDZ/QueryConvertConfig:
  35422. get:
  35423. parameters:
  35424. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35425. 6:交易转花生米(不设置)
  35426. in: query
  35427. name: convertType
  35428. type: integer
  35429. - description: 外部商品代码[JD\PD]
  35430. in: query
  35431. name: outerGoodsCode
  35432. type: string
  35433. - description: 内部商品ID列表[交易],格式:1,2,3
  35434. in: query
  35435. name: innerGoodsIDs
  35436. type: string
  35437. produces:
  35438. - application/json
  35439. responses:
  35440. "200":
  35441. description: OK
  35442. schema:
  35443. $ref: '#/definitions/models.Szdz3convertconfig'
  35444. "500":
  35445. description: Internal Server Error
  35446. schema:
  35447. $ref: '#/definitions/app.Response'
  35448. security:
  35449. - ApiKeyAuth: []
  35450. summary: 查询交易系统转换设置
  35451. tags:
  35452. - 定制【尚志大宗】
  35453. /SZDZ/QueryConvertLog:
  35454. get:
  35455. parameters:
  35456. - description: 资金账户 - 格式:1,2,3
  35457. in: query
  35458. name: accountID
  35459. required: true
  35460. type: string
  35461. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35462. in: query
  35463. name: startDate
  35464. type: string
  35465. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35466. in: query
  35467. name: endDate
  35468. type: string
  35469. produces:
  35470. - application/json
  35471. responses:
  35472. "200":
  35473. description: OK
  35474. schema:
  35475. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35476. "500":
  35477. description: Internal Server Error
  35478. schema:
  35479. $ref: '#/definitions/app.Response'
  35480. security:
  35481. - ApiKeyAuth: []
  35482. summary: 交易系统转换流水查询
  35483. tags:
  35484. - 定制【尚志大宗】
  35485. /SZDZ/QueryGoodsPickup:
  35486. get:
  35487. parameters:
  35488. - description: 资金账户 - 格式:1,2,3
  35489. in: query
  35490. name: accountID
  35491. required: true
  35492. type: string
  35493. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35494. in: query
  35495. name: takeOrderStatus
  35496. type: integer
  35497. produces:
  35498. - application/json
  35499. responses:
  35500. "200":
  35501. description: OK
  35502. schema:
  35503. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  35504. "500":
  35505. description: Internal Server Error
  35506. schema:
  35507. $ref: '#/definitions/app.Response'
  35508. security:
  35509. - ApiKeyAuth: []
  35510. summary: 商品提货单查询
  35511. tags:
  35512. - 定制【尚志大宗】
  35513. /SZDZ/QueryRecieptOrder:
  35514. get:
  35515. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35516. parameters:
  35517. - description: 页码
  35518. in: query
  35519. name: page
  35520. type: integer
  35521. - description: 每页条数
  35522. in: query
  35523. name: pagesize
  35524. type: integer
  35525. - description: 商品ID
  35526. in: query
  35527. name: goodsID
  35528. required: true
  35529. type: integer
  35530. - description: 所属账户名称
  35531. in: query
  35532. name: accountName
  35533. type: string
  35534. - description: 市场ID
  35535. in: query
  35536. name: marketID
  35537. type: integer
  35538. - description: 方向 - 0:买 1:卖
  35539. in: query
  35540. name: buyorsell
  35541. required: true
  35542. type: integer
  35543. produces:
  35544. - application/json
  35545. responses:
  35546. "200":
  35547. description: OK
  35548. schema:
  35549. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35550. "500":
  35551. description: Internal Server Error
  35552. schema:
  35553. $ref: '#/definitions/app.Response'
  35554. security:
  35555. - ApiKeyAuth: []
  35556. summary: 点选挂牌委托单据查询(摘牌大厅)
  35557. tags:
  35558. - 定制【尚志大宗】
  35559. /SZDZ/QuerySZDZTradePosition:
  35560. get:
  35561. parameters:
  35562. - description: 资金账户
  35563. in: query
  35564. name: accountID
  35565. required: true
  35566. type: integer
  35567. produces:
  35568. - application/json
  35569. responses:
  35570. "200":
  35571. description: OK
  35572. schema:
  35573. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35574. "500":
  35575. description: Internal Server Error
  35576. schema:
  35577. $ref: '#/definitions/app.Response'
  35578. security:
  35579. - ApiKeyAuth: []
  35580. summary: 持仓汇总查询(尚志大宗)
  35581. tags:
  35582. - 定制【尚志大宗】
  35583. /SZDZ/SearchWhite:
  35584. get:
  35585. parameters:
  35586. - description: 用户ID
  35587. in: query
  35588. name: userID
  35589. required: true
  35590. type: integer
  35591. produces:
  35592. - application/json
  35593. responses:
  35594. "200":
  35595. description: OK
  35596. schema:
  35597. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35598. "500":
  35599. description: Internal Server Error
  35600. schema:
  35601. $ref: '#/definitions/app.Response'
  35602. security:
  35603. - ApiKeyAuth: []
  35604. summary: 搜索白名单
  35605. tags:
  35606. - 定制【尚志大宗】
  35607. /Search/SearchGoodses:
  35608. get:
  35609. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35610. parameters:
  35611. - description: 检索内容
  35612. in: query
  35613. name: content
  35614. required: true
  35615. type: string
  35616. - description: 交易模式,格式:1,2,3
  35617. in: query
  35618. name: tradeModes
  35619. type: string
  35620. produces:
  35621. - application/json
  35622. responses:
  35623. "200":
  35624. description: OK
  35625. schema:
  35626. $ref: '#/definitions/models.SearchGoods'
  35627. "500":
  35628. description: Internal Server Error
  35629. schema:
  35630. $ref: '#/definitions/app.Response'
  35631. summary: 检索商品信息
  35632. tags:
  35633. - 检索服务
  35634. /TaAccount/GetTaAccounts:
  35635. get:
  35636. parameters:
  35637. - description: 登录账户
  35638. in: query
  35639. name: loginID
  35640. required: true
  35641. type: integer
  35642. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35643. in: query
  35644. name: taAccountType
  35645. type: integer
  35646. produces:
  35647. - application/json
  35648. responses:
  35649. "200":
  35650. description: OK
  35651. schema:
  35652. $ref: '#/definitions/models.Taaccount'
  35653. "500":
  35654. description: Internal Server Error
  35655. schema:
  35656. $ref: '#/definitions/app.Response'
  35657. security:
  35658. - ApiKeyAuth: []
  35659. summary: 获取资金账户信息
  35660. tags:
  35661. - 资金账户
  35662. /TaAccount/QueryAmountLog:
  35663. get:
  35664. parameters:
  35665. - description: 页码
  35666. in: query
  35667. name: page
  35668. type: integer
  35669. - description: 每页条数
  35670. in: query
  35671. name: pagesize
  35672. type: integer
  35673. - description: 分页标志 0-page从0开始 1-page从1开始
  35674. in: query
  35675. name: pageflag
  35676. type: integer
  35677. - description: 资金账户 - 格式:1,2,3
  35678. in: query
  35679. name: accountID
  35680. required: true
  35681. type: string
  35682. - description: 资金操作类型 - 格式:1,2,3
  35683. in: query
  35684. name: OperateType
  35685. type: string
  35686. produces:
  35687. - application/json
  35688. responses:
  35689. "200":
  35690. description: OK
  35691. schema:
  35692. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35693. "500":
  35694. description: Internal Server Error
  35695. schema:
  35696. $ref: '#/definitions/app.Response'
  35697. security:
  35698. - ApiKeyAuth: []
  35699. summary: 资金流水查询(当前)
  35700. tags:
  35701. - 资金账户
  35702. /TaAccount/QueryHisAmountLog:
  35703. get:
  35704. parameters:
  35705. - description: 页码
  35706. in: query
  35707. name: page
  35708. type: integer
  35709. - description: 每页条数
  35710. in: query
  35711. name: pagesize
  35712. type: integer
  35713. - description: 分页标志 0-page从0开始 1-page从1开始
  35714. in: query
  35715. name: pageflag
  35716. type: integer
  35717. - description: 资金账户 - 格式:1,2,3
  35718. in: query
  35719. name: accountID
  35720. required: true
  35721. type: string
  35722. - description: 资金操作类型 - 格式:1,2,3
  35723. in: query
  35724. name: OperateType
  35725. type: string
  35726. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35727. in: query
  35728. name: startDate
  35729. type: string
  35730. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35731. in: query
  35732. name: endDate
  35733. type: string
  35734. produces:
  35735. - application/json
  35736. responses:
  35737. "200":
  35738. description: OK
  35739. schema:
  35740. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35741. "500":
  35742. description: Internal Server Error
  35743. schema:
  35744. $ref: '#/definitions/app.Response'
  35745. security:
  35746. - ApiKeyAuth: []
  35747. summary: 资金流水查询(历史)
  35748. tags:
  35749. - 资金账户
  35750. /TaAccount/QueryRelatedTaAccount:
  35751. get:
  35752. parameters:
  35753. - description: 关联UserID
  35754. in: query
  35755. name: relateduserid
  35756. required: true
  35757. type: integer
  35758. produces:
  35759. - application/json
  35760. responses:
  35761. "200":
  35762. description: OK
  35763. schema:
  35764. items:
  35765. $ref: '#/definitions/models.RelatedTaAccount'
  35766. type: array
  35767. "500":
  35768. description: Internal Server Error
  35769. schema:
  35770. $ref: '#/definitions/app.Response'
  35771. security:
  35772. - ApiKeyAuth: []
  35773. summary: 查询关联资金账户信息
  35774. tags:
  35775. - 资金账户
  35776. /Tjmd/QueryQuoteGoodsList:
  35777. get:
  35778. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35779. parameters:
  35780. - description: 用户类型
  35781. in: query
  35782. name: usertype
  35783. required: true
  35784. type: integer
  35785. - description: 市场id, 格式 1,2,3
  35786. in: query
  35787. name: marketids
  35788. type: string
  35789. - description: 商品组id
  35790. in: query
  35791. name: goodsgroupid
  35792. type: integer
  35793. - description: 商品id
  35794. in: query
  35795. name: goodsid
  35796. type: integer
  35797. produces:
  35798. - application/json
  35799. responses:
  35800. "200":
  35801. description: OK
  35802. schema:
  35803. items:
  35804. $ref: '#/definitions/models.TjmdQuoteGoods'
  35805. type: array
  35806. "500":
  35807. description: Internal Server Error
  35808. schema:
  35809. $ref: '#/definitions/app.Response'
  35810. security:
  35811. - ApiKeyAuth: []
  35812. summary: 查询掉期报价列表
  35813. tags:
  35814. - 天津麦顿
  35815. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35816. get:
  35817. parameters:
  35818. - description: 成交单号
  35819. in: query
  35820. name: tradeid
  35821. required: true
  35822. type: string
  35823. produces:
  35824. - application/json
  35825. responses:
  35826. "200":
  35827. description: OK
  35828. schema:
  35829. items:
  35830. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35831. type: array
  35832. "500":
  35833. description: Internal Server Error
  35834. schema:
  35835. $ref: '#/definitions/app.Response'
  35836. security:
  35837. - ApiKeyAuth: []
  35838. summary: 掉期商品订单详情(交易确认书)
  35839. tags:
  35840. - 天津麦顿
  35841. /Tjmd/QueryTjmdMarketSection:
  35842. get:
  35843. produces:
  35844. - application/json
  35845. responses:
  35846. "200":
  35847. description: OK
  35848. schema:
  35849. items:
  35850. $ref: '#/definitions/models.TjmdMarketSection'
  35851. type: array
  35852. "500":
  35853. description: Internal Server Error
  35854. schema:
  35855. $ref: '#/definitions/app.Response'
  35856. security:
  35857. - ApiKeyAuth: []
  35858. summary: 查询市场板块
  35859. tags:
  35860. - 天津麦顿
  35861. /Tjmd/QueryTjmdTodayAccountMargin:
  35862. get:
  35863. parameters:
  35864. - description: 市场id
  35865. in: query
  35866. name: marketid
  35867. type: string
  35868. - description: 商品id
  35869. in: query
  35870. name: goodsid
  35871. type: string
  35872. - description: 资金账号
  35873. in: query
  35874. name: accountid
  35875. type: string
  35876. produces:
  35877. - application/json
  35878. responses:
  35879. "200":
  35880. description: OK
  35881. schema:
  35882. items:
  35883. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35884. type: array
  35885. "500":
  35886. description: Internal Server Error
  35887. schema:
  35888. $ref: '#/definitions/app.Response'
  35889. security:
  35890. - ApiKeyAuth: []
  35891. summary: 查询今日账户保证金配置
  35892. tags:
  35893. - 天津麦顿
  35894. /Tjmd/QueryTjmdTradeOrderDetail:
  35895. get:
  35896. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35897. parameters:
  35898. - description: 页码
  35899. in: query
  35900. name: page
  35901. type: integer
  35902. - description: 每页条数
  35903. in: query
  35904. name: pagesize
  35905. type: integer
  35906. - description: 用户id
  35907. in: query
  35908. name: userid
  35909. required: true
  35910. type: integer
  35911. - description: 用户类型
  35912. in: query
  35913. name: usertype
  35914. required: true
  35915. type: integer
  35916. - description: 市场id, 格式 1,2,3
  35917. in: query
  35918. name: marketids
  35919. type: string
  35920. - description: 商品id
  35921. in: query
  35922. name: goodsid
  35923. required: true
  35924. type: integer
  35925. - description: 买卖方向 0-买 1-卖
  35926. in: query
  35927. name: buyorsell
  35928. required: true
  35929. type: integer
  35930. produces:
  35931. - application/json
  35932. responses:
  35933. "200":
  35934. description: OK
  35935. schema:
  35936. items:
  35937. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35938. type: array
  35939. "500":
  35940. description: Internal Server Error
  35941. schema:
  35942. $ref: '#/definitions/app.Response'
  35943. security:
  35944. - ApiKeyAuth: []
  35945. summary: 查询掉期买卖大厅
  35946. tags:
  35947. - 天津麦顿
  35948. /Tjmd/QueryTjmdTransferApply:
  35949. get:
  35950. parameters:
  35951. - description: 类型 1-我的申请 2-对方申请
  35952. in: query
  35953. name: applytype
  35954. required: true
  35955. type: integer
  35956. - description: 市场id, 格式 1,2,3
  35957. in: query
  35958. name: marketids
  35959. type: string
  35960. - description: 资金账号, 格式 25000000001,25000000003
  35961. in: query
  35962. name: accountids
  35963. type: string
  35964. - description: 开始交易日(yyyymmdd)
  35965. in: query
  35966. name: begindate
  35967. type: string
  35968. - description: 结束交易日(yyyymmdd)
  35969. in: query
  35970. name: enddate
  35971. type: string
  35972. produces:
  35973. - application/json
  35974. responses:
  35975. "200":
  35976. description: OK
  35977. schema:
  35978. items:
  35979. $ref: '#/definitions/models.TjmdTransferApply'
  35980. type: array
  35981. "500":
  35982. description: Internal Server Error
  35983. schema:
  35984. $ref: '#/definitions/app.Response'
  35985. security:
  35986. - ApiKeyAuth: []
  35987. summary: 查询掉期协议单
  35988. tags:
  35989. - 天津麦顿
  35990. /Trade/QueryRecieptOrder:
  35991. get:
  35992. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35993. parameters:
  35994. - description: 页码
  35995. in: query
  35996. name: page
  35997. type: integer
  35998. - description: 每页条数
  35999. in: query
  36000. name: pagesize
  36001. type: integer
  36002. - description: 商品ID
  36003. in: query
  36004. name: goodsID
  36005. required: true
  36006. type: integer
  36007. - description: 所属账户名称
  36008. in: query
  36009. name: accountName
  36010. type: string
  36011. - description: 市场ID
  36012. in: query
  36013. name: marketID
  36014. type: integer
  36015. - description: 方向 - 0:买 1:卖
  36016. in: query
  36017. name: buyorsell
  36018. required: true
  36019. type: integer
  36020. produces:
  36021. - application/json
  36022. responses:
  36023. "200":
  36024. description: OK
  36025. schema:
  36026. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  36027. "500":
  36028. description: Internal Server Error
  36029. schema:
  36030. $ref: '#/definitions/app.Response'
  36031. security:
  36032. - ApiKeyAuth: []
  36033. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  36034. tags:
  36035. - 通用交易
  36036. /User/AddMessageBoard:
  36037. post:
  36038. parameters:
  36039. - description: 用户ID
  36040. in: query
  36041. name: userID
  36042. required: true
  36043. type: integer
  36044. - description: 留言信息
  36045. in: query
  36046. name: message
  36047. required: true
  36048. type: string
  36049. - description: 联系电话
  36050. in: query
  36051. name: contactNum
  36052. required: true
  36053. type: string
  36054. produces:
  36055. - application/json
  36056. responses:
  36057. "200":
  36058. description: OK
  36059. schema:
  36060. $ref: '#/definitions/app.Response'
  36061. "500":
  36062. description: Internal Server Error
  36063. schema:
  36064. $ref: '#/definitions/app.Response'
  36065. security:
  36066. - ApiKeyAuth: []
  36067. summary: 添加用户留言板信息
  36068. tags:
  36069. - 用户信息
  36070. /User/AddUserFavoriteGoods:
  36071. post:
  36072. parameters:
  36073. - description: 用户ID
  36074. in: query
  36075. name: userID
  36076. required: true
  36077. type: integer
  36078. - description: 商品ID
  36079. in: query
  36080. name: goodsID
  36081. required: true
  36082. type: integer
  36083. produces:
  36084. - application/json
  36085. responses:
  36086. "200":
  36087. description: OK
  36088. schema:
  36089. $ref: '#/definitions/app.Response'
  36090. "500":
  36091. description: Internal Server Error
  36092. schema:
  36093. $ref: '#/definitions/app.Response'
  36094. security:
  36095. - ApiKeyAuth: []
  36096. summary: 添加用户商品收藏信息
  36097. tags:
  36098. - 用户信息
  36099. /User/GetLoginID:
  36100. get:
  36101. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36102. parameters:
  36103. - description: 登录代码
  36104. in: query
  36105. name: username
  36106. required: true
  36107. type: string
  36108. produces:
  36109. - application/json
  36110. responses:
  36111. "200":
  36112. description: OK
  36113. schema:
  36114. $ref: '#/definitions/app.Response'
  36115. "500":
  36116. description: Internal Server Error
  36117. schema:
  36118. $ref: '#/definitions/app.Response'
  36119. summary: 获取登录ID
  36120. tags:
  36121. - 用户信息
  36122. /User/GetUserAccount:
  36123. get:
  36124. parameters:
  36125. - description: 用户ID
  36126. in: query
  36127. name: userID
  36128. required: true
  36129. type: integer
  36130. produces:
  36131. - application/json
  36132. responses:
  36133. "200":
  36134. description: OK
  36135. schema:
  36136. $ref: '#/definitions/models.Useraccount'
  36137. "500":
  36138. description: Internal Server Error
  36139. schema:
  36140. $ref: '#/definitions/app.Response'
  36141. security:
  36142. - ApiKeyAuth: []
  36143. summary: 获取用户账号信息
  36144. tags:
  36145. - 用户信息
  36146. /User/GetUserAuthStatus:
  36147. get:
  36148. parameters:
  36149. - description: 用户ID
  36150. in: query
  36151. name: userID
  36152. required: true
  36153. type: integer
  36154. produces:
  36155. - application/json
  36156. responses:
  36157. "200":
  36158. description: OK
  36159. schema:
  36160. $ref: '#/definitions/app.Response'
  36161. "500":
  36162. description: Internal Server Error
  36163. schema:
  36164. $ref: '#/definitions/app.Response'
  36165. security:
  36166. - ApiKeyAuth: []
  36167. summary: 获取用户实名认证状态
  36168. tags:
  36169. - 用户信息
  36170. /User/LoginQuery:
  36171. get:
  36172. parameters:
  36173. - description: 登录账号
  36174. in: query
  36175. name: loginID
  36176. required: true
  36177. type: integer
  36178. produces:
  36179. - application/json
  36180. responses:
  36181. "200":
  36182. description: OK
  36183. schema:
  36184. $ref: '#/definitions/user.LoginQueryRsp'
  36185. "500":
  36186. description: Internal Server Error
  36187. schema:
  36188. $ref: '#/definitions/app.Response'
  36189. security:
  36190. - ApiKeyAuth: []
  36191. summary: 账户登录后信息查询
  36192. tags:
  36193. - 用户信息
  36194. /User/QueryMessageBoard:
  36195. get:
  36196. parameters:
  36197. - description: 用户ID
  36198. in: query
  36199. name: userID
  36200. required: true
  36201. type: integer
  36202. produces:
  36203. - application/json
  36204. responses:
  36205. "200":
  36206. description: OK
  36207. schema:
  36208. $ref: '#/definitions/models.Messageboard'
  36209. "500":
  36210. description: Internal Server Error
  36211. schema:
  36212. $ref: '#/definitions/app.Response'
  36213. security:
  36214. - ApiKeyAuth: []
  36215. summary: 获取用户留言板信息
  36216. tags:
  36217. - 用户信息
  36218. /User/QueryUserFavoriteGoodses:
  36219. get:
  36220. parameters:
  36221. - description: 用户ID
  36222. in: query
  36223. name: userID
  36224. required: true
  36225. type: integer
  36226. produces:
  36227. - application/json
  36228. responses:
  36229. "200":
  36230. description: OK
  36231. schema:
  36232. $ref: '#/definitions/models.Userfavoritegoods'
  36233. "500":
  36234. description: Internal Server Error
  36235. schema:
  36236. $ref: '#/definitions/app.Response'
  36237. security:
  36238. - ApiKeyAuth: []
  36239. summary: 获取用户商品收藏信息
  36240. tags:
  36241. - 用户信息
  36242. /User/QueryUserInfo:
  36243. get:
  36244. parameters:
  36245. - description: 用户ID
  36246. in: query
  36247. name: userID
  36248. required: true
  36249. type: integer
  36250. - description: 是否解密
  36251. in: query
  36252. name: isDecrypt
  36253. type: boolean
  36254. produces:
  36255. - application/json
  36256. responses:
  36257. "200":
  36258. description: OK
  36259. schema:
  36260. $ref: '#/definitions/models.Userinfo'
  36261. "500":
  36262. description: Internal Server Error
  36263. schema:
  36264. $ref: '#/definitions/app.Response'
  36265. security:
  36266. - ApiKeyAuth: []
  36267. summary: 获取用户信息
  36268. tags:
  36269. - 用户信息
  36270. /User/QueryUserReferNum:
  36271. get:
  36272. parameters:
  36273. - description: 用户ID
  36274. in: query
  36275. name: userID
  36276. required: true
  36277. type: integer
  36278. produces:
  36279. - application/json
  36280. responses:
  36281. "200":
  36282. description: OK
  36283. schema:
  36284. $ref: '#/definitions/app.Response'
  36285. "500":
  36286. description: Internal Server Error
  36287. schema:
  36288. $ref: '#/definitions/app.Response'
  36289. summary: 获取用户邀请码
  36290. tags:
  36291. - 用户信息
  36292. /User/RemoveUserFavoriteGoods:
  36293. post:
  36294. parameters:
  36295. - description: 用户ID
  36296. in: query
  36297. name: userID
  36298. required: true
  36299. type: integer
  36300. - description: 商品ID
  36301. in: query
  36302. name: goodsID
  36303. required: true
  36304. type: integer
  36305. produces:
  36306. - application/json
  36307. responses:
  36308. "200":
  36309. description: OK
  36310. schema:
  36311. $ref: '#/definitions/app.Response'
  36312. "500":
  36313. description: Internal Server Error
  36314. schema:
  36315. $ref: '#/definitions/app.Response'
  36316. security:
  36317. - ApiKeyAuth: []
  36318. summary: 移除用户商品收藏信息
  36319. tags:
  36320. - 用户信息
  36321. /User/UpdateUserAccountStatus:
  36322. post:
  36323. parameters:
  36324. - description: 用户ID
  36325. in: query
  36326. name: userID
  36327. required: true
  36328. type: integer
  36329. - description: 账户状态 - 4:正常 6:注销(停用)
  36330. in: query
  36331. name: accountStatus
  36332. required: true
  36333. type: integer
  36334. produces:
  36335. - application/json
  36336. responses:
  36337. "200":
  36338. description: OK
  36339. schema:
  36340. $ref: '#/definitions/app.Response'
  36341. "500":
  36342. description: Internal Server Error
  36343. schema:
  36344. $ref: '#/definitions/app.Response'
  36345. security:
  36346. - ApiKeyAuth: []
  36347. summary: 更新用户状态
  36348. tags:
  36349. - 用户信息
  36350. /User/UpdateUserHeadUrl:
  36351. post:
  36352. parameters:
  36353. - description: 用户ID
  36354. in: query
  36355. name: userID
  36356. required: true
  36357. type: integer
  36358. - description: 头像地址
  36359. in: query
  36360. name: headurl
  36361. required: true
  36362. type: string
  36363. produces:
  36364. - application/json
  36365. responses:
  36366. "200":
  36367. description: OK
  36368. schema:
  36369. $ref: '#/definitions/app.Response'
  36370. "500":
  36371. description: Internal Server Error
  36372. schema:
  36373. $ref: '#/definitions/app.Response'
  36374. security:
  36375. - ApiKeyAuth: []
  36376. summary: 更新用户头像
  36377. tags:
  36378. - 用户信息
  36379. /WRTrade/GetAllDeliveryGoods:
  36380. get:
  36381. produces:
  36382. - application/json
  36383. responses:
  36384. "200":
  36385. description: OK
  36386. schema:
  36387. $ref: '#/definitions/app.Response'
  36388. "500":
  36389. description: Internal Server Error
  36390. schema:
  36391. $ref: '#/definitions/app.Response'
  36392. security:
  36393. - ApiKeyAuth: []
  36394. summary: 获取带仓单分类的种类信息
  36395. tags:
  36396. - 仓单贸易
  36397. - 仓单贸易
  36398. /WrTrade2/InsertXhcpSellBackApply:
  36399. post:
  36400. parameters:
  36401. - description: 回收申请
  36402. in: body
  36403. name: jsonBody
  36404. required: true
  36405. schema:
  36406. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36407. produces:
  36408. - application/json
  36409. responses:
  36410. "200":
  36411. description: OK
  36412. schema:
  36413. $ref: '#/definitions/app.Response'
  36414. "500":
  36415. description: Internal Server Error
  36416. schema:
  36417. $ref: '#/definitions/app.Response'
  36418. security:
  36419. - ApiKeyAuth: []
  36420. summary: 新增回收申请(新会陈皮)
  36421. tags:
  36422. - 仓单贸易v2
  36423. /WrTrade2/QueryDeliveryGoodsSection:
  36424. get:
  36425. produces:
  36426. - application/json
  36427. responses:
  36428. "200":
  36429. description: OK
  36430. schema:
  36431. items:
  36432. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36433. type: array
  36434. "500":
  36435. description: Internal Server Error
  36436. schema:
  36437. $ref: '#/definitions/app.Response'
  36438. security:
  36439. - ApiKeyAuth: []
  36440. summary: 查询板块(分类)
  36441. tags:
  36442. - 仓单贸易v2
  36443. /WrTrade2/QueryFaProductDetail:
  36444. get:
  36445. description: 页面 买卖大厅 -> 选择融资方案
  36446. parameters:
  36447. - description: 仓单要素id
  36448. in: query
  36449. name: wrfactortypeid
  36450. required: true
  36451. type: integer
  36452. produces:
  36453. - application/json
  36454. responses:
  36455. "200":
  36456. description: OK
  36457. schema:
  36458. items:
  36459. $ref: '#/definitions/models.WrFAProductDetail'
  36460. type: array
  36461. "500":
  36462. description: Internal Server Error
  36463. schema:
  36464. $ref: '#/definitions/app.Response'
  36465. security:
  36466. - ApiKeyAuth: []
  36467. summary: 查询融资产品列表
  36468. tags:
  36469. - 仓单贸易v2
  36470. /WrTrade2/QueryFilterItem:
  36471. get:
  36472. parameters:
  36473. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36474. in: query
  36475. name: itype
  36476. required: true
  36477. type: string
  36478. produces:
  36479. - application/json
  36480. responses:
  36481. "200":
  36482. description: OK
  36483. schema:
  36484. items:
  36485. $ref: '#/definitions/models.WrFilterItem'
  36486. type: array
  36487. "500":
  36488. description: Internal Server Error
  36489. schema:
  36490. $ref: '#/definitions/app.Response'
  36491. security:
  36492. - ApiKeyAuth: []
  36493. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36494. tags:
  36495. - 仓单贸易v2
  36496. /WrTrade2/QueryFtDeliveryGoods:
  36497. get:
  36498. produces:
  36499. - application/json
  36500. responses:
  36501. "200":
  36502. description: OK
  36503. schema:
  36504. items:
  36505. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36506. type: array
  36507. "500":
  36508. description: Internal Server Error
  36509. schema:
  36510. $ref: '#/definitions/app.Response'
  36511. security:
  36512. - ApiKeyAuth: []
  36513. summary: 查询品种品类筛选框列表
  36514. tags:
  36515. - 仓单贸易v2
  36516. /WrTrade2/QueryHoldLB:
  36517. get:
  36518. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36519. parameters:
  36520. - description: 资金账号
  36521. in: query
  36522. name: accountid
  36523. required: true
  36524. type: integer
  36525. - description: 仓库id
  36526. in: query
  36527. name: warehouseid
  36528. type: integer
  36529. - description: 品种id
  36530. in: query
  36531. name: deliverygoodsid
  36532. type: integer
  36533. - description: 品类id
  36534. in: query
  36535. name: wrstandardid
  36536. type: integer
  36537. - description: 仓单要素id
  36538. in: query
  36539. name: wrfactortypeid
  36540. type: integer
  36541. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36542. in: query
  36543. name: dgitemname
  36544. type: string
  36545. produces:
  36546. - application/json
  36547. responses:
  36548. "200":
  36549. description: OK
  36550. schema:
  36551. items:
  36552. $ref: '#/definitions/models.WrHoldLB'
  36553. type: array
  36554. "500":
  36555. description: Internal Server Error
  36556. schema:
  36557. $ref: '#/definitions/app.Response'
  36558. security:
  36559. - ApiKeyAuth: []
  36560. summary: 查询仓单持有记录
  36561. tags:
  36562. - 仓单贸易v2
  36563. /WrTrade2/QueryOrderQuote:
  36564. get:
  36565. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36566. 唯一确定1条记录
  36567. parameters:
  36568. - description: 页码
  36569. in: query
  36570. name: page
  36571. type: integer
  36572. - description: 每页条数
  36573. in: query
  36574. name: pagesize
  36575. type: integer
  36576. - description: 仓单贸易市场id
  36577. in: query
  36578. name: marketid
  36579. type: integer
  36580. - description: 价格方式 - 1:固定价 2-浮动价
  36581. in: query
  36582. name: wrpricetype
  36583. required: true
  36584. type: integer
  36585. - description: 0:仓单预售 1:仓单贸易
  36586. in: query
  36587. name: haswr
  36588. type: integer
  36589. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36590. in: query
  36591. name: dgitemname
  36592. type: string
  36593. - description: 仓库id(筛选条件)
  36594. in: query
  36595. name: warehouseid
  36596. type: integer
  36597. - description: 品种id
  36598. in: query
  36599. name: deliverygoodsid
  36600. type: integer
  36601. - description: 品类id
  36602. in: query
  36603. name: wrstandardid
  36604. type: integer
  36605. - description: 品牌id(dgfactoryitemid)
  36606. in: query
  36607. name: brandid
  36608. type: integer
  36609. - description: 年份id(dgfactoryitemid)
  36610. in: query
  36611. name: yearsid
  36612. type: integer
  36613. - description: 仓单要素id
  36614. in: query
  36615. name: wrfactortypeid
  36616. type: integer
  36617. - description: 交收月(yyyy-mm) 仓单预售填写
  36618. in: query
  36619. name: deliverymonth
  36620. type: string
  36621. produces:
  36622. - application/json
  36623. responses:
  36624. "200":
  36625. description: OK
  36626. schema:
  36627. items:
  36628. $ref: '#/definitions/models.WrOrderQuote'
  36629. type: array
  36630. "500":
  36631. description: Internal Server Error
  36632. schema:
  36633. $ref: '#/definitions/app.Response'
  36634. security:
  36635. - ApiKeyAuth: []
  36636. summary: 查询大厅行情列表
  36637. tags:
  36638. - 仓单贸易v2
  36639. /WrTrade2/QueryOrderQuoteDetail:
  36640. get:
  36641. parameters:
  36642. - description: 页码
  36643. in: query
  36644. name: page
  36645. type: integer
  36646. - description: 每页条数
  36647. in: query
  36648. name: pagesize
  36649. type: integer
  36650. - description: 仓单贸易市场id
  36651. in: query
  36652. name: marketid
  36653. type: integer
  36654. - description: 价格方式 - 1:固定价 2-浮动价
  36655. in: query
  36656. name: wrpricetype
  36657. required: true
  36658. type: integer
  36659. - description: 0:仓单预售 1:仓单贸易
  36660. in: query
  36661. name: haswr
  36662. type: integer
  36663. - description: 仓单要素id
  36664. in: query
  36665. name: wrfactortypeid
  36666. required: true
  36667. type: integer
  36668. - description: 期货商品id(浮动价方式时填)
  36669. in: query
  36670. name: goodsid
  36671. type: integer
  36672. - description: 买卖方向 0-买 1-卖
  36673. in: query
  36674. name: buyorsell
  36675. required: true
  36676. type: integer
  36677. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36678. in: query
  36679. name: deliverymonth
  36680. type: string
  36681. produces:
  36682. - application/json
  36683. responses:
  36684. "200":
  36685. description: OK
  36686. schema:
  36687. items:
  36688. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36689. type: array
  36690. "500":
  36691. description: Internal Server Error
  36692. schema:
  36693. $ref: '#/definitions/app.Response'
  36694. security:
  36695. - ApiKeyAuth: []
  36696. summary: 查询买卖大厅
  36697. tags:
  36698. - 仓单贸易v2
  36699. /WrTrade2/QueryOrderQuoteMyq:
  36700. get:
  36701. parameters:
  36702. - description: 页码
  36703. in: query
  36704. name: page
  36705. type: integer
  36706. - description: 每页条数
  36707. in: query
  36708. name: pagesize
  36709. type: integer
  36710. - description: 用户id
  36711. in: query
  36712. name: userid
  36713. required: true
  36714. type: integer
  36715. - description: 仓单贸易市场id
  36716. in: query
  36717. name: marketid
  36718. type: integer
  36719. - description: 0:仓单预售 1:仓单贸易
  36720. in: query
  36721. name: haswr
  36722. type: integer
  36723. - description: 买卖方向 0-买 1-卖
  36724. in: query
  36725. name: buyorsell
  36726. required: true
  36727. type: integer
  36728. - description: 品种id
  36729. in: query
  36730. name: deliverygoodsid
  36731. type: integer
  36732. - description: 品类id
  36733. in: query
  36734. name: wrstandardid
  36735. type: integer
  36736. - description: 交收月(yyyy-mm) 仓单预售填写
  36737. in: query
  36738. name: deliverymonth
  36739. type: string
  36740. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36741. in: query
  36742. name: dgitemname
  36743. type: string
  36744. produces:
  36745. - application/json
  36746. responses:
  36747. "200":
  36748. description: OK
  36749. schema:
  36750. items:
  36751. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36752. type: array
  36753. "500":
  36754. description: Internal Server Error
  36755. schema:
  36756. $ref: '#/definitions/app.Response'
  36757. security:
  36758. - ApiKeyAuth: []
  36759. summary: 查询贸易圈挂牌大厅
  36760. tags:
  36761. - 仓单贸易v2
  36762. /WrTrade2/QueryPerformancePlan:
  36763. get:
  36764. parameters:
  36765. - description: 用户id
  36766. in: query
  36767. name: userid
  36768. required: true
  36769. type: integer
  36770. - description: 买卖方向 0-买 1-卖
  36771. in: query
  36772. name: buyorsell
  36773. required: true
  36774. type: integer
  36775. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36776. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36777. in: query
  36778. name: status
  36779. type: string
  36780. - description: 开始交易日(yyyymmdd)
  36781. in: query
  36782. name: begindate
  36783. type: string
  36784. - description: 结束交易日(yyyymmdd)
  36785. in: query
  36786. name: enddate
  36787. type: string
  36788. produces:
  36789. - application/json
  36790. responses:
  36791. "200":
  36792. description: OK
  36793. schema:
  36794. items:
  36795. $ref: '#/definitions/models.WrPerformancePlan'
  36796. type: array
  36797. "500":
  36798. description: Internal Server Error
  36799. schema:
  36800. $ref: '#/definitions/app.Response'
  36801. security:
  36802. - ApiKeyAuth: []
  36803. summary: 查询履约信息
  36804. tags:
  36805. - 仓单贸易v2
  36806. /WrTrade2/QueryPermancePlanTmp:
  36807. get:
  36808. description: |-
  36809. 返回指定用户的模板和公共模板(用户id为空)
  36810. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36811. parameters:
  36812. - description: 用户id
  36813. in: query
  36814. name: userid
  36815. type: integer
  36816. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36817. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36818. in: query
  36819. name: tmptype
  36820. type: string
  36821. - description: 是否包含公共模板(用户id为空的) 1-包含
  36822. in: query
  36823. name: includepub
  36824. type: integer
  36825. - description: 市场id(天津麦顿指定此参数,其它不用)
  36826. in: query
  36827. name: marketid
  36828. type: integer
  36829. produces:
  36830. - application/json
  36831. responses:
  36832. "200":
  36833. description: OK
  36834. schema:
  36835. items:
  36836. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36837. type: array
  36838. "500":
  36839. description: Internal Server Error
  36840. schema:
  36841. $ref: '#/definitions/app.Response'
  36842. security:
  36843. - ApiKeyAuth: []
  36844. summary: 查询履约模板
  36845. tags:
  36846. - 仓单贸易v2
  36847. /WrTrade2/QuerySiteColumnConfig:
  36848. get:
  36849. parameters:
  36850. - description: 页码
  36851. in: query
  36852. name: page
  36853. type: integer
  36854. - description: 每页条数
  36855. in: query
  36856. name: pagesize
  36857. type: integer
  36858. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36859. in: query
  36860. name: columntype
  36861. type: integer
  36862. produces:
  36863. - application/json
  36864. responses:
  36865. "200":
  36866. description: OK
  36867. schema:
  36868. items:
  36869. $ref: '#/definitions/models.Sitecolumnconfig'
  36870. type: array
  36871. "500":
  36872. description: Internal Server Error
  36873. schema:
  36874. $ref: '#/definitions/app.Response'
  36875. security:
  36876. - ApiKeyAuth: []
  36877. summary: 查询资讯栏目配置
  36878. tags:
  36879. - 仓单贸易v2
  36880. /WrTrade2/QuerySiteColumnDetail:
  36881. get:
  36882. parameters:
  36883. - description: 页码
  36884. in: query
  36885. name: page
  36886. type: integer
  36887. - description: 每页条数
  36888. in: query
  36889. name: pagesize
  36890. type: integer
  36891. - description: 所属栏目id
  36892. in: query
  36893. name: columnid
  36894. type: integer
  36895. produces:
  36896. - application/json
  36897. responses:
  36898. "200":
  36899. description: OK
  36900. schema:
  36901. items:
  36902. $ref: '#/definitions/models.WrSiteColumnDetail'
  36903. type: array
  36904. "500":
  36905. description: Internal Server Error
  36906. schema:
  36907. $ref: '#/definitions/app.Response'
  36908. security:
  36909. - ApiKeyAuth: []
  36910. summary: 查询资讯
  36911. tags:
  36912. - 仓单贸易v2
  36913. /WrTrade2/QuerySpotGroupTradeSum:
  36914. get:
  36915. produces:
  36916. - application/json
  36917. responses:
  36918. "200":
  36919. description: OK
  36920. schema:
  36921. items:
  36922. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36923. type: array
  36924. "500":
  36925. description: Internal Server Error
  36926. schema:
  36927. $ref: '#/definitions/app.Response'
  36928. security:
  36929. - ApiKeyAuth: []
  36930. summary: 查询指数
  36931. tags:
  36932. - 仓单贸易v2
  36933. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36934. get:
  36935. description: 查询的结果将会按日期 从小到大 排序
  36936. parameters:
  36937. - description: 现货商品id
  36938. in: query
  36939. name: deliverygoodsid
  36940. required: true
  36941. type: integer
  36942. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36943. in: query
  36944. name: lastnum
  36945. type: integer
  36946. produces:
  36947. - application/json
  36948. responses:
  36949. "200":
  36950. description: OK
  36951. schema:
  36952. items:
  36953. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36954. type: array
  36955. "500":
  36956. description: Internal Server Error
  36957. schema:
  36958. $ref: '#/definitions/app.Response'
  36959. security:
  36960. - ApiKeyAuth: []
  36961. summary: 查询指数详细(价格走势图)
  36962. tags:
  36963. - 仓单贸易v2
  36964. /WrTrade2/QueryWrAverageTradePrice:
  36965. get:
  36966. parameters:
  36967. - description: 页码
  36968. in: query
  36969. name: page
  36970. type: integer
  36971. - description: 每页条数
  36972. in: query
  36973. name: pagesize
  36974. type: integer
  36975. - description: 0:仓单预售 1:仓单贸易
  36976. in: query
  36977. name: haswr
  36978. required: true
  36979. type: integer
  36980. - description: 仓单要素id
  36981. in: query
  36982. name: wrfactortypeid
  36983. required: true
  36984. type: integer
  36985. produces:
  36986. - application/json
  36987. responses:
  36988. "200":
  36989. description: OK
  36990. schema:
  36991. items:
  36992. $ref: '#/definitions/models.WrAverageTradePrice'
  36993. type: array
  36994. "500":
  36995. description: Internal Server Error
  36996. schema:
  36997. $ref: '#/definitions/app.Response'
  36998. security:
  36999. - ApiKeyAuth: []
  37000. summary: 查询成交价(历史走势)
  37001. tags:
  37002. - 仓单贸易v2
  37003. /WrTrade2/QueryWrBrandAndYears:
  37004. get:
  37005. produces:
  37006. - application/json
  37007. responses:
  37008. "200":
  37009. description: OK
  37010. schema:
  37011. items:
  37012. $ref: '#/definitions/models.WrBrandAndYears'
  37013. type: array
  37014. "500":
  37015. description: Internal Server Error
  37016. schema:
  37017. $ref: '#/definitions/app.Response'
  37018. security:
  37019. - ApiKeyAuth: []
  37020. summary: 查询品牌和年份
  37021. tags:
  37022. - 仓单贸易v2
  37023. /WrTrade2/QueryWrBsGoodsInfo:
  37024. get:
  37025. description: 合约交易/买卖大厅/详情
  37026. parameters:
  37027. - description: 商品id
  37028. in: query
  37029. name: goodsid
  37030. required: true
  37031. type: integer
  37032. produces:
  37033. - application/json
  37034. responses:
  37035. "200":
  37036. description: OK
  37037. schema:
  37038. items:
  37039. $ref: '#/definitions/models.WrBsGoodsInfo'
  37040. type: array
  37041. "500":
  37042. description: Internal Server Error
  37043. schema:
  37044. $ref: '#/definitions/app.Response'
  37045. security:
  37046. - ApiKeyAuth: []
  37047. summary: 查询合约交易买卖大厅详情
  37048. tags:
  37049. - 仓单贸易v2
  37050. /WrTrade2/QueryWrBuybackDetail:
  37051. get:
  37052. parameters:
  37053. - description: 融资合同id
  37054. in: query
  37055. name: scfcontractid
  37056. type: integer
  37057. produces:
  37058. - application/json
  37059. responses:
  37060. "200":
  37061. description: OK
  37062. schema:
  37063. items:
  37064. $ref: '#/definitions/models.WrBuybackDetail'
  37065. type: array
  37066. "500":
  37067. description: Internal Server Error
  37068. schema:
  37069. $ref: '#/definitions/app.Response'
  37070. security:
  37071. - ApiKeyAuth: []
  37072. summary: 查询仓单回购明细
  37073. tags:
  37074. - 仓单贸易v2
  37075. /WrTrade2/QueryWrClientAdSpaceConfig:
  37076. get:
  37077. produces:
  37078. - application/json
  37079. responses:
  37080. "200":
  37081. description: OK
  37082. schema:
  37083. items:
  37084. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  37085. type: array
  37086. "500":
  37087. description: Internal Server Error
  37088. schema:
  37089. $ref: '#/definitions/app.Response'
  37090. security:
  37091. - ApiKeyAuth: []
  37092. summary: 查询固定广告配置
  37093. tags:
  37094. - 仓单贸易v2
  37095. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37096. get:
  37097. parameters:
  37098. - description: 资金账号
  37099. in: query
  37100. name: accountid
  37101. required: true
  37102. type: integer
  37103. - description: 商品id
  37104. in: query
  37105. name: goodsid
  37106. required: true
  37107. type: integer
  37108. produces:
  37109. - application/json
  37110. responses:
  37111. "200":
  37112. description: OK
  37113. schema:
  37114. items:
  37115. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37116. type: array
  37117. "500":
  37118. description: Internal Server Error
  37119. schema:
  37120. $ref: '#/definitions/app.Response'
  37121. security:
  37122. - ApiKeyAuth: []
  37123. summary: 查询合约交收可点选仓单
  37124. tags:
  37125. - 仓单贸易v2
  37126. /WrTrade2/QueryWrDeliveryDetail:
  37127. get:
  37128. parameters:
  37129. - description: 用户id
  37130. in: query
  37131. name: userid
  37132. required: true
  37133. type: integer
  37134. - description: 资金账号id
  37135. in: query
  37136. name: accountid
  37137. type: integer
  37138. - description: 开始交易日(yyyymmdd)
  37139. in: query
  37140. name: begindate
  37141. type: string
  37142. - description: 结束交易日(yyyymmdd)
  37143. in: query
  37144. name: enddate
  37145. type: string
  37146. produces:
  37147. - application/json
  37148. responses:
  37149. "200":
  37150. description: OK
  37151. schema:
  37152. items:
  37153. $ref: '#/definitions/models.WrDeliveryDetail'
  37154. type: array
  37155. "500":
  37156. description: Internal Server Error
  37157. schema:
  37158. $ref: '#/definitions/app.Response'
  37159. security:
  37160. - ApiKeyAuth: []
  37161. summary: 查询交收
  37162. tags:
  37163. - 仓单贸易v2
  37164. /WrTrade2/QueryWrDraftUserInfo:
  37165. get:
  37166. parameters:
  37167. - description: 用户ID
  37168. in: query
  37169. name: userid
  37170. required: true
  37171. type: integer
  37172. - description: 用户状态 1:正常 2:注销
  37173. in: query
  37174. name: userstatus
  37175. type: integer
  37176. produces:
  37177. - application/json
  37178. responses:
  37179. "200":
  37180. description: OK
  37181. schema:
  37182. items:
  37183. $ref: '#/definitions/models.WrDraftUserInfo'
  37184. type: array
  37185. "500":
  37186. description: Internal Server Error
  37187. schema:
  37188. $ref: '#/definitions/app.Response'
  37189. security:
  37190. - ApiKeyAuth: []
  37191. summary: 查询实名认证信息
  37192. tags:
  37193. - 仓单贸易v2
  37194. /WrTrade2/QueryWrFactorTypeInfo:
  37195. get:
  37196. parameters:
  37197. - description: 仓单要素id
  37198. in: query
  37199. name: wrfactortypeid
  37200. required: true
  37201. type: integer
  37202. produces:
  37203. - application/json
  37204. responses:
  37205. "200":
  37206. description: OK
  37207. schema:
  37208. items:
  37209. $ref: '#/definitions/models.WrFactorTypeInfo'
  37210. type: array
  37211. "500":
  37212. description: Internal Server Error
  37213. schema:
  37214. $ref: '#/definitions/app.Response'
  37215. security:
  37216. - ApiKeyAuth: []
  37217. summary: 查询仓单要素详细信息
  37218. tags:
  37219. - 仓单贸易v2
  37220. /WrTrade2/QueryWrFactorTypeInfoEx:
  37221. get:
  37222. parameters:
  37223. - description: 仓单要素id
  37224. in: query
  37225. name: wrfactortypeid
  37226. required: true
  37227. type: integer
  37228. produces:
  37229. - application/json
  37230. responses:
  37231. "200":
  37232. description: OK
  37233. schema:
  37234. items:
  37235. $ref: '#/definitions/models.WrTypeItem'
  37236. type: array
  37237. "500":
  37238. description: Internal Server Error
  37239. schema:
  37240. $ref: '#/definitions/app.Response'
  37241. security:
  37242. - ApiKeyAuth: []
  37243. summary: 查询仓单要素详细信息列表项
  37244. tags:
  37245. - 仓单贸易v2
  37246. /WrTrade2/QueryWrFinanceBuyApply:
  37247. get:
  37248. description: 页面 融资信息+ / 申请单
  37249. parameters:
  37250. - description: 用户id
  37251. in: query
  37252. name: userid
  37253. required: true
  37254. type: integer
  37255. produces:
  37256. - application/json
  37257. responses:
  37258. "200":
  37259. description: OK
  37260. schema:
  37261. items:
  37262. $ref: '#/definitions/models.WrFinanceBuyApply'
  37263. type: array
  37264. "500":
  37265. description: Internal Server Error
  37266. schema:
  37267. $ref: '#/definitions/app.Response'
  37268. security:
  37269. - ApiKeyAuth: []
  37270. summary: 查询融资购买申请
  37271. tags:
  37272. - 仓单贸易v2
  37273. /WrTrade2/QueryWrFriendApply:
  37274. get:
  37275. parameters:
  37276. - description: 用户id
  37277. in: query
  37278. name: userid
  37279. required: true
  37280. type: integer
  37281. produces:
  37282. - application/json
  37283. responses:
  37284. "200":
  37285. description: OK
  37286. schema:
  37287. items:
  37288. $ref: '#/definitions/models.WrFriendApply'
  37289. type: array
  37290. "500":
  37291. description: Internal Server Error
  37292. schema:
  37293. $ref: '#/definitions/app.Response'
  37294. security:
  37295. - ApiKeyAuth: []
  37296. summary: 查询好友申请记录
  37297. tags:
  37298. - 仓单贸易v2
  37299. /WrTrade2/QueryWrGoodsInfo:
  37300. get:
  37301. parameters:
  37302. - description: 仓单贸易市场id
  37303. in: query
  37304. name: marketid
  37305. type: integer
  37306. - description: 0:仓单预售 1:仓单贸易
  37307. in: query
  37308. name: haswr
  37309. required: true
  37310. type: integer
  37311. - description: 仓单要素id
  37312. in: query
  37313. name: wrfactortypeid
  37314. required: true
  37315. type: integer
  37316. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37317. in: query
  37318. name: tmplateid
  37319. type: integer
  37320. produces:
  37321. - application/json
  37322. responses:
  37323. "200":
  37324. description: OK
  37325. schema:
  37326. items:
  37327. $ref: '#/definitions/models.WrGoodsInfo'
  37328. type: array
  37329. "500":
  37330. description: Internal Server Error
  37331. schema:
  37332. $ref: '#/definitions/app.Response'
  37333. security:
  37334. - ApiKeyAuth: []
  37335. summary: 查询仓单商品信息
  37336. tags:
  37337. - 仓单贸易v2
  37338. /WrTrade2/QueryWrMarketTradeConfig:
  37339. get:
  37340. parameters:
  37341. - description: 市场id
  37342. in: query
  37343. name: marketid
  37344. type: integer
  37345. produces:
  37346. - application/json
  37347. responses:
  37348. "200":
  37349. description: OK
  37350. schema:
  37351. items:
  37352. $ref: '#/definitions/models.WrMarketTradeConfig'
  37353. type: array
  37354. "500":
  37355. description: Internal Server Error
  37356. schema:
  37357. $ref: '#/definitions/app.Response'
  37358. security:
  37359. - ApiKeyAuth: []
  37360. summary: 查询市场交易参数配置
  37361. tags:
  37362. - 仓单贸易v2
  37363. /WrTrade2/QueryWrOrderDetail:
  37364. get:
  37365. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37366. parameters:
  37367. - description: 页码
  37368. in: query
  37369. name: page
  37370. type: integer
  37371. - description: 每页条数
  37372. in: query
  37373. name: pagesize
  37374. type: integer
  37375. - description: 用户id
  37376. in: query
  37377. name: userid
  37378. required: true
  37379. type: integer
  37380. - description: 仓单贸易市场id
  37381. in: query
  37382. name: marketid
  37383. type: integer
  37384. - description: 0:仓单预售 1:仓单贸易
  37385. in: query
  37386. name: haswr
  37387. required: true
  37388. type: integer
  37389. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37390. in: query
  37391. name: bcancel
  37392. type: integer
  37393. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37394. in: query
  37395. name: wrtradetype
  37396. type: integer
  37397. - description: 开始交易日(yyyymmdd)
  37398. in: query
  37399. name: begindate
  37400. type: string
  37401. - description: 结束交易日(yyyymmdd)
  37402. in: query
  37403. name: enddate
  37404. type: string
  37405. produces:
  37406. - application/json
  37407. responses:
  37408. "200":
  37409. description: OK
  37410. schema:
  37411. items:
  37412. $ref: '#/definitions/models.WrOrderDetail'
  37413. type: array
  37414. "500":
  37415. description: Internal Server Error
  37416. schema:
  37417. $ref: '#/definitions/app.Response'
  37418. security:
  37419. - ApiKeyAuth: []
  37420. summary: 查询仓单委托单
  37421. tags:
  37422. - 仓单贸易v2
  37423. /WrTrade2/QueryWrOutInApply:
  37424. get:
  37425. parameters:
  37426. - description: 页码
  37427. in: query
  37428. name: page
  37429. type: integer
  37430. - description: 每页条数
  37431. in: query
  37432. name: pagesize
  37433. type: integer
  37434. - description: 用户id
  37435. in: query
  37436. name: userid
  37437. required: true
  37438. type: integer
  37439. - description: 开始交易日(yyyymmdd)
  37440. in: query
  37441. name: begindate
  37442. type: string
  37443. - description: 结束交易日(yyyymmdd)
  37444. in: query
  37445. name: enddate
  37446. type: string
  37447. produces:
  37448. - application/json
  37449. responses:
  37450. "200":
  37451. description: OK
  37452. schema:
  37453. items:
  37454. $ref: '#/definitions/models.WrOutInApply'
  37455. type: array
  37456. "500":
  37457. description: Internal Server Error
  37458. schema:
  37459. $ref: '#/definitions/app.Response'
  37460. security:
  37461. - ApiKeyAuth: []
  37462. summary: 查询提货申请
  37463. tags:
  37464. - 仓单贸易v2
  37465. /WrTrade2/QueryWrPerformancePlanStep:
  37466. get:
  37467. parameters:
  37468. - description: 履约计划id(performanceplanid)
  37469. in: query
  37470. name: planid
  37471. required: true
  37472. type: integer
  37473. - description: 当前步骤id
  37474. in: query
  37475. name: curstepid
  37476. type: integer
  37477. produces:
  37478. - application/json
  37479. responses:
  37480. "200":
  37481. description: OK
  37482. schema:
  37483. items:
  37484. $ref: '#/definitions/models.WrPerformancePlanStep'
  37485. type: array
  37486. "500":
  37487. description: Internal Server Error
  37488. schema:
  37489. $ref: '#/definitions/app.Response'
  37490. security:
  37491. - ApiKeyAuth: []
  37492. summary: 查询履约信息详情
  37493. tags:
  37494. - 仓单贸易v2
  37495. /WrTrade2/QueryWrPerformanceStepType:
  37496. get:
  37497. produces:
  37498. - application/json
  37499. responses:
  37500. "200":
  37501. description: OK
  37502. schema:
  37503. items:
  37504. $ref: '#/definitions/models.WrPerformanceStepType'
  37505. type: array
  37506. "500":
  37507. description: Internal Server Error
  37508. schema:
  37509. $ref: '#/definitions/app.Response'
  37510. security:
  37511. - ApiKeyAuth: []
  37512. summary: 查询履约步骤枚举
  37513. tags:
  37514. - 仓单贸易v2
  37515. /WrTrade2/QueryWrPosition:
  37516. get:
  37517. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37518. parameters:
  37519. - description: 用户id
  37520. in: query
  37521. name: userid
  37522. required: true
  37523. type: integer
  37524. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37525. in: query
  37526. name: querytype
  37527. required: true
  37528. type: integer
  37529. - description: 0:仓单预售 1:仓单贸易
  37530. in: query
  37531. name: haswr
  37532. required: true
  37533. type: integer
  37534. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37535. in: query
  37536. name: dgitemname
  37537. type: string
  37538. - description: 仓库id(筛选条件)
  37539. in: query
  37540. name: warehouseid
  37541. type: integer
  37542. - description: 品种id
  37543. in: query
  37544. name: deliverygoodsid
  37545. type: integer
  37546. - description: 品类id
  37547. in: query
  37548. name: wrstandardid
  37549. type: integer
  37550. produces:
  37551. - application/json
  37552. responses:
  37553. "200":
  37554. description: OK
  37555. schema:
  37556. items:
  37557. $ref: '#/definitions/models.WrPosition'
  37558. type: array
  37559. "500":
  37560. description: Internal Server Error
  37561. schema:
  37562. $ref: '#/definitions/app.Response'
  37563. security:
  37564. - ApiKeyAuth: []
  37565. summary: 查询现货(预售)仓单持仓
  37566. tags:
  37567. - 仓单贸易v2
  37568. /WrTrade2/QueryWrPreSaleInfo:
  37569. get:
  37570. parameters:
  37571. - description: 市场id
  37572. in: query
  37573. name: marketid
  37574. type: integer
  37575. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37576. in: query
  37577. name: presalestatus
  37578. type: string
  37579. - description: 摇号标识 - 0:未摇号 1:已摇号
  37580. in: query
  37581. name: lotteryflag
  37582. type: integer
  37583. - description: 最近多少条记录(按创建时间倒序)
  37584. in: query
  37585. name: lastnum
  37586. type: integer
  37587. produces:
  37588. - application/json
  37589. responses:
  37590. "200":
  37591. description: OK
  37592. schema:
  37593. items:
  37594. $ref: '#/definitions/models.WrPreSaleInfo'
  37595. type: array
  37596. "500":
  37597. description: Internal Server Error
  37598. schema:
  37599. $ref: '#/definitions/app.Response'
  37600. security:
  37601. - ApiKeyAuth: []
  37602. summary: 查询新品发布
  37603. tags:
  37604. - 仓单贸易v2
  37605. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37606. get:
  37607. parameters:
  37608. - description: 市场id
  37609. in: query
  37610. name: marketid
  37611. required: true
  37612. type: integer
  37613. - description: 现货商品id
  37614. in: query
  37615. name: wrstandardid
  37616. required: true
  37617. type: integer
  37618. - description: 开始交易日(yyyymmdd)
  37619. in: query
  37620. name: begindate
  37621. type: string
  37622. - description: 结束交易日(yyyymmdd)
  37623. in: query
  37624. name: enddate
  37625. type: string
  37626. - description: 最近多少条记录(按交易日倒序)
  37627. in: query
  37628. name: lastnum
  37629. type: integer
  37630. - description: 是否今日
  37631. in: query
  37632. name: istoday
  37633. type: boolean
  37634. produces:
  37635. - application/json
  37636. responses:
  37637. "200":
  37638. description: OK
  37639. schema:
  37640. items:
  37641. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37642. type: array
  37643. "500":
  37644. description: Internal Server Error
  37645. schema:
  37646. $ref: '#/definitions/app.Response'
  37647. security:
  37648. - ApiKeyAuth: []
  37649. summary: 查询价格走势
  37650. tags:
  37651. - 仓单贸易v2
  37652. /WrTrade2/QueryWrScfContract:
  37653. get:
  37654. parameters:
  37655. - description: 用户id
  37656. in: query
  37657. name: userid
  37658. required: true
  37659. type: integer
  37660. - description: 融资合同id
  37661. in: query
  37662. name: scfcontractid
  37663. type: integer
  37664. produces:
  37665. - application/json
  37666. responses:
  37667. "200":
  37668. description: OK
  37669. schema:
  37670. items:
  37671. $ref: '#/definitions/models.WrScfContract'
  37672. type: array
  37673. "500":
  37674. description: Internal Server Error
  37675. schema:
  37676. $ref: '#/definitions/app.Response'
  37677. security:
  37678. - ApiKeyAuth: []
  37679. summary: 查询仓单贸易融资合同
  37680. tags:
  37681. - 仓单贸易v2
  37682. /WrTrade2/QueryWrScfContractInterest:
  37683. get:
  37684. parameters:
  37685. - description: 融资合同id
  37686. in: query
  37687. name: scfcontractid
  37688. type: integer
  37689. produces:
  37690. - application/json
  37691. responses:
  37692. "200":
  37693. description: OK
  37694. schema:
  37695. items:
  37696. $ref: '#/definitions/models.WrScfContractInterest'
  37697. type: array
  37698. "500":
  37699. description: Internal Server Error
  37700. schema:
  37701. $ref: '#/definitions/app.Response'
  37702. security:
  37703. - ApiKeyAuth: []
  37704. summary: 查询融资合同费用明细
  37705. tags:
  37706. - 仓单贸易v2
  37707. /WrTrade2/QueryWrSearchUser:
  37708. get:
  37709. parameters:
  37710. - description: 用户名称(模糊匹配)
  37711. in: query
  37712. name: username
  37713. required: true
  37714. type: string
  37715. produces:
  37716. - application/json
  37717. responses:
  37718. "200":
  37719. description: OK
  37720. schema:
  37721. items:
  37722. $ref: '#/definitions/models.WrSearchUser'
  37723. type: array
  37724. "500":
  37725. description: Internal Server Error
  37726. schema:
  37727. $ref: '#/definitions/app.Response'
  37728. security:
  37729. - ApiKeyAuth: []
  37730. summary: 查询用户
  37731. tags:
  37732. - 仓单贸易v2
  37733. /WrTrade2/QueryWrSpecialMatchOrder:
  37734. get:
  37735. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37736. parameters:
  37737. - description: 页码
  37738. in: query
  37739. name: page
  37740. type: integer
  37741. - description: 每页条数
  37742. in: query
  37743. name: pagesize
  37744. type: integer
  37745. - description: 用户id
  37746. in: query
  37747. name: userid
  37748. required: true
  37749. type: integer
  37750. - description: 仓单贸易市场id
  37751. in: query
  37752. name: marketid
  37753. type: integer
  37754. - description: 0:仓单预售 1:仓单贸易
  37755. in: query
  37756. name: haswr
  37757. required: true
  37758. type: integer
  37759. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37760. in: query
  37761. name: isspecified
  37762. type: integer
  37763. produces:
  37764. - application/json
  37765. responses:
  37766. "200":
  37767. description: OK
  37768. schema:
  37769. items:
  37770. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37771. type: array
  37772. "500":
  37773. description: Internal Server Error
  37774. schema:
  37775. $ref: '#/definitions/app.Response'
  37776. security:
  37777. - ApiKeyAuth: []
  37778. summary: 查询指定成交
  37779. tags:
  37780. - 仓单贸易v2
  37781. /WrTrade2/QueryWrStandardFactoryItem:
  37782. get:
  37783. parameters:
  37784. - description: 品类id
  37785. in: query
  37786. name: wrstandardid
  37787. required: true
  37788. type: integer
  37789. produces:
  37790. - application/json
  37791. responses:
  37792. "200":
  37793. description: OK
  37794. schema:
  37795. items:
  37796. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37797. type: array
  37798. "500":
  37799. description: Internal Server Error
  37800. schema:
  37801. $ref: '#/definitions/app.Response'
  37802. security:
  37803. - ApiKeyAuth: []
  37804. summary: 查询品类要素定义项
  37805. tags:
  37806. - 仓单贸易v2
  37807. /WrTrade2/QueryWrTradeBargainApply:
  37808. get:
  37809. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37810. 议价->对方议价 填写matchuserid=登录用户id
  37811. parameters:
  37812. - description: 议价人id(摘牌方)
  37813. in: query
  37814. name: userid
  37815. type: integer
  37816. - description: 挂牌方id(查对方议价时,填写此项)
  37817. in: query
  37818. name: matchuserid
  37819. type: integer
  37820. - description: 关联委托单id
  37821. in: query
  37822. name: wrtradeorderid
  37823. type: integer
  37824. - description: 0:仓单预售 1:仓单贸易
  37825. in: query
  37826. name: haswr
  37827. required: true
  37828. type: integer
  37829. - description: 开始交易日(yyyymmdd)
  37830. in: query
  37831. name: begindate
  37832. type: string
  37833. - description: 结束交易日(yyyymmdd)
  37834. in: query
  37835. name: enddate
  37836. type: string
  37837. produces:
  37838. - application/json
  37839. responses:
  37840. "200":
  37841. description: OK
  37842. schema:
  37843. items:
  37844. $ref: '#/definitions/models.WRTradeBargainApply'
  37845. type: array
  37846. "500":
  37847. description: Internal Server Error
  37848. schema:
  37849. $ref: '#/definitions/app.Response'
  37850. security:
  37851. - ApiKeyAuth: []
  37852. summary: 查询议价单
  37853. tags:
  37854. - 仓单贸易v2
  37855. /WrTrade2/QueryWrTradeDetail:
  37856. get:
  37857. parameters:
  37858. - description: 页码
  37859. in: query
  37860. name: page
  37861. type: integer
  37862. - description: 每页条数
  37863. in: query
  37864. name: pagesize
  37865. type: integer
  37866. - description: 用户id
  37867. in: query
  37868. name: userid
  37869. required: true
  37870. type: integer
  37871. - description: 仓单贸易市场id
  37872. in: query
  37873. name: marketid
  37874. type: integer
  37875. - description: 0:仓单预售 1:仓单贸易
  37876. in: query
  37877. name: haswr
  37878. required: true
  37879. type: integer
  37880. - description: 开始交易日(yyyymmdd)
  37881. in: query
  37882. name: begindate
  37883. type: string
  37884. - description: 结束交易日(yyyymmdd)
  37885. in: query
  37886. name: enddate
  37887. type: string
  37888. produces:
  37889. - application/json
  37890. responses:
  37891. "200":
  37892. description: OK
  37893. schema:
  37894. items:
  37895. $ref: '#/definitions/models.WrTradeDetail'
  37896. type: array
  37897. "500":
  37898. description: Internal Server Error
  37899. schema:
  37900. $ref: '#/definitions/app.Response'
  37901. security:
  37902. - ApiKeyAuth: []
  37903. summary: 查询仓单成交明细
  37904. tags:
  37905. - 仓单贸易v2
  37906. /WrTrade2/QueryWrTradeOrderDetail:
  37907. get:
  37908. parameters:
  37909. - description: 页码
  37910. in: query
  37911. name: page
  37912. type: integer
  37913. - description: 每页条数
  37914. in: query
  37915. name: pagesize
  37916. type: integer
  37917. - description: 商品id
  37918. in: query
  37919. name: goodsid
  37920. required: true
  37921. type: integer
  37922. - description: 买卖方向 0-买 1-卖
  37923. in: query
  37924. name: buyorsell
  37925. required: true
  37926. type: integer
  37927. produces:
  37928. - application/json
  37929. responses:
  37930. "200":
  37931. description: OK
  37932. schema:
  37933. items:
  37934. $ref: '#/definitions/models.WrTradeOrderDetail'
  37935. type: array
  37936. "500":
  37937. description: Internal Server Error
  37938. schema:
  37939. $ref: '#/definitions/app.Response'
  37940. security:
  37941. - ApiKeyAuth: []
  37942. summary: 查询合约交易买卖大厅
  37943. tags:
  37944. - 仓单贸易v2
  37945. /WrTrade2/QueryWrTradeQuote:
  37946. get:
  37947. parameters:
  37948. - description: 现货商品id
  37949. in: query
  37950. name: wrstandardid
  37951. required: true
  37952. type: integer
  37953. - description: 开始日期(yyyymmdd)
  37954. in: query
  37955. name: begindate
  37956. required: true
  37957. type: string
  37958. - description: 结束日期(yyyymmdd)
  37959. in: query
  37960. name: enddate
  37961. required: true
  37962. type: string
  37963. - description: 市场id
  37964. in: query
  37965. name: marketid
  37966. type: integer
  37967. produces:
  37968. - application/json
  37969. responses:
  37970. "200":
  37971. description: OK
  37972. schema:
  37973. items:
  37974. $ref: '#/definitions/models.Wrtradetradequote'
  37975. type: array
  37976. "500":
  37977. description: Internal Server Error
  37978. schema:
  37979. $ref: '#/definitions/app.Response'
  37980. security:
  37981. - ApiKeyAuth: []
  37982. summary: 查询仓单贸易成交行情
  37983. tags:
  37984. - 仓单贸易v2
  37985. /WrTrade2/QueryWrUserFriend:
  37986. get:
  37987. parameters:
  37988. - description: 用户id
  37989. in: query
  37990. name: userid
  37991. required: true
  37992. type: integer
  37993. - description: 新朋友userid, 如果填写了此项则查找新朋友
  37994. in: query
  37995. name: newuserid
  37996. type: integer
  37997. produces:
  37998. - application/json
  37999. responses:
  38000. "200":
  38001. description: OK
  38002. schema:
  38003. items:
  38004. $ref: '#/definitions/models.WrUserFriend'
  38005. type: array
  38006. "500":
  38007. description: Internal Server Error
  38008. schema:
  38009. $ref: '#/definitions/app.Response'
  38010. security:
  38011. - ApiKeyAuth: []
  38012. summary: 查询我的朋友
  38013. tags:
  38014. - 仓单贸易v2
  38015. /WrTrade2/QueryWrUserReceiptInfo:
  38016. get:
  38017. parameters:
  38018. - description: 用户id
  38019. in: query
  38020. name: userid
  38021. type: integer
  38022. - description: 发票类型 - 1:个人 2:企业
  38023. in: query
  38024. name: receipttype
  38025. type: integer
  38026. produces:
  38027. - application/json
  38028. responses:
  38029. "200":
  38030. description: OK
  38031. schema:
  38032. items:
  38033. $ref: '#/definitions/models.WrUserReceiptInfo'
  38034. type: array
  38035. "500":
  38036. description: Internal Server Error
  38037. schema:
  38038. $ref: '#/definitions/app.Response'
  38039. security:
  38040. - ApiKeyAuth: []
  38041. summary: 查询发票信息
  38042. tags:
  38043. - 仓单贸易v2
  38044. /WrTrade2/QueryXhcpSellBackApply:
  38045. get:
  38046. parameters:
  38047. - description: 用户ID
  38048. in: query
  38049. name: userid
  38050. required: true
  38051. type: integer
  38052. produces:
  38053. - application/json
  38054. responses:
  38055. "200":
  38056. description: OK
  38057. schema:
  38058. items:
  38059. $ref: '#/definitions/models.Xhcpsellbackapply'
  38060. type: array
  38061. "500":
  38062. description: Internal Server Error
  38063. schema:
  38064. $ref: '#/definitions/app.Response'
  38065. security:
  38066. - ApiKeyAuth: []
  38067. summary: 查询我的回收申请(新会陈皮)
  38068. tags:
  38069. - 仓单贸易v2
  38070. /ZJ/GetBankTip:
  38071. get:
  38072. produces:
  38073. - application/json
  38074. responses:
  38075. "200":
  38076. description: OK
  38077. schema:
  38078. type: string
  38079. "500":
  38080. description: Internal Server Error
  38081. schema:
  38082. $ref: '#/definitions/app.Response'
  38083. summary: 获取中江网银端出入金提示信息
  38084. tags:
  38085. - 中江
  38086. /ZJ/GetCusBankChannels:
  38087. get:
  38088. produces:
  38089. - application/json
  38090. responses:
  38091. "200":
  38092. description: OK
  38093. schema:
  38094. items:
  38095. type: string
  38096. type: array
  38097. "500":
  38098. description: Internal Server Error
  38099. schema:
  38100. $ref: '#/definitions/app.Response'
  38101. summary: 获取中江出入金渠道显示列表
  38102. tags:
  38103. - 中江
  38104. securityDefinitions:
  38105. ApiKeyAuth:
  38106. in: header
  38107. name: Authorization
  38108. type: apiKey
  38109. Group:
  38110. in: header
  38111. name: Group
  38112. type: apiKey
  38113. LoginID:
  38114. in: header
  38115. name: LoginID
  38116. type: apiKey
  38117. swagger: "2.0"