swagger.yaml 166 KB

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