swagger.yaml 1.0 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028
  1. definitions:
  2. app.Response:
  3. properties:
  4. code:
  5. type: integer
  6. data: {}
  7. msg:
  8. type: string
  9. page:
  10. description: 页码
  11. type: integer
  12. pagesize:
  13. description: 每页条数
  14. type: integer
  15. total:
  16. description: 总条数
  17. type: integer
  18. type: object
  19. common.ClientMenu:
  20. properties:
  21. children:
  22. description: 子菜单列表
  23. items:
  24. $ref: '#/definitions/common.ClientMenu'
  25. type: array
  26. code:
  27. description: ID
  28. type: string
  29. isshow:
  30. description: 是否显示
  31. type: boolean
  32. remark:
  33. description: 备注
  34. type: string
  35. rulekey:
  36. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  37. type: string
  38. sort:
  39. description: 排序
  40. type: integer
  41. title:
  42. description: 标题
  43. type: string
  44. type:
  45. description: 类型,1:菜单 2:按钮
  46. type: integer
  47. url:
  48. description: URL
  49. type: string
  50. type: object
  51. common.PCWebMenu:
  52. properties:
  53. auth:
  54. description: 页面权限列表
  55. items:
  56. $ref: '#/definitions/common.PCWebMenuAuth'
  57. type: array
  58. children:
  59. description: 子菜单列表
  60. items:
  61. $ref: '#/definitions/common.PCWebMenu'
  62. type: array
  63. code:
  64. description: ID,新版本中权限KEY也是这个字段
  65. type: string
  66. component:
  67. description: 路由组件
  68. type: string
  69. isshow:
  70. description: 是否显示
  71. type: boolean
  72. path:
  73. description: 路由路径
  74. type: string
  75. remark:
  76. description: 备注
  77. type: string
  78. rulekey:
  79. description: 权限主键,非空表示需要判断控制,非空值不可重复
  80. type: string
  81. sort:
  82. description: 排序
  83. type: integer
  84. title:
  85. description: 标题
  86. type: string
  87. url:
  88. description: URL
  89. type: string
  90. type: object
  91. common.PCWebMenuAuth:
  92. properties:
  93. code:
  94. description: ID,新版本中权限KEY也是这个字段
  95. type: string
  96. isshow:
  97. description: 是否显示
  98. type: boolean
  99. label:
  100. description: 标题
  101. type: string
  102. remark:
  103. description: 备注
  104. type: string
  105. rulekey:
  106. description: 权限主键,非空表示需要判断控制,非空值不可重复
  107. type: string
  108. type: object
  109. common.QueryImageConfigsRsp:
  110. properties:
  111. areauserid:
  112. description: 所属机构ID
  113. type: integer
  114. configid:
  115. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  116. type: integer
  117. createdate:
  118. description: 创建时间
  119. type: string
  120. creatorid:
  121. description: 创建人
  122. type: integer
  123. imagedetailpath:
  124. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  125. type: string
  126. imagepath:
  127. description: 图片
  128. type: string
  129. imagetype:
  130. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  131. type: integer
  132. isshow:
  133. description: 是否展示 - 0:不展示 1:展示
  134. type: integer
  135. marketid:
  136. description: 市场ID
  137. type: integer
  138. modifierid:
  139. description: 操作人
  140. type: integer
  141. sort:
  142. description: 排序
  143. type: integer
  144. title:
  145. description: 标题
  146. type: string
  147. trademode:
  148. description: 交易模式
  149. type: integer
  150. updatedate:
  151. description: 修改时间
  152. type: string
  153. url:
  154. description: 链接(地址或商品ID)
  155. type: string
  156. urltype:
  157. description: 链接类型 - 1:直接地址 2:商品ID
  158. type: integer
  159. required:
  160. - configid
  161. type: object
  162. common.QueryNoticeRsp:
  163. properties:
  164. auditoruserid:
  165. description: 审核人
  166. type: integer
  167. auditremark:
  168. description: 审核备注
  169. type: string
  170. audittime:
  171. description: 审核日期
  172. type: string
  173. autoid:
  174. description: 自增ID
  175. type: integer
  176. content:
  177. description: 内容
  178. type: string
  179. createtime:
  180. description: 创建时间
  181. type: string
  182. creatorid:
  183. description: 建仓人
  184. type: integer
  185. endtime:
  186. description: 结束时间
  187. type: string
  188. istop:
  189. description: 是否置顶 - 0:不置顶 1:置顶
  190. type: integer
  191. msgiconurl:
  192. description: 消息图标Url
  193. type: string
  194. msgtype:
  195. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  196. type: integer
  197. publisher:
  198. description: 消息发布者
  199. type: string
  200. readed:
  201. description: 是否已读
  202. type: boolean
  203. scheduletime:
  204. description: 计划发送时间
  205. type: string
  206. sendtype:
  207. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  208. type: integer
  209. sentstatus:
  210. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  211. type: integer
  212. title:
  213. description: 标题
  214. type: string
  215. userid:
  216. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  217. type: integer
  218. required:
  219. - autoid
  220. type: object
  221. common.QueryProvincesAndCitiesRsp:
  222. properties:
  223. cities:
  224. description: 市
  225. items:
  226. $ref: '#/definitions/models.Division'
  227. type: array
  228. province:
  229. $ref: '#/definitions/models.Division'
  230. description: 省
  231. type: object
  232. common.QueryTableDefineRsp:
  233. properties:
  234. columns:
  235. description: 列头信息数组
  236. items:
  237. $ref: '#/definitions/models.Tablecolumnconfig'
  238. type: array
  239. remark:
  240. description: Remark
  241. type: string
  242. tabelmenu:
  243. description: 列表菜单
  244. type: string
  245. tablekey:
  246. description: 列表Key
  247. type: string
  248. tablename:
  249. description: 列表名称
  250. type: string
  251. tabletype:
  252. description: 列表类型 - 1:管理端 2:终端
  253. type: integer
  254. required:
  255. - tablekey
  256. type: object
  257. common.QueryTraderMenuRsp:
  258. properties:
  259. OperationMenu:
  260. description: 功能菜单
  261. items:
  262. $ref: '#/definitions/models.OperationPrimaryMenu'
  263. type: array
  264. QuoteMenu:
  265. description: 报价牌分类菜单
  266. items:
  267. $ref: '#/definitions/models.QuotePrimaryMenu'
  268. type: array
  269. type: object
  270. cptrade.Cptradepositioncancel:
  271. properties:
  272. accountid:
  273. description: 申请人账户ID
  274. type: integer
  275. applystatus:
  276. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  277. type: integer
  278. applytime:
  279. description: 申请时间
  280. type: string
  281. cancelid:
  282. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  283. type: integer
  284. cancelqty:
  285. description: 注销数量
  286. type: integer
  287. createtime:
  288. description: 创建时间
  289. type: string
  290. creatorid:
  291. description: 创建人ID
  292. type: integer
  293. creatorname:
  294. description: 创建人
  295. type: string
  296. goodscode:
  297. description: 订单商品代码
  298. type: string
  299. goodsid:
  300. description: 商品ID
  301. type: integer
  302. goodsname:
  303. description: 订单商品名称
  304. type: string
  305. goodunit:
  306. description: 报价单位
  307. type: string
  308. handlestatus:
  309. description: 处理状态
  310. type: integer
  311. marketid:
  312. description: 市场ID
  313. type: integer
  314. marketname:
  315. description: 市场名称
  316. type: string
  317. tradedate:
  318. description: 交易日(yyyyMMdd)
  319. type: string
  320. userid:
  321. description: 申请人ID
  322. type: integer
  323. required:
  324. - cancelid
  325. type: object
  326. cptrade.Cptradepresaleapply:
  327. properties:
  328. accountid:
  329. description: 申请人账户ID
  330. type: integer
  331. applyid:
  332. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  333. type: integer
  334. applyremark:
  335. description: 申请备注
  336. type: string
  337. applystatus:
  338. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  339. type: integer
  340. applytime:
  341. description: 申请时间
  342. type: string
  343. attachmenturl:
  344. description: 附件地址
  345. type: string
  346. endtime:
  347. description: 预售结束时间
  348. type: string
  349. goodscode:
  350. description: 商品代码
  351. type: string
  352. goodsid:
  353. description: 商品ID
  354. type: integer
  355. goodsname:
  356. description: 商品名称
  357. type: string
  358. goodunit:
  359. description: 报价单位
  360. type: string
  361. handlestatus:
  362. description: 处理状态
  363. type: integer
  364. marketid:
  365. description: 预售市场ID
  366. type: integer
  367. marketname:
  368. description: 预售市场名称
  369. type: string
  370. presaleqty:
  371. description: 预售数量
  372. type: integer
  373. relatedgoodscode:
  374. description: 关联交易合约代码
  375. type: string
  376. relatedgoodsid:
  377. description: 关联交易合约ID
  378. type: integer
  379. relatedgoodsname:
  380. description: 关联交易合约名称
  381. type: string
  382. starttime:
  383. description: 预售开始时间
  384. type: string
  385. tradedate:
  386. description: 交易日(yyyyMMdd)
  387. type: string
  388. trademode:
  389. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  390. type: integer
  391. userid:
  392. description: 申请人ID
  393. type: integer
  394. required:
  395. - applyid
  396. type: object
  397. cptrade.Cptradeusergoodsdata:
  398. properties:
  399. EnabledQty:
  400. description: 可用量
  401. type: integer
  402. GoodsCode:
  403. description: 订单商品代码
  404. type: string
  405. GoodsName:
  406. description: 订单商品名称
  407. type: string
  408. WRStandardCode:
  409. description: 仓单标准代码
  410. type: string
  411. WRStandardName:
  412. description: 仓单标准名称
  413. type: string
  414. accountid:
  415. description: 账户ID
  416. type: integer
  417. cancelqty:
  418. description: 注销量
  419. type: integer
  420. curpresaleqty:
  421. description: 当前预售量
  422. type: integer
  423. deliveryqty:
  424. description: 交割量
  425. type: integer
  426. freezeamount:
  427. description: 冻结金额
  428. type: number
  429. goodsid:
  430. description: 商品ID
  431. type: integer
  432. goodunit:
  433. description: 报价单位
  434. type: string
  435. hasspotfreeze:
  436. description: 是否有现货冻结 - 0:否 1:有
  437. type: integer
  438. inqty:
  439. description: 转入量(总数量)
  440. type: integer
  441. marketid:
  442. description: 市场ID
  443. type: integer
  444. presaledamount:
  445. description: 已预售总金额
  446. type: integer
  447. presaledqty:
  448. description: 已预售量
  449. type: integer
  450. userid:
  451. description: 用户ID
  452. type: integer
  453. wrstandardid:
  454. description: 仓单标准ID
  455. type: integer
  456. required:
  457. - accountid
  458. - goodsid
  459. type: object
  460. cptrade.QueryCPTradeMyBidRsp:
  461. properties:
  462. accountid:
  463. description: 账户ID[报价币种]
  464. type: integer
  465. goodsid:
  466. description: 商品ID
  467. type: integer
  468. goodunit:
  469. description: 报价单位
  470. type: string
  471. marketid:
  472. description: 市场ID
  473. type: integer
  474. orderid:
  475. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  476. type: integer
  477. orderprice:
  478. description: 委托价格
  479. type: number
  480. orderqty:
  481. description: 委托数量
  482. type: integer
  483. ordertime:
  484. description: 委托时间
  485. type: string
  486. ordertotalprice:
  487. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  488. type: number
  489. ordertotalweight:
  490. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  491. type: integer
  492. totaltotalprice:
  493. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  494. type: number
  495. tradeprice:
  496. description: 成交价格
  497. type: number
  498. tradeqty:
  499. description: 成交数量
  500. type: integer
  501. required:
  502. - accountid
  503. - goodsid
  504. - marketid
  505. - orderid
  506. - orderqty
  507. - ordertime
  508. - tradeprice
  509. - tradeqty
  510. type: object
  511. cptrade.QueryCPTradeOrderDetailRsq:
  512. properties:
  513. accountid:
  514. description: 账户ID[报价币种]
  515. type: integer
  516. buildtype:
  517. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  518. type: integer
  519. buyorsell:
  520. description: 买卖 - 0:买 1:卖
  521. type: integer
  522. cancelorderid:
  523. description: 撤单单号(撤单时填写)
  524. type: integer
  525. cancelqty:
  526. description: 撤单数量
  527. type: integer
  528. clientordertime:
  529. description: 客户端委托时间
  530. type: string
  531. clientticket:
  532. description: 客户端流水号
  533. type: string
  534. clienttype:
  535. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  536. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  537. type: integer
  538. closeexchagechargevalue:
  539. description: 平仓交易所手续费设置值
  540. type: number
  541. closefeealgorithm:
  542. description: 平仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. closefreezecharge:
  545. description: 平仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. closememberchargevalue:
  548. description: 平仓会员手续费设置值
  549. type: number
  550. closeqty:
  551. description: 平仓数量(先建后平操作 需要记录)
  552. type: integer
  553. closetradeqty:
  554. description: 平仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. closeunfreezecharge:
  557. description: 平仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. delistingtype:
  560. description: 摘牌类型 - 1:价格最优 2:点选成交
  561. type: integer
  562. freezecharge:
  563. description: 冻结手续费
  564. type: number
  565. freezemargin:
  566. description: 冻结保证金(冻结交易金额)
  567. type: number
  568. gcaccountid:
  569. description: 账户ID[合约币种]
  570. type: integer
  571. goodsid:
  572. description: 商品ID
  573. type: integer
  574. isconfirmexercise:
  575. description: 是否确认行权- 0:否 1:是
  576. type: integer
  577. ispreexercise:
  578. description: 是否预申报- 0:否 1:是
  579. type: integer
  580. listingselecttype:
  581. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  582. type: integer
  583. marginalgorithm:
  584. description: 保证金收取方式 1:比率 2:固定
  585. type: integer
  586. marginvalue:
  587. description: 即市保证金设置值
  588. type: number
  589. marketid:
  590. description: 市场ID
  591. type: integer
  592. marketmaxsub:
  593. description: 市价最大偏移范围
  594. type: number
  595. memberuserid:
  596. description: 所属会员UserID
  597. type: integer
  598. openexchagechargevalue:
  599. description: 建仓交易所手续费设置值
  600. type: number
  601. openfeealgorithm:
  602. description: 建仓手续费收取方式 1:比率 2:固定
  603. type: integer
  604. openfreezecharge:
  605. description: 开仓冻结手续费(先建后平操作,需要记录)
  606. type: number
  607. openmemberchargevalue:
  608. description: 建仓会员手续费设置值
  609. type: number
  610. openqty:
  611. description: 开仓数量(先建后平操作,需要记录)
  612. type: integer
  613. opentradeqty:
  614. description: 开仓成交数量(先建后平操作,需要记录)
  615. type: integer
  616. openunfreezecharge:
  617. description: 开仓解冻手续费(先建后平操作,需要记录)
  618. type: number
  619. operatetype:
  620. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  621. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  622. 15:管理端协议转让
  623. type: integer
  624. operatorid:
  625. description: 登录账号(LoginID)
  626. type: integer
  627. optiontype:
  628. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  629. type: integer
  630. orderprice:
  631. description: 委托价格
  632. type: number
  633. orderqty:
  634. description: 委托数量
  635. type: integer
  636. ordersrc:
  637. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  638. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  639. type: integer
  640. orderstatus:
  641. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  642. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  643. 16:成交失败违约(荷兰式竞拍专用)
  644. type: integer
  645. ordertime:
  646. description: 委托时间
  647. type: string
  648. preexerciseprice:
  649. description: 预申报价格
  650. type: number
  651. premium:
  652. description: 权利金
  653. type: number
  654. preorderid:
  655. description: 关联预埋单号(止盈止损单时填写)
  656. type: integer
  657. pricemode:
  658. description: '取价方式 - 1:市价 2: 限价'
  659. type: integer
  660. quoteid:
  661. description: 报价单ID
  662. type: integer
  663. relatedid:
  664. description: 关联单号(交割单)
  665. type: integer
  666. retcode:
  667. description: 错误代码
  668. type: integer
  669. sessionid:
  670. description: 会话ID
  671. type: integer
  672. strorderid:
  673. description: 委托单号
  674. type: string
  675. tradedate:
  676. description: 交易日(yyyyMMdd)
  677. type: string
  678. tradeproperty:
  679. description: 交易属性
  680. type: integer
  681. tradeqty:
  682. description: 成交数量
  683. type: integer
  684. unfreezecharge:
  685. description: 解冻手续费
  686. type: number
  687. unfreezemargin:
  688. description: 解冻保证金
  689. type: number
  690. updatetime:
  691. description: 更新时间
  692. type: string
  693. uuid:
  694. description: 发起端唯一id
  695. type: string
  696. validtime:
  697. description: 有效期限
  698. type: string
  699. validtype:
  700. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  701. type: integer
  702. volumetype:
  703. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  704. type: integer
  705. required:
  706. - accountid
  707. - buildtype
  708. - buyorsell
  709. - goodsid
  710. - marketid
  711. - memberuserid
  712. - operatetype
  713. - orderqty
  714. - ordertime
  715. - pricemode
  716. - strorderid
  717. - tradedate
  718. - validtype
  719. type: object
  720. cptrade.QueryMyCPTradeGoodsRsp:
  721. properties:
  722. accountid:
  723. description: 卖方账户ID
  724. type: integer
  725. agreeunit:
  726. description: 合约单位
  727. type: number
  728. applyid:
  729. description: 关联申请ID
  730. type: integer
  731. attachmenturl:
  732. description: 附件地址
  733. type: string
  734. createtime:
  735. description: 创建时间
  736. type: string
  737. currencyid:
  738. description: 报价货币ID
  739. type: integer
  740. decimalplace:
  741. description: 报价小数位
  742. type: integer
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodscode:
  750. description: 商品代码(预售)
  751. type: string
  752. goodsdetail:
  753. description: 详情[大宗]
  754. type: string
  755. goodsid:
  756. description: 商品ID(自增ID SEQ_GOODS)
  757. type: integer
  758. goodsname:
  759. description: 商品名称(预售)
  760. type: string
  761. goodunit:
  762. description: 报价单位
  763. type: string
  764. goodunitid:
  765. description: 报价单位ID
  766. type: integer
  767. marketid:
  768. description: 所属市场ID
  769. type: integer
  770. marketname:
  771. description: 预售市场名称
  772. type: string
  773. presaledamount:
  774. description: 已预售总金额(预售结束时更新)
  775. type: number
  776. presaledqty:
  777. description: 已预售量(预售结束时更新)
  778. type: integer
  779. presalemode:
  780. description: 预售模式 - 1:一口价 2:大宗式竞拍
  781. type: integer
  782. presaleqty:
  783. description: 预售数量
  784. type: integer
  785. refprice:
  786. description: 参考价格[一口价]
  787. type: number
  788. relatedgoodscode:
  789. description: 商品代码(订单)
  790. type: string
  791. relatedgoodsid:
  792. description: 关联交易合约ID
  793. type: integer
  794. relatedgoodsname:
  795. description: 商品名称(订单)
  796. type: string
  797. relatedmarketid:
  798. description: 关联交易合约市场ID
  799. type: integer
  800. sellstatus:
  801. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  802. type: integer
  803. startprice:
  804. description: 起拍价[大宗式竞拍]
  805. type: number
  806. starttime:
  807. description: 预售开始时间
  808. type: string
  809. tradedate:
  810. description: 交易日(yyyyMMdd)
  811. type: string
  812. tradeprice:
  813. description: 成交价[大宗]
  814. type: number
  815. userid:
  816. description: 卖方用户ID
  817. type: integer
  818. required:
  819. - goodscode
  820. - goodsid
  821. - goodsname
  822. - marketid
  823. - relatedgoodscode
  824. - relatedgoodsname
  825. type: object
  826. cptrade.QueryPresaleGoodsExRsp:
  827. properties:
  828. attachmenturl:
  829. description: 附件地址
  830. type: string
  831. createtime:
  832. description: 创建时间
  833. type: string
  834. endtime:
  835. description: 预售结束时间
  836. type: string
  837. floorprice:
  838. description: 底价[大宗式竞拍]
  839. type: number
  840. goodsdetail:
  841. description: 详情[大宗]
  842. type: string
  843. goodsid:
  844. description: 商品ID(预售)
  845. type: integer
  846. goodunit:
  847. description: 报价单位
  848. type: string
  849. marketid:
  850. description: 预售市场ID - 根据预售模式选择市场
  851. type: integer
  852. presaledamount:
  853. description: 已预售总金额(预售结束时更新)
  854. type: number
  855. presaledqty:
  856. description: 已预售量(预售结束时更新)
  857. type: integer
  858. presalemode:
  859. description: 预售模式 - 1:一口价 2:大宗式竞拍
  860. type: integer
  861. presaleqty:
  862. description: 预售数量
  863. type: integer
  864. refprice:
  865. description: 参考价格[一口价]
  866. type: number
  867. relatedgoodsid:
  868. description: 关联交易合约ID
  869. type: integer
  870. relatedmarketid:
  871. description: 关联交易合约市场ID
  872. type: integer
  873. sellstatus:
  874. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  875. type: integer
  876. startprice:
  877. description: 起拍价[大宗式竞拍]
  878. type: number
  879. starttime:
  880. description: 预售开始时间
  881. type: string
  882. tradedate:
  883. description: 交易日(yyyyMMdd)
  884. type: string
  885. tradeprice:
  886. description: 成交价[大宗]
  887. type: number
  888. required:
  889. - goodsid
  890. type: object
  891. delivery.QueryDeliveryRelationRsp:
  892. properties:
  893. begindate:
  894. description: 起始日期(yyyyMMdd)
  895. type: string
  896. buytemplateid:
  897. description: 买履约计划模板ID
  898. type: integer
  899. deliverygoodscode:
  900. description: 品种代码
  901. type: string
  902. deliverygoodsid:
  903. description: 交割商品
  904. type: integer
  905. deliverygoodsname:
  906. description: 品种名称
  907. type: string
  908. deliverymode:
  909. description: 交割方式 - 1:点选式 2:申报式
  910. type: integer
  911. deliverypricerule:
  912. description: 交割价规则- 1:行情价 2:建仓价
  913. type: integer
  914. deliverytype:
  915. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  916. type: integer
  917. enddate:
  918. description: 结束日期(yyyyMMdd)
  919. type: string
  920. enumdicname:
  921. description: 品类单位名称
  922. type: string
  923. goodscode:
  924. description: 商品代码
  925. type: string
  926. goodsid:
  927. description: 交易合约ID
  928. type: integer
  929. goodsname:
  930. description: 商品名称
  931. type: string
  932. marketid:
  933. description: 市场ID
  934. type: integer
  935. mindeliveryqty:
  936. description: 最小交割系数(K)
  937. type: integer
  938. p2deliveryprice:
  939. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  940. type: number
  941. p2deliveryratio:
  942. description: P2合约系数(p)
  943. type: integer
  944. p2goodsid:
  945. description: P2合约ID
  946. type: integer
  947. p2pricemode:
  948. description: P2合约价格方式 - 1:商品价 2:固定值
  949. type: integer
  950. pdeliveryprice:
  951. description: P合约价格(商品价时填写0,固定值时填写固定值)
  952. type: number
  953. pdeliveryratio:
  954. description: P合约系数(n)
  955. type: integer
  956. pgoodscode:
  957. description: p合约代码
  958. type: string
  959. pgoodsid:
  960. description: P合约ID
  961. type: integer
  962. ppricemode:
  963. description: P合约价格方式 - 1:商品价 2:固定值
  964. type: integer
  965. rratio:
  966. description: 兑换系数(R)
  967. type: integer
  968. rratio1:
  969. description: 兑换系数(交易合约)(R1)
  970. type: integer
  971. rratio2:
  972. description: 兑换系数(仓单标准)(R2)
  973. type: integer
  974. selltemplateid:
  975. description: 卖履约计划模板ID
  976. type: integer
  977. wrstandardid:
  978. description: 仓单标准ID
  979. type: integer
  980. xdeliveryratio:
  981. description: 交易合约系数(m)
  982. type: integer
  983. required:
  984. - begindate
  985. - enddate
  986. - goodsid
  987. - mindeliveryqty
  988. - xdeliveryratio
  989. type: object
  990. ermcp.ExposureDetailRsp:
  991. properties:
  992. areauserid:
  993. description: 机构ID
  994. type: integer
  995. changeQty:
  996. description: 套保变动量
  997. type: number
  998. contracttype:
  999. description: 现货合同类型 - 1:采购 -1:销售
  1000. type: integer
  1001. convertfactor:
  1002. description: 标仓系数
  1003. type: number
  1004. convertratio:
  1005. description: 套保系数
  1006. type: number
  1007. createtime:
  1008. description: 时间
  1009. type: string
  1010. enumdicname:
  1011. description: 现货商品单位名称
  1012. type: string
  1013. logtype:
  1014. description: 类型 - 1:套保计划 2:现货合同
  1015. type: integer
  1016. middlegoodsId:
  1017. description: 套保商品id
  1018. type: integer
  1019. middlegoodscode:
  1020. description: 套保商品代码
  1021. type: string
  1022. middlegoodsname:
  1023. description: 套保商品名称
  1024. type: string
  1025. qty:
  1026. description: 数量
  1027. type: number
  1028. relateNo:
  1029. description: 现货合同/套保计划编号
  1030. type: string
  1031. wrstandardcode:
  1032. description: 现货商品代码
  1033. type: string
  1034. wrstandardid:
  1035. description: 现货商品ID
  1036. type: integer
  1037. wrstandardname:
  1038. description: 现货商品名称
  1039. type: string
  1040. type: object
  1041. ermcp.ExposureHedgePosDetailRsp:
  1042. properties:
  1043. buyorsell:
  1044. description: 买卖方向 0-买 1-卖
  1045. type: integer
  1046. channelbuildtype:
  1047. description: 开平方向 1-建仓 2-平仓
  1048. type: integer
  1049. goodscode:
  1050. description: 商品代码
  1051. type: string
  1052. goodsname:
  1053. description: 商品名称
  1054. type: string
  1055. hedgegoodsid:
  1056. description: 商品id
  1057. type: integer
  1058. tradeqty:
  1059. description: 数量(成交数量)
  1060. type: integer
  1061. tradetime:
  1062. description: 时间(成交时间)
  1063. type: string
  1064. type: object
  1065. ermcp.ExposureHedgePositionRsp:
  1066. properties:
  1067. accountid:
  1068. description: 资金账号[外部母账户]
  1069. type: integer
  1070. curbuyposition:
  1071. description: 期末买头寸
  1072. type: integer
  1073. cursellposition:
  1074. description: 期末卖头寸
  1075. type: integer
  1076. curtdbuyposition:
  1077. description: 期末今日买头寸
  1078. type: integer
  1079. curtdsellposition:
  1080. description: 期末今日卖头寸
  1081. type: integer
  1082. curydbuyposition:
  1083. description: 期末上日买头寸
  1084. type: integer
  1085. curydsellposition:
  1086. description: 期末上日卖头寸
  1087. type: integer
  1088. decreaseqty:
  1089. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1090. type: integer
  1091. fretdbuyposition:
  1092. description: 冻结今日买头寸
  1093. type: integer
  1094. fretdsellposition:
  1095. description: 冻结今日卖头寸
  1096. type: integer
  1097. freydbuyposition:
  1098. description: 冻结上日买头寸
  1099. type: integer
  1100. freydsellposition:
  1101. description: 冻结上日卖头寸
  1102. type: integer
  1103. goodscode:
  1104. description: 商品代码
  1105. type: string
  1106. goodsid:
  1107. description: 商品id
  1108. type: integer
  1109. goodsname:
  1110. description: 商品名称
  1111. type: string
  1112. hedgeaccountcode:
  1113. description: 对冲账号
  1114. type: string
  1115. hedgegoodsid:
  1116. description: 对冲合约ID
  1117. type: integer
  1118. increaseqty:
  1119. description: 增加数量 = 期末买头寸 - 期初买头寸
  1120. type: integer
  1121. marketid:
  1122. description: 市场ID
  1123. type: integer
  1124. relateduserid:
  1125. description: 关联用户id
  1126. type: integer
  1127. totalcurqty:
  1128. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1129. type: integer
  1130. totalydqty:
  1131. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1132. type: integer
  1133. tradedate:
  1134. description: 交易日(yyyyMMdd)
  1135. type: string
  1136. ydbuyposition:
  1137. description: 期初买头寸
  1138. type: integer
  1139. ydsellposition:
  1140. description: 期初卖头寸
  1141. type: integer
  1142. type: object
  1143. ermcp.ExposureSpotDetailRsp:
  1144. properties:
  1145. contracttype:
  1146. description: 合同类型 1-采购 -1-销售
  1147. type: integer
  1148. createtime:
  1149. description: 创建时间
  1150. type: string
  1151. enumdicname:
  1152. description: 现货商品单位名称
  1153. type: string
  1154. logtype:
  1155. description: 记录类型 1-套保 2-现货合同
  1156. type: integer
  1157. qty:
  1158. description: 数量
  1159. type: number
  1160. recordname:
  1161. description: 类型名称
  1162. type: string
  1163. relatedid:
  1164. description: 套保计划ID/现货合同ID
  1165. type: string
  1166. relatedno:
  1167. description: 编号
  1168. type: string
  1169. strtime:
  1170. description: 时间
  1171. type: string
  1172. wrstandardcode:
  1173. description: 现货商品代码
  1174. type: string
  1175. wrstandardname:
  1176. description: 现货商品名称
  1177. type: string
  1178. type: object
  1179. ermcp.ExposureSpotRsp:
  1180. properties:
  1181. areauserid:
  1182. description: 所属机构
  1183. type: integer
  1184. decreaseqty:
  1185. description: 减少数量=-(销售已定价数量+采购计划数量)
  1186. type: number
  1187. increaseqty:
  1188. description: 增加数量=销售计划数量+采购已定价数量
  1189. type: number
  1190. oritoalspotqty:
  1191. description: 昨日数量
  1192. type: number
  1193. totalspotqty:
  1194. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1195. type: number
  1196. updatetime:
  1197. description: 更新时间
  1198. type: string
  1199. wrstandardcode:
  1200. description: 现货品种代码
  1201. type: string
  1202. wrstandardid:
  1203. description: 现货商品ID
  1204. type: integer
  1205. wrstandardname:
  1206. description: 现货品种
  1207. type: string
  1208. type: object
  1209. ermcp.HisExposureRsp:
  1210. properties:
  1211. data:
  1212. description: 历史敞口
  1213. items:
  1214. $ref: '#/definitions/models.ErmcpHisExposure'
  1215. type: array
  1216. enumdicname:
  1217. description: 单位名称
  1218. type: string
  1219. middlegoodscode:
  1220. description: 套保品种代码
  1221. type: string
  1222. middlegoodsid:
  1223. description: 套保品种ID
  1224. type: integer
  1225. middlegoodsname:
  1226. description: 套保品种名称
  1227. type: string
  1228. type: object
  1229. ermcp.PendingAuditCntRsp:
  1230. properties:
  1231. areastockqty:
  1232. description: '待审核数量: 库存申请'
  1233. type: integer
  1234. businessdjqty:
  1235. description: '待审核数量: 点价'
  1236. type: integer
  1237. businessfpqty:
  1238. description: '待审核数量: 发票'
  1239. type: integer
  1240. businessjsqty:
  1241. description: '待审核数量: 结算'
  1242. type: integer
  1243. businesskxqty:
  1244. description: '待审核数量: 款项'
  1245. type: integer
  1246. hedgeplanqty:
  1247. description: '待审核数量: 套保计划'
  1248. type: integer
  1249. spotcontractqty:
  1250. description: '待审核数量: 现货合同'
  1251. type: integer
  1252. userqty:
  1253. description: '待审核数量: 用户'
  1254. type: integer
  1255. type: object
  1256. ermcp.QryAvalidGPRsp:
  1257. properties:
  1258. goodsgroupid:
  1259. description: 期货品种id
  1260. type: integer
  1261. goodsgroupname:
  1262. description: 期货品种名称
  1263. type: string
  1264. goodunitid:
  1265. description: 品种单位id
  1266. type: integer
  1267. goodunitname:
  1268. description: 品种单位名称
  1269. type: string
  1270. outergroupcode:
  1271. description: 期货品种代码
  1272. type: string
  1273. type: object
  1274. ermcp.QryBusinessDjRsp:
  1275. properties:
  1276. amount:
  1277. description: 期初均价
  1278. type: number
  1279. applyid:
  1280. description: 申请人
  1281. type: string
  1282. applyname:
  1283. description: 申请人名称
  1284. type: string
  1285. applystatus:
  1286. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1287. type: integer
  1288. applytime:
  1289. description: 申请时间
  1290. type: string
  1291. attachurl:
  1292. description: 附件
  1293. type: string
  1294. auditid:
  1295. description: 审核人ID
  1296. type: string
  1297. auditname:
  1298. description: 审核人名称
  1299. type: string
  1300. auditremark:
  1301. description: 审核备注
  1302. type: string
  1303. audittime:
  1304. description: 审核时间
  1305. type: string
  1306. buyusername:
  1307. description: 采购方名称
  1308. type: string
  1309. contractno:
  1310. description: 合同编号
  1311. type: string
  1312. contractstatus:
  1313. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1314. type: integer
  1315. contracttype:
  1316. description: 现货合同类型 - 1:采购 -1:销售
  1317. type: integer
  1318. deliverygoodscode:
  1319. description: 现货品种代码
  1320. type: string
  1321. deliverygoodsid:
  1322. description: 现货商品ID
  1323. type: integer
  1324. deliverygoodsname:
  1325. description: 现货品种名称
  1326. type: string
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. operateapplyid:
  1337. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1338. type: string
  1339. operateapplytype:
  1340. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1341. type: integer
  1342. pricedPrice:
  1343. description: 点价价格(非必填)
  1344. type: number
  1345. pricedQty:
  1346. description: 点价数量(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 品类代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 品类id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 品类名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryBussinessFpRsp:
  1374. properties:
  1375. applyid:
  1376. description: 申请人
  1377. type: string
  1378. applyname:
  1379. description: 申请人名称
  1380. type: string
  1381. applystatus:
  1382. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1383. type: integer
  1384. applytime:
  1385. description: 申请时间
  1386. type: string
  1387. attachurl:
  1388. description: 附件
  1389. type: string
  1390. auditid:
  1391. description: 审核人ID
  1392. type: string
  1393. auditname:
  1394. description: 审核人名称
  1395. type: string
  1396. auditremark:
  1397. description: 审核备注
  1398. type: string
  1399. audittime:
  1400. description: 审核时间
  1401. type: string
  1402. buyusername:
  1403. description: 采购方名称
  1404. type: string
  1405. contractno:
  1406. description: 合同编号
  1407. type: string
  1408. contractstatus:
  1409. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1410. type: integer
  1411. contracttype:
  1412. description: 现货合同类型 - 1:采购 -1:销售
  1413. type: integer
  1414. deliverygoodscode:
  1415. description: 现货品种代码
  1416. type: string
  1417. deliverygoodsid:
  1418. description: 现货商品ID
  1419. type: integer
  1420. deliverygoodsname:
  1421. description: 现货品种名称
  1422. type: string
  1423. enumdicname:
  1424. description: 单位名称
  1425. type: string
  1426. goodscode:
  1427. description: 点价合约
  1428. type: string
  1429. goodsname:
  1430. description: 商品名称
  1431. type: string
  1432. invoiceamount:
  1433. description: 已开收票金额(销售为开票,采购为收票)
  1434. type: number
  1435. operateapplyid:
  1436. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1437. type: string
  1438. operateapplytype:
  1439. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1440. type: integer
  1441. pricemove:
  1442. description: 升贴水
  1443. type: number
  1444. pricetype:
  1445. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1446. type: integer
  1447. relatedid:
  1448. description: 现货合同ID
  1449. type: string
  1450. sellusername:
  1451. description: 销售方名字
  1452. type: string
  1453. userid:
  1454. description: 用户ID
  1455. type: integer
  1456. wrstandardcode:
  1457. description: 品类代码
  1458. type: string
  1459. wrstandardid:
  1460. description: 品类id
  1461. type: integer
  1462. wrstandardname:
  1463. description: 品类名称
  1464. type: string
  1465. type: object
  1466. ermcp.QryBussinessJsExRsp:
  1467. properties:
  1468. applyid:
  1469. description: 申请人
  1470. type: string
  1471. applyname:
  1472. description: 申请人名称
  1473. type: string
  1474. applystatus:
  1475. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1476. type: integer
  1477. applytime:
  1478. description: 申请时间
  1479. type: string
  1480. attachurl:
  1481. description: 附件
  1482. type: string
  1483. auditid:
  1484. description: 审核人ID
  1485. type: string
  1486. auditname:
  1487. description: 审核人名称
  1488. type: string
  1489. auditremark:
  1490. description: 审核备注
  1491. type: string
  1492. audittime:
  1493. description: 审核时间
  1494. type: string
  1495. buyusername:
  1496. description: 采购方名称
  1497. type: string
  1498. contractno:
  1499. description: 合同编号
  1500. type: string
  1501. contractstatus:
  1502. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1503. type: integer
  1504. contracttype:
  1505. description: 现货合同类型 - 1:采购 -1:销售
  1506. type: integer
  1507. deliverygoodscode:
  1508. description: 现货品种代码
  1509. type: string
  1510. deliverygoodsid:
  1511. description: 现货商品ID
  1512. type: integer
  1513. deliverygoodsname:
  1514. description: 现货品种名称
  1515. type: string
  1516. enumdicname:
  1517. description: 单位名称
  1518. type: string
  1519. goodscode:
  1520. description: 点价合约
  1521. type: string
  1522. goodsname:
  1523. description: 商品名称
  1524. type: string
  1525. operateapplyid:
  1526. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1527. type: string
  1528. operateapplytype:
  1529. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1530. type: integer
  1531. pricemove:
  1532. description: 升贴水
  1533. type: number
  1534. pricetype:
  1535. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1536. type: integer
  1537. reckontype:
  1538. description: 结算类型
  1539. type: string
  1540. reckonvalue:
  1541. description: 值
  1542. type: number
  1543. relatedid:
  1544. description: 现货合同ID
  1545. type: string
  1546. sellusername:
  1547. description: 销售方名字
  1548. type: string
  1549. userid:
  1550. description: 用户ID
  1551. type: integer
  1552. wrstandardcode:
  1553. description: 品类代码
  1554. type: string
  1555. wrstandardid:
  1556. description: 品类id
  1557. type: integer
  1558. wrstandardname:
  1559. description: 品类名称
  1560. type: string
  1561. type: object
  1562. ermcp.QryBussinessJsRsp:
  1563. properties:
  1564. addmargin:
  1565. description: 追加保证金(非必填)
  1566. type: number
  1567. applyid:
  1568. description: 申请人
  1569. type: string
  1570. applyname:
  1571. description: 申请人名称
  1572. type: string
  1573. applystatus:
  1574. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1575. type: integer
  1576. applytime:
  1577. description: 申请时间
  1578. type: string
  1579. attachurl:
  1580. description: 附件
  1581. type: string
  1582. auditid:
  1583. description: 审核人ID
  1584. type: string
  1585. auditname:
  1586. description: 审核人名称
  1587. type: string
  1588. auditremark:
  1589. description: 审核备注
  1590. type: string
  1591. audittime:
  1592. description: 审核时间
  1593. type: string
  1594. buyusername:
  1595. description: 采购方名称
  1596. type: string
  1597. contractno:
  1598. description: 合同编号
  1599. type: string
  1600. contractstatus:
  1601. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1602. type: integer
  1603. contracttype:
  1604. description: 现货合同类型 - 1:采购 -1:销售
  1605. type: integer
  1606. decmargin:
  1607. description: 减少保证金(非必填)
  1608. type: number
  1609. deliverygoodscode:
  1610. description: 现货品种代码
  1611. type: string
  1612. deliverygoodsid:
  1613. description: 现货商品ID
  1614. type: integer
  1615. deliverygoodsname:
  1616. description: 现货品种名称
  1617. type: string
  1618. enumdicname:
  1619. description: 单位名称
  1620. type: string
  1621. goodscode:
  1622. description: 点价合约
  1623. type: string
  1624. goodsname:
  1625. description: 商品名称
  1626. type: string
  1627. operateapplyid:
  1628. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1629. type: string
  1630. operateapplytype:
  1631. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1632. type: integer
  1633. pricemove:
  1634. description: 升贴水
  1635. type: number
  1636. pricetype:
  1637. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1638. type: integer
  1639. reckonadjustamount:
  1640. description: 结算调整金额(非必填)
  1641. type: number
  1642. reckonosamount:
  1643. description: 结算溢短金额(非必填)
  1644. type: number
  1645. reckonotheramount:
  1646. description: 结算其他费用(非必填)
  1647. type: number
  1648. reckonrealqty:
  1649. description: 结算实际数量(非必填)
  1650. type: number
  1651. relatedid:
  1652. description: 现货合同ID
  1653. type: string
  1654. sellusername:
  1655. description: 销售方名字
  1656. type: string
  1657. userid:
  1658. description: 用户ID
  1659. type: integer
  1660. wrstandardcode:
  1661. description: 品类代码
  1662. type: string
  1663. wrstandardid:
  1664. description: 品类id
  1665. type: integer
  1666. wrstandardname:
  1667. description: 品类名称
  1668. type: string
  1669. type: object
  1670. ermcp.QryBussinessKxRsp:
  1671. properties:
  1672. applyid:
  1673. description: 申请人
  1674. type: string
  1675. applyname:
  1676. description: 申请人名称
  1677. type: string
  1678. applystatus:
  1679. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1680. type: integer
  1681. applytime:
  1682. description: 申请时间
  1683. type: string
  1684. attachurl:
  1685. description: 附件
  1686. type: string
  1687. auditid:
  1688. description: 审核人ID
  1689. type: string
  1690. auditname:
  1691. description: 审核人名称
  1692. type: string
  1693. auditremark:
  1694. description: 审核备注
  1695. type: string
  1696. audittime:
  1697. description: 审核时间
  1698. type: string
  1699. buyusername:
  1700. description: 采购方名称
  1701. type: string
  1702. contractno:
  1703. description: 合同编号
  1704. type: string
  1705. contractstatus:
  1706. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1707. type: integer
  1708. contracttype:
  1709. description: 现货合同类型 - 1:采购 -1:销售
  1710. type: integer
  1711. deductamount:
  1712. description: 期初均价
  1713. type: number
  1714. deliverygoodscode:
  1715. description: 现货品种代码
  1716. type: string
  1717. deliverygoodsid:
  1718. description: 现货商品ID
  1719. type: integer
  1720. deliverygoodsname:
  1721. description: 现货品种名称
  1722. type: string
  1723. enumdicname:
  1724. description: 单位名称
  1725. type: string
  1726. goodscode:
  1727. description: 点价合约
  1728. type: string
  1729. goodsname:
  1730. description: 商品名称
  1731. type: string
  1732. kxtype:
  1733. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1734. type: integer
  1735. operateapplyid:
  1736. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1737. type: string
  1738. operateapplytype:
  1739. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1740. type: integer
  1741. payamount:
  1742. description: 期初均价
  1743. type: number
  1744. pricemove:
  1745. description: 升贴水
  1746. type: number
  1747. pricetype:
  1748. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1749. type: integer
  1750. relatedid:
  1751. description: 现货合同ID
  1752. type: string
  1753. sellusername:
  1754. description: 销售方名字
  1755. type: string
  1756. userid:
  1757. description: 用户ID
  1758. type: integer
  1759. wrstandardcode:
  1760. description: 品类代码
  1761. type: string
  1762. wrstandardid:
  1763. description: 品类id
  1764. type: integer
  1765. wrstandardname:
  1766. description: 品类名称
  1767. type: string
  1768. type: object
  1769. ermcp.QryGGCovertCfgRsp:
  1770. properties:
  1771. convertratio:
  1772. description: 折算系数
  1773. type: number
  1774. destgoodsgroupid:
  1775. description: 目标品种ID
  1776. type: integer
  1777. dstcode:
  1778. description: 目录品种代码
  1779. type: string
  1780. dstexchangecode:
  1781. description: 目标期货交易所
  1782. type: string
  1783. dstname:
  1784. description: 目标品种名称
  1785. type: string
  1786. dstunitid:
  1787. description: 目标品种单位ID
  1788. type: integer
  1789. dstunitidname:
  1790. description: 目标品种单位名称
  1791. type: string
  1792. modifytime:
  1793. description: 修改时间
  1794. type: string
  1795. srccode:
  1796. description: 源品种代码
  1797. type: string
  1798. srcexchangecode:
  1799. description: 源期货交易所
  1800. type: string
  1801. srcgoodsgroupid:
  1802. description: 源品种ID
  1803. type: integer
  1804. srcname:
  1805. description: 源品种名称
  1806. type: string
  1807. srcunitid:
  1808. description: 源品种单位ID
  1809. type: integer
  1810. srcunitidname:
  1811. description: 源品种单位名称
  1812. type: string
  1813. type: object
  1814. ermcp.QryMGChangeLogRsp:
  1815. properties:
  1816. aftervalue:
  1817. description: 变更后
  1818. type: number
  1819. applyid:
  1820. description: 操作人
  1821. type: integer
  1822. applyname:
  1823. description: 操作人名称
  1824. type: string
  1825. applysrc:
  1826. description: 操作来源 - 1:管理端 2:终端
  1827. type: integer
  1828. beforevalue:
  1829. description: 变更前
  1830. type: number
  1831. changelogtype:
  1832. description: 变更流水类型 - 1:套保比率变更
  1833. type: integer
  1834. handlestatus:
  1835. description: 处理状态
  1836. type: integer
  1837. logdatetime:
  1838. description: 流水日期
  1839. type: string
  1840. logid:
  1841. description: 流水ID
  1842. type: integer
  1843. logremark:
  1844. description: 流水备注
  1845. type: string
  1846. middlegoodsid:
  1847. description: 套保品种ID
  1848. type: integer
  1849. tradedate:
  1850. description: 交易日(yyyyMMdd)
  1851. type: string
  1852. updatetime:
  1853. description: 更新时间
  1854. type: string
  1855. type: object
  1856. ermcp.QryMiddleGoodsDetailRsp:
  1857. properties:
  1858. cvList:
  1859. description: 期货品种折算列表
  1860. items:
  1861. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1862. type: array
  1863. mg:
  1864. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1865. description: 套保品种基本信息
  1866. wrcList:
  1867. description: 现货品种列表(现货商品折算配置)
  1868. items:
  1869. $ref: '#/definitions/models.WRSConverTDetail'
  1870. type: array
  1871. type: object
  1872. ermcp.QryMiddleGoodsRsp:
  1873. properties:
  1874. areauserid:
  1875. description: 机构用户ID
  1876. type: integer
  1877. createtime:
  1878. description: 修改时间
  1879. type: string
  1880. enumdicname:
  1881. description: 单位名称
  1882. type: string
  1883. evaluateratio:
  1884. description: 估价系数
  1885. type: number
  1886. goodsgroupid:
  1887. description: 关联期货品种ID
  1888. type: integer
  1889. goodsunitid:
  1890. description: 单位ID
  1891. type: integer
  1892. isvalid:
  1893. description: 状态 0-无效(停用) 1-有效(正常)
  1894. type: integer
  1895. middlegoodscode:
  1896. description: 套保品种代码
  1897. type: string
  1898. middlegoodsid:
  1899. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1900. type: integer
  1901. middlegoodsname:
  1902. description: 套保品种名称
  1903. type: string
  1904. modifytime:
  1905. description: 修改时间
  1906. type: string
  1907. needarbitrageratio:
  1908. description: 套利比例
  1909. type: number
  1910. needhedgeratio:
  1911. description: 套保比率
  1912. type: number
  1913. qtydecimalplace:
  1914. description: 数量小数位
  1915. type: integer
  1916. relatedgoodsid:
  1917. description: 关联交易商品ID
  1918. type: integer
  1919. relatedgoodstype:
  1920. description: 关联商品类型 - 1:期货合约 2:现货品种
  1921. type: integer
  1922. remark:
  1923. description: 备注
  1924. type: string
  1925. type: object
  1926. ermcp.QryOPLogRsp:
  1927. properties:
  1928. aftervalue:
  1929. description: 变更后
  1930. type: number
  1931. applyid:
  1932. description: 操作人ID
  1933. type: string
  1934. applyname:
  1935. description: 操作人名称
  1936. type: string
  1937. beforevalue:
  1938. description: 变更前
  1939. type: number
  1940. biztype:
  1941. description: 业务类型 - 1:套保计划 2:现货合同
  1942. type: integer
  1943. contracttype:
  1944. description: 现货合同类型 - 1:采购 -1:销售
  1945. type: integer
  1946. logvalue:
  1947. description: 数值
  1948. type: number
  1949. operatelogtype:
  1950. description: 操作流水类型
  1951. type: integer
  1952. operatelogtypedesc:
  1953. description: 操作流水类型名称
  1954. type: string
  1955. relatedid:
  1956. description: 现货合同ID\套保计划
  1957. type: string
  1958. updatetime:
  1959. description: 更新时间
  1960. type: string
  1961. type: object
  1962. ermcp.QryUserInfoRsp:
  1963. properties:
  1964. address:
  1965. description: 通讯地址
  1966. type: string
  1967. attachment1:
  1968. description: 附件1
  1969. type: string
  1970. audittime:
  1971. description: 审核时间
  1972. type: string
  1973. cardbackphotourl:
  1974. description: 证件反面图片地址
  1975. type: string
  1976. cardfrontphotourl:
  1977. description: 证件正面图片地址
  1978. type: string
  1979. cardnum:
  1980. description: 证件号码
  1981. type: string
  1982. cardtype:
  1983. description: 证件类型
  1984. type: integer
  1985. cardtypename:
  1986. description: 证件类型名称
  1987. type: string
  1988. cityid:
  1989. description: 市
  1990. type: integer
  1991. contactname:
  1992. description: 联系人
  1993. type: string
  1994. countryid:
  1995. description: 国家
  1996. type: integer
  1997. createtime:
  1998. description: 创建时间
  1999. type: string
  2000. customername:
  2001. description: 企业名称
  2002. type: string
  2003. districtid:
  2004. description: 区域
  2005. type: integer
  2006. email:
  2007. description: 邮件
  2008. type: string
  2009. legalpersonname:
  2010. description: 法人姓名(企业)
  2011. type: string
  2012. memberuserid:
  2013. description: 所属机构ID
  2014. type: integer
  2015. mobile:
  2016. description: 手机号码
  2017. type: string
  2018. modifytime:
  2019. description: 修改时间
  2020. type: string
  2021. nickname:
  2022. description: 昵称
  2023. type: string
  2024. provinceid:
  2025. description: 省
  2026. type: integer
  2027. remark:
  2028. description: 备注
  2029. type: string
  2030. status:
  2031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2032. type: integer
  2033. statusdesc:
  2034. description: 账户状态中文描述
  2035. type: string
  2036. taxpayernum:
  2037. description: 纳税人识别号
  2038. type: string
  2039. telphone:
  2040. description: 联系电话
  2041. type: string
  2042. userid:
  2043. description: 用户ID
  2044. type: integer
  2045. userinfotype:
  2046. description: 客户类型
  2047. type: string
  2048. type: object
  2049. ermcp.QryWarehouseRsp:
  2050. properties:
  2051. address:
  2052. description: 详细地址
  2053. type: string
  2054. areauserid:
  2055. description: 所属机构
  2056. type: integer
  2057. autoid:
  2058. description: 自增ID(仓库ID)
  2059. type: integer
  2060. cityid:
  2061. description: 市
  2062. type: integer
  2063. contactname:
  2064. description: 联系人
  2065. type: string
  2066. contactnum:
  2067. description: 联系电话
  2068. type: string
  2069. countryid:
  2070. description: 国家
  2071. type: integer
  2072. createtime:
  2073. description: 创建时间
  2074. type: string
  2075. districtid:
  2076. description: 区
  2077. type: integer
  2078. hasvideo:
  2079. description: 是否有视频 - 0:无 1:有
  2080. type: integer
  2081. provinceid:
  2082. description: 省
  2083. type: integer
  2084. remark:
  2085. description: 审核备注
  2086. type: string
  2087. videourl:
  2088. description: 视频地址
  2089. type: string
  2090. warehousecode:
  2091. description: 仓库代码
  2092. type: string
  2093. warehousename:
  2094. description: 仓库名称
  2095. type: string
  2096. warehousestatus:
  2097. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2098. type: integer
  2099. warehousetype:
  2100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2101. type: integer
  2102. type: object
  2103. ermcp.QueryErmcpTradePositionRsp:
  2104. properties:
  2105. agreeunit:
  2106. description: 合约单位
  2107. type: number
  2108. buyorsell:
  2109. description: 方向 - 0:买 1:卖
  2110. type: integer
  2111. curpositionqty:
  2112. description: 持仓(总仓数量, 期末头寸)
  2113. type: integer
  2114. curtdposition:
  2115. description: 今仓数量(期末今日头寸)
  2116. type: integer
  2117. curtdpositionenabled:
  2118. description: 今仓可用
  2119. type: integer
  2120. decimalplace:
  2121. description: 报价小数位
  2122. type: integer
  2123. enableqty:
  2124. description: 可用(总仓可用)
  2125. type: integer
  2126. exexchangename:
  2127. description: 外部交易所名称
  2128. type: string
  2129. exexehangecode:
  2130. description: 外部交易所代码
  2131. type: string
  2132. exexehangeid:
  2133. description: 外部交易所id
  2134. type: integer
  2135. goodscode:
  2136. description: 商品代码(内部)
  2137. type: string
  2138. goodsid:
  2139. description: 商品ID(自增ID SEQ_GOODS)
  2140. type: integer
  2141. goodsname:
  2142. description: 商品名称
  2143. type: string
  2144. last:
  2145. description: 现价
  2146. type: number
  2147. marketid:
  2148. description: 所属市场ID
  2149. type: integer
  2150. openaverageprice:
  2151. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2152. type: number
  2153. opencost:
  2154. description: 开仓成本
  2155. type: number
  2156. openpl:
  2157. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2158. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2159. type: number
  2160. outgoodscode:
  2161. description: 商品代码(外部)
  2162. type: string
  2163. positionaverageprice:
  2164. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2165. type: number
  2166. positioncost:
  2167. description: 持仓成本
  2168. type: number
  2169. positionpl:
  2170. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2171. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2172. type: number
  2173. positionplrate:
  2174. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2175. type: number
  2176. usedmargin:
  2177. description: 占用保证金
  2178. type: number
  2179. type: object
  2180. ermcp.RealtimeExposurePositionRsp:
  2181. properties:
  2182. agreeunit:
  2183. description: 合约单位
  2184. type: string
  2185. areauserid:
  2186. description: 所属机构id
  2187. type: integer
  2188. convertratio:
  2189. description: 期货品种系数(折算系数)
  2190. type: number
  2191. curhedgeqty:
  2192. description: 期货套期量 = 当前持仓*期货合约单位*期货品种系数
  2193. type: number
  2194. curqty:
  2195. description: 当前持仓
  2196. type: integer
  2197. diffhedgeqty:
  2198. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2199. type: number
  2200. diffqty:
  2201. description: 持仓变动量=当前持仓-昨日持仓
  2202. type: integer
  2203. goodscode:
  2204. description: 商品代码
  2205. type: string
  2206. goodsid:
  2207. description: 商品id
  2208. type: integer
  2209. goodsname:
  2210. description: 商品名称
  2211. type: string
  2212. hedgeaccountcode:
  2213. description: 对冲账号(只有外部账号才有值)
  2214. type: string
  2215. middlegoodscode:
  2216. description: 套保商品代码
  2217. type: string
  2218. middlegoodsid:
  2219. description: 套保商品id
  2220. type: integer
  2221. middlegoodsname:
  2222. description: 套保商品名称
  2223. type: string
  2224. ydqty:
  2225. description: 昨日持仓
  2226. type: integer
  2227. type: object
  2228. ermcp.RealtimeExposureRsp:
  2229. properties:
  2230. AreaUserID:
  2231. description: 所属机构
  2232. type: integer
  2233. BuyFutureQty:
  2234. description: 买入期货数量
  2235. type: number
  2236. BuyPlanQty:
  2237. description: 采购计划数量
  2238. type: number
  2239. BuyPricedQty:
  2240. description: 采购合同已定价数量
  2241. type: number
  2242. MiddleGoodsCode:
  2243. description: 套保品种代码
  2244. type: string
  2245. MiddleGoodsHedgeRatio:
  2246. description: 套保比例
  2247. type: number
  2248. MiddleGoodsID:
  2249. description: 套保品种
  2250. type: integer
  2251. MiddleGoodsName:
  2252. description: 套保品种名称
  2253. type: string
  2254. NeedHedgeExposoure:
  2255. description: 应套保敞口(套保敞口)
  2256. type: number
  2257. NeedHedgeRatio:
  2258. description: 应套保敞口比例
  2259. type: number
  2260. OriBuyFutureQty:
  2261. description: 期初买入期货数量
  2262. type: number
  2263. OriBuyPlanQty:
  2264. description: 期初采购计划数量
  2265. type: number
  2266. OriBuyPricedQty:
  2267. description: 期初采购合同已定价数量
  2268. type: number
  2269. OriSellFutureQty:
  2270. description: 期初卖出期货数量
  2271. type: number
  2272. OriSellPlanQty:
  2273. description: 期初销售计划数量
  2274. type: number
  2275. OriSellPricedQty:
  2276. description: 期初销售合同已定价数量
  2277. type: number
  2278. OriTotalSpotQty:
  2279. description: 期初现货总量
  2280. type: number
  2281. SellFutureQty:
  2282. description: 卖出期货数量
  2283. type: number
  2284. SellPlanQty:
  2285. description: 销售计划数量
  2286. type: number
  2287. SellPricedQty:
  2288. description: 销售合同已定价数量
  2289. type: number
  2290. TotalExposure:
  2291. description: 总敞口 平安:净敞口
  2292. type: number
  2293. TotalFutureQty:
  2294. description: 期货总量 平安:保值净持仓量
  2295. type: number
  2296. TotalHedgeRatio:
  2297. description: 敞口比例
  2298. type: number
  2299. TotalNeedHedgeQty:
  2300. description: 应套保总量(现货应套保总量)
  2301. type: number
  2302. TotalSpotQty:
  2303. description: 现货总量 平安:采销定价净值
  2304. type: number
  2305. arbitrageqty:
  2306. description: 套利量
  2307. type: number
  2308. diffArbitrageQty:
  2309. description: 期初均价
  2310. type: number
  2311. diffExposoureQty:
  2312. description: 期初均价
  2313. type: number
  2314. diffFutuQty:
  2315. description: 期初均价
  2316. type: number
  2317. diffHedgeQty:
  2318. description: 期初均价
  2319. type: number
  2320. diffQty:
  2321. description: 期初均价
  2322. type: number
  2323. diffSpotHedgeQty:
  2324. description: 期初均价
  2325. type: number
  2326. diffSpotQty:
  2327. description: 期初均价
  2328. type: number
  2329. enumdicname:
  2330. description: 单位名称
  2331. type: string
  2332. hedgeqty:
  2333. description: 套保量
  2334. type: number
  2335. needarbitrageqty:
  2336. description: 应套利量
  2337. type: number
  2338. needarbitrageratio:
  2339. description: 套利比例
  2340. type: number
  2341. needhedgeqty:
  2342. description: 应套保量
  2343. type: number
  2344. oriarbitrageqty:
  2345. description: 期初套利量
  2346. type: number
  2347. orihedgeqty:
  2348. description: 期初套保量
  2349. type: number
  2350. orineedhedgeexposoure:
  2351. description: 期初套保敞口
  2352. type: number
  2353. oritotalexposure:
  2354. description: 期初总敞口
  2355. type: number
  2356. oritotalfutureqty:
  2357. description: 期初期货总量
  2358. type: number
  2359. oritotalneedhedgeqty:
  2360. description: 期初现货应套保量
  2361. type: number
  2362. type: object
  2363. erms2.QueryArbitrageStrategyRsp:
  2364. properties:
  2365. applybasis:
  2366. description: 申请基差
  2367. type: number
  2368. asapplyid:
  2369. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2370. type: string
  2371. asname:
  2372. description: 策略名称
  2373. type: string
  2374. asno:
  2375. description: 策略编号
  2376. type: string
  2377. basischangepl:
  2378. description: 基差变动损益[结算更新]
  2379. type: number
  2380. biztype:
  2381. description: 业务类型 - 1:正向套利 -1:反向套利
  2382. type: integer
  2383. closetradedate:
  2384. description: 完结交易日(yyyyMMdd)
  2385. type: string
  2386. curbasis:
  2387. description: 当前基差[结算更新]
  2388. type: number
  2389. deliverygoodsid:
  2390. description: 现货品种ID
  2391. type: integer
  2392. futureavgprice:
  2393. description: 期货建仓均价
  2394. type: number
  2395. futurecloseamount:
  2396. description: 期货平仓金额
  2397. type: number
  2398. futurecloseqty:
  2399. description: 期货平仓数量
  2400. type: number
  2401. futureopenamount:
  2402. description: 期货开仓金额
  2403. type: number
  2404. futureopenqty:
  2405. description: 期货开仓数量
  2406. type: number
  2407. futurepl:
  2408. description: 期货总盈亏[结算更新]
  2409. type: number
  2410. futureqty:
  2411. description: 期货持仓数量
  2412. type: number
  2413. futurequote:
  2414. description: 期货额度
  2415. type: number
  2416. goodsgroupid:
  2417. description: 期货品种ID
  2418. type: integer
  2419. marketid:
  2420. description: 市场ID
  2421. type: integer
  2422. netexposure:
  2423. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2424. type: number
  2425. netexposurepl:
  2426. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2427. type: number
  2428. netexposurerate:
  2429. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2430. type: number
  2431. openbasis:
  2432. description: 建仓基差
  2433. type: number
  2434. pricedspotqty:
  2435. description: 已定价现货数量
  2436. type: number
  2437. pricedspotqtynotax:
  2438. description: 已定价现货不含税数量
  2439. type: number
  2440. remark:
  2441. description: 备注
  2442. type: string
  2443. spotavgprice:
  2444. description: 现货均价
  2445. type: number
  2446. spotbuyamount:
  2447. description: 现货采购金额
  2448. type: number
  2449. spotbuyqty:
  2450. description: 现货采购数量
  2451. type: number
  2452. spotpl:
  2453. description: 现货总盈亏[结算更新]
  2454. type: number
  2455. spotquota:
  2456. description: 现货额度
  2457. type: number
  2458. spotsellamount:
  2459. description: 现货销售金额
  2460. type: number
  2461. spotsellqty:
  2462. description: 现货销售数量
  2463. type: number
  2464. spotusedquota:
  2465. description: 现货占用资金
  2466. type: number
  2467. strategystatus:
  2468. description: 策略状态 - 0:未结束 1:已结束
  2469. type: integer
  2470. totalpl:
  2471. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2472. type: number
  2473. tradedate:
  2474. description: 交易日(yyyyMMdd)
  2475. type: string
  2476. updatetime:
  2477. description: 更新时间
  2478. type: string
  2479. usedquota:
  2480. description: 已占用资金
  2481. type: number
  2482. userid:
  2483. description: 所属机构
  2484. type: integer
  2485. required:
  2486. - asapplyid
  2487. type: object
  2488. erms2.QueryInnerTradeDetailRsp:
  2489. properties:
  2490. accountid:
  2491. description: 账号ID
  2492. type: integer
  2493. agreeunit:
  2494. description: 合约单位
  2495. type: number
  2496. asapplyid:
  2497. description: 策略申请ID
  2498. type: integer
  2499. asname:
  2500. description: 策略名称
  2501. type: string
  2502. asno:
  2503. description: 策略编号
  2504. type: string
  2505. buyorsell:
  2506. description: 方向 - 0:买 1:卖
  2507. type: integer
  2508. channelbuildtype:
  2509. description: 委托单据类型 0:无 1:建仓 2:平仓
  2510. type: integer
  2511. closetype:
  2512. description: 平仓方式 - 0:无 1:平今 2:平昨
  2513. type: integer
  2514. decimalplace:
  2515. description: 报价小数位
  2516. type: integer
  2517. detailtype:
  2518. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2519. type: integer
  2520. exexchangecode:
  2521. description: 外部交易所代码
  2522. type: string
  2523. exexchangename:
  2524. description: 外部交易所名称
  2525. type: string
  2526. goodscode:
  2527. description: 商品代码(合约)
  2528. type: string
  2529. goodsgroupid:
  2530. description: 商品组ID(品种ID)
  2531. type: integer
  2532. goodsgroupname:
  2533. description: 商品组名称(品种)
  2534. type: string
  2535. goodsid:
  2536. description: 商品ID
  2537. type: integer
  2538. goodsname:
  2539. description: 商品名称(合约)
  2540. type: string
  2541. goodunit:
  2542. description: 报价单位
  2543. type: string
  2544. marketid:
  2545. description: 市场ID
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号
  2549. type: string
  2550. outgoodscode:
  2551. description: 商品代码(外部)
  2552. type: string
  2553. relatedouttradeid:
  2554. description: 关联外部成交单ID
  2555. type: string
  2556. remark:
  2557. description: 备注
  2558. type: string
  2559. spotcontractid:
  2560. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2561. type: integer
  2562. spotcontractno:
  2563. description: 现货合同编号
  2564. type: string
  2565. tradeid:
  2566. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2567. type: string
  2568. tradeprice:
  2569. description: 成交价格
  2570. type: number
  2571. tradeqty:
  2572. description: 成交数量
  2573. type: integer
  2574. tradetime:
  2575. description: 成交时间
  2576. type: string
  2577. updatetime:
  2578. description: 更新时间
  2579. type: string
  2580. required:
  2581. - asapplyid
  2582. - buyorsell
  2583. - goodscode
  2584. - goodsgroupid
  2585. - goodsgroupname
  2586. - goodsname
  2587. - tradeid
  2588. type: object
  2589. erms2.QuerySpotContractRsp:
  2590. properties:
  2591. accountid:
  2592. description: 资金账户ID
  2593. type: integer
  2594. areauserid:
  2595. description: 所属机构
  2596. type: integer
  2597. closedate:
  2598. description: 终止日期
  2599. type: string
  2600. closeremark:
  2601. description: 结束备注
  2602. type: string
  2603. closetradedate:
  2604. description: 完结交易日(yyyyMMdd)
  2605. type: string
  2606. closetype:
  2607. description: 终止类型 - 1:违约 2:提前终止
  2608. type: integer
  2609. contractamount:
  2610. description: 合同金额
  2611. type: number
  2612. contractattachment:
  2613. description: 合同附件
  2614. type: string
  2615. contractno:
  2616. description: 现货合同编号
  2617. type: string
  2618. contractqty:
  2619. description: 合同数量(数值) (用于计算)
  2620. type: number
  2621. contractqtychar:
  2622. description: 合同数量\已订价数量 (用于显示)
  2623. type: string
  2624. contractstatus:
  2625. description: 合同状态 - 0:未结束 1:已结束
  2626. type: integer
  2627. contracttype:
  2628. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2629. type: integer
  2630. customeraccountid:
  2631. description: 客户资金账户ID
  2632. type: integer
  2633. customeruserid:
  2634. description: 客户ID
  2635. type: integer
  2636. deliverygoodsdesc:
  2637. description: 品种说明
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. handlestatus:
  2643. description: 处理状态
  2644. type: integer
  2645. invoiceatt:
  2646. description: 发票附件
  2647. type: string
  2648. invoicedatetime:
  2649. description: 开收票更新时间
  2650. type: string
  2651. invoiceopentime:
  2652. description: 开票时间
  2653. type: string
  2654. invoiceremark:
  2655. description: 发票备注
  2656. type: string
  2657. invoicestatus:
  2658. description: 开收票状态 - 0:未开票 1:已开票
  2659. type: integer
  2660. lastdate:
  2661. description: 交货时间
  2662. type: string
  2663. marketid:
  2664. description: 市场ID
  2665. type: integer
  2666. paydatetime:
  2667. description: 收付款更新时间
  2668. type: string
  2669. payremark:
  2670. description: 收付款备注
  2671. type: string
  2672. paystatus:
  2673. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2674. type: integer
  2675. positionqty:
  2676. description: 头寸数量 - 合同数量去小数部分
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. relatedqty:
  2682. description: 已关联数量
  2683. type: number
  2684. relatedstatus:
  2685. description: 关联完结状态 - 0:未结束 1:已结束
  2686. type: integer
  2687. remark:
  2688. description: 备注
  2689. type: string
  2690. signdate:
  2691. description: 签订日期
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotdatetime:
  2697. description: 收发货更新时间
  2698. type: string
  2699. spotprice:
  2700. description: 价格
  2701. type: number
  2702. spotremark:
  2703. description: 收发货备注
  2704. type: string
  2705. spotstatus:
  2706. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2707. type: integer
  2708. tradedate:
  2709. description: 交易日(yyyyMMdd)
  2710. type: string
  2711. userid:
  2712. description: 业务员用户ID
  2713. type: integer
  2714. warehouseid:
  2715. description: 仓库ID
  2716. type: integer
  2717. wrfactortypeid:
  2718. description: 仓单要素类型ID
  2719. type: integer
  2720. wrstandardid:
  2721. description: 仓单标准ID(SEQ_WRSTANDARD)
  2722. type: integer
  2723. required:
  2724. - spotcontractid
  2725. type: object
  2726. erms3.AddErms2ASApplyReq:
  2727. properties:
  2728. applybasis:
  2729. description: 申请基差
  2730. type: number
  2731. applystatus:
  2732. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2733. type: integer
  2734. asapplyid:
  2735. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2736. type: integer
  2737. asname:
  2738. description: 策略名称
  2739. type: string
  2740. asno:
  2741. description: 策略编号
  2742. type: string
  2743. auditid:
  2744. description: 审核人
  2745. type: integer
  2746. auditremark:
  2747. description: 审核备注
  2748. type: string
  2749. audittime:
  2750. description: 审核时间
  2751. type: string
  2752. biztype:
  2753. description: 业务类型 - 1:正向套利 2:反向套利
  2754. type: integer
  2755. createtime:
  2756. description: 创建时间
  2757. type: string
  2758. creatorid:
  2759. description: 创建人
  2760. type: integer
  2761. deliverygoodsid:
  2762. description: 现货品种ID
  2763. type: integer
  2764. futurequote:
  2765. description: 期货额度
  2766. type: number
  2767. goodsgroupid:
  2768. description: 期货品种ID
  2769. type: integer
  2770. marketid:
  2771. description: 市场ID
  2772. type: integer
  2773. remark:
  2774. description: 备注
  2775. type: string
  2776. spotquota:
  2777. description: 现货额度
  2778. type: number
  2779. tradedate:
  2780. description: 交易日(yyyyMMdd)
  2781. type: string
  2782. userid:
  2783. description: 所属机构
  2784. type: integer
  2785. required:
  2786. - asapplyid
  2787. type: object
  2788. erms3.AddErms2SpotTradeApplyReq:
  2789. properties:
  2790. applyjsondetail:
  2791. description: 申请明细(JSON)
  2792. type: string
  2793. applystatus:
  2794. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2795. type: integer
  2796. areauserid:
  2797. description: 所属机构
  2798. type: integer
  2799. auditid:
  2800. description: 审核人
  2801. type: integer
  2802. auditremark:
  2803. description: 审核备注
  2804. type: string
  2805. audittime:
  2806. description: 审核时间
  2807. type: string
  2808. createtime:
  2809. description: 创建时间
  2810. type: string
  2811. creatorid:
  2812. description: 创建人
  2813. type: integer
  2814. deliverygoodsid:
  2815. description: 现货品种ID
  2816. type: integer
  2817. futureaccountid:
  2818. description: 期货资金账户
  2819. type: integer
  2820. goodsgroupid:
  2821. description: 期货品种
  2822. type: integer
  2823. marketid:
  2824. description: 市场ID
  2825. type: integer
  2826. remark:
  2827. description: 备注
  2828. type: string
  2829. spotaccountid:
  2830. description: 现货资金账户
  2831. type: integer
  2832. spottradeid:
  2833. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2834. type: integer
  2835. spottradename:
  2836. description: 业务名称
  2837. type: string
  2838. spottradeno:
  2839. description: 业务编号
  2840. type: string
  2841. tradedate:
  2842. description: 交易日(yyyyMMdd)
  2843. type: string
  2844. wrstandardid:
  2845. description: 仓单标准ID
  2846. type: integer
  2847. required:
  2848. - spottradeid
  2849. type: object
  2850. erms3.AddSpotContractApplyReq:
  2851. properties:
  2852. accountid:
  2853. description: 资金账户ID
  2854. type: integer
  2855. areauserid:
  2856. description: 所属机构
  2857. type: integer
  2858. contractattachment:
  2859. description: 合同附件
  2860. type: string
  2861. contractno:
  2862. description: 现货合同编号
  2863. type: string
  2864. contracttype:
  2865. description: 现货合同类型 - 1:采购 -1:销售
  2866. type: integer
  2867. creatorid:
  2868. description: 申请人
  2869. type: integer
  2870. customeraccountid:
  2871. description: 客户资金账户ID
  2872. type: integer
  2873. customeruserid:
  2874. description: 客户ID
  2875. type: integer
  2876. details:
  2877. description: 明细
  2878. items:
  2879. $ref: '#/definitions/erms3.SoptContractDetail'
  2880. type: array
  2881. orimargin:
  2882. description: 初始保证金
  2883. type: number
  2884. remark:
  2885. description: 备注
  2886. type: string
  2887. signdate:
  2888. description: 签订日期
  2889. type: string
  2890. required:
  2891. - accountid
  2892. - areauserid
  2893. - contractno
  2894. - contracttype
  2895. - customeraccountid
  2896. - customeruserid
  2897. - details
  2898. - orimargin
  2899. - signdate
  2900. type: object
  2901. erms3.AddSpotContractApplyRsp:
  2902. properties:
  2903. contractno:
  2904. description: 现货合同编号
  2905. type: string
  2906. spotcontractid:
  2907. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2908. type: integer
  2909. required:
  2910. - contractno
  2911. type: object
  2912. erms3.AddUserInfoApplyReq:
  2913. properties:
  2914. accountid:
  2915. description: 交易系统帐号Id (加密存储)
  2916. type: integer
  2917. areacode:
  2918. description: 机构代码
  2919. type: string
  2920. areaid:
  2921. description: 机构Id
  2922. type: integer
  2923. attachment1:
  2924. description: 附件1
  2925. type: string
  2926. attachment2:
  2927. description: 附件2
  2928. type: string
  2929. attachment3:
  2930. description: 附件3
  2931. type: string
  2932. attachment4:
  2933. description: 附件4
  2934. type: string
  2935. attachment5:
  2936. description: 附件5
  2937. type: string
  2938. auditedby:
  2939. description: 审核人
  2940. type: string
  2941. auditime:
  2942. description: 审核时间
  2943. type: string
  2944. auditsrc:
  2945. description: 审核来源 - 1:管理端 2:终端
  2946. type: integer
  2947. bankaccount:
  2948. description: 银行帐号 (加密存储)
  2949. type: string
  2950. bankaccountname:
  2951. description: 收款人名称
  2952. type: string
  2953. bankcardbackphotourl:
  2954. description: 银行卡背面照地址
  2955. type: string
  2956. bankcardfrontphotourl:
  2957. description: 银行卡正面照地址
  2958. type: string
  2959. bankid:
  2960. description: 银行编码
  2961. type: string
  2962. bankname:
  2963. description: 银行名称
  2964. type: string
  2965. bankpictureurl:
  2966. description: 银行卡正面地址
  2967. type: string
  2968. biznature:
  2969. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2970. type: integer
  2971. bizscope:
  2972. description: 企业经营范围(企业)
  2973. type: string
  2974. biztype:
  2975. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2976. type: integer
  2977. brokerid:
  2978. description: 经纪人ID(加密存储)
  2979. type: string
  2980. cardaddress:
  2981. description: 证件地址 (加密存储)
  2982. type: string
  2983. cardbackphotourl:
  2984. description: 背面证件照地址
  2985. type: string
  2986. cardfrontphotourl:
  2987. description: 正面证件照地址
  2988. type: string
  2989. cardnum:
  2990. description: 证件号码 (加密存储)
  2991. type: string
  2992. cardtype:
  2993. description: 证件类型
  2994. type: integer
  2995. cityid:
  2996. description: 市
  2997. type: integer
  2998. company:
  2999. description: 公司(个人)
  3000. type: string
  3001. contactcardbackphotourl:
  3002. description: 联系人证件背面图片地址
  3003. type: string
  3004. contactcardfrontphotourl:
  3005. description: 联系人证件正面图片地址
  3006. type: string
  3007. contactname:
  3008. description: 联系人
  3009. type: string
  3010. countryid:
  3011. description: 国家
  3012. type: integer
  3013. createtime:
  3014. description: 开户申请时间
  3015. type: string
  3016. cusbankid:
  3017. description: 签约类型
  3018. type: string
  3019. cusbankname:
  3020. description: 签约类型名称
  3021. type: string
  3022. customername:
  3023. description: 客户名称(企业名称)
  3024. type: string
  3025. districtid:
  3026. description: 地区
  3027. type: integer
  3028. email:
  3029. description: Email地址(加密存储)
  3030. type: string
  3031. halfbodyphotourl:
  3032. description: 半身照地址
  3033. type: string
  3034. headurl:
  3035. description: 头像地址
  3036. type: string
  3037. ipaddress:
  3038. description: IP地址
  3039. type: string
  3040. isvalidate:
  3041. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3042. type: string
  3043. legalcardbackphotourl:
  3044. description: 法人身份证背面照地址
  3045. type: string
  3046. legalcardfrontphotourl:
  3047. description: 法人身份证正面照地址
  3048. type: string
  3049. legalpersonname:
  3050. description: 法人姓名(企业)
  3051. type: string
  3052. logincode:
  3053. description: 登录帐号 (加密存储)
  3054. type: string
  3055. memberareaid:
  3056. description: 所属会员ID
  3057. type: integer
  3058. mobile2:
  3059. description: 手机号码[明文-尚志]
  3060. type: string
  3061. mobilephone:
  3062. description: 手机号码 (加密存储)
  3063. type: string
  3064. modifiedby:
  3065. description: 修改人帐号
  3066. type: integer
  3067. modifiedtime:
  3068. description: 修改时间
  3069. type: string
  3070. nickname:
  3071. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3072. type: string
  3073. openmode:
  3074. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3075. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3076. type: integer
  3077. otherurl:
  3078. description: 其它图片地址[使用分号分隔]
  3079. type: string
  3080. postalcode:
  3081. description: 邮政编码
  3082. type: string
  3083. provinceid:
  3084. description: 省
  3085. type: integer
  3086. proxystatementurl:
  3087. description: 授权委托书
  3088. type: string
  3089. qq:
  3090. description: QQ(加密存储
  3091. type: string
  3092. referral:
  3093. description: 推荐人编码
  3094. type: string
  3095. remark:
  3096. description: 备注
  3097. type: string
  3098. removebeforestatus:
  3099. description: REMOVEBEFORESTATUS
  3100. type: integer
  3101. sex:
  3102. description: 性别 - 0:女 1:男
  3103. type: integer
  3104. signedstatus:
  3105. description: 账户一号签签约状态
  3106. type: integer
  3107. signpdfurl:
  3108. description: 签约pdf文件
  3109. type: string
  3110. subbranch:
  3111. description: 开户支行
  3112. type: string
  3113. taxpayernum:
  3114. description: 纳税人识别号
  3115. type: string
  3116. telphone:
  3117. description: 联系电话(加密存储)
  3118. type: string
  3119. userid:
  3120. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3121. type: integer
  3122. userinfotype:
  3123. description: 用户信息类型 - 1:个人 2:企业
  3124. type: integer
  3125. username:
  3126. description: 用户姓名
  3127. type: string
  3128. userstate:
  3129. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3130. type: integer
  3131. usertype:
  3132. description: 用户类型 - 1:投资者 2:机构
  3133. type: integer
  3134. videourl:
  3135. description: 视频地址
  3136. type: string
  3137. wechat:
  3138. description: 微信号 (加密存储)
  3139. type: string
  3140. required:
  3141. - userid
  3142. type: object
  3143. erms3.CustomerInfo:
  3144. properties:
  3145. accountids:
  3146. description: 资金账户ID列表
  3147. items:
  3148. type: integer
  3149. type: array
  3150. customername:
  3151. description: 名称(企业名称)
  3152. type: string
  3153. mobile:
  3154. description: 手机号码
  3155. type: string
  3156. userid:
  3157. description: 用户ID
  3158. type: integer
  3159. required:
  3160. - userid
  3161. type: object
  3162. erms3.ModifyUserInfoApplyReq:
  3163. properties:
  3164. accountid:
  3165. description: 交易系统帐号Id (加密存储)
  3166. type: integer
  3167. areacode:
  3168. description: 机构代码
  3169. type: string
  3170. areaid:
  3171. description: 机构Id
  3172. type: integer
  3173. attachment1:
  3174. description: 附件1
  3175. type: string
  3176. attachment2:
  3177. description: 附件2
  3178. type: string
  3179. attachment3:
  3180. description: 附件3
  3181. type: string
  3182. attachment4:
  3183. description: 附件4
  3184. type: string
  3185. attachment5:
  3186. description: 附件5
  3187. type: string
  3188. auditedby:
  3189. description: 审核人
  3190. type: string
  3191. auditime:
  3192. description: 审核时间
  3193. type: string
  3194. auditsrc:
  3195. description: 审核来源 - 1:管理端 2:终端
  3196. type: integer
  3197. bankaccount:
  3198. description: 银行帐号 (加密存储)
  3199. type: string
  3200. bankaccountname:
  3201. description: 收款人名称
  3202. type: string
  3203. bankcardbackphotourl:
  3204. description: 银行卡背面照地址
  3205. type: string
  3206. bankcardfrontphotourl:
  3207. description: 银行卡正面照地址
  3208. type: string
  3209. bankid:
  3210. description: 银行编码
  3211. type: string
  3212. bankname:
  3213. description: 银行名称
  3214. type: string
  3215. bankpictureurl:
  3216. description: 银行卡正面地址
  3217. type: string
  3218. biznature:
  3219. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3220. type: integer
  3221. bizscope:
  3222. description: 企业经营范围(企业)
  3223. type: string
  3224. biztype:
  3225. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3226. type: integer
  3227. brokerid:
  3228. description: 经纪人ID(加密存储)
  3229. type: string
  3230. cardaddress:
  3231. description: 证件地址 (加密存储)
  3232. type: string
  3233. cardbackphotourl:
  3234. description: 背面证件照地址
  3235. type: string
  3236. cardfrontphotourl:
  3237. description: 正面证件照地址
  3238. type: string
  3239. cardnum:
  3240. description: 证件号码 (加密存储)
  3241. type: string
  3242. cardtype:
  3243. description: 证件类型
  3244. type: integer
  3245. cityid:
  3246. description: 市
  3247. type: integer
  3248. company:
  3249. description: 公司(个人)
  3250. type: string
  3251. contactcardbackphotourl:
  3252. description: 联系人证件背面图片地址
  3253. type: string
  3254. contactcardfrontphotourl:
  3255. description: 联系人证件正面图片地址
  3256. type: string
  3257. contactname:
  3258. description: 联系人
  3259. type: string
  3260. countryid:
  3261. description: 国家
  3262. type: integer
  3263. createtime:
  3264. description: 开户申请时间
  3265. type: string
  3266. cusbankid:
  3267. description: 签约类型
  3268. type: string
  3269. cusbankname:
  3270. description: 签约类型名称
  3271. type: string
  3272. customername:
  3273. description: 客户名称(企业名称)
  3274. type: string
  3275. districtid:
  3276. description: 地区
  3277. type: integer
  3278. email:
  3279. description: Email地址(加密存储)
  3280. type: string
  3281. halfbodyphotourl:
  3282. description: 半身照地址
  3283. type: string
  3284. headurl:
  3285. description: 头像地址
  3286. type: string
  3287. ipaddress:
  3288. description: IP地址
  3289. type: string
  3290. isvalidate:
  3291. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3292. type: string
  3293. legalcardbackphotourl:
  3294. description: 法人身份证背面照地址
  3295. type: string
  3296. legalcardfrontphotourl:
  3297. description: 法人身份证正面照地址
  3298. type: string
  3299. legalpersonname:
  3300. description: 法人姓名(企业)
  3301. type: string
  3302. logincode:
  3303. description: 登录帐号 (加密存储)
  3304. type: string
  3305. memberareaid:
  3306. description: 所属会员ID
  3307. type: integer
  3308. mobile2:
  3309. description: 手机号码[明文-尚志]
  3310. type: string
  3311. mobilephone:
  3312. description: 手机号码 (加密存储)
  3313. type: string
  3314. modifiedby:
  3315. description: 修改人帐号
  3316. type: integer
  3317. modifiedtime:
  3318. description: 修改时间
  3319. type: string
  3320. nickname:
  3321. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3322. type: string
  3323. openmode:
  3324. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3325. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3326. type: integer
  3327. otherurl:
  3328. description: 其它图片地址[使用分号分隔]
  3329. type: string
  3330. postalcode:
  3331. description: 邮政编码
  3332. type: string
  3333. provinceid:
  3334. description: 省
  3335. type: integer
  3336. proxystatementurl:
  3337. description: 授权委托书
  3338. type: string
  3339. qq:
  3340. description: QQ(加密存储
  3341. type: string
  3342. referral:
  3343. description: 推荐人编码
  3344. type: string
  3345. remark:
  3346. description: 备注
  3347. type: string
  3348. removebeforestatus:
  3349. description: REMOVEBEFORESTATUS
  3350. type: integer
  3351. sex:
  3352. description: 性别 - 0:女 1:男
  3353. type: integer
  3354. signedstatus:
  3355. description: 账户一号签签约状态
  3356. type: integer
  3357. signpdfurl:
  3358. description: 签约pdf文件
  3359. type: string
  3360. subbranch:
  3361. description: 开户支行
  3362. type: string
  3363. taxpayernum:
  3364. description: 纳税人识别号
  3365. type: string
  3366. telphone:
  3367. description: 联系电话(加密存储)
  3368. type: string
  3369. userid:
  3370. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3371. type: integer
  3372. userinfotype:
  3373. description: 用户信息类型 - 1:个人 2:企业
  3374. type: integer
  3375. username:
  3376. description: 用户姓名
  3377. type: string
  3378. userstate:
  3379. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3380. type: integer
  3381. usertype:
  3382. description: 用户类型 - 1:投资者 2:机构
  3383. type: integer
  3384. videourl:
  3385. description: 视频地址
  3386. type: string
  3387. wechat:
  3388. description: 微信号 (加密存储)
  3389. type: string
  3390. required:
  3391. - userid
  3392. type: object
  3393. erms3.QryAuditContractRsp:
  3394. properties:
  3395. accountid:
  3396. description: 交易员ID
  3397. type: string
  3398. applystatus:
  3399. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3400. type: integer
  3401. curdeliveryqty:
  3402. description: 未交收量
  3403. type: integer
  3404. customername:
  3405. description: 采购方ID
  3406. type: string
  3407. deliverygoodsid:
  3408. description: 品种ID
  3409. type: string
  3410. deliveryqty:
  3411. description: 交收量
  3412. type: integer
  3413. enumdicname:
  3414. description: 单位名称
  3415. type: string
  3416. matchaccountid:
  3417. description: 业务员ID
  3418. type: string
  3419. matchcustomername:
  3420. description: 销售方ID
  3421. type: string
  3422. pricedqty:
  3423. description: 定价量
  3424. type: number
  3425. signdate:
  3426. description: 签订日期
  3427. type: string
  3428. spotcontractid:
  3429. description: 合同ID
  3430. type: string
  3431. totaldqty:
  3432. description: 合同量
  3433. type: number
  3434. unpricedqty:
  3435. description: 未定价量
  3436. type: number
  3437. wrstandardname:
  3438. description: 商品名称
  3439. type: string
  3440. required:
  3441. - matchcustomername
  3442. - spotcontractid
  3443. type: object
  3444. erms3.QryPendingBizRsp:
  3445. properties:
  3446. accountid:
  3447. description: 现货账户
  3448. type: string
  3449. areaname:
  3450. description: 所属部门
  3451. type: string
  3452. bizid:
  3453. description: 业务ID
  3454. type: string
  3455. bizname:
  3456. description: 业务名称
  3457. type: string
  3458. status:
  3459. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3460. type: integer
  3461. type:
  3462. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3463. type: integer
  3464. type: object
  3465. erms3.QueryBusinessInfoRsp:
  3466. properties:
  3467. businessid:
  3468. description: 业务ID.
  3469. type: integer
  3470. buyamount:
  3471. description: 采购额.
  3472. type: number
  3473. buyqty:
  3474. description: 采购量.
  3475. type: string
  3476. futurepl:
  3477. description: 期货盈亏.
  3478. type: number
  3479. futureqty:
  3480. description: 期货敞口.
  3481. type: string
  3482. goodsid:
  3483. description: 商品名称/商品代码.
  3484. type: string
  3485. hedgingqty:
  3486. description: 套保量.
  3487. type: string
  3488. sellamount:
  3489. description: 销售额.
  3490. type: number
  3491. sellqty:
  3492. description: 销售量.
  3493. type: string
  3494. spotmarketvalue:
  3495. description: 现货市值.
  3496. type: number
  3497. spotpl:
  3498. description: 浮动权益.
  3499. type: number
  3500. spotqty:
  3501. description: 现货量.
  3502. type: string
  3503. statu:
  3504. description: 状态,0-未结束 1-已结束.
  3505. type: integer
  3506. totalpl:
  3507. description: 总盈亏.
  3508. type: number
  3509. totalqty:
  3510. description: 总敞口.
  3511. type: string
  3512. type:
  3513. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3514. type: integer
  3515. type: object
  3516. erms3.QuerySpotContractAppleFormRsp:
  3517. properties:
  3518. goodses:
  3519. description: 合约列表
  3520. items:
  3521. $ref: '#/definitions/models.GoodsIDAndName'
  3522. type: array
  3523. oppositeusers:
  3524. description: 对方账号列表
  3525. items:
  3526. $ref: '#/definitions/erms3.CustomerInfo'
  3527. type: array
  3528. ouruser:
  3529. $ref: '#/definitions/erms3.CustomerInfo'
  3530. description: 我方账号
  3531. warehouseinfos:
  3532. description: 仓库信息列表
  3533. items:
  3534. $ref: '#/definitions/models.Warehouseinfo'
  3535. type: array
  3536. wrstandards:
  3537. description: 仓单标准列表
  3538. items:
  3539. $ref: '#/definitions/models.WRStandardInfo'
  3540. type: array
  3541. type: object
  3542. erms3.QuerySpotContractInfoRsp:
  3543. properties:
  3544. accountid:
  3545. description: 表示交易员ID.
  3546. type: integer
  3547. curdeliveryqty:
  3548. description: 表示未交收量.
  3549. type: number
  3550. customername:
  3551. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3552. type: string
  3553. deliverygoodsid:
  3554. description: 表示品种ID.
  3555. type: string
  3556. deliveryqty:
  3557. description: 表示交收量.
  3558. type: number
  3559. matchaccountid:
  3560. description: 表示业务员ID.
  3561. type: integer
  3562. matchcustomername:
  3563. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3564. type: string
  3565. priceqty:
  3566. description: 表示定价量.
  3567. type: number
  3568. relatedbizid:
  3569. description: 表示业务ID.
  3570. type: string
  3571. signdate:
  3572. description: 表示签订日期.
  3573. type: string
  3574. spotcontractid:
  3575. description: 合同ID
  3576. type: string
  3577. status:
  3578. description: 表示状态,0-履约中 1-已完成.
  3579. type: integer
  3580. totalqty:
  3581. description: 表示合同量.
  3582. type: number
  3583. unpricedqty:
  3584. description: 表示未定价量.
  3585. type: number
  3586. wrstandardname:
  3587. description: 表示商品ID.
  3588. type: string
  3589. type: object
  3590. erms3.QueryUserInfoAppliesRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. createtime:
  3599. description: 开户申请时间
  3600. type: string
  3601. userid:
  3602. description: 用户ID(自增ID)
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. username:
  3608. description: 用户姓名
  3609. type: string
  3610. userstate:
  3611. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3612. type: integer
  3613. required:
  3614. - userid
  3615. type: object
  3616. erms3.QueryUserInfosRsp:
  3617. properties:
  3618. biznature:
  3619. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3620. type: integer
  3621. contactname:
  3622. description: 联系人
  3623. type: string
  3624. customername:
  3625. description: 客户名称(企业名称)
  3626. type: string
  3627. userid:
  3628. description: 用户ID
  3629. type: integer
  3630. userinfotype:
  3631. description: 用户信息类型 - 1:个人 2:企业
  3632. type: integer
  3633. userstatus:
  3634. description: 用户状态 - 1:正常 2:注销
  3635. type: integer
  3636. required:
  3637. - userid
  3638. type: object
  3639. erms3.SoptContractDetail:
  3640. properties:
  3641. deliverygoodsdesc:
  3642. description: 现货品种说明
  3643. type: string
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. deliverygoodsname:
  3648. description: 现货品种名称
  3649. type: string
  3650. pointdesc:
  3651. description: 点价描述
  3652. type: string
  3653. producttype:
  3654. description: 产品类型 1:标准仓单 2:等标 3:非标
  3655. type: integer
  3656. producttypename:
  3657. description: 产品类型名称
  3658. type: string
  3659. spotPointOrderVoList:
  3660. description: 点价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPointOrder'
  3663. type: array
  3664. spotPriceOrderList:
  3665. description: 定价列表
  3666. items:
  3667. $ref: '#/definitions/erms3.SpotPriceOrder'
  3668. type: array
  3669. unitname:
  3670. description: 单位名称
  3671. type: string
  3672. warehouseid:
  3673. description: 仓库ID
  3674. type: integer
  3675. warehousename:
  3676. description: 仓库名称
  3677. type: string
  3678. wrstandardid:
  3679. description: 交易标的ID
  3680. type: integer
  3681. wrstandardname:
  3682. description: 交易标的名称
  3683. type: string
  3684. required:
  3685. - deliverygoodsid
  3686. - producttype
  3687. - unitname
  3688. - warehouseid
  3689. - wrstandardid
  3690. - wrstandardname
  3691. type: object
  3692. erms3.SpotPointOrder:
  3693. properties:
  3694. basic:
  3695. description: 基差
  3696. type: number
  3697. deliveryenddate:
  3698. description: 交收结束日期
  3699. type: string
  3700. deliverystartdate:
  3701. description: 交收开始日期
  3702. type: string
  3703. enddate:
  3704. description: 点价结束日期
  3705. type: string
  3706. goodsid:
  3707. description: 商品ID
  3708. type: integer
  3709. goodsname:
  3710. description: 商品名称
  3711. type: string
  3712. qty:
  3713. description: 数量
  3714. type: number
  3715. startdate:
  3716. description: 点价开始日期
  3717. type: string
  3718. required:
  3719. - basic
  3720. - goodsid
  3721. - qty
  3722. type: object
  3723. erms3.SpotPriceOrder:
  3724. properties:
  3725. amount:
  3726. description: 金额
  3727. type: number
  3728. deliveryenddate:
  3729. description: 交收结束日期
  3730. type: string
  3731. deliverystartdate:
  3732. description: 交收开始日期
  3733. type: string
  3734. price:
  3735. description: 价格
  3736. type: number
  3737. qty:
  3738. description: 数量
  3739. type: number
  3740. required:
  3741. - amount
  3742. - price
  3743. - qty
  3744. type: object
  3745. hsby.GetHsbyMyCountRsp:
  3746. properties:
  3747. myCouponCount:
  3748. description: 我的优惠卷数量
  3749. type: integer
  3750. myOrderDetailListingCount:
  3751. description: 我的订单求购中数量
  3752. type: integer
  3753. myOrderDetailPreCount:
  3754. description: 我的订单抢购中数量
  3755. type: integer
  3756. myPackageUnReceiveCount:
  3757. description: 我的包裹待收货数量
  3758. type: integer
  3759. myPackageUnSendCount:
  3760. description: 我的包裹待发货数量
  3761. type: integer
  3762. myPayOrderCount:
  3763. description: 我的订单待付款数量
  3764. type: integer
  3765. type: object
  3766. hsby.QueryProvincesAndCitiesRsp:
  3767. properties:
  3768. cities:
  3769. description: 市
  3770. items:
  3771. $ref: '#/definitions/models.Division'
  3772. type: array
  3773. province:
  3774. $ref: '#/definitions/models.Division'
  3775. description: 省
  3776. type: object
  3777. models.Arearole:
  3778. properties:
  3779. createtime:
  3780. description: 创建时间
  3781. type: string
  3782. creatorid:
  3783. description: 创建人ID
  3784. type: integer
  3785. fromuserid:
  3786. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3787. type: integer
  3788. isreturnscore:
  3789. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3790. type: integer
  3791. modifierid:
  3792. description: 修改人ID
  3793. type: integer
  3794. modifytime:
  3795. description: 修改时间
  3796. type: string
  3797. orgtype:
  3798. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3799. type: integer
  3800. outuserid:
  3801. description: 外部账户[场外期权做市商]
  3802. type: string
  3803. parentuserid:
  3804. description: 上级组织机构(组织机构)
  3805. type: integer
  3806. roletype:
  3807. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3808. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3809. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3810. type: integer
  3811. rootuserid:
  3812. description: 顶级组织机构用户ID(组织机构)
  3813. type: integer
  3814. shoppassword:
  3815. description: 商城店铺登陆密码(商城店铺角色使用)
  3816. type: string
  3817. sublevelpath:
  3818. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3819. type: string
  3820. suborgtype:
  3821. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3822. type: integer
  3823. tradeaccountid:
  3824. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3825. type: integer
  3826. transurl:
  3827. description: 物流地址(物流机构)
  3828. type: string
  3829. userid:
  3830. description: 机构用户ID其他做市关系,都设置为 1
  3831. type: integer
  3832. required:
  3833. - roletype
  3834. - userid
  3835. type: object
  3836. models.BuyOrder:
  3837. properties:
  3838. accountid:
  3839. description: 资金账户ID
  3840. type: integer
  3841. buyusername:
  3842. description: 买方
  3843. type: string
  3844. marketid:
  3845. description: 市场ID
  3846. type: integer
  3847. ordertime:
  3848. description: 委托时间
  3849. type: string
  3850. origin:
  3851. description: 原产地
  3852. type: string
  3853. performancetemplateid:
  3854. description: 履约计划模板ID
  3855. type: integer
  3856. remark:
  3857. description: 备注
  3858. type: string
  3859. userid:
  3860. description: 用户ID
  3861. type: integer
  3862. validtime:
  3863. description: 有效期限
  3864. type: string
  3865. warehouseids:
  3866. description: 仓库ID - 多个, 逗号分隔
  3867. type: string
  3868. warehouseinfosdisplay:
  3869. type: string
  3870. wrtradeorderid:
  3871. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  3872. type: string
  3873. wrtradeorderstatus:
  3874. description: 委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、
  3875. type: integer
  3876. zscategory:
  3877. description: 钻石分类 - 枚举”ZSCategory“
  3878. type: integer
  3879. zscategorydisplay:
  3880. type: string
  3881. zsclaritytype:
  3882. description: 净度 - 两个, 逗号分隔
  3883. type: string
  3884. zsclaritytypedisplay:
  3885. type: string
  3886. zscolortype:
  3887. description: 颜色 - 两个, 逗号分隔
  3888. type: string
  3889. zscolortypedisplay:
  3890. type: string
  3891. zscrystaltype:
  3892. description: 晶型 - 多个,逗号分隔
  3893. type: string
  3894. zscrystaltypedisplay:
  3895. type: string
  3896. zscurrencytype:
  3897. description: 货币类型 - 多个, 逗号分隔
  3898. type: string
  3899. zscurrencytypedisplay:
  3900. type: string
  3901. zscuttype:
  3902. description: 切工 - 两个, 逗号分隔
  3903. type: string
  3904. zscuttypedisplay:
  3905. type: string
  3906. zsczcolor1type:
  3907. description: 彩钻颜色1, 逗号分隔
  3908. type: string
  3909. zsczcolor1typedisplay:
  3910. type: string
  3911. zsczcolor2type:
  3912. description: 彩钻颜色2, 逗号分隔
  3913. type: string
  3914. zsczcolor2typedisplay:
  3915. type: string
  3916. zsczcolor3type:
  3917. description: 彩钻颜色3, 逗号分隔
  3918. type: string
  3919. zsczcolor3typedisplay:
  3920. type: string
  3921. zsfluorescencetype:
  3922. description: 荧光 - 多个, 逗号分隔
  3923. type: string
  3924. zsfluorescencetypedisplay:
  3925. type: string
  3926. zspolishtype:
  3927. description: 抛光度 - 两个, 逗号分隔
  3928. type: string
  3929. zspolishtypedisplay:
  3930. type: string
  3931. zsshapetype:
  3932. description: 形状 - 多个, 逗号分隔
  3933. type: string
  3934. zsshapetypedisplay:
  3935. type: string
  3936. zssize:
  3937. description: 尺寸 - 两个小数, 逗号分隔
  3938. type: string
  3939. zsstyletype:
  3940. description: 款式 - 多个, 逗号分隔
  3941. type: string
  3942. zsstyletypedisplay:
  3943. type: string
  3944. zssymmetrytype:
  3945. description: 对称度 - 两个, 逗号分隔
  3946. type: string
  3947. zssymmetrytypedisplay:
  3948. type: string
  3949. zstabledisplay:
  3950. description: 求购信息
  3951. type: string
  3952. type: object
  3953. models.Clientfixedadconfig:
  3954. properties:
  3955. adsort:
  3956. description: 排序
  3957. type: integer
  3958. adtype:
  3959. description: 广告位类型 - 1:新品抢购(HSBY)
  3960. type: integer
  3961. areauserid:
  3962. description: 所属机构ID
  3963. type: integer
  3964. createdate:
  3965. description: 创建时间
  3966. type: string
  3967. creatorid:
  3968. description: 创建人
  3969. type: integer
  3970. imagepath:
  3971. description: 图片
  3972. type: string
  3973. isshow:
  3974. description: 是否展示 - 0:不展示 1:展示
  3975. type: integer
  3976. modifierid:
  3977. description: 操作人
  3978. type: integer
  3979. recsize:
  3980. description: 推荐尺寸
  3981. type: string
  3982. title:
  3983. description: 标题
  3984. type: string
  3985. updatedate:
  3986. description: 更新时间
  3987. type: string
  3988. urlcontent:
  3989. description: 链接(地址或商品ID)
  3990. type: string
  3991. urltype:
  3992. description: 链接类型 - 1:直接地址 2:商品ID
  3993. type: integer
  3994. required:
  3995. - adsort
  3996. - adtype
  3997. type: object
  3998. models.DgFactoryItem:
  3999. properties:
  4000. dgfactoryitemid:
  4001. description: 选择项ID(SEQ_DGFACTORYITEM)
  4002. type: integer
  4003. dgfactoryitemtypeid:
  4004. description: 要素项类型
  4005. type: integer
  4006. dgfactoryitemvalue:
  4007. description: 要素项值(类型为仓库时填写仓库名称)
  4008. type: string
  4009. orderindex:
  4010. description: 顺序
  4011. type: integer
  4012. type: object
  4013. models.Division:
  4014. properties:
  4015. autoid:
  4016. description: 自增ID
  4017. type: integer
  4018. divisioncode:
  4019. description: 行政代码
  4020. type: string
  4021. divisionlevel:
  4022. description: 行政级别
  4023. type: string
  4024. divisionname:
  4025. description: 行政名称
  4026. type: string
  4027. modifierid:
  4028. description: 修改人
  4029. type: integer
  4030. modifytime:
  4031. description: 修改时间
  4032. type: string
  4033. parentcode:
  4034. description: 上级行政代码
  4035. type: string
  4036. pathname:
  4037. description: 路径名称
  4038. type: string
  4039. postcode:
  4040. description: 邮政编码
  4041. type: string
  4042. separablename:
  4043. description: 可拆分的全称
  4044. type: string
  4045. shortcode:
  4046. description: 地区简码
  4047. type: string
  4048. required:
  4049. - autoid
  4050. - divisioncode
  4051. type: object
  4052. models.Enumdicitem:
  4053. properties:
  4054. autoid:
  4055. description: 自增ID
  4056. type: integer
  4057. bankmappedvalue:
  4058. description: 银行服务对应值
  4059. type: string
  4060. enumdiccode:
  4061. description: 所属枚举代码
  4062. type: string
  4063. enumdicid:
  4064. description: 所属枚举ID
  4065. type: integer
  4066. enumdicname:
  4067. description: 枚举项名称
  4068. type: string
  4069. enumitemname:
  4070. description: 枚举项值
  4071. type: integer
  4072. enumitemstatus:
  4073. description: 枚举项状态 - 1.启用 2.不启用
  4074. type: integer
  4075. enumitemvalue:
  4076. description: 通用值 - [币种通用简写]
  4077. type: string
  4078. param1:
  4079. description: 参数1[币种:币种小数位]
  4080. type: string
  4081. param2:
  4082. description: 参数1[币种:币种显示单位]
  4083. type: string
  4084. remark:
  4085. description: 备注
  4086. type: string
  4087. required:
  4088. - autoid
  4089. - enumdiccode
  4090. - enumdicid
  4091. - enumitemname
  4092. type: object
  4093. models.Ermcp2AreaExposure:
  4094. properties:
  4095. areauserid:
  4096. description: 所属机构
  4097. type: integer
  4098. enumdicname:
  4099. description: 单位
  4100. type: string
  4101. futureqty:
  4102. description: 期货套期量
  4103. type: number
  4104. futureqtychange:
  4105. description: 期货变动量 = FutureQty - OriFutureQty
  4106. type: number
  4107. goodsunitid:
  4108. description: 单位ID
  4109. type: integer
  4110. hedgedspotexposure:
  4111. description: 被套期现货敞口量
  4112. type: number
  4113. hedgedspratio:
  4114. description: 套期期现比例 = 期货套期量/被套期现货敞口量
  4115. type: number
  4116. hedgedtotalexposourechange:
  4117. description: 被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure
  4118. type: number
  4119. hedgedtotalexposure:
  4120. description: 套期敞口量 = 被套期现货敞口量+期货套期量
  4121. type: number
  4122. hedgeplanqty:
  4123. description: 套期计划量
  4124. type: number
  4125. hedgeplanqtychange:
  4126. description: 计划变动量 = HedgePlanQty - OriHedgePlanQty
  4127. type: number
  4128. hedgespotqty:
  4129. description: 被套期现货量
  4130. type: number
  4131. middlegoodsid:
  4132. description: 套保品种
  4133. type: integer
  4134. middlegoodsname:
  4135. description: 套保品种名称
  4136. type: string
  4137. orifutureqty:
  4138. description: 期初期货套期量
  4139. type: number
  4140. orihedgedspotexposure:
  4141. description: 期初被套期现货敞口量
  4142. type: number
  4143. orihedgedtotalexposure:
  4144. description: 期初套期敞口量
  4145. type: number
  4146. orihedgeplanqty:
  4147. description: 期初套期计划量
  4148. type: number
  4149. orihedgespotqty:
  4150. description: 期初被套期现货量
  4151. type: number
  4152. orispotexposure:
  4153. description: 期初现货敞口量
  4154. type: number
  4155. orispotqty:
  4156. description: 期初现货总量
  4157. type: number
  4158. oritotalexposure:
  4159. description: 期初总敞口量
  4160. type: number
  4161. spotexposure:
  4162. description: 现货敞口量
  4163. type: number
  4164. spotqty:
  4165. description: 现货总量
  4166. type: number
  4167. spotqtychange:
  4168. description: 现货变动量 = SpotQty - OriSpotQty
  4169. type: number
  4170. spratio:
  4171. description: 总期现比例 = 期货套期量/现货敞口量
  4172. type: number
  4173. totalexposure:
  4174. description: 总敞口量 = 现货敞口量 + 期货套期量
  4175. type: number
  4176. totalexposurechange:
  4177. description: 总敞口变动量 = TotalExposure - OriTotalExposure
  4178. type: number
  4179. updatetime:
  4180. description: 更新时间 --DATE
  4181. type: string
  4182. type: object
  4183. models.Ermcp2hedgeditem:
  4184. properties:
  4185. accountname:
  4186. description: 套期主体
  4187. type: string
  4188. applyid:
  4189. description: 申请人
  4190. type: integer
  4191. applysrc:
  4192. description: 申请来源 - 1:管理端 2:终端
  4193. type: integer
  4194. areauserid:
  4195. description: 企业ID
  4196. type: integer
  4197. auditid:
  4198. description: 审核人
  4199. type: integer
  4200. auditremark:
  4201. description: 审核备注
  4202. type: string
  4203. auditsrc:
  4204. description: 审核来源 - 1:管理端 2:终端
  4205. type: integer
  4206. audittime:
  4207. description: 审核时间
  4208. type: string
  4209. audittradedate:
  4210. description: 审核交易日(yyyyMMdd)
  4211. type: string
  4212. createtime:
  4213. description: 申请时间
  4214. type: string
  4215. curprice:
  4216. description: 当前市场价
  4217. type: number
  4218. curstock:
  4219. description: 期末库存量 = 采购总量 - 销售总量
  4220. type: number
  4221. deliverygoodsid:
  4222. description: 现货品种ID
  4223. type: integer
  4224. enddate:
  4225. description: 完成日期
  4226. type: string
  4227. endtradedate:
  4228. description: 完成交易日
  4229. type: string
  4230. enumdicname:
  4231. description: 单位
  4232. type: string
  4233. exeamount:
  4234. description: 执行市价总额
  4235. type: number
  4236. exeavgprice:
  4237. description: 执行市场均价= 执行市价总额 / 执行现货量
  4238. type: number
  4239. execontractamount:
  4240. description: 执行定价总额
  4241. type: number
  4242. exeqty:
  4243. description: 执行现货量
  4244. type: number
  4245. exerestamount:
  4246. description: 执行剩余市价总额【现货贸易】
  4247. type: number
  4248. futurefloatpl:
  4249. description: 期货浮动损益
  4250. type: number
  4251. futurehedgepl:
  4252. description: 期货实际损益
  4253. type: number
  4254. futurehedgeplchange:
  4255. description: 期货实际损益变动
  4256. type: number
  4257. futurepl:
  4258. description: 期货套期损益
  4259. type: number
  4260. futureplchange:
  4261. description: 期货套期损益变动
  4262. type: number
  4263. hedgeamount:
  4264. description: 套期市价总额
  4265. type: number
  4266. hedgecontractamount:
  4267. description: 套期定价总额 【定价采购合同】【现货贸易】
  4268. type: number
  4269. hedgeditemid:
  4270. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4271. type: string
  4272. hedgeditemname:
  4273. description: 项目名称
  4274. type: string
  4275. hedgeditemnum:
  4276. description: 项目编号
  4277. type: string
  4278. hedgeditemstatus:
  4279. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4280. type: integer
  4281. hedgedtype:
  4282. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4283. type: integer
  4284. hedgeqty:
  4285. description: 套期现货量
  4286. type: number
  4287. hedgerate:
  4288. description: 套保比率
  4289. type: number
  4290. hedgerestamount:
  4291. description: 套期剩余市价总额【现货贸易】
  4292. type: number
  4293. hedgesumpl:
  4294. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  4295. type: number
  4296. middlegoodslist:
  4297. description: 套期商品列表
  4298. items:
  4299. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  4300. type: array
  4301. oriavgprice:
  4302. description: 期初市场均价 = 套期市价总额 / 套期现货量
  4303. type: number
  4304. orifuturehedgepl:
  4305. description: 期初期货实际损益
  4306. type: number
  4307. orifuturepl:
  4308. description: 期初期货套期损益
  4309. type: number
  4310. orispothedgepl:
  4311. description: 期初现货实际损益
  4312. type: number
  4313. orispotpl:
  4314. description: 期初现货套期损益
  4315. type: number
  4316. planenddate:
  4317. description: 计划结束日期
  4318. type: string
  4319. planstartdate:
  4320. description: 计划开始日期
  4321. type: string
  4322. remark:
  4323. description: 备注
  4324. type: string
  4325. spotbookamount:
  4326. description: 现货账面总额
  4327. type: number
  4328. spotfloatpl:
  4329. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4330. type: number
  4331. spothedgepl:
  4332. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  4333. type: number
  4334. spothedgeplchange:
  4335. description: 现货实际损益变动
  4336. type: number
  4337. spotpl:
  4338. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  4339. type: number
  4340. spotplchange:
  4341. description: 现货套期损益变动
  4342. type: number
  4343. spottradepl:
  4344. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  4345. type: number
  4346. sumobspl:
  4347. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  4348. type: number
  4349. tradeuserid:
  4350. description: 交易用户ID
  4351. type: integer
  4352. unexeqty:
  4353. description: 未执行现货量 = 套期现货量 - 执行现货量
  4354. type: number
  4355. updatetime:
  4356. description: 更新时间
  4357. type: string
  4358. vatpl:
  4359. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  4360. type: number
  4361. vatrate:
  4362. description: 增值税
  4363. type: number
  4364. wrstandardid:
  4365. description: 现货商品ID
  4366. type: integer
  4367. wrstandardname:
  4368. description: 商品名称
  4369. type: string
  4370. type: object
  4371. models.Ermcp2hedgeditemlink:
  4372. properties:
  4373. areauserid:
  4374. description: 企业ID
  4375. type: integer
  4376. createtime:
  4377. description: '[关联时间]创建时间'
  4378. type: string
  4379. customeruserid:
  4380. description: 对手方 【3:采购合同 4:销售合同】
  4381. type: integer
  4382. deliverygoodsid:
  4383. description: 现货品种ID
  4384. type: integer
  4385. enumdicname:
  4386. description: 单位
  4387. type: string
  4388. hedgeditemid:
  4389. description: 被套期项目ID
  4390. type: integer
  4391. hedgeditemlinkid:
  4392. description: 现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)
  4393. type: integer
  4394. hedgeditemnum:
  4395. description: 项目编号
  4396. type: string
  4397. hedgedtype:
  4398. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4399. type: integer
  4400. relatedamount:
  4401. description: 市价总额 = 关联数量 * 期初市场价
  4402. type: number
  4403. relatedhedgeplanid:
  4404. description: 关联计划ID 【1:采购计划 2:销售计划】
  4405. type: integer
  4406. relatedqty:
  4407. description: 关联数量
  4408. type: number
  4409. relatedspotcontractid:
  4410. description: 关联合同ID 【3:采购合同 4:销售合同】
  4411. type: integer
  4412. relatedtype:
  4413. description: 关联类型 - 1:套期关联 2:执行关联
  4414. type: integer
  4415. spotgoodsbrandid:
  4416. description: 现货品牌ID
  4417. type: integer
  4418. spotpricedamount:
  4419. description: '[关联定价总额]定价总额'
  4420. type: number
  4421. spotpricedavgprice:
  4422. description: '[关联现货均价]现货均价 = 定价总额 / 关联数量'
  4423. type: number
  4424. spottype:
  4425. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4426. type: integer
  4427. tradeuserid:
  4428. description: 交易用户ID
  4429. type: integer
  4430. unexeqty:
  4431. description: 未执行现货量【项目关联时值】
  4432. type: number
  4433. wrstandardid:
  4434. description: 现货商品ID
  4435. type: integer
  4436. wrstandardname:
  4437. description: 现货商品
  4438. type: string
  4439. required:
  4440. - relatedspotcontractid
  4441. type: object
  4442. models.Ermcp2hedgeditemsDetail:
  4443. properties:
  4444. accountname:
  4445. description: 套期主体
  4446. type: string
  4447. areauserid:
  4448. description: 企业ID
  4449. type: integer
  4450. createtime:
  4451. description: '[日期时间]创建时间'
  4452. type: string
  4453. customeruserid:
  4454. description: 对手方 【3:采购合同 4:销售合同】
  4455. type: integer
  4456. deliverygoodsid:
  4457. description: 现货品种ID
  4458. type: integer
  4459. enumdicname:
  4460. description: 单位
  4461. type: string
  4462. hedgeditemid:
  4463. description: 被套期项目ID
  4464. type: string
  4465. hedgeditemspotid:
  4466. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4467. type: string
  4468. hedgedtype:
  4469. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4470. type: integer
  4471. hedgeplanno:
  4472. description: 计划编号
  4473. type: string
  4474. middlegoodschange:
  4475. description: 套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))
  4476. type: number
  4477. oriavgprice:
  4478. description: 期初市场价[当初市场价]
  4479. type: number
  4480. relatedamount:
  4481. description: 市价总额 = 关联数量 * 期初市场价
  4482. type: number
  4483. relatedhedgeplanid:
  4484. description: 关联计划ID 【1:采购计划 2:销售计划】
  4485. type: integer
  4486. relatedqty:
  4487. description: '[期间变化量]关联数量'
  4488. type: number
  4489. relatedspotcontractid:
  4490. description: 关联合同ID 【3:采购合同 4:销售合同】
  4491. type: integer
  4492. relatedtype:
  4493. description: 关联类型 - 1:套期关联 2:执行关联
  4494. type: integer
  4495. spotgoodsbrandid:
  4496. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4497. type: integer
  4498. spotpricedamount:
  4499. description: 定价总额
  4500. type: number
  4501. spotpricedavgprice:
  4502. description: 现货均价 = 定价总额 / 关联数量
  4503. type: number
  4504. spottype:
  4505. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4506. type: integer
  4507. tradeuserid:
  4508. description: 交易用户ID
  4509. type: integer
  4510. unexeqty:
  4511. description: 未执行现货量 = 套期现货量 - 执行现货量
  4512. type: number
  4513. wrstandardid:
  4514. description: 现货商品ID
  4515. type: integer
  4516. wrstandardname:
  4517. description: 现货商品
  4518. type: string
  4519. type: object
  4520. models.Ermcp2hedgeditemspot:
  4521. properties:
  4522. areauserid:
  4523. description: 企业ID
  4524. type: integer
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. customeruserid:
  4529. description: 对手方 【3:采购合同 4:销售合同】
  4530. type: integer
  4531. deliverygoodsid:
  4532. description: 现货品种ID
  4533. type: integer
  4534. enumdicname:
  4535. description: 单位
  4536. type: string
  4537. hedgeditemid:
  4538. description: 被套期项目ID
  4539. type: string
  4540. hedgeditemspotid:
  4541. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4542. type: string
  4543. hedgedtype:
  4544. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4545. type: integer
  4546. hedgeplanno:
  4547. description: 计划编号
  4548. type: string
  4549. oriavgprice:
  4550. description: 期初市场价[当初市场价]
  4551. type: number
  4552. relatedamount:
  4553. description: 市价总额 = 关联数量 * 期初市场价
  4554. type: number
  4555. relatedhedgeplanid:
  4556. description: 关联计划ID 【1:采购计划 2:销售计划】
  4557. type: integer
  4558. relatedqty:
  4559. description: 关联数量[数量]
  4560. type: number
  4561. relatedspotcontractid:
  4562. description: 关联合同ID 【3:采购合同 4:销售合同】
  4563. type: integer
  4564. relatedtype:
  4565. description: 关联类型 - 1:套期关联 2:执行关联
  4566. type: integer
  4567. spotgoodsbrandid:
  4568. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4569. type: integer
  4570. spotpricedamount:
  4571. description: 定价总额
  4572. type: number
  4573. spotpricedavgprice:
  4574. description: 现货均价 = 定价总额 / 关联数量
  4575. type: number
  4576. spottype:
  4577. description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4578. type: integer
  4579. tradeuserid:
  4580. description: 交易用户ID
  4581. type: integer
  4582. wrstandardid:
  4583. description: 现货商品ID
  4584. type: integer
  4585. wrstandardname:
  4586. description: 现货商品
  4587. type: string
  4588. required:
  4589. - hedgeditemid
  4590. type: object
  4591. models.Ermcp2hedgeditemspotDetail:
  4592. properties:
  4593. accountname:
  4594. description: 对手方
  4595. type: string
  4596. areauserid:
  4597. description: 企业ID
  4598. type: integer
  4599. brandname:
  4600. description: 品牌
  4601. type: string
  4602. contractno:
  4603. description: 合同编号
  4604. type: string
  4605. createtime:
  4606. description: 创建时间
  4607. type: string
  4608. customeruserid:
  4609. description: 对手方 【3:采购合同 4:销售合同】
  4610. type: integer
  4611. deliverygoodsid:
  4612. description: 现货品种ID
  4613. type: integer
  4614. enumdicname:
  4615. description: 单位
  4616. type: string
  4617. hedgeditemid:
  4618. description: 被套期项目ID
  4619. type: string
  4620. hedgeditemspotid:
  4621. description: 现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)
  4622. type: string
  4623. hedgedtype:
  4624. description: 套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  4625. type: integer
  4626. oriavgprice:
  4627. description: 期初市场价[当初市场价]
  4628. type: number
  4629. relatedamount:
  4630. description: 市价总额 = 关联数量 * 期初市场价
  4631. type: number
  4632. relatedhedgeplanid:
  4633. description: 关联计划ID 【1:采购计划 2:销售计划】
  4634. type: integer
  4635. relatedqty:
  4636. description: 关联数量[数量]
  4637. type: number
  4638. relatedspotcontractid:
  4639. description: 关联合同ID 【3:采购合同 4:销售合同】
  4640. type: integer
  4641. relatedtype:
  4642. description: 关联类型 - 1:套期关联 2:执行关联
  4643. type: integer
  4644. spotgoodsbrandid:
  4645. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID" = 2
  4646. type: integer
  4647. spotpricedamount:
  4648. description: 定价总额[金额]
  4649. type: number
  4650. spotpricedavgprice:
  4651. description: 现货均价 = 定价总额 / 关联数量
  4652. type: number
  4653. spottype:
  4654. description: 现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  4655. type: integer
  4656. tradeuserid:
  4657. description: 交易用户ID
  4658. type: integer
  4659. wrstandardid:
  4660. description: 现货商品ID
  4661. type: integer
  4662. wrstandardname:
  4663. description: 现货商品
  4664. type: string
  4665. required:
  4666. - hedgeditemid
  4667. type: object
  4668. models.Ermcp2himiddlegoods:
  4669. properties:
  4670. futurehedgeqty:
  4671. description: 期货持仓套期量
  4672. type: number
  4673. hedgeditemid:
  4674. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  4675. type: integer
  4676. hiexpsoure:
  4677. description: 期现敞口量 = 未执行套期量 + 期货持仓套期量
  4678. type: number
  4679. middlegoodscode:
  4680. description: 套保商品代码
  4681. type: string
  4682. middlegoodsid:
  4683. description: 套保品种ID
  4684. type: integer
  4685. middlegoodsname:
  4686. description: 套保商品名称
  4687. type: string
  4688. unexehedgeqty:
  4689. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  4690. type: number
  4691. required:
  4692. - hedgeditemid
  4693. - middlegoodsid
  4694. type: object
  4695. models.Ermcp2stockspotchangelog:
  4696. properties:
  4697. accountname:
  4698. description: 套期主体
  4699. type: string
  4700. aftervalue:
  4701. description: 现货量
  4702. type: number
  4703. beforevalue:
  4704. description: 变更前现货量
  4705. type: number
  4706. contractno:
  4707. description: '[编号]现货合同编号'
  4708. type: string
  4709. contracttype:
  4710. description: 现货合同类型 - 1:采购 -1:销售
  4711. type: integer
  4712. createtime:
  4713. description: 创建时间
  4714. type: string
  4715. customerusername:
  4716. description: 对手方
  4717. type: string
  4718. deliverygoodsid:
  4719. description: 现货品种ID
  4720. type: integer
  4721. exetype:
  4722. description: 执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库
  4723. type: integer
  4724. logid:
  4725. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4726. type: string
  4727. logvalue:
  4728. description: '[期间变化量]现货量变更值'
  4729. type: number
  4730. middlegoodschange:
  4731. description: 套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))
  4732. type: number
  4733. operatelogtype:
  4734. description: 操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库
  4735. 27:生产出库
  4736. type: integer
  4737. relatedid:
  4738. description: 现货合同ID
  4739. type: integer
  4740. spotgoodsbrandid:
  4741. description: 现货品牌ID
  4742. type: integer
  4743. tradedate:
  4744. description: 交易日(yyyyMMdd)
  4745. type: string
  4746. userid:
  4747. description: 机构ID
  4748. type: integer
  4749. warehouseinfoid:
  4750. description: 仓库ID
  4751. type: integer
  4752. wrfactortypeid:
  4753. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4754. type: integer
  4755. wrstandardid:
  4756. description: 现货商品ID
  4757. type: integer
  4758. wrstandardname:
  4759. description: 商品名称
  4760. type: string
  4761. type: object
  4762. models.Ermcp3AreaSpot:
  4763. properties:
  4764. areauserid:
  4765. description: 所属机构
  4766. type: integer
  4767. convertratio:
  4768. description: 套保系数
  4769. type: number
  4770. decreaseqty:
  4771. description: 减少数量=-(销售已定价数量+采购计划数量)
  4772. type: number
  4773. enumdicname:
  4774. description: 单位名称
  4775. type: string
  4776. increaseqty:
  4777. description: 增加数量=销售计划数量+采购已定价数量
  4778. type: number
  4779. oritoalspotqty:
  4780. description: 昨日数量
  4781. type: number
  4782. totalspotqty:
  4783. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4784. type: number
  4785. unitid:
  4786. description: 现货商品单位id
  4787. type: integer
  4788. updatetime:
  4789. description: 更新时间
  4790. type: string
  4791. wrstandardcode:
  4792. description: 现货商品代码
  4793. type: string
  4794. wrstandardid:
  4795. description: 现货商品ID(SEQ_WRSTANDARD)
  4796. type: integer
  4797. wrstandardname:
  4798. description: 现货商品名称
  4799. type: string
  4800. type: object
  4801. models.Ermcp3AreaSpotDetail:
  4802. properties:
  4803. contracttype:
  4804. description: 合同类型 1-采购 -1-销售
  4805. type: integer
  4806. createtime:
  4807. description: 创建时间
  4808. type: string
  4809. enumdicname:
  4810. description: 现货商品单位名称
  4811. type: string
  4812. logtype:
  4813. description: 记录类型 1-套保 2-现货合同
  4814. type: integer
  4815. qty:
  4816. description: 数量
  4817. type: number
  4818. recordname:
  4819. description: 类型名称
  4820. type: string
  4821. relatedid:
  4822. description: 套保计划ID/现货合同ID
  4823. type: string
  4824. relatedno:
  4825. description: 编号
  4826. type: string
  4827. strtime:
  4828. description: 时间
  4829. type: string
  4830. wrstandardcode:
  4831. description: 现货商品代码
  4832. type: string
  4833. wrstandardid:
  4834. description: 现货商品ID(SEQ_WRSTANDARD)
  4835. type: integer
  4836. wrstandardname:
  4837. description: 现货商品名称
  4838. type: string
  4839. type: object
  4840. models.Ermcp3AreaSpotPLReport:
  4841. properties:
  4842. accountid:
  4843. description: 期货账户ID (作废, 默认为0)
  4844. type: integer
  4845. accountname:
  4846. description: 机构名称
  4847. type: string
  4848. actualpl:
  4849. description: 现货损益
  4850. type: number
  4851. areauserid:
  4852. description: 所属机构\交易用户ID
  4853. type: integer
  4854. begindate:
  4855. description: 开始交易日
  4856. type: string
  4857. biztype:
  4858. description: 业务类型 - 1:套保 2:套利
  4859. type: integer
  4860. brandname:
  4861. description: 品牌名称
  4862. type: string
  4863. curamount:
  4864. description: 期末额
  4865. type: number
  4866. curaverageprice:
  4867. description: 期初均价
  4868. type: number
  4869. curbuyamount:
  4870. description: 期末采购总额
  4871. type: number
  4872. curbuyqty:
  4873. description: 期末采购总量
  4874. type: number
  4875. curmarketvalue:
  4876. description: 期初均价
  4877. type: number
  4878. curqty:
  4879. description: 期末量
  4880. type: number
  4881. currencyid:
  4882. description: 结算币种ID【原值】
  4883. type: integer
  4884. currencyname:
  4885. description: 币种名称
  4886. type: string
  4887. cursellamount:
  4888. description: 期末销售总额
  4889. type: number
  4890. cursellqty:
  4891. description: 期末销售总量
  4892. type: number
  4893. curspotprice:
  4894. description: 期初均价
  4895. type: number
  4896. cycletime:
  4897. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4898. type: string
  4899. cycletype:
  4900. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4901. type: integer
  4902. deliverygoodscode:
  4903. description: 现货品种代码
  4904. type: string
  4905. deliverygoodsid:
  4906. description: 现货品种ID
  4907. type: integer
  4908. deliverygoodsname:
  4909. description: 现货品种名称
  4910. type: string
  4911. enddate:
  4912. description: 结束交易日
  4913. type: string
  4914. enumdicname:
  4915. description: 现货品种单位名称(作废)
  4916. type: string
  4917. floatpl:
  4918. description: 期初均价
  4919. type: number
  4920. goodsunitid:
  4921. description: 现货品种单位id(作废)
  4922. type: integer
  4923. oriamount:
  4924. description: 期初额
  4925. type: number
  4926. oriaverageprice:
  4927. description: 期初均价
  4928. type: number
  4929. oribuyamount:
  4930. description: 期初采购总额
  4931. type: number
  4932. oribuyqty:
  4933. description: 期初采购总量
  4934. type: number
  4935. oriqty:
  4936. description: 期初量
  4937. type: number
  4938. orisellamount:
  4939. description: 期初销售总额
  4940. type: number
  4941. orisellqty:
  4942. description: 期初销售总量
  4943. type: number
  4944. reckondate:
  4945. description: 日照时期(yyyyMMdd)
  4946. type: string
  4947. spotgoodsbrandid:
  4948. description: 现货品牌ID
  4949. type: integer
  4950. todaybuyamount:
  4951. description: 今日采购额(今采购额)
  4952. type: number
  4953. todaybuyaverageprice:
  4954. description: 期初均价
  4955. type: number
  4956. todaybuyqty:
  4957. description: 今日采购量(今采购量)
  4958. type: number
  4959. todayinqty:
  4960. description: 今日入库量(今入库量)
  4961. type: number
  4962. todayoutqty:
  4963. description: 今日出库量(今出库量)
  4964. type: number
  4965. todaysellamount:
  4966. description: 今日销售额(今销售额)
  4967. type: number
  4968. todaysellaverageprice:
  4969. description: 期初均价
  4970. type: number
  4971. todaysellqty:
  4972. description: 今日销售量(今销售量)
  4973. type: number
  4974. unitid:
  4975. description: 品类单位id
  4976. type: integer
  4977. unitidname:
  4978. description: 品类单位名称
  4979. type: string
  4980. updatetime:
  4981. description: 更新时间
  4982. type: string
  4983. wrfactortypeid:
  4984. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4985. type: integer
  4986. wrstandardcode:
  4987. description: 现货商品(品类)代码
  4988. type: string
  4989. wrstandardid:
  4990. description: 现货品类ID
  4991. type: integer
  4992. wrstandardname:
  4993. description: 现货商品(品类)名称
  4994. type: string
  4995. type: object
  4996. models.Ermcp3AreaStock:
  4997. properties:
  4998. brandname:
  4999. description: 品牌名称
  5000. type: string
  5001. curstock:
  5002. description: 期末库存量(今日量)
  5003. type: number
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货品种id
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. enumdicname:
  5014. description: 单位名称
  5015. type: string
  5016. goodsunitid:
  5017. description: 现货商品单位id
  5018. type: integer
  5019. oristock:
  5020. description: 期初库存量(昨日量)
  5021. type: number
  5022. spotgoodsbrandid:
  5023. description: 现货品牌ID
  5024. type: integer
  5025. todaybuyinqty:
  5026. description: 今日采购入库量
  5027. type: number
  5028. todayproduceinqty:
  5029. description: 今日生产入库量
  5030. type: number
  5031. todayproduceoutqty:
  5032. description: 今日生产出库量
  5033. type: number
  5034. todayselloutqty:
  5035. description: 今日销售出库量
  5036. type: number
  5037. unitid:
  5038. description: 单位id
  5039. type: integer
  5040. updatetime:
  5041. description: 更新时间
  5042. type: string
  5043. userid:
  5044. description: 机构ID
  5045. type: integer
  5046. username:
  5047. description: 机构名称
  5048. type: string
  5049. warehousecode:
  5050. description: 仓库代码
  5051. type: string
  5052. warehouseinfoid:
  5053. description: 仓库ID
  5054. type: string
  5055. warehousename:
  5056. description: 仓库名称
  5057. type: string
  5058. warehousetype:
  5059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5060. type: integer
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID
  5066. type: string
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. required:
  5071. - userid
  5072. type: object
  5073. models.Ermcp3AreaStockApply:
  5074. properties:
  5075. applyid:
  5076. description: 申请人
  5077. type: integer
  5078. applyname:
  5079. description: 申请人名称
  5080. type: string
  5081. applyremark:
  5082. description: 申请备注
  5083. type: string
  5084. applysrc:
  5085. description: 申请来源 - 1:管理端 2:终端
  5086. type: integer
  5087. applystatus:
  5088. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5089. type: integer
  5090. applytime:
  5091. description: 申请时间
  5092. type: string
  5093. auditid:
  5094. description: 审核人
  5095. type: integer
  5096. auditname:
  5097. description: 审核人名称
  5098. type: string
  5099. auditremark:
  5100. description: 审核备注
  5101. type: string
  5102. auditsrc:
  5103. description: 审核来源 - 1:管理端 2:终端
  5104. type: integer
  5105. audittime:
  5106. description: 审核时间
  5107. type: string
  5108. audittradedate:
  5109. description: 审核交易日(yyyyMMdd)
  5110. type: string
  5111. brandname:
  5112. description: 品牌名称
  5113. type: string
  5114. buynickname:
  5115. description: 采购方昵称
  5116. type: string
  5117. buyuserid:
  5118. description: 采购方userid
  5119. type: integer
  5120. buyusername:
  5121. description: 采购方名称
  5122. type: string
  5123. contractno:
  5124. description: 合同编号
  5125. type: string
  5126. contractqty:
  5127. description: 合同量
  5128. type: number
  5129. contracttype:
  5130. description: 现货合同类型 - 1:采购 -1:销售
  5131. type: integer
  5132. deliverygoodscode:
  5133. description: 现货品种代码
  5134. type: string
  5135. deliverygoodsid:
  5136. description: 现货品种id
  5137. type: integer
  5138. deliverygoodsname:
  5139. description: 现货品种名称
  5140. type: string
  5141. detailjson:
  5142. description: 明细数据
  5143. type: string
  5144. enumdicname:
  5145. description: 现货商品单位名称
  5146. type: string
  5147. inoutapplyid:
  5148. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5149. type: string
  5150. inouttype:
  5151. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5152. type: integer
  5153. pricetype:
  5154. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5155. type: integer
  5156. qty:
  5157. description: 数量
  5158. type: number
  5159. sellnickname:
  5160. description: 销售方昵称
  5161. type: string
  5162. selluserid:
  5163. description: 销售方userid
  5164. type: integer
  5165. sellusername:
  5166. description: 销售方名称
  5167. type: string
  5168. spotcontractid:
  5169. description: 关联现货合同ID
  5170. type: string
  5171. spotgoodsbrandid:
  5172. description: 现货品牌ID
  5173. type: integer
  5174. unitid:
  5175. description: 单位id
  5176. type: integer
  5177. userid:
  5178. description: 机构ID
  5179. type: integer
  5180. warehousecode:
  5181. description: 仓库代码
  5182. type: string
  5183. warehouseinfoid:
  5184. description: 现货仓库ID
  5185. type: string
  5186. warehousename:
  5187. description: 仓库名称
  5188. type: string
  5189. warehousetype:
  5190. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5191. type: integer
  5192. wrstandardcode:
  5193. description: 品类代码
  5194. type: string
  5195. wrstandardid:
  5196. description: 品类ID
  5197. type: integer
  5198. wrstandardname:
  5199. description: 品类名称
  5200. type: string
  5201. type: object
  5202. models.Ermcp3AreaStockApplySum:
  5203. properties:
  5204. brandname:
  5205. description: 品牌名称
  5206. type: string
  5207. inouttype:
  5208. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  5209. type: integer
  5210. spotcontractid:
  5211. description: 关联现货合同ID
  5212. type: string
  5213. spotgoodsbrandid:
  5214. description: 品牌id
  5215. type: integer
  5216. totalqty:
  5217. description: 总数量
  5218. type: number
  5219. wrstandardid:
  5220. description: 品类id
  5221. type: integer
  5222. wrstandardname:
  5223. description: 品类名称
  5224. type: string
  5225. type: object
  5226. models.Ermcp3AreaStockReportEx:
  5227. properties:
  5228. begindate:
  5229. description: 开始交易日
  5230. type: string
  5231. brandname:
  5232. description: 品牌名称
  5233. type: string
  5234. curstock:
  5235. description: 期末库存量
  5236. type: number
  5237. cycletime:
  5238. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5239. type: string
  5240. cycletype:
  5241. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5242. type: integer
  5243. deliverygoodscode:
  5244. description: 现货品种代码
  5245. type: string
  5246. deliverygoodsid:
  5247. description: 现货品种id
  5248. type: integer
  5249. deliverygoodsname:
  5250. description: 现货品种名称
  5251. type: string
  5252. diffqty:
  5253. description: 库存变化量 = 期末 - 期初
  5254. type: number
  5255. enddate:
  5256. description: 结束交易日
  5257. type: string
  5258. enumdicname:
  5259. description: 单位名称
  5260. type: string
  5261. goodsunitid:
  5262. description: 现货单位id
  5263. type: integer
  5264. oristock:
  5265. description: 期初库存量
  5266. type: number
  5267. reckondate:
  5268. description: 日照时期(yyyyMMdd)
  5269. type: string
  5270. spotgoodsbrandid:
  5271. description: 现货品牌ID
  5272. type: integer
  5273. todaybuyinqty:
  5274. description: 今采购入库量
  5275. type: number
  5276. todayproduceinqty:
  5277. description: 今内部入库量
  5278. type: number
  5279. todayproduceoutqty:
  5280. description: 今内部出库量
  5281. type: number
  5282. todayselloutqty:
  5283. description: 今销售出库量
  5284. type: number
  5285. unbuyinqty:
  5286. description: 采购未入库量(数据库未找到相关字段?)
  5287. type: number
  5288. unitid:
  5289. description: 品类单位id
  5290. type: integer
  5291. unselloutqty:
  5292. description: 销售未出库量(数据库未找到相关字段?)
  5293. type: number
  5294. updatetime:
  5295. description: 更新时间
  5296. type: string
  5297. userid:
  5298. description: 机构ID
  5299. type: integer
  5300. username:
  5301. description: 机构名称
  5302. type: string
  5303. warehousecode:
  5304. description: 仓库代码
  5305. type: string
  5306. warehouseinfoid:
  5307. description: 仓库ID
  5308. type: string
  5309. warehousename:
  5310. description: 仓库名称
  5311. type: string
  5312. warehousetype:
  5313. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5314. type: integer
  5315. wrstandardcode:
  5316. description: 品类代码
  5317. type: string
  5318. wrstandardid:
  5319. description: 品类ID
  5320. type: integer
  5321. wrstandardname:
  5322. description: 品类名称
  5323. type: string
  5324. type: object
  5325. models.Ermcp3ArealSumPL:
  5326. properties:
  5327. accountname:
  5328. description: 机构名称
  5329. type: string
  5330. areauserid:
  5331. description: 所属机构\交易用户ID
  5332. type: integer
  5333. begindate:
  5334. description: 开始交易日
  5335. type: string
  5336. currencyid:
  5337. description: 结算币种ID
  5338. type: integer
  5339. currencyname:
  5340. description: 币种名称
  5341. type: string
  5342. cycletime:
  5343. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5344. type: string
  5345. cycletype:
  5346. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5347. type: integer
  5348. enddate:
  5349. description: 结束交易日
  5350. type: string
  5351. enumdicname:
  5352. description: 单位名称(套保品种)
  5353. type: string
  5354. futureactualpl:
  5355. description: 期货损益
  5356. type: number
  5357. futurefloatpl:
  5358. description: 期货浮动损益
  5359. type: number
  5360. futurespotratio:
  5361. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  5362. type: number
  5363. goodsunitid:
  5364. description: 套保品种单位id
  5365. type: integer
  5366. hedgeexposurepl:
  5367. description: 套保敞口损益
  5368. type: number
  5369. middlegoodscode:
  5370. description: 套保品种代码
  5371. type: string
  5372. middlegoodsid:
  5373. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5374. type: integer
  5375. middlegoodsname:
  5376. description: 套保品种名称
  5377. type: string
  5378. reckondate:
  5379. description: 日照时期(yyyyMMdd)
  5380. type: string
  5381. spotactualpl:
  5382. description: 现货损益
  5383. type: number
  5384. spotfloatpl:
  5385. description: 现货浮动损益
  5386. type: number
  5387. sumactualpl:
  5388. description: 实际损益 = (ActualPL + FutureActualPL)
  5389. type: number
  5390. sumpl:
  5391. description: 总敞口损益 | 汇总损益
  5392. type: number
  5393. totalfutureqty:
  5394. description: 期货头寸总量
  5395. type: number
  5396. totalneedhedgeqty:
  5397. description: 应套保总量
  5398. type: number
  5399. totalspotqty:
  5400. description: 现货头寸总量
  5401. type: number
  5402. updatetime:
  5403. description: 更新时间
  5404. type: string
  5405. type: object
  5406. models.Ermcp3Brand:
  5407. properties:
  5408. areauserid:
  5409. description: 用户id
  5410. type: integer
  5411. brandid:
  5412. description: 品牌id
  5413. type: integer
  5414. brandname:
  5415. description: 品牌名称
  5416. type: string
  5417. deliverygoodsid:
  5418. description: 品种ID
  5419. type: integer
  5420. isvalid:
  5421. description: 是否有效
  5422. type: integer
  5423. type: object
  5424. models.Ermcp3Contract:
  5425. properties:
  5426. accountid:
  5427. description: 期货账户id
  5428. type: string
  5429. amount:
  5430. description: 金额 [1:一口价、3:暂定价]
  5431. type: number
  5432. attachment:
  5433. description: 附件
  5434. type: string
  5435. auditremark:
  5436. description: 审核意见
  5437. type: string
  5438. audittime:
  5439. description: 审核时间
  5440. type: string
  5441. biztype:
  5442. description: 业务类型 1-套保 2-套利
  5443. type: integer
  5444. brandname:
  5445. description: 品牌名称
  5446. type: string
  5447. buynickname:
  5448. description: 销售方昵称
  5449. type: string
  5450. buyuserid:
  5451. description: 采购方ID
  5452. type: integer
  5453. buyusername:
  5454. description: 采购方名称
  5455. type: string
  5456. contracctstatus:
  5457. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5458. type: integer
  5459. contractmargin:
  5460. description: 合同保证金
  5461. type: number
  5462. contractno:
  5463. description: 现货合同编号
  5464. type: string
  5465. contracttype:
  5466. description: 现货合同类型 - 1:采购 -1:销售
  5467. type: integer
  5468. convertfactor:
  5469. description: 标仓系数(品类)
  5470. type: number
  5471. createtime:
  5472. description: 创建时间
  5473. type: string
  5474. currencyid:
  5475. description: 币种id
  5476. type: integer
  5477. currencyname:
  5478. description: 币种名称
  5479. type: string
  5480. deliveryenddate:
  5481. description: 交收期(结束)
  5482. type: string
  5483. deliverygoodscode:
  5484. description: 现货品种代码
  5485. type: string
  5486. deliverygoodsid:
  5487. description: 现货品种ID
  5488. type: integer
  5489. deliverygoodsname:
  5490. description: 现货品种名称
  5491. type: string
  5492. deliverystartdate:
  5493. description: 交收期(开始)
  5494. type: string
  5495. enddate:
  5496. description: 点价结束日期 [2:点价 3:暂定价]
  5497. type: string
  5498. enumdicname:
  5499. description: 单位名称
  5500. type: string
  5501. goodscode:
  5502. description: 点价合约代码
  5503. type: string
  5504. goodsid:
  5505. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5506. type: integer
  5507. goodsname:
  5508. description: 点价商品名称
  5509. type: string
  5510. margin:
  5511. description: 当前保证金
  5512. type: number
  5513. meruserid:
  5514. description: 跟单员id
  5515. type: integer
  5516. meruserlogincode:
  5517. description: 跟单员登录代码
  5518. type: string
  5519. merusername:
  5520. description: 跟单员名称
  5521. type: string
  5522. pointdesc:
  5523. description: 点价备注
  5524. type: string
  5525. price:
  5526. description: 价格\暂定价 [1:一口价、3:暂定价]
  5527. type: number
  5528. pricemove:
  5529. description: 升贴水 [2:点价 3:暂定价]
  5530. type: number
  5531. pricetype:
  5532. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5533. type: integer
  5534. producttype:
  5535. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5536. type: integer
  5537. qty:
  5538. description: 数量
  5539. type: number
  5540. remark:
  5541. description: 备注
  5542. type: string
  5543. saleuserid:
  5544. description: 业务员id
  5545. type: integer
  5546. saleuserlogincode:
  5547. description: 业务员登录代码
  5548. type: string
  5549. saleusername:
  5550. description: 业务员名称
  5551. type: string
  5552. sellnickname:
  5553. description: 采购方昵称
  5554. type: string
  5555. selluserid:
  5556. description: 销售方ID
  5557. type: integer
  5558. sellusername:
  5559. description: 销售方名称
  5560. type: string
  5561. spotcontractid:
  5562. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5563. type: string
  5564. spotgoodsbrandid:
  5565. description: 现货品牌ID(DGFactoryItem表的ID)
  5566. type: integer
  5567. spotgoodsdesc:
  5568. description: 商品型号
  5569. type: string
  5570. startdate:
  5571. description: 点价开始日期 [2:点价 3:暂定价]
  5572. type: string
  5573. subjectid:
  5574. description: 交易主体ID
  5575. type: integer
  5576. subjectname:
  5577. description: 交易主体名称
  5578. type: string
  5579. tradeuserid:
  5580. description: 交易员id
  5581. type: integer
  5582. tradeuserlogincode:
  5583. description: 交易员登录代码
  5584. type: string
  5585. tradeusername:
  5586. description: 交易员名称
  5587. type: string
  5588. unitid:
  5589. description: 单位id(取品类上的单位id)
  5590. type: integer
  5591. updatetime:
  5592. description: 更新时间
  5593. type: string
  5594. userid:
  5595. description: 所属机构ID
  5596. type: integer
  5597. vatrate:
  5598. description: 增值税率
  5599. type: number
  5600. wrstandardcode:
  5601. description: 品类代码
  5602. type: string
  5603. wrstandardid:
  5604. description: 品类ID
  5605. type: integer
  5606. wrstandardname:
  5607. description: 品类名称
  5608. type: string
  5609. type: object
  5610. models.Ermcp3ContractMiddleGoodsCfg:
  5611. properties:
  5612. agreeunit:
  5613. description: 合约乘数
  5614. type: number
  5615. convertratio:
  5616. description: 期货品种系数
  5617. type: number
  5618. covertqty:
  5619. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  5620. type: integer
  5621. middlegoodsid:
  5622. description: 套保品种ID
  5623. type: integer
  5624. middlegoodspricedqty3:
  5625. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5626. example: "0"
  5627. type: string
  5628. pendingpricedqty:
  5629. description: 待点价量
  5630. example: "0"
  5631. type: string
  5632. relatedmiddlegoodsqty:
  5633. description: 已关联量(套保品种-期货)
  5634. example: "0"
  5635. type: string
  5636. spotcontractid:
  5637. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5638. type: string
  5639. type: object
  5640. models.Ermcp3ExposureContractDetail:
  5641. properties:
  5642. biztype:
  5643. description: 业务类型 1-套保 2-套利
  5644. type: integer
  5645. brandname:
  5646. description: 品牌名称
  5647. type: string
  5648. buyuserid:
  5649. description: 采购方id
  5650. type: integer
  5651. buyusername:
  5652. description: 采购方名称
  5653. type: string
  5654. contractno:
  5655. description: 合同编号
  5656. type: string
  5657. contracttype:
  5658. description: 现货合同类型 - 1:采购 -1:销售
  5659. type: integer
  5660. convertfactor:
  5661. description: 标仓系数
  5662. type: number
  5663. convertratio:
  5664. description: 折算系数(套保品种)
  5665. type: number
  5666. curqty:
  5667. description: 今定价量
  5668. type: number
  5669. deliverygoodscode:
  5670. description: 现货品种代码
  5671. type: string
  5672. deliverygoodsid:
  5673. description: 现货品种id
  5674. type: integer
  5675. deliverygoodsname:
  5676. description: 现货品种名称
  5677. type: string
  5678. diffhedgeqty:
  5679. description: 套保变动量
  5680. type: number
  5681. diffneedhedgeqty:
  5682. description: 应套保变动量
  5683. type: number
  5684. diffqty:
  5685. description: 套保品种今变动量
  5686. type: number
  5687. enumdicname:
  5688. description: 单位名称
  5689. type: string
  5690. mgunitname:
  5691. description: 套保品种单位名称
  5692. type: string
  5693. middlegoodscode:
  5694. description: 套保品种代码
  5695. type: string
  5696. middlegoodsid:
  5697. description: 套保品种id
  5698. type: integer
  5699. middlegoodsname:
  5700. description: 套保品种名称
  5701. type: string
  5702. needarbitrageratio:
  5703. description: 应套利比例
  5704. type: number
  5705. needhedgeratio:
  5706. description: 应套保比例
  5707. type: number
  5708. pricedqty:
  5709. description: 已定价量
  5710. type: number
  5711. qty:
  5712. description: 合同量
  5713. type: number
  5714. reckondate:
  5715. description: 交易日(reckondate)
  5716. type: string
  5717. selluserid:
  5718. description: 销售方id
  5719. type: integer
  5720. sellusername:
  5721. description: 销售方名称
  5722. type: string
  5723. spotcontractid:
  5724. description: 合同id
  5725. type: string
  5726. todaypricedqty:
  5727. description: 今定价量
  5728. type: number
  5729. tradedate:
  5730. description: 交易日
  5731. type: string
  5732. unitid:
  5733. description: 品类单位id
  5734. type: integer
  5735. userid:
  5736. description: 机构id
  5737. type: integer
  5738. username:
  5739. description: 交易用户
  5740. type: string
  5741. wrstandardcode:
  5742. description: 现货商品代码
  5743. type: string
  5744. wrstandardid:
  5745. description: 现货商品id
  5746. type: integer
  5747. wrstandardname:
  5748. description: 现货商品名称
  5749. type: string
  5750. type: object
  5751. models.Ermcp3ExposureDetail:
  5752. properties:
  5753. areauserid:
  5754. description: 机构ID
  5755. type: integer
  5756. changeQty:
  5757. description: 套保变动量
  5758. type: number
  5759. contracttype:
  5760. description: 现货合同类型 - 1:采购 -1:销售
  5761. type: integer
  5762. convertfactor:
  5763. description: 标仓系数
  5764. type: number
  5765. convertratio:
  5766. description: 折算系数
  5767. type: number
  5768. createtime:
  5769. description: 时间
  5770. type: string
  5771. enumdicname:
  5772. description: 现货商品单位名称
  5773. type: string
  5774. logtype:
  5775. description: 类型 - 1:套保计划 2:现货合同
  5776. type: integer
  5777. mgunitid:
  5778. description: 套保品种单位id
  5779. type: integer
  5780. mgunitidname:
  5781. description: 套保品种单位名称
  5782. type: string
  5783. middlegoodsId:
  5784. description: 套保商品id
  5785. type: integer
  5786. middlegoodscode:
  5787. description: 套保商品代码
  5788. type: string
  5789. middlegoodsname:
  5790. description: 套保商品名称
  5791. type: string
  5792. qty:
  5793. description: 数量
  5794. type: number
  5795. relateNo:
  5796. description: 现货合同/套保计划编号
  5797. type: string
  5798. unitid:
  5799. description: 现货商品单位id
  5800. type: integer
  5801. wrstandardcode:
  5802. description: 现货商品代码
  5803. type: string
  5804. wrstandardid:
  5805. description: 现货商品ID(SEQ_WRSTANDARD)
  5806. type: integer
  5807. wrstandardname:
  5808. description: 现货商品名称
  5809. type: string
  5810. type: object
  5811. models.Ermcp3ExposureFutuDetail:
  5812. properties:
  5813. accountid:
  5814. description: 交易账户id
  5815. type: integer
  5816. accountname:
  5817. description: 交易账户
  5818. type: string
  5819. begindate:
  5820. description: 开始交易日
  5821. type: string
  5822. buyorsell:
  5823. description: 方向 0-买 1-卖
  5824. type: integer
  5825. diffmgqty:
  5826. description: 套保品种今变化量
  5827. type: number
  5828. diffneedqty:
  5829. description: 应套保总量变化量
  5830. type: number
  5831. difftradeqty:
  5832. description: 交易品种今变化量
  5833. type: number
  5834. enddate:
  5835. description: 结束交易日
  5836. type: string
  5837. enumdicname:
  5838. description: 单位名称
  5839. type: string
  5840. goodscode:
  5841. description: 商品代码
  5842. type: string
  5843. goodsid:
  5844. description: 商品id
  5845. type: integer
  5846. goodsname:
  5847. description: 商品名称
  5848. type: string
  5849. holdqty:
  5850. description: 期末持仓量
  5851. type: number
  5852. middlegoodscode:
  5853. description: 套保商品代码
  5854. type: string
  5855. middlegoodsid:
  5856. description: 套保商品id
  5857. type: integer
  5858. middlegoodsname:
  5859. description: 套保商品名称
  5860. type: string
  5861. oriholdqty:
  5862. description: 期初持仓量
  5863. type: number
  5864. reckondate:
  5865. description: 交易日(RECKONDATE)
  5866. type: string
  5867. todaycloseqty:
  5868. description: 今平仓量
  5869. type: number
  5870. todayopenqty:
  5871. description: 今开仓量
  5872. type: number
  5873. tradedate:
  5874. description: 交易日(RECKONDATE)
  5875. type: string
  5876. username:
  5877. description: 用户名称(交易用户)
  5878. type: string
  5879. type: object
  5880. models.Ermcp3ExposureHedgeplanDetail:
  5881. properties:
  5882. biztype:
  5883. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5884. type: integer
  5885. changqty:
  5886. description: 应套保总量变化量
  5887. type: number
  5888. contracttype:
  5889. description: 计划类型 - 1:采购 -1:销售
  5890. type: integer
  5891. convertratio:
  5892. description: 折算系数(套保品种)
  5893. type: number
  5894. deliverygoodscode:
  5895. description: 现货商品代码
  5896. type: string
  5897. deliverygoodsid:
  5898. description: 现货商品id
  5899. type: integer
  5900. deliverygoodsname:
  5901. description: 现货商吕名称
  5902. type: string
  5903. dgunitid:
  5904. description: 现货商品单位id
  5905. type: integer
  5906. dgunitidname:
  5907. description: 单位名称(现货商品)
  5908. type: string
  5909. diffqty:
  5910. description: 套保品种今变动量
  5911. type: number
  5912. enumdicname:
  5913. description: 单位名称(品类)
  5914. type: string
  5915. hedgeplanid:
  5916. description: 套保计划id
  5917. type: string
  5918. hedgeplanno:
  5919. description: 套保计划名称
  5920. type: string
  5921. hedgeplanstatus:
  5922. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5923. type: integer
  5924. mgunitidname:
  5925. description: 单位名称(套保商品)
  5926. type: string
  5927. middlegoodscode:
  5928. description: 套保品种代码
  5929. type: string
  5930. middlegoodsid:
  5931. description: 套保品种id
  5932. type: integer
  5933. middlegoodsname:
  5934. description: 套保品种名称
  5935. type: string
  5936. needarbitrageratio:
  5937. description: 应套利比例
  5938. type: number
  5939. needhedgeratio:
  5940. description: 应套保比例
  5941. type: number
  5942. pricedqty:
  5943. description: 已定价量
  5944. type: number
  5945. qty:
  5946. description: 合同量
  5947. type: number
  5948. reckondate:
  5949. description: 交易日(reckondate)
  5950. type: string
  5951. tradedate:
  5952. description: 交易日(登记日)
  5953. type: string
  5954. unitid:
  5955. description: 品类单位id
  5956. type: integer
  5957. userid:
  5958. description: 机构id
  5959. type: integer
  5960. wrstandardcode:
  5961. description: 品类代码
  5962. type: string
  5963. wrstandardid:
  5964. description: 品类id
  5965. type: integer
  5966. wrstandardname:
  5967. description: 品类名称
  5968. type: string
  5969. type: object
  5970. models.Ermcp3ExposureParamChLog:
  5971. properties:
  5972. accountid:
  5973. description: 期货账户ID (作废, 默认为0)
  5974. type: integer
  5975. aftervalue:
  5976. description: 应套保\套利量变更后(调整后应套保总量)
  5977. type: number
  5978. areauserid:
  5979. description: 所属机构\交易用户ID
  5980. type: integer
  5981. beforevalue:
  5982. description: 应套保\套利量变更前(调整前应套保总量)
  5983. type: number
  5984. begindate:
  5985. description: 开始交易日
  5986. type: string
  5987. changelogtype:
  5988. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5989. type: integer
  5990. curvalue:
  5991. description: 当前套保\套利量(套保总量|套利总量)
  5992. type: number
  5993. diffvalue:
  5994. description: 应套保总量变化量
  5995. type: number
  5996. enddate:
  5997. description: 结束交易日
  5998. type: string
  5999. logdatetime:
  6000. description: 流水日期
  6001. type: string
  6002. logid:
  6003. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  6004. type: string
  6005. middlegoodscode:
  6006. description: 套保品种代码
  6007. type: string
  6008. middlegoodsid:
  6009. description: 套保品种
  6010. type: integer
  6011. middlegoodsname:
  6012. description: 套保品种名称
  6013. type: string
  6014. paramaftervalue:
  6015. description: 参数变更后(调整后参数值)
  6016. type: number
  6017. parambeforevalue:
  6018. description: 参数变更前(调整前参数值)
  6019. type: number
  6020. reckondate:
  6021. description: 交易日(reckondate)
  6022. type: string
  6023. tradedate:
  6024. description: 交易日(yyyyMMdd)
  6025. type: string
  6026. type: object
  6027. models.Ermcp3ExpourseReport:
  6028. properties:
  6029. accountid:
  6030. description: 期货账户ID (作废, 默认为0)
  6031. type: integer
  6032. accountname:
  6033. description: 机构名称
  6034. type: string
  6035. arbitrageqty:
  6036. description: 套利量
  6037. type: number
  6038. areauserid:
  6039. description: 所属机构\交易用户ID
  6040. type: integer
  6041. begindate:
  6042. description: 开始交易日
  6043. type: string
  6044. buyfutureqty:
  6045. description: 买入期货数量
  6046. type: number
  6047. buyplanqty:
  6048. description: 采购计划数量
  6049. type: number
  6050. buypricedqty:
  6051. description: 采购合同已定价数量
  6052. type: number
  6053. cycletime:
  6054. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6055. type: string
  6056. cycletype:
  6057. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6058. type: integer
  6059. diffexposure:
  6060. description: 变动量(套保敞口)
  6061. type: number
  6062. difffutuqty:
  6063. description: 变动量(期货)
  6064. type: number
  6065. diffhedgeqty:
  6066. description: 变动量(现货应套保总量)
  6067. type: number
  6068. diffmgqtya:
  6069. description: 套保变动量
  6070. type: number
  6071. diffmgqtyb:
  6072. description: 套利变动量
  6073. type: number
  6074. diffneedqty:
  6075. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  6076. type: number
  6077. diffqty:
  6078. description: 变动量(总敞口)
  6079. type: number
  6080. diffspotqty:
  6081. description: 变动量(现货) | 除税变动量
  6082. type: number
  6083. enddate:
  6084. description: 结束交易日
  6085. type: string
  6086. enumdicname:
  6087. description: 单位名称
  6088. type: string
  6089. hedgeqty:
  6090. description: 套保量
  6091. type: number
  6092. mgneedhedgeratio:
  6093. description: 套保比例(套保品的)
  6094. type: number
  6095. middlegoodsid:
  6096. description: 套保品种ID
  6097. type: integer
  6098. middlegoodsname:
  6099. description: 套保商品名称
  6100. type: string
  6101. middlgoodscode:
  6102. description: 套保商品代码
  6103. type: string
  6104. needarbitrageqty:
  6105. description: 应套利量
  6106. type: number
  6107. needarbitrageratio:
  6108. description: 套利比例(套保品的)
  6109. type: number
  6110. needhedgeexposoure:
  6111. description: 应套保敞口(套保敞口)
  6112. type: number
  6113. needhedgeqty:
  6114. description: 应套保量
  6115. type: number
  6116. needhedgeratio:
  6117. description: 应套保敞口比例
  6118. type: number
  6119. needqty:
  6120. description: 应套总量 = 应套保量 + 应套利量
  6121. type: number
  6122. oriarbitrageqty:
  6123. description: 期初套利量
  6124. type: number
  6125. oribuyfutureqty:
  6126. description: 期初买入期货数量
  6127. type: number
  6128. oribuyplanqty:
  6129. description: 期初采购计划数量
  6130. type: number
  6131. oribuypricedqty:
  6132. description: 期初采购合同已定价数量
  6133. type: number
  6134. orihedgeqty:
  6135. description: 期初套保量
  6136. type: number
  6137. orineedarbitrageqty:
  6138. description: 期初应套利量
  6139. type: number
  6140. orineedhedgeexposoure:
  6141. description: 期初应套保敞口
  6142. type: number
  6143. orineedhedgeqty:
  6144. description: 期初应套保量
  6145. type: number
  6146. orisellfutureqty:
  6147. description: 期初卖出期货数量
  6148. type: number
  6149. orisellplanqty:
  6150. description: 期初销售计划数量
  6151. type: number
  6152. orisellpricedqty:
  6153. description: 期初销售合同已定价数量
  6154. type: number
  6155. oritotalexposure:
  6156. description: 期初实时总敞口
  6157. type: number
  6158. oritotalfutureqty:
  6159. description: 期初期货头寸总量
  6160. type: number
  6161. oritotalneedhedgeqty:
  6162. description: 期初应套保总量
  6163. type: number
  6164. oritotalspotqty:
  6165. description: 期初现货头寸总量
  6166. type: number
  6167. reckondate:
  6168. description: 日照时期(yyyyMMdd)
  6169. type: string
  6170. sellfutureqty:
  6171. description: 卖出期货数量
  6172. type: number
  6173. sellplanqty:
  6174. description: 销售计划数量
  6175. type: number
  6176. sellpricedqty:
  6177. description: 销售合同已定价数量
  6178. type: number
  6179. totalexposure:
  6180. description: 实时总敞口(总敞口)
  6181. type: number
  6182. totalfutureqty:
  6183. description: 期货头寸总量(期货总量)
  6184. type: number
  6185. totalhedgeratio:
  6186. description: 敞口比例
  6187. type: number
  6188. totalneedhedgeqty:
  6189. description: 应套保总量(现货应套保总量)
  6190. type: number
  6191. totalspotqty:
  6192. description: 现货头寸总量 | 除税总量
  6193. type: number
  6194. unitid:
  6195. description: 单位id
  6196. type: integer
  6197. updatetime:
  6198. description: 更新时间
  6199. type: string
  6200. type: object
  6201. models.Ermcp3FinanceReport:
  6202. properties:
  6203. accountname:
  6204. description: 机构名称
  6205. type: string
  6206. areauserid:
  6207. description: 所属机构\交易用户ID
  6208. type: integer
  6209. begindate:
  6210. description: 开始交易日
  6211. type: string
  6212. biztype:
  6213. description: 业务类型 - 1:套保 2:套利
  6214. type: integer
  6215. brandname:
  6216. description: 品牌名称
  6217. type: string
  6218. buypreinvoicedamount:
  6219. description: 采购预收票额(预收票额)
  6220. type: number
  6221. buyprepaidamount:
  6222. description: 采购预付款额(预付货款额)
  6223. type: number
  6224. buytodayinvoiceamount:
  6225. description: 采购今收票额(今收票额)
  6226. type: number
  6227. buytodayrefundamount:
  6228. description: 采购今收退款额(今收退款额)
  6229. type: number
  6230. buytodaysettleamount:
  6231. description: 采购今付款额(今付货款额)
  6232. type: number
  6233. buyuninvoicedamount:
  6234. description: 采购应收票额(应收票额)
  6235. type: number
  6236. buyunpaidamount:
  6237. description: 采购应付款额(应付货款额)
  6238. type: number
  6239. currencyid:
  6240. description: 结算币种ID
  6241. type: integer
  6242. currencyname:
  6243. description: 币种名称
  6244. type: string
  6245. cycletime:
  6246. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6247. type: string
  6248. cycletype:
  6249. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6250. type: integer
  6251. deliverygoodscode:
  6252. description: 现货品种代码
  6253. type: string
  6254. deliverygoodsid:
  6255. description: 现货品种ID
  6256. type: integer
  6257. deliverygoodsname:
  6258. description: 现货品种名称
  6259. type: string
  6260. enddate:
  6261. description: 结束交易日
  6262. type: string
  6263. reckondate:
  6264. description: 日照时期(yyyyMMdd)
  6265. type: string
  6266. sellpreinvoicedamount:
  6267. description: 销售预开票额(预开票额)
  6268. type: number
  6269. sellprepaidamount:
  6270. description: 销售预收款额(预收货款额)
  6271. type: number
  6272. selltodayinvoiceamount:
  6273. description: 销售今开票额(今开票额)
  6274. type: number
  6275. selltodayrefundamount:
  6276. description: 销售今付退款额(今付退款额)
  6277. type: number
  6278. selltodaysettleamount:
  6279. description: 销售今收款额(今收货款额)
  6280. type: number
  6281. selluninvoicedamount:
  6282. description: 销售应开票额(应开票额)
  6283. type: number
  6284. sellunpaidamount:
  6285. description: 销售应收款额(应收货款额)
  6286. type: number
  6287. spotgoodsbrandid:
  6288. description: 现货品牌ID
  6289. type: integer
  6290. todaypaysum:
  6291. description: 今付款合计
  6292. type: number
  6293. todayreceivesum:
  6294. description: 今收款合计
  6295. type: number
  6296. updatetime:
  6297. description: 更新时间
  6298. type: string
  6299. wrfactortypeid:
  6300. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  6301. type: integer
  6302. wrstandardcode:
  6303. description: 品类代码
  6304. type: string
  6305. wrstandardid:
  6306. description: 现货商品ID
  6307. type: integer
  6308. wrstandardname:
  6309. description: 品类名称
  6310. type: string
  6311. type: object
  6312. models.Ermcp3GoodsGroup:
  6313. properties:
  6314. agreeunit:
  6315. description: 合约单位
  6316. type: number
  6317. areauserid:
  6318. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  6319. type: integer
  6320. canshort:
  6321. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6322. type: integer
  6323. closepricemode:
  6324. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6325. type: integer
  6326. createtime:
  6327. description: 创建时间
  6328. type: string
  6329. creatorid:
  6330. description: 创建人
  6331. type: integer
  6332. currencyid:
  6333. description: 报价货币ID
  6334. type: integer
  6335. decimalplace:
  6336. description: 报价小数位
  6337. type: integer
  6338. enumdicname:
  6339. description: 单位名称
  6340. type: string
  6341. exchangefullname:
  6342. description: 交易所全称
  6343. type: string
  6344. excludecfg:
  6345. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  6346. type: integer
  6347. exexchangecode:
  6348. description: 交易所代码
  6349. type: string
  6350. exexchangeid:
  6351. description: 外部交易所ID[通道交易]
  6352. type: integer
  6353. exexchangename:
  6354. description: 交易所名称
  6355. type: string
  6356. goodsgroupid:
  6357. description: 商品组ID(自增ID)
  6358. type: integer
  6359. goodsgroupname:
  6360. description: 商品组名称
  6361. type: string
  6362. goodsgroupstatus:
  6363. description: 商品组状态 - 1:正常 2:注销
  6364. type: integer
  6365. goodunitid:
  6366. description: 报价单位ID
  6367. type: integer
  6368. groupcategroyid:
  6369. description: 品种分类ID
  6370. type: integer
  6371. innerdealmode:
  6372. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6373. type: integer
  6374. marketid:
  6375. description: 所属市场ID
  6376. type: integer
  6377. modifierid:
  6378. description: 修改人
  6379. type: integer
  6380. modifytime:
  6381. description: 修改时间
  6382. type: string
  6383. outerdealmode:
  6384. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6385. type: integer
  6386. outergroupcode:
  6387. description: 外部商品组代码[通道交易]
  6388. type: string
  6389. quoteminunit:
  6390. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6391. type: integer
  6392. quotesourcegroupid:
  6393. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6394. type: integer
  6395. syncgoodsqty:
  6396. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6397. type: integer
  6398. required:
  6399. - areauserid
  6400. type: object
  6401. models.Ermcp3HPMiddleGoods:
  6402. properties:
  6403. biztype:
  6404. description: 业务类型 1:套保 2:套利
  6405. type: integer
  6406. contracttype:
  6407. description: 合同类型 1:采购 -1:销售
  6408. type: integer
  6409. convertratio:
  6410. description: 折算系数
  6411. type: number
  6412. customername:
  6413. description: 对手手名称
  6414. type: string
  6415. customeruserid:
  6416. description: 对手id
  6417. type: integer
  6418. enumdicname:
  6419. description: 现货单位名称
  6420. type: string
  6421. hedgeplanid:
  6422. description: 计划id
  6423. type: string
  6424. hedgeplanno:
  6425. description: 计划编号
  6426. type: string
  6427. middlegoodsid:
  6428. description: 套保品种ID
  6429. type: integer
  6430. middlegoodsplanqty3:
  6431. description: 应套保计划量
  6432. type: number
  6433. needhedgeratio:
  6434. description: 套保比例
  6435. type: number
  6436. pricedqty:
  6437. description: 已定价量
  6438. type: number
  6439. relatedmiddlegoodsqty:
  6440. description: 已关联量(套保品种)(期货)
  6441. type: number
  6442. unitid:
  6443. description: 现货单位id
  6444. type: integer
  6445. userid:
  6446. description: 用户id
  6447. type: integer
  6448. vatrate:
  6449. description: 增值税率
  6450. type: number
  6451. wrstandardcode:
  6452. description: 现货商品代码
  6453. type: string
  6454. wrstandardid:
  6455. description: 现货商品id
  6456. type: integer
  6457. wrstandardname:
  6458. description: 现货商品名称
  6459. type: string
  6460. type: object
  6461. models.Ermcp3HedgePlan:
  6462. properties:
  6463. accountid:
  6464. description: 资金账号
  6465. type: integer
  6466. areauserid:
  6467. description: 用户ID
  6468. type: integer
  6469. auditid:
  6470. description: 审核id
  6471. type: integer
  6472. auditname:
  6473. description: 审核人名称
  6474. type: string
  6475. auditremark:
  6476. description: 审核备注
  6477. type: string
  6478. auditsrc:
  6479. description: 审核来源 1-管理端 2-终端
  6480. type: integer
  6481. audittime:
  6482. description: 审核时间
  6483. type: string
  6484. contracttype:
  6485. description: 计划类型 - 1:采购 -1:销售
  6486. type: integer
  6487. convertfactor:
  6488. description: 标仓系数
  6489. type: number
  6490. createtime:
  6491. description: 创建时间
  6492. type: string
  6493. currencyid:
  6494. description: 币种id
  6495. type: integer
  6496. currencyname:
  6497. description: 币种名称
  6498. type: string
  6499. deliverygoodscode:
  6500. description: 现货品种代码
  6501. type: string
  6502. deliverygoodsid:
  6503. description: 现货品种ID
  6504. type: integer
  6505. deliverygoodsname:
  6506. description: 现货品种名称
  6507. type: string
  6508. enumdicname:
  6509. description: 单位名称(现货商品)
  6510. type: string
  6511. hedgeplanid:
  6512. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  6513. type: string
  6514. hedgeplanno:
  6515. description: 套保计划编号(名称)
  6516. type: string
  6517. hedgeplanstatus:
  6518. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6519. type: integer
  6520. planqty:
  6521. description: 计划数量
  6522. type: number
  6523. plantime:
  6524. description: 计划时间
  6525. type: string
  6526. producttype:
  6527. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6528. type: integer
  6529. remark:
  6530. description: 备注
  6531. type: string
  6532. spotgoodsdesc:
  6533. description: 商品型号
  6534. type: string
  6535. taaccountname:
  6536. description: 资金账号名称
  6537. type: string
  6538. tradeuserid:
  6539. description: 交易用户id
  6540. type: integer
  6541. tradeusername:
  6542. description: 交易用户名称
  6543. type: string
  6544. unitid:
  6545. description: 单位id(现货商品)
  6546. type: integer
  6547. updatetime:
  6548. description: 更新时间
  6549. type: string
  6550. vatrate:
  6551. description: 增值税率
  6552. type: number
  6553. wrstandardcode:
  6554. description: 品类代码
  6555. type: string
  6556. wrstandardid:
  6557. description: 品类id
  6558. type: integer
  6559. wrstandardname:
  6560. description: 品类名称
  6561. type: string
  6562. wrunitid:
  6563. description: 品类单位id
  6564. type: integer
  6565. wrunitidame:
  6566. description: 品类单位名称
  6567. type: string
  6568. type: object
  6569. models.Ermcp3InnerTradeLink:
  6570. properties:
  6571. accountid:
  6572. description: 期货账号代码 | 资金账号ID
  6573. type: integer
  6574. buyorsell:
  6575. description: 方向 - 0:买 1:卖
  6576. type: integer
  6577. channelbuildtype:
  6578. description: 委托单据类型 0:无 1:建仓 2:平仓
  6579. type: integer
  6580. currencyid:
  6581. description: 币种id
  6582. type: integer
  6583. currencyname:
  6584. description: 结算币种 名称
  6585. type: string
  6586. goodscode:
  6587. description: 商品代码
  6588. type: string
  6589. goodsid:
  6590. description: 商品ID
  6591. type: integer
  6592. goodsname:
  6593. description: 商品名称
  6594. type: string
  6595. outtradeid:
  6596. description: 外部成交单号
  6597. type: string
  6598. taname:
  6599. description: 期货账户名称
  6600. type: string
  6601. tradeid:
  6602. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6603. type: string
  6604. tradeprice:
  6605. description: 成交价格
  6606. type: number
  6607. tradeqty:
  6608. description: 期货成交数量
  6609. type: integer
  6610. tradetime:
  6611. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  6612. type: string
  6613. username:
  6614. description: 用户名称
  6615. type: string
  6616. type: object
  6617. models.Ermcp3OutTradeLink:
  6618. properties:
  6619. buyorsell:
  6620. description: 买卖方向 - 0:买 1:卖
  6621. type: integer
  6622. channelbuildtype:
  6623. description: 开平标志- 0:无 1:建仓 2:平仓
  6624. type: integer
  6625. currencyname:
  6626. description: 币种名称
  6627. type: string
  6628. exexchangecode:
  6629. description: 交易所代码
  6630. type: string
  6631. exexchangename:
  6632. description: 交易所名称
  6633. type: string
  6634. goodscode:
  6635. description: 合约代码
  6636. type: string
  6637. goodsid:
  6638. description: 合约id
  6639. type: integer
  6640. goodsname:
  6641. description: 合约名称
  6642. type: string
  6643. hasinnerorder:
  6644. description: 是否有内部单关联 - 0:无 1:有
  6645. type: integer
  6646. hedgeaccountcode:
  6647. description: 外部账号 | 对冲账号
  6648. type: string
  6649. outtradeid:
  6650. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6651. type: string
  6652. tradeprice:
  6653. description: 成交价格
  6654. type: number
  6655. tradeqty:
  6656. description: 成交数量
  6657. type: integer
  6658. tradetime:
  6659. description: 成交时间
  6660. type: string
  6661. type: object
  6662. models.Ermcp3PaAreaAuditCfg:
  6663. properties:
  6664. areauserid:
  6665. description: 用户ID
  6666. type: integer
  6667. buyinauditflag:
  6668. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  6669. type: integer
  6670. costratioauditflag:
  6671. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  6672. type: integer
  6673. customerauditflag:
  6674. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  6675. type: integer
  6676. deliveryauditflag:
  6677. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  6678. type: integer
  6679. invoiceauditflag:
  6680. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  6681. type: integer
  6682. mgneedhedgeratioauditflag:
  6683. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  6684. type: integer
  6685. moneyauditflag:
  6686. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  6687. type: integer
  6688. operatorid:
  6689. description: 操作人
  6690. type: integer
  6691. operatorsrc:
  6692. description: 操作来源 - 1:管理端 2:终端
  6693. type: integer
  6694. pointpriceauditflag:
  6695. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  6696. type: integer
  6697. produceinauditflag:
  6698. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  6699. type: integer
  6700. produceoutauditflag:
  6701. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  6702. type: integer
  6703. selloutauditflag:
  6704. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  6705. type: integer
  6706. sgconvertratioauditflag:
  6707. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  6708. type: integer
  6709. sgvtaratioauditflag:
  6710. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  6711. type: integer
  6712. spotcontractauditflag:
  6713. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  6714. type: integer
  6715. updatetime:
  6716. description: 更新时间
  6717. type: string
  6718. type: object
  6719. models.Ermcp3PaAreaSubject:
  6720. properties:
  6721. areauserid:
  6722. description: 所属机构
  6723. type: integer
  6724. canmodify:
  6725. description: 是否可修改 - 0:否 1:是
  6726. type: integer
  6727. createtime:
  6728. description: 创建时间
  6729. type: string
  6730. creatorid:
  6731. description: 创建人ID
  6732. type: string
  6733. creatorsrc:
  6734. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6735. type: integer
  6736. modifierid:
  6737. description: 修改人
  6738. type: string
  6739. modifiersrc:
  6740. description: 修改人来源 - 1:管理端 2:终端
  6741. type: integer
  6742. modifytime:
  6743. description: 修改时间
  6744. type: string
  6745. parentsubjectid:
  6746. description: 上级主体ID
  6747. type: string
  6748. remark:
  6749. description: 备注
  6750. type: string
  6751. subjectid:
  6752. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  6753. type: integer
  6754. subjectname:
  6755. description: 主体名称
  6756. type: string
  6757. subjectstatus:
  6758. description: '主体状态 - 1:正常 2: 停用'
  6759. type: integer
  6760. subjecttype:
  6761. description: 主体类型 - 1:交易主体 2:业务部门
  6762. type: integer
  6763. type: object
  6764. models.Ermcp3PaTradeLink:
  6765. properties:
  6766. accountid:
  6767. description: 期货账户代码 | 账号ID
  6768. type: integer
  6769. agreeunit:
  6770. description: 合约乘数
  6771. type: number
  6772. buyorsell:
  6773. description: 方向 - 0:买 1:卖
  6774. type: integer
  6775. channelbuildtype:
  6776. description: 委托单据类型 0:无 1:建仓 2:平仓
  6777. type: integer
  6778. charge:
  6779. description: 手续费
  6780. type: number
  6781. closepl:
  6782. description: 平仓盈亏
  6783. type: number
  6784. closetype:
  6785. description: 平仓方式 - 0:无 1:平今 2:平昨
  6786. type: integer
  6787. convertratio:
  6788. description: 折算系数
  6789. type: number
  6790. enumdicname:
  6791. description: 单位名称
  6792. type: string
  6793. executeprice:
  6794. description: 执行价 [期权]
  6795. type: integer
  6796. goodscode:
  6797. description: 合约代码
  6798. type: string
  6799. goodsgroupid:
  6800. description: 对冲品种ID[期货合约商品组ID]
  6801. type: integer
  6802. goodsid:
  6803. description: 商品ID
  6804. type: integer
  6805. goodsname:
  6806. description: 合约名称
  6807. type: string
  6808. goodunitid:
  6809. description: 单位id
  6810. type: integer
  6811. hedgeflag:
  6812. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6813. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6814. type: integer
  6815. marketid:
  6816. description: 市场ID
  6817. type: integer
  6818. middlegoodsid:
  6819. description: 套保品种ID
  6820. type: integer
  6821. middlegoodsqty:
  6822. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6823. type: number
  6824. optioncode:
  6825. description: 期权代码 [期权]
  6826. type: string
  6827. ordertype:
  6828. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6829. type: integer
  6830. ordertypename:
  6831. description: 订单类型
  6832. type: string
  6833. parentaccountid:
  6834. description: 所属母账户
  6835. type: integer
  6836. premium:
  6837. description: 权利金 [期权]
  6838. type: number
  6839. relatedlot:
  6840. description: 已关联数量(已关联数量手) | db:关联手数
  6841. type: number
  6842. relatedouttradeid:
  6843. description: 关联外部成交单ID
  6844. type: string
  6845. relatedqty:
  6846. description: 关联数量
  6847. type: number
  6848. spotcontractid:
  6849. description: 现货合同ID [4:套期保值\10\11]
  6850. type: string
  6851. taname:
  6852. description: 期货账户名称
  6853. type: string
  6854. tradeamount:
  6855. description: 成交金额(账户)
  6856. type: number
  6857. tradedate:
  6858. description: 交易日(yyyyMMdd)
  6859. type: string
  6860. tradeid:
  6861. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6862. type: string
  6863. tradelot:
  6864. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6865. type: integer
  6866. tradeprice:
  6867. description: 成交价格
  6868. type: number
  6869. tradetime:
  6870. description: 时间 | db:成交时间
  6871. type: string
  6872. tradetype:
  6873. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6874. type: integer
  6875. userid:
  6876. description: 所属机构 - 所属母账户的UserID
  6877. type: string
  6878. username:
  6879. description: 用户名称
  6880. type: string
  6881. type: object
  6882. models.Ermcp3ParamChangeApp:
  6883. properties:
  6884. aftervalue:
  6885. description: 变更后
  6886. type: number
  6887. applicationid:
  6888. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6889. type: string
  6890. applyid:
  6891. description: 申请人
  6892. type: string
  6893. applyname:
  6894. description: 申请人名称(代码)
  6895. type: string
  6896. applyremark:
  6897. description: 申请备注
  6898. type: string
  6899. applysrc:
  6900. description: 申请来源 - 1:管理端 2:终端
  6901. type: integer
  6902. applystatus:
  6903. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6904. type: integer
  6905. applytime:
  6906. description: 申请时间
  6907. type: string
  6908. areauserid:
  6909. description: 所属机构用户ID
  6910. type: integer
  6911. auditid:
  6912. description: 审核人
  6913. type: string
  6914. auditname:
  6915. description: 审核人名称(代码)
  6916. type: string
  6917. auditremark:
  6918. description: 审核备注
  6919. type: string
  6920. auditsrc:
  6921. description: 审核来源 - 1:管理端 2:终端
  6922. type: integer
  6923. audittime:
  6924. description: 审核时间
  6925. type: string
  6926. audittradedate:
  6927. description: 审核交易日(yyyyMMdd)
  6928. type: string
  6929. beforevalue:
  6930. description: 变更前
  6931. type: number
  6932. deliverygoodscode:
  6933. description: 品种代码
  6934. type: string
  6935. deliverygoodsid:
  6936. description: 品种id
  6937. type: integer
  6938. deliverygoodsname:
  6939. description: 品种名称
  6940. type: string
  6941. middlegoodscode:
  6942. description: 套保品种代码
  6943. type: string
  6944. middlegoodsid:
  6945. description: 套保品种ID [ParamChangeType = 2,3,4]
  6946. type: integer
  6947. middlegoodsname:
  6948. description: 套保品种名称
  6949. type: string
  6950. operatetype:
  6951. description: 操作类型 - 1:新增 2:修改
  6952. type: integer
  6953. paramchangetype:
  6954. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6955. type: integer
  6956. wrstandardcode:
  6957. description: 现货商品代码
  6958. type: string
  6959. wrstandardid:
  6960. description: 现货商品ID [ParamChangeType = 1,2,3]
  6961. type: integer
  6962. wrstandardname:
  6963. description: 现货商品名称
  6964. type: string
  6965. type: object
  6966. models.Ermcp3RootUserAccount:
  6967. properties:
  6968. accountname:
  6969. description: 账户名称(机构名称)
  6970. type: string
  6971. accountstatus:
  6972. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6973. type: integer
  6974. applysrc:
  6975. description: 申请来源 - 1:管理端 2:终端
  6976. type: integer
  6977. auditremark:
  6978. description: 审核备注
  6979. type: string
  6980. auditsrc:
  6981. description: 审核来源 - 1:管理端 2:终端
  6982. type: integer
  6983. audittime:
  6984. description: 审核时间
  6985. type: string
  6986. audituserid:
  6987. description: 审核人
  6988. type: integer
  6989. broker:
  6990. description: 所属经纪人ID
  6991. type: integer
  6992. canceltime:
  6993. description: 销户时间
  6994. type: string
  6995. canceluserid:
  6996. description: 销户人
  6997. type: integer
  6998. canrecommend:
  6999. description: 是否可推荐 - 0:不可 1;可
  7000. type: integer
  7001. createtime:
  7002. description: 创建时间
  7003. type: string
  7004. creatorid:
  7005. description: 创建人
  7006. type: integer
  7007. hasauth:
  7008. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7009. type: integer
  7010. isanonymous:
  7011. description: 是否匿名下单 - 0:否 1:是
  7012. type: integer
  7013. maxinvestornum:
  7014. description: 最大用户数(经纪会员下投资者个数)
  7015. type: integer
  7016. memberuserid:
  7017. description: 所属会员ID
  7018. type: integer
  7019. modifierid:
  7020. description: 修改人
  7021. type: integer
  7022. modifyremark:
  7023. description: 变更备注
  7024. type: string
  7025. modifystatus:
  7026. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7027. type: integer
  7028. modifytime:
  7029. description: 修改时间
  7030. type: string
  7031. nickname:
  7032. description: 昵称
  7033. type: string
  7034. parenttopuser:
  7035. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  7036. type: string
  7037. parentuserid:
  7038. description: 所属机构ID
  7039. type: integer
  7040. reckonaccountid:
  7041. description: 默认结算资金账号ID(机构分润使用) 作废
  7042. type: integer
  7043. refercount:
  7044. description: 推荐总人数
  7045. type: integer
  7046. refereeuserid:
  7047. description: 推荐人ID
  7048. type: integer
  7049. refernum:
  7050. description: 推荐码
  7051. type: string
  7052. rootuserid:
  7053. description: 根用户ID
  7054. type: integer
  7055. subaccountlevel:
  7056. description: 子账户层数
  7057. type: integer
  7058. subarealevelpath:
  7059. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7060. type: string
  7061. userid:
  7062. description: 用户ID
  7063. type: integer
  7064. usertype:
  7065. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7066. type: integer
  7067. type: object
  7068. models.Ermcp3SCMiddleGoods:
  7069. properties:
  7070. biztype:
  7071. description: 业务类型 1:套保 2:套利
  7072. type: integer
  7073. contractno:
  7074. description: 合同编号
  7075. type: string
  7076. contracttype:
  7077. description: 合同类型 1:采购 -1:销售
  7078. type: integer
  7079. convertratio:
  7080. description: 折算系数
  7081. type: number
  7082. customername:
  7083. description: 对手手名称
  7084. type: string
  7085. customeruserid:
  7086. description: 对手id
  7087. type: integer
  7088. deliverygoodscode:
  7089. description: 现货品种代码
  7090. type: string
  7091. deliverygoodsid:
  7092. description: 现货品种ID
  7093. type: integer
  7094. deliverygoodsname:
  7095. description: 现货品种名称
  7096. type: string
  7097. enumdicname:
  7098. description: 现货单位名称
  7099. type: string
  7100. middlegoodsid:
  7101. description: 套保品种ID
  7102. type: integer
  7103. middlegoodspricedqty3:
  7104. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  7105. type: number
  7106. needhedgeratio:
  7107. description: 套保比例
  7108. type: number
  7109. pricedqty:
  7110. description: 已定价量
  7111. type: number
  7112. relatedmiddlegoodsqty:
  7113. description: 已关联量(套保品种)(期货)
  7114. type: number
  7115. spotcontractid:
  7116. description: 合同编号
  7117. type: string
  7118. unitid:
  7119. description: 现货单位id
  7120. type: integer
  7121. userid:
  7122. description: 用户id
  7123. type: integer
  7124. vatrate:
  7125. description: 增值税率
  7126. type: number
  7127. wrstandardcode:
  7128. description: 现货商品代码
  7129. type: string
  7130. wrstandardid:
  7131. description: 现货商品id
  7132. type: integer
  7133. wrstandardname:
  7134. description: 现货商品名称
  7135. type: string
  7136. type: object
  7137. models.Ermcp3SCMiddleGoodsReport:
  7138. properties:
  7139. begindate:
  7140. description: 开始交易日
  7141. type: string
  7142. contractno:
  7143. description: 合同编号
  7144. type: string
  7145. contracttype:
  7146. description: 合同类型 1:采购 -1:销售
  7147. type: integer
  7148. convertratio:
  7149. description: 期初均价
  7150. type: number
  7151. cycletime:
  7152. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7153. type: string
  7154. cycletype:
  7155. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7156. type: integer
  7157. deliverygoodscode:
  7158. description: 品种代码
  7159. type: string
  7160. deliverygoodsid:
  7161. description: 现货品种ID
  7162. type: integer
  7163. deliverygoodsname:
  7164. description: 品种名称
  7165. type: string
  7166. diffprice:
  7167. description: 期初均价
  7168. type: number
  7169. diffqty:
  7170. description: 期初均价
  7171. type: number
  7172. enddate:
  7173. description: 结束交易日
  7174. type: string
  7175. hedgeplanqty:
  7176. description: 期初均价
  7177. type: number
  7178. matchname:
  7179. description: 交易对手方(个人:用户名称 企业:简称)
  7180. type: string
  7181. matchnickname:
  7182. description: 交易对手方昵称
  7183. type: string
  7184. middlegoodscode:
  7185. description: 套保品种代码
  7186. type: string
  7187. middlegoodsid:
  7188. description: 套保品种ID
  7189. type: integer
  7190. middlegoodsname:
  7191. description: 套保品种名称
  7192. type: string
  7193. middlegoodspricedqty:
  7194. description: 期初均价
  7195. type: number
  7196. middlegoodspricedqty2:
  7197. description: 期初均价
  7198. type: number
  7199. middlegoodspricedqty3:
  7200. description: 期初均价
  7201. type: number
  7202. needhedgeratio:
  7203. description: 期初均价
  7204. type: number
  7205. pricedamount:
  7206. description: 期初均价
  7207. type: number
  7208. pricedamount2:
  7209. description: 期初均价
  7210. type: number
  7211. pricedqty:
  7212. description: 期初均价
  7213. type: number
  7214. reckondate:
  7215. description: 日照时期(yyyyMMdd)
  7216. type: string
  7217. relatedmiddlegoodsamount:
  7218. description: 期初均价
  7219. type: number
  7220. relatedmiddlegoodsqty:
  7221. description: 期初均价
  7222. type: number
  7223. spotcontractid:
  7224. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  7225. type: string
  7226. todayavgfutuprice:
  7227. description: 期初均价
  7228. type: number
  7229. todayavgprice:
  7230. description: 期初均价
  7231. type: number
  7232. todayavgprice2:
  7233. description: 期初均价
  7234. type: number
  7235. todaypricedamount:
  7236. description: 期初均价
  7237. type: number
  7238. todaypricedamount2:
  7239. description: 期初均价
  7240. type: number
  7241. todaypricedqty:
  7242. description: 期初均价
  7243. type: number
  7244. todayrelatedfutureqty:
  7245. description: 期初均价
  7246. type: number
  7247. todayrelatedmiddlegoodsamount:
  7248. description: 期初均价
  7249. type: number
  7250. todayrelatedmiddlegoodsqty:
  7251. description: 期初均价
  7252. type: number
  7253. updatetime:
  7254. description: 更新时间
  7255. type: string
  7256. userid:
  7257. description: 合同所属用户id
  7258. type: integer
  7259. vatrate:
  7260. description: 期初均价
  7261. type: number
  7262. wrstandardcode:
  7263. description: 商品(品类) 代码
  7264. type: string
  7265. wrstandardid:
  7266. description: 现货商品ID
  7267. type: integer
  7268. wrstandardname:
  7269. description: 商品(品类) 名称
  7270. type: string
  7271. type: object
  7272. models.Ermcp3SellBuyContract:
  7273. properties:
  7274. accountid:
  7275. description: 期货账户id
  7276. type: string
  7277. accountname:
  7278. description: 账户名称
  7279. type: string
  7280. attachment:
  7281. description: 附件
  7282. type: string
  7283. audittime:
  7284. description: 审核时间
  7285. type: string
  7286. bizsubjectid:
  7287. description: 归属业务部门ID - SubjectID
  7288. type: integer
  7289. biztype:
  7290. description: 业务类型 1-套保 2-套利
  7291. type: integer
  7292. brandname:
  7293. description: 品牌名称
  7294. type: string
  7295. contracctstatus:
  7296. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7297. type: integer
  7298. contractmargin:
  7299. description: 合同保证金
  7300. type: number
  7301. contractno:
  7302. description: 合同编号
  7303. type: string
  7304. contracttype:
  7305. description: 合同类型 1-采购, -1-销售
  7306. type: integer
  7307. convertfactor:
  7308. description: 标仓系数(品类)
  7309. type: number
  7310. createtime:
  7311. description: 创建时间
  7312. type: string
  7313. currencyid:
  7314. description: 币种id
  7315. type: integer
  7316. currencyname:
  7317. description: 币种名称
  7318. type: string
  7319. daikaiamount:
  7320. description: 应收(开)票额 | 未收票额
  7321. type: number
  7322. deliveryenddate:
  7323. description: 交割结束日
  7324. type: string
  7325. deliverygoodscode:
  7326. description: 现货品种代码
  7327. type: string
  7328. deliverygoodsid:
  7329. description: 现货商品ID
  7330. type: integer
  7331. deliverygoodsname:
  7332. description: 现货品种名称
  7333. type: string
  7334. deliverystartdate:
  7335. description: 交割开始日
  7336. type: string
  7337. enddate:
  7338. description: 点价结束日
  7339. type: string
  7340. enumdicname:
  7341. description: 单位名称
  7342. type: string
  7343. goodscode:
  7344. description: 点价商品代码
  7345. type: string
  7346. goodsgroupid:
  7347. description: 点价商品组id
  7348. type: integer
  7349. goodsid:
  7350. description: 点价商品ID
  7351. type: integer
  7352. goodsname:
  7353. description: 点价商品名称
  7354. type: string
  7355. invoiceamount:
  7356. description: 已开票额
  7357. type: number
  7358. loanamount:
  7359. description: 贷款总额=已定价额+调整金额
  7360. type: number
  7361. margin:
  7362. description: 保证金
  7363. type: number
  7364. meruserid:
  7365. description: 跟单员id
  7366. type: integer
  7367. meruserlogincode:
  7368. description: 跟单员登录代码
  7369. type: string
  7370. merusername:
  7371. description: 跟单员名称
  7372. type: string
  7373. nickname:
  7374. description: 账户昵称
  7375. type: string
  7376. orireckonrealqty:
  7377. description: 应交收量
  7378. type: number
  7379. payamount:
  7380. description: 已收付额(收款或付款)
  7381. type: number
  7382. preinvoiceamount:
  7383. description: 预收(开)票额
  7384. type: number
  7385. prepayamount:
  7386. description: 预收付额
  7387. type: number
  7388. price:
  7389. description: 价格
  7390. type: number
  7391. pricedamount:
  7392. description: 已定价额
  7393. type: number
  7394. pricedavg:
  7395. description: 已点均价
  7396. type: number
  7397. pricedqty:
  7398. description: 已定价量
  7399. type: number
  7400. pricemove:
  7401. description: 升贴水
  7402. type: number
  7403. pricetype:
  7404. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  7405. type: integer
  7406. producttype:
  7407. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  7408. type: integer
  7409. qty:
  7410. description: 合同量
  7411. type: number
  7412. reckonadjustamount:
  7413. description: 调整金额
  7414. type: number
  7415. reckonedamount:
  7416. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  7417. type: number
  7418. reckonotheramount:
  7419. description: 其它费用
  7420. type: number
  7421. reckonrealqty:
  7422. description: 已交收量
  7423. type: number
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. saleuserid:
  7428. description: 业务员id
  7429. type: integer
  7430. saleuserlogincode:
  7431. description: 业务员登录代码
  7432. type: string
  7433. saleusername:
  7434. description: 业务员名称
  7435. type: string
  7436. spotcontractid:
  7437. description: 合同ID
  7438. type: string
  7439. spotgoodsbrandid:
  7440. description: 现货品牌ID(DGFactoryItem表的ID)
  7441. type: integer
  7442. spotgoodsdesc:
  7443. description: 商品型号(商品规格)
  7444. type: string
  7445. startdate:
  7446. description: 点价开始日
  7447. type: string
  7448. subjectid:
  7449. description: 交易主体ID
  7450. type: integer
  7451. subjectname:
  7452. description: 交易主体名称
  7453. type: string
  7454. totalamount:
  7455. description: 合计总额
  7456. type: number
  7457. tradeuserid:
  7458. description: 交易员id
  7459. type: integer
  7460. tradeuserlogincode:
  7461. description: 交易员登录代码
  7462. type: string
  7463. tradeusername:
  7464. description: 交易员名称
  7465. type: string
  7466. unpayamount:
  7467. description: 应收付款额(应支付或应收款) | 未付款额
  7468. type: number
  7469. unpricedqty:
  7470. description: 未定价量
  7471. type: number
  7472. unsureqty:
  7473. description: 未确定量 | 未交收量
  7474. type: number
  7475. userid:
  7476. description: 机构ID
  7477. type: integer
  7478. vatrate:
  7479. description: 增值税率
  7480. type: number
  7481. wrstandardcode:
  7482. description: 品类代码
  7483. type: string
  7484. wrstandardid:
  7485. description: 品类ID
  7486. type: integer
  7487. wrstandardname:
  7488. description: 品类名称
  7489. type: string
  7490. type: object
  7491. models.Ermcp3SpotGoodsPrice:
  7492. properties:
  7493. areauserid:
  7494. description: 所属机构id
  7495. type: integer
  7496. brandname:
  7497. description: 品牌名称
  7498. type: string
  7499. currencyid:
  7500. description: 报价货币ID
  7501. type: integer
  7502. currencyname:
  7503. description: 币种名称
  7504. type: string
  7505. deliverygoodscode:
  7506. description: 现货商品代码
  7507. type: string
  7508. deliverygoodsid:
  7509. description: 现货商品id
  7510. type: integer
  7511. deliverygoodsname:
  7512. description: 现货商品名称
  7513. type: string
  7514. enumdicname:
  7515. description: 现货商品单位名称
  7516. type: string
  7517. gbenumdicname:
  7518. description: 品类单位名称
  7519. type: string
  7520. gmunitid:
  7521. description: 品类单位id
  7522. type: integer
  7523. isvalid:
  7524. description: 是否有效 - 0:无效 1:有效
  7525. type: integer
  7526. operateid:
  7527. description: 最后操作人
  7528. type: integer
  7529. operatesrc:
  7530. description: 最后操作来源 - 1:管理端 2:终端
  7531. type: integer
  7532. operatetime:
  7533. description: 最后操作时间
  7534. type: string
  7535. operatorname:
  7536. description: 操作人名称
  7537. type: string
  7538. spotgoodsbrandid:
  7539. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7540. type: integer
  7541. spotgoodsprice:
  7542. description: 现货价格
  7543. type: number
  7544. tradedate:
  7545. description: 交易日(yyyyMMdd)
  7546. type: string
  7547. unitid:
  7548. description: 现货商品单位id
  7549. type: integer
  7550. wrstandardcode:
  7551. description: 品类代码
  7552. type: string
  7553. wrstandardid:
  7554. description: 现货品类ID(通用则为0)
  7555. type: integer
  7556. wrstandardname:
  7557. description: 品类名称
  7558. type: string
  7559. type: object
  7560. models.Ermcp3SpotGoodsPriceLog:
  7561. properties:
  7562. areauserid:
  7563. description: 所属机构id
  7564. type: integer
  7565. brandname:
  7566. description: 品牌名称
  7567. type: string
  7568. currencyid:
  7569. description: 报价货币ID
  7570. type: integer
  7571. deliverygoodscode:
  7572. description: 现货商品代码
  7573. type: string
  7574. deliverygoodsid:
  7575. description: 现货商品id
  7576. type: integer
  7577. deliverygoodsname:
  7578. description: 现货商品名称
  7579. type: string
  7580. enumdicname:
  7581. description: 现货商品单位名称
  7582. type: string
  7583. gbenumdicname:
  7584. description: 品类单位名称
  7585. type: string
  7586. gmunitid:
  7587. description: 品类单位id
  7588. type: integer
  7589. logid:
  7590. description: 日志id
  7591. type: integer
  7592. operateid:
  7593. description: 最后操作人
  7594. type: integer
  7595. operatesrc:
  7596. description: 最后操作来源 - 1:管理端 2:终端
  7597. type: integer
  7598. operatetime:
  7599. description: 最后操作时间
  7600. type: string
  7601. operatorname:
  7602. description: 操作人名称
  7603. type: string
  7604. spotgoodsbrandid:
  7605. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  7606. type: integer
  7607. spotgoodsprice:
  7608. description: 现货价格
  7609. type: number
  7610. tradedate:
  7611. description: 交易日(yyyyMMdd)
  7612. type: string
  7613. unitid:
  7614. description: 现货商品单位id
  7615. type: integer
  7616. wrstandardcode:
  7617. description: 品类代码
  7618. type: string
  7619. wrstandardid:
  7620. description: 现货品类ID(通用则为0)
  7621. type: integer
  7622. wrstandardname:
  7623. description: 品类名称
  7624. type: string
  7625. type: object
  7626. models.Ermcp3SubTaaccount:
  7627. properties:
  7628. accountid:
  7629. description: 资金账户ID
  7630. type: integer
  7631. parentaccountcode:
  7632. description: 所属根账号代码(母账号代码)
  7633. type: string
  7634. parentaccountid:
  7635. description: 所属根账号(母账号)
  7636. type: integer
  7637. taname:
  7638. description: 资金账号名称
  7639. type: string
  7640. tradestatus:
  7641. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  7642. type: integer
  7643. username:
  7644. description: 交易用户
  7645. type: string
  7646. type: object
  7647. models.Ermcp3TaFutuReDataReport:
  7648. properties:
  7649. accountid:
  7650. description: 交易账户
  7651. type: integer
  7652. accountname:
  7653. description: 交易账号名称
  7654. type: string
  7655. agreeunit:
  7656. description: 商品合约单位
  7657. type: number
  7658. begindate:
  7659. description: 开始交易日
  7660. type: string
  7661. buyorsell:
  7662. description: 持仓方向
  7663. type: integer
  7664. charge:
  7665. description: 手续费
  7666. type: number
  7667. closeavgprice:
  7668. description: 期初均价
  7669. type: number
  7670. closepl:
  7671. description: 平仓损益
  7672. type: number
  7673. currencyid:
  7674. description: 结算币种ID
  7675. type: integer
  7676. currencyname:
  7677. description: 币种名称
  7678. type: string
  7679. cycletime:
  7680. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  7681. type: string
  7682. cycletype:
  7683. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  7684. type: integer
  7685. enddate:
  7686. description: 结束交易日
  7687. type: string
  7688. enumdicname:
  7689. description: 单位名称
  7690. type: string
  7691. floatpl:
  7692. description: 浮动损益
  7693. type: number
  7694. goodscode:
  7695. description: 交易合约代码
  7696. type: string
  7697. goodsgroupid:
  7698. description: 交易品种
  7699. type: integer
  7700. goodsgroupname:
  7701. description: 交易品种名称
  7702. type: string
  7703. goodsgroupspotqty:
  7704. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  7705. type: number
  7706. goodsid:
  7707. description: 交易合约
  7708. type: integer
  7709. goodsname:
  7710. description: 交易合约名称
  7711. type: string
  7712. goodunitid:
  7713. description: 交易合约单位id
  7714. type: integer
  7715. holdamount:
  7716. description: 期末持仓额
  7717. type: number
  7718. holdqty:
  7719. description: 期初均价
  7720. type: number
  7721. lastholdamount:
  7722. description: 当前持仓额
  7723. type: number
  7724. lastprice:
  7725. description: 最新价
  7726. type: number
  7727. middlegoodsid:
  7728. description: 套保品种id
  7729. type: integer
  7730. middlegoodsname:
  7731. description: 套保商品名称
  7732. type: string
  7733. middlegoodsqty:
  7734. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  7735. type: number
  7736. middlgoodscode:
  7737. description: 套保商品代码
  7738. type: string
  7739. openamount:
  7740. description: 期末开仓额
  7741. type: number
  7742. openavgprice:
  7743. description: 期初均价
  7744. type: number
  7745. oriholdamount:
  7746. description: 期初持仓额
  7747. type: number
  7748. oriholdqty:
  7749. description: 期初均价
  7750. type: number
  7751. oriopenamount:
  7752. description: 期初开仓额
  7753. type: number
  7754. outergroupcode:
  7755. description: 交易品种代码
  7756. type: string
  7757. qtydecimalplace:
  7758. description: 成交量小数位
  7759. type: integer
  7760. reckondate:
  7761. description: 日照时期(yyyyMMdd)
  7762. type: string
  7763. reckonholdamount:
  7764. description: 结算持仓额
  7765. type: number
  7766. reckonpl:
  7767. description: 结算损益
  7768. type: number
  7769. reckonpl2:
  7770. description: 结算逐笔盈亏
  7771. type: number
  7772. reckonprice:
  7773. description: 结算价
  7774. type: number
  7775. relateduserid:
  7776. description: 账户关联用户ID
  7777. type: integer
  7778. todaycloseamount:
  7779. description: 今平仓额
  7780. type: number
  7781. todaycloseqty:
  7782. description: 期初均价
  7783. type: number
  7784. todaygoodsgroupspotqty:
  7785. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  7786. type: number
  7787. todaymiddlegoodsqty:
  7788. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  7789. type: number
  7790. todayopenamount:
  7791. description: 今开仓额
  7792. type: number
  7793. todayopenqty:
  7794. description: 期初均价
  7795. type: number
  7796. userid:
  7797. description: 账户所属用户ID
  7798. type: integer
  7799. type: object
  7800. models.Ermcp3TradeLinkDetail:
  7801. properties:
  7802. accountid:
  7803. description: 资金账号
  7804. type: integer
  7805. agreeunit:
  7806. description: 合约乘数
  7807. type: number
  7808. areauserid:
  7809. description: 所属机构
  7810. type: string
  7811. bizsubjectid:
  7812. description: 归属业务部门ID - SubjectID
  7813. type: string
  7814. buyorsell:
  7815. description: 方向 - 0:买 1:卖
  7816. type: integer
  7817. channelbuildtype:
  7818. description: 委托单据类型 0:无 1:建仓 2:平仓
  7819. type: integer
  7820. contractno:
  7821. description: 现货编号 (合同编号)
  7822. type: string
  7823. convertratio:
  7824. description: 折算系数
  7825. type: number
  7826. createtime:
  7827. description: 关联时间 | 创建时间
  7828. type: string
  7829. creatorid:
  7830. description: 创建人ID
  7831. type: string
  7832. creatorsrc:
  7833. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7834. type: integer
  7835. enumdicname:
  7836. description: 单位名称
  7837. type: string
  7838. goodscode:
  7839. description: 合约代码
  7840. type: string
  7841. goodsgroupid:
  7842. description: 对冲品种ID[期货合约商品组ID]
  7843. type: integer
  7844. goodsid:
  7845. description: 商品ID
  7846. type: integer
  7847. goodsname:
  7848. description: 合约名称
  7849. type: string
  7850. hedgeflag:
  7851. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7852. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7853. type: integer
  7854. linkdetailid:
  7855. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7856. type: string
  7857. linkstatus:
  7858. description: 关联状态 - 1:成功 2:失败 3:解绑
  7859. type: integer
  7860. middlegoodscode:
  7861. description: 套保品种代码
  7862. type: string
  7863. middlegoodsid:
  7864. description: 套保品种ID
  7865. type: integer
  7866. middlegoodsname:
  7867. description: 套保品种名称
  7868. type: string
  7869. relatedlot:
  7870. description: 关联手数
  7871. type: number
  7872. relatedmode:
  7873. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7874. type: integer
  7875. relatedqty:
  7876. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7877. type: number
  7878. retcode:
  7879. description: 返回码
  7880. type: integer
  7881. saleuserid:
  7882. description: 业务员ID
  7883. type: string
  7884. spotcontractid:
  7885. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7886. type: string
  7887. taname:
  7888. description: 期货账户
  7889. type: string
  7890. tradedate:
  7891. description: 关联交易日(yyyyMMdd)
  7892. type: string
  7893. tradeid:
  7894. description: 期货订单号 | 内部成交单ID
  7895. type: string
  7896. tradelot:
  7897. description: 成交数量 | 成交手数
  7898. type: integer
  7899. tradeprice:
  7900. description: 成交价格
  7901. type: number
  7902. tradetime:
  7903. description: 期货成交时间
  7904. type: string
  7905. tradetradedate:
  7906. description: 成交交易日(yyyyMMdd)
  7907. type: string
  7908. username:
  7909. description: 用户名称
  7910. type: string
  7911. type: object
  7912. models.Ermcp3Wrstandard:
  7913. properties:
  7914. areauserid:
  7915. description: 所属机构
  7916. type: integer
  7917. cantrade:
  7918. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7919. type: integer
  7920. convertfactor:
  7921. description: 标仓系数
  7922. type: number
  7923. createtime:
  7924. description: 创建时间
  7925. type: string
  7926. creatorid:
  7927. description: 创建人
  7928. type: integer
  7929. deliverygoodsid:
  7930. description: 现货品种ID
  7931. type: integer
  7932. enumdicname:
  7933. description: 品类单位名称
  7934. type: string
  7935. isvalid:
  7936. description: 是否有效 0-无效(停用) 1-有效(正常)
  7937. type: integer
  7938. minivalue:
  7939. description: 最小变动值
  7940. type: integer
  7941. minivaluedp:
  7942. description: 最小变动值小数位
  7943. type: integer
  7944. realminivalue:
  7945. description: 实际最小变动值
  7946. type: integer
  7947. realminivaluedp:
  7948. description: 实际最小变动值小数位
  7949. type: integer
  7950. remark:
  7951. description: 备注
  7952. type: string
  7953. unitid:
  7954. description: 品类单位ID
  7955. type: integer
  7956. updatetime:
  7957. description: 更新时间
  7958. type: string
  7959. wrstandardcode:
  7960. description: 品类代码
  7961. type: string
  7962. wrstandardid:
  7963. description: 品类ID(SEQ_WRSTANDARD)
  7964. type: integer
  7965. wrstandardname:
  7966. description: 品类名称
  7967. type: string
  7968. type: object
  7969. models.Ermcp8EnableHedgeditem:
  7970. properties:
  7971. accountname:
  7972. description: 套期主体
  7973. type: string
  7974. hedgeditemid:
  7975. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  7976. type: string
  7977. hedgeditemname:
  7978. description: 项目名称
  7979. type: string
  7980. hedgeditemnum:
  7981. description: 项目编号
  7982. type: string
  7983. hedgedtype:
  7984. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  7985. type: integer
  7986. planenddate:
  7987. description: 计划结束日期
  7988. type: string
  7989. planstartdate:
  7990. description: 计划开始日期
  7991. type: string
  7992. wrstandardid:
  7993. description: 现货商品ID
  7994. type: integer
  7995. wrstandardname:
  7996. description: 现货商品
  7997. type: string
  7998. type: object
  7999. models.Ermcp8HedgeditemReport:
  8000. properties:
  8001. accountname:
  8002. description: 套期主体
  8003. type: string
  8004. areauserid:
  8005. description: 企业ID
  8006. type: integer
  8007. curprice:
  8008. description: '[当日现货市场价]当前市场价'
  8009. type: number
  8010. enumdicname:
  8011. description: 单位
  8012. type: string
  8013. exeamount:
  8014. description: '[执行现货金额]执行市价总额'
  8015. type: number
  8016. exeavgprice:
  8017. description: '[执行价]执行市场均价= 执行市价总额 / 执行现货量'
  8018. type: number
  8019. exeqty:
  8020. description: '[执行数量]执行现货量'
  8021. type: number
  8022. futurehedgepl:
  8023. description: 期货实际损益
  8024. type: number
  8025. futurehedgeplchange:
  8026. description: 期货实际变动 = 期货实际损益 - 期初期货实际损益
  8027. type: number
  8028. futurepl:
  8029. description: 期货套期损益
  8030. type: number
  8031. futureplchange:
  8032. description: 期货套期变动 = 期货套期损益 - 期初期货套期损益
  8033. type: number
  8034. hedgeamount:
  8035. description: '[套期现货金额]套期市价总额'
  8036. type: number
  8037. hedgeditemnum:
  8038. description: 项目编号,模糊查询
  8039. type: string
  8040. hedgeditemstatus:
  8041. description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8042. type: integer
  8043. hedgedtype:
  8044. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8045. type: integer
  8046. hedgeqty:
  8047. description: '[套期数量]套期现货量'
  8048. type: number
  8049. oriavgprice:
  8050. description: '[期初价]期初市场均价 = 套期市价总额 / 套期现货量'
  8051. type: number
  8052. orifuturehedgepl:
  8053. description: 期初期货实际损益
  8054. type: number
  8055. orifuturepl:
  8056. description: 期初期货套期损益
  8057. type: number
  8058. orispothedgepl:
  8059. description: 期初现货实际损益
  8060. type: number
  8061. orispotpl:
  8062. description: 期初现货套期损益
  8063. type: number
  8064. planenddate:
  8065. description: 计划结束日期
  8066. type: string
  8067. planstartdate:
  8068. description: 计划开始日期
  8069. type: string
  8070. spothedgepl:
  8071. description: 现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8072. type: number
  8073. spothedgeplchange:
  8074. description: 现货实际变动 = 现货实际损益 - 期初现货实际损益
  8075. type: number
  8076. spotpl:
  8077. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8078. type: number
  8079. spotplchange:
  8080. description: 现货套期变动 = 现货套期损益 - 期初现货套期损益
  8081. type: number
  8082. tradeuserid:
  8083. description: 交易用户ID
  8084. type: integer
  8085. unexeqty:
  8086. description: 未执行现货量 = 套期现货量 - 执行现货量
  8087. type: number
  8088. wrstandardcode:
  8089. description: 现货品类代码
  8090. type: string
  8091. wrstandardid:
  8092. description: 现货商品ID
  8093. type: integer
  8094. wrstandardname:
  8095. description: '[现货商品]现货品类名称'
  8096. type: string
  8097. type: object
  8098. models.Ermcp8RunningHedgeditem:
  8099. properties:
  8100. accountname:
  8101. description: 套期主体
  8102. type: string
  8103. applyid:
  8104. description: 申请人
  8105. type: integer
  8106. applysrc:
  8107. description: 申请来源 - 1:管理端 2:终端
  8108. type: integer
  8109. areauserid:
  8110. description: 企业ID
  8111. type: integer
  8112. auditid:
  8113. description: 审核人
  8114. type: integer
  8115. auditremark:
  8116. description: 审核备注
  8117. type: string
  8118. auditsrc:
  8119. description: 审核来源 - 1:管理端 2:终端
  8120. type: integer
  8121. audittime:
  8122. description: 审核时间
  8123. type: string
  8124. audittradedate:
  8125. description: 审核交易日(yyyyMMdd)
  8126. type: string
  8127. createtime:
  8128. description: 申请时间
  8129. type: string
  8130. curprice:
  8131. description: 当前市场价
  8132. type: number
  8133. curstock:
  8134. description: 期末库存量 = 采购总量 - 销售总量
  8135. type: number
  8136. deliverygoodsid:
  8137. description: 现货品种ID
  8138. type: integer
  8139. enddate:
  8140. description: 完成日期
  8141. type: string
  8142. endtradedate:
  8143. description: 完成交易日
  8144. type: string
  8145. enumdicname:
  8146. description: 单位
  8147. type: string
  8148. exeamount:
  8149. description: 执行市价总额
  8150. type: number
  8151. exeavgprice:
  8152. description: 执行市场均价= 执行市价总额 / 执行现货量
  8153. type: number
  8154. execontractamount:
  8155. description: 执行定价总额
  8156. type: number
  8157. exeqty:
  8158. description: 执行现货量
  8159. type: number
  8160. exerestamount:
  8161. description: 执行剩余市价总额【现货贸易】
  8162. type: number
  8163. futurefloatpl:
  8164. description: 期货浮动损益
  8165. type: number
  8166. futurehedgepl:
  8167. description: 期货实际损益
  8168. type: number
  8169. futurehedgeplchange:
  8170. description: 期货实际损益变动
  8171. type: number
  8172. futurepl:
  8173. description: 期货套期损益
  8174. type: number
  8175. futureplchange:
  8176. description: 期货套期损益变动
  8177. type: number
  8178. hedgeamount:
  8179. description: 套期市价总额
  8180. type: number
  8181. hedgecontractamount:
  8182. description: 套期定价总额 【定价采购合同】【现货贸易】
  8183. type: number
  8184. hedgeditemid:
  8185. description: 被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)
  8186. type: string
  8187. hedgeditemname:
  8188. description: 项目名称
  8189. type: string
  8190. hedgeditemnum:
  8191. description: 项目编号
  8192. type: string
  8193. hedgeditemstatus:
  8194. description: 项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  8195. type: integer
  8196. hedgedtype:
  8197. description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  8198. type: integer
  8199. hedgeqty:
  8200. description: 套期现货量
  8201. type: number
  8202. hedgerate:
  8203. description: 套保比率
  8204. type: number
  8205. hedgerestamount:
  8206. description: 套期剩余市价总额【现货贸易】
  8207. type: number
  8208. hedgesumpl:
  8209. description: 套期汇总损益 = 期货汇总损益 + 现货汇总损益
  8210. type: number
  8211. middlegoodslist:
  8212. description: 套期商品列表
  8213. items:
  8214. $ref: '#/definitions/models.Ermcp2himiddlegoods'
  8215. type: array
  8216. oriavgprice:
  8217. description: 期初市场均价 = 套期市价总额 / 套期现货量
  8218. type: number
  8219. orifuturehedgepl:
  8220. description: 期初期货实际损益
  8221. type: number
  8222. orifuturepl:
  8223. description: 期初期货套期损益
  8224. type: number
  8225. orispothedgepl:
  8226. description: 期初现货实际损益
  8227. type: number
  8228. orispotpl:
  8229. description: 期初现货套期损益
  8230. type: number
  8231. planenddate:
  8232. description: 计划结束日期
  8233. type: string
  8234. planstartdate:
  8235. description: 计划开始日期
  8236. type: string
  8237. remark:
  8238. description: 备注
  8239. type: string
  8240. spotbookamount:
  8241. description: 现货账面总额
  8242. type: number
  8243. spotfloatpl:
  8244. description: 现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8245. type: number
  8246. spothedgepl:
  8247. description: 现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)
  8248. type: number
  8249. spothedgeplchange:
  8250. description: 现货实际损益变动
  8251. type: number
  8252. spotpl:
  8253. description: 现货套期损益 = 现货实际损益 + 现货浮动损益
  8254. type: number
  8255. spotplchange:
  8256. description: 现货套期损益变动
  8257. type: number
  8258. spottradepl:
  8259. description: 现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额
  8260. type: number
  8261. sumobspl:
  8262. description: 汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益
  8263. type: number
  8264. tradeuserid:
  8265. description: 交易用户ID
  8266. type: integer
  8267. unexeqty:
  8268. description: 未执行现货量 = 套期现货量 - 执行现货量
  8269. type: number
  8270. updatetime:
  8271. description: 更新时间
  8272. type: string
  8273. vatpl:
  8274. description: 增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))
  8275. type: number
  8276. vatrate:
  8277. description: 增值税
  8278. type: number
  8279. wrstandardid:
  8280. description: 现货商品ID
  8281. type: integer
  8282. wrstandardname:
  8283. description: 商品名称
  8284. type: string
  8285. type: object
  8286. models.ErmcpBizGroupEx:
  8287. properties:
  8288. acclist:
  8289. description: 账号列表
  8290. items:
  8291. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  8292. type: array
  8293. bizgroupid:
  8294. description: 业务分组id
  8295. type: integer
  8296. biztype:
  8297. description: 业务类型 1-套保 2-套利
  8298. type: integer
  8299. wrlist:
  8300. description: 现货商品表
  8301. items:
  8302. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  8303. type: array
  8304. type: object
  8305. models.ErmcpBizGroupSpotGoods:
  8306. properties:
  8307. areauserid:
  8308. description: 所属机构id
  8309. type: integer
  8310. bizgroupid:
  8311. description: 分组id
  8312. type: integer
  8313. biztype:
  8314. description: 业务类型 1-套保 2-套利
  8315. type: integer
  8316. deliverygoodscode:
  8317. description: 现货商品代码
  8318. type: string
  8319. deliverygoodsid:
  8320. description: 现货商品id
  8321. type: integer
  8322. deliverygoodsname:
  8323. description: 现货商品名称
  8324. type: string
  8325. unitid:
  8326. description: 现货商品单位id
  8327. type: integer
  8328. type: object
  8329. models.ErmcpBizGroupTaAccount:
  8330. properties:
  8331. accountid:
  8332. description: 账号id
  8333. type: integer
  8334. accountname:
  8335. description: 账号名称
  8336. type: string
  8337. areauserid:
  8338. description: 所属机构id
  8339. type: integer
  8340. bizgroupid:
  8341. description: 业务分组id
  8342. type: integer
  8343. ismain:
  8344. description: 是否主账号 1-是 0-否
  8345. type: integer
  8346. type: object
  8347. models.ErmcpDGFactoryItem:
  8348. properties:
  8349. areauserid:
  8350. description: 用户id
  8351. type: integer
  8352. deliverygoodsid:
  8353. description: 现货品种ID
  8354. type: integer
  8355. dgfactoryitemid:
  8356. description: 选择项ID(SEQ_DGFACTORYITEM)
  8357. type: integer
  8358. dgfactoryitemtypeid:
  8359. description: 要素项类型
  8360. type: integer
  8361. dgfactoryitemvalue:
  8362. description: 要素项值(类型为仓库时填写仓库名称)
  8363. type: string
  8364. isvalid:
  8365. description: 是否有效 - 0:无效 1:有效
  8366. type: integer
  8367. orderindex:
  8368. description: 顺序
  8369. type: integer
  8370. warehouseid:
  8371. description: 仓库ID(类型为仓库时填写)
  8372. type: integer
  8373. type: object
  8374. models.ErmcpDeliveryGoods:
  8375. properties:
  8376. agreeunit:
  8377. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  8378. type: integer
  8379. areauserid:
  8380. description: 所属机构
  8381. type: integer
  8382. auditflag:
  8383. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  8384. type: integer
  8385. categoryid:
  8386. description: 类别ID(SEQ_WRCATEGORY)
  8387. type: integer
  8388. deliverygoodscode:
  8389. description: 现货品种代码
  8390. type: string
  8391. deliverygoodsid:
  8392. description: 现货品种ID(SEQ_DELIVERYGOODS)
  8393. type: integer
  8394. deliverygoodsname:
  8395. description: 现货品种名称
  8396. type: string
  8397. deliverygoodstype:
  8398. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  8399. type: integer
  8400. dgstatus:
  8401. description: 品种状态 - 作废 - 0:未激活 1:正常
  8402. type: integer
  8403. enumdicname:
  8404. description: 现货品种单位名称
  8405. type: string
  8406. goodsunitid:
  8407. description: 现货品种单位ID
  8408. type: integer
  8409. isvalid:
  8410. description: 是否有效 - 0:无效 1:有效
  8411. type: integer
  8412. qtydecimalplace:
  8413. description: 成交量小数位
  8414. type: integer
  8415. remark:
  8416. description: 备注
  8417. type: string
  8418. standardqty:
  8419. description: 标准数量(库位数量) [标准品特有]
  8420. type: integer
  8421. standardqtyrange:
  8422. description: 标准数量偏差范围 [标准品特有]
  8423. type: integer
  8424. type: object
  8425. models.ErmcpFuturesCompany:
  8426. properties:
  8427. brokerid:
  8428. description: 经纪公司代码
  8429. type: string
  8430. channeladdress:
  8431. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  8432. type: string
  8433. channelid:
  8434. description: 对冲渠道ID
  8435. type: string
  8436. createtime:
  8437. description: 创建时间
  8438. type: string
  8439. creatorid:
  8440. description: 创建人
  8441. type: string
  8442. fcid:
  8443. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  8444. type: integer
  8445. fcname:
  8446. description: 期货公司名称
  8447. type: string
  8448. isvalid:
  8449. description: 是否有效 - 0:无效 1:有效
  8450. type: integer
  8451. mhpaddress:
  8452. description: MHP服务地址(IP:Port)
  8453. type: string
  8454. riskrulegroupid:
  8455. description: 风控规则组ID
  8456. type: string
  8457. tradefeetmpid:
  8458. description: 手续费模板ID[TradeConfigTmpType为2]
  8459. type: string
  8460. trademargintmpid:
  8461. description: 保证金模板ID [TradeConfigTmpType为1]
  8462. type: string
  8463. traderatetmpid:
  8464. description: 汇率模板ID[TradeConfigTmpType为3]
  8465. type: string
  8466. updatetime:
  8467. description: 更新时间
  8468. type: string
  8469. updatorid:
  8470. description: 更新人
  8471. type: string
  8472. type: object
  8473. models.ErmcpGGConvertCfg:
  8474. properties:
  8475. convertratio:
  8476. description: 折算系数
  8477. type: number
  8478. destgoodsgroupid:
  8479. description: 目标品种ID
  8480. type: integer
  8481. dstcode:
  8482. description: 目录品种代码
  8483. type: string
  8484. dstexchangecode:
  8485. description: 目标期货交易所
  8486. type: string
  8487. dstname:
  8488. description: 目标品种名称
  8489. type: string
  8490. dstunitid:
  8491. description: 目标品种单位ID
  8492. type: integer
  8493. dstunitidname:
  8494. description: 目标品种单位名称
  8495. type: string
  8496. modifytime:
  8497. description: 修改时间
  8498. type: string
  8499. srccode:
  8500. description: 源品种代码
  8501. type: string
  8502. srcexchangecode:
  8503. description: 源期货交易所
  8504. type: string
  8505. srcgoodsgroupid:
  8506. description: 源品种ID
  8507. type: integer
  8508. srcname:
  8509. description: 源品种名称
  8510. type: string
  8511. srcunitid:
  8512. description: 源品种单位ID
  8513. type: integer
  8514. srcunitidname:
  8515. description: 源品种单位名称
  8516. type: string
  8517. type: object
  8518. models.ErmcpGoods:
  8519. properties:
  8520. agreeunit:
  8521. description: 合约单位
  8522. type: number
  8523. areauserid:
  8524. description: 所属机构
  8525. type: integer
  8526. auditaccountid:
  8527. description: 审核操作员账号
  8528. type: integer
  8529. audittime:
  8530. description: 审核时间
  8531. type: string
  8532. cancelaccountid:
  8533. description: 注销操作员账号
  8534. type: integer
  8535. canceltime:
  8536. description: 注销时间
  8537. type: string
  8538. closepricemode:
  8539. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8540. type: integer
  8541. closepriceparam:
  8542. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8543. type: number
  8544. createtime:
  8545. description: 创建时间
  8546. type: string
  8547. creatorid:
  8548. description: 创建人
  8549. type: integer
  8550. currencyid:
  8551. description: 报价货币ID
  8552. type: integer
  8553. cutmode:
  8554. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8555. type: integer
  8556. decimalplace:
  8557. description: 报价小数位
  8558. type: integer
  8559. delistingdate:
  8560. description: 商品退市时间(状态:退市) -- 已作废
  8561. type: string
  8562. delistingmode:
  8563. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8564. type: integer
  8565. deliveryflag:
  8566. description: 交割标志 - 0:不可交割 1:可交割
  8567. type: integer
  8568. enumdicname:
  8569. description: 单位名称
  8570. type: string
  8571. forceclosemode:
  8572. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8573. type: integer
  8574. forceclosevalue:
  8575. description: 定期强平参数 [收益权]
  8576. type: integer
  8577. goodscode:
  8578. description: 商品代码(内部)
  8579. type: string
  8580. goodscurrencyid:
  8581. description: 合约货币ID
  8582. type: integer
  8583. goodsgroupid:
  8584. description: 所属商品组ID
  8585. type: integer
  8586. goodsid:
  8587. description: 商品ID(自增ID SEQ_GOODS)
  8588. type: integer
  8589. goodsname:
  8590. description: 商品名称
  8591. type: string
  8592. goodsquotetype:
  8593. description: '合约报价类型: 1-直接报价 2-间接报价'
  8594. type: integer
  8595. goodsstatus:
  8596. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8597. type: integer
  8598. goodstradetype:
  8599. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8600. type: integer
  8601. goodunitid:
  8602. description: 报价单位ID
  8603. type: integer
  8604. hasquoter:
  8605. description: 是否有报价商 - 0:无报价商 1:有报价商
  8606. type: integer
  8607. hqprotecttime:
  8608. description: 行情保护时间(秒)
  8609. type: integer
  8610. innerdealmode:
  8611. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8612. type: integer
  8613. isbuylimited:
  8614. description: 是否限制建仓量 - 0:不限制 1:限制
  8615. type: integer
  8616. isvisible:
  8617. description: 游客是否可见 - 0:不可见 1:可见
  8618. type: integer
  8619. lasttradedate:
  8620. description: 最后交易日期(状态:待退市)
  8621. type: string
  8622. listingdate:
  8623. description: 交易开始日期
  8624. type: string
  8625. marketid:
  8626. description: 所属市场ID
  8627. type: integer
  8628. modifierid:
  8629. description: 修改人
  8630. type: integer
  8631. modifystatus:
  8632. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8633. type: integer
  8634. modifytime:
  8635. description: 修改时间
  8636. type: string
  8637. outerdealmode:
  8638. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8639. type: integer
  8640. outgoodscode:
  8641. description: 商品代码(外部)
  8642. type: string
  8643. pictureurl:
  8644. description: 商品图片
  8645. type: string
  8646. qtydecimalplace:
  8647. description: 成交量小数位
  8648. type: integer
  8649. quotegear:
  8650. description: 行情档位(1-10)
  8651. type: integer
  8652. quoteminunit:
  8653. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8654. type: integer
  8655. quoteshowtype:
  8656. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8657. type: integer
  8658. quoteshowtypeinterval:
  8659. description: 行情报价间隔时间(秒)(成交价时为0)
  8660. type: integer
  8661. relatedgoodsid:
  8662. description: 关联参考商品ID
  8663. type: integer
  8664. remark:
  8665. description: 备注
  8666. type: string
  8667. trademode:
  8668. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8669. 21:竞拍-大宗式 22:受托竞价
  8670. type: integer
  8671. required:
  8672. - goodscode
  8673. - goodsid
  8674. - goodsname
  8675. - marketid
  8676. type: object
  8677. models.ErmcpGoodsBrand:
  8678. properties:
  8679. areauserid:
  8680. description: 所属机构
  8681. type: integer
  8682. brandid:
  8683. description: BrandID(SEQ_SPOTGOODSBRAND)
  8684. type: integer
  8685. brandname:
  8686. description: 品牌名称
  8687. type: string
  8688. createtime:
  8689. description: 创建时间
  8690. type: string
  8691. creatorid:
  8692. description: 创建人
  8693. type: integer
  8694. creatorsrc:
  8695. description: 创建人来源 - 1:管理端 2:终端
  8696. type: integer
  8697. deliverygoodsid:
  8698. description: 现货品种ID
  8699. type: integer
  8700. isvalid:
  8701. description: 是否有效 - 0:无效 1:有效
  8702. type: integer
  8703. updatetime:
  8704. description: 更新时间
  8705. type: string
  8706. updatorid:
  8707. description: 更新人
  8708. type: integer
  8709. updatorsrc:
  8710. description: 更新人来源 - 1:管理端 2:终端
  8711. type: integer
  8712. wrstandardid:
  8713. description: 现货商品ID
  8714. type: integer
  8715. type: object
  8716. models.ErmcpGoodsModel:
  8717. properties:
  8718. areauserid:
  8719. description: 所属机构
  8720. type: integer
  8721. convertfactor:
  8722. description: 标仓系数
  8723. type: number
  8724. createtime:
  8725. description: 创建时间
  8726. type: string
  8727. creatorid:
  8728. description: 创建人
  8729. type: integer
  8730. creatorsrc:
  8731. description: 创建人来源 - 1:管理端 2:终端
  8732. type: integer
  8733. deliverygoodsid:
  8734. description: 现货品种ID
  8735. type: integer
  8736. isvalid:
  8737. description: 是否有效 - 0:无效 1:有效
  8738. type: integer
  8739. modelid:
  8740. description: ModelID(SEQ_SPOTGOODSMODEL)
  8741. type: integer
  8742. modelname:
  8743. description: 型号名称
  8744. type: string
  8745. updatetime:
  8746. description: 更新时间
  8747. type: string
  8748. updatorid:
  8749. description: 更新人
  8750. type: integer
  8751. updatorsrc:
  8752. description: 更新人来源 - 1:管理端 2:终端
  8753. type: integer
  8754. wrstandardid:
  8755. description: 现货商品ID
  8756. type: integer
  8757. type: object
  8758. models.ErmcpHisExposure:
  8759. properties:
  8760. needhedgeexposoure:
  8761. description: 应套保敞口
  8762. type: number
  8763. reckondate:
  8764. description: 日照时期(yyyyMMdd)
  8765. type: string
  8766. totalexposure:
  8767. description: 总敞口
  8768. type: number
  8769. type: object
  8770. models.ErmcpLoginTaAccount:
  8771. properties:
  8772. accountid:
  8773. description: 账号id
  8774. type: integer
  8775. accountname:
  8776. description: 账号名称
  8777. type: string
  8778. type: object
  8779. models.ErmcpLoginUser:
  8780. properties:
  8781. acclist:
  8782. description: 关联资金账号
  8783. items:
  8784. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  8785. type: array
  8786. accountname:
  8787. description: 用户名称
  8788. type: string
  8789. clientroleid:
  8790. description: 角色id(usertype=2)
  8791. type: integer
  8792. createtime:
  8793. description: 创建时间
  8794. type: string
  8795. logincode:
  8796. description: 登录代码
  8797. type: string
  8798. loginid:
  8799. description: 登录id(LOGINID)
  8800. type: integer
  8801. loginname:
  8802. description: 登录名称(loginaccount表中的accountname字段)
  8803. type: string
  8804. loginstatus:
  8805. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  8806. type: integer
  8807. memberuserid:
  8808. description: 所属会员id
  8809. type: integer
  8810. mobile:
  8811. description: 手机号
  8812. type: string
  8813. modifytime:
  8814. description: 修改时间
  8815. type: string
  8816. password:
  8817. description: 密码(不可解密)
  8818. type: string
  8819. rolename:
  8820. description: 角色名称
  8821. type: string
  8822. rolestatus:
  8823. description: 角色状态 1-启用 2-停用
  8824. type: integer
  8825. roletype:
  8826. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  8827. type: string
  8828. userid:
  8829. description: 用户id
  8830. type: integer
  8831. usertype:
  8832. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  8833. type: integer
  8834. type: object
  8835. models.ErmcpLoginUserEx:
  8836. properties:
  8837. accountstatus:
  8838. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  8839. type: integer
  8840. mobile:
  8841. description: 手机号
  8842. type: string
  8843. querytype:
  8844. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  8845. type: integer
  8846. roleid:
  8847. description: 角色id(交易账户->用户id)
  8848. type: integer
  8849. rolename:
  8850. description: 角色名称(交易账户->用户名称)
  8851. type: string
  8852. userlist:
  8853. description: 用户列表
  8854. items:
  8855. $ref: '#/definitions/models.ErmcpLoginUser'
  8856. type: array
  8857. usertype:
  8858. description: 用户类型 2-机构 7-企业成员(云平台)
  8859. type: integer
  8860. type: object
  8861. models.ErmcpMiddleGoodsModel:
  8862. properties:
  8863. areauserid:
  8864. description: 机构用户ID
  8865. type: integer
  8866. createtime:
  8867. description: 修改时间
  8868. type: string
  8869. enumdicname:
  8870. description: 单位名称
  8871. type: string
  8872. evaluateratio:
  8873. description: 估价系数
  8874. type: number
  8875. goodsgroupid:
  8876. description: 关联期货品种ID
  8877. type: integer
  8878. goodsunitid:
  8879. description: 单位ID
  8880. type: integer
  8881. isvalid:
  8882. description: 状态 0-无效(停用) 1-有效(正常)
  8883. type: integer
  8884. middlegoodscode:
  8885. description: 套保品种代码
  8886. type: string
  8887. middlegoodsid:
  8888. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  8889. type: integer
  8890. middlegoodsname:
  8891. description: 套保品种名称
  8892. type: string
  8893. modifytime:
  8894. description: 修改时间
  8895. type: string
  8896. needarbitrageratio:
  8897. description: 套利比例
  8898. type: number
  8899. needhedgeratio:
  8900. description: 套保比率
  8901. type: number
  8902. qtydecimalplace:
  8903. description: 数量小数位
  8904. type: integer
  8905. relatedgoodsid:
  8906. description: 关联交易商品ID
  8907. type: integer
  8908. relatedgoodstype:
  8909. description: 关联商品类型 - 1:期货合约 2:现货品种
  8910. type: integer
  8911. remark:
  8912. description: 备注
  8913. type: string
  8914. type: object
  8915. models.ErmcpMiddlegoodsRelateGoods:
  8916. properties:
  8917. agreeunit:
  8918. description: 合约乘数
  8919. type: number
  8920. convertratio:
  8921. description: 折算系数
  8922. type: number
  8923. enumdicname:
  8924. description: 单位名称(交易商品)
  8925. type: string
  8926. goodscode:
  8927. description: 交易商品代码
  8928. type: string
  8929. goodsgroupid:
  8930. description: 交易品种id
  8931. type: integer
  8932. goodsid:
  8933. description: 商品Id
  8934. type: integer
  8935. goodsname:
  8936. description: 交易商品名称
  8937. type: string
  8938. goodunitid:
  8939. description: 交易商品单位id
  8940. type: integer
  8941. middlegoodsid:
  8942. description: 套保商品id
  8943. type: integer
  8944. middlegoodsname:
  8945. description: 套保商品名称
  8946. type: string
  8947. middlegoodsswcode:
  8948. description: 套保商品代码
  8949. type: string
  8950. needarbitrageratio:
  8951. description: 应套利比例
  8952. type: number
  8953. needhedgeratio:
  8954. description: 应套保比例
  8955. type: number
  8956. type: object
  8957. models.ErmcpRole:
  8958. properties:
  8959. areauserid:
  8960. description: 所属机构
  8961. type: integer
  8962. autoid:
  8963. description: 角色ID(自增ID)
  8964. type: integer
  8965. modifierid:
  8966. description: 修改人(创建人)
  8967. type: integer
  8968. modifiername:
  8969. description: 修改人名称
  8970. type: string
  8971. modifytime:
  8972. description: 修改时间(创建时间)
  8973. type: string
  8974. rolename:
  8975. description: 角色名称
  8976. type: string
  8977. rolestatus:
  8978. description: 角色状态 - 1:启用 2:停用
  8979. type: integer
  8980. roletype:
  8981. description: 角色类型 - 1- 管理端 2- 交易端
  8982. type: integer
  8983. type: object
  8984. models.ErmcpRoleMenu:
  8985. properties:
  8986. iconame:
  8987. description: 菜单图标
  8988. type: string
  8989. ishadrole:
  8990. description: 是否有权限
  8991. type: boolean
  8992. menutype:
  8993. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  8994. type: integer
  8995. parentcode:
  8996. description: 上级资源代码
  8997. type: string
  8998. remark:
  8999. description: 菜单备注
  9000. type: string
  9001. resourcecode:
  9002. description: 菜单代码
  9003. type: string
  9004. resourcelevel:
  9005. description: 级别
  9006. type: integer
  9007. resourcename:
  9008. description: 菜单名称
  9009. type: string
  9010. roleid:
  9011. description: 角色id
  9012. type: integer
  9013. sort:
  9014. description: 排序
  9015. type: integer
  9016. url:
  9017. description: URL
  9018. type: string
  9019. userid:
  9020. description: 用户id
  9021. type: integer
  9022. type: object
  9023. models.ErmcpRoleMenuEx:
  9024. properties:
  9025. menu:
  9026. $ref: '#/definitions/models.ErmcpRoleMenu'
  9027. description: 父级菜单
  9028. subMenu:
  9029. description: 子级菜单
  9030. items:
  9031. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  9032. type: array
  9033. type: object
  9034. models.ErmcpSpotContractModelEx:
  9035. properties:
  9036. accountname:
  9037. description: 套期主体
  9038. type: string
  9039. amount:
  9040. description: 金额 [1:一口价、3:暂定价]
  9041. type: number
  9042. attachment:
  9043. description: 附件
  9044. type: string
  9045. auditremark:
  9046. description: 审核意见
  9047. type: string
  9048. audittime:
  9049. description: 审核时间
  9050. type: string
  9051. avgprice:
  9052. description: 定价均价 = 已定价金额 / 已定价量
  9053. type: number
  9054. brandname:
  9055. description: 品牌名称
  9056. type: string
  9057. buyuserid:
  9058. description: 采购方ID
  9059. type: integer
  9060. buyusername:
  9061. description: 采购方名称
  9062. type: string
  9063. contracctstatus:
  9064. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9065. type: integer
  9066. contractmargin:
  9067. description: 合同保证金
  9068. type: number
  9069. contractno:
  9070. description: '[合同编号]现货合同编号'
  9071. type: string
  9072. contracttype:
  9073. description: '[合同类型]现货合同类型 - 1:采购 -1:销售'
  9074. type: integer
  9075. convertfactor:
  9076. description: 标仓系数
  9077. type: number
  9078. createtime:
  9079. description: 创建时间
  9080. type: string
  9081. customername:
  9082. description: 对手方
  9083. type: string
  9084. customeruserid:
  9085. description: 客户ID
  9086. type: integer
  9087. deliveryenddate:
  9088. description: 交收期(结束)
  9089. type: string
  9090. deliverygoodscode:
  9091. description: 现货品种代码
  9092. type: string
  9093. deliverygoodsid:
  9094. description: 现货品种ID
  9095. type: integer
  9096. deliverygoodsname:
  9097. description: 现货品种名称
  9098. type: string
  9099. deliverystartdate:
  9100. description: 交收期(开始)
  9101. type: string
  9102. enddate:
  9103. description: 点价结束日期 [2:点价 3:暂定价]
  9104. type: string
  9105. enumdicname:
  9106. description: 单位名称
  9107. type: string
  9108. goodscode:
  9109. description: 点价合约代码
  9110. type: string
  9111. goodsid:
  9112. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  9113. type: integer
  9114. goodsname:
  9115. description: 点价商品名称
  9116. type: string
  9117. isrelated:
  9118. description: 是否已关联计划项目 - 0:否 1:是
  9119. type: integer
  9120. isrelated2:
  9121. description: 是否已关联现货项目 - 0:否 1:是
  9122. type: integer
  9123. margin:
  9124. description: 当前保证金
  9125. type: number
  9126. modelname:
  9127. description: 型号名称
  9128. type: string
  9129. price:
  9130. description: 价格\暂定价 [1:一口价、3:暂定价]
  9131. type: number
  9132. pricedamount:
  9133. description: 已定价金额 = (点价价格+升贴水) * 数量
  9134. type: number
  9135. pricedqty:
  9136. description: 已定价量
  9137. type: number
  9138. pricemove:
  9139. description: 升贴水 [2:点价 3:暂定价]
  9140. type: number
  9141. pricetype:
  9142. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  9143. type: integer
  9144. producttype:
  9145. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  9146. type: integer
  9147. qty:
  9148. description: '[合同数量]数量'
  9149. type: number
  9150. remark:
  9151. description: 备注
  9152. type: string
  9153. selluserid:
  9154. description: 销售方ID
  9155. type: integer
  9156. sellusername:
  9157. description: 销售方名称
  9158. type: string
  9159. spotamount:
  9160. description: 合同现货金额 [不含升贴水]
  9161. type: number
  9162. spotavgprice:
  9163. description: 现货均价 = 合同现货金额 / 已定价量
  9164. type: number
  9165. spotcontractid:
  9166. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  9167. type: string
  9168. spotgoodsbrandid:
  9169. description: 现货品牌ID
  9170. type: integer
  9171. spotgoodsdesc:
  9172. description: 商品型号
  9173. type: string
  9174. spotgoodsmodelid:
  9175. description: 现货型号ID
  9176. type: integer
  9177. startdate:
  9178. description: 点价开始日期 [2:点价 3:暂定价]
  9179. type: string
  9180. tradeuserid:
  9181. description: 交易用户ID
  9182. type: integer
  9183. unpricedqty:
  9184. description: 未定价量 = 合同数量 - 已定价量
  9185. type: number
  9186. updatetime:
  9187. description: 更新时间
  9188. type: string
  9189. userid:
  9190. description: 机构ID
  9191. type: integer
  9192. wrstandardcode:
  9193. description: 现货商品代码
  9194. type: string
  9195. wrstandardid:
  9196. description: 现货商品ID
  9197. type: integer
  9198. wrstandardname:
  9199. description: '[现货商品]现货商品名称'
  9200. type: string
  9201. type: object
  9202. models.ErmcpTaAccount:
  9203. properties:
  9204. accountid:
  9205. description: 账户id
  9206. type: integer
  9207. accountname:
  9208. description: 账户名称
  9209. type: string
  9210. currencyid:
  9211. description: 币种id
  9212. type: integer
  9213. hedgeaccountcode:
  9214. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9215. type: string
  9216. ismain:
  9217. description: 是否主账户 0-否 1-是
  9218. type: integer
  9219. parentaccountid:
  9220. description: 父账户id
  9221. type: integer
  9222. relateduserid:
  9223. description: 关联userid
  9224. type: integer
  9225. tradefeetmpid:
  9226. description: 手续费模板id
  9227. type: integer
  9228. tradefeetmpname:
  9229. description: 手续费模板名称
  9230. type: string
  9231. trademargintmpid:
  9232. description: 保证金模板id
  9233. type: integer
  9234. trademargintmpname:
  9235. description: 保证金模板名称
  9236. type: string
  9237. traderatetmpid:
  9238. description: 汇率模板id
  9239. type: integer
  9240. traderatetmpname:
  9241. description: 汇率模板名称
  9242. type: string
  9243. tradestatus:
  9244. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9245. type: integer
  9246. userid:
  9247. description: 用户id
  9248. type: integer
  9249. type: object
  9250. models.ErmcpTaAccountEx:
  9251. properties:
  9252. mainAcc:
  9253. $ref: '#/definitions/models.ErmcpTaAccountM'
  9254. description: 主账号
  9255. subacclist:
  9256. description: 子账号列表
  9257. items:
  9258. $ref: '#/definitions/models.ErmcpTaAccount'
  9259. type: array
  9260. type: object
  9261. models.ErmcpTaAccountInfo:
  9262. properties:
  9263. accountid:
  9264. description: 资金账户ID
  9265. type: integer
  9266. accountname:
  9267. description: 账户名称
  9268. type: string
  9269. balance:
  9270. description: 期初余额
  9271. type: number
  9272. capitalbalance:
  9273. description: 本金余额[外部子账户实际出入金余额]
  9274. type: number
  9275. closepl:
  9276. description: 今日平仓盈亏
  9277. type: number
  9278. creditdecrease:
  9279. description: 今日授信减少
  9280. type: number
  9281. creditincrease:
  9282. description: 今日授信增加
  9283. type: number
  9284. curdebt:
  9285. description: 期末欠款
  9286. type: number
  9287. currencyid:
  9288. description: 货币ID
  9289. type: integer
  9290. currentbalance:
  9291. description: 期末余额
  9292. type: number
  9293. freezecharge:
  9294. description: 手续费冻结
  9295. type: number
  9296. freezemargin:
  9297. description: 冻结保证金
  9298. type: number
  9299. fromaccountid:
  9300. description: 所属上级账户
  9301. type: integer
  9302. inamount:
  9303. description: 今日入金金额(包括三方入金)
  9304. type: number
  9305. ismain:
  9306. description: 是否母账号 0:不是母账户 1:是母账户
  9307. type: integer
  9308. mortgagecredit:
  9309. description: 授信金额
  9310. type: number
  9311. oridebt:
  9312. description: 期初欠款
  9313. type: number
  9314. orifreezecharge:
  9315. description: 期初手续费冻结
  9316. type: number
  9317. orifreezemargin:
  9318. description: 期初冻结保证金
  9319. type: number
  9320. orimortgagecredit:
  9321. description: 期初授信金额
  9322. type: number
  9323. oriothercredit:
  9324. description: 期初其它授信金额
  9325. type: number
  9326. oriotherfreezemargin:
  9327. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9328. type: number
  9329. orioutamountfreeze:
  9330. description: 期初出金冻结
  9331. type: number
  9332. oriusedmargin:
  9333. description: 期初占用保证金
  9334. type: number
  9335. othercredit:
  9336. description: 其它授信金额
  9337. type: number
  9338. othercreditdecrease:
  9339. description: 今日其它授信减少
  9340. type: number
  9341. othercreditincrease:
  9342. description: 今日其它授信增加
  9343. type: number
  9344. otherfreezemargin:
  9345. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9346. type: number
  9347. outamount:
  9348. description: 今日出金金额(包括三方出金)
  9349. type: number
  9350. outamountfreeze:
  9351. description: 出金冻结
  9352. type: number
  9353. outthreshold:
  9354. description: 出金阈值
  9355. type: number
  9356. parentaccountid:
  9357. description: 所属根账号
  9358. type: integer
  9359. paycharge:
  9360. description: 今日手续费支出
  9361. type: number
  9362. relateduserid:
  9363. description: 关联用户
  9364. type: integer
  9365. signstatus:
  9366. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9367. type: integer
  9368. sublevelpath:
  9369. description: 账号层级路径(逗号分隔,首尾加逗号)
  9370. type: string
  9371. taaccounttype:
  9372. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9373. type: integer
  9374. thirdinamount:
  9375. description: 今日三方入金
  9376. type: number
  9377. thirdoutamount:
  9378. description: 今日三方出金
  9379. type: number
  9380. tradestatus:
  9381. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9382. type: integer
  9383. transferamount:
  9384. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9385. type: number
  9386. usedmargin:
  9387. description: 占用保证金
  9388. type: number
  9389. userid:
  9390. description: 用户ID
  9391. type: integer
  9392. type: object
  9393. models.ErmcpTaAccountM:
  9394. properties:
  9395. accountid:
  9396. description: 账户id
  9397. type: integer
  9398. accountname:
  9399. description: 账户名称
  9400. type: string
  9401. currencyid:
  9402. description: 币种id
  9403. type: integer
  9404. fcid:
  9405. description: 期货公司id
  9406. type: integer
  9407. fcname:
  9408. description: 期货公司代码
  9409. type: string
  9410. hedgeaccountcode:
  9411. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  9412. type: string
  9413. ismain:
  9414. description: 是否主账户 0-否 1-是
  9415. type: integer
  9416. parentaccountid:
  9417. description: 父账户id
  9418. type: integer
  9419. relateduserid:
  9420. description: 关联userid
  9421. type: integer
  9422. tradefeetmpid:
  9423. description: 手续费模板id
  9424. type: integer
  9425. tradefeetmpname:
  9426. description: 手续费模板名称
  9427. type: string
  9428. trademargintmpid:
  9429. description: 保证金模板id
  9430. type: integer
  9431. trademargintmpname:
  9432. description: 保证金模板名称
  9433. type: string
  9434. traderatetmpid:
  9435. description: 汇率模板id
  9436. type: integer
  9437. traderatetmpname:
  9438. description: 汇率模板名称
  9439. type: string
  9440. tradestatus:
  9441. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9442. type: integer
  9443. userid:
  9444. description: 用户id
  9445. type: integer
  9446. type: object
  9447. models.ErmcpTradeConfigTMP:
  9448. properties:
  9449. areauserid:
  9450. description: 所属机构
  9451. type: integer
  9452. basiccurrencyid:
  9453. description: 基本币种ID[汇率] - 目标币种
  9454. type: integer
  9455. mainaccountid:
  9456. description: 主账户ID
  9457. type: integer
  9458. modifierid:
  9459. description: 修改人
  9460. type: integer
  9461. remark:
  9462. description: 备注
  9463. type: string
  9464. tradeconfigtmpid:
  9465. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  9466. type: integer
  9467. tradeconfigtmpname:
  9468. description: 交易配置模板名称
  9469. type: string
  9470. tradeconfigtmptype:
  9471. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  9472. type: integer
  9473. updatetime:
  9474. description: 更新时间
  9475. type: string
  9476. type: object
  9477. models.Ermcpjrlinkpos:
  9478. properties:
  9479. areauserid:
  9480. description: 所属企业
  9481. type: integer
  9482. averageprice:
  9483. description: 持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty
  9484. type: number
  9485. closepl:
  9486. description: 总平仓盈亏 [期货损益]
  9487. type: number
  9488. executeprice:
  9489. description: 执行价 - 1:期货单 为 0
  9490. type: integer
  9491. futurehedgeqty:
  9492. description: 期货套期量
  9493. type: number
  9494. goodsid:
  9495. description: 期货合约
  9496. type: integer
  9497. middlegoodscode:
  9498. description: 套保商品代码
  9499. type: string
  9500. middlegoodsname:
  9501. description: 套保商品名称
  9502. type: string
  9503. netqty:
  9504. description: 净头寸
  9505. type: number
  9506. optioncode:
  9507. description: 期权代码
  9508. type: string
  9509. ordertype:
  9510. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9511. type: integer
  9512. reckonpl:
  9513. description: 总盈亏(平仓盈亏 + 结算盈亏 - 手续费)
  9514. type: number
  9515. spotcontractid:
  9516. description: 现货ID [套期项目ID - 金瑞:合同\虚拟合同ID
  9517. type: string
  9518. todayfutureclosepl:
  9519. description: 今日平仓盈亏
  9520. type: number
  9521. totalbuyamount:
  9522. description: 买金额 [期货]
  9523. type: number
  9524. totalbuyholdamount:
  9525. description: 买持仓总金额[期货]
  9526. type: number
  9527. totalbuyqty:
  9528. description: 买数量
  9529. type: number
  9530. totalcharge:
  9531. description: 手续费
  9532. type: number
  9533. totalpremium:
  9534. description: 权利金 [期权]
  9535. type: number
  9536. totalsellamount:
  9537. description: 卖金额 [期货]
  9538. type: number
  9539. totalsellholdamount:
  9540. description: 卖持仓总金额[期货]
  9541. type: number
  9542. totalsellqty:
  9543. description: 卖数量
  9544. type: number
  9545. updatetime:
  9546. description: 更新时间
  9547. type: string
  9548. required:
  9549. - spotcontractid
  9550. type: object
  9551. models.Ermcppatradelinkdetail:
  9552. properties:
  9553. agreeunit:
  9554. description: 合约乘数
  9555. type: number
  9556. amount:
  9557. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  9558. type: number
  9559. areauserid:
  9560. description: 所属机构
  9561. type: integer
  9562. bizsubjectid:
  9563. description: 归属业务部门ID - SubjectID
  9564. type: integer
  9565. buyorsell:
  9566. description: 方向 - 0:买 1:卖
  9567. type: integer
  9568. convertratio:
  9569. description: 品种系数
  9570. type: number
  9571. createtime:
  9572. description: 创建时间
  9573. type: string
  9574. creatorid:
  9575. description: 创建人ID
  9576. type: integer
  9577. creatorsrc:
  9578. description: 创建人来源 - 1:管理端 2:终端 3:交易
  9579. type: integer
  9580. goodsgroupid:
  9581. description: 对冲品种ID[期货合约商品组ID]
  9582. type: integer
  9583. goodsid:
  9584. description: 商品ID
  9585. type: integer
  9586. hedgeditemid:
  9587. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  9588. type: integer
  9589. hedgeflag:
  9590. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  9591. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  9592. type: integer
  9593. linkdetailid:
  9594. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  9595. type: string
  9596. linkstatus:
  9597. description: 关联状态 - 1:成功 2:失败 3:解绑
  9598. type: integer
  9599. middlegoodsid:
  9600. description: 套保品种ID
  9601. type: integer
  9602. name:
  9603. description: 账户名/子账户
  9604. type: string
  9605. optioncode:
  9606. description: '[期货合约]期权代码 [期权]'
  9607. type: string
  9608. ordertype:
  9609. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  9610. type: integer
  9611. relatedlot:
  9612. description: '[数量]关联手数'
  9613. type: number
  9614. relatedmode:
  9615. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  9616. type: integer
  9617. relatedqty:
  9618. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  9619. type: number
  9620. retcode:
  9621. description: 返回码
  9622. type: integer
  9623. saleuserid:
  9624. description: 业务员ID
  9625. type: integer
  9626. tradedate:
  9627. description: 关联交易日(yyyyMMdd)
  9628. type: string
  9629. tradeid:
  9630. description: '[成交单号]内部成交单ID'
  9631. type: string
  9632. tradelot:
  9633. description: 成交手数
  9634. type: integer
  9635. tradeprice:
  9636. description: '[价格]成交价格'
  9637. type: number
  9638. tradetime:
  9639. description: 日期时间
  9640. type: string
  9641. tradetradedate:
  9642. description: 成交交易日(yyyyMMdd)
  9643. type: string
  9644. required:
  9645. - hedgeditemid
  9646. type: object
  9647. models.Exchangerateconfig:
  9648. properties:
  9649. descurrencyid:
  9650. description: 目标币种ID
  9651. type: integer
  9652. exchangerate:
  9653. description: 汇率
  9654. type: number
  9655. oricurrencyid:
  9656. description: 源币种ID
  9657. type: integer
  9658. remark:
  9659. description: 备注
  9660. type: string
  9661. type: object
  9662. models.Externalexchange:
  9663. properties:
  9664. autoid:
  9665. description: AutoID - SEQ_EXTERNALEXCHANGE
  9666. type: integer
  9667. exchangefullname:
  9668. description: 外部交易所全称
  9669. type: string
  9670. exexchangecode:
  9671. description: 外部交易所代码
  9672. type: string
  9673. exexchangename:
  9674. description: 外部交易所名称(简称)
  9675. type: string
  9676. ismarketprice:
  9677. description: 是否支持市价 - 0:不支持 1:支持
  9678. type: integer
  9679. quotegear:
  9680. description: 行情档位(1-10)
  9681. type: integer
  9682. showbrokerflag:
  9683. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  9684. type: integer
  9685. updatetime:
  9686. description: 更新时间
  9687. type: string
  9688. required:
  9689. - autoid
  9690. type: object
  9691. models.Funcmenulist:
  9692. properties:
  9693. iconame:
  9694. description: 菜单图标
  9695. type: string
  9696. menutype:
  9697. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  9698. type: integer
  9699. parentcode:
  9700. description: 上级资源代码
  9701. type: string
  9702. remark:
  9703. description: 备注
  9704. type: string
  9705. resourcecode:
  9706. description: 资源代码
  9707. type: string
  9708. resourcelevel:
  9709. description: 级别 1-一级 2-二级 3-三级 4-四级
  9710. type: integer
  9711. resourcename:
  9712. description: 资源名
  9713. type: string
  9714. sort:
  9715. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  9716. type: integer
  9717. url:
  9718. description: URL
  9719. type: string
  9720. required:
  9721. - resourcecode
  9722. type: object
  9723. models.Fworderoperate:
  9724. properties:
  9725. advanceamount:
  9726. description: 总预付款
  9727. type: number
  9728. advanceproofaddr:
  9729. description: 预付款收款凭证(确认结算费用时)
  9730. type: string
  9731. bankfee:
  9732. description: 汇款银行手续费
  9733. type: number
  9734. bankproofaddr:
  9735. description: 广钻汇款银行手续费凭证(确认结算费用时)
  9736. type: string
  9737. customsproofaddr:
  9738. description: 海关税费保证金收据(确认结算费用时)
  9739. type: string
  9740. logisticsfee:
  9741. description: 代缴物流保险费
  9742. type: number
  9743. logisticsproofaddr:
  9744. description: 代缴物流保险费凭证(确认结算费用时)
  9745. type: string
  9746. operatetime:
  9747. description: 操作时间
  9748. type: string
  9749. operatoraccount:
  9750. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  9751. type: string
  9752. operatorid:
  9753. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  9754. type: integer
  9755. operatorname:
  9756. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  9757. type: string
  9758. operatorsrc:
  9759. description: 操作人来源 - 1:管理端 2:终端
  9760. type: integer
  9761. orderid:
  9762. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  9763. type: string
  9764. otherfee:
  9765. description: 其它费用
  9766. type: number
  9767. remark:
  9768. description: 操作备注
  9769. type: string
  9770. servicefee:
  9771. description: 综合服务费
  9772. type: number
  9773. settleamount:
  9774. description: 总结算费用 - 实际扣除资金,不含税费保证金
  9775. type: number
  9776. status:
  9777. description: 操作后单据状态 - 枚举"GZBSStatus"
  9778. type: integer
  9779. taxmargin:
  9780. description: 税费保证金
  9781. type: number
  9782. totalfee:
  9783. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  9784. type: number
  9785. required:
  9786. - orderid
  9787. - status
  9788. type: object
  9789. models.GErmcpspotgoodsprice:
  9790. properties:
  9791. chg:
  9792. description: 涨跌幅
  9793. type: number
  9794. currencyid:
  9795. description: 报价货币ID
  9796. type: integer
  9797. deliverygoodsid:
  9798. description: 现货品种ID
  9799. type: integer
  9800. prespotgoodsprice:
  9801. description: 上日价格
  9802. type: number
  9803. spotgoodsbrandid:
  9804. description: 现货品牌ID(通用则为0, 不为0则须先有商品ID)
  9805. type: integer
  9806. spotgoodsprice:
  9807. description: 【最新价】当前价格
  9808. type: number
  9809. srcmarketname:
  9810. description: 来源市场名称
  9811. type: string
  9812. todaypricedtotalamount:
  9813. description: 今日定价金额
  9814. type: number
  9815. todaypricedtotalqty:
  9816. description: 今日定价总量
  9817. type: number
  9818. todayspotgoodsprice:
  9819. description: 今日指定价
  9820. type: number
  9821. tradedate:
  9822. description: 【日期】交易日
  9823. type: string
  9824. wrstandardcode:
  9825. description: 现货商品代码
  9826. type: string
  9827. wrstandardid:
  9828. description: 现货商品ID(通用则为0)
  9829. type: integer
  9830. wrstandardname:
  9831. description: 【名称】现货商品名称
  9832. type: string
  9833. ystspotgoodsprice:
  9834. description: 昨价
  9835. type: number
  9836. type: object
  9837. models.GThjuserscorelog:
  9838. properties:
  9839. createtime:
  9840. description: 记账时间
  9841. type: string
  9842. redpacketvalue:
  9843. description: 红包值【抽奖】
  9844. type: number
  9845. score:
  9846. description: 变动积分
  9847. type: number
  9848. scoreconfigtype:
  9849. description: 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分
  9850. 7:抽奖配置
  9851. type: integer
  9852. stype:
  9853. description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  9854. 6:自己供求下单积分 7:抽奖配置'
  9855. type: string
  9856. type: object
  9857. models.GZGoods:
  9858. properties:
  9859. address:
  9860. description: 详细地址
  9861. type: string
  9862. cerno:
  9863. description: 证书编号 - 类型:2,4,5
  9864. type: string
  9865. cityname:
  9866. description: 城市名称
  9867. type: string
  9868. countryname:
  9869. description: 国家名称
  9870. type: string
  9871. cpcertno:
  9872. description: 金伯利证书编号 - 类型:3
  9873. type: string
  9874. districtname:
  9875. description: 地区名称
  9876. type: string
  9877. goodsno:
  9878. description: 商品编号
  9879. type: string
  9880. imagepath:
  9881. description: 商品照片(相对地址)
  9882. type: string
  9883. isvalid:
  9884. description: 是否有效 - 0:无效 1:有效
  9885. type: integer
  9886. kppath:
  9887. description: 金伯利证书图片(相对地址) - 类型:3
  9888. type: string
  9889. kpweight:
  9890. description: 金伯利证书重量 - 类型:3
  9891. type: string
  9892. marketprice:
  9893. description: 市场价
  9894. type: string
  9895. mobile:
  9896. description: 手机号码
  9897. type: string
  9898. origin:
  9899. description: 原产地 - 类型:3
  9900. type: string
  9901. performancetemplateid:
  9902. description: 履约计划模板ID
  9903. type: integer
  9904. price:
  9905. description: 总价(价格) - 类型:1,2,3,4,5
  9906. type: number
  9907. priceper:
  9908. description: 克拉单价 - 类型:1,2,3,5
  9909. type: string
  9910. provincename:
  9911. description: 省名称
  9912. type: string
  9913. remainqty:
  9914. description: 剩余重量
  9915. type: number
  9916. remark:
  9917. description: 备注
  9918. type: string
  9919. sellusername:
  9920. description: 账户名称(机构名称)
  9921. type: string
  9922. settingmaterial:
  9923. description: 镶嵌材料 - 类型:4
  9924. type: string
  9925. size1:
  9926. description: 尺寸1 - 类型:2,4,5
  9927. type: string
  9928. size2:
  9929. description: 尺寸2 - 类型:2,4,5
  9930. type: string
  9931. size3:
  9932. description: 尺寸3 - 类型:2,4,5
  9933. type: string
  9934. sizedisplay:
  9935. description: 尺寸
  9936. type: string
  9937. stonedesc:
  9938. description: 配石描述 - 类型:4
  9939. type: string
  9940. userid:
  9941. description: 用户ID
  9942. type: integer
  9943. warehouseid:
  9944. description: 仓库ID
  9945. type: integer
  9946. warehousenamedisplay:
  9947. type: string
  9948. weight:
  9949. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  9950. type: number
  9951. weightavg:
  9952. description: 平均单颗重量 - 类型:1,3
  9953. type: number
  9954. wrpath:
  9955. description: 仓单扫描件(相对地址)
  9956. type: string
  9957. wrstandardid:
  9958. description: 现货商品ID
  9959. type: integer
  9960. wrtradeorderid:
  9961. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  9962. type: string
  9963. zscategory:
  9964. description: 钻石分类 - 枚举”ZSCategory“
  9965. type: integer
  9966. zscategorydisplay:
  9967. type: string
  9968. zscerttype:
  9969. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  9970. type: integer
  9971. zscerttypedisplay:
  9972. type: string
  9973. zsclaritytype1:
  9974. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  9975. type: integer
  9976. zsclaritytype1display:
  9977. type: string
  9978. zsclaritytype2:
  9979. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  9980. type: integer
  9981. zsclaritytype2display:
  9982. type: string
  9983. zscolortype1:
  9984. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  9985. type: integer
  9986. zscolortype1display:
  9987. type: string
  9988. zscolortype2:
  9989. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  9990. type: integer
  9991. zscolortype2display:
  9992. type: string
  9993. zscrystaltype:
  9994. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  9995. type: string
  9996. zscrystaltypedisplay:
  9997. type: string
  9998. zscurrencytype:
  9999. description: 货币类型 - 枚举“ZSCurrencyType”
  10000. type: integer
  10001. zscurrencytypedisplay:
  10002. type: string
  10003. zscurrencytypedisplayunit:
  10004. type: string
  10005. zscuttype1:
  10006. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  10007. type: integer
  10008. zscuttype1display:
  10009. type: string
  10010. zscuttype2:
  10011. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  10012. type: integer
  10013. zscuttype2display:
  10014. type: string
  10015. zsczcolor1type:
  10016. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  10017. type: integer
  10018. zsczcolor1typedisplay:
  10019. type: string
  10020. zsczcolor2type:
  10021. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  10022. type: integer
  10023. zsczcolor2typedisplay:
  10024. type: string
  10025. zsczcolor3type:
  10026. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  10027. type: integer
  10028. zsczcolor3typedisplay:
  10029. type: string
  10030. zsfluorescencetype1:
  10031. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  10032. type: integer
  10033. zsfluorescencetype1display:
  10034. type: string
  10035. zsfluorescencetype2:
  10036. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  10037. type: integer
  10038. zsfluorescencetype2display:
  10039. type: string
  10040. zspolishtype1:
  10041. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  10042. type: integer
  10043. zspolishtype1display:
  10044. type: string
  10045. zspolishtype2:
  10046. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  10047. type: integer
  10048. zspolishtype2display:
  10049. type: string
  10050. zsshapetype:
  10051. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  10052. type: string
  10053. zsshapetypedisplay:
  10054. type: string
  10055. zsstyletype:
  10056. description: 款式 - 类型:4
  10057. type: integer
  10058. zsstyletypedisplay:
  10059. type: string
  10060. zssymmetrytype1:
  10061. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  10062. type: integer
  10063. zssymmetrytype1display:
  10064. type: string
  10065. zssymmetrytype2:
  10066. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  10067. type: integer
  10068. zssymmetrytype2display:
  10069. type: string
  10070. required:
  10071. - goodsno
  10072. type: object
  10073. models.GZHomeData:
  10074. properties:
  10075. purchasedtransactions:
  10076. description: 已购买的交易
  10077. type: integer
  10078. transactioninpurchase:
  10079. description: 求购中的交易
  10080. type: integer
  10081. transactionsonsale:
  10082. description: 出售中的交易
  10083. type: integer
  10084. transactionssold:
  10085. description: 已卖出的交易
  10086. type: integer
  10087. unhandledmessage:
  10088. description: 未处理消息
  10089. type: integer
  10090. type: object
  10091. models.GZWarehouseinfo:
  10092. properties:
  10093. address:
  10094. description: 详细地址
  10095. type: string
  10096. areauserid:
  10097. description: 所属机构
  10098. type: integer
  10099. autoid:
  10100. description: 自增ID
  10101. type: integer
  10102. cityid:
  10103. description: 市
  10104. type: integer
  10105. cityname:
  10106. description: 城市名称
  10107. type: string
  10108. contactname:
  10109. description: 联系人
  10110. type: string
  10111. contactnum:
  10112. description: 联系电话
  10113. type: string
  10114. countryid:
  10115. description: 国家
  10116. type: integer
  10117. countryname:
  10118. description: 国家名称
  10119. type: string
  10120. createtime:
  10121. description: 创建时间
  10122. type: string
  10123. districtid:
  10124. description: 区
  10125. type: integer
  10126. districtname:
  10127. description: 地区名称
  10128. type: string
  10129. hasvideo:
  10130. description: 是否有视频 - 0:无 1:有
  10131. type: integer
  10132. provinceid:
  10133. description: 省
  10134. type: integer
  10135. provincename:
  10136. description: 省名称
  10137. type: string
  10138. remark:
  10139. description: 审核备注
  10140. type: string
  10141. videourl:
  10142. description: 视频地址
  10143. type: string
  10144. warehousecode:
  10145. description: 仓库代码
  10146. type: string
  10147. warehousename:
  10148. description: 仓库名称
  10149. type: string
  10150. warehousestatus:
  10151. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10152. type: integer
  10153. warehousetype:
  10154. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10155. type: integer
  10156. type: object
  10157. models.Goods:
  10158. properties:
  10159. agreeunit:
  10160. description: 合约单位
  10161. type: number
  10162. areauserid:
  10163. description: 所属机构
  10164. type: integer
  10165. auditaccountid:
  10166. description: 审核操作员账号
  10167. type: integer
  10168. audittime:
  10169. description: 审核时间
  10170. type: string
  10171. cancelaccountid:
  10172. description: 注销操作员账号
  10173. type: integer
  10174. canceltime:
  10175. description: 注销时间
  10176. type: string
  10177. closepricemode:
  10178. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10179. type: integer
  10180. closepriceparam:
  10181. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  10182. type: number
  10183. createtime:
  10184. description: 创建时间
  10185. type: string
  10186. creatorid:
  10187. description: 创建人
  10188. type: integer
  10189. currencyid:
  10190. description: 报价货币ID
  10191. type: integer
  10192. cutmode:
  10193. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  10194. type: integer
  10195. decimalplace:
  10196. description: 报价小数位
  10197. type: integer
  10198. delistingdate:
  10199. description: 商品退市时间(状态:退市) -- 已作废
  10200. type: string
  10201. delistingmode:
  10202. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  10203. type: integer
  10204. deliveryflag:
  10205. description: 交割标志 - 0:不可交割 1:可交割
  10206. type: integer
  10207. forceclosemode:
  10208. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  10209. type: integer
  10210. forceclosevalue:
  10211. description: 定期强平参数 [收益权]
  10212. type: integer
  10213. goodscode:
  10214. description: 商品代码(内部)
  10215. type: string
  10216. goodscurrencyid:
  10217. description: 合约货币ID
  10218. type: integer
  10219. goodsgroupid:
  10220. description: 所属商品组ID
  10221. type: integer
  10222. goodsid:
  10223. description: 商品ID(自增ID SEQ_GOODS)
  10224. type: integer
  10225. goodsname:
  10226. description: 商品名称
  10227. type: string
  10228. goodsquotetype:
  10229. description: '合约报价类型: 1-直接报价 2-间接报价'
  10230. type: integer
  10231. goodsstatus:
  10232. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  10233. type: integer
  10234. goodstradetype:
  10235. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  10236. type: integer
  10237. goodunitid:
  10238. description: 报价单位ID
  10239. type: integer
  10240. hasquoter:
  10241. description: 是否有报价商 - 0:无报价商 1:有报价商
  10242. type: integer
  10243. hqprotecttime:
  10244. description: 行情保护时间(秒)
  10245. type: integer
  10246. innerdealmode:
  10247. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10248. type: integer
  10249. isbuylimited:
  10250. description: 是否限制建仓量 - 0:不限制 1:限制
  10251. type: integer
  10252. isvisible:
  10253. description: 游客是否可见 - 0:不可见 1:可见
  10254. type: integer
  10255. lasttradedate:
  10256. description: 最后交易日期(状态:待退市)
  10257. type: string
  10258. listingdate:
  10259. description: 交易开始日期
  10260. type: string
  10261. marketid:
  10262. description: 所属市场ID
  10263. type: integer
  10264. modifierid:
  10265. description: 修改人
  10266. type: integer
  10267. modifystatus:
  10268. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  10269. type: integer
  10270. modifytime:
  10271. description: 修改时间
  10272. type: string
  10273. outerdealmode:
  10274. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10275. type: integer
  10276. outgoodscode:
  10277. description: 商品代码(外部)
  10278. type: string
  10279. pictureurl:
  10280. description: 商品图片
  10281. type: string
  10282. qtydecimalplace:
  10283. description: 成交量小数位
  10284. type: integer
  10285. quotegear:
  10286. description: 行情档位(1-10)
  10287. type: integer
  10288. quoteminunit:
  10289. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10290. type: integer
  10291. quoteshowtype:
  10292. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  10293. type: integer
  10294. quoteshowtypeinterval:
  10295. description: 行情报价间隔时间(秒)(成交价时为0)
  10296. type: integer
  10297. remark:
  10298. description: 备注
  10299. type: string
  10300. required:
  10301. - goodscode
  10302. - goodsid
  10303. - goodsname
  10304. - marketid
  10305. type: object
  10306. models.GoodsIDAndName:
  10307. properties:
  10308. goodscode:
  10309. description: 商品代码(内部)
  10310. type: string
  10311. goodsid:
  10312. description: 商品ID(自增ID SEQ_GOODS)
  10313. type: integer
  10314. goodsname:
  10315. description: 商品名称
  10316. type: string
  10317. marketid:
  10318. description: 所属市场ID
  10319. type: integer
  10320. required:
  10321. - goodscode
  10322. - goodsid
  10323. - goodsname
  10324. - marketid
  10325. type: object
  10326. models.Goodsgroup:
  10327. properties:
  10328. agreeunit:
  10329. description: 合约单位
  10330. type: number
  10331. canshort:
  10332. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  10333. type: integer
  10334. closepricemode:
  10335. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  10336. type: integer
  10337. closepriceparam:
  10338. description: 强平最新价浮动比例 - 方式为2时使用
  10339. type: number
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. currencyid:
  10347. description: 报价货币ID
  10348. type: integer
  10349. decimalplace:
  10350. description: 报价小数位
  10351. type: integer
  10352. exercisetype:
  10353. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  10354. type: integer
  10355. exexchangeid:
  10356. description: 外部交易所ID[通道交易]
  10357. type: integer
  10358. goodsgroupid:
  10359. description: 商品组ID(自增ID)
  10360. type: integer
  10361. goodsgroupname:
  10362. description: 商品组名称
  10363. type: string
  10364. goodsgroupstatus:
  10365. description: 商品组状态 - 1:正常 2:注销
  10366. type: integer
  10367. goodunitid:
  10368. description: 报价单位ID
  10369. type: integer
  10370. innerdealmode:
  10371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  10372. type: integer
  10373. isbuylimited:
  10374. description: 是否限制建仓量 - 0:不限制 1:限制
  10375. type: integer
  10376. marketid:
  10377. description: 所属市场ID
  10378. type: integer
  10379. modifierid:
  10380. description: 修改人
  10381. type: integer
  10382. modifytime:
  10383. description: 修改时间
  10384. type: string
  10385. outerdealmode:
  10386. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  10387. type: integer
  10388. outergroupcode:
  10389. description: 外部商品组代码[通道交易]
  10390. type: string
  10391. premiumdecimalplace:
  10392. description: 权利金小数位[场外期权]
  10393. type: integer
  10394. premiumspreadalgorithm:
  10395. description: 权利金点差方式[场外期权] 1:比率 2:固定
  10396. type: integer
  10397. premiumspreadvalue:
  10398. description: 权利金点差值[场外期权]
  10399. type: number
  10400. qtydecimalplace:
  10401. description: 成交量小数位
  10402. type: integer
  10403. quotegear:
  10404. description: 行情档位(1-10)
  10405. type: integer
  10406. quoteminunit:
  10407. description: 行情最小变动单位 [整数,报价小数位一起使用]
  10408. type: integer
  10409. quoterid:
  10410. description: 报价商ID[场外期权]
  10411. type: integer
  10412. quotesourcegroupid:
  10413. description: 所属行情源分组ID[参考行情市场用\通道交易]
  10414. type: integer
  10415. syncgoodsqty:
  10416. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  10417. type: integer
  10418. required:
  10419. - goodsgroupid
  10420. - goodsgroupname
  10421. - goodsgroupstatus
  10422. - marketid
  10423. type: object
  10424. models.Goodssortbypreposition:
  10425. properties:
  10426. goodscode:
  10427. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  10428. type: string
  10429. goodsgroupcode:
  10430. description: 品种代码
  10431. type: string
  10432. prepositionqty:
  10433. description: 昨持仓量
  10434. type: integer
  10435. sortindex:
  10436. description: 排序
  10437. type: integer
  10438. tradedate:
  10439. description: 交易日
  10440. type: string
  10441. updatetime:
  10442. description: 更新时间
  10443. type: string
  10444. required:
  10445. - goodscode
  10446. - tradedate
  10447. type: object
  10448. models.GzbsfworderM:
  10449. properties:
  10450. accountid:
  10451. description: 资金账户ID
  10452. type: integer
  10453. addresscn:
  10454. description: 地址(中文)
  10455. type: string
  10456. addressen:
  10457. description: 地址(英文)
  10458. type: string
  10459. advanceamount:
  10460. description: 总预付款
  10461. type: number
  10462. colorrange:
  10463. description: 颜色范围
  10464. type: string
  10465. companynamecn:
  10466. description: 收货人(中文)
  10467. type: string
  10468. companynameen:
  10469. description: 收货人(英文)
  10470. type: string
  10471. contactfax:
  10472. description: 收货人传真
  10473. type: string
  10474. contactname:
  10475. description: 收货人姓名
  10476. type: string
  10477. contactphoneno:
  10478. description: 收货人电话
  10479. type: string
  10480. contentrange:
  10481. description: 【内容】内容范围
  10482. type: string
  10483. createtime:
  10484. description: 创建时间
  10485. type: string
  10486. executestatus:
  10487. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10488. type: integer
  10489. gzbsdeliverytype:
  10490. description: 收货方式 - 枚举"GZBSDeliveryType"
  10491. type: integer
  10492. gzbsstatus:
  10493. description: 单据状态(保税服务) - 枚举"GZBSStatus"
  10494. type: integer
  10495. gzbsstatusdisplay:
  10496. description: 单据状态
  10497. type: string
  10498. handlestatus:
  10499. description: 处理状态
  10500. type: integer
  10501. orderdate:
  10502. description: 单据日期
  10503. type: string
  10504. orderid:
  10505. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10506. type: integer
  10507. orderno:
  10508. description: 单据编号 - GZDEBSFW+单据流水号
  10509. type: string
  10510. ordersn:
  10511. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10512. type: string
  10513. origincountry:
  10514. description: 原产国
  10515. type: string
  10516. otherlogistics:
  10517. description: 指定其它物流
  10518. type: string
  10519. priceper:
  10520. description: 单价(美元/克拉) = 总值(美元) / 总净重(克拉)
  10521. type: number
  10522. settleamount:
  10523. description: 总结算费用 - 实际扣除资金,不含税费保证金
  10524. type: number
  10525. shaperange:
  10526. description: 形状范围
  10527. type: string
  10528. taxmargin:
  10529. description: 税费保证金 - 确认结算费用时退回
  10530. type: number
  10531. totalamount:
  10532. description: 总值(美元)
  10533. type: number
  10534. totalgrossweightgm:
  10535. description: 总毛重(克)
  10536. type: number
  10537. totalnetweightgm:
  10538. description: 总净重(克)
  10539. type: number
  10540. totalnetweigthct:
  10541. description: 总净重(克拉)
  10542. type: number
  10543. totalnumber:
  10544. description: 总粒数
  10545. type: integer
  10546. userid:
  10547. description: 用户ID
  10548. type: integer
  10549. weightrange:
  10550. description: 重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)
  10551. type: string
  10552. required:
  10553. - userid
  10554. type: object
  10555. models.GzbsfworderdetailM:
  10556. properties:
  10557. colorinfo:
  10558. description: 彩钻信息
  10559. type: string
  10560. createtime:
  10561. description: 创建时间
  10562. type: string
  10563. grossweightgm:
  10564. description: 毛重(克)
  10565. type: number
  10566. gzcjshape:
  10567. description: 形状(字符)
  10568. type: string
  10569. netweigthct:
  10570. description: 净重(克拉)
  10571. type: number
  10572. netweigthgm:
  10573. description: 净重(克)
  10574. type: number
  10575. ordercontent:
  10576. description: 内容
  10577. type: string
  10578. orderdetailid:
  10579. description: 单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)
  10580. type: integer
  10581. orderid:
  10582. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10583. type: integer
  10584. orderindex:
  10585. description: 顺序
  10586. type: integer
  10587. perprice:
  10588. description: 单价(美元/克拉) = 总值(美元) / 净重(克拉)
  10589. type: number
  10590. remark:
  10591. description: 备注(其它)
  10592. type: string
  10593. totalamount:
  10594. description: 总值(美元)
  10595. type: number
  10596. type: object
  10597. models.Gzbsfworderoperate:
  10598. properties:
  10599. advanceproofaddr:
  10600. description: 预付款收款凭证(确认结算费用时)
  10601. type: string
  10602. bankfee:
  10603. description: 汇款银行手续费
  10604. type: number
  10605. bankproofaddr:
  10606. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10607. type: string
  10608. customsproofaddr:
  10609. description: 海关税费保证金收据(确认结算费用时)
  10610. type: string
  10611. gzbsstatus:
  10612. description: 操作后单据状态 - 枚举"GZBSStatus"
  10613. type: integer
  10614. logisticsfee:
  10615. description: 代缴物流保险费
  10616. type: number
  10617. logisticsproofaddr:
  10618. description: 代缴物流保险费凭证(确认结算费用时)
  10619. type: string
  10620. operatetime:
  10621. description: 操作时间
  10622. type: string
  10623. operatoraccount:
  10624. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10625. type: string
  10626. operatorid:
  10627. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10628. type: integer
  10629. operatorname:
  10630. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10631. type: string
  10632. operatorsrc:
  10633. description: 操作人来源 - 1:管理端 2:终端
  10634. type: integer
  10635. orderid:
  10636. description: 单据ID(804+Unix秒时间戳(10位)+xxxxxx)
  10637. type: integer
  10638. otherfee:
  10639. description: 其它费用
  10640. type: number
  10641. remark:
  10642. description: 操作备注
  10643. type: string
  10644. servicefee:
  10645. description: 综合服务费
  10646. type: number
  10647. taxmargin:
  10648. description: 税费保证金
  10649. type: number
  10650. totalfee:
  10651. description: 总费用 = 费用之和 (结算费用时不含税费保证金)
  10652. type: number
  10653. required:
  10654. - orderid
  10655. type: object
  10656. models.Gzcertaddressconfig:
  10657. properties:
  10658. certregion:
  10659. description: 证书地域 - 1:国内 2:国际
  10660. type: integer
  10661. certtype:
  10662. description: 证书类型
  10663. type: string
  10664. orderindex:
  10665. description: 显示顺序
  10666. type: integer
  10667. orgcnname:
  10668. description: 机构名称(中文)
  10669. type: string
  10670. orgenname:
  10671. description: 机构名称(英文)
  10672. type: string
  10673. queryaddress:
  10674. description: 查询地址
  10675. type: string
  10676. remark:
  10677. description: 备注
  10678. type: string
  10679. updatetime:
  10680. description: 更新时间
  10681. type: string
  10682. type: object
  10683. models.Gzcertaddressparam:
  10684. properties:
  10685. certtype:
  10686. description: 证书类型
  10687. type: string
  10688. orderindex:
  10689. description: 参数顺序
  10690. type: integer
  10691. paramkey:
  10692. description: 参数Key
  10693. type: string
  10694. paramname:
  10695. description: 参数名称
  10696. type: string
  10697. updatetime:
  10698. description: 更新时间
  10699. type: string
  10700. type: object
  10701. models.GzcjbsorderfileM:
  10702. properties:
  10703. canmembervisit:
  10704. description: 会员是否可访问 - 1:可 2:不可
  10705. type: integer
  10706. fileaddress:
  10707. description: 文件地址
  10708. type: string
  10709. filegentype:
  10710. description: 文件生成类型 - 1:系统生成 2:手动上传
  10711. type: integer
  10712. filename:
  10713. description: 文件名称
  10714. type: string
  10715. operatetime:
  10716. description: 操作时间
  10717. type: string
  10718. operatoraccount:
  10719. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10720. type: string
  10721. operatorid:
  10722. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10723. type: integer
  10724. operatorsrc:
  10725. description: 操作人来源 - 1:管理端 2:终端
  10726. type: integer
  10727. orderfileid:
  10728. description: 单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)
  10729. type: integer
  10730. orderid:
  10731. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10732. type: integer
  10733. required:
  10734. - orderid
  10735. type: object
  10736. models.GzcjjcorderM:
  10737. properties:
  10738. accountid:
  10739. description: 资金账户ID
  10740. type: integer
  10741. addresscn:
  10742. description: 地址(中文)
  10743. type: string
  10744. addressen:
  10745. description: 地址(英文)
  10746. type: string
  10747. advanceamount:
  10748. description: 总预付款
  10749. type: number
  10750. colorrange:
  10751. description: 颜色范围
  10752. type: string
  10753. companynamecn:
  10754. description: 公司名称(中文)
  10755. type: string
  10756. companynameen:
  10757. description: 公司名称(英文)
  10758. type: string
  10759. contactname:
  10760. description: 联系人姓名
  10761. type: string
  10762. contactphoneno:
  10763. description: 联系人电话
  10764. type: string
  10765. contactposition:
  10766. description: 联系人职位
  10767. type: string
  10768. createtime:
  10769. description: 创建时间
  10770. type: string
  10771. email:
  10772. description: 邮箱
  10773. type: string
  10774. executestatus:
  10775. description: 执行状态 - 1:未生效 2:进行中 3:已结束
  10776. type: integer
  10777. gzcjaccount:
  10778. description: 送检账户
  10779. type: string
  10780. gzcjaccounttype:
  10781. description: 检测账户类型 - 枚举"GZCJAccountType"
  10782. type: integer
  10783. gzcjcategorytype:
  10784. description: 货物品类 - 枚举"GZCJCategoryType"
  10785. type: integer
  10786. gzcjcategorytypedisplay:
  10787. description: 货物品类
  10788. type: string
  10789. gzcjdeliverytype:
  10790. description: 收货方式 - 枚举"GZCJDeliveryType"
  10791. type: integer
  10792. gzcjdeliverytypedisplay:
  10793. description: 收货方式
  10794. type: string
  10795. gzcjstatus:
  10796. description: 单据状态(出境检测) - 枚举"GZCJStatus"
  10797. type: integer
  10798. gzcjstatusdisplay:
  10799. description: 单据状态(出境检测)
  10800. type: string
  10801. handlestatus:
  10802. description: 处理状态
  10803. type: integer
  10804. invoiceremark:
  10805. description: 复核备注 - 发票装箱单使用
  10806. type: string
  10807. orderid:
  10808. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10809. type: integer
  10810. orderno:
  10811. description: 单据编号 - 合同编号:GZDECJJC+单据流水号
  10812. type: string
  10813. ordersn:
  10814. description: 单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全
  10815. type: string
  10816. origincountry:
  10817. description: 原产国
  10818. type: string
  10819. processingcountry:
  10820. description: 成品钻石加工国
  10821. type: string
  10822. realservicefee:
  10823. description: 应收综合服务费
  10824. type: number
  10825. servicefeesum:
  10826. description: 汇总综合服务费 - 明细上值汇总
  10827. type: number
  10828. settleamount:
  10829. description: 总结算费用
  10830. type: number
  10831. shaperange:
  10832. description: 形状范围
  10833. type: string
  10834. totalamount:
  10835. description: 总金额(美元)
  10836. type: number
  10837. totalgrossweight:
  10838. description: 总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整)
  10839. * 200
  10840. type: number
  10841. totalnumber:
  10842. description: 总粒数
  10843. type: integer
  10844. totalweight:
  10845. description: 总克拉数(保留3位小数)
  10846. type: number
  10847. totalweightgm:
  10848. description: 总净重(克) = TotalWeight * 0.2 (2位小数)
  10849. type: number
  10850. userid:
  10851. description: 用户ID
  10852. type: integer
  10853. weightrange:
  10854. description: 重量规格范围 - Min(Weight) - Max(Weight)
  10855. type: string
  10856. zsorigin:
  10857. description: 天然钻石毛坯原产地
  10858. type: string
  10859. required:
  10860. - userid
  10861. type: object
  10862. models.GzcjjcorderdetailM:
  10863. properties:
  10864. amount:
  10865. description: 参考货值(USD)
  10866. type: number
  10867. colorinfo:
  10868. description: 彩钻信息
  10869. type: string
  10870. createtime:
  10871. description: 创建时间
  10872. type: string
  10873. gzcjmarktype:
  10874. description: 刻印服务 - 枚举"GZCJMarkType" 【送检账户为“广钻账户”】
  10875. type: integer
  10876. gzcjpublishtype:
  10877. description: 是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】
  10878. type: integer
  10879. gzcjpublishtypestring:
  10880. description: 是否披露处理 - 枚举 GZCJPublishType 对应的显示值
  10881. type: string
  10882. gzcjservicetype:
  10883. description: 服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】
  10884. type: integer
  10885. gzcjservicetypestring:
  10886. description: 服务类别 - 枚举 GZCJServiceType 对应的显示值
  10887. type: string
  10888. gzcjshapetype:
  10889. description: 形状 - 枚举"GZCJShapeType"
  10890. type: integer
  10891. gzcjshapetypestring:
  10892. description: 形状(字符) - 枚举"GZCJShapeType"对应的显示值
  10893. type: string
  10894. gzno:
  10895. description: 货物编号
  10896. type: string
  10897. orderdetailid:
  10898. description: 单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)
  10899. type: integer
  10900. orderid:
  10901. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10902. type: integer
  10903. orderindex:
  10904. description: 顺序
  10905. type: integer
  10906. origincertno:
  10907. description: 原证书号【送检账户为“广钻账户”】
  10908. type: string
  10909. remark:
  10910. description: 备注(其它)
  10911. type: string
  10912. servicefee:
  10913. description: 综合服务费 - 根据市场配置计算
  10914. type: number
  10915. weight:
  10916. description: 重量(CT)
  10917. type: number
  10918. type: object
  10919. models.Gzcjjcorderoperate:
  10920. properties:
  10921. advanceamount:
  10922. description: 总预付款
  10923. type: number
  10924. advanceproofaddr:
  10925. description: 预付检测费和海关税费银行凭证(确认结算费用时)
  10926. type: string
  10927. bankfee:
  10928. description: 汇款银行手续费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10929. type: number
  10930. bankproofaddr:
  10931. description: 广钻汇款银行手续费凭证(确认结算费用时)
  10932. type: string
  10933. customsfee:
  10934. description: 海关税费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10935. type: number
  10936. customsproofaddr:
  10937. description: 海关税费凭证(确认结算费用时)
  10938. type: string
  10939. exchangerate:
  10940. description: 汇率 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10941. type: number
  10942. giaproofaddr:
  10943. description: GIA检测费凭证(确认结算费用时)
  10944. type: string
  10945. giarmbfee:
  10946. description: GIA检测费(¥) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10947. type: number
  10948. giausdfee:
  10949. description: GIA检测费(USD$) [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10950. type: number
  10951. logisticsfee:
  10952. description: 代缴物流保险费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10953. type: number
  10954. logisticsproofaddr:
  10955. description: 代缴物流保险费凭证(确认结算费用时)
  10956. type: string
  10957. operatetime:
  10958. description: 操作时间
  10959. type: string
  10960. operatoraccount:
  10961. description: 操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid
  10962. type: string
  10963. operatorid:
  10964. description: 操作人ID - systemmanager的autoid 或 loginaccount的loginid
  10965. type: integer
  10966. operatorname:
  10967. description: 操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid
  10968. type: string
  10969. operatorsrc:
  10970. description: 操作人来源 - 1:管理端 2:终端
  10971. type: integer
  10972. orderid:
  10973. description: 单据ID(801+Unix秒时间戳(10位)+xxxxxx)
  10974. type: string
  10975. otherfee:
  10976. description: 其它费用
  10977. type: number
  10978. remark:
  10979. description: 操作备注
  10980. type: string
  10981. servicefee:
  10982. description: 综合服务费 [GZCJStatus = 10.预付款确认中\13.付款确认中] 时
  10983. type: number
  10984. settleamount:
  10985. description: 总结算费用
  10986. type: number
  10987. status:
  10988. description: 操作后单据状态 - 枚举"GZCJStatus"
  10989. type: integer
  10990. totalfee:
  10991. description: 总费用 = GIA检测费(¥) + 海关税费 + 汇款银行手续费 + 代缴物流保险费 + 综合服务费 + 其它费用 [GZCJStatus
  10992. = 10.预付款确认中\13.付款确认中] 时
  10993. type: number
  10994. required:
  10995. - orderid
  10996. - status
  10997. type: object
  10998. models.Gzrapaportprice:
  10999. properties:
  11000. dollar:
  11001. description: 美元
  11002. type: string
  11003. rmb:
  11004. description: 人民币
  11005. type: string
  11006. type: object
  11007. models.Hedgeinnerholderdetail:
  11008. properties:
  11009. accountid:
  11010. description: 账号ID
  11011. type: integer
  11012. buyorsell:
  11013. description: 方向 - 0:买 1:卖
  11014. type: integer
  11015. freezeqty:
  11016. description: 冻结数量 - 按单平使用
  11017. type: integer
  11018. goodsid:
  11019. description: 商品ID
  11020. type: integer
  11021. holderamount:
  11022. description: 持仓金额 [商品币种]
  11023. type: number
  11024. holderdays:
  11025. description: 剩余冻结天数
  11026. type: integer
  11027. holderprice:
  11028. description: 持仓价格
  11029. type: number
  11030. holderqty:
  11031. description: 持仓数量
  11032. type: integer
  11033. marketid:
  11034. description: 市场ID
  11035. type: integer
  11036. openprice:
  11037. description: 建仓价格
  11038. type: number
  11039. openqty:
  11040. description: 建仓数量
  11041. type: integer
  11042. parentaccountid:
  11043. description: 所属母账户
  11044. type: integer
  11045. releaseamount:
  11046. description: 释放持仓金额[商品币种]
  11047. type: number
  11048. tradeamount:
  11049. description: 成交金额[账户]
  11050. type: number
  11051. tradedate:
  11052. description: 交易日(yyyyMMdd)
  11053. type: string
  11054. tradeid:
  11055. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11056. type: string
  11057. tradetime:
  11058. description: 交易时间
  11059. type: string
  11060. required:
  11061. - buyorsell
  11062. - tradeid
  11063. type: object
  11064. models.Hedgemarketopenlog:
  11065. properties:
  11066. accountid:
  11067. description: 资金账号[外部母账户]
  11068. type: integer
  11069. fcname:
  11070. description: 期货公司名称
  11071. type: string
  11072. handlestatus:
  11073. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  11074. type: integer
  11075. marketid:
  11076. description: 市场ID
  11077. type: integer
  11078. status:
  11079. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  11080. type: integer
  11081. tradedate:
  11082. description: 交易日(yyyyMMdd)
  11083. type: string
  11084. updatetime:
  11085. description: 更新时间
  11086. type: string
  11087. required:
  11088. - accountid
  11089. type: object
  11090. models.HistoryData:
  11091. properties:
  11092. c:
  11093. description: 收盘价
  11094. type: number
  11095. f:
  11096. description: 是否补充数据
  11097. type: boolean
  11098. h:
  11099. description: 最高价
  11100. type: number
  11101. hv:
  11102. description: 持仓量
  11103. type: integer
  11104. l:
  11105. description: 最低价
  11106. type: number
  11107. o:
  11108. description: 开盘价
  11109. type: number
  11110. s:
  11111. description: 结算价,日线周期(包括)以上才有
  11112. type: number
  11113. ts:
  11114. description: 时间
  11115. type: string
  11116. tt:
  11117. description: 总金额
  11118. type: number
  11119. tv:
  11120. description: 总量(成交量)
  11121. type: integer
  11122. type: object
  11123. models.HsbyBuyMyPayOrder:
  11124. properties:
  11125. agreeunit:
  11126. description: 合约单位
  11127. type: number
  11128. buyaccountid:
  11129. description: 买方账号ID[报价币种]
  11130. type: integer
  11131. buyorderid:
  11132. description: 买方委托单号
  11133. type: string
  11134. createtime:
  11135. description: 创建时间
  11136. type: string
  11137. currencysign:
  11138. description: 货币符号
  11139. type: string
  11140. decimalplace:
  11141. description: 报价小数位
  11142. type: integer
  11143. goodscode:
  11144. description: 商品代码(内部)
  11145. type: string
  11146. goodsid:
  11147. description: 商品ID
  11148. type: integer
  11149. goodsname:
  11150. description: 商品名称
  11151. type: string
  11152. marketid:
  11153. description: 市场ID
  11154. type: integer
  11155. offamount:
  11156. description: 优惠金额
  11157. type: number
  11158. originalamount:
  11159. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  11160. type: number
  11161. payamount:
  11162. description: 支付金额 = TradeAmount + TradeCharge
  11163. type: number
  11164. payflag:
  11165. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11166. type: integer
  11167. paylimitedtime:
  11168. description: 支付期限
  11169. type: string
  11170. paytime:
  11171. description: 付款时间
  11172. type: string
  11173. picurls1:
  11174. description: 预售商品介绍图片[多张用逗号分隔]
  11175. type: string
  11176. picurls2:
  11177. description: 挂牌商品介绍图片[多张用逗号分隔]
  11178. type: string
  11179. sellaccountid:
  11180. description: 卖方账号ID[报价币种]
  11181. type: integer
  11182. sellorderid:
  11183. description: 卖方委托单号
  11184. type: string
  11185. tradeamount:
  11186. description: 成交金额
  11187. type: number
  11188. tradecharge:
  11189. description: 成交手续费(买方)
  11190. type: number
  11191. tradedate:
  11192. description: 交易日(yyyyMMdd)
  11193. type: string
  11194. tradeid:
  11195. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11196. type: string
  11197. trademode:
  11198. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11199. 21:竞拍-大宗式 22:受托竞价
  11200. type: integer
  11201. tradeprice:
  11202. description: 成交价格
  11203. type: number
  11204. tradeqty:
  11205. description: 成交数量
  11206. type: integer
  11207. vendorname1:
  11208. description: 预售商品供应商名称
  11209. type: string
  11210. vendorname2:
  11211. description: 挂牌商品供应商名称
  11212. type: string
  11213. required:
  11214. - goodscode
  11215. - goodsname
  11216. - tradeid
  11217. - trademode
  11218. type: object
  11219. models.HsbyBuyMyTradeDetail:
  11220. properties:
  11221. accountid:
  11222. description: 账户ID[报价币种]
  11223. type: integer
  11224. agreeunit:
  11225. description: 合约单位
  11226. type: number
  11227. amount:
  11228. description: 金额 = 价格 * 数量 * 合约单位
  11229. type: number
  11230. buyorsell:
  11231. description: 买卖 - 0:买 1:卖
  11232. type: integer
  11233. currencysign:
  11234. description: 货币符号
  11235. type: string
  11236. decimalplace:
  11237. description: 报价小数位
  11238. type: integer
  11239. goodscode:
  11240. description: 商品代码(内部)
  11241. type: string
  11242. goodsid:
  11243. description: 商品ID
  11244. type: integer
  11245. goodsname:
  11246. description: 商品名称
  11247. type: string
  11248. marketid:
  11249. description: 市场ID
  11250. type: integer
  11251. orderamount:
  11252. description: 委托金额
  11253. type: number
  11254. orderid:
  11255. description: 单号(成交单号)
  11256. type: string
  11257. picurls1:
  11258. description: 预售商品介绍图片[多张用逗号分隔]
  11259. type: string
  11260. picurls2:
  11261. description: 挂牌商品介绍图片[多张用逗号分隔]
  11262. type: string
  11263. price:
  11264. description: 价格
  11265. type: number
  11266. qty:
  11267. description: 数量
  11268. type: integer
  11269. time:
  11270. description: 时间
  11271. type: string
  11272. trademode:
  11273. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11274. 21:竞拍-大宗式 22:受托竞价
  11275. type: integer
  11276. vendorname1:
  11277. description: 预售商品供应商名称
  11278. type: string
  11279. vendorname2:
  11280. description: 挂牌商品供应商名称
  11281. type: string
  11282. required:
  11283. - accountid
  11284. - buyorsell
  11285. - goodscode
  11286. - goodsid
  11287. - goodsname
  11288. - marketid
  11289. - orderid
  11290. - qty
  11291. - time
  11292. - trademode
  11293. type: object
  11294. models.HsbyGoodsOrderDetail:
  11295. properties:
  11296. buyorsell:
  11297. description: 买卖 - 0:买 1:卖
  11298. type: integer
  11299. currencysign:
  11300. description: 货币符号
  11301. type: string
  11302. customername:
  11303. description: 客户名称(企业名称),已脱敏
  11304. type: string
  11305. enableqty:
  11306. description: 可用数量
  11307. type: integer
  11308. goodunit:
  11309. description: 报价单位
  11310. type: string
  11311. orderid:
  11312. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11313. type: string
  11314. orderprice:
  11315. description: 委托价格
  11316. type: number
  11317. ordertime:
  11318. description: 委托时间
  11319. type: string
  11320. required:
  11321. - buyorsell
  11322. - orderid
  11323. - ordertime
  11324. type: object
  11325. models.HsbyListingGoodsDetail:
  11326. properties:
  11327. agreeunit:
  11328. description: 合约单位
  11329. type: number
  11330. buymaxqty:
  11331. description: 购买上限 [71] - 0为不限
  11332. type: integer
  11333. currency:
  11334. description: 货币
  11335. type: string
  11336. currencysign:
  11337. description: 货币符号
  11338. type: string
  11339. decimalplace:
  11340. description: 报价小数位
  11341. type: integer
  11342. desccityid:
  11343. description: 目的地(市)ID
  11344. type: integer
  11345. descprovinceid:
  11346. description: 目的地(省)ID
  11347. type: integer
  11348. goodscode:
  11349. description: 商品代码(内部)
  11350. type: string
  11351. goodsdesc:
  11352. description: 商品详情
  11353. type: string
  11354. goodsid:
  11355. description: 商品ID(自增ID SEQ_GOODS)
  11356. type: integer
  11357. goodsname:
  11358. description: 商品名称
  11359. type: string
  11360. goodsprice:
  11361. description: 商品价格
  11362. type: number
  11363. hotindex:
  11364. description: 景点热度
  11365. type: integer
  11366. last:
  11367. description: 现价
  11368. type: number
  11369. limitdown:
  11370. description: 跌停价
  11371. type: number
  11372. limitup:
  11373. description: 涨停价
  11374. type: number
  11375. lotsize:
  11376. description: 手数最小变动单位
  11377. type: integer
  11378. marketid:
  11379. description: 所属市场ID
  11380. type: integer
  11381. picurls:
  11382. description: 介绍图片[多张用逗号分隔]
  11383. type: string
  11384. quoteminunit:
  11385. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11386. type: integer
  11387. stepvalue:
  11388. description: 价格最小变动单位
  11389. type: number
  11390. trademode:
  11391. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11392. 21:竞拍-大宗式 22:受托竞价
  11393. type: integer
  11394. vendorattr:
  11395. description: 供应商附件(多张,逗号分隔)
  11396. type: string
  11397. vendorname:
  11398. description: 供应商名称
  11399. type: string
  11400. vendorphone:
  11401. description: 供应商客服电话
  11402. type: string
  11403. videourls:
  11404. description: 介绍视频[多张用逗号分隔]
  11405. type: string
  11406. required:
  11407. - goodscode
  11408. - goodsid
  11409. - goodsname
  11410. - marketid
  11411. - trademode
  11412. type: object
  11413. models.HsbyMarketGoods:
  11414. properties:
  11415. accountid:
  11416. description: 账户ID[报价币种]
  11417. type: integer
  11418. agreeunit:
  11419. description: 合约单位
  11420. type: number
  11421. buyorsell:
  11422. description: 买卖 - 0:买 1:卖
  11423. type: integer
  11424. categoryid:
  11425. description: 类别ID(WRCATEGORY)
  11426. type: integer
  11427. currency:
  11428. description: 货币
  11429. type: string
  11430. currencysign:
  11431. description: 货币符号
  11432. type: string
  11433. customername:
  11434. description: 卖家名称
  11435. type: string
  11436. decimalplace:
  11437. description: 报价小数位
  11438. type: integer
  11439. goodscode:
  11440. description: 商品代码(内部)
  11441. type: string
  11442. goodsid:
  11443. description: 商品ID
  11444. type: integer
  11445. goodsname:
  11446. description: 商品名称
  11447. type: string
  11448. goodsprice:
  11449. description: 商品价格
  11450. type: number
  11451. hascoupon:
  11452. description: 是否可用优惠卷
  11453. type: boolean
  11454. hotindex:
  11455. description: 景点热度
  11456. type: integer
  11457. marketid:
  11458. description: 市场ID
  11459. type: integer
  11460. orderid:
  11461. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11462. type: string
  11463. orderprice:
  11464. description: 委托价格
  11465. type: number
  11466. orderstatus:
  11467. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11468. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11469. 16:成交失败违约(荷兰式竞拍专用)
  11470. type: integer
  11471. picurls:
  11472. description: 介绍图片[多张用逗号分隔]
  11473. type: string
  11474. quoteminunit:
  11475. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11476. type: integer
  11477. sellUserID:
  11478. description: 卖方UserID
  11479. type: integer
  11480. trademode:
  11481. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11482. 21:竞拍-大宗式 22:受托竞价
  11483. type: integer
  11484. videourls:
  11485. description: 介绍视频[多张用逗号分隔]
  11486. type: string
  11487. required:
  11488. - accountid
  11489. - buyorsell
  11490. - goodscode
  11491. - goodsid
  11492. - goodsname
  11493. - marketid
  11494. - orderid
  11495. - trademode
  11496. type: object
  11497. models.HsbyMarketGoodsDetail:
  11498. properties:
  11499. accountid:
  11500. description: 账户ID[报价币种]
  11501. type: integer
  11502. agreeunit:
  11503. description: 合约单位
  11504. type: number
  11505. buymaxqty:
  11506. description: 购买上限 [71] - 0为不限
  11507. type: integer
  11508. buyorsell:
  11509. description: 买卖 - 0:买 1:卖
  11510. type: integer
  11511. cancelqty:
  11512. description: 撤单数量
  11513. type: integer
  11514. categoryid:
  11515. description: 类别ID(WRCATEGORY)
  11516. type: integer
  11517. currency:
  11518. description: 货币
  11519. type: string
  11520. currencysign:
  11521. description: 货币符号
  11522. type: string
  11523. customername:
  11524. description: 卖家名称
  11525. type: string
  11526. decimalplace:
  11527. description: 报价小数位
  11528. type: integer
  11529. goodscode:
  11530. description: 商品代码(内部)
  11531. type: string
  11532. goodsdesc:
  11533. description: 商品详情
  11534. type: string
  11535. goodsid:
  11536. description: 商品ID
  11537. type: integer
  11538. goodsname:
  11539. description: 商品名称
  11540. type: string
  11541. goodsprice:
  11542. description: 商品价格
  11543. type: number
  11544. hotindex:
  11545. description: 景点热度
  11546. type: integer
  11547. lotsize:
  11548. description: 手数最小变动单位
  11549. type: integer
  11550. marketid:
  11551. description: 市场ID
  11552. type: integer
  11553. orderid:
  11554. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11555. type: string
  11556. orderprice:
  11557. description: 委托价格
  11558. type: number
  11559. orderqty:
  11560. description: 委托数量
  11561. type: integer
  11562. orderstatus:
  11563. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11564. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11565. 16:成交失败违约(荷兰式竞拍专用)
  11566. type: integer
  11567. picurls:
  11568. description: 介绍图片[多张用逗号分隔]
  11569. type: string
  11570. quoteminunit:
  11571. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11572. type: integer
  11573. sellUserID:
  11574. description: 卖方UserID
  11575. type: integer
  11576. trademode:
  11577. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11578. 21:竞拍-大宗式 22:受托竞价
  11579. type: integer
  11580. tradeqty:
  11581. description: 成交数量
  11582. type: integer
  11583. vendorattr:
  11584. description: 供应商附件(多张,逗号分隔)
  11585. type: string
  11586. vendorname:
  11587. description: 供应商名称
  11588. type: string
  11589. vendorphone:
  11590. description: 供应商客服电话
  11591. type: string
  11592. videourls:
  11593. description: 介绍视频[多张用逗号分隔]
  11594. type: string
  11595. required:
  11596. - accountid
  11597. - buyorsell
  11598. - goodscode
  11599. - goodsid
  11600. - goodsname
  11601. - marketid
  11602. - orderid
  11603. - orderqty
  11604. - trademode
  11605. type: object
  11606. models.HsbyMarketInfo:
  11607. properties:
  11608. marketid:
  11609. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  11610. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  11611. type: integer
  11612. marketname:
  11613. description: 市场名称
  11614. type: string
  11615. marketstatus:
  11616. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  11617. type: integer
  11618. trademode:
  11619. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11620. 21:竞拍-大宗式 22:受托竞价
  11621. type: integer
  11622. required:
  11623. - marketid
  11624. - marketstatus
  11625. - trademode
  11626. type: object
  11627. models.HsbyMyGoods:
  11628. properties:
  11629. accountid:
  11630. description: 账号Id
  11631. type: integer
  11632. agreeunit:
  11633. description: 合约单位
  11634. type: number
  11635. buyaverageprice:
  11636. description: 持仓均价
  11637. type: number
  11638. buycurholderamount:
  11639. description: 买当前持仓总金额[商品币种]
  11640. type: number
  11641. buycurpositionqty:
  11642. description: 买当前持仓总数量
  11643. type: integer
  11644. buymaxqty:
  11645. description: 购买上限 [71] - 0为不限
  11646. type: integer
  11647. currencysign:
  11648. description: 货币符号
  11649. type: string
  11650. decimalplace:
  11651. description: 报价小数位
  11652. type: integer
  11653. enableqty:
  11654. description: 可用数量
  11655. type: integer
  11656. goodscode:
  11657. description: 商品代码(内部)
  11658. type: string
  11659. goodsid:
  11660. description: 商品Id
  11661. type: integer
  11662. goodsname:
  11663. description: 商品名称
  11664. type: string
  11665. goodsprice:
  11666. description: 商品价格
  11667. type: number
  11668. goodsstatus:
  11669. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  11670. type: integer
  11671. last:
  11672. description: 现价(仅使用于挂牌点选)
  11673. type: number
  11674. limitdown:
  11675. description: 跌停价(仅使用于挂牌点选)
  11676. type: number
  11677. limitup:
  11678. description: 涨停价(仅使用于挂牌点选)
  11679. type: number
  11680. lotsize:
  11681. description: 手数最小变动单位
  11682. type: integer
  11683. marketid:
  11684. description: 所属市场ID
  11685. type: integer
  11686. picurls:
  11687. description: 介绍图片[多张用逗号分隔]
  11688. type: string
  11689. quoteminunit:
  11690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11691. type: integer
  11692. stepvalue:
  11693. description: 价格最小变动单位
  11694. type: number
  11695. trademode:
  11696. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11697. 21:竞拍-大宗式 22:受托竞价
  11698. type: integer
  11699. required:
  11700. - accountid
  11701. - goodscode
  11702. - goodsid
  11703. - goodsname
  11704. - marketid
  11705. - trademode
  11706. type: object
  11707. models.HsbyMyPackage:
  11708. properties:
  11709. accountid:
  11710. description: 账户ID
  11711. type: integer
  11712. address:
  11713. description: 提货人详细地址
  11714. type: string
  11715. agreeunit:
  11716. description: 合约单位
  11717. type: number
  11718. amount:
  11719. description: 提货金额
  11720. type: number
  11721. auditer:
  11722. description: 审核人
  11723. type: integer
  11724. audittime:
  11725. description: 审核时间
  11726. type: string
  11727. averageprice:
  11728. description: 均价
  11729. type: number
  11730. cardnum:
  11731. description: 提货人证件号码
  11732. type: string
  11733. cardtypeid:
  11734. description: 提货人证件类型
  11735. type: integer
  11736. checkremark:
  11737. description: 审核备注
  11738. type: string
  11739. currencysign:
  11740. description: 货币符号
  11741. type: string
  11742. decimalplace:
  11743. description: 报价小数位
  11744. type: integer
  11745. goodscode:
  11746. description: 商品代码(内部)
  11747. type: string
  11748. goodsid:
  11749. description: 商品ID
  11750. type: integer
  11751. goodsname:
  11752. description: 商品名称
  11753. type: string
  11754. handlestatus:
  11755. description: 处理状态
  11756. type: integer
  11757. marketid:
  11758. description: 市场ID
  11759. type: integer
  11760. phonenum:
  11761. description: 提货人联系方式
  11762. type: string
  11763. picurls:
  11764. description: 介绍图片[多张用逗号分隔]
  11765. type: string
  11766. qty:
  11767. description: 提货数量
  11768. type: number
  11769. recivername:
  11770. description: 提货人姓名
  11771. type: string
  11772. reqtime:
  11773. description: 更新时间
  11774. type: string
  11775. takemode:
  11776. description: 提货方式 - 2:自提 3:配送
  11777. type: integer
  11778. takeorderid:
  11779. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11780. type: string
  11781. takeorderstatus:
  11782. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11783. type: integer
  11784. takeremark:
  11785. description: 提货备注
  11786. type: string
  11787. tradedate:
  11788. description: 交易日(yyyyMMdd)
  11789. type: string
  11790. trademode:
  11791. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11792. 21:竞拍-大宗式 22:受托竞价
  11793. type: integer
  11794. userid:
  11795. description: 用户ID
  11796. type: integer
  11797. vendorname:
  11798. description: 供应商名称
  11799. type: string
  11800. required:
  11801. - goodscode
  11802. - goodsname
  11803. - takeorderid
  11804. - trademode
  11805. type: object
  11806. models.HsbyPreGoods:
  11807. properties:
  11808. agreeunit:
  11809. description: 合约单位
  11810. type: number
  11811. currency:
  11812. description: 货币
  11813. type: string
  11814. currencysign:
  11815. description: 货币符号
  11816. type: string
  11817. decimalplace:
  11818. description: 报价小数位
  11819. type: integer
  11820. desccityid:
  11821. description: 目的地(市)
  11822. type: integer
  11823. descprovinceid:
  11824. description: 目的地(省)
  11825. type: integer
  11826. enableqty:
  11827. description: 剩余数量
  11828. type: integer
  11829. goodscode:
  11830. description: 商品代码(内部)
  11831. type: string
  11832. goodsid:
  11833. description: 商品ID(自增ID SEQ_GOODS)
  11834. type: integer
  11835. goodsname:
  11836. description: 商品名称
  11837. type: string
  11838. goodsstatus:
  11839. description: 商品状态- 2:未上市 3:上市
  11840. type: integer
  11841. lasttradedate:
  11842. description: 最后交易日期(状态:待退市)
  11843. type: string
  11844. listingdate:
  11845. description: 交易开始日期
  11846. type: string
  11847. marketid:
  11848. description: 所属市场ID
  11849. type: integer
  11850. picurls:
  11851. description: 介绍图片[多张用逗号分隔]
  11852. type: string
  11853. presaledqty:
  11854. description: 已预售量(预售结束时更新)
  11855. type: integer
  11856. presaleqty:
  11857. description: 预售数量
  11858. type: integer
  11859. quoteminunit:
  11860. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11861. type: integer
  11862. refprice:
  11863. description: 参考价格[一口价]
  11864. type: number
  11865. relatedgoodsid:
  11866. description: 关联交易合约ID
  11867. type: integer
  11868. trademode:
  11869. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11870. 21:竞拍-大宗式 22:受托竞价
  11871. type: integer
  11872. videourls:
  11873. description: 介绍视频[多张用逗号分隔]
  11874. type: string
  11875. required:
  11876. - goodscode
  11877. - goodsid
  11878. - goodsname
  11879. - marketid
  11880. - trademode
  11881. type: object
  11882. models.HsbyPreGoodsDetail:
  11883. properties:
  11884. agreeunit:
  11885. description: 合约单位
  11886. type: number
  11887. buymaxqty:
  11888. description: 购买上限 [71] - 0为不限
  11889. type: integer
  11890. currency:
  11891. description: 货币
  11892. type: string
  11893. currencysign:
  11894. description: 货币符号
  11895. type: string
  11896. customername:
  11897. description: 发行单位
  11898. type: string
  11899. decimalplace:
  11900. description: 报价小数位
  11901. type: integer
  11902. desccityid:
  11903. description: 目的地(市)ID
  11904. type: integer
  11905. descprovinceid:
  11906. description: 目的地(省)ID
  11907. type: integer
  11908. enableqty:
  11909. description: 剩余数量
  11910. type: integer
  11911. goodscode:
  11912. description: 商品代码(内部)
  11913. type: string
  11914. goodsdesc:
  11915. description: 商品详情
  11916. type: string
  11917. goodsid:
  11918. description: 商品ID(自增ID SEQ_GOODS)
  11919. type: integer
  11920. goodsname:
  11921. description: 商品名称
  11922. type: string
  11923. goodsstatus:
  11924. description: 商品状态- 2:未上市 3:上市
  11925. type: integer
  11926. goodunit:
  11927. description: 报价单位
  11928. type: string
  11929. lasttradedate:
  11930. description: 最后交易日期(状态:待退市)
  11931. type: string
  11932. listingdate:
  11933. description: 交易开始日期
  11934. type: string
  11935. lotsize:
  11936. description: 手数最小变动单位
  11937. type: integer
  11938. marketid:
  11939. description: 所属市场ID
  11940. type: integer
  11941. picurls:
  11942. description: 介绍图片[多张用逗号分隔]
  11943. type: string
  11944. presaledqty:
  11945. description: 已预售量(预售结束时更新)
  11946. type: integer
  11947. presaleqty:
  11948. description: 预售数量
  11949. type: integer
  11950. quoteminunit:
  11951. description: 行情最小变动单位 [整数,报价小数位一起使用]
  11952. type: integer
  11953. refprice:
  11954. description: 参考价格[一口价]
  11955. type: number
  11956. relatedgoodsid:
  11957. description: 关联交易合约ID
  11958. type: integer
  11959. stepvalue:
  11960. description: 价格最小变动单位
  11961. type: number
  11962. trademode:
  11963. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11964. 21:竞拍-大宗式 22:受托竞价
  11965. type: integer
  11966. vendorattr:
  11967. description: 供应商附件(多张,逗号分隔)
  11968. type: string
  11969. vendorname:
  11970. description: 供应商名称
  11971. type: string
  11972. vendorphone:
  11973. description: 供应商客服电话
  11974. type: string
  11975. videourls:
  11976. description: 介绍视频[多张用逗号分隔]
  11977. type: string
  11978. required:
  11979. - goodscode
  11980. - goodsid
  11981. - goodsname
  11982. - marketid
  11983. - trademode
  11984. type: object
  11985. models.HsbySellCollectionOrder:
  11986. properties:
  11987. agreeunit:
  11988. description: 合约单位
  11989. type: number
  11990. buyaccountid:
  11991. description: 买方账号ID[报价币种]
  11992. type: integer
  11993. buyorderid:
  11994. description: 买方委托单号
  11995. type: string
  11996. createtime:
  11997. description: 创建时间
  11998. type: string
  11999. currencysign:
  12000. description: 货币符号
  12001. type: string
  12002. decimalplace:
  12003. description: 报价小数位
  12004. type: integer
  12005. goodscode:
  12006. description: 商品代码(内部)
  12007. type: string
  12008. goodsid:
  12009. description: 商品ID
  12010. type: integer
  12011. goodsname:
  12012. description: 商品名称
  12013. type: string
  12014. marketid:
  12015. description: 市场ID
  12016. type: integer
  12017. offamount:
  12018. description: 优惠金额
  12019. type: number
  12020. payamount:
  12021. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  12022. type: number
  12023. payflag:
  12024. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12025. type: integer
  12026. paylimitedtime:
  12027. description: 支付期限
  12028. type: string
  12029. paytime:
  12030. description: 付款时间
  12031. type: string
  12032. picurls:
  12033. description: 商品介绍图片[多张用逗号分隔]
  12034. type: string
  12035. sellaccountid:
  12036. description: 卖方账号ID[报价币种]
  12037. type: integer
  12038. sellorderid:
  12039. description: 卖方委托单号
  12040. type: string
  12041. tradeamount:
  12042. description: 成交金额
  12043. type: number
  12044. tradecharge:
  12045. description: 成交手续费(买方)
  12046. type: number
  12047. tradedate:
  12048. description: 交易日(yyyyMMdd)
  12049. type: string
  12050. tradeid:
  12051. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12052. type: string
  12053. trademode:
  12054. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12055. 21:竞拍-大宗式 22:受托竞价
  12056. type: integer
  12057. tradeprice:
  12058. description: 成交价格
  12059. type: number
  12060. tradeqty:
  12061. description: 成交数量
  12062. type: integer
  12063. required:
  12064. - goodscode
  12065. - goodsname
  12066. - tradeid
  12067. - trademode
  12068. type: object
  12069. models.HsbySellMyDetail:
  12070. properties:
  12071. accountid:
  12072. description: 账户ID[报价币种]
  12073. type: integer
  12074. agreeunit:
  12075. description: 合约单位
  12076. type: number
  12077. buyorsell:
  12078. description: 买卖 - 0:买 1:卖
  12079. type: integer
  12080. currencysign:
  12081. description: 货币符号
  12082. type: string
  12083. decimalplace:
  12084. description: 报价小数位
  12085. type: integer
  12086. goodscode:
  12087. description: 商品代码(内部)
  12088. type: string
  12089. goodsid:
  12090. description: 商品ID
  12091. type: integer
  12092. goodsname:
  12093. description: 商品名称
  12094. type: string
  12095. marketid:
  12096. description: 市场ID
  12097. type: integer
  12098. orderid:
  12099. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  12100. type: string
  12101. ordertype:
  12102. description: 单据类型:0 - 发布中, 1 - 已完成
  12103. type: integer
  12104. picurls:
  12105. description: 介绍图片[多张用逗号分隔]
  12106. type: string
  12107. price:
  12108. description: 价格
  12109. type: number
  12110. qty:
  12111. description: 数量
  12112. type: integer
  12113. time:
  12114. description: 时间
  12115. type: string
  12116. trademode:
  12117. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12118. 21:竞拍-大宗式 22:受托竞价
  12119. type: integer
  12120. vendorname:
  12121. description: 供应商名称
  12122. type: string
  12123. required:
  12124. - accountid
  12125. - buyorsell
  12126. - goodscode
  12127. - goodsid
  12128. - goodsname
  12129. - marketid
  12130. - orderid
  12131. - time
  12132. - trademode
  12133. type: object
  12134. models.HsbyTopGoods:
  12135. properties:
  12136. agreeunit:
  12137. description: 合约单位
  12138. type: number
  12139. currency:
  12140. description: 货币
  12141. type: string
  12142. currencysign:
  12143. description: 货币符号
  12144. type: string
  12145. decimalplace:
  12146. description: 报价小数位
  12147. type: integer
  12148. desccityid:
  12149. description: 目的地(市)
  12150. type: integer
  12151. descprovinceid:
  12152. description: 目的地(省)
  12153. type: integer
  12154. goodscode:
  12155. description: 商品代码(内部)
  12156. type: string
  12157. goodsid:
  12158. description: 商品ID(自增ID SEQ_GOODS)
  12159. type: integer
  12160. goodsname:
  12161. description: 商品名称
  12162. type: string
  12163. hotindex:
  12164. description: 景点热度
  12165. type: integer
  12166. last:
  12167. description: 现价
  12168. type: number
  12169. marketid:
  12170. description: 所属市场ID
  12171. type: integer
  12172. picurls:
  12173. description: 介绍图片[多张用逗号分隔]
  12174. type: string
  12175. quoteminunit:
  12176. description: 行情最小变动单位 [整数,报价小数位一起使用]
  12177. type: integer
  12178. trademode:
  12179. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12180. 21:竞拍-大宗式 22:受托竞价
  12181. type: integer
  12182. videourls:
  12183. description: 介绍视频[多张用逗号分隔]
  12184. type: string
  12185. required:
  12186. - goodscode
  12187. - goodsid
  12188. - goodsname
  12189. - marketid
  12190. - trademode
  12191. type: object
  12192. models.HybsMyBuyOrderDetail:
  12193. properties:
  12194. accountid:
  12195. description: 账户ID[报价币种]
  12196. type: integer
  12197. agreeunit:
  12198. description: 合约单位
  12199. type: number
  12200. buyorsell:
  12201. description: 买卖 - 0:买 1:卖
  12202. type: integer
  12203. cancelqty:
  12204. description: 撤单数量
  12205. type: integer
  12206. currencysign:
  12207. description: 货币符号
  12208. type: string
  12209. decimalplace:
  12210. description: 报价小数位
  12211. type: integer
  12212. goodscode:
  12213. description: 商品代码(内部)
  12214. type: string
  12215. goodsid:
  12216. description: 商品ID
  12217. type: integer
  12218. goodsname:
  12219. description: 商品名称
  12220. type: string
  12221. listingselecttype:
  12222. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  12223. type: integer
  12224. marketid:
  12225. description: 市场ID
  12226. type: integer
  12227. mybuystatus:
  12228. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  12229. type: integer
  12230. orderamount:
  12231. description: 委托金额
  12232. type: number
  12233. orderid:
  12234. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12235. type: string
  12236. orderprice:
  12237. description: 委托价格
  12238. type: number
  12239. orderqty:
  12240. description: 委托数量
  12241. type: integer
  12242. orderstatus:
  12243. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12244. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12245. 16:成交失败违约(荷兰式竞拍专用)
  12246. type: integer
  12247. ordertime:
  12248. description: 委托时间
  12249. type: string
  12250. picurls1:
  12251. description: 预售商品介绍图片[多张用逗号分隔]
  12252. type: string
  12253. picurls2:
  12254. description: 挂牌商品介绍图片[多张用逗号分隔]
  12255. type: string
  12256. trademode:
  12257. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12258. 21:竞拍-大宗式 22:受托竞价
  12259. type: integer
  12260. tradeqty:
  12261. description: 成交数量
  12262. type: integer
  12263. vendorname1:
  12264. description: 预售商品供应商名称
  12265. type: string
  12266. vendorname2:
  12267. description: 挂牌商品供应商名称
  12268. type: string
  12269. required:
  12270. - accountid
  12271. - buyorsell
  12272. - goodscode
  12273. - goodsid
  12274. - goodsname
  12275. - marketid
  12276. - orderid
  12277. - orderqty
  12278. - ordertime
  12279. - trademode
  12280. type: object
  12281. models.InternalEnableTradeDetail:
  12282. properties:
  12283. agreeunit:
  12284. description: 合约乘数
  12285. type: number
  12286. areauserid:
  12287. description: 企业ID
  12288. type: integer
  12289. convertratio:
  12290. description: 品种系数
  12291. type: number
  12292. deliverygoodscode:
  12293. description: 现货品种代码
  12294. type: string
  12295. deliverygoodsid:
  12296. description: 现货品种ID(SEQ_DELIVERYGOODS)
  12297. type: integer
  12298. deliverygoodsname:
  12299. description: 现货品种名称
  12300. type: string
  12301. futurehedgeqty:
  12302. description: '[已关联数量]期货持仓套期量'
  12303. type: number
  12304. goodsid:
  12305. description: 期货合约ID
  12306. type: integer
  12307. hedgeditemid:
  12308. description: 被套期项目ID
  12309. type: string
  12310. hedgeditemnum:
  12311. description: 项目编号
  12312. type: string
  12313. tradeuserid:
  12314. description: 交易用户ID
  12315. type: integer
  12316. unexehedgeqty:
  12317. description: 未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)
  12318. type: number
  12319. unexespotqty:
  12320. description: 未执行现货量
  12321. type: number
  12322. wrstandardcode:
  12323. description: 现货品类代码
  12324. type: string
  12325. wrstandardid:
  12326. description: 现货品类ID(SEQ_WRSTANDARD)
  12327. type: integer
  12328. wrstandardname:
  12329. description: 现货品类名称
  12330. type: string
  12331. required:
  12332. - areauserid
  12333. - goodsid
  12334. - tradeuserid
  12335. type: object
  12336. models.InternalUncorrelatedTradeDetail:
  12337. properties:
  12338. accountid:
  12339. description: 账号ID
  12340. type: integer
  12341. accountname:
  12342. description: 套期主体
  12343. type: string
  12344. agreeunit:
  12345. description: 合约乘数
  12346. type: number
  12347. areauserid:
  12348. description: 所属机构
  12349. type: integer
  12350. bizsubjectid:
  12351. description: 归属业务部门ID - SubjectID
  12352. type: integer
  12353. buyorsell:
  12354. description: 方向 - 0:买 1:卖
  12355. type: integer
  12356. channelbuildtype:
  12357. description: 委托单据类型 0:无 1:建仓 2:平仓
  12358. type: integer
  12359. convertratio:
  12360. description: 品种系数
  12361. type: number
  12362. createtime:
  12363. description: 创建时间
  12364. type: string
  12365. creatorid:
  12366. description: 创建人ID
  12367. type: integer
  12368. creatorsrc:
  12369. description: 创建人来源 - 1:管理端 2:终端 3:交易
  12370. type: integer
  12371. enableqty:
  12372. description: 项目可关联数量 = 套保品种数量 - 关联数量
  12373. type: number
  12374. enumdicname:
  12375. description: 单位
  12376. type: string
  12377. goodscode:
  12378. description: 合约代码
  12379. type: string
  12380. goodsgroupid:
  12381. description: 对冲品种ID[期货合约商品组ID]
  12382. type: integer
  12383. goodsid:
  12384. description: 商品ID
  12385. type: integer
  12386. goodsname:
  12387. description: 合约名称
  12388. type: string
  12389. hedgeditemid:
  12390. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  12391. type: integer
  12392. hedgeflag:
  12393. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  12394. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  12395. type: integer
  12396. linkdetailid:
  12397. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  12398. type: string
  12399. linkstatus:
  12400. description: 关联状态 - 1:成功 2:失败 3:解绑
  12401. type: integer
  12402. middlegoodsid:
  12403. description: 套保品种ID
  12404. type: integer
  12405. middlegoodsqty:
  12406. description: '[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio'
  12407. type: number
  12408. relatedlot:
  12409. description: '[数量]关联手数'
  12410. type: number
  12411. relatedmode:
  12412. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  12413. type: integer
  12414. relatedqty:
  12415. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  12416. type: number
  12417. retcode:
  12418. description: 返回码
  12419. type: integer
  12420. saleuserid:
  12421. description: 业务员ID
  12422. type: integer
  12423. tradedate:
  12424. description: 关联交易日(yyyyMMdd)
  12425. type: string
  12426. tradeid:
  12427. description: 成交单号
  12428. type: string
  12429. tradelot:
  12430. description: 成交手数
  12431. type: integer
  12432. tradeprice:
  12433. description: 成交价
  12434. type: number
  12435. tradetime:
  12436. description: 成交时间
  12437. type: string
  12438. tradetradedate:
  12439. description: 成交交易日(yyyyMMdd)
  12440. type: string
  12441. tradeuserid:
  12442. description: 交易用户ID
  12443. type: integer
  12444. type: object
  12445. models.Loginaccount:
  12446. properties:
  12447. accountname:
  12448. description: 账户名称
  12449. type: string
  12450. canoutin:
  12451. description: 是否可出入金 - 0:不可 1:可
  12452. type: integer
  12453. clientroleid:
  12454. description: 终端角色ID
  12455. type: integer
  12456. haslogined:
  12457. description: 是否已登录 - 0:未登录 1:已登录
  12458. type: integer
  12459. hasupdatedpwd:
  12460. description: 是否已更改密码 - 0:未修改 1:已修改
  12461. type: integer
  12462. lastloginip:
  12463. description: 最新登录地址
  12464. type: string
  12465. lastloginmode:
  12466. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  12467. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  12468. type: integer
  12469. lastloginremark:
  12470. description: 最新登录描述
  12471. type: string
  12472. lastlogintime:
  12473. description: 最新登录时间
  12474. type: string
  12475. logincode:
  12476. description: 登录代码
  12477. type: string
  12478. loginfailnum:
  12479. description: 连续登录失败次数(登录成功时清零)
  12480. type: integer
  12481. loginid:
  12482. description: 登陆账号
  12483. type: integer
  12484. loginport:
  12485. description: 最新登录端口
  12486. type: integer
  12487. loginstatus:
  12488. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  12489. type: integer
  12490. loginusertype:
  12491. description: 登录账号类型 - 1:投资者 2:机构交易员
  12492. type: integer
  12493. mobile:
  12494. description: 手机号码(加密存储)
  12495. type: string
  12496. modifierid:
  12497. description: 修改人
  12498. type: integer
  12499. modifysrc:
  12500. description: 审核来源 - 1:管理端 2:终端
  12501. type: integer
  12502. modifytime:
  12503. description: 修改时间
  12504. type: string
  12505. pwdwrongcount:
  12506. description: 密码错误次数
  12507. type: integer
  12508. relateduserid:
  12509. description: 关联用户ID(机构)
  12510. type: integer
  12511. taaccountrighttype:
  12512. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  12513. type: integer
  12514. unfreezetime:
  12515. description: 账户解冻时间
  12516. type: string
  12517. userid:
  12518. description: 用户ID
  12519. type: integer
  12520. required:
  12521. - loginid
  12522. type: object
  12523. models.MainAccountInfo:
  12524. properties:
  12525. accountid:
  12526. description: 账号id
  12527. type: integer
  12528. accountname:
  12529. description: 账号名称(taaccount表中的名称)
  12530. type: string
  12531. appid:
  12532. description: AppID
  12533. type: string
  12534. authcode:
  12535. description: 授权码
  12536. type: string
  12537. brokerid:
  12538. description: 经纪商id
  12539. type: string
  12540. fcid:
  12541. description: 期货公司id
  12542. type: integer
  12543. fcname:
  12544. description: 期货公司代码
  12545. type: string
  12546. hedgeaccountcode:
  12547. description: 外部账号代码(主账号登录代码)
  12548. type: string
  12549. hedgeaccountpwd:
  12550. description: 密码
  12551. type: string
  12552. ismain:
  12553. description: 是否主账号
  12554. type: integer
  12555. relateduserid:
  12556. description: 关联用户id
  12557. type: integer
  12558. userid:
  12559. description: 关联用户id
  12560. type: integer
  12561. type: object
  12562. models.Market:
  12563. properties:
  12564. auctionwrtype:
  12565. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  12566. type: integer
  12567. canacceptquote:
  12568. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  12569. type: integer
  12570. cangoodsexercise:
  12571. description: '[期权]是否可现货行权- 0:否 1:是'
  12572. type: integer
  12573. cangoodsexercisetype:
  12574. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  12575. type: integer
  12576. canmanualquotestrike:
  12577. description: 是否可手动报行权价- 0:否 1:是 [期权]
  12578. type: integer
  12579. canmutistage:
  12580. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  12581. type: integer
  12582. canpreexercise:
  12583. description: '[期权]是否可预申报- 0:否 1:是'
  12584. type: integer
  12585. clearinterval:
  12586. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  12587. type: integer
  12588. contracttmp:
  12589. description: 合同模板[荷兰式][竞价式][仓单贸易]
  12590. type: string
  12591. exchareaid:
  12592. description: 所属交易所,可以没有
  12593. type: integer
  12594. goodstype:
  12595. description: 商品类型 - 1:交易商品 2:仓单商品
  12596. type: integer
  12597. hasrebate:
  12598. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  12599. type: integer
  12600. hastradecredit:
  12601. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  12602. type: integer
  12603. haswr:
  12604. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  12605. type: integer
  12606. isdeductmargin:
  12607. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  12608. type: integer
  12609. isrecordsource:
  12610. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  12611. type: integer
  12612. isreleasemargin:
  12613. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  12614. type: integer
  12615. marginformula:
  12616. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12617. type: integer
  12618. marginformula2:
  12619. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  12620. type: integer
  12621. marketid:
  12622. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  12623. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  12624. type: integer
  12625. marketname:
  12626. description: 市场名称
  12627. type: string
  12628. marketserviceid:
  12629. description: 市场服务ID
  12630. type: integer
  12631. marketstatus:
  12632. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  12633. type: integer
  12634. markettype:
  12635. description: 市场类型- 1:非交易服务 2:交易服务
  12636. type: integer
  12637. matchermode:
  12638. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  12639. type: integer
  12640. openmethod:
  12641. description: 开盘模式 - 0 自动 1手动
  12642. type: integer
  12643. otcuserid:
  12644. description: 场外期权做市商[场外期权]
  12645. type: integer
  12646. outersynctime:
  12647. description: 外部同步时间点(h24:mi:ss)[场外期权]
  12648. type: string
  12649. pendingflag:
  12650. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  12651. type: integer
  12652. pendingtime:
  12653. description: 待开市时间[通道交易-对冲](HH:mm)
  12654. type: string
  12655. performancetempid:
  12656. description: 履约计划模板ID - 作废
  12657. type: integer
  12658. premiumquotemode:
  12659. description: 权利金报价方式 - 1:自动 2:手动
  12660. type: integer
  12661. rebateratio:
  12662. description: 返利比率[竞价式]
  12663. type: number
  12664. reckonorder:
  12665. description: 结算顺序
  12666. type: integer
  12667. reckonpricealgorithm:
  12668. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  12669. 6.卖一价 7.买一卖一均价 8.外部结算价'
  12670. type: integer
  12671. reckonpriceparam:
  12672. description: 结算价参数
  12673. type: integer
  12674. reckontime:
  12675. description: 结算时间[通道交易-对冲](HH:mm)
  12676. type: string
  12677. roleprioritytype:
  12678. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  12679. type: integer
  12680. selllistingauditflag:
  12681. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  12682. type: integer
  12683. trademarkettype:
  12684. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  12685. type: integer
  12686. trademode:
  12687. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12688. 21:竞拍-大宗式 22:受托竞价
  12689. type: integer
  12690. tradeproperty:
  12691. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  12692. 8:场外期权
  12693. type: integer
  12694. tradetype:
  12695. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  12696. type: integer
  12697. required:
  12698. - marketid
  12699. - marketstatus
  12700. - openmethod
  12701. - reckonpricealgorithm
  12702. - trademode
  12703. - tradeproperty
  12704. type: object
  12705. models.Marketcalendar:
  12706. properties:
  12707. holidaydate:
  12708. description: 节假日期(yyyy-MM-dd)
  12709. type: string
  12710. marketid:
  12711. description: 市场ID
  12712. type: integer
  12713. type: object
  12714. models.Marketrun:
  12715. properties:
  12716. afternexttradedate:
  12717. description: 下下交易日
  12718. type: string
  12719. clearquoteflag:
  12720. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  12721. type: integer
  12722. lastreckondate:
  12723. description: 最新交易日(结算成功)
  12724. type: string
  12725. machinedate:
  12726. description: 机器时间
  12727. type: string
  12728. manualflag:
  12729. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  12730. type: integer
  12731. marketid:
  12732. description: 市场ID
  12733. type: integer
  12734. nexttradedate:
  12735. description: 下一交易日
  12736. type: string
  12737. pretradedate:
  12738. description: 上一交易日
  12739. type: string
  12740. reckonflag:
  12741. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  12742. type: integer
  12743. runstatus:
  12744. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  12745. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  12746. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  12747. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  12748. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  12749. 62.今日免清算
  12750. type: integer
  12751. sectionid:
  12752. description: 时间段号[多时段时用]
  12753. type: integer
  12754. tradedate:
  12755. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  12756. type: string
  12757. tradedate2:
  12758. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  12759. type: string
  12760. updatetime:
  12761. description: 更新时间
  12762. type: string
  12763. required:
  12764. - marketid
  12765. - nexttradedate
  12766. - reckonflag
  12767. - runstatus
  12768. - tradedate
  12769. - tradedate2
  12770. type: object
  12771. models.Messageboard:
  12772. properties:
  12773. contactnum:
  12774. description: 联系电话
  12775. type: string
  12776. createtime:
  12777. description: 创建时间
  12778. type: string
  12779. message:
  12780. description: 留言信息
  12781. type: string
  12782. messageboardid:
  12783. description: 留言簿ID(SEQ_MessageBoard)
  12784. type: integer
  12785. userid:
  12786. description: 用户ID
  12787. type: integer
  12788. required:
  12789. - messageboardid
  12790. type: object
  12791. models.MyBargainApply:
  12792. properties:
  12793. accountid:
  12794. description: 摘牌资金账号
  12795. type: integer
  12796. applyprice:
  12797. description: 申请价格
  12798. type: string
  12799. applyremark:
  12800. description: 申请备注
  12801. type: string
  12802. applystatus:
  12803. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  12804. type: integer
  12805. applytime:
  12806. description: 申请时间
  12807. type: string
  12808. buyorsell:
  12809. description: 买卖 - 0:买 1:卖
  12810. type: integer
  12811. buyusername:
  12812. description: 买方
  12813. type: string
  12814. confirmprice:
  12815. description: 可接受价格(拒绝时填写)-作废
  12816. type: number
  12817. confirmqty:
  12818. description: 可接受数量(拒绝时填写)-作废
  12819. type: integer
  12820. confirmremark:
  12821. description: 确认备注
  12822. type: string
  12823. confirmtime:
  12824. description: 确认时间
  12825. type: string
  12826. confirmuserid:
  12827. description: 确认人
  12828. type: integer
  12829. goodsno:
  12830. description: 商品编号
  12831. type: string
  12832. handlestatus:
  12833. description: 处理状态
  12834. type: integer
  12835. ladingbillid:
  12836. description: 摘牌方提单ID [卖]
  12837. type: integer
  12838. marketid:
  12839. description: 市场ID
  12840. type: integer
  12841. matchaccountid:
  12842. description: 挂牌方资金账号
  12843. type: integer
  12844. matchuserid:
  12845. description: 挂牌方用户ID
  12846. type: integer
  12847. performancetemplateid:
  12848. description: 履约计划模板ID
  12849. type: integer
  12850. price:
  12851. description: 价格
  12852. type: number
  12853. priceper:
  12854. description: 克拉单价 - 类型:1,2,3,5
  12855. type: string
  12856. qty:
  12857. description: 申请数量
  12858. type: number
  12859. refprice:
  12860. description: 参考价格
  12861. type: string
  12862. retcode:
  12863. description: 委托返回代码
  12864. type: integer
  12865. sellusername:
  12866. description: 卖方
  12867. type: string
  12868. sizedisplay:
  12869. description: 尺寸
  12870. type: string
  12871. subnum:
  12872. description: 摘牌方提单子单号 [卖]
  12873. type: integer
  12874. tradedate:
  12875. description: 交易日(yyyyMMdd)
  12876. type: string
  12877. userid:
  12878. description: 摘牌人用户ID
  12879. type: integer
  12880. warehousenamedisplay:
  12881. type: string
  12882. wrbargainid:
  12883. description: '[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)'
  12884. type: string
  12885. wrtradeorderid:
  12886. description: 关联委托单ID
  12887. type: string
  12888. zscerttypedisplay:
  12889. type: string
  12890. zsclaritytype1display:
  12891. type: string
  12892. zsclaritytype2display:
  12893. type: string
  12894. zscolortype1display:
  12895. type: string
  12896. zscolortype2display:
  12897. type: string
  12898. zscrystaltypedisplay:
  12899. type: string
  12900. zscurrencytypedisplay:
  12901. type: string
  12902. zscurrencytypedisplayunit:
  12903. type: string
  12904. zscuttype1display:
  12905. type: string
  12906. zscuttype2display:
  12907. type: string
  12908. zsczcolor1typedisplay:
  12909. type: string
  12910. zsczcolor2typedisplay:
  12911. type: string
  12912. zsczcolor3typedisplay:
  12913. type: string
  12914. zsfluorescencetype1display:
  12915. type: string
  12916. zsfluorescencetype2display:
  12917. type: string
  12918. zspolishtype1display:
  12919. type: string
  12920. zspolishtype2display:
  12921. type: string
  12922. zsshapetypedisplay:
  12923. type: string
  12924. zsstyletypedisplay:
  12925. type: string
  12926. zssymmetrytype1display:
  12927. type: string
  12928. zssymmetrytype2display:
  12929. type: string
  12930. required:
  12931. - userid
  12932. type: object
  12933. models.MyBuyOrder:
  12934. properties:
  12935. accountid:
  12936. description: 资金账户ID
  12937. type: integer
  12938. marketid:
  12939. description: 市场ID
  12940. type: integer
  12941. ordertime:
  12942. description: 委托时间
  12943. type: string
  12944. origin:
  12945. description: 原产地
  12946. type: string
  12947. performancetemplateid:
  12948. description: 履约计划模板ID
  12949. type: integer
  12950. remark:
  12951. description: 备注
  12952. type: string
  12953. userid:
  12954. description: 用户ID
  12955. type: integer
  12956. validtime:
  12957. description: 有效期限
  12958. type: string
  12959. warehouseids:
  12960. description: 仓库ID - 多个, 逗号分隔
  12961. type: string
  12962. warehouseinfosdisplay:
  12963. type: string
  12964. wrtradeorderid:
  12965. description: '[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)'
  12966. type: string
  12967. wrtradeorderstatus:
  12968. 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、
  12969. type: integer
  12970. zscategory:
  12971. description: 钻石分类 - 枚举”ZSCategory“
  12972. type: integer
  12973. zscategorydisplay:
  12974. type: string
  12975. zsclaritytype:
  12976. description: 净度 - 两个, 逗号分隔
  12977. type: string
  12978. zsclaritytypedisplay:
  12979. type: string
  12980. zscolortype:
  12981. description: 颜色 - 两个, 逗号分隔
  12982. type: string
  12983. zscolortypedisplay:
  12984. type: string
  12985. zscrystaltype:
  12986. description: 晶型 - 多个,逗号分隔
  12987. type: string
  12988. zscrystaltypedisplay:
  12989. type: string
  12990. zscurrencytype:
  12991. description: 货币类型 - 多个, 逗号分隔
  12992. type: string
  12993. zscurrencytypedisplay:
  12994. type: string
  12995. zscuttype:
  12996. description: 切工 - 两个, 逗号分隔
  12997. type: string
  12998. zscuttypedisplay:
  12999. type: string
  13000. zsczcolor1type:
  13001. description: 彩钻颜色1, 逗号分隔
  13002. type: string
  13003. zsczcolor1typedisplay:
  13004. type: string
  13005. zsczcolor2type:
  13006. description: 彩钻颜色2, 逗号分隔
  13007. type: string
  13008. zsczcolor2typedisplay:
  13009. type: string
  13010. zsczcolor3type:
  13011. description: 彩钻颜色3, 逗号分隔
  13012. type: string
  13013. zsczcolor3typedisplay:
  13014. type: string
  13015. zsfluorescencetype:
  13016. description: 荧光 - 多个, 逗号分隔
  13017. type: string
  13018. zsfluorescencetypedisplay:
  13019. type: string
  13020. zspolishtype:
  13021. description: 抛光度 - 两个, 逗号分隔
  13022. type: string
  13023. zspolishtypedisplay:
  13024. type: string
  13025. zsshapetype:
  13026. description: 形状 - 多个, 逗号分隔
  13027. type: string
  13028. zsshapetypedisplay:
  13029. type: string
  13030. zssize:
  13031. description: 尺寸 - 两个小数, 逗号分隔
  13032. type: string
  13033. zsstyletype:
  13034. description: 款式 - 多个, 逗号分隔
  13035. type: string
  13036. zsstyletypedisplay:
  13037. type: string
  13038. zssymmetrytype:
  13039. description: 对称度 - 两个, 逗号分隔
  13040. type: string
  13041. zssymmetrytypedisplay:
  13042. type: string
  13043. zstabledisplay:
  13044. description: 求购信息
  13045. type: string
  13046. required:
  13047. - userid
  13048. type: object
  13049. models.MyCoupon:
  13050. properties:
  13051. accountid:
  13052. description: 资金账户ID
  13053. type: integer
  13054. areauserid:
  13055. description: 所属机构
  13056. type: integer
  13057. conditionvalue:
  13058. description: 条件阈值(可为0)
  13059. type: number
  13060. couponcategroy:
  13061. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  13062. type: integer
  13063. couponname:
  13064. description: 优惠券名称
  13065. type: string
  13066. coupontypeid:
  13067. description: 优惠券类型ID
  13068. type: string
  13069. couponvalue:
  13070. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13071. type: number
  13072. curfreezeqty:
  13073. description: 期末冻结数量
  13074. type: integer
  13075. curqty:
  13076. description: 期末数量
  13077. type: integer
  13078. isgeneral:
  13079. description: 是否通用券 - 0:否 1:是
  13080. type: integer
  13081. isunusable:
  13082. description: 是否不可用
  13083. type: boolean
  13084. limitedflag:
  13085. description: 是否指定商品 - 0:不限 1:限制
  13086. type: integer
  13087. limitedgoodsids:
  13088. description: 指定商品IDs[逗号分隔,前后加逗号]
  13089. type: string
  13090. orifreezeqty:
  13091. description: 期初冻结数量
  13092. type: integer
  13093. oriqty:
  13094. description: 期初数量
  13095. type: integer
  13096. reasontype:
  13097. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  13098. type: integer
  13099. todaydecrease:
  13100. description: 今日减少
  13101. type: integer
  13102. todayincrease:
  13103. description: 今日增加
  13104. type: integer
  13105. userid:
  13106. description: 用户ID
  13107. type: integer
  13108. userscope:
  13109. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  13110. type: string
  13111. required:
  13112. - accountid
  13113. - coupontypeid
  13114. type: object
  13115. models.MyCouponHold:
  13116. properties:
  13117. accountid:
  13118. description: 资金账户ID
  13119. type: integer
  13120. conditionvalue:
  13121. description: 条件阈值(可为0)
  13122. type: number
  13123. couponcategroy:
  13124. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  13125. type: integer
  13126. couponholdid:
  13127. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  13128. type: string
  13129. couponname:
  13130. description: 优惠券名称
  13131. type: string
  13132. coupontypeid:
  13133. description: 优惠券类型ID - SEQ_COUPONTYPE
  13134. type: string
  13135. couponvalue:
  13136. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  13137. type: number
  13138. createtime:
  13139. description: 创建时间
  13140. type: string
  13141. enddate:
  13142. description: 结束日期
  13143. type: string
  13144. giveapplyid:
  13145. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  13146. type: integer
  13147. holdstatus:
  13148. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  13149. type: integer
  13150. isgeneral:
  13151. description: 是否通用券 - 0:否 1:是
  13152. type: integer
  13153. limitedflag:
  13154. description: 是否指定商品 - 0:不限 1:限制
  13155. type: integer
  13156. limitedgoodsids:
  13157. description: 指定商品IDs[逗号分隔]
  13158. type: string
  13159. qty:
  13160. description: 数量(按1平铺)
  13161. type: integer
  13162. startdate:
  13163. description: 开始日期
  13164. type: string
  13165. userid:
  13166. description: 用户ID
  13167. type: integer
  13168. userscope:
  13169. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  13170. type: string
  13171. required:
  13172. - couponholdid
  13173. type: object
  13174. models.MyDeListing:
  13175. properties:
  13176. buyaccountid:
  13177. description: 买方账号ID
  13178. type: integer
  13179. buychargevalue:
  13180. description: 买方手续费
  13181. type: number
  13182. buyuserid:
  13183. description: 买方用户ID
  13184. type: integer
  13185. deliverygoodsid:
  13186. description: 现货品种ID
  13187. type: integer
  13188. exchangerate:
  13189. description: 汇率
  13190. type: number
  13191. goodsno:
  13192. description: 商品编号
  13193. type: string
  13194. marketid:
  13195. description: 市场ID
  13196. type: integer
  13197. matchusername:
  13198. description: 对手方
  13199. type: string
  13200. oritradeamount:
  13201. description: 成交金额[商品币种]
  13202. type: number
  13203. performanceplanid:
  13204. description: 履约计划ID/合同ID
  13205. type: string
  13206. price:
  13207. description: 价格
  13208. type: number
  13209. qty:
  13210. description: 成交重量
  13211. type: number
  13212. sellaccountid:
  13213. description: 卖方账号ID
  13214. type: integer
  13215. sellchargevalue:
  13216. description: 卖方手续费
  13217. type: number
  13218. selluserid:
  13219. description: 卖方用户ID
  13220. type: integer
  13221. sizedisplay:
  13222. description: 尺寸
  13223. type: string
  13224. tradeamount:
  13225. description: 成交金额
  13226. type: number
  13227. tradedate:
  13228. description: 交易日(yyyyMMdd)
  13229. type: string
  13230. tradeprice:
  13231. description: 成交价格
  13232. type: number
  13233. tradetime:
  13234. description: 成交时间
  13235. type: string
  13236. userid:
  13237. description: 用户ID
  13238. type: integer
  13239. warehousenamedisplay:
  13240. type: string
  13241. wrfactortypeid:
  13242. description: 仓单要素类型ID
  13243. type: integer
  13244. wrstandardid:
  13245. description: 现货商品ID
  13246. type: integer
  13247. wrtradedetailid:
  13248. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  13249. type: string
  13250. zscategory:
  13251. description: 钻石分类 - 枚举”ZSCategory“
  13252. type: integer
  13253. zscategorydisplay:
  13254. type: string
  13255. zscerttypedisplay:
  13256. type: string
  13257. zsclaritytype1display:
  13258. type: string
  13259. zsclaritytype2display:
  13260. type: string
  13261. zscolortype1display:
  13262. type: string
  13263. zscolortype2display:
  13264. type: string
  13265. zscrystaltypedisplay:
  13266. type: string
  13267. zscurrencytype:
  13268. description: 货币类型 - 枚举“ZSCurrencyType”
  13269. type: integer
  13270. zscurrencytypedisplay:
  13271. type: string
  13272. zscurrencytypedisplayunit:
  13273. type: string
  13274. zscuttype1display:
  13275. type: string
  13276. zscuttype2display:
  13277. type: string
  13278. zsczcolor1typedisplay:
  13279. type: string
  13280. zsczcolor2typedisplay:
  13281. type: string
  13282. zsczcolor3typedisplay:
  13283. type: string
  13284. zsfluorescencetype1display:
  13285. type: string
  13286. zsfluorescencetype2display:
  13287. type: string
  13288. zspolishtype1display:
  13289. type: string
  13290. zspolishtype2display:
  13291. type: string
  13292. zsshapetypedisplay:
  13293. type: string
  13294. zsstyletypedisplay:
  13295. type: string
  13296. zssymmetrytype1display:
  13297. type: string
  13298. zssymmetrytype2display:
  13299. type: string
  13300. required:
  13301. - userid
  13302. type: object
  13303. models.MyDelistingApply:
  13304. properties:
  13305. applyprice:
  13306. description: 申请价格
  13307. type: number
  13308. applyqty:
  13309. description: 申请数量
  13310. type: number
  13311. applyremark:
  13312. description: 申请备注
  13313. type: string
  13314. applystatus:
  13315. description: 申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13316. type: integer
  13317. applytime:
  13318. description: 申请时间
  13319. type: string
  13320. auditremark:
  13321. description: 确认备注
  13322. type: string
  13323. audittime:
  13324. description: 确认时间
  13325. type: string
  13326. buyuserid:
  13327. description: 买方用户ID
  13328. type: integer
  13329. buyusername:
  13330. description: 买方
  13331. type: string
  13332. buywrtradeorderid:
  13333. description: 买委托单ID
  13334. type: string
  13335. cerno:
  13336. description: 证书编号 - 类型:2,4,5
  13337. type: string
  13338. goodsno:
  13339. description: 商品编号
  13340. type: string
  13341. ladingbillid:
  13342. description: 卖方提单ID
  13343. type: string
  13344. marketid:
  13345. description: 市场ID
  13346. type: integer
  13347. performancetemplateid:
  13348. description: 履约计划模板ID
  13349. type: integer
  13350. price:
  13351. description: 价格
  13352. type: number
  13353. priceper:
  13354. description: 克拉单价
  13355. type: string
  13356. sellaccountid:
  13357. description: 卖方账户ID
  13358. type: integer
  13359. selldelistingapplyid:
  13360. description: '[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)'
  13361. type: string
  13362. selltradeorderid:
  13363. description: 卖方委托ID(买方确认成交后更新)
  13364. type: string
  13365. selluserid:
  13366. description: 卖方用户ID
  13367. type: integer
  13368. sellusername:
  13369. description: 卖方
  13370. type: string
  13371. sizedisplay:
  13372. description: 尺寸
  13373. type: string
  13374. subnum:
  13375. description: 卖方提单子单号
  13376. type: integer
  13377. warehouseinfosdisplay:
  13378. type: string
  13379. weight:
  13380. description: 克拉重量
  13381. type: number
  13382. wrfactortypeid:
  13383. description: 仓单要素类型ID
  13384. type: string
  13385. wrstandardid:
  13386. description: 现货商品ID
  13387. type: integer
  13388. zsallproperties:
  13389. type: string
  13390. zscategorydisplay:
  13391. type: string
  13392. zscerttype:
  13393. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  13394. type: integer
  13395. zscerttypedisplay:
  13396. description: 证书类型
  13397. type: string
  13398. zsclaritytypedisplay:
  13399. type: string
  13400. zscolortypedisplay:
  13401. type: string
  13402. zscrystaltypedisplay:
  13403. type: string
  13404. zscurrencytypedisplay:
  13405. type: string
  13406. zscurrencytypedisplayunit:
  13407. description: 价格单位
  13408. type: string
  13409. zscuttypedisplay:
  13410. type: string
  13411. zsczcolor1typedisplay:
  13412. type: string
  13413. zsczcolor2typedisplay:
  13414. type: string
  13415. zsczcolor3typedisplay:
  13416. type: string
  13417. zsfluorescencetypedisplay:
  13418. type: string
  13419. zspolishtypedisplay:
  13420. type: string
  13421. zsshapetypedisplay:
  13422. type: string
  13423. zssizedisplay:
  13424. type: string
  13425. zsstyletypedisplay:
  13426. type: string
  13427. zssymmetrytypedisplay:
  13428. type: string
  13429. zstabledisplay:
  13430. type: string
  13431. required:
  13432. - selluserid
  13433. type: object
  13434. models.MyFavorite:
  13435. properties:
  13436. accountname:
  13437. description: 账户名称(机构名称)
  13438. type: string
  13439. buyorsell:
  13440. description: 买卖 - 0:买 1:卖
  13441. type: integer
  13442. favoritestatus:
  13443. description: 收藏状态 - 1:正常 2:失效
  13444. type: integer
  13445. goodsno:
  13446. description: 商品编号
  13447. type: string
  13448. marketid:
  13449. description: 市场ID
  13450. type: integer
  13451. marketprice:
  13452. description: 市场价
  13453. type: string
  13454. price:
  13455. description: 价格
  13456. type: number
  13457. priceper:
  13458. description: 克拉单价
  13459. type: string
  13460. sellusername:
  13461. description: 卖家
  13462. type: string
  13463. sizedisplay:
  13464. description: 尺寸
  13465. type: string
  13466. userid:
  13467. description: 用户ID
  13468. type: integer
  13469. warehousenamedisplay:
  13470. description: 仓库名称
  13471. type: string
  13472. weight:
  13473. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  13474. type: number
  13475. weightavg:
  13476. description: 平均单颗重量 - 类型:1,3
  13477. type: number
  13478. wrfactortypeid:
  13479. description: 仓单要素类型ID/商品ID(77)
  13480. type: string
  13481. wrstandardid:
  13482. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  13483. type: integer
  13484. wrtradeorderid:
  13485. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13486. type: string
  13487. zscategory:
  13488. description: 钻石分类 - 枚举”ZSCategory“
  13489. type: integer
  13490. zscategorydisplay:
  13491. type: string
  13492. zscerttypedisplay:
  13493. type: string
  13494. zsclaritytype1display:
  13495. type: string
  13496. zsclaritytype2display:
  13497. type: string
  13498. zscolortype1display:
  13499. type: string
  13500. zscolortype2display:
  13501. type: string
  13502. zscrystaltypedisplay:
  13503. type: string
  13504. zscurrencytypedisplay:
  13505. type: string
  13506. zscurrencytypedisplayunit:
  13507. type: string
  13508. zscuttype1display:
  13509. type: string
  13510. zscuttype2display:
  13511. type: string
  13512. zsczcolor1typedisplay:
  13513. type: string
  13514. zsczcolor2typedisplay:
  13515. type: string
  13516. zsczcolor3typedisplay:
  13517. type: string
  13518. zsfluorescencetype1display:
  13519. type: string
  13520. zsfluorescencetype2display:
  13521. type: string
  13522. zspolishtype1display:
  13523. type: string
  13524. zspolishtype2display:
  13525. type: string
  13526. zsshapetypedisplay:
  13527. type: string
  13528. zsstyletypedisplay:
  13529. type: string
  13530. zssymmetrytype1display:
  13531. type: string
  13532. zssymmetrytype2display:
  13533. type: string
  13534. required:
  13535. - userid
  13536. type: object
  13537. models.MyPerformanc:
  13538. properties:
  13539. accountname:
  13540. description: '[对手方]账户名称(机构名称)'
  13541. type: string
  13542. amount:
  13543. description: 履约金额
  13544. type: number
  13545. buyaccountid:
  13546. description: 买方账号
  13547. type: integer
  13548. buyerfreezeamount:
  13549. description: 买方履约前冻结资金
  13550. type: number
  13551. buyerfreezeamountremain:
  13552. description: 买方履约前冻结资金剩余
  13553. type: number
  13554. buyerinfo:
  13555. description: '买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13556. "xxxxxxxx", "ReceiveInfo": "xxxxxxxxx", "ReceiptInfo": "xxxxxxxxxxxx"}'
  13557. type: string
  13558. buyorsell:
  13559. description: 方向 - 0:买 1:卖
  13560. type: integer
  13561. buypaidamount:
  13562. description: 买方已冻/已扣金额
  13563. type: number
  13564. buytodayamount:
  13565. description: 买方今日扣/冻金额 (待开市时清零)
  13566. type: number
  13567. curstepid:
  13568. description: 当前步骤ID
  13569. type: string
  13570. goodsno:
  13571. description: 商品编号
  13572. type: string
  13573. overshortamount:
  13574. description: 溢短金额
  13575. type: number
  13576. paymenttype:
  13577. description: 买方支付方式 - 1:冻结 2:扣款
  13578. type: integer
  13579. performanceplanid:
  13580. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13581. type: string
  13582. performancestatus:
  13583. description: 履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13584. 9:超时待处理 10:超时关闭
  13585. type: integer
  13586. price:
  13587. description: 价格
  13588. type: number
  13589. priceper:
  13590. description: 克拉单价
  13591. type: string
  13592. relatedorderid:
  13593. description: 关联单号(履约类型的关联单号)
  13594. type: string
  13595. remaindays:
  13596. description: 剩余天数
  13597. type: integer
  13598. sellerfreezeamount:
  13599. description: 卖方履约前冻结资金
  13600. type: number
  13601. sellerfreezeamountremain:
  13602. description: 卖方履约前冻结资金剩余
  13603. type: number
  13604. sellerinfo:
  13605. description: '卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo'',显示\隐藏字段,若数据不为JSON,则直接显示{ "ContactInfo":
  13606. "xxxxxxxx"}'
  13607. type: string
  13608. sellreceivedamount:
  13609. description: 卖方已收金额
  13610. type: number
  13611. selltodayamount:
  13612. description: 卖方今日收取金额(待开市时清零)
  13613. type: number
  13614. sizedisplay:
  13615. description: 尺寸
  13616. type: string
  13617. steptypeid:
  13618. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13619. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13620. type: integer
  13621. warehousenamedisplay:
  13622. type: string
  13623. zscategorydisplay:
  13624. type: string
  13625. zscerttypedisplay:
  13626. type: string
  13627. zsclaritytype1display:
  13628. type: string
  13629. zsclaritytype2display:
  13630. type: string
  13631. zscolortype1display:
  13632. type: string
  13633. zscolortype2display:
  13634. type: string
  13635. zscrystaltypedisplay:
  13636. type: string
  13637. zscurrencytypedisplay:
  13638. type: string
  13639. zscurrencytypedisplayunit:
  13640. type: string
  13641. zscuttype1display:
  13642. type: string
  13643. zscuttype2display:
  13644. type: string
  13645. zsczcolor1typedisplay:
  13646. type: string
  13647. zsczcolor2typedisplay:
  13648. type: string
  13649. zsczcolor3typedisplay:
  13650. type: string
  13651. zsfluorescencetype1display:
  13652. type: string
  13653. zsfluorescencetype2display:
  13654. type: string
  13655. zspolishtype1display:
  13656. type: string
  13657. zspolishtype2display:
  13658. type: string
  13659. zsshapetypedisplay:
  13660. type: string
  13661. zsstyletypedisplay:
  13662. type: string
  13663. zssymmetrytype1display:
  13664. type: string
  13665. zssymmetrytype2display:
  13666. type: string
  13667. type: object
  13668. models.MyRefer:
  13669. properties:
  13670. accountname:
  13671. description: 用户名(脱敏)
  13672. type: string
  13673. createtime:
  13674. description: 时间(yyyy-mm-dd)
  13675. type: string
  13676. score:
  13677. description: 积分
  13678. type: number
  13679. type: object
  13680. models.MySellOrder:
  13681. properties:
  13682. accountid:
  13683. description: 资金账号
  13684. type: integer
  13685. applyid:
  13686. description: 申请单ID
  13687. type: integer
  13688. attachment1:
  13689. description: 附件1
  13690. type: string
  13691. attachment2:
  13692. description: 附件2
  13693. type: string
  13694. buyorsell:
  13695. description: 买卖 - 0:买 1:卖
  13696. type: integer
  13697. canbargain:
  13698. description: 是否可议价 - 0:不可 1:可
  13699. type: integer
  13700. cancelqty:
  13701. description: 撤销数量
  13702. type: integer
  13703. canceltime:
  13704. description: 撤销时间
  13705. type: string
  13706. cerno:
  13707. type: string
  13708. chargealgorithm:
  13709. description: 手续费收取方式 1:比率 2:固定
  13710. type: integer
  13711. chargealgorithmvalue:
  13712. description: 手续费设置值(交易所部分)
  13713. type: number
  13714. chargealgorithmvalue2:
  13715. description: 手续费设置值(会员部分)
  13716. type: number
  13717. clientordertime:
  13718. description: 客户端委托时间
  13719. type: string
  13720. cpcertno:
  13721. type: string
  13722. exchangerate:
  13723. description: 汇率[67]
  13724. type: number
  13725. firstratio:
  13726. description: 首付比率 - [挂牌时指定,摘牌时使用]
  13727. type: number
  13728. fixedprice:
  13729. description: '[克拉单价]固定价格 - [挂牌]'
  13730. type: number
  13731. freezecharge:
  13732. description: 冻结手续费
  13733. type: number
  13734. freezefirstamount:
  13735. description: 冻结首付金额 - [摘牌]
  13736. type: number
  13737. freezemargin:
  13738. description: 冻结保证金
  13739. type: number
  13740. goodsno:
  13741. description: 商品编号
  13742. type: string
  13743. imagepath:
  13744. type: string
  13745. isspecified:
  13746. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  13747. type: integer
  13748. kppath:
  13749. type: string
  13750. kpweight:
  13751. type: string
  13752. marginalgorithm:
  13753. description: 保证金方式 - 1:比率 2:固定
  13754. type: integer
  13755. marginvalue:
  13756. description: 保证金设置值
  13757. type: number
  13758. marketid:
  13759. description: 市场ID
  13760. type: integer
  13761. marketprice:
  13762. type: string
  13763. orderamount:
  13764. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  13765. type: number
  13766. ordertime:
  13767. description: 委托时间
  13768. type: string
  13769. performancetemplateid:
  13770. description: 履约计划模板ID
  13771. type: integer
  13772. price:
  13773. description: 价格
  13774. type: number
  13775. pricefactor:
  13776. description: 价格系数(浮动价时填写) - [挂牌]
  13777. type: number
  13778. pricemove:
  13779. description: 升贴水(浮动价时填写) - [挂牌]
  13780. type: number
  13781. priceper:
  13782. type: string
  13783. relatedwrtradeorderid:
  13784. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  13785. type: integer
  13786. remark:
  13787. type: string
  13788. retcode:
  13789. description: 错误代码
  13790. type: integer
  13791. selledqty:
  13792. description: 成交重量
  13793. type: number
  13794. settingmaterial:
  13795. type: string
  13796. size1:
  13797. type: string
  13798. size2:
  13799. type: string
  13800. size3:
  13801. type: string
  13802. sizedisplay:
  13803. description: 尺寸
  13804. type: string
  13805. stonedesc:
  13806. type: string
  13807. totalqty:
  13808. description: 总重量
  13809. type: number
  13810. tradedate:
  13811. description: 交易日(yyyyMMdd)
  13812. type: string
  13813. tradeprice:
  13814. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13815. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13816. type: number
  13817. unfreezecharge:
  13818. description: 解冻手续费
  13819. type: number
  13820. unfreezefirstamount:
  13821. description: 解冻首付金额 - [摘牌]
  13822. type: number
  13823. unfreezemargin:
  13824. description: 解冻保证金
  13825. type: number
  13826. userid:
  13827. description: 用户ID
  13828. type: integer
  13829. uuid:
  13830. description: 发起端唯一id
  13831. type: string
  13832. validtime:
  13833. description: 有效期限
  13834. type: string
  13835. validtype:
  13836. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  13837. type: integer
  13838. warehousenamedisplay:
  13839. type: string
  13840. wrbargainid:
  13841. description: 议价申请单ID
  13842. type: integer
  13843. wrfactortypeid:
  13844. description: 仓单要素类型ID/商品ID(77)
  13845. type: integer
  13846. wrpath:
  13847. type: string
  13848. wrpricetype:
  13849. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13850. type: integer
  13851. wrstandardid:
  13852. description: 现货商品ID
  13853. type: integer
  13854. wrtradeorderid:
  13855. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13856. type: string
  13857. wrtradeorderstatus:
  13858. 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:撤单解冻贷款失败
  13859. type: integer
  13860. wrtradetype:
  13861. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13862. type: integer
  13863. wrtransferuserid:
  13864. description: 仓单受让用户 - [摘牌]
  13865. type: integer
  13866. zscategory:
  13867. description: 钻石分类 - 枚举”ZSCategory“
  13868. type: integer
  13869. zscategorydisplay:
  13870. description: 钻石分类 - 描述
  13871. type: string
  13872. zscerttypedisplay:
  13873. type: string
  13874. zsclaritytype1display:
  13875. type: string
  13876. zsclaritytype2display:
  13877. type: string
  13878. zscolortype1display:
  13879. type: string
  13880. zscolortype2display:
  13881. type: string
  13882. zscrystaltype:
  13883. type: string
  13884. zscrystaltypedisplay:
  13885. type: string
  13886. zscurrencytype:
  13887. description: 货币类型 - 枚举“ZSCurrencyType”
  13888. type: integer
  13889. zscurrencytypedisplay:
  13890. type: string
  13891. zscurrencytypedisplayunit:
  13892. type: string
  13893. zscuttype1display:
  13894. type: string
  13895. zscuttype2display:
  13896. type: string
  13897. zsczcolor1typedisplay:
  13898. type: string
  13899. zsczcolor2typedisplay:
  13900. type: string
  13901. zsczcolor3typedisplay:
  13902. type: string
  13903. zsfluorescencetype1display:
  13904. type: string
  13905. zsfluorescencetype2display:
  13906. type: string
  13907. zspolishtype1display:
  13908. type: string
  13909. zspolishtype2display:
  13910. type: string
  13911. zsshapetypedisplay:
  13912. type: string
  13913. zsstyletypedisplay:
  13914. type: string
  13915. zssymmetrytype1display:
  13916. type: string
  13917. zssymmetrytype2display:
  13918. type: string
  13919. required:
  13920. - userid
  13921. type: object
  13922. models.MyUsedCoupon:
  13923. properties:
  13924. accountid:
  13925. description: 资金账户ID(买方)
  13926. type: integer
  13927. conditionvalue:
  13928. description: 条件阈值(可为0)
  13929. type: number
  13930. couponcategroy:
  13931. description: 种类 - 1:现金券 2:折扣券
  13932. type: integer
  13933. couponname:
  13934. description: 优惠券名称
  13935. type: string
  13936. coupontypeid:
  13937. description: 优惠券类型ID(买方)
  13938. type: string
  13939. couponvalue:
  13940. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  13941. type: number
  13942. createtime:
  13943. description: 创建时间
  13944. type: string
  13945. goodsid:
  13946. description: 商品ID
  13947. type: integer
  13948. handlestatus:
  13949. description: 处理状态
  13950. type: integer
  13951. marketid:
  13952. description: 市场ID
  13953. type: integer
  13954. offamount:
  13955. description: 优惠金额
  13956. type: number
  13957. orderid:
  13958. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13959. type: string
  13960. sellaccountid:
  13961. description: 资金账户ID(卖方)
  13962. type: integer
  13963. tradeamount:
  13964. description: 成交金额
  13965. type: number
  13966. tradeid:
  13967. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13968. type: string
  13969. usedqty:
  13970. description: 使用数量
  13971. type: integer
  13972. required:
  13973. - coupontypeid
  13974. - orderid
  13975. type: object
  13976. models.MyWRPosition:
  13977. properties:
  13978. cerno:
  13979. description: 证书编号 - 类型:2,4,5
  13980. type: string
  13981. cpcertno:
  13982. description: 金伯利证书编号 - 类型:3
  13983. type: string
  13984. ffreezeqty:
  13985. description: 冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数
  13986. type: number
  13987. ftotalqty:
  13988. description: 库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数
  13989. type: number
  13990. goodsno:
  13991. description: 商品编号
  13992. type: string
  13993. imagepath:
  13994. description: 商品照片(相对地址)
  13995. type: string
  13996. isvalid:
  13997. description: 是否有效 - 0:无效 1:有效
  13998. type: integer
  13999. kppath:
  14000. description: 金伯利证书图片(相对地址) - 类型:3
  14001. type: string
  14002. kpweight:
  14003. description: 金伯利证书重量 - 类型:3
  14004. type: string
  14005. ladingbillid:
  14006. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14007. type: string
  14008. marketflag:
  14009. description: 是否上架,0-全部 1-是 2-否
  14010. type: integer
  14011. marketprice:
  14012. description: 市场价
  14013. type: string
  14014. origin:
  14015. description: 原产地 - 类型:3
  14016. type: string
  14017. price:
  14018. description: 总价(价格) - 类型:1,2,3,4,5
  14019. type: number
  14020. priceper:
  14021. description: 克拉单价 - 类型:1,2,3,5
  14022. type: string
  14023. remark:
  14024. description: 备注
  14025. type: string
  14026. sellmobile:
  14027. description: 手机号码(加密存储)
  14028. type: string
  14029. sellusername:
  14030. description: 账户名称(机构名称)
  14031. type: string
  14032. settingmaterial:
  14033. description: 镶嵌材料 - 类型:4
  14034. type: string
  14035. size1:
  14036. description: 尺寸1 - 类型:2,4,5
  14037. type: string
  14038. size2:
  14039. description: 尺寸2 - 类型:2,4,5
  14040. type: string
  14041. size3:
  14042. description: 尺寸3 - 类型:2,4,5
  14043. type: string
  14044. sizedisplay:
  14045. description: 尺寸
  14046. type: string
  14047. stonedesc:
  14048. description: 配石描述 - 类型:4
  14049. type: string
  14050. subnum:
  14051. description: 提单子单号
  14052. type: integer
  14053. userid:
  14054. description: 用户ID
  14055. type: integer
  14056. warehouseid:
  14057. description: 仓库ID
  14058. type: integer
  14059. warehousenamedisplay:
  14060. type: string
  14061. weight:
  14062. description: 总重量(克拉重量) - 类型:1,2,3,4,5
  14063. type: number
  14064. weightavg:
  14065. description: 平均单颗重量 - 类型:1,3
  14066. type: number
  14067. wrpath:
  14068. description: 仓单扫描件(相对地址)
  14069. type: string
  14070. wrstandardid:
  14071. description: 现货商品ID
  14072. type: integer
  14073. wrtradeorderid:
  14074. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14075. type: string
  14076. wruserid:
  14077. description: 登录用户ID
  14078. type: integer
  14079. zscategory:
  14080. description: 钻石分类 - 枚举”ZSCategory“
  14081. type: integer
  14082. zscategorydisplay:
  14083. type: string
  14084. zscerttype:
  14085. description: 证书类型 - 枚举”ZSCertType“ - 类型:2,4,5
  14086. type: integer
  14087. zscerttypedisplay:
  14088. type: string
  14089. zsclaritytype1:
  14090. description: 净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5
  14091. type: integer
  14092. zsclaritytype1display:
  14093. type: string
  14094. zsclaritytype2:
  14095. description: 净度2 - 枚举”ZSClarityType“ - 类型:1,3
  14096. type: integer
  14097. zsclaritytype2display:
  14098. type: string
  14099. zscolortype1:
  14100. description: 颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4
  14101. type: integer
  14102. zscolortype1display:
  14103. type: string
  14104. zscolortype2:
  14105. description: 颜色2 - 枚举”ZSColorType“ - 类型:1,3
  14106. type: integer
  14107. zscolortype2display:
  14108. type: string
  14109. zscrystaltype:
  14110. description: 晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔
  14111. type: string
  14112. zscrystaltypedisplay:
  14113. type: string
  14114. zscurrencytype:
  14115. description: 货币类型 - 枚举“ZSCurrencyType”
  14116. type: integer
  14117. zscurrencytypedisplay:
  14118. type: string
  14119. zscurrencytypedisplayunit:
  14120. type: string
  14121. zscuttype1:
  14122. description: 切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5
  14123. type: integer
  14124. zscuttype1display:
  14125. type: string
  14126. zscuttype2:
  14127. description: 切工2 - 枚举”ZSCutType“ - 类型:1
  14128. type: integer
  14129. zscuttype2display:
  14130. type: string
  14131. zsczcolor1type:
  14132. description: 彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5
  14133. type: integer
  14134. zsczcolor1typedisplay:
  14135. type: string
  14136. zsczcolor2type:
  14137. description: 彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5
  14138. type: integer
  14139. zsczcolor2typedisplay:
  14140. type: string
  14141. zsczcolor3type:
  14142. description: 彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5
  14143. type: integer
  14144. zsczcolor3typedisplay:
  14145. type: string
  14146. zsfluorescencetype1:
  14147. description: 荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5
  14148. type: integer
  14149. zsfluorescencetype1display:
  14150. type: string
  14151. zsfluorescencetype2:
  14152. description: 荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3
  14153. type: integer
  14154. zsfluorescencetype2display:
  14155. type: string
  14156. zspolishtype1:
  14157. description: 抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5
  14158. type: integer
  14159. zspolishtype1display:
  14160. type: string
  14161. zspolishtype2:
  14162. description: 抛光度2 - 枚举”ZSPolishType“ - 类型:1
  14163. type: integer
  14164. zspolishtype2display:
  14165. type: string
  14166. zsshapetype:
  14167. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  14168. type: string
  14169. zsshapetypedisplay:
  14170. type: string
  14171. zsstyletype:
  14172. description: 款式 - 类型:4
  14173. type: integer
  14174. zsstyletypedisplay:
  14175. type: string
  14176. zssymmetrytype1:
  14177. description: 对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5
  14178. type: integer
  14179. zssymmetrytype1display:
  14180. type: string
  14181. zssymmetrytype2:
  14182. description: 对称度2 - 枚举”ZSSymmetryType“ - 类型:1
  14183. type: integer
  14184. zssymmetrytype2display:
  14185. type: string
  14186. required:
  14187. - wruserid
  14188. type: object
  14189. models.NewFuncmenulist:
  14190. properties:
  14191. authtype:
  14192. description: 权限类型 - 1:菜单 2:组件 3:按钮
  14193. type: integer
  14194. buttonname:
  14195. description: 按钮名称
  14196. type: string
  14197. buttontype:
  14198. description: 按钮类型 - 存按钮样式
  14199. type: string
  14200. component:
  14201. description: 组件名或组件地址
  14202. type: string
  14203. hidden:
  14204. description: 是否隐藏 - 0:显示 1:隐藏
  14205. type: integer
  14206. iconame:
  14207. description: 菜单图标
  14208. type: string
  14209. menutype:
  14210. description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  14211. type: integer
  14212. parentcode:
  14213. description: 上级资源代码
  14214. type: string
  14215. remark:
  14216. description: Remark
  14217. type: string
  14218. resourcecode:
  14219. description: 资源代码
  14220. type: string
  14221. resourcelevel:
  14222. description: 级别1-一级 2-二级 3-三级4-四级
  14223. type: integer
  14224. resourcename:
  14225. description: 资源名(Title)
  14226. type: string
  14227. sort:
  14228. description: 排序
  14229. type: integer
  14230. url:
  14231. description: Url
  14232. type: string
  14233. urltype:
  14234. description: 地址类型 - 1:路由 2:外链 3:内联框架
  14235. type: integer
  14236. required:
  14237. - resourcecode
  14238. type: object
  14239. models.OperationPrimaryMenu:
  14240. properties:
  14241. Children:
  14242. description: 二级功能菜单
  14243. items:
  14244. $ref: '#/definitions/models.OperationSecondaryMenu'
  14245. type: array
  14246. Key:
  14247. description: 菜单KEY
  14248. type: string
  14249. Label:
  14250. description: 菜单标题
  14251. type: string
  14252. type: object
  14253. models.OperationSecondaryMenu:
  14254. properties:
  14255. Key:
  14256. description: 菜单KEY
  14257. type: string
  14258. Label:
  14259. description: 菜单标题
  14260. type: string
  14261. TabList:
  14262. description: 三级功能菜单
  14263. items:
  14264. $ref: '#/definitions/models.OperationTabMenu'
  14265. type: array
  14266. type: object
  14267. models.OperationTabMenu:
  14268. properties:
  14269. Key:
  14270. description: 菜单KEY
  14271. type: string
  14272. Label:
  14273. description: 菜单标题
  14274. type: string
  14275. type: object
  14276. models.Patradelinkdetail:
  14277. properties:
  14278. accountname:
  14279. description: 套期主体
  14280. type: string
  14281. agreeunit:
  14282. description: 合约乘数
  14283. type: number
  14284. amount:
  14285. description: 金额 = RelatedLot * TradePrice * AgreeUnit
  14286. type: number
  14287. areauserid:
  14288. description: 所属机构
  14289. type: integer
  14290. bizsubjectid:
  14291. description: 归属业务部门ID - SubjectID
  14292. type: integer
  14293. buyorsell:
  14294. description: 方向 - 0:买 1:卖
  14295. type: integer
  14296. convertratio:
  14297. description: 品种系数
  14298. type: number
  14299. convertratiochange:
  14300. description: 套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio
  14301. type: number
  14302. createtime:
  14303. description: '[日期时间]创建时间'
  14304. type: string
  14305. creatorid:
  14306. description: 创建人ID
  14307. type: integer
  14308. creatorsrc:
  14309. description: 创建人来源 - 1:管理端 2:终端 3:交易
  14310. type: integer
  14311. goodscode:
  14312. description: 商品代码(内部)
  14313. type: string
  14314. goodsgroupid:
  14315. description: 对冲品种ID[期货合约商品组ID]
  14316. type: integer
  14317. goodsid:
  14318. description: 商品ID
  14319. type: integer
  14320. hedgeditemid:
  14321. description: 现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]
  14322. type: integer
  14323. hedgeflag:
  14324. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  14325. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目
  14326. type: integer
  14327. linkdetailid:
  14328. description: 期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)
  14329. type: string
  14330. linkstatus:
  14331. description: 关联状态 - 1:成功 2:失败 3:解绑
  14332. type: integer
  14333. middlegoodsid:
  14334. description: 套保品种ID
  14335. type: integer
  14336. name:
  14337. description: 账户名/子账户
  14338. type: string
  14339. optioncode:
  14340. description: '[期货合约]期权代码 [期权]'
  14341. type: string
  14342. ordertype:
  14343. description: 单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单
  14344. type: integer
  14345. relatedlot:
  14346. description: '[数量]关联手数'
  14347. type: number
  14348. relatedmode:
  14349. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  14350. type: integer
  14351. relatedqty:
  14352. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  14353. type: number
  14354. retcode:
  14355. description: 返回码
  14356. type: integer
  14357. saleuserid:
  14358. description: 业务员ID
  14359. type: integer
  14360. tradedate:
  14361. description: 关联交易日(yyyyMMdd)
  14362. type: string
  14363. tradeid:
  14364. description: '[成交单号]内部成交单ID'
  14365. type: string
  14366. tradelot:
  14367. description: 成交手数
  14368. type: integer
  14369. tradeprice:
  14370. description: '[价格]成交价格'
  14371. type: number
  14372. tradetradedate:
  14373. description: 成交交易日(yyyyMMdd)
  14374. type: string
  14375. type: object
  14376. models.PromotionIncome:
  14377. properties:
  14378. profitmonth:
  14379. description: 时间
  14380. type: string
  14381. profitstatus:
  14382. description: 状态 - 1:已支付 2:未支付 3:支取中
  14383. type: integer
  14384. sumamount:
  14385. description: 金额
  14386. type: number
  14387. type: object
  14388. models.PromotionIncomeDetail:
  14389. properties:
  14390. buyorsell:
  14391. description: 方向
  14392. type: string
  14393. market:
  14394. description: 市场
  14395. type: string
  14396. profitamount:
  14397. description: 金额
  14398. type: number
  14399. profitroletype:
  14400. description: 级别
  14401. type: string
  14402. tradetime:
  14403. description: 时间
  14404. type: string
  14405. wrstandardcode:
  14406. description: 现货商品代码
  14407. type: string
  14408. wrstandardid:
  14409. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14410. type: integer
  14411. wrstandardname:
  14412. description: 现货商品名称
  14413. type: string
  14414. type: object
  14415. models.PurchaseTransfer:
  14416. properties:
  14417. pictureurls:
  14418. description: 详情图片(逗号分隔)
  14419. type: string
  14420. refgoodsid:
  14421. description: 参考商品ID
  14422. type: integer
  14423. thumurls:
  14424. description: 缩略图片(1:1)(逗号分隔)
  14425. type: string
  14426. unitid:
  14427. description: 现货商品单位ID
  14428. type: integer
  14429. wrstandardcode:
  14430. description: 现货商品代码
  14431. type: string
  14432. wrstandardid:
  14433. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  14434. type: integer
  14435. wrstandardname:
  14436. description: 现货商品名称(模糊查询)
  14437. type: string
  14438. type: object
  14439. models.QhjAccountOutInApply:
  14440. properties:
  14441. accountcode:
  14442. description: 资金账号
  14443. type: string
  14444. accountname:
  14445. description: 用户名称(名称)
  14446. type: string
  14447. accountpwd:
  14448. description: 资金密码
  14449. type: string
  14450. accountticket:
  14451. description: 最新账户服务流水号
  14452. type: string
  14453. amount:
  14454. description: 金额
  14455. type: number
  14456. applyremark:
  14457. description: 申请备注
  14458. type: string
  14459. applystatus:
  14460. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  14461. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  14462. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  14463. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  14464. type: integer
  14465. auditid:
  14466. description: 审核人
  14467. type: integer
  14468. audittime:
  14469. description: 审核时间
  14470. type: string
  14471. bank_apply_ticket:
  14472. description: 银行申请流水
  14473. type: string
  14474. bankaccountname:
  14475. description: 银行账户名
  14476. type: string
  14477. bankaccountno:
  14478. description: 银行卡号
  14479. type: string
  14480. bankid:
  14481. description: 银行编号
  14482. type: string
  14483. bankticket:
  14484. description: 银行流水
  14485. type: string
  14486. branchbankid:
  14487. description: 银行支行号
  14488. type: string
  14489. branchbankname:
  14490. description: 银行支行名称
  14491. type: string
  14492. capamountout:
  14493. description: 出金(劣后本金) - 外部子账户
  14494. type: number
  14495. certificatephotourl:
  14496. description: 凭证地址
  14497. type: string
  14498. charge:
  14499. description: 手续费
  14500. type: number
  14501. checkerrorflag:
  14502. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  14503. type: integer
  14504. currency:
  14505. description: 币种
  14506. type: string
  14507. cusbankid:
  14508. description: 托管银行编号
  14509. type: string
  14510. cusbankname:
  14511. description: 托管银行名称
  14512. type: string
  14513. cusbankshortname:
  14514. description: 托管银行简称
  14515. type: string
  14516. exchticket:
  14517. description: 银行服务流水号
  14518. type: string
  14519. executetype:
  14520. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  14521. 7:外部子账户:入金 8:外部子账户:出金'
  14522. type: integer
  14523. extendinfo:
  14524. description: 扩展信息
  14525. type: string
  14526. extoperateid:
  14527. description: 交易服务流水号
  14528. type: integer
  14529. infamount:
  14530. description: 劣后金额(自有)
  14531. type: number
  14532. logincode:
  14533. description: 登录账号(账号)
  14534. type: string
  14535. netaddr:
  14536. description: 调转网址
  14537. type: string
  14538. priamount:
  14539. description: 优先金额(授信)
  14540. type: number
  14541. reauditid:
  14542. description: 复审人
  14543. type: integer
  14544. reauditremark:
  14545. description: 复审备注
  14546. type: string
  14547. reaudittime:
  14548. description: 复审时间
  14549. type: string
  14550. relatedorderid:
  14551. description: 三方关联ID
  14552. type: string
  14553. remark:
  14554. description: 备注
  14555. type: string
  14556. remark2:
  14557. description: 备注(失败原因)
  14558. type: string
  14559. soucreamount:
  14560. description: 原始出入金金额
  14561. type: number
  14562. soucrecurrencyid:
  14563. description: 原始出入金币种
  14564. type: integer
  14565. tradedate:
  14566. description: 交易日(yyyyMMdd)
  14567. type: string
  14568. updatetime:
  14569. description: 更新时间(申请时间)
  14570. type: string
  14571. userid:
  14572. description: 用户id
  14573. type: integer
  14574. userinfotype:
  14575. description: 账户类型 1-个人 2-企业
  14576. type: integer
  14577. type: object
  14578. models.QhjAgreementChangeLog:
  14579. properties:
  14580. agreementcontent:
  14581. description: 协议内容
  14582. type: string
  14583. agreementfrequency:
  14584. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14585. type: integer
  14586. agreementid:
  14587. description: 协议ID
  14588. type: integer
  14589. agreementname:
  14590. description: 协议名称
  14591. type: string
  14592. agreementno:
  14593. description: 协议编号
  14594. type: string
  14595. agreementtype:
  14596. description: 协议类型 - 1:注册 2:登录 3:交易
  14597. type: integer
  14598. agreementversion:
  14599. description: 协议版本号
  14600. type: integer
  14601. logid:
  14602. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  14603. type: integer
  14604. reviserid:
  14605. description: 修改人
  14606. type: integer
  14607. revisersrc:
  14608. description: 修改来源 - 1:管理端 2:终端
  14609. type: integer
  14610. updatetime:
  14611. description: 更新时间
  14612. type: string
  14613. type: object
  14614. models.QhjAgreementConfig:
  14615. properties:
  14616. agreementcontent:
  14617. description: 协议内容
  14618. type: string
  14619. agreementfrequency:
  14620. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  14621. type: integer
  14622. agreementid:
  14623. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  14624. type: integer
  14625. agreementname:
  14626. description: 协议名称
  14627. type: string
  14628. agreementno:
  14629. description: 协议编号
  14630. type: string
  14631. agreementtype:
  14632. description: 协议类型 - 1:注册 2:登录 3:交易
  14633. type: integer
  14634. agreementversion:
  14635. description: 协议版本号(从1开始每次修改加1)
  14636. type: integer
  14637. createtime:
  14638. description: 创建时间
  14639. type: string
  14640. creatorid:
  14641. description: 创建人
  14642. type: integer
  14643. creatorsrc:
  14644. description: 创建来源 - 1:管理端 2:终端
  14645. type: integer
  14646. isvalid:
  14647. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  14648. type: integer
  14649. reviserid:
  14650. description: 修改人
  14651. type: integer
  14652. revisersrc:
  14653. description: 修改来源 - 1:管理端 2:终端
  14654. type: integer
  14655. updatetime:
  14656. description: 更新时间
  14657. type: string
  14658. type: object
  14659. models.QhjAreaFinanceConfig:
  14660. properties:
  14661. additionalratio:
  14662. description: 追加款比例
  14663. type: number
  14664. advanceratio:
  14665. description: 预付款比例
  14666. type: number
  14667. alarmratio:
  14668. description: 告警比例
  14669. type: number
  14670. consumptiondirectreward:
  14671. description: 消费直推奖励值
  14672. type: number
  14673. consumptionenabled:
  14674. description: 是否启用消费奖励 - 0:不启用 1:启用
  14675. type: integer
  14676. consumptionindirectreward:
  14677. description: 消费间推奖励值
  14678. type: number
  14679. consumptionmodel:
  14680. description: 消费奖励方式 - 1:比率 2:固定
  14681. type: integer
  14682. customerservicenum:
  14683. description: 客服电话
  14684. type: string
  14685. dayinterestrate:
  14686. description: 日利率
  14687. type: number
  14688. disableconsumptiontips:
  14689. description: 关闭消费奖励提示
  14690. type: string
  14691. modifierid:
  14692. description: 修改人ID
  14693. type: integer
  14694. modifysrc:
  14695. description: 审核来源 - 1:管理端 2:终端
  14696. type: integer
  14697. modifytime:
  14698. description: 修改时间
  14699. type: string
  14700. promotionvalue:
  14701. description: 推广奖励值(固定)
  14702. type: number
  14703. scoreconfigvalue1:
  14704. description: 提货积分配置1
  14705. type: integer
  14706. scoreconfigvalue2:
  14707. description: 提货积分配置2
  14708. type: integer
  14709. userid:
  14710. description: 机构用户ID其他做市关系,都设置为 1
  14711. type: integer
  14712. username:
  14713. description: 用户名称
  14714. type: string
  14715. type: object
  14716. models.QhjBankAccountSign:
  14717. properties:
  14718. accountcode:
  14719. description: 资金账号
  14720. type: string
  14721. accountname:
  14722. description: 资金账号对应的账号名(UserName)
  14723. type: string
  14724. accountname2:
  14725. description: 资金账号对应的账号名(UserName) - 密文
  14726. type: string
  14727. accounttype:
  14728. description: 账户类型(UserType)
  14729. type: integer
  14730. applicationtime:
  14731. description: 最后一次更新的时间
  14732. type: string
  14733. applyexchticket:
  14734. description: 申请流水
  14735. type: string
  14736. auditid:
  14737. description: 审核人
  14738. type: integer
  14739. audittime:
  14740. description: 审核时间
  14741. type: string
  14742. bankaccountname:
  14743. description: 签约银行卡账号名
  14744. type: string
  14745. bankaccountname2:
  14746. description: 签约银行卡账号名 - 密文
  14747. type: string
  14748. bankaccountno:
  14749. description: 银行卡号
  14750. type: string
  14751. bankaccountno2:
  14752. description: 银行卡号 - 密文
  14753. type: string
  14754. bankaccounttype:
  14755. description: 银行账户类型 - 1-对私; 2-对公
  14756. type: integer
  14757. bankcardtype:
  14758. description: 银行卡类型
  14759. type: integer
  14760. bankchildaccount:
  14761. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  14762. type: string
  14763. bankcity:
  14764. description: 开户行城市
  14765. type: string
  14766. bankid:
  14767. description: 签约银行ID
  14768. type: string
  14769. bankname:
  14770. description: 签约银行名称
  14771. type: string
  14772. bankprovince:
  14773. description: 开户行省份
  14774. type: string
  14775. branchbankid:
  14776. description: 签约银行支行号
  14777. type: string
  14778. branchbankname:
  14779. description: 签约银行支行名称
  14780. type: string
  14781. cardno:
  14782. description: 证件号码
  14783. type: string
  14784. cardno2:
  14785. description: 证件号码 - 密文
  14786. type: string
  14787. cardtype:
  14788. description: 证件类型
  14789. type: string
  14790. currency:
  14791. description: 币种
  14792. type: string
  14793. cusbankid:
  14794. description: 托管银行编号
  14795. type: string
  14796. direct:
  14797. description: 方向(可以判断那方先发起的签约)
  14798. type: integer
  14799. exchticket:
  14800. description: 最后一次签约成功的流水号
  14801. type: string
  14802. extendinfo:
  14803. description: 扩展信息(JSON字符串)
  14804. type: string
  14805. mobilephone:
  14806. description: 手机号
  14807. type: string
  14808. mobilephone2:
  14809. description: 手机号 - 密文
  14810. type: string
  14811. netaddr:
  14812. description: 调转网址
  14813. type: string
  14814. relateduserid:
  14815. description: 关联使用者userid
  14816. type: integer
  14817. signstatus:
  14818. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  14819. 10:审核拒绝 11:换签待审核
  14820. type: integer
  14821. updatetime:
  14822. description: 更新时间(签解约更新时间)
  14823. type: string
  14824. type: object
  14825. models.QhjBankInfo:
  14826. properties:
  14827. bankid:
  14828. description: 银行ID
  14829. type: string
  14830. bankname:
  14831. description: 银行名称
  14832. type: string
  14833. clearbankno:
  14834. description: 清算系统银行编号
  14835. type: string
  14836. orderindex:
  14837. description: 排序顺序
  14838. type: integer
  14839. status:
  14840. description: 状态 - 0:正常 1:注销
  14841. type: integer
  14842. type: object
  14843. models.QhjBrokerApply:
  14844. properties:
  14845. applicantid:
  14846. description: 申请人
  14847. type: integer
  14848. applysrc:
  14849. description: 申请来源 - 1:管理端 2:终端
  14850. type: integer
  14851. applystatus:
  14852. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14853. type: integer
  14854. applytime:
  14855. description: 申请时间
  14856. type: string
  14857. auditorid:
  14858. description: 审核人
  14859. type: integer
  14860. auditremark:
  14861. description: 审核备注
  14862. type: string
  14863. auditsrc:
  14864. description: 审核来源 - 1:管理端 2:终端
  14865. type: integer
  14866. audittime:
  14867. description: 审核时间
  14868. type: string
  14869. audittradedate:
  14870. description: 审核交易日(yyyyMMdd)
  14871. type: string
  14872. brokerapplyid:
  14873. description: 申请ID(SEQ_BROKERAPPLY)
  14874. type: integer
  14875. cardbackphotourl:
  14876. description: 证件背面图片地址
  14877. type: string
  14878. cardfrontphotourl:
  14879. description: 证件正面图片地址
  14880. type: string
  14881. cardnum:
  14882. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  14883. type: string
  14884. customername:
  14885. description: 姓名
  14886. type: string
  14887. logincode:
  14888. description: 登录代码
  14889. type: string
  14890. mobile:
  14891. description: 手机号码
  14892. type: string
  14893. parentuserid:
  14894. description: 所属机构id
  14895. type: integer
  14896. parentusername:
  14897. description: 所属机构名称
  14898. type: string
  14899. refereeuserid:
  14900. description: 推荐人id(经纪人)
  14901. type: integer
  14902. refernum:
  14903. description: 推荐码
  14904. type: string
  14905. remark:
  14906. description: 备注
  14907. type: string
  14908. subarealevelpath:
  14909. description: 层级路径
  14910. type: string
  14911. tradedate:
  14912. description: 交易日(yyyyMMdd)
  14913. type: string
  14914. userid:
  14915. description: 申请人用户ID
  14916. type: integer
  14917. userinfotype:
  14918. description: 用户类型 1-个人 2-企业
  14919. type: integer
  14920. username:
  14921. description: 用户名称
  14922. type: string
  14923. type: object
  14924. models.QhjBrokerApplyEx:
  14925. properties:
  14926. applylist:
  14927. description: 经纪人申请记录(只返回最新一条)
  14928. items:
  14929. $ref: '#/definitions/models.QhjBrokerApply'
  14930. type: array
  14931. canrecommend:
  14932. description: 是否经纪人 0-不是 1-是
  14933. type: integer
  14934. refernum:
  14935. description: 推荐码
  14936. type: string
  14937. userid:
  14938. description: 用户id
  14939. type: integer
  14940. userinfotype:
  14941. description: 用户类型 1-个人 2-企业
  14942. type: integer
  14943. type: object
  14944. models.QhjBrokerRewardLog:
  14945. properties:
  14946. accountid:
  14947. description: 资金账号ID
  14948. type: integer
  14949. createtime:
  14950. description: 创建时间(时间)
  14951. type: string
  14952. handlestatus:
  14953. description: 处理状态
  14954. type: integer
  14955. logid:
  14956. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14957. type: string
  14958. marketid:
  14959. description: 市场ID
  14960. type: integer
  14961. mmaccountid:
  14962. description: 做市商资金账号ID
  14963. type: string
  14964. mmuserid:
  14965. description: 做市商用户ID
  14966. type: string
  14967. rewardamount:
  14968. description: 奖励金额
  14969. type: number
  14970. rewardmodel:
  14971. description: 消费奖励方式 - 1:比率 2:固定
  14972. type: integer
  14973. rewardtype:
  14974. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  14975. type: integer
  14976. rewardvalue:
  14977. description: 配置奖励值
  14978. type: number
  14979. srcamount:
  14980. description: 成交金额 [消费奖励] (金额)
  14981. type: number
  14982. srcgoodsid:
  14983. description: 来源商品ID [消费奖励]
  14984. type: string
  14985. srctime:
  14986. description: 来源时间 (成交时间) [消费奖励]
  14987. type: string
  14988. srctradeid:
  14989. description: 来源成交单ID [消费奖励] - 排除提货成交
  14990. type: string
  14991. srcuserid:
  14992. description: 来源用户ID(推广账户)
  14993. type: string
  14994. srcusername:
  14995. description: 推广账户名称
  14996. type: string
  14997. tradedate:
  14998. description: 交易日(yyyyMMdd)
  14999. type: string
  15000. userid:
  15001. description: 经纪人用户ID
  15002. type: integer
  15003. type: object
  15004. models.QhjContract:
  15005. properties:
  15006. contractconfirmtime:
  15007. description: 合同确认时间(时间)
  15008. type: string
  15009. currisklevel:
  15010. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15011. type: integer
  15012. decimalplace:
  15013. description: 商品报价小数位
  15014. type: integer
  15015. enumdicname:
  15016. description: 单位名称
  15017. type: string
  15018. goodscode:
  15019. description: 商品代码
  15020. type: string
  15021. goodsid:
  15022. description: 商品ID [5:融资单]
  15023. type: integer
  15024. goodsname:
  15025. description: 商品名称
  15026. type: string
  15027. goodunitid:
  15028. description: 商品单位id
  15029. type: integer
  15030. initmargin:
  15031. description: 初始保证金(首付款)
  15032. type: number
  15033. lenderamount:
  15034. description: 贷款金额(总额|订单总额)
  15035. type: number
  15036. marginratio:
  15037. description: 保证金比率(首付比例)
  15038. type: number
  15039. payamount:
  15040. description: 已付(已付货款)
  15041. type: number
  15042. reckonrecovermargin:
  15043. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15044. type: number
  15045. recoveredmargin:
  15046. description: 已追缴保证金
  15047. type: number
  15048. remainamount:
  15049. description: 合同剩余金额(融资额)
  15050. type: number
  15051. scfcontractid:
  15052. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15053. type: string
  15054. scfcontractstatus:
  15055. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15056. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15057. type: integer
  15058. scfcontracttype:
  15059. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15060. type: integer
  15061. totalinterest:
  15062. description: 已计总利息(利息)
  15063. type: number
  15064. tradeprice:
  15065. description: 成交价格(成本价格)
  15066. type: number
  15067. userid:
  15068. description: 用户ID
  15069. type: integer
  15070. username:
  15071. description: 用户名称
  15072. type: string
  15073. wrqty:
  15074. description: 仓单数量(数量)
  15075. type: number
  15076. type: object
  15077. models.QhjContractLog:
  15078. properties:
  15079. amount:
  15080. description: 支付金额
  15081. type: number
  15082. amounttype:
  15083. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  15084. type: integer
  15085. logid:
  15086. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15087. type: string
  15088. remainamount:
  15089. description: 剩余货款
  15090. type: number
  15091. scfcontractid:
  15092. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15093. type: integer
  15094. updatetime:
  15095. description: 更新时间
  15096. type: string
  15097. type: object
  15098. models.QhjCusBankSignBankEx:
  15099. properties:
  15100. banklst:
  15101. description: 银行列表
  15102. items:
  15103. $ref: '#/definitions/models.QhjBankInfo'
  15104. type: array
  15105. canallot:
  15106. description: 是否支持跨行调拨 - 0:不支持 1:支持
  15107. type: integer
  15108. canallotquery:
  15109. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  15110. type: integer
  15111. canbindcard:
  15112. description: 是否可绑卡与解卡 - 0:不可 1:可以
  15113. type: integer
  15114. caninamount:
  15115. description: 是否可入金 - 0:不可 1:可以
  15116. type: integer
  15117. caninamount2:
  15118. description: 是否可入金(网银端) - 0:不可 1:可以
  15119. type: integer
  15120. canmodifybankcard:
  15121. description: 是否可修改银行卡号 - 0:不可 1:可以
  15122. type: integer
  15123. canmodifyphone:
  15124. description: 是否可修改手机号 - 0:不可 1:可以
  15125. type: integer
  15126. canmodifysigninfo:
  15127. description: 是否可修改签约信息 - 0:不可 1:可以
  15128. type: integer
  15129. canoutamount:
  15130. description: 是否可出金 - 0:不可 1:可以
  15131. type: integer
  15132. canoutamount2:
  15133. description: 是否可出金(网银端) - 0:不可 1:可以
  15134. type: integer
  15135. canrelease:
  15136. description: 是否可解约 - 0:不可 1:可以
  15137. type: integer
  15138. canrelease2:
  15139. description: 是否可解约(网银端) - 0:不可 1:可以
  15140. type: integer
  15141. cansign:
  15142. description: 是否可签约 - 0:不可 1:可以
  15143. type: integer
  15144. cansign2:
  15145. description: 是否可签约(网银端) - 0:不可 1:可以
  15146. type: integer
  15147. currency:
  15148. description: 币种
  15149. type: string
  15150. cusbankid:
  15151. description: 托管银行编号(对应清算中心TRAN_NO)
  15152. type: string
  15153. cusbankname:
  15154. description: 银行业务名称
  15155. type: string
  15156. cusbankshortname:
  15157. description: 银行业务简称
  15158. type: string
  15159. exchbankid:
  15160. description: 交易所开户银行ID
  15161. type: string
  15162. exchpaybankaccname:
  15163. description: 交易所支出结算账户户名
  15164. type: string
  15165. exchpaybankaccno:
  15166. description: 交易所支出结算账户
  15167. type: string
  15168. isneedcheck:
  15169. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  15170. type: integer
  15171. isneedclear:
  15172. description: 是否需要清算 - 0:不需要 1:需要
  15173. type: integer
  15174. lastcheckstatus:
  15175. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  15176. type: integer
  15177. lastchecktime:
  15178. description: 最后对账时间
  15179. type: string
  15180. lastclearstatus:
  15181. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  15182. type: integer
  15183. lastcleartime:
  15184. description: 最后清算时间
  15185. type: string
  15186. lastsignintime:
  15187. description: 最后签到时间
  15188. type: string
  15189. lastsignouttime:
  15190. description: 最后签退时间
  15191. type: string
  15192. riskinfo:
  15193. description: 签约风险提示书
  15194. type: string
  15195. signstatus:
  15196. description: 当前签到/签退状态 - 1:签到 2:签退
  15197. type: integer
  15198. tradedate:
  15199. description: 交易日(yyyyMMdd)
  15200. type: string
  15201. updatetime:
  15202. description: 当前签到/签退更新时间
  15203. type: string
  15204. type: object
  15205. models.QhjCustomer:
  15206. properties:
  15207. address:
  15208. description: 通讯地址
  15209. type: string
  15210. attachment1:
  15211. description: 附件1
  15212. type: string
  15213. attachment2:
  15214. description: 附件2
  15215. type: string
  15216. audittime:
  15217. description: 审核时间
  15218. type: string
  15219. cardbackphotourl:
  15220. description: 证件反面图片地址
  15221. type: string
  15222. cardfrontphotourl:
  15223. description: 证件正面图片地址
  15224. type: string
  15225. cardnum:
  15226. description: 证件号码
  15227. type: string
  15228. cardtype:
  15229. description: 证件类型
  15230. type: integer
  15231. cardtypename:
  15232. description: 证件类型名称
  15233. type: string
  15234. cityid:
  15235. description: 市
  15236. type: integer
  15237. cityname:
  15238. description: 城市名称
  15239. type: string
  15240. contactname:
  15241. description: 联系人
  15242. type: string
  15243. countryid:
  15244. description: 国家
  15245. type: integer
  15246. countryname:
  15247. description: 国家名称
  15248. type: string
  15249. createtime:
  15250. description: 创建时间
  15251. type: string
  15252. customername:
  15253. description: 客户名称
  15254. type: string
  15255. districtid:
  15256. description: 区域
  15257. type: integer
  15258. districtname:
  15259. description: 地区名称
  15260. type: string
  15261. email:
  15262. description: 邮件
  15263. type: string
  15264. legalpersonname:
  15265. description: 法人姓名(企业)
  15266. type: string
  15267. logincode:
  15268. description: 登录账号(代码)
  15269. type: string
  15270. memberuserid:
  15271. description: 所属机构ID(所属会员)
  15272. type: integer
  15273. memberusername:
  15274. description: 所属会员名称
  15275. type: string
  15276. mobile:
  15277. description: 手机号码
  15278. type: string
  15279. modifytime:
  15280. description: 修改时间
  15281. type: string
  15282. nickname:
  15283. description: 昵称
  15284. type: string
  15285. parentuserid:
  15286. description: 上级机构(所属机构)
  15287. type: integer
  15288. parentusername:
  15289. description: 所属机构名称
  15290. type: string
  15291. provinceid:
  15292. description: 省
  15293. type: integer
  15294. provincename:
  15295. description: 省名称
  15296. type: string
  15297. proxystatementurl:
  15298. description: 授权委托书
  15299. type: string
  15300. remark:
  15301. description: 备注
  15302. type: string
  15303. status:
  15304. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  15305. type: integer
  15306. statusdesc:
  15307. description: 账户状态中文描述
  15308. type: string
  15309. taxpayernum:
  15310. description: 纳税人识别号
  15311. type: string
  15312. telphone:
  15313. description: 联系电话
  15314. type: string
  15315. userid:
  15316. description: 用户ID
  15317. type: integer
  15318. userinfotype:
  15319. description: 客户类型 1-个人 2-企业
  15320. type: integer
  15321. username:
  15322. description: 用户名称
  15323. type: string
  15324. type: object
  15325. models.QhjCustomerSignLog:
  15326. properties:
  15327. agreementcontent:
  15328. description: 协议内容
  15329. type: string
  15330. agreementid:
  15331. description: 协议ID
  15332. type: integer
  15333. agreementname:
  15334. description: 协议名称
  15335. type: string
  15336. agreementno:
  15337. description: 协议编号
  15338. type: string
  15339. agreementtype:
  15340. description: 协议类型 - 1:注册 2:登录 3:交易
  15341. type: integer
  15342. agreementversion:
  15343. description: 协议版本号
  15344. type: integer
  15345. createtime:
  15346. description: 创建时间
  15347. type: string
  15348. goodscode:
  15349. description: 商品代码
  15350. type: string
  15351. goodsid:
  15352. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15353. type: integer
  15354. goodsname:
  15355. description: 商品名称
  15356. type: string
  15357. logid:
  15358. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  15359. type: integer
  15360. nodetype:
  15361. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  15362. type: integer
  15363. signadressurl:
  15364. description: 签约文件地址
  15365. type: string
  15366. signtimestamp:
  15367. description: 签约状态时间戳
  15368. type: string
  15369. userid:
  15370. description: 客户ID
  15371. type: integer
  15372. username:
  15373. description: 客户名称
  15374. type: string
  15375. type: object
  15376. models.QhjCustomerSignStatus:
  15377. properties:
  15378. createtime:
  15379. description: 创建时间
  15380. type: string
  15381. goodscode:
  15382. description: 商品代码
  15383. type: string
  15384. goodsid:
  15385. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  15386. type: integer
  15387. goodsname:
  15388. description: 商品名称
  15389. type: string
  15390. nodetype:
  15391. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  15392. type: integer
  15393. signtimestamp:
  15394. description: 签约状态时间戳
  15395. type: string
  15396. tradedate:
  15397. description: 创建交易日(yyyyMMdd)
  15398. type: string
  15399. updatetime:
  15400. description: 更新时间
  15401. type: string
  15402. userid:
  15403. description: 客户ID
  15404. type: integer
  15405. username:
  15406. description: 客户名称
  15407. type: string
  15408. type: object
  15409. models.QhjMgrAccountOutInApply:
  15410. properties:
  15411. accountcode:
  15412. description: 资金账号
  15413. type: string
  15414. accountname:
  15415. description: 用户名称(名称)
  15416. type: string
  15417. accountpwd:
  15418. description: 资金密码
  15419. type: string
  15420. accountticket:
  15421. description: 最新账户服务流水号
  15422. type: string
  15423. amount:
  15424. description: 金额
  15425. type: number
  15426. applyremark:
  15427. description: 申请备注
  15428. type: string
  15429. applystatus:
  15430. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  15431. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  15432. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  15433. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  15434. type: integer
  15435. auditid:
  15436. description: 审核人
  15437. type: integer
  15438. audittime:
  15439. description: 审核时间
  15440. type: string
  15441. bank_apply_ticket:
  15442. description: 银行申请流水
  15443. type: string
  15444. bankaccountname:
  15445. description: 银行账户名
  15446. type: string
  15447. bankaccountno:
  15448. description: 银行卡号
  15449. type: string
  15450. bankid:
  15451. description: 银行编号
  15452. type: string
  15453. bankname:
  15454. description: 银行名称
  15455. type: string
  15456. bankticket:
  15457. description: 银行流水
  15458. type: string
  15459. branchbankid:
  15460. description: 银行支行号
  15461. type: string
  15462. branchbankname:
  15463. description: 银行支行名称
  15464. type: string
  15465. capamountout:
  15466. description: 出金(劣后本金) - 外部子账户
  15467. type: number
  15468. certificatephotourl:
  15469. description: 凭证地址
  15470. type: string
  15471. charge:
  15472. description: 手续费
  15473. type: number
  15474. checkerrorflag:
  15475. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  15476. type: integer
  15477. currency:
  15478. description: 币种
  15479. type: string
  15480. cusbankid:
  15481. description: 托管银行编号
  15482. type: string
  15483. exchticket:
  15484. description: 银行服务流水号
  15485. type: string
  15486. executetype:
  15487. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  15488. 7:外部子账户:入金 8:外部子账户:出金'
  15489. type: integer
  15490. extendinfo:
  15491. description: 扩展信息
  15492. type: string
  15493. extoperateid:
  15494. description: 交易服务流水号
  15495. type: integer
  15496. infamount:
  15497. description: 劣后金额(自有)
  15498. type: number
  15499. logincode:
  15500. description: 登录账号(账号)
  15501. type: string
  15502. netaddr:
  15503. description: 调转网址
  15504. type: string
  15505. priamount:
  15506. description: 优先金额(授信)
  15507. type: number
  15508. reauditid:
  15509. description: 复审人
  15510. type: integer
  15511. reauditremark:
  15512. description: 复审备注
  15513. type: string
  15514. reaudittime:
  15515. description: 复审时间
  15516. type: string
  15517. relatedorderid:
  15518. description: 三方关联ID
  15519. type: string
  15520. remark:
  15521. description: 备注
  15522. type: string
  15523. remark2:
  15524. description: 备注(失败原因)
  15525. type: string
  15526. soucreamount:
  15527. description: 原始出入金金额
  15528. type: number
  15529. soucrecurrencyid:
  15530. description: 原始出入金币种
  15531. type: integer
  15532. tradedate:
  15533. description: 交易日(yyyyMMdd)
  15534. type: string
  15535. updatetime:
  15536. description: 更新时间(申请时间)
  15537. type: string
  15538. userid:
  15539. description: 用户id
  15540. type: integer
  15541. userinfotype:
  15542. description: 账户类型 1-个人 2-企业
  15543. type: integer
  15544. type: object
  15545. models.QhjMgrBrokerApply:
  15546. properties:
  15547. applicantid:
  15548. description: 申请人
  15549. type: integer
  15550. applysrc:
  15551. description: 申请来源 - 1:管理端 2:终端
  15552. type: integer
  15553. applystatus:
  15554. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15555. type: integer
  15556. applytime:
  15557. description: 申请时间
  15558. type: string
  15559. auditorid:
  15560. description: 审核人
  15561. type: integer
  15562. auditremark:
  15563. description: 审核备注
  15564. type: string
  15565. auditsrc:
  15566. description: 审核来源 - 1:管理端 2:终端
  15567. type: integer
  15568. audittime:
  15569. description: 审核时间
  15570. type: string
  15571. audittradedate:
  15572. description: 审核交易日(yyyyMMdd)
  15573. type: string
  15574. brokerapplyid:
  15575. description: 申请ID(SEQ_BROKERAPPLY)
  15576. type: integer
  15577. cardbackphotourl:
  15578. description: 证件背面图片地址
  15579. type: string
  15580. cardfrontphotourl:
  15581. description: 证件正面图片地址
  15582. type: string
  15583. cardnum:
  15584. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  15585. type: string
  15586. customername:
  15587. description: 姓名
  15588. type: string
  15589. filterstatus:
  15590. description: 筛选条件
  15591. type: string
  15592. logincode:
  15593. description: 登录代码
  15594. type: string
  15595. mobile:
  15596. description: 手机号码
  15597. type: string
  15598. parentuserid:
  15599. description: 所属机构id
  15600. type: integer
  15601. parentusername:
  15602. description: 所属机构名称
  15603. type: string
  15604. refereeuserid:
  15605. description: 推荐人id(经纪人)
  15606. type: integer
  15607. refernum:
  15608. description: 推荐码
  15609. type: string
  15610. remark:
  15611. description: 备注
  15612. type: string
  15613. subarealevelpath:
  15614. description: 层级路径
  15615. type: string
  15616. tradedate:
  15617. description: 交易日(yyyyMMdd)
  15618. type: string
  15619. userid:
  15620. description: 申请人用户ID
  15621. type: integer
  15622. userinfotype:
  15623. description: 用户类型 1-个人 2-企业
  15624. type: integer
  15625. username:
  15626. description: 用户名称
  15627. type: string
  15628. type: object
  15629. models.QhjMgrBrokerRewardReport:
  15630. properties:
  15631. createtime:
  15632. description: 创建时间(注册时间)
  15633. type: string
  15634. cycletime:
  15635. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  15636. type: string
  15637. cycletype:
  15638. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  15639. type: integer
  15640. directtotalnum:
  15641. description: 直推总人数【期末】
  15642. type: integer
  15643. indirecttotalnum:
  15644. description: 间推总人数【期末】
  15645. type: integer
  15646. mobile:
  15647. description: 电话号码
  15648. type: string
  15649. refereeuserid:
  15650. description: 推荐人id(经纪人id)
  15651. type: integer
  15652. refereeusername:
  15653. description: 推荐人名称(经纪人) 上级经纪人名称
  15654. type: string
  15655. refernum:
  15656. description: 推荐码
  15657. type: string
  15658. subarealevelpath:
  15659. description: 用户层级路径
  15660. type: string
  15661. todayrewardamount:
  15662. description: 奖励总金额【汇总】
  15663. type: number
  15664. updatetime:
  15665. description: 更新时间
  15666. type: string
  15667. userid:
  15668. description: 经纪人用户ID
  15669. type: integer
  15670. userinfotype:
  15671. description: 用户类型 1-个人 2-企业
  15672. type: integer
  15673. username:
  15674. description: 用户名称
  15675. type: string
  15676. type: object
  15677. models.QhjMgrContract:
  15678. properties:
  15679. contractconfirmtime:
  15680. description: 合同确认时间(时间)
  15681. type: string
  15682. currisklevel:
  15683. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15684. type: integer
  15685. decimalplace:
  15686. description: 商品报价小数位
  15687. type: integer
  15688. enumdicname:
  15689. description: 单位名称
  15690. type: string
  15691. goodscode:
  15692. description: 商品代码
  15693. type: string
  15694. goodsid:
  15695. description: 商品ID [5:融资单]
  15696. type: integer
  15697. goodsname:
  15698. description: 商品名称
  15699. type: string
  15700. goodunitid:
  15701. description: 商品单位id
  15702. type: integer
  15703. initmargin:
  15704. description: 初始保证金(首付款)
  15705. type: number
  15706. lenderamount:
  15707. description: 贷款金额(总额|订单总额)
  15708. type: number
  15709. logincode:
  15710. description: 账号(登录代码)
  15711. type: string
  15712. marginratio:
  15713. description: 保证金比率(首付比例)
  15714. type: number
  15715. mobile:
  15716. description: 电话号码(用户资料里的电话)
  15717. type: string
  15718. payamount:
  15719. description: 已付(已付货款)
  15720. type: number
  15721. reckonrecovermargin:
  15722. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  15723. type: number
  15724. recoveredmargin:
  15725. description: 已追缴保证金
  15726. type: number
  15727. remainamount:
  15728. description: 合同剩余金额(融资额)
  15729. type: number
  15730. scfcontractid:
  15731. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15732. type: string
  15733. scfcontractstatus:
  15734. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  15735. 9:违约结束 10:已注销 11:已关闭 99:未提交
  15736. type: integer
  15737. scfcontracttype:
  15738. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  15739. type: integer
  15740. totalinterest:
  15741. description: 已计总利息(利息)
  15742. type: number
  15743. tradedate:
  15744. description: 交易日
  15745. type: string
  15746. tradeprice:
  15747. description: 成交价格(成本价格)
  15748. type: number
  15749. userid:
  15750. description: 用户ID
  15751. type: integer
  15752. userinfotype:
  15753. description: 用户类型 1-个人 2-企业
  15754. type: integer
  15755. username:
  15756. description: 用户名称
  15757. type: string
  15758. wrqty:
  15759. description: 仓单数量(数量)
  15760. type: number
  15761. type: object
  15762. models.QhjMgrCustomer:
  15763. properties:
  15764. address:
  15765. description: 通讯地址
  15766. type: string
  15767. attachment1:
  15768. description: 附件1
  15769. type: string
  15770. audittime:
  15771. description: 审核时间
  15772. type: string
  15773. birthday:
  15774. description: 生日
  15775. type: string
  15776. brokerid:
  15777. description: 所属客户经理id
  15778. type: integer
  15779. brokername:
  15780. description: 所属客户经理名称
  15781. type: string
  15782. cardbackphotourl:
  15783. description: 证件反面图片地址
  15784. type: string
  15785. cardfrontphotourl:
  15786. description: 证件正面图片地址
  15787. type: string
  15788. cardnum:
  15789. description: 证件号码
  15790. type: string
  15791. cardtype:
  15792. description: 证件类型
  15793. type: integer
  15794. cardtypename:
  15795. description: 证件类型名称
  15796. type: string
  15797. cityid:
  15798. description: 市
  15799. type: integer
  15800. cityname:
  15801. description: 城市名称
  15802. type: string
  15803. contactname:
  15804. description: 联系人
  15805. type: string
  15806. countryid:
  15807. description: 国家
  15808. type: integer
  15809. countryname:
  15810. description: 国家名称
  15811. type: string
  15812. createtime:
  15813. description: 创建时间
  15814. type: string
  15815. customername:
  15816. description: 客户名称
  15817. type: string
  15818. districtid:
  15819. description: 区域
  15820. type: integer
  15821. districtname:
  15822. description: 地区名称
  15823. type: string
  15824. email:
  15825. description: 邮件
  15826. type: string
  15827. legalpersonname:
  15828. description: 法人姓名(企业)
  15829. type: string
  15830. logincode:
  15831. description: 登录账号(代码)
  15832. type: string
  15833. memberuserid:
  15834. description: 所属机构ID(所属会员)
  15835. type: integer
  15836. memberusername:
  15837. description: 所属会员名称
  15838. type: string
  15839. mobile:
  15840. description: 手机号码
  15841. type: string
  15842. modifytime:
  15843. description: 修改时间
  15844. type: string
  15845. nickname:
  15846. description: 昵称
  15847. type: string
  15848. parentuserid:
  15849. description: 上级机构(所属机构)
  15850. type: integer
  15851. parentusername:
  15852. description: 所属机构名称
  15853. type: string
  15854. provinceid:
  15855. description: 省
  15856. type: integer
  15857. provincename:
  15858. description: 省名称
  15859. type: string
  15860. proxystatementurl:
  15861. description: 授权委托书
  15862. type: string
  15863. querytype:
  15864. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  15865. type: integer
  15866. remark:
  15867. description: 备注
  15868. type: string
  15869. sex:
  15870. description: 性别 0-女 1-男
  15871. type: integer
  15872. status:
  15873. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  15874. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  15875. type: integer
  15876. statusdesc:
  15877. description: 账户状态中文描述
  15878. type: string
  15879. taxpayernum:
  15880. description: 纳税人识别号
  15881. type: string
  15882. telphone:
  15883. description: 联系电话
  15884. type: string
  15885. userid:
  15886. description: 用户ID
  15887. type: integer
  15888. userinfotype:
  15889. description: 客户类型 1-个人 2-企业
  15890. type: integer
  15891. username:
  15892. description: 用户名称
  15893. type: string
  15894. type: object
  15895. models.QhjMgrPickGoods:
  15896. properties:
  15897. enumdicname:
  15898. description: 单位名称(提货商品)
  15899. type: string
  15900. goodsid:
  15901. description: 商品id
  15902. type: integer
  15903. imageaddress:
  15904. description: 图片
  15905. type: string
  15906. modifierid:
  15907. description: 修改人
  15908. type: integer
  15909. modifiername:
  15910. description: 修改人名称
  15911. type: string
  15912. modifysrc:
  15913. description: 修改来源 - 1:管理端 2:终端
  15914. type: integer
  15915. pickupgoodsagreeunit:
  15916. description: 合约乘数
  15917. type: number
  15918. pickupgoodsdesc:
  15919. description: 描述
  15920. type: string
  15921. pickupgoodsid:
  15922. description: 提货商品ID
  15923. type: string
  15924. pickupgoodsname:
  15925. description: 提货商品名称
  15926. type: string
  15927. pickupgoodsstatus:
  15928. description: 状态 - 1:正常 2:停用 3:注销
  15929. type: integer
  15930. pickupgoodsunitid:
  15931. description: 单位ID
  15932. type: integer
  15933. pickupratio:
  15934. description: 提货系数
  15935. type: number
  15936. preparedays:
  15937. description: 备货期(天)
  15938. type: integer
  15939. remark:
  15940. description: 备注
  15941. type: string
  15942. updatetime:
  15943. description: 更新时间
  15944. type: string
  15945. type: object
  15946. models.QhjMgrPositionRsp:
  15947. properties:
  15948. accountid:
  15949. description: 账号Id
  15950. type: integer
  15951. accountname:
  15952. description: 用户名称
  15953. type: string
  15954. agreeunit:
  15955. description: 合约乘数
  15956. type: number
  15957. averageprice:
  15958. description: 均价
  15959. type: number
  15960. avialqty:
  15961. description: 可用数量
  15962. type: number
  15963. decimalplace:
  15964. description: 报价小数位
  15965. type: integer
  15966. enumdicname:
  15967. description: 单位名称(商品)
  15968. type: string
  15969. frozenqty:
  15970. description: 冻结数量
  15971. type: number
  15972. goodscode:
  15973. description: 商品代码(内部)
  15974. type: string
  15975. goodsid:
  15976. description: 商品Id
  15977. type: integer
  15978. goodsname:
  15979. description: 商品名称
  15980. type: string
  15981. goodunitid:
  15982. description: 报价单位ID
  15983. type: integer
  15984. holderamount:
  15985. description: 金额
  15986. type: number
  15987. holderqty:
  15988. description: 持有数量
  15989. type: number
  15990. holdertype:
  15991. description: 持仓类别 - 1:单边持仓 2:双边持仓
  15992. type: integer
  15993. logincode:
  15994. description: 登录代码(账户)
  15995. type: string
  15996. marketid:
  15997. description: 市场id
  15998. type: integer
  15999. qtydecimalplace:
  16000. description: 成交量小数位
  16001. type: integer
  16002. trademode:
  16003. description: 交易模式
  16004. type: integer
  16005. userid:
  16006. description: 用户id
  16007. type: integer
  16008. userinfotype:
  16009. description: 账户类型 1-个人 2-企业
  16010. type: integer
  16011. type: object
  16012. models.QhjMgrSubArea:
  16013. properties:
  16014. accountname:
  16015. description: 账户名称(机构名称)
  16016. type: string
  16017. memberuserid:
  16018. description: 所属会员ID
  16019. type: integer
  16020. parenttopuser:
  16021. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  16022. type: string
  16023. parentuserid:
  16024. description: 所属机构ID
  16025. type: integer
  16026. rootuserid:
  16027. description: 根用户ID
  16028. type: string
  16029. subaccountlevel:
  16030. description: 子账户层数
  16031. type: integer
  16032. subarealevelpath:
  16033. description: 子机构层级路径(逗号分隔,首尾加逗号)
  16034. type: string
  16035. userid:
  16036. description: 用户ID
  16037. type: integer
  16038. usertype:
  16039. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16040. type: integer
  16041. type: object
  16042. models.QhjMgrTradeDetailRsp:
  16043. properties:
  16044. accountid:
  16045. description: 资金账号
  16046. type: integer
  16047. accountname:
  16048. description: 用户名称
  16049. type: string
  16050. agreeunit:
  16051. description: 合约乘数
  16052. type: number
  16053. buyorsell:
  16054. description: 成交类型(方向) 0:买 1:卖
  16055. type: integer
  16056. decimalplace:
  16057. description: 报价小数位
  16058. type: integer
  16059. enumdicname:
  16060. description: 单位名称(商品)
  16061. type: string
  16062. goodscode:
  16063. description: 商品代码(内部)
  16064. type: string
  16065. goodsid:
  16066. description: 商品id
  16067. type: integer
  16068. goodsname:
  16069. description: 商品名称
  16070. type: string
  16071. goodunitid:
  16072. description: 报价单位ID
  16073. type: integer
  16074. logincode:
  16075. description: 登录代码(账户)
  16076. type: string
  16077. marketid:
  16078. description: 市场id
  16079. type: integer
  16080. orderid:
  16081. description: 关联委托单号
  16082. type: string
  16083. qtydecimalplace:
  16084. description: 成交量小数位
  16085. type: integer
  16086. tradeamount:
  16087. description: 金额
  16088. type: number
  16089. tradedate:
  16090. description: 交易日
  16091. type: string
  16092. tradeid:
  16093. description: 成交单号
  16094. type: string
  16095. trademode:
  16096. description: 交易模式
  16097. type: integer
  16098. tradeprice:
  16099. description: 价格
  16100. type: number
  16101. tradeqty:
  16102. description: 数量
  16103. type: number
  16104. tradetime:
  16105. description: 成交时间
  16106. type: string
  16107. userid:
  16108. description: 用户id
  16109. type: integer
  16110. userinfotype:
  16111. description: 账户类型 1-个人 2-企业
  16112. type: integer
  16113. type: object
  16114. models.QhjMgrTradeOrderDetailRsp:
  16115. properties:
  16116. accountid:
  16117. description: 资金账号
  16118. type: integer
  16119. accountname:
  16120. description: 用户名称
  16121. type: string
  16122. agreeunit:
  16123. description: 合约乘数
  16124. type: number
  16125. amount:
  16126. description: 金额
  16127. type: number
  16128. decimalplace:
  16129. description: 报价小数位
  16130. type: integer
  16131. enumdicname:
  16132. description: 单位名称(商品)
  16133. type: string
  16134. goodscode:
  16135. description: 商品代码(内部)
  16136. type: string
  16137. goodsid:
  16138. description: 商品id
  16139. type: integer
  16140. goodsname:
  16141. description: 商品名称
  16142. type: string
  16143. goodunitid:
  16144. description: 报价单位ID
  16145. type: integer
  16146. logincode:
  16147. description: 登录代码(账户)
  16148. type: string
  16149. marketid:
  16150. description: 市场id
  16151. type: integer
  16152. orderid:
  16153. description: 关联委托单号
  16154. type: string
  16155. orderprice:
  16156. description: 价格
  16157. type: number
  16158. orderqty:
  16159. description: 数量
  16160. type: number
  16161. orderstatus:
  16162. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  16163. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  16164. 16:成交失败违约(荷兰式竞拍专用)
  16165. type: integer
  16166. ordertime:
  16167. description: 委托时间
  16168. type: string
  16169. qtydecimalplace:
  16170. description: 成交量小数位
  16171. type: integer
  16172. tradedate:
  16173. description: 交易日
  16174. type: string
  16175. trademode:
  16176. description: 交易模式
  16177. type: integer
  16178. userid:
  16179. description: 用户id
  16180. type: integer
  16181. userinfotype:
  16182. description: 账户类型 1-个人 2-企业
  16183. type: integer
  16184. type: object
  16185. models.QhjMgrTradePayOrder:
  16186. properties:
  16187. accountname:
  16188. description: 用户名称
  16189. type: string
  16190. advanceratio:
  16191. description: 首付比率
  16192. type: number
  16193. agreeunit:
  16194. description: 合约乘数
  16195. type: number
  16196. buyaccountid:
  16197. description: 买方账号ID[报价币种]
  16198. type: integer
  16199. buyorderid:
  16200. description: 买方委托单号(关联单号)
  16201. type: string
  16202. createtime:
  16203. description: 创建时间
  16204. type: string
  16205. decimalplace:
  16206. description: 报价小数位
  16207. type: integer
  16208. enumdicname:
  16209. description: 单位名称(商品)
  16210. type: string
  16211. goodscode:
  16212. description: 商品代码(内部)
  16213. type: string
  16214. goodsid:
  16215. description: 商品ID
  16216. type: integer
  16217. goodsname:
  16218. description: 商品名称
  16219. type: string
  16220. goodunitid:
  16221. description: 报价单位ID
  16222. type: integer
  16223. logincode:
  16224. description: 登录代码(账户)
  16225. type: string
  16226. marketid:
  16227. description: 市场id
  16228. type: integer
  16229. offamount:
  16230. description: 优惠金额
  16231. type: number
  16232. operatetype:
  16233. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16234. type: integer
  16235. payamount:
  16236. description: 支付金额(金额)
  16237. type: number
  16238. payflag:
  16239. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16240. type: integer
  16241. paylimitedtime:
  16242. description: 支付期限
  16243. type: string
  16244. paytime:
  16245. description: 付款时间
  16246. type: string
  16247. qtydecimalplace:
  16248. description: 成交量小数位
  16249. type: integer
  16250. sellaccountid:
  16251. description: 卖方账号ID[报价币种]
  16252. type: integer
  16253. sellorderid:
  16254. description: 卖方委托单号
  16255. type: string
  16256. tradeamount:
  16257. description: 成交金额(优惠后金额)
  16258. type: number
  16259. tradecharge:
  16260. description: 成交手续费(买方)
  16261. type: number
  16262. tradedate:
  16263. description: 交易日(yyyyMMdd)
  16264. type: string
  16265. tradeid:
  16266. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16267. type: string
  16268. trademode:
  16269. description: 交易模式
  16270. type: integer
  16271. tradeprice:
  16272. description: 成交价格(价格)
  16273. type: number
  16274. tradeqty:
  16275. description: 成交数量(数量)
  16276. type: number
  16277. tradetime:
  16278. description: 成交时间
  16279. type: string
  16280. userid:
  16281. description: 用户id
  16282. type: integer
  16283. userinfotype:
  16284. description: 账户类型 1-个人 2-企业
  16285. type: integer
  16286. type: object
  16287. models.QhjMyTeamEx:
  16288. properties:
  16289. accountname:
  16290. description: 用户名称
  16291. type: string
  16292. accountstatus:
  16293. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  16294. type: integer
  16295. createtime:
  16296. description: 创建时间
  16297. type: string
  16298. mobile:
  16299. description: 手机号码
  16300. type: string
  16301. refereeuserid:
  16302. description: 推荐人id
  16303. type: integer
  16304. refernum:
  16305. description: 推荐码
  16306. type: string
  16307. subList:
  16308. items:
  16309. $ref: '#/definitions/models.QhjMyTeamEx'
  16310. type: array
  16311. userid:
  16312. description: 用户id
  16313. type: integer
  16314. userinfotype:
  16315. description: 用户类型 1-个人 2-企业
  16316. type: integer
  16317. type: object
  16318. models.QhjNodeAgreementConfig:
  16319. properties:
  16320. agreementcontent:
  16321. description: 协议内容
  16322. type: string
  16323. agreementid:
  16324. description: 协议ID
  16325. type: integer
  16326. agreementname:
  16327. description: 协议名称
  16328. type: string
  16329. agreementno:
  16330. description: 协议编号
  16331. type: string
  16332. agreementtype:
  16333. description: 协议类型 - 1:注册 2:登录 3:交易
  16334. type: integer
  16335. agreementversion:
  16336. description: 协议版本号
  16337. type: integer
  16338. configid:
  16339. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  16340. type: integer
  16341. createtime:
  16342. description: 创建时间
  16343. type: string
  16344. goodsid:
  16345. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  16346. type: integer
  16347. nodetype:
  16348. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  16349. type: integer
  16350. type: object
  16351. models.QhjParentAreaList:
  16352. properties:
  16353. accountname:
  16354. description: 账户名称(机构名称)
  16355. type: string
  16356. userid:
  16357. description: 用户ID
  16358. type: integer
  16359. usertype:
  16360. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  16361. type: integer
  16362. type: object
  16363. models.QhjPayOrder:
  16364. properties:
  16365. advanceratio:
  16366. description: 首付比率
  16367. type: number
  16368. buyaccountid:
  16369. description: 买方账号ID[报价币种]
  16370. type: integer
  16371. buyorderid:
  16372. description: 买方委托单号
  16373. type: string
  16374. createtime:
  16375. description: 创建时间
  16376. type: string
  16377. decimalplace:
  16378. description: 商品报价小数位
  16379. type: integer
  16380. enumdicname:
  16381. description: 单位名称
  16382. type: string
  16383. goodscode:
  16384. description: 商品代码
  16385. type: string
  16386. goodsid:
  16387. description: 商品ID
  16388. type: integer
  16389. goodsname:
  16390. description: 商品名称
  16391. type: string
  16392. goodunitid:
  16393. description: 商品单位id
  16394. type: integer
  16395. marketid:
  16396. description: 市场ID
  16397. type: integer
  16398. offamount:
  16399. description: 优惠金额
  16400. type: number
  16401. operatetype:
  16402. description: 买委托操作类型 - 1:正常下单 16:融资买入
  16403. type: integer
  16404. payamount:
  16405. description: 支付金额
  16406. type: number
  16407. payflag:
  16408. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  16409. type: integer
  16410. paylimitedtime:
  16411. description: 支付期限
  16412. type: string
  16413. paytime:
  16414. description: 付款时间
  16415. type: string
  16416. qtydecimalplace:
  16417. description: 成交量小数位
  16418. type: integer
  16419. sellaccountid:
  16420. description: 卖方账号ID[报价币种]
  16421. type: integer
  16422. sellorderid:
  16423. description: 卖方委托单号
  16424. type: string
  16425. tradeamount:
  16426. description: 成交金额(优惠后金额)
  16427. type: number
  16428. tradecharge:
  16429. description: 成交手续费(买方)
  16430. type: number
  16431. tradedate:
  16432. description: 交易日(yyyyMMdd)
  16433. type: string
  16434. tradeid:
  16435. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16436. type: string
  16437. tradeprice:
  16438. description: 成交价格
  16439. type: number
  16440. tradeqty:
  16441. description: 成交数量
  16442. type: number
  16443. type: object
  16444. models.QhjPickArea:
  16445. properties:
  16446. address:
  16447. description: 详细地址
  16448. type: string
  16449. cityid:
  16450. description: 市
  16451. type: integer
  16452. cityname:
  16453. description: 城市名称
  16454. type: string
  16455. countryid:
  16456. description: 国家
  16457. type: integer
  16458. countryname:
  16459. description: 国家名称
  16460. type: string
  16461. districtid:
  16462. description: 地区
  16463. type: integer
  16464. districtname:
  16465. description: 地区名称
  16466. type: string
  16467. fromuserid:
  16468. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  16469. type: integer
  16470. fromusername:
  16471. description: 所属机构名称
  16472. type: string
  16473. provinceid:
  16474. description: 省
  16475. type: integer
  16476. provincename:
  16477. description: 省名称
  16478. type: string
  16479. suborgtype:
  16480. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  16481. type: integer
  16482. userid:
  16483. description: 机构用户ID 其他做市关系,都设置为 1
  16484. type: integer
  16485. username:
  16486. description: 机构用户名称(门店门称)
  16487. type: string
  16488. type: object
  16489. models.QhjPickGoods:
  16490. properties:
  16491. enumdicname:
  16492. description: 单位名称(提货商品)
  16493. type: string
  16494. goodsid:
  16495. description: 商品id
  16496. type: integer
  16497. imageaddress:
  16498. description: 图片
  16499. type: string
  16500. modifierid:
  16501. description: 修改人
  16502. type: integer
  16503. modifiername:
  16504. description: 修改人名称
  16505. type: string
  16506. modifysrc:
  16507. description: 修改来源 - 1:管理端 2:终端
  16508. type: integer
  16509. pickupgoodsagreeunit:
  16510. description: 合约乘数
  16511. type: number
  16512. pickupgoodsdesc:
  16513. description: 描述
  16514. type: string
  16515. pickupgoodsid:
  16516. description: 提货商品ID
  16517. type: string
  16518. pickupgoodsname:
  16519. description: 提货商品名称
  16520. type: string
  16521. pickupgoodsstatus:
  16522. description: 状态 - 1:正常 2:停用 3:注销
  16523. type: integer
  16524. pickupgoodsunitid:
  16525. description: 单位ID
  16526. type: integer
  16527. pickupratio:
  16528. description: 提货系数
  16529. type: number
  16530. preparedays:
  16531. description: 备货期(天)
  16532. type: integer
  16533. remark:
  16534. description: 备注
  16535. type: string
  16536. updatetime:
  16537. description: 更新时间
  16538. type: string
  16539. type: object
  16540. models.QhjRSTriggerLog:
  16541. properties:
  16542. accountid:
  16543. description: 用户资金账户
  16544. type: integer
  16545. accountname:
  16546. description: 账号名称(ACCOUNTID对应的名称)
  16547. type: string
  16548. currencyid:
  16549. description: 币种id
  16550. type: integer
  16551. currencyname:
  16552. description: 币种名称
  16553. type: string
  16554. decimalplace:
  16555. description: 商品报价小数位
  16556. type: integer
  16557. enumdicname:
  16558. description: 单位名称
  16559. type: string
  16560. goodscode:
  16561. description: 定投商品代码
  16562. type: string
  16563. goodsid:
  16564. description: 定投商品ID
  16565. type: integer
  16566. goodsname:
  16567. description: 定投商品名称
  16568. type: string
  16569. goodunitid:
  16570. description: 定投商品单位id
  16571. type: integer
  16572. logid:
  16573. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  16574. type: string
  16575. logincode:
  16576. description: 账号(登录代码)
  16577. type: string
  16578. qtydecimalplace:
  16579. description: 成交量小数位
  16580. type: integer
  16581. regularlycycle:
  16582. description: 定投频率 - 1:每周 2:每月
  16583. type: integer
  16584. regularlycyclevalue:
  16585. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16586. type: string
  16587. regularlymode:
  16588. description: 定投方式 - 1:按数量 2:按金额
  16589. type: integer
  16590. regularlymodevalue:
  16591. description: 定投方式值 - 数量或金额
  16592. type: number
  16593. regularlystrategyid:
  16594. description: 定投策略ID
  16595. type: integer
  16596. retcode:
  16597. description: 错误码
  16598. type: string
  16599. tradeid:
  16600. description: 成交单ID
  16601. type: string
  16602. triggeramount:
  16603. description: 触发金额
  16604. type: number
  16605. triggerqty:
  16606. description: 触发数量
  16607. type: number
  16608. triggerstatus:
  16609. description: 触发状态 - 1:成功 2:失败
  16610. type: integer
  16611. triggertime:
  16612. description: 触发时间
  16613. type: string
  16614. triggertradedate:
  16615. description: 触发交易日
  16616. type: string
  16617. userid:
  16618. description: 所属用户ID
  16619. type: integer
  16620. userinfotype:
  16621. description: 用户类型 1-个人 2-企业
  16622. type: integer
  16623. username:
  16624. description: 用户名称(userid对应的名称)
  16625. type: string
  16626. type: object
  16627. models.QhjRStrategy:
  16628. properties:
  16629. accountid:
  16630. description: 用户资金账户
  16631. type: integer
  16632. accountname:
  16633. description: 账号名称(ACCOUNTID对应的名称)
  16634. type: string
  16635. currencyid:
  16636. description: 币种id
  16637. type: integer
  16638. currencyname:
  16639. description: 币种名称
  16640. type: string
  16641. decimalplace:
  16642. description: 商品报价小数位
  16643. type: integer
  16644. enumdicname:
  16645. description: 单位名称
  16646. type: string
  16647. goodscode:
  16648. description: 定投商品代码
  16649. type: string
  16650. goodsid:
  16651. description: 定投商品ID
  16652. type: integer
  16653. goodsname:
  16654. description: 定投商品名称
  16655. type: string
  16656. goodunitid:
  16657. description: 定投商品单位id
  16658. type: integer
  16659. lasteffecttradedate:
  16660. description: 最新生效交易日
  16661. type: string
  16662. laststoptradedate:
  16663. description: 最新暂停交易日
  16664. type: string
  16665. lasttriggertradedate:
  16666. description: 最新触发交易日
  16667. type: string
  16668. logincode:
  16669. description: 账号(登录代码)
  16670. type: string
  16671. nexttriggeramount:
  16672. description: 下次触发金额
  16673. type: number
  16674. nexttriggerdate:
  16675. description: 下次触发日期
  16676. type: string
  16677. nexttriggerqty:
  16678. description: 下次触发数量 [按小数位放大值]
  16679. type: number
  16680. qtydecimalplace:
  16681. description: 成交量小数位
  16682. type: integer
  16683. regularlycycle:
  16684. description: 定投频率 - 1:每周 2:每月
  16685. type: integer
  16686. regularlycyclevalue:
  16687. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  16688. type: string
  16689. regularlymode:
  16690. description: 定投方式 - 1:按数量 2:按金额
  16691. type: integer
  16692. regularlymodevalue:
  16693. description: 定投方式值 - 数量或金额
  16694. type: number
  16695. regularlystrategyid:
  16696. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  16697. type: integer
  16698. regularlystrategystatus:
  16699. description: 策略状态 - 1:正常 2:暂停 3:终止
  16700. type: integer
  16701. remark:
  16702. description: 备注
  16703. type: string
  16704. triggersuccesstimes:
  16705. description: 累计定投成功次数
  16706. type: string
  16707. triggertotalamount:
  16708. description: 累计定投金额(成功)
  16709. type: number
  16710. triggertotalqty:
  16711. description: 累计定投数量(成功) [按小数位放大值]
  16712. type: number
  16713. triggertotaltimes:
  16714. description: 累计定投总次数
  16715. type: string
  16716. updatesrc:
  16717. description: 更新来源 - 1:管理端 2:终端
  16718. type: integer
  16719. updatetime:
  16720. description: 更新时间
  16721. type: string
  16722. updatorid:
  16723. description: 更新人
  16724. type: string
  16725. userid:
  16726. description: 所属用户ID
  16727. type: integer
  16728. userinfotype:
  16729. description: 用户类型 1-个人 2-企业
  16730. type: integer
  16731. username:
  16732. description: 用户名称(userid对应的名称)
  16733. type: string
  16734. type: object
  16735. models.QhjReckonPriceLog:
  16736. properties:
  16737. decimalplace:
  16738. description: 商品报价小数位
  16739. type: integer
  16740. goodscode:
  16741. description: 商品代码
  16742. type: string
  16743. goodsid:
  16744. description: 商品ID
  16745. type: integer
  16746. goodsname:
  16747. description: 商品名称
  16748. type: string
  16749. lastreckonprice:
  16750. description: 上日结算价
  16751. type: number
  16752. nextdnlimitprice:
  16753. description: 下个交易日跌停价
  16754. type: number
  16755. nexttrade:
  16756. description: 下个交易日
  16757. type: string
  16758. nextuplimitprice:
  16759. description: 下个交易日涨停价
  16760. type: number
  16761. reckonprice:
  16762. description: 今日结算价(定投价)
  16763. type: number
  16764. reckontime:
  16765. description: 结算时间
  16766. type: string
  16767. totalholderqty:
  16768. description: 总持仓数
  16769. type: integer
  16770. totalstock:
  16771. description: 总库存
  16772. type: integer
  16773. tradedate:
  16774. description: 交易日
  16775. type: string
  16776. updowncount:
  16777. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  16778. type: integer
  16779. updownflag:
  16780. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  16781. type: integer
  16782. updownrate:
  16783. description: 今日涨跌幅
  16784. type: number
  16785. updownrate_2d:
  16786. description: 连续两日涨跌幅
  16787. type: number
  16788. updownrate_3d:
  16789. description: 连续三日涨跌幅
  16790. type: number
  16791. type: object
  16792. models.QhjScoreLog:
  16793. properties:
  16794. accountid:
  16795. description: 账户ID
  16796. type: integer
  16797. createtime:
  16798. description: 创建时间(时间)
  16799. type: string
  16800. goodsid:
  16801. description: 商品ID
  16802. type: integer
  16803. hasuploaded:
  16804. description: 是否已同步(千海金) 0:未同步 1;已同步
  16805. type: integer
  16806. logid:
  16807. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16808. type: string
  16809. marketid:
  16810. description: 市场ID
  16811. type: integer
  16812. relatedamount:
  16813. description: 关联金额
  16814. type: number
  16815. relatedorderid:
  16816. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  16817. type: string
  16818. scoreconfigvalue1:
  16819. description: 积分配置1
  16820. type: integer
  16821. scoreconfigvalue2:
  16822. description: 积分配置1
  16823. type: integer
  16824. scoretype:
  16825. description: 积分类型 - 1:提货积分
  16826. type: integer
  16827. scorevalue:
  16828. description: 积分
  16829. type: number
  16830. tradedate:
  16831. description: 交易日(yyyyMMdd)
  16832. type: string
  16833. uploadedtime:
  16834. description: 同步时间
  16835. type: string
  16836. userid:
  16837. description: 用户ID
  16838. type: integer
  16839. type: object
  16840. models.QhjSiteColumnDetail:
  16841. properties:
  16842. author:
  16843. description: 作者
  16844. type: string
  16845. brief:
  16846. description: 简介
  16847. type: string
  16848. columnid:
  16849. description: 所属栏目
  16850. type: integer
  16851. context:
  16852. description: 内容
  16853. type: string
  16854. coverimage:
  16855. description: 封面图片
  16856. type: string
  16857. creaedate:
  16858. description: 创建时间
  16859. type: string
  16860. creatorid:
  16861. description: 创建人
  16862. type: integer
  16863. hits:
  16864. description: 点击数
  16865. type: integer
  16866. id:
  16867. description: ID(SEQ_SITE_COLUMNDETAIL)
  16868. type: integer
  16869. isshow:
  16870. description: 是否展示 - 0:不展示 1:展示
  16871. type: integer
  16872. istop:
  16873. description: 是否置顶 - 0:不置 1:置顶
  16874. type: integer
  16875. modifierid:
  16876. description: 操作人
  16877. type: integer
  16878. publishdate:
  16879. description: 发布日期
  16880. type: string
  16881. status:
  16882. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  16883. type: integer
  16884. title:
  16885. description: 标题
  16886. type: string
  16887. updatedate:
  16888. description: 修改时间
  16889. type: string
  16890. userid:
  16891. description: 用户ID(默认为0, 核心为为机构用户ID)
  16892. type: integer
  16893. username:
  16894. description: 用户名称
  16895. type: string
  16896. type: object
  16897. models.QhjTeamOrder:
  16898. properties:
  16899. accountid:
  16900. description: 账户ID[报价币种]
  16901. type: integer
  16902. accountname:
  16903. description: 账户名称
  16904. type: string
  16905. agreeunit:
  16906. description: 合约乘数
  16907. type: number
  16908. buyorsell:
  16909. description: 方向 - 0:买 1:卖
  16910. type: integer
  16911. decimalplace:
  16912. description: 报价小数位
  16913. type: integer
  16914. enumdicname:
  16915. description: 单位名称
  16916. type: string
  16917. goodscode:
  16918. description: 商品代码(内部)
  16919. type: string
  16920. goodsid:
  16921. description: 商品ID
  16922. type: integer
  16923. goodsname:
  16924. description: 商品名称
  16925. type: string
  16926. goodunitid:
  16927. description: 报价单位ID
  16928. type: integer
  16929. marketid:
  16930. description: 市场ID
  16931. type: integer
  16932. marketname:
  16933. description: 市场名称
  16934. type: string
  16935. qtydecimalplace:
  16936. description: 成交量小数位
  16937. type: integer
  16938. refereeuserid:
  16939. description: 推荐人ID
  16940. type: integer
  16941. tradeamount:
  16942. description: 成交金额[账户币种,用于所有权]
  16943. type: number
  16944. tradedate:
  16945. description: 交易日(yyyyMMdd)
  16946. type: string
  16947. trademode:
  16948. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  16949. 21:竞拍-大宗式 22:受托竞价
  16950. type: integer
  16951. tradeprice:
  16952. description: 成交价格
  16953. type: number
  16954. tradeqty:
  16955. description: 成交数量
  16956. type: number
  16957. tradetime:
  16958. description: 成交时间
  16959. type: string
  16960. userid:
  16961. description: 用户ID
  16962. type: integer
  16963. type: object
  16964. models.QhjTradeGoodsPickup:
  16965. properties:
  16966. accountid:
  16967. description: 账户ID
  16968. type: integer
  16969. address:
  16970. description: 提货人详细地址
  16971. type: string
  16972. amount:
  16973. description: 提货金额
  16974. type: number
  16975. artradedate:
  16976. description: 自动收货交易日(yyyyMMdd)
  16977. type: string
  16978. auditer:
  16979. description: 审核人
  16980. type: integer
  16981. auditsrc:
  16982. description: 更新来源 - 1:管理端 2:终端
  16983. type: integer
  16984. audittime:
  16985. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  16986. type: string
  16987. audittradedate:
  16988. description: 审核交易日(yyyyMMdd)
  16989. type: string
  16990. cardnum:
  16991. description: 提货人证件号码
  16992. type: string
  16993. cardtypeid:
  16994. description: 提货人证件类型
  16995. type: integer
  16996. checkremark:
  16997. description: 审核备注
  16998. type: string
  16999. cityid:
  17000. description: 市
  17001. type: integer
  17002. cityname:
  17003. description: 城市名称
  17004. type: string
  17005. confirmtime:
  17006. description: 取货时间 或 收货时间
  17007. type: string
  17008. countryid:
  17009. description: 国家
  17010. type: integer
  17011. countryname:
  17012. description: 国家名称
  17013. type: string
  17014. decimalplace:
  17015. description: 商品报价小数位
  17016. type: integer
  17017. districtid:
  17018. description: 地区
  17019. type: integer
  17020. districtname:
  17021. description: 地区名称
  17022. type: string
  17023. enumdicname:
  17024. description: 单位名称(提货商品)
  17025. type: string
  17026. expresscompany:
  17027. description: 物流公司
  17028. type: string
  17029. expressnum:
  17030. description: 物流单号
  17031. type: string
  17032. goodsagreeunit:
  17033. description: 交易商品乘数
  17034. type: number
  17035. goodscode:
  17036. description: 商品代码
  17037. type: string
  17038. goodsid:
  17039. description: 商品ID
  17040. type: integer
  17041. goodsname:
  17042. description: 商品名称
  17043. type: string
  17044. goodsqty:
  17045. description: 交易商品手数(69模式按成交量小数位放大取整)
  17046. type: number
  17047. handlestatus:
  17048. description: 处理状态
  17049. type: integer
  17050. logincode:
  17051. description: 账号(登录代码, 有可能为空)
  17052. type: string
  17053. marketid:
  17054. description: 市场ID
  17055. type: integer
  17056. phonenum:
  17057. description: 提货人联系方式
  17058. type: string
  17059. pickupgoodsagreeunit:
  17060. description: 提货商品合约乘数
  17061. type: number
  17062. pickupgoodsid:
  17063. description: 提货商品ID
  17064. type: string
  17065. pickupgoodsname:
  17066. description: 提货商品名称
  17067. type: string
  17068. pickupgoodsqty:
  17069. description: 提货商品手数(数量)
  17070. type: number
  17071. pickupgoodsunitid:
  17072. description: 单位ID(提货商品)
  17073. type: integer
  17074. pickupratio:
  17075. description: 提货系数
  17076. type: number
  17077. preparedays:
  17078. description: 备货期(天)-提货单明细表
  17079. type: integer
  17080. provinceid:
  17081. description: 省
  17082. type: integer
  17083. provincename:
  17084. description: 省名称
  17085. type: string
  17086. qty:
  17087. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  17088. type: number
  17089. qtydecimalplace:
  17090. description: 商品数量小数位
  17091. type: integer
  17092. recivername:
  17093. description: 提货人姓名
  17094. type: string
  17095. reqtime:
  17096. description: 提货申请时间
  17097. type: string
  17098. storeuserid:
  17099. description: 门店用户ID (千海金)
  17100. type: integer
  17101. storeusername:
  17102. description: 门店用户名称
  17103. type: string
  17104. takemode:
  17105. description: 提货方式 - 2:自提 3:配送(邮寄)
  17106. type: integer
  17107. takeorderid:
  17108. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17109. type: string
  17110. takeorderstatus:
  17111. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  17112. 7:已拒绝 8:已撤销
  17113. type: integer
  17114. takeremark:
  17115. description: 提货备注
  17116. type: string
  17117. tradedate:
  17118. description: 交易日(yyyyMMdd)
  17119. type: string
  17120. updatetime:
  17121. description: 更新时间
  17122. type: string
  17123. userid:
  17124. description: 用户ID
  17125. type: integer
  17126. userinfotype:
  17127. description: 客户类型 1-个人 2-企业
  17128. type: integer
  17129. username:
  17130. description: 用户名称
  17131. type: string
  17132. type: object
  17133. models.QhjUserNodeCfgAndStatus:
  17134. properties:
  17135. agreementcontent:
  17136. description: 协议内容
  17137. type: string
  17138. agreementid:
  17139. description: 协议ID
  17140. type: integer
  17141. agreementname:
  17142. description: 协议名称
  17143. type: string
  17144. agreementno:
  17145. description: 协议编号
  17146. type: string
  17147. agreementtype:
  17148. description: 协议类型 - 1:注册 2:登录 3:交易
  17149. type: integer
  17150. agreementversion:
  17151. description: 协议版本号
  17152. type: integer
  17153. configid:
  17154. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  17155. type: integer
  17156. createtime:
  17157. description: 创建时间
  17158. type: string
  17159. goodsid:
  17160. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  17161. type: integer
  17162. nodetype:
  17163. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  17164. type: integer
  17165. signtimestamp:
  17166. description: 签约状态时间戳(最近一次)
  17167. type: string
  17168. tradedate:
  17169. description: 签约交易日(yyyyMMdd)
  17170. type: string
  17171. userid:
  17172. description: 客户ID
  17173. type: integer
  17174. type: object
  17175. models.Qhjgoodsex:
  17176. properties:
  17177. canfinance:
  17178. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  17179. type: integer
  17180. canregularlybuy:
  17181. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  17182. type: integer
  17183. defaulttradeuserid:
  17184. description: 默认交易用户ID
  17185. type: integer
  17186. deliverygoodsid:
  17187. description: 现货品种ID
  17188. type: integer
  17189. goodsid:
  17190. description: 商品ID(自增ID SEQ_GOODS)
  17191. type: integer
  17192. minamount:
  17193. description: 最小购买金额
  17194. type: number
  17195. regularlybuyminamount:
  17196. description: 定投最小金额
  17197. type: number
  17198. regularlybuyminqty:
  17199. description: 定投最小数量
  17200. type: number
  17201. spotgoodsbrandid:
  17202. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  17203. type: integer
  17204. visibilityforenterprise:
  17205. description: 企业客户是否可见 - 0:不可见 1:可见
  17206. type: integer
  17207. visibilityforpersonal:
  17208. description: 个人客户是否可见 - 0:不可见 1:可见
  17209. type: integer
  17210. wrstandardid:
  17211. description: 现货商品ID
  17212. type: integer
  17213. type: object
  17214. models.QueryErrorInfosRsp:
  17215. properties:
  17216. description:
  17217. description: 异常描述
  17218. type: string
  17219. errorcode:
  17220. description: 异常代码
  17221. type: string
  17222. errorid:
  17223. description: 异常ID
  17224. type: integer
  17225. modulecode:
  17226. description: 所属模块
  17227. type: string
  17228. operatecode:
  17229. description: 所属操作
  17230. type: string
  17231. rownumber:
  17232. description: 行号
  17233. type: string
  17234. required:
  17235. - errorid
  17236. type: object
  17237. models.QueryHedgeOrderDetailRsp:
  17238. properties:
  17239. accountid:
  17240. description: 账户ID
  17241. type: integer
  17242. buyorsell:
  17243. description: 买卖 - 0:买 1:卖
  17244. type: integer
  17245. cancellogincode:
  17246. description: 撤单人
  17247. type: string
  17248. channelbuildtype:
  17249. description: 开平标志 - 0:无 1:建仓 2:平仓
  17250. type: integer
  17251. channelinnerorderstatus:
  17252. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  17253. 9:全部成交
  17254. type: integer
  17255. channeloperatetype:
  17256. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  17257. type: integer
  17258. closetype:
  17259. description: 平仓方式 - 0:无 1:平今 2:平昨
  17260. type: integer
  17261. curexchangerate:
  17262. description: 当前汇率
  17263. type: number
  17264. decimalplace:
  17265. description: 商品报价小数位
  17266. type: integer
  17267. exchangefullname:
  17268. description: 外部交易所全称
  17269. type: string
  17270. goodscode:
  17271. description: 商品代码(内部)
  17272. type: string
  17273. goodsid:
  17274. description: 商品ID
  17275. type: integer
  17276. goodsname:
  17277. description: 商品名称
  17278. type: string
  17279. marketid:
  17280. description: 市场ID
  17281. type: integer
  17282. openfreezemargin:
  17283. description: 冻结保证金(冻结交易金额)
  17284. type: number
  17285. orderid:
  17286. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17287. type: string
  17288. orderlogincode:
  17289. description: 委托人
  17290. type: string
  17291. orderprice:
  17292. description: 委托价格(账户)
  17293. type: number
  17294. orderqty:
  17295. description: 委托数量
  17296. type: integer
  17297. ordertime:
  17298. description: 委托时间
  17299. type: string
  17300. pricemode:
  17301. description: '取价方式 - 1:市价 2: 限价'
  17302. type: integer
  17303. tradedate:
  17304. description: 交易日(yyyyMMdd)
  17305. type: string
  17306. tradeqty:
  17307. description: 成交数量
  17308. type: integer
  17309. type: object
  17310. models.QueryHedgeTradeDetailRsp:
  17311. properties:
  17312. accountid:
  17313. description: 账号ID
  17314. type: integer
  17315. buyorsell:
  17316. description: 方向 - 0:买 1:卖
  17317. type: integer
  17318. channelbuildtype:
  17319. description: 委托单据类型 0:无 1:建仓 2:平仓
  17320. type: integer
  17321. closecharge:
  17322. description: 平仓手续费(账户)
  17323. type: number
  17324. closecharge2:
  17325. description: 平仓手续费(商品)
  17326. type: number
  17327. closepl:
  17328. description: 平仓盈亏(账户)
  17329. type: number
  17330. closepl2:
  17331. description: 平仓盈亏(商品)
  17332. type: number
  17333. closepl3:
  17334. description: 平仓盈亏(账户)(逐笔)
  17335. type: number
  17336. closepl4:
  17337. description: 平仓盈亏(商品)(逐笔)
  17338. type: number
  17339. closetype:
  17340. description: 平仓方式 - 0:无 1:平今 2:平昨
  17341. type: integer
  17342. curexchangerate:
  17343. description: 当前汇率
  17344. type: number
  17345. decimalplace:
  17346. description: 商品报价小数位
  17347. type: integer
  17348. exchangefullname:
  17349. description: 外部交易所全称
  17350. type: string
  17351. goodscode:
  17352. description: 商品代码(内部)
  17353. type: string
  17354. goodsid:
  17355. description: 商品ID
  17356. type: integer
  17357. goodsname:
  17358. description: 商品名称
  17359. type: string
  17360. marketid:
  17361. description: 市场ID
  17362. type: integer
  17363. opencharge:
  17364. description: 建仓手续费(账户)
  17365. type: number
  17366. opencharge2:
  17367. description: 建仓手续费(商品)
  17368. type: number
  17369. orderid:
  17370. description: 委托单号
  17371. type: string
  17372. orderlogincode:
  17373. description: 委托人
  17374. type: string
  17375. tradeamount:
  17376. description: 成交金额(账户)
  17377. type: number
  17378. tradedate:
  17379. description: 交易日(yyyyMMdd)
  17380. type: string
  17381. tradeid:
  17382. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17383. type: string
  17384. tradeprice:
  17385. description: 成交价格
  17386. type: number
  17387. tradeqty:
  17388. description: 成交数量
  17389. type: integer
  17390. tradetime:
  17391. description: 成交时间
  17392. type: string
  17393. tradetype:
  17394. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  17395. type: integer
  17396. type: object
  17397. models.QuotePrimaryMenu:
  17398. properties:
  17399. Index:
  17400. description: 序号
  17401. type: integer
  17402. Key:
  17403. description: 键名
  17404. type: string
  17405. Name:
  17406. description: 菜单名称
  17407. type: string
  17408. SubMenus:
  17409. description: 子菜单
  17410. items:
  17411. $ref: '#/definitions/models.QuoteSecondaryMenu'
  17412. type: array
  17413. SubTitleType:
  17414. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  17415. type: integer
  17416. TradeModes:
  17417. description: 包含市场交易类型
  17418. type: string
  17419. type: object
  17420. models.QuoteSecondaryMenu:
  17421. properties:
  17422. ExExchangeCode:
  17423. description: 外部交易所代码
  17424. type: string
  17425. ExExchangeID:
  17426. description: 外部交易所ID
  17427. type: integer
  17428. GoodsGroupIDs:
  17429. description: 商品组ID列表
  17430. items:
  17431. type: integer
  17432. type: array
  17433. Index:
  17434. description: 序号
  17435. type: integer
  17436. MarketID:
  17437. description: 市场ID
  17438. type: integer
  17439. MenuTitle:
  17440. description: 菜单标题(市场名称或外部交易所名称)
  17441. type: string
  17442. TradeMode:
  17443. description: 交易模式
  17444. type: integer
  17445. type: object
  17446. models.Reckondaytaaccount:
  17447. properties:
  17448. accountid:
  17449. description: 资金账户ID
  17450. type: integer
  17451. accountname:
  17452. description: 账户名称
  17453. type: string
  17454. accountpl:
  17455. description: 今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新
  17456. type: number
  17457. avaiablemoney:
  17458. description: 可用资金
  17459. type: number
  17460. avaiableoutmoney:
  17461. description: 可出资金
  17462. type: number
  17463. balance:
  17464. description: 期初余额
  17465. type: number
  17466. capitalbalance:
  17467. description: 本金余额[外部子账户实际出入金余额]
  17468. type: number
  17469. changeflag:
  17470. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  17471. type: integer
  17472. clearbalance:
  17473. description: 清算余额 = 期末余额 - 授信金额 - 其它授信金额
  17474. type: number
  17475. clearpl:
  17476. description: 真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费
  17477. - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 =
  17478. 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费
  17479. type: number
  17480. closepl:
  17481. description: 今日平仓盈亏
  17482. type: number
  17483. closepl2:
  17484. description: 平仓盈亏(逐笔)
  17485. type: number
  17486. creditdecrease:
  17487. description: 今日授信减少
  17488. type: number
  17489. creditincrease:
  17490. description: 今日授信增加
  17491. type: number
  17492. curdebt:
  17493. description: 期末欠款
  17494. type: number
  17495. currencyid:
  17496. description: 货币ID
  17497. type: integer
  17498. currentbalance:
  17499. description: 期末余额
  17500. type: number
  17501. cycletype:
  17502. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  17503. type: integer
  17504. defercharge:
  17505. description: 今日递延费2支出[111, 112]
  17506. type: number
  17507. deliveryamountin:
  17508. description: 今日交收货款收入
  17509. type: number
  17510. deliveryamountout:
  17511. description: 今日交收货款支出
  17512. type: number
  17513. deliverycharge:
  17514. description: 今日交收手续费支出 [105,106]
  17515. type: number
  17516. deliverycompensationfeein:
  17517. description: 今日交收补偿费收入
  17518. type: number
  17519. deliverycompensationfeeout:
  17520. description: 今日交收补偿费支出
  17521. type: number
  17522. dividedcharge:
  17523. description: 今日已收手续费分成
  17524. type: number
  17525. floatnetvalue:
  17526. description: 浮动净值 = 净值 + 浮动盈亏
  17527. type: number
  17528. floatpl:
  17529. description: 浮动盈亏 - 每日有负债类商品
  17530. type: number
  17531. freezecharge:
  17532. description: 手续费冻结
  17533. type: number
  17534. freezemargin:
  17535. description: 冻结保证金
  17536. type: number
  17537. fromaccountid:
  17538. description: 所属上级账户
  17539. type: integer
  17540. holdcharge:
  17541. description: 今日持仓过夜费支出[108,109,110]
  17542. type: number
  17543. inamount:
  17544. description: 今日入金金额
  17545. type: number
  17546. interestcharge:
  17547. description: 今日递延费支出[103, 104]
  17548. type: number
  17549. ismain:
  17550. description: 是否账号 0:不是母账户 1:是母账户
  17551. type: integer
  17552. ismarketaccount:
  17553. description: 是否机构接单账号 0:不是 1:是
  17554. type: integer
  17555. isreckonaccount:
  17556. description: 是否机构分润账号 0:不是 1:是
  17557. type: integer
  17558. mortgagecredit:
  17559. description: 授信金额
  17560. type: number
  17561. netvalue:
  17562. description: 净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新
  17563. type: number
  17564. oridebt:
  17565. description: 期初欠款
  17566. type: number
  17567. orifreezecharge:
  17568. description: 期初手续费冻结
  17569. type: number
  17570. orifreezemargin:
  17571. description: 期初冻结保证金
  17572. type: number
  17573. orimortgagecredit:
  17574. description: 期初授信金额
  17575. type: number
  17576. oriothercredit:
  17577. description: 期初其它授信金额
  17578. type: number
  17579. oriotherfreezemargin:
  17580. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17581. type: number
  17582. orioutamountfreeze:
  17583. description: 期初出金冻结
  17584. type: number
  17585. oriusedmargin:
  17586. description: 期初占用保证金
  17587. type: number
  17588. othercredit:
  17589. description: 其它授信金额
  17590. type: number
  17591. othercreditdecrease:
  17592. description: 今日其它授信减少
  17593. type: number
  17594. othercreditincrease:
  17595. description: 今日其它授信增加
  17596. type: number
  17597. otherfreezemargin:
  17598. description: 其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  17599. type: number
  17600. otherincome:
  17601. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  17602. type: number
  17603. otherpay:
  17604. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  17605. type: number
  17606. outamount:
  17607. description: 今日出金金额
  17608. type: number
  17609. outamountfreeze:
  17610. description: 出金冻结
  17611. type: number
  17612. outthreshold:
  17613. description: 出金阈值
  17614. type: number
  17615. ownershipvalue:
  17616. description: 所有权市值
  17617. type: number
  17618. parentaccountid:
  17619. description: 所属根账户
  17620. type: integer
  17621. password:
  17622. description: 资金密码
  17623. type: string
  17624. paycharge:
  17625. description: 今日手续费支出
  17626. type: number
  17627. paycharge2:
  17628. description: 今日手续费支出(外部配置)
  17629. type: number
  17630. payexchcharge:
  17631. description: 今日应付交易所手续费
  17632. type: number
  17633. reckondate:
  17634. description: 日照日期(yyyyMMdd)
  17635. type: string
  17636. reckonpl:
  17637. description: 今日结算盈亏
  17638. type: number
  17639. reckonpl2:
  17640. description: 结算盈亏(逐笔) - 汇总取期末
  17641. type: number
  17642. relatedaccountstatus:
  17643. description: 关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  17644. type: integer
  17645. relateuserid:
  17646. description: 关联用户
  17647. type: integer
  17648. riskrate:
  17649. description: 风险率 = 占用/ 浮动净值 或 浮动净值/占用
  17650. type: number
  17651. signstatus:
  17652. description: 签约状态 - 1:未签约 2:已签约 3:已解约
  17653. type: integer
  17654. spotvalue:
  17655. description: 现货市值-统计服务更新
  17656. type: number
  17657. sublevelpath:
  17658. description: 账号层级路径(逗号分隔,首尾加逗号)
  17659. type: string
  17660. taaccounttype:
  17661. description: 外部/内部账号 - 1:外部账号 2:内部账号
  17662. type: integer
  17663. thirdinamount:
  17664. description: 今日三方入金
  17665. type: number
  17666. thirdoutamount:
  17667. description: 今日三方出金
  17668. type: number
  17669. tradeamount:
  17670. description: 今日成交金额
  17671. type: number
  17672. tradecharge:
  17673. description: 今日交易手续费支出 [101,102]
  17674. type: number
  17675. tradeqty:
  17676. description: 今日成交量
  17677. type: integer
  17678. tradestatus:
  17679. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)
  17680. type: integer
  17681. transferamount:
  17682. description: 今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)
  17683. type: number
  17684. usedmargin:
  17685. description: 占用保证金
  17686. type: number
  17687. userid:
  17688. description: 用户ID
  17689. type: integer
  17690. required:
  17691. - userid
  17692. type: object
  17693. models.Reckongzmemtradesum:
  17694. properties:
  17695. buylistingamount:
  17696. description: 买挂牌金额 - 无数据,预留
  17697. type: number
  17698. buylistinglot:
  17699. description: 买挂牌宗数
  17700. type: integer
  17701. buylistingqty:
  17702. description: 买挂牌数量 - 无数据,预留
  17703. type: number
  17704. buytradeamount:
  17705. description: 购买金额
  17706. type: number
  17707. buytradelot:
  17708. description: 购买宗数
  17709. type: integer
  17710. buytradeqty:
  17711. description: 购买数量
  17712. type: number
  17713. marketid:
  17714. description: 市场ID
  17715. type: integer
  17716. reckondate:
  17717. description: 日照日期(yyyyMMdd)
  17718. type: string
  17719. selllistingamount:
  17720. description: 卖挂牌金额
  17721. type: number
  17722. selllistinglot:
  17723. description: 卖挂牌宗数
  17724. type: integer
  17725. selllistingqty:
  17726. description: 卖挂牌数量
  17727. type: number
  17728. selltradeamount:
  17729. description: 销售金额
  17730. type: number
  17731. selltradelot:
  17732. description: 销售宗数
  17733. type: integer
  17734. selltradeqty:
  17735. description: 销售数量
  17736. type: number
  17737. updatetime:
  17738. description: 更新时间
  17739. type: string
  17740. userid:
  17741. description: 用户ID
  17742. type: integer
  17743. zscategory:
  17744. description: 钻石分类 - 枚举”ZSCategory“
  17745. type: integer
  17746. zscategorydisplay:
  17747. type: string
  17748. zscurrencytype:
  17749. description: 货币类型 - 枚举“ZSCurrencyType”
  17750. type: integer
  17751. zscurrencytypedisplay:
  17752. type: string
  17753. zscurrencytypedisplayunit:
  17754. type: string
  17755. required:
  17756. - userid
  17757. type: object
  17758. models.RegisterMoney:
  17759. properties:
  17760. amount:
  17761. description: 红包
  17762. type: number
  17763. type: object
  17764. models.RelatedTaAccount:
  17765. properties:
  17766. accountid:
  17767. description: 资金账户ID
  17768. type: integer
  17769. type: object
  17770. models.RoleMenu:
  17771. properties:
  17772. hasright:
  17773. description: 是否有权限 0-没有权限 1-有权限
  17774. type: integer
  17775. iconame:
  17776. description: 菜单图标
  17777. type: string
  17778. menutype:
  17779. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  17780. type: integer
  17781. parentcode:
  17782. description: 上级资源代码
  17783. type: string
  17784. remark:
  17785. description: 菜单备注
  17786. type: string
  17787. resourcecode:
  17788. description: 菜单代码
  17789. type: string
  17790. resourcelevel:
  17791. description: 级别
  17792. type: integer
  17793. resourcename:
  17794. description: 菜单名称
  17795. type: string
  17796. roleid:
  17797. description: 角色id
  17798. type: integer
  17799. sort:
  17800. description: 排序
  17801. type: integer
  17802. subMenu:
  17803. description: 子级菜单(结构同上层一样, swag解析不出来)
  17804. items:
  17805. $ref: '#/definitions/models.RoleMenu'
  17806. type: array
  17807. url:
  17808. description: URL
  17809. type: string
  17810. userid:
  17811. description: 用户id
  17812. type: integer
  17813. type: object
  17814. models.SearchGoods:
  17815. properties:
  17816. goodscode:
  17817. description: 商品代码(内部)
  17818. type: string
  17819. goodsid:
  17820. description: 商品ID(自增ID SEQ_GOODS)
  17821. type: integer
  17822. goodsname:
  17823. description: 商品名称
  17824. type: string
  17825. marketid:
  17826. description: 所属市场ID
  17827. type: integer
  17828. marketname:
  17829. description: 市场名称
  17830. type: string
  17831. trademode:
  17832. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  17833. 21:竞拍-大宗式 22:受托竞价
  17834. type: integer
  17835. required:
  17836. - goodscode
  17837. - goodsid
  17838. - goodsname
  17839. - marketid
  17840. - trademode
  17841. type: object
  17842. models.SellOrder:
  17843. properties:
  17844. accountid:
  17845. description: 资金账号
  17846. type: integer
  17847. applyid:
  17848. description: 申请单ID
  17849. type: integer
  17850. attachment1:
  17851. description: 附件1
  17852. type: string
  17853. attachment2:
  17854. description: 附件2
  17855. type: string
  17856. buyorsell:
  17857. description: 买卖 - 0:买 1:卖
  17858. type: integer
  17859. canbargain:
  17860. description: 是否可议价 - 0:不可 1:可
  17861. type: integer
  17862. cancelqty:
  17863. description: 撤销数量
  17864. type: integer
  17865. canceltime:
  17866. description: 撤销时间
  17867. type: string
  17868. cerno:
  17869. type: string
  17870. chargealgorithm:
  17871. description: 手续费收取方式 1:比率 2:固定
  17872. type: integer
  17873. chargealgorithmvalue:
  17874. description: 手续费设置值(交易所部分)
  17875. type: number
  17876. chargealgorithmvalue2:
  17877. description: 手续费设置值(会员部分)
  17878. type: number
  17879. clientordertime:
  17880. description: 客户端委托时间
  17881. type: string
  17882. cpcertno:
  17883. type: string
  17884. exchangerate:
  17885. description: 汇率[67]
  17886. type: number
  17887. firstratio:
  17888. description: 首付比率 - [挂牌时指定,摘牌时使用]
  17889. type: number
  17890. fixedprice:
  17891. description: '[克拉单价]固定价格 - [挂牌]'
  17892. type: number
  17893. freezecharge:
  17894. description: 冻结手续费
  17895. type: number
  17896. freezefirstamount:
  17897. description: 冻结首付金额 - [摘牌]
  17898. type: number
  17899. freezemargin:
  17900. description: 冻结保证金
  17901. type: number
  17902. goodsno:
  17903. description: 商品编号
  17904. type: string
  17905. imagepath:
  17906. type: string
  17907. isQueryDiamond:
  17908. description: 是否钻石查询
  17909. type: boolean
  17910. isspecified:
  17911. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17912. type: integer
  17913. kppath:
  17914. type: string
  17915. kpweight:
  17916. type: string
  17917. marginalgorithm:
  17918. description: 保证金方式 - 1:比率 2:固定
  17919. type: integer
  17920. marginvalue:
  17921. description: 保证金设置值
  17922. type: number
  17923. marketid:
  17924. description: 市场ID
  17925. type: integer
  17926. marketprice:
  17927. type: string
  17928. orderamount:
  17929. description: 挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100
  17930. type: number
  17931. ordertime:
  17932. description: 委托时间
  17933. type: string
  17934. performancetemplateid:
  17935. description: 履约计划模板ID
  17936. type: integer
  17937. price:
  17938. description: 价格
  17939. type: number
  17940. pricefactor:
  17941. description: 价格系数(浮动价时填写) - [挂牌]
  17942. type: number
  17943. pricemove:
  17944. description: 升贴水(浮动价时填写) - [挂牌]
  17945. type: number
  17946. priceper:
  17947. type: string
  17948. relatedwrtradeorderid:
  17949. description: 关联委托单号(摘牌委托关联挂牌委托单ID)
  17950. type: integer
  17951. remainqty:
  17952. description: 剩余重量
  17953. type: number
  17954. remark:
  17955. type: string
  17956. retcode:
  17957. description: 错误代码
  17958. type: integer
  17959. sellusername:
  17960. description: 卖方(查询字段-模糊查询)
  17961. type: string
  17962. settingmaterial:
  17963. description: 镶嵌材料
  17964. type: string
  17965. size1:
  17966. type: string
  17967. size2:
  17968. type: string
  17969. size3:
  17970. type: string
  17971. sizedisplay:
  17972. description: 尺寸
  17973. type: string
  17974. stonedesc:
  17975. description: 配石描述
  17976. type: string
  17977. totalqty:
  17978. description: 总重量
  17979. type: number
  17980. tradedate:
  17981. description: 交易日(yyyyMMdd)
  17982. type: string
  17983. tradeprice:
  17984. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  17985. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  17986. type: number
  17987. unfreezecharge:
  17988. description: 解冻手续费
  17989. type: number
  17990. unfreezefirstamount:
  17991. description: 解冻首付金额 - [摘牌]
  17992. type: number
  17993. unfreezemargin:
  17994. description: 解冻保证金
  17995. type: number
  17996. userid:
  17997. description: 用户ID
  17998. type: integer
  17999. uuid:
  18000. description: 发起端唯一id
  18001. type: string
  18002. validtime:
  18003. description: 有效期限
  18004. type: string
  18005. validtype:
  18006. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  18007. type: integer
  18008. warehousenamedisplay:
  18009. type: string
  18010. wrbargainid:
  18011. description: 议价申请单ID
  18012. type: integer
  18013. wrfactortypeid:
  18014. description: 仓单要素类型ID/商品ID(77)
  18015. type: integer
  18016. wrpath:
  18017. type: string
  18018. wrpricetype:
  18019. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  18020. type: integer
  18021. wrstandardid:
  18022. description: 现货商品ID
  18023. type: integer
  18024. wrtradeorderid:
  18025. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  18026. type: string
  18027. wrtradeorderstatus:
  18028. 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:撤单解冻贷款失败
  18029. type: integer
  18030. wrtradetype:
  18031. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  18032. type: integer
  18033. wrtransferuserid:
  18034. description: 仓单受让用户 - [摘牌]
  18035. type: integer
  18036. zscategory:
  18037. description: 钻石分类 - 枚举”ZSCategory“
  18038. type: integer
  18039. zscategorydisplay:
  18040. description: 钻石分类 - 描述
  18041. type: string
  18042. zscerttypedisplay:
  18043. type: string
  18044. zsclaritytype1display:
  18045. type: string
  18046. zsclaritytype2display:
  18047. type: string
  18048. zscolortype1display:
  18049. type: string
  18050. zscolortype2display:
  18051. type: string
  18052. zscrystaltype:
  18053. type: string
  18054. zscrystaltypedisplay:
  18055. type: string
  18056. zscurrencytype:
  18057. description: 货币类型 - 枚举“ZSCurrencyType”
  18058. type: integer
  18059. zscurrencytypedisplay:
  18060. type: string
  18061. zscurrencytypedisplayunit:
  18062. type: string
  18063. zscuttype1display:
  18064. type: string
  18065. zscuttype2display:
  18066. type: string
  18067. zsczcolor1typedisplay:
  18068. type: string
  18069. zsczcolor2typedisplay:
  18070. type: string
  18071. zsczcolor3typedisplay:
  18072. type: string
  18073. zsfluorescencetype1display:
  18074. type: string
  18075. zsfluorescencetype2display:
  18076. type: string
  18077. zspolishtype1display:
  18078. type: string
  18079. zspolishtype2display:
  18080. type: string
  18081. zsshapetypedisplay:
  18082. type: string
  18083. zsstyletypedisplay:
  18084. type: string
  18085. zssymmetrytype1display:
  18086. type: string
  18087. zssymmetrytype2display:
  18088. type: string
  18089. type: object
  18090. models.SellOrderQueryReq:
  18091. properties:
  18092. origin:
  18093. description: 原产地
  18094. type: string
  18095. page:
  18096. description: 页码
  18097. type: integer
  18098. pagesize:
  18099. description: 每页大小
  18100. type: integer
  18101. total:
  18102. description: 总条数
  18103. type: integer
  18104. warehouseid:
  18105. description: 仓库ID
  18106. type: integer
  18107. weight1:
  18108. description: 总重量(克拉重量)-从
  18109. type: number
  18110. weight2:
  18111. description: 总重量(克拉重量)-至
  18112. type: number
  18113. weightavg1:
  18114. description: 平均单颗重量-从
  18115. type: number
  18116. weightavg2:
  18117. description: 平均单颗重量-至
  18118. type: number
  18119. zscategory:
  18120. description: 钻石分类 - 枚举”ZSCategory“
  18121. type: integer
  18122. zscerttype:
  18123. description: 证书类型
  18124. items:
  18125. type: string
  18126. type: array
  18127. zsclaritytype:
  18128. description: 净度
  18129. items:
  18130. type: integer
  18131. type: array
  18132. zscolortype:
  18133. description: 颜色
  18134. items:
  18135. type: integer
  18136. type: array
  18137. zscurrencytype:
  18138. description: 货币类型 - 枚举“ZSCurrencyType”
  18139. items:
  18140. type: string
  18141. type: array
  18142. zscuttype:
  18143. description: 切工
  18144. items:
  18145. type: integer
  18146. type: array
  18147. zsczcolor1type:
  18148. description: 彩钻颜色1
  18149. items:
  18150. type: string
  18151. type: array
  18152. zsfluorescencetype:
  18153. description: 荧光
  18154. items:
  18155. type: integer
  18156. type: array
  18157. zspolishtype:
  18158. description: 抛光度
  18159. items:
  18160. type: integer
  18161. type: array
  18162. zsshapetype:
  18163. description: 形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)
  18164. items:
  18165. type: string
  18166. type: array
  18167. zsstyletype:
  18168. description: 款式
  18169. items:
  18170. type: string
  18171. type: array
  18172. zssymmetrytype:
  18173. description: 对称度
  18174. items:
  18175. type: integer
  18176. type: array
  18177. required:
  18178. - zscategory
  18179. type: object
  18180. models.Sitecolumnconfig:
  18181. properties:
  18182. columnname:
  18183. description: 栏目名称
  18184. type: string
  18185. columntype:
  18186. description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  18187. type: integer
  18188. creaedate:
  18189. description: 创建时间
  18190. type: string
  18191. creatorid:
  18192. description: 创建人
  18193. type: integer
  18194. id:
  18195. description: ID(SEQ_SITE_COLUMNCONFIG)
  18196. type: integer
  18197. isshow:
  18198. description: 是否展示 - 0:不展示 1:展示
  18199. type: integer
  18200. modifierid:
  18201. description: 操作人
  18202. type: integer
  18203. sort:
  18204. description: 排序
  18205. type: integer
  18206. updatedate:
  18207. description: 修改时间
  18208. type: string
  18209. type: object
  18210. models.Spotgoodsprice:
  18211. properties:
  18212. prespotgoodsprice:
  18213. description: 上日价格
  18214. type: number
  18215. spotgoodsprice:
  18216. description: 当前价格
  18217. type: number
  18218. tradedate:
  18219. description: 交易日(yyyyMMdd)
  18220. type: string
  18221. wrstandardcode:
  18222. description: 现货商品代码
  18223. type: string
  18224. wrstandardid:
  18225. description: 现货商品ID(通用则为0)
  18226. type: integer
  18227. wrstandardname:
  18228. description: 现货商品名称
  18229. type: string
  18230. type: object
  18231. models.Systemparam:
  18232. properties:
  18233. loginid:
  18234. description: 更新用户账号,登录账号
  18235. type: string
  18236. modifyflag:
  18237. description: 修改标志0 不允许修改 1 允许修改
  18238. type: integer
  18239. paramcode:
  18240. description: 参数代码
  18241. type: string
  18242. paramname:
  18243. description: 参数名
  18244. type: string
  18245. paramtype:
  18246. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  18247. type: integer
  18248. paramvalue:
  18249. description: 参数值
  18250. type: string
  18251. paramvalue2:
  18252. description: 参数值(CLOB)
  18253. type: string
  18254. regexpress:
  18255. description: 正则表达式
  18256. type: string
  18257. remark:
  18258. description: 备注
  18259. type: string
  18260. serverip:
  18261. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  18262. type: string
  18263. showflag:
  18264. description: 是否显示0 不显示 1 显示
  18265. type: integer
  18266. updatetime:
  18267. description: 更新时间
  18268. type: string
  18269. userid:
  18270. description: 更新用户ID
  18271. type: integer
  18272. required:
  18273. - paramcode
  18274. type: object
  18275. models.Szdz3convertconfig:
  18276. properties:
  18277. canin:
  18278. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  18279. type: integer
  18280. canout:
  18281. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  18282. type: integer
  18283. converttype:
  18284. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  18285. 6:交易转花生米(不设置)
  18286. type: integer
  18287. createtime:
  18288. description: 创建时间
  18289. type: string
  18290. creatorid:
  18291. description: 创建人
  18292. type: integer
  18293. daymaxvalue:
  18294. description: 当日最大转入限制
  18295. type: number
  18296. freezedays:
  18297. description: 冻结天数 [5:花生米转交易]
  18298. type: integer
  18299. innergoodsid:
  18300. description: 内部商品ID[交易]
  18301. type: integer
  18302. inratio:
  18303. description: 目标值
  18304. type: integer
  18305. modifierid:
  18306. description: 修改人
  18307. type: integer
  18308. modifytime:
  18309. description: 修改时间
  18310. type: string
  18311. outergoodscode:
  18312. description: 外部商品代码[JD\PD]
  18313. type: string
  18314. outratio:
  18315. description: 源值
  18316. type: integer
  18317. pddecimalplace:
  18318. description: PD小数位
  18319. type: integer
  18320. timemaxvalue:
  18321. description: 单次最大转入限制
  18322. type: number
  18323. timeminvalue:
  18324. description: 单次最小转入限制
  18325. type: number
  18326. required:
  18327. - converttype
  18328. - innergoodsid
  18329. - outergoodscode
  18330. type: object
  18331. models.Szdz3searchwhitelist:
  18332. properties:
  18333. createtime:
  18334. description: 创建时间
  18335. type: string
  18336. creatorid:
  18337. description: 创建人
  18338. type: integer
  18339. modifierid:
  18340. description: 修改人
  18341. type: integer
  18342. modifytime:
  18343. description: 修改时间
  18344. type: string
  18345. userid:
  18346. description: 用户ID
  18347. type: integer
  18348. required:
  18349. - userid
  18350. type: object
  18351. models.TBGoods:
  18352. properties:
  18353. agreeunit:
  18354. description: 合约乘数
  18355. type: number
  18356. enumdicname:
  18357. description: 单位名称
  18358. type: string
  18359. goodscode:
  18360. description: 商品代码(内部)
  18361. type: string
  18362. goodsid:
  18363. description: 商品ID(自增ID SEQ_GOODS)
  18364. type: integer
  18365. goodsname:
  18366. description: 商品名称
  18367. type: string
  18368. type: object
  18369. models.TBGoodsGroup:
  18370. properties:
  18371. GDLST:
  18372. description: 商品列表
  18373. items:
  18374. $ref: '#/definitions/models.TBGoods'
  18375. type: array
  18376. convertratio:
  18377. description: 折算系数
  18378. type: number
  18379. enumdicname:
  18380. description: 单位名称
  18381. type: string
  18382. exexchangecode:
  18383. description: 交易所代码
  18384. type: string
  18385. exexchangename:
  18386. description: 交易所名称
  18387. type: string
  18388. goodsgroupid:
  18389. description: 商品组ID(自增ID)
  18390. type: integer
  18391. goodsgroupname:
  18392. description: 商品组名称
  18393. type: string
  18394. goodunitid:
  18395. description: 报价单位ID
  18396. type: integer
  18397. type: object
  18398. models.TBMiddleGoods:
  18399. properties:
  18400. GPLST:
  18401. description: 期货品种列表
  18402. items:
  18403. $ref: '#/definitions/models.TBGoodsGroup'
  18404. type: array
  18405. WDLST:
  18406. description: 商品信息列表(现货品类)
  18407. items:
  18408. $ref: '#/definitions/models.TBWrstandard'
  18409. type: array
  18410. areauserid:
  18411. description: 机构用户ID
  18412. type: integer
  18413. enumdicname:
  18414. description: 单位名称
  18415. type: string
  18416. goodsunitid:
  18417. description: 套保品种单位id
  18418. type: integer
  18419. middlegoodscode:
  18420. description: 套保品种代码
  18421. type: string
  18422. middlegoodsid:
  18423. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  18424. type: integer
  18425. middlegoodsname:
  18426. description: 套保品种名称
  18427. type: string
  18428. needarbitrageratio:
  18429. description: 套利比率
  18430. type: number
  18431. needhedgeratio:
  18432. description: 套保比率
  18433. type: number
  18434. type: object
  18435. models.TBWrstandard:
  18436. properties:
  18437. convertratio:
  18438. description: 折算系数
  18439. type: number
  18440. deliverygoodsname:
  18441. description: 品种名称
  18442. type: string
  18443. enumdicname:
  18444. description: 单位名称
  18445. type: string
  18446. vatrate:
  18447. description: 增值税率
  18448. type: number
  18449. wrstandardcode:
  18450. description: 现货商品代码
  18451. type: string
  18452. wrstandardid:
  18453. description: 现货商品ID(SEQ_WRSTANDARD)
  18454. type: integer
  18455. wrstandardname:
  18456. description: 现货商品名称
  18457. type: string
  18458. type: object
  18459. models.THJDeliveryMode:
  18460. properties:
  18461. enumdicname:
  18462. description: 枚举项名称
  18463. type: string
  18464. enumitemname:
  18465. description: 枚举项值
  18466. type: integer
  18467. type: object
  18468. models.THJDeliveryMonth:
  18469. properties:
  18470. enddate:
  18471. description: 预售结束日期(yyyy-mm-dd)
  18472. type: string
  18473. endmonth:
  18474. description: 预售结束月份(yyyy-mm)
  18475. type: string
  18476. orderqty:
  18477. description: 委托数量
  18478. type: integer
  18479. presaleapplyid:
  18480. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18481. type: string
  18482. remainqty:
  18483. description: 可用数量
  18484. type: integer
  18485. tradeqty:
  18486. description: 成交数量
  18487. type: integer
  18488. unitprice:
  18489. description: '[参考价]商品单价'
  18490. type: number
  18491. type: object
  18492. models.THJGoodsDetailRsp:
  18493. properties:
  18494. goodsinfo:
  18495. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18496. description: 商品信息
  18497. spotgoodspricelogs:
  18498. description: 历史价格走势
  18499. items:
  18500. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18501. type: array
  18502. type: object
  18503. models.THJPresaleApplyDeposit:
  18504. properties:
  18505. depositid:
  18506. description: 自增ID autoid
  18507. type: string
  18508. depositrate:
  18509. description: 定金比例
  18510. type: number
  18511. discountamount:
  18512. description: 优惠金额(每吨)
  18513. type: number
  18514. presaleapplyid:
  18515. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  18516. type: string
  18517. type: object
  18518. models.THJProduct:
  18519. properties:
  18520. bannerpicurl:
  18521. description: Banner图(逗号分隔)
  18522. type: string
  18523. pictureurls:
  18524. description: 详情图片(逗号分隔)
  18525. type: string
  18526. thumurls:
  18527. description: 缩略图片(1:1)(逗号分隔)
  18528. type: string
  18529. wrstandardcode:
  18530. description: 现货商品代码
  18531. type: string
  18532. wrstandardid:
  18533. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18534. type: string
  18535. wrstandardname:
  18536. description: 现货商品名称
  18537. type: string
  18538. type: object
  18539. models.THJPurchaseTradeDetail_Date:
  18540. properties:
  18541. depositrate:
  18542. description: 定金比例
  18543. type: number
  18544. enddate:
  18545. description: 预售结束日期
  18546. type: string
  18547. tradeprice:
  18548. description: 摘牌价格
  18549. type: number
  18550. tradeqty:
  18551. description: 摘牌数量
  18552. type: integer
  18553. transferamount:
  18554. description: 转让金额
  18555. type: number
  18556. transferid:
  18557. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  18558. type: string
  18559. transferprice:
  18560. description: 转让价格
  18561. type: number
  18562. type: object
  18563. models.THJPurchaseTradeDetail_Goodsinfo:
  18564. properties:
  18565. pictureurls:
  18566. description: 详情图片(逗号分隔)
  18567. type: string
  18568. refgoodscode:
  18569. description: 参考商品代码
  18570. type: string
  18571. refgoodsid:
  18572. description: 参考商品ID
  18573. type: integer
  18574. unitid:
  18575. description: 现货商品单位ID
  18576. type: integer
  18577. wrstandardcode:
  18578. description: 现货商品代码
  18579. type: string
  18580. wrstandardid:
  18581. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18582. type: integer
  18583. wrstandardname:
  18584. description: 现货商品名称(模糊查询)
  18585. type: string
  18586. type: object
  18587. models.THJPurchaseTradeDetailRsp:
  18588. properties:
  18589. deliverydate:
  18590. description: 交割日期
  18591. items:
  18592. $ref: '#/definitions/models.THJPurchaseTradeDetail_Date'
  18593. type: array
  18594. goodsinfo:
  18595. $ref: '#/definitions/models.THJPurchaseTradeDetail_Goodsinfo'
  18596. description: 商品信息
  18597. history:
  18598. description: 历史价格走势(历史数据日线)
  18599. items:
  18600. $ref: '#/definitions/models.HistoryData'
  18601. type: array
  18602. type: object
  18603. models.THJSigninReq:
  18604. properties:
  18605. userid:
  18606. description: 用户ID
  18607. type: integer
  18608. required:
  18609. - userid
  18610. type: object
  18611. models.THJSigninRsp:
  18612. properties:
  18613. signinstatus:
  18614. description: 状态操作标志 1-签到成功 2-当日已签到,不能重复签到
  18615. type: integer
  18616. type: object
  18617. models.THJSpotGoodsPriceLog:
  18618. properties:
  18619. spotgoodsprice:
  18620. description: 现货价格
  18621. type: number
  18622. tradedate:
  18623. description: 交易日(yyyyMMdd)
  18624. type: string
  18625. type: object
  18626. models.THJTradeData:
  18627. properties:
  18628. accountname:
  18629. description: 被推荐人
  18630. type: string
  18631. buytradelot:
  18632. description: 购买笔数
  18633. type: integer
  18634. buytradeqty:
  18635. description: 购买数量
  18636. type: number
  18637. marketid:
  18638. description: 市场ID 采购-64201 供求-65201
  18639. type: integer
  18640. reckondate:
  18641. description: 日照日期(yyyyMMdd)日照日期(yyyyMMdd)
  18642. type: string
  18643. selltradelot:
  18644. description: 销售笔数
  18645. type: integer
  18646. selltradeqty:
  18647. description: 销售数量
  18648. type: number
  18649. userid:
  18650. description: 用户ID
  18651. type: integer
  18652. wrstandardname:
  18653. description: 现货商品名称
  18654. type: string
  18655. required:
  18656. - marketid
  18657. - userid
  18658. type: object
  18659. models.THJUserLevelInfo:
  18660. properties:
  18661. appup:
  18662. description: 晋升已累计的数量
  18663. type: integer
  18664. checkday:
  18665. description: 最近一次考核日
  18666. type: string
  18667. levelgroup:
  18668. description: 当前等级
  18669. type: string
  18670. nextlevelgroup:
  18671. description: 下一等级
  18672. type: string
  18673. notyet:
  18674. description: 晋升还差多少数量
  18675. type: integer
  18676. progress:
  18677. description: 进度
  18678. type: number
  18679. type: object
  18680. models.THJWrstandard:
  18681. properties:
  18682. areauserid:
  18683. description: 所属机构
  18684. type: integer
  18685. bannerpicurl:
  18686. description: Banner图(逗号分隔)
  18687. type: string
  18688. convertfactor:
  18689. description: 标仓系数
  18690. type: number
  18691. deliverygoodsid:
  18692. description: 现货品种ID
  18693. type: integer
  18694. isvalid:
  18695. description: 是否有效 - 0:无效 1:有效
  18696. type: integer
  18697. minivalue:
  18698. description: 最小变动值
  18699. type: integer
  18700. minivaluedp:
  18701. description: 最小变动值小数位
  18702. type: integer
  18703. pictureurls:
  18704. description: 详情图片(逗号分隔)
  18705. type: string
  18706. realminivalue:
  18707. description: 实际最小变动值
  18708. type: integer
  18709. realminivaluedp:
  18710. description: 实际最小变动值小数位
  18711. type: integer
  18712. storagefee:
  18713. description: '仓储费(固定: 111)'
  18714. type: number
  18715. thumurls:
  18716. description: 缩略图片(1:1)(逗号分隔)
  18717. type: string
  18718. unitid:
  18719. description: 现货商品单位ID
  18720. type: integer
  18721. vatrate:
  18722. description: 现货增值税率
  18723. type: number
  18724. wrsstatus:
  18725. description: 状态 - 作废 - 0:未激活 1:正常
  18726. type: integer
  18727. wrstandardcode:
  18728. description: 现货商品代码
  18729. type: string
  18730. wrstandardid:
  18731. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18732. type: integer
  18733. wrstandardname:
  18734. description: 现货商品名称(模糊查询)
  18735. type: string
  18736. type: object
  18737. models.THJWrstandardDetail_GoodsInfo:
  18738. properties:
  18739. bannerpicurl:
  18740. description: Banner图(逗号分隔)
  18741. type: string
  18742. pictureurls:
  18743. description: 详情图片(逗号分隔)
  18744. type: string
  18745. spotgoodsprice:
  18746. description: 现货价格
  18747. type: number
  18748. unitid:
  18749. description: 现货商品单位ID
  18750. type: integer
  18751. wrstandardcode:
  18752. description: 现货商品代码
  18753. type: string
  18754. wrstandardid:
  18755. description: 现货商品ID(自增 SEQ_GOODS 确保不重复)
  18756. type: integer
  18757. wrstandardname:
  18758. description: 现货商品名称
  18759. type: string
  18760. type: object
  18761. models.THJWrstandardDetailRsp:
  18762. properties:
  18763. deliverymodes:
  18764. description: 交割方式
  18765. items:
  18766. $ref: '#/definitions/models.THJDeliveryMode'
  18767. type: array
  18768. deliverymonth:
  18769. description: 交割月份
  18770. items:
  18771. $ref: '#/definitions/models.THJDeliveryMonth'
  18772. type: array
  18773. goodsinfo:
  18774. $ref: '#/definitions/models.THJWrstandardDetail_GoodsInfo'
  18775. description: 商品信息
  18776. presaleapplydeposits:
  18777. description: 支付方式
  18778. items:
  18779. $ref: '#/definitions/models.THJPresaleApplyDeposit'
  18780. type: array
  18781. spotgoodspricelogs:
  18782. description: 历史价格走势
  18783. items:
  18784. $ref: '#/definitions/models.THJSpotGoodsPriceLog'
  18785. type: array
  18786. type: object
  18787. models.Taaccount:
  18788. properties:
  18789. accountflag:
  18790. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  18791. type: integer
  18792. accountid:
  18793. description: 资金账户ID
  18794. type: integer
  18795. accountname:
  18796. description: 账户名称
  18797. type: string
  18798. balance:
  18799. description: 期初余额
  18800. type: number
  18801. capitalbalance:
  18802. description: 本金余额[外部子账户实际出入金余额]
  18803. type: number
  18804. changeflag:
  18805. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  18806. type: integer
  18807. changetime:
  18808. description: 账户状态变更时间
  18809. type: string
  18810. closepl:
  18811. description: 今日平仓盈亏
  18812. type: number
  18813. creditdecrease:
  18814. description: 今日授信减少
  18815. type: number
  18816. creditincrease:
  18817. description: 今日授信增加
  18818. type: number
  18819. curamount:
  18820. description: 总市值(从持仓中统计)
  18821. type: number
  18822. currencyid:
  18823. description: 货币ID
  18824. type: integer
  18825. currentbalance:
  18826. description: 期末余额
  18827. type: number
  18828. freezecharge:
  18829. description: 手续费冻结
  18830. type: number
  18831. freezemargin:
  18832. description: 冻结保证金
  18833. type: number
  18834. fromaccountid:
  18835. description: 所属上级账户
  18836. type: integer
  18837. inamount:
  18838. description: 今日入金金额(包括三方入金)
  18839. type: number
  18840. ismain:
  18841. description: 是否母账号 0:不是母账户 1:是母账户
  18842. type: integer
  18843. ismarketaccount:
  18844. description: 是否机构接单账号 0:不是 1:是
  18845. type: integer
  18846. isreckonaccount:
  18847. description: 是否机构分润账号 0:不是 1:是
  18848. type: integer
  18849. mortgagecredit:
  18850. description: 授信金额
  18851. type: number
  18852. orifreezecharge:
  18853. description: 期初手续费冻结
  18854. type: number
  18855. orifreezemargin:
  18856. description: 期初冻结保证金
  18857. type: number
  18858. orimortgagecredit:
  18859. description: 期初授信金额
  18860. type: number
  18861. oriothercredit:
  18862. description: 期初其它授信金额
  18863. type: number
  18864. oriotherfreezemargin:
  18865. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  18866. type: number
  18867. orioutamountfreeze:
  18868. description: 期初出金冻结
  18869. type: number
  18870. oriusedmargin:
  18871. description: 期初占用保证金
  18872. type: number
  18873. othercredit:
  18874. description: 其它授信金额
  18875. type: number
  18876. othercreditdecrease:
  18877. description: 今日其它授信减少
  18878. type: number
  18879. othercreditincrease:
  18880. description: 今日其它授信增加
  18881. type: number
  18882. otherfreezemargin:
  18883. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  18884. type: number
  18885. otherincome:
  18886. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  18887. type: number
  18888. otherpay:
  18889. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  18890. type: number
  18891. outamount:
  18892. description: 今日出金金额(包括三方出金)
  18893. type: number
  18894. outamountfreeze:
  18895. description: 出金冻结
  18896. type: number
  18897. outthreshold:
  18898. description: 出金阈值
  18899. type: number
  18900. parentaccountid:
  18901. description: 所属根账号
  18902. type: integer
  18903. paycharge:
  18904. description: 今日手续费支出
  18905. type: number
  18906. relatedaccountstatus:
  18907. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  18908. type: integer
  18909. relateduserid:
  18910. description: 关联用户
  18911. type: integer
  18912. remainamount:
  18913. description: 融资额(从融资合同中统计)
  18914. type: number
  18915. serivcegroup:
  18916. description: 服务分组
  18917. type: integer
  18918. signstatus:
  18919. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  18920. type: integer
  18921. sublevelpath:
  18922. description: 账号层级路径(逗号分隔,首尾加逗号)
  18923. type: string
  18924. taaccounttype:
  18925. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  18926. type: integer
  18927. thirdinamount:
  18928. description: 今日三方入金
  18929. type: number
  18930. thirdoutamount:
  18931. description: 今日三方出金
  18932. type: number
  18933. tradestatus:
  18934. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  18935. type: integer
  18936. tradestatuschangetime:
  18937. description: 激活时间
  18938. type: string
  18939. transferamount:
  18940. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  18941. type: number
  18942. usedmargin:
  18943. description: 占用保证金
  18944. type: number
  18945. userid:
  18946. description: 用户ID
  18947. type: integer
  18948. required:
  18949. - accountid
  18950. - userid
  18951. type: object
  18952. models.Tablecolumnconfig:
  18953. properties:
  18954. aligntype:
  18955. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  18956. type: integer
  18957. autoid:
  18958. description: AutoID
  18959. type: integer
  18960. columnfield:
  18961. description: 列字段
  18962. type: string
  18963. columntitle:
  18964. description: 列Title
  18965. type: string
  18966. columnwidth:
  18967. description: 列宽
  18968. type: string
  18969. fixed:
  18970. description: 固定类型 - 空 | left | right
  18971. type: string
  18972. formatterstring:
  18973. description: 格式化字符
  18974. type: string
  18975. formattertype:
  18976. description: 格式化类型
  18977. type: string
  18978. groupname:
  18979. description: 表头分组名称
  18980. type: string
  18981. ismerge:
  18982. description: 是否合并显示 - 0:不合并 1:合并
  18983. type: integer
  18984. isshow:
  18985. description: 是否显示 - 0:不显示 1:显示
  18986. type: integer
  18987. needsummary:
  18988. description: 是否需要汇总 - 0:不需要 1:需要
  18989. type: integer
  18990. orderindex:
  18991. description: 顺序
  18992. type: integer
  18993. remark:
  18994. description: 备注
  18995. type: string
  18996. summarytype:
  18997. description: 汇总类型 - 1:加总 2:最后一个
  18998. type: integer
  18999. tablekey:
  19000. description: 列表Key
  19001. type: string
  19002. required:
  19003. - autoid
  19004. type: object
  19005. models.Thjpurchasetradedetail:
  19006. properties:
  19007. buyaccountid:
  19008. description: 买方账号ID
  19009. type: integer
  19010. buychargevalue:
  19011. description: 买方到期手续费
  19012. type: number
  19013. buyconfirmremark:
  19014. description: 买方确认备注
  19015. type: string
  19016. buyconfirmtime:
  19017. description: 买方确认时间
  19018. type: string
  19019. buyfreezecharge:
  19020. description: 买方摘牌冻结手续费
  19021. type: number
  19022. buyuserid:
  19023. description: 买方用户ID
  19024. type: integer
  19025. contactinfo:
  19026. description: 联系方式
  19027. type: string
  19028. contactname:
  19029. description: 联系人姓名
  19030. type: string
  19031. contractaddrbuy:
  19032. description: 贸易合同地址(买家)
  19033. type: string
  19034. contractaddrsell:
  19035. description: 贸易合同地址(卖家)
  19036. type: string
  19037. createtime:
  19038. description: 预售挂牌时间
  19039. type: string
  19040. deliverygoodsid:
  19041. description: 现货品种ID
  19042. type: integer
  19043. depositrate:
  19044. description: 定金比例
  19045. type: number
  19046. desaddress:
  19047. description: 目的地地址
  19048. type: string
  19049. discountamount:
  19050. description: 优惠总金额(优惠金额*TradeQty)
  19051. type: number
  19052. enddate:
  19053. description: 到期日期
  19054. type: string
  19055. enddatemonth:
  19056. description: 交收月份(提货日期)
  19057. type: string
  19058. handlestatus:
  19059. description: 处理状态
  19060. type: integer
  19061. lastamount:
  19062. description: 到期总货款 = 到期价格 * 摘牌数量
  19063. type: number
  19064. lastprice:
  19065. description: '[实际价]到期价格'
  19066. type: number
  19067. lastpricedate:
  19068. description: 到期价格日期 - 暂不使用
  19069. type: string
  19070. marketid:
  19071. description: 市场ID
  19072. type: integer
  19073. orderstatus:
  19074. description: 单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认
  19075. (枚举:THJOrderStatus)
  19076. type: integer
  19077. payeddeposit:
  19078. description: '[定金]买方已付定金(预付款)'
  19079. type: number
  19080. payedtradedate:
  19081. description: 支付尾款成功交易日
  19082. type: string
  19083. presaleapplyid:
  19084. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19085. type: string
  19086. presalestatus:
  19087. description: 预留状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19088. type: integer
  19089. receiptinfo:
  19090. description: 发票信息
  19091. type: string
  19092. remainamount:
  19093. description: '[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额'
  19094. type: number
  19095. sellaccountid:
  19096. description: 卖方账号ID
  19097. type: integer
  19098. sellchargevalue:
  19099. description: 卖方到期手续费
  19100. type: number
  19101. sellconfirmattach:
  19102. description: 卖方确认附件
  19103. type: string
  19104. sellconfirmremark:
  19105. description: 卖方确认备注
  19106. type: string
  19107. sellconfirmtime:
  19108. description: 卖方确认时间
  19109. type: string
  19110. sellconfirmtradedate:
  19111. description: 卖方确认交易日
  19112. type: string
  19113. selluserid:
  19114. description: 卖方用户ID
  19115. type: integer
  19116. thjdeliverymode:
  19117. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19118. type: integer
  19119. thjdeliverymodedisplay:
  19120. description: 提货方式
  19121. type: string
  19122. thjorderstatusdisplay:
  19123. description: 状态
  19124. type: string
  19125. tradeamount:
  19126. description: 摘牌总货款
  19127. type: number
  19128. tradedate:
  19129. description: 交易日(yyyyMMdd)
  19130. type: string
  19131. tradeprice:
  19132. description: 摘牌价格 - 参考价
  19133. type: number
  19134. tradeqty:
  19135. description: '[预售价]摘牌数量'
  19136. type: integer
  19137. tradetime:
  19138. description: 摘牌时间(委托时间)
  19139. type: string
  19140. transferprice:
  19141. description: 转让价格 - 购买价
  19142. type: number
  19143. unitid:
  19144. description: 商品单位
  19145. type: integer
  19146. warehouseid:
  19147. description: 仓库ID
  19148. type: integer
  19149. warehousename:
  19150. description: 仓库名称
  19151. type: string
  19152. wrfactortypeid:
  19153. description: 仓单要素类型ID
  19154. type: string
  19155. wrstandardid:
  19156. description: 现货商品ID
  19157. type: integer
  19158. wrstandardname:
  19159. description: 现货商品名称
  19160. type: string
  19161. wrtradedetailid:
  19162. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19163. type: string
  19164. required:
  19165. - buyuserid
  19166. type: object
  19167. models.Thjpurchasetransfer:
  19168. properties:
  19169. buyaccountid:
  19170. description: 买方账号ID
  19171. type: integer
  19172. buyuserid:
  19173. description: 买方用户ID
  19174. type: integer
  19175. contractaddr:
  19176. description: 协议转让合同地址
  19177. type: string
  19178. createtime:
  19179. description: 转让挂牌时间
  19180. type: string
  19181. deliverygoodsid:
  19182. description: 现货品种ID
  19183. type: integer
  19184. enddate:
  19185. description: 到期日期
  19186. type: string
  19187. enddatemonth:
  19188. description: 交收月份(提货日期)
  19189. type: string
  19190. handlestatus:
  19191. description: 处理状态
  19192. type: integer
  19193. marketid:
  19194. description: 市场ID(固定为(64202)
  19195. type: integer
  19196. ordertype:
  19197. description: 类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)
  19198. type: integer
  19199. payeddeposit:
  19200. description: 买方已付定金(预付款)
  19201. type: number
  19202. presaleapplyid:
  19203. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  19204. type: string
  19205. presalestatus:
  19206. description: 预售状态 1:未开始 2:进行中 3:已结束 4:已关闭 5:处理中 6::处理失败 7:已完成
  19207. type: integer
  19208. remark:
  19209. description: 备注
  19210. type: string
  19211. sellaccountid:
  19212. description: 卖方账号ID
  19213. type: integer
  19214. sellcharge:
  19215. description: 卖方手续费值
  19216. type: number
  19217. sellchargealgorithm:
  19218. description: 卖方手续费收取方式 1:比率 2:固定
  19219. type: integer
  19220. sellchargealgorithmvalue:
  19221. description: 手续费设置值(交易所部分)
  19222. type: number
  19223. selluserid:
  19224. description: 卖方用户ID
  19225. type: integer
  19226. tradedate:
  19227. description: 交易日(yyyyMMdd)
  19228. type: string
  19229. tradeprice:
  19230. description: 参考价
  19231. type: number
  19232. transferamount:
  19233. description: 转让金额
  19234. type: number
  19235. transferid:
  19236. description: 协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)
  19237. type: string
  19238. transferprice:
  19239. description: 转让价格
  19240. type: number
  19241. transferqty:
  19242. description: 数量
  19243. type: integer
  19244. transferstatus:
  19245. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19246. type: integer
  19247. transfertradedate:
  19248. description: 转让交易日
  19249. type: string
  19250. transfertradetime:
  19251. description: 转让成交时间
  19252. type: string
  19253. unitid:
  19254. description: 现货商品单位ID
  19255. type: integer
  19256. warehouseid:
  19257. description: 仓库ID
  19258. type: integer
  19259. wrfactortypeid:
  19260. description: 仓单要素类型ID
  19261. type: string
  19262. wrstandardid:
  19263. description: 现货商品ID
  19264. type: integer
  19265. wrstandardname:
  19266. description: 现货商品名称
  19267. type: string
  19268. wrtradedetailid:
  19269. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19270. type: string
  19271. required:
  19272. - ordertype
  19273. type: object
  19274. models.ThjpurchasetransferDetail:
  19275. properties:
  19276. buyusername:
  19277. description: 受让人
  19278. type: string
  19279. contactinfo:
  19280. description: 联系方式
  19281. type: string
  19282. contactname:
  19283. description: 联系人姓名
  19284. type: string
  19285. contractaddr:
  19286. description: 协议转让合同地址
  19287. type: string
  19288. contractaddrbuy:
  19289. description: 贸易合同地址(买家)
  19290. type: string
  19291. contractaddrsell:
  19292. description: 贸易合同地址(卖家)
  19293. type: string
  19294. createtime:
  19295. description: 转让委托时间
  19296. type: string
  19297. depositrate:
  19298. description: 定金比例
  19299. type: number
  19300. desaddress:
  19301. description: 目的地地址
  19302. type: string
  19303. enddate:
  19304. description: 到期日期
  19305. type: string
  19306. enddatemonth:
  19307. description: 交收月份(提货日期)
  19308. type: string
  19309. lastprice:
  19310. description: '[实际价]到期价格'
  19311. type: number
  19312. payeddeposit:
  19313. description: 买方已付定金(预付款(含定金))
  19314. type: number
  19315. receiptinfo:
  19316. description: 发票信息
  19317. type: string
  19318. sellusername:
  19319. description: 转让人
  19320. type: string
  19321. thjdeliverymode:
  19322. description: 交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)
  19323. type: integer
  19324. tradeprice:
  19325. description: 预售价格
  19326. type: number
  19327. transferamount:
  19328. description: 转让金额
  19329. type: number
  19330. transferid:
  19331. description: 转让单号
  19332. type: string
  19333. transferprice:
  19334. description: 转让价格
  19335. type: number
  19336. transferqty:
  19337. description: 转让数量
  19338. type: integer
  19339. transferstatus:
  19340. description: 转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让
  19341. type: integer
  19342. transfertradetime:
  19343. description: 转让成交时间
  19344. type: string
  19345. warehousename:
  19346. description: 仓库名称
  19347. type: string
  19348. wrstandardcode:
  19349. description: 现货商品代码
  19350. type: string
  19351. wrstandardid:
  19352. description: 现货商品ID
  19353. type: integer
  19354. wrstandardname:
  19355. description: 现货商品名称
  19356. type: string
  19357. wrtradedetailid:
  19358. description: 采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  19359. type: string
  19360. type: object
  19361. models.Thjscoreconfig:
  19362. properties:
  19363. parma1:
  19364. description: 参数1
  19365. type: integer
  19366. parma2:
  19367. description: 参数2
  19368. type: integer
  19369. parma3:
  19370. description: 参数3
  19371. type: integer
  19372. parma4:
  19373. description: 参数4
  19374. type: integer
  19375. parma5:
  19376. description: 参数5
  19377. type: integer
  19378. parma6:
  19379. description: 参数6
  19380. type: integer
  19381. parma7:
  19382. description: 参数6
  19383. type: integer
  19384. scoreconfigtype:
  19385. description: 积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分
  19386. 7:抽奖得红包
  19387. type: integer
  19388. type: object
  19389. models.TjmdHolderDetailTradeInfo:
  19390. properties:
  19391. agreeunit:
  19392. description: 合约乘数
  19393. type: number
  19394. buyaccountid:
  19395. description: 买方账户
  19396. type: string
  19397. buyusername:
  19398. description: 买方
  19399. type: string
  19400. delistingdate:
  19401. description: 最后结算日
  19402. type: string
  19403. expiredate:
  19404. description: 到期结算价定价日
  19405. type: string
  19406. exprieprice:
  19407. description: 到期清算价格
  19408. type: string
  19409. goodscode:
  19410. description: 商品代码
  19411. type: string
  19412. goodsid:
  19413. description: 商品ID
  19414. type: integer
  19415. goodsname:
  19416. description: 商品名称(交易标的)
  19417. type: string
  19418. lasttradedate:
  19419. description: 最后交易日
  19420. type: string
  19421. listingdate:
  19422. description: 开始交易日
  19423. type: string
  19424. openprice:
  19425. description: 成交价
  19426. type: number
  19427. openqty:
  19428. description: 交易数量
  19429. type: integer
  19430. sellaccountid:
  19431. description: 卖方账户
  19432. type: string
  19433. sellusername:
  19434. description: 卖方
  19435. type: string
  19436. tradeamount:
  19437. description: 初始名义价值
  19438. type: number
  19439. tradedate:
  19440. description: 成交日期
  19441. type: string
  19442. tradeid:
  19443. description: 成交编号
  19444. type: string
  19445. type: object
  19446. models.TjmdMarketSection:
  19447. properties:
  19448. marketsectionid:
  19449. description: 市场版块ID(SEQ_MARKETSECTION)
  19450. type: integer
  19451. marketsectionname:
  19452. description: 市场版块名称
  19453. type: string
  19454. mlist:
  19455. description: 市场列表(板块下面有多少个市场)
  19456. items:
  19457. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  19458. type: array
  19459. orderindex:
  19460. description: 排序
  19461. type: integer
  19462. pictureurl:
  19463. description: 图片url, 规格(90*90)
  19464. type: string
  19465. remark:
  19466. description: 备注
  19467. type: string
  19468. type: object
  19469. models.TjmdMarketSectionConfig:
  19470. properties:
  19471. auctionwrtype:
  19472. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  19473. type: integer
  19474. canacceptquote:
  19475. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  19476. type: integer
  19477. cangoodsexercise:
  19478. description: '[期权]是否可现货行权- 0:否 1:是'
  19479. type: integer
  19480. cangoodsexercisetype:
  19481. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  19482. type: integer
  19483. canmanualquotestrike:
  19484. description: 是否可手动报行权价- 0:否 1:是 [期权]
  19485. type: integer
  19486. canmutistage:
  19487. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  19488. type: integer
  19489. canpreexercise:
  19490. description: '[期权]是否可预申报- 0:否 1:是'
  19491. type: integer
  19492. clearinterval:
  19493. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  19494. type: integer
  19495. contracttmp:
  19496. description: 合同模板[荷兰式][竞价式][仓单贸易]
  19497. type: string
  19498. exchareaid:
  19499. description: 所属交易所,可以没有
  19500. type: integer
  19501. financemarketid:
  19502. description: 融资回购市场ID [仓单贸易]
  19503. type: integer
  19504. goodstype:
  19505. description: 商品类型 - 1:交易商品 2:仓单商品
  19506. type: integer
  19507. hasrebate:
  19508. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  19509. type: integer
  19510. hastradecredit:
  19511. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  19512. type: integer
  19513. haswr:
  19514. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  19515. type: integer
  19516. isdeductmargin:
  19517. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  19518. type: integer
  19519. isrecordsource:
  19520. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  19521. type: integer
  19522. isreleasemargin:
  19523. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  19524. type: integer
  19525. isupdatereckonprice:
  19526. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  19527. type: integer
  19528. listingmode:
  19529. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  19530. type: integer
  19531. marginformula:
  19532. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19533. type: integer
  19534. marginformula2:
  19535. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  19536. type: integer
  19537. marketid:
  19538. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  19539. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  19540. type: integer
  19541. marketname:
  19542. description: 市场名称
  19543. type: string
  19544. marketsectionid:
  19545. description: 市场版块ID(SEQ_MARKETSECTION)
  19546. type: integer
  19547. marketserviceid:
  19548. description: 市场服务ID
  19549. type: integer
  19550. marketstatus:
  19551. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  19552. type: integer
  19553. markettype:
  19554. description: 市场类型- 1:非交易服务 2:交易服务
  19555. type: integer
  19556. matchermode:
  19557. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  19558. type: integer
  19559. nowrquotaflag:
  19560. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  19561. type: integer
  19562. openmethod:
  19563. description: 开盘模式 - 0 自动 1手动
  19564. type: integer
  19565. orderindex:
  19566. description: 排序
  19567. type: integer
  19568. otcuserid:
  19569. description: 场外期权做市商[场外期权]
  19570. type: integer
  19571. outersynctime:
  19572. description: 外部同步时间点(h24:mi:ss)[场外期权]
  19573. type: string
  19574. paylaterflag:
  19575. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  19576. type: integer
  19577. pendingflag:
  19578. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  19579. type: integer
  19580. pendingtime:
  19581. description: 待开市时间[通道交易-对冲](HH:mm)
  19582. type: string
  19583. performancetempid:
  19584. description: 履约计划模板ID - 作废
  19585. type: integer
  19586. premiumquotemode:
  19587. description: 权利金报价方式 - 1:自动 2:手动
  19588. type: integer
  19589. rebateratio:
  19590. description: 返利比率[竞价式]
  19591. type: number
  19592. reckonorder:
  19593. description: 结算顺序
  19594. type: integer
  19595. reckonpricealgorithm:
  19596. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  19597. 6.卖一价 7.买一卖一均价 8.外部结算价'
  19598. type: integer
  19599. reckonpriceparam:
  19600. description: 结算价参数
  19601. type: integer
  19602. reckontime:
  19603. description: 结算时间[通道交易-对冲](HH:mm)
  19604. type: string
  19605. roleprioritytype:
  19606. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  19607. type: integer
  19608. selllistingauditflag:
  19609. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  19610. type: integer
  19611. trademarkettype:
  19612. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  19613. type: integer
  19614. trademode:
  19615. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19616. 21:竞拍-大宗式 22:受托竞价
  19617. type: integer
  19618. tradeproperty:
  19619. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  19620. 8:场外期权
  19621. type: integer
  19622. tradetype:
  19623. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  19624. type: integer
  19625. updatereckonpriceinterval:
  19626. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  19627. type: integer
  19628. type: object
  19629. models.TjmdQuoteGoods:
  19630. properties:
  19631. buyqty:
  19632. description: 买量(暂不做, 无值, 保留字段)
  19633. type: number
  19634. decimalplace:
  19635. description: 报价小数位
  19636. type: integer
  19637. goodscode:
  19638. description: 合约代码
  19639. type: string
  19640. goodsgroupid:
  19641. description: 商品组ID(自增ID)
  19642. type: integer
  19643. goodsgroupname:
  19644. description: 商品组名称
  19645. type: string
  19646. goodsid:
  19647. description: 合约id
  19648. type: integer
  19649. goodsname:
  19650. description: 合约名称
  19651. type: string
  19652. refgoodscode:
  19653. description: 标的合约代码
  19654. type: string
  19655. refgoodsid:
  19656. description: 标的合约id
  19657. type: integer
  19658. refgoodsname:
  19659. description: 标的合约名称
  19660. type: string
  19661. sellqty:
  19662. description: 卖量(暂不做, 无值, 保留字段)
  19663. type: number
  19664. type: object
  19665. models.TjmdTodayAccountMargin:
  19666. properties:
  19667. accountid:
  19668. description: 账号ID
  19669. type: integer
  19670. goodsid:
  19671. description: 商品ID
  19672. type: integer
  19673. infoc:
  19674. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  19675. description: 配置参数
  19676. marketid:
  19677. description: 市场ID
  19678. type: integer
  19679. type: object
  19680. models.TjmdTradeOrderDetail:
  19681. properties:
  19682. buyorsell:
  19683. description: 买卖方向 0-买 1-卖
  19684. type: integer
  19685. goodsid:
  19686. description: 商品id
  19687. type: integer
  19688. marketmaxsub:
  19689. description: 市价最大偏移范围 [浮动价 - 点差]
  19690. type: number
  19691. orderid:
  19692. description: 委托单号
  19693. type: string
  19694. orderprice:
  19695. description: 期初均价
  19696. type: number
  19697. orderqty:
  19698. description: 委托数量
  19699. type: integer
  19700. pricemode:
  19701. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  19702. type: integer
  19703. userid:
  19704. description: 用户id
  19705. type: integer
  19706. username:
  19707. description: 用户名称(已脱敏)
  19708. type: string
  19709. type: object
  19710. models.TjmdTransferApply:
  19711. properties:
  19712. applyid:
  19713. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  19714. type: integer
  19715. applystatus:
  19716. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  19717. type: integer
  19718. applytime:
  19719. description: 申请时间(时间)
  19720. type: string
  19721. auditremark:
  19722. description: 审核备注(拒绝原因?)
  19723. type: string
  19724. begindate:
  19725. description: 开始交易日(yyyymmdd)
  19726. type: string
  19727. buyorsell:
  19728. description: 买卖 - 0:买 1:卖
  19729. type: integer
  19730. enddate:
  19731. description: 结束交易日(yyyymmdd)
  19732. type: string
  19733. goodscode:
  19734. description: 商品代码
  19735. type: string
  19736. goodsid:
  19737. description: 商品ID
  19738. type: integer
  19739. goodsname:
  19740. description: 商品名称
  19741. type: string
  19742. marketid:
  19743. description: 市场ID
  19744. type: integer
  19745. qty:
  19746. description: 期初均价
  19747. type: number
  19748. tradeid:
  19749. description: 成交单号(关联持仓)
  19750. type: string
  19751. transferamount:
  19752. description: 转让总金额(金额)
  19753. type: number
  19754. transferprice:
  19755. description: 转让价格(协议价格)
  19756. type: number
  19757. type: object
  19758. models.TradeHolderDetail:
  19759. properties:
  19760. accountid:
  19761. description: 账号ID
  19762. type: integer
  19763. agreeunit:
  19764. description: 合约乘数
  19765. type: number
  19766. buyorsell:
  19767. description: 方向 - 0:买 1:卖
  19768. type: integer
  19769. currencyid:
  19770. description: 商品币种id
  19771. type: integer
  19772. currencyname:
  19773. description: 币种名称
  19774. type: string
  19775. decimalplace:
  19776. description: 商品价格小数位
  19777. type: integer
  19778. enumdicname:
  19779. description: 商品单位名称
  19780. type: string
  19781. expirecycle:
  19782. description: 行权周期(天) - 1:滚动行权时填写
  19783. type: integer
  19784. expiredate:
  19785. description: 行权日(yyyyMMdd) - 到期日
  19786. type: string
  19787. expiretype:
  19788. description: 行权日类型 - 1:滚动行权 2:固定日行权
  19789. type: integer
  19790. freezeqty:
  19791. description: 期初均价
  19792. type: number
  19793. goodscode:
  19794. description: 商品代码
  19795. type: string
  19796. goodsid:
  19797. description: 商品ID
  19798. type: integer
  19799. goodsname:
  19800. description: 商品名称
  19801. type: string
  19802. goodunitid:
  19803. description: 商品单位id
  19804. type: integer
  19805. holderamount:
  19806. description: 持仓金额
  19807. type: number
  19808. holdercredit:
  19809. description: 持仓授信金额
  19810. type: number
  19811. holderdays:
  19812. description: 剩余冻结天数
  19813. type: integer
  19814. holderprice:
  19815. description: 持仓价格
  19816. type: number
  19817. holderqty:
  19818. description: 期初均价
  19819. type: number
  19820. isconfirmexercise:
  19821. description: 是否确认行权- 0:否 1:是
  19822. type: integer
  19823. ispreexercise:
  19824. description: 是否预申报- 0:否 1:是 2:不可行权
  19825. type: integer
  19826. marketid:
  19827. description: 市场id
  19828. type: integer
  19829. marketname:
  19830. description: 市场名称
  19831. type: string
  19832. openprice:
  19833. description: 建仓价格
  19834. type: number
  19835. openqty:
  19836. description: 期初均价
  19837. type: number
  19838. optiontype:
  19839. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  19840. type: integer
  19841. preexerciseprice:
  19842. description: 预申报价格
  19843. type: number
  19844. premium:
  19845. description: 权利金
  19846. type: number
  19847. qtydecimalplace:
  19848. description: 商品成交量小数位
  19849. type: integer
  19850. refgoodscode:
  19851. description: 标的合约代码
  19852. type: string
  19853. refgoodsid:
  19854. description: 标的合约id
  19855. type: integer
  19856. releaseamount:
  19857. description: 释放持仓金额
  19858. type: number
  19859. releaseholdercredit:
  19860. description: 释放持仓授信金额
  19861. type: number
  19862. taname:
  19863. description: 资金账号名称
  19864. type: string
  19865. tradeamount:
  19866. description: 成交金额
  19867. type: number
  19868. tradedate:
  19869. description: 交易日(yyyyMMdd)
  19870. type: string
  19871. tradeid:
  19872. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19873. type: string
  19874. trademode:
  19875. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  19876. 21:竞拍-大宗式 22:受托竞价 46:掉期
  19877. type: integer
  19878. tradeproperty:
  19879. description: 交易属性
  19880. type: integer
  19881. tradetime:
  19882. description: 交易时间
  19883. type: string
  19884. userid:
  19885. description: 用户id
  19886. type: integer
  19887. username:
  19888. description: 用户名称
  19889. type: string
  19890. type: object
  19891. models.Unlinkermcphedgeplan:
  19892. properties:
  19893. accountid:
  19894. description: 期货账户ID - 作废
  19895. type: integer
  19896. accountname:
  19897. description: 交易用户
  19898. type: string
  19899. applyid:
  19900. description: 申请人
  19901. type: integer
  19902. applysrc:
  19903. description: 申请来源 - 1:管理端 2:终端
  19904. type: integer
  19905. applytime:
  19906. description: 申请时间
  19907. type: string
  19908. areauserid:
  19909. description: '[企业ID]机构ID'
  19910. type: integer
  19911. auditid:
  19912. description: 审核人
  19913. type: integer
  19914. auditremark:
  19915. description: 审核备注
  19916. type: string
  19917. auditsrc:
  19918. description: 审核来源 - 1:管理端 2:终端
  19919. type: integer
  19920. audittime:
  19921. description: 审核时间
  19922. type: string
  19923. audittradedate:
  19924. description: 审核交易日(yyyyMMdd)
  19925. type: string
  19926. biztype:
  19927. description: 业务类型 - 1:套保
  19928. type: integer
  19929. contracttype:
  19930. description: 计划类型 - 1:采购 -1:销售
  19931. type: integer
  19932. convertfactor:
  19933. description: 标仓系数 - 作废
  19934. type: number
  19935. createtime:
  19936. description: 创建时间
  19937. type: string
  19938. currencyid:
  19939. description: 结算币种ID - 作废
  19940. type: integer
  19941. deliverygoodsid:
  19942. description: 现货品种ID
  19943. type: integer
  19944. enumdicname:
  19945. description: 结算币种
  19946. type: string
  19947. hedgeplanid:
  19948. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  19949. type: string
  19950. hedgeplanno:
  19951. description: '[计划编号]套保计划编号,模糊查询'
  19952. type: string
  19953. hedgeplanstatus:
  19954. description: '[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回'
  19955. type: integer
  19956. isrelated:
  19957. description: 是否已关联计划项目 - 0:否 1:是
  19958. type: integer
  19959. planqty:
  19960. description: '[计划量]计划数量'
  19961. type: number
  19962. plantime:
  19963. description: 计划时间
  19964. type: string
  19965. producttype:
  19966. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  19967. type: integer
  19968. remark:
  19969. description: 备注
  19970. type: string
  19971. spotgoodsdesc:
  19972. description: 商品型号
  19973. type: string
  19974. tradedate:
  19975. description: 交易日(yyyyMMdd)
  19976. type: string
  19977. tradeuserid:
  19978. description: 交易用户ID
  19979. type: integer
  19980. updatetime:
  19981. description: 更新时间
  19982. type: string
  19983. wrstandardid:
  19984. description: 现货商品ID
  19985. type: integer
  19986. wrstandardname:
  19987. description: 现货商品,模糊查询
  19988. type: string
  19989. required:
  19990. - areauserid
  19991. type: object
  19992. models.UserCollectConfig:
  19993. properties:
  19994. accountstatus:
  19995. description: 账户状态 - 1:正常 2:停用 3:注销
  19996. type: integer
  19997. collectaccountname:
  19998. description: 收款人账户名称
  19999. type: string
  20000. collectaccountno:
  20001. description: 收款人账户
  20002. type: string
  20003. collectbankname:
  20004. description: 收款人开户行
  20005. type: string
  20006. collectbranchbankname:
  20007. description: 收款人开户支行
  20008. type: string
  20009. collectconfigid:
  20010. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  20011. type: string
  20012. remark:
  20013. description: 备注
  20014. type: string
  20015. userid:
  20016. description: 收款人用户ID
  20017. type: integer
  20018. type: object
  20019. models.UserReceiveInfo:
  20020. properties:
  20021. address:
  20022. description: 提货人详细地址
  20023. type: string
  20024. autoid:
  20025. description: AutoID
  20026. type: integer
  20027. cardnum:
  20028. description: 证件号码(加密存储)
  20029. type: string
  20030. cardtypeid:
  20031. description: 证件类型
  20032. type: integer
  20033. cityid:
  20034. description: 市
  20035. type: integer
  20036. cityname:
  20037. description: 城市名称
  20038. type: string
  20039. countryid:
  20040. description: 国家
  20041. type: integer
  20042. countryname:
  20043. description: 国家名称
  20044. type: string
  20045. districtid:
  20046. description: 地区
  20047. type: integer
  20048. districtname:
  20049. description: 地区名称
  20050. type: string
  20051. hasencrypt:
  20052. description: 数据是否已加密 - 0:未加密 1:已加密
  20053. type: integer
  20054. isdefault:
  20055. description: 是否默认地址 - 0:否 1:是
  20056. type: integer
  20057. phonenum:
  20058. description: 提货人联系方式(加密存储)
  20059. type: string
  20060. provinceid:
  20061. description: 省
  20062. type: integer
  20063. provincename:
  20064. description: 省名称
  20065. type: string
  20066. receivername:
  20067. description: 提货人姓名
  20068. type: string
  20069. takeremark:
  20070. description: 提货备注
  20071. type: string
  20072. userid:
  20073. description: 用户ID
  20074. type: integer
  20075. type: object
  20076. models.Useraccount:
  20077. properties:
  20078. accountname:
  20079. description: 账户名称(机构名称)
  20080. type: string
  20081. accountstatus:
  20082. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  20083. type: integer
  20084. applysrc:
  20085. description: 申请来源 - 1:管理端 2:终端
  20086. type: integer
  20087. auditremark:
  20088. description: 审核备注
  20089. type: string
  20090. auditsrc:
  20091. description: 审核来源 - 1:管理端 2:终端
  20092. type: integer
  20093. audittime:
  20094. description: 审核时间
  20095. type: string
  20096. audituserid:
  20097. description: 审核人
  20098. type: integer
  20099. broker:
  20100. description: 所属经纪人ID
  20101. type: integer
  20102. canceltime:
  20103. description: 销户时间
  20104. type: string
  20105. canceluserid:
  20106. description: 销户人
  20107. type: integer
  20108. canrecommend:
  20109. description: 是否可推荐 - 0:不可 1;可
  20110. type: integer
  20111. createtime:
  20112. description: 创建时间
  20113. type: string
  20114. creatorid:
  20115. description: 创建人
  20116. type: integer
  20117. curscore:
  20118. description: 积分
  20119. type: integer
  20120. hasauth:
  20121. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  20122. type: integer
  20123. isanonymous:
  20124. description: 是否匿名下单 - 0:否 1:是
  20125. type: integer
  20126. issigned:
  20127. description: 今日是否已签到
  20128. type: boolean
  20129. maxinvestornum:
  20130. description: 最大用户数(经纪会员下投资者个数)
  20131. type: integer
  20132. memberuserid:
  20133. description: 所属会员ID
  20134. type: integer
  20135. modifierid:
  20136. description: 修改人
  20137. type: integer
  20138. modifyremark:
  20139. description: 变更备注
  20140. type: string
  20141. modifystatus:
  20142. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  20143. type: integer
  20144. modifytime:
  20145. description: 修改时间
  20146. type: string
  20147. parenttopuser:
  20148. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  20149. type: string
  20150. parentuserid:
  20151. description: 所属机构ID
  20152. type: integer
  20153. reckonaccountid:
  20154. description: 默认结算资金账号ID(机构分润使用) 作废
  20155. type: integer
  20156. refercount:
  20157. description: 推荐总人数
  20158. type: integer
  20159. refereeuserid:
  20160. description: 推荐人ID
  20161. type: integer
  20162. refernum:
  20163. description: 推荐码
  20164. type: string
  20165. rootuserid:
  20166. description: 根用户ID
  20167. type: integer
  20168. subaccountlevel:
  20169. description: 子账户层数
  20170. type: integer
  20171. subarealevelpath:
  20172. description: 子机构层级路径(逗号分隔,首尾加逗号)
  20173. type: string
  20174. todayrefercount:
  20175. description: 今日推荐人数
  20176. type: integer
  20177. userid:
  20178. description: 用户ID
  20179. type: integer
  20180. usertype:
  20181. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  20182. type: integer
  20183. required:
  20184. - userid
  20185. type: object
  20186. models.Userfavoritegoods:
  20187. properties:
  20188. goodsid:
  20189. description: 商品ID
  20190. type: integer
  20191. required:
  20192. - goodsid
  20193. type: object
  20194. models.Userinfo:
  20195. properties:
  20196. address:
  20197. description: 地址
  20198. type: string
  20199. attachment1:
  20200. description: 附件1
  20201. type: string
  20202. attachment2:
  20203. description: 附件2
  20204. type: string
  20205. bankaccount:
  20206. description: 银行帐号 (加密存储)
  20207. type: string
  20208. bankaccountname:
  20209. description: 收款人名称
  20210. type: string
  20211. bankcardfrontphotourl:
  20212. description: 银行卡正面照地址
  20213. type: string
  20214. bankid:
  20215. description: 银行编码
  20216. type: string
  20217. bankname:
  20218. description: 银行名称
  20219. type: string
  20220. biznature:
  20221. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  20222. type: integer
  20223. bizscope:
  20224. description: 企业经营范围(企业)
  20225. type: string
  20226. cardbackphotourl:
  20227. description: 证件背面图片地址
  20228. type: string
  20229. cardfrontphotourl:
  20230. description: 证件正面图片地址
  20231. type: string
  20232. cardnum:
  20233. description: 证件号码(加密存储)
  20234. type: string
  20235. cardtypeid:
  20236. description: 证件类型ID
  20237. type: integer
  20238. cityid:
  20239. description: 市
  20240. type: integer
  20241. company:
  20242. description: 公司(个人)
  20243. type: string
  20244. contactname:
  20245. description: 联系人
  20246. type: string
  20247. countryid:
  20248. description: 国家
  20249. type: integer
  20250. createtime:
  20251. description: 创建时间
  20252. type: string
  20253. creatorid:
  20254. description: 创建人
  20255. type: integer
  20256. customername:
  20257. description: 客户名称(企业名称)
  20258. type: string
  20259. districtid:
  20260. description: 地区
  20261. type: integer
  20262. email:
  20263. description: 邮件(加密存储)
  20264. type: string
  20265. fax:
  20266. description: 传真(加密存储)
  20267. type: string
  20268. halfbodyphotourl:
  20269. description: 半身照地址
  20270. type: string
  20271. hasencrypt:
  20272. description: 数据是否已加密 - 0:未加密 1:已加密
  20273. type: integer
  20274. headurl:
  20275. description: 头像地址
  20276. type: string
  20277. legalcardbackphotourl:
  20278. description: 法人身份证背面照地址
  20279. type: string
  20280. legalcardfrontphotourl:
  20281. description: 法人身份证正面照地址
  20282. type: string
  20283. legalpersonname:
  20284. description: 法人姓名(企业)
  20285. type: string
  20286. mobile:
  20287. description: 手机号码(加密存储)
  20288. type: string
  20289. mobile2:
  20290. description: 手机号码[明文-尚志]
  20291. type: string
  20292. modifierid:
  20293. description: 修改人
  20294. type: integer
  20295. modifiertime:
  20296. description: 修改时间
  20297. type: string
  20298. needinvoice:
  20299. description: 是否需要发票 - 0:不需要 1:需要
  20300. type: integer
  20301. nickname:
  20302. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  20303. type: string
  20304. openmode:
  20305. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  20306. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  20307. type: integer
  20308. otherurl:
  20309. description: 其它图片地址[使用分号分隔]
  20310. type: string
  20311. postalcode:
  20312. description: 邮政编码
  20313. type: string
  20314. provinceid:
  20315. description: 省
  20316. type: integer
  20317. qq:
  20318. description: QQ(加密存储
  20319. type: string
  20320. remark:
  20321. description: 备注
  20322. type: string
  20323. sex:
  20324. description: '用户性别 0: 女 1: 男'
  20325. type: integer
  20326. signpdfurl:
  20327. description: 签约pdf文件
  20328. type: string
  20329. telphone:
  20330. description: 联系电话(加密存储)
  20331. type: string
  20332. userid:
  20333. description: 用户ID
  20334. type: integer
  20335. userinfotype:
  20336. description: 用户信息类型 - 1:个人 2:企业
  20337. type: integer
  20338. userstatus:
  20339. description: 用户状态 - 1:正常 2:注销
  20340. type: integer
  20341. usertype:
  20342. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  20343. type: integer
  20344. wechat:
  20345. description: 微信(加密存储)
  20346. type: string
  20347. wskhinfo:
  20348. description: 开户申请信息(JSON)
  20349. type: string
  20350. required:
  20351. - userid
  20352. type: object
  20353. models.WRPositionReport:
  20354. properties:
  20355. accountid:
  20356. description: 帐户ID
  20357. type: integer
  20358. brandid:
  20359. description: 品牌ID(1交割品种升贴水参数表 AutoID) - 作废
  20360. type: integer
  20361. buylistinglot:
  20362. description: 买挂牌宗数
  20363. type: integer
  20364. buytradeamount:
  20365. description: 购买金额
  20366. type: number
  20367. buytradelot:
  20368. description: 购买宗数
  20369. type: integer
  20370. buytradeqty:
  20371. description: 购买数量
  20372. type: number
  20373. creditcurqty:
  20374. description: 授信当前数量
  20375. type: integer
  20376. creditfreezeqty:
  20377. description: 授信冻结数量
  20378. type: integer
  20379. credittotalqty:
  20380. description: 授信总数量
  20381. type: integer
  20382. credittradeqty:
  20383. description: 授信成交数量
  20384. type: integer
  20385. decreaseqty:
  20386. description: 今日减少数量
  20387. type: integer
  20388. deliverygoodsid:
  20389. description: 交割商品ID
  20390. type: integer
  20391. deliverymonthid:
  20392. description: 月份ID(1交割品种升贴水参数表 AutoID) - 作废
  20393. type: integer
  20394. freezeqty:
  20395. description: 总冻结数量
  20396. type: integer
  20397. increaseqty:
  20398. description: 今日增加数量
  20399. type: integer
  20400. marketvalue:
  20401. description: 市值
  20402. type: number
  20403. pickupqty:
  20404. description: 今日提货数量
  20405. type: integer
  20406. qualityid:
  20407. description: 品质ID(1交割品种升贴水参数表 AutoID) - 作废
  20408. type: integer
  20409. reckondate:
  20410. description: 日照时期(yyyyMMdd)
  20411. type: string
  20412. relatedqty:
  20413. description: 关联数量
  20414. type: integer
  20415. selllistingamount:
  20416. description: 卖挂牌金额
  20417. type: number
  20418. selllistinglot:
  20419. description: 卖挂牌宗数
  20420. type: integer
  20421. selllistingqty:
  20422. description: 卖挂牌数量
  20423. type: number
  20424. selltradeamount:
  20425. description: 销售金额
  20426. type: number
  20427. selltradelot:
  20428. description: 销售宗数
  20429. type: integer
  20430. selltradeqty:
  20431. description: 销售数量
  20432. type: number
  20433. specid:
  20434. description: 规格ID(1交割品种升贴水参数表 AutoID) - 作废
  20435. type: integer
  20436. totalprice:
  20437. description: 销售金额(¥)
  20438. type: number
  20439. totalqty:
  20440. description: 总数量
  20441. type: integer
  20442. totalweight:
  20443. description: 销售重量(ct)
  20444. type: number
  20445. tradewrqty:
  20446. description: 订单仓单头寸总数量
  20447. type: integer
  20448. transfertradewrqty:
  20449. description: 今日转订单数量
  20450. type: integer
  20451. warehouseid:
  20452. description: 仓库ID(1交割品种升贴水参数表 AutoID) - 作废
  20453. type: integer
  20454. wrfactortypeid:
  20455. description: 仓单要素类型ID
  20456. type: integer
  20457. wrpositionid:
  20458. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  20459. type: integer
  20460. wrstandardcode:
  20461. description: 现货商品代码
  20462. type: string
  20463. wrstandardid:
  20464. description: 现货商品ID
  20465. type: integer
  20466. wruserid:
  20467. description: 持有人ID
  20468. type: integer
  20469. zscategory:
  20470. description: 商品分类
  20471. type: integer
  20472. zscategorydisplay:
  20473. type: string
  20474. zscurrencytype:
  20475. description: 商品币种
  20476. type: integer
  20477. zscurrencytypedisplay:
  20478. type: string
  20479. zscurrencytypedisplayunit:
  20480. type: string
  20481. type: object
  20482. models.WRSConverTDetail:
  20483. properties:
  20484. convertratio:
  20485. description: 套保系数
  20486. type: number
  20487. deliverygoodscode:
  20488. description: 现货商品代码
  20489. type: string
  20490. deliverygoodsid:
  20491. description: 现货品种ID
  20492. type: integer
  20493. deliverygoodsname:
  20494. description: 现货商品名称
  20495. type: string
  20496. enumdicname:
  20497. description: 单位名称
  20498. type: string
  20499. goodsunitid:
  20500. description: 套保品种单位id
  20501. type: integer
  20502. middlegoodscode:
  20503. description: 套保品种代码
  20504. type: string
  20505. middlegoodsid:
  20506. description: 套保品种ID
  20507. type: integer
  20508. middlegoodsname:
  20509. description: 套保品种名称
  20510. type: string
  20511. modifytime:
  20512. description: 修改时间
  20513. type: string
  20514. wrstandardid:
  20515. description: 品类ID
  20516. type: integer
  20517. type: object
  20518. models.WRStandardInfo:
  20519. properties:
  20520. areauserid:
  20521. description: 所属机构
  20522. type: integer
  20523. convertfactor:
  20524. description: 标仓系数
  20525. type: number
  20526. createtime:
  20527. description: 创建时间
  20528. type: string
  20529. creatorid:
  20530. description: 创建人
  20531. type: integer
  20532. deliverygoodsid:
  20533. description: 品种ID
  20534. type: integer
  20535. deliverygoodsname:
  20536. description: 交割商品名称
  20537. type: string
  20538. factoryitemjson:
  20539. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  20540. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  20541. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  20542. 逗号分隔'
  20543. type: string
  20544. isvalid:
  20545. description: 是否有效 - 0:无效 1:有效
  20546. type: integer
  20547. minivalue:
  20548. description: 最小变动值
  20549. type: integer
  20550. minivaluedp:
  20551. description: 最小变动值小数位
  20552. type: integer
  20553. realminivalue:
  20554. description: 实际最小变动值
  20555. type: integer
  20556. realminivaluedp:
  20557. description: 实际最小变动值小数位
  20558. type: integer
  20559. remark:
  20560. description: 备注
  20561. type: string
  20562. unitid:
  20563. description: 单位ID
  20564. type: integer
  20565. unitname:
  20566. description: 单位
  20567. type: string
  20568. updatetime:
  20569. description: 更新时间
  20570. type: string
  20571. updatorid:
  20572. description: 更新人
  20573. type: integer
  20574. wrsstatus:
  20575. description: 状态 - 作废 - 0:未激活 1:正常
  20576. type: integer
  20577. wrstandardcode:
  20578. description: 现货品类代码
  20579. type: string
  20580. wrstandardid:
  20581. description: 现货品类ID(SEQ_WRSTANDARD)
  20582. type: integer
  20583. wrstandardname:
  20584. description: 现货品类名称
  20585. type: string
  20586. required:
  20587. - wrstandardid
  20588. type: object
  20589. models.WRTradeBargainApply:
  20590. properties:
  20591. accountid:
  20592. description: 摘牌资金账号
  20593. type: integer
  20594. applyprice:
  20595. description: 申请价格(议价价格)
  20596. type: string
  20597. applyqty:
  20598. description: 摘牌数量(议价数量)
  20599. type: number
  20600. applyremark:
  20601. description: 申请备注
  20602. type: string
  20603. applystatus:
  20604. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  20605. type: integer
  20606. applytime:
  20607. description: 申请时间(议价时间)
  20608. type: string
  20609. begindate:
  20610. description: 开始交易日(yyyymmdd)
  20611. type: string
  20612. buyorsell:
  20613. description: 买卖(挂牌类型) - 0:买 1:卖
  20614. type: integer
  20615. confirmremark:
  20616. description: 确认备注
  20617. type: string
  20618. confirmtime:
  20619. description: 确认时间
  20620. type: string
  20621. confirmuserid:
  20622. description: 确认人
  20623. type: integer
  20624. deliverygoodscode:
  20625. description: 品种代码
  20626. type: string
  20627. deliverygoodsid:
  20628. description: 品种ID
  20629. type: integer
  20630. deliverygoodsname:
  20631. description: 品种名称
  20632. type: string
  20633. deliverymonth:
  20634. description: 交收月
  20635. type: string
  20636. enddate:
  20637. description: 结束交易日(yyyymmdd)
  20638. type: string
  20639. enumdicname:
  20640. description: 单位名称
  20641. type: string
  20642. fixedprice:
  20643. description: 期初均价
  20644. type: number
  20645. handlestatus:
  20646. description: 处理状态
  20647. type: integer
  20648. marginvalue:
  20649. description: 期初均价
  20650. type: number
  20651. marketid:
  20652. description: 市场ID
  20653. type: integer
  20654. matchaccountid:
  20655. description: 挂牌方资金账号
  20656. type: integer
  20657. matchuserid:
  20658. description: 挂牌方用户id
  20659. type: integer
  20660. matchusername:
  20661. description: 挂牌方用户名称(已脱敏)
  20662. type: string
  20663. minivalue:
  20664. description: 现货商品最小变动值
  20665. type: integer
  20666. optioncompare:
  20667. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  20668. type: string
  20669. orderqty:
  20670. description: 挂牌数量
  20671. type: integer
  20672. refprice:
  20673. description: 参考价格
  20674. type: string
  20675. retcode:
  20676. description: 委托返回代码
  20677. type: integer
  20678. templatename:
  20679. description: 履约方式(履约模板名称)
  20680. type: string
  20681. tradedate:
  20682. description: 交易日(yyyyMMdd)
  20683. type: string
  20684. userid:
  20685. description: 摘牌人用户ID(议价人ID)
  20686. type: integer
  20687. username:
  20688. description: 议价人名字(已脱敏)
  20689. type: string
  20690. validtime:
  20691. description: 有效期限
  20692. type: string
  20693. warehouseid:
  20694. description: 仓库ID
  20695. type: integer
  20696. warehousename:
  20697. description: 仓库名称
  20698. type: string
  20699. wrbargainid:
  20700. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  20701. type: string
  20702. wrfactortypeid:
  20703. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  20704. type: string
  20705. wrfactortypename:
  20706. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  20707. type: string
  20708. wrstandardcode:
  20709. description: 现货商品代码
  20710. type: string
  20711. wrstandardid:
  20712. description: 现货商品ID
  20713. type: integer
  20714. wrstandardname:
  20715. description: 商品名称
  20716. type: string
  20717. wrtradeorderid:
  20718. description: 关联委托单ID
  20719. type: string
  20720. wrtypename:
  20721. description: 商品
  20722. type: string
  20723. type: object
  20724. models.Warehouseinfo:
  20725. properties:
  20726. address:
  20727. description: 详细地址
  20728. type: string
  20729. areauserid:
  20730. description: 所属机构
  20731. type: integer
  20732. autoid:
  20733. description: 自增ID
  20734. type: integer
  20735. cityid:
  20736. description: 市
  20737. type: integer
  20738. contactname:
  20739. description: 联系人
  20740. type: string
  20741. contactnum:
  20742. description: 联系电话
  20743. type: string
  20744. countryid:
  20745. description: 国家
  20746. type: integer
  20747. createtime:
  20748. description: 创建时间
  20749. type: string
  20750. districtid:
  20751. description: 区
  20752. type: integer
  20753. hasvideo:
  20754. description: 是否有视频 - 0:无 1:有
  20755. type: integer
  20756. provinceid:
  20757. description: 省
  20758. type: integer
  20759. remark:
  20760. description: 审核备注
  20761. type: string
  20762. videourl:
  20763. description: 视频地址
  20764. type: string
  20765. warehousecode:
  20766. description: 仓库代码
  20767. type: string
  20768. warehousename:
  20769. description: 仓库名称
  20770. type: string
  20771. warehousestatus:
  20772. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  20773. type: integer
  20774. warehousetype:
  20775. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  20776. type: integer
  20777. required:
  20778. - autoid
  20779. - warehousecode
  20780. type: object
  20781. models.WrAverageTradePrice:
  20782. properties:
  20783. averageprice:
  20784. description: 期初均价
  20785. type: number
  20786. tradedate:
  20787. description: 交易日yyyymm
  20788. type: string
  20789. type: object
  20790. models.WrBrandAndYears:
  20791. properties:
  20792. brandlst:
  20793. description: 品牌列表
  20794. items:
  20795. $ref: '#/definitions/models.DgFactoryItem'
  20796. type: array
  20797. yearslst:
  20798. description: 年份列表
  20799. items:
  20800. $ref: '#/definitions/models.DgFactoryItem'
  20801. type: array
  20802. type: object
  20803. models.WrBsGoodsInfo:
  20804. properties:
  20805. buyorsell:
  20806. description: 买卖方向 0-买 1-卖
  20807. type: integer
  20808. goodsid:
  20809. description: 交易合约ID
  20810. type: integer
  20811. lstitem:
  20812. description: 商品信息项
  20813. items:
  20814. $ref: '#/definitions/models.WrTypeItem'
  20815. type: array
  20816. lststep:
  20817. description: 履约规则
  20818. items:
  20819. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  20820. type: array
  20821. type: object
  20822. models.WrBuybackDetail:
  20823. properties:
  20824. buybackamount:
  20825. description: 回购金额
  20826. type: number
  20827. buybackqty:
  20828. description: 回购数量
  20829. type: number
  20830. buybackreleasemargin:
  20831. description: 回购释放保证金
  20832. type: number
  20833. buybacktime:
  20834. description: 回购时间
  20835. type: string
  20836. errordesc:
  20837. description: 错误描述
  20838. type: string
  20839. handlestatus:
  20840. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  20841. type: integer
  20842. relatedwrid:
  20843. description: 关联仓单ID
  20844. type: integer
  20845. scfcontractid:
  20846. description: SCF合同ID
  20847. type: string
  20848. scfwrbuybackid:
  20849. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  20850. type: integer
  20851. tradedate:
  20852. description: 交易日(yyyyMMdd)
  20853. type: string
  20854. type: object
  20855. models.WrClientAdSpaceConfig:
  20856. properties:
  20857. adspaceid:
  20858. description: 广告位ID
  20859. type: integer
  20860. adspacename:
  20861. description: 广告位名称
  20862. type: string
  20863. adspacetype:
  20864. description: 广告位类型 - 1:固定广告位
  20865. type: integer
  20866. areauserid:
  20867. description: 所属机构ID
  20868. type: integer
  20869. createdate:
  20870. description: 创建时间
  20871. type: string
  20872. imagepath:
  20873. description: 图片
  20874. type: string
  20875. modifierid:
  20876. description: 操作人
  20877. type: integer
  20878. recsize:
  20879. description: 推荐尺寸
  20880. type: string
  20881. title:
  20882. description: 标题
  20883. type: string
  20884. updatedate:
  20885. description: 更新时间
  20886. type: string
  20887. urlcontent:
  20888. description: 链接(地址\商品ID\功能菜单Key\appid)
  20889. type: string
  20890. urltype:
  20891. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  20892. type: integer
  20893. type: object
  20894. models.WrDeliveryAvalidHoldLB:
  20895. properties:
  20896. accountid:
  20897. description: 资金账号
  20898. type: integer
  20899. avalidqty:
  20900. description: 数量(可点选数量)
  20901. type: number
  20902. deliverygoodsid:
  20903. description: 品种id
  20904. type: integer
  20905. enumdicname:
  20906. description: 单位名称
  20907. type: string
  20908. goodsid:
  20909. description: x合约商品id
  20910. type: integer
  20911. ladingbillid:
  20912. description: 提单id
  20913. type: string
  20914. pgoodscode:
  20915. description: p商品代码(点价合约)
  20916. type: string
  20917. pgoodsid:
  20918. description: p商品id(点价合约)
  20919. type: integer
  20920. pgoodsname:
  20921. description: p商品名称(点价合约)
  20922. type: string
  20923. pricemove:
  20924. description: 升贴水
  20925. type: number
  20926. subnum:
  20927. description: 提单子id
  20928. type: integer
  20929. userid:
  20930. description: 用户id
  20931. type: integer
  20932. username:
  20933. description: 仓单持有人
  20934. type: string
  20935. warehousecode:
  20936. description: 仓库代码
  20937. type: string
  20938. warehouseid:
  20939. description: 仓库id
  20940. type: integer
  20941. warehousename:
  20942. description: 仓库名称
  20943. type: string
  20944. wrfactortypeid:
  20945. description: 仓单要素id
  20946. type: string
  20947. wrstandardcode:
  20948. description: 品代码
  20949. type: string
  20950. wrstandardid:
  20951. description: 品类d
  20952. type: integer
  20953. wrstandardname:
  20954. description: 品类名称
  20955. type: string
  20956. wrtypename:
  20957. description: 商品
  20958. type: string
  20959. xgoodscode:
  20960. description: x合约代码
  20961. type: string
  20962. xgoodsname:
  20963. description: x合约名称
  20964. type: string
  20965. type: object
  20966. models.WrDeliveryDetail:
  20967. properties:
  20968. accountid:
  20969. description: 账号ID
  20970. type: integer
  20971. averageprice:
  20972. description: 期初均价
  20973. type: number
  20974. begindate:
  20975. description: 开始交易日(yyyymmdd)
  20976. type: string
  20977. buyorsell:
  20978. description: 方向 - 0:买 1:卖
  20979. type: integer
  20980. deliveryamount:
  20981. description: 货款金额(X总货款+P总货款)
  20982. type: number
  20983. deliveryid:
  20984. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  20985. type: string
  20986. deliveryorderid:
  20987. description: 申报单号
  20988. type: string
  20989. deliverypricemove:
  20990. description: 升贴水(升贴水总额)
  20991. type: number
  20992. deliveryqty:
  20993. description: 交收数量(点选数量)
  20994. type: number
  20995. deliverystatus:
  20996. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  20997. type: integer
  20998. deliverytime:
  20999. description: 交割时间
  21000. type: string
  21001. deliverytotalamount:
  21002. description: 交收金额
  21003. type: number
  21004. enddate:
  21005. description: 结束交易日(yyyymmdd)
  21006. type: string
  21007. enumdicname:
  21008. description: 单位名称
  21009. type: string
  21010. matchaccountid:
  21011. description: 对手账号ID
  21012. type: integer
  21013. matchusername:
  21014. description: 对手方名称(仓单持有人)
  21015. type: string
  21016. p1goodsremainamount:
  21017. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  21018. type: number
  21019. pdeliverycloseqty:
  21020. description: p合约平仓数量
  21021. type: number
  21022. pdeliveryprice:
  21023. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  21024. type: number
  21025. pgoodscode:
  21026. description: 商品代码
  21027. type: string
  21028. pgoodsid:
  21029. description: p点选合约id
  21030. type: integer
  21031. pgoodsname:
  21032. description: 商品名称
  21033. type: string
  21034. ppricemode:
  21035. description: 点价价格方式 - 1:商品价 2:固定值
  21036. type: integer
  21037. tradedate:
  21038. description: 交易日(yyyymmdd)
  21039. type: string
  21040. userid:
  21041. description: 用户id
  21042. type: integer
  21043. username:
  21044. description: 用户名称
  21045. type: string
  21046. warehousename:
  21047. description: 仓库名称
  21048. type: string
  21049. wrfactortypeid:
  21050. description: 仓单要素类型ID
  21051. type: string
  21052. wrtypename:
  21053. description: 商品
  21054. type: string
  21055. xdeliverycloseqty:
  21056. description: 合约数量
  21057. type: number
  21058. xgoodsamount:
  21059. description: 期初均价
  21060. type: number
  21061. xgoodscode:
  21062. description: 商品代码
  21063. type: string
  21064. xgoodsid:
  21065. description: x交易合约ID
  21066. type: integer
  21067. xgoodsname:
  21068. description: 商品名称
  21069. type: string
  21070. type: object
  21071. models.WrDeliveryGoodsSection:
  21072. properties:
  21073. dglst:
  21074. description: 板块商品列表
  21075. items:
  21076. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  21077. type: array
  21078. imagepath:
  21079. description: 图片地址
  21080. type: string
  21081. orderindex:
  21082. description: 排序
  21083. type: integer
  21084. sectionid:
  21085. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  21086. = 1的版块1 - 云融指数
  21087. type: integer
  21088. sectionname:
  21089. description: 版块名称
  21090. type: string
  21091. sectiontype:
  21092. description: 版块类型 - 1:指数版块 2:普通版块
  21093. type: integer
  21094. type: object
  21095. models.WrDeliveryGoodsSectionConfig:
  21096. properties:
  21097. deliverygoodscode:
  21098. description: 现货商品代码
  21099. type: string
  21100. deliverygoodsid:
  21101. description: 现货品种ID(SEQ_DELIVERYGOODS)
  21102. type: integer
  21103. deliverygoodsname:
  21104. description: 现货商品名称
  21105. type: string
  21106. orderindex:
  21107. description: 排序
  21108. type: integer
  21109. type: object
  21110. models.WrDraftUserInfo:
  21111. properties:
  21112. address:
  21113. description: 地址
  21114. type: string
  21115. attachment1:
  21116. description: 附件1
  21117. type: string
  21118. attachment2:
  21119. description: 附件2
  21120. type: string
  21121. attachment3:
  21122. description: 附件3
  21123. type: string
  21124. attachment4:
  21125. description: 附件4
  21126. type: string
  21127. attachment5:
  21128. description: 附件5
  21129. type: string
  21130. bankaccount:
  21131. description: 银行帐号 (加密存储)
  21132. type: string
  21133. bankaccountname:
  21134. description: 收款人名称
  21135. type: string
  21136. bankcardfrontphotourl:
  21137. description: 银行卡正面照地址
  21138. type: string
  21139. bankid:
  21140. description: 银行编码
  21141. type: string
  21142. bankname:
  21143. description: 银行名称
  21144. type: string
  21145. birthday:
  21146. description: 生日(个人:年月日)
  21147. type: string
  21148. biznature:
  21149. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  21150. type: integer
  21151. bizscope:
  21152. description: 企业经营范围(企业)
  21153. type: string
  21154. biztype:
  21155. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  21156. type: integer
  21157. cardbackphotourl:
  21158. description: 证件背面图片地址
  21159. type: string
  21160. cardfrontphotourl:
  21161. description: 证件正面图片地址
  21162. type: string
  21163. cardnum:
  21164. description: 证件号码(加密存储)
  21165. type: string
  21166. cardtypeid:
  21167. description: 证件类型ID
  21168. type: integer
  21169. cityid:
  21170. description: 市
  21171. type: integer
  21172. company:
  21173. description: 公司(个人)
  21174. type: string
  21175. contactcardbackphotourl:
  21176. description: 联系人证件背面图片地址
  21177. type: string
  21178. contactcardfrontphotourl:
  21179. description: 联系人证件正面图片地址
  21180. type: string
  21181. contactname:
  21182. description: 联系人
  21183. type: string
  21184. countryid:
  21185. description: 国家
  21186. type: integer
  21187. createtime:
  21188. description: 创建时间
  21189. type: string
  21190. creatorid:
  21191. description: 创建人
  21192. type: integer
  21193. creditquota:
  21194. description: 授信额度(金瑞)
  21195. type: number
  21196. customername:
  21197. description: 客户名称(企业名称)
  21198. type: string
  21199. districtid:
  21200. description: 地区
  21201. type: integer
  21202. email:
  21203. description: 邮件(加密存储)
  21204. type: string
  21205. fax:
  21206. description: 传真(加密存储)
  21207. type: string
  21208. halfbodyphotourl:
  21209. description: 半身照地址
  21210. type: string
  21211. hasencrypt:
  21212. description: 数据是否已加密 - 0:未加密 1:已加密
  21213. type: integer
  21214. headurl:
  21215. description: 头像地址
  21216. type: string
  21217. legalcardbackphotourl:
  21218. description: 法人身份证背面照地址
  21219. type: string
  21220. legalcardfrontphotourl:
  21221. description: 法人身份证正面照地址
  21222. type: string
  21223. legalpersonname:
  21224. description: 法人姓名(企业)
  21225. type: string
  21226. mobile:
  21227. description: 手机号码(加密存储)
  21228. type: string
  21229. mobile2:
  21230. description: 手机号码[明文-尚志]
  21231. type: string
  21232. modifierid:
  21233. description: 修改人
  21234. type: integer
  21235. modifiertime:
  21236. description: 修改时间
  21237. type: string
  21238. needinvoice:
  21239. description: 是否需要发票 - 0:不需要 1:需要
  21240. type: integer
  21241. nickname:
  21242. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  21243. type: string
  21244. openmode:
  21245. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  21246. 6:苹果手机端注册 7:PC交易端注册"
  21247. type: integer
  21248. otherurl:
  21249. description: 其它图片地址[使用分号分隔]
  21250. type: string
  21251. postalcode:
  21252. description: 邮政编码
  21253. type: string
  21254. provinceid:
  21255. description: 省
  21256. type: integer
  21257. proxystatementurl:
  21258. description: 授权委托书
  21259. type: string
  21260. qq:
  21261. description: QQ(加密存储
  21262. type: string
  21263. remark:
  21264. description: 备注
  21265. type: string
  21266. sex:
  21267. description: '用户性别 0: 女 1: 男'
  21268. type: integer
  21269. signpdfurl:
  21270. description: 签约pdf文件
  21271. type: string
  21272. taxpayernum:
  21273. description: 纳税人识别号
  21274. type: string
  21275. telphone:
  21276. description: 联系电话(加密存储)
  21277. type: string
  21278. userid:
  21279. description: 用户ID
  21280. type: integer
  21281. userinfotype:
  21282. description: 用户信息类型 - 1:个人 2:企业
  21283. type: integer
  21284. userstatus:
  21285. description: 用户状态 - 1:正常 2:注销
  21286. type: integer
  21287. usertype:
  21288. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  21289. type: integer
  21290. wechat:
  21291. description: 微信(加密存储)
  21292. type: string
  21293. wskhinfo:
  21294. description: 开户申请信息(JSON)
  21295. type: string
  21296. type: object
  21297. models.WrFAProductDetail:
  21298. properties:
  21299. accountid:
  21300. description: 资金账号
  21301. type: integer
  21302. areauserid:
  21303. description: 金融机构ID
  21304. type: integer
  21305. financingdays:
  21306. description: 天数(天)
  21307. type: integer
  21308. interestminlen:
  21309. description: 最小起息天数
  21310. type: integer
  21311. interestrate:
  21312. description: 利率
  21313. type: number
  21314. interestratemode:
  21315. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21316. type: integer
  21317. interestsettlemode:
  21318. description: 结息方式 - 1:按日结息 3:按月结息
  21319. type: integer
  21320. interestsettlevalue:
  21321. description: 结息方式值
  21322. type: integer
  21323. isautoloan:
  21324. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  21325. type: integer
  21326. loantag:
  21327. description: '放款标识: "放款快" 或者为空'
  21328. type: string
  21329. marginratio:
  21330. description: 保证金比率质押率 - [仓单质押]
  21331. type: number
  21332. productdetailid:
  21333. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  21334. type: integer
  21335. productid:
  21336. description: 金融产品ID
  21337. type: integer
  21338. productname:
  21339. description: 产品名称
  21340. type: string
  21341. updatetime:
  21342. description: 更新时间
  21343. type: string
  21344. username:
  21345. description: 融出方
  21346. type: string
  21347. type: object
  21348. models.WrFactorTypeInfo:
  21349. properties:
  21350. deliverygoodscode:
  21351. description: 品种代码
  21352. type: string
  21353. deliverygoodsname:
  21354. description: 品种名称
  21355. type: string
  21356. dgfactoryitemid:
  21357. description: 选择项id
  21358. type: integer
  21359. dgfactoryitemtypeid:
  21360. description: 要素选择项ID (1-仓库 2-品牌)
  21361. type: integer
  21362. dgfactoryitemvalue:
  21363. description: 要素项值
  21364. type: string
  21365. itemtypename:
  21366. description: 要素项名称
  21367. type: string
  21368. optioncompare:
  21369. description: 选择比较串
  21370. type: string
  21371. warehouseid:
  21372. description: 仓库id
  21373. type: integer
  21374. wrfactortypeid:
  21375. description: 仓单要素ID
  21376. type: string
  21377. wrfactortypename:
  21378. description: 要素名称
  21379. type: string
  21380. wrfactortypename2:
  21381. description: 要素名称(不含仓库)
  21382. type: string
  21383. wrstandardcode:
  21384. description: 品类代码
  21385. type: string
  21386. wrstandardid:
  21387. description: 品类id
  21388. type: integer
  21389. wrstandardname:
  21390. description: 品类名称
  21391. type: string
  21392. type: object
  21393. models.WrFilterItem:
  21394. properties:
  21395. itemcode:
  21396. description: 代码
  21397. type: string
  21398. itemid:
  21399. description: 项id
  21400. type: integer
  21401. itemname:
  21402. description: 名称
  21403. type: string
  21404. itemtype:
  21405. description: 类型 1-品种 2-品类(商品) 3-仓库
  21406. type: integer
  21407. type: object
  21408. models.WrFinanceBuyApply:
  21409. properties:
  21410. applydate:
  21411. description: 申请时间
  21412. type: string
  21413. applystatus:
  21414. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  21415. type: integer
  21416. applyuserid:
  21417. description: 申请人
  21418. type: integer
  21419. auditdate:
  21420. description: 审核时间
  21421. type: string
  21422. auditremark:
  21423. description: 审核备注
  21424. type: string
  21425. audituserid:
  21426. description: 审核人
  21427. type: integer
  21428. buyaccountid:
  21429. description: 买方资金账号
  21430. type: integer
  21431. buyorsell:
  21432. description: 买卖 - 0:买 1:卖
  21433. type: integer
  21434. buyuserid:
  21435. description: 买方用户ID
  21436. type: integer
  21437. buyusername:
  21438. description: 买方名称
  21439. type: string
  21440. buywrtradeorderid:
  21441. description: 融资方买委托单ID
  21442. type: string
  21443. deliverygoodscode:
  21444. description: 品种代码
  21445. type: string
  21446. deliverygoodsid:
  21447. description: 品种ID
  21448. type: integer
  21449. deliverygoodsname:
  21450. description: 品种名称
  21451. type: string
  21452. deliverymonth:
  21453. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  21454. type: string
  21455. enumdicname:
  21456. description: 单位名称
  21457. type: string
  21458. financeaccountid:
  21459. description: 融资方资金帐户ID
  21460. type: integer
  21461. financeapplyid:
  21462. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  21463. type: string
  21464. financeareauserid:
  21465. description: 融资方用户ID
  21466. type: string
  21467. financename:
  21468. description: 融出方名称
  21469. type: string
  21470. financetype:
  21471. description: 融资类型 1-融资回购
  21472. type: integer
  21473. financingdays:
  21474. description: 天数(天)
  21475. type: integer
  21476. freezebuymargin:
  21477. description: 冻结融资保证金(买方)
  21478. type: number
  21479. handleremark:
  21480. description: 处理备注
  21481. type: string
  21482. handlestatus:
  21483. description: 处理状态
  21484. type: integer
  21485. interestminlen:
  21486. description: 最小起息天数
  21487. type: integer
  21488. interestrate:
  21489. description: 利率
  21490. type: number
  21491. interestratemode:
  21492. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  21493. type: integer
  21494. interestsettlemode:
  21495. description: 结息方式 - 1:按日结息 3:按月结息
  21496. type: integer
  21497. interestsettlevalue:
  21498. description: 结息方式值
  21499. type: integer
  21500. isautoloan:
  21501. description: 是否自动放款 - 0:手动 1:自动
  21502. type: integer
  21503. marginratio:
  21504. description: 保证金比率质押率 - [仓单质押]
  21505. type: number
  21506. marketid:
  21507. description: 市场ID
  21508. type: integer
  21509. minivalue:
  21510. description: 现货商品最小变动值
  21511. type: integer
  21512. optioncompare:
  21513. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21514. type: string
  21515. orderqty:
  21516. description: 委托数量(商品数量)
  21517. type: number
  21518. productdetailid:
  21519. description: 产品组合ID
  21520. type: integer
  21521. productid:
  21522. description: 金融产品ID
  21523. type: integer
  21524. productname:
  21525. description: 产品名称
  21526. type: string
  21527. remark:
  21528. description: 备注
  21529. type: string
  21530. scfcontractid:
  21531. description: 仓单回购合同ID
  21532. type: string
  21533. sellaccountid:
  21534. description: 卖方资金账号
  21535. type: integer
  21536. selluserid:
  21537. description: 卖方用户ID
  21538. type: integer
  21539. sellwrtradeorderid:
  21540. description: 卖方委托单ID
  21541. type: string
  21542. tradeamount:
  21543. description: 成交金额(借款金额)
  21544. type: number
  21545. tradedate:
  21546. description: 交易日(yyyyMMdd)
  21547. type: string
  21548. tradeprice:
  21549. description: 成交价格
  21550. type: number
  21551. warehouseid:
  21552. description: 仓库ID
  21553. type: integer
  21554. warehousename:
  21555. description: 仓库名称
  21556. type: string
  21557. wrfactortypeid:
  21558. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21559. type: string
  21560. wrfactortypename:
  21561. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21562. type: string
  21563. wrpricetype:
  21564. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  21565. type: integer
  21566. wrstandardcode:
  21567. description: 现货商品代码
  21568. type: string
  21569. wrstandardid:
  21570. description: 现货商品ID
  21571. type: integer
  21572. wrstandardname:
  21573. description: 商品名称
  21574. type: string
  21575. wrtypename:
  21576. description: 商品
  21577. type: string
  21578. type: object
  21579. models.WrFriendApply:
  21580. properties:
  21581. applicantid:
  21582. description: 申请人
  21583. type: integer
  21584. applyname:
  21585. description: 申请人名称
  21586. type: string
  21587. applysrc:
  21588. description: 申请来源 - 1:管理端 2:终端
  21589. type: integer
  21590. applystatus:
  21591. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21592. type: integer
  21593. applytime:
  21594. description: 申请时间
  21595. type: string
  21596. auditname:
  21597. description: 审核人名称
  21598. type: string
  21599. auditorid:
  21600. description: 审核人
  21601. type: integer
  21602. auditremark:
  21603. description: 审核备注
  21604. type: string
  21605. auditsrc:
  21606. description: 审核来源 - 1:管理端 2:终端
  21607. type: integer
  21608. audittime:
  21609. description: 审核时间
  21610. type: string
  21611. friendapplyid:
  21612. description: 申请ID(SEQ_FRIENDAPPLY)
  21613. type: string
  21614. friendname:
  21615. description: 好友名字(已脱敏)
  21616. type: string
  21617. frienduserid:
  21618. description: 好友用户ID
  21619. type: string
  21620. remark:
  21621. description: 备注
  21622. type: string
  21623. userid:
  21624. description: 申请人用户ID
  21625. type: integer
  21626. type: object
  21627. models.WrFtDeliveryGoods:
  21628. properties:
  21629. deliverygoodscode:
  21630. description: 品种代码
  21631. type: string
  21632. deliverygoodsid:
  21633. description: 品种ID
  21634. type: integer
  21635. deliverygoodsname:
  21636. description: 品种名称
  21637. type: string
  21638. wdlst:
  21639. description: 商品列表
  21640. items:
  21641. $ref: '#/definitions/models.WrFtWrstandard'
  21642. type: array
  21643. type: object
  21644. models.WrFtWrstandard:
  21645. properties:
  21646. enumdicname:
  21647. description: 单位名称
  21648. type: string
  21649. minivalue:
  21650. description: 最小变动值
  21651. type: integer
  21652. wrstandardcode:
  21653. description: 现货商品代码
  21654. type: string
  21655. wrstandardid:
  21656. description: 现货商品ID
  21657. type: integer
  21658. wrstandardname:
  21659. description: 商品名称
  21660. type: string
  21661. type: object
  21662. models.WrGoodsInfo:
  21663. properties:
  21664. haswr:
  21665. description: 0:仓单预售 1:仓单贸易
  21666. type: integer
  21667. lstitem:
  21668. description: 商品信息项
  21669. items:
  21670. $ref: '#/definitions/models.WrTypeItem'
  21671. type: array
  21672. lststep:
  21673. description: 履约规则
  21674. items:
  21675. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  21676. type: array
  21677. marketid:
  21678. description: 市场id
  21679. type: integer
  21680. type: object
  21681. models.WrGoodsPerformanceStep:
  21682. properties:
  21683. autoid:
  21684. description: AutoID
  21685. type: integer
  21686. isauto:
  21687. description: 是否自动 - 0:不自动 1:自动
  21688. type: integer
  21689. remark:
  21690. description: 备注
  21691. type: string
  21692. stepdate:
  21693. description: 天数信息(T+N)
  21694. type: string
  21695. stepdays:
  21696. description: 距离上一步天数
  21697. type: integer
  21698. stepindex:
  21699. description: 步骤序号
  21700. type: integer
  21701. stepinfo:
  21702. description: 步骤信息(步骤名称+步骤值)
  21703. type: string
  21704. steptypeid:
  21705. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  21706. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  21707. type: integer
  21708. steptypename:
  21709. description: 步骤名称
  21710. type: string
  21711. stepvalue:
  21712. description: 期初均价
  21713. type: number
  21714. templateid:
  21715. description: 履约计划模板ID
  21716. type: integer
  21717. type: object
  21718. models.WrHoldLB:
  21719. properties:
  21720. accountid:
  21721. description: 持有人帐户ID
  21722. type: integer
  21723. bannerpicurl:
  21724. description: Banner图
  21725. type: string
  21726. createtime:
  21727. description: 创建时间(过户时间)
  21728. type: string
  21729. deliverygoodscode:
  21730. description: 品种代码
  21731. type: string
  21732. deliverygoodsid:
  21733. description: 品种ID
  21734. type: integer
  21735. deliverygoodsname:
  21736. description: 品种名称
  21737. type: string
  21738. enableqty:
  21739. description: 可用数量
  21740. type: number
  21741. enumdicname:
  21742. description: 单位名称
  21743. type: string
  21744. freezerqty:
  21745. description: 冻结数量
  21746. type: number
  21747. ladingbillid:
  21748. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  21749. type: string
  21750. minivalue:
  21751. description: 现货商品最小变动值
  21752. type: integer
  21753. optioncompare:
  21754. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  21755. type: string
  21756. parentsubnum:
  21757. description: 拆分父子单号
  21758. type: integer
  21759. pledgeqty:
  21760. description: 质押数量
  21761. type: number
  21762. qty:
  21763. description: 数量
  21764. type: number
  21765. spotgoodsprice:
  21766. description: 参考价(THJ)
  21767. type: number
  21768. subnum:
  21769. description: 提单子单号
  21770. type: integer
  21771. thumurls:
  21772. description: 缩略图
  21773. type: string
  21774. tradedate:
  21775. description: 交易日(yyyyMMdd)
  21776. type: string
  21777. userid:
  21778. description: 持有人ID
  21779. type: integer
  21780. warehouseid:
  21781. description: 仓库ID
  21782. type: integer
  21783. warehousename:
  21784. description: 仓库名称
  21785. type: string
  21786. wrfactortypeid:
  21787. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  21788. type: string
  21789. wrfactortypename:
  21790. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  21791. type: string
  21792. wrholdeno:
  21793. description: 仓单编号
  21794. type: string
  21795. wrid:
  21796. description: 仓单变更ID
  21797. type: string
  21798. wrstandardcode:
  21799. description: 现货商品代码
  21800. type: string
  21801. wrstandardid:
  21802. description: 现货商品ID
  21803. type: integer
  21804. wrstandardname:
  21805. description: 商品名称
  21806. type: string
  21807. wrtypename:
  21808. description: 商品
  21809. type: string
  21810. type: object
  21811. models.WrMarketTradeConfig:
  21812. properties:
  21813. basisdownratio:
  21814. description: 浮动价基差下限比例(仓单贸易)
  21815. type: number
  21816. basisupratio:
  21817. description: 浮动价基差上限比例(仓单贸易)
  21818. type: number
  21819. buychargealgorithm:
  21820. description: 买方手续费收取方式 1:比率 2:固定
  21821. type: integer
  21822. buychargealgorithm2:
  21823. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  21824. type: integer
  21825. buychargealgorithmvalue:
  21826. description: 买方手续费设置值(交易所部分)
  21827. type: number
  21828. buychargealgorithmvalue2:
  21829. description: 买方手续费设置值(会员部分)
  21830. type: number
  21831. buychargealgorithmvalue3:
  21832. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  21833. type: number
  21834. buychargealgorithmvalue4:
  21835. description: 回购买方手续费设置值(会员部分) --77:现货商城
  21836. type: number
  21837. buyfirstmarginalgorithm:
  21838. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  21839. type: integer
  21840. buyfirstmarginvalue:
  21841. description: 买方出价保证金设置值 - [竞拍]
  21842. type: number
  21843. buymarginalgorithm:
  21844. description: 买方保证金方式 - 1:比率 2:固定
  21845. type: integer
  21846. buymarginvalue:
  21847. description: 买方保证金设置值
  21848. type: number
  21849. buyreleaseratio:
  21850. description: 买方释放比率[2:分步履约]
  21851. type: number
  21852. executemode:
  21853. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  21854. type: integer
  21855. executeside:
  21856. description: 执行方[2:分步履约] - 1:买方 2:卖方
  21857. type: integer
  21858. failedchargealgorithm:
  21859. description: 流拍手续费收取方式 1:比率 2:固定
  21860. type: integer
  21861. failedchargevalue:
  21862. description: 流拍手续费设置值
  21863. type: number
  21864. failedchargevalue2:
  21865. description: 流拍卖方手续费设置值
  21866. type: number
  21867. holddays:
  21868. description: 合同期限[2:分步履约]
  21869. type: integer
  21870. listingmode:
  21871. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  21872. type: integer
  21873. marketid:
  21874. description: 市场ID-仓单贸易、竞拍、预售
  21875. type: integer
  21876. minqty:
  21877. description: 最小执行量[2:分步履约]
  21878. type: number
  21879. modifierid:
  21880. description: 修改人
  21881. type: integer
  21882. nowrquotaflag:
  21883. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  21884. type: integer
  21885. performancetempid:
  21886. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21887. 立即执行(-1)
  21888. type: integer
  21889. performancetempid2:
  21890. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  21891. 立即执行
  21892. type: integer
  21893. performancetempid2s:
  21894. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21895. - 履约方式: 立即执行
  21896. type: string
  21897. performancetempids:
  21898. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  21899. - 履约方式: 立即执行(-1)
  21900. type: string
  21901. performanceway:
  21902. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  21903. type: integer
  21904. sellchargealgorithm:
  21905. description: 卖方手续费收取方式 1:比率 2:固定
  21906. type: integer
  21907. sellchargealgorithm2:
  21908. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  21909. type: integer
  21910. sellchargealgorithmvalue:
  21911. description: 卖方手续费设置值(交易所部分)
  21912. type: number
  21913. sellchargealgorithmvalue2:
  21914. description: 卖方手续费设置值(会员部分)
  21915. type: number
  21916. sellchargealgorithmvalue3:
  21917. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  21918. type: number
  21919. sellchargealgorithmvalue4:
  21920. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  21921. type: number
  21922. sellmarginalgorithm:
  21923. description: 卖方保证金方式 - 1:比率 2:固定
  21924. type: integer
  21925. sellmarginvalue:
  21926. description: 卖方保证金设置值
  21927. type: number
  21928. sellmarginvalue2:
  21929. description: 卖方保证金设置值(无仓单)
  21930. type: number
  21931. sellreleaseratio:
  21932. description: 卖方释放比率[2:分步履约]
  21933. type: number
  21934. updatetime:
  21935. description: 更新时间
  21936. type: string
  21937. type: object
  21938. models.WrOrderDetail:
  21939. properties:
  21940. accountid:
  21941. description: 交易账号(资金账号)
  21942. type: integer
  21943. allfriendsflag:
  21944. description: 是否全好友可见 - 0:否 1:是
  21945. type: integer
  21946. amount:
  21947. description: 期初均价
  21948. type: number
  21949. bannerpicurl:
  21950. description: Banner图
  21951. type: string
  21952. begindate:
  21953. description: 开始交易日(yyyymmdd)
  21954. type: string
  21955. buyorsell:
  21956. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  21957. type: integer
  21958. canbargain:
  21959. description: 是否可议价 - 0:不可 1:可
  21960. type: integer
  21961. cancelqty:
  21962. description: 撤销数量
  21963. type: number
  21964. canpart:
  21965. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  21966. type: integer
  21967. delistminqty:
  21968. description: 起摘数量
  21969. type: integer
  21970. deliverygoodscode:
  21971. description: 品种代码
  21972. type: string
  21973. deliverygoodsid:
  21974. description: 品种ID
  21975. type: integer
  21976. deliverygoodsname:
  21977. description: 品种名称
  21978. type: string
  21979. deliverymonth:
  21980. description: 交收月
  21981. type: string
  21982. enddate:
  21983. description: 结束交易日(yyyymmdd)
  21984. type: string
  21985. enumdicname:
  21986. description: 单位名称
  21987. type: string
  21988. fixedprice:
  21989. description: 固定价格 - [挂牌]
  21990. type: number
  21991. freezecharge:
  21992. description: 期初均价
  21993. type: number
  21994. freezemargin:
  21995. description: 期初均价
  21996. type: number
  21997. futupricemove:
  21998. description: 期货升贴水
  21999. type: number
  22000. futushow:
  22001. description: 期货合约/升贴水
  22002. type: string
  22003. goodscode:
  22004. description: 期货合约
  22005. type: string
  22006. goodsid:
  22007. description: 期货商品id
  22008. type: integer
  22009. goodsname:
  22010. description: 商品名称
  22011. type: string
  22012. haswr:
  22013. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22014. type: integer
  22015. isspecified:
  22016. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  22017. type: integer
  22018. ladingbillid:
  22019. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  22020. type: string
  22021. marginvalue:
  22022. description: 期初均价
  22023. type: number
  22024. marketid:
  22025. description: 市场ID
  22026. type: integer
  22027. matchusername:
  22028. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  22029. type: string
  22030. minivalue:
  22031. description: 现货商品最小变动值
  22032. type: integer
  22033. optioncompare:
  22034. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22035. type: string
  22036. orderqty:
  22037. description: 委托数量
  22038. type: number
  22039. ordertime:
  22040. description: 委托时间(挂牌时间)
  22041. type: string
  22042. performancetemplateid:
  22043. description: 履约模板id
  22044. type: integer
  22045. pricemove:
  22046. description: 升贴水(浮动价时填写) - [挂牌]
  22047. type: number
  22048. taname:
  22049. description: 交易用户名称(资金账号名称)
  22050. type: string
  22051. thumurls:
  22052. description: 缩略图
  22053. type: string
  22054. tradedate:
  22055. description: 交易日(yyyyMMdd)
  22056. type: string
  22057. tradeprice:
  22058. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  22059. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  22060. type: number
  22061. tradeqty:
  22062. description: 成交数量
  22063. type: number
  22064. unitid:
  22065. description: 现货商品单位ID
  22066. type: integer
  22067. userid:
  22068. description: 用户ID
  22069. type: integer
  22070. validtime:
  22071. description: 挂牌有效期
  22072. type: string
  22073. validtype:
  22074. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22075. type: integer
  22076. warehouseid:
  22077. description: 仓库ID
  22078. type: integer
  22079. warehousename:
  22080. description: 仓库名称
  22081. type: string
  22082. wrfactortypeid:
  22083. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22084. type: string
  22085. wrfactortypename:
  22086. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22087. type: string
  22088. wrpricetype:
  22089. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  22090. type: integer
  22091. wrstandardcode:
  22092. description: 现货商品代码
  22093. type: string
  22094. wrstandardid:
  22095. description: 现货商品ID
  22096. type: integer
  22097. wrstandardname:
  22098. description: 商品名称
  22099. type: string
  22100. wrtradeorderid:
  22101. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22102. type: string
  22103. wrtradeorderstatus:
  22104. 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:撤单解冻贷款失败
  22105. type: integer
  22106. wrtradetype:
  22107. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  22108. type: integer
  22109. wrtypename:
  22110. description: 商品
  22111. type: string
  22112. type: object
  22113. models.WrOrderQuote:
  22114. properties:
  22115. bannerpicurl:
  22116. description: Banner图
  22117. type: string
  22118. buyprice:
  22119. description: 买价
  22120. type: number
  22121. buypricemove:
  22122. description: 买升贴水(基差)
  22123. type: number
  22124. buyqty:
  22125. description: 买量
  22126. type: number
  22127. deliverygoodscode:
  22128. description: 品种代码
  22129. type: string
  22130. deliverygoodsid:
  22131. description: 品种id
  22132. type: integer
  22133. deliverygoodsname:
  22134. description: 品种名称
  22135. type: string
  22136. deliverymonth:
  22137. description: 交收月
  22138. type: string
  22139. enumdicname:
  22140. description: 单位名称
  22141. type: string
  22142. goodscode:
  22143. description: 商品合约(浮动价列表才有)
  22144. type: string
  22145. goodsid:
  22146. description: 商品id(浮动价列表才有)
  22147. type: integer
  22148. minivalue:
  22149. description: 现货商品最小变动值
  22150. type: integer
  22151. pictureurls:
  22152. description: 详情图片(逗号分隔)
  22153. type: string
  22154. sellprice:
  22155. description: 卖价
  22156. type: number
  22157. sellpricemove:
  22158. description: 卖升贴水(基差)
  22159. type: number
  22160. sellqty:
  22161. description: 卖量
  22162. type: number
  22163. spotgoodsprice:
  22164. description: 参考价(THJ)
  22165. type: number
  22166. thumurls:
  22167. description: 缩略图片(1:1)(逗号分隔)
  22168. type: string
  22169. warehousecode:
  22170. description: 仓库代码
  22171. type: string
  22172. warehouseid:
  22173. description: 仓库id
  22174. type: integer
  22175. warehousename:
  22176. description: 仓库名称
  22177. type: string
  22178. wrfactortypeid:
  22179. description: 仓单要素id
  22180. type: string
  22181. wrfactortypename:
  22182. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22183. type: string
  22184. wrgoodsname:
  22185. description: 商品(商品名称+仓库要素名称 拼接)
  22186. type: string
  22187. wrstandardcode:
  22188. description: 商品代码
  22189. type: string
  22190. wrstandardid:
  22191. description: 商品id
  22192. type: integer
  22193. wrstandardname:
  22194. description: 商品名称
  22195. type: string
  22196. type: object
  22197. models.WrOrderQuoteDetail:
  22198. properties:
  22199. buyorsell:
  22200. description: 买卖 - 0:买 1:卖
  22201. type: integer
  22202. delistminqty:
  22203. description: 期初均价
  22204. type: number
  22205. deliverymonth:
  22206. description: 交收月
  22207. type: string
  22208. enumdicname:
  22209. description: 单位名称
  22210. type: string
  22211. fixedprice:
  22212. description: 买(卖)价
  22213. type: number
  22214. marketid:
  22215. description: 市场id
  22216. type: integer
  22217. minivalue:
  22218. description: 现货商品最小变动值
  22219. type: integer
  22220. orderqty:
  22221. description: 买(卖)量(=委托量-成交量)
  22222. type: number
  22223. ordertime:
  22224. description: 委托时间
  22225. type: string
  22226. pricemove:
  22227. description: 买(卖)升贴水- 基差
  22228. type: number
  22229. userid:
  22230. description: 购买方(销售方)用户ID
  22231. type: integer
  22232. username:
  22233. description: 购买方(销售方)
  22234. type: string
  22235. wrtradeorderid:
  22236. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22237. type: string
  22238. type: object
  22239. models.WrOutInApply:
  22240. properties:
  22241. address:
  22242. description: 详细地址
  22243. type: string
  22244. applyid:
  22245. description: 申请单id
  22246. type: string
  22247. applystatus:
  22248. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  22249. 8:已撤销
  22250. type: integer
  22251. applytime:
  22252. description: 申请时间
  22253. type: string
  22254. applytype:
  22255. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  22256. type: integer
  22257. appointmentmodel:
  22258. description: 预约方式 - 1:物流 2:自送 3:自提
  22259. type: integer
  22260. appointmentmodeldisplay:
  22261. description: 预约方式(显示枚举)
  22262. type: string
  22263. appointmentremark:
  22264. description: 申请备注
  22265. type: string
  22266. bannerpicurl:
  22267. description: Banner图
  22268. type: string
  22269. begindate:
  22270. description: 开始交易日(yyyymmdd)
  22271. type: string
  22272. contactname:
  22273. description: 联系人
  22274. type: string
  22275. contactnum:
  22276. description: 联系方式
  22277. type: string
  22278. deliverygoodscode:
  22279. description: 品种代码
  22280. type: string
  22281. deliverygoodsid:
  22282. description: 品种ID
  22283. type: integer
  22284. deliverygoodsname:
  22285. description: 品种名称
  22286. type: string
  22287. enddate:
  22288. description: 结束交易日(yyyymmdd)
  22289. type: string
  22290. enumdicname:
  22291. description: 单位名称
  22292. type: string
  22293. expresscompany:
  22294. description: 物流公司
  22295. type: string
  22296. expressnum:
  22297. description: 物流单号
  22298. type: string
  22299. minivalue:
  22300. description: 现货商品最小变动值
  22301. type: integer
  22302. optioncompare:
  22303. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22304. type: string
  22305. qty:
  22306. description: 数量
  22307. type: integer
  22308. userid:
  22309. description: 用户id
  22310. type: integer
  22311. warehouseid:
  22312. description: 仓库ID
  22313. type: integer
  22314. warehousename:
  22315. description: 仓库名称
  22316. type: string
  22317. wrfactortypeid:
  22318. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22319. type: string
  22320. wrfactortypename:
  22321. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22322. type: string
  22323. wrstandardcode:
  22324. description: 现货商品代码
  22325. type: string
  22326. wrstandardid:
  22327. description: 现货商品ID
  22328. type: integer
  22329. wrstandardname:
  22330. description: 商品名称
  22331. type: string
  22332. wrtypename:
  22333. description: 商品
  22334. type: string
  22335. type: object
  22336. models.WrPerformancePlan:
  22337. properties:
  22338. activatemonth:
  22339. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  22340. type: string
  22341. amount:
  22342. description: 履约金额(总金额)
  22343. type: number
  22344. begindate:
  22345. description: 开始交易日(yyyymmdd)
  22346. type: string
  22347. buyaccountid:
  22348. description: 买方账号
  22349. type: integer
  22350. buyerfreezeamount:
  22351. description: 履约冻结(买履约)
  22352. type: number
  22353. buyerfreezeamountremain:
  22354. description: 履约冻结剩余(买履约)
  22355. type: number
  22356. buyorsell:
  22357. description: 买卖方向 0-买 1-卖
  22358. type: integer
  22359. buypaidamount:
  22360. description: 买方已冻/已扣金额 (已付金额)
  22361. type: number
  22362. buyusername:
  22363. description: 买方名字
  22364. type: string
  22365. contractid:
  22366. description: 合同ID
  22367. type: integer
  22368. createtime:
  22369. description: 创建时间
  22370. type: string
  22371. creatorid:
  22372. description: 创建人
  22373. type: integer
  22374. curstepdeadline:
  22375. description: 当前步骤到期时间
  22376. type: string
  22377. curstepid:
  22378. description: 当前步骤ID
  22379. type: string
  22380. curstepname:
  22381. description: 当前步骤名称
  22382. type: string
  22383. deliverygoodscode:
  22384. description: 品种代码
  22385. type: string
  22386. deliverygoodsid:
  22387. description: 品种ID
  22388. type: integer
  22389. deliverygoodsname:
  22390. description: 品种名称
  22391. type: string
  22392. enddate:
  22393. description: 结束交易日(yyyymmdd)
  22394. type: string
  22395. enumdicname:
  22396. description: 单位名称
  22397. type: string
  22398. expressfee:
  22399. description: 运费
  22400. type: number
  22401. expressfeeconfirmed:
  22402. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  22403. type: integer
  22404. hasovershort:
  22405. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  22406. type: integer
  22407. haswr:
  22408. description: 类型 0-仓单预售 1-仓单贸易
  22409. type: integer
  22410. marketid:
  22411. description: 市场ID
  22412. type: integer
  22413. middleaccountid:
  22414. description: 中间商资金账号ID
  22415. type: integer
  22416. middleuserid:
  22417. description: 中间商用户ID
  22418. type: integer
  22419. minivalue:
  22420. description: 现货商品最小变动值
  22421. type: integer
  22422. optioncompare:
  22423. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22424. type: string
  22425. overshortamount:
  22426. description: 溢短金额
  22427. type: number
  22428. overshortqty:
  22429. description: 溢短数量
  22430. type: number
  22431. paymenttype:
  22432. description: 付款方式 - 1:冻结 2:扣款
  22433. type: integer
  22434. performanceplanid:
  22435. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  22436. type: string
  22437. performancestatus:
  22438. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  22439. 9:超时待处理 10:超时关闭
  22440. type: integer
  22441. performancetype:
  22442. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  22443. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  22444. type: integer
  22445. qty:
  22446. description: 履约数量
  22447. type: number
  22448. relatedorderid:
  22449. description: 关联单号(履约类型的关联单号)
  22450. type: string
  22451. remark:
  22452. description: 备注
  22453. type: string
  22454. sellaccountid:
  22455. description: 卖方账号
  22456. type: integer
  22457. sellerfreezeamount:
  22458. description: 履约冻结(卖履约)
  22459. type: number
  22460. sellerfreezeamountremain:
  22461. description: 履约冻结剩余(卖履约)
  22462. type: number
  22463. sellreceivedamount:
  22464. description: 卖方已收金额
  22465. type: number
  22466. sellusername:
  22467. description: 卖方名字
  22468. type: string
  22469. shipremark:
  22470. description: 发货备注[物流单号]
  22471. type: string
  22472. starttime:
  22473. description: 开始时间
  22474. type: string
  22475. steptypeid:
  22476. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22477. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22478. type: integer
  22479. typename:
  22480. description: 履约类型 名称
  22481. type: string
  22482. unpaidamount:
  22483. description: 期初均价
  22484. type: number
  22485. userid:
  22486. description: 用户id
  22487. type: integer
  22488. warehouseid:
  22489. description: 仓库ID
  22490. type: integer
  22491. warehousename:
  22492. description: 仓库名称
  22493. type: string
  22494. wrfactortypeid:
  22495. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22496. type: string
  22497. wrfactortypename:
  22498. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22499. type: string
  22500. wrstandardcode:
  22501. description: 现货商品代码
  22502. type: string
  22503. wrstandardid:
  22504. description: 现货商品ID
  22505. type: integer
  22506. wrstandardname:
  22507. description: 商品名称
  22508. type: string
  22509. wrtransferuserid:
  22510. description: 仓单受让用户
  22511. type: integer
  22512. wrtypename:
  22513. description: 商品
  22514. type: string
  22515. required:
  22516. - userid
  22517. type: object
  22518. models.WrPerformancePlanStep:
  22519. properties:
  22520. delaydays:
  22521. description: 延期申请天数
  22522. type: integer
  22523. deliverygoodscode:
  22524. description: 品种代码
  22525. type: string
  22526. deliverygoodsid:
  22527. description: 品种ID
  22528. type: integer
  22529. deliverygoodsname:
  22530. description: 品种名称
  22531. type: string
  22532. endtime:
  22533. description: 结束日期
  22534. type: string
  22535. enumdicname:
  22536. description: 单位名称
  22537. type: string
  22538. executeside:
  22539. description: 步骤执行方 - 1:买方 2:卖方
  22540. type: integer
  22541. handlestatus:
  22542. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  22543. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  22544. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  22545. type: integer
  22546. isauto:
  22547. description: 是否自动 - 0:不自动 1:自动
  22548. type: integer
  22549. islastreceivestep:
  22550. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  22551. type: integer
  22552. minivalue:
  22553. description: 现货商品最小变动值
  22554. type: integer
  22555. optioncompare:
  22556. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22557. type: string
  22558. overdays:
  22559. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  22560. type: integer
  22561. performancestepid:
  22562. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  22563. type: string
  22564. planid:
  22565. description: 所属履约计划ID
  22566. type: string
  22567. realamount:
  22568. description: 实际完成金额
  22569. type: number
  22570. relatedorderid:
  22571. description: 关联单号
  22572. type: string
  22573. remaindays:
  22574. description: 剩余天数
  22575. type: integer
  22576. remark:
  22577. description: 错误备注
  22578. type: string
  22579. starttime:
  22580. description: 开始日期
  22581. type: string
  22582. stepamount:
  22583. description: 步骤金额
  22584. type: number
  22585. stepdays:
  22586. description: 距离上一步天数(分钟)
  22587. type: integer
  22588. stepindex:
  22589. description: 步骤序号
  22590. type: integer
  22591. steplanchtype:
  22592. description: 步骤启动类型 - 1:系统自动 2:手动
  22593. type: integer
  22594. stepremark:
  22595. description: 步骤备注
  22596. type: string
  22597. stepstatus:
  22598. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  22599. type: integer
  22600. steptypeid:
  22601. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  22602. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  22603. type: integer
  22604. steptypename:
  22605. description: 步骤名称
  22606. type: string
  22607. stepvalue:
  22608. description: 步骤值
  22609. type: number
  22610. warehouseid:
  22611. description: 仓库ID
  22612. type: integer
  22613. warehousename:
  22614. description: 仓库名称
  22615. type: string
  22616. wrfactortypeid:
  22617. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22618. type: string
  22619. wrfactortypename:
  22620. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22621. type: string
  22622. wrstandardcode:
  22623. description: 现货商品代码
  22624. type: string
  22625. wrstandardid:
  22626. description: 现货商品ID
  22627. type: integer
  22628. wrstandardname:
  22629. description: 商品名称
  22630. type: string
  22631. wrtypename:
  22632. description: 商品
  22633. type: string
  22634. type: object
  22635. models.WrPerformanceStepType:
  22636. properties:
  22637. canauto:
  22638. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  22639. type: integer
  22640. steptypeid:
  22641. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  22642. type: integer
  22643. steptypename:
  22644. description: 步骤类型名称
  22645. type: string
  22646. type: object
  22647. models.WrPerformanceTemplateEx:
  22648. properties:
  22649. autoid:
  22650. description: AutoID 模板id
  22651. type: integer
  22652. createtime:
  22653. description: 创建时间
  22654. type: string
  22655. creatorid:
  22656. description: 创建人
  22657. type: integer
  22658. lstStep:
  22659. description: 步骤信息列表
  22660. items:
  22661. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  22662. type: array
  22663. paymenttype:
  22664. description: 支付方式 - 1:冻结 2:扣款
  22665. type: integer
  22666. takemode:
  22667. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  22668. type: integer
  22669. templatename:
  22670. description: 模板名称
  22671. type: string
  22672. templatetype:
  22673. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  22674. (无仓单) 5:挂牌期权 6:竞拍-降价式
  22675. type: integer
  22676. userid:
  22677. description: 所属用户
  22678. type: integer
  22679. type: object
  22680. models.WrPosition:
  22681. properties:
  22682. accountid:
  22683. description: 帐户ID
  22684. type: integer
  22685. buyexcuteqty:
  22686. description: 采购履约中数量
  22687. type: number
  22688. creditcurqty:
  22689. description: 授信当前数量(预售仓单:预售当前量)
  22690. type: number
  22691. creditenableqty:
  22692. description: '授信可用数量(预售仓单: 可用数量)'
  22693. type: number
  22694. creditfreezeqty:
  22695. description: '授信冻结数量(预售仓单: 当前数量)'
  22696. type: number
  22697. credittotalqty:
  22698. description: 授信总数量(预售仓单:预售总量)
  22699. type: number
  22700. credittradeqty:
  22701. description: 授信成交数量(预售仓单:成交总量)
  22702. type: number
  22703. deliverygoodscode:
  22704. description: 品种代码
  22705. type: string
  22706. deliverygoodsid:
  22707. description: 品种ID
  22708. type: integer
  22709. deliverygoodsname:
  22710. description: 品种名称
  22711. type: string
  22712. enalbeqty:
  22713. description: 可用数量
  22714. type: number
  22715. enumdicname:
  22716. description: 单位名称
  22717. type: string
  22718. freezeqty:
  22719. description: 总冻结数量
  22720. type: number
  22721. haswr:
  22722. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  22723. type: integer
  22724. minivalue:
  22725. description: 现货商品最小变动值
  22726. type: integer
  22727. modifytime:
  22728. description: 修改时间(过户时间)
  22729. type: string
  22730. optioncompare:
  22731. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  22732. type: string
  22733. pledgeqty:
  22734. description: 质押数量
  22735. type: number
  22736. querytype:
  22737. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  22738. type: integer
  22739. sellexcuteqty:
  22740. description: 销售履约中数量
  22741. type: number
  22742. totalqty:
  22743. description: 总数量(库存数量)
  22744. type: number
  22745. warehouseid:
  22746. description: 仓库ID
  22747. type: integer
  22748. warehousename:
  22749. description: 仓库名称
  22750. type: string
  22751. wrfactortypeid:
  22752. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  22753. type: string
  22754. wrfactortypename:
  22755. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  22756. type: string
  22757. wrpositionid:
  22758. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  22759. type: string
  22760. wrpositionno:
  22761. description: 仓单编号
  22762. type: string
  22763. wrstandardcode:
  22764. description: 现货商品代码
  22765. type: string
  22766. wrstandardid:
  22767. description: 现货商品ID
  22768. type: integer
  22769. wrstandardname:
  22770. description: 商品名称
  22771. type: string
  22772. wrtypename:
  22773. description: 商品
  22774. type: string
  22775. wruserid:
  22776. description: 持有人ID
  22777. type: integer
  22778. type: object
  22779. models.WrPreSaleInfo:
  22780. properties:
  22781. bannerpicurl:
  22782. description: Banner图
  22783. type: string
  22784. baseqty:
  22785. description: 中签基数
  22786. type: number
  22787. createtime:
  22788. description: 创建时间
  22789. type: string
  22790. deliverygoodsid:
  22791. description: 现货品种ID
  22792. type: integer
  22793. enddate:
  22794. description: 预售结束日期
  22795. type: string
  22796. enumdicname:
  22797. description: 单位名称
  22798. type: string
  22799. lotteryflag:
  22800. description: 摇号标识 - 0:未摇号 1:已摇号
  22801. type: integer
  22802. lotteryqty:
  22803. description: 摇号总量
  22804. type: number
  22805. luckyqty:
  22806. description: 已中签量
  22807. type: number
  22808. marketid:
  22809. description: 市场ID
  22810. type: integer
  22811. maxbuyqty:
  22812. description: 单人最大申购量
  22813. type: number
  22814. maxluckyqty:
  22815. description: 单人最大中签量
  22816. type: number
  22817. pictureurls:
  22818. description: 详情图片(逗号分隔)
  22819. type: string
  22820. placeqty:
  22821. description: 已配售量
  22822. type: number
  22823. presaleapplyid:
  22824. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  22825. example: "0"
  22826. type: string
  22827. presaleqty:
  22828. description: 预售总量
  22829. type: number
  22830. presalestatus:
  22831. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  22832. type: integer
  22833. sellaccountid:
  22834. description: 发行方资金账户ID
  22835. type: integer
  22836. selluserid:
  22837. description: 发行方用户ID
  22838. type: integer
  22839. sellwrtradeorderid:
  22840. description: 发行方卖委托单ID
  22841. type: string
  22842. startdate:
  22843. description: 预售开始日期
  22844. type: string
  22845. takestartdate:
  22846. description: 提货开始日期
  22847. type: string
  22848. thumurls:
  22849. description: 缩略图片(1:1)(逗号分隔)
  22850. type: string
  22851. tradedate:
  22852. description: 交易日
  22853. type: string
  22854. unitid:
  22855. description: 单位ID
  22856. type: integer
  22857. unitprice:
  22858. description: 商品单价
  22859. type: number
  22860. username:
  22861. description: 发行方用户名称
  22862. type: string
  22863. warehousecode:
  22864. description: 仓库代码(仓库简称)
  22865. type: string
  22866. warehouseid:
  22867. description: 仓库ID
  22868. type: integer
  22869. warehousename:
  22870. description: 仓库名称
  22871. type: string
  22872. wrfactortypeid:
  22873. description: 仓单要素类型ID - 根据现货商品\仓库生成
  22874. example: "0"
  22875. type: string
  22876. wrstandardid:
  22877. description: 现货商品ID
  22878. type: integer
  22879. wrstandardname:
  22880. description: 现货商品名称
  22881. type: string
  22882. type: object
  22883. models.WrQuoteOrderMyq:
  22884. properties:
  22885. buyorsell:
  22886. description: 买卖 - 0:买 1:卖
  22887. type: integer
  22888. canbargain:
  22889. description: 是否可议价 - 0:不可 1:可
  22890. type: integer
  22891. canpart:
  22892. description: 是否允许部份摘牌 - 0:不允许 1:允许
  22893. type: integer
  22894. delistminqty:
  22895. description: 期初均价
  22896. type: number
  22897. deliverygoodscode:
  22898. description: 品种代码
  22899. type: string
  22900. deliverygoodsid:
  22901. description: 品种ID
  22902. type: integer
  22903. deliverygoodsname:
  22904. description: 品种名称
  22905. type: string
  22906. deliverymonth:
  22907. description: 交收月
  22908. type: string
  22909. enumdicname:
  22910. description: 单位名称
  22911. type: string
  22912. fixedprice:
  22913. description: 买(卖)价
  22914. type: number
  22915. goodscode:
  22916. description: 商品合约代码
  22917. type: string
  22918. marginflag:
  22919. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  22920. type: integer
  22921. marginvalue:
  22922. description: 保证金设置值
  22923. type: number
  22924. minivalue:
  22925. description: 现货商品最小变动值
  22926. type: integer
  22927. orderqty:
  22928. description: 买(卖)量(=委托量-成交量)
  22929. type: number
  22930. ordertime:
  22931. description: 委托时间
  22932. type: string
  22933. performancetemplateid:
  22934. description: 履约模板id
  22935. type: integer
  22936. pricemove:
  22937. description: 买(卖)升贴水- 基差
  22938. type: number
  22939. templatename:
  22940. description: 履约模板名称
  22941. type: string
  22942. userid:
  22943. description: 购买方(销售方)用户ID
  22944. type: integer
  22945. username:
  22946. description: 购买方(销售方)
  22947. type: string
  22948. validtime:
  22949. description: 有效期限
  22950. type: string
  22951. validtype:
  22952. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  22953. type: integer
  22954. warehousename:
  22955. description: 仓库名称
  22956. type: string
  22957. wrfactortypeid:
  22958. description: 仓单要素id
  22959. type: string
  22960. wrstandardcode:
  22961. description: 现货商品代码
  22962. type: string
  22963. wrstandardid:
  22964. description: 现货商品ID
  22965. type: integer
  22966. wrstandardname:
  22967. description: 商品名称
  22968. type: string
  22969. wrtradeorderid:
  22970. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  22971. type: string
  22972. wrtypename:
  22973. description: 商品
  22974. type: string
  22975. type: object
  22976. models.WrReckonSpotGoodsTradeSum:
  22977. properties:
  22978. begindate:
  22979. description: 开始日期(结果含开始日期) yyyymmdd
  22980. type: string
  22981. enddate:
  22982. description: 结束日期(结果含结束日期) yyyymmdd
  22983. type: string
  22984. istoday:
  22985. description: 是否当日
  22986. type: boolean
  22987. marketid:
  22988. description: 市场ID
  22989. type: integer
  22990. price:
  22991. description: 价格 = 日成交金额 / 日成交数量
  22992. type: string
  22993. reckondate:
  22994. description: 日期 格式 yyyymmdd
  22995. type: string
  22996. tradeamount:
  22997. description: 期初均价
  22998. type: number
  22999. tradeqty:
  23000. description: 期初均价
  23001. type: number
  23002. wrstandardid:
  23003. description: 现货商品ID
  23004. type: integer
  23005. type: object
  23006. models.WrScfContract:
  23007. properties:
  23008. borroweruserid:
  23009. description: 借款用户ID
  23010. type: integer
  23011. buybackwrpositionqty:
  23012. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  23013. type: number
  23014. closeinterest:
  23015. description: 已结利息 -> 已结费用
  23016. type: number
  23017. currisklevel:
  23018. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  23019. type: integer
  23020. deadline:
  23021. description: 截止日期(yyyyMMdd) -> 借款到期时间
  23022. type: string
  23023. deliverygoodscode:
  23024. description: 品种代码
  23025. type: string
  23026. deliverygoodsid:
  23027. description: 品种ID
  23028. type: integer
  23029. deliverygoodsname:
  23030. description: 品种名称
  23031. type: string
  23032. enumdicname:
  23033. description: 单位名称
  23034. type: string
  23035. financingdays:
  23036. description: 天数(天)
  23037. type: integer
  23038. initmargin:
  23039. description: 保证金 - [仓单回购]
  23040. type: number
  23041. interestamount:
  23042. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  23043. type: number
  23044. interestdebt:
  23045. description: 利息欠款(记录负数) -> 费用欠款
  23046. type: number
  23047. interestminlen:
  23048. description: 最小起息天数
  23049. type: integer
  23050. interestrate:
  23051. description: 利率
  23052. type: number
  23053. interestratemode:
  23054. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  23055. type: integer
  23056. interestsettlemode:
  23057. description: 结息方式 - 1:按日结息 3:按月结息
  23058. type: integer
  23059. interestsettlevalue:
  23060. description: 结息方式值
  23061. type: integer
  23062. isautoloan:
  23063. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  23064. type: integer
  23065. lastcloseinterestday:
  23066. description: 最近结息日(yyyyMMdd)
  23067. type: string
  23068. lenderamount:
  23069. description: 贷款金额 -> 借款金额
  23070. type: number
  23071. lenderuserid:
  23072. description: 贷款方用户ID -> 融出方用户ID
  23073. type: integer
  23074. lenderusername:
  23075. description: 融出方
  23076. type: string
  23077. marginratio:
  23078. description: 保证金比率质押率 - [仓单质押]
  23079. type: number
  23080. marketid:
  23081. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  23082. type: integer
  23083. minivalue:
  23084. description: 现货商品最小变动值
  23085. type: integer
  23086. optioncompare:
  23087. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23088. type: string
  23089. pricemove:
  23090. description: 估值升贴水值
  23091. type: number
  23092. productdetailid:
  23093. description: 产品组合ID
  23094. type: integer
  23095. productid:
  23096. description: 金融产品ID
  23097. type: integer
  23098. productname:
  23099. description: 产品名称
  23100. type: string
  23101. remainamount:
  23102. description: 合同剩余金额 -> 剩余金额
  23103. type: number
  23104. remainwrpositionqty:
  23105. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  23106. type: number
  23107. remark:
  23108. description: 备注
  23109. type: string
  23110. scfcontractid:
  23111. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  23112. type: string
  23113. scfcontractstatus:
  23114. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  23115. 9:违约结束 10:已注销 11:已关闭 99:未提交
  23116. type: integer
  23117. scfcontracttype:
  23118. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  23119. type: integer
  23120. startinterestday:
  23121. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  23122. type: string
  23123. totalinterest:
  23124. description: 已计利息 -> 已计费用
  23125. type: number
  23126. unpaidinterest:
  23127. description: 期初均价
  23128. type: number
  23129. updatetime:
  23130. description: 更新时间
  23131. type: string
  23132. warehouseid:
  23133. description: 仓库ID
  23134. type: integer
  23135. warehousename:
  23136. description: 仓库名称
  23137. type: string
  23138. wrfactortypeid:
  23139. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23140. type: string
  23141. wrfactortypename:
  23142. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23143. type: string
  23144. wrqty:
  23145. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  23146. type: number
  23147. wrstandardcode:
  23148. description: 现货商品代码
  23149. type: string
  23150. wrstandardid:
  23151. description: 现货商品ID
  23152. type: integer
  23153. wrstandardname:
  23154. description: 商品名称
  23155. type: string
  23156. wrtypename:
  23157. description: 商品
  23158. type: string
  23159. type: object
  23160. models.WrScfContractInterest:
  23161. properties:
  23162. closeinterest:
  23163. description: 已结利息
  23164. type: number
  23165. closeintereststatus:
  23166. description: 结息状态 - 1:未结 2:已结
  23167. type: integer
  23168. closetime:
  23169. description: 结息时间
  23170. type: string
  23171. closetradedate:
  23172. description: 结息交易日
  23173. type: string
  23174. creatorid:
  23175. description: 操作人ID
  23176. type: integer
  23177. dayrate:
  23178. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  23179. type: number
  23180. interest:
  23181. description: 利息
  23182. type: number
  23183. interestamount:
  23184. description: 计息金额
  23185. type: number
  23186. interestday:
  23187. description: 计息日(yyyyMMdd)
  23188. type: string
  23189. scfcontractid:
  23190. description: SCF合同ID
  23191. type: string
  23192. scfcontractinterestid:
  23193. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  23194. type: integer
  23195. updatetime:
  23196. description: 更新时间
  23197. type: string
  23198. type: object
  23199. models.WrSearchUser:
  23200. properties:
  23201. userid:
  23202. description: 用户ID
  23203. type: integer
  23204. username:
  23205. description: 用户名称(已脱敏)
  23206. type: string
  23207. username2:
  23208. description: 用户名称(未脱敏)
  23209. type: string
  23210. usertype:
  23211. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  23212. type: integer
  23213. required:
  23214. - username
  23215. type: object
  23216. models.WrSiteColumnDetail:
  23217. properties:
  23218. author:
  23219. description: 作者
  23220. type: string
  23221. brief:
  23222. description: 简介
  23223. type: string
  23224. context:
  23225. description: 内容
  23226. type: string
  23227. coverimage:
  23228. description: 封面图片
  23229. type: string
  23230. creaedate:
  23231. description: 创建时间
  23232. type: string
  23233. id:
  23234. description: ID(SEQ_SITE_COLUMNDETAIL)
  23235. type: integer
  23236. istop:
  23237. description: 是否置顶 - 0:不置 1:置顶
  23238. type: integer
  23239. publishdate:
  23240. description: 发布日期
  23241. type: string
  23242. title:
  23243. description: 标题
  23244. type: string
  23245. updatedate:
  23246. description: 修改时间
  23247. type: string
  23248. type: object
  23249. models.WrSpecialMatchOrder:
  23250. properties:
  23251. amount:
  23252. description: 金额 = 数量 * 价格
  23253. type: number
  23254. buyorsell:
  23255. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23256. type: integer
  23257. cancelqty:
  23258. description: 撤销数量
  23259. type: number
  23260. deliverygoodscode:
  23261. description: 品种代码
  23262. type: string
  23263. deliverygoodsid:
  23264. description: 品种ID
  23265. type: integer
  23266. deliverygoodsname:
  23267. description: 品种名称
  23268. type: string
  23269. enumdicname:
  23270. description: 单位名称
  23271. type: string
  23272. fixedprice:
  23273. description: 固定价格(价格)
  23274. type: number
  23275. haswr:
  23276. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23277. type: integer
  23278. isspecified:
  23279. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  23280. type: integer
  23281. marketid:
  23282. description: 市场ID
  23283. type: integer
  23284. matchuserid:
  23285. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  23286. type: integer
  23287. matchusername:
  23288. description: 指定方
  23289. type: string
  23290. minivalue:
  23291. description: 现货商品最小变动值
  23292. type: integer
  23293. optioncompare:
  23294. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23295. type: string
  23296. orderqty:
  23297. description: 委托数量
  23298. type: number
  23299. ordertime:
  23300. description: 委托时间
  23301. type: string
  23302. pricemove:
  23303. description: 升贴水(浮动价时填写) - [挂牌]
  23304. type: number
  23305. tradedate:
  23306. description: 交易日(yyyyMMdd)
  23307. type: string
  23308. tradeprice:
  23309. description: 成交价格
  23310. type: number
  23311. tradeqty:
  23312. description: 成交数量
  23313. type: number
  23314. userid:
  23315. description: 用户ID
  23316. type: integer
  23317. username:
  23318. description: 发起方
  23319. type: string
  23320. warehouseid:
  23321. description: 仓库ID
  23322. type: integer
  23323. warehousename:
  23324. description: 仓库名称
  23325. type: string
  23326. wrfactortypeid:
  23327. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23328. type: string
  23329. wrfactortypename:
  23330. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23331. type: string
  23332. wrpricetype:
  23333. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  23334. type: integer
  23335. wrstandardcode:
  23336. description: 现货商品代码
  23337. type: string
  23338. wrstandardid:
  23339. description: 现货商品ID
  23340. type: integer
  23341. wrstandardname:
  23342. description: 商品名称
  23343. type: string
  23344. wrtradeorderid:
  23345. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  23346. type: string
  23347. wrtradeorderstatus:
  23348. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  23349. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  23350. type: integer
  23351. wrtradetype:
  23352. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23353. type: integer
  23354. wrtypename:
  23355. description: 商品
  23356. type: string
  23357. type: object
  23358. models.WrSpotGroupTradeSum:
  23359. properties:
  23360. deliverygoodscode:
  23361. description: 现货品种代码
  23362. type: string
  23363. deliverygoodsid:
  23364. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23365. type: integer
  23366. deliverygoodsname:
  23367. description: 现货品种名称
  23368. type: string
  23369. lastavgprice:
  23370. description: 上上个交易日价格(前2天价格)
  23371. type: string
  23372. lastreckondate:
  23373. description: 上上个交易日(前2天交易日)
  23374. type: string
  23375. reckondate:
  23376. description: 上个交易日(前1天交易日)
  23377. type: string
  23378. todayavgprice:
  23379. description: 上个交易日价格(前1天价格)
  23380. type: string
  23381. updown:
  23382. description: 涨跌
  23383. type: string
  23384. updownratio:
  23385. description: 涨幅(已格式化, 直接显示即可)
  23386. type: string
  23387. type: object
  23388. models.WrSpotGroupTradeSumDetail:
  23389. properties:
  23390. deliverygoodsid:
  23391. description: 现货商品id
  23392. type: integer
  23393. price:
  23394. description: 价格
  23395. type: number
  23396. reckondate:
  23397. description: 日期(yyymmdd, 如:20211031)
  23398. type: string
  23399. type: object
  23400. models.WrSpotGroupTradeSumEx:
  23401. properties:
  23402. lst:
  23403. description: 指数列表
  23404. items:
  23405. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  23406. type: array
  23407. prereckondate:
  23408. description: 上上个交易日(yyymmdd)
  23409. type: string
  23410. reckondate:
  23411. description: 上个交易日(yyyymmdd)
  23412. type: string
  23413. type: object
  23414. models.WrStandardFactoryItem:
  23415. properties:
  23416. dgfactoryitemid:
  23417. description: 选择项id
  23418. type: integer
  23419. dgfactoryitemvalue:
  23420. description: 要素项值
  23421. type: string
  23422. warehouseid:
  23423. description: 仓库id
  23424. type: integer
  23425. type: object
  23426. models.WrStandardFactoryItemEx:
  23427. properties:
  23428. dgfactoryitemtypeid:
  23429. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  23430. type: integer
  23431. itemlst:
  23432. description: 要素项列表
  23433. items:
  23434. $ref: '#/definitions/models.WrStandardFactoryItem'
  23435. type: array
  23436. itemtypename:
  23437. description: 要素项类型名称
  23438. type: string
  23439. wrstandardid:
  23440. description: 品类
  23441. type: integer
  23442. type: object
  23443. models.WrTradeDetail:
  23444. properties:
  23445. accountid:
  23446. description: 资金账号
  23447. type: integer
  23448. bannerpicurl:
  23449. description: Banner图
  23450. type: string
  23451. begindate:
  23452. description: 开始交易日(yyyymmdd)
  23453. type: string
  23454. buyorsell:
  23455. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  23456. type: integer
  23457. chargevalue:
  23458. description: 手续费
  23459. type: number
  23460. contractaddr:
  23461. description: 合同地址
  23462. type: string
  23463. deliverygoodscode:
  23464. description: 品种代码
  23465. type: string
  23466. deliverygoodsid:
  23467. description: 品种ID
  23468. type: integer
  23469. deliverygoodsname:
  23470. description: 品种名称
  23471. type: string
  23472. deliverymonth:
  23473. description: 交收月
  23474. type: string
  23475. enddate:
  23476. description: 结束交易日(yyyymmdd)
  23477. type: string
  23478. enumdicname:
  23479. description: 单位名称
  23480. type: string
  23481. haswr:
  23482. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  23483. type: integer
  23484. marketid:
  23485. description: 市场ID
  23486. type: integer
  23487. matchaccountid:
  23488. description: 对手账号
  23489. type: integer
  23490. matchusername:
  23491. description: 对手方
  23492. type: string
  23493. minivalue:
  23494. description: 现货商品最小变动值
  23495. type: integer
  23496. optioncompare:
  23497. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  23498. type: string
  23499. thumurls:
  23500. description: 缩略图
  23501. type: string
  23502. tradedate:
  23503. description: 交易日(yyyyMMdd)
  23504. type: string
  23505. tradeprice:
  23506. description: 成交价格
  23507. type: number
  23508. tradeqty:
  23509. description: 成交数量
  23510. type: number
  23511. tradetime:
  23512. description: 成交时间
  23513. type: string
  23514. unitid:
  23515. description: 现货商品单位ID
  23516. type: integer
  23517. userid:
  23518. description: 用户ID
  23519. type: integer
  23520. warehouseid:
  23521. description: 仓库ID
  23522. type: integer
  23523. warehousename:
  23524. description: 仓库名称
  23525. type: string
  23526. wrfactortypeid:
  23527. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  23528. type: string
  23529. wrfactortypename:
  23530. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  23531. type: string
  23532. wrstandardcode:
  23533. description: 现货商品代码
  23534. type: string
  23535. wrstandardid:
  23536. description: 现货商品ID
  23537. type: integer
  23538. wrstandardname:
  23539. description: 商品名称
  23540. type: string
  23541. wrtradedetailid:
  23542. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23543. type: string
  23544. wrtradetype:
  23545. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  23546. type: integer
  23547. wrtypename:
  23548. description: 商品
  23549. type: string
  23550. type: object
  23551. models.WrTradeOrderDetail:
  23552. properties:
  23553. buyorsell:
  23554. description: 买卖方向 0-买 1-卖
  23555. type: integer
  23556. goodsid:
  23557. description: 商品id
  23558. type: integer
  23559. orderid:
  23560. description: 委托单号
  23561. type: string
  23562. orderprice:
  23563. description: 期初均价
  23564. type: number
  23565. orderqty:
  23566. description: 委托数量
  23567. type: integer
  23568. userid:
  23569. description: 用户id
  23570. type: integer
  23571. username:
  23572. description: 用户名称(已脱敏)
  23573. type: string
  23574. type: object
  23575. models.WrTypeItem:
  23576. properties:
  23577. name:
  23578. description: 名称
  23579. type: string
  23580. value:
  23581. description: 值
  23582. type: string
  23583. type: object
  23584. models.WrUserFriend:
  23585. properties:
  23586. friendname:
  23587. description: 朋友名称(已脱敏)
  23588. type: string
  23589. frienduserid:
  23590. description: 朋友id
  23591. type: integer
  23592. isfriend:
  23593. description: 是否好友 0-不是 1-是
  23594. type: integer
  23595. userid:
  23596. description: 用户id
  23597. type: integer
  23598. type: object
  23599. models.WrUserReceiptInfo:
  23600. properties:
  23601. address:
  23602. description: 地址[发票类型:企业]
  23603. type: string
  23604. autoid:
  23605. description: AutoID
  23606. type: integer
  23607. contactinfo:
  23608. description: 联系方式
  23609. type: string
  23610. email:
  23611. description: 收件邮箱
  23612. type: string
  23613. idnum:
  23614. description: 身份证号码[发票类型:个人]
  23615. type: string
  23616. isdefault:
  23617. description: 是否默认地址 - 0:否 1:是
  23618. type: integer
  23619. receiptaccount:
  23620. description: 发票帐号[发票类型:企业]
  23621. type: string
  23622. receiptbank:
  23623. description: 发票开户行[发票类型:企业]
  23624. type: string
  23625. receipttype:
  23626. description: 发票类型 - 1:个人 2:企业
  23627. type: integer
  23628. taxpayerid:
  23629. description: 纳税人识别号
  23630. type: string
  23631. userid:
  23632. description: 用户ID
  23633. type: integer
  23634. username:
  23635. description: 户名(个人姓名或企业名称)
  23636. type: string
  23637. type: object
  23638. models.Wrtradetradequote:
  23639. properties:
  23640. buyaccountid:
  23641. description: 买方账号ID
  23642. type: integer
  23643. buychargevalue:
  23644. description: 买方手续费
  23645. type: number
  23646. buyuserid:
  23647. description: 买方用户ID
  23648. type: integer
  23649. deliverygoodsid:
  23650. description: 现货品种ID
  23651. type: integer
  23652. exchangerate:
  23653. description: 汇率
  23654. type: number
  23655. marketid:
  23656. description: 市场ID
  23657. type: integer
  23658. oritradeamount:
  23659. description: 成交金额[商品币种]
  23660. type: number
  23661. performanceplanid:
  23662. description: 履约计划ID/合同ID
  23663. type: integer
  23664. sellaccountid:
  23665. description: 卖方账号ID
  23666. type: integer
  23667. sellchargevalue:
  23668. description: 卖方手续费
  23669. type: number
  23670. selluserid:
  23671. description: 卖方用户ID
  23672. type: integer
  23673. tradeamount:
  23674. description: 成交金额
  23675. type: number
  23676. tradedate:
  23677. description: 交易日(yyyyMMdd)
  23678. type: string
  23679. tradeprice:
  23680. description: 成交价格
  23681. type: number
  23682. tradeqty:
  23683. description: 成交数量
  23684. type: integer
  23685. tradetime:
  23686. description: 成交时间
  23687. type: string
  23688. wrfactortypeid:
  23689. description: 仓单要素类型ID
  23690. type: integer
  23691. wrstandardid:
  23692. description: 现货商品ID
  23693. type: integer
  23694. wrtradedetailid:
  23695. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  23696. type: integer
  23697. type: object
  23698. models.XHBRAND:
  23699. properties:
  23700. brandid:
  23701. description: 品牌id
  23702. type: integer
  23703. brandname:
  23704. description: 品牌名称
  23705. type: string
  23706. isvalid:
  23707. description: 是否有效 0-无效 1-有效
  23708. type: integer
  23709. type: object
  23710. models.XHDeliveryGoods:
  23711. properties:
  23712. areauserid:
  23713. description: 所属机构
  23714. type: integer
  23715. bdlst:
  23716. description: 品牌列表
  23717. items:
  23718. $ref: '#/definitions/models.XHBRAND'
  23719. type: array
  23720. deliverygoodscode:
  23721. description: 现货品种代码
  23722. type: string
  23723. deliverygoodsid:
  23724. description: 现货品种ID(SEQ_DELIVERYGOODS)
  23725. type: integer
  23726. deliverygoodsname:
  23727. description: 现货品种名称
  23728. type: string
  23729. dgstatus:
  23730. description: 品种状态 - 作废 - 0:未激活 1:正常
  23731. type: integer
  23732. filterSubEmpty:
  23733. description: 过滤下级为空的
  23734. type: integer
  23735. isvalid:
  23736. description: 是否有效 - 0:无效 1:有效
  23737. type: integer
  23738. remark:
  23739. description: 备注
  23740. type: string
  23741. unitid:
  23742. description: 单位id(目前看,数据库中是空值)
  23743. type: integer
  23744. wdlst:
  23745. description: 品类(现货商品)列表
  23746. items:
  23747. $ref: '#/definitions/models.XHWrstandard'
  23748. type: array
  23749. type: object
  23750. models.XHMiddleGoods:
  23751. properties:
  23752. GPLST:
  23753. description: 期货品种列表
  23754. items:
  23755. $ref: '#/definitions/models.TBGoodsGroup'
  23756. type: array
  23757. convertratio:
  23758. description: 拆算系数
  23759. type: number
  23760. costratio:
  23761. description: 成本权重
  23762. type: number
  23763. deliverygoodsid:
  23764. description: 现货商品id
  23765. type: integer
  23766. enumdicname:
  23767. description: 单位名称
  23768. type: string
  23769. middlegoodscode:
  23770. description: 套保品种代码
  23771. type: string
  23772. middlegoodsid:
  23773. description: 套保品种id
  23774. type: integer
  23775. middlegoodsname:
  23776. description: 套保品种名称
  23777. type: string
  23778. unitid:
  23779. description: 单位id
  23780. type: integer
  23781. type: object
  23782. models.XHWrstandard:
  23783. properties:
  23784. bannerpicurl:
  23785. description: banner图
  23786. type: string
  23787. deliverygoodsid:
  23788. description: 品种ID
  23789. type: integer
  23790. enumdicname:
  23791. description: 单位名称
  23792. type: string
  23793. mglst:
  23794. description: 套保品列表
  23795. items:
  23796. $ref: '#/definitions/models.XHMiddleGoods'
  23797. type: array
  23798. pictureurls:
  23799. description: 详情图片(逗号分隔)
  23800. type: string
  23801. thumurls:
  23802. description: 缩略图片(1:1)(逗号分隔)
  23803. type: string
  23804. unitid:
  23805. description: 单位id
  23806. type: integer
  23807. vatrate:
  23808. description: 增值税率
  23809. type: number
  23810. wrstandardcode:
  23811. description: 现货商品代码
  23812. type: string
  23813. wrstandardid:
  23814. description: 现货商品ID(SEQ_WRSTANDARD)
  23815. type: integer
  23816. wrstandardname:
  23817. description: 现货商品名称
  23818. type: string
  23819. type: object
  23820. models.XhcpSellBackApplyEx:
  23821. properties:
  23822. applyremark:
  23823. description: 申请备注
  23824. type: string
  23825. expirytype:
  23826. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23827. type: integer
  23828. goodsspec:
  23829. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23830. type: integer
  23831. holeflag:
  23832. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23833. type: integer
  23834. isunopened:
  23835. description: 是否原封 - 1:否 2:是
  23836. type: integer
  23837. mpflag:
  23838. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23839. type: integer
  23840. openflag:
  23841. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23842. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23843. type: integer
  23844. phonenum:
  23845. description: 联系电话
  23846. type: string
  23847. userid:
  23848. description: 所属用户ID
  23849. type: integer
  23850. zpflag:
  23851. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23852. type: integer
  23853. required:
  23854. - userid
  23855. type: object
  23856. models.Xhcpsellbackapply:
  23857. properties:
  23858. applyid:
  23859. description: 申请人
  23860. type: integer
  23861. applyremark:
  23862. description: 申请备注
  23863. type: string
  23864. applysrc:
  23865. description: 申请来源 - 1:管理端 2:终端
  23866. type: integer
  23867. applystatus:
  23868. description: 申请状态 - 1:待确认 2:已处理
  23869. type: integer
  23870. applytime:
  23871. description: 申请时间
  23872. type: string
  23873. auditremark:
  23874. description: 审核备注
  23875. type: string
  23876. auditsrc:
  23877. description: 审核来源 - 1:管理端 2:终端
  23878. type: integer
  23879. expirytype:
  23880. description: 寄售有效期 - 1:3天 2:7天 3:15天 4:长期
  23881. type: integer
  23882. goodsspec:
  23883. description: 商品规格 - 1:整件 2;整提 3:单罐 4:单盒
  23884. type: integer
  23885. holeflag:
  23886. description: 是否破洞[原封] - 1:无破洞 2:破洞
  23887. type: integer
  23888. isunopened:
  23889. description: 是否原封 - 1:否 2:是
  23890. type: integer
  23891. mpflag:
  23892. description: 磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮
  23893. type: integer
  23894. openflag:
  23895. description: 是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。
  23896. 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。
  23897. type: integer
  23898. phonenum:
  23899. description: 联系电话
  23900. type: string
  23901. sellbackapplyid:
  23902. description: 回收申请ID - SEQ_XHCP_SELLBACKAPPLY
  23903. type: string
  23904. userid:
  23905. description: 所属用户ID
  23906. type: integer
  23907. zpflag:
  23908. description: 皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮
  23909. type: integer
  23910. required:
  23911. - userid
  23912. type: object
  23913. order.QueryHisTradeDetailRsp:
  23914. properties:
  23915. accountid:
  23916. description: 账户ID[报价币种]
  23917. type: integer
  23918. advanceratio:
  23919. description: 首付比率
  23920. type: number
  23921. buildtype:
  23922. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  23923. type: integer
  23924. buyorsell:
  23925. description: 方向 - 0:买 1:卖
  23926. type: integer
  23927. charge:
  23928. description: 手续费
  23929. type: number
  23930. closecharge:
  23931. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  23932. type: number
  23933. closeexchagechargevalue:
  23934. description: 平仓交易所手续费设置值
  23935. type: number
  23936. closefeealgorithm:
  23937. description: 平仓手续费收取方式 1:比率 2:固定
  23938. type: integer
  23939. closememberchargevalue:
  23940. description: 平仓会员手续费设置值
  23941. type: number
  23942. closepl:
  23943. description: 平仓盈亏
  23944. type: number
  23945. closepl2:
  23946. description: 平仓盈亏[逐笔]
  23947. type: number
  23948. closeqty:
  23949. description: 平仓数量(先建后平操作 需要记录)
  23950. type: number
  23951. creditamount:
  23952. description: 授信金额
  23953. type: number
  23954. decimalplace:
  23955. description: 商品报价小数位
  23956. type: integer
  23957. enumdicname:
  23958. description: 单位名称
  23959. type: string
  23960. gcaccountid:
  23961. description: 账户ID[合约币种]
  23962. type: integer
  23963. goodscode:
  23964. description: 商品代码
  23965. type: string
  23966. goodsid:
  23967. description: 商品ID
  23968. type: integer
  23969. goodsname:
  23970. description: 商品名称
  23971. type: string
  23972. goodunitid:
  23973. description: 商品单位id
  23974. type: integer
  23975. histradedate:
  23976. description: 历史交易日
  23977. type: string
  23978. intclosepl:
  23979. description: 整型盈亏(用于交易结算试算平衡-收益权)
  23980. type: integer
  23981. isconfirmexercise:
  23982. description: 是否确认行权- 0:否 1:是
  23983. type: integer
  23984. ismain:
  23985. description: 是否主单 - 0:不是 1:是
  23986. type: integer
  23987. ispreexercise:
  23988. description: 是否预申报- 0:否 1:是
  23989. type: integer
  23990. isreckoned:
  23991. description: 是否结算 - 0:未结算 1:已结算
  23992. type: integer
  23993. isvaliddata:
  23994. description: 是否有效 - 0:无效 1:有效
  23995. type: integer
  23996. listingselecttype:
  23997. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  23998. type: integer
  23999. marketid:
  24000. description: 市场ID
  24001. type: integer
  24002. marketname:
  24003. description: 市场名称
  24004. type: string
  24005. matchaccountid:
  24006. description: 对手账号id
  24007. type: integer
  24008. memberuserid:
  24009. description: 会员id 个人投资者 需要填写
  24010. type: integer
  24011. opencharge:
  24012. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24013. type: number
  24014. openexchagechargevalue:
  24015. description: 建仓交易所手续费设置值
  24016. type: number
  24017. openfeealgorithm:
  24018. description: 建仓手续费收取方式 1:比率 2:固定
  24019. type: integer
  24020. openmemberchargevalue:
  24021. description: 建仓会员手续费设置值
  24022. type: number
  24023. openqty:
  24024. description: 开仓数量(先建后平操作 需要记录)
  24025. type: number
  24026. optiontype:
  24027. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24028. type: integer
  24029. orderid:
  24030. description: 委托单号
  24031. type: string
  24032. payamount:
  24033. description: 支付金额(付款金额)
  24034. type: number
  24035. performanceplanid:
  24036. description: 履约计划ID[期权]
  24037. type: integer
  24038. performancestatus:
  24039. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24040. type: integer
  24041. preexerciseprice:
  24042. description: 预申报价格
  24043. type: number
  24044. premium:
  24045. description: 权利金 - [持仓单的权利金]
  24046. type: number
  24047. qtydecimalplace:
  24048. description: 商品报价小数位
  24049. type: integer
  24050. recvamount:
  24051. description: 到账金额 = 成交金额 - 手续费
  24052. type: number
  24053. relatedouttradeid:
  24054. description: 关联外部成交单ID
  24055. type: integer
  24056. status:
  24057. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24058. type: integer
  24059. totalamount:
  24060. description: 订单总额 = 成交金额 + 手续费
  24061. type: number
  24062. tradeamount:
  24063. description: 成交金额[账户币种,用于所有权]
  24064. type: number
  24065. tradedate:
  24066. description: 交易日(yyyyMMdd)
  24067. type: string
  24068. tradeid:
  24069. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24070. type: string
  24071. trademode:
  24072. description: 交易模式
  24073. type: integer
  24074. tradeprice:
  24075. description: 成交价格
  24076. type: number
  24077. tradeproperty:
  24078. description: 交易属性
  24079. type: integer
  24080. tradeqty:
  24081. description: 成交数量
  24082. type: number
  24083. tradetime:
  24084. description: 成交时间
  24085. type: string
  24086. tradetype:
  24087. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24088. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24089. type: integer
  24090. required:
  24091. - accountid
  24092. - buyorsell
  24093. - goodsid
  24094. - histradedate
  24095. - marketid
  24096. - memberuserid
  24097. - orderid
  24098. - tradeamount
  24099. - tradedate
  24100. - tradeid
  24101. - tradeprice
  24102. - tradeqty
  24103. - tradetime
  24104. type: object
  24105. order.QueryHisTradeOrderDetailRsp:
  24106. properties:
  24107. accountid:
  24108. description: 账户ID[报价币种]
  24109. type: integer
  24110. buildtype:
  24111. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24112. type: integer
  24113. buyorsell:
  24114. description: 买卖 - 0:买 1:卖
  24115. type: integer
  24116. cancelorderid:
  24117. description: 撤单单号(撤单时填写)
  24118. type: string
  24119. cancelqty:
  24120. description: 撤单数量
  24121. type: number
  24122. clientordertime:
  24123. description: 客户端委托时间
  24124. type: string
  24125. clientticket:
  24126. description: 客户端流水号
  24127. type: string
  24128. clienttype:
  24129. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24130. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24131. type: integer
  24132. closeexchagechargevalue:
  24133. description: 平仓交易所手续费设置值
  24134. type: number
  24135. closefeealgorithm:
  24136. description: 平仓手续费收取方式 1:比率 2:固定
  24137. type: integer
  24138. closefreezecharge:
  24139. description: 平仓冻结手续费(先建后平操作,需要记录)
  24140. type: number
  24141. closememberchargevalue:
  24142. description: 平仓会员手续费设置值
  24143. type: number
  24144. closeqty:
  24145. description: 平仓数量(先建后平操作 需要记录)
  24146. type: number
  24147. closetradeqty:
  24148. description: 平仓成交数量(先建后平操作,需要记录)
  24149. type: number
  24150. closeunfreezecharge:
  24151. description: 平仓解冻手续费(先建后平操作,需要记录)
  24152. type: number
  24153. decimalplace:
  24154. description: 商品报价小数位
  24155. type: integer
  24156. delistingtype:
  24157. description: 摘牌类型 - 1:价格最优 2:点选成交
  24158. type: integer
  24159. enumdicname:
  24160. description: 单位名称
  24161. type: string
  24162. freezecharge:
  24163. description: 冻结手续费
  24164. type: number
  24165. freezemargin:
  24166. description: 冻结保证金(冻结交易金额)
  24167. type: number
  24168. gcaccountid:
  24169. description: 账户ID[合约币种]
  24170. type: integer
  24171. goodscode:
  24172. description: 商品代码
  24173. type: string
  24174. goodsid:
  24175. description: 商品ID
  24176. type: integer
  24177. goodsname:
  24178. description: 商品名称
  24179. type: string
  24180. goodunitid:
  24181. description: 商品单位id
  24182. type: integer
  24183. histradedate:
  24184. description: 历史交易日
  24185. type: string
  24186. isconfirmexercise:
  24187. description: 是否确认行权- 0:否 1:是
  24188. type: integer
  24189. ispreexercise:
  24190. description: 是否预申报- 0:否 1:是
  24191. type: integer
  24192. isvaliddata:
  24193. description: 是否有效 - 0:无效 1:有效
  24194. type: integer
  24195. listingselecttype:
  24196. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24197. type: integer
  24198. marginalgorithm:
  24199. description: 保证金收取方式 1:比率 2:固定
  24200. type: integer
  24201. marginvalue:
  24202. description: 即市保证金设置值
  24203. type: number
  24204. marketid:
  24205. description: 市场ID
  24206. type: integer
  24207. marketmaxsub:
  24208. description: 市价最大偏移范围
  24209. type: number
  24210. marketname:
  24211. description: 市场名称
  24212. type: string
  24213. memberuserid:
  24214. description: 所属会员UserID
  24215. type: integer
  24216. openexchagechargevalue:
  24217. description: 建仓交易所手续费设置值
  24218. type: number
  24219. openfeealgorithm:
  24220. description: 建仓手续费收取方式 1:比率 2:固定
  24221. type: integer
  24222. openfreezecharge:
  24223. description: 开仓冻结手续费(先建后平操作,需要记录)
  24224. type: number
  24225. openmemberchargevalue:
  24226. description: 建仓会员手续费设置值
  24227. type: number
  24228. openqty:
  24229. description: 开仓数量(先建后平操作,需要记录)
  24230. type: number
  24231. opentradeqty:
  24232. description: 开仓成交数量(先建后平操作,需要记录)
  24233. type: number
  24234. openunfreezecharge:
  24235. description: 开仓解冻手续费(先建后平操作,需要记录)
  24236. type: number
  24237. operatetype:
  24238. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24239. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24240. 15:管理端协议转让
  24241. type: integer
  24242. operatorid:
  24243. description: 登录账号(LoginID)
  24244. type: integer
  24245. optiontype:
  24246. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24247. type: integer
  24248. orderid:
  24249. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24250. type: string
  24251. orderprice:
  24252. description: 委托价格
  24253. type: number
  24254. orderqty:
  24255. description: 委托数量
  24256. type: number
  24257. ordersrc:
  24258. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24259. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24260. type: integer
  24261. orderstatus:
  24262. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24263. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24264. 16:成交失败违约(荷兰式竞拍专用)
  24265. type: integer
  24266. ordertime:
  24267. description: 委托时间
  24268. type: string
  24269. preexerciseprice:
  24270. description: 预申报价格
  24271. type: number
  24272. premium:
  24273. description: 权利金
  24274. type: number
  24275. preorderid:
  24276. description: 关联预埋单号(止盈止损单时填写)
  24277. type: string
  24278. pricemode:
  24279. description: '取价方式 - 1:市价 2: 限价'
  24280. type: integer
  24281. qtydecimalplace:
  24282. description: 成交量小数位
  24283. type: integer
  24284. quoteid:
  24285. description: 报价单ID
  24286. type: integer
  24287. relatedid:
  24288. description: 关联单号(交割单)
  24289. type: string
  24290. retcode:
  24291. description: 错误代码
  24292. type: integer
  24293. sessionid:
  24294. description: 会话ID
  24295. type: integer
  24296. tradedate:
  24297. description: 交易日(yyyyMMdd)
  24298. type: string
  24299. trademode:
  24300. description: 交易模式
  24301. type: integer
  24302. tradeproperty:
  24303. description: 交易属性
  24304. type: integer
  24305. tradeqty:
  24306. description: 成交数量
  24307. type: number
  24308. unfreezecharge:
  24309. description: 解冻手续费
  24310. type: number
  24311. unfreezemargin:
  24312. description: 解冻保证金
  24313. type: number
  24314. updatetime:
  24315. description: 更新时间
  24316. type: string
  24317. uuid:
  24318. description: 发起端唯一id
  24319. type: string
  24320. validtime:
  24321. description: 有效期限
  24322. type: string
  24323. validtype:
  24324. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24325. type: integer
  24326. volumetype:
  24327. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24328. type: integer
  24329. required:
  24330. - accountid
  24331. - buildtype
  24332. - buyorsell
  24333. - goodsid
  24334. - histradedate
  24335. - marketid
  24336. - memberuserid
  24337. - operatetype
  24338. - orderid
  24339. - orderqty
  24340. - ordertime
  24341. - pricemode
  24342. - tradedate
  24343. - validtype
  24344. type: object
  24345. order.QueryTradeDetailRsp:
  24346. properties:
  24347. accountid:
  24348. description: 账户ID[报价币种]
  24349. type: integer
  24350. advanceratio:
  24351. description: 首付比率
  24352. type: number
  24353. buildtype:
  24354. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  24355. type: integer
  24356. buyorsell:
  24357. description: 方向 - 0:买 1:卖
  24358. type: integer
  24359. charge:
  24360. description: 手续费
  24361. type: number
  24362. closecharge:
  24363. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24364. type: number
  24365. closeexchagechargevalue:
  24366. description: 平仓交易所手续费设置值
  24367. type: number
  24368. closefeealgorithm:
  24369. description: 平仓手续费收取方式 1:比率 2:固定
  24370. type: integer
  24371. closememberchargevalue:
  24372. description: 平仓会员手续费设置值
  24373. type: number
  24374. closepl:
  24375. description: 平仓盈亏
  24376. type: number
  24377. closepl2:
  24378. description: 平仓盈亏[逐笔]
  24379. type: number
  24380. closeqty:
  24381. description: 平仓数量(先建后平操作 需要记录)
  24382. type: number
  24383. creditamount:
  24384. description: 授信金额
  24385. type: number
  24386. decimalplace:
  24387. description: 商品报价小数位
  24388. type: integer
  24389. enumdicname:
  24390. description: 单位名称
  24391. type: string
  24392. gcaccountid:
  24393. description: 账户ID[合约币种]
  24394. type: integer
  24395. goodscode:
  24396. description: 商品代码
  24397. type: string
  24398. goodsid:
  24399. description: 商品ID
  24400. type: integer
  24401. goodsname:
  24402. description: 商品名称
  24403. type: string
  24404. goodunitid:
  24405. description: 商品单位id
  24406. type: integer
  24407. intclosepl:
  24408. description: 整型盈亏(用于交易结算试算平衡-收益权)
  24409. type: integer
  24410. isconfirmexercise:
  24411. description: 是否确认行权- 0:否 1:是
  24412. type: integer
  24413. ismain:
  24414. description: 是否主单 - 0:不是 1:是
  24415. type: integer
  24416. ispreexercise:
  24417. description: 是否预申报- 0:否 1:是
  24418. type: integer
  24419. isreckoned:
  24420. description: 是否结算 - 0:未结算 1:已结算
  24421. type: integer
  24422. listingselecttype:
  24423. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24424. type: integer
  24425. marketid:
  24426. description: 市场ID
  24427. type: integer
  24428. marketname:
  24429. description: 市场名称
  24430. type: string
  24431. matchaccountid:
  24432. description: 对手账号id
  24433. type: integer
  24434. memberuserid:
  24435. description: 会员id 个人投资者 需要填写
  24436. type: integer
  24437. opencharge:
  24438. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  24439. type: number
  24440. openexchagechargevalue:
  24441. description: 建仓交易所手续费设置值
  24442. type: number
  24443. openfeealgorithm:
  24444. description: 建仓手续费收取方式 1:比率 2:固定
  24445. type: integer
  24446. openmemberchargevalue:
  24447. description: 建仓会员手续费设置值
  24448. type: number
  24449. openqty:
  24450. description: 开仓数量(先建后平操作 需要记录)
  24451. type: number
  24452. optiontype:
  24453. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  24454. type: integer
  24455. orderid:
  24456. description: 委托单号
  24457. type: string
  24458. payamount:
  24459. description: 支付金额(付款金额)
  24460. type: number
  24461. performanceplanid:
  24462. description: 履约计划ID[期权]
  24463. type: integer
  24464. performancestatus:
  24465. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  24466. type: integer
  24467. preexerciseprice:
  24468. description: 预申报价格
  24469. type: number
  24470. premium:
  24471. description: 权利金 - [持仓单的权利金]
  24472. type: number
  24473. qtydecimalplace:
  24474. description: 商品报价小数位
  24475. type: integer
  24476. recvamount:
  24477. description: 到账金额 = 成交金额 - 手续费
  24478. type: number
  24479. relatedouttradeid:
  24480. description: 关联外部成交单ID
  24481. type: integer
  24482. status:
  24483. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  24484. type: integer
  24485. totalamount:
  24486. description: 订单总额 = 成交金额 + 手续费
  24487. type: number
  24488. tradeamount:
  24489. description: 成交金额[账户币种,用于所有权]
  24490. type: number
  24491. tradedate:
  24492. description: 交易日(yyyyMMdd)
  24493. type: string
  24494. tradeid:
  24495. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24496. type: string
  24497. trademode:
  24498. description: 交易模式
  24499. type: integer
  24500. tradeprice:
  24501. description: 成交价格
  24502. type: number
  24503. tradeproperty:
  24504. description: 交易属性
  24505. type: integer
  24506. tradeqty:
  24507. description: 成交数量
  24508. type: number
  24509. tradetime:
  24510. description: 成交时间
  24511. type: string
  24512. tradetype:
  24513. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  24514. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  24515. type: integer
  24516. required:
  24517. - accountid
  24518. - buyorsell
  24519. - goodsid
  24520. - marketid
  24521. - memberuserid
  24522. - orderid
  24523. - tradeamount
  24524. - tradedate
  24525. - tradeid
  24526. - tradeprice
  24527. - tradeqty
  24528. - tradetime
  24529. type: object
  24530. order.QueryTradeOrderDetailRsp:
  24531. properties:
  24532. accountid:
  24533. description: 账户ID[报价币种]
  24534. type: integer
  24535. buildtype:
  24536. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  24537. type: integer
  24538. buyorsell:
  24539. description: 买卖 - 0:买 1:卖
  24540. type: integer
  24541. cancelorderid:
  24542. description: 撤单单号(撤单时填写)
  24543. type: string
  24544. cancelqty:
  24545. description: 撤单数量
  24546. type: number
  24547. clienttype:
  24548. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  24549. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  24550. type: integer
  24551. closefreezecharge:
  24552. description: 平仓冻结手续费(先建后平操作,需要记录)
  24553. type: number
  24554. closeqty:
  24555. description: 平仓数量(先建后平操作 需要记录)
  24556. type: number
  24557. closetradeqty:
  24558. description: 平仓成交数量(先建后平操作,需要记录)
  24559. type: number
  24560. closeunfreezecharge:
  24561. description: 平仓解冻手续费(先建后平操作,需要记录)
  24562. type: number
  24563. decimalplace:
  24564. description: 商品报价小数位
  24565. type: integer
  24566. delistingtype:
  24567. description: 摘牌类型 - 1:价格最优 2:点选成交
  24568. type: integer
  24569. enableqty:
  24570. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  24571. type: number
  24572. enumdicname:
  24573. description: 单位名称
  24574. type: string
  24575. freezecharge:
  24576. description: 冻结手续费
  24577. type: number
  24578. freezemargin:
  24579. description: 冻结保证金(冻结交易金额)
  24580. type: number
  24581. goodscode:
  24582. description: 商品代码
  24583. type: string
  24584. goodsid:
  24585. description: 商品ID
  24586. type: integer
  24587. goodsname:
  24588. description: 商品名称
  24589. type: string
  24590. goodunitid:
  24591. description: 商品单位id
  24592. type: integer
  24593. listingselecttype:
  24594. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  24595. type: integer
  24596. marketid:
  24597. description: 市场ID
  24598. type: integer
  24599. marketname:
  24600. description: 市场名称
  24601. type: string
  24602. openfreezecharge:
  24603. description: 开仓冻结手续费(先建后平操作,需要记录)
  24604. type: number
  24605. openqty:
  24606. description: 开仓数量(先建后平操作,需要记录)
  24607. type: number
  24608. opentradeqty:
  24609. description: 开仓成交数量(先建后平操作,需要记录)
  24610. type: number
  24611. openunfreezecharge:
  24612. description: 开仓解冻手续费(先建后平操作,需要记录)
  24613. type: number
  24614. operatetype:
  24615. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  24616. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  24617. 15:管理端协议转让
  24618. type: integer
  24619. operatorid:
  24620. description: 登录账号(LoginID)
  24621. type: integer
  24622. orderid:
  24623. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  24624. type: string
  24625. orderprice:
  24626. description: 委托价格
  24627. type: number
  24628. orderqty:
  24629. description: 委托数量
  24630. type: number
  24631. ordersrc:
  24632. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  24633. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  24634. type: integer
  24635. orderstatus:
  24636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  24637. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  24638. 16:成交失败违约(荷兰式竞拍专用)
  24639. type: integer
  24640. ordertime:
  24641. description: 委托时间
  24642. type: string
  24643. preorderid:
  24644. description: 关联预埋单号(止盈止损单时填写)
  24645. type: string
  24646. pricemode:
  24647. description: '取价方式 - 1:市价 2: 限价'
  24648. type: integer
  24649. qtydecimalplace:
  24650. description: 商品报价小数位
  24651. type: integer
  24652. relatedid:
  24653. description: 关联单号(交割单)
  24654. type: string
  24655. tradedate:
  24656. description: 交易日(yyyyMMdd)
  24657. type: string
  24658. trademode:
  24659. description: 交易模式
  24660. type: integer
  24661. tradeqty:
  24662. description: 成交数量
  24663. type: number
  24664. unfreezecharge:
  24665. description: 解冻手续费
  24666. type: number
  24667. unfreezemargin:
  24668. description: 解冻保证金
  24669. type: number
  24670. validtime:
  24671. description: 有效期限
  24672. type: string
  24673. validtype:
  24674. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  24675. type: integer
  24676. volumetype:
  24677. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  24678. type: integer
  24679. required:
  24680. - accountid
  24681. - buildtype
  24682. - buyorsell
  24683. - goodsid
  24684. - marketid
  24685. - operatetype
  24686. - orderqty
  24687. - ordertime
  24688. - pricemode
  24689. - tradedate
  24690. - validtype
  24691. type: object
  24692. order.QueryTradePositionRsp:
  24693. properties:
  24694. accountid:
  24695. description: 资金账户
  24696. type: integer
  24697. agreeunit:
  24698. description: 合约单位
  24699. type: number
  24700. averageprice:
  24701. description: 持仓均价
  24702. type: number
  24703. buyorsell:
  24704. description: 方向 - 0:买 1:卖
  24705. type: integer
  24706. closetotalqty:
  24707. description: 平仓总数量
  24708. type: number
  24709. curholderamount:
  24710. description: 当前持仓总金额[商品币种]
  24711. type: number
  24712. curpositionqty:
  24713. description: 当前持仓总数量
  24714. type: number
  24715. currencyid:
  24716. description: 报价货币ID
  24717. type: integer
  24718. curtdposition:
  24719. description: 期末今日头寸
  24720. type: number
  24721. decimalplace:
  24722. description: 报价小数位
  24723. type: integer
  24724. enableqty:
  24725. description: 可用量
  24726. type: number
  24727. fretdposition:
  24728. description: 冻结今日头寸
  24729. type: number
  24730. frozenqty:
  24731. description: 持仓冻结数量
  24732. type: number
  24733. goodscode:
  24734. description: 商品代码
  24735. type: string
  24736. goodsid:
  24737. description: 商品Id
  24738. type: integer
  24739. goodsname:
  24740. description: 商品名称
  24741. type: string
  24742. goodunit:
  24743. description: 报价单位
  24744. type: string
  24745. goodunitid:
  24746. description: 报价单位ID
  24747. type: integer
  24748. holderamount:
  24749. description: 期初持仓总金额[商品币种]
  24750. type: number
  24751. lastprice:
  24752. description: 最新价
  24753. type: number
  24754. marketamount:
  24755. description: 市值
  24756. type: number
  24757. marketid:
  24758. description: 所属市场ID
  24759. type: integer
  24760. openreqqty:
  24761. description: 开仓申请数量(用于比较最大持仓数量)
  24762. type: number
  24763. opentotalqty:
  24764. description: 开仓总数量
  24765. type: number
  24766. otherfrozenqty:
  24767. description: 持仓其他冻结数量(交割冻结)
  24768. type: number
  24769. positionpl:
  24770. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  24771. * 合约单位
  24772. type: number
  24773. positionplrate:
  24774. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  24775. type: number
  24776. positionqty:
  24777. description: 期初持仓数量
  24778. type: number
  24779. qtydecimalplace:
  24780. description: 成交量小数位
  24781. type: integer
  24782. refgoodscode:
  24783. description: 参考商品代码
  24784. type: string
  24785. refgoodsid:
  24786. description: 参考商品ID
  24787. type: integer
  24788. tnqty:
  24789. description: T+N冻结总量
  24790. type: number
  24791. tnusedqty:
  24792. description: T+N使用量(可以使用T+N的冻结数量)
  24793. type: number
  24794. trademode:
  24795. description: 交易模式
  24796. type: integer
  24797. tradeproperty:
  24798. description: 交易属性
  24799. type: integer
  24800. usedmargin:
  24801. description: 占用保证金[商品币种]
  24802. type: number
  24803. required:
  24804. - goodsid
  24805. type: object
  24806. pb.GoodsMarginCfgStruct:
  24807. properties:
  24808. CustomerTypeID:
  24809. description: 投资者客户类型
  24810. type: integer
  24811. GoodsID:
  24812. description: 商品ID
  24813. type: integer
  24814. IsDefault:
  24815. description: 是否默认标志位
  24816. type: integer
  24817. LockMarginValue:
  24818. description: 锁仓保证金
  24819. type: number
  24820. MarginAlgorithm:
  24821. description: 保证金计算方式
  24822. type: integer
  24823. MarketMarginValue:
  24824. description: 即市保证金值
  24825. type: number
  24826. RealMarginAlgorithm:
  24827. description: 实付保证金计算方式
  24828. type: integer
  24829. RealMarginValue:
  24830. description: 实付比例
  24831. type: number
  24832. ReckonMarginValue:
  24833. description: 结算保证金值
  24834. type: number
  24835. type: object
  24836. quote.HistoryData:
  24837. properties:
  24838. c:
  24839. description: 收盘价
  24840. type: number
  24841. f:
  24842. description: 是否补充数据
  24843. type: boolean
  24844. h:
  24845. description: 最高价
  24846. type: number
  24847. hv:
  24848. description: 持仓量
  24849. type: integer
  24850. l:
  24851. description: 最低价
  24852. type: number
  24853. o:
  24854. description: 开盘价
  24855. type: number
  24856. s:
  24857. description: 结算价,日线周期(包括)以上才有
  24858. type: number
  24859. ts:
  24860. description: 时间
  24861. type: string
  24862. tt:
  24863. description: 总金额
  24864. type: number
  24865. tv:
  24866. description: 总量(成交量)
  24867. type: integer
  24868. type: object
  24869. quote.HistoryTikData:
  24870. properties:
  24871. AV:
  24872. description: 卖量
  24873. type: integer
  24874. Ask:
  24875. description: 卖价
  24876. type: number
  24877. BV:
  24878. description: 买量
  24879. type: integer
  24880. Bid:
  24881. description: 买价
  24882. type: number
  24883. HI:
  24884. description: 单笔持仓
  24885. type: integer
  24886. HV:
  24887. description: 持仓量
  24888. type: integer
  24889. PE:
  24890. description: 现价
  24891. type: number
  24892. TDR:
  24893. description: 交易方向,0:买 1:卖
  24894. type: integer
  24895. TK:
  24896. description: 交易类型
  24897. type: integer
  24898. TS:
  24899. description: 行情时间文本
  24900. type: string
  24901. TT:
  24902. description: 现金额
  24903. type: number
  24904. Vol:
  24905. description: 现量
  24906. type: integer
  24907. type: object
  24908. quote.QueryQuoteDayRsp:
  24909. properties:
  24910. ask:
  24911. description: 卖1
  24912. type: number
  24913. ask2:
  24914. description: 卖2
  24915. type: number
  24916. ask3:
  24917. description: 卖3
  24918. type: number
  24919. ask4:
  24920. description: 卖4
  24921. type: number
  24922. ask5:
  24923. description: 卖5
  24924. type: number
  24925. ask6:
  24926. description: 卖6
  24927. type: number
  24928. ask7:
  24929. description: 卖7
  24930. type: number
  24931. ask8:
  24932. description: 卖8
  24933. type: number
  24934. ask9:
  24935. description: 卖9
  24936. type: number
  24937. ask10:
  24938. description: 卖10
  24939. type: number
  24940. askorderid:
  24941. description: 卖单号1
  24942. type: integer
  24943. askorderid2:
  24944. description: 卖单号2
  24945. type: integer
  24946. askorderid3:
  24947. description: 卖单号3
  24948. type: integer
  24949. askorderid4:
  24950. description: 卖单号4
  24951. type: integer
  24952. askorderid5:
  24953. description: 卖单号5
  24954. type: integer
  24955. askordervolume:
  24956. description: 卖单量1
  24957. type: integer
  24958. askordervolume2:
  24959. description: 卖单量2
  24960. type: integer
  24961. askordervolume3:
  24962. description: 卖单量3
  24963. type: integer
  24964. askordervolume4:
  24965. description: 卖单量4
  24966. type: integer
  24967. askordervolume5:
  24968. description: 卖单量5
  24969. type: integer
  24970. askordervolume6:
  24971. description: 卖单量6
  24972. type: integer
  24973. askordervolume7:
  24974. description: 卖单量7
  24975. type: integer
  24976. askordervolume8:
  24977. description: 卖单量8
  24978. type: integer
  24979. askordervolume9:
  24980. description: 卖单量9
  24981. type: integer
  24982. askordervolume10:
  24983. description: 卖单量10
  24984. type: integer
  24985. askqueueinfo:
  24986. description: 大利市卖港股用
  24987. type: string
  24988. askvolume:
  24989. description: 卖量1
  24990. type: integer
  24991. askvolume2:
  24992. description: 卖量2
  24993. type: integer
  24994. askvolume3:
  24995. description: 卖量3
  24996. type: integer
  24997. askvolume4:
  24998. description: 卖量4
  24999. type: integer
  25000. askvolume5:
  25001. description: 卖量5
  25002. type: integer
  25003. askvolume6:
  25004. description: 卖量6
  25005. type: integer
  25006. askvolume7:
  25007. description: 卖量7
  25008. type: integer
  25009. askvolume8:
  25010. description: 卖量8
  25011. type: integer
  25012. askvolume9:
  25013. description: 卖量9
  25014. type: integer
  25015. askvolume10:
  25016. description: 卖量10
  25017. type: integer
  25018. averageprice:
  25019. description: 均价
  25020. type: number
  25021. bid:
  25022. description: 买1
  25023. type: number
  25024. bid2:
  25025. description: 买2
  25026. type: number
  25027. bid3:
  25028. description: 买3
  25029. type: number
  25030. bid4:
  25031. description: 买4
  25032. type: number
  25033. bid5:
  25034. description: 买5
  25035. type: number
  25036. bid6:
  25037. description: 买6
  25038. type: number
  25039. bid7:
  25040. description: 买7
  25041. type: number
  25042. bid8:
  25043. description: 买8
  25044. type: number
  25045. bid9:
  25046. description: 买9
  25047. type: number
  25048. bid10:
  25049. description: 买10
  25050. type: number
  25051. bidorderid:
  25052. description: 买单号1
  25053. type: integer
  25054. bidorderid2:
  25055. description: 买单号2
  25056. type: integer
  25057. bidorderid3:
  25058. description: 买单号3
  25059. type: integer
  25060. bidorderid4:
  25061. description: 买单号4
  25062. type: integer
  25063. bidorderid5:
  25064. description: 买单号5
  25065. type: integer
  25066. bidordervolume:
  25067. description: 买单量1
  25068. type: integer
  25069. bidordervolume2:
  25070. description: 买单量2
  25071. type: integer
  25072. bidordervolume3:
  25073. description: 买单量3
  25074. type: integer
  25075. bidordervolume4:
  25076. description: 买单量4
  25077. type: integer
  25078. bidordervolume5:
  25079. description: 买单量5
  25080. type: integer
  25081. bidordervolume6:
  25082. description: 买单量6
  25083. type: integer
  25084. bidordervolume7:
  25085. description: 买单量7
  25086. type: integer
  25087. bidordervolume8:
  25088. description: 买单量8
  25089. type: integer
  25090. bidordervolume9:
  25091. description: 买单量9
  25092. type: integer
  25093. bidordervolume10:
  25094. description: 买单量10
  25095. type: integer
  25096. bidqueueinfo:
  25097. description: 大利市买港股用
  25098. type: string
  25099. bidvolume:
  25100. description: 买量1
  25101. type: integer
  25102. bidvolume2:
  25103. description: 买量2
  25104. type: integer
  25105. bidvolume3:
  25106. description: 买量3
  25107. type: integer
  25108. bidvolume4:
  25109. description: 买量4
  25110. type: integer
  25111. bidvolume5:
  25112. description: 买量5
  25113. type: integer
  25114. bidvolume6:
  25115. description: 买量6
  25116. type: integer
  25117. bidvolume7:
  25118. description: 买量7
  25119. type: integer
  25120. bidvolume8:
  25121. description: 买量8
  25122. type: integer
  25123. bidvolume9:
  25124. description: 买量9
  25125. type: integer
  25126. bidvolume10:
  25127. description: 买量10
  25128. type: integer
  25129. calloptionpremiums:
  25130. description: 认购期权1
  25131. type: integer
  25132. calloptionpremiums2:
  25133. description: 认购期权2
  25134. type: integer
  25135. calloptionpremiums3:
  25136. description: 认购期权3
  25137. type: integer
  25138. calloptionpremiums4:
  25139. description: 认购期权4
  25140. type: integer
  25141. calloptionpremiums5:
  25142. description: 认购期权5
  25143. type: integer
  25144. cleartime:
  25145. description: 清盘时间
  25146. type: integer
  25147. exchangecode:
  25148. description: 交易所代码
  25149. type: integer
  25150. exchangedate:
  25151. description: 交易日
  25152. type: integer
  25153. goodscode:
  25154. description: 商品代码
  25155. type: string
  25156. grepmarketprice:
  25157. description: 暗盘价 港股专用
  25158. type: number
  25159. highest:
  25160. description: 最高价
  25161. type: number
  25162. holdincrement:
  25163. description: 单笔持仓
  25164. type: integer
  25165. holdvolume:
  25166. description: 持仓
  25167. type: integer
  25168. iep:
  25169. description: 平衡价 港股专用
  25170. type: number
  25171. iev:
  25172. description: 平衡量 港股专用
  25173. type: number
  25174. inventory:
  25175. description: 库存
  25176. type: integer
  25177. iscleared:
  25178. description: 是否清盘标志
  25179. type: integer
  25180. issettled:
  25181. description: 是否结算标志
  25182. type: integer
  25183. last:
  25184. description: 最新价
  25185. type: number
  25186. lastlot:
  25187. description: 最新成交手数
  25188. type: integer
  25189. lasttime:
  25190. description: 行情时间(只有现价变化行情时间才变化)
  25191. type: string
  25192. lastturnover:
  25193. description: 最新成交金额
  25194. type: number
  25195. lastvolume:
  25196. description: 最新成交量
  25197. type: integer
  25198. limitdown:
  25199. description: 跌停价
  25200. type: number
  25201. limitup:
  25202. description: 涨停价
  25203. type: number
  25204. lowest:
  25205. description: 最低价
  25206. type: number
  25207. nontotalholdervolume:
  25208. description: 非交易持仓量
  25209. type: integer
  25210. nontotallot:
  25211. description: 非交易总手数
  25212. type: integer
  25213. nontotalturnover:
  25214. description: 非交易总金额
  25215. type: integer
  25216. nontotalvolume:
  25217. description: 非交易总量
  25218. type: integer
  25219. opened:
  25220. description: 开盘价
  25221. type: number
  25222. opentime:
  25223. description: 开盘时间
  25224. type: string
  25225. orderid:
  25226. description: 序号
  25227. type: integer
  25228. preclose:
  25229. description: 昨收
  25230. type: number
  25231. preholdvolume:
  25232. description: 昨持仓
  25233. type: integer
  25234. presettle:
  25235. description: 昨结价
  25236. type: number
  25237. publictradetype:
  25238. description: 公共交易标志类型 港股专用
  25239. type: string
  25240. putoptionpremiums:
  25241. description: 认沽期权1
  25242. type: integer
  25243. putoptionpremiums2:
  25244. description: 认沽期权2
  25245. type: integer
  25246. putoptionpremiums3:
  25247. description: 认沽期权3
  25248. type: integer
  25249. putoptionpremiums4:
  25250. description: 认沽期权4
  25251. type: integer
  25252. putoptionpremiums5:
  25253. description: 认沽期权5
  25254. type: integer
  25255. settle:
  25256. description: 结算价
  25257. type: number
  25258. strikeprice:
  25259. description: 发行价
  25260. type: number
  25261. totalaskvolume:
  25262. description: 内盘
  25263. type: integer
  25264. totalbidvolume:
  25265. description: 外盘
  25266. type: integer
  25267. totallot:
  25268. description: 总手数
  25269. type: integer
  25270. totalturnover:
  25271. description: 总金额
  25272. type: number
  25273. totalvolume:
  25274. description: 总量
  25275. type: integer
  25276. utclasttime:
  25277. description: utc的行情时间
  25278. type: string
  25279. type: object
  25280. quote.QueryTSDataRsp:
  25281. properties:
  25282. Count:
  25283. description: 交易日应有数据个数
  25284. type: integer
  25285. decimalPlace:
  25286. description: 小数位
  25287. type: integer
  25288. endTime:
  25289. description: 结束时间
  25290. type: string
  25291. goodsCode:
  25292. description: 商品代码
  25293. type: string
  25294. historyDatas:
  25295. description: 历史数据
  25296. items:
  25297. $ref: '#/definitions/quote.HistoryData'
  25298. type: array
  25299. outGoodsCode:
  25300. description: 外部商品代码
  25301. type: string
  25302. preSettle:
  25303. description: 昨结价
  25304. type: number
  25305. runSteps:
  25306. description: 交易日开休市计划
  25307. items:
  25308. $ref: '#/definitions/quote.TSDataRunStep'
  25309. type: array
  25310. startTime:
  25311. description: 开始时间
  25312. type: string
  25313. tradeDate:
  25314. description: 交易日
  25315. type: string
  25316. type: object
  25317. quote.TSDataRunStep:
  25318. properties:
  25319. end:
  25320. description: 真实结束时间
  25321. type: string
  25322. endflag:
  25323. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  25324. type: integer
  25325. endtime:
  25326. description: 结束时间(HH:mm)
  25327. type: string
  25328. endweekday:
  25329. description: 结束周几
  25330. type: integer
  25331. groupid:
  25332. description: 分组ID
  25333. type: integer
  25334. runstep:
  25335. description: 运行阶段 - 2:连续交易
  25336. type: integer
  25337. sectionid:
  25338. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  25339. 结束时间=结算时间 结束周几=结算周几
  25340. type: integer
  25341. start:
  25342. description: 真实开始时间
  25343. type: string
  25344. startflag:
  25345. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  25346. type: integer
  25347. starttime:
  25348. description: 起始时间(HH:mm)
  25349. type: string
  25350. startweekday:
  25351. description: 起始周几
  25352. type: integer
  25353. tradeweekday:
  25354. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  25355. type: integer
  25356. type: object
  25357. szdz.QueryConvertLogRsp:
  25358. properties:
  25359. accountid:
  25360. description: 资金账户ID
  25361. type: integer
  25362. clientticket:
  25363. description: 客户端流水号
  25364. type: string
  25365. converttype:
  25366. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  25367. type: integer
  25368. createtime:
  25369. description: 记账时间
  25370. type: string
  25371. daymaxvalue:
  25372. description: 配置当日最大转入限制
  25373. type: number
  25374. daymaxvalue2:
  25375. description: 配置当日最大转入限制(转入)
  25376. type: number
  25377. goodscode:
  25378. description: 商品代码
  25379. type: string
  25380. goodsname:
  25381. description: 商品名称
  25382. type: string
  25383. handlestatus:
  25384. description: 处理状态
  25385. type: integer
  25386. innergoodsid:
  25387. description: 内部商品ID
  25388. type: integer
  25389. inratio:
  25390. description: 配置转入比值
  25391. type: integer
  25392. invalue:
  25393. description: 目标值
  25394. type: number
  25395. logid:
  25396. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  25397. type: integer
  25398. mobile:
  25399. description: 手机号码(加密存储)
  25400. type: string
  25401. outergoodscode:
  25402. description: 外部商品代码[JD\PD]
  25403. type: string
  25404. outratio:
  25405. description: 配置转出比值
  25406. type: integer
  25407. outvalue:
  25408. description: 源值
  25409. type: number
  25410. pddecimalplace:
  25411. description: PD小数位
  25412. type: integer
  25413. qty:
  25414. description: 数量
  25415. type: string
  25416. remark:
  25417. description: 备注
  25418. type: string
  25419. sessionid:
  25420. description: 会话ID
  25421. type: integer
  25422. timemaxvalue:
  25423. description: 配置单次最大转入限制
  25424. type: number
  25425. timemaxvalue2:
  25426. description: 配置单次最大转入限制(转入)
  25427. type: number
  25428. timeminvalue:
  25429. description: 配置单次最小数量限制
  25430. type: number
  25431. timeminvalue2:
  25432. description: 配置单次最小数量限制(转入)
  25433. type: number
  25434. tradedate:
  25435. description: 交易日(yyyyMMdd)
  25436. type: string
  25437. userid:
  25438. description: 用户ID
  25439. type: integer
  25440. required:
  25441. - logid
  25442. type: object
  25443. szdz.QueryGoodsPickupRsp:
  25444. properties:
  25445. accountid:
  25446. description: 账户ID
  25447. type: integer
  25448. address:
  25449. description: 提货人详细地址
  25450. type: string
  25451. auditer:
  25452. description: 审核人
  25453. type: integer
  25454. audittime:
  25455. description: 审核时间
  25456. type: string
  25457. cardnum:
  25458. description: 提货人证件号码
  25459. type: string
  25460. cardtypeid:
  25461. description: 提货人证件类型
  25462. type: integer
  25463. checkremark:
  25464. description: 审核备注
  25465. type: string
  25466. goodscode:
  25467. description: 商品代码
  25468. type: string
  25469. goodsid:
  25470. description: 商品ID
  25471. type: integer
  25472. goodsname:
  25473. description: 商品名称
  25474. type: string
  25475. handlestatus:
  25476. description: 处理状态
  25477. type: integer
  25478. marketid:
  25479. description: 市场ID
  25480. type: integer
  25481. phonenum:
  25482. description: 提货人联系方式
  25483. type: string
  25484. qty:
  25485. description: 提货数量
  25486. type: number
  25487. recivername:
  25488. description: 提货人姓名
  25489. type: string
  25490. reqtime:
  25491. description: 更新时间
  25492. type: string
  25493. takemode:
  25494. description: 提货方式 - 2:自提 3:配送
  25495. type: integer
  25496. takeorderid:
  25497. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  25498. type: string
  25499. takeorderstatus:
  25500. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25501. type: integer
  25502. takeremark:
  25503. description: 提货备注
  25504. type: string
  25505. tradedate:
  25506. description: 交易日(yyyyMMdd)
  25507. type: string
  25508. userid:
  25509. description: 用户ID
  25510. type: integer
  25511. required:
  25512. - takeorderid
  25513. type: object
  25514. szdz.QueryRecieptOrderRsp:
  25515. properties:
  25516. accountName:
  25517. description: 所属账号名称(已脱敏)
  25518. type: string
  25519. accountid:
  25520. description: 资金账号
  25521. type: integer
  25522. buyorsell:
  25523. description: 方向 - 0:买 1:卖
  25524. type: integer
  25525. enableqty:
  25526. description: 可摘数量
  25527. type: integer
  25528. goodscode:
  25529. description: 商品代码
  25530. type: string
  25531. goodsid:
  25532. description: 商品ID
  25533. type: integer
  25534. goodsname:
  25535. description: 商品名称
  25536. type: string
  25537. orderid:
  25538. description: 委托单号
  25539. type: string
  25540. orderprice:
  25541. description: 委托价格
  25542. type: number
  25543. ordertime:
  25544. description: 委托时间
  25545. type: string
  25546. tradedate:
  25547. description: 交易日(yyyyMMdd)
  25548. type: string
  25549. required:
  25550. - ordertime
  25551. type: object
  25552. szdz.QuerySZDZTradePositionRsp:
  25553. properties:
  25554. accountid:
  25555. description: 账号Id
  25556. type: integer
  25557. agreeunit:
  25558. description: 合约单位
  25559. type: number
  25560. averageprice:
  25561. description: 持仓均价
  25562. type: number
  25563. buyorsell:
  25564. description: 方向 - 0:买 1:卖
  25565. type: integer
  25566. closetotalqty:
  25567. description: 平仓总数量
  25568. type: integer
  25569. curholderamount:
  25570. description: 当前持仓总金额
  25571. type: number
  25572. curpositionqty:
  25573. description: 当前持仓总数量
  25574. type: integer
  25575. currencyid:
  25576. description: 报价货币ID
  25577. type: integer
  25578. curtdposition:
  25579. description: 期末今日头寸
  25580. type: integer
  25581. decimalplace:
  25582. description: 报价小数位
  25583. type: integer
  25584. enableqty:
  25585. description: 可用量
  25586. type: integer
  25587. fretdposition:
  25588. description: 冻结今日头寸
  25589. type: integer
  25590. frozenqty:
  25591. description: 持仓冻结数量
  25592. type: integer
  25593. goodscode:
  25594. description: 商品代码(内部)
  25595. type: string
  25596. goodsid:
  25597. description: 商品Id
  25598. type: integer
  25599. goodsname:
  25600. description: 商品名称
  25601. type: string
  25602. goodunit:
  25603. description: 报价单位
  25604. type: string
  25605. goodunitid:
  25606. description: 报价单位ID
  25607. type: integer
  25608. holderamount:
  25609. description: 期初持仓总金额
  25610. type: number
  25611. marketid:
  25612. description: 市场ID
  25613. type: integer
  25614. openreqqty:
  25615. description: 开仓申请数量
  25616. type: integer
  25617. opentotalqty:
  25618. description: 开仓总数量
  25619. type: integer
  25620. otherfrozenqty:
  25621. description: 持仓其他冻结数量(交割冻结)
  25622. type: integer
  25623. positionqty:
  25624. description: 期初持仓数量
  25625. type: integer
  25626. szdz3freezqty:
  25627. description: 尚志大宗转换冻结总数量
  25628. type: integer
  25629. tnqty:
  25630. description: T+N冻结总量
  25631. type: integer
  25632. tnusedqty:
  25633. description: T+N使用量
  25634. type: integer
  25635. trademode:
  25636. description: 交易模式
  25637. type: integer
  25638. usedmargin:
  25639. description: 占用保证金
  25640. type: number
  25641. type: object
  25642. taaccount.QueryAmountLogRsp:
  25643. properties:
  25644. accountid:
  25645. description: 资金账户ID
  25646. type: integer
  25647. agoodscode:
  25648. description: 竞拍商品代码
  25649. type: string
  25650. agoodsname:
  25651. description: 竞拍商品名称
  25652. type: string
  25653. amount:
  25654. description: 资金金额
  25655. type: number
  25656. amountadjusttype:
  25657. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25658. type: integer
  25659. autoid:
  25660. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25661. type: integer
  25662. balance:
  25663. description: 期初余额
  25664. type: number
  25665. businesscode:
  25666. description: 业务编号
  25667. type: integer
  25668. createtime:
  25669. description: 发生时间
  25670. type: string
  25671. currencyid:
  25672. description: 币种ID
  25673. type: integer
  25674. currentbalance:
  25675. description: 期末余额(变动后金额)
  25676. type: number
  25677. dgoodscode:
  25678. description: 交割商品代码
  25679. type: string
  25680. dgoodsname:
  25681. description: 交割商品名称
  25682. type: string
  25683. goodscode:
  25684. description: 商品代码
  25685. type: string
  25686. goodsid:
  25687. description: 商品ID
  25688. type: integer
  25689. goodsname:
  25690. description: 商品名称
  25691. type: string
  25692. marketid:
  25693. description: 市场ID
  25694. type: integer
  25695. marketname:
  25696. description: 市场名称
  25697. type: string
  25698. moneyticket:
  25699. description: 资金流水号:银行端流水号
  25700. type: integer
  25701. operatetype:
  25702. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25703. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25704. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25705. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25706. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25707. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25708. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25709. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25710. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25711. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25712. type: integer
  25713. relationorderid:
  25714. description: 关联单号
  25715. type: string
  25716. remark:
  25717. description: 备注
  25718. type: string
  25719. trademode:
  25720. description: 交易模式
  25721. type: integer
  25722. required:
  25723. - accountid
  25724. - amount
  25725. - amountadjusttype
  25726. - autoid
  25727. - balance
  25728. - createtime
  25729. - currentbalance
  25730. - operatetype
  25731. type: object
  25732. taaccount.QueryHisAmountLogRsp:
  25733. properties:
  25734. accountid:
  25735. description: 资金账户ID
  25736. type: integer
  25737. agoodscode:
  25738. description: 竞拍商品代码
  25739. type: string
  25740. agoodsname:
  25741. description: 竞拍商品名称
  25742. type: string
  25743. amount:
  25744. description: 资金金额
  25745. type: number
  25746. amountadjusttype:
  25747. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  25748. type: integer
  25749. autoid:
  25750. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  25751. type: integer
  25752. balance:
  25753. description: 期初余额
  25754. type: number
  25755. businesscode:
  25756. description: 业务编号
  25757. type: integer
  25758. createtime:
  25759. description: 发生时间
  25760. type: string
  25761. currencyid:
  25762. description: 币种ID
  25763. type: integer
  25764. currentbalance:
  25765. description: 期末余额(变动后金额)
  25766. type: number
  25767. dgoodscode:
  25768. description: 交割商品代码
  25769. type: string
  25770. dgoodsname:
  25771. description: 交割商品名称
  25772. type: string
  25773. goodscode:
  25774. description: 商品代码
  25775. type: string
  25776. goodsid:
  25777. description: 商品ID
  25778. type: integer
  25779. goodsname:
  25780. description: 商品名称
  25781. type: string
  25782. histradedate:
  25783. description: 历史交易日
  25784. type: string
  25785. isvaliddata:
  25786. description: 是否有效 - 0:无效 1:有效
  25787. type: integer
  25788. marketid:
  25789. description: 市场ID
  25790. type: integer
  25791. marketname:
  25792. description: 市场名称
  25793. type: string
  25794. moneyticket:
  25795. description: 资金流水号:银行端流水号
  25796. type: integer
  25797. operatetype:
  25798. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  25799. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  25800. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  25801. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  25802. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  25803. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  25804. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  25805. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  25806. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  25807. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  25808. type: integer
  25809. relationorderid:
  25810. description: 关联单号
  25811. type: string
  25812. remark:
  25813. description: 备注
  25814. type: string
  25815. trademode:
  25816. description: 交易模式
  25817. type: integer
  25818. required:
  25819. - accountid
  25820. - amount
  25821. - amountadjusttype
  25822. - autoid
  25823. - balance
  25824. - createtime
  25825. - currentbalance
  25826. - histradedate
  25827. - operatetype
  25828. type: object
  25829. trade.QueryRecieptOrderRsp:
  25830. properties:
  25831. accountName:
  25832. description: 所属账号名称(已脱敏)
  25833. type: string
  25834. accountid:
  25835. description: 资金账号
  25836. type: integer
  25837. buyorsell:
  25838. description: 方向 - 0:买 1:卖
  25839. type: integer
  25840. enableqty:
  25841. description: 可摘数量
  25842. type: integer
  25843. goodscode:
  25844. description: 商品代码
  25845. type: string
  25846. goodsid:
  25847. description: 商品ID
  25848. type: integer
  25849. goodsname:
  25850. description: 商品名称
  25851. type: string
  25852. orderid:
  25853. description: 委托单号
  25854. type: string
  25855. orderprice:
  25856. description: 委托价格
  25857. type: number
  25858. ordertime:
  25859. description: 委托时间
  25860. type: string
  25861. tradedate:
  25862. description: 交易日(yyyyMMdd)
  25863. type: string
  25864. required:
  25865. - ordertime
  25866. type: object
  25867. user.LoginQueryRsp:
  25868. properties:
  25869. areaRoles:
  25870. description: 所属角色信息
  25871. items:
  25872. $ref: '#/definitions/models.Arearole'
  25873. type: array
  25874. exchangeRateConfigs:
  25875. description: 汇率信息
  25876. items:
  25877. $ref: '#/definitions/models.Exchangerateconfig'
  25878. type: array
  25879. externalExchanges:
  25880. description: 外部交易所
  25881. items:
  25882. $ref: '#/definitions/models.Externalexchange'
  25883. type: array
  25884. goodsgroups:
  25885. description: 商品组
  25886. items:
  25887. $ref: '#/definitions/models.Goodsgroup'
  25888. type: array
  25889. loginAccount:
  25890. $ref: '#/definitions/models.Loginaccount'
  25891. description: 登录账号
  25892. markets:
  25893. description: 市场
  25894. items:
  25895. $ref: '#/definitions/models.Market'
  25896. type: array
  25897. systemParams:
  25898. description: 系统参数
  25899. items:
  25900. $ref: '#/definitions/models.Systemparam'
  25901. type: array
  25902. userAccount:
  25903. $ref: '#/definitions/models.Useraccount'
  25904. description: 用户账号
  25905. userInfo:
  25906. $ref: '#/definitions/models.Userinfo'
  25907. description: 用户信息
  25908. username:
  25909. description: 用户姓名
  25910. type: string
  25911. type: object
  25912. info:
  25913. contact: {}
  25914. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  25915. termsOfService: http://www.muchinfo.cn
  25916. title: MTP2.0 查询服务 API
  25917. version: "1.0"
  25918. paths:
  25919. /CPTrade/QueryCPTradeMyBidInfos:
  25920. get:
  25921. parameters:
  25922. - description: 资金账户
  25923. in: query
  25924. name: accountid
  25925. required: true
  25926. type: integer
  25927. - description: 预售市场ID
  25928. in: query
  25929. name: marketid
  25930. type: integer
  25931. - description: 预售商品ID
  25932. in: query
  25933. name: goodsid
  25934. type: integer
  25935. produces:
  25936. - application/json
  25937. responses:
  25938. "200":
  25939. description: OK
  25940. schema:
  25941. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 查询产能预售我的出价信息
  25949. tags:
  25950. - 产能预售
  25951. /CPTrade/QueryCPTradeOrderDetail:
  25952. get:
  25953. parameters:
  25954. - description: 预售商品ID
  25955. in: query
  25956. name: goodsid
  25957. type: integer
  25958. - description: 预售市场ID
  25959. in: query
  25960. name: marketid
  25961. type: integer
  25962. - description: 预售商品ID列表 - 格式:1,2,3
  25963. in: query
  25964. name: goodsids
  25965. type: string
  25966. produces:
  25967. - application/json
  25968. responses:
  25969. "200":
  25970. description: OK
  25971. schema:
  25972. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  25973. "500":
  25974. description: Internal Server Error
  25975. schema:
  25976. $ref: '#/definitions/app.Response'
  25977. security:
  25978. - ApiKeyAuth: []
  25979. summary: 查询产能预售委托单信息
  25980. tags:
  25981. - 产能预售
  25982. /CPTrade/QueryMyCPTradeGoods:
  25983. get:
  25984. parameters:
  25985. - description: 资金账户
  25986. in: query
  25987. name: accountid
  25988. required: true
  25989. type: integer
  25990. produces:
  25991. - application/json
  25992. responses:
  25993. "200":
  25994. description: OK
  25995. schema:
  25996. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 查询我的预售信息
  26004. tags:
  26005. - 产能预售
  26006. /CPTrade/QueryPositionCancel:
  26007. get:
  26008. parameters:
  26009. - description: 账户ID
  26010. in: query
  26011. name: userid
  26012. required: true
  26013. type: integer
  26014. - description: 注销ID
  26015. in: query
  26016. name: cancelid
  26017. type: integer
  26018. - description: 资金账户ID
  26019. in: query
  26020. name: accountid
  26021. type: integer
  26022. produces:
  26023. - application/json
  26024. responses:
  26025. "200":
  26026. description: OK
  26027. schema:
  26028. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  26029. "500":
  26030. description: Internal Server Error
  26031. schema:
  26032. $ref: '#/definitions/app.Response'
  26033. security:
  26034. - ApiKeyAuth: []
  26035. summary: 查询远期订单注销申请信息
  26036. tags:
  26037. - 产能预售
  26038. /CPTrade/QueryPreasleApply:
  26039. get:
  26040. parameters:
  26041. - description: 账户ID
  26042. in: query
  26043. name: userid
  26044. required: true
  26045. type: integer
  26046. - description: 申请ID
  26047. in: query
  26048. name: applyid
  26049. type: integer
  26050. - description: 资金账户ID
  26051. in: query
  26052. name: accountid
  26053. type: integer
  26054. produces:
  26055. - application/json
  26056. responses:
  26057. "200":
  26058. description: OK
  26059. schema:
  26060. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  26061. "500":
  26062. description: Internal Server Error
  26063. schema:
  26064. $ref: '#/definitions/app.Response'
  26065. security:
  26066. - ApiKeyAuth: []
  26067. summary: 查询产能预售申请信息
  26068. tags:
  26069. - 产能预售
  26070. /CPTrade/QueryPresaleGoodsEx:
  26071. get:
  26072. parameters:
  26073. - description: 预售商品ID
  26074. in: query
  26075. name: goodsid
  26076. type: integer
  26077. - description: 预售市场ID
  26078. in: query
  26079. name: marketid
  26080. type: integer
  26081. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  26082. in: query
  26083. name: presalemode
  26084. type: integer
  26085. - description: 预售商品ID列表 - 格式:1,2,3
  26086. in: query
  26087. name: goodsids
  26088. type: string
  26089. - description: 预售商品代码
  26090. in: query
  26091. name: goodscode
  26092. type: string
  26093. produces:
  26094. - application/json
  26095. responses:
  26096. "200":
  26097. description: OK
  26098. schema:
  26099. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  26100. "500":
  26101. description: Internal Server Error
  26102. schema:
  26103. $ref: '#/definitions/app.Response'
  26104. security:
  26105. - ApiKeyAuth: []
  26106. summary: 查询产能预售商品扩展信息
  26107. tags:
  26108. - 产能预售
  26109. /CPTrade/QueryUserGoodsData:
  26110. get:
  26111. parameters:
  26112. - description: 资金账户ID
  26113. in: query
  26114. name: accountid
  26115. required: true
  26116. type: integer
  26117. produces:
  26118. - application/json
  26119. responses:
  26120. "200":
  26121. description: OK
  26122. schema:
  26123. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  26124. "500":
  26125. description: Internal Server Error
  26126. schema:
  26127. $ref: '#/definitions/app.Response'
  26128. security:
  26129. - ApiKeyAuth: []
  26130. summary: 查询远期订单信息
  26131. tags:
  26132. - 产能预售
  26133. /Common/DeleteNewFuncmenu:
  26134. delete:
  26135. consumes:
  26136. - application/json
  26137. parameters:
  26138. - description: 菜单表数据,只需要resourcecode字段即可
  26139. in: body
  26140. name: data
  26141. required: true
  26142. schema:
  26143. $ref: '#/definitions/models.NewFuncmenulist'
  26144. produces:
  26145. - application/json
  26146. responses:
  26147. "200":
  26148. description: OK
  26149. schema:
  26150. $ref: '#/definitions/app.Response'
  26151. "500":
  26152. description: Internal Server Error
  26153. schema:
  26154. $ref: '#/definitions/app.Response'
  26155. security:
  26156. - ApiKeyAuth: []
  26157. summary: 删除菜单表数据
  26158. tags:
  26159. - 通用服务
  26160. /Common/FindNewFuncmenu:
  26161. get:
  26162. parameters:
  26163. - description: 资源代码
  26164. in: query
  26165. name: resourcecode
  26166. type: string
  26167. - description: 上级资源代码
  26168. in: query
  26169. name: parentcode
  26170. type: string
  26171. - description: 资源名(Title), 模糊查询
  26172. in: query
  26173. name: resourcename
  26174. type: string
  26175. - description: 菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26176. in: query
  26177. name: menutype
  26178. type: string
  26179. produces:
  26180. - application/json
  26181. responses:
  26182. "200":
  26183. description: OK
  26184. schema:
  26185. items:
  26186. $ref: '#/definitions/models.NewFuncmenulist'
  26187. type: array
  26188. "500":
  26189. description: Internal Server Error
  26190. schema:
  26191. $ref: '#/definitions/app.Response'
  26192. security:
  26193. - ApiKeyAuth: []
  26194. summary: 获取菜单表数据
  26195. tags:
  26196. - 通用服务
  26197. /Common/GetAllEnums:
  26198. get:
  26199. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  26200. parameters:
  26201. - description: 起始自增ID
  26202. in: query
  26203. name: autoid
  26204. type: integer
  26205. produces:
  26206. - application/json
  26207. responses:
  26208. "200":
  26209. description: OK
  26210. schema:
  26211. $ref: '#/definitions/models.Enumdicitem'
  26212. "500":
  26213. description: Internal Server Error
  26214. schema:
  26215. $ref: '#/definitions/app.Response'
  26216. summary: 获取所有枚举信息
  26217. tags:
  26218. - 通用服务
  26219. /Common/GetClientMenus:
  26220. get:
  26221. parameters:
  26222. - description: 登录账号
  26223. in: query
  26224. name: loginID
  26225. required: true
  26226. type: integer
  26227. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  26228. in: query
  26229. name: clientType
  26230. type: integer
  26231. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  26232. in: query
  26233. name: name
  26234. type: string
  26235. produces:
  26236. - application/json
  26237. responses:
  26238. "200":
  26239. description: OK
  26240. schema:
  26241. items:
  26242. $ref: '#/definitions/common.ClientMenu'
  26243. type: array
  26244. "500":
  26245. description: Internal Server Error
  26246. schema:
  26247. $ref: '#/definitions/app.Response'
  26248. security:
  26249. - ApiKeyAuth: []
  26250. summary: 获取交易端菜单
  26251. tags:
  26252. - 通用服务
  26253. /Common/GetClientNewFuncmenu:
  26254. get:
  26255. parameters:
  26256. - description: 登录账号
  26257. in: query
  26258. name: loginid
  26259. required: true
  26260. type: integer
  26261. - description: 菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)
  26262. in: query
  26263. name: menutype
  26264. required: true
  26265. type: integer
  26266. produces:
  26267. - application/json
  26268. responses:
  26269. "200":
  26270. description: OK
  26271. schema:
  26272. items:
  26273. $ref: '#/definitions/models.NewFuncmenulist'
  26274. type: array
  26275. "500":
  26276. description: Internal Server Error
  26277. schema:
  26278. $ref: '#/definitions/app.Response'
  26279. security:
  26280. - ApiKeyAuth: []
  26281. summary: 获取终端菜单
  26282. tags:
  26283. - 通用服务
  26284. /Common/GetDivisions:
  26285. get:
  26286. produces:
  26287. - application/json
  26288. responses:
  26289. "200":
  26290. description: OK
  26291. schema:
  26292. $ref: '#/definitions/models.Division'
  26293. "500":
  26294. description: Internal Server Error
  26295. schema:
  26296. $ref: '#/definitions/app.Response'
  26297. summary: 查询区域信息
  26298. tags:
  26299. - 通用服务
  26300. /Common/GetPCWebMenus:
  26301. get:
  26302. parameters:
  26303. - description: 登录账号
  26304. in: query
  26305. name: loginID
  26306. required: true
  26307. type: integer
  26308. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  26309. in: query
  26310. name: name
  26311. type: string
  26312. produces:
  26313. - application/json
  26314. responses:
  26315. "200":
  26316. description: OK
  26317. schema:
  26318. items:
  26319. $ref: '#/definitions/common.PCWebMenu'
  26320. type: array
  26321. "500":
  26322. description: Internal Server Error
  26323. schema:
  26324. $ref: '#/definitions/app.Response'
  26325. security:
  26326. - ApiKeyAuth: []
  26327. summary: 获取PCWeb交易端菜单
  26328. tags:
  26329. - 通用服务
  26330. /Common/GetServerTime:
  26331. get:
  26332. produces:
  26333. - application/json
  26334. responses:
  26335. "200":
  26336. description: OK
  26337. schema:
  26338. $ref: '#/definitions/app.Response'
  26339. "500":
  26340. description: Internal Server Error
  26341. schema:
  26342. $ref: '#/definitions/app.Response'
  26343. summary: 获取服务器时间
  26344. tags:
  26345. - 通用服务
  26346. /Common/InsertNewFuncmenu:
  26347. post:
  26348. consumes:
  26349. - application/json
  26350. parameters:
  26351. - description: 菜单表数据
  26352. in: body
  26353. name: data
  26354. required: true
  26355. schema:
  26356. $ref: '#/definitions/models.NewFuncmenulist'
  26357. produces:
  26358. - application/json
  26359. responses:
  26360. "200":
  26361. description: OK
  26362. schema:
  26363. $ref: '#/definitions/app.Response'
  26364. "500":
  26365. description: Internal Server Error
  26366. schema:
  26367. $ref: '#/definitions/app.Response'
  26368. security:
  26369. - ApiKeyAuth: []
  26370. summary: 插入菜单表数据
  26371. tags:
  26372. - 通用服务
  26373. /Common/NoticeReaded:
  26374. post:
  26375. parameters:
  26376. - description: 登录账号
  26377. in: query
  26378. name: loginID
  26379. required: true
  26380. type: integer
  26381. - description: 通知公告ID
  26382. in: query
  26383. name: noticeID
  26384. required: true
  26385. type: integer
  26386. produces:
  26387. - application/json
  26388. responses:
  26389. "200":
  26390. description: OK
  26391. schema:
  26392. $ref: '#/definitions/app.Response'
  26393. "500":
  26394. description: Internal Server Error
  26395. schema:
  26396. $ref: '#/definitions/app.Response'
  26397. security:
  26398. - ApiKeyAuth: []
  26399. summary: 通知公告设置已读请求
  26400. tags:
  26401. - 通用服务
  26402. /Common/QueryErrorInfos:
  26403. get:
  26404. description: 如果传入rowNumber,则返回此rowNumber后的数据
  26405. parameters:
  26406. - description: 起始行号前索引
  26407. in: query
  26408. name: rowNumber
  26409. type: string
  26410. produces:
  26411. - application/json
  26412. responses:
  26413. "200":
  26414. description: OK
  26415. schema:
  26416. $ref: '#/definitions/models.QueryErrorInfosRsp'
  26417. "500":
  26418. description: Internal Server Error
  26419. schema:
  26420. $ref: '#/definitions/app.Response'
  26421. summary: 获取数据库错误信息
  26422. tags:
  26423. - 通用服务
  26424. /Common/QueryImageConfigs:
  26425. get:
  26426. parameters:
  26427. - description: 用户id
  26428. in: query
  26429. name: userId
  26430. type: integer
  26431. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  26432. in: query
  26433. name: imageType
  26434. type: integer
  26435. produces:
  26436. - application/json
  26437. responses:
  26438. "200":
  26439. description: OK
  26440. schema:
  26441. $ref: '#/definitions/common.QueryImageConfigsRsp'
  26442. "500":
  26443. description: Internal Server Error
  26444. schema:
  26445. $ref: '#/definitions/app.Response'
  26446. summary: 查询轮播图配置信息
  26447. tags:
  26448. - 通用服务
  26449. /Common/QueryNotice:
  26450. get:
  26451. parameters:
  26452. - description: 页码
  26453. in: query
  26454. name: page
  26455. type: integer
  26456. - description: 每页条数
  26457. in: query
  26458. name: pagesize
  26459. type: integer
  26460. - description: 分页标志 0-page从0开始 1-page从1开始
  26461. in: query
  26462. name: pageflag
  26463. type: integer
  26464. - description: 登录账号
  26465. in: query
  26466. name: loginID
  26467. required: true
  26468. type: integer
  26469. - description: 消息类型 - 1:公告通知 2:系统消息
  26470. in: query
  26471. name: msgType
  26472. type: integer
  26473. - description: 是否只获取未读信息
  26474. in: query
  26475. name: onlyUnRead
  26476. type: boolean
  26477. - description: 自增ID,传入后会返回这个ID后面的记录
  26478. in: query
  26479. name: lastID
  26480. type: integer
  26481. produces:
  26482. - application/json
  26483. responses:
  26484. "200":
  26485. description: OK
  26486. schema:
  26487. $ref: '#/definitions/common.QueryNoticeRsp'
  26488. "500":
  26489. description: Internal Server Error
  26490. schema:
  26491. $ref: '#/definitions/app.Response'
  26492. security:
  26493. - ApiKeyAuth: []
  26494. summary: 通知公告系统消息查询
  26495. tags:
  26496. - 通用服务
  26497. /Common/QueryProvincesAndCities:
  26498. get:
  26499. parameters:
  26500. - description: 省ID
  26501. in: query
  26502. name: provinceID
  26503. type: integer
  26504. produces:
  26505. - application/json
  26506. responses:
  26507. "200":
  26508. description: OK
  26509. schema:
  26510. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  26511. "500":
  26512. description: Internal Server Error
  26513. schema:
  26514. $ref: '#/definitions/app.Response'
  26515. summary: 查询省市信息(不包括区)
  26516. tags:
  26517. - 通用服务
  26518. /Common/QueryRates:
  26519. get:
  26520. parameters:
  26521. - description: 页码
  26522. in: query
  26523. name: page
  26524. type: integer
  26525. - description: 每页条数
  26526. in: query
  26527. name: pagesize
  26528. type: integer
  26529. - description: 源币种ID
  26530. in: query
  26531. name: oricurrencyid
  26532. type: integer
  26533. - description: 目标币种ID
  26534. in: query
  26535. name: descurrencyid
  26536. type: integer
  26537. produces:
  26538. - application/json
  26539. responses:
  26540. "200":
  26541. description: OK
  26542. schema:
  26543. items:
  26544. $ref: '#/definitions/models.Exchangerateconfig'
  26545. type: array
  26546. "500":
  26547. description: Internal Server Error
  26548. schema:
  26549. $ref: '#/definitions/app.Response'
  26550. security:
  26551. - ApiKeyAuth: []
  26552. - LoginID: []
  26553. - Group: []
  26554. summary: 查询汇率信息
  26555. tags:
  26556. - 通用服务
  26557. /Common/QueryTableDefine:
  26558. get:
  26559. parameters:
  26560. - description: 表key
  26561. in: query
  26562. name: tableKey
  26563. type: string
  26564. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  26565. in: query
  26566. name: tableType
  26567. type: integer
  26568. produces:
  26569. - application/json
  26570. responses:
  26571. "200":
  26572. description: OK
  26573. schema:
  26574. $ref: '#/definitions/common.QueryTableDefineRsp'
  26575. "500":
  26576. description: Internal Server Error
  26577. schema:
  26578. $ref: '#/definitions/app.Response'
  26579. summary: 查询交易端列表头信息
  26580. tags:
  26581. - 通用服务
  26582. /Common/QueryTraderMenu:
  26583. get:
  26584. parameters:
  26585. - description: 登录账号
  26586. in: query
  26587. name: loginid
  26588. required: true
  26589. type: integer
  26590. produces:
  26591. - application/json
  26592. responses:
  26593. "200":
  26594. description: OK
  26595. schema:
  26596. $ref: '#/definitions/common.QueryTraderMenuRsp'
  26597. "500":
  26598. description: Internal Server Error
  26599. schema:
  26600. $ref: '#/definitions/app.Response'
  26601. summary: 查询交易端菜单
  26602. tags:
  26603. - 通用服务
  26604. /Common/UpdateNewFuncmenu:
  26605. put:
  26606. consumes:
  26607. - application/json
  26608. parameters:
  26609. - description: 菜单表数据
  26610. in: body
  26611. name: data
  26612. required: true
  26613. schema:
  26614. $ref: '#/definitions/models.NewFuncmenulist'
  26615. produces:
  26616. - application/json
  26617. responses:
  26618. "200":
  26619. description: OK
  26620. schema:
  26621. $ref: '#/definitions/app.Response'
  26622. "500":
  26623. description: Internal Server Error
  26624. schema:
  26625. $ref: '#/definitions/app.Response'
  26626. security:
  26627. - ApiKeyAuth: []
  26628. summary: 更新菜单表数据
  26629. tags:
  26630. - 通用服务
  26631. /Delivery/QueryDeliveryRelation:
  26632. get:
  26633. parameters:
  26634. - description: 商品ID
  26635. in: query
  26636. name: goodsid
  26637. type: integer
  26638. - description: 品种ID
  26639. in: query
  26640. name: deliverygoodsid
  26641. type: integer
  26642. - description: 市场ID
  26643. in: query
  26644. name: marketid
  26645. type: integer
  26646. produces:
  26647. - application/json
  26648. responses:
  26649. "200":
  26650. description: OK
  26651. schema:
  26652. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  26653. "500":
  26654. description: Internal Server Error
  26655. schema:
  26656. $ref: '#/definitions/app.Response'
  26657. security:
  26658. - ApiKeyAuth: []
  26659. summary: 查询商品交割关系表
  26660. tags:
  26661. - 交割服务
  26662. /Ermcp/GetErmcpGoods:
  26663. get:
  26664. parameters:
  26665. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  26666. in: query
  26667. name: userid
  26668. type: integer
  26669. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26670. in: query
  26671. name: lastUpdateTime
  26672. type: string
  26673. produces:
  26674. - application/json
  26675. responses:
  26676. "200":
  26677. description: OK
  26678. schema:
  26679. $ref: '#/definitions/models.ErmcpGoods'
  26680. "500":
  26681. description: Internal Server Error
  26682. schema:
  26683. $ref: '#/definitions/app.Response'
  26684. security:
  26685. - ApiKeyAuth: []
  26686. summary: 查询企业风管期货商品信息
  26687. tags:
  26688. - 企业风险管理(app)
  26689. /Ermcp/GetErmcpGoodsSortByPosition:
  26690. get:
  26691. parameters:
  26692. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  26693. in: query
  26694. name: sortIndex
  26695. type: string
  26696. produces:
  26697. - application/json
  26698. responses:
  26699. "200":
  26700. description: OK
  26701. schema:
  26702. $ref: '#/definitions/models.Goodssortbypreposition'
  26703. "500":
  26704. description: Internal Server Error
  26705. schema:
  26706. $ref: '#/definitions/app.Response'
  26707. security:
  26708. - ApiKeyAuth: []
  26709. summary: 查询企业风管期货主力、次主力商品信息
  26710. tags:
  26711. - 企业风险管理(app)
  26712. /Ermcp/GetErmcpOutAccountStatus:
  26713. get:
  26714. parameters:
  26715. - description: 登录账号
  26716. in: query
  26717. name: loginID
  26718. required: true
  26719. type: integer
  26720. produces:
  26721. - application/json
  26722. responses:
  26723. "200":
  26724. description: OK
  26725. schema:
  26726. $ref: '#/definitions/models.Hedgemarketopenlog'
  26727. "500":
  26728. description: Internal Server Error
  26729. schema:
  26730. $ref: '#/definitions/app.Response'
  26731. security:
  26732. - ApiKeyAuth: []
  26733. summary: 获取目标登录账号当前对冲账号在线状态
  26734. tags:
  26735. - 企业风险管理(app)
  26736. /Ermcp/GetErmcpRoleFuncMenuLists:
  26737. get:
  26738. parameters:
  26739. - description: 登录账号
  26740. in: query
  26741. name: loginID
  26742. required: true
  26743. type: integer
  26744. produces:
  26745. - application/json
  26746. responses:
  26747. "200":
  26748. description: OK
  26749. schema:
  26750. $ref: '#/definitions/models.Funcmenulist'
  26751. "500":
  26752. description: Internal Server Error
  26753. schema:
  26754. $ref: '#/definitions/app.Response'
  26755. security:
  26756. - ApiKeyAuth: []
  26757. summary: 获取企业风管终端权限
  26758. tags:
  26759. - 企业风险管理(app)
  26760. /Ermcp/QueryAccMgrBizGroupSet:
  26761. get:
  26762. parameters:
  26763. - description: 用户ID
  26764. in: query
  26765. name: userid
  26766. required: true
  26767. type: integer
  26768. - description: 现货商品id
  26769. in: query
  26770. name: deliverygoodsid
  26771. type: integer
  26772. produces:
  26773. - application/json
  26774. responses:
  26775. "200":
  26776. description: OK
  26777. schema:
  26778. items:
  26779. $ref: '#/definitions/models.ErmcpBizGroupEx'
  26780. type: array
  26781. "500":
  26782. description: Internal Server Error
  26783. schema:
  26784. $ref: '#/definitions/app.Response'
  26785. security:
  26786. - ApiKeyAuth: []
  26787. summary: 查询业务类型分组(账户管理/账户设置)
  26788. tags:
  26789. - 企业风险管理(app)
  26790. /Ermcp/QueryAccMgrLoginUser:
  26791. get:
  26792. parameters:
  26793. - description: 用户ID
  26794. in: query
  26795. name: userid
  26796. required: true
  26797. type: integer
  26798. - description: 用户类型 2-机构 7-企业成员
  26799. in: query
  26800. name: usertype
  26801. type: integer
  26802. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  26803. in: query
  26804. name: querytype
  26805. required: true
  26806. type: integer
  26807. produces:
  26808. - application/json
  26809. responses:
  26810. "200":
  26811. description: OK
  26812. schema:
  26813. items:
  26814. $ref: '#/definitions/models.ErmcpLoginUserEx'
  26815. type: array
  26816. "500":
  26817. description: Internal Server Error
  26818. schema:
  26819. $ref: '#/definitions/app.Response'
  26820. security:
  26821. - ApiKeyAuth: []
  26822. summary: 查询账户管理登录账号(账户管理/登录账号)
  26823. tags:
  26824. - 企业风险管理(app)
  26825. /Ermcp/QueryAccMgrMainAccountInfo:
  26826. get:
  26827. parameters:
  26828. - description: 用户ID
  26829. in: query
  26830. name: userid
  26831. type: integer
  26832. - description: 主账号id
  26833. in: query
  26834. name: accountid
  26835. type: integer
  26836. produces:
  26837. - application/json
  26838. responses:
  26839. "200":
  26840. description: OK
  26841. schema:
  26842. items:
  26843. $ref: '#/definitions/models.MainAccountInfo'
  26844. type: array
  26845. "500":
  26846. description: Internal Server Error
  26847. schema:
  26848. $ref: '#/definitions/app.Response'
  26849. security:
  26850. - ApiKeyAuth: []
  26851. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  26852. tags:
  26853. - 企业风险管理(app)
  26854. /Ermcp/QueryAccMgrRole:
  26855. get:
  26856. parameters:
  26857. - description: 用户ID
  26858. in: query
  26859. name: userid
  26860. required: true
  26861. type: integer
  26862. produces:
  26863. - application/json
  26864. responses:
  26865. "200":
  26866. description: OK
  26867. schema:
  26868. items:
  26869. $ref: '#/definitions/models.ErmcpRole'
  26870. type: array
  26871. "500":
  26872. description: Internal Server Error
  26873. schema:
  26874. $ref: '#/definitions/app.Response'
  26875. security:
  26876. - ApiKeyAuth: []
  26877. summary: 查询账户管理角色设置(账户管理/角色设置)
  26878. tags:
  26879. - 企业风险管理(app)
  26880. /Ermcp/QueryAccMgrRoleMenu:
  26881. get:
  26882. parameters:
  26883. - description: 用户ID
  26884. in: query
  26885. name: userid
  26886. required: true
  26887. type: integer
  26888. - description: 角色id(可多个,逗号隔开)
  26889. in: query
  26890. name: roleid
  26891. type: string
  26892. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  26893. in: query
  26894. name: menutype
  26895. type: integer
  26896. produces:
  26897. - application/json
  26898. responses:
  26899. "200":
  26900. description: OK
  26901. schema:
  26902. items:
  26903. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  26904. type: array
  26905. "500":
  26906. description: Internal Server Error
  26907. schema:
  26908. $ref: '#/definitions/app.Response'
  26909. security:
  26910. - ApiKeyAuth: []
  26911. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  26912. tags:
  26913. - 企业风险管理(app)
  26914. /Ermcp/QueryAccMgrTaAccountInfo:
  26915. get:
  26916. parameters:
  26917. - description: 用户ID
  26918. in: query
  26919. name: userid
  26920. required: true
  26921. type: integer
  26922. - description: 账号id
  26923. in: query
  26924. name: accountid
  26925. type: integer
  26926. produces:
  26927. - application/json
  26928. responses:
  26929. "200":
  26930. description: OK
  26931. schema:
  26932. items:
  26933. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  26934. type: array
  26935. "500":
  26936. description: Internal Server Error
  26937. schema:
  26938. $ref: '#/definitions/app.Response'
  26939. security:
  26940. - ApiKeyAuth: []
  26941. summary: 查询账户管理授信(账户管理/账户设置/授信)
  26942. tags:
  26943. - 企业风险管理(app)
  26944. /Ermcp/QueryAccMgrTaaccount:
  26945. get:
  26946. parameters:
  26947. - description: 用户ID
  26948. in: query
  26949. name: userid
  26950. required: true
  26951. type: integer
  26952. produces:
  26953. - application/json
  26954. responses:
  26955. "200":
  26956. description: OK
  26957. schema:
  26958. items:
  26959. $ref: '#/definitions/models.ErmcpTaAccountEx'
  26960. type: array
  26961. "500":
  26962. description: Internal Server Error
  26963. schema:
  26964. $ref: '#/definitions/app.Response'
  26965. security:
  26966. - ApiKeyAuth: []
  26967. summary: 查询账户管理期货账号(账户管理/期货账号)
  26968. tags:
  26969. - 企业风险管理(app)
  26970. /Ermcp/QueryAvaildGoodsGroup:
  26971. get:
  26972. parameters:
  26973. - description: 所属机构ID
  26974. in: query
  26975. name: userid
  26976. required: true
  26977. type: integer
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  26986. type: array
  26987. "500":
  26988. description: Internal Server Error
  26989. schema:
  26990. $ref: '#/definitions/app.Response'
  26991. security:
  26992. - ApiKeyAuth: []
  26993. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  26994. tags:
  26995. - 企业风险管理(app)
  26996. /Ermcp/QueryBusinessDj:
  26997. get:
  26998. parameters:
  26999. - description: 用户ID
  27000. in: query
  27001. name: UserId
  27002. required: true
  27003. type: integer
  27004. - description: 用户类型 2-机构 7-企业成员
  27005. in: query
  27006. name: usertype
  27007. type: integer
  27008. - description: 现货合同ID, 不填则查所有
  27009. in: query
  27010. name: relatedid
  27011. type: string
  27012. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27013. in: query
  27014. name: applystatus
  27015. type: string
  27016. produces:
  27017. - application/json
  27018. responses:
  27019. "200":
  27020. description: OK
  27021. schema:
  27022. items:
  27023. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  27024. type: array
  27025. "500":
  27026. description: Internal Server Error
  27027. schema:
  27028. $ref: '#/definitions/app.Response'
  27029. security:
  27030. - ApiKeyAuth: []
  27031. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  27032. tags:
  27033. - 企业风险管理(app)
  27034. /Ermcp/QueryBusinessFp:
  27035. get:
  27036. parameters:
  27037. - description: 用户ID
  27038. in: query
  27039. name: UserId
  27040. required: true
  27041. type: integer
  27042. - description: 用户类型 2-机构 7-企业成员
  27043. in: query
  27044. name: usertype
  27045. type: integer
  27046. - description: 现货合同ID, 不填则查所有
  27047. in: query
  27048. name: relatedid
  27049. type: string
  27050. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27051. in: query
  27052. name: applystatus
  27053. type: string
  27054. produces:
  27055. - application/json
  27056. responses:
  27057. "200":
  27058. description: OK
  27059. schema:
  27060. items:
  27061. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  27062. type: array
  27063. "500":
  27064. description: Internal Server Error
  27065. schema:
  27066. $ref: '#/definitions/app.Response'
  27067. security:
  27068. - ApiKeyAuth: []
  27069. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  27070. tags:
  27071. - 企业风险管理(app)
  27072. /Ermcp/QueryBusinessJs:
  27073. get:
  27074. parameters:
  27075. - description: 用户ID
  27076. in: query
  27077. name: UserId
  27078. required: true
  27079. type: integer
  27080. - description: 用户类型 2-机构 7-企业成员
  27081. in: query
  27082. name: usertype
  27083. type: integer
  27084. - description: 现货合同ID, 不填则查所有
  27085. in: query
  27086. name: relatedid
  27087. type: string
  27088. - description: 操作申请id
  27089. in: query
  27090. name: operateapplyid
  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.QryBussinessJsRsp'
  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/QueryBusinessJsEx:
  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: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27131. in: query
  27132. name: applystatus
  27133. type: string
  27134. produces:
  27135. - application/json
  27136. responses:
  27137. "200":
  27138. description: OK
  27139. schema:
  27140. items:
  27141. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  27142. type: array
  27143. "500":
  27144. description: Internal Server Error
  27145. schema:
  27146. $ref: '#/definitions/app.Response'
  27147. security:
  27148. - ApiKeyAuth: []
  27149. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  27150. tags:
  27151. - 企业风险管理(app)
  27152. /Ermcp/QueryBusinessKx:
  27153. get:
  27154. parameters:
  27155. - description: 用户ID
  27156. in: query
  27157. name: UserId
  27158. required: true
  27159. type: integer
  27160. - description: 用户类型 2-机构 7-企业成员
  27161. in: query
  27162. name: usertype
  27163. type: integer
  27164. - description: 现货合同ID, 不填则查所有
  27165. in: query
  27166. name: relatedid
  27167. type: string
  27168. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  27169. in: query
  27170. name: applystatus
  27171. type: string
  27172. produces:
  27173. - application/json
  27174. responses:
  27175. "200":
  27176. description: OK
  27177. schema:
  27178. items:
  27179. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  27180. type: array
  27181. "500":
  27182. description: Internal Server Error
  27183. schema:
  27184. $ref: '#/definitions/app.Response'
  27185. security:
  27186. - ApiKeyAuth: []
  27187. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  27188. tags:
  27189. - 企业风险管理(app)
  27190. /Ermcp/QueryChangeLog:
  27191. get:
  27192. parameters:
  27193. - description: 合同ID
  27194. in: query
  27195. name: RelatedId
  27196. required: true
  27197. type: string
  27198. produces:
  27199. - application/json
  27200. responses:
  27201. "200":
  27202. description: OK
  27203. schema:
  27204. items:
  27205. $ref: '#/definitions/ermcp.QryOPLogRsp'
  27206. type: array
  27207. "500":
  27208. description: Internal Server Error
  27209. schema:
  27210. $ref: '#/definitions/app.Response'
  27211. security:
  27212. - ApiKeyAuth: []
  27213. summary: 查询变更记录
  27214. tags:
  27215. - 企业风险管理(app)
  27216. /Ermcp/QueryErmcpHisOrderDetails:
  27217. get:
  27218. parameters:
  27219. - description: 资金账户ID
  27220. in: query
  27221. name: accountID
  27222. required: true
  27223. type: integer
  27224. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27225. in: query
  27226. name: startDate
  27227. type: string
  27228. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27229. in: query
  27230. name: endDate
  27231. type: string
  27232. produces:
  27233. - application/json
  27234. responses:
  27235. "200":
  27236. description: OK
  27237. schema:
  27238. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27239. "500":
  27240. description: Internal Server Error
  27241. schema:
  27242. $ref: '#/definitions/app.Response'
  27243. security:
  27244. - ApiKeyAuth: []
  27245. summary: 获取企业风管期货历史委托单信息
  27246. tags:
  27247. - 企业风险管理(app)
  27248. /Ermcp/QueryErmcpHisTradeDetails:
  27249. get:
  27250. parameters:
  27251. - description: 资金账户ID
  27252. in: query
  27253. name: accountID
  27254. required: true
  27255. type: integer
  27256. - description: 商品ID
  27257. in: query
  27258. name: goodsID
  27259. type: integer
  27260. - description: 买卖方向,0:买 1:卖
  27261. in: query
  27262. name: buyOrSell
  27263. type: integer
  27264. - description: 关联委托单号
  27265. in: query
  27266. name: orderID
  27267. type: integer
  27268. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27269. in: query
  27270. name: startDate
  27271. type: string
  27272. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27273. in: query
  27274. name: endDate
  27275. type: string
  27276. produces:
  27277. - application/json
  27278. responses:
  27279. "200":
  27280. description: OK
  27281. schema:
  27282. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27283. "500":
  27284. description: Internal Server Error
  27285. schema:
  27286. $ref: '#/definitions/app.Response'
  27287. security:
  27288. - ApiKeyAuth: []
  27289. summary: 获取企业风管期货历史成交单信息
  27290. tags:
  27291. - 企业风险管理(app)
  27292. /Ermcp/QueryErmcpInnerHolderDetails:
  27293. get:
  27294. parameters:
  27295. - description: 资金账户ID
  27296. in: query
  27297. name: accountID
  27298. required: true
  27299. type: integer
  27300. - description: 商品ID
  27301. in: query
  27302. name: goodsID
  27303. type: integer
  27304. - description: 买卖方向,0:买 1:卖
  27305. in: query
  27306. name: buyOrSell
  27307. type: integer
  27308. produces:
  27309. - application/json
  27310. responses:
  27311. "200":
  27312. description: OK
  27313. schema:
  27314. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  27315. "500":
  27316. description: Internal Server Error
  27317. schema:
  27318. $ref: '#/definitions/app.Response'
  27319. security:
  27320. - ApiKeyAuth: []
  27321. summary: 获取企业风管期货内部持仓单信息
  27322. tags:
  27323. - 企业风险管理(app)
  27324. /Ermcp/QueryErmcpOrderDetails:
  27325. get:
  27326. parameters:
  27327. - description: 资金账户ID
  27328. in: query
  27329. name: accountID
  27330. required: true
  27331. type: integer
  27332. produces:
  27333. - application/json
  27334. responses:
  27335. "200":
  27336. description: OK
  27337. schema:
  27338. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  27339. "500":
  27340. description: Internal Server Error
  27341. schema:
  27342. $ref: '#/definitions/app.Response'
  27343. security:
  27344. - ApiKeyAuth: []
  27345. summary: 获取企业风管期货委托单信息
  27346. tags:
  27347. - 企业风险管理(app)
  27348. /Ermcp/QueryErmcpTradeDetails:
  27349. get:
  27350. parameters:
  27351. - description: 资金账户ID
  27352. in: query
  27353. name: accountID
  27354. required: true
  27355. type: integer
  27356. - description: 商品ID
  27357. in: query
  27358. name: goodsID
  27359. type: integer
  27360. - description: 买卖方向,0:买 1:卖
  27361. in: query
  27362. name: buyOrSell
  27363. type: integer
  27364. - description: 关联委托单号
  27365. in: query
  27366. name: orderID
  27367. type: integer
  27368. produces:
  27369. - application/json
  27370. responses:
  27371. "200":
  27372. description: OK
  27373. schema:
  27374. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  27375. "500":
  27376. description: Internal Server Error
  27377. schema:
  27378. $ref: '#/definitions/app.Response'
  27379. security:
  27380. - ApiKeyAuth: []
  27381. summary: 获取企业风管期货成交单信息
  27382. tags:
  27383. - 企业风险管理(app)
  27384. /Ermcp/QueryErmcpTradePosition:
  27385. get:
  27386. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  27387. parameters:
  27388. - description: 资金账户ID
  27389. in: query
  27390. name: accountID
  27391. required: true
  27392. type: integer
  27393. - description: 所属市场ID
  27394. in: query
  27395. name: marketID
  27396. type: integer
  27397. produces:
  27398. - application/json
  27399. responses:
  27400. "200":
  27401. description: OK
  27402. schema:
  27403. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  27404. "500":
  27405. description: Internal Server Error
  27406. schema:
  27407. $ref: '#/definitions/app.Response'
  27408. security:
  27409. - ApiKeyAuth: []
  27410. summary: 获取企业风管期货持仓头寸信息
  27411. tags:
  27412. - 企业风险管理(app)
  27413. /Ermcp/QueryExposureDetail:
  27414. get:
  27415. parameters:
  27416. - description: 所属机构ID
  27417. in: query
  27418. name: areaUserId
  27419. required: true
  27420. type: integer
  27421. - description: 套保商品
  27422. in: query
  27423. name: middleGoodsId
  27424. required: true
  27425. type: integer
  27426. produces:
  27427. - application/json
  27428. responses:
  27429. "200":
  27430. description: OK
  27431. schema:
  27432. items:
  27433. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  27434. type: array
  27435. "500":
  27436. description: Internal Server Error
  27437. schema:
  27438. $ref: '#/definitions/app.Response'
  27439. security:
  27440. - ApiKeyAuth: []
  27441. summary: 查询敞口现货明细
  27442. tags:
  27443. - 企业风险管理(app)
  27444. /Ermcp/QueryExposureGoods:
  27445. get:
  27446. parameters:
  27447. - description: 套保商品id
  27448. in: query
  27449. name: middlegoodsid
  27450. required: true
  27451. type: integer
  27452. produces:
  27453. - application/json
  27454. responses:
  27455. "200":
  27456. description: OK
  27457. schema:
  27458. items:
  27459. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  27460. type: array
  27461. "500":
  27462. description: Internal Server Error
  27463. schema:
  27464. $ref: '#/definitions/app.Response'
  27465. security:
  27466. - ApiKeyAuth: []
  27467. summary: 查询敞口主力合约
  27468. tags:
  27469. - 企业风险管理(app)
  27470. /Ermcp/QueryExposureHedgePosition:
  27471. get:
  27472. parameters:
  27473. - description: 用户id
  27474. in: query
  27475. name: userid
  27476. required: true
  27477. type: integer
  27478. produces:
  27479. - application/json
  27480. responses:
  27481. "200":
  27482. description: OK
  27483. schema:
  27484. items:
  27485. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  27486. type: array
  27487. "500":
  27488. description: Internal Server Error
  27489. schema:
  27490. $ref: '#/definitions/app.Response'
  27491. security:
  27492. - ApiKeyAuth: []
  27493. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  27494. tags:
  27495. - 企业风险管理(app)
  27496. /Ermcp/QueryExposureHedgePositionDetail:
  27497. get:
  27498. parameters:
  27499. - description: 所属机构ID
  27500. in: query
  27501. name: userid
  27502. required: true
  27503. type: integer
  27504. - description: 商品id
  27505. in: query
  27506. name: goodsId
  27507. required: true
  27508. type: integer
  27509. produces:
  27510. - application/json
  27511. responses:
  27512. "200":
  27513. description: OK
  27514. schema:
  27515. items:
  27516. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  27517. type: array
  27518. "500":
  27519. description: Internal Server Error
  27520. schema:
  27521. $ref: '#/definitions/app.Response'
  27522. security:
  27523. - ApiKeyAuth: []
  27524. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  27525. tags:
  27526. - 企业风险管理(app)
  27527. /Ermcp/QueryExposureSpot:
  27528. get:
  27529. parameters:
  27530. - description: 所属机构ID
  27531. in: query
  27532. name: areaUserId
  27533. required: true
  27534. type: integer
  27535. produces:
  27536. - application/json
  27537. responses:
  27538. "200":
  27539. description: OK
  27540. schema:
  27541. items:
  27542. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  27543. type: array
  27544. "500":
  27545. description: Internal Server Error
  27546. schema:
  27547. $ref: '#/definitions/app.Response'
  27548. security:
  27549. - ApiKeyAuth: []
  27550. summary: 查询敞口现货头寸(敞口/现货头寸)
  27551. tags:
  27552. - 企业风险管理(app)
  27553. /Ermcp/QueryExposureSpotDetail:
  27554. get:
  27555. parameters:
  27556. - description: 所属机构ID
  27557. in: query
  27558. name: areaUserId
  27559. required: true
  27560. type: integer
  27561. - description: 现货品种ID
  27562. in: query
  27563. name: wrstandardId
  27564. required: true
  27565. type: integer
  27566. produces:
  27567. - application/json
  27568. responses:
  27569. "200":
  27570. description: OK
  27571. schema:
  27572. items:
  27573. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  27574. type: array
  27575. "500":
  27576. description: Internal Server Error
  27577. schema:
  27578. $ref: '#/definitions/app.Response'
  27579. security:
  27580. - ApiKeyAuth: []
  27581. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  27582. tags:
  27583. - 企业风险管理(app)
  27584. /Ermcp/QueryFuturesCompany:
  27585. get:
  27586. produces:
  27587. - application/json
  27588. responses:
  27589. "200":
  27590. description: OK
  27591. schema:
  27592. items:
  27593. $ref: '#/definitions/models.ErmcpFuturesCompany'
  27594. type: array
  27595. "500":
  27596. description: Internal Server Error
  27597. schema:
  27598. $ref: '#/definitions/app.Response'
  27599. security:
  27600. - ApiKeyAuth: []
  27601. summary: 查询期货公司
  27602. tags:
  27603. - 企业风险管理(app)
  27604. /Ermcp/QueryGGConvertConfig:
  27605. get:
  27606. parameters:
  27607. - description: 品种id(不填则查所有)
  27608. in: query
  27609. name: goodsgroupid
  27610. type: integer
  27611. produces:
  27612. - application/json
  27613. responses:
  27614. "200":
  27615. description: OK
  27616. schema:
  27617. items:
  27618. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  27619. type: array
  27620. "500":
  27621. description: Internal Server Error
  27622. schema:
  27623. $ref: '#/definitions/app.Response'
  27624. security:
  27625. - ApiKeyAuth: []
  27626. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  27627. tags:
  27628. - 企业风险管理(app)
  27629. /Ermcp/QueryGoodsBrand:
  27630. get:
  27631. parameters:
  27632. - description: 用户ID
  27633. in: query
  27634. name: userid
  27635. required: true
  27636. type: integer
  27637. - description: 现货商品ID
  27638. in: query
  27639. name: wrstandardid
  27640. type: integer
  27641. produces:
  27642. - application/json
  27643. responses:
  27644. "200":
  27645. description: OK
  27646. schema:
  27647. items:
  27648. $ref: '#/definitions/models.ErmcpGoodsBrand'
  27649. type: array
  27650. "500":
  27651. description: Internal Server Error
  27652. schema:
  27653. $ref: '#/definitions/app.Response'
  27654. security:
  27655. - ApiKeyAuth: []
  27656. summary: 查询商品品牌
  27657. tags:
  27658. - 企业风险管理(app)
  27659. /Ermcp/QueryGoodsModel:
  27660. get:
  27661. parameters:
  27662. - description: 用户ID
  27663. in: query
  27664. name: userid
  27665. required: true
  27666. type: integer
  27667. produces:
  27668. - application/json
  27669. responses:
  27670. "200":
  27671. description: OK
  27672. schema:
  27673. items:
  27674. $ref: '#/definitions/models.ErmcpGoodsModel'
  27675. type: array
  27676. "500":
  27677. description: Internal Server Error
  27678. schema:
  27679. $ref: '#/definitions/app.Response'
  27680. security:
  27681. - ApiKeyAuth: []
  27682. summary: 查询商品型号
  27683. tags:
  27684. - 企业风险管理(app)
  27685. /Ermcp/QueryHisExposure:
  27686. get:
  27687. parameters:
  27688. - description: 用户id
  27689. in: query
  27690. name: userid
  27691. required: true
  27692. type: integer
  27693. - description: 每个品种记录数
  27694. in: query
  27695. name: lastNum
  27696. required: true
  27697. type: integer
  27698. produces:
  27699. - application/json
  27700. responses:
  27701. "200":
  27702. description: OK
  27703. schema:
  27704. items:
  27705. $ref: '#/definitions/ermcp.HisExposureRsp'
  27706. type: array
  27707. "500":
  27708. description: Internal Server Error
  27709. schema:
  27710. $ref: '#/definitions/app.Response'
  27711. security:
  27712. - ApiKeyAuth: []
  27713. summary: 查询历史敞口(菜单:敞口/历史敞口)
  27714. tags:
  27715. - 企业风险管理(app)
  27716. /Ermcp/QueryMiddleGoods:
  27717. get:
  27718. parameters:
  27719. - description: 所属机构ID
  27720. in: query
  27721. name: userid
  27722. required: true
  27723. type: integer
  27724. - description: 状态 0-停用 1-正常
  27725. in: query
  27726. name: status
  27727. required: true
  27728. type: integer
  27729. produces:
  27730. - application/json
  27731. responses:
  27732. "200":
  27733. description: OK
  27734. schema:
  27735. items:
  27736. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  27737. type: array
  27738. "500":
  27739. description: Internal Server Error
  27740. schema:
  27741. $ref: '#/definitions/app.Response'
  27742. security:
  27743. - ApiKeyAuth: []
  27744. summary: 查询套保品种(菜单:套保品种)
  27745. tags:
  27746. - 企业风险管理(app)
  27747. /Ermcp/QueryMiddleGoodsChangeLog:
  27748. get:
  27749. parameters:
  27750. - description: 所属机构ID
  27751. in: query
  27752. name: userid
  27753. required: true
  27754. type: integer
  27755. - description: 套保品种id
  27756. in: query
  27757. name: middlegoodsid
  27758. required: true
  27759. type: integer
  27760. produces:
  27761. - application/json
  27762. responses:
  27763. "200":
  27764. description: OK
  27765. schema:
  27766. items:
  27767. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  27768. type: array
  27769. "500":
  27770. description: Internal Server Error
  27771. schema:
  27772. $ref: '#/definitions/app.Response'
  27773. security:
  27774. - ApiKeyAuth: []
  27775. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  27776. tags:
  27777. - 企业风险管理(app)
  27778. /Ermcp/QueryMiddleGoodsDetail:
  27779. get:
  27780. parameters:
  27781. - description: 所属机构ID
  27782. in: query
  27783. name: userid
  27784. required: true
  27785. type: integer
  27786. - description: 套保品种id
  27787. in: query
  27788. name: middlegoodsid
  27789. type: integer
  27790. produces:
  27791. - application/json
  27792. responses:
  27793. "200":
  27794. description: OK
  27795. schema:
  27796. items:
  27797. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  27798. type: array
  27799. "500":
  27800. description: Internal Server Error
  27801. schema:
  27802. $ref: '#/definitions/app.Response'
  27803. security:
  27804. - ApiKeyAuth: []
  27805. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  27806. tags:
  27807. - 企业风险管理(app)
  27808. /Ermcp/QueryPendingAuditInfo:
  27809. get:
  27810. parameters:
  27811. - description: 用户ID
  27812. in: query
  27813. name: UserId
  27814. required: true
  27815. type: integer
  27816. produces:
  27817. - application/json
  27818. responses:
  27819. "200":
  27820. description: OK
  27821. schema:
  27822. items:
  27823. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  27824. type: array
  27825. "500":
  27826. description: Internal Server Error
  27827. schema:
  27828. $ref: '#/definitions/app.Response'
  27829. security:
  27830. - ApiKeyAuth: []
  27831. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  27832. tags:
  27833. - 企业风险管理(app)
  27834. /Ermcp/QueryRealtimeExposure:
  27835. get:
  27836. parameters:
  27837. - description: 所属机构ID
  27838. in: query
  27839. name: userid
  27840. required: true
  27841. type: integer
  27842. produces:
  27843. - application/json
  27844. responses:
  27845. "200":
  27846. description: OK
  27847. schema:
  27848. items:
  27849. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  27850. type: array
  27851. "500":
  27852. description: Internal Server Error
  27853. schema:
  27854. $ref: '#/definitions/app.Response'
  27855. security:
  27856. - ApiKeyAuth: []
  27857. summary: 查询实时敞口
  27858. tags:
  27859. - 企业风险管理(app)
  27860. /Ermcp/QueryRealtimeExposurePosition:
  27861. get:
  27862. parameters:
  27863. - description: 用户id
  27864. in: query
  27865. name: userid
  27866. required: true
  27867. type: integer
  27868. - description: 套保商品ID
  27869. in: query
  27870. name: middleGoodsId
  27871. required: true
  27872. type: integer
  27873. produces:
  27874. - application/json
  27875. responses:
  27876. "200":
  27877. description: OK
  27878. schema:
  27879. items:
  27880. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  27881. type: array
  27882. "500":
  27883. description: Internal Server Error
  27884. schema:
  27885. $ref: '#/definitions/app.Response'
  27886. security:
  27887. - ApiKeyAuth: []
  27888. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  27889. tags:
  27890. - 企业风险管理(app)
  27891. /Ermcp/QueryRoleMenu:
  27892. get:
  27893. parameters:
  27894. - description: 登录ID
  27895. in: query
  27896. name: loginid
  27897. required: true
  27898. type: integer
  27899. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  27900. in: query
  27901. name: menutype
  27902. type: integer
  27903. produces:
  27904. - application/json
  27905. responses:
  27906. "200":
  27907. description: OK
  27908. schema:
  27909. items:
  27910. $ref: '#/definitions/models.RoleMenu'
  27911. type: array
  27912. "500":
  27913. description: Internal Server Error
  27914. schema:
  27915. $ref: '#/definitions/app.Response'
  27916. security:
  27917. - ApiKeyAuth: []
  27918. summary: 查询角色菜单和权限
  27919. tags:
  27920. - 企业风险管理(app)
  27921. /Ermcp/QueryTradeConfigTMP:
  27922. get:
  27923. parameters:
  27924. - description: 所属机构id
  27925. in: query
  27926. name: areauserid
  27927. type: integer
  27928. produces:
  27929. - application/json
  27930. responses:
  27931. "200":
  27932. description: OK
  27933. schema:
  27934. items:
  27935. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  27936. type: array
  27937. "500":
  27938. description: Internal Server Error
  27939. schema:
  27940. $ref: '#/definitions/app.Response'
  27941. security:
  27942. - ApiKeyAuth: []
  27943. summary: 查询交易模板配置
  27944. tags:
  27945. - 企业风险管理(app)
  27946. /Ermcp/QueryUserInfo:
  27947. get:
  27948. parameters:
  27949. - description: 所属机构用户ID
  27950. in: query
  27951. name: MemberUserID
  27952. required: true
  27953. type: integer
  27954. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  27955. in: query
  27956. name: queryType
  27957. required: true
  27958. type: integer
  27959. produces:
  27960. - application/json
  27961. responses:
  27962. "200":
  27963. description: OK
  27964. schema:
  27965. items:
  27966. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  27967. type: array
  27968. "500":
  27969. description: Internal Server Error
  27970. schema:
  27971. $ref: '#/definitions/app.Response'
  27972. security:
  27973. - ApiKeyAuth: []
  27974. summary: 查询客户资料
  27975. tags:
  27976. - 企业风险管理(app)
  27977. /Ermcp/QueryWarehouseInfo:
  27978. get:
  27979. parameters:
  27980. - description: 用户ID
  27981. in: query
  27982. name: userid
  27983. required: true
  27984. type: integer
  27985. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  27986. in: query
  27987. name: status
  27988. type: string
  27989. produces:
  27990. - application/json
  27991. responses:
  27992. "200":
  27993. description: OK
  27994. schema:
  27995. items:
  27996. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  27997. type: array
  27998. "500":
  27999. description: Internal Server Error
  28000. schema:
  28001. $ref: '#/definitions/app.Response'
  28002. security:
  28003. - ApiKeyAuth: []
  28004. summary: 查询仓库信息
  28005. tags:
  28006. - 企业风险管理(app)
  28007. /Ermcp3/QryAreaExpourseContractDetail:
  28008. get:
  28009. parameters:
  28010. - description: 用户ID
  28011. in: query
  28012. name: userid
  28013. required: true
  28014. type: integer
  28015. - description: 套保商品id
  28016. in: query
  28017. name: middlegoodsid
  28018. required: true
  28019. type: integer
  28020. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28021. in: query
  28022. name: cycletype
  28023. required: true
  28024. type: integer
  28025. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28026. 全(0)【原值】
  28027. in: query
  28028. name: cycletime
  28029. required: true
  28030. type: string
  28031. produces:
  28032. - application/json
  28033. responses:
  28034. "200":
  28035. description: OK
  28036. schema:
  28037. items:
  28038. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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. - 企业风险管理v3(app)
  28049. /Ermcp3/QryAreaExpourseFutuDetail:
  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.Ermcp3ExposureFutuDetail'
  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/QryAreaExpourseHedgeplanDetail:
  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.Ermcp3ExposureHedgeplanDetail'
  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/QryAreaExpourseParamChLogDetail:
  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.Ermcp3ExposureParamChLog'
  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/QryAreaExpourseReport:
  28176. get:
  28177. parameters:
  28178. - description: 用户ID
  28179. in: query
  28180. name: userid
  28181. required: true
  28182. type: integer
  28183. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  28184. in: query
  28185. name: querytype
  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.Ermcp3ExpourseReport'
  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/QryAreaSpotplReport:
  28218. get:
  28219. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  28220. parameters:
  28221. - description: 用户ID
  28222. in: query
  28223. name: userid
  28224. required: true
  28225. type: integer
  28226. - description: 查询类型 1-报表 2-报表明细
  28227. in: query
  28228. name: querytype
  28229. required: true
  28230. type: integer
  28231. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28232. in: query
  28233. name: cycletype
  28234. required: true
  28235. type: integer
  28236. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28237. 全(0)【原值】
  28238. in: query
  28239. name: cycletime
  28240. required: true
  28241. type: string
  28242. - description: 现货品种id(明细必填)
  28243. in: query
  28244. name: deliverygoodsid
  28245. type: integer
  28246. - description: 币种id(明细必填)
  28247. in: query
  28248. name: currencyid
  28249. type: integer
  28250. - description: 日/周/月报表汇总维度 1:品种+品类
  28251. in: query
  28252. name: sumflag
  28253. type: integer
  28254. produces:
  28255. - application/json
  28256. responses:
  28257. "200":
  28258. description: OK
  28259. schema:
  28260. items:
  28261. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  28262. type: array
  28263. "500":
  28264. description: Internal Server Error
  28265. schema:
  28266. $ref: '#/definitions/app.Response'
  28267. security:
  28268. - ApiKeyAuth: []
  28269. summary: 查询现货报表
  28270. tags:
  28271. - 企业风险管理v3(app)
  28272. /Ermcp3/QryAreaStockReport:
  28273. get:
  28274. parameters:
  28275. - description: 用户ID
  28276. in: query
  28277. name: userid
  28278. required: true
  28279. type: integer
  28280. - description: 查询类型 1-报表 2-报表明细
  28281. in: query
  28282. name: querytype
  28283. required: true
  28284. type: integer
  28285. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28286. in: query
  28287. name: cycletype
  28288. required: true
  28289. type: integer
  28290. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28291. 全(0)【原值】
  28292. in: query
  28293. name: cycletime
  28294. required: true
  28295. type: string
  28296. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  28297. in: query
  28298. name: sumfields
  28299. type: string
  28300. - description: 品种ID
  28301. in: query
  28302. name: deliverygoodsid
  28303. type: integer
  28304. - description: 品类ID
  28305. in: query
  28306. name: wrstandardid
  28307. type: integer
  28308. - description: 品牌ID
  28309. in: query
  28310. name: spotgoodsbrandid
  28311. type: integer
  28312. - description: 仓库ID
  28313. in: query
  28314. name: warehouseinfoid
  28315. type: integer
  28316. produces:
  28317. - application/json
  28318. responses:
  28319. "200":
  28320. description: OK
  28321. schema:
  28322. items:
  28323. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  28324. type: array
  28325. "500":
  28326. description: Internal Server Error
  28327. schema:
  28328. $ref: '#/definitions/app.Response'
  28329. security:
  28330. - ApiKeyAuth: []
  28331. summary: 查询库存报表
  28332. tags:
  28333. - 企业风险管理v3(app)
  28334. /Ermcp3/QryAreaSumPL:
  28335. get:
  28336. parameters:
  28337. - description: 用户ID
  28338. in: query
  28339. name: userid
  28340. required: true
  28341. type: integer
  28342. - description: 查询类型 1-报表 2-报表明细
  28343. in: query
  28344. name: querytype
  28345. required: true
  28346. type: integer
  28347. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28348. in: query
  28349. name: cycletype
  28350. required: true
  28351. type: integer
  28352. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28353. 全(0)【原值】
  28354. in: query
  28355. name: cycletime
  28356. required: true
  28357. type: string
  28358. - description: 币种id(明细必填)
  28359. in: query
  28360. name: currencyid
  28361. type: integer
  28362. - description: 套保品种ID, 查询类型为2时起效
  28363. in: query
  28364. name: middlegoodsid
  28365. type: integer
  28366. produces:
  28367. - application/json
  28368. responses:
  28369. "200":
  28370. description: OK
  28371. schema:
  28372. items:
  28373. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  28374. type: array
  28375. "500":
  28376. description: Internal Server Error
  28377. schema:
  28378. $ref: '#/definitions/app.Response'
  28379. security:
  28380. - ApiKeyAuth: []
  28381. summary: 查询汇总损益表
  28382. tags:
  28383. - 企业风险管理v3(app)
  28384. /Ermcp3/QryFinanceReport:
  28385. get:
  28386. parameters:
  28387. - description: 用户ID
  28388. in: query
  28389. name: userid
  28390. required: true
  28391. type: integer
  28392. - description: 查询类型 1-报表 2-报表明细
  28393. in: query
  28394. name: querytype
  28395. required: true
  28396. type: integer
  28397. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28398. in: query
  28399. name: cycletype
  28400. required: true
  28401. type: integer
  28402. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28403. 全(0)【原值】
  28404. in: query
  28405. name: cycletime
  28406. required: true
  28407. type: string
  28408. - description: 币种id(报表明细必填)
  28409. in: query
  28410. name: currencyid
  28411. type: integer
  28412. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  28413. in: query
  28414. name: sumfields
  28415. type: string
  28416. produces:
  28417. - application/json
  28418. responses:
  28419. "200":
  28420. description: OK
  28421. schema:
  28422. items:
  28423. $ref: '#/definitions/models.Ermcp3FinanceReport'
  28424. type: array
  28425. "500":
  28426. description: Internal Server Error
  28427. schema:
  28428. $ref: '#/definitions/app.Response'
  28429. security:
  28430. - ApiKeyAuth: []
  28431. summary: 查询财务报表
  28432. tags:
  28433. - 企业风险管理v3(app)
  28434. /Ermcp3/QrySCMiddleGoodsReport:
  28435. get:
  28436. parameters:
  28437. - description: 用户ID
  28438. in: query
  28439. name: userid
  28440. required: true
  28441. type: integer
  28442. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28443. in: query
  28444. name: cycletype
  28445. required: true
  28446. type: integer
  28447. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28448. 全(0)【原值】
  28449. in: query
  28450. name: cycletime
  28451. required: true
  28452. type: string
  28453. - description: 合同id
  28454. in: query
  28455. name: spotcontractid
  28456. type: integer
  28457. - description: 套保品种id
  28458. in: query
  28459. name: middlegoodsid
  28460. type: integer
  28461. - description: 现货品种id
  28462. in: query
  28463. name: deliverygoodsid
  28464. type: integer
  28465. - description: 现货商品id
  28466. in: query
  28467. name: wrstandardid
  28468. type: integer
  28469. - description: 合同编号(模糊匹配)
  28470. in: query
  28471. name: contractno
  28472. type: string
  28473. produces:
  28474. - application/json
  28475. responses:
  28476. "200":
  28477. description: OK
  28478. schema:
  28479. items:
  28480. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  28481. type: array
  28482. "500":
  28483. description: Internal Server Error
  28484. schema:
  28485. $ref: '#/definitions/app.Response'
  28486. security:
  28487. - ApiKeyAuth: []
  28488. summary: 查询定价报表
  28489. tags:
  28490. - 企业风险管理v3(app)
  28491. /Ermcp3/QryTaFutureDataReport:
  28492. get:
  28493. parameters:
  28494. - description: 用户ID
  28495. in: query
  28496. name: userid
  28497. required: true
  28498. type: integer
  28499. - description: 查询类型 1-报表 2-报表明细
  28500. in: query
  28501. name: querytype
  28502. required: true
  28503. type: integer
  28504. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  28505. in: query
  28506. name: cycletype
  28507. required: true
  28508. type: integer
  28509. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  28510. 全(0)【原值】
  28511. in: query
  28512. name: cycletime
  28513. required: true
  28514. type: string
  28515. - description: 币种id(查明细必填)
  28516. in: query
  28517. name: currencyid
  28518. type: integer
  28519. - description: 品种id(查明细必填)
  28520. in: query
  28521. name: goodsgroupid
  28522. type: integer
  28523. - description: 商品id(查明细必填)
  28524. in: query
  28525. name: goodsid
  28526. type: integer
  28527. - description: 买卖方向(查明细必填)
  28528. in: query
  28529. name: buyorsell
  28530. type: integer
  28531. produces:
  28532. - application/json
  28533. responses:
  28534. "200":
  28535. description: OK
  28536. schema:
  28537. items:
  28538. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  28539. type: array
  28540. "500":
  28541. description: Internal Server Error
  28542. schema:
  28543. $ref: '#/definitions/app.Response'
  28544. security:
  28545. - ApiKeyAuth: []
  28546. summary: 查询期货报表
  28547. tags:
  28548. - 企业风险管理v3(app)
  28549. /Ermcp3/QueryAreaStock:
  28550. get:
  28551. parameters:
  28552. - description: 用户ID
  28553. in: query
  28554. name: userid
  28555. required: true
  28556. type: integer
  28557. produces:
  28558. - application/json
  28559. responses:
  28560. "200":
  28561. description: OK
  28562. schema:
  28563. items:
  28564. $ref: '#/definitions/models.Ermcp3AreaStock'
  28565. type: array
  28566. "500":
  28567. description: Internal Server Error
  28568. schema:
  28569. $ref: '#/definitions/app.Response'
  28570. security:
  28571. - ApiKeyAuth: []
  28572. summary: 查询机构库存(库存管理/当前库存)
  28573. tags:
  28574. - 企业风险管理v3(app)
  28575. /Ermcp3/QueryAreaStockApply:
  28576. get:
  28577. parameters:
  28578. - description: 用户ID
  28579. in: query
  28580. name: userid
  28581. required: true
  28582. type: integer
  28583. - description: 用户类型 2-机构 7-企业成员
  28584. in: query
  28585. name: usertype
  28586. type: integer
  28587. - description: 现货商品ID
  28588. in: query
  28589. name: deliverygoodsid
  28590. type: integer
  28591. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  28592. in: query
  28593. name: inouttype
  28594. type: string
  28595. - description: 合同ID
  28596. in: query
  28597. name: spotcontractid
  28598. type: integer
  28599. - description: 品类ID
  28600. in: query
  28601. name: wrstandardid
  28602. type: integer
  28603. - description: 品牌ID
  28604. in: query
  28605. name: spotgoodsbrandid
  28606. type: integer
  28607. - description: 仓库ID
  28608. in: query
  28609. name: warehouseinfoid
  28610. type: integer
  28611. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  28612. in: query
  28613. name: applystatus
  28614. type: string
  28615. produces:
  28616. - application/json
  28617. responses:
  28618. "200":
  28619. description: OK
  28620. schema:
  28621. items:
  28622. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  28623. type: array
  28624. "500":
  28625. description: Internal Server Error
  28626. schema:
  28627. $ref: '#/definitions/app.Response'
  28628. security:
  28629. - ApiKeyAuth: []
  28630. summary: 查询库存申请(出入库记录|库存审核)
  28631. tags:
  28632. - 企业风险管理v3(app)
  28633. /Ermcp3/QueryAreaStockApplySum:
  28634. get:
  28635. parameters:
  28636. - description: 合同ID
  28637. in: query
  28638. name: spotcontractid
  28639. required: true
  28640. type: integer
  28641. produces:
  28642. - application/json
  28643. responses:
  28644. "200":
  28645. description: OK
  28646. schema:
  28647. items:
  28648. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  28649. type: array
  28650. "500":
  28651. description: Internal Server Error
  28652. schema:
  28653. $ref: '#/definitions/app.Response'
  28654. security:
  28655. - ApiKeyAuth: []
  28656. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  28657. tags:
  28658. - 企业风险管理v3(app)
  28659. /Ermcp3/QueryDGFactoryItem:
  28660. get:
  28661. parameters:
  28662. - description: 用户id
  28663. in: query
  28664. name: userid
  28665. type: integer
  28666. - description: 用户类型 2-机构 7-企业成员
  28667. in: query
  28668. name: usertype
  28669. type: integer
  28670. - description: 选择项ID(SEQ_DGFACTORYITEM)
  28671. in: query
  28672. name: dgfactoryitemid
  28673. type: integer
  28674. - description: 现货品种ID
  28675. in: query
  28676. name: deliverygoodsid
  28677. type: integer
  28678. - description: 要素项类型
  28679. in: query
  28680. name: dgfactoryitemtypeid
  28681. type: integer
  28682. - description: 顺序
  28683. in: query
  28684. name: orderindex
  28685. type: integer
  28686. produces:
  28687. - application/json
  28688. responses:
  28689. "200":
  28690. description: OK
  28691. schema:
  28692. items:
  28693. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  28694. type: array
  28695. "500":
  28696. description: Internal Server Error
  28697. schema:
  28698. $ref: '#/definitions/app.Response'
  28699. security:
  28700. - ApiKeyAuth: []
  28701. summary: 查询品种要素定义项
  28702. tags:
  28703. - 企业风险管理v3(app)
  28704. /Ermcp3/QueryDeliveryGoods:
  28705. get:
  28706. parameters:
  28707. - description: 用户id
  28708. in: query
  28709. name: userid
  28710. required: true
  28711. type: integer
  28712. - description: 用户类型 2-机构 7-企业成员
  28713. in: query
  28714. name: usertype
  28715. type: integer
  28716. - description: 排除已配置的业务类型商品 1-套保 2-套利
  28717. in: query
  28718. name: excludecfg
  28719. type: integer
  28720. produces:
  28721. - application/json
  28722. responses:
  28723. "200":
  28724. description: OK
  28725. schema:
  28726. items:
  28727. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  28728. type: array
  28729. "500":
  28730. description: Internal Server Error
  28731. schema:
  28732. $ref: '#/definitions/app.Response'
  28733. security:
  28734. - ApiKeyAuth: []
  28735. summary: 查询现货商品
  28736. tags:
  28737. - 企业风险管理v3(app)
  28738. /Ermcp3/QueryDeliveryGoodsDetail:
  28739. get:
  28740. parameters:
  28741. - description: 用户id
  28742. in: query
  28743. name: userid
  28744. required: true
  28745. type: integer
  28746. - description: 用户类型 2-机构 7-企业成员
  28747. in: query
  28748. name: usertype
  28749. type: integer
  28750. - description: 现货商品id
  28751. in: query
  28752. name: deliverygoodsid
  28753. type: integer
  28754. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  28755. in: query
  28756. name: filtersubempty
  28757. type: integer
  28758. produces:
  28759. - application/json
  28760. responses:
  28761. "200":
  28762. description: OK
  28763. schema:
  28764. items:
  28765. $ref: '#/definitions/models.XHDeliveryGoods'
  28766. type: array
  28767. "500":
  28768. description: Internal Server Error
  28769. schema:
  28770. $ref: '#/definitions/app.Response'
  28771. security:
  28772. - ApiKeyAuth: []
  28773. summary: 查询现货商品详情
  28774. tags:
  28775. - 企业风险管理v3(app)
  28776. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  28777. get:
  28778. parameters:
  28779. - description: 合同id
  28780. in: query
  28781. name: spotcontractid
  28782. required: true
  28783. type: string
  28784. produces:
  28785. - application/json
  28786. responses:
  28787. "200":
  28788. description: OK
  28789. schema:
  28790. items:
  28791. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  28792. type: array
  28793. "500":
  28794. description: Internal Server Error
  28795. schema:
  28796. $ref: '#/definitions/app.Response'
  28797. security:
  28798. - ApiKeyAuth: []
  28799. summary: 查询现货合同期现配置信息
  28800. tags:
  28801. - 企业风险管理v3(app)
  28802. /Ermcp3/QueryExposureDetail:
  28803. get:
  28804. parameters:
  28805. - description: 用户id
  28806. in: query
  28807. name: userid
  28808. required: true
  28809. type: integer
  28810. - description: 用户类型 2-机构 7-企业成员
  28811. in: query
  28812. name: usertype
  28813. type: integer
  28814. - description: 套保商品
  28815. in: query
  28816. name: middlegoodsid
  28817. required: true
  28818. type: integer
  28819. produces:
  28820. - application/json
  28821. responses:
  28822. "200":
  28823. description: OK
  28824. schema:
  28825. items:
  28826. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  28827. type: array
  28828. "500":
  28829. description: Internal Server Error
  28830. schema:
  28831. $ref: '#/definitions/app.Response'
  28832. security:
  28833. - ApiKeyAuth: []
  28834. summary: 查询敞口现货明细
  28835. tags:
  28836. - 企业风险管理v3(app)
  28837. /Ermcp3/QueryExposureSpot:
  28838. get:
  28839. parameters:
  28840. - description: 用户id
  28841. in: query
  28842. name: userid
  28843. required: true
  28844. type: integer
  28845. - description: 用户类型 2-机构 7-企业成员
  28846. in: query
  28847. name: usertype
  28848. type: integer
  28849. produces:
  28850. - application/json
  28851. responses:
  28852. "200":
  28853. description: OK
  28854. schema:
  28855. items:
  28856. $ref: '#/definitions/models.Ermcp3AreaSpot'
  28857. type: array
  28858. "500":
  28859. description: Internal Server Error
  28860. schema:
  28861. $ref: '#/definitions/app.Response'
  28862. security:
  28863. - ApiKeyAuth: []
  28864. summary: 查询敞口现货头寸(敞口/现货头寸)
  28865. tags:
  28866. - 企业风险管理v3(app)
  28867. /Ermcp3/QueryExposureSpotDetail:
  28868. get:
  28869. parameters:
  28870. - description: 用户id
  28871. in: query
  28872. name: userid
  28873. required: true
  28874. type: integer
  28875. - description: 用户类型 2-机构 7-企业成员
  28876. in: query
  28877. name: usertype
  28878. type: integer
  28879. - description: 现货商品ID
  28880. in: query
  28881. name: wrstandardid
  28882. required: true
  28883. type: integer
  28884. produces:
  28885. - application/json
  28886. responses:
  28887. "200":
  28888. description: OK
  28889. schema:
  28890. items:
  28891. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  28892. type: array
  28893. "500":
  28894. description: Internal Server Error
  28895. schema:
  28896. $ref: '#/definitions/app.Response'
  28897. security:
  28898. - ApiKeyAuth: []
  28899. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  28900. tags:
  28901. - 企业风险管理v3(app)
  28902. /Ermcp3/QueryGoodsGroup:
  28903. get:
  28904. parameters:
  28905. - description: 用户id
  28906. in: query
  28907. name: userid
  28908. required: true
  28909. type: integer
  28910. - description: 用户类型 2-机构 7-企业成员
  28911. in: query
  28912. name: usertype
  28913. type: integer
  28914. - description: 排除套保品中已关联的商品组 1-排除
  28915. in: query
  28916. name: excludecfg
  28917. type: integer
  28918. produces:
  28919. - application/json
  28920. responses:
  28921. "200":
  28922. description: OK
  28923. schema:
  28924. items:
  28925. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  28926. type: array
  28927. "500":
  28928. description: Internal Server Error
  28929. schema:
  28930. $ref: '#/definitions/app.Response'
  28931. security:
  28932. - ApiKeyAuth: []
  28933. summary: 查询期货商品组
  28934. tags:
  28935. - 企业风险管理v3(app)
  28936. /Ermcp3/QueryGoodsWrstandard:
  28937. get:
  28938. parameters:
  28939. - description: 用户id
  28940. in: query
  28941. name: userid
  28942. required: true
  28943. type: integer
  28944. - description: 用户类型 2-机构 7-企业成员
  28945. in: query
  28946. name: usertype
  28947. type: integer
  28948. - description: 现货商品id
  28949. in: query
  28950. name: deliverygoodsid
  28951. type: integer
  28952. produces:
  28953. - application/json
  28954. responses:
  28955. "200":
  28956. description: OK
  28957. schema:
  28958. items:
  28959. $ref: '#/definitions/models.Ermcp3Wrstandard'
  28960. type: array
  28961. "500":
  28962. description: Internal Server Error
  28963. schema:
  28964. $ref: '#/definitions/app.Response'
  28965. security:
  28966. - ApiKeyAuth: []
  28967. summary: 查询商品品类
  28968. tags:
  28969. - 企业风险管理v3(app)
  28970. /Ermcp3/QueryGoodsbrand:
  28971. get:
  28972. parameters:
  28973. - description: 用户id
  28974. in: query
  28975. name: userid
  28976. required: true
  28977. type: integer
  28978. - description: 用户类型 2-机构 7-企业成员
  28979. in: query
  28980. name: usertype
  28981. type: integer
  28982. produces:
  28983. - application/json
  28984. responses:
  28985. "200":
  28986. description: OK
  28987. schema:
  28988. items:
  28989. $ref: '#/definitions/models.Ermcp3Brand'
  28990. type: array
  28991. "500":
  28992. description: Internal Server Error
  28993. schema:
  28994. $ref: '#/definitions/app.Response'
  28995. security:
  28996. - ApiKeyAuth: []
  28997. summary: 查询商品品牌
  28998. tags:
  28999. - 企业风险管理v3(app)
  29000. /Ermcp3/QueryHPMiddleGoods:
  29001. get:
  29002. parameters:
  29003. - description: 用户ID(填登录用户的userid)
  29004. in: query
  29005. name: userid
  29006. required: true
  29007. type: integer
  29008. - description: 买卖方向 0-买 1-卖
  29009. in: query
  29010. name: buyorsell
  29011. required: true
  29012. type: integer
  29013. - description: 商品组id
  29014. in: query
  29015. name: goodsgroupid
  29016. required: true
  29017. type: integer
  29018. - description: 套保计划编号(模糊匹配)
  29019. in: query
  29020. name: hedgeplanno
  29021. type: string
  29022. - description: 现货商品名称(模糊匹配)
  29023. in: query
  29024. name: wrstandardname
  29025. type: string
  29026. produces:
  29027. - application/json
  29028. responses:
  29029. "200":
  29030. description: OK
  29031. schema:
  29032. items:
  29033. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  29034. type: array
  29035. "500":
  29036. description: Internal Server Error
  29037. schema:
  29038. $ref: '#/definitions/app.Response'
  29039. security:
  29040. - ApiKeyAuth: []
  29041. summary: 查询可关联套保计划
  29042. tags:
  29043. - 企业风险管理v3(app)
  29044. /Ermcp3/QueryHedgePlan:
  29045. get:
  29046. parameters:
  29047. - description: 用户ID
  29048. in: query
  29049. name: userid
  29050. required: true
  29051. type: integer
  29052. - description: 用户类型 2-机构 7-企业成员
  29053. in: query
  29054. name: usertype
  29055. type: integer
  29056. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29057. in: query
  29058. name: hedgeplanstatus
  29059. required: true
  29060. type: string
  29061. produces:
  29062. - application/json
  29063. responses:
  29064. "200":
  29065. description: OK
  29066. schema:
  29067. items:
  29068. $ref: '#/definitions/models.Ermcp3HedgePlan'
  29069. type: array
  29070. "500":
  29071. description: Internal Server Error
  29072. schema:
  29073. $ref: '#/definitions/app.Response'
  29074. security:
  29075. - ApiKeyAuth: []
  29076. summary: 查询套保计划
  29077. tags:
  29078. - 企业风险管理v3(app)
  29079. /Ermcp3/QueryInnerTradeLink:
  29080. get:
  29081. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  29082. parameters:
  29083. - description: 外部成交单号
  29084. in: query
  29085. name: outtradeid
  29086. required: true
  29087. type: integer
  29088. produces:
  29089. - application/json
  29090. responses:
  29091. "200":
  29092. description: OK
  29093. schema:
  29094. items:
  29095. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  29096. type: array
  29097. "500":
  29098. description: Internal Server Error
  29099. schema:
  29100. $ref: '#/definitions/app.Response'
  29101. security:
  29102. - ApiKeyAuth: []
  29103. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  29104. tags:
  29105. - 企业风险管理v3(app)
  29106. /Ermcp3/QueryMiddleGoodsDetail:
  29107. get:
  29108. parameters:
  29109. - description: 用户id
  29110. in: query
  29111. name: userid
  29112. required: true
  29113. type: integer
  29114. - description: 用户类型 2-机构 7-企业成员
  29115. in: query
  29116. name: usertype
  29117. type: integer
  29118. - description: 套保品种id
  29119. in: query
  29120. name: middlegoodsid
  29121. type: integer
  29122. produces:
  29123. - application/json
  29124. responses:
  29125. "200":
  29126. description: OK
  29127. schema:
  29128. items:
  29129. $ref: '#/definitions/models.TBMiddleGoods'
  29130. type: array
  29131. "500":
  29132. description: Internal Server Error
  29133. schema:
  29134. $ref: '#/definitions/app.Response'
  29135. security:
  29136. - ApiKeyAuth: []
  29137. summary: 查询套保品种详情(套保品种/商品详情)
  29138. tags:
  29139. - 企业风险管理v3(app)
  29140. /Ermcp3/QueryOutTradeLink:
  29141. get:
  29142. description: 页面 app 现货->期现关联->外部成交单关联
  29143. parameters:
  29144. - description: 用户ID(填登录用户的userid)
  29145. in: query
  29146. name: userid
  29147. required: true
  29148. type: integer
  29149. - description: 外部订单号(模糊匹配)
  29150. in: query
  29151. name: outtradeid
  29152. type: string
  29153. - description: 合约名称/代码(模糊匹配)
  29154. in: query
  29155. name: goodsname
  29156. type: string
  29157. - description: 关联状态 0-未关联 1-已关联
  29158. in: query
  29159. name: hasinnerorder
  29160. type: integer
  29161. produces:
  29162. - application/json
  29163. responses:
  29164. "200":
  29165. description: OK
  29166. schema:
  29167. items:
  29168. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  29169. type: array
  29170. "500":
  29171. description: Internal Server Error
  29172. schema:
  29173. $ref: '#/definitions/app.Response'
  29174. security:
  29175. - ApiKeyAuth: []
  29176. summary: 查询外部成交单关联
  29177. tags:
  29178. - 企业风险管理v3(app)
  29179. /Ermcp3/QueryPaAreaAuditCfg:
  29180. get:
  29181. parameters:
  29182. - description: 用户id
  29183. in: query
  29184. name: userid
  29185. required: true
  29186. type: integer
  29187. produces:
  29188. - application/json
  29189. responses:
  29190. "200":
  29191. description: OK
  29192. schema:
  29193. items:
  29194. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  29195. type: array
  29196. "500":
  29197. description: Internal Server Error
  29198. schema:
  29199. $ref: '#/definitions/app.Response'
  29200. security:
  29201. - ApiKeyAuth: []
  29202. summary: 查询审核设置
  29203. tags:
  29204. - 企业风险管理v3(app)
  29205. /Ermcp3/QueryPaAreaSubject:
  29206. get:
  29207. parameters:
  29208. - description: 用户id
  29209. in: query
  29210. name: userid
  29211. required: true
  29212. type: integer
  29213. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  29214. in: query
  29215. name: subjectid
  29216. type: integer
  29217. - description: 主体类型 - 1:交易主体 2:业务部门
  29218. in: query
  29219. name: subjecttype
  29220. type: integer
  29221. - description: '主体状态 - 1:正常 2: 停用'
  29222. in: query
  29223. name: subjectstatus
  29224. type: integer
  29225. produces:
  29226. - application/json
  29227. responses:
  29228. "200":
  29229. description: OK
  29230. schema:
  29231. items:
  29232. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  29233. type: array
  29234. "500":
  29235. description: Internal Server Error
  29236. schema:
  29237. $ref: '#/definitions/app.Response'
  29238. security:
  29239. - ApiKeyAuth: []
  29240. summary: 查询交易主体
  29241. tags:
  29242. - 企业风险管理v3(app)
  29243. /Ermcp3/QueryPaTradeLink:
  29244. get:
  29245. description: 页面 app 现货->期现关联->期现单据关联
  29246. parameters:
  29247. - description: 用户ID
  29248. in: query
  29249. name: userid
  29250. required: true
  29251. type: integer
  29252. produces:
  29253. - application/json
  29254. responses:
  29255. "200":
  29256. description: OK
  29257. schema:
  29258. items:
  29259. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  29260. type: array
  29261. "500":
  29262. description: Internal Server Error
  29263. schema:
  29264. $ref: '#/definitions/app.Response'
  29265. security:
  29266. - ApiKeyAuth: []
  29267. summary: 查询期现单据关联
  29268. tags:
  29269. - 企业风险管理v3(app)
  29270. /Ermcp3/QueryPaTradeLinkDetail:
  29271. get:
  29272. description: 页面 app 现货->期现关联->关联记录
  29273. parameters:
  29274. - description: 用户ID(填登录用户的userid)
  29275. in: query
  29276. name: userid
  29277. required: true
  29278. type: integer
  29279. - description: 关联状态 1:成功 2:失败 3:解绑
  29280. in: query
  29281. name: linkstatus
  29282. type: integer
  29283. - description: 期货订单号(模糊匹配)
  29284. in: query
  29285. name: tradeid
  29286. type: string
  29287. - description: 现货编号(模糊匹配)
  29288. in: query
  29289. name: contractno
  29290. type: string
  29291. - description: 期货账户(模糊匹配)
  29292. in: query
  29293. name: taname
  29294. type: string
  29295. produces:
  29296. - application/json
  29297. responses:
  29298. "200":
  29299. description: OK
  29300. schema:
  29301. items:
  29302. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  29303. type: array
  29304. "500":
  29305. description: Internal Server Error
  29306. schema:
  29307. $ref: '#/definitions/app.Response'
  29308. security:
  29309. - ApiKeyAuth: []
  29310. summary: 查询期现关联记录
  29311. tags:
  29312. - 企业风险管理v3(app)
  29313. /Ermcp3/QueryParamChangeApp:
  29314. get:
  29315. description: |-
  29316. 原型页面:
  29317. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  29318. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  29319. parameters:
  29320. - description: 用户ID
  29321. in: query
  29322. name: userid
  29323. required: true
  29324. type: integer
  29325. - description: 现货品种id
  29326. in: query
  29327. name: deliverygoodsid
  29328. type: integer
  29329. - description: 现货商品id
  29330. in: query
  29331. name: wrstandardid
  29332. type: integer
  29333. - description: 套保商品id
  29334. in: query
  29335. name: middlegoodsid
  29336. type: integer
  29337. - description: 操作类型 1:新增 2:修改
  29338. in: query
  29339. name: operatetype
  29340. type: integer
  29341. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  29342. in: query
  29343. name: paramchangetype
  29344. type: integer
  29345. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  29346. in: query
  29347. name: ftstatus
  29348. type: string
  29349. produces:
  29350. - application/json
  29351. responses:
  29352. "200":
  29353. description: OK
  29354. schema:
  29355. items:
  29356. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  29357. type: array
  29358. "500":
  29359. description: Internal Server Error
  29360. schema:
  29361. $ref: '#/definitions/app.Response'
  29362. security:
  29363. - ApiKeyAuth: []
  29364. summary: 查询现货商品参数变更申请(流水)
  29365. tags:
  29366. - 企业风险管理v3(app)
  29367. /Ermcp3/QueryRootUserAccount:
  29368. get:
  29369. parameters:
  29370. - description: 用户ID
  29371. in: query
  29372. name: userid
  29373. required: true
  29374. type: integer
  29375. produces:
  29376. - application/json
  29377. responses:
  29378. "200":
  29379. description: OK
  29380. schema:
  29381. items:
  29382. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  29383. type: array
  29384. "500":
  29385. description: Internal Server Error
  29386. schema:
  29387. $ref: '#/definitions/app.Response'
  29388. security:
  29389. - ApiKeyAuth: []
  29390. summary: 查询顶级用户信息
  29391. tags:
  29392. - 企业风险管理v3(app)
  29393. /Ermcp3/QuerySCMiddleGoods:
  29394. get:
  29395. description: |-
  29396. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  29397. 现货编号 即 合同编号
  29398. parameters:
  29399. - description: 用户ID(填登录用户的userid)
  29400. in: query
  29401. name: userid
  29402. required: true
  29403. type: integer
  29404. - description: 买卖方向 0-买 1-卖
  29405. in: query
  29406. name: buyorsell
  29407. required: true
  29408. type: integer
  29409. - description: 商品组id
  29410. in: query
  29411. name: goodsgroupid
  29412. required: true
  29413. type: integer
  29414. - description: 业务类型 1:套保 2:套利
  29415. in: query
  29416. name: biztype
  29417. type: integer
  29418. - description: 现货编号(模糊匹配)
  29419. in: query
  29420. name: contractno
  29421. type: string
  29422. - description: 对手方(模糊匹配)
  29423. in: query
  29424. name: customername
  29425. type: string
  29426. - description: 现货商品名称(模糊匹配)
  29427. in: query
  29428. name: wrstandardname
  29429. type: string
  29430. produces:
  29431. - application/json
  29432. responses:
  29433. "200":
  29434. description: OK
  29435. schema:
  29436. items:
  29437. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  29438. type: array
  29439. "500":
  29440. description: Internal Server Error
  29441. schema:
  29442. $ref: '#/definitions/app.Response'
  29443. security:
  29444. - ApiKeyAuth: []
  29445. summary: 查询现货订单
  29446. tags:
  29447. - 企业风险管理v3(app)
  29448. /Ermcp3/QuerySpotContract:
  29449. get:
  29450. parameters:
  29451. - description: 用户id(当指定contractid, userid可不填)
  29452. in: query
  29453. name: userid
  29454. required: true
  29455. type: integer
  29456. - description: 用户类型 2-机构 7-企业成员
  29457. in: query
  29458. name: usertype
  29459. type: integer
  29460. - description: 合同类型 1-采购, -1-销售
  29461. in: query
  29462. name: contracttype
  29463. type: integer
  29464. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  29465. in: query
  29466. name: querytype
  29467. type: string
  29468. - description: 合同ID(SpotContractId)
  29469. in: query
  29470. name: contractid
  29471. type: string
  29472. - description: 合同编号(模糊匹配)
  29473. in: query
  29474. name: contractno
  29475. type: string
  29476. - description: 商品名称(模糊匹配)
  29477. in: query
  29478. name: wrstandardname
  29479. type: string
  29480. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29481. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29482. in: query
  29483. name: status
  29484. type: string
  29485. - description: 是否只查今日的合同 1-查今日合同
  29486. in: query
  29487. name: istoday
  29488. type: integer
  29489. produces:
  29490. - application/json
  29491. responses:
  29492. "200":
  29493. description: OK
  29494. schema:
  29495. items:
  29496. $ref: '#/definitions/models.Ermcp3Contract'
  29497. type: array
  29498. "500":
  29499. description: Internal Server Error
  29500. schema:
  29501. $ref: '#/definitions/app.Response'
  29502. security:
  29503. - ApiKeyAuth: []
  29504. summary: 查询现货合同
  29505. tags:
  29506. - 企业风险管理v3(app)
  29507. /Ermcp3/QuerySpotContractBS:
  29508. get:
  29509. parameters:
  29510. - description: 用户id
  29511. in: query
  29512. name: userid
  29513. required: true
  29514. type: integer
  29515. - description: 用户类型 2-机构 7-企业成员
  29516. in: query
  29517. name: usertype
  29518. type: integer
  29519. - description: 合同类型 1-采购, -1-销售
  29520. in: query
  29521. name: contracttype
  29522. required: true
  29523. type: integer
  29524. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  29525. in: query
  29526. name: querytype
  29527. type: integer
  29528. - description: 合同ID(SpotContractId)
  29529. in: query
  29530. name: contractid
  29531. type: string
  29532. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  29533. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29534. in: query
  29535. name: status
  29536. type: string
  29537. - description: 是否只查今日的合同 1-查今日合同
  29538. in: query
  29539. name: istoday
  29540. type: integer
  29541. produces:
  29542. - application/json
  29543. responses:
  29544. "200":
  29545. description: OK
  29546. schema:
  29547. items:
  29548. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  29549. type: array
  29550. "500":
  29551. description: Internal Server Error
  29552. schema:
  29553. $ref: '#/definitions/app.Response'
  29554. security:
  29555. - ApiKeyAuth: []
  29556. summary: 查询合同(采购/销售)
  29557. tags:
  29558. - 企业风险管理v3(app)
  29559. /Ermcp3/QuerySpotGoodsPrice:
  29560. get:
  29561. parameters:
  29562. - description: 用户ID
  29563. in: query
  29564. name: userid
  29565. required: true
  29566. type: integer
  29567. produces:
  29568. - application/json
  29569. responses:
  29570. "200":
  29571. description: OK
  29572. schema:
  29573. items:
  29574. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  29575. type: array
  29576. "500":
  29577. description: Internal Server Error
  29578. schema:
  29579. $ref: '#/definitions/app.Response'
  29580. security:
  29581. - ApiKeyAuth: []
  29582. summary: 查询现货市价(现货市价)
  29583. tags:
  29584. - 企业风险管理v3(app)
  29585. /Ermcp3/QuerySpotGoodsPriceLog:
  29586. get:
  29587. parameters:
  29588. - description: 用户ID
  29589. in: query
  29590. name: userid
  29591. required: true
  29592. type: integer
  29593. - description: 现货商品ID
  29594. in: query
  29595. name: deliverygoodsid
  29596. required: true
  29597. type: integer
  29598. - description: 品牌ID
  29599. in: query
  29600. name: brandid
  29601. type: integer
  29602. - description: 品类ID
  29603. in: query
  29604. name: wrstandardid
  29605. type: integer
  29606. produces:
  29607. - application/json
  29608. responses:
  29609. "200":
  29610. description: OK
  29611. schema:
  29612. items:
  29613. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  29614. type: array
  29615. "500":
  29616. description: Internal Server Error
  29617. schema:
  29618. $ref: '#/definitions/app.Response'
  29619. security:
  29620. - ApiKeyAuth: []
  29621. summary: 查询现货市价详情(现货市价/详情)
  29622. tags:
  29623. - 企业风险管理v3(app)
  29624. /Ermcp3/QuerySubTaaccount:
  29625. get:
  29626. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  29627. parameters:
  29628. - description: 母账号id
  29629. in: query
  29630. name: parentaccountid
  29631. type: integer
  29632. - description: 母账号代码
  29633. in: query
  29634. name: parentaccountcode
  29635. type: string
  29636. produces:
  29637. - application/json
  29638. responses:
  29639. "200":
  29640. description: OK
  29641. schema:
  29642. items:
  29643. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  29644. type: array
  29645. "500":
  29646. description: Internal Server Error
  29647. schema:
  29648. $ref: '#/definitions/app.Response'
  29649. security:
  29650. - ApiKeyAuth: []
  29651. summary: 查询期货子账户
  29652. tags:
  29653. - 企业风险管理v3(app)
  29654. /Ermcp8/QueryERMCP2HedgedItemSpotDetail:
  29655. get:
  29656. parameters:
  29657. - description: 套期项目ID
  29658. in: query
  29659. name: hedgeditemid
  29660. required: true
  29661. type: integer
  29662. produces:
  29663. - application/json
  29664. responses:
  29665. "200":
  29666. description: OK
  29667. schema:
  29668. items:
  29669. $ref: '#/definitions/models.Ermcp2hedgeditemspotDetail'
  29670. type: array
  29671. "500":
  29672. description: Internal Server Error
  29673. schema:
  29674. $ref: '#/definitions/app.Response'
  29675. security:
  29676. - ApiKeyAuth: []
  29677. summary: 现货成交明细查询
  29678. tags:
  29679. - 企业风险管理v8
  29680. /Ermcp8/QueryERMCP2HedgedItemspot:
  29681. get:
  29682. parameters:
  29683. - description: 套期项目ID
  29684. in: query
  29685. name: hedgeditemid
  29686. required: true
  29687. type: integer
  29688. produces:
  29689. - application/json
  29690. responses:
  29691. "200":
  29692. description: OK
  29693. schema:
  29694. items:
  29695. $ref: '#/definitions/models.Ermcp2hedgeditemspot'
  29696. type: array
  29697. "500":
  29698. description: Internal Server Error
  29699. schema:
  29700. $ref: '#/definitions/app.Response'
  29701. security:
  29702. - ApiKeyAuth: []
  29703. summary: 套期计划明细查询
  29704. tags:
  29705. - 企业风险管理v8
  29706. /Ermcp8/QueryERMCPJRLinkPos:
  29707. get:
  29708. parameters:
  29709. - description: 套期项目ID
  29710. in: query
  29711. name: hedgeditemid
  29712. required: true
  29713. type: integer
  29714. produces:
  29715. - application/json
  29716. responses:
  29717. "200":
  29718. description: OK
  29719. schema:
  29720. items:
  29721. $ref: '#/definitions/models.Ermcpjrlinkpos'
  29722. type: array
  29723. "500":
  29724. description: Internal Server Error
  29725. schema:
  29726. $ref: '#/definitions/app.Response'
  29727. security:
  29728. - ApiKeyAuth: []
  29729. summary: 期货持仓明细查询
  29730. tags:
  29731. - 企业风险管理v8
  29732. /Ermcp8/QueryERMCPPatradeLinkDetail:
  29733. get:
  29734. parameters:
  29735. - description: 套期项目ID
  29736. in: query
  29737. name: hedgeditemid
  29738. required: true
  29739. type: integer
  29740. produces:
  29741. - application/json
  29742. responses:
  29743. "200":
  29744. description: OK
  29745. schema:
  29746. items:
  29747. $ref: '#/definitions/models.Ermcppatradelinkdetail'
  29748. type: array
  29749. "500":
  29750. description: Internal Server Error
  29751. schema:
  29752. $ref: '#/definitions/app.Response'
  29753. security:
  29754. - ApiKeyAuth: []
  29755. summary: 期货成交单明细查询
  29756. tags:
  29757. - 企业风险管理v8
  29758. /Ermcp8/QueryErmcp2AreaExposure:
  29759. get:
  29760. parameters:
  29761. - description: 用户ID
  29762. in: query
  29763. name: userid
  29764. required: true
  29765. type: string
  29766. produces:
  29767. - application/json
  29768. responses:
  29769. "200":
  29770. description: OK
  29771. schema:
  29772. items:
  29773. $ref: '#/definitions/models.Ermcp2AreaExposure'
  29774. type: array
  29775. "500":
  29776. description: Internal Server Error
  29777. schema:
  29778. $ref: '#/definitions/app.Response'
  29779. security:
  29780. - ApiKeyAuth: []
  29781. summary: 企业敞口查询
  29782. tags:
  29783. - 企业风险管理v8
  29784. /Ermcp8/QueryErmcp2HedgedItem:
  29785. get:
  29786. description: 已完成项目查询 -> 项目状态 = 3:正常完结 or 5:异常完结
  29787. parameters:
  29788. - description: 用户ID
  29789. in: query
  29790. name: userid
  29791. required: true
  29792. type: string
  29793. - description: 套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29794. in: query
  29795. name: hedgedtype
  29796. type: integer
  29797. - description: 项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29798. in: query
  29799. name: hedgeditemstatus
  29800. type: integer
  29801. produces:
  29802. - application/json
  29803. responses:
  29804. "200":
  29805. description: OK
  29806. schema:
  29807. items:
  29808. $ref: '#/definitions/models.Ermcp2hedgeditem'
  29809. type: array
  29810. "500":
  29811. description: Internal Server Error
  29812. schema:
  29813. $ref: '#/definitions/app.Response'
  29814. security:
  29815. - ApiKeyAuth: []
  29816. summary: 查询被套期项目信息
  29817. tags:
  29818. - 企业风险管理v8
  29819. /Ermcp8/QueryErmcp2HedgedItemLink:
  29820. get:
  29821. parameters:
  29822. - description: 现货合同ID
  29823. in: query
  29824. name: spotcontractid
  29825. required: true
  29826. type: integer
  29827. produces:
  29828. - application/json
  29829. responses:
  29830. "200":
  29831. description: OK
  29832. schema:
  29833. items:
  29834. $ref: '#/definitions/models.Ermcp2hedgeditemlink'
  29835. type: array
  29836. "500":
  29837. description: Internal Server Error
  29838. schema:
  29839. $ref: '#/definitions/app.Response'
  29840. security:
  29841. - ApiKeyAuth: []
  29842. summary: 现货合同关联被套期项目查询
  29843. tags:
  29844. - 企业风险管理v8
  29845. /Ermcp8/QueryErmcp2HedgedItemsDetail:
  29846. get:
  29847. parameters:
  29848. - description: 用户ID
  29849. in: query
  29850. name: userid
  29851. required: true
  29852. type: integer
  29853. - description: 套保品种ID
  29854. in: query
  29855. name: middlegoodsid
  29856. required: true
  29857. type: integer
  29858. produces:
  29859. - application/json
  29860. responses:
  29861. "200":
  29862. description: OK
  29863. schema:
  29864. items:
  29865. $ref: '#/definitions/models.Ermcp2hedgeditemsDetail'
  29866. type: array
  29867. "500":
  29868. description: Internal Server Error
  29869. schema:
  29870. $ref: '#/definitions/app.Response'
  29871. security:
  29872. - ApiKeyAuth: []
  29873. summary: 敞口明细 - 计划变动明细
  29874. tags:
  29875. - 企业风险管理v8
  29876. /Ermcp8/QueryErmcp2StockSpotChangeLog:
  29877. get:
  29878. parameters:
  29879. - description: 用户ID
  29880. in: query
  29881. name: userid
  29882. required: true
  29883. type: integer
  29884. - description: 套保品种ID
  29885. in: query
  29886. name: middlegoodsid
  29887. required: true
  29888. type: integer
  29889. produces:
  29890. - application/json
  29891. responses:
  29892. "200":
  29893. description: OK
  29894. schema:
  29895. items:
  29896. $ref: '#/definitions/models.Ermcp2stockspotchangelog'
  29897. type: array
  29898. "500":
  29899. description: Internal Server Error
  29900. schema:
  29901. $ref: '#/definitions/app.Response'
  29902. security:
  29903. - ApiKeyAuth: []
  29904. summary: 敞口明细 - 现货变动明细查询
  29905. tags:
  29906. - 企业风险管理v8
  29907. /Ermcp8/QueryErmcp8EnableHedgeditem:
  29908. get:
  29909. parameters:
  29910. - description: 用户ID
  29911. in: query
  29912. name: userid
  29913. required: true
  29914. type: integer
  29915. - description: 现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货
  29916. in: query
  29917. name: spottype
  29918. required: true
  29919. type: integer
  29920. - description: 现货商品ID
  29921. in: query
  29922. name: wrstandardid
  29923. type: integer
  29924. produces:
  29925. - application/json
  29926. responses:
  29927. "200":
  29928. description: OK
  29929. schema:
  29930. items:
  29931. $ref: '#/definitions/models.Ermcp8EnableHedgeditem'
  29932. type: array
  29933. "500":
  29934. description: Internal Server Error
  29935. schema:
  29936. $ref: '#/definitions/app.Response'
  29937. security:
  29938. - ApiKeyAuth: []
  29939. summary: 可关联项目查询
  29940. tags:
  29941. - 企业风险管理v8
  29942. /Ermcp8/QueryErmcp8HedgeditemReport:
  29943. get:
  29944. parameters:
  29945. - description: 用户ID
  29946. in: query
  29947. name: userid
  29948. required: true
  29949. type: integer
  29950. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  29951. in: query
  29952. name: cycletype
  29953. type: integer
  29954. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  29955. 全(0)【原值】
  29956. in: query
  29957. name: cycletime
  29958. required: true
  29959. type: string
  29960. - description: 套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目
  29961. in: query
  29962. name: hedgedtype
  29963. type: integer
  29964. - description: 项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  29965. in: query
  29966. name: hedgeditemstatus
  29967. type: integer
  29968. - description: 项目编号,模糊查询
  29969. in: query
  29970. name: hedgeditemnum
  29971. type: string
  29972. - description: 现货商品ID
  29973. in: query
  29974. name: wrstandardid
  29975. type: integer
  29976. produces:
  29977. - application/json
  29978. responses:
  29979. "200":
  29980. description: OK
  29981. schema:
  29982. items:
  29983. $ref: '#/definitions/models.Ermcp8HedgeditemReport'
  29984. type: array
  29985. "500":
  29986. description: Internal Server Error
  29987. schema:
  29988. $ref: '#/definitions/app.Response'
  29989. security:
  29990. - ApiKeyAuth: []
  29991. summary: 套期项目报表查询
  29992. tags:
  29993. - 企业风险管理v8
  29994. /Ermcp8/QueryErmcp8RunningHedgeditem:
  29995. get:
  29996. parameters:
  29997. - description: 用户ID
  29998. in: query
  29999. name: userid
  30000. required: true
  30001. type: string
  30002. produces:
  30003. - application/json
  30004. responses:
  30005. "200":
  30006. description: OK
  30007. schema:
  30008. items:
  30009. $ref: '#/definitions/models.Ermcp8RunningHedgeditem'
  30010. type: array
  30011. "500":
  30012. description: Internal Server Error
  30013. schema:
  30014. $ref: '#/definitions/app.Response'
  30015. security:
  30016. - ApiKeyAuth: []
  30017. summary: 查询执行中项目查询信息
  30018. tags:
  30019. - 企业风险管理v8
  30020. /Ermcp8/QueryInternalEnableTradeDetail:
  30021. get:
  30022. parameters:
  30023. - description: 企业ID
  30024. in: query
  30025. name: areauserid
  30026. required: true
  30027. type: integer
  30028. - description: 期货合约ID
  30029. in: query
  30030. name: goodsid
  30031. required: true
  30032. type: integer
  30033. - description: 交易用户ID
  30034. in: query
  30035. name: tradeuserid
  30036. required: true
  30037. type: integer
  30038. produces:
  30039. - application/json
  30040. responses:
  30041. "200":
  30042. description: OK
  30043. schema:
  30044. items:
  30045. $ref: '#/definitions/models.InternalEnableTradeDetail'
  30046. type: array
  30047. "500":
  30048. description: Internal Server Error
  30049. schema:
  30050. $ref: '#/definitions/app.Response'
  30051. security:
  30052. - ApiKeyAuth: []
  30053. summary: 内部成交单可关联项目查询
  30054. tags:
  30055. - 企业风险管理v8
  30056. /Ermcp8/QueryInternalUncorrelatedTradeDetail:
  30057. get:
  30058. parameters:
  30059. - description: 用户编号
  30060. in: query
  30061. name: userid
  30062. required: true
  30063. type: integer
  30064. - description: 起始日期(格式yyyymmdd)
  30065. in: query
  30066. name: begindate
  30067. type: string
  30068. - description: 终止日期(格式yyyymmdd)
  30069. in: query
  30070. name: enddate
  30071. type: string
  30072. - description: 合约代码
  30073. in: query
  30074. name: goodscode
  30075. type: string
  30076. - description: 合约名称
  30077. in: query
  30078. name: goodsname
  30079. type: string
  30080. - description: 成交单号
  30081. in: query
  30082. name: tradeid
  30083. type: integer
  30084. - description: 方向 - 0:买 1:卖
  30085. in: query
  30086. name: buyorsell
  30087. type: integer
  30088. - description: 套期主体
  30089. in: query
  30090. name: accountname
  30091. type: string
  30092. produces:
  30093. - application/json
  30094. responses:
  30095. "200":
  30096. description: OK
  30097. schema:
  30098. items:
  30099. $ref: '#/definitions/models.InternalUncorrelatedTradeDetail'
  30100. type: array
  30101. "500":
  30102. description: Internal Server Error
  30103. schema:
  30104. $ref: '#/definitions/app.Response'
  30105. security:
  30106. - ApiKeyAuth: []
  30107. summary: 内部未关联成交单查询
  30108. tags:
  30109. - 企业风险管理v8
  30110. /Ermcp8/QueryMarketCalendar:
  30111. get:
  30112. parameters:
  30113. - description: 市场ID
  30114. in: query
  30115. name: marketid
  30116. type: integer
  30117. produces:
  30118. - application/json
  30119. responses:
  30120. "200":
  30121. description: OK
  30122. schema:
  30123. items:
  30124. $ref: '#/definitions/models.Marketcalendar'
  30125. type: array
  30126. "500":
  30127. description: Internal Server Error
  30128. schema:
  30129. $ref: '#/definitions/app.Response'
  30130. security:
  30131. - ApiKeyAuth: []
  30132. summary: 市场节假日查询
  30133. tags:
  30134. - 企业风险管理v8
  30135. /Ermcp8/QueryPatradeLinkDetail:
  30136. get:
  30137. parameters:
  30138. - description: 用户ID
  30139. in: query
  30140. name: userid
  30141. required: true
  30142. type: integer
  30143. - description: 套保品种ID
  30144. in: query
  30145. name: middlegoodsid
  30146. required: true
  30147. type: integer
  30148. produces:
  30149. - application/json
  30150. responses:
  30151. "200":
  30152. description: OK
  30153. schema:
  30154. items:
  30155. $ref: '#/definitions/models.Patradelinkdetail'
  30156. type: array
  30157. "500":
  30158. description: Internal Server Error
  30159. schema:
  30160. $ref: '#/definitions/app.Response'
  30161. security:
  30162. - ApiKeyAuth: []
  30163. summary: 敞口明细 - 期货变动明细
  30164. tags:
  30165. - 企业风险管理v8
  30166. /Ermcp8/QueryUnLinkErmcpHedgePlan:
  30167. get:
  30168. parameters:
  30169. - description: 企业ID
  30170. in: query
  30171. name: areauserid
  30172. required: true
  30173. type: integer
  30174. - description: 计划类型 - 1:采购 -1:销售
  30175. in: query
  30176. name: contracttype
  30177. type: integer
  30178. - description: 计划编号,模糊查询
  30179. in: query
  30180. name: hedgeplanno
  30181. type: string
  30182. - description: 现货商品,模糊查询
  30183. in: query
  30184. name: wrstandardname
  30185. type: string
  30186. produces:
  30187. - application/json
  30188. responses:
  30189. "200":
  30190. description: OK
  30191. schema:
  30192. items:
  30193. $ref: '#/definitions/models.Unlinkermcphedgeplan'
  30194. type: array
  30195. "500":
  30196. description: Internal Server Error
  30197. schema:
  30198. $ref: '#/definitions/app.Response'
  30199. security:
  30200. - ApiKeyAuth: []
  30201. summary: 未关联购销计划
  30202. tags:
  30203. - 企业风险管理v8
  30204. /Ermcp8/QueryUnLinkSpotContract:
  30205. get:
  30206. parameters:
  30207. - description: 用户ID
  30208. in: query
  30209. name: userid
  30210. required: true
  30211. type: integer
  30212. - description: 定价类型 - 1:一口价 2:点价 3:暂定价
  30213. in: query
  30214. name: pricetype
  30215. type: integer
  30216. - description: 合同编号, 模拟查询
  30217. in: query
  30218. name: contractno
  30219. type: string
  30220. - description: 对手方, 模拟查询
  30221. in: query
  30222. name: customername
  30223. type: string
  30224. - description: 项合同类型 - 1:采购 -1:销售
  30225. in: query
  30226. name: contracttype
  30227. type: integer
  30228. produces:
  30229. - application/json
  30230. responses:
  30231. "200":
  30232. description: OK
  30233. schema:
  30234. items:
  30235. $ref: '#/definitions/models.ErmcpSpotContractModelEx'
  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. /Erms2/QueryArbitrageStrategy:
  30247. get:
  30248. parameters:
  30249. - description: 账户ID
  30250. in: query
  30251. name: userid
  30252. required: true
  30253. type: integer
  30254. - description: 商品组ID(品种ID)
  30255. in: query
  30256. name: goodsgroupid
  30257. type: string
  30258. produces:
  30259. - application/json
  30260. responses:
  30261. "200":
  30262. description: OK
  30263. schema:
  30264. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  30265. "500":
  30266. description: Internal Server Error
  30267. schema:
  30268. $ref: '#/definitions/app.Response'
  30269. security:
  30270. - ApiKeyAuth: []
  30271. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  30272. tags:
  30273. - 风险管理
  30274. /Erms2/QueryInnerTradeDetail:
  30275. get:
  30276. parameters:
  30277. - description: 资金账户
  30278. in: query
  30279. name: accountid
  30280. required: true
  30281. type: integer
  30282. produces:
  30283. - application/json
  30284. responses:
  30285. "200":
  30286. description: OK
  30287. schema:
  30288. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  30289. "500":
  30290. description: Internal Server Error
  30291. schema:
  30292. $ref: '#/definitions/app.Response'
  30293. security:
  30294. - ApiKeyAuth: []
  30295. summary: 查询内部成交单信息
  30296. tags:
  30297. - 风险管理
  30298. /Erms2/QuerySpotContract:
  30299. get:
  30300. parameters:
  30301. - description: 策略申请ID
  30302. in: query
  30303. name: asapplyid
  30304. required: true
  30305. type: integer
  30306. - description: 现货合同ID
  30307. in: query
  30308. name: spotcontractid
  30309. type: integer
  30310. produces:
  30311. - application/json
  30312. responses:
  30313. "200":
  30314. description: OK
  30315. schema:
  30316. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  30317. "500":
  30318. description: Internal Server Error
  30319. schema:
  30320. $ref: '#/definitions/app.Response'
  30321. security:
  30322. - ApiKeyAuth: []
  30323. summary: 查询现货合同表信息(指定策略ID、未结束的)
  30324. tags:
  30325. - 风险管理
  30326. /Erms3/AddErms2ASApply:
  30327. post:
  30328. parameters:
  30329. - description: 申请参数
  30330. in: body
  30331. name: jsonBody
  30332. required: true
  30333. schema:
  30334. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  30335. produces:
  30336. - application/json
  30337. responses:
  30338. "200":
  30339. description: OK
  30340. schema:
  30341. $ref: '#/definitions/app.Response'
  30342. "500":
  30343. description: Internal Server Error
  30344. schema:
  30345. $ref: '#/definitions/app.Response'
  30346. security:
  30347. - ApiKeyAuth: []
  30348. summary: 新增期现套利业务申请
  30349. tags:
  30350. - 风险管理v3
  30351. /Erms3/AddErms2SpotTradeApply:
  30352. post:
  30353. parameters:
  30354. - description: 申请参数
  30355. in: body
  30356. name: jsonBody
  30357. required: true
  30358. schema:
  30359. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  30360. produces:
  30361. - application/json
  30362. responses:
  30363. "200":
  30364. description: OK
  30365. schema:
  30366. $ref: '#/definitions/app.Response'
  30367. "500":
  30368. description: Internal Server Error
  30369. schema:
  30370. $ref: '#/definitions/app.Response'
  30371. security:
  30372. - ApiKeyAuth: []
  30373. summary: 新增现货贸易业务申请
  30374. tags:
  30375. - 风险管理v3
  30376. /Erms3/AddSpotContractApply:
  30377. post:
  30378. parameters:
  30379. - description: 申请参数
  30380. in: body
  30381. name: jsonBody
  30382. required: true
  30383. schema:
  30384. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  30385. produces:
  30386. - application/json
  30387. responses:
  30388. "200":
  30389. description: OK
  30390. schema:
  30391. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  30392. "500":
  30393. description: Internal Server Error
  30394. schema:
  30395. $ref: '#/definitions/app.Response'
  30396. security:
  30397. - ApiKeyAuth: []
  30398. summary: 新增现货合同申请
  30399. tags:
  30400. - 风险管理v3
  30401. /Erms3/AddUserInfoApply:
  30402. post:
  30403. parameters:
  30404. - description: 用户信息
  30405. in: body
  30406. name: jsonBody
  30407. required: true
  30408. schema:
  30409. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  30410. produces:
  30411. - application/json
  30412. responses:
  30413. "200":
  30414. description: OK
  30415. schema:
  30416. $ref: '#/definitions/app.Response'
  30417. "500":
  30418. description: Internal Server Error
  30419. schema:
  30420. $ref: '#/definitions/app.Response'
  30421. security:
  30422. - ApiKeyAuth: []
  30423. summary: 新增客户申请
  30424. tags:
  30425. - 风险管理v3
  30426. /Erms3/DeleteUserInfoApply:
  30427. get:
  30428. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  30429. parameters:
  30430. - description: 用户ID
  30431. in: query
  30432. name: userID
  30433. required: true
  30434. type: integer
  30435. produces:
  30436. - application/json
  30437. responses:
  30438. "200":
  30439. description: OK
  30440. schema:
  30441. $ref: '#/definitions/app.Response'
  30442. "500":
  30443. description: Internal Server Error
  30444. schema:
  30445. $ref: '#/definitions/app.Response'
  30446. security:
  30447. - ApiKeyAuth: []
  30448. summary: 删除客户申请
  30449. tags:
  30450. - 风险管理v3
  30451. /Erms3/ModifyUserInfoApply:
  30452. post:
  30453. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  30454. int, "userstate": 2 }'
  30455. parameters:
  30456. - description: 用户信息
  30457. in: body
  30458. name: jsonBody
  30459. required: true
  30460. schema:
  30461. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  30462. produces:
  30463. - application/json
  30464. responses:
  30465. "200":
  30466. description: OK
  30467. schema:
  30468. $ref: '#/definitions/app.Response'
  30469. "500":
  30470. description: Internal Server Error
  30471. schema:
  30472. $ref: '#/definitions/app.Response'
  30473. security:
  30474. - ApiKeyAuth: []
  30475. summary: 修改客户申请
  30476. tags:
  30477. - 风险管理v3
  30478. /Erms3/QueryBusinessInfo:
  30479. get:
  30480. parameters:
  30481. - description: 资金账号ID列表,用逗号分隔
  30482. in: query
  30483. name: accountids
  30484. required: true
  30485. type: string
  30486. - description: 状态,0为未结束 1为已结束
  30487. in: query
  30488. name: status
  30489. required: true
  30490. type: integer
  30491. produces:
  30492. - application/json
  30493. responses:
  30494. "200":
  30495. description: OK
  30496. schema:
  30497. items:
  30498. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  30499. type: array
  30500. "500":
  30501. description: Internal Server Error
  30502. schema:
  30503. $ref: '#/definitions/app.Response'
  30504. security:
  30505. - ApiKeyAuth: []
  30506. summary: 查询业务表单数据
  30507. tags:
  30508. - 风险管理v3
  30509. /Erms3/QueryPendingAuditContract:
  30510. get:
  30511. parameters:
  30512. - description: 资金账号ID列表,逗号隔开
  30513. in: query
  30514. name: accountids
  30515. required: true
  30516. type: string
  30517. - description: 合同类型 1-采购 -1-销售
  30518. in: query
  30519. name: contracttype
  30520. required: true
  30521. type: integer
  30522. - description: 合同模式 1-普通 2-回购
  30523. in: query
  30524. name: contractmode
  30525. required: true
  30526. type: integer
  30527. produces:
  30528. - application/json
  30529. responses:
  30530. "200":
  30531. description: OK
  30532. schema:
  30533. items:
  30534. $ref: '#/definitions/erms3.QryAuditContractRsp'
  30535. type: array
  30536. "500":
  30537. description: Internal Server Error
  30538. schema:
  30539. $ref: '#/definitions/app.Response'
  30540. security:
  30541. - ApiKeyAuth: []
  30542. summary: 查询待审核合同
  30543. tags:
  30544. - 风险管理v3
  30545. /Erms3/QueryPendingBusiness:
  30546. get:
  30547. parameters:
  30548. - description: 资金账号ID列表,逗号隔开
  30549. in: query
  30550. name: accountids
  30551. required: true
  30552. type: string
  30553. produces:
  30554. - application/json
  30555. responses:
  30556. "200":
  30557. description: OK
  30558. schema:
  30559. items:
  30560. $ref: '#/definitions/erms3.QryPendingBizRsp'
  30561. type: array
  30562. "500":
  30563. description: Internal Server Error
  30564. schema:
  30565. $ref: '#/definitions/app.Response'
  30566. security:
  30567. - ApiKeyAuth: []
  30568. summary: 查询待审核基差贸易业务
  30569. tags:
  30570. - 风险管理v3
  30571. /Erms3/QuerySpotContractAppleForm:
  30572. get:
  30573. parameters:
  30574. - description: 登录账号
  30575. in: query
  30576. name: loginID
  30577. required: true
  30578. type: integer
  30579. produces:
  30580. - application/json
  30581. responses:
  30582. "200":
  30583. description: OK
  30584. schema:
  30585. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  30586. "500":
  30587. description: Internal Server Error
  30588. schema:
  30589. $ref: '#/definitions/app.Response'
  30590. security:
  30591. - ApiKeyAuth: []
  30592. summary: 查询合同申请表单数据
  30593. tags:
  30594. - 风险管理v3
  30595. /Erms3/QuerySpotContractDetail:
  30596. get:
  30597. parameters:
  30598. - description: 资金账号ID列表,用逗号分隔
  30599. in: query
  30600. name: accountids
  30601. required: true
  30602. type: string
  30603. - description: 合同类型,1为采购合同 -1为销售合同
  30604. in: query
  30605. name: contracttype
  30606. required: true
  30607. type: integer
  30608. - description: 合同模式,1为普通合同 2为回购销售合同
  30609. in: query
  30610. name: contractmode
  30611. required: true
  30612. type: integer
  30613. - description: 状态,0为履约中 1为已完成
  30614. in: query
  30615. name: status
  30616. required: true
  30617. type: integer
  30618. produces:
  30619. - application/json
  30620. responses:
  30621. "200":
  30622. description: OK
  30623. schema:
  30624. items:
  30625. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  30626. type: array
  30627. "500":
  30628. description: Internal Server Error
  30629. schema:
  30630. $ref: '#/definitions/app.Response'
  30631. security:
  30632. - ApiKeyAuth: []
  30633. summary: 查询合同详细信息
  30634. tags:
  30635. - 风险管理v3
  30636. /Erms3/QueryUserInfoApplies:
  30637. get:
  30638. parameters:
  30639. - description: 页码
  30640. in: query
  30641. name: page
  30642. type: integer
  30643. - description: 每页条数
  30644. in: query
  30645. name: pagesize
  30646. type: integer
  30647. - description: 客户名称,支持模糊查询
  30648. in: query
  30649. name: userName
  30650. type: string
  30651. produces:
  30652. - application/json
  30653. responses:
  30654. "200":
  30655. description: OK
  30656. schema:
  30657. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  30658. "500":
  30659. description: Internal Server Error
  30660. schema:
  30661. $ref: '#/definitions/app.Response'
  30662. security:
  30663. - ApiKeyAuth: []
  30664. summary: 客户申请信息查询
  30665. tags:
  30666. - 风险管理v3
  30667. /Erms3/QueryUserInfos:
  30668. get:
  30669. parameters:
  30670. - description: 页码
  30671. in: query
  30672. name: page
  30673. type: integer
  30674. - description: 每页条数
  30675. in: query
  30676. name: pagesize
  30677. type: integer
  30678. - description: 客户名称,支持模糊查询
  30679. in: query
  30680. name: userName
  30681. type: string
  30682. produces:
  30683. - application/json
  30684. responses:
  30685. "200":
  30686. description: OK
  30687. schema:
  30688. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  30689. "500":
  30690. description: Internal Server Error
  30691. schema:
  30692. $ref: '#/definitions/app.Response'
  30693. security:
  30694. - ApiKeyAuth: []
  30695. summary: 客户信息查询
  30696. tags:
  30697. - 风险管理v3
  30698. /Ferroalloy/GetSpotGoodsPrice:
  30699. get:
  30700. parameters:
  30701. - description: 页码
  30702. in: query
  30703. name: page
  30704. type: integer
  30705. - description: 每页条数
  30706. in: query
  30707. name: pagesize
  30708. type: integer
  30709. produces:
  30710. - application/json
  30711. responses:
  30712. "200":
  30713. description: OK
  30714. schema:
  30715. items:
  30716. $ref: '#/definitions/models.GErmcpspotgoodsprice'
  30717. type: array
  30718. "500":
  30719. description: Internal Server Error
  30720. schema:
  30721. $ref: '#/definitions/app.Response'
  30722. security:
  30723. - ApiKeyAuth: []
  30724. summary: 获取现货行情
  30725. tags:
  30726. - 铁合金
  30727. /Ferroalloy/QueryMyRefer:
  30728. get:
  30729. parameters:
  30730. - description: 用户ID
  30731. in: query
  30732. name: userid
  30733. required: true
  30734. type: integer
  30735. - description: 页码
  30736. in: query
  30737. name: page
  30738. type: integer
  30739. - description: 每页条数
  30740. in: query
  30741. name: pagesize
  30742. type: integer
  30743. produces:
  30744. - application/json
  30745. responses:
  30746. "200":
  30747. description: OK
  30748. schema:
  30749. items:
  30750. $ref: '#/definitions/models.MyRefer'
  30751. type: array
  30752. "500":
  30753. description: Internal Server Error
  30754. schema:
  30755. $ref: '#/definitions/app.Response'
  30756. security:
  30757. - ApiKeyAuth: []
  30758. summary: 查询我的推荐列表
  30759. tags:
  30760. - 铁合金
  30761. /Ferroalloy/QueryMyRegisterMoney:
  30762. get:
  30763. parameters:
  30764. - description: 资金账户
  30765. in: query
  30766. name: accountid
  30767. required: true
  30768. type: integer
  30769. produces:
  30770. - application/json
  30771. responses:
  30772. "200":
  30773. description: OK
  30774. schema:
  30775. items:
  30776. $ref: '#/definitions/models.RegisterMoney'
  30777. type: array
  30778. "500":
  30779. description: Internal Server Error
  30780. schema:
  30781. $ref: '#/definitions/app.Response'
  30782. summary: 查询我的注册红包
  30783. tags:
  30784. - 铁合金
  30785. /Ferroalloy/QuerySpotgoodsPrice:
  30786. get:
  30787. parameters:
  30788. - description: 页码
  30789. in: query
  30790. name: page
  30791. type: integer
  30792. - description: 每页条数
  30793. in: query
  30794. name: pagesize
  30795. type: integer
  30796. produces:
  30797. - application/json
  30798. responses:
  30799. "200":
  30800. description: OK
  30801. schema:
  30802. items:
  30803. $ref: '#/definitions/models.Spotgoodsprice'
  30804. type: array
  30805. "500":
  30806. description: Internal Server Error
  30807. schema:
  30808. $ref: '#/definitions/app.Response'
  30809. security:
  30810. - ApiKeyAuth: []
  30811. summary: 查询行情-现货列表
  30812. tags:
  30813. - 铁合金
  30814. /Ferroalloy/QueryTHJGoodsDetail:
  30815. get:
  30816. parameters:
  30817. - description: 现货商品ID
  30818. in: query
  30819. name: wrstandardid
  30820. required: true
  30821. type: integer
  30822. produces:
  30823. - application/json
  30824. responses:
  30825. "200":
  30826. description: OK
  30827. schema:
  30828. items:
  30829. $ref: '#/definitions/models.THJGoodsDetailRsp'
  30830. type: array
  30831. "500":
  30832. description: Internal Server Error
  30833. schema:
  30834. $ref: '#/definitions/app.Response'
  30835. security:
  30836. - ApiKeyAuth: []
  30837. summary: 查询商品详情
  30838. tags:
  30839. - 铁合金
  30840. /Ferroalloy/QueryTHJListing:
  30841. get:
  30842. parameters:
  30843. - description: 现货商品名称(模糊查询)
  30844. in: query
  30845. name: wrstandardname
  30846. type: string
  30847. - description: 页码
  30848. in: query
  30849. name: page
  30850. type: integer
  30851. - description: 每页条数
  30852. in: query
  30853. name: pagesize
  30854. type: integer
  30855. produces:
  30856. - application/json
  30857. responses:
  30858. "200":
  30859. description: OK
  30860. schema:
  30861. items:
  30862. $ref: '#/definitions/models.THJWrstandard'
  30863. type: array
  30864. "500":
  30865. description: Internal Server Error
  30866. schema:
  30867. $ref: '#/definitions/app.Response'
  30868. security:
  30869. - ApiKeyAuth: []
  30870. summary: 查询供求列表
  30871. tags:
  30872. - 铁合金
  30873. /Ferroalloy/QueryTHJProduct:
  30874. get:
  30875. parameters:
  30876. - description: 用户ID
  30877. in: query
  30878. name: userid
  30879. required: true
  30880. type: integer
  30881. - description: 关注标志 true-已关注 false-未关注
  30882. in: query
  30883. name: favoriteflag
  30884. type: boolean
  30885. - description: 页码
  30886. in: query
  30887. name: page
  30888. type: integer
  30889. - description: 每页条数
  30890. in: query
  30891. name: pagesize
  30892. type: integer
  30893. produces:
  30894. - application/json
  30895. responses:
  30896. "200":
  30897. description: OK
  30898. schema:
  30899. items:
  30900. $ref: '#/definitions/models.THJProduct'
  30901. type: array
  30902. "500":
  30903. description: Internal Server Error
  30904. schema:
  30905. $ref: '#/definitions/app.Response'
  30906. security:
  30907. - ApiKeyAuth: []
  30908. summary: 获取产品介绍列表
  30909. tags:
  30910. - 铁合金
  30911. /Ferroalloy/QueryTHJPromotionIncome:
  30912. get:
  30913. parameters:
  30914. - description: 用户ID
  30915. in: query
  30916. name: userid
  30917. required: true
  30918. type: integer
  30919. - description: 状态 - 0:全部 1:已支付 2:未支付
  30920. in: query
  30921. name: profitstatus
  30922. type: integer
  30923. - description: 页码
  30924. in: query
  30925. name: page
  30926. type: integer
  30927. - description: 每页条数
  30928. in: query
  30929. name: pagesize
  30930. type: integer
  30931. produces:
  30932. - application/json
  30933. responses:
  30934. "200":
  30935. description: OK
  30936. schema:
  30937. items:
  30938. $ref: '#/definitions/models.PromotionIncome'
  30939. type: array
  30940. "500":
  30941. description: Internal Server Error
  30942. schema:
  30943. $ref: '#/definitions/app.Response'
  30944. security:
  30945. - ApiKeyAuth: []
  30946. summary: 查询我的推广-推广收益
  30947. tags:
  30948. - 铁合金
  30949. /Ferroalloy/QueryTHJPromotionIncomeDetail:
  30950. get:
  30951. parameters:
  30952. - description: 用户ID
  30953. in: query
  30954. name: userid
  30955. required: true
  30956. type: integer
  30957. - description: 月份,格式:yyyymm
  30958. in: query
  30959. name: mouth
  30960. required: true
  30961. type: string
  30962. - description: 页码
  30963. in: query
  30964. name: page
  30965. type: integer
  30966. - description: 每页条数
  30967. in: query
  30968. name: pagesize
  30969. type: integer
  30970. produces:
  30971. - application/json
  30972. responses:
  30973. "200":
  30974. description: OK
  30975. schema:
  30976. items:
  30977. $ref: '#/definitions/models.PromotionIncomeDetail'
  30978. type: array
  30979. "500":
  30980. description: Internal Server Error
  30981. schema:
  30982. $ref: '#/definitions/app.Response'
  30983. security:
  30984. - ApiKeyAuth: []
  30985. summary: 查询我的推广-推广收益-明细
  30986. tags:
  30987. - 铁合金
  30988. /Ferroalloy/QueryTHJPurchaseTradeDetail:
  30989. get:
  30990. parameters:
  30991. - description: 用户ID
  30992. in: query
  30993. name: userid
  30994. required: true
  30995. type: integer
  30996. - description: 类型 - 0:未完成 1:已完成
  30997. in: query
  30998. name: type
  30999. type: integer
  31000. - description: 页码
  31001. in: query
  31002. name: page
  31003. type: integer
  31004. - description: 每页条数
  31005. in: query
  31006. name: pagesize
  31007. type: integer
  31008. produces:
  31009. - application/json
  31010. responses:
  31011. "200":
  31012. description: OK
  31013. schema:
  31014. items:
  31015. $ref: '#/definitions/models.Thjpurchasetradedetail'
  31016. type: array
  31017. "500":
  31018. description: Internal Server Error
  31019. schema:
  31020. $ref: '#/definitions/app.Response'
  31021. security:
  31022. - ApiKeyAuth: []
  31023. summary: 查询我的订单-采购订单
  31024. tags:
  31025. - 铁合金
  31026. /Ferroalloy/QueryTHJPurchaseTransfer:
  31027. get:
  31028. parameters:
  31029. - description: 现货商品名称(模糊查询)
  31030. in: query
  31031. name: wrstandardname
  31032. type: string
  31033. - description: 页码
  31034. in: query
  31035. name: page
  31036. type: integer
  31037. - description: 每页条数
  31038. in: query
  31039. name: pagesize
  31040. type: integer
  31041. produces:
  31042. - application/json
  31043. responses:
  31044. "200":
  31045. description: OK
  31046. schema:
  31047. items:
  31048. $ref: '#/definitions/models.PurchaseTransfer'
  31049. type: array
  31050. "500":
  31051. description: Internal Server Error
  31052. schema:
  31053. $ref: '#/definitions/app.Response'
  31054. security:
  31055. - ApiKeyAuth: []
  31056. summary: 查询合同转让列表
  31057. tags:
  31058. - 铁合金
  31059. /Ferroalloy/QueryTHJPurchaseTransferDetail:
  31060. get:
  31061. parameters:
  31062. - description: 现货商品ID
  31063. in: query
  31064. name: wrstandardid
  31065. required: true
  31066. type: integer
  31067. produces:
  31068. - application/json
  31069. responses:
  31070. "200":
  31071. description: OK
  31072. schema:
  31073. items:
  31074. $ref: '#/definitions/models.THJPurchaseTradeDetailRsp'
  31075. type: array
  31076. "500":
  31077. description: Internal Server Error
  31078. schema:
  31079. $ref: '#/definitions/app.Response'
  31080. security:
  31081. - ApiKeyAuth: []
  31082. summary: 查询合同转让详情
  31083. tags:
  31084. - 铁合金
  31085. /Ferroalloy/QueryTHJPurchaseTransferOrder:
  31086. get:
  31087. parameters:
  31088. - description: 用户ID
  31089. in: query
  31090. name: userid
  31091. required: true
  31092. type: integer
  31093. - description: 类型 - 1:转让 2:受让 3:转让委托已完成
  31094. in: query
  31095. name: ordertype
  31096. required: true
  31097. type: integer
  31098. - description: 页码
  31099. in: query
  31100. name: page
  31101. type: integer
  31102. - description: 每页条数
  31103. in: query
  31104. name: pagesize
  31105. type: integer
  31106. produces:
  31107. - application/json
  31108. responses:
  31109. "200":
  31110. description: OK
  31111. schema:
  31112. items:
  31113. $ref: '#/definitions/models.Thjpurchasetransfer'
  31114. type: array
  31115. "500":
  31116. description: Internal Server Error
  31117. schema:
  31118. $ref: '#/definitions/app.Response'
  31119. security:
  31120. - ApiKeyAuth: []
  31121. summary: 查询我的订单-转让/受让订单
  31122. tags:
  31123. - 铁合金
  31124. /Ferroalloy/QueryTHJPurchaseTransferOrderDetail:
  31125. get:
  31126. parameters:
  31127. - description: 转让单号
  31128. in: query
  31129. name: transferid
  31130. required: true
  31131. type: string
  31132. produces:
  31133. - application/json
  31134. responses:
  31135. "200":
  31136. description: OK
  31137. schema:
  31138. items:
  31139. $ref: '#/definitions/models.ThjpurchasetransferDetail'
  31140. type: array
  31141. "500":
  31142. description: Internal Server Error
  31143. schema:
  31144. $ref: '#/definitions/app.Response'
  31145. security:
  31146. - ApiKeyAuth: []
  31147. summary: 查询我的订单-转让/受让订单-详情
  31148. tags:
  31149. - 铁合金
  31150. /Ferroalloy/QueryTHJScoreConfig:
  31151. get:
  31152. parameters:
  31153. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31154. 6:自己供求下单积分 7:抽奖配置'
  31155. in: query
  31156. name: stype
  31157. type: string
  31158. produces:
  31159. - application/json
  31160. responses:
  31161. "200":
  31162. description: OK
  31163. schema:
  31164. items:
  31165. $ref: '#/definitions/models.Thjscoreconfig'
  31166. type: array
  31167. "500":
  31168. description: Internal Server Error
  31169. schema:
  31170. $ref: '#/definitions/app.Response'
  31171. security:
  31172. - ApiKeyAuth: []
  31173. summary: 查询积分配置
  31174. tags:
  31175. - 铁合金
  31176. /Ferroalloy/QueryTHJTradeData:
  31177. get:
  31178. parameters:
  31179. - description: 用户ID
  31180. in: query
  31181. name: userid
  31182. required: true
  31183. type: integer
  31184. - description: 市场ID 采购-64201 供求-65201
  31185. in: query
  31186. name: marketid
  31187. required: true
  31188. type: integer
  31189. - description: 页码
  31190. in: query
  31191. name: page
  31192. type: integer
  31193. - description: 每页条数
  31194. in: query
  31195. name: pagesize
  31196. type: integer
  31197. produces:
  31198. - application/json
  31199. responses:
  31200. "200":
  31201. description: OK
  31202. schema:
  31203. items:
  31204. $ref: '#/definitions/models.THJTradeData'
  31205. type: array
  31206. "500":
  31207. description: Internal Server Error
  31208. schema:
  31209. $ref: '#/definitions/app.Response'
  31210. security:
  31211. - ApiKeyAuth: []
  31212. summary: 获取我的推广-交易数据
  31213. tags:
  31214. - 铁合金
  31215. /Ferroalloy/QueryTHJWrstandard:
  31216. get:
  31217. parameters:
  31218. - description: 现货商品名称(模糊查询)
  31219. in: query
  31220. name: wrstandardname
  31221. type: string
  31222. - description: 页码
  31223. in: query
  31224. name: page
  31225. type: integer
  31226. - description: 每页条数
  31227. in: query
  31228. name: pagesize
  31229. type: integer
  31230. produces:
  31231. - application/json
  31232. responses:
  31233. "200":
  31234. description: OK
  31235. schema:
  31236. items:
  31237. $ref: '#/definitions/models.THJWrstandard'
  31238. type: array
  31239. "500":
  31240. description: Internal Server Error
  31241. schema:
  31242. $ref: '#/definitions/app.Response'
  31243. security:
  31244. - ApiKeyAuth: []
  31245. summary: 查询采购列表
  31246. tags:
  31247. - 铁合金
  31248. /Ferroalloy/QueryTHJWrstandardDetail:
  31249. get:
  31250. parameters:
  31251. - description: 现货商品ID
  31252. in: query
  31253. name: wrstandardid
  31254. required: true
  31255. type: integer
  31256. produces:
  31257. - application/json
  31258. responses:
  31259. "200":
  31260. description: OK
  31261. schema:
  31262. items:
  31263. $ref: '#/definitions/models.THJWrstandardDetailRsp'
  31264. type: array
  31265. "500":
  31266. description: Internal Server Error
  31267. schema:
  31268. $ref: '#/definitions/app.Response'
  31269. security:
  31270. - ApiKeyAuth: []
  31271. summary: 查询采购详情
  31272. tags:
  31273. - 铁合金
  31274. /Ferroalloy/QueryUserLevelInfo:
  31275. get:
  31276. parameters:
  31277. - description: 用户ID
  31278. in: query
  31279. name: userid
  31280. required: true
  31281. type: integer
  31282. produces:
  31283. - application/json
  31284. responses:
  31285. "200":
  31286. description: OK
  31287. schema:
  31288. items:
  31289. $ref: '#/definitions/models.THJUserLevelInfo'
  31290. type: array
  31291. "500":
  31292. description: Internal Server Error
  31293. schema:
  31294. $ref: '#/definitions/app.Response'
  31295. security:
  31296. - ApiKeyAuth: []
  31297. summary: 查询用户等级信息
  31298. tags:
  31299. - 铁合金
  31300. /Ferroalloy/QueryUserScoreLog:
  31301. get:
  31302. parameters:
  31303. - description: 用户ID
  31304. in: query
  31305. name: userid
  31306. required: true
  31307. type: integer
  31308. - description: '[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分
  31309. 6:自己供求下单积分 7:抽奖配置'
  31310. in: query
  31311. name: stype
  31312. type: string
  31313. - description: 页码
  31314. in: query
  31315. name: page
  31316. type: integer
  31317. - description: 每页条数
  31318. in: query
  31319. name: pagesize
  31320. type: integer
  31321. produces:
  31322. - application/json
  31323. responses:
  31324. "200":
  31325. description: OK
  31326. schema:
  31327. items:
  31328. $ref: '#/definitions/models.GThjuserscorelog'
  31329. type: array
  31330. "500":
  31331. description: Internal Server Error
  31332. schema:
  31333. $ref: '#/definitions/app.Response'
  31334. security:
  31335. - ApiKeyAuth: []
  31336. summary: 查询我的积分流水
  31337. tags:
  31338. - 铁合金
  31339. /Ferroalloy/Signin:
  31340. post:
  31341. parameters:
  31342. - description: 用户签到请求
  31343. in: body
  31344. name: jsonBody
  31345. required: true
  31346. schema:
  31347. $ref: '#/definitions/models.THJSigninReq'
  31348. produces:
  31349. - application/json
  31350. responses:
  31351. "200":
  31352. description: OK
  31353. schema:
  31354. $ref: '#/definitions/models.THJSigninRsp'
  31355. "500":
  31356. description: Internal Server Error
  31357. schema:
  31358. $ref: '#/definitions/app.Response'
  31359. security:
  31360. - ApiKeyAuth: []
  31361. summary: 用户签到
  31362. tags:
  31363. - 铁合金
  31364. /Guangzuan/GZBSFWOrderOperate:
  31365. get:
  31366. parameters:
  31367. - description: 单据ID
  31368. in: query
  31369. name: orderid
  31370. required: true
  31371. type: integer
  31372. produces:
  31373. - application/json
  31374. responses:
  31375. "200":
  31376. description: OK
  31377. schema:
  31378. items:
  31379. $ref: '#/definitions/models.Gzbsfworderoperate'
  31380. type: array
  31381. "500":
  31382. description: Internal Server Error
  31383. schema:
  31384. $ref: '#/definitions/app.Response'
  31385. security:
  31386. - ApiKeyAuth: []
  31387. - LoginID: []
  31388. - Group: []
  31389. summary: 保税服务单据操作信息
  31390. tags:
  31391. - 广钻
  31392. /Guangzuan/GetGoods:
  31393. get:
  31394. parameters:
  31395. - description: 商品编号
  31396. in: query
  31397. name: goodsno
  31398. required: true
  31399. type: string
  31400. produces:
  31401. - application/json
  31402. responses:
  31403. "200":
  31404. description: OK
  31405. schema:
  31406. $ref: '#/definitions/models.GZGoods'
  31407. "500":
  31408. description: Internal Server Error
  31409. schema:
  31410. $ref: '#/definitions/app.Response'
  31411. security:
  31412. - ApiKeyAuth: []
  31413. - LoginID: []
  31414. - Group: []
  31415. summary: 获取钻石详情
  31416. tags:
  31417. - 广钻
  31418. /Guangzuan/GzCertAddressConfig:
  31419. get:
  31420. produces:
  31421. - application/json
  31422. responses:
  31423. "200":
  31424. description: OK
  31425. schema:
  31426. items:
  31427. $ref: '#/definitions/models.Gzcertaddressconfig'
  31428. type: array
  31429. "500":
  31430. description: Internal Server Error
  31431. schema:
  31432. $ref: '#/definitions/app.Response'
  31433. security:
  31434. - ApiKeyAuth: []
  31435. - LoginID: []
  31436. - Group: []
  31437. summary: Rapaport最新报价表(广钻)
  31438. tags:
  31439. - 广钻
  31440. /Guangzuan/GzCertAddressParam:
  31441. get:
  31442. produces:
  31443. - application/json
  31444. responses:
  31445. "200":
  31446. description: OK
  31447. schema:
  31448. items:
  31449. $ref: '#/definitions/models.Gzcertaddressparam'
  31450. type: array
  31451. "500":
  31452. description: Internal Server Error
  31453. schema:
  31454. $ref: '#/definitions/app.Response'
  31455. security:
  31456. - ApiKeyAuth: []
  31457. - LoginID: []
  31458. - Group: []
  31459. summary: 钻石证书地址参数
  31460. tags:
  31461. - 广钻
  31462. /Guangzuan/HomeData:
  31463. get:
  31464. parameters:
  31465. - description: 用户ID
  31466. in: query
  31467. name: userid
  31468. required: true
  31469. type: integer
  31470. produces:
  31471. - application/json
  31472. responses:
  31473. "200":
  31474. description: OK
  31475. schema:
  31476. $ref: '#/definitions/models.GZHomeData'
  31477. "500":
  31478. description: Internal Server Error
  31479. schema:
  31480. $ref: '#/definitions/app.Response'
  31481. security:
  31482. - ApiKeyAuth: []
  31483. - LoginID: []
  31484. - Group: []
  31485. summary: 首页统计数据
  31486. tags:
  31487. - 广钻
  31488. /Guangzuan/PriceCalc:
  31489. get:
  31490. parameters:
  31491. - description: 形状 - 1:BR(圆形) 2:PS(异形)
  31492. in: query
  31493. name: zsshape
  31494. required: true
  31495. type: integer
  31496. - description: 颜色(D-M)
  31497. in: query
  31498. name: zscolor
  31499. required: true
  31500. type: string
  31501. - description: 净度
  31502. in: query
  31503. name: zsclarity
  31504. required: true
  31505. type: string
  31506. - description: 重量
  31507. in: query
  31508. name: weight
  31509. required: true
  31510. type: number
  31511. - description: 汇率
  31512. in: query
  31513. name: rate
  31514. required: true
  31515. type: number
  31516. - description: 折扣(%), 方向(加:10, 减:-10 )
  31517. in: query
  31518. name: discount
  31519. type: number
  31520. produces:
  31521. - application/json
  31522. responses:
  31523. "200":
  31524. description: OK
  31525. schema:
  31526. items:
  31527. $ref: '#/definitions/models.Gzrapaportprice'
  31528. type: array
  31529. "500":
  31530. description: Internal Server Error
  31531. schema:
  31532. $ref: '#/definitions/app.Response'
  31533. security:
  31534. - ApiKeyAuth: []
  31535. - LoginID: []
  31536. - Group: []
  31537. summary: 钻石价格计算器
  31538. tags:
  31539. - 广钻
  31540. /Guangzuan/QueryBuyOrder:
  31541. get:
  31542. parameters:
  31543. - description: 页码
  31544. in: query
  31545. name: page
  31546. type: integer
  31547. - description: 每页条数
  31548. in: query
  31549. name: pagesize
  31550. type: integer
  31551. - description: 商品(查询字段-模糊查询)
  31552. in: query
  31553. name: zsallproperties
  31554. type: string
  31555. - description: 钻石分类, 格式:1,2,3
  31556. in: query
  31557. name: zscategorys
  31558. type: string
  31559. - description: 委托单号
  31560. in: query
  31561. name: wrtradeorderid
  31562. type: integer
  31563. - description: 买方(查询字段-模糊查询)
  31564. in: query
  31565. name: buyusername
  31566. type: string
  31567. produces:
  31568. - application/json
  31569. responses:
  31570. "200":
  31571. description: OK
  31572. schema:
  31573. items:
  31574. $ref: '#/definitions/models.BuyOrder'
  31575. type: array
  31576. "500":
  31577. description: Internal Server Error
  31578. schema:
  31579. $ref: '#/definitions/app.Response'
  31580. security:
  31581. - ApiKeyAuth: []
  31582. - LoginID: []
  31583. - Group: []
  31584. summary: 查询求购大厅委托单
  31585. tags:
  31586. - 广钻
  31587. /Guangzuan/QueryDiamond:
  31588. post:
  31589. parameters:
  31590. - description: 钻石搜索入参
  31591. in: body
  31592. name: data
  31593. required: true
  31594. schema:
  31595. $ref: '#/definitions/models.SellOrderQueryReq'
  31596. produces:
  31597. - application/json
  31598. responses:
  31599. "200":
  31600. description: OK
  31601. schema:
  31602. items:
  31603. $ref: '#/definitions/models.SellOrder'
  31604. type: array
  31605. "500":
  31606. description: Internal Server Error
  31607. schema:
  31608. $ref: '#/definitions/app.Response'
  31609. security:
  31610. - ApiKeyAuth: []
  31611. - LoginID: []
  31612. - Group: []
  31613. summary: 钻石搜索
  31614. tags:
  31615. - 广钻
  31616. /Guangzuan/QueryFworderoperate:
  31617. get:
  31618. parameters:
  31619. - description: 单据ID
  31620. in: query
  31621. name: orderid
  31622. required: true
  31623. type: string
  31624. - description: 操作后单据状态
  31625. in: query
  31626. name: status
  31627. required: true
  31628. type: integer
  31629. produces:
  31630. - application/json
  31631. responses:
  31632. "200":
  31633. description: OK
  31634. schema:
  31635. items:
  31636. $ref: '#/definitions/models.Fworderoperate'
  31637. type: array
  31638. "500":
  31639. description: Internal Server Error
  31640. schema:
  31641. $ref: '#/definitions/app.Response'
  31642. security:
  31643. - ApiKeyAuth: []
  31644. - LoginID: []
  31645. - Group: []
  31646. summary: 查询保税服务单据操作
  31647. tags:
  31648. - 广钻
  31649. /Guangzuan/QueryGZBSFWOrder:
  31650. get:
  31651. parameters:
  31652. - description: 用户ID
  31653. in: query
  31654. name: userid
  31655. required: true
  31656. type: integer
  31657. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31658. in: query
  31659. name: executestatus
  31660. type: integer
  31661. - description: 页码
  31662. in: query
  31663. name: page
  31664. type: integer
  31665. - description: 每页条数
  31666. in: query
  31667. name: pagesize
  31668. type: integer
  31669. produces:
  31670. - application/json
  31671. responses:
  31672. "200":
  31673. description: OK
  31674. schema:
  31675. items:
  31676. $ref: '#/definitions/models.GzbsfworderM'
  31677. type: array
  31678. "500":
  31679. description: Internal Server Error
  31680. schema:
  31681. $ref: '#/definitions/app.Response'
  31682. security:
  31683. - ApiKeyAuth: []
  31684. - LoginID: []
  31685. - Group: []
  31686. summary: 查询保税服务单据
  31687. tags:
  31688. - 广钻
  31689. /Guangzuan/QueryGZBSFWOrderDetail:
  31690. get:
  31691. parameters:
  31692. - description: 用户ID
  31693. in: query
  31694. name: userid
  31695. required: true
  31696. type: integer
  31697. - description: 单据ID
  31698. in: query
  31699. name: orderid
  31700. type: integer
  31701. - description: 页码
  31702. in: query
  31703. name: page
  31704. type: integer
  31705. - description: 每页条数
  31706. in: query
  31707. name: pagesize
  31708. type: integer
  31709. produces:
  31710. - application/json
  31711. responses:
  31712. "200":
  31713. description: OK
  31714. schema:
  31715. items:
  31716. $ref: '#/definitions/models.GzbsfworderdetailM'
  31717. type: array
  31718. "500":
  31719. description: Internal Server Error
  31720. schema:
  31721. $ref: '#/definitions/app.Response'
  31722. security:
  31723. - ApiKeyAuth: []
  31724. - LoginID: []
  31725. - Group: []
  31726. summary: 查询保税服务单据明细
  31727. tags:
  31728. - 广钻
  31729. /Guangzuan/QueryGZCJBSOrderFile:
  31730. get:
  31731. parameters:
  31732. - description: 单据ID
  31733. in: query
  31734. name: orderid
  31735. required: true
  31736. type: integer
  31737. - description: 页码
  31738. in: query
  31739. name: page
  31740. type: integer
  31741. - description: 每页条数
  31742. in: query
  31743. name: pagesize
  31744. type: integer
  31745. produces:
  31746. - application/json
  31747. responses:
  31748. "200":
  31749. description: OK
  31750. schema:
  31751. items:
  31752. $ref: '#/definitions/models.GzcjbsorderfileM'
  31753. type: array
  31754. "500":
  31755. description: Internal Server Error
  31756. schema:
  31757. $ref: '#/definitions/app.Response'
  31758. security:
  31759. - ApiKeyAuth: []
  31760. - LoginID: []
  31761. - Group: []
  31762. summary: 出境保税单据文件
  31763. tags:
  31764. - 广钻
  31765. /Guangzuan/QueryGZCJJCOrder:
  31766. get:
  31767. parameters:
  31768. - description: 用户ID
  31769. in: query
  31770. name: userid
  31771. required: true
  31772. type: integer
  31773. - description: 执行状态 - 1:未生效 2:进行中 3:已结束
  31774. in: query
  31775. name: executestatus
  31776. type: integer
  31777. - description: 页码
  31778. in: query
  31779. name: page
  31780. type: integer
  31781. - description: 每页条数
  31782. in: query
  31783. name: pagesize
  31784. type: integer
  31785. produces:
  31786. - application/json
  31787. responses:
  31788. "200":
  31789. description: OK
  31790. schema:
  31791. items:
  31792. $ref: '#/definitions/models.GzcjjcorderM'
  31793. type: array
  31794. "500":
  31795. description: Internal Server Error
  31796. schema:
  31797. $ref: '#/definitions/app.Response'
  31798. security:
  31799. - ApiKeyAuth: []
  31800. - LoginID: []
  31801. - Group: []
  31802. summary: 查询出境检测单据
  31803. tags:
  31804. - 广钻
  31805. /Guangzuan/QueryGZCJJCOrderDetail:
  31806. get:
  31807. parameters:
  31808. - description: 用户ID
  31809. in: query
  31810. name: userid
  31811. required: true
  31812. type: integer
  31813. - description: 单据ID
  31814. in: query
  31815. name: orderid
  31816. type: integer
  31817. - description: 页码
  31818. in: query
  31819. name: page
  31820. type: integer
  31821. - description: 每页条数
  31822. in: query
  31823. name: pagesize
  31824. type: integer
  31825. produces:
  31826. - application/json
  31827. responses:
  31828. "200":
  31829. description: OK
  31830. schema:
  31831. items:
  31832. $ref: '#/definitions/models.GzcjjcorderdetailM'
  31833. type: array
  31834. "500":
  31835. description: Internal Server Error
  31836. schema:
  31837. $ref: '#/definitions/app.Response'
  31838. security:
  31839. - ApiKeyAuth: []
  31840. - LoginID: []
  31841. - Group: []
  31842. summary: 查询出境检测单据明细(批次信息)
  31843. tags:
  31844. - 广钻
  31845. /Guangzuan/QueryGzcjjcorderoperate:
  31846. get:
  31847. parameters:
  31848. - description: 单据ID
  31849. in: query
  31850. name: orderid
  31851. required: true
  31852. type: string
  31853. - description: 操作后单据状态
  31854. in: query
  31855. name: status
  31856. required: true
  31857. type: integer
  31858. produces:
  31859. - application/json
  31860. responses:
  31861. "200":
  31862. description: OK
  31863. schema:
  31864. items:
  31865. $ref: '#/definitions/models.Gzcjjcorderoperate'
  31866. type: array
  31867. "500":
  31868. description: Internal Server Error
  31869. schema:
  31870. $ref: '#/definitions/app.Response'
  31871. security:
  31872. - ApiKeyAuth: []
  31873. - LoginID: []
  31874. - Group: []
  31875. summary: 查询出境检测单据操作
  31876. tags:
  31877. - 广钻
  31878. /Guangzuan/QueryMemberReport:
  31879. get:
  31880. parameters:
  31881. - description: 用户ID
  31882. in: query
  31883. name: userid
  31884. required: true
  31885. type: integer
  31886. - description: 页码
  31887. in: query
  31888. name: page
  31889. type: integer
  31890. - description: 每页条数
  31891. in: query
  31892. name: pagesize
  31893. type: integer
  31894. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  31895. in: query
  31896. name: cycletype
  31897. type: string
  31898. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31899. in: query
  31900. name: begindate
  31901. required: true
  31902. type: string
  31903. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  31904. in: query
  31905. name: enddate
  31906. required: true
  31907. type: string
  31908. produces:
  31909. - application/json
  31910. responses:
  31911. "200":
  31912. description: OK
  31913. schema:
  31914. items:
  31915. $ref: '#/definitions/models.Reckondaytaaccount'
  31916. type: array
  31917. "500":
  31918. description: Internal Server Error
  31919. schema:
  31920. $ref: '#/definitions/app.Response'
  31921. security:
  31922. - ApiKeyAuth: []
  31923. - LoginID: []
  31924. - Group: []
  31925. summary: 查询会员报表
  31926. tags:
  31927. - 广钻
  31928. /Guangzuan/QueryMyBargainApply:
  31929. get:
  31930. parameters:
  31931. - description: 用户ID
  31932. in: query
  31933. name: userid
  31934. required: true
  31935. type: integer
  31936. - description: 页码
  31937. in: query
  31938. name: page
  31939. type: integer
  31940. - description: 每页条数
  31941. in: query
  31942. name: pagesize
  31943. type: integer
  31944. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  31945. in: query
  31946. name: applystatus
  31947. type: integer
  31948. - description: 查询类型 - 0:我的询价 1:我订单的询价
  31949. in: query
  31950. name: type
  31951. type: integer
  31952. - description: 关联委托单ID
  31953. in: query
  31954. name: wrtradeorderid
  31955. type: string
  31956. produces:
  31957. - application/json
  31958. responses:
  31959. "200":
  31960. description: OK
  31961. schema:
  31962. items:
  31963. $ref: '#/definitions/models.MyBargainApply'
  31964. type: array
  31965. "500":
  31966. description: Internal Server Error
  31967. schema:
  31968. $ref: '#/definitions/app.Response'
  31969. security:
  31970. - ApiKeyAuth: []
  31971. - LoginID: []
  31972. - Group: []
  31973. summary: 查询询价-求购
  31974. tags:
  31975. - 广钻
  31976. /Guangzuan/QueryMyBuyOrder:
  31977. get:
  31978. parameters:
  31979. - description: 用户ID
  31980. in: query
  31981. name: userid
  31982. required: true
  31983. type: integer
  31984. - description: 页码
  31985. in: query
  31986. name: page
  31987. type: integer
  31988. - description: 每页条数
  31989. in: query
  31990. name: pagesize
  31991. type: integer
  31992. - description: 商品(查询字段-模糊查询)
  31993. in: query
  31994. name: zsallproperties
  31995. type: string
  31996. - description: 钻石分类, 格式:1,2,3
  31997. in: query
  31998. name: zscategorys
  31999. type: string
  32000. - description: 委托单号
  32001. in: query
  32002. name: wrtradeorderid
  32003. type: integer
  32004. - description: 是否历史查询
  32005. in: query
  32006. name: ishis
  32007. type: boolean
  32008. - description: 开始交易日(yyyymmdd)
  32009. in: query
  32010. name: begindate
  32011. type: string
  32012. - description: 结束交易日(yyyymmdd)
  32013. in: query
  32014. name: enddate
  32015. type: string
  32016. produces:
  32017. - application/json
  32018. responses:
  32019. "200":
  32020. description: OK
  32021. schema:
  32022. items:
  32023. $ref: '#/definitions/models.MyBuyOrder'
  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/QueryMyDeListing:
  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: wrtradedetailid
  32063. type: integer
  32064. - description: 方向,0-购买 1-出售
  32065. in: query
  32066. name: buyorsell
  32067. type: integer
  32068. - description: 对手方(模糊匹配)
  32069. in: query
  32070. name: matchusername
  32071. type: string
  32072. - description: 开始交易日(yyyymmdd)
  32073. in: query
  32074. name: begindate
  32075. type: string
  32076. - description: 结束交易日(yyyymmdd)
  32077. in: query
  32078. name: enddate
  32079. type: string
  32080. produces:
  32081. - application/json
  32082. responses:
  32083. "200":
  32084. description: OK
  32085. schema:
  32086. items:
  32087. $ref: '#/definitions/models.MyDeListing'
  32088. type: array
  32089. "500":
  32090. description: Internal Server Error
  32091. schema:
  32092. $ref: '#/definitions/app.Response'
  32093. security:
  32094. - ApiKeyAuth: []
  32095. - LoginID: []
  32096. - Group: []
  32097. summary: 查询我的摘牌
  32098. tags:
  32099. - 广钻
  32100. /Guangzuan/QueryMyDelistingApply:
  32101. get:
  32102. parameters:
  32103. - description: 用户ID
  32104. in: query
  32105. name: userid
  32106. required: true
  32107. type: integer
  32108. - description: 页码
  32109. in: query
  32110. name: page
  32111. type: integer
  32112. - description: 每页条数
  32113. in: query
  32114. name: pagesize
  32115. type: integer
  32116. - description: 申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  32117. in: query
  32118. name: applystatus
  32119. type: integer
  32120. - description: 查询类型 - 0:我的询价 1:我订单的询价
  32121. in: query
  32122. name: type
  32123. type: integer
  32124. - description: 买委托单ID
  32125. in: query
  32126. name: buywrtradeorderid
  32127. type: string
  32128. produces:
  32129. - application/json
  32130. responses:
  32131. "200":
  32132. description: OK
  32133. schema:
  32134. items:
  32135. $ref: '#/definitions/models.MyDelistingApply'
  32136. type: array
  32137. "500":
  32138. description: Internal Server Error
  32139. schema:
  32140. $ref: '#/definitions/app.Response'
  32141. security:
  32142. - ApiKeyAuth: []
  32143. - LoginID: []
  32144. - Group: []
  32145. summary: 查询询价-出售
  32146. tags:
  32147. - 广钻
  32148. /Guangzuan/QueryMyFavorite:
  32149. get:
  32150. parameters:
  32151. - description: 用户ID
  32152. in: query
  32153. name: userid
  32154. required: true
  32155. type: integer
  32156. - description: 页码
  32157. in: query
  32158. name: page
  32159. type: integer
  32160. - description: 每页条数
  32161. in: query
  32162. name: pagesize
  32163. type: integer
  32164. - description: 钻石分类, 格式:1,2,3
  32165. in: query
  32166. name: zscategorys
  32167. type: string
  32168. produces:
  32169. - application/json
  32170. responses:
  32171. "200":
  32172. description: OK
  32173. schema:
  32174. items:
  32175. $ref: '#/definitions/models.MyFavorite'
  32176. type: array
  32177. "500":
  32178. description: Internal Server Error
  32179. schema:
  32180. $ref: '#/definitions/app.Response'
  32181. security:
  32182. - ApiKeyAuth: []
  32183. - LoginID: []
  32184. - Group: []
  32185. summary: 查询我的收藏
  32186. tags:
  32187. - 广钻
  32188. /Guangzuan/QueryMyPerformanc:
  32189. get:
  32190. parameters:
  32191. - description: 用户ID
  32192. in: query
  32193. name: userid
  32194. required: true
  32195. type: integer
  32196. - description: 页码
  32197. in: query
  32198. name: page
  32199. type: integer
  32200. - description: 每页条数
  32201. in: query
  32202. name: pagesize
  32203. type: integer
  32204. - description: 商品(查询字段-模糊查询)
  32205. in: query
  32206. name: zsallproperties
  32207. type: string
  32208. - description: 方向,0-买 1-卖
  32209. in: query
  32210. name: buyorsell
  32211. type: integer
  32212. - description: 是否历史查询
  32213. in: query
  32214. name: ishis
  32215. type: boolean
  32216. - description: 开始交易日(yyyymmdd)
  32217. in: query
  32218. name: begindate
  32219. type: string
  32220. - description: 结束交易日(yyyymmdd)
  32221. in: query
  32222. name: enddate
  32223. type: string
  32224. produces:
  32225. - application/json
  32226. responses:
  32227. "200":
  32228. description: OK
  32229. schema:
  32230. items:
  32231. $ref: '#/definitions/models.MyPerformanc'
  32232. type: array
  32233. "500":
  32234. description: Internal Server Error
  32235. schema:
  32236. $ref: '#/definitions/app.Response'
  32237. security:
  32238. - ApiKeyAuth: []
  32239. - LoginID: []
  32240. - Group: []
  32241. summary: 查询我的履约
  32242. tags:
  32243. - 广钻
  32244. /Guangzuan/QueryMySellOrder:
  32245. get:
  32246. parameters:
  32247. - description: 用户ID
  32248. in: query
  32249. name: userid
  32250. required: true
  32251. type: integer
  32252. - description: 页码
  32253. in: query
  32254. name: page
  32255. type: integer
  32256. - description: 每页条数
  32257. in: query
  32258. name: pagesize
  32259. type: integer
  32260. - description: 商品(查询字段-模糊查询)
  32261. in: query
  32262. name: zsallproperties
  32263. type: string
  32264. - description: 钻石分类, 格式:1,2,3
  32265. in: query
  32266. name: zscategorys
  32267. type: string
  32268. - description: 委托单号
  32269. in: query
  32270. name: wrtradeorderid
  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.MySellOrder'
  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/QueryMyWRPosition:
  32305. get:
  32306. parameters:
  32307. - description: 页码
  32308. in: query
  32309. name: page
  32310. type: integer
  32311. - description: 每页条数
  32312. in: query
  32313. name: pagesize
  32314. type: integer
  32315. - description: 登录用户ID
  32316. in: query
  32317. name: wruserid
  32318. required: true
  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: 仓库ID
  32329. in: query
  32330. name: warehouseid
  32331. type: integer
  32332. - description: 是否上架,0-全部 1-是 2-否
  32333. in: query
  32334. name: marketflag
  32335. type: integer
  32336. produces:
  32337. - application/json
  32338. responses:
  32339. "200":
  32340. description: OK
  32341. schema:
  32342. items:
  32343. $ref: '#/definitions/models.MyWRPosition'
  32344. type: array
  32345. "500":
  32346. description: Internal Server Error
  32347. schema:
  32348. $ref: '#/definitions/app.Response'
  32349. security:
  32350. - ApiKeyAuth: []
  32351. - LoginID: []
  32352. - Group: []
  32353. summary: 查询我的库存
  32354. tags:
  32355. - 广钻
  32356. /Guangzuan/QuerySellOrder:
  32357. get:
  32358. parameters:
  32359. - description: 页码
  32360. in: query
  32361. name: page
  32362. type: integer
  32363. - description: 每页条数
  32364. in: query
  32365. name: pagesize
  32366. type: integer
  32367. - description: 商品(查询字段-模糊查询)
  32368. in: query
  32369. name: zsallproperties
  32370. type: string
  32371. - description: 钻石分类, 格式:1,2,3
  32372. in: query
  32373. name: zscategorys
  32374. type: string
  32375. - description: 委托单号
  32376. in: query
  32377. name: wrtradeorderid
  32378. type: integer
  32379. - description: 卖方(查询字段-模糊查询)
  32380. in: query
  32381. name: buyusername
  32382. type: string
  32383. produces:
  32384. - application/json
  32385. responses:
  32386. "200":
  32387. description: OK
  32388. schema:
  32389. items:
  32390. $ref: '#/definitions/models.SellOrder'
  32391. type: array
  32392. "500":
  32393. description: Internal Server Error
  32394. schema:
  32395. $ref: '#/definitions/app.Response'
  32396. security:
  32397. - ApiKeyAuth: []
  32398. - LoginID: []
  32399. - Group: []
  32400. summary: 查询出售大厅委托单
  32401. tags:
  32402. - 广钻
  32403. /Guangzuan/QueryTradeReport:
  32404. get:
  32405. parameters:
  32406. - description: 用户ID
  32407. in: query
  32408. name: userid
  32409. required: true
  32410. type: integer
  32411. - description: 页码
  32412. in: query
  32413. name: page
  32414. type: integer
  32415. - description: 每页条数
  32416. in: query
  32417. name: pagesize
  32418. type: integer
  32419. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32420. in: query
  32421. name: cycletype
  32422. type: string
  32423. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32424. in: query
  32425. name: begindate
  32426. required: true
  32427. type: string
  32428. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32429. in: query
  32430. name: enddate
  32431. required: true
  32432. type: string
  32433. - description: 商品分类
  32434. in: query
  32435. name: zscategory
  32436. type: integer
  32437. - description: 商品币种
  32438. in: query
  32439. name: zscurrencytype
  32440. type: integer
  32441. produces:
  32442. - application/json
  32443. responses:
  32444. "200":
  32445. description: OK
  32446. schema:
  32447. items:
  32448. $ref: '#/definitions/models.Reckongzmemtradesum'
  32449. type: array
  32450. "500":
  32451. description: Internal Server Error
  32452. schema:
  32453. $ref: '#/definitions/app.Response'
  32454. security:
  32455. - ApiKeyAuth: []
  32456. - LoginID: []
  32457. - Group: []
  32458. summary: 查询交易报表
  32459. tags:
  32460. - 广钻
  32461. /Guangzuan/QueryWRPositionReport:
  32462. get:
  32463. parameters:
  32464. - description: 用户ID
  32465. in: query
  32466. name: userid
  32467. required: true
  32468. type: integer
  32469. - description: 页码
  32470. in: query
  32471. name: page
  32472. type: integer
  32473. - description: 每页条数
  32474. in: query
  32475. name: pagesize
  32476. type: integer
  32477. - description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)
  32478. in: query
  32479. name: cycletype
  32480. type: string
  32481. - description: 开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32482. in: query
  32483. name: begindate
  32484. required: true
  32485. type: string
  32486. - description: 结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)
  32487. in: query
  32488. name: enddate
  32489. required: true
  32490. type: string
  32491. - description: 商品分类
  32492. in: query
  32493. name: zscategory
  32494. type: integer
  32495. - description: 商品币种
  32496. in: query
  32497. name: zscurrencytype
  32498. type: integer
  32499. produces:
  32500. - application/json
  32501. responses:
  32502. "200":
  32503. description: OK
  32504. schema:
  32505. items:
  32506. $ref: '#/definitions/models.WRPositionReport'
  32507. type: array
  32508. "500":
  32509. description: Internal Server Error
  32510. schema:
  32511. $ref: '#/definitions/app.Response'
  32512. security:
  32513. - ApiKeyAuth: []
  32514. - LoginID: []
  32515. - Group: []
  32516. summary: 查询仓储报表
  32517. tags:
  32518. - 广钻
  32519. /Guangzuan/QueryWarehouseInfo:
  32520. get:
  32521. parameters:
  32522. - description: 页码
  32523. in: query
  32524. name: page
  32525. type: integer
  32526. - description: 每页条数
  32527. in: query
  32528. name: pagesize
  32529. type: integer
  32530. - description: 用户ID
  32531. in: query
  32532. name: userid
  32533. required: true
  32534. type: integer
  32535. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  32536. in: query
  32537. name: status
  32538. type: string
  32539. - description: 是返回交易所仓库
  32540. in: query
  32541. name: isincludeexchange
  32542. type: boolean
  32543. produces:
  32544. - application/json
  32545. responses:
  32546. "200":
  32547. description: OK
  32548. schema:
  32549. items:
  32550. $ref: '#/definitions/models.GZWarehouseinfo'
  32551. type: array
  32552. "500":
  32553. description: Internal Server Error
  32554. schema:
  32555. $ref: '#/definitions/app.Response'
  32556. security:
  32557. - ApiKeyAuth: []
  32558. - LoginID: []
  32559. - Group: []
  32560. summary: 查询仓库信息
  32561. tags:
  32562. - 广钻
  32563. /HSBY/GetHsbyMyCount:
  32564. get:
  32565. description: 说明: 不包括已完成的数量。
  32566. parameters:
  32567. - description: 资金账户列表,格式:1,2,3
  32568. in: query
  32569. name: accountIDs
  32570. required: true
  32571. type: string
  32572. produces:
  32573. - application/json
  32574. responses:
  32575. "200":
  32576. description: OK
  32577. schema:
  32578. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  32579. "500":
  32580. description: Internal Server Error
  32581. schema:
  32582. $ref: '#/definitions/app.Response'
  32583. security:
  32584. - ApiKeyAuth: []
  32585. summary: 获取我的订单与包裹数量
  32586. tags:
  32587. - 定制【海商报业】
  32588. /HSBY/QueryClientFixedADConfigs:
  32589. get:
  32590. produces:
  32591. - application/json
  32592. responses:
  32593. "200":
  32594. description: OK
  32595. schema:
  32596. $ref: '#/definitions/models.Clientfixedadconfig'
  32597. "500":
  32598. description: Internal Server Error
  32599. schema:
  32600. $ref: '#/definitions/app.Response'
  32601. security:
  32602. - ApiKeyAuth: []
  32603. summary: 获取终端固定广告配置
  32604. tags:
  32605. - 定制【海商报业】
  32606. /HSBY/QueryHsbyBuyMyTradeDetail:
  32607. get:
  32608. parameters:
  32609. - description: 页码
  32610. in: query
  32611. name: page
  32612. type: integer
  32613. - description: 每页条数
  32614. in: query
  32615. name: pagesize
  32616. type: integer
  32617. - description: 资金账户列表,格式:1,2,3
  32618. in: query
  32619. name: accountIDs
  32620. required: true
  32621. type: string
  32622. produces:
  32623. - application/json
  32624. responses:
  32625. "200":
  32626. description: OK
  32627. schema:
  32628. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  32629. "500":
  32630. description: Internal Server Error
  32631. schema:
  32632. $ref: '#/definitions/app.Response'
  32633. security:
  32634. - ApiKeyAuth: []
  32635. summary: 查询"我的订单 - 已完成"单据信息
  32636. tags:
  32637. - 定制【海商报业】
  32638. /HSBY/QueryHsbyGoodsOrderDetails:
  32639. get:
  32640. description: 说明:查询结果已按委托价格和委托时间排序
  32641. parameters:
  32642. - description: 商品ID
  32643. in: query
  32644. name: goodsID
  32645. required: true
  32646. type: integer
  32647. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  32648. in: query
  32649. name: accountIDs
  32650. type: string
  32651. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  32652. in: query
  32653. name: buyOrSell
  32654. type: integer
  32655. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  32656. in: query
  32657. name: price
  32658. type: number
  32659. - description: 档位,不传则默认为3档
  32660. in: query
  32661. name: speed
  32662. type: integer
  32663. produces:
  32664. - application/json
  32665. responses:
  32666. "200":
  32667. description: OK
  32668. schema:
  32669. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  32670. "500":
  32671. description: Internal Server Error
  32672. schema:
  32673. $ref: '#/definitions/app.Response'
  32674. security:
  32675. - ApiKeyAuth: []
  32676. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  32677. tags:
  32678. - 定制【海商报业】
  32679. /HSBY/QueryHsbyListingGoodsDetail:
  32680. get:
  32681. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  32682. parameters:
  32683. - description: 商品ID
  32684. in: query
  32685. name: goodsID
  32686. required: true
  32687. type: integer
  32688. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  32689. in: query
  32690. name: accountID
  32691. type: integer
  32692. produces:
  32693. - application/json
  32694. responses:
  32695. "200":
  32696. description: OK
  32697. schema:
  32698. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  32699. "500":
  32700. description: Internal Server Error
  32701. schema:
  32702. $ref: '#/definitions/app.Response'
  32703. security:
  32704. - ApiKeyAuth: []
  32705. summary: 查询二级市场(挂牌点选)商品信息详情
  32706. tags:
  32707. - 定制【海商报业】
  32708. /HSBY/QueryHsbyMarketGoodsDetail:
  32709. get:
  32710. parameters:
  32711. - description: 委托单号
  32712. in: query
  32713. name: orderID
  32714. required: true
  32715. type: integer
  32716. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  32717. in: query
  32718. name: accountID
  32719. type: integer
  32720. produces:
  32721. - application/json
  32722. responses:
  32723. "200":
  32724. description: OK
  32725. schema:
  32726. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  32727. "500":
  32728. description: Internal Server Error
  32729. schema:
  32730. $ref: '#/definitions/app.Response'
  32731. security:
  32732. - ApiKeyAuth: []
  32733. summary: 查询三级市场(商城)商品信息详情
  32734. tags:
  32735. - 定制【海商报业】
  32736. /HSBY/QueryHsbyMarketGoodses:
  32737. get:
  32738. parameters:
  32739. - description: 页码
  32740. in: query
  32741. name: page
  32742. type: integer
  32743. - description: 每页条数
  32744. in: query
  32745. name: pagesize
  32746. type: integer
  32747. - description: 市场ID列表,格式:1,2,3
  32748. in: query
  32749. name: marketIDs
  32750. required: true
  32751. type: string
  32752. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  32753. in: query
  32754. name: accountID
  32755. required: true
  32756. type: integer
  32757. - description: 类别ID
  32758. in: query
  32759. name: categoryID
  32760. type: integer
  32761. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  32762. in: query
  32763. name: goodsIDs
  32764. type: string
  32765. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  32766. in: query
  32767. name: couponTypeID
  32768. type: integer
  32769. produces:
  32770. - application/json
  32771. responses:
  32772. "200":
  32773. description: OK
  32774. schema:
  32775. $ref: '#/definitions/models.HsbyMarketGoods'
  32776. "500":
  32777. description: Internal Server Error
  32778. schema:
  32779. $ref: '#/definitions/app.Response'
  32780. security:
  32781. - ApiKeyAuth: []
  32782. summary: 查询特卖商品列表(三级商城)
  32783. tags:
  32784. - 定制【海商报业】
  32785. /HSBY/QueryHsbyMarkets:
  32786. get:
  32787. produces:
  32788. - application/json
  32789. responses:
  32790. "200":
  32791. description: OK
  32792. schema:
  32793. $ref: '#/definitions/models.HsbyMarketInfo'
  32794. "500":
  32795. description: Internal Server Error
  32796. schema:
  32797. $ref: '#/definitions/app.Response'
  32798. security:
  32799. - ApiKeyAuth: []
  32800. summary: 查询海商报业相关市场信息
  32801. tags:
  32802. - 定制【海商报业】
  32803. /HSBY/QueryHsbyMyBuyOrderDetails:
  32804. get:
  32805. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  32806. parameters:
  32807. - description: 资金账户列表,格式:1,2,3
  32808. in: query
  32809. name: accountIDs
  32810. required: true
  32811. type: string
  32812. produces:
  32813. - application/json
  32814. responses:
  32815. "200":
  32816. description: OK
  32817. schema:
  32818. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  32819. "500":
  32820. description: Internal Server Error
  32821. schema:
  32822. $ref: '#/definitions/app.Response'
  32823. security:
  32824. - ApiKeyAuth: []
  32825. summary: 查询“我的订单”信息
  32826. tags:
  32827. - 定制【海商报业】
  32828. /HSBY/QueryHsbyMyGoods:
  32829. get:
  32830. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  32831. parameters:
  32832. - description: 资金账户列表,格式:1,2,3
  32833. in: query
  32834. name: accountIDs
  32835. required: true
  32836. type: string
  32837. produces:
  32838. - application/json
  32839. responses:
  32840. "200":
  32841. description: OK
  32842. schema:
  32843. $ref: '#/definitions/models.HsbyMyGoods'
  32844. "500":
  32845. description: Internal Server Error
  32846. schema:
  32847. $ref: '#/definitions/app.Response'
  32848. security:
  32849. - ApiKeyAuth: []
  32850. summary: 查询“我的商品”信息
  32851. tags:
  32852. - 定制【海商报业】
  32853. /HSBY/QueryHsbyMyPackages:
  32854. get:
  32855. parameters:
  32856. - description: 资金账户列表,格式:1,2,3
  32857. in: query
  32858. name: accountIDs
  32859. required: true
  32860. type: string
  32861. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  32862. in: query
  32863. name: takeOrderStatus
  32864. type: integer
  32865. produces:
  32866. - application/json
  32867. responses:
  32868. "200":
  32869. description: OK
  32870. schema:
  32871. $ref: '#/definitions/models.HsbyMyPackage'
  32872. "500":
  32873. description: Internal Server Error
  32874. schema:
  32875. $ref: '#/definitions/app.Response'
  32876. security:
  32877. - ApiKeyAuth: []
  32878. summary: 查询我的包裹信息
  32879. tags:
  32880. - 定制【海商报业】
  32881. /HSBY/QueryHsbyPreGoodsDetail:
  32882. get:
  32883. parameters:
  32884. - description: 商品ID
  32885. in: query
  32886. name: goodsID
  32887. required: true
  32888. type: integer
  32889. - description: 资金账户,主要用于获取预售商品购买上限
  32890. in: query
  32891. name: accountID
  32892. type: integer
  32893. produces:
  32894. - application/json
  32895. responses:
  32896. "200":
  32897. description: OK
  32898. schema:
  32899. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  32900. "500":
  32901. description: Internal Server Error
  32902. schema:
  32903. $ref: '#/definitions/app.Response'
  32904. security:
  32905. - ApiKeyAuth: []
  32906. summary: 查询一级市场(预售)商品信息详情
  32907. tags:
  32908. - 定制【海商报业】
  32909. /HSBY/QueryHsbyPreGoodses:
  32910. get:
  32911. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  32912. parameters:
  32913. - description: 页码
  32914. in: query
  32915. name: page
  32916. type: integer
  32917. - description: 每页条数
  32918. in: query
  32919. name: pagesize
  32920. type: integer
  32921. - description: 市场ID列表,格式:1,2,3
  32922. in: query
  32923. name: marketIDs
  32924. required: true
  32925. type: string
  32926. - description: 目的地(省)ID
  32927. in: query
  32928. name: descProvinceID
  32929. type: integer
  32930. - description: 目的地(市)ID
  32931. in: query
  32932. name: descCityID
  32933. type: integer
  32934. produces:
  32935. - application/json
  32936. responses:
  32937. "200":
  32938. description: OK
  32939. schema:
  32940. $ref: '#/definitions/models.HsbyPreGoods'
  32941. "500":
  32942. description: Internal Server Error
  32943. schema:
  32944. $ref: '#/definitions/app.Response'
  32945. security:
  32946. - ApiKeyAuth: []
  32947. summary: 查询新品上市商品列表(一级市场预售)
  32948. tags:
  32949. - 定制【海商报业】
  32950. /HSBY/QueryHsbySellMyDetails:
  32951. get:
  32952. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  32953. parameters:
  32954. - description: 页码
  32955. in: query
  32956. name: page
  32957. type: integer
  32958. - description: 每页条数
  32959. in: query
  32960. name: pagesize
  32961. type: integer
  32962. - description: 资金账户列表,格式:1,2,3
  32963. in: query
  32964. name: accountIDs
  32965. required: true
  32966. type: string
  32967. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  32968. in: query
  32969. name: orderType
  32970. type: integer
  32971. produces:
  32972. - application/json
  32973. responses:
  32974. "200":
  32975. description: OK
  32976. schema:
  32977. $ref: '#/definitions/models.HsbySellMyDetail'
  32978. "500":
  32979. description: Internal Server Error
  32980. schema:
  32981. $ref: '#/definitions/app.Response'
  32982. security:
  32983. - ApiKeyAuth: []
  32984. summary: 查询"我的闲置"单据信息
  32985. tags:
  32986. - 定制【海商报业】
  32987. /HSBY/QueryHsbyTopGoodses:
  32988. get:
  32989. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  32990. parameters:
  32991. - description: 页码
  32992. in: query
  32993. name: page
  32994. type: integer
  32995. - description: 每页条数
  32996. in: query
  32997. name: pagesize
  32998. type: integer
  32999. - description: 市场ID列表,格式:1,2,3
  33000. in: query
  33001. name: marketIDs
  33002. required: true
  33003. type: string
  33004. - description: 目的地(省)ID
  33005. in: query
  33006. name: descProvinceID
  33007. type: integer
  33008. - description: 目的地(市)ID
  33009. in: query
  33010. name: descCityID
  33011. type: integer
  33012. produces:
  33013. - application/json
  33014. responses:
  33015. "200":
  33016. description: OK
  33017. schema:
  33018. $ref: '#/definitions/models.HsbyTopGoods'
  33019. "500":
  33020. description: Internal Server Error
  33021. schema:
  33022. $ref: '#/definitions/app.Response'
  33023. security:
  33024. - ApiKeyAuth: []
  33025. summary: 查询热卖商品列表(二级市场挂牌点选)
  33026. tags:
  33027. - 定制【海商报业】
  33028. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  33029. get:
  33030. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  33031. parameters:
  33032. - description: 商品ID
  33033. in: query
  33034. name: goodsID
  33035. required: true
  33036. type: integer
  33037. produces:
  33038. - application/json
  33039. responses:
  33040. "200":
  33041. description: OK
  33042. schema:
  33043. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  33044. "500":
  33045. description: Internal Server Error
  33046. schema:
  33047. $ref: '#/definitions/app.Response'
  33048. security:
  33049. - ApiKeyAuth: []
  33050. summary: 查询游客三级市场(商城)商品信息详情
  33051. tags:
  33052. - 定制【海商报业】
  33053. /HSBY/QueryHsbyVisitorMarketGoodses:
  33054. get:
  33055. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  33056. parameters:
  33057. - description: 页码
  33058. in: query
  33059. name: page
  33060. type: integer
  33061. - description: 每页条数
  33062. in: query
  33063. name: pagesize
  33064. type: integer
  33065. - description: 市场ID列表,格式:1,2,3
  33066. in: query
  33067. name: marketIDs
  33068. required: true
  33069. type: string
  33070. - description: 类别ID
  33071. in: query
  33072. name: categoryID
  33073. type: integer
  33074. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  33075. in: query
  33076. name: goodsIDs
  33077. type: string
  33078. produces:
  33079. - application/json
  33080. responses:
  33081. "200":
  33082. description: OK
  33083. schema:
  33084. $ref: '#/definitions/models.HsbyMarketGoods'
  33085. "500":
  33086. description: Internal Server Error
  33087. schema:
  33088. $ref: '#/definitions/app.Response'
  33089. security:
  33090. - ApiKeyAuth: []
  33091. summary: 查询游客特卖商品列表(三级商城)
  33092. tags:
  33093. - 定制【海商报业】
  33094. /HSBY/QueryMyCollectionOrders:
  33095. get:
  33096. parameters:
  33097. - description: 页码
  33098. in: query
  33099. name: page
  33100. type: integer
  33101. - description: 每页条数
  33102. in: query
  33103. name: pagesize
  33104. type: integer
  33105. - description: 资金账户,格式:1,2,3
  33106. in: query
  33107. name: accountIDs
  33108. required: true
  33109. type: string
  33110. produces:
  33111. - application/json
  33112. responses:
  33113. "200":
  33114. description: OK
  33115. schema:
  33116. $ref: '#/definitions/models.HsbySellCollectionOrder'
  33117. "500":
  33118. description: Internal Server Error
  33119. schema:
  33120. $ref: '#/definitions/app.Response'
  33121. security:
  33122. - ApiKeyAuth: []
  33123. summary: 我的闲置中收款信息查询
  33124. tags:
  33125. - 定制【海商报业】
  33126. /HSBY/QueryMyCouponHolds:
  33127. get:
  33128. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  33129. parameters:
  33130. - description: 资金账户列表,格式:1,2,3
  33131. in: query
  33132. name: accountIDs
  33133. required: true
  33134. type: string
  33135. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  33136. in: query
  33137. name: holdStatus
  33138. type: string
  33139. produces:
  33140. - application/json
  33141. responses:
  33142. "200":
  33143. description: OK
  33144. schema:
  33145. $ref: '#/definitions/models.MyCouponHold'
  33146. "500":
  33147. description: Internal Server Error
  33148. schema:
  33149. $ref: '#/definitions/app.Response'
  33150. security:
  33151. - ApiKeyAuth: []
  33152. summary: 我的优惠卷持仓查询
  33153. tags:
  33154. - 定制【海商报业】
  33155. /HSBY/QueryMyCoupons:
  33156. get:
  33157. parameters:
  33158. - description: 资金账户列表,格式:1,2,3
  33159. in: query
  33160. name: accountIDs
  33161. required: true
  33162. type: string
  33163. - description: 商品ID, 一般与sellUserID配套传入
  33164. in: query
  33165. name: goodsID
  33166. type: integer
  33167. - description: 卖方UserID
  33168. in: query
  33169. name: sellUserID
  33170. type: integer
  33171. produces:
  33172. - application/json
  33173. responses:
  33174. "200":
  33175. description: OK
  33176. schema:
  33177. $ref: '#/definitions/models.MyCoupon'
  33178. "500":
  33179. description: Internal Server Error
  33180. schema:
  33181. $ref: '#/definitions/app.Response'
  33182. security:
  33183. - ApiKeyAuth: []
  33184. summary: 我的优惠卷查询
  33185. tags:
  33186. - 定制【海商报业】
  33187. /HSBY/QueryMyPayOrders:
  33188. get:
  33189. parameters:
  33190. - description: 页码
  33191. in: query
  33192. name: page
  33193. type: integer
  33194. - description: 每页条数
  33195. in: query
  33196. name: pagesize
  33197. type: integer
  33198. - description: 资金账户列表,格式:1,2,3
  33199. in: query
  33200. name: accountIDs
  33201. required: true
  33202. type: string
  33203. - description: 买方委托单号
  33204. in: query
  33205. name: buyOrderID
  33206. type: integer
  33207. - description: 卖方委托单号
  33208. in: query
  33209. name: sellOrderID
  33210. type: integer
  33211. produces:
  33212. - application/json
  33213. responses:
  33214. "200":
  33215. description: OK
  33216. schema:
  33217. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  33218. "500":
  33219. description: Internal Server Error
  33220. schema:
  33221. $ref: '#/definitions/app.Response'
  33222. security:
  33223. - ApiKeyAuth: []
  33224. summary: 获取我的订单中待付款信息
  33225. tags:
  33226. - 定制【海商报业】
  33227. /HSBY/QueryMyUsedCoupon:
  33228. get:
  33229. parameters:
  33230. - description: 资金账户列表,格式:1,2,3
  33231. in: query
  33232. name: accountIDs
  33233. required: true
  33234. type: string
  33235. produces:
  33236. - application/json
  33237. responses:
  33238. "200":
  33239. description: OK
  33240. schema:
  33241. $ref: '#/definitions/models.MyUsedCoupon'
  33242. "500":
  33243. description: Internal Server Error
  33244. schema:
  33245. $ref: '#/definitions/app.Response'
  33246. security:
  33247. - ApiKeyAuth: []
  33248. summary: 已使用优惠卷查询
  33249. tags:
  33250. - 定制【海商报业】
  33251. /HSBY/QueryProvincesAndCities:
  33252. get:
  33253. description: 查询结果只包括二级市场商品已关连的省市信息。
  33254. parameters:
  33255. - description: 省ID
  33256. in: query
  33257. name: provinceID
  33258. type: integer
  33259. produces:
  33260. - application/json
  33261. responses:
  33262. "200":
  33263. description: OK
  33264. schema:
  33265. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  33266. "500":
  33267. description: Internal Server Error
  33268. schema:
  33269. $ref: '#/definitions/app.Response'
  33270. security:
  33271. - ApiKeyAuth: []
  33272. summary: 查询省市信息(不包括区)
  33273. tags:
  33274. - 定制【海商报业】
  33275. /HSBY/SetHsbyMyPackagesStatus:
  33276. post:
  33277. parameters:
  33278. - description: 提货单号
  33279. in: query
  33280. name: takeOrderID
  33281. required: true
  33282. type: string
  33283. - description: 资金账号
  33284. in: query
  33285. name: accountID
  33286. required: true
  33287. type: integer
  33288. produces:
  33289. - application/json
  33290. responses:
  33291. "200":
  33292. description: OK
  33293. schema:
  33294. $ref: '#/definitions/app.Response'
  33295. "500":
  33296. description: Internal Server Error
  33297. schema:
  33298. $ref: '#/definitions/app.Response'
  33299. security:
  33300. - ApiKeyAuth: []
  33301. summary: 设置我的包裹已收货状态
  33302. tags:
  33303. - 定制【海商报业】
  33304. /Market/GetAllExExchanges:
  33305. get:
  33306. produces:
  33307. - application/json
  33308. responses:
  33309. "200":
  33310. description: OK
  33311. schema:
  33312. $ref: '#/definitions/models.Goods'
  33313. "500":
  33314. description: Internal Server Error
  33315. schema:
  33316. $ref: '#/definitions/app.Response'
  33317. security:
  33318. - ApiKeyAuth: []
  33319. summary: 获取所有外部交易所信息
  33320. tags:
  33321. - 通用市场
  33322. /Market/QueryGoodsesByLoginID:
  33323. get:
  33324. parameters:
  33325. - description: 登录账号
  33326. in: query
  33327. name: loginID
  33328. required: true
  33329. type: integer
  33330. - description: 市场ID列表,格式:1,2,3
  33331. in: query
  33332. name: marketIDs
  33333. type: string
  33334. produces:
  33335. - application/json
  33336. responses:
  33337. "200":
  33338. description: OK
  33339. schema:
  33340. $ref: '#/definitions/models.Goods'
  33341. "500":
  33342. description: Internal Server Error
  33343. schema:
  33344. $ref: '#/definitions/app.Response'
  33345. security:
  33346. - ApiKeyAuth: []
  33347. summary: 获取登录账号有权限的商品信息
  33348. tags:
  33349. - 通用市场
  33350. /Market/QueryMarketRun:
  33351. get:
  33352. parameters:
  33353. - description: 市场ID,不传返回所有
  33354. in: query
  33355. name: marketID
  33356. type: integer
  33357. produces:
  33358. - application/json
  33359. responses:
  33360. "200":
  33361. description: OK
  33362. schema:
  33363. $ref: '#/definitions/models.Marketrun'
  33364. "500":
  33365. description: Internal Server Error
  33366. schema:
  33367. $ref: '#/definitions/app.Response'
  33368. security:
  33369. - ApiKeyAuth: []
  33370. summary: 查询市场运行信息
  33371. tags:
  33372. - 通用市场
  33373. /Market/QueryMarketsByLoginID:
  33374. get:
  33375. parameters:
  33376. - description: 登录账号
  33377. in: query
  33378. name: loginID
  33379. required: true
  33380. type: integer
  33381. produces:
  33382. - application/json
  33383. responses:
  33384. "200":
  33385. description: OK
  33386. schema:
  33387. $ref: '#/definitions/models.Market'
  33388. "500":
  33389. description: Internal Server Error
  33390. schema:
  33391. $ref: '#/definitions/app.Response'
  33392. security:
  33393. - ApiKeyAuth: []
  33394. summary: 获取登录账号有权限的市场信息
  33395. tags:
  33396. - 通用市场
  33397. /Order/QueryHisTradeDetail:
  33398. get:
  33399. parameters:
  33400. - description: 资金账户 - 格式:1,2,3
  33401. in: query
  33402. name: accountID
  33403. required: true
  33404. type: string
  33405. - description: 成交单号
  33406. in: query
  33407. name: tradeID
  33408. type: integer
  33409. - description: 委托单号
  33410. in: query
  33411. name: orderID
  33412. type: integer
  33413. - description: 商品ID
  33414. in: query
  33415. name: goodsID
  33416. type: integer
  33417. - description: 交易模式 - 格式:1,2,3
  33418. in: query
  33419. name: tradeMode
  33420. type: string
  33421. - description: 委托单据类型
  33422. in: query
  33423. name: buildType
  33424. type: integer
  33425. - description: 成交类别 - 格式:1,2,3
  33426. in: query
  33427. name: tradeType
  33428. type: string
  33429. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33430. in: query
  33431. name: startDate
  33432. type: string
  33433. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33434. in: query
  33435. name: endDate
  33436. type: string
  33437. produces:
  33438. - application/json
  33439. responses:
  33440. "200":
  33441. description: OK
  33442. schema:
  33443. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  33444. "500":
  33445. description: Internal Server Error
  33446. schema:
  33447. $ref: '#/definitions/app.Response'
  33448. security:
  33449. - ApiKeyAuth: []
  33450. summary: 历史成交单查询(合约市场)
  33451. tags:
  33452. - 通用单据
  33453. /Order/QueryHisTradeOrderDetail:
  33454. get:
  33455. parameters:
  33456. - description: 资金账户 - 格式:1,2,3
  33457. in: query
  33458. name: accountID
  33459. required: true
  33460. type: string
  33461. - description: 交易模式 - 格式:1,2,3
  33462. in: query
  33463. name: tradeMode
  33464. type: string
  33465. - description: 委托状态 - 格式:1,2,3
  33466. in: query
  33467. name: orderStatus
  33468. type: string
  33469. - description: 委托单号
  33470. in: query
  33471. name: orderID
  33472. type: integer
  33473. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  33474. in: query
  33475. name: startDate
  33476. type: string
  33477. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  33478. in: query
  33479. name: endDate
  33480. type: string
  33481. produces:
  33482. - application/json
  33483. responses:
  33484. "200":
  33485. description: OK
  33486. schema:
  33487. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  33488. "500":
  33489. description: Internal Server Error
  33490. schema:
  33491. $ref: '#/definitions/app.Response'
  33492. security:
  33493. - ApiKeyAuth: []
  33494. summary: 历史委托单查询请求(合约市场)
  33495. tags:
  33496. - 通用单据
  33497. /Order/QueryTradeDetail:
  33498. get:
  33499. parameters:
  33500. - description: 资金账户 - 格式:1,2,3
  33501. in: query
  33502. name: accountID
  33503. required: true
  33504. type: string
  33505. - description: 成交单号
  33506. in: query
  33507. name: tradeID
  33508. type: integer
  33509. - description: 委托单号
  33510. in: query
  33511. name: orderID
  33512. type: integer
  33513. - description: 交易模式 - 格式:1,2,3
  33514. in: query
  33515. name: tradeMode
  33516. type: string
  33517. - description: 委托单据类型
  33518. in: query
  33519. name: buildType
  33520. type: integer
  33521. - description: 成交类别 - 格式:1,2,3
  33522. in: query
  33523. name: tradeType
  33524. type: string
  33525. - description: 商品ID
  33526. in: query
  33527. name: goodsID
  33528. type: integer
  33529. produces:
  33530. - application/json
  33531. responses:
  33532. "200":
  33533. description: OK
  33534. schema:
  33535. $ref: '#/definitions/order.QueryTradeDetailRsp'
  33536. "500":
  33537. description: Internal Server Error
  33538. schema:
  33539. $ref: '#/definitions/app.Response'
  33540. security:
  33541. - ApiKeyAuth: []
  33542. summary: 成交单查询(合约市场)
  33543. tags:
  33544. - 通用单据
  33545. /Order/QueryTradeHolderDetail:
  33546. get:
  33547. parameters:
  33548. - description: 用户id
  33549. in: query
  33550. name: userid
  33551. type: integer
  33552. - description: 资金账号, 格式 1,2,3
  33553. in: query
  33554. name: accids
  33555. type: string
  33556. - description: 交易模式, 格式 1,2,3
  33557. in: query
  33558. name: trademodes
  33559. type: string
  33560. - description: 市场id, 格式 1,2,3
  33561. in: query
  33562. name: marketids
  33563. type: string
  33564. - description: 商品id
  33565. in: query
  33566. name: goodsid
  33567. type: integer
  33568. - description: 买卖方向 0-买 1-卖
  33569. in: query
  33570. name: buyorsell
  33571. type: integer
  33572. produces:
  33573. - application/json
  33574. responses:
  33575. "200":
  33576. description: OK
  33577. schema:
  33578. items:
  33579. $ref: '#/definitions/models.TradeHolderDetail'
  33580. type: array
  33581. "500":
  33582. description: Internal Server Error
  33583. schema:
  33584. $ref: '#/definitions/app.Response'
  33585. security:
  33586. - ApiKeyAuth: []
  33587. summary: 查询持仓明细
  33588. tags:
  33589. - 通用单据
  33590. /Order/QueryTradeOrderDetail:
  33591. get:
  33592. parameters:
  33593. - description: 资金账户 - 格式:1,2,3
  33594. in: query
  33595. name: accountID
  33596. required: true
  33597. type: string
  33598. - description: 交易模式 - 格式:1,2,3
  33599. in: query
  33600. name: tradeMode
  33601. type: string
  33602. - description: 委托状态 - 格式:1,2,3
  33603. in: query
  33604. name: orderStatus
  33605. type: string
  33606. - description: 委托单号
  33607. in: query
  33608. name: orderID
  33609. type: integer
  33610. produces:
  33611. - application/json
  33612. responses:
  33613. "200":
  33614. description: OK
  33615. schema:
  33616. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  33617. "500":
  33618. description: Internal Server Error
  33619. schema:
  33620. $ref: '#/definitions/app.Response'
  33621. security:
  33622. - ApiKeyAuth: []
  33623. summary: 委托单查询请求(合约市场)
  33624. tags:
  33625. - 通用单据
  33626. /Order/QueryTradePosition:
  33627. get:
  33628. parameters:
  33629. - description: 资金账户 - 格式:1,2,3
  33630. in: query
  33631. name: accountID
  33632. required: true
  33633. type: string
  33634. - description: 交易模式 - 格式:1,2,3
  33635. in: query
  33636. name: tradeMode
  33637. type: string
  33638. produces:
  33639. - application/json
  33640. responses:
  33641. "200":
  33642. description: OK
  33643. schema:
  33644. $ref: '#/definitions/order.QueryTradePositionRsp'
  33645. "500":
  33646. description: Internal Server Error
  33647. schema:
  33648. $ref: '#/definitions/app.Response'
  33649. security:
  33650. - ApiKeyAuth: []
  33651. summary: 持仓汇总查询(合约市场)
  33652. tags:
  33653. - 通用单据
  33654. /Qhj/QueryAccountInOutApply:
  33655. get:
  33656. parameters:
  33657. - description: 用户ID
  33658. in: query
  33659. name: userid
  33660. required: true
  33661. type: integer
  33662. - description: 申请起始日期(格式yyyymmdd)
  33663. in: query
  33664. name: begindate
  33665. type: string
  33666. - description: 申请截止日期(格式yyyymmdd)
  33667. in: query
  33668. name: enddate
  33669. type: string
  33670. - description: 模糊搜索名称
  33671. in: query
  33672. name: likename
  33673. type: string
  33674. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  33675. in: query
  33676. name: applystatus
  33677. type: integer
  33678. - description: 查询类型 1-提现(出金) 2-充值(入金)
  33679. in: query
  33680. name: querytype
  33681. type: integer
  33682. produces:
  33683. - application/json
  33684. responses:
  33685. "200":
  33686. description: OK
  33687. schema:
  33688. items:
  33689. $ref: '#/definitions/models.QhjAccountOutInApply'
  33690. type: array
  33691. "500":
  33692. description: Internal Server Error
  33693. schema:
  33694. $ref: '#/definitions/app.Response'
  33695. security:
  33696. - ApiKeyAuth: []
  33697. summary: 查询充值提现
  33698. tags:
  33699. - 大连千海金
  33700. /Qhj/QueryAreaFinanceConfig:
  33701. get:
  33702. parameters:
  33703. - description: 机构用户ID 其他做市关系,都设置为 1
  33704. in: query
  33705. name: userid
  33706. type: integer
  33707. produces:
  33708. - application/json
  33709. responses:
  33710. "200":
  33711. description: OK
  33712. schema:
  33713. items:
  33714. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  33715. type: array
  33716. "500":
  33717. description: Internal Server Error
  33718. schema:
  33719. $ref: '#/definitions/app.Response'
  33720. security:
  33721. - ApiKeyAuth: []
  33722. summary: 查询企业配置表
  33723. tags:
  33724. - 大连千海金
  33725. /Qhj/QueryBankAccountSign:
  33726. get:
  33727. parameters:
  33728. - description: 用户ID
  33729. in: query
  33730. name: userid
  33731. required: true
  33732. type: integer
  33733. produces:
  33734. - application/json
  33735. responses:
  33736. "200":
  33737. description: OK
  33738. schema:
  33739. items:
  33740. $ref: '#/definitions/models.QhjBankAccountSign'
  33741. type: array
  33742. "500":
  33743. description: Internal Server Error
  33744. schema:
  33745. $ref: '#/definitions/app.Response'
  33746. security:
  33747. - ApiKeyAuth: []
  33748. summary: 查询签约银行信息(提现账户管理)
  33749. tags:
  33750. - 大连千海金
  33751. /Qhj/QueryBankInfo:
  33752. get:
  33753. produces:
  33754. - application/json
  33755. responses:
  33756. "200":
  33757. description: OK
  33758. schema:
  33759. items:
  33760. $ref: '#/definitions/models.QhjBankInfo'
  33761. type: array
  33762. "500":
  33763. description: Internal Server Error
  33764. schema:
  33765. $ref: '#/definitions/app.Response'
  33766. security:
  33767. - ApiKeyAuth: []
  33768. summary: 查询开户行
  33769. tags:
  33770. - 大连千海金
  33771. /Qhj/QueryBrokerApply:
  33772. get:
  33773. parameters:
  33774. - description: 所属机构ID
  33775. in: query
  33776. name: userid
  33777. type: integer
  33778. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  33779. in: query
  33780. name: filterstatus
  33781. type: string
  33782. produces:
  33783. - application/json
  33784. responses:
  33785. "200":
  33786. description: OK
  33787. schema:
  33788. items:
  33789. $ref: '#/definitions/models.QhjBrokerApply'
  33790. type: array
  33791. "500":
  33792. description: Internal Server Error
  33793. schema:
  33794. $ref: '#/definitions/app.Response'
  33795. security:
  33796. - ApiKeyAuth: []
  33797. summary: 查询经纪人申请
  33798. tags:
  33799. - 大连千海金
  33800. /Qhj/QueryBrokerApplyEx:
  33801. get:
  33802. parameters:
  33803. - description: 所属机构ID
  33804. in: query
  33805. name: userid
  33806. type: integer
  33807. produces:
  33808. - application/json
  33809. responses:
  33810. "200":
  33811. description: OK
  33812. schema:
  33813. items:
  33814. $ref: '#/definitions/models.QhjBrokerApplyEx'
  33815. type: array
  33816. "500":
  33817. description: Internal Server Error
  33818. schema:
  33819. $ref: '#/definitions/app.Response'
  33820. security:
  33821. - ApiKeyAuth: []
  33822. summary: 查询经纪人信息和申请记录
  33823. tags:
  33824. - 大连千海金
  33825. /Qhj/QueryBrokerRewardLog:
  33826. get:
  33827. parameters:
  33828. - description: 用户ID
  33829. in: query
  33830. name: userid
  33831. required: true
  33832. type: integer
  33833. - description: 开始交易日(yyyymmdd)
  33834. in: query
  33835. name: begindate
  33836. type: string
  33837. - description: 结束交易日(yyyymmdd)
  33838. in: query
  33839. name: enddate
  33840. type: string
  33841. produces:
  33842. - application/json
  33843. responses:
  33844. "200":
  33845. description: OK
  33846. schema:
  33847. items:
  33848. $ref: '#/definitions/models.QhjBrokerRewardLog'
  33849. type: array
  33850. "500":
  33851. description: Internal Server Error
  33852. schema:
  33853. $ref: '#/definitions/app.Response'
  33854. security:
  33855. - ApiKeyAuth: []
  33856. summary: 查询奖励流水(我的奖励)
  33857. tags:
  33858. - 大连千海金
  33859. /Qhj/QueryContract:
  33860. get:
  33861. parameters:
  33862. - description: 用户ID
  33863. in: query
  33864. name: userid
  33865. type: integer
  33866. - description: scf合同id
  33867. in: query
  33868. name: scfcontractid
  33869. type: integer
  33870. produces:
  33871. - application/json
  33872. responses:
  33873. "200":
  33874. description: OK
  33875. schema:
  33876. items:
  33877. $ref: '#/definitions/models.QhjContract'
  33878. type: array
  33879. "500":
  33880. description: Internal Server Error
  33881. schema:
  33882. $ref: '#/definitions/app.Response'
  33883. security:
  33884. - ApiKeyAuth: []
  33885. summary: 查询融资明细(合同)
  33886. tags:
  33887. - 大连千海金
  33888. /Qhj/QueryContractLog:
  33889. get:
  33890. parameters:
  33891. - description: scf合同id
  33892. in: query
  33893. name: scfcontractid
  33894. required: true
  33895. type: integer
  33896. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  33897. in: query
  33898. name: amounttype
  33899. type: string
  33900. produces:
  33901. - application/json
  33902. responses:
  33903. "200":
  33904. description: OK
  33905. schema:
  33906. items:
  33907. $ref: '#/definitions/models.QhjContractLog'
  33908. type: array
  33909. "500":
  33910. description: Internal Server Error
  33911. schema:
  33912. $ref: '#/definitions/app.Response'
  33913. security:
  33914. - ApiKeyAuth: []
  33915. summary: 查询融资明细流水(融资明细详情页中的流水)
  33916. tags:
  33917. - 大连千海金
  33918. /Qhj/QueryCusBankSignBank:
  33919. get:
  33920. produces:
  33921. - application/json
  33922. responses:
  33923. "200":
  33924. description: OK
  33925. schema:
  33926. items:
  33927. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  33928. type: array
  33929. "500":
  33930. description: Internal Server Error
  33931. schema:
  33932. $ref: '#/definitions/app.Response'
  33933. security:
  33934. - ApiKeyAuth: []
  33935. summary: 查询托管银行
  33936. tags:
  33937. - 大连千海金
  33938. /Qhj/QueryCustomerInfo:
  33939. get:
  33940. parameters:
  33941. - description: 用户ID
  33942. in: query
  33943. name: userid
  33944. required: true
  33945. type: integer
  33946. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  33947. in: query
  33948. name: querytype
  33949. required: true
  33950. type: integer
  33951. - description: 客户类型 1-个人 2-企业
  33952. in: query
  33953. name: userinfotype
  33954. type: integer
  33955. - description: 客户名称(模糊匹配)
  33956. in: query
  33957. name: customername
  33958. type: string
  33959. - description: 昵称(模糊匹配)
  33960. in: query
  33961. name: nickname
  33962. type: string
  33963. - description: 是否包含子级 1-包含
  33964. in: query
  33965. name: includesub
  33966. type: integer
  33967. produces:
  33968. - application/json
  33969. responses:
  33970. "200":
  33971. description: OK
  33972. schema:
  33973. items:
  33974. $ref: '#/definitions/models.QhjCustomer'
  33975. type: array
  33976. "500":
  33977. description: Internal Server Error
  33978. schema:
  33979. $ref: '#/definitions/app.Response'
  33980. security:
  33981. - ApiKeyAuth: []
  33982. summary: 查询客户资料
  33983. tags:
  33984. - 大连千海金
  33985. /Qhj/QueryGoodsEx:
  33986. get:
  33987. parameters:
  33988. - description: 商品id
  33989. in: query
  33990. name: goodsid
  33991. type: integer
  33992. produces:
  33993. - application/json
  33994. responses:
  33995. "200":
  33996. description: OK
  33997. schema:
  33998. items:
  33999. $ref: '#/definitions/models.Qhjgoodsex'
  34000. type: array
  34001. "500":
  34002. description: Internal Server Error
  34003. schema:
  34004. $ref: '#/definitions/app.Response'
  34005. security:
  34006. - ApiKeyAuth: []
  34007. summary: 交易商品扩展表
  34008. tags:
  34009. - 大连千海金
  34010. /Qhj/QueryMyTeam:
  34011. get:
  34012. parameters:
  34013. - description: 用户ID
  34014. in: query
  34015. name: userid
  34016. required: true
  34017. type: integer
  34018. produces:
  34019. - application/json
  34020. responses:
  34021. "200":
  34022. description: OK
  34023. schema:
  34024. items:
  34025. $ref: '#/definitions/models.QhjMyTeamEx'
  34026. type: array
  34027. "500":
  34028. description: Internal Server Error
  34029. schema:
  34030. $ref: '#/definitions/app.Response'
  34031. security:
  34032. - ApiKeyAuth: []
  34033. summary: 查询我的团队
  34034. tags:
  34035. - 大连千海金
  34036. /Qhj/QueryMyTeamOrder:
  34037. get:
  34038. parameters:
  34039. - description: 页码
  34040. in: query
  34041. name: page
  34042. type: integer
  34043. - description: 每页条数
  34044. in: query
  34045. name: pagesize
  34046. type: integer
  34047. - description: 用户ID
  34048. in: query
  34049. name: userid
  34050. required: true
  34051. type: integer
  34052. - description: 交易模式
  34053. in: query
  34054. name: trademode
  34055. type: integer
  34056. - description: 名称(模糊搜索账户)
  34057. in: query
  34058. name: filtername
  34059. type: string
  34060. produces:
  34061. - application/json
  34062. responses:
  34063. "200":
  34064. description: OK
  34065. schema:
  34066. items:
  34067. $ref: '#/definitions/models.QhjTeamOrder'
  34068. type: array
  34069. "500":
  34070. description: Internal Server Error
  34071. schema:
  34072. $ref: '#/definitions/app.Response'
  34073. security:
  34074. - ApiKeyAuth: []
  34075. summary: 查询团队订单(我的团队/团队订单)
  34076. tags:
  34077. - 大连千海金
  34078. /Qhj/QueryParentAreaList:
  34079. get:
  34080. parameters:
  34081. - description: 用户ID
  34082. in: query
  34083. name: userid
  34084. required: true
  34085. type: integer
  34086. produces:
  34087. - application/json
  34088. responses:
  34089. "200":
  34090. description: OK
  34091. schema:
  34092. items:
  34093. $ref: '#/definitions/models.QhjParentAreaList'
  34094. type: array
  34095. "500":
  34096. description: Internal Server Error
  34097. schema:
  34098. $ref: '#/definitions/app.Response'
  34099. security:
  34100. - ApiKeyAuth: []
  34101. summary: 查询所属机构列表
  34102. tags:
  34103. - 大连千海金
  34104. /Qhj/QueryPayOrder:
  34105. get:
  34106. parameters:
  34107. - description: 资金账号id
  34108. in: query
  34109. name: accountid
  34110. required: true
  34111. type: integer
  34112. - description: 成交单号
  34113. in: query
  34114. name: tradeid
  34115. type: integer
  34116. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34117. in: query
  34118. name: payflag
  34119. type: string
  34120. produces:
  34121. - application/json
  34122. responses:
  34123. "200":
  34124. description: OK
  34125. schema:
  34126. items:
  34127. $ref: '#/definitions/models.QhjPayOrder'
  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/QueryPickArea:
  34139. get:
  34140. parameters:
  34141. - description: 用户ID
  34142. in: query
  34143. name: userid
  34144. type: integer
  34145. produces:
  34146. - application/json
  34147. responses:
  34148. "200":
  34149. description: OK
  34150. schema:
  34151. items:
  34152. $ref: '#/definitions/models.QhjPickArea'
  34153. type: array
  34154. "500":
  34155. description: Internal Server Error
  34156. schema:
  34157. $ref: '#/definitions/app.Response'
  34158. security:
  34159. - ApiKeyAuth: []
  34160. summary: 查询提货门店
  34161. tags:
  34162. - 大连千海金
  34163. /Qhj/QueryPickGoods:
  34164. get:
  34165. parameters:
  34166. - description: 交易商品id
  34167. in: query
  34168. name: goodsid
  34169. required: true
  34170. type: integer
  34171. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34172. in: query
  34173. name: status
  34174. type: string
  34175. produces:
  34176. - application/json
  34177. responses:
  34178. "200":
  34179. description: OK
  34180. schema:
  34181. items:
  34182. $ref: '#/definitions/models.QhjPickGoods'
  34183. type: array
  34184. "500":
  34185. description: Internal Server Error
  34186. schema:
  34187. $ref: '#/definitions/app.Response'
  34188. security:
  34189. - ApiKeyAuth: []
  34190. summary: 查询提货商品
  34191. tags:
  34192. - 大连千海金
  34193. /Qhj/QueryRSTriggerLog:
  34194. get:
  34195. parameters:
  34196. - description: 用户ID
  34197. in: query
  34198. name: userid
  34199. type: integer
  34200. - description: 定投策略id
  34201. in: query
  34202. name: regularlystrategyid
  34203. type: integer
  34204. - description: 商品id
  34205. in: query
  34206. name: goodsid
  34207. type: integer
  34208. - description: 开始交易日(yyyymmdd)
  34209. in: query
  34210. name: begindate
  34211. type: string
  34212. - description: 结束交易日(yyyymmdd)
  34213. in: query
  34214. name: enddate
  34215. type: string
  34216. - description: 名称(模糊搜索账户)
  34217. in: query
  34218. name: filtername
  34219. type: string
  34220. produces:
  34221. - application/json
  34222. responses:
  34223. "200":
  34224. description: OK
  34225. schema:
  34226. items:
  34227. $ref: '#/definitions/models.QhjRSTriggerLog'
  34228. type: array
  34229. "500":
  34230. description: Internal Server Error
  34231. schema:
  34232. $ref: '#/definitions/app.Response'
  34233. security:
  34234. - ApiKeyAuth: []
  34235. summary: 查询定投记录(定投管理/详情/定投记录)
  34236. tags:
  34237. - 大连千海金
  34238. /Qhj/QueryRStrategy:
  34239. get:
  34240. parameters:
  34241. - description: 用户ID
  34242. in: query
  34243. name: userid
  34244. type: integer
  34245. - description: 商品id
  34246. in: query
  34247. name: goodsid
  34248. type: integer
  34249. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  34250. in: query
  34251. name: status
  34252. type: string
  34253. - description: 名称(模糊搜索账户)
  34254. in: query
  34255. name: filtername
  34256. type: string
  34257. produces:
  34258. - application/json
  34259. responses:
  34260. "200":
  34261. description: OK
  34262. schema:
  34263. items:
  34264. $ref: '#/definitions/models.QhjRStrategy'
  34265. type: array
  34266. "500":
  34267. description: Internal Server Error
  34268. schema:
  34269. $ref: '#/definitions/app.Response'
  34270. security:
  34271. - ApiKeyAuth: []
  34272. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  34273. tags:
  34274. - 大连千海金
  34275. /Qhj/QueryReckonPriceLog:
  34276. get:
  34277. parameters:
  34278. - description: 商品ID
  34279. in: query
  34280. name: goodsid
  34281. type: integer
  34282. - description: 交易日 格式(yyyymmdd)
  34283. in: query
  34284. name: tradedate
  34285. type: string
  34286. produces:
  34287. - application/json
  34288. responses:
  34289. "200":
  34290. description: OK
  34291. schema:
  34292. items:
  34293. $ref: '#/definitions/models.QhjReckonPriceLog'
  34294. type: array
  34295. "500":
  34296. description: Internal Server Error
  34297. schema:
  34298. $ref: '#/definitions/app.Response'
  34299. security:
  34300. - ApiKeyAuth: []
  34301. summary: 查询定投价(结算价)
  34302. tags:
  34303. - 大连千海金
  34304. /Qhj/QueryScoreLog:
  34305. get:
  34306. parameters:
  34307. - description: 用户ID
  34308. in: query
  34309. name: userid
  34310. required: true
  34311. type: integer
  34312. - description: 开始交易日(yyyymmdd)
  34313. in: query
  34314. name: begindate
  34315. type: string
  34316. - description: 结束交易日(yyyymmdd)
  34317. in: query
  34318. name: enddate
  34319. type: string
  34320. - description: 最近多少条
  34321. in: query
  34322. name: lastnum
  34323. type: integer
  34324. produces:
  34325. - application/json
  34326. responses:
  34327. "200":
  34328. description: OK
  34329. schema:
  34330. items:
  34331. $ref: '#/definitions/models.QhjScoreLog'
  34332. type: array
  34333. "500":
  34334. description: Internal Server Error
  34335. schema:
  34336. $ref: '#/definitions/app.Response'
  34337. security:
  34338. - ApiKeyAuth: []
  34339. summary: 查询积分流水(我的积分)
  34340. tags:
  34341. - 大连千海金
  34342. /Qhj/QuerySiteColumnDetail:
  34343. get:
  34344. parameters:
  34345. - description: 用户ID
  34346. in: query
  34347. name: userid
  34348. required: true
  34349. type: integer
  34350. produces:
  34351. - application/json
  34352. responses:
  34353. "200":
  34354. description: OK
  34355. schema:
  34356. items:
  34357. $ref: '#/definitions/models.QhjSiteColumnDetail'
  34358. type: array
  34359. "500":
  34360. description: Internal Server Error
  34361. schema:
  34362. $ref: '#/definitions/app.Response'
  34363. security:
  34364. - ApiKeyAuth: []
  34365. summary: 查询资讯
  34366. tags:
  34367. - 大连千海金
  34368. /Qhj/QueryTradeGoodsPickup:
  34369. get:
  34370. parameters:
  34371. - description: 用户ID
  34372. in: query
  34373. name: userid
  34374. required: true
  34375. type: integer
  34376. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  34377. 7:已拒绝 8:已撤销
  34378. in: query
  34379. name: takeorderstatus
  34380. type: integer
  34381. produces:
  34382. - application/json
  34383. responses:
  34384. "200":
  34385. description: OK
  34386. schema:
  34387. items:
  34388. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  34389. type: array
  34390. "500":
  34391. description: Internal Server Error
  34392. schema:
  34393. $ref: '#/definitions/app.Response'
  34394. security:
  34395. - ApiKeyAuth: []
  34396. summary: 查询提货
  34397. tags:
  34398. - 大连千海金
  34399. /Qhj/QueryUserCollectConfig:
  34400. get:
  34401. parameters:
  34402. - description: 用户ID
  34403. in: query
  34404. name: userid
  34405. required: true
  34406. type: integer
  34407. produces:
  34408. - application/json
  34409. responses:
  34410. "200":
  34411. description: OK
  34412. schema:
  34413. items:
  34414. $ref: '#/definitions/models.UserCollectConfig'
  34415. type: array
  34416. "500":
  34417. description: Internal Server Error
  34418. schema:
  34419. $ref: '#/definitions/app.Response'
  34420. security:
  34421. - ApiKeyAuth: []
  34422. summary: 查询提现账户设置
  34423. tags:
  34424. - 大连千海金
  34425. /Qhj/QueryUserReceiveInfo:
  34426. get:
  34427. parameters:
  34428. - description: 用户ID
  34429. in: query
  34430. name: userid
  34431. required: true
  34432. type: integer
  34433. produces:
  34434. - application/json
  34435. responses:
  34436. "200":
  34437. description: OK
  34438. schema:
  34439. items:
  34440. $ref: '#/definitions/models.UserReceiveInfo'
  34441. type: array
  34442. "500":
  34443. description: Internal Server Error
  34444. schema:
  34445. $ref: '#/definitions/app.Response'
  34446. security:
  34447. - ApiKeyAuth: []
  34448. summary: 查询收货地址信息
  34449. tags:
  34450. - 大连千海金
  34451. /QhjMgr/QueryAccountInOutApply:
  34452. get:
  34453. parameters:
  34454. - description: 查询类型 1-提现(出金) 2-充值(出金)
  34455. in: query
  34456. name: querytype
  34457. required: true
  34458. type: integer
  34459. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  34460. in: query
  34461. name: applystatus
  34462. type: integer
  34463. - description: 申请起始日期(格式yyyymmdd)
  34464. in: query
  34465. name: begindate
  34466. type: string
  34467. - description: 申请截止日期(格式yyyymmdd)
  34468. in: query
  34469. name: enddate
  34470. type: string
  34471. - description: 模糊搜索名称
  34472. in: query
  34473. name: likename
  34474. type: string
  34475. produces:
  34476. - application/json
  34477. responses:
  34478. "200":
  34479. description: OK
  34480. schema:
  34481. items:
  34482. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  34483. type: array
  34484. "500":
  34485. description: Internal Server Error
  34486. schema:
  34487. $ref: '#/definitions/app.Response'
  34488. security:
  34489. - ApiKeyAuth: []
  34490. summary: 查询充值提现
  34491. tags:
  34492. - 大连千海金(PCWeb)
  34493. /QhjMgr/QueryBrokerApply:
  34494. get:
  34495. parameters:
  34496. - description: 所属机构ID
  34497. in: query
  34498. name: userid
  34499. type: integer
  34500. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  34501. in: query
  34502. name: filterstatus
  34503. type: string
  34504. - description: 名称(模糊匹配)
  34505. in: query
  34506. name: filtername
  34507. type: string
  34508. - description: 是否包含子级 1-包含
  34509. in: query
  34510. name: includesub
  34511. type: integer
  34512. produces:
  34513. - application/json
  34514. responses:
  34515. "200":
  34516. description: OK
  34517. schema:
  34518. items:
  34519. $ref: '#/definitions/models.QhjMgrBrokerApply'
  34520. type: array
  34521. "500":
  34522. description: Internal Server Error
  34523. schema:
  34524. $ref: '#/definitions/app.Response'
  34525. security:
  34526. - ApiKeyAuth: []
  34527. summary: 查询经纪人申请
  34528. tags:
  34529. - 大连千海金(PCWeb)
  34530. /QhjMgr/QueryBrokerRewardReport:
  34531. get:
  34532. parameters:
  34533. - description: 所属机构ID
  34534. in: query
  34535. name: userid
  34536. required: true
  34537. type: integer
  34538. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  34539. in: query
  34540. name: cycletype
  34541. required: true
  34542. type: integer
  34543. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  34544. in: query
  34545. name: cycletime
  34546. required: true
  34547. type: string
  34548. - description: 名称(模糊匹配)
  34549. in: query
  34550. name: filtername
  34551. type: string
  34552. - description: 是否包含子级 1-包含
  34553. in: query
  34554. name: includesub
  34555. type: integer
  34556. produces:
  34557. - application/json
  34558. responses:
  34559. "200":
  34560. description: OK
  34561. schema:
  34562. items:
  34563. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  34564. type: array
  34565. "500":
  34566. description: Internal Server Error
  34567. schema:
  34568. $ref: '#/definitions/app.Response'
  34569. security:
  34570. - ApiKeyAuth: []
  34571. summary: 查询经纪人奖励报表(废弃)
  34572. tags:
  34573. - 大连千海金(PCWeb)
  34574. /QhjMgr/QueryContract:
  34575. get:
  34576. parameters:
  34577. - description: 用户ID
  34578. in: query
  34579. name: userid
  34580. type: integer
  34581. - description: 商品id
  34582. in: query
  34583. name: goodsid
  34584. type: integer
  34585. - description: 名称(模糊搜索账户)
  34586. in: query
  34587. name: filtername
  34588. type: string
  34589. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  34590. in: query
  34591. name: risklevel
  34592. type: string
  34593. - description: 开始交易日(yyyymmdd)
  34594. in: query
  34595. name: begindate
  34596. type: string
  34597. - description: 结束交易日(yyyymmdd)
  34598. in: query
  34599. name: enddate
  34600. type: string
  34601. produces:
  34602. - application/json
  34603. responses:
  34604. "200":
  34605. description: OK
  34606. schema:
  34607. items:
  34608. $ref: '#/definitions/models.QhjMgrContract'
  34609. type: array
  34610. "500":
  34611. description: Internal Server Error
  34612. schema:
  34613. $ref: '#/definitions/app.Response'
  34614. security:
  34615. - ApiKeyAuth: []
  34616. summary: 查询融资信息(合同)
  34617. tags:
  34618. - 大连千海金(PCWeb)
  34619. /QhjMgr/QueryCustomerInfo:
  34620. get:
  34621. parameters:
  34622. - description: 用户ID
  34623. in: query
  34624. name: userid
  34625. required: true
  34626. type: integer
  34627. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  34628. in: query
  34629. name: querytype
  34630. required: true
  34631. type: integer
  34632. - description: 客户类型 1-个人 2-企业
  34633. in: query
  34634. name: userinfotype
  34635. type: integer
  34636. - description: 客户名称(模糊匹配)
  34637. in: query
  34638. name: customername
  34639. type: string
  34640. - description: 昵称(模糊匹配)
  34641. in: query
  34642. name: nickname
  34643. type: string
  34644. - description: 所属客户经理(模糊匹配)
  34645. in: query
  34646. name: brokername
  34647. type: string
  34648. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  34649. 如0503 -5月3日)
  34650. in: query
  34651. name: birthday
  34652. type: string
  34653. - description: 是否包含子级 1-包含
  34654. in: query
  34655. name: includesub
  34656. type: integer
  34657. produces:
  34658. - application/json
  34659. responses:
  34660. "200":
  34661. description: OK
  34662. schema:
  34663. items:
  34664. $ref: '#/definitions/models.QhjMgrCustomer'
  34665. type: array
  34666. "500":
  34667. description: Internal Server Error
  34668. schema:
  34669. $ref: '#/definitions/app.Response'
  34670. security:
  34671. - ApiKeyAuth: []
  34672. summary: 查询客户资料
  34673. tags:
  34674. - 大连千海金(PCWeb)
  34675. /QhjMgr/QueryPickGoods:
  34676. get:
  34677. parameters:
  34678. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  34679. in: query
  34680. name: status
  34681. type: string
  34682. produces:
  34683. - application/json
  34684. responses:
  34685. "200":
  34686. description: OK
  34687. schema:
  34688. items:
  34689. $ref: '#/definitions/models.QhjMgrPickGoods'
  34690. type: array
  34691. "500":
  34692. description: Internal Server Error
  34693. schema:
  34694. $ref: '#/definitions/app.Response'
  34695. security:
  34696. - ApiKeyAuth: []
  34697. summary: 查询提货商品
  34698. tags:
  34699. - 大连千海金(PCWeb)
  34700. /QhjMgr/QuerySubArea:
  34701. get:
  34702. parameters:
  34703. - description: 用户ID
  34704. in: query
  34705. name: userid
  34706. required: true
  34707. type: integer
  34708. produces:
  34709. - application/json
  34710. responses:
  34711. "200":
  34712. description: OK
  34713. schema:
  34714. items:
  34715. $ref: '#/definitions/models.QhjMgrSubArea'
  34716. type: array
  34717. "500":
  34718. description: Internal Server Error
  34719. schema:
  34720. $ref: '#/definitions/app.Response'
  34721. security:
  34722. - ApiKeyAuth: []
  34723. summary: 查询子机构列表
  34724. tags:
  34725. - 大连千海金(PCWeb)
  34726. /QhjMgr/QueryTradeDetail:
  34727. get:
  34728. parameters:
  34729. - description: 用户ID
  34730. in: query
  34731. name: userid
  34732. required: true
  34733. type: integer
  34734. - description: 用户类型 1-个人 2-企业
  34735. in: query
  34736. name: userinfotype
  34737. type: integer
  34738. - description: 交易模式
  34739. in: query
  34740. name: trademode
  34741. type: integer
  34742. - description: 商品id
  34743. in: query
  34744. name: goodsid
  34745. type: integer
  34746. - description: 名称(模糊搜索账户)
  34747. in: query
  34748. name: filtername
  34749. type: string
  34750. - description: 开始交易日(yyyymmdd)
  34751. in: query
  34752. name: begindate
  34753. type: string
  34754. - description: 结束交易日(yyyymmdd)
  34755. in: query
  34756. name: enddate
  34757. type: string
  34758. - description: 是否包含子级 1-包含
  34759. in: query
  34760. name: includesub
  34761. type: integer
  34762. produces:
  34763. - application/json
  34764. responses:
  34765. "200":
  34766. description: OK
  34767. schema:
  34768. items:
  34769. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  34770. type: array
  34771. "500":
  34772. description: Internal Server Error
  34773. schema:
  34774. $ref: '#/definitions/app.Response'
  34775. security:
  34776. - ApiKeyAuth: []
  34777. summary: 查询成交明细
  34778. tags:
  34779. - 大连千海金(PCWeb)
  34780. /QhjMgr/QueryTradeOrderDetail:
  34781. get:
  34782. parameters:
  34783. - description: 用户ID
  34784. in: query
  34785. name: userid
  34786. required: true
  34787. type: integer
  34788. - description: 用户类型 1-个人 2-企业
  34789. in: query
  34790. name: userinfotype
  34791. type: integer
  34792. - description: 交易模式
  34793. in: query
  34794. name: trademode
  34795. type: integer
  34796. - description: 商品id
  34797. in: query
  34798. name: goodsid
  34799. type: integer
  34800. - description: 名称(模糊搜索账户)
  34801. in: query
  34802. name: filtername
  34803. type: string
  34804. - description: 开始交易日(yyyymmdd)
  34805. in: query
  34806. name: begindate
  34807. type: string
  34808. - description: 结束交易日(yyyymmdd)
  34809. in: query
  34810. name: enddate
  34811. type: string
  34812. - description: 是否包含子级 1-包含
  34813. in: query
  34814. name: includesub
  34815. type: integer
  34816. produces:
  34817. - application/json
  34818. responses:
  34819. "200":
  34820. description: OK
  34821. schema:
  34822. items:
  34823. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  34824. type: array
  34825. "500":
  34826. description: Internal Server Error
  34827. schema:
  34828. $ref: '#/definitions/app.Response'
  34829. security:
  34830. - ApiKeyAuth: []
  34831. summary: 查询委托明细
  34832. tags:
  34833. - 大连千海金(PCWeb)
  34834. /QhjMgr/QueryTradePayOrder:
  34835. get:
  34836. parameters:
  34837. - description: 用户ID
  34838. in: query
  34839. name: userid
  34840. required: true
  34841. type: integer
  34842. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  34843. in: query
  34844. name: payflag
  34845. type: string
  34846. - description: 用户类型 1-个人 2-企业
  34847. in: query
  34848. name: userinfotype
  34849. type: integer
  34850. - description: 交易模式
  34851. in: query
  34852. name: trademode
  34853. type: integer
  34854. - description: 商品id
  34855. in: query
  34856. name: goodsid
  34857. type: integer
  34858. - description: 名称(模糊搜索账户)
  34859. in: query
  34860. name: filtername
  34861. type: string
  34862. - description: 开始交易日(yyyymmdd)
  34863. in: query
  34864. name: begindate
  34865. type: string
  34866. - description: 结束交易日(yyyymmdd)
  34867. in: query
  34868. name: enddate
  34869. type: string
  34870. - description: 是否包含子级 1-包含
  34871. in: query
  34872. name: includesub
  34873. type: integer
  34874. produces:
  34875. - application/json
  34876. responses:
  34877. "200":
  34878. description: OK
  34879. schema:
  34880. items:
  34881. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  34882. type: array
  34883. "500":
  34884. description: Internal Server Error
  34885. schema:
  34886. $ref: '#/definitions/app.Response'
  34887. security:
  34888. - ApiKeyAuth: []
  34889. summary: 查询待付款单
  34890. tags:
  34891. - 大连千海金(PCWeb)
  34892. /QhjMgr/QueryTradePosition:
  34893. get:
  34894. parameters:
  34895. - description: 用户ID
  34896. in: query
  34897. name: userid
  34898. required: true
  34899. type: integer
  34900. - description: 用户类型 1-个人 2-企业
  34901. in: query
  34902. name: userinfotype
  34903. type: integer
  34904. - description: 交易模式
  34905. in: query
  34906. name: trademode
  34907. type: integer
  34908. - description: 商品id
  34909. in: query
  34910. name: goodsid
  34911. type: integer
  34912. - description: 名称(模糊搜索账户)
  34913. in: query
  34914. name: filtername
  34915. type: string
  34916. - description: 是否包含子级 1-包含
  34917. in: query
  34918. name: includesub
  34919. type: integer
  34920. produces:
  34921. - application/json
  34922. responses:
  34923. "200":
  34924. description: OK
  34925. schema:
  34926. items:
  34927. $ref: '#/definitions/models.QhjMgrPositionRsp'
  34928. type: array
  34929. "500":
  34930. description: Internal Server Error
  34931. schema:
  34932. $ref: '#/definitions/app.Response'
  34933. security:
  34934. - ApiKeyAuth: []
  34935. summary: 查询持仓汇总
  34936. tags:
  34937. - 大连千海金(PCWeb)
  34938. /QhjSys/QueryAgreementChangeLog:
  34939. get:
  34940. parameters:
  34941. - description: 协议ID
  34942. in: query
  34943. name: agreementid
  34944. type: integer
  34945. - description: 协议版本号
  34946. in: query
  34947. name: agreementversion
  34948. type: integer
  34949. - description: 协议类型 - 1:注册 2:登录 3:交易
  34950. in: query
  34951. name: agreementtype
  34952. type: integer
  34953. - description: 协议编号(模糊匹配)
  34954. in: query
  34955. name: agreementno
  34956. type: string
  34957. - description: 协议名称(模糊匹配)
  34958. in: query
  34959. name: agreementname
  34960. type: string
  34961. produces:
  34962. - application/json
  34963. responses:
  34964. "200":
  34965. description: OK
  34966. schema:
  34967. items:
  34968. $ref: '#/definitions/models.QhjAgreementChangeLog'
  34969. type: array
  34970. "500":
  34971. description: Internal Server Error
  34972. schema:
  34973. $ref: '#/definitions/app.Response'
  34974. security:
  34975. - ApiKeyAuth: []
  34976. summary: 查询协议配置变更流水
  34977. tags:
  34978. - 大连千海金(协议和签约信息)
  34979. /QhjSys/QueryAgreementConfig:
  34980. get:
  34981. parameters:
  34982. - description: 协议ID
  34983. in: query
  34984. name: agreementid
  34985. type: integer
  34986. - description: 协议版本号
  34987. in: query
  34988. name: agreementversion
  34989. type: integer
  34990. - description: 协议类型 - 1:注册 2:登录 3:交易
  34991. in: query
  34992. name: agreementtype
  34993. type: integer
  34994. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  34995. in: query
  34996. name: isvalid
  34997. type: integer
  34998. - description: 协议编号(模糊匹配)
  34999. in: query
  35000. name: agreementno
  35001. type: string
  35002. - description: 协议名称(模糊匹配)
  35003. in: query
  35004. name: agreementname
  35005. type: string
  35006. produces:
  35007. - application/json
  35008. responses:
  35009. "200":
  35010. description: OK
  35011. schema:
  35012. items:
  35013. $ref: '#/definitions/models.QhjAgreementConfig'
  35014. type: array
  35015. "500":
  35016. description: Internal Server Error
  35017. schema:
  35018. $ref: '#/definitions/app.Response'
  35019. security:
  35020. - ApiKeyAuth: []
  35021. summary: 查询协议配置
  35022. tags:
  35023. - 大连千海金(协议和签约信息)
  35024. /QhjSys/QueryCustomerSignStatus:
  35025. get:
  35026. parameters:
  35027. - description: 客户ID
  35028. in: query
  35029. name: userid
  35030. type: integer
  35031. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  35032. in: query
  35033. name: nodetype
  35034. type: integer
  35035. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35036. in: query
  35037. name: goodsid
  35038. type: integer
  35039. - description: 创建交易日(yyyyMMdd)
  35040. in: query
  35041. name: tradedate
  35042. type: string
  35043. - description: 用户名称(模糊匹配)
  35044. in: query
  35045. name: username
  35046. type: string
  35047. produces:
  35048. - application/json
  35049. responses:
  35050. "200":
  35051. description: OK
  35052. schema:
  35053. items:
  35054. $ref: '#/definitions/models.QhjCustomerSignStatus'
  35055. type: array
  35056. "500":
  35057. description: Internal Server Error
  35058. schema:
  35059. $ref: '#/definitions/app.Response'
  35060. security:
  35061. - ApiKeyAuth: []
  35062. summary: 查询客户协议签约状态
  35063. tags:
  35064. - 大连千海金(协议和签约信息)
  35065. /QhjSys/QueryNodeAgreementConfig:
  35066. get:
  35067. parameters:
  35068. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35069. in: query
  35070. name: configid
  35071. type: integer
  35072. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35073. in: query
  35074. name: nodetype
  35075. type: integer
  35076. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35077. in: query
  35078. name: goodsid
  35079. type: integer
  35080. - description: 协议ID
  35081. in: query
  35082. name: agreementid
  35083. type: integer
  35084. - description: 协议类型 - 1:注册 2:登录 3:交易
  35085. in: query
  35086. name: agreementtype
  35087. type: integer
  35088. - description: 协议版本号
  35089. in: query
  35090. name: agreementversion
  35091. type: integer
  35092. - description: 协议编号(模糊匹配)
  35093. in: query
  35094. name: agreementno
  35095. type: string
  35096. - description: 协议名称(模糊匹配)
  35097. in: query
  35098. name: agreementname
  35099. type: string
  35100. produces:
  35101. - application/json
  35102. responses:
  35103. "200":
  35104. description: OK
  35105. schema:
  35106. items:
  35107. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  35108. type: array
  35109. "500":
  35110. description: Internal Server Error
  35111. schema:
  35112. $ref: '#/definitions/app.Response'
  35113. security:
  35114. - ApiKeyAuth: []
  35115. summary: 查询协议节点配置
  35116. tags:
  35117. - 大连千海金(协议和签约信息)
  35118. /QhjSys/QueryQhjCustomerSignLog:
  35119. get:
  35120. parameters:
  35121. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  35122. in: query
  35123. name: logid
  35124. type: integer
  35125. - description: 客户ID
  35126. in: query
  35127. name: userid
  35128. type: integer
  35129. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35130. in: query
  35131. name: nodetype
  35132. type: integer
  35133. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35134. in: query
  35135. name: goodsid
  35136. type: integer
  35137. - description: 协议ID
  35138. in: query
  35139. name: agreementid
  35140. type: integer
  35141. - description: 用户名称(模糊匹配)
  35142. in: query
  35143. name: username
  35144. type: string
  35145. - description: 协议编号(模糊匹配)
  35146. in: query
  35147. name: agreementno
  35148. type: string
  35149. - description: 协议名称(模糊匹配)
  35150. in: query
  35151. name: agreementname
  35152. type: string
  35153. produces:
  35154. - application/json
  35155. responses:
  35156. "200":
  35157. description: OK
  35158. schema:
  35159. items:
  35160. $ref: '#/definitions/models.QhjCustomerSignLog'
  35161. type: array
  35162. "500":
  35163. description: Internal Server Error
  35164. schema:
  35165. $ref: '#/definitions/app.Response'
  35166. security:
  35167. - ApiKeyAuth: []
  35168. summary: 查询客户协议签约流水
  35169. tags:
  35170. - 大连千海金(协议和签约信息)
  35171. /QhjSys/QueryUserNodeCfgAndStatus:
  35172. get:
  35173. parameters:
  35174. - description: 客户ID
  35175. in: query
  35176. name: userid
  35177. type: integer
  35178. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  35179. in: query
  35180. name: configid
  35181. type: integer
  35182. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  35183. in: query
  35184. name: nodetype
  35185. type: string
  35186. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  35187. in: query
  35188. name: goodsid
  35189. type: integer
  35190. - description: 协议ID
  35191. in: query
  35192. name: agreementid
  35193. type: integer
  35194. - description: 协议类型 - 1:注册 2:登录 3:交易
  35195. in: query
  35196. name: agreementtype
  35197. type: integer
  35198. - description: 协议版本号
  35199. in: query
  35200. name: agreementversion
  35201. type: integer
  35202. - description: 协议编号(模糊匹配)
  35203. in: query
  35204. name: agreementno
  35205. type: string
  35206. - description: 协议名称(模糊匹配)
  35207. in: query
  35208. name: agreementname
  35209. type: string
  35210. produces:
  35211. - application/json
  35212. responses:
  35213. "200":
  35214. description: OK
  35215. schema:
  35216. items:
  35217. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  35218. type: array
  35219. "500":
  35220. description: Internal Server Error
  35221. schema:
  35222. $ref: '#/definitions/app.Response'
  35223. security:
  35224. - ApiKeyAuth: []
  35225. summary: 查询用户协议节点配置和状态
  35226. tags:
  35227. - 大连千海金(协议和签约信息)
  35228. /Quote/QueryHistoryDatas:
  35229. get:
  35230. parameters:
  35231. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  35232. 日线 12:周线 13:月线 14:年线'
  35233. in: query
  35234. name: cycleType
  35235. required: true
  35236. type: integer
  35237. - description: 商品代码
  35238. in: query
  35239. name: goodsCode
  35240. required: true
  35241. type: string
  35242. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35243. in: query
  35244. name: startTime
  35245. type: string
  35246. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35247. in: query
  35248. name: endTime
  35249. type: string
  35250. - description: 条数
  35251. in: query
  35252. name: count
  35253. type: integer
  35254. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35255. in: query
  35256. name: isAsc
  35257. type: boolean
  35258. produces:
  35259. - application/json
  35260. responses:
  35261. "200":
  35262. description: OK
  35263. schema:
  35264. $ref: '#/definitions/quote.HistoryData'
  35265. "500":
  35266. description: Internal Server Error
  35267. schema:
  35268. $ref: '#/definitions/app.Response'
  35269. security:
  35270. - ApiKeyAuth: []
  35271. summary: 查询行情历史数据
  35272. tags:
  35273. - 行情服务
  35274. /Quote/QueryHistoryTikDatas:
  35275. get:
  35276. parameters:
  35277. - description: 商品代码
  35278. in: query
  35279. name: goodsCode
  35280. required: true
  35281. type: string
  35282. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  35283. in: query
  35284. name: startTime
  35285. type: string
  35286. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  35287. in: query
  35288. name: endTime
  35289. type: string
  35290. - description: 条数
  35291. in: query
  35292. name: count
  35293. type: integer
  35294. - description: 是否按时间顺序排序(默认为时间倒序排序)
  35295. in: query
  35296. name: isAsc
  35297. type: boolean
  35298. produces:
  35299. - application/json
  35300. responses:
  35301. "200":
  35302. description: OK
  35303. schema:
  35304. $ref: '#/definitions/quote.HistoryTikData'
  35305. "500":
  35306. description: Internal Server Error
  35307. schema:
  35308. $ref: '#/definitions/app.Response'
  35309. security:
  35310. - ApiKeyAuth: []
  35311. summary: 查询行情Tik数据
  35312. tags:
  35313. - 行情服务
  35314. /Quote/QueryQuoteDay:
  35315. get:
  35316. parameters:
  35317. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  35318. in: query
  35319. name: goodsCodes
  35320. type: string
  35321. produces:
  35322. - application/json
  35323. responses:
  35324. "200":
  35325. description: OK
  35326. schema:
  35327. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  35328. "500":
  35329. description: Internal Server Error
  35330. schema:
  35331. $ref: '#/definitions/app.Response'
  35332. security:
  35333. - ApiKeyAuth: []
  35334. summary: 获取商品盘面信息
  35335. tags:
  35336. - 行情服务
  35337. /Quote/QueryTSData:
  35338. get:
  35339. parameters:
  35340. - description: 商品代码
  35341. in: query
  35342. name: goodsCode
  35343. required: true
  35344. type: string
  35345. produces:
  35346. - application/json
  35347. responses:
  35348. "200":
  35349. description: OK
  35350. schema:
  35351. $ref: '#/definitions/quote.QueryTSDataRsp'
  35352. "500":
  35353. description: Internal Server Error
  35354. schema:
  35355. $ref: '#/definitions/app.Response'
  35356. security:
  35357. - ApiKeyAuth: []
  35358. summary: 分时图数据查询
  35359. tags:
  35360. - 行情服务
  35361. /SZDZ/QueryConvertConfig:
  35362. get:
  35363. parameters:
  35364. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  35365. 6:交易转花生米(不设置)
  35366. in: query
  35367. name: convertType
  35368. type: integer
  35369. - description: 外部商品代码[JD\PD]
  35370. in: query
  35371. name: outerGoodsCode
  35372. type: string
  35373. - description: 内部商品ID列表[交易],格式:1,2,3
  35374. in: query
  35375. name: innerGoodsIDs
  35376. type: string
  35377. produces:
  35378. - application/json
  35379. responses:
  35380. "200":
  35381. description: OK
  35382. schema:
  35383. $ref: '#/definitions/models.Szdz3convertconfig'
  35384. "500":
  35385. description: Internal Server Error
  35386. schema:
  35387. $ref: '#/definitions/app.Response'
  35388. security:
  35389. - ApiKeyAuth: []
  35390. summary: 查询交易系统转换设置
  35391. tags:
  35392. - 定制【尚志大宗】
  35393. /SZDZ/QueryConvertLog:
  35394. get:
  35395. parameters:
  35396. - description: 资金账户 - 格式:1,2,3
  35397. in: query
  35398. name: accountID
  35399. required: true
  35400. type: string
  35401. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35402. in: query
  35403. name: startDate
  35404. type: string
  35405. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  35406. in: query
  35407. name: endDate
  35408. type: string
  35409. produces:
  35410. - application/json
  35411. responses:
  35412. "200":
  35413. description: OK
  35414. schema:
  35415. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  35416. "500":
  35417. description: Internal Server Error
  35418. schema:
  35419. $ref: '#/definitions/app.Response'
  35420. security:
  35421. - ApiKeyAuth: []
  35422. summary: 交易系统转换流水查询
  35423. tags:
  35424. - 定制【尚志大宗】
  35425. /SZDZ/QueryGoodsPickup:
  35426. get:
  35427. parameters:
  35428. - description: 资金账户 - 格式:1,2,3
  35429. in: query
  35430. name: accountID
  35431. required: true
  35432. type: string
  35433. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  35434. in: query
  35435. name: takeOrderStatus
  35436. type: integer
  35437. produces:
  35438. - application/json
  35439. responses:
  35440. "200":
  35441. description: OK
  35442. schema:
  35443. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  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/QueryRecieptOrder:
  35454. get:
  35455. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35456. parameters:
  35457. - description: 页码
  35458. in: query
  35459. name: page
  35460. type: integer
  35461. - description: 每页条数
  35462. in: query
  35463. name: pagesize
  35464. type: integer
  35465. - description: 商品ID
  35466. in: query
  35467. name: goodsID
  35468. required: true
  35469. type: integer
  35470. - description: 所属账户名称
  35471. in: query
  35472. name: accountName
  35473. type: string
  35474. - description: 市场ID
  35475. in: query
  35476. name: marketID
  35477. type: integer
  35478. - description: 方向 - 0:买 1:卖
  35479. in: query
  35480. name: buyorsell
  35481. required: true
  35482. type: integer
  35483. produces:
  35484. - application/json
  35485. responses:
  35486. "200":
  35487. description: OK
  35488. schema:
  35489. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  35490. "500":
  35491. description: Internal Server Error
  35492. schema:
  35493. $ref: '#/definitions/app.Response'
  35494. security:
  35495. - ApiKeyAuth: []
  35496. summary: 点选挂牌委托单据查询(摘牌大厅)
  35497. tags:
  35498. - 定制【尚志大宗】
  35499. /SZDZ/QuerySZDZTradePosition:
  35500. get:
  35501. parameters:
  35502. - description: 资金账户
  35503. in: query
  35504. name: accountID
  35505. required: true
  35506. type: integer
  35507. produces:
  35508. - application/json
  35509. responses:
  35510. "200":
  35511. description: OK
  35512. schema:
  35513. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  35514. "500":
  35515. description: Internal Server Error
  35516. schema:
  35517. $ref: '#/definitions/app.Response'
  35518. security:
  35519. - ApiKeyAuth: []
  35520. summary: 持仓汇总查询(尚志大宗)
  35521. tags:
  35522. - 定制【尚志大宗】
  35523. /SZDZ/SearchWhite:
  35524. get:
  35525. parameters:
  35526. - description: 用户ID
  35527. in: query
  35528. name: userID
  35529. required: true
  35530. type: integer
  35531. produces:
  35532. - application/json
  35533. responses:
  35534. "200":
  35535. description: OK
  35536. schema:
  35537. $ref: '#/definitions/models.Szdz3searchwhitelist'
  35538. "500":
  35539. description: Internal Server Error
  35540. schema:
  35541. $ref: '#/definitions/app.Response'
  35542. security:
  35543. - ApiKeyAuth: []
  35544. summary: 搜索白名单
  35545. tags:
  35546. - 定制【尚志大宗】
  35547. /Search/SearchGoodses:
  35548. get:
  35549. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  35550. parameters:
  35551. - description: 检索内容
  35552. in: query
  35553. name: content
  35554. required: true
  35555. type: string
  35556. - description: 交易模式,格式:1,2,3
  35557. in: query
  35558. name: tradeModes
  35559. type: string
  35560. produces:
  35561. - application/json
  35562. responses:
  35563. "200":
  35564. description: OK
  35565. schema:
  35566. $ref: '#/definitions/models.SearchGoods'
  35567. "500":
  35568. description: Internal Server Error
  35569. schema:
  35570. $ref: '#/definitions/app.Response'
  35571. summary: 检索商品信息
  35572. tags:
  35573. - 检索服务
  35574. /TaAccount/GetTaAccounts:
  35575. get:
  35576. parameters:
  35577. - description: 登录账户
  35578. in: query
  35579. name: loginID
  35580. required: true
  35581. type: integer
  35582. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  35583. in: query
  35584. name: taAccountType
  35585. type: integer
  35586. produces:
  35587. - application/json
  35588. responses:
  35589. "200":
  35590. description: OK
  35591. schema:
  35592. $ref: '#/definitions/models.Taaccount'
  35593. "500":
  35594. description: Internal Server Error
  35595. schema:
  35596. $ref: '#/definitions/app.Response'
  35597. security:
  35598. - ApiKeyAuth: []
  35599. summary: 获取资金账户信息
  35600. tags:
  35601. - 资金账户
  35602. /TaAccount/QueryAmountLog:
  35603. get:
  35604. parameters:
  35605. - description: 页码
  35606. in: query
  35607. name: page
  35608. type: integer
  35609. - description: 每页条数
  35610. in: query
  35611. name: pagesize
  35612. type: integer
  35613. - description: 分页标志 0-page从0开始 1-page从1开始
  35614. in: query
  35615. name: pageflag
  35616. type: integer
  35617. - description: 资金账户 - 格式:1,2,3
  35618. in: query
  35619. name: accountID
  35620. required: true
  35621. type: string
  35622. - description: 资金操作类型 - 格式:1,2,3
  35623. in: query
  35624. name: OperateType
  35625. type: string
  35626. produces:
  35627. - application/json
  35628. responses:
  35629. "200":
  35630. description: OK
  35631. schema:
  35632. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  35633. "500":
  35634. description: Internal Server Error
  35635. schema:
  35636. $ref: '#/definitions/app.Response'
  35637. security:
  35638. - ApiKeyAuth: []
  35639. summary: 资金流水查询(当前)
  35640. tags:
  35641. - 资金账户
  35642. /TaAccount/QueryHisAmountLog:
  35643. get:
  35644. parameters:
  35645. - description: 页码
  35646. in: query
  35647. name: page
  35648. type: integer
  35649. - description: 每页条数
  35650. in: query
  35651. name: pagesize
  35652. type: integer
  35653. - description: 分页标志 0-page从0开始 1-page从1开始
  35654. in: query
  35655. name: pageflag
  35656. type: integer
  35657. - description: 资金账户 - 格式:1,2,3
  35658. in: query
  35659. name: accountID
  35660. required: true
  35661. type: string
  35662. - description: 资金操作类型 - 格式:1,2,3
  35663. in: query
  35664. name: OperateType
  35665. type: string
  35666. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  35667. in: query
  35668. name: startDate
  35669. type: string
  35670. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  35671. in: query
  35672. name: endDate
  35673. type: string
  35674. produces:
  35675. - application/json
  35676. responses:
  35677. "200":
  35678. description: OK
  35679. schema:
  35680. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  35681. "500":
  35682. description: Internal Server Error
  35683. schema:
  35684. $ref: '#/definitions/app.Response'
  35685. security:
  35686. - ApiKeyAuth: []
  35687. summary: 资金流水查询(历史)
  35688. tags:
  35689. - 资金账户
  35690. /TaAccount/QueryRelatedTaAccount:
  35691. get:
  35692. parameters:
  35693. - description: 关联UserID
  35694. in: query
  35695. name: relateduserid
  35696. required: true
  35697. type: integer
  35698. produces:
  35699. - application/json
  35700. responses:
  35701. "200":
  35702. description: OK
  35703. schema:
  35704. items:
  35705. $ref: '#/definitions/models.RelatedTaAccount'
  35706. type: array
  35707. "500":
  35708. description: Internal Server Error
  35709. schema:
  35710. $ref: '#/definitions/app.Response'
  35711. security:
  35712. - ApiKeyAuth: []
  35713. summary: 查询关联资金账户信息
  35714. tags:
  35715. - 资金账户
  35716. /Tjmd/QueryQuoteGoodsList:
  35717. get:
  35718. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  35719. parameters:
  35720. - description: 用户类型
  35721. in: query
  35722. name: usertype
  35723. required: true
  35724. type: integer
  35725. - description: 市场id, 格式 1,2,3
  35726. in: query
  35727. name: marketids
  35728. type: string
  35729. - description: 商品组id
  35730. in: query
  35731. name: goodsgroupid
  35732. type: integer
  35733. - description: 商品id
  35734. in: query
  35735. name: goodsid
  35736. type: integer
  35737. produces:
  35738. - application/json
  35739. responses:
  35740. "200":
  35741. description: OK
  35742. schema:
  35743. items:
  35744. $ref: '#/definitions/models.TjmdQuoteGoods'
  35745. type: array
  35746. "500":
  35747. description: Internal Server Error
  35748. schema:
  35749. $ref: '#/definitions/app.Response'
  35750. security:
  35751. - ApiKeyAuth: []
  35752. summary: 查询掉期报价列表
  35753. tags:
  35754. - 天津麦顿
  35755. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  35756. get:
  35757. parameters:
  35758. - description: 成交单号
  35759. in: query
  35760. name: tradeid
  35761. required: true
  35762. type: string
  35763. produces:
  35764. - application/json
  35765. responses:
  35766. "200":
  35767. description: OK
  35768. schema:
  35769. items:
  35770. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  35771. type: array
  35772. "500":
  35773. description: Internal Server Error
  35774. schema:
  35775. $ref: '#/definitions/app.Response'
  35776. security:
  35777. - ApiKeyAuth: []
  35778. summary: 掉期商品订单详情(交易确认书)
  35779. tags:
  35780. - 天津麦顿
  35781. /Tjmd/QueryTjmdMarketSection:
  35782. get:
  35783. produces:
  35784. - application/json
  35785. responses:
  35786. "200":
  35787. description: OK
  35788. schema:
  35789. items:
  35790. $ref: '#/definitions/models.TjmdMarketSection'
  35791. type: array
  35792. "500":
  35793. description: Internal Server Error
  35794. schema:
  35795. $ref: '#/definitions/app.Response'
  35796. security:
  35797. - ApiKeyAuth: []
  35798. summary: 查询市场板块
  35799. tags:
  35800. - 天津麦顿
  35801. /Tjmd/QueryTjmdTodayAccountMargin:
  35802. get:
  35803. parameters:
  35804. - description: 市场id
  35805. in: query
  35806. name: marketid
  35807. type: string
  35808. - description: 商品id
  35809. in: query
  35810. name: goodsid
  35811. type: string
  35812. - description: 资金账号
  35813. in: query
  35814. name: accountid
  35815. type: string
  35816. produces:
  35817. - application/json
  35818. responses:
  35819. "200":
  35820. description: OK
  35821. schema:
  35822. items:
  35823. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  35824. type: array
  35825. "500":
  35826. description: Internal Server Error
  35827. schema:
  35828. $ref: '#/definitions/app.Response'
  35829. security:
  35830. - ApiKeyAuth: []
  35831. summary: 查询今日账户保证金配置
  35832. tags:
  35833. - 天津麦顿
  35834. /Tjmd/QueryTjmdTradeOrderDetail:
  35835. get:
  35836. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  35837. parameters:
  35838. - description: 页码
  35839. in: query
  35840. name: page
  35841. type: integer
  35842. - description: 每页条数
  35843. in: query
  35844. name: pagesize
  35845. type: integer
  35846. - description: 用户id
  35847. in: query
  35848. name: userid
  35849. required: true
  35850. type: integer
  35851. - description: 用户类型
  35852. in: query
  35853. name: usertype
  35854. required: true
  35855. type: integer
  35856. - description: 市场id, 格式 1,2,3
  35857. in: query
  35858. name: marketids
  35859. type: string
  35860. - description: 商品id
  35861. in: query
  35862. name: goodsid
  35863. required: true
  35864. type: integer
  35865. - description: 买卖方向 0-买 1-卖
  35866. in: query
  35867. name: buyorsell
  35868. required: true
  35869. type: integer
  35870. produces:
  35871. - application/json
  35872. responses:
  35873. "200":
  35874. description: OK
  35875. schema:
  35876. items:
  35877. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  35878. type: array
  35879. "500":
  35880. description: Internal Server Error
  35881. schema:
  35882. $ref: '#/definitions/app.Response'
  35883. security:
  35884. - ApiKeyAuth: []
  35885. summary: 查询掉期买卖大厅
  35886. tags:
  35887. - 天津麦顿
  35888. /Tjmd/QueryTjmdTransferApply:
  35889. get:
  35890. parameters:
  35891. - description: 类型 1-我的申请 2-对方申请
  35892. in: query
  35893. name: applytype
  35894. required: true
  35895. type: integer
  35896. - description: 市场id, 格式 1,2,3
  35897. in: query
  35898. name: marketids
  35899. type: string
  35900. - description: 资金账号, 格式 25000000001,25000000003
  35901. in: query
  35902. name: accountids
  35903. type: string
  35904. - description: 开始交易日(yyyymmdd)
  35905. in: query
  35906. name: begindate
  35907. type: string
  35908. - description: 结束交易日(yyyymmdd)
  35909. in: query
  35910. name: enddate
  35911. type: string
  35912. produces:
  35913. - application/json
  35914. responses:
  35915. "200":
  35916. description: OK
  35917. schema:
  35918. items:
  35919. $ref: '#/definitions/models.TjmdTransferApply'
  35920. type: array
  35921. "500":
  35922. description: Internal Server Error
  35923. schema:
  35924. $ref: '#/definitions/app.Response'
  35925. security:
  35926. - ApiKeyAuth: []
  35927. summary: 查询掉期协议单
  35928. tags:
  35929. - 天津麦顿
  35930. /Trade/QueryRecieptOrder:
  35931. get:
  35932. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  35933. parameters:
  35934. - description: 页码
  35935. in: query
  35936. name: page
  35937. type: integer
  35938. - description: 每页条数
  35939. in: query
  35940. name: pagesize
  35941. type: integer
  35942. - description: 商品ID
  35943. in: query
  35944. name: goodsID
  35945. required: true
  35946. type: integer
  35947. - description: 所属账户名称
  35948. in: query
  35949. name: accountName
  35950. type: string
  35951. - description: 市场ID
  35952. in: query
  35953. name: marketID
  35954. type: integer
  35955. - description: 方向 - 0:买 1:卖
  35956. in: query
  35957. name: buyorsell
  35958. required: true
  35959. type: integer
  35960. produces:
  35961. - application/json
  35962. responses:
  35963. "200":
  35964. description: OK
  35965. schema:
  35966. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  35967. "500":
  35968. description: Internal Server Error
  35969. schema:
  35970. $ref: '#/definitions/app.Response'
  35971. security:
  35972. - ApiKeyAuth: []
  35973. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  35974. tags:
  35975. - 通用交易
  35976. /User/AddMessageBoard:
  35977. post:
  35978. parameters:
  35979. - description: 用户ID
  35980. in: query
  35981. name: userID
  35982. required: true
  35983. type: integer
  35984. - description: 留言信息
  35985. in: query
  35986. name: message
  35987. required: true
  35988. type: string
  35989. - description: 联系电话
  35990. in: query
  35991. name: contactNum
  35992. required: true
  35993. type: string
  35994. produces:
  35995. - application/json
  35996. responses:
  35997. "200":
  35998. description: OK
  35999. schema:
  36000. $ref: '#/definitions/app.Response'
  36001. "500":
  36002. description: Internal Server Error
  36003. schema:
  36004. $ref: '#/definitions/app.Response'
  36005. security:
  36006. - ApiKeyAuth: []
  36007. summary: 添加用户留言板信息
  36008. tags:
  36009. - 用户信息
  36010. /User/AddUserFavoriteGoods:
  36011. post:
  36012. parameters:
  36013. - description: 用户ID
  36014. in: query
  36015. name: userID
  36016. required: true
  36017. type: integer
  36018. - description: 商品ID
  36019. in: query
  36020. name: goodsID
  36021. required: true
  36022. type: integer
  36023. produces:
  36024. - application/json
  36025. responses:
  36026. "200":
  36027. description: OK
  36028. schema:
  36029. $ref: '#/definitions/app.Response'
  36030. "500":
  36031. description: Internal Server Error
  36032. schema:
  36033. $ref: '#/definitions/app.Response'
  36034. security:
  36035. - ApiKeyAuth: []
  36036. summary: 添加用户商品收藏信息
  36037. tags:
  36038. - 用户信息
  36039. /User/GetLoginID:
  36040. get:
  36041. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  36042. parameters:
  36043. - description: 登录代码
  36044. in: query
  36045. name: username
  36046. required: true
  36047. type: string
  36048. produces:
  36049. - application/json
  36050. responses:
  36051. "200":
  36052. description: OK
  36053. schema:
  36054. $ref: '#/definitions/app.Response'
  36055. "500":
  36056. description: Internal Server Error
  36057. schema:
  36058. $ref: '#/definitions/app.Response'
  36059. summary: 获取登录ID
  36060. tags:
  36061. - 用户信息
  36062. /User/GetUserAccount:
  36063. get:
  36064. parameters:
  36065. - description: 用户ID
  36066. in: query
  36067. name: userID
  36068. required: true
  36069. type: integer
  36070. produces:
  36071. - application/json
  36072. responses:
  36073. "200":
  36074. description: OK
  36075. schema:
  36076. $ref: '#/definitions/models.Useraccount'
  36077. "500":
  36078. description: Internal Server Error
  36079. schema:
  36080. $ref: '#/definitions/app.Response'
  36081. security:
  36082. - ApiKeyAuth: []
  36083. summary: 获取用户账号信息
  36084. tags:
  36085. - 用户信息
  36086. /User/GetUserAuthStatus:
  36087. get:
  36088. parameters:
  36089. - description: 用户ID
  36090. in: query
  36091. name: userID
  36092. required: true
  36093. type: integer
  36094. produces:
  36095. - application/json
  36096. responses:
  36097. "200":
  36098. description: OK
  36099. schema:
  36100. $ref: '#/definitions/app.Response'
  36101. "500":
  36102. description: Internal Server Error
  36103. schema:
  36104. $ref: '#/definitions/app.Response'
  36105. security:
  36106. - ApiKeyAuth: []
  36107. summary: 获取用户实名认证状态
  36108. tags:
  36109. - 用户信息
  36110. /User/LoginQuery:
  36111. get:
  36112. parameters:
  36113. - description: 登录账号
  36114. in: query
  36115. name: loginID
  36116. required: true
  36117. type: integer
  36118. produces:
  36119. - application/json
  36120. responses:
  36121. "200":
  36122. description: OK
  36123. schema:
  36124. $ref: '#/definitions/user.LoginQueryRsp'
  36125. "500":
  36126. description: Internal Server Error
  36127. schema:
  36128. $ref: '#/definitions/app.Response'
  36129. security:
  36130. - ApiKeyAuth: []
  36131. summary: 账户登录后信息查询
  36132. tags:
  36133. - 用户信息
  36134. /User/QueryMessageBoard:
  36135. get:
  36136. parameters:
  36137. - description: 用户ID
  36138. in: query
  36139. name: userID
  36140. required: true
  36141. type: integer
  36142. produces:
  36143. - application/json
  36144. responses:
  36145. "200":
  36146. description: OK
  36147. schema:
  36148. $ref: '#/definitions/models.Messageboard'
  36149. "500":
  36150. description: Internal Server Error
  36151. schema:
  36152. $ref: '#/definitions/app.Response'
  36153. security:
  36154. - ApiKeyAuth: []
  36155. summary: 获取用户留言板信息
  36156. tags:
  36157. - 用户信息
  36158. /User/QueryUserFavoriteGoodses:
  36159. get:
  36160. parameters:
  36161. - description: 用户ID
  36162. in: query
  36163. name: userID
  36164. required: true
  36165. type: integer
  36166. produces:
  36167. - application/json
  36168. responses:
  36169. "200":
  36170. description: OK
  36171. schema:
  36172. $ref: '#/definitions/models.Userfavoritegoods'
  36173. "500":
  36174. description: Internal Server Error
  36175. schema:
  36176. $ref: '#/definitions/app.Response'
  36177. security:
  36178. - ApiKeyAuth: []
  36179. summary: 获取用户商品收藏信息
  36180. tags:
  36181. - 用户信息
  36182. /User/QueryUserInfo:
  36183. get:
  36184. parameters:
  36185. - description: 用户ID
  36186. in: query
  36187. name: userID
  36188. required: true
  36189. type: integer
  36190. - description: 是否解密
  36191. in: query
  36192. name: isDecrypt
  36193. type: boolean
  36194. produces:
  36195. - application/json
  36196. responses:
  36197. "200":
  36198. description: OK
  36199. schema:
  36200. $ref: '#/definitions/models.Userinfo'
  36201. "500":
  36202. description: Internal Server Error
  36203. schema:
  36204. $ref: '#/definitions/app.Response'
  36205. security:
  36206. - ApiKeyAuth: []
  36207. summary: 获取用户信息
  36208. tags:
  36209. - 用户信息
  36210. /User/QueryUserReferNum:
  36211. get:
  36212. parameters:
  36213. - description: 用户ID
  36214. in: query
  36215. name: userID
  36216. required: true
  36217. type: integer
  36218. produces:
  36219. - application/json
  36220. responses:
  36221. "200":
  36222. description: OK
  36223. schema:
  36224. $ref: '#/definitions/app.Response'
  36225. "500":
  36226. description: Internal Server Error
  36227. schema:
  36228. $ref: '#/definitions/app.Response'
  36229. summary: 获取用户邀请码
  36230. tags:
  36231. - 用户信息
  36232. /User/RemoveUserFavoriteGoods:
  36233. post:
  36234. parameters:
  36235. - description: 用户ID
  36236. in: query
  36237. name: userID
  36238. required: true
  36239. type: integer
  36240. - description: 商品ID
  36241. in: query
  36242. name: goodsID
  36243. required: true
  36244. type: integer
  36245. produces:
  36246. - application/json
  36247. responses:
  36248. "200":
  36249. description: OK
  36250. schema:
  36251. $ref: '#/definitions/app.Response'
  36252. "500":
  36253. description: Internal Server Error
  36254. schema:
  36255. $ref: '#/definitions/app.Response'
  36256. security:
  36257. - ApiKeyAuth: []
  36258. summary: 移除用户商品收藏信息
  36259. tags:
  36260. - 用户信息
  36261. /User/UpdateUserAccountStatus:
  36262. post:
  36263. parameters:
  36264. - description: 用户ID
  36265. in: query
  36266. name: userID
  36267. required: true
  36268. type: integer
  36269. - description: 账户状态 - 4:正常 6:注销(停用)
  36270. in: query
  36271. name: accountStatus
  36272. required: true
  36273. type: integer
  36274. produces:
  36275. - application/json
  36276. responses:
  36277. "200":
  36278. description: OK
  36279. schema:
  36280. $ref: '#/definitions/app.Response'
  36281. "500":
  36282. description: Internal Server Error
  36283. schema:
  36284. $ref: '#/definitions/app.Response'
  36285. security:
  36286. - ApiKeyAuth: []
  36287. summary: 更新用户状态
  36288. tags:
  36289. - 用户信息
  36290. /WRTrade/GetAllDeliveryGoods:
  36291. get:
  36292. produces:
  36293. - application/json
  36294. responses:
  36295. "200":
  36296. description: OK
  36297. schema:
  36298. $ref: '#/definitions/app.Response'
  36299. "500":
  36300. description: Internal Server Error
  36301. schema:
  36302. $ref: '#/definitions/app.Response'
  36303. security:
  36304. - ApiKeyAuth: []
  36305. summary: 获取带仓单分类的种类信息
  36306. tags:
  36307. - 仓单贸易
  36308. - 仓单贸易
  36309. /WrTrade2/InsertXhcpSellBackApply:
  36310. post:
  36311. parameters:
  36312. - description: 回收申请
  36313. in: body
  36314. name: jsonBody
  36315. required: true
  36316. schema:
  36317. $ref: '#/definitions/models.XhcpSellBackApplyEx'
  36318. produces:
  36319. - application/json
  36320. responses:
  36321. "200":
  36322. description: OK
  36323. schema:
  36324. $ref: '#/definitions/app.Response'
  36325. "500":
  36326. description: Internal Server Error
  36327. schema:
  36328. $ref: '#/definitions/app.Response'
  36329. security:
  36330. - ApiKeyAuth: []
  36331. summary: 新增回收申请(新会陈皮)
  36332. tags:
  36333. - 仓单贸易v2
  36334. /WrTrade2/QueryDeliveryGoodsSection:
  36335. get:
  36336. produces:
  36337. - application/json
  36338. responses:
  36339. "200":
  36340. description: OK
  36341. schema:
  36342. items:
  36343. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  36344. type: array
  36345. "500":
  36346. description: Internal Server Error
  36347. schema:
  36348. $ref: '#/definitions/app.Response'
  36349. security:
  36350. - ApiKeyAuth: []
  36351. summary: 查询板块(分类)
  36352. tags:
  36353. - 仓单贸易v2
  36354. /WrTrade2/QueryFaProductDetail:
  36355. get:
  36356. description: 页面 买卖大厅 -> 选择融资方案
  36357. parameters:
  36358. - description: 仓单要素id
  36359. in: query
  36360. name: wrfactortypeid
  36361. required: true
  36362. type: integer
  36363. produces:
  36364. - application/json
  36365. responses:
  36366. "200":
  36367. description: OK
  36368. schema:
  36369. items:
  36370. $ref: '#/definitions/models.WrFAProductDetail'
  36371. type: array
  36372. "500":
  36373. description: Internal Server Error
  36374. schema:
  36375. $ref: '#/definitions/app.Response'
  36376. security:
  36377. - ApiKeyAuth: []
  36378. summary: 查询融资产品列表
  36379. tags:
  36380. - 仓单贸易v2
  36381. /WrTrade2/QueryFilterItem:
  36382. get:
  36383. parameters:
  36384. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  36385. in: query
  36386. name: itype
  36387. required: true
  36388. type: string
  36389. produces:
  36390. - application/json
  36391. responses:
  36392. "200":
  36393. description: OK
  36394. schema:
  36395. items:
  36396. $ref: '#/definitions/models.WrFilterItem'
  36397. type: array
  36398. "500":
  36399. description: Internal Server Error
  36400. schema:
  36401. $ref: '#/definitions/app.Response'
  36402. security:
  36403. - ApiKeyAuth: []
  36404. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  36405. tags:
  36406. - 仓单贸易v2
  36407. /WrTrade2/QueryFtDeliveryGoods:
  36408. get:
  36409. produces:
  36410. - application/json
  36411. responses:
  36412. "200":
  36413. description: OK
  36414. schema:
  36415. items:
  36416. $ref: '#/definitions/models.WrFtDeliveryGoods'
  36417. type: array
  36418. "500":
  36419. description: Internal Server Error
  36420. schema:
  36421. $ref: '#/definitions/app.Response'
  36422. security:
  36423. - ApiKeyAuth: []
  36424. summary: 查询品种品类筛选框列表
  36425. tags:
  36426. - 仓单贸易v2
  36427. /WrTrade2/QueryHoldLB:
  36428. get:
  36429. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  36430. parameters:
  36431. - description: 资金账号
  36432. in: query
  36433. name: accountid
  36434. required: true
  36435. type: integer
  36436. - description: 仓库id
  36437. in: query
  36438. name: warehouseid
  36439. type: integer
  36440. - description: 品种id
  36441. in: query
  36442. name: deliverygoodsid
  36443. type: integer
  36444. - description: 品类id
  36445. in: query
  36446. name: wrstandardid
  36447. type: integer
  36448. - description: 仓单要素id
  36449. in: query
  36450. name: wrfactortypeid
  36451. type: integer
  36452. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36453. in: query
  36454. name: dgitemname
  36455. type: string
  36456. produces:
  36457. - application/json
  36458. responses:
  36459. "200":
  36460. description: OK
  36461. schema:
  36462. items:
  36463. $ref: '#/definitions/models.WrHoldLB'
  36464. type: array
  36465. "500":
  36466. description: Internal Server Error
  36467. schema:
  36468. $ref: '#/definitions/app.Response'
  36469. security:
  36470. - ApiKeyAuth: []
  36471. summary: 查询仓单持有记录
  36472. tags:
  36473. - 仓单贸易v2
  36474. /WrTrade2/QueryOrderQuote:
  36475. get:
  36476. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  36477. 唯一确定1条记录
  36478. parameters:
  36479. - description: 页码
  36480. in: query
  36481. name: page
  36482. type: integer
  36483. - description: 每页条数
  36484. in: query
  36485. name: pagesize
  36486. type: integer
  36487. - description: 仓单贸易市场id
  36488. in: query
  36489. name: marketid
  36490. type: integer
  36491. - description: 价格方式 - 1:固定价 2-浮动价
  36492. in: query
  36493. name: wrpricetype
  36494. required: true
  36495. type: integer
  36496. - description: 0:仓单预售 1:仓单贸易
  36497. in: query
  36498. name: haswr
  36499. type: integer
  36500. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36501. in: query
  36502. name: dgitemname
  36503. type: string
  36504. - description: 仓库id(筛选条件)
  36505. in: query
  36506. name: warehouseid
  36507. type: integer
  36508. - description: 品种id
  36509. in: query
  36510. name: deliverygoodsid
  36511. type: integer
  36512. - description: 品类id
  36513. in: query
  36514. name: wrstandardid
  36515. type: integer
  36516. - description: 品牌id(dgfactoryitemid)
  36517. in: query
  36518. name: brandid
  36519. type: integer
  36520. - description: 年份id(dgfactoryitemid)
  36521. in: query
  36522. name: yearsid
  36523. type: integer
  36524. - description: 仓单要素id
  36525. in: query
  36526. name: wrfactortypeid
  36527. type: integer
  36528. - description: 交收月(yyyy-mm) 仓单预售填写
  36529. in: query
  36530. name: deliverymonth
  36531. type: string
  36532. produces:
  36533. - application/json
  36534. responses:
  36535. "200":
  36536. description: OK
  36537. schema:
  36538. items:
  36539. $ref: '#/definitions/models.WrOrderQuote'
  36540. type: array
  36541. "500":
  36542. description: Internal Server Error
  36543. schema:
  36544. $ref: '#/definitions/app.Response'
  36545. security:
  36546. - ApiKeyAuth: []
  36547. summary: 查询大厅行情列表
  36548. tags:
  36549. - 仓单贸易v2
  36550. /WrTrade2/QueryOrderQuoteDetail:
  36551. get:
  36552. parameters:
  36553. - description: 页码
  36554. in: query
  36555. name: page
  36556. type: integer
  36557. - description: 每页条数
  36558. in: query
  36559. name: pagesize
  36560. type: integer
  36561. - description: 仓单贸易市场id
  36562. in: query
  36563. name: marketid
  36564. type: integer
  36565. - description: 价格方式 - 1:固定价 2-浮动价
  36566. in: query
  36567. name: wrpricetype
  36568. required: true
  36569. type: integer
  36570. - description: 0:仓单预售 1:仓单贸易
  36571. in: query
  36572. name: haswr
  36573. type: integer
  36574. - description: 仓单要素id
  36575. in: query
  36576. name: wrfactortypeid
  36577. required: true
  36578. type: integer
  36579. - description: 期货商品id(浮动价方式时填)
  36580. in: query
  36581. name: goodsid
  36582. type: integer
  36583. - description: 买卖方向 0-买 1-卖
  36584. in: query
  36585. name: buyorsell
  36586. required: true
  36587. type: integer
  36588. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  36589. in: query
  36590. name: deliverymonth
  36591. type: string
  36592. produces:
  36593. - application/json
  36594. responses:
  36595. "200":
  36596. description: OK
  36597. schema:
  36598. items:
  36599. $ref: '#/definitions/models.WrOrderQuoteDetail'
  36600. type: array
  36601. "500":
  36602. description: Internal Server Error
  36603. schema:
  36604. $ref: '#/definitions/app.Response'
  36605. security:
  36606. - ApiKeyAuth: []
  36607. summary: 查询买卖大厅
  36608. tags:
  36609. - 仓单贸易v2
  36610. /WrTrade2/QueryOrderQuoteMyq:
  36611. get:
  36612. parameters:
  36613. - description: 页码
  36614. in: query
  36615. name: page
  36616. type: integer
  36617. - description: 每页条数
  36618. in: query
  36619. name: pagesize
  36620. type: integer
  36621. - description: 用户id
  36622. in: query
  36623. name: userid
  36624. required: true
  36625. type: integer
  36626. - description: 仓单贸易市场id
  36627. in: query
  36628. name: marketid
  36629. type: integer
  36630. - description: 0:仓单预售 1:仓单贸易
  36631. in: query
  36632. name: haswr
  36633. type: integer
  36634. - description: 买卖方向 0-买 1-卖
  36635. in: query
  36636. name: buyorsell
  36637. required: true
  36638. type: integer
  36639. - description: 品种id
  36640. in: query
  36641. name: deliverygoodsid
  36642. type: integer
  36643. - description: 品类id
  36644. in: query
  36645. name: wrstandardid
  36646. type: integer
  36647. - description: 交收月(yyyy-mm) 仓单预售填写
  36648. in: query
  36649. name: deliverymonth
  36650. type: string
  36651. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  36652. in: query
  36653. name: dgitemname
  36654. type: string
  36655. produces:
  36656. - application/json
  36657. responses:
  36658. "200":
  36659. description: OK
  36660. schema:
  36661. items:
  36662. $ref: '#/definitions/models.WrQuoteOrderMyq'
  36663. type: array
  36664. "500":
  36665. description: Internal Server Error
  36666. schema:
  36667. $ref: '#/definitions/app.Response'
  36668. security:
  36669. - ApiKeyAuth: []
  36670. summary: 查询贸易圈挂牌大厅
  36671. tags:
  36672. - 仓单贸易v2
  36673. /WrTrade2/QueryPerformancePlan:
  36674. get:
  36675. parameters:
  36676. - description: 用户id
  36677. in: query
  36678. name: userid
  36679. required: true
  36680. type: integer
  36681. - description: 买卖方向 0-买 1-卖
  36682. in: query
  36683. name: buyorsell
  36684. required: true
  36685. type: integer
  36686. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  36687. 8:释放冻结失败 9:超时待处理 10:超时关闭
  36688. in: query
  36689. name: status
  36690. type: string
  36691. - description: 开始交易日(yyyymmdd)
  36692. in: query
  36693. name: begindate
  36694. type: string
  36695. - description: 结束交易日(yyyymmdd)
  36696. in: query
  36697. name: enddate
  36698. type: string
  36699. produces:
  36700. - application/json
  36701. responses:
  36702. "200":
  36703. description: OK
  36704. schema:
  36705. items:
  36706. $ref: '#/definitions/models.WrPerformancePlan'
  36707. type: array
  36708. "500":
  36709. description: Internal Server Error
  36710. schema:
  36711. $ref: '#/definitions/app.Response'
  36712. security:
  36713. - ApiKeyAuth: []
  36714. summary: 查询履约信息
  36715. tags:
  36716. - 仓单贸易v2
  36717. /WrTrade2/QueryPermancePlanTmp:
  36718. get:
  36719. description: |-
  36720. 返回指定用户的模板和公共模板(用户id为空)
  36721. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  36722. parameters:
  36723. - description: 用户id
  36724. in: query
  36725. name: userid
  36726. type: integer
  36727. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  36728. (无仓单) 5:挂牌期权 6:竞拍-降价式
  36729. in: query
  36730. name: tmptype
  36731. type: string
  36732. - description: 是否包含公共模板(用户id为空的) 1-包含
  36733. in: query
  36734. name: includepub
  36735. type: integer
  36736. - description: 市场id(天津麦顿指定此参数,其它不用)
  36737. in: query
  36738. name: marketid
  36739. type: integer
  36740. produces:
  36741. - application/json
  36742. responses:
  36743. "200":
  36744. description: OK
  36745. schema:
  36746. items:
  36747. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  36748. type: array
  36749. "500":
  36750. description: Internal Server Error
  36751. schema:
  36752. $ref: '#/definitions/app.Response'
  36753. security:
  36754. - ApiKeyAuth: []
  36755. summary: 查询履约模板
  36756. tags:
  36757. - 仓单贸易v2
  36758. /WrTrade2/QuerySiteColumnConfig:
  36759. get:
  36760. parameters:
  36761. - description: 页码
  36762. in: query
  36763. name: page
  36764. type: integer
  36765. - description: 每页条数
  36766. in: query
  36767. name: pagesize
  36768. type: integer
  36769. - description: 栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色
  36770. in: query
  36771. name: columntype
  36772. type: integer
  36773. produces:
  36774. - application/json
  36775. responses:
  36776. "200":
  36777. description: OK
  36778. schema:
  36779. items:
  36780. $ref: '#/definitions/models.Sitecolumnconfig'
  36781. type: array
  36782. "500":
  36783. description: Internal Server Error
  36784. schema:
  36785. $ref: '#/definitions/app.Response'
  36786. security:
  36787. - ApiKeyAuth: []
  36788. summary: 查询资讯栏目配置
  36789. tags:
  36790. - 仓单贸易v2
  36791. /WrTrade2/QuerySiteColumnDetail:
  36792. get:
  36793. parameters:
  36794. - description: 页码
  36795. in: query
  36796. name: page
  36797. type: integer
  36798. - description: 每页条数
  36799. in: query
  36800. name: pagesize
  36801. type: integer
  36802. - description: 所属栏目id
  36803. in: query
  36804. name: columnid
  36805. type: integer
  36806. produces:
  36807. - application/json
  36808. responses:
  36809. "200":
  36810. description: OK
  36811. schema:
  36812. items:
  36813. $ref: '#/definitions/models.WrSiteColumnDetail'
  36814. type: array
  36815. "500":
  36816. description: Internal Server Error
  36817. schema:
  36818. $ref: '#/definitions/app.Response'
  36819. security:
  36820. - ApiKeyAuth: []
  36821. summary: 查询资讯
  36822. tags:
  36823. - 仓单贸易v2
  36824. /WrTrade2/QuerySpotGroupTradeSum:
  36825. get:
  36826. produces:
  36827. - application/json
  36828. responses:
  36829. "200":
  36830. description: OK
  36831. schema:
  36832. items:
  36833. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  36834. type: array
  36835. "500":
  36836. description: Internal Server Error
  36837. schema:
  36838. $ref: '#/definitions/app.Response'
  36839. security:
  36840. - ApiKeyAuth: []
  36841. summary: 查询指数
  36842. tags:
  36843. - 仓单贸易v2
  36844. /WrTrade2/QuerySpotGroupTradeSumDetail:
  36845. get:
  36846. description: 查询的结果将会按日期 从小到大 排序
  36847. parameters:
  36848. - description: 现货商品id
  36849. in: query
  36850. name: deliverygoodsid
  36851. required: true
  36852. type: integer
  36853. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  36854. in: query
  36855. name: lastnum
  36856. type: integer
  36857. produces:
  36858. - application/json
  36859. responses:
  36860. "200":
  36861. description: OK
  36862. schema:
  36863. items:
  36864. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  36865. type: array
  36866. "500":
  36867. description: Internal Server Error
  36868. schema:
  36869. $ref: '#/definitions/app.Response'
  36870. security:
  36871. - ApiKeyAuth: []
  36872. summary: 查询指数详细(价格走势图)
  36873. tags:
  36874. - 仓单贸易v2
  36875. /WrTrade2/QueryWrAverageTradePrice:
  36876. get:
  36877. parameters:
  36878. - description: 页码
  36879. in: query
  36880. name: page
  36881. type: integer
  36882. - description: 每页条数
  36883. in: query
  36884. name: pagesize
  36885. type: integer
  36886. - description: 0:仓单预售 1:仓单贸易
  36887. in: query
  36888. name: haswr
  36889. required: true
  36890. type: integer
  36891. - description: 仓单要素id
  36892. in: query
  36893. name: wrfactortypeid
  36894. required: true
  36895. type: integer
  36896. produces:
  36897. - application/json
  36898. responses:
  36899. "200":
  36900. description: OK
  36901. schema:
  36902. items:
  36903. $ref: '#/definitions/models.WrAverageTradePrice'
  36904. type: array
  36905. "500":
  36906. description: Internal Server Error
  36907. schema:
  36908. $ref: '#/definitions/app.Response'
  36909. security:
  36910. - ApiKeyAuth: []
  36911. summary: 查询成交价(历史走势)
  36912. tags:
  36913. - 仓单贸易v2
  36914. /WrTrade2/QueryWrBrandAndYears:
  36915. get:
  36916. produces:
  36917. - application/json
  36918. responses:
  36919. "200":
  36920. description: OK
  36921. schema:
  36922. items:
  36923. $ref: '#/definitions/models.WrBrandAndYears'
  36924. type: array
  36925. "500":
  36926. description: Internal Server Error
  36927. schema:
  36928. $ref: '#/definitions/app.Response'
  36929. security:
  36930. - ApiKeyAuth: []
  36931. summary: 查询品牌和年份
  36932. tags:
  36933. - 仓单贸易v2
  36934. /WrTrade2/QueryWrBsGoodsInfo:
  36935. get:
  36936. description: 合约交易/买卖大厅/详情
  36937. parameters:
  36938. - description: 商品id
  36939. in: query
  36940. name: goodsid
  36941. required: true
  36942. type: integer
  36943. produces:
  36944. - application/json
  36945. responses:
  36946. "200":
  36947. description: OK
  36948. schema:
  36949. items:
  36950. $ref: '#/definitions/models.WrBsGoodsInfo'
  36951. type: array
  36952. "500":
  36953. description: Internal Server Error
  36954. schema:
  36955. $ref: '#/definitions/app.Response'
  36956. security:
  36957. - ApiKeyAuth: []
  36958. summary: 查询合约交易买卖大厅详情
  36959. tags:
  36960. - 仓单贸易v2
  36961. /WrTrade2/QueryWrBuybackDetail:
  36962. get:
  36963. parameters:
  36964. - description: 融资合同id
  36965. in: query
  36966. name: scfcontractid
  36967. type: integer
  36968. produces:
  36969. - application/json
  36970. responses:
  36971. "200":
  36972. description: OK
  36973. schema:
  36974. items:
  36975. $ref: '#/definitions/models.WrBuybackDetail'
  36976. type: array
  36977. "500":
  36978. description: Internal Server Error
  36979. schema:
  36980. $ref: '#/definitions/app.Response'
  36981. security:
  36982. - ApiKeyAuth: []
  36983. summary: 查询仓单回购明细
  36984. tags:
  36985. - 仓单贸易v2
  36986. /WrTrade2/QueryWrClientAdSpaceConfig:
  36987. get:
  36988. produces:
  36989. - application/json
  36990. responses:
  36991. "200":
  36992. description: OK
  36993. schema:
  36994. items:
  36995. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  36996. type: array
  36997. "500":
  36998. description: Internal Server Error
  36999. schema:
  37000. $ref: '#/definitions/app.Response'
  37001. security:
  37002. - ApiKeyAuth: []
  37003. summary: 查询固定广告配置
  37004. tags:
  37005. - 仓单贸易v2
  37006. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  37007. get:
  37008. parameters:
  37009. - description: 资金账号
  37010. in: query
  37011. name: accountid
  37012. required: true
  37013. type: integer
  37014. - description: 商品id
  37015. in: query
  37016. name: goodsid
  37017. required: true
  37018. type: integer
  37019. produces:
  37020. - application/json
  37021. responses:
  37022. "200":
  37023. description: OK
  37024. schema:
  37025. items:
  37026. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  37027. type: array
  37028. "500":
  37029. description: Internal Server Error
  37030. schema:
  37031. $ref: '#/definitions/app.Response'
  37032. security:
  37033. - ApiKeyAuth: []
  37034. summary: 查询合约交收可点选仓单
  37035. tags:
  37036. - 仓单贸易v2
  37037. /WrTrade2/QueryWrDeliveryDetail:
  37038. get:
  37039. parameters:
  37040. - description: 用户id
  37041. in: query
  37042. name: userid
  37043. required: true
  37044. type: integer
  37045. - description: 资金账号id
  37046. in: query
  37047. name: accountid
  37048. type: integer
  37049. - description: 开始交易日(yyyymmdd)
  37050. in: query
  37051. name: begindate
  37052. type: string
  37053. - description: 结束交易日(yyyymmdd)
  37054. in: query
  37055. name: enddate
  37056. type: string
  37057. produces:
  37058. - application/json
  37059. responses:
  37060. "200":
  37061. description: OK
  37062. schema:
  37063. items:
  37064. $ref: '#/definitions/models.WrDeliveryDetail'
  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/QueryWrDraftUserInfo:
  37076. get:
  37077. parameters:
  37078. - description: 用户ID
  37079. in: query
  37080. name: userid
  37081. required: true
  37082. type: integer
  37083. - description: 用户状态 1:正常 2:注销
  37084. in: query
  37085. name: userstatus
  37086. type: integer
  37087. produces:
  37088. - application/json
  37089. responses:
  37090. "200":
  37091. description: OK
  37092. schema:
  37093. items:
  37094. $ref: '#/definitions/models.WrDraftUserInfo'
  37095. type: array
  37096. "500":
  37097. description: Internal Server Error
  37098. schema:
  37099. $ref: '#/definitions/app.Response'
  37100. security:
  37101. - ApiKeyAuth: []
  37102. summary: 查询实名认证信息
  37103. tags:
  37104. - 仓单贸易v2
  37105. /WrTrade2/QueryWrFactorTypeInfo:
  37106. get:
  37107. parameters:
  37108. - description: 仓单要素id
  37109. in: query
  37110. name: wrfactortypeid
  37111. required: true
  37112. type: integer
  37113. produces:
  37114. - application/json
  37115. responses:
  37116. "200":
  37117. description: OK
  37118. schema:
  37119. items:
  37120. $ref: '#/definitions/models.WrFactorTypeInfo'
  37121. type: array
  37122. "500":
  37123. description: Internal Server Error
  37124. schema:
  37125. $ref: '#/definitions/app.Response'
  37126. security:
  37127. - ApiKeyAuth: []
  37128. summary: 查询仓单要素详细信息
  37129. tags:
  37130. - 仓单贸易v2
  37131. /WrTrade2/QueryWrFactorTypeInfoEx:
  37132. get:
  37133. parameters:
  37134. - description: 仓单要素id
  37135. in: query
  37136. name: wrfactortypeid
  37137. required: true
  37138. type: integer
  37139. produces:
  37140. - application/json
  37141. responses:
  37142. "200":
  37143. description: OK
  37144. schema:
  37145. items:
  37146. $ref: '#/definitions/models.WrTypeItem'
  37147. type: array
  37148. "500":
  37149. description: Internal Server Error
  37150. schema:
  37151. $ref: '#/definitions/app.Response'
  37152. security:
  37153. - ApiKeyAuth: []
  37154. summary: 查询仓单要素详细信息列表项
  37155. tags:
  37156. - 仓单贸易v2
  37157. /WrTrade2/QueryWrFinanceBuyApply:
  37158. get:
  37159. description: 页面 融资信息+ / 申请单
  37160. parameters:
  37161. - description: 用户id
  37162. in: query
  37163. name: userid
  37164. required: true
  37165. type: integer
  37166. produces:
  37167. - application/json
  37168. responses:
  37169. "200":
  37170. description: OK
  37171. schema:
  37172. items:
  37173. $ref: '#/definitions/models.WrFinanceBuyApply'
  37174. type: array
  37175. "500":
  37176. description: Internal Server Error
  37177. schema:
  37178. $ref: '#/definitions/app.Response'
  37179. security:
  37180. - ApiKeyAuth: []
  37181. summary: 查询融资购买申请
  37182. tags:
  37183. - 仓单贸易v2
  37184. /WrTrade2/QueryWrFriendApply:
  37185. get:
  37186. parameters:
  37187. - description: 用户id
  37188. in: query
  37189. name: userid
  37190. required: true
  37191. type: integer
  37192. produces:
  37193. - application/json
  37194. responses:
  37195. "200":
  37196. description: OK
  37197. schema:
  37198. items:
  37199. $ref: '#/definitions/models.WrFriendApply'
  37200. type: array
  37201. "500":
  37202. description: Internal Server Error
  37203. schema:
  37204. $ref: '#/definitions/app.Response'
  37205. security:
  37206. - ApiKeyAuth: []
  37207. summary: 查询好友申请记录
  37208. tags:
  37209. - 仓单贸易v2
  37210. /WrTrade2/QueryWrGoodsInfo:
  37211. get:
  37212. parameters:
  37213. - description: 仓单贸易市场id
  37214. in: query
  37215. name: marketid
  37216. type: integer
  37217. - description: 0:仓单预售 1:仓单贸易
  37218. in: query
  37219. name: haswr
  37220. required: true
  37221. type: integer
  37222. - description: 仓单要素id
  37223. in: query
  37224. name: wrfactortypeid
  37225. required: true
  37226. type: integer
  37227. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  37228. in: query
  37229. name: tmplateid
  37230. type: integer
  37231. produces:
  37232. - application/json
  37233. responses:
  37234. "200":
  37235. description: OK
  37236. schema:
  37237. items:
  37238. $ref: '#/definitions/models.WrGoodsInfo'
  37239. type: array
  37240. "500":
  37241. description: Internal Server Error
  37242. schema:
  37243. $ref: '#/definitions/app.Response'
  37244. security:
  37245. - ApiKeyAuth: []
  37246. summary: 查询仓单商品信息
  37247. tags:
  37248. - 仓单贸易v2
  37249. /WrTrade2/QueryWrMarketTradeConfig:
  37250. get:
  37251. parameters:
  37252. - description: 市场id
  37253. in: query
  37254. name: marketid
  37255. type: integer
  37256. produces:
  37257. - application/json
  37258. responses:
  37259. "200":
  37260. description: OK
  37261. schema:
  37262. items:
  37263. $ref: '#/definitions/models.WrMarketTradeConfig'
  37264. type: array
  37265. "500":
  37266. description: Internal Server Error
  37267. schema:
  37268. $ref: '#/definitions/app.Response'
  37269. security:
  37270. - ApiKeyAuth: []
  37271. summary: 查询市场交易参数配置
  37272. tags:
  37273. - 仓单贸易v2
  37274. /WrTrade2/QueryWrOrderDetail:
  37275. get:
  37276. description: 页面 现货仓单 | 预售仓单 -> 委托单
  37277. parameters:
  37278. - description: 页码
  37279. in: query
  37280. name: page
  37281. type: integer
  37282. - description: 每页条数
  37283. in: query
  37284. name: pagesize
  37285. type: integer
  37286. - description: 用户id
  37287. in: query
  37288. name: userid
  37289. required: true
  37290. type: integer
  37291. - description: 仓单贸易市场id
  37292. in: query
  37293. name: marketid
  37294. type: integer
  37295. - description: 0:仓单预售 1:仓单贸易
  37296. in: query
  37297. name: haswr
  37298. required: true
  37299. type: integer
  37300. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  37301. in: query
  37302. name: bcancel
  37303. type: integer
  37304. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  37305. in: query
  37306. name: wrtradetype
  37307. type: integer
  37308. - description: 开始交易日(yyyymmdd)
  37309. in: query
  37310. name: begindate
  37311. type: string
  37312. - description: 结束交易日(yyyymmdd)
  37313. in: query
  37314. name: enddate
  37315. type: string
  37316. produces:
  37317. - application/json
  37318. responses:
  37319. "200":
  37320. description: OK
  37321. schema:
  37322. items:
  37323. $ref: '#/definitions/models.WrOrderDetail'
  37324. type: array
  37325. "500":
  37326. description: Internal Server Error
  37327. schema:
  37328. $ref: '#/definitions/app.Response'
  37329. security:
  37330. - ApiKeyAuth: []
  37331. summary: 查询仓单委托单
  37332. tags:
  37333. - 仓单贸易v2
  37334. /WrTrade2/QueryWrOutInApply:
  37335. get:
  37336. parameters:
  37337. - description: 页码
  37338. in: query
  37339. name: page
  37340. type: integer
  37341. - description: 每页条数
  37342. in: query
  37343. name: pagesize
  37344. type: integer
  37345. - description: 用户id
  37346. in: query
  37347. name: userid
  37348. required: true
  37349. type: integer
  37350. - description: 开始交易日(yyyymmdd)
  37351. in: query
  37352. name: begindate
  37353. type: string
  37354. - description: 结束交易日(yyyymmdd)
  37355. in: query
  37356. name: enddate
  37357. type: string
  37358. produces:
  37359. - application/json
  37360. responses:
  37361. "200":
  37362. description: OK
  37363. schema:
  37364. items:
  37365. $ref: '#/definitions/models.WrOutInApply'
  37366. type: array
  37367. "500":
  37368. description: Internal Server Error
  37369. schema:
  37370. $ref: '#/definitions/app.Response'
  37371. security:
  37372. - ApiKeyAuth: []
  37373. summary: 查询提货申请
  37374. tags:
  37375. - 仓单贸易v2
  37376. /WrTrade2/QueryWrPerformancePlanStep:
  37377. get:
  37378. parameters:
  37379. - description: 履约计划id(performanceplanid)
  37380. in: query
  37381. name: planid
  37382. required: true
  37383. type: integer
  37384. - description: 当前步骤id
  37385. in: query
  37386. name: curstepid
  37387. type: integer
  37388. produces:
  37389. - application/json
  37390. responses:
  37391. "200":
  37392. description: OK
  37393. schema:
  37394. items:
  37395. $ref: '#/definitions/models.WrPerformancePlanStep'
  37396. type: array
  37397. "500":
  37398. description: Internal Server Error
  37399. schema:
  37400. $ref: '#/definitions/app.Response'
  37401. security:
  37402. - ApiKeyAuth: []
  37403. summary: 查询履约信息详情
  37404. tags:
  37405. - 仓单贸易v2
  37406. /WrTrade2/QueryWrPerformanceStepType:
  37407. get:
  37408. produces:
  37409. - application/json
  37410. responses:
  37411. "200":
  37412. description: OK
  37413. schema:
  37414. items:
  37415. $ref: '#/definitions/models.WrPerformanceStepType'
  37416. type: array
  37417. "500":
  37418. description: Internal Server Error
  37419. schema:
  37420. $ref: '#/definitions/app.Response'
  37421. security:
  37422. - ApiKeyAuth: []
  37423. summary: 查询履约步骤枚举
  37424. tags:
  37425. - 仓单贸易v2
  37426. /WrTrade2/QueryWrPosition:
  37427. get:
  37428. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  37429. parameters:
  37430. - description: 用户id
  37431. in: query
  37432. name: userid
  37433. required: true
  37434. type: integer
  37435. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  37436. in: query
  37437. name: querytype
  37438. required: true
  37439. type: integer
  37440. - description: 0:仓单预售 1:仓单贸易
  37441. in: query
  37442. name: haswr
  37443. required: true
  37444. type: integer
  37445. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  37446. in: query
  37447. name: dgitemname
  37448. type: string
  37449. - description: 仓库id(筛选条件)
  37450. in: query
  37451. name: warehouseid
  37452. type: integer
  37453. - description: 品种id
  37454. in: query
  37455. name: deliverygoodsid
  37456. type: integer
  37457. - description: 品类id
  37458. in: query
  37459. name: wrstandardid
  37460. type: integer
  37461. produces:
  37462. - application/json
  37463. responses:
  37464. "200":
  37465. description: OK
  37466. schema:
  37467. items:
  37468. $ref: '#/definitions/models.WrPosition'
  37469. type: array
  37470. "500":
  37471. description: Internal Server Error
  37472. schema:
  37473. $ref: '#/definitions/app.Response'
  37474. security:
  37475. - ApiKeyAuth: []
  37476. summary: 查询现货(预售)仓单持仓
  37477. tags:
  37478. - 仓单贸易v2
  37479. /WrTrade2/QueryWrPreSaleInfo:
  37480. get:
  37481. parameters:
  37482. - description: 市场id
  37483. in: query
  37484. name: marketid
  37485. type: integer
  37486. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  37487. in: query
  37488. name: presalestatus
  37489. type: string
  37490. - description: 摇号标识 - 0:未摇号 1:已摇号
  37491. in: query
  37492. name: lotteryflag
  37493. type: integer
  37494. - description: 最近多少条记录(按创建时间倒序)
  37495. in: query
  37496. name: lastnum
  37497. type: integer
  37498. produces:
  37499. - application/json
  37500. responses:
  37501. "200":
  37502. description: OK
  37503. schema:
  37504. items:
  37505. $ref: '#/definitions/models.WrPreSaleInfo'
  37506. type: array
  37507. "500":
  37508. description: Internal Server Error
  37509. schema:
  37510. $ref: '#/definitions/app.Response'
  37511. security:
  37512. - ApiKeyAuth: []
  37513. summary: 查询新品发布
  37514. tags:
  37515. - 仓单贸易v2
  37516. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  37517. get:
  37518. parameters:
  37519. - description: 市场id
  37520. in: query
  37521. name: marketid
  37522. required: true
  37523. type: integer
  37524. - description: 现货商品id
  37525. in: query
  37526. name: wrstandardid
  37527. required: true
  37528. type: integer
  37529. - description: 开始交易日(yyyymmdd)
  37530. in: query
  37531. name: begindate
  37532. type: string
  37533. - description: 结束交易日(yyyymmdd)
  37534. in: query
  37535. name: enddate
  37536. type: string
  37537. - description: 最近多少条记录(按交易日倒序)
  37538. in: query
  37539. name: lastnum
  37540. type: integer
  37541. - description: 是否今日
  37542. in: query
  37543. name: istoday
  37544. type: boolean
  37545. produces:
  37546. - application/json
  37547. responses:
  37548. "200":
  37549. description: OK
  37550. schema:
  37551. items:
  37552. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  37553. type: array
  37554. "500":
  37555. description: Internal Server Error
  37556. schema:
  37557. $ref: '#/definitions/app.Response'
  37558. security:
  37559. - ApiKeyAuth: []
  37560. summary: 查询价格走势
  37561. tags:
  37562. - 仓单贸易v2
  37563. /WrTrade2/QueryWrScfContract:
  37564. get:
  37565. parameters:
  37566. - description: 用户id
  37567. in: query
  37568. name: userid
  37569. required: true
  37570. type: integer
  37571. - description: 融资合同id
  37572. in: query
  37573. name: scfcontractid
  37574. type: integer
  37575. produces:
  37576. - application/json
  37577. responses:
  37578. "200":
  37579. description: OK
  37580. schema:
  37581. items:
  37582. $ref: '#/definitions/models.WrScfContract'
  37583. type: array
  37584. "500":
  37585. description: Internal Server Error
  37586. schema:
  37587. $ref: '#/definitions/app.Response'
  37588. security:
  37589. - ApiKeyAuth: []
  37590. summary: 查询仓单贸易融资合同
  37591. tags:
  37592. - 仓单贸易v2
  37593. /WrTrade2/QueryWrScfContractInterest:
  37594. get:
  37595. parameters:
  37596. - description: 融资合同id
  37597. in: query
  37598. name: scfcontractid
  37599. type: integer
  37600. produces:
  37601. - application/json
  37602. responses:
  37603. "200":
  37604. description: OK
  37605. schema:
  37606. items:
  37607. $ref: '#/definitions/models.WrScfContractInterest'
  37608. type: array
  37609. "500":
  37610. description: Internal Server Error
  37611. schema:
  37612. $ref: '#/definitions/app.Response'
  37613. security:
  37614. - ApiKeyAuth: []
  37615. summary: 查询融资合同费用明细
  37616. tags:
  37617. - 仓单贸易v2
  37618. /WrTrade2/QueryWrSearchUser:
  37619. get:
  37620. parameters:
  37621. - description: 用户名称(模糊匹配)
  37622. in: query
  37623. name: username
  37624. required: true
  37625. type: string
  37626. produces:
  37627. - application/json
  37628. responses:
  37629. "200":
  37630. description: OK
  37631. schema:
  37632. items:
  37633. $ref: '#/definitions/models.WrSearchUser'
  37634. type: array
  37635. "500":
  37636. description: Internal Server Error
  37637. schema:
  37638. $ref: '#/definitions/app.Response'
  37639. security:
  37640. - ApiKeyAuth: []
  37641. summary: 查询用户
  37642. tags:
  37643. - 仓单贸易v2
  37644. /WrTrade2/QueryWrSpecialMatchOrder:
  37645. get:
  37646. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  37647. parameters:
  37648. - description: 页码
  37649. in: query
  37650. name: page
  37651. type: integer
  37652. - description: 每页条数
  37653. in: query
  37654. name: pagesize
  37655. type: integer
  37656. - description: 用户id
  37657. in: query
  37658. name: userid
  37659. required: true
  37660. type: integer
  37661. - description: 仓单贸易市场id
  37662. in: query
  37663. name: marketid
  37664. type: integer
  37665. - description: 0:仓单预售 1:仓单贸易
  37666. in: query
  37667. name: haswr
  37668. required: true
  37669. type: integer
  37670. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  37671. in: query
  37672. name: isspecified
  37673. type: integer
  37674. produces:
  37675. - application/json
  37676. responses:
  37677. "200":
  37678. description: OK
  37679. schema:
  37680. items:
  37681. $ref: '#/definitions/models.WrSpecialMatchOrder'
  37682. type: array
  37683. "500":
  37684. description: Internal Server Error
  37685. schema:
  37686. $ref: '#/definitions/app.Response'
  37687. security:
  37688. - ApiKeyAuth: []
  37689. summary: 查询指定成交
  37690. tags:
  37691. - 仓单贸易v2
  37692. /WrTrade2/QueryWrStandardFactoryItem:
  37693. get:
  37694. parameters:
  37695. - description: 品类id
  37696. in: query
  37697. name: wrstandardid
  37698. required: true
  37699. type: integer
  37700. produces:
  37701. - application/json
  37702. responses:
  37703. "200":
  37704. description: OK
  37705. schema:
  37706. items:
  37707. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  37708. type: array
  37709. "500":
  37710. description: Internal Server Error
  37711. schema:
  37712. $ref: '#/definitions/app.Response'
  37713. security:
  37714. - ApiKeyAuth: []
  37715. summary: 查询品类要素定义项
  37716. tags:
  37717. - 仓单贸易v2
  37718. /WrTrade2/QueryWrTradeBargainApply:
  37719. get:
  37720. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  37721. 议价->对方议价 填写matchuserid=登录用户id
  37722. parameters:
  37723. - description: 议价人id(摘牌方)
  37724. in: query
  37725. name: userid
  37726. type: integer
  37727. - description: 挂牌方id(查对方议价时,填写此项)
  37728. in: query
  37729. name: matchuserid
  37730. type: integer
  37731. - description: 关联委托单id
  37732. in: query
  37733. name: wrtradeorderid
  37734. type: integer
  37735. - description: 0:仓单预售 1:仓单贸易
  37736. in: query
  37737. name: haswr
  37738. required: true
  37739. type: integer
  37740. - description: 开始交易日(yyyymmdd)
  37741. in: query
  37742. name: begindate
  37743. type: string
  37744. - description: 结束交易日(yyyymmdd)
  37745. in: query
  37746. name: enddate
  37747. type: string
  37748. produces:
  37749. - application/json
  37750. responses:
  37751. "200":
  37752. description: OK
  37753. schema:
  37754. items:
  37755. $ref: '#/definitions/models.WRTradeBargainApply'
  37756. type: array
  37757. "500":
  37758. description: Internal Server Error
  37759. schema:
  37760. $ref: '#/definitions/app.Response'
  37761. security:
  37762. - ApiKeyAuth: []
  37763. summary: 查询议价单
  37764. tags:
  37765. - 仓单贸易v2
  37766. /WrTrade2/QueryWrTradeDetail:
  37767. get:
  37768. parameters:
  37769. - description: 页码
  37770. in: query
  37771. name: page
  37772. type: integer
  37773. - description: 每页条数
  37774. in: query
  37775. name: pagesize
  37776. type: integer
  37777. - description: 用户id
  37778. in: query
  37779. name: userid
  37780. required: true
  37781. type: integer
  37782. - description: 仓单贸易市场id
  37783. in: query
  37784. name: marketid
  37785. type: integer
  37786. - description: 0:仓单预售 1:仓单贸易
  37787. in: query
  37788. name: haswr
  37789. required: true
  37790. type: integer
  37791. - description: 开始交易日(yyyymmdd)
  37792. in: query
  37793. name: begindate
  37794. type: string
  37795. - description: 结束交易日(yyyymmdd)
  37796. in: query
  37797. name: enddate
  37798. type: string
  37799. produces:
  37800. - application/json
  37801. responses:
  37802. "200":
  37803. description: OK
  37804. schema:
  37805. items:
  37806. $ref: '#/definitions/models.WrTradeDetail'
  37807. type: array
  37808. "500":
  37809. description: Internal Server Error
  37810. schema:
  37811. $ref: '#/definitions/app.Response'
  37812. security:
  37813. - ApiKeyAuth: []
  37814. summary: 查询仓单成交明细
  37815. tags:
  37816. - 仓单贸易v2
  37817. /WrTrade2/QueryWrTradeOrderDetail:
  37818. get:
  37819. parameters:
  37820. - description: 页码
  37821. in: query
  37822. name: page
  37823. type: integer
  37824. - description: 每页条数
  37825. in: query
  37826. name: pagesize
  37827. type: integer
  37828. - description: 商品id
  37829. in: query
  37830. name: goodsid
  37831. required: true
  37832. type: integer
  37833. - description: 买卖方向 0-买 1-卖
  37834. in: query
  37835. name: buyorsell
  37836. required: true
  37837. type: integer
  37838. produces:
  37839. - application/json
  37840. responses:
  37841. "200":
  37842. description: OK
  37843. schema:
  37844. items:
  37845. $ref: '#/definitions/models.WrTradeOrderDetail'
  37846. type: array
  37847. "500":
  37848. description: Internal Server Error
  37849. schema:
  37850. $ref: '#/definitions/app.Response'
  37851. security:
  37852. - ApiKeyAuth: []
  37853. summary: 查询合约交易买卖大厅
  37854. tags:
  37855. - 仓单贸易v2
  37856. /WrTrade2/QueryWrTradeQuote:
  37857. get:
  37858. parameters:
  37859. - description: 现货商品id
  37860. in: query
  37861. name: wrstandardid
  37862. required: true
  37863. type: integer
  37864. - description: 开始日期(yyyymmdd)
  37865. in: query
  37866. name: begindate
  37867. required: true
  37868. type: string
  37869. - description: 结束日期(yyyymmdd)
  37870. in: query
  37871. name: enddate
  37872. required: true
  37873. type: string
  37874. - description: 市场id
  37875. in: query
  37876. name: marketid
  37877. type: integer
  37878. produces:
  37879. - application/json
  37880. responses:
  37881. "200":
  37882. description: OK
  37883. schema:
  37884. items:
  37885. $ref: '#/definitions/models.Wrtradetradequote'
  37886. type: array
  37887. "500":
  37888. description: Internal Server Error
  37889. schema:
  37890. $ref: '#/definitions/app.Response'
  37891. security:
  37892. - ApiKeyAuth: []
  37893. summary: 查询仓单贸易成交行情
  37894. tags:
  37895. - 仓单贸易v2
  37896. /WrTrade2/QueryWrUserFriend:
  37897. get:
  37898. parameters:
  37899. - description: 用户id
  37900. in: query
  37901. name: userid
  37902. required: true
  37903. type: integer
  37904. - description: 新朋友userid, 如果填写了此项则查找新朋友
  37905. in: query
  37906. name: newuserid
  37907. type: integer
  37908. produces:
  37909. - application/json
  37910. responses:
  37911. "200":
  37912. description: OK
  37913. schema:
  37914. items:
  37915. $ref: '#/definitions/models.WrUserFriend'
  37916. type: array
  37917. "500":
  37918. description: Internal Server Error
  37919. schema:
  37920. $ref: '#/definitions/app.Response'
  37921. security:
  37922. - ApiKeyAuth: []
  37923. summary: 查询我的朋友
  37924. tags:
  37925. - 仓单贸易v2
  37926. /WrTrade2/QueryWrUserReceiptInfo:
  37927. get:
  37928. parameters:
  37929. - description: 用户id
  37930. in: query
  37931. name: userid
  37932. type: integer
  37933. - description: 发票类型 - 1:个人 2:企业
  37934. in: query
  37935. name: receipttype
  37936. type: integer
  37937. produces:
  37938. - application/json
  37939. responses:
  37940. "200":
  37941. description: OK
  37942. schema:
  37943. items:
  37944. $ref: '#/definitions/models.WrUserReceiptInfo'
  37945. type: array
  37946. "500":
  37947. description: Internal Server Error
  37948. schema:
  37949. $ref: '#/definitions/app.Response'
  37950. security:
  37951. - ApiKeyAuth: []
  37952. summary: 查询发票信息
  37953. tags:
  37954. - 仓单贸易v2
  37955. /WrTrade2/QueryXhcpSellBackApply:
  37956. get:
  37957. parameters:
  37958. - description: 用户ID
  37959. in: query
  37960. name: userid
  37961. required: true
  37962. type: integer
  37963. produces:
  37964. - application/json
  37965. responses:
  37966. "200":
  37967. description: OK
  37968. schema:
  37969. items:
  37970. $ref: '#/definitions/models.Xhcpsellbackapply'
  37971. type: array
  37972. "500":
  37973. description: Internal Server Error
  37974. schema:
  37975. $ref: '#/definitions/app.Response'
  37976. security:
  37977. - ApiKeyAuth: []
  37978. summary: 查询我的回收申请(新会陈皮)
  37979. tags:
  37980. - 仓单贸易v2
  37981. /ZJ/GetBankTip:
  37982. get:
  37983. produces:
  37984. - application/json
  37985. responses:
  37986. "200":
  37987. description: OK
  37988. schema:
  37989. type: string
  37990. "500":
  37991. description: Internal Server Error
  37992. schema:
  37993. $ref: '#/definitions/app.Response'
  37994. summary: 获取中江网银端出入金提示信息
  37995. tags:
  37996. - 中江
  37997. /ZJ/GetCusBankChannels:
  37998. get:
  37999. produces:
  38000. - application/json
  38001. responses:
  38002. "200":
  38003. description: OK
  38004. schema:
  38005. items:
  38006. type: string
  38007. type: array
  38008. "500":
  38009. description: Internal Server Error
  38010. schema:
  38011. $ref: '#/definitions/app.Response'
  38012. summary: 获取中江出入金渠道显示列表
  38013. tags:
  38014. - 中江
  38015. securityDefinitions:
  38016. ApiKeyAuth:
  38017. in: header
  38018. name: Authorization
  38019. type: apiKey
  38020. Group:
  38021. in: header
  38022. name: Group
  38023. type: apiKey
  38024. LoginID:
  38025. in: header
  38026. name: LoginID
  38027. type: apiKey
  38028. swagger: "2.0"