swagger.yaml 167 KB

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