swagger.yaml 164 KB

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