swagger.yaml 164 KB

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