swagger.yaml 194 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. erms2.QueryArbitrageStrategyRsp:
  844. properties:
  845. applybasis:
  846. description: 申请基差
  847. type: number
  848. asapplyid:
  849. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  850. type: string
  851. asname:
  852. description: 策略名称
  853. type: string
  854. asno:
  855. description: 策略编号
  856. type: string
  857. basischangepl:
  858. description: 基差变动损益[结算更新]
  859. type: number
  860. biztype:
  861. description: 业务类型 - 1:正向套利 -1:反向套利
  862. type: integer
  863. closetradedate:
  864. description: 完结交易日(yyyyMMdd)
  865. type: string
  866. curbasis:
  867. description: 当前基差[结算更新]
  868. type: number
  869. deliverygoodsid:
  870. description: 现货品种ID
  871. type: integer
  872. futureavgprice:
  873. description: 期货建仓均价
  874. type: number
  875. futurecloseamount:
  876. description: 期货平仓金额
  877. type: number
  878. futurecloseqty:
  879. description: 期货平仓数量
  880. type: number
  881. futureopenamount:
  882. description: 期货开仓金额
  883. type: number
  884. futureopenqty:
  885. description: 期货开仓数量
  886. type: number
  887. futurepl:
  888. description: 期货总盈亏[结算更新]
  889. type: number
  890. futureqty:
  891. description: 期货持仓数量
  892. type: number
  893. futurequote:
  894. description: 期货额度
  895. type: number
  896. goodsgroupid:
  897. description: 期货品种ID
  898. type: integer
  899. marketid:
  900. description: 市场ID
  901. type: integer
  902. netexposure:
  903. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  904. type: number
  905. netexposurepl:
  906. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  907. type: number
  908. netexposurerate:
  909. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  910. type: number
  911. openbasis:
  912. description: 建仓基差
  913. type: number
  914. pricedspotqty:
  915. description: 已定价现货数量
  916. type: number
  917. pricedspotqtynotax:
  918. description: 已定价现货不含税数量
  919. type: number
  920. remark:
  921. description: 备注
  922. type: string
  923. spotavgprice:
  924. description: 现货均价
  925. type: number
  926. spotbuyamount:
  927. description: 现货采购金额
  928. type: number
  929. spotbuyqty:
  930. description: 现货采购数量
  931. type: number
  932. spotpl:
  933. description: 现货总盈亏[结算更新]
  934. type: number
  935. spotquota:
  936. description: 现货额度
  937. type: number
  938. spotsellamount:
  939. description: 现货销售金额
  940. type: number
  941. spotsellqty:
  942. description: 现货销售数量
  943. type: number
  944. spotusedquota:
  945. description: 现货占用资金
  946. type: number
  947. strategystatus:
  948. description: 策略状态 - 0:未结束 1:已结束
  949. type: integer
  950. totalpl:
  951. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  952. type: number
  953. tradedate:
  954. description: 交易日(yyyyMMdd)
  955. type: string
  956. updatetime:
  957. description: 更新时间
  958. type: string
  959. usedquota:
  960. description: 已占用资金
  961. type: number
  962. userid:
  963. description: 所属机构
  964. type: integer
  965. required:
  966. - asapplyid
  967. type: object
  968. erms2.QueryInnerTradeDetailRsp:
  969. properties:
  970. accountid:
  971. description: 账号ID
  972. type: integer
  973. agreeunit:
  974. description: 合约单位
  975. type: number
  976. asapplyid:
  977. description: 策略申请ID
  978. type: integer
  979. asname:
  980. description: 策略名称
  981. type: string
  982. asno:
  983. description: 策略编号
  984. type: string
  985. buyorsell:
  986. description: 方向 - 0:买 1:卖
  987. type: integer
  988. channelbuildtype:
  989. description: 委托单据类型 0:无 1:建仓 2:平仓
  990. type: integer
  991. closetype:
  992. description: 平仓方式 - 0:无 1:平今 2:平昨
  993. type: integer
  994. decimalplace:
  995. description: 报价小数位
  996. type: integer
  997. detailtype:
  998. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  999. type: integer
  1000. exexchangecode:
  1001. description: 外部交易所代码
  1002. type: string
  1003. exexchangename:
  1004. description: 外部交易所名称
  1005. type: string
  1006. goodscode:
  1007. description: 商品代码(合约)
  1008. type: string
  1009. goodsgroupid:
  1010. description: 商品组ID(品种ID)
  1011. type: integer
  1012. goodsgroupname:
  1013. description: 商品组名称(品种)
  1014. type: string
  1015. goodsid:
  1016. description: 商品ID
  1017. type: integer
  1018. goodsname:
  1019. description: 商品名称(合约)
  1020. type: string
  1021. goodunit:
  1022. description: 报价单位
  1023. type: string
  1024. marketid:
  1025. description: 市场ID
  1026. type: integer
  1027. orderid:
  1028. description: 委托单号
  1029. type: string
  1030. outgoodscode:
  1031. description: 商品代码(外部)
  1032. type: string
  1033. relatedouttradeid:
  1034. description: 关联外部成交单ID
  1035. type: string
  1036. remark:
  1037. description: 备注
  1038. type: string
  1039. spotcontractid:
  1040. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1041. type: integer
  1042. spotcontractno:
  1043. description: 现货合同编号
  1044. type: string
  1045. tradeid:
  1046. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1047. type: string
  1048. tradeprice:
  1049. description: 成交价格
  1050. type: number
  1051. tradeqty:
  1052. description: 成交数量
  1053. type: integer
  1054. tradetime:
  1055. description: 成交时间
  1056. type: string
  1057. updatetime:
  1058. description: 更新时间
  1059. type: string
  1060. required:
  1061. - asapplyid
  1062. - buyorsell
  1063. - goodscode
  1064. - goodsgroupid
  1065. - goodsgroupname
  1066. - goodsname
  1067. - tradeid
  1068. type: object
  1069. erms2.QuerySpotContractRsp:
  1070. properties:
  1071. accountid:
  1072. description: 资金账户ID
  1073. type: integer
  1074. areauserid:
  1075. description: 所属机构
  1076. type: integer
  1077. closedate:
  1078. description: 终止日期
  1079. type: string
  1080. closeremark:
  1081. description: 结束备注
  1082. type: string
  1083. closetradedate:
  1084. description: 完结交易日(yyyyMMdd)
  1085. type: string
  1086. closetype:
  1087. description: 终止类型 - 1:违约 2:提前终止
  1088. type: integer
  1089. contractamount:
  1090. description: 合同金额
  1091. type: number
  1092. contractattachment:
  1093. description: 合同附件
  1094. type: string
  1095. contractno:
  1096. description: 现货合同编号
  1097. type: string
  1098. contractqty:
  1099. description: 合同数量(数值) (用于计算)
  1100. type: number
  1101. contractqtychar:
  1102. description: 合同数量\已订价数量 (用于显示)
  1103. type: string
  1104. contractstatus:
  1105. description: 合同状态 - 0:未结束 1:已结束
  1106. type: integer
  1107. contracttype:
  1108. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1109. type: integer
  1110. customeraccountid:
  1111. description: 客户资金账户ID
  1112. type: integer
  1113. customeruserid:
  1114. description: 客户ID
  1115. type: integer
  1116. deliverygoodsdesc:
  1117. description: 品种说明
  1118. type: string
  1119. deliverygoodsid:
  1120. description: 现货品种ID
  1121. type: integer
  1122. handlestatus:
  1123. description: 处理状态
  1124. type: integer
  1125. invoiceatt:
  1126. description: 发票附件
  1127. type: string
  1128. invoicedatetime:
  1129. description: 开收票更新时间
  1130. type: string
  1131. invoiceopentime:
  1132. description: 开票时间
  1133. type: string
  1134. invoiceremark:
  1135. description: 发票备注
  1136. type: string
  1137. invoicestatus:
  1138. description: 开收票状态 - 0:未开票 1:已开票
  1139. type: integer
  1140. lastdate:
  1141. description: 交货时间
  1142. type: string
  1143. marketid:
  1144. description: 市场ID
  1145. type: integer
  1146. paydatetime:
  1147. description: 收付款更新时间
  1148. type: string
  1149. payremark:
  1150. description: 收付款备注
  1151. type: string
  1152. paystatus:
  1153. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1154. type: integer
  1155. positionqty:
  1156. description: 头寸数量 - 合同数量去小数部分
  1157. type: integer
  1158. producttype:
  1159. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1160. type: integer
  1161. relatedqty:
  1162. description: 已关联数量
  1163. type: number
  1164. relatedstatus:
  1165. description: 关联完结状态 - 0:未结束 1:已结束
  1166. type: integer
  1167. remark:
  1168. description: 备注
  1169. type: string
  1170. signdate:
  1171. description: 签订日期
  1172. type: string
  1173. spotcontractid:
  1174. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1175. type: string
  1176. spotdatetime:
  1177. description: 收发货更新时间
  1178. type: string
  1179. spotprice:
  1180. description: 价格
  1181. type: number
  1182. spotremark:
  1183. description: 收发货备注
  1184. type: string
  1185. spotstatus:
  1186. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1187. type: integer
  1188. tradedate:
  1189. description: 交易日(yyyyMMdd)
  1190. type: string
  1191. userid:
  1192. description: 业务员用户ID
  1193. type: integer
  1194. warehouseid:
  1195. description: 仓库ID
  1196. type: integer
  1197. wrfactortypeid:
  1198. description: 仓单要素类型ID
  1199. type: integer
  1200. wrstandardid:
  1201. description: 仓单标准ID(SEQ_WRSTANDARD)
  1202. type: integer
  1203. required:
  1204. - spotcontractid
  1205. type: object
  1206. erms3.AddErms2ASApplyReq:
  1207. properties:
  1208. applybasis:
  1209. description: 申请基差
  1210. type: number
  1211. applystatus:
  1212. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1213. type: integer
  1214. asapplyid:
  1215. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1216. type: integer
  1217. asname:
  1218. description: 策略名称
  1219. type: string
  1220. asno:
  1221. description: 策略编号
  1222. type: string
  1223. auditid:
  1224. description: 审核人
  1225. type: integer
  1226. auditremark:
  1227. description: 审核备注
  1228. type: string
  1229. audittime:
  1230. description: 审核时间
  1231. type: string
  1232. biztype:
  1233. description: 业务类型 - 1:正向套利 2:反向套利
  1234. type: integer
  1235. createtime:
  1236. description: 创建时间
  1237. type: string
  1238. creatorid:
  1239. description: 创建人
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. futurequote:
  1245. description: 期货额度
  1246. type: number
  1247. goodsgroupid:
  1248. description: 期货品种ID
  1249. type: integer
  1250. marketid:
  1251. description: 市场ID
  1252. type: integer
  1253. remark:
  1254. description: 备注
  1255. type: string
  1256. spotquota:
  1257. description: 现货额度
  1258. type: number
  1259. tradedate:
  1260. description: 交易日(yyyyMMdd)
  1261. type: string
  1262. userid:
  1263. description: 所属机构
  1264. type: integer
  1265. required:
  1266. - asapplyid
  1267. type: object
  1268. erms3.AddErms2SpotTradeApplyReq:
  1269. properties:
  1270. applyjsondetail:
  1271. description: 申请明细(JSON)
  1272. type: string
  1273. applystatus:
  1274. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1275. type: integer
  1276. areauserid:
  1277. description: 所属机构
  1278. type: integer
  1279. auditid:
  1280. description: 审核人
  1281. type: integer
  1282. auditremark:
  1283. description: 审核备注
  1284. type: string
  1285. audittime:
  1286. description: 审核时间
  1287. type: string
  1288. createtime:
  1289. description: 创建时间
  1290. type: string
  1291. creatorid:
  1292. description: 创建人
  1293. type: integer
  1294. deliverygoodsid:
  1295. description: 现货品种ID
  1296. type: integer
  1297. futureaccountid:
  1298. description: 期货资金账户
  1299. type: integer
  1300. goodsgroupid:
  1301. description: 期货品种
  1302. type: integer
  1303. marketid:
  1304. description: 市场ID
  1305. type: integer
  1306. remark:
  1307. description: 备注
  1308. type: string
  1309. spotaccountid:
  1310. description: 现货资金账户
  1311. type: integer
  1312. spottradeid:
  1313. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1314. type: integer
  1315. spottradename:
  1316. description: 业务名称
  1317. type: string
  1318. spottradeno:
  1319. description: 业务编号
  1320. type: string
  1321. tradedate:
  1322. description: 交易日(yyyyMMdd)
  1323. type: string
  1324. wrstandardid:
  1325. description: 仓单标准ID
  1326. type: integer
  1327. required:
  1328. - spottradeid
  1329. type: object
  1330. erms3.AddSpotContractApplyReq:
  1331. properties:
  1332. accountid:
  1333. description: 资金账户ID
  1334. type: integer
  1335. areauserid:
  1336. description: 所属机构
  1337. type: integer
  1338. contractattachment:
  1339. description: 合同附件
  1340. type: string
  1341. contractno:
  1342. description: 现货合同编号
  1343. type: string
  1344. contracttype:
  1345. description: 现货合同类型 - 1:采购 -1:销售
  1346. type: integer
  1347. creatorid:
  1348. description: 申请人
  1349. type: integer
  1350. customeraccountid:
  1351. description: 客户资金账户ID
  1352. type: integer
  1353. customeruserid:
  1354. description: 客户ID
  1355. type: integer
  1356. details:
  1357. description: 明细
  1358. items:
  1359. $ref: '#/definitions/erms3.SoptContractDetail'
  1360. type: array
  1361. orimargin:
  1362. description: 初始保证金
  1363. type: number
  1364. remark:
  1365. description: 备注
  1366. type: string
  1367. signdate:
  1368. description: 签订日期
  1369. type: string
  1370. required:
  1371. - accountid
  1372. - areauserid
  1373. - contractno
  1374. - contracttype
  1375. - customeraccountid
  1376. - customeruserid
  1377. - details
  1378. - orimargin
  1379. - signdate
  1380. type: object
  1381. erms3.AddSpotContractApplyRsp:
  1382. properties:
  1383. contractno:
  1384. description: 现货合同编号
  1385. type: string
  1386. spotcontractid:
  1387. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1388. type: integer
  1389. required:
  1390. - contractno
  1391. type: object
  1392. erms3.AddUserInfoApplyReq:
  1393. properties:
  1394. accountid:
  1395. description: 交易系统帐号Id (加密存储)
  1396. type: integer
  1397. areacode:
  1398. description: 机构代码
  1399. type: string
  1400. areaid:
  1401. description: 机构Id
  1402. type: integer
  1403. attachment1:
  1404. description: 附件1
  1405. type: string
  1406. attachment2:
  1407. description: 附件2
  1408. type: string
  1409. attachment3:
  1410. description: 附件3
  1411. type: string
  1412. attachment4:
  1413. description: 附件4
  1414. type: string
  1415. attachment5:
  1416. description: 附件5
  1417. type: string
  1418. auditedby:
  1419. description: 审核人
  1420. type: string
  1421. auditime:
  1422. description: 审核时间
  1423. type: string
  1424. bankaccount:
  1425. description: 银行帐号 (加密存储)
  1426. type: string
  1427. bankaccountname:
  1428. description: 收款人名称
  1429. type: string
  1430. bankcardbackphotourl:
  1431. description: 银行卡背面照地址
  1432. type: string
  1433. bankcardfrontphotourl:
  1434. description: 银行卡正面照地址
  1435. type: string
  1436. bankid:
  1437. description: 银行编码
  1438. type: string
  1439. bankname:
  1440. description: 银行名称
  1441. type: string
  1442. bankpictureurl:
  1443. description: 银行卡正面地址
  1444. type: string
  1445. biznature:
  1446. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1447. type: integer
  1448. bizscope:
  1449. description: 企业经营范围(企业)
  1450. type: string
  1451. biztype:
  1452. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1453. type: integer
  1454. brokerid:
  1455. description: 经纪人ID(加密存储)
  1456. type: string
  1457. cardaddress:
  1458. description: 证件地址 (加密存储)
  1459. type: string
  1460. cardbackphotourl:
  1461. description: 背面证件照地址
  1462. type: string
  1463. cardfrontphotourl:
  1464. description: 正面证件照地址
  1465. type: string
  1466. cardnum:
  1467. description: 证件号码 (加密存储)
  1468. type: string
  1469. cardtype:
  1470. description: 证件类型
  1471. type: integer
  1472. cityid:
  1473. description: 市
  1474. type: integer
  1475. company:
  1476. description: 公司(个人)
  1477. type: string
  1478. contactcardbackphotourl:
  1479. description: 联系人证件背面图片地址
  1480. type: string
  1481. contactcardfrontphotourl:
  1482. description: 联系人证件正面图片地址
  1483. type: string
  1484. contactname:
  1485. description: 联系人
  1486. type: string
  1487. countryid:
  1488. description: 国家
  1489. type: integer
  1490. createtime:
  1491. description: 开户申请时间
  1492. type: string
  1493. cusbankid:
  1494. description: 签约类型
  1495. type: string
  1496. cusbankname:
  1497. description: 签约类型名称
  1498. type: string
  1499. customername:
  1500. description: 客户名称(企业名称)
  1501. type: string
  1502. districtid:
  1503. description: 地区
  1504. type: integer
  1505. email:
  1506. description: Email地址(加密存储)
  1507. type: string
  1508. halfbodyphotourl:
  1509. description: 半身照地址
  1510. type: string
  1511. headurl:
  1512. description: 头像地址
  1513. type: string
  1514. ipaddress:
  1515. description: IP地址
  1516. type: string
  1517. isvalidate:
  1518. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1519. type: string
  1520. legalcardbackphotourl:
  1521. description: 法人身份证背面照地址
  1522. type: string
  1523. legalcardfrontphotourl:
  1524. description: 法人身份证正面照地址
  1525. type: string
  1526. legalpersonname:
  1527. description: 法人姓名(企业)
  1528. type: string
  1529. logincode:
  1530. description: 登录帐号 (加密存储)
  1531. type: string
  1532. memberareaid:
  1533. description: 所属会员ID
  1534. type: integer
  1535. mobile2:
  1536. description: 手机号码[明文-尚志]
  1537. type: string
  1538. mobilephone:
  1539. description: 手机号码 (加密存储)
  1540. type: string
  1541. modifiedby:
  1542. description: 修改人帐号
  1543. type: integer
  1544. modifiedtime:
  1545. description: 修改时间
  1546. type: string
  1547. nickname:
  1548. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1549. type: string
  1550. openmode:
  1551. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1552. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1553. type: integer
  1554. otherurl:
  1555. description: 其它图片地址[使用分号分隔]
  1556. type: string
  1557. postalcode:
  1558. description: 邮政编码
  1559. type: string
  1560. provinceid:
  1561. description: 省
  1562. type: integer
  1563. proxystatementurl:
  1564. description: 授权委托书
  1565. type: string
  1566. qq:
  1567. description: QQ(加密存储
  1568. type: string
  1569. referral:
  1570. description: 推荐人编码
  1571. type: string
  1572. remark:
  1573. description: 备注
  1574. type: string
  1575. removebeforestatus:
  1576. description: REMOVEBEFORESTATUS
  1577. type: integer
  1578. sex:
  1579. description: 性别 - 0:女 1:男
  1580. type: integer
  1581. signedstatus:
  1582. description: 账户一号签签约状态
  1583. type: integer
  1584. signpdfurl:
  1585. description: 签约pdf文件
  1586. type: string
  1587. subbranch:
  1588. description: 开户支行
  1589. type: string
  1590. telphone:
  1591. description: 联系电话(加密存储)
  1592. type: string
  1593. userid:
  1594. description: 用户ID(自增ID)
  1595. type: integer
  1596. userinfotype:
  1597. description: 用户信息类型 - 1:个人 2:企业
  1598. type: integer
  1599. username:
  1600. description: 用户姓名
  1601. type: string
  1602. userstate:
  1603. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1604. type: integer
  1605. usertype:
  1606. description: 用户类型 - 1:投资者 2:机构
  1607. type: integer
  1608. videourl:
  1609. description: 视频地址
  1610. type: string
  1611. wechat:
  1612. description: 微信号 (加密存储)
  1613. type: string
  1614. required:
  1615. - userid
  1616. type: object
  1617. erms3.CustomerInfo:
  1618. properties:
  1619. accountids:
  1620. description: 资金账户ID列表
  1621. items:
  1622. type: integer
  1623. type: array
  1624. customername:
  1625. description: 名称(企业名称)
  1626. type: string
  1627. mobile:
  1628. description: 手机号码
  1629. type: string
  1630. userid:
  1631. description: 用户ID
  1632. type: integer
  1633. required:
  1634. - userid
  1635. type: object
  1636. erms3.QryAuditContractRsp:
  1637. properties:
  1638. accountid:
  1639. description: 交易员ID
  1640. type: string
  1641. applystatus:
  1642. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1643. type: integer
  1644. curdeliveryqty:
  1645. description: 未交收量
  1646. type: integer
  1647. customername:
  1648. description: 采购方ID
  1649. type: string
  1650. deliverygoodsid:
  1651. description: 品种ID
  1652. type: string
  1653. deliveryqty:
  1654. description: 交收量
  1655. type: integer
  1656. enumdicname:
  1657. description: 单位名称
  1658. type: string
  1659. matchaccountid:
  1660. description: 业务员ID
  1661. type: string
  1662. matchcustomername:
  1663. description: 销售方ID
  1664. type: string
  1665. pricedqty:
  1666. description: 定价量
  1667. type: number
  1668. signdate:
  1669. description: 签订日期
  1670. type: string
  1671. spotcontractid:
  1672. description: 合同ID
  1673. type: string
  1674. totaldqty:
  1675. description: 合同量
  1676. type: number
  1677. unpricedqty:
  1678. description: 未定价量
  1679. type: number
  1680. wrstandardname:
  1681. description: 商品名称
  1682. type: string
  1683. required:
  1684. - matchcustomername
  1685. - spotcontractid
  1686. type: object
  1687. erms3.QryPendingBizRsp:
  1688. properties:
  1689. accountid:
  1690. description: 现货账户
  1691. type: string
  1692. areaname:
  1693. description: 所属部门
  1694. type: string
  1695. bizid:
  1696. description: 业务ID
  1697. type: string
  1698. bizname:
  1699. description: 业务名称
  1700. type: string
  1701. status:
  1702. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1703. type: integer
  1704. type:
  1705. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  1706. type: integer
  1707. type: object
  1708. erms3.QueryBusinessInfoRsp:
  1709. properties:
  1710. businessid:
  1711. description: 业务ID.
  1712. type: integer
  1713. buyamount:
  1714. description: 采购额.
  1715. type: number
  1716. buyqty:
  1717. description: 采购量.
  1718. type: string
  1719. futurepl:
  1720. description: 期货盈亏.
  1721. type: number
  1722. futureqty:
  1723. description: 期货敞口.
  1724. type: string
  1725. goodsid:
  1726. description: 商品名称/商品代码.
  1727. type: string
  1728. hedgingqty:
  1729. description: 套保量.
  1730. type: string
  1731. sellamount:
  1732. description: 销售额.
  1733. type: number
  1734. sellqty:
  1735. description: 销售量.
  1736. type: string
  1737. spotmarketvalue:
  1738. description: 现货市值.
  1739. type: number
  1740. spotpl:
  1741. description: 浮动权益.
  1742. type: number
  1743. spotqty:
  1744. description: 现货量.
  1745. type: string
  1746. statu:
  1747. description: 状态,0-未结束 1-已结束.
  1748. type: integer
  1749. totalpl:
  1750. description: 总盈亏.
  1751. type: number
  1752. totalqty:
  1753. description: 总敞口.
  1754. type: string
  1755. type:
  1756. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  1757. type: integer
  1758. type: object
  1759. erms3.QuerySpotContractAppleFormRsp:
  1760. properties:
  1761. goodses:
  1762. description: 合约列表
  1763. items:
  1764. $ref: '#/definitions/models.GoodsIDAndName'
  1765. type: array
  1766. oppositeusers:
  1767. description: 对方账号列表
  1768. items:
  1769. $ref: '#/definitions/erms3.CustomerInfo'
  1770. type: array
  1771. ouruser:
  1772. $ref: '#/definitions/erms3.CustomerInfo'
  1773. description: 我方账号
  1774. warehouseinfos:
  1775. description: 仓库信息列表
  1776. items:
  1777. $ref: '#/definitions/models.Warehouseinfo'
  1778. type: array
  1779. wrstandards:
  1780. description: 仓单标准列表
  1781. items:
  1782. $ref: '#/definitions/models.WRStandardInfo'
  1783. type: array
  1784. type: object
  1785. erms3.QuerySpotContractInfoRsp:
  1786. properties:
  1787. accountid:
  1788. description: 表示交易员ID.
  1789. type: integer
  1790. curdeliveryqty:
  1791. description: 表示未交收量.
  1792. type: number
  1793. customername:
  1794. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  1795. type: string
  1796. deliverygoodsid:
  1797. description: 表示品种ID.
  1798. type: string
  1799. deliveryqty:
  1800. description: 表示交收量.
  1801. type: number
  1802. matchaccountid:
  1803. description: 表示业务员ID.
  1804. type: integer
  1805. matchcustomername:
  1806. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  1807. type: string
  1808. priceqty:
  1809. description: 表示定价量.
  1810. type: number
  1811. relatedbizid:
  1812. description: 表示业务ID.
  1813. type: string
  1814. signdate:
  1815. description: 表示签订日期.
  1816. type: string
  1817. spotcontractid:
  1818. description: 合同ID
  1819. type: string
  1820. status:
  1821. description: 表示状态,0-履约中 1-已完成.
  1822. type: integer
  1823. totalqty:
  1824. description: 表示合同量.
  1825. type: number
  1826. unpricedqty:
  1827. description: 表示未定价量.
  1828. type: number
  1829. wrstandardname:
  1830. description: 表示商品ID.
  1831. type: string
  1832. type: object
  1833. erms3.QueryUserInfoAppliesRsp:
  1834. properties:
  1835. biznature:
  1836. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1837. type: integer
  1838. contactname:
  1839. description: 联系人
  1840. type: string
  1841. createtime:
  1842. description: 开户申请时间
  1843. type: string
  1844. userid:
  1845. description: 用户ID(自增ID)
  1846. type: integer
  1847. userinfotype:
  1848. description: 用户信息类型 - 1:个人 2:企业
  1849. type: integer
  1850. username:
  1851. description: 用户姓名
  1852. type: string
  1853. userstate:
  1854. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1855. type: integer
  1856. required:
  1857. - userid
  1858. type: object
  1859. erms3.QueryUserInfosRsp:
  1860. properties:
  1861. biznature:
  1862. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1863. type: integer
  1864. contactname:
  1865. description: 联系人
  1866. type: string
  1867. customername:
  1868. description: 客户名称(企业名称)
  1869. type: string
  1870. userid:
  1871. description: 用户ID
  1872. type: integer
  1873. userinfotype:
  1874. description: 用户信息类型 - 1:个人 2:企业
  1875. type: integer
  1876. userstatus:
  1877. description: 用户状态 - 1:正常 2:注销
  1878. type: integer
  1879. required:
  1880. - userid
  1881. type: object
  1882. erms3.SoptContractDetail:
  1883. properties:
  1884. deliverygoodsdesc:
  1885. description: 现货品种说明
  1886. type: string
  1887. deliverygoodsid:
  1888. description: 现货品种ID
  1889. type: integer
  1890. deliverygoodsname:
  1891. description: 现货品种名称
  1892. type: string
  1893. pointdesc:
  1894. description: 点价描述
  1895. type: string
  1896. producttype:
  1897. description: 产品类型 1:标准仓单 2:等标 3:非标
  1898. type: integer
  1899. producttypename:
  1900. description: 产品类型名称
  1901. type: string
  1902. spotPointOrderVoList:
  1903. description: 点价列表
  1904. items:
  1905. $ref: '#/definitions/erms3.SpotPointOrder'
  1906. type: array
  1907. spotPriceOrderList:
  1908. description: 定价列表
  1909. items:
  1910. $ref: '#/definitions/erms3.SpotPriceOrder'
  1911. type: array
  1912. unitname:
  1913. description: 单位名称
  1914. type: string
  1915. warehouseid:
  1916. description: 仓库ID
  1917. type: integer
  1918. warehousename:
  1919. description: 仓库名称
  1920. type: string
  1921. wrstandardid:
  1922. description: 交易标的ID
  1923. type: integer
  1924. wrstandardname:
  1925. description: 交易标的名称
  1926. type: string
  1927. required:
  1928. - deliverygoodsid
  1929. - producttype
  1930. - unitname
  1931. - warehouseid
  1932. - wrstandardid
  1933. - wrstandardname
  1934. type: object
  1935. erms3.SpotPointOrder:
  1936. properties:
  1937. basic:
  1938. description: 基差
  1939. type: number
  1940. deliveryenddate:
  1941. description: 交收结束日期
  1942. type: string
  1943. deliverystartdate:
  1944. description: 交收开始日期
  1945. type: string
  1946. enddate:
  1947. description: 点价结束日期
  1948. type: string
  1949. goodsid:
  1950. description: 商品ID
  1951. type: integer
  1952. goodsname:
  1953. description: 商品名称
  1954. type: string
  1955. qty:
  1956. description: 数量
  1957. type: number
  1958. startdate:
  1959. description: 点价开始日期
  1960. type: string
  1961. required:
  1962. - basic
  1963. - goodsid
  1964. - qty
  1965. type: object
  1966. erms3.SpotPriceOrder:
  1967. properties:
  1968. amount:
  1969. description: 金额
  1970. type: number
  1971. deliveryenddate:
  1972. description: 交收结束日期
  1973. type: string
  1974. deliverystartdate:
  1975. description: 交收开始日期
  1976. type: string
  1977. price:
  1978. description: 价格
  1979. type: number
  1980. qty:
  1981. description: 数量
  1982. type: number
  1983. required:
  1984. - amount
  1985. - price
  1986. - qty
  1987. type: object
  1988. hsby.GetHsbyMyCountRsp:
  1989. properties:
  1990. myOrderDetailListingCount:
  1991. description: 我的订单求购中数量
  1992. type: integer
  1993. myOrderDetailPreCount:
  1994. description: 我的订单抢购中数量
  1995. type: integer
  1996. myPackageUnReceiveCount:
  1997. description: 我的包裹待收货数量
  1998. type: integer
  1999. myPackageUnSendCount:
  2000. description: 我的包裹待发货数量
  2001. type: integer
  2002. type: object
  2003. hsby.QueryProvincesAndCitiesRsp:
  2004. properties:
  2005. cities:
  2006. description: 市
  2007. items:
  2008. $ref: '#/definitions/models.Division'
  2009. type: array
  2010. province:
  2011. $ref: '#/definitions/models.Division'
  2012. description: 省
  2013. type: object
  2014. models.Division:
  2015. properties:
  2016. autoid:
  2017. description: 自增ID
  2018. type: integer
  2019. divisioncode:
  2020. description: 行政代码
  2021. type: string
  2022. divisionlevel:
  2023. description: 行政级别
  2024. type: string
  2025. divisionname:
  2026. description: 行政名称
  2027. type: string
  2028. modifierid:
  2029. description: 修改人
  2030. type: integer
  2031. modifytime:
  2032. description: 修改时间
  2033. type: string
  2034. parentcode:
  2035. description: 上级行政代码
  2036. type: string
  2037. pathname:
  2038. description: 路径名称
  2039. type: string
  2040. postcode:
  2041. description: 邮政编码
  2042. type: string
  2043. separablename:
  2044. description: 可拆分的全称
  2045. type: string
  2046. shortcode:
  2047. description: 地区简码
  2048. type: string
  2049. required:
  2050. - autoid
  2051. - divisioncode
  2052. type: object
  2053. models.Enumdicitem:
  2054. properties:
  2055. autoid:
  2056. description: 自增ID
  2057. type: integer
  2058. bankmappedvalue:
  2059. description: 银行服务对应值
  2060. type: string
  2061. enumdiccode:
  2062. description: 所属枚举代码
  2063. type: string
  2064. enumdicid:
  2065. description: 所属枚举ID
  2066. type: integer
  2067. enumdicname:
  2068. description: 枚举项名称
  2069. type: string
  2070. enumitemname:
  2071. description: 枚举项值
  2072. type: integer
  2073. enumitemstatus:
  2074. description: 枚举项状态 - 1.启用 2.不启用
  2075. type: integer
  2076. enumitemvalue:
  2077. description: 通用值 - [币种通用简写]
  2078. type: string
  2079. param1:
  2080. description: 参数1[币种:币种小数位]
  2081. type: string
  2082. param2:
  2083. description: 参数1[币种:币种显示单位]
  2084. type: string
  2085. remark:
  2086. description: 备注
  2087. type: string
  2088. required:
  2089. - autoid
  2090. - enumdiccode
  2091. - enumdicid
  2092. - enumitemname
  2093. type: object
  2094. models.GoodsIDAndName:
  2095. properties:
  2096. goodscode:
  2097. description: 商品代码(内部)
  2098. type: string
  2099. goodsid:
  2100. description: 商品ID(自增ID SEQ_GOODS)
  2101. type: integer
  2102. goodsname:
  2103. description: 商品名称
  2104. type: string
  2105. marketid:
  2106. description: 所属市场ID
  2107. type: integer
  2108. required:
  2109. - goodscode
  2110. - goodsid
  2111. - goodsname
  2112. - marketid
  2113. type: object
  2114. models.HsbyBuyMyPayOrder:
  2115. properties:
  2116. accountid:
  2117. description: 账户ID[报价币种]
  2118. type: integer
  2119. accountname:
  2120. description: 购买方名称
  2121. type: string
  2122. agreeunit:
  2123. description: 合约单位
  2124. type: number
  2125. buyorsell:
  2126. description: 买卖 - 0:买 1:卖
  2127. type: integer
  2128. createtime:
  2129. description: 创建时间
  2130. type: string
  2131. currencysign:
  2132. description: 货币符号
  2133. type: string
  2134. decimalplace:
  2135. description: 报价小数位
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. marketid:
  2147. description: 市场ID
  2148. type: integer
  2149. offamount:
  2150. description: 优惠金额
  2151. type: number
  2152. orderid:
  2153. description: 单号(成交单号)
  2154. type: string
  2155. payflag:
  2156. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期
  2157. type: integer
  2158. paylimitedtime:
  2159. description: 支付期限
  2160. type: string
  2161. picurls1:
  2162. description: 预售商品介绍图片[多张用逗号分隔]
  2163. type: string
  2164. picurls2:
  2165. description: 挂牌商品介绍图片[多张用逗号分隔]
  2166. type: string
  2167. tradeamount:
  2168. description: 成交金额
  2169. type: number
  2170. tradecharge:
  2171. description: 成交手续费(买方)
  2172. type: number
  2173. trademode:
  2174. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2175. 21:竞拍-大宗式 22:受托竞价
  2176. type: integer
  2177. tradeprice:
  2178. description: 成交价格
  2179. type: number
  2180. tradeqty:
  2181. description: 成交数量
  2182. type: integer
  2183. vendorname1:
  2184. description: 预售商品供应商名称
  2185. type: string
  2186. vendorname2:
  2187. description: 挂牌商品供应商名称
  2188. type: string
  2189. required:
  2190. - accountid
  2191. - buyorsell
  2192. - goodscode
  2193. - goodsid
  2194. - goodsname
  2195. - marketid
  2196. - orderid
  2197. - trademode
  2198. type: object
  2199. models.HsbyBuyMyTradeDetail:
  2200. properties:
  2201. accountid:
  2202. description: 账户ID[报价币种]
  2203. type: integer
  2204. agreeunit:
  2205. description: 合约单位
  2206. type: number
  2207. amount:
  2208. description: 金额 = 价格 * 数量 * 合约单位
  2209. type: number
  2210. buyorsell:
  2211. description: 买卖 - 0:买 1:卖
  2212. type: integer
  2213. currencysign:
  2214. description: 货币符号
  2215. type: string
  2216. decimalplace:
  2217. description: 报价小数位
  2218. type: integer
  2219. goodscode:
  2220. description: 商品代码(内部)
  2221. type: string
  2222. goodsid:
  2223. description: 商品ID
  2224. type: integer
  2225. goodsname:
  2226. description: 商品名称
  2227. type: string
  2228. marketid:
  2229. description: 市场ID
  2230. type: integer
  2231. orderid:
  2232. description: 单号(成交单号)
  2233. type: string
  2234. picurls1:
  2235. description: 预售商品介绍图片[多张用逗号分隔]
  2236. type: string
  2237. picurls2:
  2238. description: 挂牌商品介绍图片[多张用逗号分隔]
  2239. type: string
  2240. price:
  2241. description: 价格
  2242. type: number
  2243. qty:
  2244. description: 数量
  2245. type: integer
  2246. time:
  2247. description: 时间
  2248. type: string
  2249. trademode:
  2250. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2251. 21:竞拍-大宗式 22:受托竞价
  2252. type: integer
  2253. vendorname1:
  2254. description: 预售商品供应商名称
  2255. type: string
  2256. vendorname2:
  2257. description: 挂牌商品供应商名称
  2258. type: string
  2259. required:
  2260. - accountid
  2261. - buyorsell
  2262. - goodscode
  2263. - goodsid
  2264. - goodsname
  2265. - marketid
  2266. - orderid
  2267. - qty
  2268. - time
  2269. - trademode
  2270. type: object
  2271. models.HsbyGoodsOrderDetail:
  2272. properties:
  2273. buyorsell:
  2274. description: 买卖 - 0:买 1:卖
  2275. type: integer
  2276. currencysign:
  2277. description: 货币符号
  2278. type: string
  2279. customername:
  2280. description: 客户名称(企业名称),已脱敏
  2281. type: string
  2282. enableqty:
  2283. description: 可用数量
  2284. type: integer
  2285. goodunit:
  2286. description: 报价单位
  2287. type: string
  2288. orderid:
  2289. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2290. type: string
  2291. orderprice:
  2292. description: 委托价格
  2293. type: number
  2294. ordertime:
  2295. description: 委托时间
  2296. type: string
  2297. required:
  2298. - buyorsell
  2299. - orderid
  2300. - ordertime
  2301. type: object
  2302. models.HsbyListingGoodsDetail:
  2303. properties:
  2304. agreeunit:
  2305. description: 合约单位
  2306. type: number
  2307. currency:
  2308. description: 货币
  2309. type: string
  2310. currencysign:
  2311. description: 货币符号
  2312. type: string
  2313. decimalplace:
  2314. description: 报价小数位
  2315. type: integer
  2316. desccityid:
  2317. description: 目的地(市)ID
  2318. type: integer
  2319. descprovinceid:
  2320. description: 目的地(省)ID
  2321. type: integer
  2322. goodscode:
  2323. description: 商品代码(内部)
  2324. type: string
  2325. goodsdesc:
  2326. description: 商品详情
  2327. type: string
  2328. goodsid:
  2329. description: 商品ID(自增ID SEQ_GOODS)
  2330. type: integer
  2331. goodsname:
  2332. description: 商品名称
  2333. type: string
  2334. hotindex:
  2335. description: 景点热度
  2336. type: integer
  2337. last:
  2338. description: 现价
  2339. type: number
  2340. limitdown:
  2341. description: 跌停价
  2342. type: number
  2343. limitup:
  2344. description: 涨停价
  2345. type: number
  2346. lotsize:
  2347. description: 手数最小变动单位
  2348. type: integer
  2349. marketid:
  2350. description: 所属市场ID
  2351. type: integer
  2352. picurls:
  2353. description: 介绍图片[多张用逗号分隔]
  2354. type: string
  2355. quoteminunit:
  2356. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2357. type: integer
  2358. stepvalue:
  2359. description: 价格最小变动单位
  2360. type: number
  2361. trademode:
  2362. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2363. 21:竞拍-大宗式 22:受托竞价
  2364. type: integer
  2365. vendorattr:
  2366. description: 供应商附件(多张,逗号分隔)
  2367. type: string
  2368. vendorname:
  2369. description: 供应商名称
  2370. type: string
  2371. vendorphone:
  2372. description: 供应商客服电话
  2373. type: string
  2374. videourls:
  2375. description: 介绍视频[多张用逗号分隔]
  2376. type: string
  2377. required:
  2378. - goodscode
  2379. - goodsid
  2380. - goodsname
  2381. - marketid
  2382. - trademode
  2383. type: object
  2384. models.HsbyMyGoods:
  2385. properties:
  2386. accountid:
  2387. description: 账号Id
  2388. type: integer
  2389. agreeunit:
  2390. description: 合约单位
  2391. type: number
  2392. buyaverageprice:
  2393. description: 持仓均价
  2394. type: number
  2395. buycurholderamount:
  2396. description: 买当前持仓总金额[商品币种]
  2397. type: number
  2398. buycurpositionqty:
  2399. description: 买当前持仓总数量
  2400. type: integer
  2401. currencysign:
  2402. description: 货币符号
  2403. type: string
  2404. decimalplace:
  2405. description: 报价小数位
  2406. type: integer
  2407. enableqty:
  2408. description: 可用数量
  2409. type: integer
  2410. goodscode:
  2411. description: 商品代码(内部)
  2412. type: string
  2413. goodsid:
  2414. description: 商品Id
  2415. type: integer
  2416. goodsname:
  2417. description: 商品名称
  2418. type: string
  2419. goodsstatus:
  2420. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  2421. type: integer
  2422. picurls:
  2423. description: 介绍图片[多张用逗号分隔]
  2424. type: string
  2425. required:
  2426. - accountid
  2427. - goodscode
  2428. - goodsid
  2429. - goodsname
  2430. type: object
  2431. models.HsbyMyPackage:
  2432. properties:
  2433. accountid:
  2434. description: 账户ID
  2435. type: integer
  2436. address:
  2437. description: 提货人详细地址
  2438. type: string
  2439. agreeunit:
  2440. description: 合约单位
  2441. type: number
  2442. amount:
  2443. description: 提货金额
  2444. type: number
  2445. auditer:
  2446. description: 审核人
  2447. type: integer
  2448. audittime:
  2449. description: 审核时间
  2450. type: string
  2451. averageprice:
  2452. description: 均价
  2453. type: number
  2454. cardnum:
  2455. description: 提货人证件号码
  2456. type: string
  2457. cardtypeid:
  2458. description: 提货人证件类型
  2459. type: integer
  2460. checkremark:
  2461. description: 审核备注
  2462. type: string
  2463. currencysign:
  2464. description: 货币符号
  2465. type: string
  2466. decimalplace:
  2467. description: 报价小数位
  2468. type: integer
  2469. goodscode:
  2470. description: 商品代码(内部)
  2471. type: string
  2472. goodsid:
  2473. description: 商品ID
  2474. type: integer
  2475. goodsname:
  2476. description: 商品名称
  2477. type: string
  2478. handlestatus:
  2479. description: 处理状态
  2480. type: integer
  2481. marketid:
  2482. description: 市场ID
  2483. type: integer
  2484. phonenum:
  2485. description: 提货人联系方式
  2486. type: string
  2487. picurls:
  2488. description: 介绍图片[多张用逗号分隔]
  2489. type: string
  2490. qty:
  2491. description: 提货数量
  2492. type: number
  2493. recivername:
  2494. description: 提货人姓名
  2495. type: string
  2496. reqtime:
  2497. description: 更新时间
  2498. type: string
  2499. takemode:
  2500. description: 提货方式 - 2:自提 3:配送
  2501. type: integer
  2502. takeorderid:
  2503. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2504. type: string
  2505. takeorderstatus:
  2506. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2507. type: integer
  2508. takeremark:
  2509. description: 提货备注
  2510. type: string
  2511. tradedate:
  2512. description: 交易日(yyyyMMdd)
  2513. type: string
  2514. userid:
  2515. description: 用户ID
  2516. type: integer
  2517. vendorname:
  2518. description: 供应商名称
  2519. type: string
  2520. required:
  2521. - goodscode
  2522. - goodsname
  2523. - takeorderid
  2524. type: object
  2525. models.HsbyPreGoods:
  2526. properties:
  2527. agreeunit:
  2528. description: 合约单位
  2529. type: number
  2530. currency:
  2531. description: 货币
  2532. type: string
  2533. currencysign:
  2534. description: 货币符号
  2535. type: string
  2536. decimalplace:
  2537. description: 报价小数位
  2538. type: integer
  2539. enableqty:
  2540. description: 剩余数量
  2541. type: integer
  2542. goodscode:
  2543. description: 商品代码(内部)
  2544. type: string
  2545. goodsid:
  2546. description: 商品ID(自增ID SEQ_GOODS)
  2547. type: integer
  2548. goodsname:
  2549. description: 商品名称
  2550. type: string
  2551. goodsstatus:
  2552. description: 商品状态- 2:未上市 3:上市
  2553. type: integer
  2554. lasttradedate:
  2555. description: 最后交易日期(状态:待退市)
  2556. type: string
  2557. listingdate:
  2558. description: 交易开始日期
  2559. type: string
  2560. marketid:
  2561. description: 所属市场ID
  2562. type: integer
  2563. picurls:
  2564. description: 介绍图片[多张用逗号分隔]
  2565. type: string
  2566. presaledqty:
  2567. description: 已预售量(预售结束时更新)
  2568. type: integer
  2569. presaleqty:
  2570. description: 预售数量
  2571. type: integer
  2572. quoteminunit:
  2573. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2574. type: integer
  2575. refprice:
  2576. description: 参考价格[一口价]
  2577. type: number
  2578. relatedgoodsid:
  2579. description: 关联交易合约ID
  2580. type: integer
  2581. trademode:
  2582. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2583. 21:竞拍-大宗式 22:受托竞价
  2584. type: integer
  2585. videourls:
  2586. description: 介绍视频[多张用逗号分隔]
  2587. type: string
  2588. required:
  2589. - goodscode
  2590. - goodsid
  2591. - goodsname
  2592. - marketid
  2593. - trademode
  2594. type: object
  2595. models.HsbyPreGoodsDetail:
  2596. properties:
  2597. agreeunit:
  2598. description: 合约单位
  2599. type: number
  2600. buymaxqty:
  2601. description: 购买上限 [71] - 0为不限
  2602. type: integer
  2603. currency:
  2604. description: 货币
  2605. type: string
  2606. currencysign:
  2607. description: 货币符号
  2608. type: string
  2609. customername:
  2610. description: 发行单位
  2611. type: string
  2612. decimalplace:
  2613. description: 报价小数位
  2614. type: integer
  2615. desccityid:
  2616. description: 目的地(市)ID
  2617. type: integer
  2618. descprovinceid:
  2619. description: 目的地(省)ID
  2620. type: integer
  2621. enableqty:
  2622. description: 剩余数量
  2623. type: integer
  2624. goodscode:
  2625. description: 商品代码(内部)
  2626. type: string
  2627. goodsdesc:
  2628. description: 商品详情
  2629. type: string
  2630. goodsid:
  2631. description: 商品ID(自增ID SEQ_GOODS)
  2632. type: integer
  2633. goodsname:
  2634. description: 商品名称
  2635. type: string
  2636. goodsstatus:
  2637. description: 商品状态- 2:未上市 3:上市
  2638. type: integer
  2639. goodunit:
  2640. description: 报价单位
  2641. type: string
  2642. lasttradedate:
  2643. description: 最后交易日期(状态:待退市)
  2644. type: string
  2645. listingdate:
  2646. description: 交易开始日期
  2647. type: string
  2648. lotsize:
  2649. description: 手数最小变动单位
  2650. type: integer
  2651. marketid:
  2652. description: 所属市场ID
  2653. type: integer
  2654. picurls:
  2655. description: 介绍图片[多张用逗号分隔]
  2656. type: string
  2657. presaledqty:
  2658. description: 已预售量(预售结束时更新)
  2659. type: integer
  2660. presaleqty:
  2661. description: 预售数量
  2662. type: integer
  2663. quoteminunit:
  2664. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2665. type: integer
  2666. refprice:
  2667. description: 参考价格[一口价]
  2668. type: number
  2669. relatedgoodsid:
  2670. description: 关联交易合约ID
  2671. type: integer
  2672. stepvalue:
  2673. description: 价格最小变动单位
  2674. type: number
  2675. trademode:
  2676. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2677. 21:竞拍-大宗式 22:受托竞价
  2678. type: integer
  2679. vendorattr:
  2680. description: 供应商附件(多张,逗号分隔)
  2681. type: string
  2682. vendorname:
  2683. description: 供应商名称
  2684. type: string
  2685. vendorphone:
  2686. description: 供应商客服电话
  2687. type: string
  2688. videourls:
  2689. description: 介绍视频[多张用逗号分隔]
  2690. type: string
  2691. required:
  2692. - goodscode
  2693. - goodsid
  2694. - goodsname
  2695. - marketid
  2696. - trademode
  2697. type: object
  2698. models.HsbySellMyDetail:
  2699. properties:
  2700. accountid:
  2701. description: 账户ID[报价币种]
  2702. type: integer
  2703. agreeunit:
  2704. description: 合约单位
  2705. type: number
  2706. amount:
  2707. description: 金额 = 价格 * 数量 * 合约单位
  2708. type: number
  2709. buyorsell:
  2710. description: 买卖 - 0:买 1:卖
  2711. type: integer
  2712. currencysign:
  2713. description: 货币符号
  2714. type: string
  2715. decimalplace:
  2716. description: 报价小数位
  2717. type: integer
  2718. goodscode:
  2719. description: 商品代码(内部)
  2720. type: string
  2721. goodsid:
  2722. description: 商品ID
  2723. type: integer
  2724. goodsname:
  2725. description: 商品名称
  2726. type: string
  2727. marketid:
  2728. description: 市场ID
  2729. type: integer
  2730. orderid:
  2731. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  2732. type: string
  2733. ordertype:
  2734. description: 单据类型:0 - 已发布, 1 - 已完成
  2735. type: integer
  2736. picurls:
  2737. description: 介绍图片[多张用逗号分隔]
  2738. type: string
  2739. price:
  2740. description: 价格
  2741. type: number
  2742. qty:
  2743. description: 数量
  2744. type: integer
  2745. time:
  2746. description: 时间
  2747. type: string
  2748. trademode:
  2749. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2750. 21:竞拍-大宗式 22:受托竞价
  2751. type: integer
  2752. vendorname:
  2753. description: 供应商名称
  2754. type: string
  2755. required:
  2756. - accountid
  2757. - buyorsell
  2758. - goodscode
  2759. - goodsid
  2760. - goodsname
  2761. - marketid
  2762. - orderid
  2763. - qty
  2764. - time
  2765. - trademode
  2766. type: object
  2767. models.HsbyTopGoods:
  2768. properties:
  2769. agreeunit:
  2770. description: 合约单位
  2771. type: number
  2772. currency:
  2773. description: 货币
  2774. type: string
  2775. currencysign:
  2776. description: 货币符号
  2777. type: string
  2778. decimalplace:
  2779. description: 报价小数位
  2780. type: integer
  2781. goodscode:
  2782. description: 商品代码(内部)
  2783. type: string
  2784. goodsid:
  2785. description: 商品ID(自增ID SEQ_GOODS)
  2786. type: integer
  2787. goodsname:
  2788. description: 商品名称
  2789. type: string
  2790. hotindex:
  2791. description: 景点热度
  2792. type: integer
  2793. last:
  2794. description: 现价
  2795. type: number
  2796. marketid:
  2797. description: 所属市场ID
  2798. type: integer
  2799. picurls:
  2800. description: 介绍图片[多张用逗号分隔]
  2801. type: string
  2802. quoteminunit:
  2803. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2804. type: integer
  2805. trademode:
  2806. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2807. 21:竞拍-大宗式 22:受托竞价
  2808. type: integer
  2809. videourls:
  2810. description: 介绍视频[多张用逗号分隔]
  2811. type: string
  2812. required:
  2813. - goodscode
  2814. - goodsid
  2815. - goodsname
  2816. - marketid
  2817. - trademode
  2818. type: object
  2819. models.HybsMyBuyOrderDetail:
  2820. properties:
  2821. accountid:
  2822. description: 账户ID[报价币种]
  2823. type: integer
  2824. agreeunit:
  2825. description: 合约单位
  2826. type: number
  2827. buyorsell:
  2828. description: 买卖 - 0:买 1:卖
  2829. type: integer
  2830. cancelqty:
  2831. description: 撤单数量
  2832. type: integer
  2833. currencysign:
  2834. description: 货币符号
  2835. type: string
  2836. decimalplace:
  2837. description: 报价小数位
  2838. type: integer
  2839. goodscode:
  2840. description: 商品代码(内部)
  2841. type: string
  2842. goodsid:
  2843. description: 商品ID
  2844. type: integer
  2845. goodsname:
  2846. description: 商品名称
  2847. type: string
  2848. listingselecttype:
  2849. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2850. type: integer
  2851. marketid:
  2852. description: 市场ID
  2853. type: integer
  2854. mybuystatus:
  2855. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  2856. type: integer
  2857. orderamount:
  2858. description: 委托金额
  2859. type: number
  2860. orderid:
  2861. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2862. type: string
  2863. orderprice:
  2864. description: 委托价格
  2865. type: number
  2866. orderqty:
  2867. description: 委托数量
  2868. type: integer
  2869. orderstatus:
  2870. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2871. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2872. 16:成交失败违约(荷兰式竞拍专用)
  2873. type: integer
  2874. ordertime:
  2875. description: 委托时间
  2876. type: string
  2877. picurls1:
  2878. description: 预售商品介绍图片[多张用逗号分隔]
  2879. type: string
  2880. picurls2:
  2881. description: 挂牌商品介绍图片[多张用逗号分隔]
  2882. type: string
  2883. trademode:
  2884. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2885. 21:竞拍-大宗式 22:受托竞价
  2886. type: integer
  2887. tradeqty:
  2888. description: 成交数量
  2889. type: integer
  2890. vendorname1:
  2891. description: 预售商品供应商名称
  2892. type: string
  2893. vendorname2:
  2894. description: 挂牌商品供应商名称
  2895. type: string
  2896. required:
  2897. - accountid
  2898. - buyorsell
  2899. - goodscode
  2900. - goodsid
  2901. - goodsname
  2902. - marketid
  2903. - orderid
  2904. - orderqty
  2905. - ordertime
  2906. - trademode
  2907. type: object
  2908. models.Messageboard:
  2909. properties:
  2910. createtime:
  2911. description: 创建时间
  2912. type: string
  2913. message:
  2914. description: 留言信息
  2915. type: string
  2916. messageboardid:
  2917. description: 留言簿ID(SEQ_MessageBoard)
  2918. type: integer
  2919. userid:
  2920. description: 用户ID
  2921. type: integer
  2922. required:
  2923. - messageboardid
  2924. type: object
  2925. models.OperationPrimaryMenu:
  2926. properties:
  2927. Children:
  2928. description: 二级功能菜单
  2929. items:
  2930. $ref: '#/definitions/models.OperationSecondaryMenu'
  2931. type: array
  2932. Key:
  2933. description: 菜单KEY
  2934. type: string
  2935. Label:
  2936. description: 菜单标题
  2937. type: string
  2938. type: object
  2939. models.OperationSecondaryMenu:
  2940. properties:
  2941. Key:
  2942. description: 菜单KEY
  2943. type: string
  2944. Label:
  2945. description: 菜单标题
  2946. type: string
  2947. TabList:
  2948. description: 三级功能菜单
  2949. items:
  2950. $ref: '#/definitions/models.OperationTabMenu'
  2951. type: array
  2952. type: object
  2953. models.OperationTabMenu:
  2954. properties:
  2955. Key:
  2956. description: 菜单KEY
  2957. type: string
  2958. Label:
  2959. description: 菜单标题
  2960. type: string
  2961. type: object
  2962. models.QuotePrimaryMenu:
  2963. properties:
  2964. Index:
  2965. description: 序号
  2966. type: integer
  2967. Key:
  2968. description: 键名
  2969. type: string
  2970. Name:
  2971. description: 菜单名称
  2972. type: string
  2973. SubMenus:
  2974. description: 子菜单
  2975. items:
  2976. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2977. type: array
  2978. SubTitleType:
  2979. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2980. type: integer
  2981. TradeModes:
  2982. description: 包含市场交易类型
  2983. type: string
  2984. type: object
  2985. models.QuoteSecondaryMenu:
  2986. properties:
  2987. ExExchangeCode:
  2988. description: 外部交易所代码
  2989. type: string
  2990. ExExchangeID:
  2991. description: 外部交易所ID
  2992. type: integer
  2993. GoodsGroupIDs:
  2994. description: 商品组ID列表
  2995. items:
  2996. type: integer
  2997. type: array
  2998. Index:
  2999. description: 序号
  3000. type: integer
  3001. MarketID:
  3002. description: 市场ID
  3003. type: integer
  3004. MenuTitle:
  3005. description: 菜单标题(市场名称或外部交易所名称)
  3006. type: string
  3007. TradeMode:
  3008. description: 交易模式
  3009. type: integer
  3010. type: object
  3011. models.SearchGoods:
  3012. properties:
  3013. goodscode:
  3014. description: 商品代码(内部)
  3015. type: string
  3016. goodsid:
  3017. description: 商品ID(自增ID SEQ_GOODS)
  3018. type: integer
  3019. goodsname:
  3020. description: 商品名称
  3021. type: string
  3022. marketid:
  3023. description: 所属市场ID
  3024. type: integer
  3025. marketname:
  3026. description: 市场名称
  3027. type: string
  3028. trademode:
  3029. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3030. 21:竞拍-大宗式 22:受托竞价
  3031. type: integer
  3032. required:
  3033. - goodscode
  3034. - goodsid
  3035. - goodsname
  3036. - marketid
  3037. - trademode
  3038. type: object
  3039. models.Szdz2imageconfig:
  3040. properties:
  3041. configid:
  3042. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  3043. type: integer
  3044. imagepath:
  3045. description: 图片
  3046. type: string
  3047. imagetype:
  3048. description: 类型 - 1:App首页轮播 2:我的
  3049. type: integer
  3050. sort:
  3051. description: 排序
  3052. type: integer
  3053. title:
  3054. description: 标题
  3055. type: string
  3056. url:
  3057. description: 链接
  3058. type: string
  3059. required:
  3060. - configid
  3061. type: object
  3062. models.Szdz3convertconfig:
  3063. properties:
  3064. canin:
  3065. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  3066. type: integer
  3067. canout:
  3068. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  3069. type: integer
  3070. converttype:
  3071. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  3072. 6:交易转花生米(不设置)
  3073. type: integer
  3074. createtime:
  3075. description: 创建时间
  3076. type: string
  3077. creatorid:
  3078. description: 创建人
  3079. type: integer
  3080. daymaxvalue:
  3081. description: 当日最大转入限制
  3082. type: number
  3083. freezedays:
  3084. description: 冻结天数 [5:花生米转交易]
  3085. type: integer
  3086. innergoodsid:
  3087. description: 内部商品ID[交易]
  3088. type: integer
  3089. inratio:
  3090. description: 目标值
  3091. type: integer
  3092. modifierid:
  3093. description: 修改人
  3094. type: integer
  3095. modifytime:
  3096. description: 修改时间
  3097. type: string
  3098. outergoodscode:
  3099. description: 外部商品代码[JD\PD]
  3100. type: string
  3101. outratio:
  3102. description: 源值
  3103. type: integer
  3104. pddecimalplace:
  3105. description: PD小数位
  3106. type: integer
  3107. timemaxvalue:
  3108. description: 单次最大转入限制
  3109. type: number
  3110. timeminvalue:
  3111. description: 单次最小转入限制
  3112. type: number
  3113. required:
  3114. - converttype
  3115. - innergoodsid
  3116. - outergoodscode
  3117. type: object
  3118. models.Szdz3searchwhitelist:
  3119. properties:
  3120. createtime:
  3121. description: 创建时间
  3122. type: string
  3123. creatorid:
  3124. description: 创建人
  3125. type: integer
  3126. modifierid:
  3127. description: 修改人
  3128. type: integer
  3129. modifytime:
  3130. description: 修改时间
  3131. type: string
  3132. userid:
  3133. description: 用户ID
  3134. type: integer
  3135. required:
  3136. - userid
  3137. type: object
  3138. models.Tablecolumnconfig:
  3139. properties:
  3140. aligntype:
  3141. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  3142. type: integer
  3143. autoid:
  3144. description: AutoID
  3145. type: integer
  3146. columnfield:
  3147. description: 列字段
  3148. type: string
  3149. columntitle:
  3150. description: 列Title
  3151. type: string
  3152. columnwidth:
  3153. description: 列宽
  3154. type: string
  3155. formatterstring:
  3156. description: 格式化字符
  3157. type: string
  3158. formattertype:
  3159. description: 格式化类型
  3160. type: string
  3161. groupname:
  3162. description: 表头分组名称
  3163. type: string
  3164. isshow:
  3165. description: 是否显示 - 0:不显示 1:显示
  3166. type: integer
  3167. needsummary:
  3168. description: 是否需要汇总 - 0:不需要 1:需要
  3169. type: integer
  3170. orderindex:
  3171. description: 顺序
  3172. type: integer
  3173. remark:
  3174. description: 备注
  3175. type: string
  3176. summarytype:
  3177. description: 汇总类型 - 1:加总 2:最后一个
  3178. type: integer
  3179. tablekey:
  3180. description: 列表Key
  3181. type: string
  3182. required:
  3183. - autoid
  3184. type: object
  3185. models.Useraccount:
  3186. properties:
  3187. accountname:
  3188. description: 账户名称(机构名称)
  3189. type: string
  3190. accountstatus:
  3191. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  3192. type: integer
  3193. auditremark:
  3194. description: 审核备注
  3195. type: string
  3196. audittime:
  3197. description: 审核时间
  3198. type: string
  3199. audituserid:
  3200. description: 审核人
  3201. type: integer
  3202. broker:
  3203. description: 所属经纪人ID
  3204. type: integer
  3205. canceltime:
  3206. description: 销户时间
  3207. type: string
  3208. canceluserid:
  3209. description: 销户人
  3210. type: integer
  3211. createtime:
  3212. description: 创建时间
  3213. type: string
  3214. creatorid:
  3215. description: 创建人
  3216. type: integer
  3217. hasauth:
  3218. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  3219. type: integer
  3220. isanonymous:
  3221. description: 是否匿名下单 - 0:否 1:是
  3222. type: integer
  3223. maxinvestornum:
  3224. description: 最大用户数(经纪会员下投资者个数)
  3225. type: integer
  3226. memberuserid:
  3227. description: 所属会员ID
  3228. type: integer
  3229. modifierid:
  3230. description: 修改人
  3231. type: integer
  3232. modifyremark:
  3233. description: 变更备注
  3234. type: string
  3235. modifystatus:
  3236. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  3237. type: integer
  3238. modifytime:
  3239. description: 修改时间
  3240. type: string
  3241. parentuserid:
  3242. description: 所属机构ID
  3243. type: integer
  3244. reckonaccountid:
  3245. description: 默认结算资金账号ID(机构分润使用) 作废
  3246. type: integer
  3247. refercount:
  3248. description: 推荐总人数
  3249. type: integer
  3250. refereeuserid:
  3251. description: 推荐人ID
  3252. type: integer
  3253. refernum:
  3254. description: 推荐码
  3255. type: string
  3256. subarealevelpath:
  3257. description: 子机构层级路径(逗号分隔,首尾加逗号)
  3258. type: string
  3259. userid:
  3260. description: 用户ID
  3261. type: integer
  3262. usertype:
  3263. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3264. type: integer
  3265. required:
  3266. - userid
  3267. type: object
  3268. models.Userfavoritegoods:
  3269. properties:
  3270. goodsid:
  3271. description: 商品ID
  3272. type: integer
  3273. required:
  3274. - goodsid
  3275. type: object
  3276. models.Userinfo:
  3277. properties:
  3278. address:
  3279. description: 地址
  3280. type: string
  3281. attachment1:
  3282. description: 附件1
  3283. type: string
  3284. attachment2:
  3285. description: 附件2
  3286. type: string
  3287. bankaccount:
  3288. description: 银行帐号 (加密存储)
  3289. type: string
  3290. bankaccountname:
  3291. description: 收款人名称
  3292. type: string
  3293. bankcardfrontphotourl:
  3294. description: 银行卡正面照地址
  3295. type: string
  3296. bankid:
  3297. description: 银行编码
  3298. type: string
  3299. bankname:
  3300. description: 银行名称
  3301. type: string
  3302. biznature:
  3303. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3304. type: integer
  3305. bizscope:
  3306. description: 企业经营范围(企业)
  3307. type: string
  3308. cardbackphotourl:
  3309. description: 证件背面图片地址
  3310. type: string
  3311. cardfrontphotourl:
  3312. description: 证件正面图片地址
  3313. type: string
  3314. cardnum:
  3315. description: 证件号码(加密存储)
  3316. type: string
  3317. cardtypeid:
  3318. description: 证件类型ID
  3319. type: integer
  3320. cityid:
  3321. description: 市
  3322. type: integer
  3323. company:
  3324. description: 公司(个人)
  3325. type: string
  3326. contactname:
  3327. description: 联系人
  3328. type: string
  3329. countryid:
  3330. description: 国家
  3331. type: integer
  3332. createtime:
  3333. description: 创建时间
  3334. type: string
  3335. creatorid:
  3336. description: 创建人
  3337. type: integer
  3338. customername:
  3339. description: 客户名称(企业名称)
  3340. type: string
  3341. districtid:
  3342. description: 地区
  3343. type: integer
  3344. email:
  3345. description: 邮件(加密存储)
  3346. type: string
  3347. fax:
  3348. description: 传真(加密存储)
  3349. type: string
  3350. halfbodyphotourl:
  3351. description: 半身照地址
  3352. type: string
  3353. hasencrypt:
  3354. description: 数据是否已加密 - 0:未加密 1:已加密
  3355. type: integer
  3356. headurl:
  3357. description: 头像地址
  3358. type: string
  3359. legalcardbackphotourl:
  3360. description: 法人身份证背面照地址
  3361. type: string
  3362. legalcardfrontphotourl:
  3363. description: 法人身份证正面照地址
  3364. type: string
  3365. legalpersonname:
  3366. description: 法人姓名(企业)
  3367. type: string
  3368. mobile:
  3369. description: 手机号码(加密存储)
  3370. type: string
  3371. mobile2:
  3372. description: 手机号码[明文-尚志]
  3373. type: string
  3374. modifierid:
  3375. description: 修改人
  3376. type: integer
  3377. modifiertime:
  3378. description: 修改时间
  3379. type: string
  3380. needinvoice:
  3381. description: 是否需要发票 - 0:不需要 1:需要
  3382. type: integer
  3383. nickname:
  3384. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3385. type: string
  3386. openmode:
  3387. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3388. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3389. type: integer
  3390. otherurl:
  3391. description: 其它图片地址[使用分号分隔]
  3392. type: string
  3393. postalcode:
  3394. description: 邮政编码
  3395. type: string
  3396. provinceid:
  3397. description: 省
  3398. type: integer
  3399. qq:
  3400. description: QQ(加密存储
  3401. type: string
  3402. remark:
  3403. description: 备注
  3404. type: string
  3405. sex:
  3406. description: '用户性别 0: 女 1: 男'
  3407. type: integer
  3408. signpdfurl:
  3409. description: 签约pdf文件
  3410. type: string
  3411. telphone:
  3412. description: 联系电话(加密存储)
  3413. type: string
  3414. userid:
  3415. description: 用户ID
  3416. type: integer
  3417. userinfotype:
  3418. description: 用户信息类型 - 1:个人 2:企业
  3419. type: integer
  3420. userstatus:
  3421. description: 用户状态 - 1:正常 2:注销
  3422. type: integer
  3423. usertype:
  3424. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3425. type: integer
  3426. wechat:
  3427. description: 微信(加密存储)
  3428. type: string
  3429. wskhinfo:
  3430. description: 开户申请信息(JSON)
  3431. type: string
  3432. required:
  3433. - userid
  3434. type: object
  3435. models.WRStandardInfo:
  3436. properties:
  3437. createtime:
  3438. description: 创建时间
  3439. type: string
  3440. creatorid:
  3441. description: 创建人
  3442. type: integer
  3443. deliverygoodsid:
  3444. description: 品种ID
  3445. type: integer
  3446. deliverygoodsname:
  3447. description: 交割商品名称
  3448. type: string
  3449. factoryitemjson:
  3450. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  3451. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  3452. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  3453. 逗号分隔'
  3454. type: string
  3455. isvalid:
  3456. description: 是否有效 - 0:无效 1:有效
  3457. type: integer
  3458. minivalue:
  3459. description: 最小变动值
  3460. type: integer
  3461. minivaluedp:
  3462. description: 最小变动值小数位
  3463. type: integer
  3464. realminivalue:
  3465. description: 实际最小变动值
  3466. type: integer
  3467. realminivaluedp:
  3468. description: 实际最小变动值小数位
  3469. type: integer
  3470. unitid:
  3471. description: 单位ID
  3472. type: integer
  3473. unitname:
  3474. description: 单位
  3475. type: string
  3476. updatetime:
  3477. description: 更新时间
  3478. type: string
  3479. updatorid:
  3480. description: 更新人
  3481. type: integer
  3482. wrsstatus:
  3483. description: 状态 - 作废 - 0:未激活 1:正常
  3484. type: integer
  3485. wrstandardcode:
  3486. description: 仓单标准代码
  3487. type: string
  3488. wrstandardid:
  3489. description: 仓单标准ID(SEQ_WRSTANDARD)
  3490. type: integer
  3491. wrstandardname:
  3492. description: 仓单标准名称
  3493. type: string
  3494. required:
  3495. - wrstandardid
  3496. type: object
  3497. models.Warehouseinfo:
  3498. properties:
  3499. address:
  3500. description: 详细地址
  3501. type: string
  3502. areauserid:
  3503. description: 所属机构
  3504. type: integer
  3505. autoid:
  3506. description: 自增ID
  3507. type: integer
  3508. cityid:
  3509. description: 市
  3510. type: integer
  3511. contactname:
  3512. description: 联系人
  3513. type: string
  3514. contactnum:
  3515. description: 联系电话
  3516. type: string
  3517. countryid:
  3518. description: 国家
  3519. type: integer
  3520. createtime:
  3521. description: 创建时间
  3522. type: string
  3523. districtid:
  3524. description: 区
  3525. type: integer
  3526. hasvideo:
  3527. description: 是否有视频 - 0:无 1:有
  3528. type: integer
  3529. provinceid:
  3530. description: 省
  3531. type: integer
  3532. remark:
  3533. description: 审核备注
  3534. type: string
  3535. videourl:
  3536. description: 视频地址
  3537. type: string
  3538. warehousecode:
  3539. description: 仓库代码
  3540. type: string
  3541. warehousename:
  3542. description: 仓库名称
  3543. type: string
  3544. warehousestatus:
  3545. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  3546. type: integer
  3547. warehousetype:
  3548. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3549. type: integer
  3550. required:
  3551. - autoid
  3552. - warehousecode
  3553. type: object
  3554. order.QueryHisTradeDetailRsp:
  3555. properties:
  3556. accountid:
  3557. description: 账户ID[报价币种]
  3558. type: integer
  3559. buildtype:
  3560. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3561. type: integer
  3562. buyorsell:
  3563. description: 方向 - 0:买 1:卖
  3564. type: integer
  3565. charge:
  3566. description: 手续费
  3567. type: number
  3568. closecharge:
  3569. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3570. type: number
  3571. closeexchagechargevalue:
  3572. description: 平仓交易所手续费设置值
  3573. type: number
  3574. closefeealgorithm:
  3575. description: 平仓手续费收取方式 1:比率 2:固定
  3576. type: integer
  3577. closememberchargevalue:
  3578. description: 平仓会员手续费设置值
  3579. type: number
  3580. closepl:
  3581. description: 平仓盈亏
  3582. type: number
  3583. closepl2:
  3584. description: 平仓盈亏[逐笔]
  3585. type: number
  3586. closeqty:
  3587. description: 平仓数量(先建后平操作 需要记录)
  3588. type: integer
  3589. creditamount:
  3590. description: 授信金额
  3591. type: number
  3592. gcaccountid:
  3593. description: 账户ID[合约币种]
  3594. type: integer
  3595. goodscode:
  3596. description: 商品代码
  3597. type: string
  3598. goodsid:
  3599. description: 商品ID
  3600. type: integer
  3601. goodsname:
  3602. description: 商品名称
  3603. type: string
  3604. histradedate:
  3605. description: 历史交易日
  3606. type: string
  3607. intclosepl:
  3608. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3609. type: integer
  3610. isconfirmexercise:
  3611. description: 是否确认行权- 0:否 1:是
  3612. type: integer
  3613. ismain:
  3614. description: 是否主单 - 0:不是 1:是
  3615. type: integer
  3616. ispreexercise:
  3617. description: 是否预申报- 0:否 1:是
  3618. type: integer
  3619. isreckoned:
  3620. description: 是否结算 - 0:未结算 1:已结算
  3621. type: integer
  3622. isvaliddata:
  3623. description: 是否有效 - 0:无效 1:有效
  3624. type: integer
  3625. listingselecttype:
  3626. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3627. type: integer
  3628. marketid:
  3629. description: 市场ID
  3630. type: integer
  3631. marketname:
  3632. description: 市场名称
  3633. type: string
  3634. matchaccountid:
  3635. description: 对手账号id
  3636. type: integer
  3637. memberuserid:
  3638. description: 会员id 个人投资者 需要填写
  3639. type: integer
  3640. opencharge:
  3641. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3642. type: number
  3643. openexchagechargevalue:
  3644. description: 建仓交易所手续费设置值
  3645. type: number
  3646. openfeealgorithm:
  3647. description: 建仓手续费收取方式 1:比率 2:固定
  3648. type: integer
  3649. openmemberchargevalue:
  3650. description: 建仓会员手续费设置值
  3651. type: number
  3652. openqty:
  3653. description: 开仓数量(先建后平操作 需要记录)
  3654. type: integer
  3655. optiontype:
  3656. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3657. type: integer
  3658. orderid:
  3659. description: 委托单号
  3660. type: string
  3661. performanceplanid:
  3662. description: 履约计划ID[期权]
  3663. type: integer
  3664. performancestatus:
  3665. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3666. type: integer
  3667. preexerciseprice:
  3668. description: 预申报价格
  3669. type: number
  3670. premium:
  3671. description: 权利金 - [持仓单的权利金]
  3672. type: number
  3673. relatedouttradeid:
  3674. description: 关联外部成交单ID
  3675. type: integer
  3676. status:
  3677. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3678. type: integer
  3679. tradeamount:
  3680. description: 成交金额[账户币种,用于所有权]
  3681. type: number
  3682. tradedate:
  3683. description: 交易日(yyyyMMdd)
  3684. type: string
  3685. tradeid:
  3686. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3687. type: string
  3688. trademode:
  3689. description: 交易模式
  3690. type: integer
  3691. tradeprice:
  3692. description: 成交价格
  3693. type: number
  3694. tradeproperty:
  3695. description: 交易属性
  3696. type: integer
  3697. tradeqty:
  3698. description: 成交数量
  3699. type: integer
  3700. tradetime:
  3701. description: 成交时间
  3702. type: string
  3703. tradetype:
  3704. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3705. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3706. type: integer
  3707. required:
  3708. - accountid
  3709. - buyorsell
  3710. - goodsid
  3711. - histradedate
  3712. - marketid
  3713. - memberuserid
  3714. - orderid
  3715. - tradeamount
  3716. - tradedate
  3717. - tradeid
  3718. - tradeprice
  3719. - tradeqty
  3720. - tradetime
  3721. type: object
  3722. order.QueryHisTradeOrderDetailRsp:
  3723. properties:
  3724. accountid:
  3725. description: 账户ID[报价币种]
  3726. type: integer
  3727. buildtype:
  3728. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3729. type: integer
  3730. buyorsell:
  3731. description: 买卖 - 0:买 1:卖
  3732. type: integer
  3733. cancelorderid:
  3734. description: 撤单单号(撤单时填写)
  3735. type: string
  3736. cancelqty:
  3737. description: 撤单数量
  3738. type: integer
  3739. clientordertime:
  3740. description: 客户端委托时间
  3741. type: string
  3742. clientticket:
  3743. description: 客户端流水号
  3744. type: string
  3745. clienttype:
  3746. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3747. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3748. type: integer
  3749. closeexchagechargevalue:
  3750. description: 平仓交易所手续费设置值
  3751. type: number
  3752. closefeealgorithm:
  3753. description: 平仓手续费收取方式 1:比率 2:固定
  3754. type: integer
  3755. closefreezecharge:
  3756. description: 平仓冻结手续费(先建后平操作,需要记录)
  3757. type: number
  3758. closememberchargevalue:
  3759. description: 平仓会员手续费设置值
  3760. type: number
  3761. closeqty:
  3762. description: 平仓数量(先建后平操作 需要记录)
  3763. type: integer
  3764. closetradeqty:
  3765. description: 平仓成交数量(先建后平操作,需要记录)
  3766. type: integer
  3767. closeunfreezecharge:
  3768. description: 平仓解冻手续费(先建后平操作,需要记录)
  3769. type: number
  3770. delistingtype:
  3771. description: 摘牌类型 - 1:价格最优 2:点选成交
  3772. type: integer
  3773. freezecharge:
  3774. description: 冻结手续费
  3775. type: number
  3776. freezemargin:
  3777. description: 冻结保证金(冻结交易金额)
  3778. type: number
  3779. gcaccountid:
  3780. description: 账户ID[合约币种]
  3781. type: integer
  3782. goodscode:
  3783. description: 商品代码
  3784. type: string
  3785. goodsid:
  3786. description: 商品ID
  3787. type: integer
  3788. goodsname:
  3789. description: 商品名称
  3790. type: string
  3791. histradedate:
  3792. description: 历史交易日
  3793. type: string
  3794. isconfirmexercise:
  3795. description: 是否确认行权- 0:否 1:是
  3796. type: integer
  3797. ispreexercise:
  3798. description: 是否预申报- 0:否 1:是
  3799. type: integer
  3800. isvaliddata:
  3801. description: 是否有效 - 0:无效 1:有效
  3802. type: integer
  3803. listingselecttype:
  3804. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3805. type: integer
  3806. marginalgorithm:
  3807. description: 保证金收取方式 1:比率 2:固定
  3808. type: integer
  3809. marginvalue:
  3810. description: 即市保证金设置值
  3811. type: number
  3812. marketid:
  3813. description: 市场ID
  3814. type: integer
  3815. marketmaxsub:
  3816. description: 市价最大偏移范围
  3817. type: number
  3818. marketname:
  3819. description: 市场名称
  3820. type: string
  3821. memberuserid:
  3822. description: 所属会员UserID
  3823. type: integer
  3824. openexchagechargevalue:
  3825. description: 建仓交易所手续费设置值
  3826. type: number
  3827. openfeealgorithm:
  3828. description: 建仓手续费收取方式 1:比率 2:固定
  3829. type: integer
  3830. openfreezecharge:
  3831. description: 开仓冻结手续费(先建后平操作,需要记录)
  3832. type: number
  3833. openmemberchargevalue:
  3834. description: 建仓会员手续费设置值
  3835. type: number
  3836. openqty:
  3837. description: 开仓数量(先建后平操作,需要记录)
  3838. type: integer
  3839. opentradeqty:
  3840. description: 开仓成交数量(先建后平操作,需要记录)
  3841. type: integer
  3842. openunfreezecharge:
  3843. description: 开仓解冻手续费(先建后平操作,需要记录)
  3844. type: number
  3845. operatetype:
  3846. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3847. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3848. 15:管理端协议转让
  3849. type: integer
  3850. operatorid:
  3851. description: 登录账号(LoginID)
  3852. type: integer
  3853. optiontype:
  3854. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3855. type: integer
  3856. orderid:
  3857. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3858. type: string
  3859. orderprice:
  3860. description: 委托价格
  3861. type: number
  3862. orderqty:
  3863. description: 委托数量
  3864. type: integer
  3865. ordersrc:
  3866. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3867. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3868. type: integer
  3869. orderstatus:
  3870. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3871. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3872. 16:成交失败违约(荷兰式竞拍专用)
  3873. type: integer
  3874. ordertime:
  3875. description: 委托时间
  3876. type: string
  3877. preexerciseprice:
  3878. description: 预申报价格
  3879. type: number
  3880. premium:
  3881. description: 权利金
  3882. type: number
  3883. preorderid:
  3884. description: 关联预埋单号(止盈止损单时填写)
  3885. type: string
  3886. pricemode:
  3887. description: '取价方式 - 1:市价 2: 限价'
  3888. type: integer
  3889. quoteid:
  3890. description: 报价单ID
  3891. type: integer
  3892. relatedid:
  3893. description: 关联单号(交割单)
  3894. type: string
  3895. retcode:
  3896. description: 错误代码
  3897. type: integer
  3898. sessionid:
  3899. description: 会话ID
  3900. type: integer
  3901. tradedate:
  3902. description: 交易日(yyyyMMdd)
  3903. type: string
  3904. trademode:
  3905. description: 交易模式
  3906. type: integer
  3907. tradeproperty:
  3908. description: 交易属性
  3909. type: integer
  3910. tradeqty:
  3911. description: 成交数量
  3912. type: integer
  3913. unfreezecharge:
  3914. description: 解冻手续费
  3915. type: number
  3916. unfreezemargin:
  3917. description: 解冻保证金
  3918. type: number
  3919. updatetime:
  3920. description: 更新时间
  3921. type: string
  3922. uuid:
  3923. description: 发起端唯一id
  3924. type: string
  3925. validtime:
  3926. description: 有效期限
  3927. type: string
  3928. validtype:
  3929. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3930. type: integer
  3931. volumetype:
  3932. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3933. type: integer
  3934. required:
  3935. - accountid
  3936. - buildtype
  3937. - buyorsell
  3938. - goodsid
  3939. - histradedate
  3940. - marketid
  3941. - memberuserid
  3942. - operatetype
  3943. - orderid
  3944. - orderqty
  3945. - ordertime
  3946. - pricemode
  3947. - tradedate
  3948. - validtype
  3949. type: object
  3950. order.QueryTradeDetailRsp:
  3951. properties:
  3952. accountid:
  3953. description: 账户ID[报价币种]
  3954. type: integer
  3955. buildtype:
  3956. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3957. type: integer
  3958. buyorsell:
  3959. description: 方向 - 0:买 1:卖
  3960. type: integer
  3961. charge:
  3962. description: 手续费
  3963. type: number
  3964. closecharge:
  3965. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3966. type: number
  3967. closeexchagechargevalue:
  3968. description: 平仓交易所手续费设置值
  3969. type: number
  3970. closefeealgorithm:
  3971. description: 平仓手续费收取方式 1:比率 2:固定
  3972. type: integer
  3973. closememberchargevalue:
  3974. description: 平仓会员手续费设置值
  3975. type: number
  3976. closepl:
  3977. description: 平仓盈亏
  3978. type: number
  3979. closepl2:
  3980. description: 平仓盈亏[逐笔]
  3981. type: number
  3982. closeqty:
  3983. description: 平仓数量(先建后平操作 需要记录)
  3984. type: integer
  3985. creditamount:
  3986. description: 授信金额
  3987. type: number
  3988. gcaccountid:
  3989. description: 账户ID[合约币种]
  3990. type: integer
  3991. goodscode:
  3992. description: 商品代码
  3993. type: string
  3994. goodsid:
  3995. description: 商品ID
  3996. type: integer
  3997. goodsname:
  3998. description: 商品名称
  3999. type: string
  4000. intclosepl:
  4001. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4002. type: integer
  4003. isconfirmexercise:
  4004. description: 是否确认行权- 0:否 1:是
  4005. type: integer
  4006. ismain:
  4007. description: 是否主单 - 0:不是 1:是
  4008. type: integer
  4009. ispreexercise:
  4010. description: 是否预申报- 0:否 1:是
  4011. type: integer
  4012. isreckoned:
  4013. description: 是否结算 - 0:未结算 1:已结算
  4014. type: integer
  4015. listingselecttype:
  4016. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4017. type: integer
  4018. marketid:
  4019. description: 市场ID
  4020. type: integer
  4021. marketname:
  4022. description: 市场名称
  4023. type: string
  4024. matchaccountid:
  4025. description: 对手账号id
  4026. type: integer
  4027. memberuserid:
  4028. description: 会员id 个人投资者 需要填写
  4029. type: integer
  4030. opencharge:
  4031. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4032. type: number
  4033. openexchagechargevalue:
  4034. description: 建仓交易所手续费设置值
  4035. type: number
  4036. openfeealgorithm:
  4037. description: 建仓手续费收取方式 1:比率 2:固定
  4038. type: integer
  4039. openmemberchargevalue:
  4040. description: 建仓会员手续费设置值
  4041. type: number
  4042. openqty:
  4043. description: 开仓数量(先建后平操作 需要记录)
  4044. type: integer
  4045. optiontype:
  4046. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4047. type: integer
  4048. orderid:
  4049. description: 委托单号
  4050. type: string
  4051. performanceplanid:
  4052. description: 履约计划ID[期权]
  4053. type: integer
  4054. performancestatus:
  4055. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4056. type: integer
  4057. preexerciseprice:
  4058. description: 预申报价格
  4059. type: number
  4060. premium:
  4061. description: 权利金 - [持仓单的权利金]
  4062. type: number
  4063. relatedouttradeid:
  4064. description: 关联外部成交单ID
  4065. type: integer
  4066. status:
  4067. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4068. type: integer
  4069. tradeamount:
  4070. description: 成交金额[账户币种,用于所有权]
  4071. type: number
  4072. tradedate:
  4073. description: 交易日(yyyyMMdd)
  4074. type: string
  4075. tradeid:
  4076. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4077. type: string
  4078. trademode:
  4079. description: 交易模式
  4080. type: integer
  4081. tradeprice:
  4082. description: 成交价格
  4083. type: number
  4084. tradeproperty:
  4085. description: 交易属性
  4086. type: integer
  4087. tradeqty:
  4088. description: 成交数量
  4089. type: integer
  4090. tradetime:
  4091. description: 成交时间
  4092. type: string
  4093. tradetype:
  4094. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4095. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4096. type: integer
  4097. required:
  4098. - accountid
  4099. - buyorsell
  4100. - goodsid
  4101. - marketid
  4102. - memberuserid
  4103. - orderid
  4104. - tradeamount
  4105. - tradedate
  4106. - tradeid
  4107. - tradeprice
  4108. - tradeqty
  4109. - tradetime
  4110. type: object
  4111. order.QueryTradeOrderDetailRsp:
  4112. properties:
  4113. accountid:
  4114. description: 账户ID[报价币种]
  4115. type: integer
  4116. buildtype:
  4117. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4118. type: integer
  4119. buyorsell:
  4120. description: 买卖 - 0:买 1:卖
  4121. type: integer
  4122. cancelorderid:
  4123. description: 撤单单号(撤单时填写)
  4124. type: string
  4125. cancelqty:
  4126. description: 撤单数量
  4127. type: integer
  4128. clienttype:
  4129. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4130. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4131. type: integer
  4132. closefreezecharge:
  4133. description: 平仓冻结手续费(先建后平操作,需要记录)
  4134. type: number
  4135. closeqty:
  4136. description: 平仓数量(先建后平操作 需要记录)
  4137. type: integer
  4138. closetradeqty:
  4139. description: 平仓成交数量(先建后平操作,需要记录)
  4140. type: integer
  4141. closeunfreezecharge:
  4142. description: 平仓解冻手续费(先建后平操作,需要记录)
  4143. type: number
  4144. delistingtype:
  4145. description: 摘牌类型 - 1:价格最优 2:点选成交
  4146. type: integer
  4147. enableqty:
  4148. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  4149. type: integer
  4150. freezecharge:
  4151. description: 冻结手续费
  4152. type: number
  4153. freezemargin:
  4154. description: 冻结保证金(冻结交易金额)
  4155. type: number
  4156. goodscode:
  4157. description: 商品代码
  4158. type: string
  4159. goodsid:
  4160. description: 商品ID
  4161. type: integer
  4162. goodsname:
  4163. description: 商品名称
  4164. type: string
  4165. listingselecttype:
  4166. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4167. type: integer
  4168. marketid:
  4169. description: 市场ID
  4170. type: integer
  4171. marketname:
  4172. description: 市场名称
  4173. type: string
  4174. openfreezecharge:
  4175. description: 开仓冻结手续费(先建后平操作,需要记录)
  4176. type: number
  4177. openqty:
  4178. description: 开仓数量(先建后平操作,需要记录)
  4179. type: integer
  4180. opentradeqty:
  4181. description: 开仓成交数量(先建后平操作,需要记录)
  4182. type: integer
  4183. openunfreezecharge:
  4184. description: 开仓解冻手续费(先建后平操作,需要记录)
  4185. type: number
  4186. operatetype:
  4187. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4188. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4189. 15:管理端协议转让
  4190. type: integer
  4191. operatorid:
  4192. description: 登录账号(LoginID)
  4193. type: integer
  4194. orderid:
  4195. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4196. type: string
  4197. orderprice:
  4198. description: 委托价格
  4199. type: number
  4200. orderqty:
  4201. description: 委托数量
  4202. type: integer
  4203. ordersrc:
  4204. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4205. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4206. type: integer
  4207. orderstatus:
  4208. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4209. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4210. 16:成交失败违约(荷兰式竞拍专用)
  4211. type: integer
  4212. ordertime:
  4213. description: 委托时间
  4214. type: string
  4215. preorderid:
  4216. description: 关联预埋单号(止盈止损单时填写)
  4217. type: string
  4218. pricemode:
  4219. description: '取价方式 - 1:市价 2: 限价'
  4220. type: integer
  4221. relatedid:
  4222. description: 关联单号(交割单)
  4223. type: string
  4224. tradedate:
  4225. description: 交易日(yyyyMMdd)
  4226. type: string
  4227. trademode:
  4228. description: 交易模式
  4229. type: integer
  4230. tradeqty:
  4231. description: 成交数量
  4232. type: integer
  4233. unfreezecharge:
  4234. description: 解冻手续费
  4235. type: number
  4236. unfreezemargin:
  4237. description: 解冻保证金
  4238. type: number
  4239. validtime:
  4240. description: 有效期限
  4241. type: string
  4242. validtype:
  4243. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4244. type: integer
  4245. volumetype:
  4246. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4247. type: integer
  4248. required:
  4249. - accountid
  4250. - buildtype
  4251. - buyorsell
  4252. - goodsid
  4253. - marketid
  4254. - operatetype
  4255. - orderqty
  4256. - ordertime
  4257. - pricemode
  4258. - tradedate
  4259. - validtype
  4260. type: object
  4261. order.QueryTradePositionRsp:
  4262. properties:
  4263. accountid:
  4264. description: 资金账户
  4265. type: integer
  4266. agreeunit:
  4267. description: 合约单位
  4268. type: number
  4269. averageprice:
  4270. description: 持仓均价
  4271. type: number
  4272. buyorsell:
  4273. description: 方向 - 0:买 1:卖
  4274. type: integer
  4275. closetotalqty:
  4276. description: 平仓总数量
  4277. type: integer
  4278. curholderamount:
  4279. description: 当前持仓总金额[商品币种]
  4280. type: number
  4281. curpositionqty:
  4282. description: 当前持仓总数量
  4283. type: integer
  4284. currencyid:
  4285. description: 报价货币ID
  4286. type: integer
  4287. curtdposition:
  4288. description: 期末今日头寸
  4289. type: integer
  4290. decimalplace:
  4291. description: 报价小数位
  4292. type: integer
  4293. enableqty:
  4294. description: 可用量
  4295. type: integer
  4296. fretdposition:
  4297. description: 冻结今日头寸
  4298. type: integer
  4299. frozenqty:
  4300. description: 持仓冻结数量
  4301. type: integer
  4302. goodscode:
  4303. description: 商品代码
  4304. type: string
  4305. goodsid:
  4306. description: 商品Id
  4307. type: integer
  4308. goodsname:
  4309. description: 商品名称
  4310. type: string
  4311. goodunit:
  4312. description: 报价单位
  4313. type: string
  4314. goodunitid:
  4315. description: 报价单位ID
  4316. type: integer
  4317. holderamount:
  4318. description: 期初持仓总金额[商品币种]
  4319. type: number
  4320. marketid:
  4321. description: 所属市场ID
  4322. type: integer
  4323. openreqqty:
  4324. description: 开仓申请数量(用于比较最大持仓数量)
  4325. type: integer
  4326. opentotalqty:
  4327. description: 开仓总数量
  4328. type: integer
  4329. otherfrozenqty:
  4330. description: 持仓其他冻结数量(交割冻结)
  4331. type: integer
  4332. positionqty:
  4333. description: 期初持仓数量
  4334. type: integer
  4335. tnqty:
  4336. description: T+N冻结总量
  4337. type: integer
  4338. tnusedqty:
  4339. description: T+N使用量(可以使用T+N的冻结数量)
  4340. type: integer
  4341. trademode:
  4342. description: 交易模式
  4343. type: integer
  4344. usedmargin:
  4345. description: 占用保证金[商品币种]
  4346. type: number
  4347. required:
  4348. - goodsid
  4349. type: object
  4350. quote.HistoryData:
  4351. properties:
  4352. c:
  4353. description: 收盘价
  4354. type: number
  4355. h:
  4356. description: 最高价
  4357. type: number
  4358. hv:
  4359. description: 持仓量
  4360. type: integer
  4361. l:
  4362. description: 最低价
  4363. type: number
  4364. o:
  4365. description: 开盘价
  4366. type: number
  4367. s:
  4368. description: 结算价,日线周期(包括)以上才有
  4369. type: number
  4370. ts:
  4371. description: 时间
  4372. type: string
  4373. tt:
  4374. description: 总金额
  4375. type: number
  4376. tv:
  4377. description: 总量
  4378. type: integer
  4379. type: object
  4380. quote.QueryTSDataRsp:
  4381. properties:
  4382. decimalPlace:
  4383. description: 小数位
  4384. type: integer
  4385. endTime:
  4386. description: 结束时间
  4387. type: string
  4388. goodsCode:
  4389. description: 商品代码
  4390. type: string
  4391. historyDatas:
  4392. description: 历史数据
  4393. items:
  4394. $ref: '#/definitions/quote.HistoryData'
  4395. type: array
  4396. preSettle:
  4397. description: 昨结
  4398. type: number
  4399. startTime:
  4400. description: 开始时间
  4401. type: string
  4402. tradeDate:
  4403. description: 交易日
  4404. type: string
  4405. type: object
  4406. szdz.QueryConvertLogRsp:
  4407. properties:
  4408. accountid:
  4409. description: 资金账户ID
  4410. type: integer
  4411. clientticket:
  4412. description: 客户端流水号
  4413. type: string
  4414. converttype:
  4415. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4416. type: integer
  4417. createtime:
  4418. description: 记账时间
  4419. type: string
  4420. daymaxvalue:
  4421. description: 配置当日最大转入限制
  4422. type: number
  4423. daymaxvalue2:
  4424. description: 配置当日最大转入限制(转入)
  4425. type: number
  4426. goodscode:
  4427. description: 商品代码
  4428. type: string
  4429. goodsname:
  4430. description: 商品名称
  4431. type: string
  4432. handlestatus:
  4433. description: 处理状态
  4434. type: integer
  4435. innergoodsid:
  4436. description: 内部商品ID
  4437. type: integer
  4438. inratio:
  4439. description: 配置转入比值
  4440. type: integer
  4441. invalue:
  4442. description: 目标值
  4443. type: number
  4444. logid:
  4445. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4446. type: integer
  4447. mobile:
  4448. description: 手机号码(加密存储)
  4449. type: string
  4450. outergoodscode:
  4451. description: 外部商品代码[JD\PD]
  4452. type: string
  4453. outratio:
  4454. description: 配置转出比值
  4455. type: integer
  4456. outvalue:
  4457. description: 源值
  4458. type: number
  4459. pddecimalplace:
  4460. description: PD小数位
  4461. type: integer
  4462. qty:
  4463. description: 数量
  4464. type: string
  4465. remark:
  4466. description: 备注
  4467. type: string
  4468. sessionid:
  4469. description: 会话ID
  4470. type: integer
  4471. timemaxvalue:
  4472. description: 配置单次最大转入限制
  4473. type: number
  4474. timemaxvalue2:
  4475. description: 配置单次最大转入限制(转入)
  4476. type: number
  4477. timeminvalue:
  4478. description: 配置单次最小数量限制
  4479. type: number
  4480. timeminvalue2:
  4481. description: 配置单次最小数量限制(转入)
  4482. type: number
  4483. tradedate:
  4484. description: 交易日(yyyyMMdd)
  4485. type: string
  4486. userid:
  4487. description: 用户ID
  4488. type: integer
  4489. required:
  4490. - logid
  4491. type: object
  4492. szdz.QueryGoodsPickupRsp:
  4493. properties:
  4494. accountid:
  4495. description: 账户ID
  4496. type: integer
  4497. address:
  4498. description: 提货人详细地址
  4499. type: string
  4500. auditer:
  4501. description: 审核人
  4502. type: integer
  4503. audittime:
  4504. description: 审核时间
  4505. type: string
  4506. cardnum:
  4507. description: 提货人证件号码
  4508. type: string
  4509. cardtypeid:
  4510. description: 提货人证件类型
  4511. type: integer
  4512. checkremark:
  4513. description: 审核备注
  4514. type: string
  4515. goodscode:
  4516. description: 商品代码
  4517. type: string
  4518. goodsid:
  4519. description: 商品ID
  4520. type: integer
  4521. goodsname:
  4522. description: 商品名称
  4523. type: string
  4524. handlestatus:
  4525. description: 处理状态
  4526. type: integer
  4527. marketid:
  4528. description: 市场ID
  4529. type: integer
  4530. phonenum:
  4531. description: 提货人联系方式
  4532. type: string
  4533. qty:
  4534. description: 提货数量
  4535. type: number
  4536. recivername:
  4537. description: 提货人姓名
  4538. type: string
  4539. reqtime:
  4540. description: 更新时间
  4541. type: string
  4542. takemode:
  4543. description: 提货方式 - 2:自提 3:配送
  4544. type: integer
  4545. takeorderid:
  4546. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4547. type: string
  4548. takeorderstatus:
  4549. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4550. type: integer
  4551. takeremark:
  4552. description: 提货备注
  4553. type: string
  4554. tradedate:
  4555. description: 交易日(yyyyMMdd)
  4556. type: string
  4557. userid:
  4558. description: 用户ID
  4559. type: integer
  4560. required:
  4561. - takeorderid
  4562. type: object
  4563. szdz.QueryRecieptOrderRsp:
  4564. properties:
  4565. accountName:
  4566. description: 所属账号名称(已脱敏)
  4567. type: string
  4568. accountid:
  4569. description: 资金账号
  4570. type: integer
  4571. buyorsell:
  4572. description: 方向 - 0:买 1:卖
  4573. type: integer
  4574. enableqty:
  4575. description: 可摘数量
  4576. type: integer
  4577. goodscode:
  4578. description: 商品代码
  4579. type: string
  4580. goodsid:
  4581. description: 商品ID
  4582. type: integer
  4583. goodsname:
  4584. description: 商品名称
  4585. type: string
  4586. orderid:
  4587. description: 委托单号
  4588. type: string
  4589. orderprice:
  4590. description: 委托价格
  4591. type: number
  4592. ordertime:
  4593. description: 委托时间
  4594. type: string
  4595. tradedate:
  4596. description: 交易日(yyyyMMdd)
  4597. type: string
  4598. required:
  4599. - ordertime
  4600. type: object
  4601. szdz.QuerySZDZTradePositionRsp:
  4602. properties:
  4603. accountid:
  4604. description: 账号Id
  4605. type: integer
  4606. agreeunit:
  4607. description: 合约单位
  4608. type: number
  4609. averageprice:
  4610. description: 持仓均价
  4611. type: number
  4612. buyorsell:
  4613. description: 方向 - 0:买 1:卖
  4614. type: integer
  4615. closetotalqty:
  4616. description: 平仓总数量
  4617. type: integer
  4618. curholderamount:
  4619. description: 当前持仓总金额
  4620. type: number
  4621. curpositionqty:
  4622. description: 当前持仓总数量
  4623. type: integer
  4624. currencyid:
  4625. description: 报价货币ID
  4626. type: integer
  4627. curtdposition:
  4628. description: 期末今日头寸
  4629. type: integer
  4630. decimalplace:
  4631. description: 报价小数位
  4632. type: integer
  4633. enableqty:
  4634. description: 可用量
  4635. type: integer
  4636. fretdposition:
  4637. description: 冻结今日头寸
  4638. type: integer
  4639. frozenqty:
  4640. description: 持仓冻结数量
  4641. type: integer
  4642. goodscode:
  4643. description: 商品代码(内部)
  4644. type: string
  4645. goodsid:
  4646. description: 商品Id
  4647. type: integer
  4648. goodsname:
  4649. description: 商品名称
  4650. type: string
  4651. goodunit:
  4652. description: 报价单位
  4653. type: string
  4654. goodunitid:
  4655. description: 报价单位ID
  4656. type: integer
  4657. holderamount:
  4658. description: 期初持仓总金额
  4659. type: number
  4660. marketid:
  4661. description: 市场ID
  4662. type: integer
  4663. openreqqty:
  4664. description: 开仓申请数量
  4665. type: integer
  4666. opentotalqty:
  4667. description: 开仓总数量
  4668. type: integer
  4669. otherfrozenqty:
  4670. description: 持仓其他冻结数量(交割冻结)
  4671. type: integer
  4672. positionqty:
  4673. description: 期初持仓数量
  4674. type: integer
  4675. szdz3freezqty:
  4676. description: 尚志大宗转换冻结总数量
  4677. type: integer
  4678. tnqty:
  4679. description: T+N冻结总量
  4680. type: integer
  4681. tnusedqty:
  4682. description: T+N使用量
  4683. type: integer
  4684. trademode:
  4685. description: 交易模式
  4686. type: integer
  4687. usedmargin:
  4688. description: 占用保证金
  4689. type: number
  4690. type: object
  4691. taaccount.QueryAmountLogRsp:
  4692. properties:
  4693. OPERATETYPENAME:
  4694. description: 资金操作类型名称
  4695. type: string
  4696. accountid:
  4697. description: 资金账户ID
  4698. type: integer
  4699. agoodscode:
  4700. description: 竞拍商品代码
  4701. type: string
  4702. agoodsname:
  4703. description: 竞拍商品名称
  4704. type: string
  4705. amount:
  4706. description: 资金金额
  4707. type: number
  4708. amountadjusttype:
  4709. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4710. type: integer
  4711. autoid:
  4712. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4713. type: integer
  4714. balance:
  4715. description: 期初余额
  4716. type: number
  4717. businesscode:
  4718. description: 业务编号
  4719. type: integer
  4720. createtime:
  4721. description: 发生时间
  4722. type: string
  4723. currencyid:
  4724. description: 币种ID
  4725. type: integer
  4726. currentbalance:
  4727. description: 期末余额(变动后金额)
  4728. type: number
  4729. dgoodscode:
  4730. description: 交割商品代码
  4731. type: string
  4732. dgoodsname:
  4733. description: 交割商品名称
  4734. type: string
  4735. goodscode:
  4736. description: 商品代码
  4737. type: string
  4738. goodsid:
  4739. description: 商品ID
  4740. type: integer
  4741. goodsname:
  4742. description: 商品名称
  4743. type: string
  4744. marketid:
  4745. description: 市场ID
  4746. type: integer
  4747. marketname:
  4748. description: 市场名称
  4749. type: string
  4750. moneyticket:
  4751. description: 资金流水号:银行端流水号
  4752. type: integer
  4753. operatetype:
  4754. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4755. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4756. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4757. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4758. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4759. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4760. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4761. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4762. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4763. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4764. type: integer
  4765. relationorderid:
  4766. description: 关联单号
  4767. type: string
  4768. remark:
  4769. description: 备注
  4770. type: string
  4771. trademode:
  4772. description: 交易模式
  4773. type: integer
  4774. required:
  4775. - accountid
  4776. - amount
  4777. - amountadjusttype
  4778. - autoid
  4779. - balance
  4780. - createtime
  4781. - currentbalance
  4782. - operatetype
  4783. type: object
  4784. taaccount.QueryHisAmountLogRsp:
  4785. properties:
  4786. OPERATETYPENAME:
  4787. description: 资金操作类型名称
  4788. type: string
  4789. accountid:
  4790. description: 资金账户ID
  4791. type: integer
  4792. agoodscode:
  4793. description: 竞拍商品代码
  4794. type: string
  4795. agoodsname:
  4796. description: 竞拍商品名称
  4797. type: string
  4798. amount:
  4799. description: 资金金额
  4800. type: number
  4801. amountadjusttype:
  4802. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4803. type: integer
  4804. autoid:
  4805. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4806. type: integer
  4807. balance:
  4808. description: 期初余额
  4809. type: number
  4810. businesscode:
  4811. description: 业务编号
  4812. type: integer
  4813. createtime:
  4814. description: 发生时间
  4815. type: string
  4816. currencyid:
  4817. description: 币种ID
  4818. type: integer
  4819. currentbalance:
  4820. description: 期末余额(变动后金额)
  4821. type: number
  4822. dgoodscode:
  4823. description: 交割商品代码
  4824. type: string
  4825. dgoodsname:
  4826. description: 交割商品名称
  4827. type: string
  4828. goodscode:
  4829. description: 商品代码
  4830. type: string
  4831. goodsid:
  4832. description: 商品ID
  4833. type: integer
  4834. goodsname:
  4835. description: 商品名称
  4836. type: string
  4837. histradedate:
  4838. description: 历史交易日
  4839. type: string
  4840. isvaliddata:
  4841. description: 是否有效 - 0:无效 1:有效
  4842. type: integer
  4843. marketid:
  4844. description: 市场ID
  4845. type: integer
  4846. marketname:
  4847. description: 市场名称
  4848. type: string
  4849. moneyticket:
  4850. description: 资金流水号:银行端流水号
  4851. type: integer
  4852. operatetype:
  4853. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4854. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4855. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4856. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4857. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4858. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4859. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4860. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4861. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4862. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4863. type: integer
  4864. relationorderid:
  4865. description: 关联单号
  4866. type: string
  4867. remark:
  4868. description: 备注
  4869. type: string
  4870. trademode:
  4871. description: 交易模式
  4872. type: integer
  4873. required:
  4874. - accountid
  4875. - amount
  4876. - amountadjusttype
  4877. - autoid
  4878. - balance
  4879. - createtime
  4880. - currentbalance
  4881. - histradedate
  4882. - operatetype
  4883. type: object
  4884. trade.QueryRecieptOrderRsp:
  4885. properties:
  4886. accountName:
  4887. description: 所属账号名称(已脱敏)
  4888. type: string
  4889. accountid:
  4890. description: 资金账号
  4891. type: integer
  4892. buyorsell:
  4893. description: 方向 - 0:买 1:卖
  4894. type: integer
  4895. enableqty:
  4896. description: 可摘数量
  4897. type: integer
  4898. goodscode:
  4899. description: 商品代码
  4900. type: string
  4901. goodsid:
  4902. description: 商品ID
  4903. type: integer
  4904. goodsname:
  4905. description: 商品名称
  4906. type: string
  4907. orderid:
  4908. description: 委托单号
  4909. type: string
  4910. orderprice:
  4911. description: 委托价格
  4912. type: number
  4913. ordertime:
  4914. description: 委托时间
  4915. type: string
  4916. tradedate:
  4917. description: 交易日(yyyyMMdd)
  4918. type: string
  4919. required:
  4920. - ordertime
  4921. type: object
  4922. info:
  4923. contact: {}
  4924. description: 新的查询服务,替代原通用查询服务。
  4925. termsOfService: http://muchinfo.cn
  4926. title: MTP2.0 查询服务 API
  4927. version: "1.0"
  4928. paths:
  4929. /CPTrade/QueryCPTradeMyBidInfos:
  4930. get:
  4931. parameters:
  4932. - description: 资金账户
  4933. in: query
  4934. name: accountid
  4935. required: true
  4936. type: integer
  4937. - description: 预售市场ID
  4938. in: query
  4939. name: marketid
  4940. type: integer
  4941. - description: 预售商品ID
  4942. in: query
  4943. name: goodsid
  4944. type: integer
  4945. produces:
  4946. - application/json
  4947. responses:
  4948. "200":
  4949. description: OK
  4950. schema:
  4951. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  4952. "500":
  4953. description: Internal Server Error
  4954. schema:
  4955. $ref: '#/definitions/app.Response'
  4956. security:
  4957. - ApiKeyAuth: []
  4958. summary: 查询产能预售我的出价信息
  4959. tags:
  4960. - 产能预售
  4961. /CPTrade/QueryCPTradeOrderDetail:
  4962. get:
  4963. parameters:
  4964. - description: 预售商品ID
  4965. in: query
  4966. name: goodsid
  4967. type: integer
  4968. - description: 预售市场ID
  4969. in: query
  4970. name: marketid
  4971. type: integer
  4972. - description: 预售商品ID列表 - 格式:1,2,3
  4973. in: query
  4974. name: goodsids
  4975. type: string
  4976. produces:
  4977. - application/json
  4978. responses:
  4979. "200":
  4980. description: OK
  4981. schema:
  4982. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  4983. "500":
  4984. description: Internal Server Error
  4985. schema:
  4986. $ref: '#/definitions/app.Response'
  4987. security:
  4988. - ApiKeyAuth: []
  4989. summary: 查询产能预售委托单信息
  4990. tags:
  4991. - 产能预售
  4992. /CPTrade/QueryMyCPTradeGoods:
  4993. get:
  4994. parameters:
  4995. - description: 资金账户
  4996. in: query
  4997. name: accountid
  4998. required: true
  4999. type: integer
  5000. produces:
  5001. - application/json
  5002. responses:
  5003. "200":
  5004. description: OK
  5005. schema:
  5006. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  5007. "500":
  5008. description: Internal Server Error
  5009. schema:
  5010. $ref: '#/definitions/app.Response'
  5011. security:
  5012. - ApiKeyAuth: []
  5013. summary: 查询我的预售信息
  5014. tags:
  5015. - 产能预售
  5016. /CPTrade/QueryPositionCancel:
  5017. get:
  5018. parameters:
  5019. - description: 账户ID
  5020. in: query
  5021. name: userid
  5022. required: true
  5023. type: integer
  5024. - description: 注销ID
  5025. in: query
  5026. name: cancelid
  5027. type: integer
  5028. - description: 资金账户ID
  5029. in: query
  5030. name: accountid
  5031. type: integer
  5032. produces:
  5033. - application/json
  5034. responses:
  5035. "200":
  5036. description: OK
  5037. schema:
  5038. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  5039. "500":
  5040. description: Internal Server Error
  5041. schema:
  5042. $ref: '#/definitions/app.Response'
  5043. security:
  5044. - ApiKeyAuth: []
  5045. summary: 查询远期订单注销申请信息
  5046. tags:
  5047. - 产能预售
  5048. /CPTrade/QueryPreasleApply:
  5049. get:
  5050. parameters:
  5051. - description: 账户ID
  5052. in: query
  5053. name: userid
  5054. required: true
  5055. type: integer
  5056. - description: 申请ID
  5057. in: query
  5058. name: applyid
  5059. type: integer
  5060. - description: 资金账户ID
  5061. in: query
  5062. name: accountid
  5063. type: integer
  5064. produces:
  5065. - application/json
  5066. responses:
  5067. "200":
  5068. description: OK
  5069. schema:
  5070. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  5071. "500":
  5072. description: Internal Server Error
  5073. schema:
  5074. $ref: '#/definitions/app.Response'
  5075. security:
  5076. - ApiKeyAuth: []
  5077. summary: 查询产能预售申请信息
  5078. tags:
  5079. - 产能预售
  5080. /CPTrade/QueryPresaleGoodsEx:
  5081. get:
  5082. parameters:
  5083. - description: 预售商品ID
  5084. in: query
  5085. name: goodsid
  5086. type: integer
  5087. - description: 预售市场ID
  5088. in: query
  5089. name: marketid
  5090. type: integer
  5091. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  5092. in: query
  5093. name: presalemode
  5094. type: integer
  5095. - description: 预售商品ID列表 - 格式:1,2,3
  5096. in: query
  5097. name: goodsids
  5098. type: string
  5099. - description: 预售商品代码
  5100. in: query
  5101. name: goodscode
  5102. type: string
  5103. produces:
  5104. - application/json
  5105. responses:
  5106. "200":
  5107. description: OK
  5108. schema:
  5109. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  5110. "500":
  5111. description: Internal Server Error
  5112. schema:
  5113. $ref: '#/definitions/app.Response'
  5114. security:
  5115. - ApiKeyAuth: []
  5116. summary: 查询产能预售商品扩展信息
  5117. tags:
  5118. - 产能预售
  5119. /CPTrade/QueryUserGoodsData:
  5120. get:
  5121. parameters:
  5122. - description: 资金账户ID
  5123. in: query
  5124. name: accountid
  5125. required: true
  5126. type: integer
  5127. produces:
  5128. - application/json
  5129. responses:
  5130. "200":
  5131. description: OK
  5132. schema:
  5133. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  5134. "500":
  5135. description: Internal Server Error
  5136. schema:
  5137. $ref: '#/definitions/app.Response'
  5138. security:
  5139. - ApiKeyAuth: []
  5140. summary: 查询远期订单信息
  5141. tags:
  5142. - 产能预售
  5143. /Common/GetAllEnums:
  5144. get:
  5145. produces:
  5146. - application/json
  5147. responses:
  5148. "200":
  5149. description: OK
  5150. schema:
  5151. $ref: '#/definitions/models.Enumdicitem'
  5152. "500":
  5153. description: Internal Server Error
  5154. schema:
  5155. $ref: '#/definitions/app.Response'
  5156. summary: 获取所有枚举信息
  5157. tags:
  5158. - 通用服务
  5159. /Common/NoticeReaded:
  5160. post:
  5161. parameters:
  5162. - description: 登录账号
  5163. in: query
  5164. name: loginID
  5165. required: true
  5166. type: integer
  5167. - description: 通知公告ID
  5168. in: query
  5169. name: noticeID
  5170. required: true
  5171. type: integer
  5172. produces:
  5173. - application/json
  5174. responses:
  5175. "200":
  5176. description: OK
  5177. schema:
  5178. $ref: '#/definitions/app.Response'
  5179. "500":
  5180. description: Internal Server Error
  5181. schema:
  5182. $ref: '#/definitions/app.Response'
  5183. security:
  5184. - ApiKeyAuth: []
  5185. summary: 通知公告设置已读请求
  5186. tags:
  5187. - 通用服务
  5188. /Common/QueryImageConfigs:
  5189. get:
  5190. parameters:
  5191. - description: 类型 - 1:App首页轮播 2:我的
  5192. in: query
  5193. name: imageType
  5194. type: integer
  5195. produces:
  5196. - application/json
  5197. responses:
  5198. "200":
  5199. description: OK
  5200. schema:
  5201. $ref: '#/definitions/models.Szdz2imageconfig'
  5202. "500":
  5203. description: Internal Server Error
  5204. schema:
  5205. $ref: '#/definitions/app.Response'
  5206. summary: 查询轮播图配置信息
  5207. tags:
  5208. - 通用服务
  5209. /Common/QueryNotice:
  5210. get:
  5211. parameters:
  5212. - description: 页码
  5213. in: query
  5214. name: page
  5215. type: integer
  5216. - description: 每页条数
  5217. in: query
  5218. name: pagesize
  5219. type: integer
  5220. - description: 登录账号
  5221. in: query
  5222. name: loginID
  5223. required: true
  5224. type: integer
  5225. - description: 消息类型 - 1:公告通知 2:系统消息
  5226. in: query
  5227. name: msgType
  5228. type: integer
  5229. - description: 是否只获取未读信息
  5230. in: query
  5231. name: onlyUnRead
  5232. type: boolean
  5233. produces:
  5234. - application/json
  5235. responses:
  5236. "200":
  5237. description: OK
  5238. schema:
  5239. $ref: '#/definitions/common.QueryNoticeRsp'
  5240. "500":
  5241. description: Internal Server Error
  5242. schema:
  5243. $ref: '#/definitions/app.Response'
  5244. security:
  5245. - ApiKeyAuth: []
  5246. summary: 通知公告系统消息查询
  5247. tags:
  5248. - 通用服务
  5249. /Common/QueryProvincesAndCities:
  5250. get:
  5251. parameters:
  5252. - description: 省ID
  5253. in: query
  5254. name: provinceID
  5255. type: integer
  5256. produces:
  5257. - application/json
  5258. responses:
  5259. "200":
  5260. description: OK
  5261. schema:
  5262. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  5263. "500":
  5264. description: Internal Server Error
  5265. schema:
  5266. $ref: '#/definitions/app.Response'
  5267. summary: 查询省市信息(不包括区)
  5268. tags:
  5269. - 通用服务
  5270. /Common/QueryTableDefine:
  5271. get:
  5272. parameters:
  5273. - description: 表key
  5274. in: query
  5275. name: TableKey
  5276. type: string
  5277. produces:
  5278. - application/json
  5279. responses:
  5280. "200":
  5281. description: OK
  5282. schema:
  5283. $ref: '#/definitions/common.QueryTableDefineRsp'
  5284. "500":
  5285. description: Internal Server Error
  5286. schema:
  5287. $ref: '#/definitions/app.Response'
  5288. summary: 查询交易端列表头信息
  5289. tags:
  5290. - 通用服务
  5291. /Common/QueryTraderMenu:
  5292. get:
  5293. parameters:
  5294. - description: 登录账号
  5295. in: query
  5296. name: loginid
  5297. required: true
  5298. type: integer
  5299. produces:
  5300. - application/json
  5301. responses:
  5302. "200":
  5303. description: OK
  5304. schema:
  5305. $ref: '#/definitions/common.QueryTraderMenuRsp'
  5306. "500":
  5307. description: Internal Server Error
  5308. schema:
  5309. $ref: '#/definitions/app.Response'
  5310. summary: 查询交易端菜单
  5311. tags:
  5312. - 通用服务
  5313. /Delivery/QueryDeliveryRelation:
  5314. get:
  5315. parameters:
  5316. - description: 商品ID
  5317. in: query
  5318. name: goodsid
  5319. type: integer
  5320. - description: 品种ID
  5321. in: query
  5322. name: deliverygoodsid
  5323. type: integer
  5324. - description: 市场ID
  5325. in: query
  5326. name: marketid
  5327. type: integer
  5328. produces:
  5329. - application/json
  5330. responses:
  5331. "200":
  5332. description: OK
  5333. schema:
  5334. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  5335. "500":
  5336. description: Internal Server Error
  5337. schema:
  5338. $ref: '#/definitions/app.Response'
  5339. security:
  5340. - ApiKeyAuth: []
  5341. summary: 查询商品交割关系表
  5342. tags:
  5343. - 交割服务
  5344. /Erms2/QueryArbitrageStrategy:
  5345. get:
  5346. parameters:
  5347. - description: 账户ID
  5348. in: query
  5349. name: userid
  5350. required: true
  5351. type: integer
  5352. - description: 商品组ID(品种ID)
  5353. in: query
  5354. name: goodsgroupid
  5355. type: string
  5356. produces:
  5357. - application/json
  5358. responses:
  5359. "200":
  5360. description: OK
  5361. schema:
  5362. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  5363. "500":
  5364. description: Internal Server Error
  5365. schema:
  5366. $ref: '#/definitions/app.Response'
  5367. security:
  5368. - ApiKeyAuth: []
  5369. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  5370. tags:
  5371. - 风险管理
  5372. /Erms2/QueryInnerTradeDetail:
  5373. get:
  5374. parameters:
  5375. - description: 资金账户
  5376. in: query
  5377. name: accountid
  5378. required: true
  5379. type: integer
  5380. produces:
  5381. - application/json
  5382. responses:
  5383. "200":
  5384. description: OK
  5385. schema:
  5386. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  5387. "500":
  5388. description: Internal Server Error
  5389. schema:
  5390. $ref: '#/definitions/app.Response'
  5391. security:
  5392. - ApiKeyAuth: []
  5393. summary: 查询内部成交单信息
  5394. tags:
  5395. - 风险管理
  5396. /Erms2/QuerySpotContract:
  5397. get:
  5398. parameters:
  5399. - description: 策略申请ID
  5400. in: query
  5401. name: asapplyid
  5402. required: true
  5403. type: integer
  5404. - description: 现货合同ID
  5405. in: query
  5406. name: spotcontractid
  5407. type: integer
  5408. produces:
  5409. - application/json
  5410. responses:
  5411. "200":
  5412. description: OK
  5413. schema:
  5414. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5415. "500":
  5416. description: Internal Server Error
  5417. schema:
  5418. $ref: '#/definitions/app.Response'
  5419. security:
  5420. - ApiKeyAuth: []
  5421. summary: 查询现货合同表信息(指定策略ID、未结束的)
  5422. tags:
  5423. - 风险管理
  5424. /Erms3/AddErms2ASApply:
  5425. post:
  5426. parameters:
  5427. - description: 申请参数
  5428. in: body
  5429. name: jsonBody
  5430. required: true
  5431. schema:
  5432. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  5433. produces:
  5434. - application/json
  5435. responses:
  5436. "200":
  5437. description: OK
  5438. schema:
  5439. $ref: '#/definitions/app.Response'
  5440. "500":
  5441. description: Internal Server Error
  5442. schema:
  5443. $ref: '#/definitions/app.Response'
  5444. security:
  5445. - ApiKeyAuth: []
  5446. summary: 新增期现套利业务申请
  5447. tags:
  5448. - 风险管理v3
  5449. /Erms3/AddErms2SpotTradeApply:
  5450. post:
  5451. parameters:
  5452. - description: 申请参数
  5453. in: body
  5454. name: jsonBody
  5455. required: true
  5456. schema:
  5457. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  5458. produces:
  5459. - application/json
  5460. responses:
  5461. "200":
  5462. description: OK
  5463. schema:
  5464. $ref: '#/definitions/app.Response'
  5465. "500":
  5466. description: Internal Server Error
  5467. schema:
  5468. $ref: '#/definitions/app.Response'
  5469. security:
  5470. - ApiKeyAuth: []
  5471. summary: 新增现货贸易业务申请
  5472. tags:
  5473. - 风险管理v3
  5474. /Erms3/AddSpotContractApply:
  5475. post:
  5476. parameters:
  5477. - description: 申请参数
  5478. in: body
  5479. name: jsonBody
  5480. required: true
  5481. schema:
  5482. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  5483. produces:
  5484. - application/json
  5485. responses:
  5486. "200":
  5487. description: OK
  5488. schema:
  5489. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  5490. "500":
  5491. description: Internal Server Error
  5492. schema:
  5493. $ref: '#/definitions/app.Response'
  5494. security:
  5495. - ApiKeyAuth: []
  5496. summary: 新增现货合同申请
  5497. tags:
  5498. - 风险管理v3
  5499. /Erms3/AddUserInfoApply:
  5500. post:
  5501. parameters:
  5502. - description: 申请参数
  5503. in: body
  5504. name: jsonBody
  5505. required: true
  5506. schema:
  5507. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  5508. produces:
  5509. - application/json
  5510. responses:
  5511. "200":
  5512. description: OK
  5513. schema:
  5514. $ref: '#/definitions/app.Response'
  5515. "500":
  5516. description: Internal Server Error
  5517. schema:
  5518. $ref: '#/definitions/app.Response'
  5519. security:
  5520. - ApiKeyAuth: []
  5521. summary: 新增客户申请
  5522. tags:
  5523. - 风险管理v3
  5524. /Erms3/QueryBusinessInfo:
  5525. get:
  5526. parameters:
  5527. - description: 资金账号ID列表,用逗号分隔
  5528. in: query
  5529. name: accountids
  5530. required: true
  5531. type: string
  5532. - description: 状态,0为未结束 1为已结束
  5533. in: query
  5534. name: status
  5535. required: true
  5536. type: integer
  5537. produces:
  5538. - application/json
  5539. responses:
  5540. "200":
  5541. description: OK
  5542. schema:
  5543. items:
  5544. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  5545. type: array
  5546. "500":
  5547. description: Internal Server Error
  5548. schema:
  5549. $ref: '#/definitions/app.Response'
  5550. security:
  5551. - ApiKeyAuth: []
  5552. summary: 查询业务表单数据
  5553. tags:
  5554. - 风险管理v3
  5555. /Erms3/QueryPendingAuditContract:
  5556. get:
  5557. parameters:
  5558. - description: 资金账号ID列表,逗号隔开
  5559. in: query
  5560. name: accountids
  5561. required: true
  5562. type: string
  5563. - description: 合同类型 1-采购 -1-销售
  5564. in: query
  5565. name: contracttype
  5566. required: true
  5567. type: integer
  5568. - description: 合同模式 1-普通 2-回购
  5569. in: query
  5570. name: contractmode
  5571. required: true
  5572. type: integer
  5573. produces:
  5574. - application/json
  5575. responses:
  5576. "200":
  5577. description: OK
  5578. schema:
  5579. items:
  5580. $ref: '#/definitions/erms3.QryAuditContractRsp'
  5581. type: array
  5582. "500":
  5583. description: Internal Server Error
  5584. schema:
  5585. $ref: '#/definitions/app.Response'
  5586. security:
  5587. - ApiKeyAuth: []
  5588. summary: 查询待审核合同
  5589. tags:
  5590. - 风险管理v3
  5591. /Erms3/QueryPendingBusiness:
  5592. get:
  5593. parameters:
  5594. - description: 资金账号ID列表,逗号隔开
  5595. in: query
  5596. name: accountids
  5597. required: true
  5598. type: string
  5599. produces:
  5600. - application/json
  5601. responses:
  5602. "200":
  5603. description: OK
  5604. schema:
  5605. items:
  5606. $ref: '#/definitions/erms3.QryPendingBizRsp'
  5607. type: array
  5608. "500":
  5609. description: Internal Server Error
  5610. schema:
  5611. $ref: '#/definitions/app.Response'
  5612. security:
  5613. - ApiKeyAuth: []
  5614. summary: 查询待审核基差贸易业务
  5615. tags:
  5616. - 风险管理v3
  5617. /Erms3/QuerySpotContractAppleForm:
  5618. get:
  5619. parameters:
  5620. - description: 登录账号
  5621. in: query
  5622. name: loginID
  5623. required: true
  5624. type: integer
  5625. produces:
  5626. - application/json
  5627. responses:
  5628. "200":
  5629. description: OK
  5630. schema:
  5631. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  5632. "500":
  5633. description: Internal Server Error
  5634. schema:
  5635. $ref: '#/definitions/app.Response'
  5636. security:
  5637. - ApiKeyAuth: []
  5638. summary: 查询合同申请表单数据
  5639. tags:
  5640. - 风险管理v3
  5641. /Erms3/QuerySpotContractDetail:
  5642. get:
  5643. parameters:
  5644. - description: 资金账号ID列表,用逗号分隔
  5645. in: query
  5646. name: accountids
  5647. required: true
  5648. type: string
  5649. - description: 合同类型,1为采购合同 -1为销售合同
  5650. in: query
  5651. name: contracttype
  5652. required: true
  5653. type: integer
  5654. - description: 合同模式,1为普通合同 2为回购销售合同
  5655. in: query
  5656. name: contractmode
  5657. required: true
  5658. type: integer
  5659. - description: 状态,0为履约中 1为已完成
  5660. in: query
  5661. name: status
  5662. required: true
  5663. type: integer
  5664. produces:
  5665. - application/json
  5666. responses:
  5667. "200":
  5668. description: OK
  5669. schema:
  5670. items:
  5671. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  5672. type: array
  5673. "500":
  5674. description: Internal Server Error
  5675. schema:
  5676. $ref: '#/definitions/app.Response'
  5677. security:
  5678. - ApiKeyAuth: []
  5679. summary: 查询合同详细信息
  5680. tags:
  5681. - 风险管理v3
  5682. /Erms3/QueryUserInfoApplies:
  5683. get:
  5684. parameters:
  5685. - description: 页码
  5686. in: query
  5687. name: page
  5688. type: integer
  5689. - description: 每页条数
  5690. in: query
  5691. name: pagesize
  5692. type: integer
  5693. - description: 客户名称,支持模糊查询
  5694. in: query
  5695. name: userName
  5696. type: string
  5697. produces:
  5698. - application/json
  5699. responses:
  5700. "200":
  5701. description: OK
  5702. schema:
  5703. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  5704. "500":
  5705. description: Internal Server Error
  5706. schema:
  5707. $ref: '#/definitions/app.Response'
  5708. security:
  5709. - ApiKeyAuth: []
  5710. summary: 客户申请信息查询
  5711. tags:
  5712. - 风险管理v3
  5713. /Erms3/QueryUserInfos:
  5714. get:
  5715. parameters:
  5716. - description: 页码
  5717. in: query
  5718. name: page
  5719. type: integer
  5720. - description: 每页条数
  5721. in: query
  5722. name: pagesize
  5723. type: integer
  5724. - description: 客户名称,支持模糊查询
  5725. in: query
  5726. name: userName
  5727. type: string
  5728. produces:
  5729. - application/json
  5730. responses:
  5731. "200":
  5732. description: OK
  5733. schema:
  5734. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  5735. "500":
  5736. description: Internal Server Error
  5737. schema:
  5738. $ref: '#/definitions/app.Response'
  5739. security:
  5740. - ApiKeyAuth: []
  5741. summary: 客户信息查询
  5742. tags:
  5743. - 风险管理v3
  5744. /HSBY/GetHsbyMyCount:
  5745. get:
  5746. description: 说明: 不包括已完成的数量。
  5747. parameters:
  5748. - description: 资金账户列表,格式:1,2,3
  5749. in: query
  5750. name: accountIDs
  5751. required: true
  5752. type: string
  5753. produces:
  5754. - application/json
  5755. responses:
  5756. "200":
  5757. description: OK
  5758. schema:
  5759. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  5760. "500":
  5761. description: Internal Server Error
  5762. schema:
  5763. $ref: '#/definitions/app.Response'
  5764. security:
  5765. - ApiKeyAuth: []
  5766. summary: 获取我的订单与包裹数量
  5767. tags:
  5768. - 定制【海商报业】
  5769. /HSBY/QueryHsbyBuyMyTradeDetail:
  5770. get:
  5771. parameters:
  5772. - description: 页码
  5773. in: query
  5774. name: page
  5775. type: integer
  5776. - description: 每页条数
  5777. in: query
  5778. name: pagesize
  5779. type: integer
  5780. - description: 资金账户列表,格式:1,2,3
  5781. in: query
  5782. name: accountIDs
  5783. required: true
  5784. type: string
  5785. produces:
  5786. - application/json
  5787. responses:
  5788. "200":
  5789. description: OK
  5790. schema:
  5791. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  5792. "500":
  5793. description: Internal Server Error
  5794. schema:
  5795. $ref: '#/definitions/app.Response'
  5796. security:
  5797. - ApiKeyAuth: []
  5798. summary: 查询"我的订单 - 已完成"单据信息
  5799. tags:
  5800. - 定制【海商报业】
  5801. /HSBY/QueryHsbyGoodsOrderDetails:
  5802. get:
  5803. description: 说明:查询结果已按委托价格和委托时间排序
  5804. parameters:
  5805. - description: 商品ID
  5806. in: query
  5807. name: goodsID
  5808. required: true
  5809. type: integer
  5810. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  5811. in: query
  5812. name: accountIDs
  5813. required: true
  5814. type: string
  5815. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  5816. in: query
  5817. name: buyOrSell
  5818. type: integer
  5819. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  5820. in: query
  5821. name: price
  5822. type: number
  5823. - description: 档位,不传则默认为3档
  5824. in: query
  5825. name: speed
  5826. type: integer
  5827. produces:
  5828. - application/json
  5829. responses:
  5830. "200":
  5831. description: OK
  5832. schema:
  5833. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  5834. "500":
  5835. description: Internal Server Error
  5836. schema:
  5837. $ref: '#/definitions/app.Response'
  5838. security:
  5839. - ApiKeyAuth: []
  5840. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  5841. tags:
  5842. - 定制【海商报业】
  5843. /HSBY/QueryHsbyListingGoodsDetail:
  5844. get:
  5845. parameters:
  5846. - description: 商品ID
  5847. in: query
  5848. name: goodsID
  5849. required: true
  5850. type: integer
  5851. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  5852. in: query
  5853. name: AccountID
  5854. type: integer
  5855. produces:
  5856. - application/json
  5857. responses:
  5858. "200":
  5859. description: OK
  5860. schema:
  5861. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  5862. "500":
  5863. description: Internal Server Error
  5864. schema:
  5865. $ref: '#/definitions/app.Response'
  5866. security:
  5867. - ApiKeyAuth: []
  5868. summary: 查询二级市场(挂牌点选)商品信息详情
  5869. tags:
  5870. - 定制【海商报业】
  5871. /HSBY/QueryHsbyMyBuyOrderDetails:
  5872. get:
  5873. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  5874. parameters:
  5875. - description: 资金账户列表,格式:1,2,3
  5876. in: query
  5877. name: accountIDs
  5878. required: true
  5879. type: string
  5880. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  5881. in: query
  5882. name: myBuyStatus
  5883. type: integer
  5884. produces:
  5885. - application/json
  5886. responses:
  5887. "200":
  5888. description: OK
  5889. schema:
  5890. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  5891. "500":
  5892. description: Internal Server Error
  5893. schema:
  5894. $ref: '#/definitions/app.Response'
  5895. security:
  5896. - ApiKeyAuth: []
  5897. summary: 查询“我的订单”信息
  5898. tags:
  5899. - 定制【海商报业】
  5900. /HSBY/QueryHsbyMyGoods:
  5901. get:
  5902. parameters:
  5903. - description: 资金账户列表,格式:1,2,3
  5904. in: query
  5905. name: accountIDs
  5906. required: true
  5907. type: string
  5908. produces:
  5909. - application/json
  5910. responses:
  5911. "200":
  5912. description: OK
  5913. schema:
  5914. $ref: '#/definitions/models.HsbyMyGoods'
  5915. "500":
  5916. description: Internal Server Error
  5917. schema:
  5918. $ref: '#/definitions/app.Response'
  5919. security:
  5920. - ApiKeyAuth: []
  5921. summary: 查询“我的商品”信息
  5922. tags:
  5923. - 定制【海商报业】
  5924. /HSBY/QueryHsbyMyPackages:
  5925. get:
  5926. parameters:
  5927. - description: 资金账户列表,格式:1,2,3
  5928. in: query
  5929. name: accountIDs
  5930. required: true
  5931. type: string
  5932. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5933. in: query
  5934. name: takeOrderStatus
  5935. type: integer
  5936. produces:
  5937. - application/json
  5938. responses:
  5939. "200":
  5940. description: OK
  5941. schema:
  5942. $ref: '#/definitions/models.HsbyMyPackage'
  5943. "500":
  5944. description: Internal Server Error
  5945. schema:
  5946. $ref: '#/definitions/app.Response'
  5947. security:
  5948. - ApiKeyAuth: []
  5949. summary: 查询我的包裹信息
  5950. tags:
  5951. - 定制【海商报业】
  5952. /HSBY/QueryHsbyPreGoodsDetail:
  5953. get:
  5954. parameters:
  5955. - description: 商品ID
  5956. in: query
  5957. name: goodsID
  5958. required: true
  5959. type: integer
  5960. - description: 资金账户,主要用于获取预售商品购买上限
  5961. in: query
  5962. name: accountID
  5963. required: true
  5964. type: integer
  5965. produces:
  5966. - application/json
  5967. responses:
  5968. "200":
  5969. description: OK
  5970. schema:
  5971. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  5972. "500":
  5973. description: Internal Server Error
  5974. schema:
  5975. $ref: '#/definitions/app.Response'
  5976. security:
  5977. - ApiKeyAuth: []
  5978. summary: 查询一级市场(产能预售)商品信息详情
  5979. tags:
  5980. - 定制【海商报业】
  5981. /HSBY/QueryHsbyPreGoodses:
  5982. get:
  5983. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  5984. parameters:
  5985. - description: 页码
  5986. in: query
  5987. name: page
  5988. type: integer
  5989. - description: 每页条数
  5990. in: query
  5991. name: pagesize
  5992. type: integer
  5993. - description: 市场ID列表,格式:1,2,3
  5994. in: query
  5995. name: marketIDs
  5996. required: true
  5997. type: string
  5998. - description: 目的地(省)ID
  5999. in: query
  6000. name: descProvinceID
  6001. type: integer
  6002. - description: 目的地(市)ID
  6003. in: query
  6004. name: descCityID
  6005. type: integer
  6006. produces:
  6007. - application/json
  6008. responses:
  6009. "200":
  6010. description: OK
  6011. schema:
  6012. $ref: '#/definitions/models.HsbyPreGoods'
  6013. "500":
  6014. description: Internal Server Error
  6015. schema:
  6016. $ref: '#/definitions/app.Response'
  6017. security:
  6018. - ApiKeyAuth: []
  6019. summary: 查询新品上市商品列表(一级市场产能预售)
  6020. tags:
  6021. - 定制【海商报业】
  6022. /HSBY/QueryHsbySellMyDetails:
  6023. get:
  6024. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  6025. parameters:
  6026. - description: 页码
  6027. in: query
  6028. name: page
  6029. type: integer
  6030. - description: 每页条数
  6031. in: query
  6032. name: pagesize
  6033. type: integer
  6034. - description: 资金账户列表,格式:1,2,3
  6035. in: query
  6036. name: accountIDs
  6037. required: true
  6038. type: string
  6039. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  6040. in: query
  6041. name: orderType
  6042. type: integer
  6043. produces:
  6044. - application/json
  6045. responses:
  6046. "200":
  6047. description: OK
  6048. schema:
  6049. $ref: '#/definitions/models.HsbySellMyDetail'
  6050. "500":
  6051. description: Internal Server Error
  6052. schema:
  6053. $ref: '#/definitions/app.Response'
  6054. security:
  6055. - ApiKeyAuth: []
  6056. summary: 查询"我的闲置"单据信息
  6057. tags:
  6058. - 定制【海商报业】
  6059. /HSBY/QueryHsbyTopGoodses:
  6060. get:
  6061. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  6062. parameters:
  6063. - description: 页码
  6064. in: query
  6065. name: page
  6066. type: integer
  6067. - description: 每页条数
  6068. in: query
  6069. name: pagesize
  6070. type: integer
  6071. - description: 市场ID列表,格式:1,2,3
  6072. in: query
  6073. name: marketIDs
  6074. required: true
  6075. type: string
  6076. - description: 目的地(省)ID
  6077. in: query
  6078. name: descProvinceID
  6079. type: integer
  6080. - description: 目的地(市)ID
  6081. in: query
  6082. name: descCityID
  6083. type: integer
  6084. produces:
  6085. - application/json
  6086. responses:
  6087. "200":
  6088. description: OK
  6089. schema:
  6090. $ref: '#/definitions/models.HsbyTopGoods'
  6091. "500":
  6092. description: Internal Server Error
  6093. schema:
  6094. $ref: '#/definitions/app.Response'
  6095. security:
  6096. - ApiKeyAuth: []
  6097. summary: 查询热卖商品列表(二级市场挂牌点选)
  6098. tags:
  6099. - 定制【海商报业】
  6100. /HSBY/QueryProvincesAndCities:
  6101. get:
  6102. description: 查询结果只包括二级市场商品已关连的省市信息。
  6103. parameters:
  6104. - description: 省ID
  6105. in: query
  6106. name: provinceID
  6107. type: integer
  6108. produces:
  6109. - application/json
  6110. responses:
  6111. "200":
  6112. description: OK
  6113. schema:
  6114. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  6115. "500":
  6116. description: Internal Server Error
  6117. schema:
  6118. $ref: '#/definitions/app.Response'
  6119. security:
  6120. - ApiKeyAuth: []
  6121. summary: 查询省市信息(不包括区)
  6122. tags:
  6123. - 定制【海商报业】
  6124. /HSBY/QueryTradePayOrders:
  6125. get:
  6126. description: 说明:"我的订单-待付款"请传入accountIDs;"我的闲置-待收款"请传入sellOrderID和sellAccountID。
  6127. parameters:
  6128. - description: 页码
  6129. in: query
  6130. name: page
  6131. type: integer
  6132. - description: 每页条数
  6133. in: query
  6134. name: pagesize
  6135. type: integer
  6136. - description: 资金账户列表,格式:1,2,3
  6137. in: query
  6138. name: accountIDs
  6139. type: string
  6140. - description: 卖方委托单号
  6141. in: query
  6142. name: sellOrderID
  6143. type: integer
  6144. - description: 卖方账号ID[报价币种]
  6145. in: query
  6146. name: sellAccountID
  6147. type: integer
  6148. produces:
  6149. - application/json
  6150. responses:
  6151. "200":
  6152. description: OK
  6153. schema:
  6154. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  6155. "500":
  6156. description: Internal Server Error
  6157. schema:
  6158. $ref: '#/definitions/app.Response'
  6159. security:
  6160. - ApiKeyAuth: []
  6161. summary: 获取待付款信息
  6162. tags:
  6163. - 定制【海商报业】
  6164. /HSBY/SetHsbyMyPackagesStatus:
  6165. post:
  6166. parameters:
  6167. - description: 提货单号
  6168. in: query
  6169. name: takeOrderID
  6170. required: true
  6171. type: string
  6172. - description: 资金账号
  6173. in: query
  6174. name: accountID
  6175. required: true
  6176. type: integer
  6177. produces:
  6178. - application/json
  6179. responses:
  6180. "200":
  6181. description: OK
  6182. schema:
  6183. $ref: '#/definitions/app.Response'
  6184. "500":
  6185. description: Internal Server Error
  6186. schema:
  6187. $ref: '#/definitions/app.Response'
  6188. security:
  6189. - ApiKeyAuth: []
  6190. summary: 设置我的包裹已收货状态
  6191. tags:
  6192. - 定制【海商报业】
  6193. /Order/QueryHisTradeDetail:
  6194. get:
  6195. parameters:
  6196. - description: 资金账户 - 格式:1,2,3
  6197. in: query
  6198. name: accountID
  6199. required: true
  6200. type: string
  6201. - description: 成交单号
  6202. in: query
  6203. name: tradeID
  6204. type: integer
  6205. - description: 委托单号
  6206. in: query
  6207. name: orderID
  6208. type: integer
  6209. - description: 交易模式 - 格式:1,2,3
  6210. in: query
  6211. name: tradeMode
  6212. type: string
  6213. - description: 委托单据类型
  6214. in: query
  6215. name: buildType
  6216. type: integer
  6217. - description: 成交类别 - 格式:1,2,3
  6218. in: query
  6219. name: tradeType
  6220. type: string
  6221. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6222. in: query
  6223. name: startDate
  6224. type: string
  6225. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6226. in: query
  6227. name: endDate
  6228. type: string
  6229. produces:
  6230. - application/json
  6231. responses:
  6232. "200":
  6233. description: OK
  6234. schema:
  6235. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  6236. "500":
  6237. description: Internal Server Error
  6238. schema:
  6239. $ref: '#/definitions/app.Response'
  6240. security:
  6241. - ApiKeyAuth: []
  6242. summary: 历史成交单查询(合约市场)
  6243. tags:
  6244. - 通用单据
  6245. /Order/QueryHisTradeOrderDetail:
  6246. get:
  6247. parameters:
  6248. - description: 资金账户 - 格式:1,2,3
  6249. in: query
  6250. name: accountID
  6251. required: true
  6252. type: string
  6253. - description: 交易模式 - 格式:1,2,3
  6254. in: query
  6255. name: tradeMode
  6256. type: string
  6257. - description: 委托状态 - 格式:1,2,3
  6258. in: query
  6259. name: orderStatus
  6260. type: string
  6261. - description: 委托单号
  6262. in: query
  6263. name: orderID
  6264. type: integer
  6265. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6266. in: query
  6267. name: startDate
  6268. type: string
  6269. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6270. in: query
  6271. name: endDate
  6272. type: string
  6273. produces:
  6274. - application/json
  6275. responses:
  6276. "200":
  6277. description: OK
  6278. schema:
  6279. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  6280. "500":
  6281. description: Internal Server Error
  6282. schema:
  6283. $ref: '#/definitions/app.Response'
  6284. security:
  6285. - ApiKeyAuth: []
  6286. summary: 历史委托单查询请求(合约市场)
  6287. tags:
  6288. - 通用单据
  6289. /Order/QueryTradeDetail:
  6290. get:
  6291. parameters:
  6292. - description: 资金账户 - 格式:1,2,3
  6293. in: query
  6294. name: accountID
  6295. required: true
  6296. type: string
  6297. - description: 成交单号
  6298. in: query
  6299. name: tradeID
  6300. type: integer
  6301. - description: 委托单号
  6302. in: query
  6303. name: orderID
  6304. type: integer
  6305. - description: 交易模式 - 格式:1,2,3
  6306. in: query
  6307. name: tradeMode
  6308. type: string
  6309. - description: 委托单据类型
  6310. in: query
  6311. name: buildType
  6312. type: integer
  6313. - description: 成交类别 - 格式:1,2,3
  6314. in: query
  6315. name: tradeType
  6316. type: string
  6317. produces:
  6318. - application/json
  6319. responses:
  6320. "200":
  6321. description: OK
  6322. schema:
  6323. $ref: '#/definitions/order.QueryTradeDetailRsp'
  6324. "500":
  6325. description: Internal Server Error
  6326. schema:
  6327. $ref: '#/definitions/app.Response'
  6328. security:
  6329. - ApiKeyAuth: []
  6330. summary: 成交单查询(合约市场)
  6331. tags:
  6332. - 通用单据
  6333. /Order/QueryTradeOrderDetail:
  6334. get:
  6335. parameters:
  6336. - description: 资金账户 - 格式:1,2,3
  6337. in: query
  6338. name: accountID
  6339. required: true
  6340. type: string
  6341. - description: 交易模式 - 格式:1,2,3
  6342. in: query
  6343. name: tradeMode
  6344. type: string
  6345. - description: 委托状态 - 格式:1,2,3
  6346. in: query
  6347. name: orderStatus
  6348. type: string
  6349. - description: 委托单号
  6350. in: query
  6351. name: orderID
  6352. type: integer
  6353. produces:
  6354. - application/json
  6355. responses:
  6356. "200":
  6357. description: OK
  6358. schema:
  6359. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  6360. "500":
  6361. description: Internal Server Error
  6362. schema:
  6363. $ref: '#/definitions/app.Response'
  6364. security:
  6365. - ApiKeyAuth: []
  6366. summary: 委托单查询请求(合约市场)
  6367. tags:
  6368. - 通用单据
  6369. /Order/QueryTradePosition:
  6370. get:
  6371. parameters:
  6372. - description: 资金账户 - 格式:1,2,3
  6373. in: query
  6374. name: accountID
  6375. required: true
  6376. type: string
  6377. - description: 交易模式 - 格式:1,2,3
  6378. in: query
  6379. name: tradeMode
  6380. type: string
  6381. produces:
  6382. - application/json
  6383. responses:
  6384. "200":
  6385. description: OK
  6386. schema:
  6387. $ref: '#/definitions/order.QueryTradePositionRsp'
  6388. "500":
  6389. description: Internal Server Error
  6390. schema:
  6391. $ref: '#/definitions/app.Response'
  6392. security:
  6393. - ApiKeyAuth: []
  6394. summary: 持仓汇总查询(合约市场)
  6395. tags:
  6396. - 通用单据
  6397. /Quote/QueryHistoryDatas:
  6398. get:
  6399. parameters:
  6400. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  6401. 日线 10: Tik'
  6402. in: query
  6403. name: cycleType
  6404. required: true
  6405. type: integer
  6406. - description: 商品代码
  6407. in: query
  6408. name: goodsCode
  6409. required: true
  6410. type: string
  6411. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  6412. in: query
  6413. name: startTime
  6414. type: string
  6415. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  6416. in: query
  6417. name: endTime
  6418. type: string
  6419. - description: 条数
  6420. in: query
  6421. name: count
  6422. type: integer
  6423. - description: 是否按时间顺序排序(默认为时间倒序排序)
  6424. in: query
  6425. name: isAsc
  6426. type: boolean
  6427. produces:
  6428. - application/json
  6429. responses:
  6430. "200":
  6431. description: OK
  6432. schema:
  6433. $ref: '#/definitions/quote.HistoryData'
  6434. "500":
  6435. description: Internal Server Error
  6436. schema:
  6437. $ref: '#/definitions/app.Response'
  6438. security:
  6439. - ApiKeyAuth: []
  6440. summary: 查询行情历史数据
  6441. tags:
  6442. - 行情服务
  6443. /Quote/QueryTSData:
  6444. get:
  6445. parameters:
  6446. - description: 商品代码
  6447. in: query
  6448. name: GoodsCode
  6449. required: true
  6450. type: string
  6451. produces:
  6452. - application/json
  6453. responses:
  6454. "200":
  6455. description: OK
  6456. schema:
  6457. $ref: '#/definitions/quote.QueryTSDataRsp'
  6458. "500":
  6459. description: Internal Server Error
  6460. schema:
  6461. $ref: '#/definitions/app.Response'
  6462. summary: 分时图数据查询
  6463. tags:
  6464. - 行情服务
  6465. /SZDZ/QueryConvertConfig:
  6466. get:
  6467. parameters:
  6468. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6469. 6:交易转花生米(不设置)
  6470. in: query
  6471. name: convertType
  6472. type: integer
  6473. - description: 外部商品代码[JD\PD]
  6474. in: query
  6475. name: outerGoodsCode
  6476. type: string
  6477. - description: 内部商品ID列表[交易],格式:1,2,3
  6478. in: query
  6479. name: innerGoodsIDs
  6480. type: string
  6481. produces:
  6482. - application/json
  6483. responses:
  6484. "200":
  6485. description: OK
  6486. schema:
  6487. $ref: '#/definitions/models.Szdz3convertconfig'
  6488. "500":
  6489. description: Internal Server Error
  6490. schema:
  6491. $ref: '#/definitions/app.Response'
  6492. security:
  6493. - ApiKeyAuth: []
  6494. summary: 查询交易系统转换设置
  6495. tags:
  6496. - 定制【尚志大宗】
  6497. /SZDZ/QueryConvertLog:
  6498. get:
  6499. parameters:
  6500. - description: 资金账户 - 格式:1,2,3
  6501. in: query
  6502. name: accountID
  6503. required: true
  6504. type: string
  6505. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6506. in: query
  6507. name: startDate
  6508. type: string
  6509. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6510. in: query
  6511. name: endDate
  6512. type: string
  6513. produces:
  6514. - application/json
  6515. responses:
  6516. "200":
  6517. description: OK
  6518. schema:
  6519. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  6520. "500":
  6521. description: Internal Server Error
  6522. schema:
  6523. $ref: '#/definitions/app.Response'
  6524. security:
  6525. - ApiKeyAuth: []
  6526. summary: 交易系统转换流水查询
  6527. tags:
  6528. - 定制【尚志大宗】
  6529. /SZDZ/QueryGoodsPickup:
  6530. get:
  6531. parameters:
  6532. - description: 资金账户 - 格式:1,2,3
  6533. in: query
  6534. name: accountID
  6535. required: true
  6536. type: string
  6537. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6538. in: query
  6539. name: takeOrderStatus
  6540. type: integer
  6541. produces:
  6542. - application/json
  6543. responses:
  6544. "200":
  6545. description: OK
  6546. schema:
  6547. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  6548. "500":
  6549. description: Internal Server Error
  6550. schema:
  6551. $ref: '#/definitions/app.Response'
  6552. security:
  6553. - ApiKeyAuth: []
  6554. summary: 商品提货单查询
  6555. tags:
  6556. - 定制【尚志大宗】
  6557. /SZDZ/QueryRecieptOrder:
  6558. get:
  6559. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  6560. parameters:
  6561. - description: 页码
  6562. in: query
  6563. name: page
  6564. type: integer
  6565. - description: 每页条数
  6566. in: query
  6567. name: pagesize
  6568. type: integer
  6569. - description: 商品ID
  6570. in: query
  6571. name: goodsID
  6572. required: true
  6573. type: integer
  6574. - description: 所属账户名称
  6575. in: query
  6576. name: accountName
  6577. type: string
  6578. - description: 市场ID
  6579. in: query
  6580. name: marketID
  6581. type: integer
  6582. - description: 方向 - 0:买 1:卖
  6583. in: query
  6584. name: buyorsell
  6585. required: true
  6586. type: integer
  6587. produces:
  6588. - application/json
  6589. responses:
  6590. "200":
  6591. description: OK
  6592. schema:
  6593. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  6594. "500":
  6595. description: Internal Server Error
  6596. schema:
  6597. $ref: '#/definitions/app.Response'
  6598. security:
  6599. - ApiKeyAuth: []
  6600. summary: 点选挂牌委托单据查询(摘牌大厅)
  6601. tags:
  6602. - 定制【尚志大宗】
  6603. /SZDZ/QuerySZDZTradePosition:
  6604. get:
  6605. parameters:
  6606. - description: 资金账户
  6607. in: query
  6608. name: accountID
  6609. required: true
  6610. type: integer
  6611. produces:
  6612. - application/json
  6613. responses:
  6614. "200":
  6615. description: OK
  6616. schema:
  6617. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  6618. "500":
  6619. description: Internal Server Error
  6620. schema:
  6621. $ref: '#/definitions/app.Response'
  6622. security:
  6623. - ApiKeyAuth: []
  6624. summary: 持仓汇总查询(尚志大宗)
  6625. tags:
  6626. - 定制【尚志大宗】
  6627. /SZDZ/SearchWhite:
  6628. get:
  6629. parameters:
  6630. - description: 用户ID
  6631. in: query
  6632. name: userID
  6633. required: true
  6634. type: integer
  6635. produces:
  6636. - application/json
  6637. responses:
  6638. "200":
  6639. description: OK
  6640. schema:
  6641. $ref: '#/definitions/models.Szdz3searchwhitelist'
  6642. "500":
  6643. description: Internal Server Error
  6644. schema:
  6645. $ref: '#/definitions/app.Response'
  6646. security:
  6647. - ApiKeyAuth: []
  6648. summary: 搜索白名单
  6649. tags:
  6650. - 定制【尚志大宗】
  6651. /Search/SearchGoodses:
  6652. get:
  6653. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  6654. parameters:
  6655. - description: 检索内容
  6656. in: query
  6657. name: content
  6658. required: true
  6659. type: string
  6660. produces:
  6661. - application/json
  6662. responses:
  6663. "200":
  6664. description: OK
  6665. schema:
  6666. $ref: '#/definitions/models.SearchGoods'
  6667. "500":
  6668. description: Internal Server Error
  6669. schema:
  6670. $ref: '#/definitions/app.Response'
  6671. summary: 检索商品信息
  6672. tags:
  6673. - 检索服务
  6674. /TaAccount/QueryAmountLog:
  6675. get:
  6676. parameters:
  6677. - description: 页码
  6678. in: query
  6679. name: page
  6680. type: integer
  6681. - description: 每页条数
  6682. in: query
  6683. name: pagesize
  6684. type: integer
  6685. - description: 资金账户 - 格式:1,2,3
  6686. in: query
  6687. name: accountID
  6688. required: true
  6689. type: string
  6690. - description: 资金操作类型 - 格式:1,2,3
  6691. in: query
  6692. name: OperateType
  6693. type: string
  6694. produces:
  6695. - application/json
  6696. responses:
  6697. "200":
  6698. description: OK
  6699. schema:
  6700. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  6701. "500":
  6702. description: Internal Server Error
  6703. schema:
  6704. $ref: '#/definitions/app.Response'
  6705. security:
  6706. - ApiKeyAuth: []
  6707. summary: 资金流水查询(当前)
  6708. tags:
  6709. - 资金账户
  6710. /TaAccount/QueryHisAmountLog:
  6711. get:
  6712. parameters:
  6713. - description: 页码
  6714. in: query
  6715. name: page
  6716. type: integer
  6717. - description: 每页条数
  6718. in: query
  6719. name: pagesize
  6720. type: integer
  6721. - description: 资金账户 - 格式:1,2,3
  6722. in: query
  6723. name: accountID
  6724. required: true
  6725. type: string
  6726. - description: 资金操作类型 - 格式:1,2,3
  6727. in: query
  6728. name: OperateType
  6729. type: string
  6730. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6731. in: query
  6732. name: startDate
  6733. type: string
  6734. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6735. in: query
  6736. name: endDate
  6737. type: string
  6738. produces:
  6739. - application/json
  6740. responses:
  6741. "200":
  6742. description: OK
  6743. schema:
  6744. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  6745. "500":
  6746. description: Internal Server Error
  6747. schema:
  6748. $ref: '#/definitions/app.Response'
  6749. security:
  6750. - ApiKeyAuth: []
  6751. summary: 资金流水查询(历史)
  6752. tags:
  6753. - 资金账户
  6754. /Trade/QueryRecieptOrder:
  6755. get:
  6756. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  6757. parameters:
  6758. - description: 页码
  6759. in: query
  6760. name: page
  6761. type: integer
  6762. - description: 每页条数
  6763. in: query
  6764. name: pagesize
  6765. type: integer
  6766. - description: 商品ID
  6767. in: query
  6768. name: goodsID
  6769. required: true
  6770. type: integer
  6771. - description: 所属账户名称
  6772. in: query
  6773. name: accountName
  6774. type: string
  6775. - description: 市场ID
  6776. in: query
  6777. name: marketID
  6778. type: integer
  6779. - description: 方向 - 0:买 1:卖
  6780. in: query
  6781. name: buyorsell
  6782. required: true
  6783. type: integer
  6784. produces:
  6785. - application/json
  6786. responses:
  6787. "200":
  6788. description: OK
  6789. schema:
  6790. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  6791. "500":
  6792. description: Internal Server Error
  6793. schema:
  6794. $ref: '#/definitions/app.Response'
  6795. security:
  6796. - ApiKeyAuth: []
  6797. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  6798. tags:
  6799. - 通用交易
  6800. /User/AddMessageBoard:
  6801. post:
  6802. parameters:
  6803. - description: 用户ID
  6804. in: query
  6805. name: userID
  6806. required: true
  6807. type: integer
  6808. - description: 留言信息
  6809. in: query
  6810. name: message
  6811. required: true
  6812. type: string
  6813. produces:
  6814. - application/json
  6815. responses:
  6816. "200":
  6817. description: OK
  6818. schema:
  6819. $ref: '#/definitions/app.Response'
  6820. "500":
  6821. description: Internal Server Error
  6822. schema:
  6823. $ref: '#/definitions/app.Response'
  6824. security:
  6825. - ApiKeyAuth: []
  6826. summary: 添加用户留言板信息
  6827. tags:
  6828. - 用户信息
  6829. /User/AddUserFavoriteGoods:
  6830. post:
  6831. parameters:
  6832. - description: 用户ID
  6833. in: query
  6834. name: userID
  6835. required: true
  6836. type: integer
  6837. - description: 商品ID
  6838. in: query
  6839. name: goodsID
  6840. required: true
  6841. type: integer
  6842. produces:
  6843. - application/json
  6844. responses:
  6845. "200":
  6846. description: OK
  6847. schema:
  6848. $ref: '#/definitions/app.Response'
  6849. "500":
  6850. description: Internal Server Error
  6851. schema:
  6852. $ref: '#/definitions/app.Response'
  6853. security:
  6854. - ApiKeyAuth: []
  6855. summary: 添加用户商品收藏信息
  6856. tags:
  6857. - 用户信息
  6858. /User/GetLoginID:
  6859. get:
  6860. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  6861. parameters:
  6862. - description: 登录代码
  6863. in: query
  6864. name: username
  6865. required: true
  6866. type: string
  6867. produces:
  6868. - application/json
  6869. responses:
  6870. "200":
  6871. description: OK
  6872. schema:
  6873. $ref: '#/definitions/app.Response'
  6874. "500":
  6875. description: Internal Server Error
  6876. schema:
  6877. $ref: '#/definitions/app.Response'
  6878. summary: 获取登录ID
  6879. tags:
  6880. - 用户信息
  6881. /User/GetUserAccount:
  6882. get:
  6883. parameters:
  6884. - description: 用户ID
  6885. in: query
  6886. name: userID
  6887. required: true
  6888. type: integer
  6889. produces:
  6890. - application/json
  6891. responses:
  6892. "200":
  6893. description: OK
  6894. schema:
  6895. $ref: '#/definitions/models.Useraccount'
  6896. "500":
  6897. description: Internal Server Error
  6898. schema:
  6899. $ref: '#/definitions/app.Response'
  6900. security:
  6901. - ApiKeyAuth: []
  6902. summary: 获取用户账号信息
  6903. tags:
  6904. - 用户信息
  6905. /User/GetUserAuthStatus:
  6906. get:
  6907. parameters:
  6908. - description: 用户ID
  6909. in: query
  6910. name: userID
  6911. required: true
  6912. type: integer
  6913. produces:
  6914. - application/json
  6915. responses:
  6916. "200":
  6917. description: OK
  6918. schema:
  6919. $ref: '#/definitions/app.Response'
  6920. "500":
  6921. description: Internal Server Error
  6922. schema:
  6923. $ref: '#/definitions/app.Response'
  6924. security:
  6925. - ApiKeyAuth: []
  6926. summary: 获取用户实名认证状态
  6927. tags:
  6928. - 用户信息
  6929. /User/QueryMessageBoard:
  6930. get:
  6931. parameters:
  6932. - description: 用户ID
  6933. in: query
  6934. name: userID
  6935. required: true
  6936. type: integer
  6937. produces:
  6938. - application/json
  6939. responses:
  6940. "200":
  6941. description: OK
  6942. schema:
  6943. $ref: '#/definitions/models.Messageboard'
  6944. "500":
  6945. description: Internal Server Error
  6946. schema:
  6947. $ref: '#/definitions/app.Response'
  6948. security:
  6949. - ApiKeyAuth: []
  6950. summary: 获取用户留言板信息
  6951. tags:
  6952. - 用户信息
  6953. /User/QueryUserFavoriteGoodses:
  6954. get:
  6955. parameters:
  6956. - description: 用户ID
  6957. in: query
  6958. name: userID
  6959. required: true
  6960. type: integer
  6961. produces:
  6962. - application/json
  6963. responses:
  6964. "200":
  6965. description: OK
  6966. schema:
  6967. $ref: '#/definitions/models.Userfavoritegoods'
  6968. "500":
  6969. description: Internal Server Error
  6970. schema:
  6971. $ref: '#/definitions/app.Response'
  6972. security:
  6973. - ApiKeyAuth: []
  6974. summary: 获取用户商品收藏信息
  6975. tags:
  6976. - 用户信息
  6977. /User/QueryUserInfo:
  6978. get:
  6979. parameters:
  6980. - description: 用户ID
  6981. in: query
  6982. name: userID
  6983. required: true
  6984. type: integer
  6985. produces:
  6986. - application/json
  6987. responses:
  6988. "200":
  6989. description: OK
  6990. schema:
  6991. $ref: '#/definitions/models.Userinfo'
  6992. "500":
  6993. description: Internal Server Error
  6994. schema:
  6995. $ref: '#/definitions/app.Response'
  6996. security:
  6997. - ApiKeyAuth: []
  6998. summary: 获取用户信息
  6999. tags:
  7000. - 用户信息
  7001. /User/QueryUserReferNum:
  7002. get:
  7003. parameters:
  7004. - description: 用户ID
  7005. in: query
  7006. name: userID
  7007. required: true
  7008. type: integer
  7009. produces:
  7010. - application/json
  7011. responses:
  7012. "200":
  7013. description: OK
  7014. schema:
  7015. $ref: '#/definitions/app.Response'
  7016. "500":
  7017. description: Internal Server Error
  7018. schema:
  7019. $ref: '#/definitions/app.Response'
  7020. summary: 获取用户邀请码
  7021. tags:
  7022. - 用户信息
  7023. /User/RemoveUserFavoriteGoods:
  7024. post:
  7025. parameters:
  7026. - description: 用户ID
  7027. in: query
  7028. name: userID
  7029. required: true
  7030. type: integer
  7031. - description: 商品ID
  7032. in: query
  7033. name: goodsID
  7034. required: true
  7035. type: integer
  7036. produces:
  7037. - application/json
  7038. responses:
  7039. "200":
  7040. description: OK
  7041. schema:
  7042. $ref: '#/definitions/app.Response'
  7043. "500":
  7044. description: Internal Server Error
  7045. schema:
  7046. $ref: '#/definitions/app.Response'
  7047. security:
  7048. - ApiKeyAuth: []
  7049. summary: 移除用户商品收藏信息
  7050. tags:
  7051. - 用户信息
  7052. /WRTrade/GetAllDeliveryGoods:
  7053. get:
  7054. produces:
  7055. - application/json
  7056. - application/json
  7057. responses:
  7058. "200":
  7059. description: OK
  7060. schema:
  7061. $ref: '#/definitions/app.Response'
  7062. "500":
  7063. description: Internal Server Error
  7064. schema:
  7065. $ref: '#/definitions/app.Response'
  7066. security:
  7067. - ApiKeyAuth: []
  7068. - ApiKeyAuth: []
  7069. summary: 获取带仓单分类的种类信息
  7070. tags:
  7071. - 仓单贸易
  7072. - 仓单贸易
  7073. securityDefinitions:
  7074. ApiKeyAuth:
  7075. in: header
  7076. name: Authorization
  7077. type: apiKey
  7078. swagger: "2.0"