docs.go 275 KB

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