docs.go 448 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/GetServerTime": {
  393. "get": {
  394. "produces": [
  395. "application/json"
  396. ],
  397. "tags": [
  398. "通用服务"
  399. ],
  400. "summary": "获取服务器时间",
  401. "responses": {
  402. "200": {
  403. "description": "OK",
  404. "schema": {
  405. "$ref": "#/definitions/app.Response"
  406. }
  407. },
  408. "500": {
  409. "description": "Internal Server Error",
  410. "schema": {
  411. "$ref": "#/definitions/app.Response"
  412. }
  413. }
  414. }
  415. }
  416. },
  417. "/Common/NoticeReaded": {
  418. "post": {
  419. "security": [
  420. {
  421. "ApiKeyAuth": []
  422. }
  423. ],
  424. "produces": [
  425. "application/json"
  426. ],
  427. "tags": [
  428. "通用服务"
  429. ],
  430. "summary": "通知公告设置已读请求",
  431. "parameters": [
  432. {
  433. "type": "integer",
  434. "description": "登录账号",
  435. "name": "loginID",
  436. "in": "query",
  437. "required": true
  438. },
  439. {
  440. "type": "integer",
  441. "description": "通知公告ID",
  442. "name": "noticeID",
  443. "in": "query",
  444. "required": true
  445. }
  446. ],
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/app.Response"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/QueryImageConfigs": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "查询轮播图配置信息",
  472. "parameters": [
  473. {
  474. "type": "integer",
  475. "description": "类型 - 1:App首页轮播 2:我的",
  476. "name": "imageType",
  477. "in": "query"
  478. }
  479. ],
  480. "responses": {
  481. "200": {
  482. "description": "OK",
  483. "schema": {
  484. "$ref": "#/definitions/models.Szdz2imageconfig"
  485. }
  486. },
  487. "500": {
  488. "description": "Internal Server Error",
  489. "schema": {
  490. "$ref": "#/definitions/app.Response"
  491. }
  492. }
  493. }
  494. }
  495. },
  496. "/Common/QueryNotice": {
  497. "get": {
  498. "security": [
  499. {
  500. "ApiKeyAuth": []
  501. }
  502. ],
  503. "produces": [
  504. "application/json"
  505. ],
  506. "tags": [
  507. "通用服务"
  508. ],
  509. "summary": "通知公告系统消息查询",
  510. "parameters": [
  511. {
  512. "type": "integer",
  513. "description": "页码",
  514. "name": "page",
  515. "in": "query"
  516. },
  517. {
  518. "type": "integer",
  519. "description": "每页条数",
  520. "name": "pagesize",
  521. "in": "query"
  522. },
  523. {
  524. "type": "integer",
  525. "description": "登录账号",
  526. "name": "loginID",
  527. "in": "query",
  528. "required": true
  529. },
  530. {
  531. "type": "integer",
  532. "description": "消息类型 - 1:公告通知 2:系统消息",
  533. "name": "msgType",
  534. "in": "query"
  535. },
  536. {
  537. "type": "boolean",
  538. "description": "是否只获取未读信息",
  539. "name": "onlyUnRead",
  540. "in": "query"
  541. }
  542. ],
  543. "responses": {
  544. "200": {
  545. "description": "OK",
  546. "schema": {
  547. "$ref": "#/definitions/common.QueryNoticeRsp"
  548. }
  549. },
  550. "500": {
  551. "description": "Internal Server Error",
  552. "schema": {
  553. "$ref": "#/definitions/app.Response"
  554. }
  555. }
  556. }
  557. }
  558. },
  559. "/Common/QueryProvincesAndCities": {
  560. "get": {
  561. "produces": [
  562. "application/json"
  563. ],
  564. "tags": [
  565. "通用服务"
  566. ],
  567. "summary": "查询省市信息(不包括区)",
  568. "parameters": [
  569. {
  570. "type": "integer",
  571. "description": "省ID",
  572. "name": "provinceID",
  573. "in": "query"
  574. }
  575. ],
  576. "responses": {
  577. "200": {
  578. "description": "OK",
  579. "schema": {
  580. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  581. }
  582. },
  583. "500": {
  584. "description": "Internal Server Error",
  585. "schema": {
  586. "$ref": "#/definitions/app.Response"
  587. }
  588. }
  589. }
  590. }
  591. },
  592. "/Common/QueryTableDefine": {
  593. "get": {
  594. "produces": [
  595. "application/json"
  596. ],
  597. "tags": [
  598. "通用服务"
  599. ],
  600. "summary": "查询交易端列表头信息",
  601. "parameters": [
  602. {
  603. "type": "string",
  604. "description": "表key",
  605. "name": "tableKey",
  606. "in": "query"
  607. },
  608. {
  609. "type": "integer",
  610. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  611. "name": "tableType",
  612. "in": "query"
  613. }
  614. ],
  615. "responses": {
  616. "200": {
  617. "description": "OK",
  618. "schema": {
  619. "$ref": "#/definitions/common.QueryTableDefineRsp"
  620. }
  621. },
  622. "500": {
  623. "description": "Internal Server Error",
  624. "schema": {
  625. "$ref": "#/definitions/app.Response"
  626. }
  627. }
  628. }
  629. }
  630. },
  631. "/Common/QueryTraderMenu": {
  632. "get": {
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "查询交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginid",
  645. "in": "query",
  646. "required": true
  647. }
  648. ],
  649. "responses": {
  650. "200": {
  651. "description": "OK",
  652. "schema": {
  653. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  654. }
  655. },
  656. "500": {
  657. "description": "Internal Server Error",
  658. "schema": {
  659. "$ref": "#/definitions/app.Response"
  660. }
  661. }
  662. }
  663. }
  664. },
  665. "/Delivery/QueryDeliveryRelation": {
  666. "get": {
  667. "security": [
  668. {
  669. "ApiKeyAuth": []
  670. }
  671. ],
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "交割服务"
  677. ],
  678. "summary": "查询商品交割关系表",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "商品ID",
  683. "name": "goodsid",
  684. "in": "query"
  685. },
  686. {
  687. "type": "integer",
  688. "description": "品种ID",
  689. "name": "deliverygoodsid",
  690. "in": "query"
  691. },
  692. {
  693. "type": "integer",
  694. "description": "市场ID",
  695. "name": "marketid",
  696. "in": "query"
  697. }
  698. ],
  699. "responses": {
  700. "200": {
  701. "description": "OK",
  702. "schema": {
  703. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  704. }
  705. },
  706. "500": {
  707. "description": "Internal Server Error",
  708. "schema": {
  709. "$ref": "#/definitions/app.Response"
  710. }
  711. }
  712. }
  713. }
  714. },
  715. "/Ermcp/QueryBusinessDj": {
  716. "get": {
  717. "security": [
  718. {
  719. "ApiKeyAuth": []
  720. }
  721. ],
  722. "produces": [
  723. "application/json"
  724. ],
  725. "tags": [
  726. "企业风险管理(app)"
  727. ],
  728. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  729. "parameters": [
  730. {
  731. "type": "integer",
  732. "description": "用户ID",
  733. "name": "UserId",
  734. "in": "query",
  735. "required": true
  736. },
  737. {
  738. "type": "string",
  739. "description": "现货合同ID, 不填则查所有",
  740. "name": "relatedid",
  741. "in": "query"
  742. }
  743. ],
  744. "responses": {
  745. "200": {
  746. "description": "OK",
  747. "schema": {
  748. "type": "array",
  749. "items": {
  750. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  751. }
  752. }
  753. },
  754. "500": {
  755. "description": "Internal Server Error",
  756. "schema": {
  757. "$ref": "#/definitions/app.Response"
  758. }
  759. }
  760. }
  761. }
  762. },
  763. "/Ermcp/QueryBusinessFp": {
  764. "get": {
  765. "security": [
  766. {
  767. "ApiKeyAuth": []
  768. }
  769. ],
  770. "produces": [
  771. "application/json"
  772. ],
  773. "tags": [
  774. "企业风险管理(app)"
  775. ],
  776. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  777. "parameters": [
  778. {
  779. "type": "integer",
  780. "description": "用户ID",
  781. "name": "UserId",
  782. "in": "query",
  783. "required": true
  784. },
  785. {
  786. "type": "string",
  787. "description": "现货合同ID, 不填则查所有",
  788. "name": "relatedid",
  789. "in": "query"
  790. }
  791. ],
  792. "responses": {
  793. "200": {
  794. "description": "OK",
  795. "schema": {
  796. "type": "array",
  797. "items": {
  798. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  799. }
  800. }
  801. },
  802. "500": {
  803. "description": "Internal Server Error",
  804. "schema": {
  805. "$ref": "#/definitions/app.Response"
  806. }
  807. }
  808. }
  809. }
  810. },
  811. "/Ermcp/QueryBusinessJs": {
  812. "get": {
  813. "security": [
  814. {
  815. "ApiKeyAuth": []
  816. }
  817. ],
  818. "produces": [
  819. "application/json"
  820. ],
  821. "tags": [
  822. "企业风险管理(app)"
  823. ],
  824. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  825. "parameters": [
  826. {
  827. "type": "integer",
  828. "description": "用户ID",
  829. "name": "UserId",
  830. "in": "query",
  831. "required": true
  832. },
  833. {
  834. "type": "string",
  835. "description": "现货合同ID, 不填则查所有",
  836. "name": "relatedid",
  837. "in": "query"
  838. }
  839. ],
  840. "responses": {
  841. "200": {
  842. "description": "OK",
  843. "schema": {
  844. "type": "array",
  845. "items": {
  846. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  847. }
  848. }
  849. },
  850. "500": {
  851. "description": "Internal Server Error",
  852. "schema": {
  853. "$ref": "#/definitions/app.Response"
  854. }
  855. }
  856. }
  857. }
  858. },
  859. "/Ermcp/QueryBusinessKx": {
  860. "get": {
  861. "security": [
  862. {
  863. "ApiKeyAuth": []
  864. }
  865. ],
  866. "produces": [
  867. "application/json"
  868. ],
  869. "tags": [
  870. "企业风险管理(app)"
  871. ],
  872. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  873. "parameters": [
  874. {
  875. "type": "integer",
  876. "description": "用户ID",
  877. "name": "UserId",
  878. "in": "query",
  879. "required": true
  880. },
  881. {
  882. "type": "string",
  883. "description": "现货合同ID, 不填则查所有",
  884. "name": "relatedid",
  885. "in": "query"
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "type": "array",
  893. "items": {
  894. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  895. }
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/QueryContract": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "查询合同(采购和销售)",
  921. "parameters": [
  922. {
  923. "type": "integer",
  924. "description": "用户ID",
  925. "name": "userId",
  926. "in": "query",
  927. "required": true
  928. },
  929. {
  930. "type": "integer",
  931. "description": "合同类型 1-采购, -1-销售",
  932. "name": "contracttype",
  933. "in": "query",
  934. "required": true
  935. },
  936. {
  937. "type": "integer",
  938. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  939. "name": "querytype",
  940. "in": "query",
  941. "required": true
  942. }
  943. ],
  944. "responses": {
  945. "200": {
  946. "description": "OK",
  947. "schema": {
  948. "type": "array",
  949. "items": {
  950. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  951. }
  952. }
  953. },
  954. "500": {
  955. "description": "Internal Server Error",
  956. "schema": {
  957. "$ref": "#/definitions/app.Response"
  958. }
  959. }
  960. }
  961. }
  962. },
  963. "/Ermcp/QueryHedgePlan": {
  964. "get": {
  965. "security": [
  966. {
  967. "ApiKeyAuth": []
  968. }
  969. ],
  970. "produces": [
  971. "application/json"
  972. ],
  973. "tags": [
  974. "企业风险管理(app)"
  975. ],
  976. "summary": "查询套保计划",
  977. "parameters": [
  978. {
  979. "type": "integer",
  980. "description": "用户ID",
  981. "name": "userId",
  982. "in": "query",
  983. "required": true
  984. },
  985. {
  986. "type": "integer",
  987. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  988. "name": "HedgePlanStatus",
  989. "in": "query",
  990. "required": true
  991. }
  992. ],
  993. "responses": {
  994. "200": {
  995. "description": "OK",
  996. "schema": {
  997. "type": "array",
  998. "items": {
  999. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1000. }
  1001. }
  1002. },
  1003. "500": {
  1004. "description": "Internal Server Error",
  1005. "schema": {
  1006. "$ref": "#/definitions/app.Response"
  1007. }
  1008. }
  1009. }
  1010. }
  1011. },
  1012. "/Ermcp/QuerySpotContract": {
  1013. "get": {
  1014. "security": [
  1015. {
  1016. "ApiKeyAuth": []
  1017. }
  1018. ],
  1019. "produces": [
  1020. "application/json"
  1021. ],
  1022. "tags": [
  1023. "企业风险管理(app)"
  1024. ],
  1025. "summary": "查询现货合同(对应现货合同菜单)",
  1026. "parameters": [
  1027. {
  1028. "type": "integer",
  1029. "description": "用户ID",
  1030. "name": "userId",
  1031. "in": "query",
  1032. "required": true
  1033. },
  1034. {
  1035. "type": "integer",
  1036. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  1037. "name": "QueryType",
  1038. "in": "query",
  1039. "required": true
  1040. }
  1041. ],
  1042. "responses": {
  1043. "200": {
  1044. "description": "OK",
  1045. "schema": {
  1046. "type": "array",
  1047. "items": {
  1048. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  1049. }
  1050. }
  1051. },
  1052. "500": {
  1053. "description": "Internal Server Error",
  1054. "schema": {
  1055. "$ref": "#/definitions/app.Response"
  1056. }
  1057. }
  1058. }
  1059. }
  1060. },
  1061. "/Ermcp/QueryUserInfo": {
  1062. "get": {
  1063. "security": [
  1064. {
  1065. "ApiKeyAuth": []
  1066. }
  1067. ],
  1068. "produces": [
  1069. "application/json"
  1070. ],
  1071. "tags": [
  1072. "企业风险管理(app)"
  1073. ],
  1074. "summary": "查询客户资料",
  1075. "parameters": [
  1076. {
  1077. "type": "integer",
  1078. "description": "所属机构用户ID",
  1079. "name": "MemberUserID",
  1080. "in": "query",
  1081. "required": true
  1082. },
  1083. {
  1084. "type": "string",
  1085. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  1086. "name": "AccountStatus",
  1087. "in": "query",
  1088. "required": true
  1089. }
  1090. ],
  1091. "responses": {
  1092. "200": {
  1093. "description": "OK",
  1094. "schema": {
  1095. "type": "array",
  1096. "items": {
  1097. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  1098. }
  1099. }
  1100. },
  1101. "500": {
  1102. "description": "Internal Server Error",
  1103. "schema": {
  1104. "$ref": "#/definitions/app.Response"
  1105. }
  1106. }
  1107. }
  1108. }
  1109. },
  1110. "/Ermcp/QueryWrStandard": {
  1111. "get": {
  1112. "security": [
  1113. {
  1114. "ApiKeyAuth": []
  1115. }
  1116. ],
  1117. "produces": [
  1118. "application/json"
  1119. ],
  1120. "tags": [
  1121. "企业风险管理(app)"
  1122. ],
  1123. "summary": "查询现货商品",
  1124. "parameters": [
  1125. {
  1126. "type": "integer",
  1127. "description": "所属机构ID",
  1128. "name": "userid",
  1129. "in": "query",
  1130. "required": true
  1131. }
  1132. ],
  1133. "responses": {
  1134. "200": {
  1135. "description": "OK",
  1136. "schema": {
  1137. "type": "array",
  1138. "items": {
  1139. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  1140. }
  1141. }
  1142. },
  1143. "500": {
  1144. "description": "Internal Server Error",
  1145. "schema": {
  1146. "$ref": "#/definitions/app.Response"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. },
  1152. "/Erms2/QueryArbitrageStrategy": {
  1153. "get": {
  1154. "security": [
  1155. {
  1156. "ApiKeyAuth": []
  1157. }
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "风险管理"
  1164. ],
  1165. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1166. "parameters": [
  1167. {
  1168. "type": "integer",
  1169. "description": "账户ID",
  1170. "name": "userid",
  1171. "in": "query",
  1172. "required": true
  1173. },
  1174. {
  1175. "type": "string",
  1176. "description": "商品组ID(品种ID)",
  1177. "name": "goodsgroupid",
  1178. "in": "query"
  1179. }
  1180. ],
  1181. "responses": {
  1182. "200": {
  1183. "description": "OK",
  1184. "schema": {
  1185. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1186. }
  1187. },
  1188. "500": {
  1189. "description": "Internal Server Error",
  1190. "schema": {
  1191. "$ref": "#/definitions/app.Response"
  1192. }
  1193. }
  1194. }
  1195. }
  1196. },
  1197. "/Erms2/QueryInnerTradeDetail": {
  1198. "get": {
  1199. "security": [
  1200. {
  1201. "ApiKeyAuth": []
  1202. }
  1203. ],
  1204. "produces": [
  1205. "application/json"
  1206. ],
  1207. "tags": [
  1208. "风险管理"
  1209. ],
  1210. "summary": "查询内部成交单信息",
  1211. "parameters": [
  1212. {
  1213. "type": "integer",
  1214. "description": "资金账户",
  1215. "name": "accountid",
  1216. "in": "query",
  1217. "required": true
  1218. }
  1219. ],
  1220. "responses": {
  1221. "200": {
  1222. "description": "OK",
  1223. "schema": {
  1224. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1225. }
  1226. },
  1227. "500": {
  1228. "description": "Internal Server Error",
  1229. "schema": {
  1230. "$ref": "#/definitions/app.Response"
  1231. }
  1232. }
  1233. }
  1234. }
  1235. },
  1236. "/Erms2/QuerySpotContract": {
  1237. "get": {
  1238. "security": [
  1239. {
  1240. "ApiKeyAuth": []
  1241. }
  1242. ],
  1243. "produces": [
  1244. "application/json"
  1245. ],
  1246. "tags": [
  1247. "风险管理"
  1248. ],
  1249. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1250. "parameters": [
  1251. {
  1252. "type": "integer",
  1253. "description": "策略申请ID",
  1254. "name": "asapplyid",
  1255. "in": "query",
  1256. "required": true
  1257. },
  1258. {
  1259. "type": "integer",
  1260. "description": "现货合同ID",
  1261. "name": "spotcontractid",
  1262. "in": "query"
  1263. }
  1264. ],
  1265. "responses": {
  1266. "200": {
  1267. "description": "OK",
  1268. "schema": {
  1269. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1270. }
  1271. },
  1272. "500": {
  1273. "description": "Internal Server Error",
  1274. "schema": {
  1275. "$ref": "#/definitions/app.Response"
  1276. }
  1277. }
  1278. }
  1279. }
  1280. },
  1281. "/Erms3/AddErms2ASApply": {
  1282. "post": {
  1283. "security": [
  1284. {
  1285. "ApiKeyAuth": []
  1286. }
  1287. ],
  1288. "produces": [
  1289. "application/json"
  1290. ],
  1291. "tags": [
  1292. "风险管理v3"
  1293. ],
  1294. "summary": "新增期现套利业务申请",
  1295. "parameters": [
  1296. {
  1297. "description": "申请参数",
  1298. "name": "jsonBody",
  1299. "in": "body",
  1300. "required": true,
  1301. "schema": {
  1302. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1303. }
  1304. }
  1305. ],
  1306. "responses": {
  1307. "200": {
  1308. "description": "OK",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. },
  1313. "500": {
  1314. "description": "Internal Server Error",
  1315. "schema": {
  1316. "$ref": "#/definitions/app.Response"
  1317. }
  1318. }
  1319. }
  1320. }
  1321. },
  1322. "/Erms3/AddErms2SpotTradeApply": {
  1323. "post": {
  1324. "security": [
  1325. {
  1326. "ApiKeyAuth": []
  1327. }
  1328. ],
  1329. "produces": [
  1330. "application/json"
  1331. ],
  1332. "tags": [
  1333. "风险管理v3"
  1334. ],
  1335. "summary": "新增现货贸易业务申请",
  1336. "parameters": [
  1337. {
  1338. "description": "申请参数",
  1339. "name": "jsonBody",
  1340. "in": "body",
  1341. "required": true,
  1342. "schema": {
  1343. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1344. }
  1345. }
  1346. ],
  1347. "responses": {
  1348. "200": {
  1349. "description": "OK",
  1350. "schema": {
  1351. "$ref": "#/definitions/app.Response"
  1352. }
  1353. },
  1354. "500": {
  1355. "description": "Internal Server Error",
  1356. "schema": {
  1357. "$ref": "#/definitions/app.Response"
  1358. }
  1359. }
  1360. }
  1361. }
  1362. },
  1363. "/Erms3/AddSpotContractApply": {
  1364. "post": {
  1365. "security": [
  1366. {
  1367. "ApiKeyAuth": []
  1368. }
  1369. ],
  1370. "produces": [
  1371. "application/json"
  1372. ],
  1373. "tags": [
  1374. "风险管理v3"
  1375. ],
  1376. "summary": "新增现货合同申请",
  1377. "parameters": [
  1378. {
  1379. "description": "申请参数",
  1380. "name": "jsonBody",
  1381. "in": "body",
  1382. "required": true,
  1383. "schema": {
  1384. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1385. }
  1386. }
  1387. ],
  1388. "responses": {
  1389. "200": {
  1390. "description": "OK",
  1391. "schema": {
  1392. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Erms3/AddUserInfoApply": {
  1405. "post": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "风险管理v3"
  1416. ],
  1417. "summary": "新增客户申请",
  1418. "parameters": [
  1419. {
  1420. "description": "申请参数",
  1421. "name": "jsonBody",
  1422. "in": "body",
  1423. "required": true,
  1424. "schema": {
  1425. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1426. }
  1427. }
  1428. ],
  1429. "responses": {
  1430. "200": {
  1431. "description": "OK",
  1432. "schema": {
  1433. "$ref": "#/definitions/app.Response"
  1434. }
  1435. },
  1436. "500": {
  1437. "description": "Internal Server Error",
  1438. "schema": {
  1439. "$ref": "#/definitions/app.Response"
  1440. }
  1441. }
  1442. }
  1443. }
  1444. },
  1445. "/Erms3/QueryBusinessInfo": {
  1446. "get": {
  1447. "security": [
  1448. {
  1449. "ApiKeyAuth": []
  1450. }
  1451. ],
  1452. "produces": [
  1453. "application/json"
  1454. ],
  1455. "tags": [
  1456. "风险管理v3"
  1457. ],
  1458. "summary": "查询业务表单数据",
  1459. "parameters": [
  1460. {
  1461. "type": "string",
  1462. "description": "资金账号ID列表,用逗号分隔",
  1463. "name": "accountids",
  1464. "in": "query",
  1465. "required": true
  1466. },
  1467. {
  1468. "type": "integer",
  1469. "description": "状态,0为未结束 1为已结束",
  1470. "name": "status",
  1471. "in": "query",
  1472. "required": true
  1473. }
  1474. ],
  1475. "responses": {
  1476. "200": {
  1477. "description": "OK",
  1478. "schema": {
  1479. "type": "array",
  1480. "items": {
  1481. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1482. }
  1483. }
  1484. },
  1485. "500": {
  1486. "description": "Internal Server Error",
  1487. "schema": {
  1488. "$ref": "#/definitions/app.Response"
  1489. }
  1490. }
  1491. }
  1492. }
  1493. },
  1494. "/Erms3/QueryPendingAuditContract": {
  1495. "get": {
  1496. "security": [
  1497. {
  1498. "ApiKeyAuth": []
  1499. }
  1500. ],
  1501. "produces": [
  1502. "application/json"
  1503. ],
  1504. "tags": [
  1505. "风险管理v3"
  1506. ],
  1507. "summary": "查询待审核合同",
  1508. "parameters": [
  1509. {
  1510. "type": "string",
  1511. "description": "资金账号ID列表,逗号隔开",
  1512. "name": "accountids",
  1513. "in": "query",
  1514. "required": true
  1515. },
  1516. {
  1517. "type": "integer",
  1518. "description": "合同类型 1-采购 -1-销售",
  1519. "name": "contracttype",
  1520. "in": "query",
  1521. "required": true
  1522. },
  1523. {
  1524. "type": "integer",
  1525. "description": "合同模式 1-普通 2-回购",
  1526. "name": "contractmode",
  1527. "in": "query",
  1528. "required": true
  1529. }
  1530. ],
  1531. "responses": {
  1532. "200": {
  1533. "description": "OK",
  1534. "schema": {
  1535. "type": "array",
  1536. "items": {
  1537. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1538. }
  1539. }
  1540. },
  1541. "500": {
  1542. "description": "Internal Server Error",
  1543. "schema": {
  1544. "$ref": "#/definitions/app.Response"
  1545. }
  1546. }
  1547. }
  1548. }
  1549. },
  1550. "/Erms3/QueryPendingBusiness": {
  1551. "get": {
  1552. "security": [
  1553. {
  1554. "ApiKeyAuth": []
  1555. }
  1556. ],
  1557. "produces": [
  1558. "application/json"
  1559. ],
  1560. "tags": [
  1561. "风险管理v3"
  1562. ],
  1563. "summary": "查询待审核基差贸易业务",
  1564. "parameters": [
  1565. {
  1566. "type": "string",
  1567. "description": "资金账号ID列表,逗号隔开",
  1568. "name": "accountids",
  1569. "in": "query",
  1570. "required": true
  1571. }
  1572. ],
  1573. "responses": {
  1574. "200": {
  1575. "description": "OK",
  1576. "schema": {
  1577. "type": "array",
  1578. "items": {
  1579. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1580. }
  1581. }
  1582. },
  1583. "500": {
  1584. "description": "Internal Server Error",
  1585. "schema": {
  1586. "$ref": "#/definitions/app.Response"
  1587. }
  1588. }
  1589. }
  1590. }
  1591. },
  1592. "/Erms3/QuerySpotContractAppleForm": {
  1593. "get": {
  1594. "security": [
  1595. {
  1596. "ApiKeyAuth": []
  1597. }
  1598. ],
  1599. "produces": [
  1600. "application/json"
  1601. ],
  1602. "tags": [
  1603. "风险管理v3"
  1604. ],
  1605. "summary": "查询合同申请表单数据",
  1606. "parameters": [
  1607. {
  1608. "type": "integer",
  1609. "description": "登录账号",
  1610. "name": "loginID",
  1611. "in": "query",
  1612. "required": true
  1613. }
  1614. ],
  1615. "responses": {
  1616. "200": {
  1617. "description": "OK",
  1618. "schema": {
  1619. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1620. }
  1621. },
  1622. "500": {
  1623. "description": "Internal Server Error",
  1624. "schema": {
  1625. "$ref": "#/definitions/app.Response"
  1626. }
  1627. }
  1628. }
  1629. }
  1630. },
  1631. "/Erms3/QuerySpotContractDetail": {
  1632. "get": {
  1633. "security": [
  1634. {
  1635. "ApiKeyAuth": []
  1636. }
  1637. ],
  1638. "produces": [
  1639. "application/json"
  1640. ],
  1641. "tags": [
  1642. "风险管理v3"
  1643. ],
  1644. "summary": "查询合同详细信息",
  1645. "parameters": [
  1646. {
  1647. "type": "string",
  1648. "description": "资金账号ID列表,用逗号分隔",
  1649. "name": "accountids",
  1650. "in": "query",
  1651. "required": true
  1652. },
  1653. {
  1654. "type": "integer",
  1655. "description": "合同类型,1为采购合同 -1为销售合同",
  1656. "name": "contracttype",
  1657. "in": "query",
  1658. "required": true
  1659. },
  1660. {
  1661. "type": "integer",
  1662. "description": "合同模式,1为普通合同 2为回购销售合同",
  1663. "name": "contractmode",
  1664. "in": "query",
  1665. "required": true
  1666. },
  1667. {
  1668. "type": "integer",
  1669. "description": "状态,0为履约中 1为已完成",
  1670. "name": "status",
  1671. "in": "query",
  1672. "required": true
  1673. }
  1674. ],
  1675. "responses": {
  1676. "200": {
  1677. "description": "OK",
  1678. "schema": {
  1679. "type": "array",
  1680. "items": {
  1681. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1682. }
  1683. }
  1684. },
  1685. "500": {
  1686. "description": "Internal Server Error",
  1687. "schema": {
  1688. "$ref": "#/definitions/app.Response"
  1689. }
  1690. }
  1691. }
  1692. }
  1693. },
  1694. "/Erms3/QueryUserInfoApplies": {
  1695. "get": {
  1696. "security": [
  1697. {
  1698. "ApiKeyAuth": []
  1699. }
  1700. ],
  1701. "produces": [
  1702. "application/json"
  1703. ],
  1704. "tags": [
  1705. "风险管理v3"
  1706. ],
  1707. "summary": "客户申请信息查询",
  1708. "parameters": [
  1709. {
  1710. "type": "integer",
  1711. "description": "页码",
  1712. "name": "page",
  1713. "in": "query"
  1714. },
  1715. {
  1716. "type": "integer",
  1717. "description": "每页条数",
  1718. "name": "pagesize",
  1719. "in": "query"
  1720. },
  1721. {
  1722. "type": "string",
  1723. "description": "客户名称,支持模糊查询",
  1724. "name": "userName",
  1725. "in": "query"
  1726. }
  1727. ],
  1728. "responses": {
  1729. "200": {
  1730. "description": "OK",
  1731. "schema": {
  1732. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1733. }
  1734. },
  1735. "500": {
  1736. "description": "Internal Server Error",
  1737. "schema": {
  1738. "$ref": "#/definitions/app.Response"
  1739. }
  1740. }
  1741. }
  1742. }
  1743. },
  1744. "/Erms3/QueryUserInfos": {
  1745. "get": {
  1746. "security": [
  1747. {
  1748. "ApiKeyAuth": []
  1749. }
  1750. ],
  1751. "produces": [
  1752. "application/json"
  1753. ],
  1754. "tags": [
  1755. "风险管理v3"
  1756. ],
  1757. "summary": "客户信息查询",
  1758. "parameters": [
  1759. {
  1760. "type": "integer",
  1761. "description": "页码",
  1762. "name": "page",
  1763. "in": "query"
  1764. },
  1765. {
  1766. "type": "integer",
  1767. "description": "每页条数",
  1768. "name": "pagesize",
  1769. "in": "query"
  1770. },
  1771. {
  1772. "type": "string",
  1773. "description": "客户名称,支持模糊查询",
  1774. "name": "userName",
  1775. "in": "query"
  1776. }
  1777. ],
  1778. "responses": {
  1779. "200": {
  1780. "description": "OK",
  1781. "schema": {
  1782. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/HSBY/GetHsbyMyCount": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "description": "说明: 不包括已完成的数量。",
  1802. "produces": [
  1803. "application/json"
  1804. ],
  1805. "tags": [
  1806. "定制【海商报业】"
  1807. ],
  1808. "summary": "获取我的订单与包裹数量",
  1809. "parameters": [
  1810. {
  1811. "type": "string",
  1812. "description": "资金账户列表,格式:1,2,3",
  1813. "name": "accountIDs",
  1814. "in": "query",
  1815. "required": true
  1816. }
  1817. ],
  1818. "responses": {
  1819. "200": {
  1820. "description": "OK",
  1821. "schema": {
  1822. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1823. }
  1824. },
  1825. "500": {
  1826. "description": "Internal Server Error",
  1827. "schema": {
  1828. "$ref": "#/definitions/app.Response"
  1829. }
  1830. }
  1831. }
  1832. }
  1833. },
  1834. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1835. "get": {
  1836. "security": [
  1837. {
  1838. "ApiKeyAuth": []
  1839. }
  1840. ],
  1841. "produces": [
  1842. "application/json"
  1843. ],
  1844. "tags": [
  1845. "定制【海商报业】"
  1846. ],
  1847. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1848. "parameters": [
  1849. {
  1850. "type": "integer",
  1851. "description": "页码",
  1852. "name": "page",
  1853. "in": "query"
  1854. },
  1855. {
  1856. "type": "integer",
  1857. "description": "每页条数",
  1858. "name": "pagesize",
  1859. "in": "query"
  1860. },
  1861. {
  1862. "type": "string",
  1863. "description": "资金账户列表,格式:1,2,3",
  1864. "name": "accountIDs",
  1865. "in": "query",
  1866. "required": true
  1867. }
  1868. ],
  1869. "responses": {
  1870. "200": {
  1871. "description": "OK",
  1872. "schema": {
  1873. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1874. }
  1875. },
  1876. "500": {
  1877. "description": "Internal Server Error",
  1878. "schema": {
  1879. "$ref": "#/definitions/app.Response"
  1880. }
  1881. }
  1882. }
  1883. }
  1884. },
  1885. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1886. "get": {
  1887. "security": [
  1888. {
  1889. "ApiKeyAuth": []
  1890. }
  1891. ],
  1892. "description": "说明:查询结果已按委托价格和委托时间排序",
  1893. "produces": [
  1894. "application/json"
  1895. ],
  1896. "tags": [
  1897. "定制【海商报业】"
  1898. ],
  1899. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1900. "parameters": [
  1901. {
  1902. "type": "integer",
  1903. "description": "商品ID",
  1904. "name": "goodsID",
  1905. "in": "query",
  1906. "required": true
  1907. },
  1908. {
  1909. "type": "string",
  1910. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1911. "name": "accountIDs",
  1912. "in": "query"
  1913. },
  1914. {
  1915. "type": "integer",
  1916. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1917. "name": "buyOrSell",
  1918. "in": "query"
  1919. },
  1920. {
  1921. "type": "number",
  1922. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1923. "name": "price",
  1924. "in": "query"
  1925. },
  1926. {
  1927. "type": "integer",
  1928. "description": "档位,不传则默认为3档",
  1929. "name": "speed",
  1930. "in": "query"
  1931. }
  1932. ],
  1933. "responses": {
  1934. "200": {
  1935. "description": "OK",
  1936. "schema": {
  1937. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1938. }
  1939. },
  1940. "500": {
  1941. "description": "Internal Server Error",
  1942. "schema": {
  1943. "$ref": "#/definitions/app.Response"
  1944. }
  1945. }
  1946. }
  1947. }
  1948. },
  1949. "/HSBY/QueryHsbyListingGoodsDetail": {
  1950. "get": {
  1951. "security": [
  1952. {
  1953. "ApiKeyAuth": []
  1954. }
  1955. ],
  1956. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1957. "produces": [
  1958. "application/json"
  1959. ],
  1960. "tags": [
  1961. "定制【海商报业】"
  1962. ],
  1963. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1964. "parameters": [
  1965. {
  1966. "type": "integer",
  1967. "description": "商品ID",
  1968. "name": "goodsID",
  1969. "in": "query",
  1970. "required": true
  1971. },
  1972. {
  1973. "type": "integer",
  1974. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1975. "name": "accountID",
  1976. "in": "query"
  1977. }
  1978. ],
  1979. "responses": {
  1980. "200": {
  1981. "description": "OK",
  1982. "schema": {
  1983. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1984. }
  1985. },
  1986. "500": {
  1987. "description": "Internal Server Error",
  1988. "schema": {
  1989. "$ref": "#/definitions/app.Response"
  1990. }
  1991. }
  1992. }
  1993. }
  1994. },
  1995. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1996. "get": {
  1997. "security": [
  1998. {
  1999. "ApiKeyAuth": []
  2000. }
  2001. ],
  2002. "produces": [
  2003. "application/json"
  2004. ],
  2005. "tags": [
  2006. "定制【海商报业】"
  2007. ],
  2008. "summary": "查询三级市场(商城)商品信息详情",
  2009. "parameters": [
  2010. {
  2011. "type": "integer",
  2012. "description": "委托单号",
  2013. "name": "orderID",
  2014. "in": "query",
  2015. "required": true
  2016. },
  2017. {
  2018. "type": "integer",
  2019. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  2020. "name": "accountID",
  2021. "in": "query"
  2022. }
  2023. ],
  2024. "responses": {
  2025. "200": {
  2026. "description": "OK",
  2027. "schema": {
  2028. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/HSBY/QueryHsbyMarketGoodses": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "定制【海商报业】"
  2052. ],
  2053. "summary": "查询特卖商品列表(三级商城)",
  2054. "parameters": [
  2055. {
  2056. "type": "integer",
  2057. "description": "页码",
  2058. "name": "page",
  2059. "in": "query"
  2060. },
  2061. {
  2062. "type": "integer",
  2063. "description": "每页条数",
  2064. "name": "pagesize",
  2065. "in": "query"
  2066. },
  2067. {
  2068. "type": "string",
  2069. "description": "市场ID列表,格式:1,2,3",
  2070. "name": "marketIDs",
  2071. "in": "query",
  2072. "required": true
  2073. },
  2074. {
  2075. "type": "integer",
  2076. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  2077. "name": "accountID",
  2078. "in": "query"
  2079. },
  2080. {
  2081. "type": "integer",
  2082. "description": "类别ID",
  2083. "name": "categoryID",
  2084. "in": "query"
  2085. },
  2086. {
  2087. "type": "string",
  2088. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  2089. "name": "goodsIDs",
  2090. "in": "query"
  2091. },
  2092. {
  2093. "type": "integer",
  2094. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  2095. "name": "couponTypeID",
  2096. "in": "query"
  2097. }
  2098. ],
  2099. "responses": {
  2100. "200": {
  2101. "description": "OK",
  2102. "schema": {
  2103. "$ref": "#/definitions/models.HsbyMarketGoods"
  2104. }
  2105. },
  2106. "500": {
  2107. "description": "Internal Server Error",
  2108. "schema": {
  2109. "$ref": "#/definitions/app.Response"
  2110. }
  2111. }
  2112. }
  2113. }
  2114. },
  2115. "/HSBY/QueryHsbyMarkets": {
  2116. "get": {
  2117. "security": [
  2118. {
  2119. "ApiKeyAuth": []
  2120. }
  2121. ],
  2122. "produces": [
  2123. "application/json"
  2124. ],
  2125. "tags": [
  2126. "定制【海商报业】"
  2127. ],
  2128. "summary": "查询海商报业相关市场信息",
  2129. "responses": {
  2130. "200": {
  2131. "description": "OK",
  2132. "schema": {
  2133. "$ref": "#/definitions/models.HsbyMarketInfo"
  2134. }
  2135. },
  2136. "500": {
  2137. "description": "Internal Server Error",
  2138. "schema": {
  2139. "$ref": "#/definitions/app.Response"
  2140. }
  2141. }
  2142. }
  2143. }
  2144. },
  2145. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2146. "get": {
  2147. "security": [
  2148. {
  2149. "ApiKeyAuth": []
  2150. }
  2151. ],
  2152. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2153. "produces": [
  2154. "application/json"
  2155. ],
  2156. "tags": [
  2157. "定制【海商报业】"
  2158. ],
  2159. "summary": "查询“我的订单”信息",
  2160. "parameters": [
  2161. {
  2162. "type": "string",
  2163. "description": "资金账户列表,格式:1,2,3",
  2164. "name": "accountIDs",
  2165. "in": "query",
  2166. "required": true
  2167. },
  2168. {
  2169. "type": "integer",
  2170. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2171. "name": "myBuyStatus",
  2172. "in": "query"
  2173. }
  2174. ],
  2175. "responses": {
  2176. "200": {
  2177. "description": "OK",
  2178. "schema": {
  2179. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2180. }
  2181. },
  2182. "500": {
  2183. "description": "Internal Server Error",
  2184. "schema": {
  2185. "$ref": "#/definitions/app.Response"
  2186. }
  2187. }
  2188. }
  2189. }
  2190. },
  2191. "/HSBY/QueryHsbyMyGoods": {
  2192. "get": {
  2193. "security": [
  2194. {
  2195. "ApiKeyAuth": []
  2196. }
  2197. ],
  2198. "produces": [
  2199. "application/json"
  2200. ],
  2201. "tags": [
  2202. "定制【海商报业】"
  2203. ],
  2204. "summary": "查询“我的商品”信息",
  2205. "parameters": [
  2206. {
  2207. "type": "string",
  2208. "description": "资金账户列表,格式:1,2,3",
  2209. "name": "accountIDs",
  2210. "in": "query",
  2211. "required": true
  2212. }
  2213. ],
  2214. "responses": {
  2215. "200": {
  2216. "description": "OK",
  2217. "schema": {
  2218. "$ref": "#/definitions/models.HsbyMyGoods"
  2219. }
  2220. },
  2221. "500": {
  2222. "description": "Internal Server Error",
  2223. "schema": {
  2224. "$ref": "#/definitions/app.Response"
  2225. }
  2226. }
  2227. }
  2228. }
  2229. },
  2230. "/HSBY/QueryHsbyMyPackages": {
  2231. "get": {
  2232. "security": [
  2233. {
  2234. "ApiKeyAuth": []
  2235. }
  2236. ],
  2237. "produces": [
  2238. "application/json"
  2239. ],
  2240. "tags": [
  2241. "定制【海商报业】"
  2242. ],
  2243. "summary": "查询我的包裹信息",
  2244. "parameters": [
  2245. {
  2246. "type": "string",
  2247. "description": "资金账户列表,格式:1,2,3",
  2248. "name": "accountIDs",
  2249. "in": "query",
  2250. "required": true
  2251. },
  2252. {
  2253. "type": "integer",
  2254. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2255. "name": "takeOrderStatus",
  2256. "in": "query"
  2257. }
  2258. ],
  2259. "responses": {
  2260. "200": {
  2261. "description": "OK",
  2262. "schema": {
  2263. "$ref": "#/definitions/models.HsbyMyPackage"
  2264. }
  2265. },
  2266. "500": {
  2267. "description": "Internal Server Error",
  2268. "schema": {
  2269. "$ref": "#/definitions/app.Response"
  2270. }
  2271. }
  2272. }
  2273. }
  2274. },
  2275. "/HSBY/QueryHsbyPreGoodsDetail": {
  2276. "get": {
  2277. "security": [
  2278. {
  2279. "ApiKeyAuth": []
  2280. }
  2281. ],
  2282. "produces": [
  2283. "application/json"
  2284. ],
  2285. "tags": [
  2286. "定制【海商报业】"
  2287. ],
  2288. "summary": "查询一级市场(预售)商品信息详情",
  2289. "parameters": [
  2290. {
  2291. "type": "integer",
  2292. "description": "商品ID",
  2293. "name": "goodsID",
  2294. "in": "query",
  2295. "required": true
  2296. },
  2297. {
  2298. "type": "integer",
  2299. "description": "资金账户,主要用于获取预售商品购买上限",
  2300. "name": "accountID",
  2301. "in": "query"
  2302. }
  2303. ],
  2304. "responses": {
  2305. "200": {
  2306. "description": "OK",
  2307. "schema": {
  2308. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2309. }
  2310. },
  2311. "500": {
  2312. "description": "Internal Server Error",
  2313. "schema": {
  2314. "$ref": "#/definitions/app.Response"
  2315. }
  2316. }
  2317. }
  2318. }
  2319. },
  2320. "/HSBY/QueryHsbyPreGoodses": {
  2321. "get": {
  2322. "security": [
  2323. {
  2324. "ApiKeyAuth": []
  2325. }
  2326. ],
  2327. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2328. "produces": [
  2329. "application/json"
  2330. ],
  2331. "tags": [
  2332. "定制【海商报业】"
  2333. ],
  2334. "summary": "查询新品上市商品列表(一级市场预售)",
  2335. "parameters": [
  2336. {
  2337. "type": "integer",
  2338. "description": "页码",
  2339. "name": "page",
  2340. "in": "query"
  2341. },
  2342. {
  2343. "type": "integer",
  2344. "description": "每页条数",
  2345. "name": "pagesize",
  2346. "in": "query"
  2347. },
  2348. {
  2349. "type": "string",
  2350. "description": "市场ID列表,格式:1,2,3",
  2351. "name": "marketIDs",
  2352. "in": "query",
  2353. "required": true
  2354. },
  2355. {
  2356. "type": "integer",
  2357. "description": "目的地(省)ID",
  2358. "name": "descProvinceID",
  2359. "in": "query"
  2360. },
  2361. {
  2362. "type": "integer",
  2363. "description": "目的地(市)ID",
  2364. "name": "descCityID",
  2365. "in": "query"
  2366. }
  2367. ],
  2368. "responses": {
  2369. "200": {
  2370. "description": "OK",
  2371. "schema": {
  2372. "$ref": "#/definitions/models.HsbyPreGoods"
  2373. }
  2374. },
  2375. "500": {
  2376. "description": "Internal Server Error",
  2377. "schema": {
  2378. "$ref": "#/definitions/app.Response"
  2379. }
  2380. }
  2381. }
  2382. }
  2383. },
  2384. "/HSBY/QueryHsbySellMyDetails": {
  2385. "get": {
  2386. "security": [
  2387. {
  2388. "ApiKeyAuth": []
  2389. }
  2390. ],
  2391. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2392. "produces": [
  2393. "application/json"
  2394. ],
  2395. "tags": [
  2396. "定制【海商报业】"
  2397. ],
  2398. "summary": "查询\"我的闲置\"单据信息",
  2399. "parameters": [
  2400. {
  2401. "type": "integer",
  2402. "description": "页码",
  2403. "name": "page",
  2404. "in": "query"
  2405. },
  2406. {
  2407. "type": "integer",
  2408. "description": "每页条数",
  2409. "name": "pagesize",
  2410. "in": "query"
  2411. },
  2412. {
  2413. "type": "string",
  2414. "description": "资金账户列表,格式:1,2,3",
  2415. "name": "accountIDs",
  2416. "in": "query",
  2417. "required": true
  2418. },
  2419. {
  2420. "type": "integer",
  2421. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2422. "name": "orderType",
  2423. "in": "query"
  2424. }
  2425. ],
  2426. "responses": {
  2427. "200": {
  2428. "description": "OK",
  2429. "schema": {
  2430. "$ref": "#/definitions/models.HsbySellMyDetail"
  2431. }
  2432. },
  2433. "500": {
  2434. "description": "Internal Server Error",
  2435. "schema": {
  2436. "$ref": "#/definitions/app.Response"
  2437. }
  2438. }
  2439. }
  2440. }
  2441. },
  2442. "/HSBY/QueryHsbyTopGoodses": {
  2443. "get": {
  2444. "security": [
  2445. {
  2446. "ApiKeyAuth": []
  2447. }
  2448. ],
  2449. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2450. "produces": [
  2451. "application/json"
  2452. ],
  2453. "tags": [
  2454. "定制【海商报业】"
  2455. ],
  2456. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2457. "parameters": [
  2458. {
  2459. "type": "integer",
  2460. "description": "页码",
  2461. "name": "page",
  2462. "in": "query"
  2463. },
  2464. {
  2465. "type": "integer",
  2466. "description": "每页条数",
  2467. "name": "pagesize",
  2468. "in": "query"
  2469. },
  2470. {
  2471. "type": "string",
  2472. "description": "市场ID列表,格式:1,2,3",
  2473. "name": "marketIDs",
  2474. "in": "query",
  2475. "required": true
  2476. },
  2477. {
  2478. "type": "integer",
  2479. "description": "目的地(省)ID",
  2480. "name": "descProvinceID",
  2481. "in": "query"
  2482. },
  2483. {
  2484. "type": "integer",
  2485. "description": "目的地(市)ID",
  2486. "name": "descCityID",
  2487. "in": "query"
  2488. }
  2489. ],
  2490. "responses": {
  2491. "200": {
  2492. "description": "OK",
  2493. "schema": {
  2494. "$ref": "#/definitions/models.HsbyTopGoods"
  2495. }
  2496. },
  2497. "500": {
  2498. "description": "Internal Server Error",
  2499. "schema": {
  2500. "$ref": "#/definitions/app.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/HSBY/QueryMyCollectionOrders": {
  2507. "get": {
  2508. "security": [
  2509. {
  2510. "ApiKeyAuth": []
  2511. }
  2512. ],
  2513. "produces": [
  2514. "application/json"
  2515. ],
  2516. "tags": [
  2517. "定制【海商报业】"
  2518. ],
  2519. "summary": "我的闲置中收款信息查询",
  2520. "parameters": [
  2521. {
  2522. "type": "integer",
  2523. "description": "页码",
  2524. "name": "page",
  2525. "in": "query"
  2526. },
  2527. {
  2528. "type": "integer",
  2529. "description": "每页条数",
  2530. "name": "pagesize",
  2531. "in": "query"
  2532. },
  2533. {
  2534. "type": "string",
  2535. "description": "资金账户,格式:1,2,3",
  2536. "name": "accountIDs",
  2537. "in": "query",
  2538. "required": true
  2539. }
  2540. ],
  2541. "responses": {
  2542. "200": {
  2543. "description": "OK",
  2544. "schema": {
  2545. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2546. }
  2547. },
  2548. "500": {
  2549. "description": "Internal Server Error",
  2550. "schema": {
  2551. "$ref": "#/definitions/app.Response"
  2552. }
  2553. }
  2554. }
  2555. }
  2556. },
  2557. "/HSBY/QueryMyCouponHolds": {
  2558. "get": {
  2559. "security": [
  2560. {
  2561. "ApiKeyAuth": []
  2562. }
  2563. ],
  2564. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  2565. "produces": [
  2566. "application/json"
  2567. ],
  2568. "tags": [
  2569. "定制【海商报业】"
  2570. ],
  2571. "summary": "我的优惠卷持仓查询",
  2572. "parameters": [
  2573. {
  2574. "type": "string",
  2575. "description": "资金账户列表,格式:1,2,3",
  2576. "name": "accountIDs",
  2577. "in": "query",
  2578. "required": true
  2579. },
  2580. {
  2581. "type": "string",
  2582. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2583. "name": "holdStatus",
  2584. "in": "query"
  2585. }
  2586. ],
  2587. "responses": {
  2588. "200": {
  2589. "description": "OK",
  2590. "schema": {
  2591. "$ref": "#/definitions/models.MyCouponHold"
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/HSBY/QueryMyCoupons": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "ApiKeyAuth": []
  2608. }
  2609. ],
  2610. "produces": [
  2611. "application/json"
  2612. ],
  2613. "tags": [
  2614. "定制【海商报业】"
  2615. ],
  2616. "summary": "我的优惠卷查询",
  2617. "parameters": [
  2618. {
  2619. "type": "string",
  2620. "description": "资金账户列表,格式:1,2,3",
  2621. "name": "accountIDs",
  2622. "in": "query",
  2623. "required": true
  2624. },
  2625. {
  2626. "type": "integer",
  2627. "description": "商品ID, 一般与sellUserID配套传入",
  2628. "name": "goodsID",
  2629. "in": "query"
  2630. },
  2631. {
  2632. "type": "integer",
  2633. "description": "卖方UserID",
  2634. "name": "sellUserID",
  2635. "in": "query"
  2636. }
  2637. ],
  2638. "responses": {
  2639. "200": {
  2640. "description": "OK",
  2641. "schema": {
  2642. "$ref": "#/definitions/models.MyCoupon"
  2643. }
  2644. },
  2645. "500": {
  2646. "description": "Internal Server Error",
  2647. "schema": {
  2648. "$ref": "#/definitions/app.Response"
  2649. }
  2650. }
  2651. }
  2652. }
  2653. },
  2654. "/HSBY/QueryMyPayOrders": {
  2655. "get": {
  2656. "security": [
  2657. {
  2658. "ApiKeyAuth": []
  2659. }
  2660. ],
  2661. "produces": [
  2662. "application/json"
  2663. ],
  2664. "tags": [
  2665. "定制【海商报业】"
  2666. ],
  2667. "summary": "获取我的订单中待付款信息",
  2668. "parameters": [
  2669. {
  2670. "type": "integer",
  2671. "description": "页码",
  2672. "name": "page",
  2673. "in": "query"
  2674. },
  2675. {
  2676. "type": "integer",
  2677. "description": "每页条数",
  2678. "name": "pagesize",
  2679. "in": "query"
  2680. },
  2681. {
  2682. "type": "string",
  2683. "description": "资金账户列表,格式:1,2,3",
  2684. "name": "accountIDs",
  2685. "in": "query",
  2686. "required": true
  2687. },
  2688. {
  2689. "type": "integer",
  2690. "description": "买方委托单号",
  2691. "name": "buyOrderID",
  2692. "in": "query"
  2693. },
  2694. {
  2695. "type": "integer",
  2696. "description": "卖方委托单号",
  2697. "name": "sellOrderID",
  2698. "in": "query"
  2699. }
  2700. ],
  2701. "responses": {
  2702. "200": {
  2703. "description": "OK",
  2704. "schema": {
  2705. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2706. }
  2707. },
  2708. "500": {
  2709. "description": "Internal Server Error",
  2710. "schema": {
  2711. "$ref": "#/definitions/app.Response"
  2712. }
  2713. }
  2714. }
  2715. }
  2716. },
  2717. "/HSBY/QueryMyUsedCoupon": {
  2718. "get": {
  2719. "security": [
  2720. {
  2721. "ApiKeyAuth": []
  2722. }
  2723. ],
  2724. "produces": [
  2725. "application/json"
  2726. ],
  2727. "tags": [
  2728. "定制【海商报业】"
  2729. ],
  2730. "summary": "已使用优惠卷查询",
  2731. "parameters": [
  2732. {
  2733. "type": "string",
  2734. "description": "资金账户列表,格式:1,2,3",
  2735. "name": "accountIDs",
  2736. "in": "query",
  2737. "required": true
  2738. }
  2739. ],
  2740. "responses": {
  2741. "200": {
  2742. "description": "OK",
  2743. "schema": {
  2744. "$ref": "#/definitions/models.MyUsedCoupon"
  2745. }
  2746. },
  2747. "500": {
  2748. "description": "Internal Server Error",
  2749. "schema": {
  2750. "$ref": "#/definitions/app.Response"
  2751. }
  2752. }
  2753. }
  2754. }
  2755. },
  2756. "/HSBY/QueryProvincesAndCities": {
  2757. "get": {
  2758. "security": [
  2759. {
  2760. "ApiKeyAuth": []
  2761. }
  2762. ],
  2763. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2764. "produces": [
  2765. "application/json"
  2766. ],
  2767. "tags": [
  2768. "定制【海商报业】"
  2769. ],
  2770. "summary": "查询省市信息(不包括区)",
  2771. "parameters": [
  2772. {
  2773. "type": "integer",
  2774. "description": "省ID",
  2775. "name": "provinceID",
  2776. "in": "query"
  2777. }
  2778. ],
  2779. "responses": {
  2780. "200": {
  2781. "description": "OK",
  2782. "schema": {
  2783. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2784. }
  2785. },
  2786. "500": {
  2787. "description": "Internal Server Error",
  2788. "schema": {
  2789. "$ref": "#/definitions/app.Response"
  2790. }
  2791. }
  2792. }
  2793. }
  2794. },
  2795. "/HSBY/SetHsbyMyPackagesStatus": {
  2796. "post": {
  2797. "security": [
  2798. {
  2799. "ApiKeyAuth": []
  2800. }
  2801. ],
  2802. "produces": [
  2803. "application/json"
  2804. ],
  2805. "tags": [
  2806. "定制【海商报业】"
  2807. ],
  2808. "summary": "设置我的包裹已收货状态",
  2809. "parameters": [
  2810. {
  2811. "type": "string",
  2812. "description": "提货单号",
  2813. "name": "takeOrderID",
  2814. "in": "query",
  2815. "required": true
  2816. },
  2817. {
  2818. "type": "integer",
  2819. "description": "资金账号",
  2820. "name": "accountID",
  2821. "in": "query",
  2822. "required": true
  2823. }
  2824. ],
  2825. "responses": {
  2826. "200": {
  2827. "description": "OK",
  2828. "schema": {
  2829. "$ref": "#/definitions/app.Response"
  2830. }
  2831. },
  2832. "500": {
  2833. "description": "Internal Server Error",
  2834. "schema": {
  2835. "$ref": "#/definitions/app.Response"
  2836. }
  2837. }
  2838. }
  2839. }
  2840. },
  2841. "/Market/QueryMarketRun": {
  2842. "get": {
  2843. "security": [
  2844. {
  2845. "ApiKeyAuth": []
  2846. }
  2847. ],
  2848. "produces": [
  2849. "application/json"
  2850. ],
  2851. "tags": [
  2852. "通用市场"
  2853. ],
  2854. "summary": "查询市场运行信息",
  2855. "parameters": [
  2856. {
  2857. "type": "integer",
  2858. "description": "市场ID,不传返回所有",
  2859. "name": "marketID",
  2860. "in": "query"
  2861. }
  2862. ],
  2863. "responses": {
  2864. "200": {
  2865. "description": "OK",
  2866. "schema": {
  2867. "$ref": "#/definitions/models.Marketrun"
  2868. }
  2869. },
  2870. "500": {
  2871. "description": "Internal Server Error",
  2872. "schema": {
  2873. "$ref": "#/definitions/app.Response"
  2874. }
  2875. }
  2876. }
  2877. }
  2878. },
  2879. "/Order/QueryHisTradeDetail": {
  2880. "get": {
  2881. "security": [
  2882. {
  2883. "ApiKeyAuth": []
  2884. }
  2885. ],
  2886. "produces": [
  2887. "application/json"
  2888. ],
  2889. "tags": [
  2890. "通用单据"
  2891. ],
  2892. "summary": "历史成交单查询(合约市场)",
  2893. "parameters": [
  2894. {
  2895. "type": "string",
  2896. "description": "资金账户 - 格式:1,2,3",
  2897. "name": "accountID",
  2898. "in": "query",
  2899. "required": true
  2900. },
  2901. {
  2902. "type": "integer",
  2903. "description": "成交单号",
  2904. "name": "tradeID",
  2905. "in": "query"
  2906. },
  2907. {
  2908. "type": "integer",
  2909. "description": "委托单号",
  2910. "name": "orderID",
  2911. "in": "query"
  2912. },
  2913. {
  2914. "type": "string",
  2915. "description": "交易模式 - 格式:1,2,3",
  2916. "name": "tradeMode",
  2917. "in": "query"
  2918. },
  2919. {
  2920. "type": "integer",
  2921. "description": "委托单据类型",
  2922. "name": "buildType",
  2923. "in": "query"
  2924. },
  2925. {
  2926. "type": "string",
  2927. "description": "成交类别 - 格式:1,2,3",
  2928. "name": "tradeType",
  2929. "in": "query"
  2930. },
  2931. {
  2932. "type": "string",
  2933. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2934. "name": "startDate",
  2935. "in": "query"
  2936. },
  2937. {
  2938. "type": "string",
  2939. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2940. "name": "endDate",
  2941. "in": "query"
  2942. }
  2943. ],
  2944. "responses": {
  2945. "200": {
  2946. "description": "OK",
  2947. "schema": {
  2948. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2949. }
  2950. },
  2951. "500": {
  2952. "description": "Internal Server Error",
  2953. "schema": {
  2954. "$ref": "#/definitions/app.Response"
  2955. }
  2956. }
  2957. }
  2958. }
  2959. },
  2960. "/Order/QueryHisTradeOrderDetail": {
  2961. "get": {
  2962. "security": [
  2963. {
  2964. "ApiKeyAuth": []
  2965. }
  2966. ],
  2967. "produces": [
  2968. "application/json"
  2969. ],
  2970. "tags": [
  2971. "通用单据"
  2972. ],
  2973. "summary": "历史委托单查询请求(合约市场)",
  2974. "parameters": [
  2975. {
  2976. "type": "string",
  2977. "description": "资金账户 - 格式:1,2,3",
  2978. "name": "accountID",
  2979. "in": "query",
  2980. "required": true
  2981. },
  2982. {
  2983. "type": "string",
  2984. "description": "交易模式 - 格式:1,2,3",
  2985. "name": "tradeMode",
  2986. "in": "query"
  2987. },
  2988. {
  2989. "type": "string",
  2990. "description": "委托状态 - 格式:1,2,3",
  2991. "name": "orderStatus",
  2992. "in": "query"
  2993. },
  2994. {
  2995. "type": "integer",
  2996. "description": "委托单号",
  2997. "name": "orderID",
  2998. "in": "query"
  2999. },
  3000. {
  3001. "type": "string",
  3002. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3003. "name": "startDate",
  3004. "in": "query"
  3005. },
  3006. {
  3007. "type": "string",
  3008. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3009. "name": "endDate",
  3010. "in": "query"
  3011. }
  3012. ],
  3013. "responses": {
  3014. "200": {
  3015. "description": "OK",
  3016. "schema": {
  3017. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  3018. }
  3019. },
  3020. "500": {
  3021. "description": "Internal Server Error",
  3022. "schema": {
  3023. "$ref": "#/definitions/app.Response"
  3024. }
  3025. }
  3026. }
  3027. }
  3028. },
  3029. "/Order/QueryTradeDetail": {
  3030. "get": {
  3031. "security": [
  3032. {
  3033. "ApiKeyAuth": []
  3034. }
  3035. ],
  3036. "produces": [
  3037. "application/json"
  3038. ],
  3039. "tags": [
  3040. "通用单据"
  3041. ],
  3042. "summary": "成交单查询(合约市场)",
  3043. "parameters": [
  3044. {
  3045. "type": "string",
  3046. "description": "资金账户 - 格式:1,2,3",
  3047. "name": "accountID",
  3048. "in": "query",
  3049. "required": true
  3050. },
  3051. {
  3052. "type": "integer",
  3053. "description": "成交单号",
  3054. "name": "tradeID",
  3055. "in": "query"
  3056. },
  3057. {
  3058. "type": "integer",
  3059. "description": "委托单号",
  3060. "name": "orderID",
  3061. "in": "query"
  3062. },
  3063. {
  3064. "type": "string",
  3065. "description": "交易模式 - 格式:1,2,3",
  3066. "name": "tradeMode",
  3067. "in": "query"
  3068. },
  3069. {
  3070. "type": "integer",
  3071. "description": "委托单据类型",
  3072. "name": "buildType",
  3073. "in": "query"
  3074. },
  3075. {
  3076. "type": "string",
  3077. "description": "成交类别 - 格式:1,2,3",
  3078. "name": "tradeType",
  3079. "in": "query"
  3080. }
  3081. ],
  3082. "responses": {
  3083. "200": {
  3084. "description": "OK",
  3085. "schema": {
  3086. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  3087. }
  3088. },
  3089. "500": {
  3090. "description": "Internal Server Error",
  3091. "schema": {
  3092. "$ref": "#/definitions/app.Response"
  3093. }
  3094. }
  3095. }
  3096. }
  3097. },
  3098. "/Order/QueryTradeOrderDetail": {
  3099. "get": {
  3100. "security": [
  3101. {
  3102. "ApiKeyAuth": []
  3103. }
  3104. ],
  3105. "produces": [
  3106. "application/json"
  3107. ],
  3108. "tags": [
  3109. "通用单据"
  3110. ],
  3111. "summary": "委托单查询请求(合约市场)",
  3112. "parameters": [
  3113. {
  3114. "type": "string",
  3115. "description": "资金账户 - 格式:1,2,3",
  3116. "name": "accountID",
  3117. "in": "query",
  3118. "required": true
  3119. },
  3120. {
  3121. "type": "string",
  3122. "description": "交易模式 - 格式:1,2,3",
  3123. "name": "tradeMode",
  3124. "in": "query"
  3125. },
  3126. {
  3127. "type": "string",
  3128. "description": "委托状态 - 格式:1,2,3",
  3129. "name": "orderStatus",
  3130. "in": "query"
  3131. },
  3132. {
  3133. "type": "integer",
  3134. "description": "委托单号",
  3135. "name": "orderID",
  3136. "in": "query"
  3137. }
  3138. ],
  3139. "responses": {
  3140. "200": {
  3141. "description": "OK",
  3142. "schema": {
  3143. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3144. }
  3145. },
  3146. "500": {
  3147. "description": "Internal Server Error",
  3148. "schema": {
  3149. "$ref": "#/definitions/app.Response"
  3150. }
  3151. }
  3152. }
  3153. }
  3154. },
  3155. "/Order/QueryTradePosition": {
  3156. "get": {
  3157. "security": [
  3158. {
  3159. "ApiKeyAuth": []
  3160. }
  3161. ],
  3162. "produces": [
  3163. "application/json"
  3164. ],
  3165. "tags": [
  3166. "通用单据"
  3167. ],
  3168. "summary": "持仓汇总查询(合约市场)",
  3169. "parameters": [
  3170. {
  3171. "type": "string",
  3172. "description": "资金账户 - 格式:1,2,3",
  3173. "name": "accountID",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "string",
  3179. "description": "交易模式 - 格式:1,2,3",
  3180. "name": "tradeMode",
  3181. "in": "query"
  3182. }
  3183. ],
  3184. "responses": {
  3185. "200": {
  3186. "description": "OK",
  3187. "schema": {
  3188. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3189. }
  3190. },
  3191. "500": {
  3192. "description": "Internal Server Error",
  3193. "schema": {
  3194. "$ref": "#/definitions/app.Response"
  3195. }
  3196. }
  3197. }
  3198. }
  3199. },
  3200. "/Quote/QueryHistoryDatas": {
  3201. "get": {
  3202. "security": [
  3203. {
  3204. "ApiKeyAuth": []
  3205. }
  3206. ],
  3207. "produces": [
  3208. "application/json"
  3209. ],
  3210. "tags": [
  3211. "行情服务"
  3212. ],
  3213. "summary": "查询行情历史数据",
  3214. "parameters": [
  3215. {
  3216. "type": "integer",
  3217. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3218. "name": "cycleType",
  3219. "in": "query",
  3220. "required": true
  3221. },
  3222. {
  3223. "type": "string",
  3224. "description": "商品代码",
  3225. "name": "goodsCode",
  3226. "in": "query",
  3227. "required": true
  3228. },
  3229. {
  3230. "type": "string",
  3231. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3232. "name": "startTime",
  3233. "in": "query"
  3234. },
  3235. {
  3236. "type": "string",
  3237. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3238. "name": "endTime",
  3239. "in": "query"
  3240. },
  3241. {
  3242. "type": "integer",
  3243. "description": "条数",
  3244. "name": "count",
  3245. "in": "query"
  3246. },
  3247. {
  3248. "type": "boolean",
  3249. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3250. "name": "isAsc",
  3251. "in": "query"
  3252. }
  3253. ],
  3254. "responses": {
  3255. "200": {
  3256. "description": "OK",
  3257. "schema": {
  3258. "$ref": "#/definitions/quote.HistoryData"
  3259. }
  3260. },
  3261. "500": {
  3262. "description": "Internal Server Error",
  3263. "schema": {
  3264. "$ref": "#/definitions/app.Response"
  3265. }
  3266. }
  3267. }
  3268. }
  3269. },
  3270. "/Quote/QueryTSData": {
  3271. "get": {
  3272. "produces": [
  3273. "application/json"
  3274. ],
  3275. "tags": [
  3276. "行情服务"
  3277. ],
  3278. "summary": "分时图数据查询",
  3279. "parameters": [
  3280. {
  3281. "type": "string",
  3282. "description": "商品代码",
  3283. "name": "GoodsCode",
  3284. "in": "query",
  3285. "required": true
  3286. }
  3287. ],
  3288. "responses": {
  3289. "200": {
  3290. "description": "OK",
  3291. "schema": {
  3292. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3293. }
  3294. },
  3295. "500": {
  3296. "description": "Internal Server Error",
  3297. "schema": {
  3298. "$ref": "#/definitions/app.Response"
  3299. }
  3300. }
  3301. }
  3302. }
  3303. },
  3304. "/SZDZ/QueryConvertConfig": {
  3305. "get": {
  3306. "security": [
  3307. {
  3308. "ApiKeyAuth": []
  3309. }
  3310. ],
  3311. "produces": [
  3312. "application/json"
  3313. ],
  3314. "tags": [
  3315. "定制【尚志大宗】"
  3316. ],
  3317. "summary": "查询交易系统转换设置",
  3318. "parameters": [
  3319. {
  3320. "type": "integer",
  3321. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3322. "name": "convertType",
  3323. "in": "query"
  3324. },
  3325. {
  3326. "type": "string",
  3327. "description": "外部商品代码[JD\\PD]",
  3328. "name": "outerGoodsCode",
  3329. "in": "query"
  3330. },
  3331. {
  3332. "type": "string",
  3333. "description": "内部商品ID列表[交易],格式:1,2,3",
  3334. "name": "innerGoodsIDs",
  3335. "in": "query"
  3336. }
  3337. ],
  3338. "responses": {
  3339. "200": {
  3340. "description": "OK",
  3341. "schema": {
  3342. "$ref": "#/definitions/models.Szdz3convertconfig"
  3343. }
  3344. },
  3345. "500": {
  3346. "description": "Internal Server Error",
  3347. "schema": {
  3348. "$ref": "#/definitions/app.Response"
  3349. }
  3350. }
  3351. }
  3352. }
  3353. },
  3354. "/SZDZ/QueryConvertLog": {
  3355. "get": {
  3356. "security": [
  3357. {
  3358. "ApiKeyAuth": []
  3359. }
  3360. ],
  3361. "produces": [
  3362. "application/json"
  3363. ],
  3364. "tags": [
  3365. "定制【尚志大宗】"
  3366. ],
  3367. "summary": "交易系统转换流水查询",
  3368. "parameters": [
  3369. {
  3370. "type": "string",
  3371. "description": "资金账户 - 格式:1,2,3",
  3372. "name": "accountID",
  3373. "in": "query",
  3374. "required": true
  3375. },
  3376. {
  3377. "type": "string",
  3378. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3379. "name": "startDate",
  3380. "in": "query"
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3385. "name": "endDate",
  3386. "in": "query"
  3387. }
  3388. ],
  3389. "responses": {
  3390. "200": {
  3391. "description": "OK",
  3392. "schema": {
  3393. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3394. }
  3395. },
  3396. "500": {
  3397. "description": "Internal Server Error",
  3398. "schema": {
  3399. "$ref": "#/definitions/app.Response"
  3400. }
  3401. }
  3402. }
  3403. }
  3404. },
  3405. "/SZDZ/QueryGoodsPickup": {
  3406. "get": {
  3407. "security": [
  3408. {
  3409. "ApiKeyAuth": []
  3410. }
  3411. ],
  3412. "produces": [
  3413. "application/json"
  3414. ],
  3415. "tags": [
  3416. "定制【尚志大宗】"
  3417. ],
  3418. "summary": "商品提货单查询",
  3419. "parameters": [
  3420. {
  3421. "type": "string",
  3422. "description": "资金账户 - 格式:1,2,3",
  3423. "name": "accountID",
  3424. "in": "query",
  3425. "required": true
  3426. },
  3427. {
  3428. "type": "integer",
  3429. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3430. "name": "takeOrderStatus",
  3431. "in": "query"
  3432. }
  3433. ],
  3434. "responses": {
  3435. "200": {
  3436. "description": "OK",
  3437. "schema": {
  3438. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3439. }
  3440. },
  3441. "500": {
  3442. "description": "Internal Server Error",
  3443. "schema": {
  3444. "$ref": "#/definitions/app.Response"
  3445. }
  3446. }
  3447. }
  3448. }
  3449. },
  3450. "/SZDZ/QueryRecieptOrder": {
  3451. "get": {
  3452. "security": [
  3453. {
  3454. "ApiKeyAuth": []
  3455. }
  3456. ],
  3457. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3458. "produces": [
  3459. "application/json"
  3460. ],
  3461. "tags": [
  3462. "定制【尚志大宗】"
  3463. ],
  3464. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3465. "parameters": [
  3466. {
  3467. "type": "integer",
  3468. "description": "页码",
  3469. "name": "page",
  3470. "in": "query"
  3471. },
  3472. {
  3473. "type": "integer",
  3474. "description": "每页条数",
  3475. "name": "pagesize",
  3476. "in": "query"
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "商品ID",
  3481. "name": "goodsID",
  3482. "in": "query",
  3483. "required": true
  3484. },
  3485. {
  3486. "type": "string",
  3487. "description": "所属账户名称",
  3488. "name": "accountName",
  3489. "in": "query"
  3490. },
  3491. {
  3492. "type": "integer",
  3493. "description": "市场ID",
  3494. "name": "marketID",
  3495. "in": "query"
  3496. },
  3497. {
  3498. "type": "integer",
  3499. "description": "方向 - 0:买 1:卖",
  3500. "name": "buyorsell",
  3501. "in": "query",
  3502. "required": true
  3503. }
  3504. ],
  3505. "responses": {
  3506. "200": {
  3507. "description": "OK",
  3508. "schema": {
  3509. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3510. }
  3511. },
  3512. "500": {
  3513. "description": "Internal Server Error",
  3514. "schema": {
  3515. "$ref": "#/definitions/app.Response"
  3516. }
  3517. }
  3518. }
  3519. }
  3520. },
  3521. "/SZDZ/QuerySZDZTradePosition": {
  3522. "get": {
  3523. "security": [
  3524. {
  3525. "ApiKeyAuth": []
  3526. }
  3527. ],
  3528. "produces": [
  3529. "application/json"
  3530. ],
  3531. "tags": [
  3532. "定制【尚志大宗】"
  3533. ],
  3534. "summary": "持仓汇总查询(尚志大宗)",
  3535. "parameters": [
  3536. {
  3537. "type": "integer",
  3538. "description": "资金账户",
  3539. "name": "accountID",
  3540. "in": "query",
  3541. "required": true
  3542. }
  3543. ],
  3544. "responses": {
  3545. "200": {
  3546. "description": "OK",
  3547. "schema": {
  3548. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3549. }
  3550. },
  3551. "500": {
  3552. "description": "Internal Server Error",
  3553. "schema": {
  3554. "$ref": "#/definitions/app.Response"
  3555. }
  3556. }
  3557. }
  3558. }
  3559. },
  3560. "/SZDZ/SearchWhite": {
  3561. "get": {
  3562. "security": [
  3563. {
  3564. "ApiKeyAuth": []
  3565. }
  3566. ],
  3567. "produces": [
  3568. "application/json"
  3569. ],
  3570. "tags": [
  3571. "定制【尚志大宗】"
  3572. ],
  3573. "summary": "搜索白名单",
  3574. "parameters": [
  3575. {
  3576. "type": "integer",
  3577. "description": "用户ID",
  3578. "name": "userID",
  3579. "in": "query",
  3580. "required": true
  3581. }
  3582. ],
  3583. "responses": {
  3584. "200": {
  3585. "description": "OK",
  3586. "schema": {
  3587. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3588. }
  3589. },
  3590. "500": {
  3591. "description": "Internal Server Error",
  3592. "schema": {
  3593. "$ref": "#/definitions/app.Response"
  3594. }
  3595. }
  3596. }
  3597. }
  3598. },
  3599. "/Search/SearchGoodses": {
  3600. "get": {
  3601. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3602. "produces": [
  3603. "application/json"
  3604. ],
  3605. "tags": [
  3606. "检索服务"
  3607. ],
  3608. "summary": "检索商品信息",
  3609. "parameters": [
  3610. {
  3611. "type": "string",
  3612. "description": "检索内容",
  3613. "name": "content",
  3614. "in": "query",
  3615. "required": true
  3616. },
  3617. {
  3618. "type": "string",
  3619. "description": "交易模式,格式:1,2,3",
  3620. "name": "tradeModes",
  3621. "in": "query"
  3622. }
  3623. ],
  3624. "responses": {
  3625. "200": {
  3626. "description": "OK",
  3627. "schema": {
  3628. "$ref": "#/definitions/models.SearchGoods"
  3629. }
  3630. },
  3631. "500": {
  3632. "description": "Internal Server Error",
  3633. "schema": {
  3634. "$ref": "#/definitions/app.Response"
  3635. }
  3636. }
  3637. }
  3638. }
  3639. },
  3640. "/TaAccount/QueryAmountLog": {
  3641. "get": {
  3642. "security": [
  3643. {
  3644. "ApiKeyAuth": []
  3645. }
  3646. ],
  3647. "produces": [
  3648. "application/json"
  3649. ],
  3650. "tags": [
  3651. "资金账户"
  3652. ],
  3653. "summary": "资金流水查询(当前)",
  3654. "parameters": [
  3655. {
  3656. "type": "integer",
  3657. "description": "页码",
  3658. "name": "page",
  3659. "in": "query"
  3660. },
  3661. {
  3662. "type": "integer",
  3663. "description": "每页条数",
  3664. "name": "pagesize",
  3665. "in": "query"
  3666. },
  3667. {
  3668. "type": "string",
  3669. "description": "资金账户 - 格式:1,2,3",
  3670. "name": "accountID",
  3671. "in": "query",
  3672. "required": true
  3673. },
  3674. {
  3675. "type": "string",
  3676. "description": "资金操作类型 - 格式:1,2,3",
  3677. "name": "OperateType",
  3678. "in": "query"
  3679. }
  3680. ],
  3681. "responses": {
  3682. "200": {
  3683. "description": "OK",
  3684. "schema": {
  3685. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3686. }
  3687. },
  3688. "500": {
  3689. "description": "Internal Server Error",
  3690. "schema": {
  3691. "$ref": "#/definitions/app.Response"
  3692. }
  3693. }
  3694. }
  3695. }
  3696. },
  3697. "/TaAccount/QueryHisAmountLog": {
  3698. "get": {
  3699. "security": [
  3700. {
  3701. "ApiKeyAuth": []
  3702. }
  3703. ],
  3704. "produces": [
  3705. "application/json"
  3706. ],
  3707. "tags": [
  3708. "资金账户"
  3709. ],
  3710. "summary": "资金流水查询(历史)",
  3711. "parameters": [
  3712. {
  3713. "type": "integer",
  3714. "description": "页码",
  3715. "name": "page",
  3716. "in": "query"
  3717. },
  3718. {
  3719. "type": "integer",
  3720. "description": "每页条数",
  3721. "name": "pagesize",
  3722. "in": "query"
  3723. },
  3724. {
  3725. "type": "string",
  3726. "description": "资金账户 - 格式:1,2,3",
  3727. "name": "accountID",
  3728. "in": "query",
  3729. "required": true
  3730. },
  3731. {
  3732. "type": "string",
  3733. "description": "资金操作类型 - 格式:1,2,3",
  3734. "name": "OperateType",
  3735. "in": "query"
  3736. },
  3737. {
  3738. "type": "string",
  3739. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3740. "name": "startDate",
  3741. "in": "query"
  3742. },
  3743. {
  3744. "type": "string",
  3745. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3746. "name": "endDate",
  3747. "in": "query"
  3748. }
  3749. ],
  3750. "responses": {
  3751. "200": {
  3752. "description": "OK",
  3753. "schema": {
  3754. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3755. }
  3756. },
  3757. "500": {
  3758. "description": "Internal Server Error",
  3759. "schema": {
  3760. "$ref": "#/definitions/app.Response"
  3761. }
  3762. }
  3763. }
  3764. }
  3765. },
  3766. "/Trade/QueryRecieptOrder": {
  3767. "get": {
  3768. "security": [
  3769. {
  3770. "ApiKeyAuth": []
  3771. }
  3772. ],
  3773. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3774. "produces": [
  3775. "application/json"
  3776. ],
  3777. "tags": [
  3778. "通用交易"
  3779. ],
  3780. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3781. "parameters": [
  3782. {
  3783. "type": "integer",
  3784. "description": "页码",
  3785. "name": "page",
  3786. "in": "query"
  3787. },
  3788. {
  3789. "type": "integer",
  3790. "description": "每页条数",
  3791. "name": "pagesize",
  3792. "in": "query"
  3793. },
  3794. {
  3795. "type": "integer",
  3796. "description": "商品ID",
  3797. "name": "goodsID",
  3798. "in": "query",
  3799. "required": true
  3800. },
  3801. {
  3802. "type": "string",
  3803. "description": "所属账户名称",
  3804. "name": "accountName",
  3805. "in": "query"
  3806. },
  3807. {
  3808. "type": "integer",
  3809. "description": "市场ID",
  3810. "name": "marketID",
  3811. "in": "query"
  3812. },
  3813. {
  3814. "type": "integer",
  3815. "description": "方向 - 0:买 1:卖",
  3816. "name": "buyorsell",
  3817. "in": "query",
  3818. "required": true
  3819. }
  3820. ],
  3821. "responses": {
  3822. "200": {
  3823. "description": "OK",
  3824. "schema": {
  3825. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3826. }
  3827. },
  3828. "500": {
  3829. "description": "Internal Server Error",
  3830. "schema": {
  3831. "$ref": "#/definitions/app.Response"
  3832. }
  3833. }
  3834. }
  3835. }
  3836. },
  3837. "/User/AddMessageBoard": {
  3838. "post": {
  3839. "security": [
  3840. {
  3841. "ApiKeyAuth": []
  3842. }
  3843. ],
  3844. "produces": [
  3845. "application/json"
  3846. ],
  3847. "tags": [
  3848. "用户信息"
  3849. ],
  3850. "summary": "添加用户留言板信息",
  3851. "parameters": [
  3852. {
  3853. "type": "integer",
  3854. "description": "用户ID",
  3855. "name": "userID",
  3856. "in": "query",
  3857. "required": true
  3858. },
  3859. {
  3860. "type": "string",
  3861. "description": "留言信息",
  3862. "name": "message",
  3863. "in": "query",
  3864. "required": true
  3865. }
  3866. ],
  3867. "responses": {
  3868. "200": {
  3869. "description": "OK",
  3870. "schema": {
  3871. "$ref": "#/definitions/app.Response"
  3872. }
  3873. },
  3874. "500": {
  3875. "description": "Internal Server Error",
  3876. "schema": {
  3877. "$ref": "#/definitions/app.Response"
  3878. }
  3879. }
  3880. }
  3881. }
  3882. },
  3883. "/User/AddUserFavoriteGoods": {
  3884. "post": {
  3885. "security": [
  3886. {
  3887. "ApiKeyAuth": []
  3888. }
  3889. ],
  3890. "produces": [
  3891. "application/json"
  3892. ],
  3893. "tags": [
  3894. "用户信息"
  3895. ],
  3896. "summary": "添加用户商品收藏信息",
  3897. "parameters": [
  3898. {
  3899. "type": "integer",
  3900. "description": "用户ID",
  3901. "name": "userID",
  3902. "in": "query",
  3903. "required": true
  3904. },
  3905. {
  3906. "type": "integer",
  3907. "description": "商品ID",
  3908. "name": "goodsID",
  3909. "in": "query",
  3910. "required": true
  3911. }
  3912. ],
  3913. "responses": {
  3914. "200": {
  3915. "description": "OK",
  3916. "schema": {
  3917. "$ref": "#/definitions/app.Response"
  3918. }
  3919. },
  3920. "500": {
  3921. "description": "Internal Server Error",
  3922. "schema": {
  3923. "$ref": "#/definitions/app.Response"
  3924. }
  3925. }
  3926. }
  3927. }
  3928. },
  3929. "/User/GetLoginID": {
  3930. "get": {
  3931. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3932. "produces": [
  3933. "application/json"
  3934. ],
  3935. "tags": [
  3936. "用户信息"
  3937. ],
  3938. "summary": "获取登录ID",
  3939. "parameters": [
  3940. {
  3941. "type": "string",
  3942. "description": "登录代码",
  3943. "name": "username",
  3944. "in": "query",
  3945. "required": true
  3946. }
  3947. ],
  3948. "responses": {
  3949. "200": {
  3950. "description": "OK",
  3951. "schema": {
  3952. "$ref": "#/definitions/app.Response"
  3953. }
  3954. },
  3955. "500": {
  3956. "description": "Internal Server Error",
  3957. "schema": {
  3958. "$ref": "#/definitions/app.Response"
  3959. }
  3960. }
  3961. }
  3962. }
  3963. },
  3964. "/User/GetUserAccount": {
  3965. "get": {
  3966. "security": [
  3967. {
  3968. "ApiKeyAuth": []
  3969. }
  3970. ],
  3971. "produces": [
  3972. "application/json"
  3973. ],
  3974. "tags": [
  3975. "用户信息"
  3976. ],
  3977. "summary": "获取用户账号信息",
  3978. "parameters": [
  3979. {
  3980. "type": "integer",
  3981. "description": "用户ID",
  3982. "name": "userID",
  3983. "in": "query",
  3984. "required": true
  3985. }
  3986. ],
  3987. "responses": {
  3988. "200": {
  3989. "description": "OK",
  3990. "schema": {
  3991. "$ref": "#/definitions/models.Useraccount"
  3992. }
  3993. },
  3994. "500": {
  3995. "description": "Internal Server Error",
  3996. "schema": {
  3997. "$ref": "#/definitions/app.Response"
  3998. }
  3999. }
  4000. }
  4001. }
  4002. },
  4003. "/User/GetUserAuthStatus": {
  4004. "get": {
  4005. "security": [
  4006. {
  4007. "ApiKeyAuth": []
  4008. }
  4009. ],
  4010. "produces": [
  4011. "application/json"
  4012. ],
  4013. "tags": [
  4014. "用户信息"
  4015. ],
  4016. "summary": "获取用户实名认证状态",
  4017. "parameters": [
  4018. {
  4019. "type": "integer",
  4020. "description": "用户ID",
  4021. "name": "userID",
  4022. "in": "query",
  4023. "required": true
  4024. }
  4025. ],
  4026. "responses": {
  4027. "200": {
  4028. "description": "OK",
  4029. "schema": {
  4030. "$ref": "#/definitions/app.Response"
  4031. }
  4032. },
  4033. "500": {
  4034. "description": "Internal Server Error",
  4035. "schema": {
  4036. "$ref": "#/definitions/app.Response"
  4037. }
  4038. }
  4039. }
  4040. }
  4041. },
  4042. "/User/QueryMessageBoard": {
  4043. "get": {
  4044. "security": [
  4045. {
  4046. "ApiKeyAuth": []
  4047. }
  4048. ],
  4049. "produces": [
  4050. "application/json"
  4051. ],
  4052. "tags": [
  4053. "用户信息"
  4054. ],
  4055. "summary": "获取用户留言板信息",
  4056. "parameters": [
  4057. {
  4058. "type": "integer",
  4059. "description": "用户ID",
  4060. "name": "userID",
  4061. "in": "query",
  4062. "required": true
  4063. }
  4064. ],
  4065. "responses": {
  4066. "200": {
  4067. "description": "OK",
  4068. "schema": {
  4069. "$ref": "#/definitions/models.Messageboard"
  4070. }
  4071. },
  4072. "500": {
  4073. "description": "Internal Server Error",
  4074. "schema": {
  4075. "$ref": "#/definitions/app.Response"
  4076. }
  4077. }
  4078. }
  4079. }
  4080. },
  4081. "/User/QueryUserFavoriteGoodses": {
  4082. "get": {
  4083. "security": [
  4084. {
  4085. "ApiKeyAuth": []
  4086. }
  4087. ],
  4088. "produces": [
  4089. "application/json"
  4090. ],
  4091. "tags": [
  4092. "用户信息"
  4093. ],
  4094. "summary": "获取用户商品收藏信息",
  4095. "parameters": [
  4096. {
  4097. "type": "integer",
  4098. "description": "用户ID",
  4099. "name": "userID",
  4100. "in": "query",
  4101. "required": true
  4102. }
  4103. ],
  4104. "responses": {
  4105. "200": {
  4106. "description": "OK",
  4107. "schema": {
  4108. "$ref": "#/definitions/models.Userfavoritegoods"
  4109. }
  4110. },
  4111. "500": {
  4112. "description": "Internal Server Error",
  4113. "schema": {
  4114. "$ref": "#/definitions/app.Response"
  4115. }
  4116. }
  4117. }
  4118. }
  4119. },
  4120. "/User/QueryUserInfo": {
  4121. "get": {
  4122. "security": [
  4123. {
  4124. "ApiKeyAuth": []
  4125. }
  4126. ],
  4127. "produces": [
  4128. "application/json"
  4129. ],
  4130. "tags": [
  4131. "用户信息"
  4132. ],
  4133. "summary": "获取用户信息",
  4134. "parameters": [
  4135. {
  4136. "type": "integer",
  4137. "description": "用户ID",
  4138. "name": "userID",
  4139. "in": "query",
  4140. "required": true
  4141. }
  4142. ],
  4143. "responses": {
  4144. "200": {
  4145. "description": "OK",
  4146. "schema": {
  4147. "$ref": "#/definitions/models.Userinfo"
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/User/QueryUserReferNum": {
  4160. "get": {
  4161. "produces": [
  4162. "application/json"
  4163. ],
  4164. "tags": [
  4165. "用户信息"
  4166. ],
  4167. "summary": "获取用户邀请码",
  4168. "parameters": [
  4169. {
  4170. "type": "integer",
  4171. "description": "用户ID",
  4172. "name": "userID",
  4173. "in": "query",
  4174. "required": true
  4175. }
  4176. ],
  4177. "responses": {
  4178. "200": {
  4179. "description": "OK",
  4180. "schema": {
  4181. "$ref": "#/definitions/app.Response"
  4182. }
  4183. },
  4184. "500": {
  4185. "description": "Internal Server Error",
  4186. "schema": {
  4187. "$ref": "#/definitions/app.Response"
  4188. }
  4189. }
  4190. }
  4191. }
  4192. },
  4193. "/User/RemoveUserFavoriteGoods": {
  4194. "post": {
  4195. "security": [
  4196. {
  4197. "ApiKeyAuth": []
  4198. }
  4199. ],
  4200. "produces": [
  4201. "application/json"
  4202. ],
  4203. "tags": [
  4204. "用户信息"
  4205. ],
  4206. "summary": "移除用户商品收藏信息",
  4207. "parameters": [
  4208. {
  4209. "type": "integer",
  4210. "description": "用户ID",
  4211. "name": "userID",
  4212. "in": "query",
  4213. "required": true
  4214. },
  4215. {
  4216. "type": "integer",
  4217. "description": "商品ID",
  4218. "name": "goodsID",
  4219. "in": "query",
  4220. "required": true
  4221. }
  4222. ],
  4223. "responses": {
  4224. "200": {
  4225. "description": "OK",
  4226. "schema": {
  4227. "$ref": "#/definitions/app.Response"
  4228. }
  4229. },
  4230. "500": {
  4231. "description": "Internal Server Error",
  4232. "schema": {
  4233. "$ref": "#/definitions/app.Response"
  4234. }
  4235. }
  4236. }
  4237. }
  4238. },
  4239. "/WR/GetWRCategoryInfo": {
  4240. "get": {
  4241. "produces": [
  4242. "application/json"
  4243. ],
  4244. "tags": [
  4245. "仓单服务"
  4246. ],
  4247. "summary": "获取现货分类信息",
  4248. "responses": {
  4249. "200": {
  4250. "description": "OK",
  4251. "schema": {
  4252. "$ref": "#/definitions/models.WRCategoryTree"
  4253. }
  4254. },
  4255. "500": {
  4256. "description": "Internal Server Error",
  4257. "schema": {
  4258. "$ref": "#/definitions/app.Response"
  4259. }
  4260. }
  4261. }
  4262. }
  4263. },
  4264. "/WRTrade/GetAllDeliveryGoods": {
  4265. "get": {
  4266. "security": [
  4267. {
  4268. "ApiKeyAuth": []
  4269. },
  4270. {
  4271. "ApiKeyAuth": []
  4272. }
  4273. ],
  4274. "produces": [
  4275. "application/json",
  4276. "application/json"
  4277. ],
  4278. "tags": [
  4279. "仓单贸易",
  4280. "仓单贸易"
  4281. ],
  4282. "summary": "获取带仓单分类的种类信息",
  4283. "responses": {
  4284. "200": {
  4285. "description": "OK",
  4286. "schema": {
  4287. "$ref": "#/definitions/app.Response"
  4288. }
  4289. },
  4290. "500": {
  4291. "description": "Internal Server Error",
  4292. "schema": {
  4293. "$ref": "#/definitions/app.Response"
  4294. }
  4295. }
  4296. }
  4297. }
  4298. }
  4299. },
  4300. "definitions": {
  4301. "app.Response": {
  4302. "type": "object",
  4303. "properties": {
  4304. "code": {
  4305. "type": "integer"
  4306. },
  4307. "data": {
  4308. "type": "object"
  4309. },
  4310. "msg": {
  4311. "type": "string"
  4312. },
  4313. "page": {
  4314. "description": "页码",
  4315. "type": "integer"
  4316. },
  4317. "pagesize": {
  4318. "description": "每页条数",
  4319. "type": "integer"
  4320. },
  4321. "total": {
  4322. "description": "总条数",
  4323. "type": "integer"
  4324. }
  4325. }
  4326. },
  4327. "common.QueryNoticeRsp": {
  4328. "type": "object",
  4329. "required": [
  4330. "autoid"
  4331. ],
  4332. "properties": {
  4333. "auditoruserid": {
  4334. "description": "审核人",
  4335. "type": "integer"
  4336. },
  4337. "auditremark": {
  4338. "description": "审核备注",
  4339. "type": "string"
  4340. },
  4341. "audittime": {
  4342. "description": "审核日期",
  4343. "type": "string"
  4344. },
  4345. "autoid": {
  4346. "description": "自增ID",
  4347. "type": "integer"
  4348. },
  4349. "content": {
  4350. "description": "内容",
  4351. "type": "string"
  4352. },
  4353. "createtime": {
  4354. "description": "创建时间",
  4355. "type": "string"
  4356. },
  4357. "creatorid": {
  4358. "description": "建仓人",
  4359. "type": "integer"
  4360. },
  4361. "endtime": {
  4362. "description": "结束时间",
  4363. "type": "string"
  4364. },
  4365. "istop": {
  4366. "description": "是否置顶 - 0:不置顶 1:置顶",
  4367. "type": "integer"
  4368. },
  4369. "msgiconurl": {
  4370. "description": "消息图标Url",
  4371. "type": "string"
  4372. },
  4373. "msgtype": {
  4374. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4375. "type": "integer"
  4376. },
  4377. "publisher": {
  4378. "description": "消息发布者",
  4379. "type": "string"
  4380. },
  4381. "readed": {
  4382. "description": "是否已读",
  4383. "type": "boolean"
  4384. },
  4385. "scheduletime": {
  4386. "description": "计划发送时间",
  4387. "type": "string"
  4388. },
  4389. "sendtype": {
  4390. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4391. "type": "integer"
  4392. },
  4393. "sentstatus": {
  4394. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4395. "type": "integer"
  4396. },
  4397. "title": {
  4398. "description": "标题",
  4399. "type": "string"
  4400. },
  4401. "userid": {
  4402. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4403. "type": "integer"
  4404. }
  4405. }
  4406. },
  4407. "common.QueryProvincesAndCitiesRsp": {
  4408. "type": "object",
  4409. "properties": {
  4410. "cities": {
  4411. "description": "市",
  4412. "type": "array",
  4413. "items": {
  4414. "$ref": "#/definitions/models.Division"
  4415. }
  4416. },
  4417. "province": {
  4418. "description": "省",
  4419. "$ref": "#/definitions/models.Division"
  4420. }
  4421. }
  4422. },
  4423. "common.QueryTableDefineRsp": {
  4424. "type": "object",
  4425. "required": [
  4426. "tablekey"
  4427. ],
  4428. "properties": {
  4429. "columns": {
  4430. "description": "列头信息数组",
  4431. "type": "array",
  4432. "items": {
  4433. "$ref": "#/definitions/models.Tablecolumnconfig"
  4434. }
  4435. },
  4436. "remark": {
  4437. "description": "Remark",
  4438. "type": "string"
  4439. },
  4440. "tabelmenu": {
  4441. "description": "列表菜单",
  4442. "type": "string"
  4443. },
  4444. "tablekey": {
  4445. "description": "列表Key",
  4446. "type": "string"
  4447. },
  4448. "tablename": {
  4449. "description": "列表名称",
  4450. "type": "string"
  4451. },
  4452. "tabletype": {
  4453. "description": "列表类型 - 1:管理端 2:终端",
  4454. "type": "integer"
  4455. }
  4456. }
  4457. },
  4458. "common.QueryTraderMenuRsp": {
  4459. "type": "object",
  4460. "properties": {
  4461. "OperationMenu": {
  4462. "description": "功能菜单",
  4463. "type": "array",
  4464. "items": {
  4465. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4466. }
  4467. },
  4468. "QuoteMenu": {
  4469. "description": "报价牌分类菜单",
  4470. "type": "array",
  4471. "items": {
  4472. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4473. }
  4474. }
  4475. }
  4476. },
  4477. "cptrade.Cptradepositioncancel": {
  4478. "type": "object",
  4479. "required": [
  4480. "cancelid"
  4481. ],
  4482. "properties": {
  4483. "accountid": {
  4484. "description": "申请人账户ID",
  4485. "type": "integer"
  4486. },
  4487. "applystatus": {
  4488. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4489. "type": "integer"
  4490. },
  4491. "applytime": {
  4492. "description": "申请时间",
  4493. "type": "string"
  4494. },
  4495. "cancelid": {
  4496. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4497. "type": "integer"
  4498. },
  4499. "cancelqty": {
  4500. "description": "注销数量",
  4501. "type": "integer"
  4502. },
  4503. "createtime": {
  4504. "description": "创建时间",
  4505. "type": "string"
  4506. },
  4507. "creatorid": {
  4508. "description": "创建人ID",
  4509. "type": "integer"
  4510. },
  4511. "creatorname": {
  4512. "description": "创建人",
  4513. "type": "string"
  4514. },
  4515. "goodscode": {
  4516. "description": "订单商品代码",
  4517. "type": "string"
  4518. },
  4519. "goodsid": {
  4520. "description": "商品ID",
  4521. "type": "integer"
  4522. },
  4523. "goodsname": {
  4524. "description": "订单商品名称",
  4525. "type": "string"
  4526. },
  4527. "goodunit": {
  4528. "description": "报价单位",
  4529. "type": "string"
  4530. },
  4531. "handlestatus": {
  4532. "description": "处理状态",
  4533. "type": "integer"
  4534. },
  4535. "marketid": {
  4536. "description": "市场ID",
  4537. "type": "integer"
  4538. },
  4539. "marketname": {
  4540. "description": "市场名称",
  4541. "type": "string"
  4542. },
  4543. "tradedate": {
  4544. "description": "交易日(yyyyMMdd)",
  4545. "type": "string"
  4546. },
  4547. "userid": {
  4548. "description": "申请人ID",
  4549. "type": "integer"
  4550. }
  4551. }
  4552. },
  4553. "cptrade.Cptradepresaleapply": {
  4554. "type": "object",
  4555. "required": [
  4556. "applyid"
  4557. ],
  4558. "properties": {
  4559. "accountid": {
  4560. "description": "申请人账户ID",
  4561. "type": "integer"
  4562. },
  4563. "applyid": {
  4564. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4565. "type": "integer"
  4566. },
  4567. "applyremark": {
  4568. "description": "申请备注",
  4569. "type": "string"
  4570. },
  4571. "applystatus": {
  4572. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4573. "type": "integer"
  4574. },
  4575. "applytime": {
  4576. "description": "申请时间",
  4577. "type": "string"
  4578. },
  4579. "attachmenturl": {
  4580. "description": "附件地址",
  4581. "type": "string"
  4582. },
  4583. "endtime": {
  4584. "description": "预售结束时间",
  4585. "type": "string"
  4586. },
  4587. "goodscode": {
  4588. "description": "商品代码",
  4589. "type": "string"
  4590. },
  4591. "goodsid": {
  4592. "description": "商品ID",
  4593. "type": "integer"
  4594. },
  4595. "goodsname": {
  4596. "description": "商品名称",
  4597. "type": "string"
  4598. },
  4599. "goodunit": {
  4600. "description": "报价单位",
  4601. "type": "string"
  4602. },
  4603. "handlestatus": {
  4604. "description": "处理状态",
  4605. "type": "integer"
  4606. },
  4607. "marketid": {
  4608. "description": "预售市场ID",
  4609. "type": "integer"
  4610. },
  4611. "marketname": {
  4612. "description": "预售市场名称",
  4613. "type": "string"
  4614. },
  4615. "presaleqty": {
  4616. "description": "预售数量",
  4617. "type": "integer"
  4618. },
  4619. "relatedgoodscode": {
  4620. "description": "关联交易合约代码",
  4621. "type": "string"
  4622. },
  4623. "relatedgoodsid": {
  4624. "description": "关联交易合约ID",
  4625. "type": "integer"
  4626. },
  4627. "relatedgoodsname": {
  4628. "description": "关联交易合约名称",
  4629. "type": "string"
  4630. },
  4631. "starttime": {
  4632. "description": "预售开始时间",
  4633. "type": "string"
  4634. },
  4635. "tradedate": {
  4636. "description": "交易日(yyyyMMdd)",
  4637. "type": "string"
  4638. },
  4639. "trademode": {
  4640. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4641. "type": "integer"
  4642. },
  4643. "userid": {
  4644. "description": "申请人ID",
  4645. "type": "integer"
  4646. }
  4647. }
  4648. },
  4649. "cptrade.Cptradeusergoodsdata": {
  4650. "type": "object",
  4651. "required": [
  4652. "accountid",
  4653. "goodsid"
  4654. ],
  4655. "properties": {
  4656. "EnabledQty": {
  4657. "description": "可用量",
  4658. "type": "integer"
  4659. },
  4660. "GoodsCode": {
  4661. "description": "订单商品代码",
  4662. "type": "string"
  4663. },
  4664. "GoodsName": {
  4665. "description": "订单商品名称",
  4666. "type": "string"
  4667. },
  4668. "WRStandardCode": {
  4669. "description": "仓单标准代码",
  4670. "type": "string"
  4671. },
  4672. "WRStandardName": {
  4673. "description": "仓单标准名称",
  4674. "type": "string"
  4675. },
  4676. "accountid": {
  4677. "description": "账户ID",
  4678. "type": "integer"
  4679. },
  4680. "cancelqty": {
  4681. "description": "注销量",
  4682. "type": "integer"
  4683. },
  4684. "curpresaleqty": {
  4685. "description": "当前预售量",
  4686. "type": "integer"
  4687. },
  4688. "deliveryqty": {
  4689. "description": "交割量",
  4690. "type": "integer"
  4691. },
  4692. "freezeamount": {
  4693. "description": "冻结金额",
  4694. "type": "number"
  4695. },
  4696. "goodsid": {
  4697. "description": "商品ID",
  4698. "type": "integer"
  4699. },
  4700. "goodunit": {
  4701. "description": "报价单位",
  4702. "type": "string"
  4703. },
  4704. "hasspotfreeze": {
  4705. "description": "是否有现货冻结 - 0:否 1:有",
  4706. "type": "integer"
  4707. },
  4708. "inqty": {
  4709. "description": "转入量(总数量)",
  4710. "type": "integer"
  4711. },
  4712. "marketid": {
  4713. "description": "市场ID",
  4714. "type": "integer"
  4715. },
  4716. "presaledamount": {
  4717. "description": "已预售总金额",
  4718. "type": "integer"
  4719. },
  4720. "presaledqty": {
  4721. "description": "已预售量",
  4722. "type": "integer"
  4723. },
  4724. "userid": {
  4725. "description": "用户ID",
  4726. "type": "integer"
  4727. },
  4728. "wrstandardid": {
  4729. "description": "仓单标准ID",
  4730. "type": "integer"
  4731. }
  4732. }
  4733. },
  4734. "cptrade.QueryCPTradeMyBidRsp": {
  4735. "type": "object",
  4736. "required": [
  4737. "accountid",
  4738. "goodsid",
  4739. "marketid",
  4740. "orderid",
  4741. "orderqty",
  4742. "ordertime",
  4743. "tradeprice",
  4744. "tradeqty"
  4745. ],
  4746. "properties": {
  4747. "accountid": {
  4748. "description": "账户ID[报价币种]",
  4749. "type": "integer"
  4750. },
  4751. "goodsid": {
  4752. "description": "商品ID",
  4753. "type": "integer"
  4754. },
  4755. "goodunit": {
  4756. "description": "报价单位",
  4757. "type": "string"
  4758. },
  4759. "marketid": {
  4760. "description": "市场ID",
  4761. "type": "integer"
  4762. },
  4763. "orderid": {
  4764. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4765. "type": "integer"
  4766. },
  4767. "orderprice": {
  4768. "description": "委托价格",
  4769. "type": "number"
  4770. },
  4771. "orderqty": {
  4772. "description": "委托数量",
  4773. "type": "integer"
  4774. },
  4775. "ordertime": {
  4776. "description": "委托时间",
  4777. "type": "string"
  4778. },
  4779. "ordertotalprice": {
  4780. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4781. "type": "number"
  4782. },
  4783. "ordertotalweight": {
  4784. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4785. "type": "integer"
  4786. },
  4787. "totaltotalprice": {
  4788. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4789. "type": "number"
  4790. },
  4791. "tradeprice": {
  4792. "description": "成交价格",
  4793. "type": "number"
  4794. },
  4795. "tradeqty": {
  4796. "description": "成交数量",
  4797. "type": "integer"
  4798. }
  4799. }
  4800. },
  4801. "cptrade.QueryCPTradeOrderDetailRsq": {
  4802. "type": "object",
  4803. "required": [
  4804. "accountid",
  4805. "buildtype",
  4806. "buyorsell",
  4807. "goodsid",
  4808. "marketid",
  4809. "memberuserid",
  4810. "operatetype",
  4811. "orderqty",
  4812. "ordertime",
  4813. "pricemode",
  4814. "strorderid",
  4815. "tradedate",
  4816. "validtype"
  4817. ],
  4818. "properties": {
  4819. "accountid": {
  4820. "description": "账户ID[报价币种]",
  4821. "type": "integer"
  4822. },
  4823. "buildtype": {
  4824. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4825. "type": "integer"
  4826. },
  4827. "buyorsell": {
  4828. "description": "买卖 - 0:买 1:卖",
  4829. "type": "integer"
  4830. },
  4831. "cancelorderid": {
  4832. "description": "撤单单号(撤单时填写)",
  4833. "type": "integer"
  4834. },
  4835. "cancelqty": {
  4836. "description": "撤单数量",
  4837. "type": "integer"
  4838. },
  4839. "clientordertime": {
  4840. "description": "客户端委托时间",
  4841. "type": "string"
  4842. },
  4843. "clientticket": {
  4844. "description": "客户端流水号",
  4845. "type": "string"
  4846. },
  4847. "clienttype": {
  4848. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4849. "type": "integer"
  4850. },
  4851. "closeexchagechargevalue": {
  4852. "description": "平仓交易所手续费设置值",
  4853. "type": "number"
  4854. },
  4855. "closefeealgorithm": {
  4856. "description": "平仓手续费收取方式 1:比率 2:固定",
  4857. "type": "integer"
  4858. },
  4859. "closefreezecharge": {
  4860. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4861. "type": "number"
  4862. },
  4863. "closememberchargevalue": {
  4864. "description": "平仓会员手续费设置值",
  4865. "type": "number"
  4866. },
  4867. "closeqty": {
  4868. "description": "平仓数量(先建后平操作 需要记录)",
  4869. "type": "integer"
  4870. },
  4871. "closetradeqty": {
  4872. "description": "平仓成交数量(先建后平操作,需要记录)",
  4873. "type": "integer"
  4874. },
  4875. "closeunfreezecharge": {
  4876. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4877. "type": "number"
  4878. },
  4879. "delistingtype": {
  4880. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4881. "type": "integer"
  4882. },
  4883. "freezecharge": {
  4884. "description": "冻结手续费",
  4885. "type": "number"
  4886. },
  4887. "freezemargin": {
  4888. "description": "冻结保证金(冻结交易金额)",
  4889. "type": "number"
  4890. },
  4891. "gcaccountid": {
  4892. "description": "账户ID[合约币种]",
  4893. "type": "integer"
  4894. },
  4895. "goodsid": {
  4896. "description": "商品ID",
  4897. "type": "integer"
  4898. },
  4899. "isconfirmexercise": {
  4900. "description": "是否确认行权- 0:否 1:是",
  4901. "type": "integer"
  4902. },
  4903. "ispreexercise": {
  4904. "description": "是否预申报- 0:否 1:是",
  4905. "type": "integer"
  4906. },
  4907. "listingselecttype": {
  4908. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4909. "type": "integer"
  4910. },
  4911. "marginalgorithm": {
  4912. "description": "保证金收取方式 1:比率 2:固定",
  4913. "type": "integer"
  4914. },
  4915. "marginvalue": {
  4916. "description": "即市保证金设置值",
  4917. "type": "number"
  4918. },
  4919. "marketid": {
  4920. "description": "市场ID",
  4921. "type": "integer"
  4922. },
  4923. "marketmaxsub": {
  4924. "description": "市价最大偏移范围",
  4925. "type": "number"
  4926. },
  4927. "memberuserid": {
  4928. "description": "所属会员UserID",
  4929. "type": "integer"
  4930. },
  4931. "openexchagechargevalue": {
  4932. "description": "建仓交易所手续费设置值",
  4933. "type": "number"
  4934. },
  4935. "openfeealgorithm": {
  4936. "description": "建仓手续费收取方式 1:比率 2:固定",
  4937. "type": "integer"
  4938. },
  4939. "openfreezecharge": {
  4940. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4941. "type": "number"
  4942. },
  4943. "openmemberchargevalue": {
  4944. "description": "建仓会员手续费设置值",
  4945. "type": "number"
  4946. },
  4947. "openqty": {
  4948. "description": "开仓数量(先建后平操作,需要记录)",
  4949. "type": "integer"
  4950. },
  4951. "opentradeqty": {
  4952. "description": "开仓成交数量(先建后平操作,需要记录)",
  4953. "type": "integer"
  4954. },
  4955. "openunfreezecharge": {
  4956. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4957. "type": "number"
  4958. },
  4959. "operatetype": {
  4960. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4961. "type": "integer"
  4962. },
  4963. "operatorid": {
  4964. "description": "登录账号(LoginID)",
  4965. "type": "integer"
  4966. },
  4967. "optiontype": {
  4968. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4969. "type": "integer"
  4970. },
  4971. "orderprice": {
  4972. "description": "委托价格",
  4973. "type": "number"
  4974. },
  4975. "orderqty": {
  4976. "description": "委托数量",
  4977. "type": "integer"
  4978. },
  4979. "ordersrc": {
  4980. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4981. "type": "integer"
  4982. },
  4983. "orderstatus": {
  4984. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4985. "type": "integer"
  4986. },
  4987. "ordertime": {
  4988. "description": "委托时间",
  4989. "type": "string"
  4990. },
  4991. "preexerciseprice": {
  4992. "description": "预申报价格",
  4993. "type": "number"
  4994. },
  4995. "premium": {
  4996. "description": "权利金",
  4997. "type": "number"
  4998. },
  4999. "preorderid": {
  5000. "description": "关联预埋单号(止盈止损单时填写)",
  5001. "type": "integer"
  5002. },
  5003. "pricemode": {
  5004. "description": "取价方式 - 1:市价 2: 限价",
  5005. "type": "integer"
  5006. },
  5007. "quoteid": {
  5008. "description": "报价单ID",
  5009. "type": "integer"
  5010. },
  5011. "relatedid": {
  5012. "description": "关联单号(交割单)",
  5013. "type": "integer"
  5014. },
  5015. "retcode": {
  5016. "description": "错误代码",
  5017. "type": "integer"
  5018. },
  5019. "sessionid": {
  5020. "description": "会话ID",
  5021. "type": "integer"
  5022. },
  5023. "strorderid": {
  5024. "description": "委托单号",
  5025. "type": "string"
  5026. },
  5027. "tradedate": {
  5028. "description": "交易日(yyyyMMdd)",
  5029. "type": "string"
  5030. },
  5031. "tradeproperty": {
  5032. "description": "交易属性",
  5033. "type": "integer"
  5034. },
  5035. "tradeqty": {
  5036. "description": "成交数量",
  5037. "type": "integer"
  5038. },
  5039. "unfreezecharge": {
  5040. "description": "解冻手续费",
  5041. "type": "number"
  5042. },
  5043. "unfreezemargin": {
  5044. "description": "解冻保证金",
  5045. "type": "number"
  5046. },
  5047. "updatetime": {
  5048. "description": "更新时间",
  5049. "type": "string"
  5050. },
  5051. "uuid": {
  5052. "description": "发起端唯一id",
  5053. "type": "string"
  5054. },
  5055. "validtime": {
  5056. "description": "有效期限",
  5057. "type": "string"
  5058. },
  5059. "validtype": {
  5060. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  5061. "type": "integer"
  5062. },
  5063. "volumetype": {
  5064. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  5065. "type": "integer"
  5066. }
  5067. }
  5068. },
  5069. "cptrade.QueryMyCPTradeGoodsRsp": {
  5070. "type": "object",
  5071. "required": [
  5072. "goodscode",
  5073. "goodsid",
  5074. "goodsname",
  5075. "marketid",
  5076. "relatedgoodscode",
  5077. "relatedgoodsname"
  5078. ],
  5079. "properties": {
  5080. "accountid": {
  5081. "description": "卖方账户ID",
  5082. "type": "integer"
  5083. },
  5084. "agreeunit": {
  5085. "description": "合约单位",
  5086. "type": "number"
  5087. },
  5088. "applyid": {
  5089. "description": "关联申请ID",
  5090. "type": "integer"
  5091. },
  5092. "attachmenturl": {
  5093. "description": "附件地址",
  5094. "type": "string"
  5095. },
  5096. "createtime": {
  5097. "description": "创建时间",
  5098. "type": "string"
  5099. },
  5100. "currencyid": {
  5101. "description": "报价货币ID",
  5102. "type": "integer"
  5103. },
  5104. "decimalplace": {
  5105. "description": "报价小数位",
  5106. "type": "integer"
  5107. },
  5108. "endtime": {
  5109. "description": "预售结束时间",
  5110. "type": "string"
  5111. },
  5112. "floorprice": {
  5113. "description": "底价[大宗式竞拍]",
  5114. "type": "number"
  5115. },
  5116. "goodscode": {
  5117. "description": "商品代码(预售)",
  5118. "type": "string"
  5119. },
  5120. "goodsdetail": {
  5121. "description": "详情[大宗]",
  5122. "type": "string"
  5123. },
  5124. "goodsid": {
  5125. "description": "商品ID(自增ID SEQ_GOODS)",
  5126. "type": "integer"
  5127. },
  5128. "goodsname": {
  5129. "description": "商品名称(预售)",
  5130. "type": "string"
  5131. },
  5132. "goodunit": {
  5133. "description": "报价单位",
  5134. "type": "string"
  5135. },
  5136. "goodunitid": {
  5137. "description": "报价单位ID",
  5138. "type": "integer"
  5139. },
  5140. "marketid": {
  5141. "description": "所属市场ID",
  5142. "type": "integer"
  5143. },
  5144. "marketname": {
  5145. "description": "预售市场名称",
  5146. "type": "string"
  5147. },
  5148. "presaledamount": {
  5149. "description": "已预售总金额(预售结束时更新)",
  5150. "type": "number"
  5151. },
  5152. "presaledqty": {
  5153. "description": "已预售量(预售结束时更新)",
  5154. "type": "integer"
  5155. },
  5156. "presalemode": {
  5157. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5158. "type": "integer"
  5159. },
  5160. "presaleqty": {
  5161. "description": "预售数量",
  5162. "type": "integer"
  5163. },
  5164. "refprice": {
  5165. "description": "参考价格[一口价]",
  5166. "type": "number"
  5167. },
  5168. "relatedgoodscode": {
  5169. "description": "商品代码(订单)",
  5170. "type": "string"
  5171. },
  5172. "relatedgoodsid": {
  5173. "description": "关联交易合约ID",
  5174. "type": "integer"
  5175. },
  5176. "relatedgoodsname": {
  5177. "description": "商品名称(订单)",
  5178. "type": "string"
  5179. },
  5180. "relatedmarketid": {
  5181. "description": "关联交易合约市场ID",
  5182. "type": "integer"
  5183. },
  5184. "sellstatus": {
  5185. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5186. "type": "integer"
  5187. },
  5188. "startprice": {
  5189. "description": "起拍价[大宗式竞拍]",
  5190. "type": "number"
  5191. },
  5192. "starttime": {
  5193. "description": "预售开始时间",
  5194. "type": "string"
  5195. },
  5196. "tradedate": {
  5197. "description": "交易日(yyyyMMdd)",
  5198. "type": "string"
  5199. },
  5200. "tradeprice": {
  5201. "description": "成交价[大宗]",
  5202. "type": "number"
  5203. },
  5204. "userid": {
  5205. "description": "卖方用户ID",
  5206. "type": "integer"
  5207. }
  5208. }
  5209. },
  5210. "cptrade.QueryPresaleGoodsExRsp": {
  5211. "type": "object",
  5212. "required": [
  5213. "goodsid"
  5214. ],
  5215. "properties": {
  5216. "attachmenturl": {
  5217. "description": "附件地址",
  5218. "type": "string"
  5219. },
  5220. "createtime": {
  5221. "description": "创建时间",
  5222. "type": "string"
  5223. },
  5224. "endtime": {
  5225. "description": "预售结束时间",
  5226. "type": "string"
  5227. },
  5228. "floorprice": {
  5229. "description": "底价[大宗式竞拍]",
  5230. "type": "number"
  5231. },
  5232. "goodsdetail": {
  5233. "description": "详情[大宗]",
  5234. "type": "string"
  5235. },
  5236. "goodsid": {
  5237. "description": "商品ID(预售)",
  5238. "type": "integer"
  5239. },
  5240. "goodunit": {
  5241. "description": "报价单位",
  5242. "type": "string"
  5243. },
  5244. "marketid": {
  5245. "description": "预售市场ID - 根据预售模式选择市场",
  5246. "type": "integer"
  5247. },
  5248. "presaledamount": {
  5249. "description": "已预售总金额(预售结束时更新)",
  5250. "type": "number"
  5251. },
  5252. "presaledqty": {
  5253. "description": "已预售量(预售结束时更新)",
  5254. "type": "integer"
  5255. },
  5256. "presalemode": {
  5257. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5258. "type": "integer"
  5259. },
  5260. "presaleqty": {
  5261. "description": "预售数量",
  5262. "type": "integer"
  5263. },
  5264. "refprice": {
  5265. "description": "参考价格[一口价]",
  5266. "type": "number"
  5267. },
  5268. "relatedgoodsid": {
  5269. "description": "关联交易合约ID",
  5270. "type": "integer"
  5271. },
  5272. "relatedmarketid": {
  5273. "description": "关联交易合约市场ID",
  5274. "type": "integer"
  5275. },
  5276. "sellstatus": {
  5277. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5278. "type": "integer"
  5279. },
  5280. "startprice": {
  5281. "description": "起拍价[大宗式竞拍]",
  5282. "type": "number"
  5283. },
  5284. "starttime": {
  5285. "description": "预售开始时间",
  5286. "type": "string"
  5287. },
  5288. "tradedate": {
  5289. "description": "交易日(yyyyMMdd)",
  5290. "type": "string"
  5291. },
  5292. "tradeprice": {
  5293. "description": "成交价[大宗]",
  5294. "type": "number"
  5295. }
  5296. }
  5297. },
  5298. "delivery.QueryDeliveryRelationRsp": {
  5299. "type": "object",
  5300. "required": [
  5301. "begindate",
  5302. "enddate",
  5303. "goodsid",
  5304. "mindeliveryqty",
  5305. "xdeliveryratio"
  5306. ],
  5307. "properties": {
  5308. "begindate": {
  5309. "description": "起始日期(yyyyMMdd)",
  5310. "type": "string"
  5311. },
  5312. "buytemplateid": {
  5313. "description": "买履约计划模板ID",
  5314. "type": "integer"
  5315. },
  5316. "deliverygoodscode": {
  5317. "description": "品种代码",
  5318. "type": "string"
  5319. },
  5320. "deliverygoodsid": {
  5321. "description": "交割商品",
  5322. "type": "integer"
  5323. },
  5324. "deliverygoodsname": {
  5325. "description": "品种名称",
  5326. "type": "string"
  5327. },
  5328. "deliverymode": {
  5329. "description": "交割方式 - 1:点选式 2:申报式",
  5330. "type": "integer"
  5331. },
  5332. "deliverypricerule": {
  5333. "description": "交割价规则- 1:行情价 2:建仓价",
  5334. "type": "integer"
  5335. },
  5336. "deliverytype": {
  5337. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5338. "type": "integer"
  5339. },
  5340. "enddate": {
  5341. "description": "结束日期(yyyyMMdd)",
  5342. "type": "string"
  5343. },
  5344. "goodscode": {
  5345. "description": "商品代码",
  5346. "type": "string"
  5347. },
  5348. "goodsid": {
  5349. "description": "交易合约ID",
  5350. "type": "integer"
  5351. },
  5352. "goodsname": {
  5353. "description": "商品名称",
  5354. "type": "string"
  5355. },
  5356. "marketid": {
  5357. "description": "市场ID",
  5358. "type": "integer"
  5359. },
  5360. "mindeliveryqty": {
  5361. "description": "最小交割系数(K)",
  5362. "type": "integer"
  5363. },
  5364. "p2deliveryprice": {
  5365. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5366. "type": "number"
  5367. },
  5368. "p2deliveryratio": {
  5369. "description": "P2合约系数(p)",
  5370. "type": "integer"
  5371. },
  5372. "p2goodsid": {
  5373. "description": "P2合约ID",
  5374. "type": "integer"
  5375. },
  5376. "p2pricemode": {
  5377. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5378. "type": "integer"
  5379. },
  5380. "pdeliveryprice": {
  5381. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5382. "type": "number"
  5383. },
  5384. "pdeliveryratio": {
  5385. "description": "P合约系数(n)",
  5386. "type": "integer"
  5387. },
  5388. "pgoodsid": {
  5389. "description": "P合约ID",
  5390. "type": "integer"
  5391. },
  5392. "ppricemode": {
  5393. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5394. "type": "integer"
  5395. },
  5396. "rratio": {
  5397. "description": "兑换系数(R)",
  5398. "type": "integer"
  5399. },
  5400. "rratio1": {
  5401. "description": "兑换系数(交易合约)(R1)",
  5402. "type": "integer"
  5403. },
  5404. "rratio2": {
  5405. "description": "兑换系数(仓单标准)(R2)",
  5406. "type": "integer"
  5407. },
  5408. "selltemplateid": {
  5409. "description": "卖履约计划模板ID",
  5410. "type": "integer"
  5411. },
  5412. "wrstandardid": {
  5413. "description": "仓单标准ID",
  5414. "type": "integer"
  5415. },
  5416. "xdeliveryratio": {
  5417. "description": "交易合约系数(m)",
  5418. "type": "integer"
  5419. }
  5420. }
  5421. },
  5422. "ermcp.QryBusinessDjRsp": {
  5423. "type": "object",
  5424. "properties": {
  5425. "amount": {
  5426. "description": "点价金额=(点价价格+升贴水)*点价数量",
  5427. "type": "number"
  5428. },
  5429. "applyid": {
  5430. "description": "申请人",
  5431. "type": "string"
  5432. },
  5433. "applyname": {
  5434. "description": "申请人名称",
  5435. "type": "string"
  5436. },
  5437. "applystatus": {
  5438. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5439. "type": "integer"
  5440. },
  5441. "applytime": {
  5442. "description": "申请时间",
  5443. "type": "string"
  5444. },
  5445. "auditname": {
  5446. "description": "审核人名称",
  5447. "type": "string"
  5448. },
  5449. "audittime": {
  5450. "description": "审核时间",
  5451. "type": "string"
  5452. },
  5453. "buyusername": {
  5454. "description": "采购方名称",
  5455. "type": "string"
  5456. },
  5457. "contractno": {
  5458. "description": "合同编号",
  5459. "type": "string"
  5460. },
  5461. "contracttype": {
  5462. "description": "现货合同类型 - 1:采购 -1:销售",
  5463. "type": "integer"
  5464. },
  5465. "enumdicname": {
  5466. "description": "单位名称",
  5467. "type": "string"
  5468. },
  5469. "goodscode": {
  5470. "description": "点价合约",
  5471. "type": "string"
  5472. },
  5473. "goodsname": {
  5474. "description": "商品名称",
  5475. "type": "string"
  5476. },
  5477. "operateapplyid": {
  5478. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5479. "type": "string"
  5480. },
  5481. "operateapplytype": {
  5482. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5483. "type": "integer"
  5484. },
  5485. "pricedPrice": {
  5486. "description": "点价价格(非必填)",
  5487. "type": "number"
  5488. },
  5489. "pricedQty": {
  5490. "description": "点价数量(非必填)",
  5491. "type": "number"
  5492. },
  5493. "pricemove": {
  5494. "description": "升贴水",
  5495. "type": "number"
  5496. },
  5497. "pricetype": {
  5498. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5499. "type": "integer"
  5500. },
  5501. "relatedid": {
  5502. "description": "现货合同ID",
  5503. "type": "string"
  5504. },
  5505. "sellusername": {
  5506. "description": "销售方名字",
  5507. "type": "string"
  5508. },
  5509. "userid": {
  5510. "description": "用户ID",
  5511. "type": "integer"
  5512. }
  5513. }
  5514. },
  5515. "ermcp.QryBussinessFpRsp": {
  5516. "type": "object",
  5517. "properties": {
  5518. "applyid": {
  5519. "description": "申请人",
  5520. "type": "string"
  5521. },
  5522. "applyname": {
  5523. "description": "申请人名称",
  5524. "type": "string"
  5525. },
  5526. "applystatus": {
  5527. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5528. "type": "integer"
  5529. },
  5530. "applytime": {
  5531. "description": "申请时间",
  5532. "type": "string"
  5533. },
  5534. "auditname": {
  5535. "description": "审核人名称",
  5536. "type": "string"
  5537. },
  5538. "audittime": {
  5539. "description": "审核时间",
  5540. "type": "string"
  5541. },
  5542. "buyusername": {
  5543. "description": "采购方名称",
  5544. "type": "string"
  5545. },
  5546. "contractno": {
  5547. "description": "合同编号",
  5548. "type": "string"
  5549. },
  5550. "contracttype": {
  5551. "description": "现货合同类型 - 1:采购 -1:销售",
  5552. "type": "integer"
  5553. },
  5554. "enumdicname": {
  5555. "description": "单位名称",
  5556. "type": "string"
  5557. },
  5558. "goodscode": {
  5559. "description": "点价合约",
  5560. "type": "string"
  5561. },
  5562. "goodsname": {
  5563. "description": "商品名称",
  5564. "type": "string"
  5565. },
  5566. "invoiceAmount": {
  5567. "description": "已开收票金额(销售为开票,采购为收票)",
  5568. "type": "number"
  5569. },
  5570. "operateapplyid": {
  5571. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5572. "type": "string"
  5573. },
  5574. "operateapplytype": {
  5575. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5576. "type": "integer"
  5577. },
  5578. "pricemove": {
  5579. "description": "升贴水",
  5580. "type": "number"
  5581. },
  5582. "pricetype": {
  5583. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5584. "type": "integer"
  5585. },
  5586. "relatedid": {
  5587. "description": "现货合同ID",
  5588. "type": "string"
  5589. },
  5590. "sellusername": {
  5591. "description": "销售方名字",
  5592. "type": "string"
  5593. },
  5594. "userid": {
  5595. "description": "用户ID",
  5596. "type": "integer"
  5597. }
  5598. }
  5599. },
  5600. "ermcp.QryBussinessJsRsp": {
  5601. "type": "object",
  5602. "properties": {
  5603. "addmargin": {
  5604. "description": "追加保证金(非必填)",
  5605. "type": "number"
  5606. },
  5607. "applyid": {
  5608. "description": "申请人",
  5609. "type": "string"
  5610. },
  5611. "applyname": {
  5612. "description": "申请人名称",
  5613. "type": "string"
  5614. },
  5615. "applystatus": {
  5616. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5617. "type": "integer"
  5618. },
  5619. "applytime": {
  5620. "description": "申请时间",
  5621. "type": "string"
  5622. },
  5623. "auditname": {
  5624. "description": "审核人名称",
  5625. "type": "string"
  5626. },
  5627. "audittime": {
  5628. "description": "审核时间",
  5629. "type": "string"
  5630. },
  5631. "buyusername": {
  5632. "description": "采购方名称",
  5633. "type": "string"
  5634. },
  5635. "contractno": {
  5636. "description": "合同编号",
  5637. "type": "string"
  5638. },
  5639. "contracttype": {
  5640. "description": "现货合同类型 - 1:采购 -1:销售",
  5641. "type": "integer"
  5642. },
  5643. "decmargin": {
  5644. "description": "减少保证金(非必填)",
  5645. "type": "number"
  5646. },
  5647. "enumdicname": {
  5648. "description": "单位名称",
  5649. "type": "string"
  5650. },
  5651. "goodscode": {
  5652. "description": "点价合约",
  5653. "type": "string"
  5654. },
  5655. "goodsname": {
  5656. "description": "商品名称",
  5657. "type": "string"
  5658. },
  5659. "operateapplyid": {
  5660. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5661. "type": "string"
  5662. },
  5663. "operateapplytype": {
  5664. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5665. "type": "integer"
  5666. },
  5667. "pricemove": {
  5668. "description": "升贴水",
  5669. "type": "number"
  5670. },
  5671. "pricetype": {
  5672. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5673. "type": "integer"
  5674. },
  5675. "reckonadjustamount": {
  5676. "description": "结算调整金额(非必填)",
  5677. "type": "number"
  5678. },
  5679. "reckonosamount": {
  5680. "description": "结算溢短金额(非必填)",
  5681. "type": "number"
  5682. },
  5683. "reckonotheramount": {
  5684. "description": "结算其他费用(非必填)",
  5685. "type": "number"
  5686. },
  5687. "reckonrealqty": {
  5688. "description": "结算实际数量(非必填)",
  5689. "type": "number"
  5690. },
  5691. "relatedid": {
  5692. "description": "现货合同ID",
  5693. "type": "string"
  5694. },
  5695. "sellusername": {
  5696. "description": "销售方名字",
  5697. "type": "string"
  5698. },
  5699. "userid": {
  5700. "description": "用户ID",
  5701. "type": "integer"
  5702. }
  5703. }
  5704. },
  5705. "ermcp.QryBussinessKxRsp": {
  5706. "type": "object",
  5707. "properties": {
  5708. "applyid": {
  5709. "description": "申请人",
  5710. "type": "string"
  5711. },
  5712. "applyname": {
  5713. "description": "申请人名称",
  5714. "type": "string"
  5715. },
  5716. "applystatus": {
  5717. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5718. "type": "integer"
  5719. },
  5720. "applytime": {
  5721. "description": "申请时间",
  5722. "type": "string"
  5723. },
  5724. "auditname": {
  5725. "description": "审核人名称",
  5726. "type": "string"
  5727. },
  5728. "audittime": {
  5729. "description": "审核时间",
  5730. "type": "string"
  5731. },
  5732. "buyusername": {
  5733. "description": "采购方名称",
  5734. "type": "string"
  5735. },
  5736. "contractno": {
  5737. "description": "合同编号",
  5738. "type": "string"
  5739. },
  5740. "contracttype": {
  5741. "description": "现货合同类型 - 1:采购 -1:销售",
  5742. "type": "integer"
  5743. },
  5744. "deductamount": {
  5745. "description": "退款(非必填)",
  5746. "type": "number"
  5747. },
  5748. "enumdicname": {
  5749. "description": "单位名称",
  5750. "type": "string"
  5751. },
  5752. "goodscode": {
  5753. "description": "点价合约",
  5754. "type": "string"
  5755. },
  5756. "goodsname": {
  5757. "description": "商品名称",
  5758. "type": "string"
  5759. },
  5760. "operateapplyid": {
  5761. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5762. "type": "string"
  5763. },
  5764. "operateapplytype": {
  5765. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5766. "type": "integer"
  5767. },
  5768. "payamount": {
  5769. "description": "收付款(非必填)",
  5770. "type": "number"
  5771. },
  5772. "pricemove": {
  5773. "description": "升贴水",
  5774. "type": "number"
  5775. },
  5776. "pricetype": {
  5777. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5778. "type": "integer"
  5779. },
  5780. "relatedid": {
  5781. "description": "现货合同ID",
  5782. "type": "string"
  5783. },
  5784. "sellusername": {
  5785. "description": "销售方名字",
  5786. "type": "string"
  5787. },
  5788. "userid": {
  5789. "description": "用户ID",
  5790. "type": "integer"
  5791. }
  5792. }
  5793. },
  5794. "ermcp.QryErmcpRsp": {
  5795. "type": "object",
  5796. "properties": {
  5797. "accountid": {
  5798. "description": "账户ID",
  5799. "type": "string"
  5800. },
  5801. "accountname": {
  5802. "description": "账户名称",
  5803. "type": "string"
  5804. },
  5805. "contracctstatus": {
  5806. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5807. "type": "integer"
  5808. },
  5809. "convertfactor": {
  5810. "description": "标仓系数",
  5811. "type": "number"
  5812. },
  5813. "daikaiamount": {
  5814. "description": "待开票额",
  5815. "type": "number"
  5816. },
  5817. "deliveryenddate": {
  5818. "description": "交割结束日",
  5819. "type": "string"
  5820. },
  5821. "deliverygoodscode": {
  5822. "description": "现货商品代码",
  5823. "type": "string"
  5824. },
  5825. "deliverygoodsid": {
  5826. "description": "现货商品ID",
  5827. "type": "integer"
  5828. },
  5829. "deliverygoodsname": {
  5830. "description": "现货商品名称",
  5831. "type": "string"
  5832. },
  5833. "deliverystartdate": {
  5834. "description": "交割开始日",
  5835. "type": "string"
  5836. },
  5837. "enddate": {
  5838. "description": "点价结束日",
  5839. "type": "string"
  5840. },
  5841. "enumdicname": {
  5842. "description": "单位名称",
  5843. "type": "string"
  5844. },
  5845. "goodscode": {
  5846. "description": "点价商品代码",
  5847. "type": "string"
  5848. },
  5849. "goodsid": {
  5850. "description": "点价商品ID",
  5851. "type": "integer"
  5852. },
  5853. "invoiceamount": {
  5854. "description": "已开票额",
  5855. "type": "number"
  5856. },
  5857. "payamount": {
  5858. "description": "已收付额(收款或付款)",
  5859. "type": "number"
  5860. },
  5861. "pricedqty": {
  5862. "description": "已定价量",
  5863. "type": "number"
  5864. },
  5865. "pricemove": {
  5866. "description": "升贴水",
  5867. "type": "number"
  5868. },
  5869. "pricetype": {
  5870. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5871. "type": "integer"
  5872. },
  5873. "producttype": {
  5874. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5875. "type": "integer"
  5876. },
  5877. "qty": {
  5878. "description": "合同量",
  5879. "type": "number"
  5880. },
  5881. "spotcontractid": {
  5882. "description": "合同ID",
  5883. "type": "string"
  5884. },
  5885. "spotgoodsdesc": {
  5886. "description": "商品型号(商品规格)",
  5887. "type": "string"
  5888. },
  5889. "startdate": {
  5890. "description": "点价开始日",
  5891. "type": "string"
  5892. },
  5893. "unpayamount": {
  5894. "description": "待支收额(支付或收款)",
  5895. "type": "number"
  5896. },
  5897. "unpricedqty": {
  5898. "description": "未定价量",
  5899. "type": "number"
  5900. },
  5901. "unsureqty": {
  5902. "description": "未确定量",
  5903. "type": "number"
  5904. },
  5905. "userid": {
  5906. "description": "用户ID",
  5907. "type": "integer"
  5908. }
  5909. }
  5910. },
  5911. "ermcp.QryHedgePlanRsp": {
  5912. "type": "object",
  5913. "properties": {
  5914. "areauserid": {
  5915. "description": "用户ID",
  5916. "type": "integer"
  5917. },
  5918. "contracttype": {
  5919. "description": "计划类型 - 1:采购 -1:销售",
  5920. "type": "integer"
  5921. },
  5922. "convertfactor": {
  5923. "description": "标仓系数",
  5924. "type": "number"
  5925. },
  5926. "deliverygoodsid": {
  5927. "description": "现货品种ID",
  5928. "type": "integer"
  5929. },
  5930. "deliverygoodsname": {
  5931. "description": "现货品种名称",
  5932. "type": "string"
  5933. },
  5934. "hedgeplanid": {
  5935. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  5936. "type": "string"
  5937. },
  5938. "hedgeplanno": {
  5939. "description": "套保计划编号",
  5940. "type": "string"
  5941. },
  5942. "hedgeplanstatus": {
  5943. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5944. "type": "integer"
  5945. },
  5946. "planqty": {
  5947. "description": "计划数量",
  5948. "type": "number"
  5949. },
  5950. "plantime": {
  5951. "description": "计划时间",
  5952. "type": "string"
  5953. },
  5954. "producttype": {
  5955. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5956. "type": "integer"
  5957. },
  5958. "remark": {
  5959. "description": "备注",
  5960. "type": "string"
  5961. },
  5962. "spotgoodsdesc": {
  5963. "description": "商品型号",
  5964. "type": "string"
  5965. },
  5966. "wrstandardid": {
  5967. "description": "现货商品ID",
  5968. "type": "integer"
  5969. },
  5970. "wrstandardname": {
  5971. "description": "现货商品名称",
  5972. "type": "string"
  5973. }
  5974. }
  5975. },
  5976. "ermcp.QrySpotContractRsp": {
  5977. "type": "object",
  5978. "properties": {
  5979. "amount": {
  5980. "description": "金额 [1:一口价、3:暂定价]",
  5981. "type": "number"
  5982. },
  5983. "buyuserid": {
  5984. "description": "采购方ID",
  5985. "type": "integer"
  5986. },
  5987. "buyusername": {
  5988. "description": "采购方名称",
  5989. "type": "string"
  5990. },
  5991. "contracctstatus": {
  5992. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5993. "type": "integer"
  5994. },
  5995. "contractno": {
  5996. "description": "现货合同编号",
  5997. "type": "string"
  5998. },
  5999. "contracttype": {
  6000. "description": "现货合同类型 - 1:采购 -1:销售",
  6001. "type": "integer"
  6002. },
  6003. "convertfactor": {
  6004. "description": "标仓系数",
  6005. "type": "number"
  6006. },
  6007. "deliveryenddate": {
  6008. "description": "交收期(结束)",
  6009. "type": "string"
  6010. },
  6011. "deliverygoodscode": {
  6012. "description": "现货品种代码",
  6013. "type": "string"
  6014. },
  6015. "deliverygoodsid": {
  6016. "description": "现货品种ID",
  6017. "type": "integer"
  6018. },
  6019. "deliverygoodsname": {
  6020. "description": "现货品种名称",
  6021. "type": "string"
  6022. },
  6023. "deliverystartdate": {
  6024. "description": "交收期(开始)",
  6025. "type": "string"
  6026. },
  6027. "enddate": {
  6028. "description": "点价结束日期 [2:点价 3:暂定价]",
  6029. "type": "string"
  6030. },
  6031. "enumdicname": {
  6032. "description": "单位名称",
  6033. "type": "string"
  6034. },
  6035. "goodscode": {
  6036. "description": "点价合约代码",
  6037. "type": "string"
  6038. },
  6039. "goodsid": {
  6040. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  6041. "type": "integer"
  6042. },
  6043. "margin": {
  6044. "description": "当前保证金",
  6045. "type": "number"
  6046. },
  6047. "price": {
  6048. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  6049. "type": "number"
  6050. },
  6051. "pricemove": {
  6052. "description": "升贴水 [2:点价 3:暂定价]",
  6053. "type": "number"
  6054. },
  6055. "pricetype": {
  6056. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6057. "type": "integer"
  6058. },
  6059. "producttype": {
  6060. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6061. "type": "integer"
  6062. },
  6063. "qty": {
  6064. "description": "数量",
  6065. "type": "number"
  6066. },
  6067. "selluserid": {
  6068. "description": "销售方ID",
  6069. "type": "integer"
  6070. },
  6071. "sellusername": {
  6072. "description": "销售方名称",
  6073. "type": "string"
  6074. },
  6075. "spotcontractid": {
  6076. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  6077. "type": "string"
  6078. },
  6079. "spotgoodsdesc": {
  6080. "description": "商品型号",
  6081. "type": "string"
  6082. },
  6083. "startdate": {
  6084. "description": "点价开始日期 [2:点价 3:暂定价]",
  6085. "type": "string"
  6086. },
  6087. "userid": {
  6088. "description": "机构ID",
  6089. "type": "integer"
  6090. }
  6091. }
  6092. },
  6093. "ermcp.QryUserInfoRsp": {
  6094. "type": "object",
  6095. "properties": {
  6096. "address": {
  6097. "description": "通讯地址",
  6098. "type": "string"
  6099. },
  6100. "cardnum": {
  6101. "description": "证件号码",
  6102. "type": "string"
  6103. },
  6104. "cardtype": {
  6105. "description": "证件类型",
  6106. "type": "string"
  6107. },
  6108. "customername": {
  6109. "description": "企业名称",
  6110. "type": "string"
  6111. },
  6112. "memberuserid": {
  6113. "description": "所属机构ID",
  6114. "type": "integer"
  6115. },
  6116. "mobile": {
  6117. "description": "手机号码",
  6118. "type": "string"
  6119. },
  6120. "remark": {
  6121. "description": "备注",
  6122. "type": "string"
  6123. },
  6124. "status": {
  6125. "description": "账户状态",
  6126. "type": "string"
  6127. },
  6128. "telphone": {
  6129. "description": "联系电话",
  6130. "type": "string"
  6131. },
  6132. "userid": {
  6133. "description": "用户ID",
  6134. "type": "integer"
  6135. },
  6136. "userinfotype": {
  6137. "description": "客户类型",
  6138. "type": "string"
  6139. }
  6140. }
  6141. },
  6142. "ermcp.QryWrStandardRsp": {
  6143. "type": "object",
  6144. "properties": {
  6145. "areauserid": {
  6146. "description": "所属机构",
  6147. "type": "integer"
  6148. },
  6149. "createtime": {
  6150. "description": "创建时间",
  6151. "type": "string"
  6152. },
  6153. "creatorid": {
  6154. "description": "创建人",
  6155. "type": "integer"
  6156. },
  6157. "deliverygoodsid": {
  6158. "description": "品种ID",
  6159. "type": "integer"
  6160. },
  6161. "enumdicname": {
  6162. "description": "单位名称",
  6163. "type": "string"
  6164. },
  6165. "minivalue": {
  6166. "description": "最小变动值",
  6167. "type": "integer"
  6168. },
  6169. "minivaluedp": {
  6170. "description": "最小变动值小数位",
  6171. "type": "integer"
  6172. },
  6173. "realminivalue": {
  6174. "description": "实际最小变动值",
  6175. "type": "integer"
  6176. },
  6177. "realminivaluedp": {
  6178. "description": "实际最小变动值小数位",
  6179. "type": "integer"
  6180. },
  6181. "unitid": {
  6182. "description": "单位ID",
  6183. "type": "integer"
  6184. },
  6185. "wrstandardcode": {
  6186. "description": "现货商品代码",
  6187. "type": "string"
  6188. },
  6189. "wrstandardid": {
  6190. "description": "现货商品ID(SEQ_WRSTANDARD)",
  6191. "type": "integer"
  6192. },
  6193. "wrstandardname": {
  6194. "description": "现货商品名称",
  6195. "type": "string"
  6196. }
  6197. }
  6198. },
  6199. "erms2.QueryArbitrageStrategyRsp": {
  6200. "type": "object",
  6201. "required": [
  6202. "asapplyid"
  6203. ],
  6204. "properties": {
  6205. "applybasis": {
  6206. "description": "申请基差",
  6207. "type": "number"
  6208. },
  6209. "asapplyid": {
  6210. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  6211. "type": "string"
  6212. },
  6213. "asname": {
  6214. "description": "策略名称",
  6215. "type": "string"
  6216. },
  6217. "asno": {
  6218. "description": "策略编号",
  6219. "type": "string"
  6220. },
  6221. "basischangepl": {
  6222. "description": "基差变动损益[结算更新]",
  6223. "type": "number"
  6224. },
  6225. "biztype": {
  6226. "description": "业务类型 - 1:正向套利 -1:反向套利",
  6227. "type": "integer"
  6228. },
  6229. "closetradedate": {
  6230. "description": "完结交易日(yyyyMMdd)",
  6231. "type": "string"
  6232. },
  6233. "curbasis": {
  6234. "description": "当前基差[结算更新]",
  6235. "type": "number"
  6236. },
  6237. "deliverygoodsid": {
  6238. "description": "现货品种ID",
  6239. "type": "integer"
  6240. },
  6241. "futureavgprice": {
  6242. "description": "期货建仓均价",
  6243. "type": "number"
  6244. },
  6245. "futurecloseamount": {
  6246. "description": "期货平仓金额",
  6247. "type": "number"
  6248. },
  6249. "futurecloseqty": {
  6250. "description": "期货平仓数量",
  6251. "type": "number"
  6252. },
  6253. "futureopenamount": {
  6254. "description": "期货开仓金额",
  6255. "type": "number"
  6256. },
  6257. "futureopenqty": {
  6258. "description": "期货开仓数量",
  6259. "type": "number"
  6260. },
  6261. "futurepl": {
  6262. "description": "期货总盈亏[结算更新]",
  6263. "type": "number"
  6264. },
  6265. "futureqty": {
  6266. "description": "期货持仓数量",
  6267. "type": "number"
  6268. },
  6269. "futurequote": {
  6270. "description": "期货额度",
  6271. "type": "number"
  6272. },
  6273. "goodsgroupid": {
  6274. "description": "期货品种ID",
  6275. "type": "integer"
  6276. },
  6277. "marketid": {
  6278. "description": "市场ID",
  6279. "type": "integer"
  6280. },
  6281. "netexposure": {
  6282. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6283. "type": "number"
  6284. },
  6285. "netexposurepl": {
  6286. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6287. "type": "number"
  6288. },
  6289. "netexposurerate": {
  6290. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6291. "type": "number"
  6292. },
  6293. "openbasis": {
  6294. "description": "建仓基差",
  6295. "type": "number"
  6296. },
  6297. "pricedspotqty": {
  6298. "description": "已定价现货数量",
  6299. "type": "number"
  6300. },
  6301. "pricedspotqtynotax": {
  6302. "description": "已定价现货不含税数量",
  6303. "type": "number"
  6304. },
  6305. "remark": {
  6306. "description": "备注",
  6307. "type": "string"
  6308. },
  6309. "spotavgprice": {
  6310. "description": "现货均价",
  6311. "type": "number"
  6312. },
  6313. "spotbuyamount": {
  6314. "description": "现货采购金额",
  6315. "type": "number"
  6316. },
  6317. "spotbuyqty": {
  6318. "description": "现货采购数量",
  6319. "type": "number"
  6320. },
  6321. "spotpl": {
  6322. "description": "现货总盈亏[结算更新]",
  6323. "type": "number"
  6324. },
  6325. "spotquota": {
  6326. "description": "现货额度",
  6327. "type": "number"
  6328. },
  6329. "spotsellamount": {
  6330. "description": "现货销售金额",
  6331. "type": "number"
  6332. },
  6333. "spotsellqty": {
  6334. "description": "现货销售数量",
  6335. "type": "number"
  6336. },
  6337. "spotusedquota": {
  6338. "description": "现货占用资金",
  6339. "type": "number"
  6340. },
  6341. "strategystatus": {
  6342. "description": "策略状态 - 0:未结束 1:已结束",
  6343. "type": "integer"
  6344. },
  6345. "totalpl": {
  6346. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6347. "type": "number"
  6348. },
  6349. "tradedate": {
  6350. "description": "交易日(yyyyMMdd)",
  6351. "type": "string"
  6352. },
  6353. "updatetime": {
  6354. "description": "更新时间",
  6355. "type": "string"
  6356. },
  6357. "usedquota": {
  6358. "description": "已占用资金",
  6359. "type": "number"
  6360. },
  6361. "userid": {
  6362. "description": "所属机构",
  6363. "type": "integer"
  6364. }
  6365. }
  6366. },
  6367. "erms2.QueryInnerTradeDetailRsp": {
  6368. "type": "object",
  6369. "required": [
  6370. "asapplyid",
  6371. "buyorsell",
  6372. "goodscode",
  6373. "goodsgroupid",
  6374. "goodsgroupname",
  6375. "goodsname",
  6376. "tradeid"
  6377. ],
  6378. "properties": {
  6379. "accountid": {
  6380. "description": "账号ID",
  6381. "type": "integer"
  6382. },
  6383. "agreeunit": {
  6384. "description": "合约单位",
  6385. "type": "number"
  6386. },
  6387. "asapplyid": {
  6388. "description": "策略申请ID",
  6389. "type": "integer"
  6390. },
  6391. "asname": {
  6392. "description": "策略名称",
  6393. "type": "string"
  6394. },
  6395. "asno": {
  6396. "description": "策略编号",
  6397. "type": "string"
  6398. },
  6399. "buyorsell": {
  6400. "description": "方向 - 0:买 1:卖",
  6401. "type": "integer"
  6402. },
  6403. "channelbuildtype": {
  6404. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6405. "type": "integer"
  6406. },
  6407. "closetype": {
  6408. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6409. "type": "integer"
  6410. },
  6411. "decimalplace": {
  6412. "description": "报价小数位",
  6413. "type": "integer"
  6414. },
  6415. "detailtype": {
  6416. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6417. "type": "integer"
  6418. },
  6419. "exexchangecode": {
  6420. "description": "外部交易所代码",
  6421. "type": "string"
  6422. },
  6423. "exexchangename": {
  6424. "description": "外部交易所名称",
  6425. "type": "string"
  6426. },
  6427. "goodscode": {
  6428. "description": "商品代码(合约)",
  6429. "type": "string"
  6430. },
  6431. "goodsgroupid": {
  6432. "description": "商品组ID(品种ID)",
  6433. "type": "integer"
  6434. },
  6435. "goodsgroupname": {
  6436. "description": "商品组名称(品种)",
  6437. "type": "string"
  6438. },
  6439. "goodsid": {
  6440. "description": "商品ID",
  6441. "type": "integer"
  6442. },
  6443. "goodsname": {
  6444. "description": "商品名称(合约)",
  6445. "type": "string"
  6446. },
  6447. "goodunit": {
  6448. "description": "报价单位",
  6449. "type": "string"
  6450. },
  6451. "marketid": {
  6452. "description": "市场ID",
  6453. "type": "integer"
  6454. },
  6455. "orderid": {
  6456. "description": "委托单号",
  6457. "type": "string"
  6458. },
  6459. "outgoodscode": {
  6460. "description": "商品代码(外部)",
  6461. "type": "string"
  6462. },
  6463. "relatedouttradeid": {
  6464. "description": "关联外部成交单ID",
  6465. "type": "string"
  6466. },
  6467. "remark": {
  6468. "description": "备注",
  6469. "type": "string"
  6470. },
  6471. "spotcontractid": {
  6472. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6473. "type": "integer"
  6474. },
  6475. "spotcontractno": {
  6476. "description": "现货合同编号",
  6477. "type": "string"
  6478. },
  6479. "tradeid": {
  6480. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6481. "type": "string"
  6482. },
  6483. "tradeprice": {
  6484. "description": "成交价格",
  6485. "type": "number"
  6486. },
  6487. "tradeqty": {
  6488. "description": "成交数量",
  6489. "type": "integer"
  6490. },
  6491. "tradetime": {
  6492. "description": "成交时间",
  6493. "type": "string"
  6494. },
  6495. "updatetime": {
  6496. "description": "更新时间",
  6497. "type": "string"
  6498. }
  6499. }
  6500. },
  6501. "erms2.QuerySpotContractRsp": {
  6502. "type": "object",
  6503. "required": [
  6504. "spotcontractid"
  6505. ],
  6506. "properties": {
  6507. "accountid": {
  6508. "description": "资金账户ID",
  6509. "type": "integer"
  6510. },
  6511. "areauserid": {
  6512. "description": "所属机构",
  6513. "type": "integer"
  6514. },
  6515. "closedate": {
  6516. "description": "终止日期",
  6517. "type": "string"
  6518. },
  6519. "closeremark": {
  6520. "description": "结束备注",
  6521. "type": "string"
  6522. },
  6523. "closetradedate": {
  6524. "description": "完结交易日(yyyyMMdd)",
  6525. "type": "string"
  6526. },
  6527. "closetype": {
  6528. "description": "终止类型 - 1:违约 2:提前终止",
  6529. "type": "integer"
  6530. },
  6531. "contractamount": {
  6532. "description": "合同金额",
  6533. "type": "number"
  6534. },
  6535. "contractattachment": {
  6536. "description": "合同附件",
  6537. "type": "string"
  6538. },
  6539. "contractno": {
  6540. "description": "现货合同编号",
  6541. "type": "string"
  6542. },
  6543. "contractqty": {
  6544. "description": "合同数量(数值) (用于计算)",
  6545. "type": "number"
  6546. },
  6547. "contractqtychar": {
  6548. "description": "合同数量\\已订价数量 (用于显示)",
  6549. "type": "string"
  6550. },
  6551. "contractstatus": {
  6552. "description": "合同状态 - 0:未结束 1:已结束",
  6553. "type": "integer"
  6554. },
  6555. "contracttype": {
  6556. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6557. "type": "integer"
  6558. },
  6559. "customeraccountid": {
  6560. "description": "客户资金账户ID",
  6561. "type": "integer"
  6562. },
  6563. "customeruserid": {
  6564. "description": "客户ID",
  6565. "type": "integer"
  6566. },
  6567. "deliverygoodsdesc": {
  6568. "description": "品种说明",
  6569. "type": "string"
  6570. },
  6571. "deliverygoodsid": {
  6572. "description": "现货品种ID",
  6573. "type": "integer"
  6574. },
  6575. "handlestatus": {
  6576. "description": "处理状态",
  6577. "type": "integer"
  6578. },
  6579. "invoiceatt": {
  6580. "description": "发票附件",
  6581. "type": "string"
  6582. },
  6583. "invoicedatetime": {
  6584. "description": "开收票更新时间",
  6585. "type": "string"
  6586. },
  6587. "invoiceopentime": {
  6588. "description": "开票时间",
  6589. "type": "string"
  6590. },
  6591. "invoiceremark": {
  6592. "description": "发票备注",
  6593. "type": "string"
  6594. },
  6595. "invoicestatus": {
  6596. "description": "开收票状态 - 0:未开票 1:已开票",
  6597. "type": "integer"
  6598. },
  6599. "lastdate": {
  6600. "description": "交货时间",
  6601. "type": "string"
  6602. },
  6603. "marketid": {
  6604. "description": "市场ID",
  6605. "type": "integer"
  6606. },
  6607. "paydatetime": {
  6608. "description": "收付款更新时间",
  6609. "type": "string"
  6610. },
  6611. "payremark": {
  6612. "description": "收付款备注",
  6613. "type": "string"
  6614. },
  6615. "paystatus": {
  6616. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6617. "type": "integer"
  6618. },
  6619. "positionqty": {
  6620. "description": "头寸数量 - 合同数量去小数部分",
  6621. "type": "integer"
  6622. },
  6623. "producttype": {
  6624. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6625. "type": "integer"
  6626. },
  6627. "relatedqty": {
  6628. "description": "已关联数量",
  6629. "type": "number"
  6630. },
  6631. "relatedstatus": {
  6632. "description": "关联完结状态 - 0:未结束 1:已结束",
  6633. "type": "integer"
  6634. },
  6635. "remark": {
  6636. "description": "备注",
  6637. "type": "string"
  6638. },
  6639. "signdate": {
  6640. "description": "签订日期",
  6641. "type": "string"
  6642. },
  6643. "spotcontractid": {
  6644. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6645. "type": "string"
  6646. },
  6647. "spotdatetime": {
  6648. "description": "收发货更新时间",
  6649. "type": "string"
  6650. },
  6651. "spotprice": {
  6652. "description": "价格",
  6653. "type": "number"
  6654. },
  6655. "spotremark": {
  6656. "description": "收发货备注",
  6657. "type": "string"
  6658. },
  6659. "spotstatus": {
  6660. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6661. "type": "integer"
  6662. },
  6663. "tradedate": {
  6664. "description": "交易日(yyyyMMdd)",
  6665. "type": "string"
  6666. },
  6667. "userid": {
  6668. "description": "业务员用户ID",
  6669. "type": "integer"
  6670. },
  6671. "warehouseid": {
  6672. "description": "仓库ID",
  6673. "type": "integer"
  6674. },
  6675. "wrfactortypeid": {
  6676. "description": "仓单要素类型ID",
  6677. "type": "integer"
  6678. },
  6679. "wrstandardid": {
  6680. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6681. "type": "integer"
  6682. }
  6683. }
  6684. },
  6685. "erms3.AddErms2ASApplyReq": {
  6686. "type": "object",
  6687. "required": [
  6688. "asapplyid"
  6689. ],
  6690. "properties": {
  6691. "applybasis": {
  6692. "description": "申请基差",
  6693. "type": "number"
  6694. },
  6695. "applystatus": {
  6696. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6697. "type": "integer"
  6698. },
  6699. "asapplyid": {
  6700. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6701. "type": "integer"
  6702. },
  6703. "asname": {
  6704. "description": "策略名称",
  6705. "type": "string"
  6706. },
  6707. "asno": {
  6708. "description": "策略编号",
  6709. "type": "string"
  6710. },
  6711. "auditid": {
  6712. "description": "审核人",
  6713. "type": "integer"
  6714. },
  6715. "auditremark": {
  6716. "description": "审核备注",
  6717. "type": "string"
  6718. },
  6719. "audittime": {
  6720. "description": "审核时间",
  6721. "type": "string"
  6722. },
  6723. "biztype": {
  6724. "description": "业务类型 - 1:正向套利 2:反向套利",
  6725. "type": "integer"
  6726. },
  6727. "createtime": {
  6728. "description": "创建时间",
  6729. "type": "string"
  6730. },
  6731. "creatorid": {
  6732. "description": "创建人",
  6733. "type": "integer"
  6734. },
  6735. "deliverygoodsid": {
  6736. "description": "现货品种ID",
  6737. "type": "integer"
  6738. },
  6739. "futurequote": {
  6740. "description": "期货额度",
  6741. "type": "number"
  6742. },
  6743. "goodsgroupid": {
  6744. "description": "期货品种ID",
  6745. "type": "integer"
  6746. },
  6747. "marketid": {
  6748. "description": "市场ID",
  6749. "type": "integer"
  6750. },
  6751. "remark": {
  6752. "description": "备注",
  6753. "type": "string"
  6754. },
  6755. "spotquota": {
  6756. "description": "现货额度",
  6757. "type": "number"
  6758. },
  6759. "tradedate": {
  6760. "description": "交易日(yyyyMMdd)",
  6761. "type": "string"
  6762. },
  6763. "userid": {
  6764. "description": "所属机构",
  6765. "type": "integer"
  6766. }
  6767. }
  6768. },
  6769. "erms3.AddErms2SpotTradeApplyReq": {
  6770. "type": "object",
  6771. "required": [
  6772. "spottradeid"
  6773. ],
  6774. "properties": {
  6775. "applyjsondetail": {
  6776. "description": "申请明细(JSON)",
  6777. "type": "string"
  6778. },
  6779. "applystatus": {
  6780. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6781. "type": "integer"
  6782. },
  6783. "areauserid": {
  6784. "description": "所属机构",
  6785. "type": "integer"
  6786. },
  6787. "auditid": {
  6788. "description": "审核人",
  6789. "type": "integer"
  6790. },
  6791. "auditremark": {
  6792. "description": "审核备注",
  6793. "type": "string"
  6794. },
  6795. "audittime": {
  6796. "description": "审核时间",
  6797. "type": "string"
  6798. },
  6799. "createtime": {
  6800. "description": "创建时间",
  6801. "type": "string"
  6802. },
  6803. "creatorid": {
  6804. "description": "创建人",
  6805. "type": "integer"
  6806. },
  6807. "deliverygoodsid": {
  6808. "description": "现货品种ID",
  6809. "type": "integer"
  6810. },
  6811. "futureaccountid": {
  6812. "description": "期货资金账户",
  6813. "type": "integer"
  6814. },
  6815. "goodsgroupid": {
  6816. "description": "期货品种",
  6817. "type": "integer"
  6818. },
  6819. "marketid": {
  6820. "description": "市场ID",
  6821. "type": "integer"
  6822. },
  6823. "remark": {
  6824. "description": "备注",
  6825. "type": "string"
  6826. },
  6827. "spotaccountid": {
  6828. "description": "现货资金账户",
  6829. "type": "integer"
  6830. },
  6831. "spottradeid": {
  6832. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6833. "type": "integer"
  6834. },
  6835. "spottradename": {
  6836. "description": "业务名称",
  6837. "type": "string"
  6838. },
  6839. "spottradeno": {
  6840. "description": "业务编号",
  6841. "type": "string"
  6842. },
  6843. "tradedate": {
  6844. "description": "交易日(yyyyMMdd)",
  6845. "type": "string"
  6846. },
  6847. "wrstandardid": {
  6848. "description": "仓单标准ID",
  6849. "type": "integer"
  6850. }
  6851. }
  6852. },
  6853. "erms3.AddSpotContractApplyReq": {
  6854. "type": "object",
  6855. "required": [
  6856. "accountid",
  6857. "areauserid",
  6858. "contractno",
  6859. "contracttype",
  6860. "customeraccountid",
  6861. "customeruserid",
  6862. "details",
  6863. "orimargin",
  6864. "signdate"
  6865. ],
  6866. "properties": {
  6867. "accountid": {
  6868. "description": "资金账户ID",
  6869. "type": "integer"
  6870. },
  6871. "areauserid": {
  6872. "description": "所属机构",
  6873. "type": "integer"
  6874. },
  6875. "contractattachment": {
  6876. "description": "合同附件",
  6877. "type": "string"
  6878. },
  6879. "contractno": {
  6880. "description": "现货合同编号",
  6881. "type": "string"
  6882. },
  6883. "contracttype": {
  6884. "description": "现货合同类型 - 1:采购 -1:销售",
  6885. "type": "integer"
  6886. },
  6887. "creatorid": {
  6888. "description": "申请人",
  6889. "type": "integer"
  6890. },
  6891. "customeraccountid": {
  6892. "description": "客户资金账户ID",
  6893. "type": "integer"
  6894. },
  6895. "customeruserid": {
  6896. "description": "客户ID",
  6897. "type": "integer"
  6898. },
  6899. "details": {
  6900. "description": "明细",
  6901. "type": "array",
  6902. "items": {
  6903. "$ref": "#/definitions/erms3.SoptContractDetail"
  6904. }
  6905. },
  6906. "orimargin": {
  6907. "description": "初始保证金",
  6908. "type": "number"
  6909. },
  6910. "remark": {
  6911. "description": "备注",
  6912. "type": "string"
  6913. },
  6914. "signdate": {
  6915. "description": "签订日期",
  6916. "type": "string"
  6917. }
  6918. }
  6919. },
  6920. "erms3.AddSpotContractApplyRsp": {
  6921. "type": "object",
  6922. "required": [
  6923. "contractno"
  6924. ],
  6925. "properties": {
  6926. "contractno": {
  6927. "description": "现货合同编号",
  6928. "type": "string"
  6929. },
  6930. "spotcontractid": {
  6931. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6932. "type": "integer"
  6933. }
  6934. }
  6935. },
  6936. "erms3.AddUserInfoApplyReq": {
  6937. "type": "object",
  6938. "required": [
  6939. "userid"
  6940. ],
  6941. "properties": {
  6942. "accountid": {
  6943. "description": "交易系统帐号Id (加密存储)",
  6944. "type": "integer"
  6945. },
  6946. "areacode": {
  6947. "description": "机构代码",
  6948. "type": "string"
  6949. },
  6950. "areaid": {
  6951. "description": "机构Id",
  6952. "type": "integer"
  6953. },
  6954. "attachment1": {
  6955. "description": "附件1",
  6956. "type": "string"
  6957. },
  6958. "attachment2": {
  6959. "description": "附件2",
  6960. "type": "string"
  6961. },
  6962. "attachment3": {
  6963. "description": "附件3",
  6964. "type": "string"
  6965. },
  6966. "attachment4": {
  6967. "description": "附件4",
  6968. "type": "string"
  6969. },
  6970. "attachment5": {
  6971. "description": "附件5",
  6972. "type": "string"
  6973. },
  6974. "auditedby": {
  6975. "description": "审核人",
  6976. "type": "string"
  6977. },
  6978. "auditime": {
  6979. "description": "审核时间",
  6980. "type": "string"
  6981. },
  6982. "bankaccount": {
  6983. "description": "银行帐号 (加密存储)",
  6984. "type": "string"
  6985. },
  6986. "bankaccountname": {
  6987. "description": "收款人名称",
  6988. "type": "string"
  6989. },
  6990. "bankcardbackphotourl": {
  6991. "description": "银行卡背面照地址",
  6992. "type": "string"
  6993. },
  6994. "bankcardfrontphotourl": {
  6995. "description": "银行卡正面照地址",
  6996. "type": "string"
  6997. },
  6998. "bankid": {
  6999. "description": "银行编码",
  7000. "type": "string"
  7001. },
  7002. "bankname": {
  7003. "description": "银行名称",
  7004. "type": "string"
  7005. },
  7006. "bankpictureurl": {
  7007. "description": "银行卡正面地址",
  7008. "type": "string"
  7009. },
  7010. "biznature": {
  7011. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7012. "type": "integer"
  7013. },
  7014. "bizscope": {
  7015. "description": "企业经营范围(企业)",
  7016. "type": "string"
  7017. },
  7018. "biztype": {
  7019. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  7020. "type": "integer"
  7021. },
  7022. "brokerid": {
  7023. "description": "经纪人ID(加密存储)",
  7024. "type": "string"
  7025. },
  7026. "cardaddress": {
  7027. "description": "证件地址 (加密存储)",
  7028. "type": "string"
  7029. },
  7030. "cardbackphotourl": {
  7031. "description": "背面证件照地址",
  7032. "type": "string"
  7033. },
  7034. "cardfrontphotourl": {
  7035. "description": "正面证件照地址",
  7036. "type": "string"
  7037. },
  7038. "cardnum": {
  7039. "description": "证件号码 (加密存储)",
  7040. "type": "string"
  7041. },
  7042. "cardtype": {
  7043. "description": "证件类型",
  7044. "type": "integer"
  7045. },
  7046. "cityid": {
  7047. "description": "市",
  7048. "type": "integer"
  7049. },
  7050. "company": {
  7051. "description": "公司(个人)",
  7052. "type": "string"
  7053. },
  7054. "contactcardbackphotourl": {
  7055. "description": "联系人证件背面图片地址",
  7056. "type": "string"
  7057. },
  7058. "contactcardfrontphotourl": {
  7059. "description": "联系人证件正面图片地址",
  7060. "type": "string"
  7061. },
  7062. "contactname": {
  7063. "description": "联系人",
  7064. "type": "string"
  7065. },
  7066. "countryid": {
  7067. "description": "国家",
  7068. "type": "integer"
  7069. },
  7070. "createtime": {
  7071. "description": "开户申请时间",
  7072. "type": "string"
  7073. },
  7074. "cusbankid": {
  7075. "description": "签约类型",
  7076. "type": "string"
  7077. },
  7078. "cusbankname": {
  7079. "description": "签约类型名称",
  7080. "type": "string"
  7081. },
  7082. "customername": {
  7083. "description": "客户名称(企业名称)",
  7084. "type": "string"
  7085. },
  7086. "districtid": {
  7087. "description": "地区",
  7088. "type": "integer"
  7089. },
  7090. "email": {
  7091. "description": "Email地址(加密存储)",
  7092. "type": "string"
  7093. },
  7094. "halfbodyphotourl": {
  7095. "description": "半身照地址",
  7096. "type": "string"
  7097. },
  7098. "headurl": {
  7099. "description": "头像地址",
  7100. "type": "string"
  7101. },
  7102. "ipaddress": {
  7103. "description": "IP地址",
  7104. "type": "string"
  7105. },
  7106. "isvalidate": {
  7107. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  7108. "type": "string"
  7109. },
  7110. "legalcardbackphotourl": {
  7111. "description": "法人身份证背面照地址",
  7112. "type": "string"
  7113. },
  7114. "legalcardfrontphotourl": {
  7115. "description": "法人身份证正面照地址",
  7116. "type": "string"
  7117. },
  7118. "legalpersonname": {
  7119. "description": "法人姓名(企业)",
  7120. "type": "string"
  7121. },
  7122. "logincode": {
  7123. "description": "登录帐号 (加密存储)",
  7124. "type": "string"
  7125. },
  7126. "memberareaid": {
  7127. "description": "所属会员ID",
  7128. "type": "integer"
  7129. },
  7130. "mobile2": {
  7131. "description": "手机号码[明文-尚志]",
  7132. "type": "string"
  7133. },
  7134. "mobilephone": {
  7135. "description": "手机号码 (加密存储)",
  7136. "type": "string"
  7137. },
  7138. "modifiedby": {
  7139. "description": "修改人帐号",
  7140. "type": "integer"
  7141. },
  7142. "modifiedtime": {
  7143. "description": "修改时间",
  7144. "type": "string"
  7145. },
  7146. "nickname": {
  7147. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  7148. "type": "string"
  7149. },
  7150. "openmode": {
  7151. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  7152. "type": "integer"
  7153. },
  7154. "otherurl": {
  7155. "description": "其它图片地址[使用分号分隔]",
  7156. "type": "string"
  7157. },
  7158. "postalcode": {
  7159. "description": "邮政编码",
  7160. "type": "string"
  7161. },
  7162. "provinceid": {
  7163. "description": "省",
  7164. "type": "integer"
  7165. },
  7166. "proxystatementurl": {
  7167. "description": "授权委托书",
  7168. "type": "string"
  7169. },
  7170. "qq": {
  7171. "description": "QQ(加密存储",
  7172. "type": "string"
  7173. },
  7174. "referral": {
  7175. "description": "推荐人编码",
  7176. "type": "string"
  7177. },
  7178. "remark": {
  7179. "description": "备注",
  7180. "type": "string"
  7181. },
  7182. "removebeforestatus": {
  7183. "description": "REMOVEBEFORESTATUS",
  7184. "type": "integer"
  7185. },
  7186. "sex": {
  7187. "description": "性别 - 0:女 1:男",
  7188. "type": "integer"
  7189. },
  7190. "signedstatus": {
  7191. "description": "账户一号签签约状态",
  7192. "type": "integer"
  7193. },
  7194. "signpdfurl": {
  7195. "description": "签约pdf文件",
  7196. "type": "string"
  7197. },
  7198. "subbranch": {
  7199. "description": "开户支行",
  7200. "type": "string"
  7201. },
  7202. "telphone": {
  7203. "description": "联系电话(加密存储)",
  7204. "type": "string"
  7205. },
  7206. "userid": {
  7207. "description": "用户ID(自增ID)",
  7208. "type": "integer"
  7209. },
  7210. "userinfotype": {
  7211. "description": "用户信息类型 - 1:个人 2:企业",
  7212. "type": "integer"
  7213. },
  7214. "username": {
  7215. "description": "用户姓名",
  7216. "type": "string"
  7217. },
  7218. "userstate": {
  7219. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7220. "type": "integer"
  7221. },
  7222. "usertype": {
  7223. "description": "用户类型 - 1:投资者 2:机构",
  7224. "type": "integer"
  7225. },
  7226. "videourl": {
  7227. "description": "视频地址",
  7228. "type": "string"
  7229. },
  7230. "wechat": {
  7231. "description": "微信号 (加密存储)",
  7232. "type": "string"
  7233. }
  7234. }
  7235. },
  7236. "erms3.CustomerInfo": {
  7237. "type": "object",
  7238. "required": [
  7239. "userid"
  7240. ],
  7241. "properties": {
  7242. "accountids": {
  7243. "description": "资金账户ID列表",
  7244. "type": "array",
  7245. "items": {
  7246. "type": "integer"
  7247. }
  7248. },
  7249. "customername": {
  7250. "description": "名称(企业名称)",
  7251. "type": "string"
  7252. },
  7253. "mobile": {
  7254. "description": "手机号码",
  7255. "type": "string"
  7256. },
  7257. "userid": {
  7258. "description": "用户ID",
  7259. "type": "integer"
  7260. }
  7261. }
  7262. },
  7263. "erms3.QryAuditContractRsp": {
  7264. "type": "object",
  7265. "required": [
  7266. "matchcustomername",
  7267. "spotcontractid"
  7268. ],
  7269. "properties": {
  7270. "accountid": {
  7271. "description": "交易员ID",
  7272. "type": "string"
  7273. },
  7274. "applystatus": {
  7275. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7276. "type": "integer"
  7277. },
  7278. "curdeliveryqty": {
  7279. "description": "未交收量",
  7280. "type": "integer"
  7281. },
  7282. "customername": {
  7283. "description": "采购方ID",
  7284. "type": "string"
  7285. },
  7286. "deliverygoodsid": {
  7287. "description": "品种ID",
  7288. "type": "string"
  7289. },
  7290. "deliveryqty": {
  7291. "description": "交收量",
  7292. "type": "integer"
  7293. },
  7294. "enumdicname": {
  7295. "description": "单位名称",
  7296. "type": "string"
  7297. },
  7298. "matchaccountid": {
  7299. "description": "业务员ID",
  7300. "type": "string"
  7301. },
  7302. "matchcustomername": {
  7303. "description": "销售方ID",
  7304. "type": "string"
  7305. },
  7306. "pricedqty": {
  7307. "description": "定价量",
  7308. "type": "number"
  7309. },
  7310. "signdate": {
  7311. "description": "签订日期",
  7312. "type": "string"
  7313. },
  7314. "spotcontractid": {
  7315. "description": "合同ID",
  7316. "type": "string"
  7317. },
  7318. "totaldqty": {
  7319. "description": "合同量",
  7320. "type": "number"
  7321. },
  7322. "unpricedqty": {
  7323. "description": "未定价量",
  7324. "type": "number"
  7325. },
  7326. "wrstandardname": {
  7327. "description": "商品名称",
  7328. "type": "string"
  7329. }
  7330. }
  7331. },
  7332. "erms3.QryPendingBizRsp": {
  7333. "type": "object",
  7334. "properties": {
  7335. "accountid": {
  7336. "description": "现货账户",
  7337. "type": "string"
  7338. },
  7339. "areaname": {
  7340. "description": "所属部门",
  7341. "type": "string"
  7342. },
  7343. "bizid": {
  7344. "description": "业务ID",
  7345. "type": "string"
  7346. },
  7347. "bizname": {
  7348. "description": "业务名称",
  7349. "type": "string"
  7350. },
  7351. "status": {
  7352. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7353. "type": "integer"
  7354. },
  7355. "type": {
  7356. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  7357. "type": "integer"
  7358. }
  7359. }
  7360. },
  7361. "erms3.QueryBusinessInfoRsp": {
  7362. "type": "object",
  7363. "properties": {
  7364. "businessid": {
  7365. "description": "业务ID.",
  7366. "type": "integer"
  7367. },
  7368. "buyamount": {
  7369. "description": "采购额.",
  7370. "type": "number"
  7371. },
  7372. "buyqty": {
  7373. "description": "采购量.",
  7374. "type": "string"
  7375. },
  7376. "futurepl": {
  7377. "description": "期货盈亏.",
  7378. "type": "number"
  7379. },
  7380. "futureqty": {
  7381. "description": "期货敞口.",
  7382. "type": "string"
  7383. },
  7384. "goodsid": {
  7385. "description": "商品名称/商品代码.",
  7386. "type": "string"
  7387. },
  7388. "hedgingqty": {
  7389. "description": "套保量.",
  7390. "type": "string"
  7391. },
  7392. "sellamount": {
  7393. "description": "销售额.",
  7394. "type": "number"
  7395. },
  7396. "sellqty": {
  7397. "description": "销售量.",
  7398. "type": "string"
  7399. },
  7400. "spotmarketvalue": {
  7401. "description": "现货市值.",
  7402. "type": "number"
  7403. },
  7404. "spotpl": {
  7405. "description": "浮动权益.",
  7406. "type": "number"
  7407. },
  7408. "spotqty": {
  7409. "description": "现货量.",
  7410. "type": "string"
  7411. },
  7412. "statu": {
  7413. "description": "状态,0-未结束 1-已结束.",
  7414. "type": "integer"
  7415. },
  7416. "totalpl": {
  7417. "description": "总盈亏.",
  7418. "type": "number"
  7419. },
  7420. "totalqty": {
  7421. "description": "总敞口.",
  7422. "type": "string"
  7423. },
  7424. "type": {
  7425. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7426. "type": "integer"
  7427. }
  7428. }
  7429. },
  7430. "erms3.QuerySpotContractAppleFormRsp": {
  7431. "type": "object",
  7432. "properties": {
  7433. "goodses": {
  7434. "description": "合约列表",
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/models.GoodsIDAndName"
  7438. }
  7439. },
  7440. "oppositeusers": {
  7441. "description": "对方账号列表",
  7442. "type": "array",
  7443. "items": {
  7444. "$ref": "#/definitions/erms3.CustomerInfo"
  7445. }
  7446. },
  7447. "ouruser": {
  7448. "description": "我方账号",
  7449. "$ref": "#/definitions/erms3.CustomerInfo"
  7450. },
  7451. "warehouseinfos": {
  7452. "description": "仓库信息列表",
  7453. "type": "array",
  7454. "items": {
  7455. "$ref": "#/definitions/models.Warehouseinfo"
  7456. }
  7457. },
  7458. "wrstandards": {
  7459. "description": "仓单标准列表",
  7460. "type": "array",
  7461. "items": {
  7462. "$ref": "#/definitions/models.WRStandardInfo"
  7463. }
  7464. }
  7465. }
  7466. },
  7467. "erms3.QuerySpotContractInfoRsp": {
  7468. "type": "object",
  7469. "properties": {
  7470. "accountid": {
  7471. "description": "表示交易员ID.",
  7472. "type": "integer"
  7473. },
  7474. "curdeliveryqty": {
  7475. "description": "表示未交收量.",
  7476. "type": "number"
  7477. },
  7478. "customername": {
  7479. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7480. "type": "string"
  7481. },
  7482. "deliverygoodsid": {
  7483. "description": "表示品种ID.",
  7484. "type": "string"
  7485. },
  7486. "deliveryqty": {
  7487. "description": "表示交收量.",
  7488. "type": "number"
  7489. },
  7490. "matchaccountid": {
  7491. "description": "表示业务员ID.",
  7492. "type": "integer"
  7493. },
  7494. "matchcustomername": {
  7495. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7496. "type": "string"
  7497. },
  7498. "priceqty": {
  7499. "description": "表示定价量.",
  7500. "type": "number"
  7501. },
  7502. "relatedbizid": {
  7503. "description": "表示业务ID.",
  7504. "type": "string"
  7505. },
  7506. "signdate": {
  7507. "description": "表示签订日期.",
  7508. "type": "string"
  7509. },
  7510. "spotcontractid": {
  7511. "description": "合同ID",
  7512. "type": "string"
  7513. },
  7514. "status": {
  7515. "description": "表示状态,0-履约中 1-已完成.",
  7516. "type": "integer"
  7517. },
  7518. "totalqty": {
  7519. "description": "表示合同量.",
  7520. "type": "number"
  7521. },
  7522. "unpricedqty": {
  7523. "description": "表示未定价量.",
  7524. "type": "number"
  7525. },
  7526. "wrstandardname": {
  7527. "description": "表示商品ID.",
  7528. "type": "string"
  7529. }
  7530. }
  7531. },
  7532. "erms3.QueryUserInfoAppliesRsp": {
  7533. "type": "object",
  7534. "required": [
  7535. "userid"
  7536. ],
  7537. "properties": {
  7538. "biznature": {
  7539. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7540. "type": "integer"
  7541. },
  7542. "contactname": {
  7543. "description": "联系人",
  7544. "type": "string"
  7545. },
  7546. "createtime": {
  7547. "description": "开户申请时间",
  7548. "type": "string"
  7549. },
  7550. "userid": {
  7551. "description": "用户ID(自增ID)",
  7552. "type": "integer"
  7553. },
  7554. "userinfotype": {
  7555. "description": "用户信息类型 - 1:个人 2:企业",
  7556. "type": "integer"
  7557. },
  7558. "username": {
  7559. "description": "用户姓名",
  7560. "type": "string"
  7561. },
  7562. "userstate": {
  7563. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7564. "type": "integer"
  7565. }
  7566. }
  7567. },
  7568. "erms3.QueryUserInfosRsp": {
  7569. "type": "object",
  7570. "required": [
  7571. "userid"
  7572. ],
  7573. "properties": {
  7574. "biznature": {
  7575. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7576. "type": "integer"
  7577. },
  7578. "contactname": {
  7579. "description": "联系人",
  7580. "type": "string"
  7581. },
  7582. "customername": {
  7583. "description": "客户名称(企业名称)",
  7584. "type": "string"
  7585. },
  7586. "userid": {
  7587. "description": "用户ID",
  7588. "type": "integer"
  7589. },
  7590. "userinfotype": {
  7591. "description": "用户信息类型 - 1:个人 2:企业",
  7592. "type": "integer"
  7593. },
  7594. "userstatus": {
  7595. "description": "用户状态 - 1:正常 2:注销",
  7596. "type": "integer"
  7597. }
  7598. }
  7599. },
  7600. "erms3.SoptContractDetail": {
  7601. "type": "object",
  7602. "required": [
  7603. "deliverygoodsid",
  7604. "producttype",
  7605. "unitname",
  7606. "warehouseid",
  7607. "wrstandardid",
  7608. "wrstandardname"
  7609. ],
  7610. "properties": {
  7611. "deliverygoodsdesc": {
  7612. "description": "现货品种说明",
  7613. "type": "string"
  7614. },
  7615. "deliverygoodsid": {
  7616. "description": "现货品种ID",
  7617. "type": "integer"
  7618. },
  7619. "deliverygoodsname": {
  7620. "description": "现货品种名称",
  7621. "type": "string"
  7622. },
  7623. "pointdesc": {
  7624. "description": "点价描述",
  7625. "type": "string"
  7626. },
  7627. "producttype": {
  7628. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7629. "type": "integer"
  7630. },
  7631. "producttypename": {
  7632. "description": "产品类型名称",
  7633. "type": "string"
  7634. },
  7635. "spotPointOrderVoList": {
  7636. "description": "点价列表",
  7637. "type": "array",
  7638. "items": {
  7639. "$ref": "#/definitions/erms3.SpotPointOrder"
  7640. }
  7641. },
  7642. "spotPriceOrderList": {
  7643. "description": "定价列表",
  7644. "type": "array",
  7645. "items": {
  7646. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7647. }
  7648. },
  7649. "unitname": {
  7650. "description": "单位名称",
  7651. "type": "string"
  7652. },
  7653. "warehouseid": {
  7654. "description": "仓库ID",
  7655. "type": "integer"
  7656. },
  7657. "warehousename": {
  7658. "description": "仓库名称",
  7659. "type": "string"
  7660. },
  7661. "wrstandardid": {
  7662. "description": "交易标的ID",
  7663. "type": "integer"
  7664. },
  7665. "wrstandardname": {
  7666. "description": "交易标的名称",
  7667. "type": "string"
  7668. }
  7669. }
  7670. },
  7671. "erms3.SpotPointOrder": {
  7672. "type": "object",
  7673. "required": [
  7674. "basic",
  7675. "goodsid",
  7676. "qty"
  7677. ],
  7678. "properties": {
  7679. "basic": {
  7680. "description": "基差",
  7681. "type": "number"
  7682. },
  7683. "deliveryenddate": {
  7684. "description": "交收结束日期",
  7685. "type": "string"
  7686. },
  7687. "deliverystartdate": {
  7688. "description": "交收开始日期",
  7689. "type": "string"
  7690. },
  7691. "enddate": {
  7692. "description": "点价结束日期",
  7693. "type": "string"
  7694. },
  7695. "goodsid": {
  7696. "description": "商品ID",
  7697. "type": "integer"
  7698. },
  7699. "goodsname": {
  7700. "description": "商品名称",
  7701. "type": "string"
  7702. },
  7703. "qty": {
  7704. "description": "数量",
  7705. "type": "number"
  7706. },
  7707. "startdate": {
  7708. "description": "点价开始日期",
  7709. "type": "string"
  7710. }
  7711. }
  7712. },
  7713. "erms3.SpotPriceOrder": {
  7714. "type": "object",
  7715. "required": [
  7716. "amount",
  7717. "price",
  7718. "qty"
  7719. ],
  7720. "properties": {
  7721. "amount": {
  7722. "description": "金额",
  7723. "type": "number"
  7724. },
  7725. "deliveryenddate": {
  7726. "description": "交收结束日期",
  7727. "type": "string"
  7728. },
  7729. "deliverystartdate": {
  7730. "description": "交收开始日期",
  7731. "type": "string"
  7732. },
  7733. "price": {
  7734. "description": "价格",
  7735. "type": "number"
  7736. },
  7737. "qty": {
  7738. "description": "数量",
  7739. "type": "number"
  7740. }
  7741. }
  7742. },
  7743. "hsby.GetHsbyMyCountRsp": {
  7744. "type": "object",
  7745. "properties": {
  7746. "myCouponCount": {
  7747. "description": "我的优惠卷数量",
  7748. "type": "integer"
  7749. },
  7750. "myOrderDetailListingCount": {
  7751. "description": "我的订单求购中数量",
  7752. "type": "integer"
  7753. },
  7754. "myOrderDetailPreCount": {
  7755. "description": "我的订单抢购中数量",
  7756. "type": "integer"
  7757. },
  7758. "myPackageUnReceiveCount": {
  7759. "description": "我的包裹待收货数量",
  7760. "type": "integer"
  7761. },
  7762. "myPackageUnSendCount": {
  7763. "description": "我的包裹待发货数量",
  7764. "type": "integer"
  7765. },
  7766. "myPayOrderCount": {
  7767. "description": "我的订单待付款数量",
  7768. "type": "integer"
  7769. }
  7770. }
  7771. },
  7772. "hsby.QueryProvincesAndCitiesRsp": {
  7773. "type": "object",
  7774. "properties": {
  7775. "cities": {
  7776. "description": "市",
  7777. "type": "array",
  7778. "items": {
  7779. "$ref": "#/definitions/models.Division"
  7780. }
  7781. },
  7782. "province": {
  7783. "description": "省",
  7784. "$ref": "#/definitions/models.Division"
  7785. }
  7786. }
  7787. },
  7788. "models.Division": {
  7789. "type": "object",
  7790. "required": [
  7791. "autoid",
  7792. "divisioncode"
  7793. ],
  7794. "properties": {
  7795. "autoid": {
  7796. "description": "自增ID",
  7797. "type": "integer"
  7798. },
  7799. "divisioncode": {
  7800. "description": "行政代码",
  7801. "type": "string"
  7802. },
  7803. "divisionlevel": {
  7804. "description": "行政级别",
  7805. "type": "string"
  7806. },
  7807. "divisionname": {
  7808. "description": "行政名称",
  7809. "type": "string"
  7810. },
  7811. "modifierid": {
  7812. "description": "修改人",
  7813. "type": "integer"
  7814. },
  7815. "modifytime": {
  7816. "description": "修改时间",
  7817. "type": "string"
  7818. },
  7819. "parentcode": {
  7820. "description": "上级行政代码",
  7821. "type": "string"
  7822. },
  7823. "pathname": {
  7824. "description": "路径名称",
  7825. "type": "string"
  7826. },
  7827. "postcode": {
  7828. "description": "邮政编码",
  7829. "type": "string"
  7830. },
  7831. "separablename": {
  7832. "description": "可拆分的全称",
  7833. "type": "string"
  7834. },
  7835. "shortcode": {
  7836. "description": "地区简码",
  7837. "type": "string"
  7838. }
  7839. }
  7840. },
  7841. "models.Enumdicitem": {
  7842. "type": "object",
  7843. "required": [
  7844. "autoid",
  7845. "enumdiccode",
  7846. "enumdicid",
  7847. "enumitemname"
  7848. ],
  7849. "properties": {
  7850. "autoid": {
  7851. "description": "自增ID",
  7852. "type": "integer"
  7853. },
  7854. "bankmappedvalue": {
  7855. "description": "银行服务对应值",
  7856. "type": "string"
  7857. },
  7858. "enumdiccode": {
  7859. "description": "所属枚举代码",
  7860. "type": "string"
  7861. },
  7862. "enumdicid": {
  7863. "description": "所属枚举ID",
  7864. "type": "integer"
  7865. },
  7866. "enumdicname": {
  7867. "description": "枚举项名称",
  7868. "type": "string"
  7869. },
  7870. "enumitemname": {
  7871. "description": "枚举项值",
  7872. "type": "integer"
  7873. },
  7874. "enumitemstatus": {
  7875. "description": "枚举项状态 - 1.启用 2.不启用",
  7876. "type": "integer"
  7877. },
  7878. "enumitemvalue": {
  7879. "description": "通用值 - [币种通用简写]",
  7880. "type": "string"
  7881. },
  7882. "param1": {
  7883. "description": "参数1[币种:币种小数位]",
  7884. "type": "string"
  7885. },
  7886. "param2": {
  7887. "description": "参数1[币种:币种显示单位]",
  7888. "type": "string"
  7889. },
  7890. "remark": {
  7891. "description": "备注",
  7892. "type": "string"
  7893. }
  7894. }
  7895. },
  7896. "models.GoodsIDAndName": {
  7897. "type": "object",
  7898. "required": [
  7899. "goodscode",
  7900. "goodsid",
  7901. "goodsname",
  7902. "marketid"
  7903. ],
  7904. "properties": {
  7905. "goodscode": {
  7906. "description": "商品代码(内部)",
  7907. "type": "string"
  7908. },
  7909. "goodsid": {
  7910. "description": "商品ID(自增ID SEQ_GOODS)",
  7911. "type": "integer"
  7912. },
  7913. "goodsname": {
  7914. "description": "商品名称",
  7915. "type": "string"
  7916. },
  7917. "marketid": {
  7918. "description": "所属市场ID",
  7919. "type": "integer"
  7920. }
  7921. }
  7922. },
  7923. "models.HsbyBuyMyPayOrder": {
  7924. "type": "object",
  7925. "required": [
  7926. "goodscode",
  7927. "goodsname",
  7928. "tradeid",
  7929. "trademode"
  7930. ],
  7931. "properties": {
  7932. "agreeunit": {
  7933. "description": "合约单位",
  7934. "type": "number"
  7935. },
  7936. "buyaccountid": {
  7937. "description": "买方账号ID[报价币种]",
  7938. "type": "integer"
  7939. },
  7940. "buyorderid": {
  7941. "description": "买方委托单号",
  7942. "type": "string"
  7943. },
  7944. "createtime": {
  7945. "description": "创建时间",
  7946. "type": "string"
  7947. },
  7948. "currencysign": {
  7949. "description": "货币符号",
  7950. "type": "string"
  7951. },
  7952. "decimalplace": {
  7953. "description": "报价小数位",
  7954. "type": "integer"
  7955. },
  7956. "goodscode": {
  7957. "description": "商品代码(内部)",
  7958. "type": "string"
  7959. },
  7960. "goodsid": {
  7961. "description": "商品ID",
  7962. "type": "integer"
  7963. },
  7964. "goodsname": {
  7965. "description": "商品名称",
  7966. "type": "string"
  7967. },
  7968. "marketid": {
  7969. "description": "市场ID",
  7970. "type": "integer"
  7971. },
  7972. "offamount": {
  7973. "description": "优惠金额",
  7974. "type": "number"
  7975. },
  7976. "payamount": {
  7977. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7978. "type": "number"
  7979. },
  7980. "payflag": {
  7981. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7982. "type": "integer"
  7983. },
  7984. "paylimitedtime": {
  7985. "description": "支付期限",
  7986. "type": "string"
  7987. },
  7988. "paytime": {
  7989. "description": "付款时间",
  7990. "type": "string"
  7991. },
  7992. "picurls1": {
  7993. "description": "预售商品介绍图片[多张用逗号分隔]",
  7994. "type": "string"
  7995. },
  7996. "picurls2": {
  7997. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7998. "type": "string"
  7999. },
  8000. "sellaccountid": {
  8001. "description": "卖方账号ID[报价币种]",
  8002. "type": "integer"
  8003. },
  8004. "sellorderid": {
  8005. "description": "卖方委托单号",
  8006. "type": "string"
  8007. },
  8008. "tradeamount": {
  8009. "description": "成交金额",
  8010. "type": "number"
  8011. },
  8012. "tradecharge": {
  8013. "description": "成交手续费(买方)",
  8014. "type": "number"
  8015. },
  8016. "tradedate": {
  8017. "description": "交易日(yyyyMMdd)",
  8018. "type": "string"
  8019. },
  8020. "tradeid": {
  8021. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8022. "type": "string"
  8023. },
  8024. "trademode": {
  8025. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8026. "type": "integer"
  8027. },
  8028. "tradeprice": {
  8029. "description": "成交价格",
  8030. "type": "number"
  8031. },
  8032. "tradeqty": {
  8033. "description": "成交数量",
  8034. "type": "integer"
  8035. },
  8036. "vendorname1": {
  8037. "description": "预售商品供应商名称",
  8038. "type": "string"
  8039. },
  8040. "vendorname2": {
  8041. "description": "挂牌商品供应商名称",
  8042. "type": "string"
  8043. }
  8044. }
  8045. },
  8046. "models.HsbyBuyMyTradeDetail": {
  8047. "type": "object",
  8048. "required": [
  8049. "accountid",
  8050. "buyorsell",
  8051. "goodscode",
  8052. "goodsid",
  8053. "goodsname",
  8054. "marketid",
  8055. "orderid",
  8056. "qty",
  8057. "time",
  8058. "trademode"
  8059. ],
  8060. "properties": {
  8061. "accountid": {
  8062. "description": "账户ID[报价币种]",
  8063. "type": "integer"
  8064. },
  8065. "agreeunit": {
  8066. "description": "合约单位",
  8067. "type": "number"
  8068. },
  8069. "amount": {
  8070. "description": "金额 = 价格 * 数量 * 合约单位",
  8071. "type": "number"
  8072. },
  8073. "buyorsell": {
  8074. "description": "买卖 - 0:买 1:卖",
  8075. "type": "integer"
  8076. },
  8077. "currencysign": {
  8078. "description": "货币符号",
  8079. "type": "string"
  8080. },
  8081. "decimalplace": {
  8082. "description": "报价小数位",
  8083. "type": "integer"
  8084. },
  8085. "goodscode": {
  8086. "description": "商品代码(内部)",
  8087. "type": "string"
  8088. },
  8089. "goodsid": {
  8090. "description": "商品ID",
  8091. "type": "integer"
  8092. },
  8093. "goodsname": {
  8094. "description": "商品名称",
  8095. "type": "string"
  8096. },
  8097. "marketid": {
  8098. "description": "市场ID",
  8099. "type": "integer"
  8100. },
  8101. "orderid": {
  8102. "description": "单号(成交单号)",
  8103. "type": "string"
  8104. },
  8105. "picurls1": {
  8106. "description": "预售商品介绍图片[多张用逗号分隔]",
  8107. "type": "string"
  8108. },
  8109. "picurls2": {
  8110. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  8111. "type": "string"
  8112. },
  8113. "price": {
  8114. "description": "价格",
  8115. "type": "number"
  8116. },
  8117. "qty": {
  8118. "description": "数量",
  8119. "type": "integer"
  8120. },
  8121. "time": {
  8122. "description": "时间",
  8123. "type": "string"
  8124. },
  8125. "trademode": {
  8126. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8127. "type": "integer"
  8128. },
  8129. "vendorname1": {
  8130. "description": "预售商品供应商名称",
  8131. "type": "string"
  8132. },
  8133. "vendorname2": {
  8134. "description": "挂牌商品供应商名称",
  8135. "type": "string"
  8136. }
  8137. }
  8138. },
  8139. "models.HsbyGoodsOrderDetail": {
  8140. "type": "object",
  8141. "required": [
  8142. "buyorsell",
  8143. "orderid",
  8144. "ordertime"
  8145. ],
  8146. "properties": {
  8147. "buyorsell": {
  8148. "description": "买卖 - 0:买 1:卖",
  8149. "type": "integer"
  8150. },
  8151. "currencysign": {
  8152. "description": "货币符号",
  8153. "type": "string"
  8154. },
  8155. "customername": {
  8156. "description": "客户名称(企业名称),已脱敏",
  8157. "type": "string"
  8158. },
  8159. "enableqty": {
  8160. "description": "可用数量",
  8161. "type": "integer"
  8162. },
  8163. "goodunit": {
  8164. "description": "报价单位",
  8165. "type": "string"
  8166. },
  8167. "orderid": {
  8168. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8169. "type": "string"
  8170. },
  8171. "orderprice": {
  8172. "description": "委托价格",
  8173. "type": "number"
  8174. },
  8175. "ordertime": {
  8176. "description": "委托时间",
  8177. "type": "string"
  8178. }
  8179. }
  8180. },
  8181. "models.HsbyListingGoodsDetail": {
  8182. "type": "object",
  8183. "required": [
  8184. "goodscode",
  8185. "goodsid",
  8186. "goodsname",
  8187. "marketid",
  8188. "trademode"
  8189. ],
  8190. "properties": {
  8191. "agreeunit": {
  8192. "description": "合约单位",
  8193. "type": "number"
  8194. },
  8195. "buymaxqty": {
  8196. "description": "购买上限 [71] - 0为不限",
  8197. "type": "integer"
  8198. },
  8199. "currency": {
  8200. "description": "货币",
  8201. "type": "string"
  8202. },
  8203. "currencysign": {
  8204. "description": "货币符号",
  8205. "type": "string"
  8206. },
  8207. "decimalplace": {
  8208. "description": "报价小数位",
  8209. "type": "integer"
  8210. },
  8211. "desccityid": {
  8212. "description": "目的地(市)ID",
  8213. "type": "integer"
  8214. },
  8215. "descprovinceid": {
  8216. "description": "目的地(省)ID",
  8217. "type": "integer"
  8218. },
  8219. "goodscode": {
  8220. "description": "商品代码(内部)",
  8221. "type": "string"
  8222. },
  8223. "goodsdesc": {
  8224. "description": "商品详情",
  8225. "type": "string"
  8226. },
  8227. "goodsid": {
  8228. "description": "商品ID(自增ID SEQ_GOODS)",
  8229. "type": "integer"
  8230. },
  8231. "goodsname": {
  8232. "description": "商品名称",
  8233. "type": "string"
  8234. },
  8235. "goodsprice": {
  8236. "description": "商品价格",
  8237. "type": "number"
  8238. },
  8239. "hotindex": {
  8240. "description": "景点热度",
  8241. "type": "integer"
  8242. },
  8243. "last": {
  8244. "description": "现价",
  8245. "type": "number"
  8246. },
  8247. "limitdown": {
  8248. "description": "跌停价",
  8249. "type": "number"
  8250. },
  8251. "limitup": {
  8252. "description": "涨停价",
  8253. "type": "number"
  8254. },
  8255. "lotsize": {
  8256. "description": "手数最小变动单位",
  8257. "type": "integer"
  8258. },
  8259. "marketid": {
  8260. "description": "所属市场ID",
  8261. "type": "integer"
  8262. },
  8263. "picurls": {
  8264. "description": "介绍图片[多张用逗号分隔]",
  8265. "type": "string"
  8266. },
  8267. "quoteminunit": {
  8268. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8269. "type": "integer"
  8270. },
  8271. "stepvalue": {
  8272. "description": "价格最小变动单位",
  8273. "type": "number"
  8274. },
  8275. "trademode": {
  8276. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8277. "type": "integer"
  8278. },
  8279. "vendorattr": {
  8280. "description": "供应商附件(多张,逗号分隔)",
  8281. "type": "string"
  8282. },
  8283. "vendorname": {
  8284. "description": "供应商名称",
  8285. "type": "string"
  8286. },
  8287. "vendorphone": {
  8288. "description": "供应商客服电话",
  8289. "type": "string"
  8290. },
  8291. "videourls": {
  8292. "description": "介绍视频[多张用逗号分隔]",
  8293. "type": "string"
  8294. }
  8295. }
  8296. },
  8297. "models.HsbyMarketGoods": {
  8298. "type": "object",
  8299. "required": [
  8300. "accountid",
  8301. "buyorsell",
  8302. "goodscode",
  8303. "goodsid",
  8304. "goodsname",
  8305. "marketid",
  8306. "orderid",
  8307. "trademode"
  8308. ],
  8309. "properties": {
  8310. "accountid": {
  8311. "description": "账户ID[报价币种]",
  8312. "type": "integer"
  8313. },
  8314. "agreeunit": {
  8315. "description": "合约单位",
  8316. "type": "number"
  8317. },
  8318. "buyorsell": {
  8319. "description": "买卖 - 0:买 1:卖",
  8320. "type": "integer"
  8321. },
  8322. "categoryid": {
  8323. "description": "类别ID(WRCATEGORY)",
  8324. "type": "integer"
  8325. },
  8326. "currency": {
  8327. "description": "货币",
  8328. "type": "string"
  8329. },
  8330. "currencysign": {
  8331. "description": "货币符号",
  8332. "type": "string"
  8333. },
  8334. "customername": {
  8335. "description": "卖家名称",
  8336. "type": "string"
  8337. },
  8338. "decimalplace": {
  8339. "description": "报价小数位",
  8340. "type": "integer"
  8341. },
  8342. "goodscode": {
  8343. "description": "商品代码(内部)",
  8344. "type": "string"
  8345. },
  8346. "goodsid": {
  8347. "description": "商品ID",
  8348. "type": "integer"
  8349. },
  8350. "goodsname": {
  8351. "description": "商品名称",
  8352. "type": "string"
  8353. },
  8354. "hascoupon": {
  8355. "description": "是否可用优惠卷",
  8356. "type": "boolean"
  8357. },
  8358. "hotindex": {
  8359. "description": "景点热度",
  8360. "type": "integer"
  8361. },
  8362. "marketid": {
  8363. "description": "市场ID",
  8364. "type": "integer"
  8365. },
  8366. "orderid": {
  8367. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8368. "type": "string"
  8369. },
  8370. "orderprice": {
  8371. "description": "委托价格",
  8372. "type": "number"
  8373. },
  8374. "orderstatus": {
  8375. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8376. "type": "integer"
  8377. },
  8378. "picurls": {
  8379. "description": "介绍图片[多张用逗号分隔]",
  8380. "type": "string"
  8381. },
  8382. "quoteminunit": {
  8383. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8384. "type": "integer"
  8385. },
  8386. "sellUserID": {
  8387. "description": "卖方UserID",
  8388. "type": "integer"
  8389. },
  8390. "trademode": {
  8391. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8392. "type": "integer"
  8393. },
  8394. "videourls": {
  8395. "description": "介绍视频[多张用逗号分隔]",
  8396. "type": "string"
  8397. }
  8398. }
  8399. },
  8400. "models.HsbyMarketGoodsDetail": {
  8401. "type": "object",
  8402. "required": [
  8403. "accountid",
  8404. "buyorsell",
  8405. "goodscode",
  8406. "goodsid",
  8407. "goodsname",
  8408. "marketid",
  8409. "orderid",
  8410. "orderqty",
  8411. "trademode"
  8412. ],
  8413. "properties": {
  8414. "accountid": {
  8415. "description": "账户ID[报价币种]",
  8416. "type": "integer"
  8417. },
  8418. "agreeunit": {
  8419. "description": "合约单位",
  8420. "type": "number"
  8421. },
  8422. "buymaxqty": {
  8423. "description": "购买上限 [71] - 0为不限",
  8424. "type": "integer"
  8425. },
  8426. "buyorsell": {
  8427. "description": "买卖 - 0:买 1:卖",
  8428. "type": "integer"
  8429. },
  8430. "cancelqty": {
  8431. "description": "撤单数量",
  8432. "type": "integer"
  8433. },
  8434. "categoryid": {
  8435. "description": "类别ID(WRCATEGORY)",
  8436. "type": "integer"
  8437. },
  8438. "currency": {
  8439. "description": "货币",
  8440. "type": "string"
  8441. },
  8442. "currencysign": {
  8443. "description": "货币符号",
  8444. "type": "string"
  8445. },
  8446. "customername": {
  8447. "description": "卖家名称",
  8448. "type": "string"
  8449. },
  8450. "decimalplace": {
  8451. "description": "报价小数位",
  8452. "type": "integer"
  8453. },
  8454. "goodscode": {
  8455. "description": "商品代码(内部)",
  8456. "type": "string"
  8457. },
  8458. "goodsdesc": {
  8459. "description": "商品详情",
  8460. "type": "string"
  8461. },
  8462. "goodsid": {
  8463. "description": "商品ID",
  8464. "type": "integer"
  8465. },
  8466. "goodsname": {
  8467. "description": "商品名称",
  8468. "type": "string"
  8469. },
  8470. "hotindex": {
  8471. "description": "景点热度",
  8472. "type": "integer"
  8473. },
  8474. "lotsize": {
  8475. "description": "手数最小变动单位",
  8476. "type": "integer"
  8477. },
  8478. "marketid": {
  8479. "description": "市场ID",
  8480. "type": "integer"
  8481. },
  8482. "orderid": {
  8483. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8484. "type": "string"
  8485. },
  8486. "orderprice": {
  8487. "description": "委托价格",
  8488. "type": "number"
  8489. },
  8490. "orderqty": {
  8491. "description": "委托数量",
  8492. "type": "integer"
  8493. },
  8494. "orderstatus": {
  8495. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8496. "type": "integer"
  8497. },
  8498. "picurls": {
  8499. "description": "介绍图片[多张用逗号分隔]",
  8500. "type": "string"
  8501. },
  8502. "quoteminunit": {
  8503. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8504. "type": "integer"
  8505. },
  8506. "sellUserID": {
  8507. "description": "卖方UserID",
  8508. "type": "integer"
  8509. },
  8510. "trademode": {
  8511. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8512. "type": "integer"
  8513. },
  8514. "tradeqty": {
  8515. "description": "成交数量",
  8516. "type": "integer"
  8517. },
  8518. "vendorattr": {
  8519. "description": "供应商附件(多张,逗号分隔)",
  8520. "type": "string"
  8521. },
  8522. "vendorname": {
  8523. "description": "供应商名称",
  8524. "type": "string"
  8525. },
  8526. "vendorphone": {
  8527. "description": "供应商客服电话",
  8528. "type": "string"
  8529. },
  8530. "videourls": {
  8531. "description": "介绍视频[多张用逗号分隔]",
  8532. "type": "string"
  8533. }
  8534. }
  8535. },
  8536. "models.HsbyMarketInfo": {
  8537. "type": "object",
  8538. "required": [
  8539. "marketid",
  8540. "marketstatus",
  8541. "trademode"
  8542. ],
  8543. "properties": {
  8544. "marketid": {
  8545. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8546. "type": "integer"
  8547. },
  8548. "marketname": {
  8549. "description": "市场名称",
  8550. "type": "string"
  8551. },
  8552. "marketstatus": {
  8553. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8554. "type": "integer"
  8555. },
  8556. "trademode": {
  8557. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8558. "type": "integer"
  8559. }
  8560. }
  8561. },
  8562. "models.HsbyMyGoods": {
  8563. "type": "object",
  8564. "required": [
  8565. "accountid",
  8566. "goodscode",
  8567. "goodsid",
  8568. "goodsname",
  8569. "marketid",
  8570. "trademode"
  8571. ],
  8572. "properties": {
  8573. "accountid": {
  8574. "description": "账号Id",
  8575. "type": "integer"
  8576. },
  8577. "agreeunit": {
  8578. "description": "合约单位",
  8579. "type": "number"
  8580. },
  8581. "buyaverageprice": {
  8582. "description": "持仓均价",
  8583. "type": "number"
  8584. },
  8585. "buycurholderamount": {
  8586. "description": "买当前持仓总金额[商品币种]",
  8587. "type": "number"
  8588. },
  8589. "buycurpositionqty": {
  8590. "description": "买当前持仓总数量",
  8591. "type": "integer"
  8592. },
  8593. "buymaxqty": {
  8594. "description": "购买上限 [71] - 0为不限",
  8595. "type": "integer"
  8596. },
  8597. "currencysign": {
  8598. "description": "货币符号",
  8599. "type": "string"
  8600. },
  8601. "decimalplace": {
  8602. "description": "报价小数位",
  8603. "type": "integer"
  8604. },
  8605. "enableqty": {
  8606. "description": "可用数量",
  8607. "type": "integer"
  8608. },
  8609. "goodscode": {
  8610. "description": "商品代码(内部)",
  8611. "type": "string"
  8612. },
  8613. "goodsid": {
  8614. "description": "商品Id",
  8615. "type": "integer"
  8616. },
  8617. "goodsname": {
  8618. "description": "商品名称",
  8619. "type": "string"
  8620. },
  8621. "goodsprice": {
  8622. "description": "商品价格",
  8623. "type": "number"
  8624. },
  8625. "goodsstatus": {
  8626. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8627. "type": "integer"
  8628. },
  8629. "last": {
  8630. "description": "现价(仅使用于挂牌点选)",
  8631. "type": "number"
  8632. },
  8633. "limitdown": {
  8634. "description": "跌停价(仅使用于挂牌点选)",
  8635. "type": "number"
  8636. },
  8637. "limitup": {
  8638. "description": "涨停价(仅使用于挂牌点选)",
  8639. "type": "number"
  8640. },
  8641. "lotsize": {
  8642. "description": "手数最小变动单位",
  8643. "type": "integer"
  8644. },
  8645. "marketid": {
  8646. "description": "所属市场ID",
  8647. "type": "integer"
  8648. },
  8649. "picurls": {
  8650. "description": "介绍图片[多张用逗号分隔]",
  8651. "type": "string"
  8652. },
  8653. "quoteminunit": {
  8654. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8655. "type": "integer"
  8656. },
  8657. "stepvalue": {
  8658. "description": "价格最小变动单位",
  8659. "type": "number"
  8660. },
  8661. "trademode": {
  8662. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8663. "type": "integer"
  8664. }
  8665. }
  8666. },
  8667. "models.HsbyMyPackage": {
  8668. "type": "object",
  8669. "required": [
  8670. "goodscode",
  8671. "goodsname",
  8672. "takeorderid"
  8673. ],
  8674. "properties": {
  8675. "accountid": {
  8676. "description": "账户ID",
  8677. "type": "integer"
  8678. },
  8679. "address": {
  8680. "description": "提货人详细地址",
  8681. "type": "string"
  8682. },
  8683. "agreeunit": {
  8684. "description": "合约单位",
  8685. "type": "number"
  8686. },
  8687. "amount": {
  8688. "description": "提货金额",
  8689. "type": "number"
  8690. },
  8691. "auditer": {
  8692. "description": "审核人",
  8693. "type": "integer"
  8694. },
  8695. "audittime": {
  8696. "description": "审核时间",
  8697. "type": "string"
  8698. },
  8699. "averageprice": {
  8700. "description": "均价",
  8701. "type": "number"
  8702. },
  8703. "cardnum": {
  8704. "description": "提货人证件号码",
  8705. "type": "string"
  8706. },
  8707. "cardtypeid": {
  8708. "description": "提货人证件类型",
  8709. "type": "integer"
  8710. },
  8711. "checkremark": {
  8712. "description": "审核备注",
  8713. "type": "string"
  8714. },
  8715. "currencysign": {
  8716. "description": "货币符号",
  8717. "type": "string"
  8718. },
  8719. "decimalplace": {
  8720. "description": "报价小数位",
  8721. "type": "integer"
  8722. },
  8723. "goodscode": {
  8724. "description": "商品代码(内部)",
  8725. "type": "string"
  8726. },
  8727. "goodsid": {
  8728. "description": "商品ID",
  8729. "type": "integer"
  8730. },
  8731. "goodsname": {
  8732. "description": "商品名称",
  8733. "type": "string"
  8734. },
  8735. "handlestatus": {
  8736. "description": "处理状态",
  8737. "type": "integer"
  8738. },
  8739. "marketid": {
  8740. "description": "市场ID",
  8741. "type": "integer"
  8742. },
  8743. "phonenum": {
  8744. "description": "提货人联系方式",
  8745. "type": "string"
  8746. },
  8747. "picurls": {
  8748. "description": "介绍图片[多张用逗号分隔]",
  8749. "type": "string"
  8750. },
  8751. "qty": {
  8752. "description": "提货数量",
  8753. "type": "number"
  8754. },
  8755. "recivername": {
  8756. "description": "提货人姓名",
  8757. "type": "string"
  8758. },
  8759. "reqtime": {
  8760. "description": "更新时间",
  8761. "type": "string"
  8762. },
  8763. "takemode": {
  8764. "description": "提货方式 - 2:自提 3:配送",
  8765. "type": "integer"
  8766. },
  8767. "takeorderid": {
  8768. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8769. "type": "string"
  8770. },
  8771. "takeorderstatus": {
  8772. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8773. "type": "integer"
  8774. },
  8775. "takeremark": {
  8776. "description": "提货备注",
  8777. "type": "string"
  8778. },
  8779. "tradedate": {
  8780. "description": "交易日(yyyyMMdd)",
  8781. "type": "string"
  8782. },
  8783. "userid": {
  8784. "description": "用户ID",
  8785. "type": "integer"
  8786. },
  8787. "vendorname": {
  8788. "description": "供应商名称",
  8789. "type": "string"
  8790. }
  8791. }
  8792. },
  8793. "models.HsbyPreGoods": {
  8794. "type": "object",
  8795. "required": [
  8796. "goodscode",
  8797. "goodsid",
  8798. "goodsname",
  8799. "marketid",
  8800. "trademode"
  8801. ],
  8802. "properties": {
  8803. "agreeunit": {
  8804. "description": "合约单位",
  8805. "type": "number"
  8806. },
  8807. "currency": {
  8808. "description": "货币",
  8809. "type": "string"
  8810. },
  8811. "currencysign": {
  8812. "description": "货币符号",
  8813. "type": "string"
  8814. },
  8815. "decimalplace": {
  8816. "description": "报价小数位",
  8817. "type": "integer"
  8818. },
  8819. "enableqty": {
  8820. "description": "剩余数量",
  8821. "type": "integer"
  8822. },
  8823. "goodscode": {
  8824. "description": "商品代码(内部)",
  8825. "type": "string"
  8826. },
  8827. "goodsid": {
  8828. "description": "商品ID(自增ID SEQ_GOODS)",
  8829. "type": "integer"
  8830. },
  8831. "goodsname": {
  8832. "description": "商品名称",
  8833. "type": "string"
  8834. },
  8835. "goodsstatus": {
  8836. "description": "商品状态- 2:未上市 3:上市",
  8837. "type": "integer"
  8838. },
  8839. "lasttradedate": {
  8840. "description": "最后交易日期(状态:待退市)",
  8841. "type": "string"
  8842. },
  8843. "listingdate": {
  8844. "description": "交易开始日期",
  8845. "type": "string"
  8846. },
  8847. "marketid": {
  8848. "description": "所属市场ID",
  8849. "type": "integer"
  8850. },
  8851. "picurls": {
  8852. "description": "介绍图片[多张用逗号分隔]",
  8853. "type": "string"
  8854. },
  8855. "presaledqty": {
  8856. "description": "已预售量(预售结束时更新)",
  8857. "type": "integer"
  8858. },
  8859. "presaleqty": {
  8860. "description": "预售数量",
  8861. "type": "integer"
  8862. },
  8863. "quoteminunit": {
  8864. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8865. "type": "integer"
  8866. },
  8867. "refprice": {
  8868. "description": "参考价格[一口价]",
  8869. "type": "number"
  8870. },
  8871. "relatedgoodsid": {
  8872. "description": "关联交易合约ID",
  8873. "type": "integer"
  8874. },
  8875. "trademode": {
  8876. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8877. "type": "integer"
  8878. },
  8879. "videourls": {
  8880. "description": "介绍视频[多张用逗号分隔]",
  8881. "type": "string"
  8882. }
  8883. }
  8884. },
  8885. "models.HsbyPreGoodsDetail": {
  8886. "type": "object",
  8887. "required": [
  8888. "goodscode",
  8889. "goodsid",
  8890. "goodsname",
  8891. "marketid",
  8892. "trademode"
  8893. ],
  8894. "properties": {
  8895. "agreeunit": {
  8896. "description": "合约单位",
  8897. "type": "number"
  8898. },
  8899. "buymaxqty": {
  8900. "description": "购买上限 [71] - 0为不限",
  8901. "type": "integer"
  8902. },
  8903. "currency": {
  8904. "description": "货币",
  8905. "type": "string"
  8906. },
  8907. "currencysign": {
  8908. "description": "货币符号",
  8909. "type": "string"
  8910. },
  8911. "customername": {
  8912. "description": "发行单位",
  8913. "type": "string"
  8914. },
  8915. "decimalplace": {
  8916. "description": "报价小数位",
  8917. "type": "integer"
  8918. },
  8919. "desccityid": {
  8920. "description": "目的地(市)ID",
  8921. "type": "integer"
  8922. },
  8923. "descprovinceid": {
  8924. "description": "目的地(省)ID",
  8925. "type": "integer"
  8926. },
  8927. "enableqty": {
  8928. "description": "剩余数量",
  8929. "type": "integer"
  8930. },
  8931. "goodscode": {
  8932. "description": "商品代码(内部)",
  8933. "type": "string"
  8934. },
  8935. "goodsdesc": {
  8936. "description": "商品详情",
  8937. "type": "string"
  8938. },
  8939. "goodsid": {
  8940. "description": "商品ID(自增ID SEQ_GOODS)",
  8941. "type": "integer"
  8942. },
  8943. "goodsname": {
  8944. "description": "商品名称",
  8945. "type": "string"
  8946. },
  8947. "goodsstatus": {
  8948. "description": "商品状态- 2:未上市 3:上市",
  8949. "type": "integer"
  8950. },
  8951. "goodunit": {
  8952. "description": "报价单位",
  8953. "type": "string"
  8954. },
  8955. "lasttradedate": {
  8956. "description": "最后交易日期(状态:待退市)",
  8957. "type": "string"
  8958. },
  8959. "listingdate": {
  8960. "description": "交易开始日期",
  8961. "type": "string"
  8962. },
  8963. "lotsize": {
  8964. "description": "手数最小变动单位",
  8965. "type": "integer"
  8966. },
  8967. "marketid": {
  8968. "description": "所属市场ID",
  8969. "type": "integer"
  8970. },
  8971. "picurls": {
  8972. "description": "介绍图片[多张用逗号分隔]",
  8973. "type": "string"
  8974. },
  8975. "presaledqty": {
  8976. "description": "已预售量(预售结束时更新)",
  8977. "type": "integer"
  8978. },
  8979. "presaleqty": {
  8980. "description": "预售数量",
  8981. "type": "integer"
  8982. },
  8983. "quoteminunit": {
  8984. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8985. "type": "integer"
  8986. },
  8987. "refprice": {
  8988. "description": "参考价格[一口价]",
  8989. "type": "number"
  8990. },
  8991. "relatedgoodsid": {
  8992. "description": "关联交易合约ID",
  8993. "type": "integer"
  8994. },
  8995. "stepvalue": {
  8996. "description": "价格最小变动单位",
  8997. "type": "number"
  8998. },
  8999. "trademode": {
  9000. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9001. "type": "integer"
  9002. },
  9003. "vendorattr": {
  9004. "description": "供应商附件(多张,逗号分隔)",
  9005. "type": "string"
  9006. },
  9007. "vendorname": {
  9008. "description": "供应商名称",
  9009. "type": "string"
  9010. },
  9011. "vendorphone": {
  9012. "description": "供应商客服电话",
  9013. "type": "string"
  9014. },
  9015. "videourls": {
  9016. "description": "介绍视频[多张用逗号分隔]",
  9017. "type": "string"
  9018. }
  9019. }
  9020. },
  9021. "models.HsbySellCollectionOrder": {
  9022. "type": "object",
  9023. "required": [
  9024. "goodscode",
  9025. "goodsname",
  9026. "tradeid",
  9027. "trademode"
  9028. ],
  9029. "properties": {
  9030. "agreeunit": {
  9031. "description": "合约单位",
  9032. "type": "number"
  9033. },
  9034. "buyaccountid": {
  9035. "description": "买方账号ID[报价币种]",
  9036. "type": "integer"
  9037. },
  9038. "buyorderid": {
  9039. "description": "买方委托单号",
  9040. "type": "string"
  9041. },
  9042. "createtime": {
  9043. "description": "创建时间",
  9044. "type": "string"
  9045. },
  9046. "currencysign": {
  9047. "description": "货币符号",
  9048. "type": "string"
  9049. },
  9050. "decimalplace": {
  9051. "description": "报价小数位",
  9052. "type": "integer"
  9053. },
  9054. "goodscode": {
  9055. "description": "商品代码(内部)",
  9056. "type": "string"
  9057. },
  9058. "goodsid": {
  9059. "description": "商品ID",
  9060. "type": "integer"
  9061. },
  9062. "goodsname": {
  9063. "description": "商品名称",
  9064. "type": "string"
  9065. },
  9066. "marketid": {
  9067. "description": "市场ID",
  9068. "type": "integer"
  9069. },
  9070. "offamount": {
  9071. "description": "优惠金额",
  9072. "type": "number"
  9073. },
  9074. "payamount": {
  9075. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  9076. "type": "number"
  9077. },
  9078. "payflag": {
  9079. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9080. "type": "integer"
  9081. },
  9082. "paylimitedtime": {
  9083. "description": "支付期限",
  9084. "type": "string"
  9085. },
  9086. "paytime": {
  9087. "description": "付款时间",
  9088. "type": "string"
  9089. },
  9090. "picurls": {
  9091. "description": "商品介绍图片[多张用逗号分隔]",
  9092. "type": "string"
  9093. },
  9094. "sellaccountid": {
  9095. "description": "卖方账号ID[报价币种]",
  9096. "type": "integer"
  9097. },
  9098. "sellorderid": {
  9099. "description": "卖方委托单号",
  9100. "type": "string"
  9101. },
  9102. "tradeamount": {
  9103. "description": "成交金额",
  9104. "type": "number"
  9105. },
  9106. "tradecharge": {
  9107. "description": "成交手续费(买方)",
  9108. "type": "number"
  9109. },
  9110. "tradedate": {
  9111. "description": "交易日(yyyyMMdd)",
  9112. "type": "string"
  9113. },
  9114. "tradeid": {
  9115. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9116. "type": "string"
  9117. },
  9118. "trademode": {
  9119. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9120. "type": "integer"
  9121. },
  9122. "tradeprice": {
  9123. "description": "成交价格",
  9124. "type": "number"
  9125. },
  9126. "tradeqty": {
  9127. "description": "成交数量",
  9128. "type": "integer"
  9129. }
  9130. }
  9131. },
  9132. "models.HsbySellMyDetail": {
  9133. "type": "object",
  9134. "required": [
  9135. "accountid",
  9136. "buyorsell",
  9137. "goodscode",
  9138. "goodsid",
  9139. "goodsname",
  9140. "marketid",
  9141. "orderid",
  9142. "time",
  9143. "trademode"
  9144. ],
  9145. "properties": {
  9146. "accountid": {
  9147. "description": "账户ID[报价币种]",
  9148. "type": "integer"
  9149. },
  9150. "agreeunit": {
  9151. "description": "合约单位",
  9152. "type": "number"
  9153. },
  9154. "buyorsell": {
  9155. "description": "买卖 - 0:买 1:卖",
  9156. "type": "integer"
  9157. },
  9158. "currencysign": {
  9159. "description": "货币符号",
  9160. "type": "string"
  9161. },
  9162. "decimalplace": {
  9163. "description": "报价小数位",
  9164. "type": "integer"
  9165. },
  9166. "goodscode": {
  9167. "description": "商品代码(内部)",
  9168. "type": "string"
  9169. },
  9170. "goodsid": {
  9171. "description": "商品ID",
  9172. "type": "integer"
  9173. },
  9174. "goodsname": {
  9175. "description": "商品名称",
  9176. "type": "string"
  9177. },
  9178. "marketid": {
  9179. "description": "市场ID",
  9180. "type": "integer"
  9181. },
  9182. "orderid": {
  9183. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  9184. "type": "string"
  9185. },
  9186. "ordertype": {
  9187. "description": "单据类型:0 - 发布中, 1 - 已完成",
  9188. "type": "integer"
  9189. },
  9190. "picurls": {
  9191. "description": "介绍图片[多张用逗号分隔]",
  9192. "type": "string"
  9193. },
  9194. "price": {
  9195. "description": "价格",
  9196. "type": "number"
  9197. },
  9198. "qty": {
  9199. "description": "数量",
  9200. "type": "integer"
  9201. },
  9202. "time": {
  9203. "description": "时间",
  9204. "type": "string"
  9205. },
  9206. "trademode": {
  9207. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9208. "type": "integer"
  9209. },
  9210. "vendorname": {
  9211. "description": "供应商名称",
  9212. "type": "string"
  9213. }
  9214. }
  9215. },
  9216. "models.HsbyTopGoods": {
  9217. "type": "object",
  9218. "required": [
  9219. "goodscode",
  9220. "goodsid",
  9221. "goodsname",
  9222. "marketid",
  9223. "trademode"
  9224. ],
  9225. "properties": {
  9226. "agreeunit": {
  9227. "description": "合约单位",
  9228. "type": "number"
  9229. },
  9230. "currency": {
  9231. "description": "货币",
  9232. "type": "string"
  9233. },
  9234. "currencysign": {
  9235. "description": "货币符号",
  9236. "type": "string"
  9237. },
  9238. "decimalplace": {
  9239. "description": "报价小数位",
  9240. "type": "integer"
  9241. },
  9242. "goodscode": {
  9243. "description": "商品代码(内部)",
  9244. "type": "string"
  9245. },
  9246. "goodsid": {
  9247. "description": "商品ID(自增ID SEQ_GOODS)",
  9248. "type": "integer"
  9249. },
  9250. "goodsname": {
  9251. "description": "商品名称",
  9252. "type": "string"
  9253. },
  9254. "hotindex": {
  9255. "description": "景点热度",
  9256. "type": "integer"
  9257. },
  9258. "last": {
  9259. "description": "现价",
  9260. "type": "number"
  9261. },
  9262. "marketid": {
  9263. "description": "所属市场ID",
  9264. "type": "integer"
  9265. },
  9266. "picurls": {
  9267. "description": "介绍图片[多张用逗号分隔]",
  9268. "type": "string"
  9269. },
  9270. "quoteminunit": {
  9271. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  9272. "type": "integer"
  9273. },
  9274. "trademode": {
  9275. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9276. "type": "integer"
  9277. },
  9278. "videourls": {
  9279. "description": "介绍视频[多张用逗号分隔]",
  9280. "type": "string"
  9281. }
  9282. }
  9283. },
  9284. "models.HybsMyBuyOrderDetail": {
  9285. "type": "object",
  9286. "required": [
  9287. "accountid",
  9288. "buyorsell",
  9289. "goodscode",
  9290. "goodsid",
  9291. "goodsname",
  9292. "marketid",
  9293. "orderid",
  9294. "orderqty",
  9295. "ordertime",
  9296. "trademode"
  9297. ],
  9298. "properties": {
  9299. "accountid": {
  9300. "description": "账户ID[报价币种]",
  9301. "type": "integer"
  9302. },
  9303. "agreeunit": {
  9304. "description": "合约单位",
  9305. "type": "number"
  9306. },
  9307. "buyorsell": {
  9308. "description": "买卖 - 0:买 1:卖",
  9309. "type": "integer"
  9310. },
  9311. "cancelqty": {
  9312. "description": "撤单数量",
  9313. "type": "integer"
  9314. },
  9315. "currencysign": {
  9316. "description": "货币符号",
  9317. "type": "string"
  9318. },
  9319. "decimalplace": {
  9320. "description": "报价小数位",
  9321. "type": "integer"
  9322. },
  9323. "goodscode": {
  9324. "description": "商品代码(内部)",
  9325. "type": "string"
  9326. },
  9327. "goodsid": {
  9328. "description": "商品ID",
  9329. "type": "integer"
  9330. },
  9331. "goodsname": {
  9332. "description": "商品名称",
  9333. "type": "string"
  9334. },
  9335. "listingselecttype": {
  9336. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9337. "type": "integer"
  9338. },
  9339. "marketid": {
  9340. "description": "市场ID",
  9341. "type": "integer"
  9342. },
  9343. "mybuystatus": {
  9344. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9345. "type": "integer"
  9346. },
  9347. "orderamount": {
  9348. "description": "委托金额",
  9349. "type": "number"
  9350. },
  9351. "orderid": {
  9352. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9353. "type": "string"
  9354. },
  9355. "orderprice": {
  9356. "description": "委托价格",
  9357. "type": "number"
  9358. },
  9359. "orderqty": {
  9360. "description": "委托数量",
  9361. "type": "integer"
  9362. },
  9363. "orderstatus": {
  9364. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9365. "type": "integer"
  9366. },
  9367. "ordertime": {
  9368. "description": "委托时间",
  9369. "type": "string"
  9370. },
  9371. "picurls1": {
  9372. "description": "预售商品介绍图片[多张用逗号分隔]",
  9373. "type": "string"
  9374. },
  9375. "picurls2": {
  9376. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9377. "type": "string"
  9378. },
  9379. "trademode": {
  9380. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9381. "type": "integer"
  9382. },
  9383. "tradeqty": {
  9384. "description": "成交数量",
  9385. "type": "integer"
  9386. },
  9387. "vendorname1": {
  9388. "description": "预售商品供应商名称",
  9389. "type": "string"
  9390. },
  9391. "vendorname2": {
  9392. "description": "挂牌商品供应商名称",
  9393. "type": "string"
  9394. }
  9395. }
  9396. },
  9397. "models.Marketrun": {
  9398. "type": "object",
  9399. "required": [
  9400. "marketid",
  9401. "nexttradedate",
  9402. "reckonflag",
  9403. "runstatus",
  9404. "tradedate",
  9405. "tradedate2"
  9406. ],
  9407. "properties": {
  9408. "afternexttradedate": {
  9409. "description": "下下交易日",
  9410. "type": "string"
  9411. },
  9412. "clearquoteflag": {
  9413. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9414. "type": "integer"
  9415. },
  9416. "lastreckondate": {
  9417. "description": "最新交易日(结算成功)",
  9418. "type": "string"
  9419. },
  9420. "machinedate": {
  9421. "description": "机器时间",
  9422. "type": "string"
  9423. },
  9424. "manualflag": {
  9425. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9426. "type": "integer"
  9427. },
  9428. "marketid": {
  9429. "description": "市场ID",
  9430. "type": "integer"
  9431. },
  9432. "nexttradedate": {
  9433. "description": "下一交易日",
  9434. "type": "string"
  9435. },
  9436. "pretradedate": {
  9437. "description": "上一交易日",
  9438. "type": "string"
  9439. },
  9440. "reckonflag": {
  9441. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9442. "type": "integer"
  9443. },
  9444. "runstatus": {
  9445. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  9446. "type": "integer"
  9447. },
  9448. "sectionid": {
  9449. "description": "时间段号[多时段时用]",
  9450. "type": "integer"
  9451. },
  9452. "tradedate": {
  9453. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9454. "type": "string"
  9455. },
  9456. "tradedate2": {
  9457. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9458. "type": "string"
  9459. },
  9460. "updatetime": {
  9461. "description": "更新时间",
  9462. "type": "string"
  9463. }
  9464. }
  9465. },
  9466. "models.Messageboard": {
  9467. "type": "object",
  9468. "required": [
  9469. "messageboardid"
  9470. ],
  9471. "properties": {
  9472. "createtime": {
  9473. "description": "创建时间",
  9474. "type": "string"
  9475. },
  9476. "message": {
  9477. "description": "留言信息",
  9478. "type": "string"
  9479. },
  9480. "messageboardid": {
  9481. "description": "留言簿ID(SEQ_MessageBoard)",
  9482. "type": "integer"
  9483. },
  9484. "userid": {
  9485. "description": "用户ID",
  9486. "type": "integer"
  9487. }
  9488. }
  9489. },
  9490. "models.MyCoupon": {
  9491. "type": "object",
  9492. "required": [
  9493. "accountid",
  9494. "coupontypeid"
  9495. ],
  9496. "properties": {
  9497. "accountid": {
  9498. "description": "资金账户ID",
  9499. "type": "integer"
  9500. },
  9501. "areauserid": {
  9502. "description": "所属机构",
  9503. "type": "integer"
  9504. },
  9505. "conditionvalue": {
  9506. "description": "条件阈值(可为0)",
  9507. "type": "number"
  9508. },
  9509. "couponcategroy": {
  9510. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9511. "type": "integer"
  9512. },
  9513. "couponname": {
  9514. "description": "优惠券名称",
  9515. "type": "string"
  9516. },
  9517. "coupontypeid": {
  9518. "description": "优惠券类型ID",
  9519. "type": "string"
  9520. },
  9521. "couponvalue": {
  9522. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9523. "type": "number"
  9524. },
  9525. "curfreezeqty": {
  9526. "description": "期末冻结数量",
  9527. "type": "integer"
  9528. },
  9529. "curqty": {
  9530. "description": "期末数量",
  9531. "type": "integer"
  9532. },
  9533. "isgeneral": {
  9534. "description": "是否通用券 - 0:否 1:是",
  9535. "type": "integer"
  9536. },
  9537. "isunusable": {
  9538. "description": "是否不可用",
  9539. "type": "boolean"
  9540. },
  9541. "limitedflag": {
  9542. "description": "是否指定商品 - 0:不限 1:限制",
  9543. "type": "integer"
  9544. },
  9545. "limitedgoodsids": {
  9546. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9547. "type": "string"
  9548. },
  9549. "orifreezeqty": {
  9550. "description": "期初冻结数量",
  9551. "type": "integer"
  9552. },
  9553. "oriqty": {
  9554. "description": "期初数量",
  9555. "type": "integer"
  9556. },
  9557. "reasontype": {
  9558. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9559. "type": "integer"
  9560. },
  9561. "todaydecrease": {
  9562. "description": "今日减少",
  9563. "type": "integer"
  9564. },
  9565. "todayincrease": {
  9566. "description": "今日增加",
  9567. "type": "integer"
  9568. },
  9569. "userid": {
  9570. "description": "用户ID",
  9571. "type": "integer"
  9572. },
  9573. "userscope": {
  9574. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9575. "type": "string"
  9576. }
  9577. }
  9578. },
  9579. "models.MyCouponHold": {
  9580. "type": "object",
  9581. "required": [
  9582. "couponholdid"
  9583. ],
  9584. "properties": {
  9585. "accountid": {
  9586. "description": "资金账户ID",
  9587. "type": "integer"
  9588. },
  9589. "conditionvalue": {
  9590. "description": "条件阈值(可为0)",
  9591. "type": "number"
  9592. },
  9593. "couponcategroy": {
  9594. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9595. "type": "integer"
  9596. },
  9597. "couponholdid": {
  9598. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9599. "type": "string"
  9600. },
  9601. "couponname": {
  9602. "description": "优惠券名称",
  9603. "type": "string"
  9604. },
  9605. "coupontypeid": {
  9606. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9607. "type": "string"
  9608. },
  9609. "couponvalue": {
  9610. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9611. "type": "number"
  9612. },
  9613. "createtime": {
  9614. "description": "创建时间",
  9615. "type": "string"
  9616. },
  9617. "enddate": {
  9618. "description": "结束日期",
  9619. "type": "string"
  9620. },
  9621. "giveapplyid": {
  9622. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9623. "type": "integer"
  9624. },
  9625. "holdstatus": {
  9626. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9627. "type": "integer"
  9628. },
  9629. "isgeneral": {
  9630. "description": "是否通用券 - 0:否 1:是",
  9631. "type": "integer"
  9632. },
  9633. "limitedflag": {
  9634. "description": "是否指定商品 - 0:不限 1:限制",
  9635. "type": "integer"
  9636. },
  9637. "limitedgoodsids": {
  9638. "description": "指定商品IDs[逗号分隔]",
  9639. "type": "string"
  9640. },
  9641. "qty": {
  9642. "description": "数量(按1平铺)",
  9643. "type": "integer"
  9644. },
  9645. "startdate": {
  9646. "description": "开始日期",
  9647. "type": "string"
  9648. },
  9649. "userid": {
  9650. "description": "用户ID",
  9651. "type": "integer"
  9652. },
  9653. "userscope": {
  9654. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9655. "type": "string"
  9656. }
  9657. }
  9658. },
  9659. "models.MyUsedCoupon": {
  9660. "type": "object",
  9661. "required": [
  9662. "coupontypeid",
  9663. "orderid"
  9664. ],
  9665. "properties": {
  9666. "accountid": {
  9667. "description": "资金账户ID(买方)",
  9668. "type": "integer"
  9669. },
  9670. "conditionvalue": {
  9671. "description": "条件阈值(可为0)",
  9672. "type": "number"
  9673. },
  9674. "couponcategroy": {
  9675. "description": "种类 - 1:现金券 2:折扣券",
  9676. "type": "integer"
  9677. },
  9678. "couponname": {
  9679. "description": "优惠券名称",
  9680. "type": "string"
  9681. },
  9682. "coupontypeid": {
  9683. "description": "优惠券类型ID(买方)",
  9684. "type": "string"
  9685. },
  9686. "couponvalue": {
  9687. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9688. "type": "number"
  9689. },
  9690. "createtime": {
  9691. "description": "创建时间",
  9692. "type": "string"
  9693. },
  9694. "goodsid": {
  9695. "description": "商品ID",
  9696. "type": "integer"
  9697. },
  9698. "handlestatus": {
  9699. "description": "处理状态",
  9700. "type": "integer"
  9701. },
  9702. "marketid": {
  9703. "description": "市场ID",
  9704. "type": "integer"
  9705. },
  9706. "offamount": {
  9707. "description": "优惠金额",
  9708. "type": "number"
  9709. },
  9710. "orderid": {
  9711. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9712. "type": "string"
  9713. },
  9714. "sellaccountid": {
  9715. "description": "资金账户ID(卖方)",
  9716. "type": "integer"
  9717. },
  9718. "tradeamount": {
  9719. "description": "成交金额",
  9720. "type": "number"
  9721. },
  9722. "tradeid": {
  9723. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9724. "type": "string"
  9725. },
  9726. "usedqty": {
  9727. "description": "使用数量",
  9728. "type": "integer"
  9729. }
  9730. }
  9731. },
  9732. "models.OperationPrimaryMenu": {
  9733. "type": "object",
  9734. "properties": {
  9735. "Children": {
  9736. "description": "二级功能菜单",
  9737. "type": "array",
  9738. "items": {
  9739. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9740. }
  9741. },
  9742. "Key": {
  9743. "description": "菜单KEY",
  9744. "type": "string"
  9745. },
  9746. "Label": {
  9747. "description": "菜单标题",
  9748. "type": "string"
  9749. }
  9750. }
  9751. },
  9752. "models.OperationSecondaryMenu": {
  9753. "type": "object",
  9754. "properties": {
  9755. "Key": {
  9756. "description": "菜单KEY",
  9757. "type": "string"
  9758. },
  9759. "Label": {
  9760. "description": "菜单标题",
  9761. "type": "string"
  9762. },
  9763. "TabList": {
  9764. "description": "三级功能菜单",
  9765. "type": "array",
  9766. "items": {
  9767. "$ref": "#/definitions/models.OperationTabMenu"
  9768. }
  9769. }
  9770. }
  9771. },
  9772. "models.OperationTabMenu": {
  9773. "type": "object",
  9774. "properties": {
  9775. "Key": {
  9776. "description": "菜单KEY",
  9777. "type": "string"
  9778. },
  9779. "Label": {
  9780. "description": "菜单标题",
  9781. "type": "string"
  9782. }
  9783. }
  9784. },
  9785. "models.QuotePrimaryMenu": {
  9786. "type": "object",
  9787. "properties": {
  9788. "Index": {
  9789. "description": "序号",
  9790. "type": "integer"
  9791. },
  9792. "Key": {
  9793. "description": "键名",
  9794. "type": "string"
  9795. },
  9796. "Name": {
  9797. "description": "菜单名称",
  9798. "type": "string"
  9799. },
  9800. "SubMenus": {
  9801. "description": "子菜单",
  9802. "type": "array",
  9803. "items": {
  9804. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9805. }
  9806. },
  9807. "SubTitleType": {
  9808. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9809. "type": "integer"
  9810. },
  9811. "TradeModes": {
  9812. "description": "包含市场交易类型",
  9813. "type": "string"
  9814. }
  9815. }
  9816. },
  9817. "models.QuoteSecondaryMenu": {
  9818. "type": "object",
  9819. "properties": {
  9820. "ExExchangeCode": {
  9821. "description": "外部交易所代码",
  9822. "type": "string"
  9823. },
  9824. "ExExchangeID": {
  9825. "description": "外部交易所ID",
  9826. "type": "integer"
  9827. },
  9828. "GoodsGroupIDs": {
  9829. "description": "商品组ID列表",
  9830. "type": "array",
  9831. "items": {
  9832. "type": "integer"
  9833. }
  9834. },
  9835. "Index": {
  9836. "description": "序号",
  9837. "type": "integer"
  9838. },
  9839. "MarketID": {
  9840. "description": "市场ID",
  9841. "type": "integer"
  9842. },
  9843. "MenuTitle": {
  9844. "description": "菜单标题(市场名称或外部交易所名称)",
  9845. "type": "string"
  9846. },
  9847. "TradeMode": {
  9848. "description": "交易模式",
  9849. "type": "integer"
  9850. }
  9851. }
  9852. },
  9853. "models.SearchGoods": {
  9854. "type": "object",
  9855. "required": [
  9856. "goodscode",
  9857. "goodsid",
  9858. "goodsname",
  9859. "marketid",
  9860. "trademode"
  9861. ],
  9862. "properties": {
  9863. "goodscode": {
  9864. "description": "商品代码(内部)",
  9865. "type": "string"
  9866. },
  9867. "goodsid": {
  9868. "description": "商品ID(自增ID SEQ_GOODS)",
  9869. "type": "integer"
  9870. },
  9871. "goodsname": {
  9872. "description": "商品名称",
  9873. "type": "string"
  9874. },
  9875. "marketid": {
  9876. "description": "所属市场ID",
  9877. "type": "integer"
  9878. },
  9879. "marketname": {
  9880. "description": "市场名称",
  9881. "type": "string"
  9882. },
  9883. "trademode": {
  9884. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9885. "type": "integer"
  9886. }
  9887. }
  9888. },
  9889. "models.Szdz2imageconfig": {
  9890. "type": "object",
  9891. "required": [
  9892. "configid"
  9893. ],
  9894. "properties": {
  9895. "configid": {
  9896. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9897. "type": "integer"
  9898. },
  9899. "imagepath": {
  9900. "description": "图片",
  9901. "type": "string"
  9902. },
  9903. "imagetype": {
  9904. "description": "类型 - 1:App首页轮播 2:我的",
  9905. "type": "integer"
  9906. },
  9907. "sort": {
  9908. "description": "排序",
  9909. "type": "integer"
  9910. },
  9911. "title": {
  9912. "description": "标题",
  9913. "type": "string"
  9914. },
  9915. "url": {
  9916. "description": "链接",
  9917. "type": "string"
  9918. }
  9919. }
  9920. },
  9921. "models.Szdz3convertconfig": {
  9922. "type": "object",
  9923. "required": [
  9924. "converttype",
  9925. "innergoodsid",
  9926. "outergoodscode"
  9927. ],
  9928. "properties": {
  9929. "canin": {
  9930. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9931. "type": "integer"
  9932. },
  9933. "canout": {
  9934. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9935. "type": "integer"
  9936. },
  9937. "converttype": {
  9938. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9939. "type": "integer"
  9940. },
  9941. "createtime": {
  9942. "description": "创建时间",
  9943. "type": "string"
  9944. },
  9945. "creatorid": {
  9946. "description": "创建人",
  9947. "type": "integer"
  9948. },
  9949. "daymaxvalue": {
  9950. "description": "当日最大转入限制",
  9951. "type": "number"
  9952. },
  9953. "freezedays": {
  9954. "description": "冻结天数 [5:花生米转交易]",
  9955. "type": "integer"
  9956. },
  9957. "innergoodsid": {
  9958. "description": "内部商品ID[交易]",
  9959. "type": "integer"
  9960. },
  9961. "inratio": {
  9962. "description": "目标值",
  9963. "type": "integer"
  9964. },
  9965. "modifierid": {
  9966. "description": "修改人",
  9967. "type": "integer"
  9968. },
  9969. "modifytime": {
  9970. "description": "修改时间",
  9971. "type": "string"
  9972. },
  9973. "outergoodscode": {
  9974. "description": "外部商品代码[JD\\PD]",
  9975. "type": "string"
  9976. },
  9977. "outratio": {
  9978. "description": "源值",
  9979. "type": "integer"
  9980. },
  9981. "pddecimalplace": {
  9982. "description": "PD小数位",
  9983. "type": "integer"
  9984. },
  9985. "timemaxvalue": {
  9986. "description": "单次最大转入限制",
  9987. "type": "number"
  9988. },
  9989. "timeminvalue": {
  9990. "description": "单次最小转入限制",
  9991. "type": "number"
  9992. }
  9993. }
  9994. },
  9995. "models.Szdz3searchwhitelist": {
  9996. "type": "object",
  9997. "required": [
  9998. "userid"
  9999. ],
  10000. "properties": {
  10001. "createtime": {
  10002. "description": "创建时间",
  10003. "type": "string"
  10004. },
  10005. "creatorid": {
  10006. "description": "创建人",
  10007. "type": "integer"
  10008. },
  10009. "modifierid": {
  10010. "description": "修改人",
  10011. "type": "integer"
  10012. },
  10013. "modifytime": {
  10014. "description": "修改时间",
  10015. "type": "string"
  10016. },
  10017. "userid": {
  10018. "description": "用户ID",
  10019. "type": "integer"
  10020. }
  10021. }
  10022. },
  10023. "models.Tablecolumnconfig": {
  10024. "type": "object",
  10025. "required": [
  10026. "autoid"
  10027. ],
  10028. "properties": {
  10029. "aligntype": {
  10030. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  10031. "type": "integer"
  10032. },
  10033. "autoid": {
  10034. "description": "AutoID",
  10035. "type": "integer"
  10036. },
  10037. "columnfield": {
  10038. "description": "列字段",
  10039. "type": "string"
  10040. },
  10041. "columntitle": {
  10042. "description": "列Title",
  10043. "type": "string"
  10044. },
  10045. "columnwidth": {
  10046. "description": "列宽",
  10047. "type": "string"
  10048. },
  10049. "formatterstring": {
  10050. "description": "格式化字符",
  10051. "type": "string"
  10052. },
  10053. "formattertype": {
  10054. "description": "格式化类型",
  10055. "type": "string"
  10056. },
  10057. "groupname": {
  10058. "description": "表头分组名称",
  10059. "type": "string"
  10060. },
  10061. "isshow": {
  10062. "description": "是否显示 - 0:不显示 1:显示",
  10063. "type": "integer"
  10064. },
  10065. "needsummary": {
  10066. "description": "是否需要汇总 - 0:不需要 1:需要",
  10067. "type": "integer"
  10068. },
  10069. "orderindex": {
  10070. "description": "顺序",
  10071. "type": "integer"
  10072. },
  10073. "remark": {
  10074. "description": "备注",
  10075. "type": "string"
  10076. },
  10077. "summarytype": {
  10078. "description": "汇总类型 - 1:加总 2:最后一个",
  10079. "type": "integer"
  10080. },
  10081. "tablekey": {
  10082. "description": "列表Key",
  10083. "type": "string"
  10084. }
  10085. }
  10086. },
  10087. "models.Useraccount": {
  10088. "type": "object",
  10089. "required": [
  10090. "userid"
  10091. ],
  10092. "properties": {
  10093. "accountname": {
  10094. "description": "账户名称(机构名称)",
  10095. "type": "string"
  10096. },
  10097. "accountstatus": {
  10098. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  10099. "type": "integer"
  10100. },
  10101. "auditremark": {
  10102. "description": "审核备注",
  10103. "type": "string"
  10104. },
  10105. "audittime": {
  10106. "description": "审核时间",
  10107. "type": "string"
  10108. },
  10109. "audituserid": {
  10110. "description": "审核人",
  10111. "type": "integer"
  10112. },
  10113. "broker": {
  10114. "description": "所属经纪人ID",
  10115. "type": "integer"
  10116. },
  10117. "canceltime": {
  10118. "description": "销户时间",
  10119. "type": "string"
  10120. },
  10121. "canceluserid": {
  10122. "description": "销户人",
  10123. "type": "integer"
  10124. },
  10125. "createtime": {
  10126. "description": "创建时间",
  10127. "type": "string"
  10128. },
  10129. "creatorid": {
  10130. "description": "创建人",
  10131. "type": "integer"
  10132. },
  10133. "hasauth": {
  10134. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  10135. "type": "integer"
  10136. },
  10137. "isanonymous": {
  10138. "description": "是否匿名下单 - 0:否 1:是",
  10139. "type": "integer"
  10140. },
  10141. "maxinvestornum": {
  10142. "description": "最大用户数(经纪会员下投资者个数)",
  10143. "type": "integer"
  10144. },
  10145. "memberuserid": {
  10146. "description": "所属会员ID",
  10147. "type": "integer"
  10148. },
  10149. "modifierid": {
  10150. "description": "修改人",
  10151. "type": "integer"
  10152. },
  10153. "modifyremark": {
  10154. "description": "变更备注",
  10155. "type": "string"
  10156. },
  10157. "modifystatus": {
  10158. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  10159. "type": "integer"
  10160. },
  10161. "modifytime": {
  10162. "description": "修改时间",
  10163. "type": "string"
  10164. },
  10165. "parentuserid": {
  10166. "description": "所属机构ID",
  10167. "type": "integer"
  10168. },
  10169. "reckonaccountid": {
  10170. "description": "默认结算资金账号ID(机构分润使用) 作废",
  10171. "type": "integer"
  10172. },
  10173. "refercount": {
  10174. "description": "推荐总人数",
  10175. "type": "integer"
  10176. },
  10177. "refereeuserid": {
  10178. "description": "推荐人ID",
  10179. "type": "integer"
  10180. },
  10181. "refernum": {
  10182. "description": "推荐码",
  10183. "type": "string"
  10184. },
  10185. "subarealevelpath": {
  10186. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  10187. "type": "string"
  10188. },
  10189. "userid": {
  10190. "description": "用户ID",
  10191. "type": "integer"
  10192. },
  10193. "usertype": {
  10194. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10195. "type": "integer"
  10196. }
  10197. }
  10198. },
  10199. "models.Userfavoritegoods": {
  10200. "type": "object",
  10201. "required": [
  10202. "goodsid"
  10203. ],
  10204. "properties": {
  10205. "goodsid": {
  10206. "description": "商品ID",
  10207. "type": "integer"
  10208. }
  10209. }
  10210. },
  10211. "models.Userinfo": {
  10212. "type": "object",
  10213. "required": [
  10214. "userid"
  10215. ],
  10216. "properties": {
  10217. "address": {
  10218. "description": "地址",
  10219. "type": "string"
  10220. },
  10221. "attachment1": {
  10222. "description": "附件1",
  10223. "type": "string"
  10224. },
  10225. "attachment2": {
  10226. "description": "附件2",
  10227. "type": "string"
  10228. },
  10229. "bankaccount": {
  10230. "description": "银行帐号 (加密存储)",
  10231. "type": "string"
  10232. },
  10233. "bankaccountname": {
  10234. "description": "收款人名称",
  10235. "type": "string"
  10236. },
  10237. "bankcardfrontphotourl": {
  10238. "description": "银行卡正面照地址",
  10239. "type": "string"
  10240. },
  10241. "bankid": {
  10242. "description": "银行编码",
  10243. "type": "string"
  10244. },
  10245. "bankname": {
  10246. "description": "银行名称",
  10247. "type": "string"
  10248. },
  10249. "biznature": {
  10250. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10251. "type": "integer"
  10252. },
  10253. "bizscope": {
  10254. "description": "企业经营范围(企业)",
  10255. "type": "string"
  10256. },
  10257. "cardbackphotourl": {
  10258. "description": "证件背面图片地址",
  10259. "type": "string"
  10260. },
  10261. "cardfrontphotourl": {
  10262. "description": "证件正面图片地址",
  10263. "type": "string"
  10264. },
  10265. "cardnum": {
  10266. "description": "证件号码(加密存储)",
  10267. "type": "string"
  10268. },
  10269. "cardtypeid": {
  10270. "description": "证件类型ID",
  10271. "type": "integer"
  10272. },
  10273. "cityid": {
  10274. "description": "市",
  10275. "type": "integer"
  10276. },
  10277. "company": {
  10278. "description": "公司(个人)",
  10279. "type": "string"
  10280. },
  10281. "contactname": {
  10282. "description": "联系人",
  10283. "type": "string"
  10284. },
  10285. "countryid": {
  10286. "description": "国家",
  10287. "type": "integer"
  10288. },
  10289. "createtime": {
  10290. "description": "创建时间",
  10291. "type": "string"
  10292. },
  10293. "creatorid": {
  10294. "description": "创建人",
  10295. "type": "integer"
  10296. },
  10297. "customername": {
  10298. "description": "客户名称(企业名称)",
  10299. "type": "string"
  10300. },
  10301. "districtid": {
  10302. "description": "地区",
  10303. "type": "integer"
  10304. },
  10305. "email": {
  10306. "description": "邮件(加密存储)",
  10307. "type": "string"
  10308. },
  10309. "fax": {
  10310. "description": "传真(加密存储)",
  10311. "type": "string"
  10312. },
  10313. "halfbodyphotourl": {
  10314. "description": "半身照地址",
  10315. "type": "string"
  10316. },
  10317. "hasencrypt": {
  10318. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10319. "type": "integer"
  10320. },
  10321. "headurl": {
  10322. "description": "头像地址",
  10323. "type": "string"
  10324. },
  10325. "legalcardbackphotourl": {
  10326. "description": "法人身份证背面照地址",
  10327. "type": "string"
  10328. },
  10329. "legalcardfrontphotourl": {
  10330. "description": "法人身份证正面照地址",
  10331. "type": "string"
  10332. },
  10333. "legalpersonname": {
  10334. "description": "法人姓名(企业)",
  10335. "type": "string"
  10336. },
  10337. "mobile": {
  10338. "description": "手机号码(加密存储)",
  10339. "type": "string"
  10340. },
  10341. "mobile2": {
  10342. "description": "手机号码[明文-尚志]",
  10343. "type": "string"
  10344. },
  10345. "modifierid": {
  10346. "description": "修改人",
  10347. "type": "integer"
  10348. },
  10349. "modifiertime": {
  10350. "description": "修改时间",
  10351. "type": "string"
  10352. },
  10353. "needinvoice": {
  10354. "description": "是否需要发票 - 0:不需要 1:需要",
  10355. "type": "integer"
  10356. },
  10357. "nickname": {
  10358. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10359. "type": "string"
  10360. },
  10361. "openmode": {
  10362. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10363. "type": "integer"
  10364. },
  10365. "otherurl": {
  10366. "description": "其它图片地址[使用分号分隔]",
  10367. "type": "string"
  10368. },
  10369. "postalcode": {
  10370. "description": "邮政编码",
  10371. "type": "string"
  10372. },
  10373. "provinceid": {
  10374. "description": "省",
  10375. "type": "integer"
  10376. },
  10377. "qq": {
  10378. "description": "QQ(加密存储",
  10379. "type": "string"
  10380. },
  10381. "remark": {
  10382. "description": "备注",
  10383. "type": "string"
  10384. },
  10385. "sex": {
  10386. "description": "用户性别 0: 女 1: 男",
  10387. "type": "integer"
  10388. },
  10389. "signpdfurl": {
  10390. "description": "签约pdf文件",
  10391. "type": "string"
  10392. },
  10393. "telphone": {
  10394. "description": "联系电话(加密存储)",
  10395. "type": "string"
  10396. },
  10397. "userid": {
  10398. "description": "用户ID",
  10399. "type": "integer"
  10400. },
  10401. "userinfotype": {
  10402. "description": "用户信息类型 - 1:个人 2:企业",
  10403. "type": "integer"
  10404. },
  10405. "userstatus": {
  10406. "description": "用户状态 - 1:正常 2:注销",
  10407. "type": "integer"
  10408. },
  10409. "usertype": {
  10410. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10411. "type": "integer"
  10412. },
  10413. "wechat": {
  10414. "description": "微信(加密存储)",
  10415. "type": "string"
  10416. },
  10417. "wskhinfo": {
  10418. "description": "开户申请信息(JSON)",
  10419. "type": "string"
  10420. }
  10421. }
  10422. },
  10423. "models.WRCategoryTree": {
  10424. "type": "object",
  10425. "required": [
  10426. "categoryid"
  10427. ],
  10428. "properties": {
  10429. "areauserid": {
  10430. "description": "所属机构",
  10431. "type": "integer"
  10432. },
  10433. "categorydesc": {
  10434. "description": "类别描述",
  10435. "type": "string"
  10436. },
  10437. "categoryid": {
  10438. "description": "类别ID(SEQ_WRCATEGORY)",
  10439. "type": "integer"
  10440. },
  10441. "categoryname": {
  10442. "description": "类别名称",
  10443. "type": "string"
  10444. },
  10445. "iconurl": {
  10446. "description": "图标地址",
  10447. "type": "string"
  10448. },
  10449. "orderindex": {
  10450. "description": "顺序",
  10451. "type": "integer"
  10452. },
  10453. "parentcategoryid": {
  10454. "description": "父类别ID",
  10455. "type": "integer"
  10456. },
  10457. "subcategory": {
  10458. "description": "子分类",
  10459. "type": "array",
  10460. "items": {
  10461. "$ref": "#/definitions/models.WRCategoryTree"
  10462. }
  10463. }
  10464. }
  10465. },
  10466. "models.WRStandardInfo": {
  10467. "type": "object",
  10468. "required": [
  10469. "wrstandardid"
  10470. ],
  10471. "properties": {
  10472. "createtime": {
  10473. "description": "创建时间",
  10474. "type": "string"
  10475. },
  10476. "creatorid": {
  10477. "description": "创建人",
  10478. "type": "integer"
  10479. },
  10480. "deliverygoodsid": {
  10481. "description": "品种ID",
  10482. "type": "integer"
  10483. },
  10484. "deliverygoodsname": {
  10485. "description": "交割商品名称",
  10486. "type": "string"
  10487. },
  10488. "factoryitemjson": {
  10489. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10490. "type": "string"
  10491. },
  10492. "isvalid": {
  10493. "description": "是否有效 - 0:无效 1:有效",
  10494. "type": "integer"
  10495. },
  10496. "minivalue": {
  10497. "description": "最小变动值",
  10498. "type": "integer"
  10499. },
  10500. "minivaluedp": {
  10501. "description": "最小变动值小数位",
  10502. "type": "integer"
  10503. },
  10504. "realminivalue": {
  10505. "description": "实际最小变动值",
  10506. "type": "integer"
  10507. },
  10508. "realminivaluedp": {
  10509. "description": "实际最小变动值小数位",
  10510. "type": "integer"
  10511. },
  10512. "unitid": {
  10513. "description": "单位ID",
  10514. "type": "integer"
  10515. },
  10516. "unitname": {
  10517. "description": "单位",
  10518. "type": "string"
  10519. },
  10520. "updatetime": {
  10521. "description": "更新时间",
  10522. "type": "string"
  10523. },
  10524. "updatorid": {
  10525. "description": "更新人",
  10526. "type": "integer"
  10527. },
  10528. "wrsstatus": {
  10529. "description": "状态 - 作废 - 0:未激活 1:正常",
  10530. "type": "integer"
  10531. },
  10532. "wrstandardcode": {
  10533. "description": "仓单标准代码",
  10534. "type": "string"
  10535. },
  10536. "wrstandardid": {
  10537. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10538. "type": "integer"
  10539. },
  10540. "wrstandardname": {
  10541. "description": "仓单标准名称",
  10542. "type": "string"
  10543. }
  10544. }
  10545. },
  10546. "models.Warehouseinfo": {
  10547. "type": "object",
  10548. "required": [
  10549. "autoid",
  10550. "warehousecode"
  10551. ],
  10552. "properties": {
  10553. "address": {
  10554. "description": "详细地址",
  10555. "type": "string"
  10556. },
  10557. "areauserid": {
  10558. "description": "所属机构",
  10559. "type": "integer"
  10560. },
  10561. "autoid": {
  10562. "description": "自增ID",
  10563. "type": "integer"
  10564. },
  10565. "cityid": {
  10566. "description": "市",
  10567. "type": "integer"
  10568. },
  10569. "contactname": {
  10570. "description": "联系人",
  10571. "type": "string"
  10572. },
  10573. "contactnum": {
  10574. "description": "联系电话",
  10575. "type": "string"
  10576. },
  10577. "countryid": {
  10578. "description": "国家",
  10579. "type": "integer"
  10580. },
  10581. "createtime": {
  10582. "description": "创建时间",
  10583. "type": "string"
  10584. },
  10585. "districtid": {
  10586. "description": "区",
  10587. "type": "integer"
  10588. },
  10589. "hasvideo": {
  10590. "description": "是否有视频 - 0:无 1:有",
  10591. "type": "integer"
  10592. },
  10593. "provinceid": {
  10594. "description": "省",
  10595. "type": "integer"
  10596. },
  10597. "remark": {
  10598. "description": "审核备注",
  10599. "type": "string"
  10600. },
  10601. "videourl": {
  10602. "description": "视频地址",
  10603. "type": "string"
  10604. },
  10605. "warehousecode": {
  10606. "description": "仓库代码",
  10607. "type": "string"
  10608. },
  10609. "warehousename": {
  10610. "description": "仓库名称",
  10611. "type": "string"
  10612. },
  10613. "warehousestatus": {
  10614. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10615. "type": "integer"
  10616. },
  10617. "warehousetype": {
  10618. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10619. "type": "integer"
  10620. }
  10621. }
  10622. },
  10623. "order.QueryHisTradeDetailRsp": {
  10624. "type": "object",
  10625. "required": [
  10626. "accountid",
  10627. "buyorsell",
  10628. "goodsid",
  10629. "histradedate",
  10630. "marketid",
  10631. "memberuserid",
  10632. "orderid",
  10633. "tradeamount",
  10634. "tradedate",
  10635. "tradeid",
  10636. "tradeprice",
  10637. "tradeqty",
  10638. "tradetime"
  10639. ],
  10640. "properties": {
  10641. "accountid": {
  10642. "description": "账户ID[报价币种]",
  10643. "type": "integer"
  10644. },
  10645. "buildtype": {
  10646. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10647. "type": "integer"
  10648. },
  10649. "buyorsell": {
  10650. "description": "方向 - 0:买 1:卖",
  10651. "type": "integer"
  10652. },
  10653. "charge": {
  10654. "description": "手续费",
  10655. "type": "number"
  10656. },
  10657. "closecharge": {
  10658. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10659. "type": "number"
  10660. },
  10661. "closeexchagechargevalue": {
  10662. "description": "平仓交易所手续费设置值",
  10663. "type": "number"
  10664. },
  10665. "closefeealgorithm": {
  10666. "description": "平仓手续费收取方式 1:比率 2:固定",
  10667. "type": "integer"
  10668. },
  10669. "closememberchargevalue": {
  10670. "description": "平仓会员手续费设置值",
  10671. "type": "number"
  10672. },
  10673. "closepl": {
  10674. "description": "平仓盈亏",
  10675. "type": "number"
  10676. },
  10677. "closepl2": {
  10678. "description": "平仓盈亏[逐笔]",
  10679. "type": "number"
  10680. },
  10681. "closeqty": {
  10682. "description": "平仓数量(先建后平操作 需要记录)",
  10683. "type": "integer"
  10684. },
  10685. "creditamount": {
  10686. "description": "授信金额",
  10687. "type": "number"
  10688. },
  10689. "gcaccountid": {
  10690. "description": "账户ID[合约币种]",
  10691. "type": "integer"
  10692. },
  10693. "goodscode": {
  10694. "description": "商品代码",
  10695. "type": "string"
  10696. },
  10697. "goodsid": {
  10698. "description": "商品ID",
  10699. "type": "integer"
  10700. },
  10701. "goodsname": {
  10702. "description": "商品名称",
  10703. "type": "string"
  10704. },
  10705. "histradedate": {
  10706. "description": "历史交易日",
  10707. "type": "string"
  10708. },
  10709. "intclosepl": {
  10710. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10711. "type": "integer"
  10712. },
  10713. "isconfirmexercise": {
  10714. "description": "是否确认行权- 0:否 1:是",
  10715. "type": "integer"
  10716. },
  10717. "ismain": {
  10718. "description": "是否主单 - 0:不是 1:是",
  10719. "type": "integer"
  10720. },
  10721. "ispreexercise": {
  10722. "description": "是否预申报- 0:否 1:是",
  10723. "type": "integer"
  10724. },
  10725. "isreckoned": {
  10726. "description": "是否结算 - 0:未结算 1:已结算",
  10727. "type": "integer"
  10728. },
  10729. "isvaliddata": {
  10730. "description": "是否有效 - 0:无效 1:有效",
  10731. "type": "integer"
  10732. },
  10733. "listingselecttype": {
  10734. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10735. "type": "integer"
  10736. },
  10737. "marketid": {
  10738. "description": "市场ID",
  10739. "type": "integer"
  10740. },
  10741. "marketname": {
  10742. "description": "市场名称",
  10743. "type": "string"
  10744. },
  10745. "matchaccountid": {
  10746. "description": "对手账号id",
  10747. "type": "integer"
  10748. },
  10749. "memberuserid": {
  10750. "description": "会员id 个人投资者 需要填写",
  10751. "type": "integer"
  10752. },
  10753. "opencharge": {
  10754. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10755. "type": "number"
  10756. },
  10757. "openexchagechargevalue": {
  10758. "description": "建仓交易所手续费设置值",
  10759. "type": "number"
  10760. },
  10761. "openfeealgorithm": {
  10762. "description": "建仓手续费收取方式 1:比率 2:固定",
  10763. "type": "integer"
  10764. },
  10765. "openmemberchargevalue": {
  10766. "description": "建仓会员手续费设置值",
  10767. "type": "number"
  10768. },
  10769. "openqty": {
  10770. "description": "开仓数量(先建后平操作 需要记录)",
  10771. "type": "integer"
  10772. },
  10773. "optiontype": {
  10774. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10775. "type": "integer"
  10776. },
  10777. "orderid": {
  10778. "description": "委托单号",
  10779. "type": "string"
  10780. },
  10781. "performanceplanid": {
  10782. "description": "履约计划ID[期权]",
  10783. "type": "integer"
  10784. },
  10785. "performancestatus": {
  10786. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10787. "type": "integer"
  10788. },
  10789. "preexerciseprice": {
  10790. "description": "预申报价格",
  10791. "type": "number"
  10792. },
  10793. "premium": {
  10794. "description": "权利金 - [持仓单的权利金]",
  10795. "type": "number"
  10796. },
  10797. "relatedouttradeid": {
  10798. "description": "关联外部成交单ID",
  10799. "type": "integer"
  10800. },
  10801. "status": {
  10802. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10803. "type": "integer"
  10804. },
  10805. "tradeamount": {
  10806. "description": "成交金额[账户币种,用于所有权]",
  10807. "type": "number"
  10808. },
  10809. "tradedate": {
  10810. "description": "交易日(yyyyMMdd)",
  10811. "type": "string"
  10812. },
  10813. "tradeid": {
  10814. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10815. "type": "string"
  10816. },
  10817. "trademode": {
  10818. "description": "交易模式",
  10819. "type": "integer"
  10820. },
  10821. "tradeprice": {
  10822. "description": "成交价格",
  10823. "type": "number"
  10824. },
  10825. "tradeproperty": {
  10826. "description": "交易属性",
  10827. "type": "integer"
  10828. },
  10829. "tradeqty": {
  10830. "description": "成交数量",
  10831. "type": "integer"
  10832. },
  10833. "tradetime": {
  10834. "description": "成交时间",
  10835. "type": "string"
  10836. },
  10837. "tradetype": {
  10838. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10839. "type": "integer"
  10840. }
  10841. }
  10842. },
  10843. "order.QueryHisTradeOrderDetailRsp": {
  10844. "type": "object",
  10845. "required": [
  10846. "accountid",
  10847. "buildtype",
  10848. "buyorsell",
  10849. "goodsid",
  10850. "histradedate",
  10851. "marketid",
  10852. "memberuserid",
  10853. "operatetype",
  10854. "orderid",
  10855. "orderqty",
  10856. "ordertime",
  10857. "pricemode",
  10858. "tradedate",
  10859. "validtype"
  10860. ],
  10861. "properties": {
  10862. "accountid": {
  10863. "description": "账户ID[报价币种]",
  10864. "type": "integer"
  10865. },
  10866. "buildtype": {
  10867. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10868. "type": "integer"
  10869. },
  10870. "buyorsell": {
  10871. "description": "买卖 - 0:买 1:卖",
  10872. "type": "integer"
  10873. },
  10874. "cancelorderid": {
  10875. "description": "撤单单号(撤单时填写)",
  10876. "type": "string"
  10877. },
  10878. "cancelqty": {
  10879. "description": "撤单数量",
  10880. "type": "integer"
  10881. },
  10882. "clientordertime": {
  10883. "description": "客户端委托时间",
  10884. "type": "string"
  10885. },
  10886. "clientticket": {
  10887. "description": "客户端流水号",
  10888. "type": "string"
  10889. },
  10890. "clienttype": {
  10891. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10892. "type": "integer"
  10893. },
  10894. "closeexchagechargevalue": {
  10895. "description": "平仓交易所手续费设置值",
  10896. "type": "number"
  10897. },
  10898. "closefeealgorithm": {
  10899. "description": "平仓手续费收取方式 1:比率 2:固定",
  10900. "type": "integer"
  10901. },
  10902. "closefreezecharge": {
  10903. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10904. "type": "number"
  10905. },
  10906. "closememberchargevalue": {
  10907. "description": "平仓会员手续费设置值",
  10908. "type": "number"
  10909. },
  10910. "closeqty": {
  10911. "description": "平仓数量(先建后平操作 需要记录)",
  10912. "type": "integer"
  10913. },
  10914. "closetradeqty": {
  10915. "description": "平仓成交数量(先建后平操作,需要记录)",
  10916. "type": "integer"
  10917. },
  10918. "closeunfreezecharge": {
  10919. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10920. "type": "number"
  10921. },
  10922. "delistingtype": {
  10923. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10924. "type": "integer"
  10925. },
  10926. "freezecharge": {
  10927. "description": "冻结手续费",
  10928. "type": "number"
  10929. },
  10930. "freezemargin": {
  10931. "description": "冻结保证金(冻结交易金额)",
  10932. "type": "number"
  10933. },
  10934. "gcaccountid": {
  10935. "description": "账户ID[合约币种]",
  10936. "type": "integer"
  10937. },
  10938. "goodscode": {
  10939. "description": "商品代码",
  10940. "type": "string"
  10941. },
  10942. "goodsid": {
  10943. "description": "商品ID",
  10944. "type": "integer"
  10945. },
  10946. "goodsname": {
  10947. "description": "商品名称",
  10948. "type": "string"
  10949. },
  10950. "histradedate": {
  10951. "description": "历史交易日",
  10952. "type": "string"
  10953. },
  10954. "isconfirmexercise": {
  10955. "description": "是否确认行权- 0:否 1:是",
  10956. "type": "integer"
  10957. },
  10958. "ispreexercise": {
  10959. "description": "是否预申报- 0:否 1:是",
  10960. "type": "integer"
  10961. },
  10962. "isvaliddata": {
  10963. "description": "是否有效 - 0:无效 1:有效",
  10964. "type": "integer"
  10965. },
  10966. "listingselecttype": {
  10967. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10968. "type": "integer"
  10969. },
  10970. "marginalgorithm": {
  10971. "description": "保证金收取方式 1:比率 2:固定",
  10972. "type": "integer"
  10973. },
  10974. "marginvalue": {
  10975. "description": "即市保证金设置值",
  10976. "type": "number"
  10977. },
  10978. "marketid": {
  10979. "description": "市场ID",
  10980. "type": "integer"
  10981. },
  10982. "marketmaxsub": {
  10983. "description": "市价最大偏移范围",
  10984. "type": "number"
  10985. },
  10986. "marketname": {
  10987. "description": "市场名称",
  10988. "type": "string"
  10989. },
  10990. "memberuserid": {
  10991. "description": "所属会员UserID",
  10992. "type": "integer"
  10993. },
  10994. "openexchagechargevalue": {
  10995. "description": "建仓交易所手续费设置值",
  10996. "type": "number"
  10997. },
  10998. "openfeealgorithm": {
  10999. "description": "建仓手续费收取方式 1:比率 2:固定",
  11000. "type": "integer"
  11001. },
  11002. "openfreezecharge": {
  11003. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11004. "type": "number"
  11005. },
  11006. "openmemberchargevalue": {
  11007. "description": "建仓会员手续费设置值",
  11008. "type": "number"
  11009. },
  11010. "openqty": {
  11011. "description": "开仓数量(先建后平操作,需要记录)",
  11012. "type": "integer"
  11013. },
  11014. "opentradeqty": {
  11015. "description": "开仓成交数量(先建后平操作,需要记录)",
  11016. "type": "integer"
  11017. },
  11018. "openunfreezecharge": {
  11019. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11020. "type": "number"
  11021. },
  11022. "operatetype": {
  11023. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11024. "type": "integer"
  11025. },
  11026. "operatorid": {
  11027. "description": "登录账号(LoginID)",
  11028. "type": "integer"
  11029. },
  11030. "optiontype": {
  11031. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11032. "type": "integer"
  11033. },
  11034. "orderid": {
  11035. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11036. "type": "string"
  11037. },
  11038. "orderprice": {
  11039. "description": "委托价格",
  11040. "type": "number"
  11041. },
  11042. "orderqty": {
  11043. "description": "委托数量",
  11044. "type": "integer"
  11045. },
  11046. "ordersrc": {
  11047. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11048. "type": "integer"
  11049. },
  11050. "orderstatus": {
  11051. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11052. "type": "integer"
  11053. },
  11054. "ordertime": {
  11055. "description": "委托时间",
  11056. "type": "string"
  11057. },
  11058. "preexerciseprice": {
  11059. "description": "预申报价格",
  11060. "type": "number"
  11061. },
  11062. "premium": {
  11063. "description": "权利金",
  11064. "type": "number"
  11065. },
  11066. "preorderid": {
  11067. "description": "关联预埋单号(止盈止损单时填写)",
  11068. "type": "string"
  11069. },
  11070. "pricemode": {
  11071. "description": "取价方式 - 1:市价 2: 限价",
  11072. "type": "integer"
  11073. },
  11074. "quoteid": {
  11075. "description": "报价单ID",
  11076. "type": "integer"
  11077. },
  11078. "relatedid": {
  11079. "description": "关联单号(交割单)",
  11080. "type": "string"
  11081. },
  11082. "retcode": {
  11083. "description": "错误代码",
  11084. "type": "integer"
  11085. },
  11086. "sessionid": {
  11087. "description": "会话ID",
  11088. "type": "integer"
  11089. },
  11090. "tradedate": {
  11091. "description": "交易日(yyyyMMdd)",
  11092. "type": "string"
  11093. },
  11094. "trademode": {
  11095. "description": "交易模式",
  11096. "type": "integer"
  11097. },
  11098. "tradeproperty": {
  11099. "description": "交易属性",
  11100. "type": "integer"
  11101. },
  11102. "tradeqty": {
  11103. "description": "成交数量",
  11104. "type": "integer"
  11105. },
  11106. "unfreezecharge": {
  11107. "description": "解冻手续费",
  11108. "type": "number"
  11109. },
  11110. "unfreezemargin": {
  11111. "description": "解冻保证金",
  11112. "type": "number"
  11113. },
  11114. "updatetime": {
  11115. "description": "更新时间",
  11116. "type": "string"
  11117. },
  11118. "uuid": {
  11119. "description": "发起端唯一id",
  11120. "type": "string"
  11121. },
  11122. "validtime": {
  11123. "description": "有效期限",
  11124. "type": "string"
  11125. },
  11126. "validtype": {
  11127. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11128. "type": "integer"
  11129. },
  11130. "volumetype": {
  11131. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11132. "type": "integer"
  11133. }
  11134. }
  11135. },
  11136. "order.QueryTradeDetailRsp": {
  11137. "type": "object",
  11138. "required": [
  11139. "accountid",
  11140. "buyorsell",
  11141. "goodsid",
  11142. "marketid",
  11143. "memberuserid",
  11144. "orderid",
  11145. "tradeamount",
  11146. "tradedate",
  11147. "tradeid",
  11148. "tradeprice",
  11149. "tradeqty",
  11150. "tradetime"
  11151. ],
  11152. "properties": {
  11153. "accountid": {
  11154. "description": "账户ID[报价币种]",
  11155. "type": "integer"
  11156. },
  11157. "buildtype": {
  11158. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  11159. "type": "integer"
  11160. },
  11161. "buyorsell": {
  11162. "description": "方向 - 0:买 1:卖",
  11163. "type": "integer"
  11164. },
  11165. "charge": {
  11166. "description": "手续费",
  11167. "type": "number"
  11168. },
  11169. "closecharge": {
  11170. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11171. "type": "number"
  11172. },
  11173. "closeexchagechargevalue": {
  11174. "description": "平仓交易所手续费设置值",
  11175. "type": "number"
  11176. },
  11177. "closefeealgorithm": {
  11178. "description": "平仓手续费收取方式 1:比率 2:固定",
  11179. "type": "integer"
  11180. },
  11181. "closememberchargevalue": {
  11182. "description": "平仓会员手续费设置值",
  11183. "type": "number"
  11184. },
  11185. "closepl": {
  11186. "description": "平仓盈亏",
  11187. "type": "number"
  11188. },
  11189. "closepl2": {
  11190. "description": "平仓盈亏[逐笔]",
  11191. "type": "number"
  11192. },
  11193. "closeqty": {
  11194. "description": "平仓数量(先建后平操作 需要记录)",
  11195. "type": "integer"
  11196. },
  11197. "creditamount": {
  11198. "description": "授信金额",
  11199. "type": "number"
  11200. },
  11201. "gcaccountid": {
  11202. "description": "账户ID[合约币种]",
  11203. "type": "integer"
  11204. },
  11205. "goodscode": {
  11206. "description": "商品代码",
  11207. "type": "string"
  11208. },
  11209. "goodsid": {
  11210. "description": "商品ID",
  11211. "type": "integer"
  11212. },
  11213. "goodsname": {
  11214. "description": "商品名称",
  11215. "type": "string"
  11216. },
  11217. "intclosepl": {
  11218. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  11219. "type": "integer"
  11220. },
  11221. "isconfirmexercise": {
  11222. "description": "是否确认行权- 0:否 1:是",
  11223. "type": "integer"
  11224. },
  11225. "ismain": {
  11226. "description": "是否主单 - 0:不是 1:是",
  11227. "type": "integer"
  11228. },
  11229. "ispreexercise": {
  11230. "description": "是否预申报- 0:否 1:是",
  11231. "type": "integer"
  11232. },
  11233. "isreckoned": {
  11234. "description": "是否结算 - 0:未结算 1:已结算",
  11235. "type": "integer"
  11236. },
  11237. "listingselecttype": {
  11238. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11239. "type": "integer"
  11240. },
  11241. "marketid": {
  11242. "description": "市场ID",
  11243. "type": "integer"
  11244. },
  11245. "marketname": {
  11246. "description": "市场名称",
  11247. "type": "string"
  11248. },
  11249. "matchaccountid": {
  11250. "description": "对手账号id",
  11251. "type": "integer"
  11252. },
  11253. "memberuserid": {
  11254. "description": "会员id 个人投资者 需要填写",
  11255. "type": "integer"
  11256. },
  11257. "opencharge": {
  11258. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  11259. "type": "number"
  11260. },
  11261. "openexchagechargevalue": {
  11262. "description": "建仓交易所手续费设置值",
  11263. "type": "number"
  11264. },
  11265. "openfeealgorithm": {
  11266. "description": "建仓手续费收取方式 1:比率 2:固定",
  11267. "type": "integer"
  11268. },
  11269. "openmemberchargevalue": {
  11270. "description": "建仓会员手续费设置值",
  11271. "type": "number"
  11272. },
  11273. "openqty": {
  11274. "description": "开仓数量(先建后平操作 需要记录)",
  11275. "type": "integer"
  11276. },
  11277. "optiontype": {
  11278. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  11279. "type": "integer"
  11280. },
  11281. "orderid": {
  11282. "description": "委托单号",
  11283. "type": "string"
  11284. },
  11285. "performanceplanid": {
  11286. "description": "履约计划ID[期权]",
  11287. "type": "integer"
  11288. },
  11289. "performancestatus": {
  11290. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  11291. "type": "integer"
  11292. },
  11293. "preexerciseprice": {
  11294. "description": "预申报价格",
  11295. "type": "number"
  11296. },
  11297. "premium": {
  11298. "description": "权利金 - [持仓单的权利金]",
  11299. "type": "number"
  11300. },
  11301. "relatedouttradeid": {
  11302. "description": "关联外部成交单ID",
  11303. "type": "integer"
  11304. },
  11305. "status": {
  11306. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11307. "type": "integer"
  11308. },
  11309. "tradeamount": {
  11310. "description": "成交金额[账户币种,用于所有权]",
  11311. "type": "number"
  11312. },
  11313. "tradedate": {
  11314. "description": "交易日(yyyyMMdd)",
  11315. "type": "string"
  11316. },
  11317. "tradeid": {
  11318. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11319. "type": "string"
  11320. },
  11321. "trademode": {
  11322. "description": "交易模式",
  11323. "type": "integer"
  11324. },
  11325. "tradeprice": {
  11326. "description": "成交价格",
  11327. "type": "number"
  11328. },
  11329. "tradeproperty": {
  11330. "description": "交易属性",
  11331. "type": "integer"
  11332. },
  11333. "tradeqty": {
  11334. "description": "成交数量",
  11335. "type": "integer"
  11336. },
  11337. "tradetime": {
  11338. "description": "成交时间",
  11339. "type": "string"
  11340. },
  11341. "tradetype": {
  11342. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11343. "type": "integer"
  11344. }
  11345. }
  11346. },
  11347. "order.QueryTradeOrderDetailRsp": {
  11348. "type": "object",
  11349. "required": [
  11350. "accountid",
  11351. "buildtype",
  11352. "buyorsell",
  11353. "goodsid",
  11354. "marketid",
  11355. "operatetype",
  11356. "orderqty",
  11357. "ordertime",
  11358. "pricemode",
  11359. "tradedate",
  11360. "validtype"
  11361. ],
  11362. "properties": {
  11363. "accountid": {
  11364. "description": "账户ID[报价币种]",
  11365. "type": "integer"
  11366. },
  11367. "buildtype": {
  11368. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11369. "type": "integer"
  11370. },
  11371. "buyorsell": {
  11372. "description": "买卖 - 0:买 1:卖",
  11373. "type": "integer"
  11374. },
  11375. "cancelorderid": {
  11376. "description": "撤单单号(撤单时填写)",
  11377. "type": "string"
  11378. },
  11379. "cancelqty": {
  11380. "description": "撤单数量",
  11381. "type": "integer"
  11382. },
  11383. "clienttype": {
  11384. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11385. "type": "integer"
  11386. },
  11387. "closefreezecharge": {
  11388. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11389. "type": "number"
  11390. },
  11391. "closeqty": {
  11392. "description": "平仓数量(先建后平操作 需要记录)",
  11393. "type": "integer"
  11394. },
  11395. "closetradeqty": {
  11396. "description": "平仓成交数量(先建后平操作,需要记录)",
  11397. "type": "integer"
  11398. },
  11399. "closeunfreezecharge": {
  11400. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11401. "type": "number"
  11402. },
  11403. "delistingtype": {
  11404. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11405. "type": "integer"
  11406. },
  11407. "enableqty": {
  11408. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11409. "type": "integer"
  11410. },
  11411. "freezecharge": {
  11412. "description": "冻结手续费",
  11413. "type": "number"
  11414. },
  11415. "freezemargin": {
  11416. "description": "冻结保证金(冻结交易金额)",
  11417. "type": "number"
  11418. },
  11419. "goodscode": {
  11420. "description": "商品代码",
  11421. "type": "string"
  11422. },
  11423. "goodsid": {
  11424. "description": "商品ID",
  11425. "type": "integer"
  11426. },
  11427. "goodsname": {
  11428. "description": "商品名称",
  11429. "type": "string"
  11430. },
  11431. "listingselecttype": {
  11432. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11433. "type": "integer"
  11434. },
  11435. "marketid": {
  11436. "description": "市场ID",
  11437. "type": "integer"
  11438. },
  11439. "marketname": {
  11440. "description": "市场名称",
  11441. "type": "string"
  11442. },
  11443. "openfreezecharge": {
  11444. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11445. "type": "number"
  11446. },
  11447. "openqty": {
  11448. "description": "开仓数量(先建后平操作,需要记录)",
  11449. "type": "integer"
  11450. },
  11451. "opentradeqty": {
  11452. "description": "开仓成交数量(先建后平操作,需要记录)",
  11453. "type": "integer"
  11454. },
  11455. "openunfreezecharge": {
  11456. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11457. "type": "number"
  11458. },
  11459. "operatetype": {
  11460. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11461. "type": "integer"
  11462. },
  11463. "operatorid": {
  11464. "description": "登录账号(LoginID)",
  11465. "type": "integer"
  11466. },
  11467. "orderid": {
  11468. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11469. "type": "string"
  11470. },
  11471. "orderprice": {
  11472. "description": "委托价格",
  11473. "type": "number"
  11474. },
  11475. "orderqty": {
  11476. "description": "委托数量",
  11477. "type": "integer"
  11478. },
  11479. "ordersrc": {
  11480. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11481. "type": "integer"
  11482. },
  11483. "orderstatus": {
  11484. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11485. "type": "integer"
  11486. },
  11487. "ordertime": {
  11488. "description": "委托时间",
  11489. "type": "string"
  11490. },
  11491. "preorderid": {
  11492. "description": "关联预埋单号(止盈止损单时填写)",
  11493. "type": "string"
  11494. },
  11495. "pricemode": {
  11496. "description": "取价方式 - 1:市价 2: 限价",
  11497. "type": "integer"
  11498. },
  11499. "relatedid": {
  11500. "description": "关联单号(交割单)",
  11501. "type": "string"
  11502. },
  11503. "tradedate": {
  11504. "description": "交易日(yyyyMMdd)",
  11505. "type": "string"
  11506. },
  11507. "trademode": {
  11508. "description": "交易模式",
  11509. "type": "integer"
  11510. },
  11511. "tradeqty": {
  11512. "description": "成交数量",
  11513. "type": "integer"
  11514. },
  11515. "unfreezecharge": {
  11516. "description": "解冻手续费",
  11517. "type": "number"
  11518. },
  11519. "unfreezemargin": {
  11520. "description": "解冻保证金",
  11521. "type": "number"
  11522. },
  11523. "validtime": {
  11524. "description": "有效期限",
  11525. "type": "string"
  11526. },
  11527. "validtype": {
  11528. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11529. "type": "integer"
  11530. },
  11531. "volumetype": {
  11532. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11533. "type": "integer"
  11534. }
  11535. }
  11536. },
  11537. "order.QueryTradePositionRsp": {
  11538. "type": "object",
  11539. "required": [
  11540. "goodsid"
  11541. ],
  11542. "properties": {
  11543. "accountid": {
  11544. "description": "资金账户",
  11545. "type": "integer"
  11546. },
  11547. "agreeunit": {
  11548. "description": "合约单位",
  11549. "type": "number"
  11550. },
  11551. "averageprice": {
  11552. "description": "持仓均价",
  11553. "type": "number"
  11554. },
  11555. "buyorsell": {
  11556. "description": "方向 - 0:买 1:卖",
  11557. "type": "integer"
  11558. },
  11559. "closetotalqty": {
  11560. "description": "平仓总数量",
  11561. "type": "integer"
  11562. },
  11563. "curholderamount": {
  11564. "description": "当前持仓总金额[商品币种]",
  11565. "type": "number"
  11566. },
  11567. "curpositionqty": {
  11568. "description": "当前持仓总数量",
  11569. "type": "integer"
  11570. },
  11571. "currencyid": {
  11572. "description": "报价货币ID",
  11573. "type": "integer"
  11574. },
  11575. "curtdposition": {
  11576. "description": "期末今日头寸",
  11577. "type": "integer"
  11578. },
  11579. "decimalplace": {
  11580. "description": "报价小数位",
  11581. "type": "integer"
  11582. },
  11583. "enableqty": {
  11584. "description": "可用量",
  11585. "type": "integer"
  11586. },
  11587. "fretdposition": {
  11588. "description": "冻结今日头寸",
  11589. "type": "integer"
  11590. },
  11591. "frozenqty": {
  11592. "description": "持仓冻结数量",
  11593. "type": "integer"
  11594. },
  11595. "goodscode": {
  11596. "description": "商品代码",
  11597. "type": "string"
  11598. },
  11599. "goodsid": {
  11600. "description": "商品Id",
  11601. "type": "integer"
  11602. },
  11603. "goodsname": {
  11604. "description": "商品名称",
  11605. "type": "string"
  11606. },
  11607. "goodunit": {
  11608. "description": "报价单位",
  11609. "type": "string"
  11610. },
  11611. "goodunitid": {
  11612. "description": "报价单位ID",
  11613. "type": "integer"
  11614. },
  11615. "holderamount": {
  11616. "description": "期初持仓总金额[商品币种]",
  11617. "type": "number"
  11618. },
  11619. "marketid": {
  11620. "description": "所属市场ID",
  11621. "type": "integer"
  11622. },
  11623. "openreqqty": {
  11624. "description": "开仓申请数量(用于比较最大持仓数量)",
  11625. "type": "integer"
  11626. },
  11627. "opentotalqty": {
  11628. "description": "开仓总数量",
  11629. "type": "integer"
  11630. },
  11631. "otherfrozenqty": {
  11632. "description": "持仓其他冻结数量(交割冻结)",
  11633. "type": "integer"
  11634. },
  11635. "positionqty": {
  11636. "description": "期初持仓数量",
  11637. "type": "integer"
  11638. },
  11639. "tnqty": {
  11640. "description": "T+N冻结总量",
  11641. "type": "integer"
  11642. },
  11643. "tnusedqty": {
  11644. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11645. "type": "integer"
  11646. },
  11647. "trademode": {
  11648. "description": "交易模式",
  11649. "type": "integer"
  11650. },
  11651. "usedmargin": {
  11652. "description": "占用保证金[商品币种]",
  11653. "type": "number"
  11654. }
  11655. }
  11656. },
  11657. "quote.HistoryData": {
  11658. "type": "object",
  11659. "properties": {
  11660. "c": {
  11661. "description": "收盘价",
  11662. "type": "number"
  11663. },
  11664. "h": {
  11665. "description": "最高价",
  11666. "type": "number"
  11667. },
  11668. "hv": {
  11669. "description": "持仓量",
  11670. "type": "integer"
  11671. },
  11672. "l": {
  11673. "description": "最低价",
  11674. "type": "number"
  11675. },
  11676. "o": {
  11677. "description": "开盘价",
  11678. "type": "number"
  11679. },
  11680. "s": {
  11681. "description": "结算价,日线周期(包括)以上才有",
  11682. "type": "number"
  11683. },
  11684. "ts": {
  11685. "description": "时间",
  11686. "type": "string"
  11687. },
  11688. "tt": {
  11689. "description": "总金额",
  11690. "type": "number"
  11691. },
  11692. "tv": {
  11693. "description": "总量",
  11694. "type": "integer"
  11695. }
  11696. }
  11697. },
  11698. "quote.QueryTSDataRsp": {
  11699. "type": "object",
  11700. "properties": {
  11701. "decimalPlace": {
  11702. "description": "小数位",
  11703. "type": "integer"
  11704. },
  11705. "endTime": {
  11706. "description": "结束时间",
  11707. "type": "string"
  11708. },
  11709. "goodsCode": {
  11710. "description": "商品代码",
  11711. "type": "string"
  11712. },
  11713. "historyDatas": {
  11714. "description": "历史数据",
  11715. "type": "array",
  11716. "items": {
  11717. "$ref": "#/definitions/quote.HistoryData"
  11718. }
  11719. },
  11720. "preSettle": {
  11721. "description": "昨结",
  11722. "type": "number"
  11723. },
  11724. "startTime": {
  11725. "description": "开始时间",
  11726. "type": "string"
  11727. },
  11728. "tradeDate": {
  11729. "description": "交易日",
  11730. "type": "string"
  11731. }
  11732. }
  11733. },
  11734. "szdz.QueryConvertLogRsp": {
  11735. "type": "object",
  11736. "required": [
  11737. "logid"
  11738. ],
  11739. "properties": {
  11740. "accountid": {
  11741. "description": "资金账户ID",
  11742. "type": "integer"
  11743. },
  11744. "clientticket": {
  11745. "description": "客户端流水号",
  11746. "type": "string"
  11747. },
  11748. "converttype": {
  11749. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11750. "type": "integer"
  11751. },
  11752. "createtime": {
  11753. "description": "记账时间",
  11754. "type": "string"
  11755. },
  11756. "daymaxvalue": {
  11757. "description": "配置当日最大转入限制",
  11758. "type": "number"
  11759. },
  11760. "daymaxvalue2": {
  11761. "description": "配置当日最大转入限制(转入)",
  11762. "type": "number"
  11763. },
  11764. "goodscode": {
  11765. "description": "商品代码",
  11766. "type": "string"
  11767. },
  11768. "goodsname": {
  11769. "description": "商品名称",
  11770. "type": "string"
  11771. },
  11772. "handlestatus": {
  11773. "description": "处理状态",
  11774. "type": "integer"
  11775. },
  11776. "innergoodsid": {
  11777. "description": "内部商品ID",
  11778. "type": "integer"
  11779. },
  11780. "inratio": {
  11781. "description": "配置转入比值",
  11782. "type": "integer"
  11783. },
  11784. "invalue": {
  11785. "description": "目标值",
  11786. "type": "number"
  11787. },
  11788. "logid": {
  11789. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11790. "type": "integer"
  11791. },
  11792. "mobile": {
  11793. "description": "手机号码(加密存储)",
  11794. "type": "string"
  11795. },
  11796. "outergoodscode": {
  11797. "description": "外部商品代码[JD\\PD]",
  11798. "type": "string"
  11799. },
  11800. "outratio": {
  11801. "description": "配置转出比值",
  11802. "type": "integer"
  11803. },
  11804. "outvalue": {
  11805. "description": "源值",
  11806. "type": "number"
  11807. },
  11808. "pddecimalplace": {
  11809. "description": "PD小数位",
  11810. "type": "integer"
  11811. },
  11812. "qty": {
  11813. "description": "数量",
  11814. "type": "string"
  11815. },
  11816. "remark": {
  11817. "description": "备注",
  11818. "type": "string"
  11819. },
  11820. "sessionid": {
  11821. "description": "会话ID",
  11822. "type": "integer"
  11823. },
  11824. "timemaxvalue": {
  11825. "description": "配置单次最大转入限制",
  11826. "type": "number"
  11827. },
  11828. "timemaxvalue2": {
  11829. "description": "配置单次最大转入限制(转入)",
  11830. "type": "number"
  11831. },
  11832. "timeminvalue": {
  11833. "description": "配置单次最小数量限制",
  11834. "type": "number"
  11835. },
  11836. "timeminvalue2": {
  11837. "description": "配置单次最小数量限制(转入)",
  11838. "type": "number"
  11839. },
  11840. "tradedate": {
  11841. "description": "交易日(yyyyMMdd)",
  11842. "type": "string"
  11843. },
  11844. "userid": {
  11845. "description": "用户ID",
  11846. "type": "integer"
  11847. }
  11848. }
  11849. },
  11850. "szdz.QueryGoodsPickupRsp": {
  11851. "type": "object",
  11852. "required": [
  11853. "takeorderid"
  11854. ],
  11855. "properties": {
  11856. "accountid": {
  11857. "description": "账户ID",
  11858. "type": "integer"
  11859. },
  11860. "address": {
  11861. "description": "提货人详细地址",
  11862. "type": "string"
  11863. },
  11864. "auditer": {
  11865. "description": "审核人",
  11866. "type": "integer"
  11867. },
  11868. "audittime": {
  11869. "description": "审核时间",
  11870. "type": "string"
  11871. },
  11872. "cardnum": {
  11873. "description": "提货人证件号码",
  11874. "type": "string"
  11875. },
  11876. "cardtypeid": {
  11877. "description": "提货人证件类型",
  11878. "type": "integer"
  11879. },
  11880. "checkremark": {
  11881. "description": "审核备注",
  11882. "type": "string"
  11883. },
  11884. "goodscode": {
  11885. "description": "商品代码",
  11886. "type": "string"
  11887. },
  11888. "goodsid": {
  11889. "description": "商品ID",
  11890. "type": "integer"
  11891. },
  11892. "goodsname": {
  11893. "description": "商品名称",
  11894. "type": "string"
  11895. },
  11896. "handlestatus": {
  11897. "description": "处理状态",
  11898. "type": "integer"
  11899. },
  11900. "marketid": {
  11901. "description": "市场ID",
  11902. "type": "integer"
  11903. },
  11904. "phonenum": {
  11905. "description": "提货人联系方式",
  11906. "type": "string"
  11907. },
  11908. "qty": {
  11909. "description": "提货数量",
  11910. "type": "number"
  11911. },
  11912. "recivername": {
  11913. "description": "提货人姓名",
  11914. "type": "string"
  11915. },
  11916. "reqtime": {
  11917. "description": "更新时间",
  11918. "type": "string"
  11919. },
  11920. "takemode": {
  11921. "description": "提货方式 - 2:自提 3:配送",
  11922. "type": "integer"
  11923. },
  11924. "takeorderid": {
  11925. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11926. "type": "string"
  11927. },
  11928. "takeorderstatus": {
  11929. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11930. "type": "integer"
  11931. },
  11932. "takeremark": {
  11933. "description": "提货备注",
  11934. "type": "string"
  11935. },
  11936. "tradedate": {
  11937. "description": "交易日(yyyyMMdd)",
  11938. "type": "string"
  11939. },
  11940. "userid": {
  11941. "description": "用户ID",
  11942. "type": "integer"
  11943. }
  11944. }
  11945. },
  11946. "szdz.QueryRecieptOrderRsp": {
  11947. "type": "object",
  11948. "required": [
  11949. "ordertime"
  11950. ],
  11951. "properties": {
  11952. "accountName": {
  11953. "description": "所属账号名称(已脱敏)",
  11954. "type": "string"
  11955. },
  11956. "accountid": {
  11957. "description": "资金账号",
  11958. "type": "integer"
  11959. },
  11960. "buyorsell": {
  11961. "description": "方向 - 0:买 1:卖",
  11962. "type": "integer"
  11963. },
  11964. "enableqty": {
  11965. "description": "可摘数量",
  11966. "type": "integer"
  11967. },
  11968. "goodscode": {
  11969. "description": "商品代码",
  11970. "type": "string"
  11971. },
  11972. "goodsid": {
  11973. "description": "商品ID",
  11974. "type": "integer"
  11975. },
  11976. "goodsname": {
  11977. "description": "商品名称",
  11978. "type": "string"
  11979. },
  11980. "orderid": {
  11981. "description": "委托单号",
  11982. "type": "string"
  11983. },
  11984. "orderprice": {
  11985. "description": "委托价格",
  11986. "type": "number"
  11987. },
  11988. "ordertime": {
  11989. "description": "委托时间",
  11990. "type": "string"
  11991. },
  11992. "tradedate": {
  11993. "description": "交易日(yyyyMMdd)",
  11994. "type": "string"
  11995. }
  11996. }
  11997. },
  11998. "szdz.QuerySZDZTradePositionRsp": {
  11999. "type": "object",
  12000. "properties": {
  12001. "accountid": {
  12002. "description": "账号Id",
  12003. "type": "integer"
  12004. },
  12005. "agreeunit": {
  12006. "description": "合约单位",
  12007. "type": "number"
  12008. },
  12009. "averageprice": {
  12010. "description": "持仓均价",
  12011. "type": "number"
  12012. },
  12013. "buyorsell": {
  12014. "description": "方向 - 0:买 1:卖",
  12015. "type": "integer"
  12016. },
  12017. "closetotalqty": {
  12018. "description": "平仓总数量",
  12019. "type": "integer"
  12020. },
  12021. "curholderamount": {
  12022. "description": "当前持仓总金额",
  12023. "type": "number"
  12024. },
  12025. "curpositionqty": {
  12026. "description": "当前持仓总数量",
  12027. "type": "integer"
  12028. },
  12029. "currencyid": {
  12030. "description": "报价货币ID",
  12031. "type": "integer"
  12032. },
  12033. "curtdposition": {
  12034. "description": "期末今日头寸",
  12035. "type": "integer"
  12036. },
  12037. "decimalplace": {
  12038. "description": "报价小数位",
  12039. "type": "integer"
  12040. },
  12041. "enableqty": {
  12042. "description": "可用量",
  12043. "type": "integer"
  12044. },
  12045. "fretdposition": {
  12046. "description": "冻结今日头寸",
  12047. "type": "integer"
  12048. },
  12049. "frozenqty": {
  12050. "description": "持仓冻结数量",
  12051. "type": "integer"
  12052. },
  12053. "goodscode": {
  12054. "description": "商品代码(内部)",
  12055. "type": "string"
  12056. },
  12057. "goodsid": {
  12058. "description": "商品Id",
  12059. "type": "integer"
  12060. },
  12061. "goodsname": {
  12062. "description": "商品名称",
  12063. "type": "string"
  12064. },
  12065. "goodunit": {
  12066. "description": "报价单位",
  12067. "type": "string"
  12068. },
  12069. "goodunitid": {
  12070. "description": "报价单位ID",
  12071. "type": "integer"
  12072. },
  12073. "holderamount": {
  12074. "description": "期初持仓总金额",
  12075. "type": "number"
  12076. },
  12077. "marketid": {
  12078. "description": "市场ID",
  12079. "type": "integer"
  12080. },
  12081. "openreqqty": {
  12082. "description": "开仓申请数量",
  12083. "type": "integer"
  12084. },
  12085. "opentotalqty": {
  12086. "description": "开仓总数量",
  12087. "type": "integer"
  12088. },
  12089. "otherfrozenqty": {
  12090. "description": "持仓其他冻结数量(交割冻结)",
  12091. "type": "integer"
  12092. },
  12093. "positionqty": {
  12094. "description": "期初持仓数量",
  12095. "type": "integer"
  12096. },
  12097. "szdz3freezqty": {
  12098. "description": "尚志大宗转换冻结总数量",
  12099. "type": "integer"
  12100. },
  12101. "tnqty": {
  12102. "description": "T+N冻结总量",
  12103. "type": "integer"
  12104. },
  12105. "tnusedqty": {
  12106. "description": "T+N使用量",
  12107. "type": "integer"
  12108. },
  12109. "trademode": {
  12110. "description": "交易模式",
  12111. "type": "integer"
  12112. },
  12113. "usedmargin": {
  12114. "description": "占用保证金",
  12115. "type": "number"
  12116. }
  12117. }
  12118. },
  12119. "taaccount.QueryAmountLogRsp": {
  12120. "type": "object",
  12121. "required": [
  12122. "accountid",
  12123. "amount",
  12124. "amountadjusttype",
  12125. "autoid",
  12126. "balance",
  12127. "createtime",
  12128. "currentbalance",
  12129. "operatetype"
  12130. ],
  12131. "properties": {
  12132. "OPERATETYPENAME": {
  12133. "description": "资金操作类型名称",
  12134. "type": "string"
  12135. },
  12136. "accountid": {
  12137. "description": "资金账户ID",
  12138. "type": "integer"
  12139. },
  12140. "agoodscode": {
  12141. "description": "竞拍商品代码",
  12142. "type": "string"
  12143. },
  12144. "agoodsname": {
  12145. "description": "竞拍商品名称",
  12146. "type": "string"
  12147. },
  12148. "amount": {
  12149. "description": "资金金额",
  12150. "type": "number"
  12151. },
  12152. "amountadjusttype": {
  12153. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12154. "type": "integer"
  12155. },
  12156. "autoid": {
  12157. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12158. "type": "integer"
  12159. },
  12160. "balance": {
  12161. "description": "期初余额",
  12162. "type": "number"
  12163. },
  12164. "businesscode": {
  12165. "description": "业务编号",
  12166. "type": "integer"
  12167. },
  12168. "createtime": {
  12169. "description": "发生时间",
  12170. "type": "string"
  12171. },
  12172. "currencyid": {
  12173. "description": "币种ID",
  12174. "type": "integer"
  12175. },
  12176. "currentbalance": {
  12177. "description": "期末余额(变动后金额)",
  12178. "type": "number"
  12179. },
  12180. "dgoodscode": {
  12181. "description": "交割商品代码",
  12182. "type": "string"
  12183. },
  12184. "dgoodsname": {
  12185. "description": "交割商品名称",
  12186. "type": "string"
  12187. },
  12188. "goodscode": {
  12189. "description": "商品代码",
  12190. "type": "string"
  12191. },
  12192. "goodsid": {
  12193. "description": "商品ID",
  12194. "type": "integer"
  12195. },
  12196. "goodsname": {
  12197. "description": "商品名称",
  12198. "type": "string"
  12199. },
  12200. "marketid": {
  12201. "description": "市场ID",
  12202. "type": "integer"
  12203. },
  12204. "marketname": {
  12205. "description": "市场名称",
  12206. "type": "string"
  12207. },
  12208. "moneyticket": {
  12209. "description": "资金流水号:银行端流水号",
  12210. "type": "integer"
  12211. },
  12212. "operatetype": {
  12213. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  12214. "type": "integer"
  12215. },
  12216. "relationorderid": {
  12217. "description": "关联单号",
  12218. "type": "string"
  12219. },
  12220. "remark": {
  12221. "description": "备注",
  12222. "type": "string"
  12223. },
  12224. "trademode": {
  12225. "description": "交易模式",
  12226. "type": "integer"
  12227. }
  12228. }
  12229. },
  12230. "taaccount.QueryHisAmountLogRsp": {
  12231. "type": "object",
  12232. "required": [
  12233. "accountid",
  12234. "amount",
  12235. "amountadjusttype",
  12236. "autoid",
  12237. "balance",
  12238. "createtime",
  12239. "currentbalance",
  12240. "histradedate",
  12241. "operatetype"
  12242. ],
  12243. "properties": {
  12244. "OPERATETYPENAME": {
  12245. "description": "资金操作类型名称",
  12246. "type": "string"
  12247. },
  12248. "accountid": {
  12249. "description": "资金账户ID",
  12250. "type": "integer"
  12251. },
  12252. "agoodscode": {
  12253. "description": "竞拍商品代码",
  12254. "type": "string"
  12255. },
  12256. "agoodsname": {
  12257. "description": "竞拍商品名称",
  12258. "type": "string"
  12259. },
  12260. "amount": {
  12261. "description": "资金金额",
  12262. "type": "number"
  12263. },
  12264. "amountadjusttype": {
  12265. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  12266. "type": "integer"
  12267. },
  12268. "autoid": {
  12269. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  12270. "type": "integer"
  12271. },
  12272. "balance": {
  12273. "description": "期初余额",
  12274. "type": "number"
  12275. },
  12276. "businesscode": {
  12277. "description": "业务编号",
  12278. "type": "integer"
  12279. },
  12280. "createtime": {
  12281. "description": "发生时间",
  12282. "type": "string"
  12283. },
  12284. "currencyid": {
  12285. "description": "币种ID",
  12286. "type": "integer"
  12287. },
  12288. "currentbalance": {
  12289. "description": "期末余额(变动后金额)",
  12290. "type": "number"
  12291. },
  12292. "dgoodscode": {
  12293. "description": "交割商品代码",
  12294. "type": "string"
  12295. },
  12296. "dgoodsname": {
  12297. "description": "交割商品名称",
  12298. "type": "string"
  12299. },
  12300. "goodscode": {
  12301. "description": "商品代码",
  12302. "type": "string"
  12303. },
  12304. "goodsid": {
  12305. "description": "商品ID",
  12306. "type": "integer"
  12307. },
  12308. "goodsname": {
  12309. "description": "商品名称",
  12310. "type": "string"
  12311. },
  12312. "histradedate": {
  12313. "description": "历史交易日",
  12314. "type": "string"
  12315. },
  12316. "isvaliddata": {
  12317. "description": "是否有效 - 0:无效 1:有效",
  12318. "type": "integer"
  12319. },
  12320. "marketid": {
  12321. "description": "市场ID",
  12322. "type": "integer"
  12323. },
  12324. "marketname": {
  12325. "description": "市场名称",
  12326. "type": "string"
  12327. },
  12328. "moneyticket": {
  12329. "description": "资金流水号:银行端流水号",
  12330. "type": "integer"
  12331. },
  12332. "operatetype": {
  12333. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  12334. "type": "integer"
  12335. },
  12336. "relationorderid": {
  12337. "description": "关联单号",
  12338. "type": "string"
  12339. },
  12340. "remark": {
  12341. "description": "备注",
  12342. "type": "string"
  12343. },
  12344. "trademode": {
  12345. "description": "交易模式",
  12346. "type": "integer"
  12347. }
  12348. }
  12349. },
  12350. "trade.QueryRecieptOrderRsp": {
  12351. "type": "object",
  12352. "required": [
  12353. "ordertime"
  12354. ],
  12355. "properties": {
  12356. "accountName": {
  12357. "description": "所属账号名称(已脱敏)",
  12358. "type": "string"
  12359. },
  12360. "accountid": {
  12361. "description": "资金账号",
  12362. "type": "integer"
  12363. },
  12364. "buyorsell": {
  12365. "description": "方向 - 0:买 1:卖",
  12366. "type": "integer"
  12367. },
  12368. "enableqty": {
  12369. "description": "可摘数量",
  12370. "type": "integer"
  12371. },
  12372. "goodscode": {
  12373. "description": "商品代码",
  12374. "type": "string"
  12375. },
  12376. "goodsid": {
  12377. "description": "商品ID",
  12378. "type": "integer"
  12379. },
  12380. "goodsname": {
  12381. "description": "商品名称",
  12382. "type": "string"
  12383. },
  12384. "orderid": {
  12385. "description": "委托单号",
  12386. "type": "string"
  12387. },
  12388. "orderprice": {
  12389. "description": "委托价格",
  12390. "type": "number"
  12391. },
  12392. "ordertime": {
  12393. "description": "委托时间",
  12394. "type": "string"
  12395. },
  12396. "tradedate": {
  12397. "description": "交易日(yyyyMMdd)",
  12398. "type": "string"
  12399. }
  12400. }
  12401. }
  12402. },
  12403. "securityDefinitions": {
  12404. "ApiKeyAuth": {
  12405. "type": "apiKey",
  12406. "name": "Authorization",
  12407. "in": "header"
  12408. }
  12409. }
  12410. }`
  12411. type swaggerInfo struct {
  12412. Version string
  12413. Host string
  12414. BasePath string
  12415. Schemes []string
  12416. Title string
  12417. Description string
  12418. }
  12419. // SwaggerInfo holds exported Swagger Info so clients can modify it
  12420. var SwaggerInfo = swaggerInfo{
  12421. Version: "1.0",
  12422. Host: "",
  12423. BasePath: "/api",
  12424. Schemes: []string{},
  12425. Title: "MTP2.0 查询服务 API",
  12426. Description: "新的查询服务,替代原通用查询服务。",
  12427. }
  12428. type s struct{}
  12429. func (s *s) ReadDoc() string {
  12430. sInfo := SwaggerInfo
  12431. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  12432. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  12433. "marshal": func(v interface{}) string {
  12434. a, _ := json.Marshal(v)
  12435. return string(a)
  12436. },
  12437. }).Parse(doc)
  12438. if err != nil {
  12439. return doc
  12440. }
  12441. var tpl bytes.Buffer
  12442. if err := t.Execute(&tpl, sInfo); err != nil {
  12443. return doc
  12444. }
  12445. return tpl.String()
  12446. }
  12447. func init() {
  12448. swag.Register(swag.Name, &s{})
  12449. }