swagger.yaml 167 KB

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