swagger.yaml 169 KB

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