swagger.yaml 218 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. erms2.QueryArbitrageStrategyRsp:
  844. properties:
  845. applybasis:
  846. description: 申请基差
  847. type: number
  848. asapplyid:
  849. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  850. type: string
  851. asname:
  852. description: 策略名称
  853. type: string
  854. asno:
  855. description: 策略编号
  856. type: string
  857. basischangepl:
  858. description: 基差变动损益[结算更新]
  859. type: number
  860. biztype:
  861. description: 业务类型 - 1:正向套利 -1:反向套利
  862. type: integer
  863. closetradedate:
  864. description: 完结交易日(yyyyMMdd)
  865. type: string
  866. curbasis:
  867. description: 当前基差[结算更新]
  868. type: number
  869. deliverygoodsid:
  870. description: 现货品种ID
  871. type: integer
  872. futureavgprice:
  873. description: 期货建仓均价
  874. type: number
  875. futurecloseamount:
  876. description: 期货平仓金额
  877. type: number
  878. futurecloseqty:
  879. description: 期货平仓数量
  880. type: number
  881. futureopenamount:
  882. description: 期货开仓金额
  883. type: number
  884. futureopenqty:
  885. description: 期货开仓数量
  886. type: number
  887. futurepl:
  888. description: 期货总盈亏[结算更新]
  889. type: number
  890. futureqty:
  891. description: 期货持仓数量
  892. type: number
  893. futurequote:
  894. description: 期货额度
  895. type: number
  896. goodsgroupid:
  897. description: 期货品种ID
  898. type: integer
  899. marketid:
  900. description: 市场ID
  901. type: integer
  902. netexposure:
  903. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  904. type: number
  905. netexposurepl:
  906. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  907. type: number
  908. netexposurerate:
  909. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  910. type: number
  911. openbasis:
  912. description: 建仓基差
  913. type: number
  914. pricedspotqty:
  915. description: 已定价现货数量
  916. type: number
  917. pricedspotqtynotax:
  918. description: 已定价现货不含税数量
  919. type: number
  920. remark:
  921. description: 备注
  922. type: string
  923. spotavgprice:
  924. description: 现货均价
  925. type: number
  926. spotbuyamount:
  927. description: 现货采购金额
  928. type: number
  929. spotbuyqty:
  930. description: 现货采购数量
  931. type: number
  932. spotpl:
  933. description: 现货总盈亏[结算更新]
  934. type: number
  935. spotquota:
  936. description: 现货额度
  937. type: number
  938. spotsellamount:
  939. description: 现货销售金额
  940. type: number
  941. spotsellqty:
  942. description: 现货销售数量
  943. type: number
  944. spotusedquota:
  945. description: 现货占用资金
  946. type: number
  947. strategystatus:
  948. description: 策略状态 - 0:未结束 1:已结束
  949. type: integer
  950. totalpl:
  951. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  952. type: number
  953. tradedate:
  954. description: 交易日(yyyyMMdd)
  955. type: string
  956. updatetime:
  957. description: 更新时间
  958. type: string
  959. usedquota:
  960. description: 已占用资金
  961. type: number
  962. userid:
  963. description: 所属机构
  964. type: integer
  965. required:
  966. - asapplyid
  967. type: object
  968. erms2.QueryInnerTradeDetailRsp:
  969. properties:
  970. accountid:
  971. description: 账号ID
  972. type: integer
  973. agreeunit:
  974. description: 合约单位
  975. type: number
  976. asapplyid:
  977. description: 策略申请ID
  978. type: integer
  979. asname:
  980. description: 策略名称
  981. type: string
  982. asno:
  983. description: 策略编号
  984. type: string
  985. buyorsell:
  986. description: 方向 - 0:买 1:卖
  987. type: integer
  988. channelbuildtype:
  989. description: 委托单据类型 0:无 1:建仓 2:平仓
  990. type: integer
  991. closetype:
  992. description: 平仓方式 - 0:无 1:平今 2:平昨
  993. type: integer
  994. decimalplace:
  995. description: 报价小数位
  996. type: integer
  997. detailtype:
  998. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  999. type: integer
  1000. exexchangecode:
  1001. description: 外部交易所代码
  1002. type: string
  1003. exexchangename:
  1004. description: 外部交易所名称
  1005. type: string
  1006. goodscode:
  1007. description: 商品代码(合约)
  1008. type: string
  1009. goodsgroupid:
  1010. description: 商品组ID(品种ID)
  1011. type: integer
  1012. goodsgroupname:
  1013. description: 商品组名称(品种)
  1014. type: string
  1015. goodsid:
  1016. description: 商品ID
  1017. type: integer
  1018. goodsname:
  1019. description: 商品名称(合约)
  1020. type: string
  1021. goodunit:
  1022. description: 报价单位
  1023. type: string
  1024. marketid:
  1025. description: 市场ID
  1026. type: integer
  1027. orderid:
  1028. description: 委托单号
  1029. type: string
  1030. outgoodscode:
  1031. description: 商品代码(外部)
  1032. type: string
  1033. relatedouttradeid:
  1034. description: 关联外部成交单ID
  1035. type: string
  1036. remark:
  1037. description: 备注
  1038. type: string
  1039. spotcontractid:
  1040. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1041. type: integer
  1042. spotcontractno:
  1043. description: 现货合同编号
  1044. type: string
  1045. tradeid:
  1046. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1047. type: string
  1048. tradeprice:
  1049. description: 成交价格
  1050. type: number
  1051. tradeqty:
  1052. description: 成交数量
  1053. type: integer
  1054. tradetime:
  1055. description: 成交时间
  1056. type: string
  1057. updatetime:
  1058. description: 更新时间
  1059. type: string
  1060. required:
  1061. - asapplyid
  1062. - buyorsell
  1063. - goodscode
  1064. - goodsgroupid
  1065. - goodsgroupname
  1066. - goodsname
  1067. - tradeid
  1068. type: object
  1069. erms2.QuerySpotContractRsp:
  1070. properties:
  1071. accountid:
  1072. description: 资金账户ID
  1073. type: integer
  1074. areauserid:
  1075. description: 所属机构
  1076. type: integer
  1077. closedate:
  1078. description: 终止日期
  1079. type: string
  1080. closeremark:
  1081. description: 结束备注
  1082. type: string
  1083. closetradedate:
  1084. description: 完结交易日(yyyyMMdd)
  1085. type: string
  1086. closetype:
  1087. description: 终止类型 - 1:违约 2:提前终止
  1088. type: integer
  1089. contractamount:
  1090. description: 合同金额
  1091. type: number
  1092. contractattachment:
  1093. description: 合同附件
  1094. type: string
  1095. contractno:
  1096. description: 现货合同编号
  1097. type: string
  1098. contractqty:
  1099. description: 合同数量(数值) (用于计算)
  1100. type: number
  1101. contractqtychar:
  1102. description: 合同数量\已订价数量 (用于显示)
  1103. type: string
  1104. contractstatus:
  1105. description: 合同状态 - 0:未结束 1:已结束
  1106. type: integer
  1107. contracttype:
  1108. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1109. type: integer
  1110. customeraccountid:
  1111. description: 客户资金账户ID
  1112. type: integer
  1113. customeruserid:
  1114. description: 客户ID
  1115. type: integer
  1116. deliverygoodsdesc:
  1117. description: 品种说明
  1118. type: string
  1119. deliverygoodsid:
  1120. description: 现货品种ID
  1121. type: integer
  1122. handlestatus:
  1123. description: 处理状态
  1124. type: integer
  1125. invoiceatt:
  1126. description: 发票附件
  1127. type: string
  1128. invoicedatetime:
  1129. description: 开收票更新时间
  1130. type: string
  1131. invoiceopentime:
  1132. description: 开票时间
  1133. type: string
  1134. invoiceremark:
  1135. description: 发票备注
  1136. type: string
  1137. invoicestatus:
  1138. description: 开收票状态 - 0:未开票 1:已开票
  1139. type: integer
  1140. lastdate:
  1141. description: 交货时间
  1142. type: string
  1143. marketid:
  1144. description: 市场ID
  1145. type: integer
  1146. paydatetime:
  1147. description: 收付款更新时间
  1148. type: string
  1149. payremark:
  1150. description: 收付款备注
  1151. type: string
  1152. paystatus:
  1153. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1154. type: integer
  1155. positionqty:
  1156. description: 头寸数量 - 合同数量去小数部分
  1157. type: integer
  1158. producttype:
  1159. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1160. type: integer
  1161. relatedqty:
  1162. description: 已关联数量
  1163. type: number
  1164. relatedstatus:
  1165. description: 关联完结状态 - 0:未结束 1:已结束
  1166. type: integer
  1167. remark:
  1168. description: 备注
  1169. type: string
  1170. signdate:
  1171. description: 签订日期
  1172. type: string
  1173. spotcontractid:
  1174. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1175. type: string
  1176. spotdatetime:
  1177. description: 收发货更新时间
  1178. type: string
  1179. spotprice:
  1180. description: 价格
  1181. type: number
  1182. spotremark:
  1183. description: 收发货备注
  1184. type: string
  1185. spotstatus:
  1186. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1187. type: integer
  1188. tradedate:
  1189. description: 交易日(yyyyMMdd)
  1190. type: string
  1191. userid:
  1192. description: 业务员用户ID
  1193. type: integer
  1194. warehouseid:
  1195. description: 仓库ID
  1196. type: integer
  1197. wrfactortypeid:
  1198. description: 仓单要素类型ID
  1199. type: integer
  1200. wrstandardid:
  1201. description: 仓单标准ID(SEQ_WRSTANDARD)
  1202. type: integer
  1203. required:
  1204. - spotcontractid
  1205. type: object
  1206. erms3.AddErms2ASApplyReq:
  1207. properties:
  1208. applybasis:
  1209. description: 申请基差
  1210. type: number
  1211. applystatus:
  1212. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1213. type: integer
  1214. asapplyid:
  1215. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1216. type: integer
  1217. asname:
  1218. description: 策略名称
  1219. type: string
  1220. asno:
  1221. description: 策略编号
  1222. type: string
  1223. auditid:
  1224. description: 审核人
  1225. type: integer
  1226. auditremark:
  1227. description: 审核备注
  1228. type: string
  1229. audittime:
  1230. description: 审核时间
  1231. type: string
  1232. biztype:
  1233. description: 业务类型 - 1:正向套利 2:反向套利
  1234. type: integer
  1235. createtime:
  1236. description: 创建时间
  1237. type: string
  1238. creatorid:
  1239. description: 创建人
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. futurequote:
  1245. description: 期货额度
  1246. type: number
  1247. goodsgroupid:
  1248. description: 期货品种ID
  1249. type: integer
  1250. marketid:
  1251. description: 市场ID
  1252. type: integer
  1253. remark:
  1254. description: 备注
  1255. type: string
  1256. spotquota:
  1257. description: 现货额度
  1258. type: number
  1259. tradedate:
  1260. description: 交易日(yyyyMMdd)
  1261. type: string
  1262. userid:
  1263. description: 所属机构
  1264. type: integer
  1265. required:
  1266. - asapplyid
  1267. type: object
  1268. erms3.AddErms2SpotTradeApplyReq:
  1269. properties:
  1270. applyjsondetail:
  1271. description: 申请明细(JSON)
  1272. type: string
  1273. applystatus:
  1274. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1275. type: integer
  1276. areauserid:
  1277. description: 所属机构
  1278. type: integer
  1279. auditid:
  1280. description: 审核人
  1281. type: integer
  1282. auditremark:
  1283. description: 审核备注
  1284. type: string
  1285. audittime:
  1286. description: 审核时间
  1287. type: string
  1288. createtime:
  1289. description: 创建时间
  1290. type: string
  1291. creatorid:
  1292. description: 创建人
  1293. type: integer
  1294. deliverygoodsid:
  1295. description: 现货品种ID
  1296. type: integer
  1297. futureaccountid:
  1298. description: 期货资金账户
  1299. type: integer
  1300. goodsgroupid:
  1301. description: 期货品种
  1302. type: integer
  1303. marketid:
  1304. description: 市场ID
  1305. type: integer
  1306. remark:
  1307. description: 备注
  1308. type: string
  1309. spotaccountid:
  1310. description: 现货资金账户
  1311. type: integer
  1312. spottradeid:
  1313. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1314. type: integer
  1315. spottradename:
  1316. description: 业务名称
  1317. type: string
  1318. spottradeno:
  1319. description: 业务编号
  1320. type: string
  1321. tradedate:
  1322. description: 交易日(yyyyMMdd)
  1323. type: string
  1324. wrstandardid:
  1325. description: 仓单标准ID
  1326. type: integer
  1327. required:
  1328. - spottradeid
  1329. type: object
  1330. erms3.AddSpotContractApplyReq:
  1331. properties:
  1332. accountid:
  1333. description: 资金账户ID
  1334. type: integer
  1335. areauserid:
  1336. description: 所属机构
  1337. type: integer
  1338. contractattachment:
  1339. description: 合同附件
  1340. type: string
  1341. contractno:
  1342. description: 现货合同编号
  1343. type: string
  1344. contracttype:
  1345. description: 现货合同类型 - 1:采购 -1:销售
  1346. type: integer
  1347. creatorid:
  1348. description: 申请人
  1349. type: integer
  1350. customeraccountid:
  1351. description: 客户资金账户ID
  1352. type: integer
  1353. customeruserid:
  1354. description: 客户ID
  1355. type: integer
  1356. details:
  1357. description: 明细
  1358. items:
  1359. $ref: '#/definitions/erms3.SoptContractDetail'
  1360. type: array
  1361. orimargin:
  1362. description: 初始保证金
  1363. type: number
  1364. remark:
  1365. description: 备注
  1366. type: string
  1367. signdate:
  1368. description: 签订日期
  1369. type: string
  1370. required:
  1371. - accountid
  1372. - areauserid
  1373. - contractno
  1374. - contracttype
  1375. - customeraccountid
  1376. - customeruserid
  1377. - details
  1378. - orimargin
  1379. - signdate
  1380. type: object
  1381. erms3.AddSpotContractApplyRsp:
  1382. properties:
  1383. contractno:
  1384. description: 现货合同编号
  1385. type: string
  1386. spotcontractid:
  1387. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1388. type: integer
  1389. required:
  1390. - contractno
  1391. type: object
  1392. erms3.AddUserInfoApplyReq:
  1393. properties:
  1394. accountid:
  1395. description: 交易系统帐号Id (加密存储)
  1396. type: integer
  1397. areacode:
  1398. description: 机构代码
  1399. type: string
  1400. areaid:
  1401. description: 机构Id
  1402. type: integer
  1403. attachment1:
  1404. description: 附件1
  1405. type: string
  1406. attachment2:
  1407. description: 附件2
  1408. type: string
  1409. attachment3:
  1410. description: 附件3
  1411. type: string
  1412. attachment4:
  1413. description: 附件4
  1414. type: string
  1415. attachment5:
  1416. description: 附件5
  1417. type: string
  1418. auditedby:
  1419. description: 审核人
  1420. type: string
  1421. auditime:
  1422. description: 审核时间
  1423. type: string
  1424. bankaccount:
  1425. description: 银行帐号 (加密存储)
  1426. type: string
  1427. bankaccountname:
  1428. description: 收款人名称
  1429. type: string
  1430. bankcardbackphotourl:
  1431. description: 银行卡背面照地址
  1432. type: string
  1433. bankcardfrontphotourl:
  1434. description: 银行卡正面照地址
  1435. type: string
  1436. bankid:
  1437. description: 银行编码
  1438. type: string
  1439. bankname:
  1440. description: 银行名称
  1441. type: string
  1442. bankpictureurl:
  1443. description: 银行卡正面地址
  1444. type: string
  1445. biznature:
  1446. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1447. type: integer
  1448. bizscope:
  1449. description: 企业经营范围(企业)
  1450. type: string
  1451. biztype:
  1452. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1453. type: integer
  1454. brokerid:
  1455. description: 经纪人ID(加密存储)
  1456. type: string
  1457. cardaddress:
  1458. description: 证件地址 (加密存储)
  1459. type: string
  1460. cardbackphotourl:
  1461. description: 背面证件照地址
  1462. type: string
  1463. cardfrontphotourl:
  1464. description: 正面证件照地址
  1465. type: string
  1466. cardnum:
  1467. description: 证件号码 (加密存储)
  1468. type: string
  1469. cardtype:
  1470. description: 证件类型
  1471. type: integer
  1472. cityid:
  1473. description: 市
  1474. type: integer
  1475. company:
  1476. description: 公司(个人)
  1477. type: string
  1478. contactcardbackphotourl:
  1479. description: 联系人证件背面图片地址
  1480. type: string
  1481. contactcardfrontphotourl:
  1482. description: 联系人证件正面图片地址
  1483. type: string
  1484. contactname:
  1485. description: 联系人
  1486. type: string
  1487. countryid:
  1488. description: 国家
  1489. type: integer
  1490. createtime:
  1491. description: 开户申请时间
  1492. type: string
  1493. cusbankid:
  1494. description: 签约类型
  1495. type: string
  1496. cusbankname:
  1497. description: 签约类型名称
  1498. type: string
  1499. customername:
  1500. description: 客户名称(企业名称)
  1501. type: string
  1502. districtid:
  1503. description: 地区
  1504. type: integer
  1505. email:
  1506. description: Email地址(加密存储)
  1507. type: string
  1508. halfbodyphotourl:
  1509. description: 半身照地址
  1510. type: string
  1511. headurl:
  1512. description: 头像地址
  1513. type: string
  1514. ipaddress:
  1515. description: IP地址
  1516. type: string
  1517. isvalidate:
  1518. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1519. type: string
  1520. legalcardbackphotourl:
  1521. description: 法人身份证背面照地址
  1522. type: string
  1523. legalcardfrontphotourl:
  1524. description: 法人身份证正面照地址
  1525. type: string
  1526. legalpersonname:
  1527. description: 法人姓名(企业)
  1528. type: string
  1529. logincode:
  1530. description: 登录帐号 (加密存储)
  1531. type: string
  1532. memberareaid:
  1533. description: 所属会员ID
  1534. type: integer
  1535. mobile2:
  1536. description: 手机号码[明文-尚志]
  1537. type: string
  1538. mobilephone:
  1539. description: 手机号码 (加密存储)
  1540. type: string
  1541. modifiedby:
  1542. description: 修改人帐号
  1543. type: integer
  1544. modifiedtime:
  1545. description: 修改时间
  1546. type: string
  1547. nickname:
  1548. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1549. type: string
  1550. openmode:
  1551. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1552. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1553. type: integer
  1554. otherurl:
  1555. description: 其它图片地址[使用分号分隔]
  1556. type: string
  1557. postalcode:
  1558. description: 邮政编码
  1559. type: string
  1560. provinceid:
  1561. description: 省
  1562. type: integer
  1563. proxystatementurl:
  1564. description: 授权委托书
  1565. type: string
  1566. qq:
  1567. description: QQ(加密存储
  1568. type: string
  1569. referral:
  1570. description: 推荐人编码
  1571. type: string
  1572. remark:
  1573. description: 备注
  1574. type: string
  1575. removebeforestatus:
  1576. description: REMOVEBEFORESTATUS
  1577. type: integer
  1578. sex:
  1579. description: 性别 - 0:女 1:男
  1580. type: integer
  1581. signedstatus:
  1582. description: 账户一号签签约状态
  1583. type: integer
  1584. signpdfurl:
  1585. description: 签约pdf文件
  1586. type: string
  1587. subbranch:
  1588. description: 开户支行
  1589. type: string
  1590. telphone:
  1591. description: 联系电话(加密存储)
  1592. type: string
  1593. userid:
  1594. description: 用户ID(自增ID)
  1595. type: integer
  1596. userinfotype:
  1597. description: 用户信息类型 - 1:个人 2:企业
  1598. type: integer
  1599. username:
  1600. description: 用户姓名
  1601. type: string
  1602. userstate:
  1603. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1604. type: integer
  1605. usertype:
  1606. description: 用户类型 - 1:投资者 2:机构
  1607. type: integer
  1608. videourl:
  1609. description: 视频地址
  1610. type: string
  1611. wechat:
  1612. description: 微信号 (加密存储)
  1613. type: string
  1614. required:
  1615. - userid
  1616. type: object
  1617. erms3.CustomerInfo:
  1618. properties:
  1619. accountids:
  1620. description: 资金账户ID列表
  1621. items:
  1622. type: integer
  1623. type: array
  1624. customername:
  1625. description: 名称(企业名称)
  1626. type: string
  1627. mobile:
  1628. description: 手机号码
  1629. type: string
  1630. userid:
  1631. description: 用户ID
  1632. type: integer
  1633. required:
  1634. - userid
  1635. type: object
  1636. erms3.QryAuditContractRsp:
  1637. properties:
  1638. accountid:
  1639. description: 交易员ID
  1640. type: string
  1641. applystatus:
  1642. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1643. type: integer
  1644. curdeliveryqty:
  1645. description: 未交收量
  1646. type: integer
  1647. customername:
  1648. description: 采购方ID
  1649. type: string
  1650. deliverygoodsid:
  1651. description: 品种ID
  1652. type: string
  1653. deliveryqty:
  1654. description: 交收量
  1655. type: integer
  1656. enumdicname:
  1657. description: 单位名称
  1658. type: string
  1659. matchaccountid:
  1660. description: 业务员ID
  1661. type: string
  1662. matchcustomername:
  1663. description: 销售方ID
  1664. type: string
  1665. pricedqty:
  1666. description: 定价量
  1667. type: number
  1668. signdate:
  1669. description: 签订日期
  1670. type: string
  1671. spotcontractid:
  1672. description: 合同ID
  1673. type: string
  1674. totaldqty:
  1675. description: 合同量
  1676. type: number
  1677. unpricedqty:
  1678. description: 未定价量
  1679. type: number
  1680. wrstandardname:
  1681. description: 商品名称
  1682. type: string
  1683. required:
  1684. - matchcustomername
  1685. - spotcontractid
  1686. type: object
  1687. erms3.QryPendingBizRsp:
  1688. properties:
  1689. accountid:
  1690. description: 现货账户
  1691. type: string
  1692. areaname:
  1693. description: 所属部门
  1694. type: string
  1695. bizid:
  1696. description: 业务ID
  1697. type: string
  1698. bizname:
  1699. description: 业务名称
  1700. type: string
  1701. status:
  1702. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1703. type: integer
  1704. type:
  1705. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  1706. type: integer
  1707. type: object
  1708. erms3.QueryBusinessInfoRsp:
  1709. properties:
  1710. businessid:
  1711. description: 业务ID.
  1712. type: integer
  1713. buyamount:
  1714. description: 采购额.
  1715. type: number
  1716. buyqty:
  1717. description: 采购量.
  1718. type: string
  1719. futurepl:
  1720. description: 期货盈亏.
  1721. type: number
  1722. futureqty:
  1723. description: 期货敞口.
  1724. type: string
  1725. goodsid:
  1726. description: 商品名称/商品代码.
  1727. type: string
  1728. hedgingqty:
  1729. description: 套保量.
  1730. type: string
  1731. sellamount:
  1732. description: 销售额.
  1733. type: number
  1734. sellqty:
  1735. description: 销售量.
  1736. type: string
  1737. spotmarketvalue:
  1738. description: 现货市值.
  1739. type: number
  1740. spotpl:
  1741. description: 浮动权益.
  1742. type: number
  1743. spotqty:
  1744. description: 现货量.
  1745. type: string
  1746. statu:
  1747. description: 状态,0-未结束 1-已结束.
  1748. type: integer
  1749. totalpl:
  1750. description: 总盈亏.
  1751. type: number
  1752. totalqty:
  1753. description: 总敞口.
  1754. type: string
  1755. type:
  1756. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  1757. type: integer
  1758. type: object
  1759. erms3.QuerySpotContractAppleFormRsp:
  1760. properties:
  1761. goodses:
  1762. description: 合约列表
  1763. items:
  1764. $ref: '#/definitions/models.GoodsIDAndName'
  1765. type: array
  1766. oppositeusers:
  1767. description: 对方账号列表
  1768. items:
  1769. $ref: '#/definitions/erms3.CustomerInfo'
  1770. type: array
  1771. ouruser:
  1772. $ref: '#/definitions/erms3.CustomerInfo'
  1773. description: 我方账号
  1774. warehouseinfos:
  1775. description: 仓库信息列表
  1776. items:
  1777. $ref: '#/definitions/models.Warehouseinfo'
  1778. type: array
  1779. wrstandards:
  1780. description: 仓单标准列表
  1781. items:
  1782. $ref: '#/definitions/models.WRStandardInfo'
  1783. type: array
  1784. type: object
  1785. erms3.QuerySpotContractInfoRsp:
  1786. properties:
  1787. accountid:
  1788. description: 表示交易员ID.
  1789. type: integer
  1790. curdeliveryqty:
  1791. description: 表示未交收量.
  1792. type: number
  1793. customername:
  1794. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  1795. type: string
  1796. deliverygoodsid:
  1797. description: 表示品种ID.
  1798. type: string
  1799. deliveryqty:
  1800. description: 表示交收量.
  1801. type: number
  1802. matchaccountid:
  1803. description: 表示业务员ID.
  1804. type: integer
  1805. matchcustomername:
  1806. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  1807. type: string
  1808. priceqty:
  1809. description: 表示定价量.
  1810. type: number
  1811. relatedbizid:
  1812. description: 表示业务ID.
  1813. type: string
  1814. signdate:
  1815. description: 表示签订日期.
  1816. type: string
  1817. spotcontractid:
  1818. description: 合同ID
  1819. type: string
  1820. status:
  1821. description: 表示状态,0-履约中 1-已完成.
  1822. type: integer
  1823. totalqty:
  1824. description: 表示合同量.
  1825. type: number
  1826. unpricedqty:
  1827. description: 表示未定价量.
  1828. type: number
  1829. wrstandardname:
  1830. description: 表示商品ID.
  1831. type: string
  1832. type: object
  1833. erms3.QueryUserInfoAppliesRsp:
  1834. properties:
  1835. biznature:
  1836. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1837. type: integer
  1838. contactname:
  1839. description: 联系人
  1840. type: string
  1841. createtime:
  1842. description: 开户申请时间
  1843. type: string
  1844. userid:
  1845. description: 用户ID(自增ID)
  1846. type: integer
  1847. userinfotype:
  1848. description: 用户信息类型 - 1:个人 2:企业
  1849. type: integer
  1850. username:
  1851. description: 用户姓名
  1852. type: string
  1853. userstate:
  1854. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1855. type: integer
  1856. required:
  1857. - userid
  1858. type: object
  1859. erms3.QueryUserInfosRsp:
  1860. properties:
  1861. biznature:
  1862. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1863. type: integer
  1864. contactname:
  1865. description: 联系人
  1866. type: string
  1867. customername:
  1868. description: 客户名称(企业名称)
  1869. type: string
  1870. userid:
  1871. description: 用户ID
  1872. type: integer
  1873. userinfotype:
  1874. description: 用户信息类型 - 1:个人 2:企业
  1875. type: integer
  1876. userstatus:
  1877. description: 用户状态 - 1:正常 2:注销
  1878. type: integer
  1879. required:
  1880. - userid
  1881. type: object
  1882. erms3.SoptContractDetail:
  1883. properties:
  1884. deliverygoodsdesc:
  1885. description: 现货品种说明
  1886. type: string
  1887. deliverygoodsid:
  1888. description: 现货品种ID
  1889. type: integer
  1890. deliverygoodsname:
  1891. description: 现货品种名称
  1892. type: string
  1893. pointdesc:
  1894. description: 点价描述
  1895. type: string
  1896. producttype:
  1897. description: 产品类型 1:标准仓单 2:等标 3:非标
  1898. type: integer
  1899. producttypename:
  1900. description: 产品类型名称
  1901. type: string
  1902. spotPointOrderVoList:
  1903. description: 点价列表
  1904. items:
  1905. $ref: '#/definitions/erms3.SpotPointOrder'
  1906. type: array
  1907. spotPriceOrderList:
  1908. description: 定价列表
  1909. items:
  1910. $ref: '#/definitions/erms3.SpotPriceOrder'
  1911. type: array
  1912. unitname:
  1913. description: 单位名称
  1914. type: string
  1915. warehouseid:
  1916. description: 仓库ID
  1917. type: integer
  1918. warehousename:
  1919. description: 仓库名称
  1920. type: string
  1921. wrstandardid:
  1922. description: 交易标的ID
  1923. type: integer
  1924. wrstandardname:
  1925. description: 交易标的名称
  1926. type: string
  1927. required:
  1928. - deliverygoodsid
  1929. - producttype
  1930. - unitname
  1931. - warehouseid
  1932. - wrstandardid
  1933. - wrstandardname
  1934. type: object
  1935. erms3.SpotPointOrder:
  1936. properties:
  1937. basic:
  1938. description: 基差
  1939. type: number
  1940. deliveryenddate:
  1941. description: 交收结束日期
  1942. type: string
  1943. deliverystartdate:
  1944. description: 交收开始日期
  1945. type: string
  1946. enddate:
  1947. description: 点价结束日期
  1948. type: string
  1949. goodsid:
  1950. description: 商品ID
  1951. type: integer
  1952. goodsname:
  1953. description: 商品名称
  1954. type: string
  1955. qty:
  1956. description: 数量
  1957. type: number
  1958. startdate:
  1959. description: 点价开始日期
  1960. type: string
  1961. required:
  1962. - basic
  1963. - goodsid
  1964. - qty
  1965. type: object
  1966. erms3.SpotPriceOrder:
  1967. properties:
  1968. amount:
  1969. description: 金额
  1970. type: number
  1971. deliveryenddate:
  1972. description: 交收结束日期
  1973. type: string
  1974. deliverystartdate:
  1975. description: 交收开始日期
  1976. type: string
  1977. price:
  1978. description: 价格
  1979. type: number
  1980. qty:
  1981. description: 数量
  1982. type: number
  1983. required:
  1984. - amount
  1985. - price
  1986. - qty
  1987. type: object
  1988. hsby.GetHsbyMyCountRsp:
  1989. properties:
  1990. myCouponCount:
  1991. description: 我的优惠卷数量
  1992. type: integer
  1993. myOrderDetailListingCount:
  1994. description: 我的订单求购中数量
  1995. type: integer
  1996. myOrderDetailPreCount:
  1997. description: 我的订单抢购中数量
  1998. type: integer
  1999. myPackageUnReceiveCount:
  2000. description: 我的包裹待收货数量
  2001. type: integer
  2002. myPackageUnSendCount:
  2003. description: 我的包裹待发货数量
  2004. type: integer
  2005. myPayOrderCount:
  2006. description: 我的订单待付款数量
  2007. type: integer
  2008. type: object
  2009. hsby.QueryProvincesAndCitiesRsp:
  2010. properties:
  2011. cities:
  2012. description: 市
  2013. items:
  2014. $ref: '#/definitions/models.Division'
  2015. type: array
  2016. province:
  2017. $ref: '#/definitions/models.Division'
  2018. description: 省
  2019. type: object
  2020. models.Division:
  2021. properties:
  2022. autoid:
  2023. description: 自增ID
  2024. type: integer
  2025. divisioncode:
  2026. description: 行政代码
  2027. type: string
  2028. divisionlevel:
  2029. description: 行政级别
  2030. type: string
  2031. divisionname:
  2032. description: 行政名称
  2033. type: string
  2034. modifierid:
  2035. description: 修改人
  2036. type: integer
  2037. modifytime:
  2038. description: 修改时间
  2039. type: string
  2040. parentcode:
  2041. description: 上级行政代码
  2042. type: string
  2043. pathname:
  2044. description: 路径名称
  2045. type: string
  2046. postcode:
  2047. description: 邮政编码
  2048. type: string
  2049. separablename:
  2050. description: 可拆分的全称
  2051. type: string
  2052. shortcode:
  2053. description: 地区简码
  2054. type: string
  2055. required:
  2056. - autoid
  2057. - divisioncode
  2058. type: object
  2059. models.Enumdicitem:
  2060. properties:
  2061. autoid:
  2062. description: 自增ID
  2063. type: integer
  2064. bankmappedvalue:
  2065. description: 银行服务对应值
  2066. type: string
  2067. enumdiccode:
  2068. description: 所属枚举代码
  2069. type: string
  2070. enumdicid:
  2071. description: 所属枚举ID
  2072. type: integer
  2073. enumdicname:
  2074. description: 枚举项名称
  2075. type: string
  2076. enumitemname:
  2077. description: 枚举项值
  2078. type: integer
  2079. enumitemstatus:
  2080. description: 枚举项状态 - 1.启用 2.不启用
  2081. type: integer
  2082. enumitemvalue:
  2083. description: 通用值 - [币种通用简写]
  2084. type: string
  2085. param1:
  2086. description: 参数1[币种:币种小数位]
  2087. type: string
  2088. param2:
  2089. description: 参数1[币种:币种显示单位]
  2090. type: string
  2091. remark:
  2092. description: 备注
  2093. type: string
  2094. required:
  2095. - autoid
  2096. - enumdiccode
  2097. - enumdicid
  2098. - enumitemname
  2099. type: object
  2100. models.GoodsIDAndName:
  2101. properties:
  2102. goodscode:
  2103. description: 商品代码(内部)
  2104. type: string
  2105. goodsid:
  2106. description: 商品ID(自增ID SEQ_GOODS)
  2107. type: integer
  2108. goodsname:
  2109. description: 商品名称
  2110. type: string
  2111. marketid:
  2112. description: 所属市场ID
  2113. type: integer
  2114. required:
  2115. - goodscode
  2116. - goodsid
  2117. - goodsname
  2118. - marketid
  2119. type: object
  2120. models.HsbyBuyMyPayOrder:
  2121. properties:
  2122. agreeunit:
  2123. description: 合约单位
  2124. type: number
  2125. buyaccountid:
  2126. description: 买方账号ID[报价币种]
  2127. type: integer
  2128. buyorderid:
  2129. description: 买方委托单号
  2130. type: string
  2131. createtime:
  2132. description: 创建时间
  2133. type: string
  2134. currencysign:
  2135. description: 货币符号
  2136. type: string
  2137. decimalplace:
  2138. description: 报价小数位
  2139. type: integer
  2140. goodscode:
  2141. description: 商品代码(内部)
  2142. type: string
  2143. goodsid:
  2144. description: 商品ID
  2145. type: integer
  2146. goodsname:
  2147. description: 商品名称
  2148. type: string
  2149. marketid:
  2150. description: 市场ID
  2151. type: integer
  2152. offamount:
  2153. description: 优惠金额
  2154. type: number
  2155. payamount:
  2156. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2157. type: number
  2158. payflag:
  2159. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2160. type: integer
  2161. paylimitedtime:
  2162. description: 支付期限
  2163. type: string
  2164. paytime:
  2165. description: 付款时间
  2166. type: string
  2167. picurls1:
  2168. description: 预售商品介绍图片[多张用逗号分隔]
  2169. type: string
  2170. picurls2:
  2171. description: 挂牌商品介绍图片[多张用逗号分隔]
  2172. type: string
  2173. sellaccountid:
  2174. description: 卖方账号ID[报价币种]
  2175. type: integer
  2176. sellorderid:
  2177. description: 卖方委托单号
  2178. type: string
  2179. tradeamount:
  2180. description: 成交金额
  2181. type: number
  2182. tradecharge:
  2183. description: 成交手续费(买方)
  2184. type: number
  2185. tradedate:
  2186. description: 交易日(yyyyMMdd)
  2187. type: string
  2188. tradeid:
  2189. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2190. type: string
  2191. trademode:
  2192. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2193. 21:竞拍-大宗式 22:受托竞价
  2194. type: integer
  2195. tradeprice:
  2196. description: 成交价格
  2197. type: number
  2198. tradeqty:
  2199. description: 成交数量
  2200. type: integer
  2201. vendorname1:
  2202. description: 预售商品供应商名称
  2203. type: string
  2204. vendorname2:
  2205. description: 挂牌商品供应商名称
  2206. type: string
  2207. required:
  2208. - goodscode
  2209. - goodsname
  2210. - tradeid
  2211. - trademode
  2212. type: object
  2213. models.HsbyBuyMyTradeDetail:
  2214. properties:
  2215. accountid:
  2216. description: 账户ID[报价币种]
  2217. type: integer
  2218. agreeunit:
  2219. description: 合约单位
  2220. type: number
  2221. amount:
  2222. description: 金额 = 价格 * 数量 * 合约单位
  2223. type: number
  2224. buyorsell:
  2225. description: 买卖 - 0:买 1:卖
  2226. type: integer
  2227. currencysign:
  2228. description: 货币符号
  2229. type: string
  2230. decimalplace:
  2231. description: 报价小数位
  2232. type: integer
  2233. goodscode:
  2234. description: 商品代码(内部)
  2235. type: string
  2236. goodsid:
  2237. description: 商品ID
  2238. type: integer
  2239. goodsname:
  2240. description: 商品名称
  2241. type: string
  2242. marketid:
  2243. description: 市场ID
  2244. type: integer
  2245. orderid:
  2246. description: 单号(成交单号)
  2247. type: string
  2248. picurls1:
  2249. description: 预售商品介绍图片[多张用逗号分隔]
  2250. type: string
  2251. picurls2:
  2252. description: 挂牌商品介绍图片[多张用逗号分隔]
  2253. type: string
  2254. price:
  2255. description: 价格
  2256. type: number
  2257. qty:
  2258. description: 数量
  2259. type: integer
  2260. time:
  2261. description: 时间
  2262. type: string
  2263. trademode:
  2264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2265. 21:竞拍-大宗式 22:受托竞价
  2266. type: integer
  2267. vendorname1:
  2268. description: 预售商品供应商名称
  2269. type: string
  2270. vendorname2:
  2271. description: 挂牌商品供应商名称
  2272. type: string
  2273. required:
  2274. - accountid
  2275. - buyorsell
  2276. - goodscode
  2277. - goodsid
  2278. - goodsname
  2279. - marketid
  2280. - orderid
  2281. - qty
  2282. - time
  2283. - trademode
  2284. type: object
  2285. models.HsbyGoodsOrderDetail:
  2286. properties:
  2287. buyorsell:
  2288. description: 买卖 - 0:买 1:卖
  2289. type: integer
  2290. currencysign:
  2291. description: 货币符号
  2292. type: string
  2293. customername:
  2294. description: 客户名称(企业名称),已脱敏
  2295. type: string
  2296. enableqty:
  2297. description: 可用数量
  2298. type: integer
  2299. goodunit:
  2300. description: 报价单位
  2301. type: string
  2302. orderid:
  2303. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2304. type: string
  2305. orderprice:
  2306. description: 委托价格
  2307. type: number
  2308. ordertime:
  2309. description: 委托时间
  2310. type: string
  2311. required:
  2312. - buyorsell
  2313. - orderid
  2314. - ordertime
  2315. type: object
  2316. models.HsbyListingGoodsDetail:
  2317. properties:
  2318. agreeunit:
  2319. description: 合约单位
  2320. type: number
  2321. currency:
  2322. description: 货币
  2323. type: string
  2324. currencysign:
  2325. description: 货币符号
  2326. type: string
  2327. decimalplace:
  2328. description: 报价小数位
  2329. type: integer
  2330. desccityid:
  2331. description: 目的地(市)ID
  2332. type: integer
  2333. descprovinceid:
  2334. description: 目的地(省)ID
  2335. type: integer
  2336. goodscode:
  2337. description: 商品代码(内部)
  2338. type: string
  2339. goodsdesc:
  2340. description: 商品详情
  2341. type: string
  2342. goodsid:
  2343. description: 商品ID(自增ID SEQ_GOODS)
  2344. type: integer
  2345. goodsname:
  2346. description: 商品名称
  2347. type: string
  2348. goodsprice:
  2349. description: 商品价格
  2350. type: number
  2351. hotindex:
  2352. description: 景点热度
  2353. type: integer
  2354. last:
  2355. description: 现价
  2356. type: number
  2357. limitdown:
  2358. description: 跌停价
  2359. type: number
  2360. limitup:
  2361. description: 涨停价
  2362. type: number
  2363. lotsize:
  2364. description: 手数最小变动单位
  2365. type: integer
  2366. marketid:
  2367. description: 所属市场ID
  2368. type: integer
  2369. picurls:
  2370. description: 介绍图片[多张用逗号分隔]
  2371. type: string
  2372. quoteminunit:
  2373. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2374. type: integer
  2375. stepvalue:
  2376. description: 价格最小变动单位
  2377. type: number
  2378. trademode:
  2379. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2380. 21:竞拍-大宗式 22:受托竞价
  2381. type: integer
  2382. vendorattr:
  2383. description: 供应商附件(多张,逗号分隔)
  2384. type: string
  2385. vendorname:
  2386. description: 供应商名称
  2387. type: string
  2388. vendorphone:
  2389. description: 供应商客服电话
  2390. type: string
  2391. videourls:
  2392. description: 介绍视频[多张用逗号分隔]
  2393. type: string
  2394. required:
  2395. - goodscode
  2396. - goodsid
  2397. - goodsname
  2398. - marketid
  2399. - trademode
  2400. type: object
  2401. models.HsbyMarketGoods:
  2402. properties:
  2403. accountid:
  2404. description: 账户ID[报价币种]
  2405. type: integer
  2406. agreeunit:
  2407. description: 合约单位
  2408. type: number
  2409. buyorsell:
  2410. description: 买卖 - 0:买 1:卖
  2411. type: integer
  2412. categoryid:
  2413. description: 类别ID(WRCATEGORY)
  2414. type: integer
  2415. currency:
  2416. description: 货币
  2417. type: string
  2418. currencysign:
  2419. description: 货币符号
  2420. type: string
  2421. customername:
  2422. description: 卖家名称
  2423. type: string
  2424. decimalplace:
  2425. description: 报价小数位
  2426. type: integer
  2427. goodscode:
  2428. description: 商品代码(内部)
  2429. type: string
  2430. goodsid:
  2431. description: 商品ID
  2432. type: integer
  2433. goodsname:
  2434. description: 商品名称
  2435. type: string
  2436. hascoupon:
  2437. description: 是否可用优惠卷
  2438. type: boolean
  2439. hotindex:
  2440. description: 景点热度
  2441. type: integer
  2442. marketid:
  2443. description: 市场ID
  2444. type: integer
  2445. orderid:
  2446. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2447. type: string
  2448. orderprice:
  2449. description: 委托价格
  2450. type: number
  2451. orderstatus:
  2452. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2453. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2454. 16:成交失败违约(荷兰式竞拍专用)
  2455. type: integer
  2456. picurls:
  2457. description: 介绍图片[多张用逗号分隔]
  2458. type: string
  2459. quoteminunit:
  2460. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2461. type: integer
  2462. sellUserID:
  2463. description: 卖方UserID
  2464. type: integer
  2465. trademode:
  2466. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2467. 21:竞拍-大宗式 22:受托竞价
  2468. type: integer
  2469. videourls:
  2470. description: 介绍视频[多张用逗号分隔]
  2471. type: string
  2472. required:
  2473. - accountid
  2474. - buyorsell
  2475. - goodscode
  2476. - goodsid
  2477. - goodsname
  2478. - marketid
  2479. - orderid
  2480. - trademode
  2481. type: object
  2482. models.HsbyMarketGoodsDetail:
  2483. properties:
  2484. accountid:
  2485. description: 账户ID[报价币种]
  2486. type: integer
  2487. agreeunit:
  2488. description: 合约单位
  2489. type: number
  2490. buyorsell:
  2491. description: 买卖 - 0:买 1:卖
  2492. type: integer
  2493. cancelqty:
  2494. description: 撤单数量
  2495. type: integer
  2496. categoryid:
  2497. description: 类别ID(WRCATEGORY)
  2498. type: integer
  2499. currency:
  2500. description: 货币
  2501. type: string
  2502. currencysign:
  2503. description: 货币符号
  2504. type: string
  2505. customername:
  2506. description: 卖家名称
  2507. type: string
  2508. decimalplace:
  2509. description: 报价小数位
  2510. type: integer
  2511. goodscode:
  2512. description: 商品代码(内部)
  2513. type: string
  2514. goodsdesc:
  2515. description: 商品详情
  2516. type: string
  2517. goodsid:
  2518. description: 商品ID
  2519. type: integer
  2520. goodsname:
  2521. description: 商品名称
  2522. type: string
  2523. hotindex:
  2524. description: 景点热度
  2525. type: integer
  2526. marketid:
  2527. description: 市场ID
  2528. type: integer
  2529. orderid:
  2530. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2531. type: string
  2532. orderprice:
  2533. description: 委托价格
  2534. type: number
  2535. orderqty:
  2536. description: 委托数量
  2537. type: integer
  2538. orderstatus:
  2539. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2540. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2541. 16:成交失败违约(荷兰式竞拍专用)
  2542. type: integer
  2543. picurls:
  2544. description: 介绍图片[多张用逗号分隔]
  2545. type: string
  2546. quoteminunit:
  2547. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2548. type: integer
  2549. sellUserID:
  2550. description: 卖方UserID
  2551. type: integer
  2552. trademode:
  2553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2554. 21:竞拍-大宗式 22:受托竞价
  2555. type: integer
  2556. tradeqty:
  2557. description: 成交数量
  2558. type: integer
  2559. vendorname:
  2560. description: 供应商名称
  2561. type: string
  2562. videourls:
  2563. description: 介绍视频[多张用逗号分隔]
  2564. type: string
  2565. required:
  2566. - accountid
  2567. - buyorsell
  2568. - goodscode
  2569. - goodsid
  2570. - goodsname
  2571. - marketid
  2572. - orderid
  2573. - orderqty
  2574. - trademode
  2575. type: object
  2576. models.HsbyMarketInfo:
  2577. properties:
  2578. marketid:
  2579. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  2580. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  2581. type: integer
  2582. marketname:
  2583. description: 市场名称
  2584. type: string
  2585. marketstatus:
  2586. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  2587. type: integer
  2588. trademode:
  2589. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2590. 21:竞拍-大宗式 22:受托竞价
  2591. type: integer
  2592. required:
  2593. - marketid
  2594. - marketstatus
  2595. - trademode
  2596. type: object
  2597. models.HsbyMyGoods:
  2598. properties:
  2599. accountid:
  2600. description: 账号Id
  2601. type: integer
  2602. agreeunit:
  2603. description: 合约单位
  2604. type: number
  2605. buyaverageprice:
  2606. description: 持仓均价
  2607. type: number
  2608. buycurholderamount:
  2609. description: 买当前持仓总金额[商品币种]
  2610. type: number
  2611. buycurpositionqty:
  2612. description: 买当前持仓总数量
  2613. type: integer
  2614. currencysign:
  2615. description: 货币符号
  2616. type: string
  2617. decimalplace:
  2618. description: 报价小数位
  2619. type: integer
  2620. enableqty:
  2621. description: 可用数量
  2622. type: integer
  2623. goodscode:
  2624. description: 商品代码(内部)
  2625. type: string
  2626. goodsid:
  2627. description: 商品Id
  2628. type: integer
  2629. goodsname:
  2630. description: 商品名称
  2631. type: string
  2632. goodsstatus:
  2633. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  2634. type: integer
  2635. picurls:
  2636. description: 介绍图片[多张用逗号分隔]
  2637. type: string
  2638. trademode:
  2639. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2640. 21:竞拍-大宗式 22:受托竞价
  2641. type: integer
  2642. required:
  2643. - accountid
  2644. - goodscode
  2645. - goodsid
  2646. - goodsname
  2647. - trademode
  2648. type: object
  2649. models.HsbyMyPackage:
  2650. properties:
  2651. accountid:
  2652. description: 账户ID
  2653. type: integer
  2654. address:
  2655. description: 提货人详细地址
  2656. type: string
  2657. agreeunit:
  2658. description: 合约单位
  2659. type: number
  2660. amount:
  2661. description: 提货金额
  2662. type: number
  2663. auditer:
  2664. description: 审核人
  2665. type: integer
  2666. audittime:
  2667. description: 审核时间
  2668. type: string
  2669. averageprice:
  2670. description: 均价
  2671. type: number
  2672. cardnum:
  2673. description: 提货人证件号码
  2674. type: string
  2675. cardtypeid:
  2676. description: 提货人证件类型
  2677. type: integer
  2678. checkremark:
  2679. description: 审核备注
  2680. type: string
  2681. currencysign:
  2682. description: 货币符号
  2683. type: string
  2684. decimalplace:
  2685. description: 报价小数位
  2686. type: integer
  2687. goodscode:
  2688. description: 商品代码(内部)
  2689. type: string
  2690. goodsid:
  2691. description: 商品ID
  2692. type: integer
  2693. goodsname:
  2694. description: 商品名称
  2695. type: string
  2696. handlestatus:
  2697. description: 处理状态
  2698. type: integer
  2699. marketid:
  2700. description: 市场ID
  2701. type: integer
  2702. phonenum:
  2703. description: 提货人联系方式
  2704. type: string
  2705. picurls:
  2706. description: 介绍图片[多张用逗号分隔]
  2707. type: string
  2708. qty:
  2709. description: 提货数量
  2710. type: number
  2711. recivername:
  2712. description: 提货人姓名
  2713. type: string
  2714. reqtime:
  2715. description: 更新时间
  2716. type: string
  2717. takemode:
  2718. description: 提货方式 - 2:自提 3:配送
  2719. type: integer
  2720. takeorderid:
  2721. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2722. type: string
  2723. takeorderstatus:
  2724. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2725. type: integer
  2726. takeremark:
  2727. description: 提货备注
  2728. type: string
  2729. tradedate:
  2730. description: 交易日(yyyyMMdd)
  2731. type: string
  2732. userid:
  2733. description: 用户ID
  2734. type: integer
  2735. vendorname:
  2736. description: 供应商名称
  2737. type: string
  2738. required:
  2739. - goodscode
  2740. - goodsname
  2741. - takeorderid
  2742. type: object
  2743. models.HsbyPreGoods:
  2744. properties:
  2745. agreeunit:
  2746. description: 合约单位
  2747. type: number
  2748. currency:
  2749. description: 货币
  2750. type: string
  2751. currencysign:
  2752. description: 货币符号
  2753. type: string
  2754. decimalplace:
  2755. description: 报价小数位
  2756. type: integer
  2757. enableqty:
  2758. description: 剩余数量
  2759. type: integer
  2760. goodscode:
  2761. description: 商品代码(内部)
  2762. type: string
  2763. goodsid:
  2764. description: 商品ID(自增ID SEQ_GOODS)
  2765. type: integer
  2766. goodsname:
  2767. description: 商品名称
  2768. type: string
  2769. goodsstatus:
  2770. description: 商品状态- 2:未上市 3:上市
  2771. type: integer
  2772. lasttradedate:
  2773. description: 最后交易日期(状态:待退市)
  2774. type: string
  2775. listingdate:
  2776. description: 交易开始日期
  2777. type: string
  2778. marketid:
  2779. description: 所属市场ID
  2780. type: integer
  2781. picurls:
  2782. description: 介绍图片[多张用逗号分隔]
  2783. type: string
  2784. presaledqty:
  2785. description: 已预售量(预售结束时更新)
  2786. type: integer
  2787. presaleqty:
  2788. description: 预售数量
  2789. type: integer
  2790. quoteminunit:
  2791. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2792. type: integer
  2793. refprice:
  2794. description: 参考价格[一口价]
  2795. type: number
  2796. relatedgoodsid:
  2797. description: 关联交易合约ID
  2798. type: integer
  2799. trademode:
  2800. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2801. 21:竞拍-大宗式 22:受托竞价
  2802. type: integer
  2803. videourls:
  2804. description: 介绍视频[多张用逗号分隔]
  2805. type: string
  2806. required:
  2807. - goodscode
  2808. - goodsid
  2809. - goodsname
  2810. - marketid
  2811. - trademode
  2812. type: object
  2813. models.HsbyPreGoodsDetail:
  2814. properties:
  2815. agreeunit:
  2816. description: 合约单位
  2817. type: number
  2818. buymaxqty:
  2819. description: 购买上限 [71] - 0为不限
  2820. type: integer
  2821. currency:
  2822. description: 货币
  2823. type: string
  2824. currencysign:
  2825. description: 货币符号
  2826. type: string
  2827. customername:
  2828. description: 发行单位
  2829. type: string
  2830. decimalplace:
  2831. description: 报价小数位
  2832. type: integer
  2833. desccityid:
  2834. description: 目的地(市)ID
  2835. type: integer
  2836. descprovinceid:
  2837. description: 目的地(省)ID
  2838. type: integer
  2839. enableqty:
  2840. description: 剩余数量
  2841. type: integer
  2842. goodscode:
  2843. description: 商品代码(内部)
  2844. type: string
  2845. goodsdesc:
  2846. description: 商品详情
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID(自增ID SEQ_GOODS)
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. goodsstatus:
  2855. description: 商品状态- 2:未上市 3:上市
  2856. type: integer
  2857. goodunit:
  2858. description: 报价单位
  2859. type: string
  2860. lasttradedate:
  2861. description: 最后交易日期(状态:待退市)
  2862. type: string
  2863. listingdate:
  2864. description: 交易开始日期
  2865. type: string
  2866. lotsize:
  2867. description: 手数最小变动单位
  2868. type: integer
  2869. marketid:
  2870. description: 所属市场ID
  2871. type: integer
  2872. picurls:
  2873. description: 介绍图片[多张用逗号分隔]
  2874. type: string
  2875. presaledqty:
  2876. description: 已预售量(预售结束时更新)
  2877. type: integer
  2878. presaleqty:
  2879. description: 预售数量
  2880. type: integer
  2881. quoteminunit:
  2882. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2883. type: integer
  2884. refprice:
  2885. description: 参考价格[一口价]
  2886. type: number
  2887. relatedgoodsid:
  2888. description: 关联交易合约ID
  2889. type: integer
  2890. stepvalue:
  2891. description: 价格最小变动单位
  2892. type: number
  2893. trademode:
  2894. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2895. 21:竞拍-大宗式 22:受托竞价
  2896. type: integer
  2897. vendorattr:
  2898. description: 供应商附件(多张,逗号分隔)
  2899. type: string
  2900. vendorname:
  2901. description: 供应商名称
  2902. type: string
  2903. vendorphone:
  2904. description: 供应商客服电话
  2905. type: string
  2906. videourls:
  2907. description: 介绍视频[多张用逗号分隔]
  2908. type: string
  2909. required:
  2910. - goodscode
  2911. - goodsid
  2912. - goodsname
  2913. - marketid
  2914. - trademode
  2915. type: object
  2916. models.HsbySellCollectionOrder:
  2917. properties:
  2918. agreeunit:
  2919. description: 合约单位
  2920. type: number
  2921. buyaccountid:
  2922. description: 买方账号ID[报价币种]
  2923. type: integer
  2924. buyorderid:
  2925. description: 买方委托单号
  2926. type: string
  2927. createtime:
  2928. description: 创建时间
  2929. type: string
  2930. currencysign:
  2931. description: 货币符号
  2932. type: string
  2933. decimalplace:
  2934. description: 报价小数位
  2935. type: integer
  2936. goodscode:
  2937. description: 商品代码(内部)
  2938. type: string
  2939. goodsid:
  2940. description: 商品ID
  2941. type: integer
  2942. goodsname:
  2943. description: 商品名称
  2944. type: string
  2945. marketid:
  2946. description: 市场ID
  2947. type: integer
  2948. offamount:
  2949. description: 优惠金额
  2950. type: number
  2951. payamount:
  2952. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2953. type: number
  2954. payflag:
  2955. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2956. type: integer
  2957. paylimitedtime:
  2958. description: 支付期限
  2959. type: string
  2960. paytime:
  2961. description: 付款时间
  2962. type: string
  2963. picurls:
  2964. description: 商品介绍图片[多张用逗号分隔]
  2965. type: string
  2966. sellaccountid:
  2967. description: 卖方账号ID[报价币种]
  2968. type: integer
  2969. sellorderid:
  2970. description: 卖方委托单号
  2971. type: string
  2972. tradeamount:
  2973. description: 成交金额
  2974. type: number
  2975. tradecharge:
  2976. description: 成交手续费(买方)
  2977. type: number
  2978. tradedate:
  2979. description: 交易日(yyyyMMdd)
  2980. type: string
  2981. tradeid:
  2982. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2983. type: string
  2984. trademode:
  2985. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2986. 21:竞拍-大宗式 22:受托竞价
  2987. type: integer
  2988. tradeprice:
  2989. description: 成交价格
  2990. type: number
  2991. tradeqty:
  2992. description: 成交数量
  2993. type: integer
  2994. required:
  2995. - goodscode
  2996. - goodsname
  2997. - tradeid
  2998. - trademode
  2999. type: object
  3000. models.HsbySellMyDetail:
  3001. properties:
  3002. accountid:
  3003. description: 账户ID[报价币种]
  3004. type: integer
  3005. agreeunit:
  3006. description: 合约单位
  3007. type: number
  3008. buyorsell:
  3009. description: 买卖 - 0:买 1:卖
  3010. type: integer
  3011. currencysign:
  3012. description: 货币符号
  3013. type: string
  3014. decimalplace:
  3015. description: 报价小数位
  3016. type: integer
  3017. goodscode:
  3018. description: 商品代码(内部)
  3019. type: string
  3020. goodsid:
  3021. description: 商品ID
  3022. type: integer
  3023. goodsname:
  3024. description: 商品名称
  3025. type: string
  3026. marketid:
  3027. description: 市场ID
  3028. type: integer
  3029. orderid:
  3030. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  3031. type: string
  3032. ordertype:
  3033. description: 单据类型:0 - 发布中, 1 - 已完成
  3034. type: integer
  3035. picurls:
  3036. description: 介绍图片[多张用逗号分隔]
  3037. type: string
  3038. price:
  3039. description: 价格
  3040. type: number
  3041. qty:
  3042. description: 数量
  3043. type: integer
  3044. time:
  3045. description: 时间
  3046. type: string
  3047. trademode:
  3048. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3049. 21:竞拍-大宗式 22:受托竞价
  3050. type: integer
  3051. vendorname:
  3052. description: 供应商名称
  3053. type: string
  3054. required:
  3055. - accountid
  3056. - buyorsell
  3057. - goodscode
  3058. - goodsid
  3059. - goodsname
  3060. - marketid
  3061. - orderid
  3062. - time
  3063. - trademode
  3064. type: object
  3065. models.HsbyTopGoods:
  3066. properties:
  3067. agreeunit:
  3068. description: 合约单位
  3069. type: number
  3070. currency:
  3071. description: 货币
  3072. type: string
  3073. currencysign:
  3074. description: 货币符号
  3075. type: string
  3076. decimalplace:
  3077. description: 报价小数位
  3078. type: integer
  3079. goodscode:
  3080. description: 商品代码(内部)
  3081. type: string
  3082. goodsid:
  3083. description: 商品ID(自增ID SEQ_GOODS)
  3084. type: integer
  3085. goodsname:
  3086. description: 商品名称
  3087. type: string
  3088. hotindex:
  3089. description: 景点热度
  3090. type: integer
  3091. last:
  3092. description: 现价
  3093. type: number
  3094. marketid:
  3095. description: 所属市场ID
  3096. type: integer
  3097. picurls:
  3098. description: 介绍图片[多张用逗号分隔]
  3099. type: string
  3100. quoteminunit:
  3101. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3102. type: integer
  3103. trademode:
  3104. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3105. 21:竞拍-大宗式 22:受托竞价
  3106. type: integer
  3107. videourls:
  3108. description: 介绍视频[多张用逗号分隔]
  3109. type: string
  3110. required:
  3111. - goodscode
  3112. - goodsid
  3113. - goodsname
  3114. - marketid
  3115. - trademode
  3116. type: object
  3117. models.HybsMyBuyOrderDetail:
  3118. properties:
  3119. accountid:
  3120. description: 账户ID[报价币种]
  3121. type: integer
  3122. agreeunit:
  3123. description: 合约单位
  3124. type: number
  3125. buyorsell:
  3126. description: 买卖 - 0:买 1:卖
  3127. type: integer
  3128. cancelqty:
  3129. description: 撤单数量
  3130. type: integer
  3131. currencysign:
  3132. description: 货币符号
  3133. type: string
  3134. decimalplace:
  3135. description: 报价小数位
  3136. type: integer
  3137. goodscode:
  3138. description: 商品代码(内部)
  3139. type: string
  3140. goodsid:
  3141. description: 商品ID
  3142. type: integer
  3143. goodsname:
  3144. description: 商品名称
  3145. type: string
  3146. listingselecttype:
  3147. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3148. type: integer
  3149. marketid:
  3150. description: 市场ID
  3151. type: integer
  3152. mybuystatus:
  3153. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  3154. type: integer
  3155. orderamount:
  3156. description: 委托金额
  3157. type: number
  3158. orderid:
  3159. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3160. type: string
  3161. orderprice:
  3162. description: 委托价格
  3163. type: number
  3164. orderqty:
  3165. description: 委托数量
  3166. type: integer
  3167. orderstatus:
  3168. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3169. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3170. 16:成交失败违约(荷兰式竞拍专用)
  3171. type: integer
  3172. ordertime:
  3173. description: 委托时间
  3174. type: string
  3175. picurls1:
  3176. description: 预售商品介绍图片[多张用逗号分隔]
  3177. type: string
  3178. picurls2:
  3179. description: 挂牌商品介绍图片[多张用逗号分隔]
  3180. type: string
  3181. trademode:
  3182. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3183. 21:竞拍-大宗式 22:受托竞价
  3184. type: integer
  3185. tradeqty:
  3186. description: 成交数量
  3187. type: integer
  3188. vendorname1:
  3189. description: 预售商品供应商名称
  3190. type: string
  3191. vendorname2:
  3192. description: 挂牌商品供应商名称
  3193. type: string
  3194. required:
  3195. - accountid
  3196. - buyorsell
  3197. - goodscode
  3198. - goodsid
  3199. - goodsname
  3200. - marketid
  3201. - orderid
  3202. - orderqty
  3203. - ordertime
  3204. - trademode
  3205. type: object
  3206. models.Marketrun:
  3207. properties:
  3208. afternexttradedate:
  3209. description: 下下交易日
  3210. type: string
  3211. clearquoteflag:
  3212. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  3213. type: integer
  3214. lastreckondate:
  3215. description: 最新交易日(结算成功)
  3216. type: string
  3217. machinedate:
  3218. description: 机器时间
  3219. type: string
  3220. manualflag:
  3221. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  3222. type: integer
  3223. marketid:
  3224. description: 市场ID
  3225. type: integer
  3226. nexttradedate:
  3227. description: 下一交易日
  3228. type: string
  3229. pretradedate:
  3230. description: 上一交易日
  3231. type: string
  3232. reckonflag:
  3233. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  3234. type: integer
  3235. runstatus:
  3236. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  3237. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  3238. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  3239. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  3240. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  3241. 62.今日免清算
  3242. type: integer
  3243. sectionid:
  3244. description: 时间段号[多时段时用]
  3245. type: integer
  3246. tradedate:
  3247. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  3248. type: string
  3249. tradedate2:
  3250. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  3251. type: string
  3252. updatetime:
  3253. description: 更新时间
  3254. type: string
  3255. required:
  3256. - marketid
  3257. - nexttradedate
  3258. - reckonflag
  3259. - runstatus
  3260. - tradedate
  3261. - tradedate2
  3262. type: object
  3263. models.Messageboard:
  3264. properties:
  3265. createtime:
  3266. description: 创建时间
  3267. type: string
  3268. message:
  3269. description: 留言信息
  3270. type: string
  3271. messageboardid:
  3272. description: 留言簿ID(SEQ_MessageBoard)
  3273. type: integer
  3274. userid:
  3275. description: 用户ID
  3276. type: integer
  3277. required:
  3278. - messageboardid
  3279. type: object
  3280. models.MyCoupon:
  3281. properties:
  3282. accountid:
  3283. description: 资金账户ID
  3284. type: integer
  3285. areauserid:
  3286. description: 所属机构
  3287. type: integer
  3288. conditionvalue:
  3289. description: 条件阈值(可为0)
  3290. type: number
  3291. couponcategroy:
  3292. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  3293. type: integer
  3294. couponname:
  3295. description: 优惠券名称
  3296. type: string
  3297. coupontypeid:
  3298. description: 优惠券类型ID
  3299. type: string
  3300. couponvalue:
  3301. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3302. type: number
  3303. curfreezeqty:
  3304. description: 期末冻结数量
  3305. type: integer
  3306. curqty:
  3307. description: 期末数量
  3308. type: integer
  3309. isgeneral:
  3310. description: 是否通用券 - 0:否 1:是
  3311. type: integer
  3312. isunusable:
  3313. description: 是否不可用
  3314. type: boolean
  3315. limitedflag:
  3316. description: 是否指定商品 - 0:不限 1:限制
  3317. type: integer
  3318. limitedgoodsids:
  3319. description: 指定商品IDs[逗号分隔,前后加逗号]
  3320. type: string
  3321. orifreezeqty:
  3322. description: 期初冻结数量
  3323. type: integer
  3324. oriqty:
  3325. description: 期初数量
  3326. type: integer
  3327. reasontype:
  3328. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  3329. type: integer
  3330. todaydecrease:
  3331. description: 今日减少
  3332. type: integer
  3333. todayincrease:
  3334. description: 今日增加
  3335. type: integer
  3336. userid:
  3337. description: 用户ID
  3338. type: integer
  3339. userscope:
  3340. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  3341. type: string
  3342. required:
  3343. - accountid
  3344. - coupontypeid
  3345. type: object
  3346. models.MyCouponHold:
  3347. properties:
  3348. accountid:
  3349. description: 资金账户ID
  3350. type: integer
  3351. conditionvalue:
  3352. description: 条件阈值(可为0)
  3353. type: number
  3354. couponcategroy:
  3355. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  3356. type: integer
  3357. couponholdid:
  3358. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  3359. type: string
  3360. couponname:
  3361. description: 优惠券名称
  3362. type: string
  3363. coupontypeid:
  3364. description: 优惠券类型ID - SEQ_COUPONTYPE
  3365. type: string
  3366. couponvalue:
  3367. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3368. type: number
  3369. createtime:
  3370. description: 创建时间
  3371. type: string
  3372. enddate:
  3373. description: 结束日期
  3374. type: string
  3375. giveapplyid:
  3376. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  3377. type: integer
  3378. holdstatus:
  3379. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  3380. type: integer
  3381. isgeneral:
  3382. description: 是否通用券 - 0:否 1:是
  3383. type: integer
  3384. limitedflag:
  3385. description: 是否指定商品 - 0:不限 1:限制
  3386. type: integer
  3387. limitedgoodsids:
  3388. description: 指定商品IDs[逗号分隔]
  3389. type: string
  3390. qty:
  3391. description: 数量(按1平铺)
  3392. type: integer
  3393. startdate:
  3394. description: 开始日期
  3395. type: string
  3396. userid:
  3397. description: 用户ID
  3398. type: integer
  3399. userscope:
  3400. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  3401. type: string
  3402. required:
  3403. - couponholdid
  3404. type: object
  3405. models.MyUsedCoupon:
  3406. properties:
  3407. accountid:
  3408. description: 资金账户ID(买方)
  3409. type: integer
  3410. conditionvalue:
  3411. description: 条件阈值(可为0)
  3412. type: number
  3413. couponcategroy:
  3414. description: 种类 - 1:现金券 2:折扣券
  3415. type: integer
  3416. couponname:
  3417. description: 优惠券名称
  3418. type: string
  3419. coupontypeid:
  3420. description: 优惠券类型ID(买方)
  3421. type: string
  3422. couponvalue:
  3423. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  3424. type: number
  3425. createtime:
  3426. description: 创建时间
  3427. type: string
  3428. goodsid:
  3429. description: 商品ID
  3430. type: integer
  3431. handlestatus:
  3432. description: 处理状态
  3433. type: integer
  3434. marketid:
  3435. description: 市场ID
  3436. type: integer
  3437. offamount:
  3438. description: 优惠金额
  3439. type: number
  3440. orderid:
  3441. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3442. type: string
  3443. sellaccountid:
  3444. description: 资金账户ID(卖方)
  3445. type: integer
  3446. tradeamount:
  3447. description: 成交金额
  3448. type: number
  3449. tradeid:
  3450. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3451. type: string
  3452. usedqty:
  3453. description: 使用数量
  3454. type: integer
  3455. required:
  3456. - coupontypeid
  3457. - orderid
  3458. type: object
  3459. models.OperationPrimaryMenu:
  3460. properties:
  3461. Children:
  3462. description: 二级功能菜单
  3463. items:
  3464. $ref: '#/definitions/models.OperationSecondaryMenu'
  3465. type: array
  3466. Key:
  3467. description: 菜单KEY
  3468. type: string
  3469. Label:
  3470. description: 菜单标题
  3471. type: string
  3472. type: object
  3473. models.OperationSecondaryMenu:
  3474. properties:
  3475. Key:
  3476. description: 菜单KEY
  3477. type: string
  3478. Label:
  3479. description: 菜单标题
  3480. type: string
  3481. TabList:
  3482. description: 三级功能菜单
  3483. items:
  3484. $ref: '#/definitions/models.OperationTabMenu'
  3485. type: array
  3486. type: object
  3487. models.OperationTabMenu:
  3488. properties:
  3489. Key:
  3490. description: 菜单KEY
  3491. type: string
  3492. Label:
  3493. description: 菜单标题
  3494. type: string
  3495. type: object
  3496. models.QuotePrimaryMenu:
  3497. properties:
  3498. Index:
  3499. description: 序号
  3500. type: integer
  3501. Key:
  3502. description: 键名
  3503. type: string
  3504. Name:
  3505. description: 菜单名称
  3506. type: string
  3507. SubMenus:
  3508. description: 子菜单
  3509. items:
  3510. $ref: '#/definitions/models.QuoteSecondaryMenu'
  3511. type: array
  3512. SubTitleType:
  3513. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  3514. type: integer
  3515. TradeModes:
  3516. description: 包含市场交易类型
  3517. type: string
  3518. type: object
  3519. models.QuoteSecondaryMenu:
  3520. properties:
  3521. ExExchangeCode:
  3522. description: 外部交易所代码
  3523. type: string
  3524. ExExchangeID:
  3525. description: 外部交易所ID
  3526. type: integer
  3527. GoodsGroupIDs:
  3528. description: 商品组ID列表
  3529. items:
  3530. type: integer
  3531. type: array
  3532. Index:
  3533. description: 序号
  3534. type: integer
  3535. MarketID:
  3536. description: 市场ID
  3537. type: integer
  3538. MenuTitle:
  3539. description: 菜单标题(市场名称或外部交易所名称)
  3540. type: string
  3541. TradeMode:
  3542. description: 交易模式
  3543. type: integer
  3544. type: object
  3545. models.SearchGoods:
  3546. properties:
  3547. goodscode:
  3548. description: 商品代码(内部)
  3549. type: string
  3550. goodsid:
  3551. description: 商品ID(自增ID SEQ_GOODS)
  3552. type: integer
  3553. goodsname:
  3554. description: 商品名称
  3555. type: string
  3556. marketid:
  3557. description: 所属市场ID
  3558. type: integer
  3559. marketname:
  3560. description: 市场名称
  3561. type: string
  3562. trademode:
  3563. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3564. 21:竞拍-大宗式 22:受托竞价
  3565. type: integer
  3566. required:
  3567. - goodscode
  3568. - goodsid
  3569. - goodsname
  3570. - marketid
  3571. - trademode
  3572. type: object
  3573. models.Szdz2imageconfig:
  3574. properties:
  3575. configid:
  3576. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  3577. type: integer
  3578. imagepath:
  3579. description: 图片
  3580. type: string
  3581. imagetype:
  3582. description: 类型 - 1:App首页轮播 2:我的
  3583. type: integer
  3584. sort:
  3585. description: 排序
  3586. type: integer
  3587. title:
  3588. description: 标题
  3589. type: string
  3590. url:
  3591. description: 链接
  3592. type: string
  3593. required:
  3594. - configid
  3595. type: object
  3596. models.Szdz3convertconfig:
  3597. properties:
  3598. canin:
  3599. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  3600. type: integer
  3601. canout:
  3602. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  3603. type: integer
  3604. converttype:
  3605. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  3606. 6:交易转花生米(不设置)
  3607. type: integer
  3608. createtime:
  3609. description: 创建时间
  3610. type: string
  3611. creatorid:
  3612. description: 创建人
  3613. type: integer
  3614. daymaxvalue:
  3615. description: 当日最大转入限制
  3616. type: number
  3617. freezedays:
  3618. description: 冻结天数 [5:花生米转交易]
  3619. type: integer
  3620. innergoodsid:
  3621. description: 内部商品ID[交易]
  3622. type: integer
  3623. inratio:
  3624. description: 目标值
  3625. type: integer
  3626. modifierid:
  3627. description: 修改人
  3628. type: integer
  3629. modifytime:
  3630. description: 修改时间
  3631. type: string
  3632. outergoodscode:
  3633. description: 外部商品代码[JD\PD]
  3634. type: string
  3635. outratio:
  3636. description: 源值
  3637. type: integer
  3638. pddecimalplace:
  3639. description: PD小数位
  3640. type: integer
  3641. timemaxvalue:
  3642. description: 单次最大转入限制
  3643. type: number
  3644. timeminvalue:
  3645. description: 单次最小转入限制
  3646. type: number
  3647. required:
  3648. - converttype
  3649. - innergoodsid
  3650. - outergoodscode
  3651. type: object
  3652. models.Szdz3searchwhitelist:
  3653. properties:
  3654. createtime:
  3655. description: 创建时间
  3656. type: string
  3657. creatorid:
  3658. description: 创建人
  3659. type: integer
  3660. modifierid:
  3661. description: 修改人
  3662. type: integer
  3663. modifytime:
  3664. description: 修改时间
  3665. type: string
  3666. userid:
  3667. description: 用户ID
  3668. type: integer
  3669. required:
  3670. - userid
  3671. type: object
  3672. models.Tablecolumnconfig:
  3673. properties:
  3674. aligntype:
  3675. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  3676. type: integer
  3677. autoid:
  3678. description: AutoID
  3679. type: integer
  3680. columnfield:
  3681. description: 列字段
  3682. type: string
  3683. columntitle:
  3684. description: 列Title
  3685. type: string
  3686. columnwidth:
  3687. description: 列宽
  3688. type: string
  3689. formatterstring:
  3690. description: 格式化字符
  3691. type: string
  3692. formattertype:
  3693. description: 格式化类型
  3694. type: string
  3695. groupname:
  3696. description: 表头分组名称
  3697. type: string
  3698. isshow:
  3699. description: 是否显示 - 0:不显示 1:显示
  3700. type: integer
  3701. needsummary:
  3702. description: 是否需要汇总 - 0:不需要 1:需要
  3703. type: integer
  3704. orderindex:
  3705. description: 顺序
  3706. type: integer
  3707. remark:
  3708. description: 备注
  3709. type: string
  3710. summarytype:
  3711. description: 汇总类型 - 1:加总 2:最后一个
  3712. type: integer
  3713. tablekey:
  3714. description: 列表Key
  3715. type: string
  3716. required:
  3717. - autoid
  3718. type: object
  3719. models.Useraccount:
  3720. properties:
  3721. accountname:
  3722. description: 账户名称(机构名称)
  3723. type: string
  3724. accountstatus:
  3725. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  3726. type: integer
  3727. auditremark:
  3728. description: 审核备注
  3729. type: string
  3730. audittime:
  3731. description: 审核时间
  3732. type: string
  3733. audituserid:
  3734. description: 审核人
  3735. type: integer
  3736. broker:
  3737. description: 所属经纪人ID
  3738. type: integer
  3739. canceltime:
  3740. description: 销户时间
  3741. type: string
  3742. canceluserid:
  3743. description: 销户人
  3744. type: integer
  3745. createtime:
  3746. description: 创建时间
  3747. type: string
  3748. creatorid:
  3749. description: 创建人
  3750. type: integer
  3751. hasauth:
  3752. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  3753. type: integer
  3754. isanonymous:
  3755. description: 是否匿名下单 - 0:否 1:是
  3756. type: integer
  3757. maxinvestornum:
  3758. description: 最大用户数(经纪会员下投资者个数)
  3759. type: integer
  3760. memberuserid:
  3761. description: 所属会员ID
  3762. type: integer
  3763. modifierid:
  3764. description: 修改人
  3765. type: integer
  3766. modifyremark:
  3767. description: 变更备注
  3768. type: string
  3769. modifystatus:
  3770. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  3771. type: integer
  3772. modifytime:
  3773. description: 修改时间
  3774. type: string
  3775. parentuserid:
  3776. description: 所属机构ID
  3777. type: integer
  3778. reckonaccountid:
  3779. description: 默认结算资金账号ID(机构分润使用) 作废
  3780. type: integer
  3781. refercount:
  3782. description: 推荐总人数
  3783. type: integer
  3784. refereeuserid:
  3785. description: 推荐人ID
  3786. type: integer
  3787. refernum:
  3788. description: 推荐码
  3789. type: string
  3790. subarealevelpath:
  3791. description: 子机构层级路径(逗号分隔,首尾加逗号)
  3792. type: string
  3793. userid:
  3794. description: 用户ID
  3795. type: integer
  3796. usertype:
  3797. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3798. type: integer
  3799. required:
  3800. - userid
  3801. type: object
  3802. models.Userfavoritegoods:
  3803. properties:
  3804. goodsid:
  3805. description: 商品ID
  3806. type: integer
  3807. required:
  3808. - goodsid
  3809. type: object
  3810. models.Userinfo:
  3811. properties:
  3812. address:
  3813. description: 地址
  3814. type: string
  3815. attachment1:
  3816. description: 附件1
  3817. type: string
  3818. attachment2:
  3819. description: 附件2
  3820. type: string
  3821. bankaccount:
  3822. description: 银行帐号 (加密存储)
  3823. type: string
  3824. bankaccountname:
  3825. description: 收款人名称
  3826. type: string
  3827. bankcardfrontphotourl:
  3828. description: 银行卡正面照地址
  3829. type: string
  3830. bankid:
  3831. description: 银行编码
  3832. type: string
  3833. bankname:
  3834. description: 银行名称
  3835. type: string
  3836. biznature:
  3837. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3838. type: integer
  3839. bizscope:
  3840. description: 企业经营范围(企业)
  3841. type: string
  3842. cardbackphotourl:
  3843. description: 证件背面图片地址
  3844. type: string
  3845. cardfrontphotourl:
  3846. description: 证件正面图片地址
  3847. type: string
  3848. cardnum:
  3849. description: 证件号码(加密存储)
  3850. type: string
  3851. cardtypeid:
  3852. description: 证件类型ID
  3853. type: integer
  3854. cityid:
  3855. description: 市
  3856. type: integer
  3857. company:
  3858. description: 公司(个人)
  3859. type: string
  3860. contactname:
  3861. description: 联系人
  3862. type: string
  3863. countryid:
  3864. description: 国家
  3865. type: integer
  3866. createtime:
  3867. description: 创建时间
  3868. type: string
  3869. creatorid:
  3870. description: 创建人
  3871. type: integer
  3872. customername:
  3873. description: 客户名称(企业名称)
  3874. type: string
  3875. districtid:
  3876. description: 地区
  3877. type: integer
  3878. email:
  3879. description: 邮件(加密存储)
  3880. type: string
  3881. fax:
  3882. description: 传真(加密存储)
  3883. type: string
  3884. halfbodyphotourl:
  3885. description: 半身照地址
  3886. type: string
  3887. hasencrypt:
  3888. description: 数据是否已加密 - 0:未加密 1:已加密
  3889. type: integer
  3890. headurl:
  3891. description: 头像地址
  3892. type: string
  3893. legalcardbackphotourl:
  3894. description: 法人身份证背面照地址
  3895. type: string
  3896. legalcardfrontphotourl:
  3897. description: 法人身份证正面照地址
  3898. type: string
  3899. legalpersonname:
  3900. description: 法人姓名(企业)
  3901. type: string
  3902. mobile:
  3903. description: 手机号码(加密存储)
  3904. type: string
  3905. mobile2:
  3906. description: 手机号码[明文-尚志]
  3907. type: string
  3908. modifierid:
  3909. description: 修改人
  3910. type: integer
  3911. modifiertime:
  3912. description: 修改时间
  3913. type: string
  3914. needinvoice:
  3915. description: 是否需要发票 - 0:不需要 1:需要
  3916. type: integer
  3917. nickname:
  3918. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3919. type: string
  3920. openmode:
  3921. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3922. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3923. type: integer
  3924. otherurl:
  3925. description: 其它图片地址[使用分号分隔]
  3926. type: string
  3927. postalcode:
  3928. description: 邮政编码
  3929. type: string
  3930. provinceid:
  3931. description: 省
  3932. type: integer
  3933. qq:
  3934. description: QQ(加密存储
  3935. type: string
  3936. remark:
  3937. description: 备注
  3938. type: string
  3939. sex:
  3940. description: '用户性别 0: 女 1: 男'
  3941. type: integer
  3942. signpdfurl:
  3943. description: 签约pdf文件
  3944. type: string
  3945. telphone:
  3946. description: 联系电话(加密存储)
  3947. type: string
  3948. userid:
  3949. description: 用户ID
  3950. type: integer
  3951. userinfotype:
  3952. description: 用户信息类型 - 1:个人 2:企业
  3953. type: integer
  3954. userstatus:
  3955. description: 用户状态 - 1:正常 2:注销
  3956. type: integer
  3957. usertype:
  3958. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3959. type: integer
  3960. wechat:
  3961. description: 微信(加密存储)
  3962. type: string
  3963. wskhinfo:
  3964. description: 开户申请信息(JSON)
  3965. type: string
  3966. required:
  3967. - userid
  3968. type: object
  3969. models.WRCategoryTree:
  3970. properties:
  3971. areauserid:
  3972. description: 所属机构
  3973. type: integer
  3974. categorydesc:
  3975. description: 类别描述
  3976. type: string
  3977. categoryid:
  3978. description: 类别ID(SEQ_WRCATEGORY)
  3979. type: integer
  3980. categoryname:
  3981. description: 类别名称
  3982. type: string
  3983. iconurl:
  3984. description: 图标地址
  3985. type: string
  3986. orderindex:
  3987. description: 顺序
  3988. type: integer
  3989. parentcategoryid:
  3990. description: 父类别ID
  3991. type: integer
  3992. subcategory:
  3993. description: 子分类
  3994. items:
  3995. $ref: '#/definitions/models.WRCategoryTree'
  3996. type: array
  3997. required:
  3998. - categoryid
  3999. type: object
  4000. models.WRStandardInfo:
  4001. properties:
  4002. createtime:
  4003. description: 创建时间
  4004. type: string
  4005. creatorid:
  4006. description: 创建人
  4007. type: integer
  4008. deliverygoodsid:
  4009. description: 品种ID
  4010. type: integer
  4011. deliverygoodsname:
  4012. description: 交割商品名称
  4013. type: string
  4014. factoryitemjson:
  4015. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  4016. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  4017. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  4018. 逗号分隔'
  4019. type: string
  4020. isvalid:
  4021. description: 是否有效 - 0:无效 1:有效
  4022. type: integer
  4023. minivalue:
  4024. description: 最小变动值
  4025. type: integer
  4026. minivaluedp:
  4027. description: 最小变动值小数位
  4028. type: integer
  4029. realminivalue:
  4030. description: 实际最小变动值
  4031. type: integer
  4032. realminivaluedp:
  4033. description: 实际最小变动值小数位
  4034. type: integer
  4035. unitid:
  4036. description: 单位ID
  4037. type: integer
  4038. unitname:
  4039. description: 单位
  4040. type: string
  4041. updatetime:
  4042. description: 更新时间
  4043. type: string
  4044. updatorid:
  4045. description: 更新人
  4046. type: integer
  4047. wrsstatus:
  4048. description: 状态 - 作废 - 0:未激活 1:正常
  4049. type: integer
  4050. wrstandardcode:
  4051. description: 仓单标准代码
  4052. type: string
  4053. wrstandardid:
  4054. description: 仓单标准ID(SEQ_WRSTANDARD)
  4055. type: integer
  4056. wrstandardname:
  4057. description: 仓单标准名称
  4058. type: string
  4059. required:
  4060. - wrstandardid
  4061. type: object
  4062. models.Warehouseinfo:
  4063. properties:
  4064. address:
  4065. description: 详细地址
  4066. type: string
  4067. areauserid:
  4068. description: 所属机构
  4069. type: integer
  4070. autoid:
  4071. description: 自增ID
  4072. type: integer
  4073. cityid:
  4074. description: 市
  4075. type: integer
  4076. contactname:
  4077. description: 联系人
  4078. type: string
  4079. contactnum:
  4080. description: 联系电话
  4081. type: string
  4082. countryid:
  4083. description: 国家
  4084. type: integer
  4085. createtime:
  4086. description: 创建时间
  4087. type: string
  4088. districtid:
  4089. description: 区
  4090. type: integer
  4091. hasvideo:
  4092. description: 是否有视频 - 0:无 1:有
  4093. type: integer
  4094. provinceid:
  4095. description: 省
  4096. type: integer
  4097. remark:
  4098. description: 审核备注
  4099. type: string
  4100. videourl:
  4101. description: 视频地址
  4102. type: string
  4103. warehousecode:
  4104. description: 仓库代码
  4105. type: string
  4106. warehousename:
  4107. description: 仓库名称
  4108. type: string
  4109. warehousestatus:
  4110. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4111. type: integer
  4112. warehousetype:
  4113. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4114. type: integer
  4115. required:
  4116. - autoid
  4117. - warehousecode
  4118. type: object
  4119. order.QueryHisTradeDetailRsp:
  4120. properties:
  4121. accountid:
  4122. description: 账户ID[报价币种]
  4123. type: integer
  4124. buildtype:
  4125. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4126. type: integer
  4127. buyorsell:
  4128. description: 方向 - 0:买 1:卖
  4129. type: integer
  4130. charge:
  4131. description: 手续费
  4132. type: number
  4133. closecharge:
  4134. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4135. type: number
  4136. closeexchagechargevalue:
  4137. description: 平仓交易所手续费设置值
  4138. type: number
  4139. closefeealgorithm:
  4140. description: 平仓手续费收取方式 1:比率 2:固定
  4141. type: integer
  4142. closememberchargevalue:
  4143. description: 平仓会员手续费设置值
  4144. type: number
  4145. closepl:
  4146. description: 平仓盈亏
  4147. type: number
  4148. closepl2:
  4149. description: 平仓盈亏[逐笔]
  4150. type: number
  4151. closeqty:
  4152. description: 平仓数量(先建后平操作 需要记录)
  4153. type: integer
  4154. creditamount:
  4155. description: 授信金额
  4156. type: number
  4157. gcaccountid:
  4158. description: 账户ID[合约币种]
  4159. type: integer
  4160. goodscode:
  4161. description: 商品代码
  4162. type: string
  4163. goodsid:
  4164. description: 商品ID
  4165. type: integer
  4166. goodsname:
  4167. description: 商品名称
  4168. type: string
  4169. histradedate:
  4170. description: 历史交易日
  4171. type: string
  4172. intclosepl:
  4173. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4174. type: integer
  4175. isconfirmexercise:
  4176. description: 是否确认行权- 0:否 1:是
  4177. type: integer
  4178. ismain:
  4179. description: 是否主单 - 0:不是 1:是
  4180. type: integer
  4181. ispreexercise:
  4182. description: 是否预申报- 0:否 1:是
  4183. type: integer
  4184. isreckoned:
  4185. description: 是否结算 - 0:未结算 1:已结算
  4186. type: integer
  4187. isvaliddata:
  4188. description: 是否有效 - 0:无效 1:有效
  4189. type: integer
  4190. listingselecttype:
  4191. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4192. type: integer
  4193. marketid:
  4194. description: 市场ID
  4195. type: integer
  4196. marketname:
  4197. description: 市场名称
  4198. type: string
  4199. matchaccountid:
  4200. description: 对手账号id
  4201. type: integer
  4202. memberuserid:
  4203. description: 会员id 个人投资者 需要填写
  4204. type: integer
  4205. opencharge:
  4206. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4207. type: number
  4208. openexchagechargevalue:
  4209. description: 建仓交易所手续费设置值
  4210. type: number
  4211. openfeealgorithm:
  4212. description: 建仓手续费收取方式 1:比率 2:固定
  4213. type: integer
  4214. openmemberchargevalue:
  4215. description: 建仓会员手续费设置值
  4216. type: number
  4217. openqty:
  4218. description: 开仓数量(先建后平操作 需要记录)
  4219. type: integer
  4220. optiontype:
  4221. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4222. type: integer
  4223. orderid:
  4224. description: 委托单号
  4225. type: string
  4226. performanceplanid:
  4227. description: 履约计划ID[期权]
  4228. type: integer
  4229. performancestatus:
  4230. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4231. type: integer
  4232. preexerciseprice:
  4233. description: 预申报价格
  4234. type: number
  4235. premium:
  4236. description: 权利金 - [持仓单的权利金]
  4237. type: number
  4238. relatedouttradeid:
  4239. description: 关联外部成交单ID
  4240. type: integer
  4241. status:
  4242. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4243. type: integer
  4244. tradeamount:
  4245. description: 成交金额[账户币种,用于所有权]
  4246. type: number
  4247. tradedate:
  4248. description: 交易日(yyyyMMdd)
  4249. type: string
  4250. tradeid:
  4251. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4252. type: string
  4253. trademode:
  4254. description: 交易模式
  4255. type: integer
  4256. tradeprice:
  4257. description: 成交价格
  4258. type: number
  4259. tradeproperty:
  4260. description: 交易属性
  4261. type: integer
  4262. tradeqty:
  4263. description: 成交数量
  4264. type: integer
  4265. tradetime:
  4266. description: 成交时间
  4267. type: string
  4268. tradetype:
  4269. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4270. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4271. type: integer
  4272. required:
  4273. - accountid
  4274. - buyorsell
  4275. - goodsid
  4276. - histradedate
  4277. - marketid
  4278. - memberuserid
  4279. - orderid
  4280. - tradeamount
  4281. - tradedate
  4282. - tradeid
  4283. - tradeprice
  4284. - tradeqty
  4285. - tradetime
  4286. type: object
  4287. order.QueryHisTradeOrderDetailRsp:
  4288. properties:
  4289. accountid:
  4290. description: 账户ID[报价币种]
  4291. type: integer
  4292. buildtype:
  4293. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4294. type: integer
  4295. buyorsell:
  4296. description: 买卖 - 0:买 1:卖
  4297. type: integer
  4298. cancelorderid:
  4299. description: 撤单单号(撤单时填写)
  4300. type: string
  4301. cancelqty:
  4302. description: 撤单数量
  4303. type: integer
  4304. clientordertime:
  4305. description: 客户端委托时间
  4306. type: string
  4307. clientticket:
  4308. description: 客户端流水号
  4309. type: string
  4310. clienttype:
  4311. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4312. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4313. type: integer
  4314. closeexchagechargevalue:
  4315. description: 平仓交易所手续费设置值
  4316. type: number
  4317. closefeealgorithm:
  4318. description: 平仓手续费收取方式 1:比率 2:固定
  4319. type: integer
  4320. closefreezecharge:
  4321. description: 平仓冻结手续费(先建后平操作,需要记录)
  4322. type: number
  4323. closememberchargevalue:
  4324. description: 平仓会员手续费设置值
  4325. type: number
  4326. closeqty:
  4327. description: 平仓数量(先建后平操作 需要记录)
  4328. type: integer
  4329. closetradeqty:
  4330. description: 平仓成交数量(先建后平操作,需要记录)
  4331. type: integer
  4332. closeunfreezecharge:
  4333. description: 平仓解冻手续费(先建后平操作,需要记录)
  4334. type: number
  4335. delistingtype:
  4336. description: 摘牌类型 - 1:价格最优 2:点选成交
  4337. type: integer
  4338. freezecharge:
  4339. description: 冻结手续费
  4340. type: number
  4341. freezemargin:
  4342. description: 冻结保证金(冻结交易金额)
  4343. type: number
  4344. gcaccountid:
  4345. description: 账户ID[合约币种]
  4346. type: integer
  4347. goodscode:
  4348. description: 商品代码
  4349. type: string
  4350. goodsid:
  4351. description: 商品ID
  4352. type: integer
  4353. goodsname:
  4354. description: 商品名称
  4355. type: string
  4356. histradedate:
  4357. description: 历史交易日
  4358. type: string
  4359. isconfirmexercise:
  4360. description: 是否确认行权- 0:否 1:是
  4361. type: integer
  4362. ispreexercise:
  4363. description: 是否预申报- 0:否 1:是
  4364. type: integer
  4365. isvaliddata:
  4366. description: 是否有效 - 0:无效 1:有效
  4367. type: integer
  4368. listingselecttype:
  4369. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4370. type: integer
  4371. marginalgorithm:
  4372. description: 保证金收取方式 1:比率 2:固定
  4373. type: integer
  4374. marginvalue:
  4375. description: 即市保证金设置值
  4376. type: number
  4377. marketid:
  4378. description: 市场ID
  4379. type: integer
  4380. marketmaxsub:
  4381. description: 市价最大偏移范围
  4382. type: number
  4383. marketname:
  4384. description: 市场名称
  4385. type: string
  4386. memberuserid:
  4387. description: 所属会员UserID
  4388. type: integer
  4389. openexchagechargevalue:
  4390. description: 建仓交易所手续费设置值
  4391. type: number
  4392. openfeealgorithm:
  4393. description: 建仓手续费收取方式 1:比率 2:固定
  4394. type: integer
  4395. openfreezecharge:
  4396. description: 开仓冻结手续费(先建后平操作,需要记录)
  4397. type: number
  4398. openmemberchargevalue:
  4399. description: 建仓会员手续费设置值
  4400. type: number
  4401. openqty:
  4402. description: 开仓数量(先建后平操作,需要记录)
  4403. type: integer
  4404. opentradeqty:
  4405. description: 开仓成交数量(先建后平操作,需要记录)
  4406. type: integer
  4407. openunfreezecharge:
  4408. description: 开仓解冻手续费(先建后平操作,需要记录)
  4409. type: number
  4410. operatetype:
  4411. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4412. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4413. 15:管理端协议转让
  4414. type: integer
  4415. operatorid:
  4416. description: 登录账号(LoginID)
  4417. type: integer
  4418. optiontype:
  4419. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4420. type: integer
  4421. orderid:
  4422. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4423. type: string
  4424. orderprice:
  4425. description: 委托价格
  4426. type: number
  4427. orderqty:
  4428. description: 委托数量
  4429. type: integer
  4430. ordersrc:
  4431. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4432. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4433. type: integer
  4434. orderstatus:
  4435. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4436. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4437. 16:成交失败违约(荷兰式竞拍专用)
  4438. type: integer
  4439. ordertime:
  4440. description: 委托时间
  4441. type: string
  4442. preexerciseprice:
  4443. description: 预申报价格
  4444. type: number
  4445. premium:
  4446. description: 权利金
  4447. type: number
  4448. preorderid:
  4449. description: 关联预埋单号(止盈止损单时填写)
  4450. type: string
  4451. pricemode:
  4452. description: '取价方式 - 1:市价 2: 限价'
  4453. type: integer
  4454. quoteid:
  4455. description: 报价单ID
  4456. type: integer
  4457. relatedid:
  4458. description: 关联单号(交割单)
  4459. type: string
  4460. retcode:
  4461. description: 错误代码
  4462. type: integer
  4463. sessionid:
  4464. description: 会话ID
  4465. type: integer
  4466. tradedate:
  4467. description: 交易日(yyyyMMdd)
  4468. type: string
  4469. trademode:
  4470. description: 交易模式
  4471. type: integer
  4472. tradeproperty:
  4473. description: 交易属性
  4474. type: integer
  4475. tradeqty:
  4476. description: 成交数量
  4477. type: integer
  4478. unfreezecharge:
  4479. description: 解冻手续费
  4480. type: number
  4481. unfreezemargin:
  4482. description: 解冻保证金
  4483. type: number
  4484. updatetime:
  4485. description: 更新时间
  4486. type: string
  4487. uuid:
  4488. description: 发起端唯一id
  4489. type: string
  4490. validtime:
  4491. description: 有效期限
  4492. type: string
  4493. validtype:
  4494. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4495. type: integer
  4496. volumetype:
  4497. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4498. type: integer
  4499. required:
  4500. - accountid
  4501. - buildtype
  4502. - buyorsell
  4503. - goodsid
  4504. - histradedate
  4505. - marketid
  4506. - memberuserid
  4507. - operatetype
  4508. - orderid
  4509. - orderqty
  4510. - ordertime
  4511. - pricemode
  4512. - tradedate
  4513. - validtype
  4514. type: object
  4515. order.QueryTradeDetailRsp:
  4516. properties:
  4517. accountid:
  4518. description: 账户ID[报价币种]
  4519. type: integer
  4520. buildtype:
  4521. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4522. type: integer
  4523. buyorsell:
  4524. description: 方向 - 0:买 1:卖
  4525. type: integer
  4526. charge:
  4527. description: 手续费
  4528. type: number
  4529. closecharge:
  4530. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4531. type: number
  4532. closeexchagechargevalue:
  4533. description: 平仓交易所手续费设置值
  4534. type: number
  4535. closefeealgorithm:
  4536. description: 平仓手续费收取方式 1:比率 2:固定
  4537. type: integer
  4538. closememberchargevalue:
  4539. description: 平仓会员手续费设置值
  4540. type: number
  4541. closepl:
  4542. description: 平仓盈亏
  4543. type: number
  4544. closepl2:
  4545. description: 平仓盈亏[逐笔]
  4546. type: number
  4547. closeqty:
  4548. description: 平仓数量(先建后平操作 需要记录)
  4549. type: integer
  4550. creditamount:
  4551. description: 授信金额
  4552. type: number
  4553. gcaccountid:
  4554. description: 账户ID[合约币种]
  4555. type: integer
  4556. goodscode:
  4557. description: 商品代码
  4558. type: string
  4559. goodsid:
  4560. description: 商品ID
  4561. type: integer
  4562. goodsname:
  4563. description: 商品名称
  4564. type: string
  4565. intclosepl:
  4566. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4567. type: integer
  4568. isconfirmexercise:
  4569. description: 是否确认行权- 0:否 1:是
  4570. type: integer
  4571. ismain:
  4572. description: 是否主单 - 0:不是 1:是
  4573. type: integer
  4574. ispreexercise:
  4575. description: 是否预申报- 0:否 1:是
  4576. type: integer
  4577. isreckoned:
  4578. description: 是否结算 - 0:未结算 1:已结算
  4579. type: integer
  4580. listingselecttype:
  4581. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4582. type: integer
  4583. marketid:
  4584. description: 市场ID
  4585. type: integer
  4586. marketname:
  4587. description: 市场名称
  4588. type: string
  4589. matchaccountid:
  4590. description: 对手账号id
  4591. type: integer
  4592. memberuserid:
  4593. description: 会员id 个人投资者 需要填写
  4594. type: integer
  4595. opencharge:
  4596. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4597. type: number
  4598. openexchagechargevalue:
  4599. description: 建仓交易所手续费设置值
  4600. type: number
  4601. openfeealgorithm:
  4602. description: 建仓手续费收取方式 1:比率 2:固定
  4603. type: integer
  4604. openmemberchargevalue:
  4605. description: 建仓会员手续费设置值
  4606. type: number
  4607. openqty:
  4608. description: 开仓数量(先建后平操作 需要记录)
  4609. type: integer
  4610. optiontype:
  4611. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4612. type: integer
  4613. orderid:
  4614. description: 委托单号
  4615. type: string
  4616. performanceplanid:
  4617. description: 履约计划ID[期权]
  4618. type: integer
  4619. performancestatus:
  4620. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4621. type: integer
  4622. preexerciseprice:
  4623. description: 预申报价格
  4624. type: number
  4625. premium:
  4626. description: 权利金 - [持仓单的权利金]
  4627. type: number
  4628. relatedouttradeid:
  4629. description: 关联外部成交单ID
  4630. type: integer
  4631. status:
  4632. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4633. type: integer
  4634. tradeamount:
  4635. description: 成交金额[账户币种,用于所有权]
  4636. type: number
  4637. tradedate:
  4638. description: 交易日(yyyyMMdd)
  4639. type: string
  4640. tradeid:
  4641. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4642. type: string
  4643. trademode:
  4644. description: 交易模式
  4645. type: integer
  4646. tradeprice:
  4647. description: 成交价格
  4648. type: number
  4649. tradeproperty:
  4650. description: 交易属性
  4651. type: integer
  4652. tradeqty:
  4653. description: 成交数量
  4654. type: integer
  4655. tradetime:
  4656. description: 成交时间
  4657. type: string
  4658. tradetype:
  4659. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4660. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4661. type: integer
  4662. required:
  4663. - accountid
  4664. - buyorsell
  4665. - goodsid
  4666. - marketid
  4667. - memberuserid
  4668. - orderid
  4669. - tradeamount
  4670. - tradedate
  4671. - tradeid
  4672. - tradeprice
  4673. - tradeqty
  4674. - tradetime
  4675. type: object
  4676. order.QueryTradeOrderDetailRsp:
  4677. properties:
  4678. accountid:
  4679. description: 账户ID[报价币种]
  4680. type: integer
  4681. buildtype:
  4682. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4683. type: integer
  4684. buyorsell:
  4685. description: 买卖 - 0:买 1:卖
  4686. type: integer
  4687. cancelorderid:
  4688. description: 撤单单号(撤单时填写)
  4689. type: string
  4690. cancelqty:
  4691. description: 撤单数量
  4692. type: integer
  4693. clienttype:
  4694. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4695. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4696. type: integer
  4697. closefreezecharge:
  4698. description: 平仓冻结手续费(先建后平操作,需要记录)
  4699. type: number
  4700. closeqty:
  4701. description: 平仓数量(先建后平操作 需要记录)
  4702. type: integer
  4703. closetradeqty:
  4704. description: 平仓成交数量(先建后平操作,需要记录)
  4705. type: integer
  4706. closeunfreezecharge:
  4707. description: 平仓解冻手续费(先建后平操作,需要记录)
  4708. type: number
  4709. delistingtype:
  4710. description: 摘牌类型 - 1:价格最优 2:点选成交
  4711. type: integer
  4712. enableqty:
  4713. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  4714. type: integer
  4715. freezecharge:
  4716. description: 冻结手续费
  4717. type: number
  4718. freezemargin:
  4719. description: 冻结保证金(冻结交易金额)
  4720. type: number
  4721. goodscode:
  4722. description: 商品代码
  4723. type: string
  4724. goodsid:
  4725. description: 商品ID
  4726. type: integer
  4727. goodsname:
  4728. description: 商品名称
  4729. type: string
  4730. listingselecttype:
  4731. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4732. type: integer
  4733. marketid:
  4734. description: 市场ID
  4735. type: integer
  4736. marketname:
  4737. description: 市场名称
  4738. type: string
  4739. openfreezecharge:
  4740. description: 开仓冻结手续费(先建后平操作,需要记录)
  4741. type: number
  4742. openqty:
  4743. description: 开仓数量(先建后平操作,需要记录)
  4744. type: integer
  4745. opentradeqty:
  4746. description: 开仓成交数量(先建后平操作,需要记录)
  4747. type: integer
  4748. openunfreezecharge:
  4749. description: 开仓解冻手续费(先建后平操作,需要记录)
  4750. type: number
  4751. operatetype:
  4752. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4753. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4754. 15:管理端协议转让
  4755. type: integer
  4756. operatorid:
  4757. description: 登录账号(LoginID)
  4758. type: integer
  4759. orderid:
  4760. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4761. type: string
  4762. orderprice:
  4763. description: 委托价格
  4764. type: number
  4765. orderqty:
  4766. description: 委托数量
  4767. type: integer
  4768. ordersrc:
  4769. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4770. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4771. type: integer
  4772. orderstatus:
  4773. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4774. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4775. 16:成交失败违约(荷兰式竞拍专用)
  4776. type: integer
  4777. ordertime:
  4778. description: 委托时间
  4779. type: string
  4780. preorderid:
  4781. description: 关联预埋单号(止盈止损单时填写)
  4782. type: string
  4783. pricemode:
  4784. description: '取价方式 - 1:市价 2: 限价'
  4785. type: integer
  4786. relatedid:
  4787. description: 关联单号(交割单)
  4788. type: string
  4789. tradedate:
  4790. description: 交易日(yyyyMMdd)
  4791. type: string
  4792. trademode:
  4793. description: 交易模式
  4794. type: integer
  4795. tradeqty:
  4796. description: 成交数量
  4797. type: integer
  4798. unfreezecharge:
  4799. description: 解冻手续费
  4800. type: number
  4801. unfreezemargin:
  4802. description: 解冻保证金
  4803. type: number
  4804. validtime:
  4805. description: 有效期限
  4806. type: string
  4807. validtype:
  4808. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4809. type: integer
  4810. volumetype:
  4811. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4812. type: integer
  4813. required:
  4814. - accountid
  4815. - buildtype
  4816. - buyorsell
  4817. - goodsid
  4818. - marketid
  4819. - operatetype
  4820. - orderqty
  4821. - ordertime
  4822. - pricemode
  4823. - tradedate
  4824. - validtype
  4825. type: object
  4826. order.QueryTradePositionRsp:
  4827. properties:
  4828. accountid:
  4829. description: 资金账户
  4830. type: integer
  4831. agreeunit:
  4832. description: 合约单位
  4833. type: number
  4834. averageprice:
  4835. description: 持仓均价
  4836. type: number
  4837. buyorsell:
  4838. description: 方向 - 0:买 1:卖
  4839. type: integer
  4840. closetotalqty:
  4841. description: 平仓总数量
  4842. type: integer
  4843. curholderamount:
  4844. description: 当前持仓总金额[商品币种]
  4845. type: number
  4846. curpositionqty:
  4847. description: 当前持仓总数量
  4848. type: integer
  4849. currencyid:
  4850. description: 报价货币ID
  4851. type: integer
  4852. curtdposition:
  4853. description: 期末今日头寸
  4854. type: integer
  4855. decimalplace:
  4856. description: 报价小数位
  4857. type: integer
  4858. enableqty:
  4859. description: 可用量
  4860. type: integer
  4861. fretdposition:
  4862. description: 冻结今日头寸
  4863. type: integer
  4864. frozenqty:
  4865. description: 持仓冻结数量
  4866. type: integer
  4867. goodscode:
  4868. description: 商品代码
  4869. type: string
  4870. goodsid:
  4871. description: 商品Id
  4872. type: integer
  4873. goodsname:
  4874. description: 商品名称
  4875. type: string
  4876. goodunit:
  4877. description: 报价单位
  4878. type: string
  4879. goodunitid:
  4880. description: 报价单位ID
  4881. type: integer
  4882. holderamount:
  4883. description: 期初持仓总金额[商品币种]
  4884. type: number
  4885. marketid:
  4886. description: 所属市场ID
  4887. type: integer
  4888. openreqqty:
  4889. description: 开仓申请数量(用于比较最大持仓数量)
  4890. type: integer
  4891. opentotalqty:
  4892. description: 开仓总数量
  4893. type: integer
  4894. otherfrozenqty:
  4895. description: 持仓其他冻结数量(交割冻结)
  4896. type: integer
  4897. positionqty:
  4898. description: 期初持仓数量
  4899. type: integer
  4900. tnqty:
  4901. description: T+N冻结总量
  4902. type: integer
  4903. tnusedqty:
  4904. description: T+N使用量(可以使用T+N的冻结数量)
  4905. type: integer
  4906. trademode:
  4907. description: 交易模式
  4908. type: integer
  4909. usedmargin:
  4910. description: 占用保证金[商品币种]
  4911. type: number
  4912. required:
  4913. - goodsid
  4914. type: object
  4915. quote.HistoryData:
  4916. properties:
  4917. c:
  4918. description: 收盘价
  4919. type: number
  4920. h:
  4921. description: 最高价
  4922. type: number
  4923. hv:
  4924. description: 持仓量
  4925. type: integer
  4926. l:
  4927. description: 最低价
  4928. type: number
  4929. o:
  4930. description: 开盘价
  4931. type: number
  4932. s:
  4933. description: 结算价,日线周期(包括)以上才有
  4934. type: number
  4935. ts:
  4936. description: 时间
  4937. type: string
  4938. tt:
  4939. description: 总金额
  4940. type: number
  4941. tv:
  4942. description: 总量
  4943. type: integer
  4944. type: object
  4945. quote.QueryTSDataRsp:
  4946. properties:
  4947. decimalPlace:
  4948. description: 小数位
  4949. type: integer
  4950. endTime:
  4951. description: 结束时间
  4952. type: string
  4953. goodsCode:
  4954. description: 商品代码
  4955. type: string
  4956. historyDatas:
  4957. description: 历史数据
  4958. items:
  4959. $ref: '#/definitions/quote.HistoryData'
  4960. type: array
  4961. preSettle:
  4962. description: 昨结
  4963. type: number
  4964. startTime:
  4965. description: 开始时间
  4966. type: string
  4967. tradeDate:
  4968. description: 交易日
  4969. type: string
  4970. type: object
  4971. szdz.QueryConvertLogRsp:
  4972. properties:
  4973. accountid:
  4974. description: 资金账户ID
  4975. type: integer
  4976. clientticket:
  4977. description: 客户端流水号
  4978. type: string
  4979. converttype:
  4980. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4981. type: integer
  4982. createtime:
  4983. description: 记账时间
  4984. type: string
  4985. daymaxvalue:
  4986. description: 配置当日最大转入限制
  4987. type: number
  4988. daymaxvalue2:
  4989. description: 配置当日最大转入限制(转入)
  4990. type: number
  4991. goodscode:
  4992. description: 商品代码
  4993. type: string
  4994. goodsname:
  4995. description: 商品名称
  4996. type: string
  4997. handlestatus:
  4998. description: 处理状态
  4999. type: integer
  5000. innergoodsid:
  5001. description: 内部商品ID
  5002. type: integer
  5003. inratio:
  5004. description: 配置转入比值
  5005. type: integer
  5006. invalue:
  5007. description: 目标值
  5008. type: number
  5009. logid:
  5010. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5011. type: integer
  5012. mobile:
  5013. description: 手机号码(加密存储)
  5014. type: string
  5015. outergoodscode:
  5016. description: 外部商品代码[JD\PD]
  5017. type: string
  5018. outratio:
  5019. description: 配置转出比值
  5020. type: integer
  5021. outvalue:
  5022. description: 源值
  5023. type: number
  5024. pddecimalplace:
  5025. description: PD小数位
  5026. type: integer
  5027. qty:
  5028. description: 数量
  5029. type: string
  5030. remark:
  5031. description: 备注
  5032. type: string
  5033. sessionid:
  5034. description: 会话ID
  5035. type: integer
  5036. timemaxvalue:
  5037. description: 配置单次最大转入限制
  5038. type: number
  5039. timemaxvalue2:
  5040. description: 配置单次最大转入限制(转入)
  5041. type: number
  5042. timeminvalue:
  5043. description: 配置单次最小数量限制
  5044. type: number
  5045. timeminvalue2:
  5046. description: 配置单次最小数量限制(转入)
  5047. type: number
  5048. tradedate:
  5049. description: 交易日(yyyyMMdd)
  5050. type: string
  5051. userid:
  5052. description: 用户ID
  5053. type: integer
  5054. required:
  5055. - logid
  5056. type: object
  5057. szdz.QueryGoodsPickupRsp:
  5058. properties:
  5059. accountid:
  5060. description: 账户ID
  5061. type: integer
  5062. address:
  5063. description: 提货人详细地址
  5064. type: string
  5065. auditer:
  5066. description: 审核人
  5067. type: integer
  5068. audittime:
  5069. description: 审核时间
  5070. type: string
  5071. cardnum:
  5072. description: 提货人证件号码
  5073. type: string
  5074. cardtypeid:
  5075. description: 提货人证件类型
  5076. type: integer
  5077. checkremark:
  5078. description: 审核备注
  5079. type: string
  5080. goodscode:
  5081. description: 商品代码
  5082. type: string
  5083. goodsid:
  5084. description: 商品ID
  5085. type: integer
  5086. goodsname:
  5087. description: 商品名称
  5088. type: string
  5089. handlestatus:
  5090. description: 处理状态
  5091. type: integer
  5092. marketid:
  5093. description: 市场ID
  5094. type: integer
  5095. phonenum:
  5096. description: 提货人联系方式
  5097. type: string
  5098. qty:
  5099. description: 提货数量
  5100. type: number
  5101. recivername:
  5102. description: 提货人姓名
  5103. type: string
  5104. reqtime:
  5105. description: 更新时间
  5106. type: string
  5107. takemode:
  5108. description: 提货方式 - 2:自提 3:配送
  5109. type: integer
  5110. takeorderid:
  5111. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5112. type: string
  5113. takeorderstatus:
  5114. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5115. type: integer
  5116. takeremark:
  5117. description: 提货备注
  5118. type: string
  5119. tradedate:
  5120. description: 交易日(yyyyMMdd)
  5121. type: string
  5122. userid:
  5123. description: 用户ID
  5124. type: integer
  5125. required:
  5126. - takeorderid
  5127. type: object
  5128. szdz.QueryRecieptOrderRsp:
  5129. properties:
  5130. accountName:
  5131. description: 所属账号名称(已脱敏)
  5132. type: string
  5133. accountid:
  5134. description: 资金账号
  5135. type: integer
  5136. buyorsell:
  5137. description: 方向 - 0:买 1:卖
  5138. type: integer
  5139. enableqty:
  5140. description: 可摘数量
  5141. type: integer
  5142. goodscode:
  5143. description: 商品代码
  5144. type: string
  5145. goodsid:
  5146. description: 商品ID
  5147. type: integer
  5148. goodsname:
  5149. description: 商品名称
  5150. type: string
  5151. orderid:
  5152. description: 委托单号
  5153. type: string
  5154. orderprice:
  5155. description: 委托价格
  5156. type: number
  5157. ordertime:
  5158. description: 委托时间
  5159. type: string
  5160. tradedate:
  5161. description: 交易日(yyyyMMdd)
  5162. type: string
  5163. required:
  5164. - ordertime
  5165. type: object
  5166. szdz.QuerySZDZTradePositionRsp:
  5167. properties:
  5168. accountid:
  5169. description: 账号Id
  5170. type: integer
  5171. agreeunit:
  5172. description: 合约单位
  5173. type: number
  5174. averageprice:
  5175. description: 持仓均价
  5176. type: number
  5177. buyorsell:
  5178. description: 方向 - 0:买 1:卖
  5179. type: integer
  5180. closetotalqty:
  5181. description: 平仓总数量
  5182. type: integer
  5183. curholderamount:
  5184. description: 当前持仓总金额
  5185. type: number
  5186. curpositionqty:
  5187. description: 当前持仓总数量
  5188. type: integer
  5189. currencyid:
  5190. description: 报价货币ID
  5191. type: integer
  5192. curtdposition:
  5193. description: 期末今日头寸
  5194. type: integer
  5195. decimalplace:
  5196. description: 报价小数位
  5197. type: integer
  5198. enableqty:
  5199. description: 可用量
  5200. type: integer
  5201. fretdposition:
  5202. description: 冻结今日头寸
  5203. type: integer
  5204. frozenqty:
  5205. description: 持仓冻结数量
  5206. type: integer
  5207. goodscode:
  5208. description: 商品代码(内部)
  5209. type: string
  5210. goodsid:
  5211. description: 商品Id
  5212. type: integer
  5213. goodsname:
  5214. description: 商品名称
  5215. type: string
  5216. goodunit:
  5217. description: 报价单位
  5218. type: string
  5219. goodunitid:
  5220. description: 报价单位ID
  5221. type: integer
  5222. holderamount:
  5223. description: 期初持仓总金额
  5224. type: number
  5225. marketid:
  5226. description: 市场ID
  5227. type: integer
  5228. openreqqty:
  5229. description: 开仓申请数量
  5230. type: integer
  5231. opentotalqty:
  5232. description: 开仓总数量
  5233. type: integer
  5234. otherfrozenqty:
  5235. description: 持仓其他冻结数量(交割冻结)
  5236. type: integer
  5237. positionqty:
  5238. description: 期初持仓数量
  5239. type: integer
  5240. szdz3freezqty:
  5241. description: 尚志大宗转换冻结总数量
  5242. type: integer
  5243. tnqty:
  5244. description: T+N冻结总量
  5245. type: integer
  5246. tnusedqty:
  5247. description: T+N使用量
  5248. type: integer
  5249. trademode:
  5250. description: 交易模式
  5251. type: integer
  5252. usedmargin:
  5253. description: 占用保证金
  5254. type: number
  5255. type: object
  5256. taaccount.QueryAmountLogRsp:
  5257. properties:
  5258. OPERATETYPENAME:
  5259. description: 资金操作类型名称
  5260. type: string
  5261. accountid:
  5262. description: 资金账户ID
  5263. type: integer
  5264. agoodscode:
  5265. description: 竞拍商品代码
  5266. type: string
  5267. agoodsname:
  5268. description: 竞拍商品名称
  5269. type: string
  5270. amount:
  5271. description: 资金金额
  5272. type: number
  5273. amountadjusttype:
  5274. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5275. type: integer
  5276. autoid:
  5277. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5278. type: integer
  5279. balance:
  5280. description: 期初余额
  5281. type: number
  5282. businesscode:
  5283. description: 业务编号
  5284. type: integer
  5285. createtime:
  5286. description: 发生时间
  5287. type: string
  5288. currencyid:
  5289. description: 币种ID
  5290. type: integer
  5291. currentbalance:
  5292. description: 期末余额(变动后金额)
  5293. type: number
  5294. dgoodscode:
  5295. description: 交割商品代码
  5296. type: string
  5297. dgoodsname:
  5298. description: 交割商品名称
  5299. type: string
  5300. goodscode:
  5301. description: 商品代码
  5302. type: string
  5303. goodsid:
  5304. description: 商品ID
  5305. type: integer
  5306. goodsname:
  5307. description: 商品名称
  5308. type: string
  5309. marketid:
  5310. description: 市场ID
  5311. type: integer
  5312. marketname:
  5313. description: 市场名称
  5314. type: string
  5315. moneyticket:
  5316. description: 资金流水号:银行端流水号
  5317. type: integer
  5318. operatetype:
  5319. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5320. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5321. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5322. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5323. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5324. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5325. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5326. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5327. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5328. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5329. type: integer
  5330. relationorderid:
  5331. description: 关联单号
  5332. type: string
  5333. remark:
  5334. description: 备注
  5335. type: string
  5336. trademode:
  5337. description: 交易模式
  5338. type: integer
  5339. required:
  5340. - accountid
  5341. - amount
  5342. - amountadjusttype
  5343. - autoid
  5344. - balance
  5345. - createtime
  5346. - currentbalance
  5347. - operatetype
  5348. type: object
  5349. taaccount.QueryHisAmountLogRsp:
  5350. properties:
  5351. OPERATETYPENAME:
  5352. description: 资金操作类型名称
  5353. type: string
  5354. accountid:
  5355. description: 资金账户ID
  5356. type: integer
  5357. agoodscode:
  5358. description: 竞拍商品代码
  5359. type: string
  5360. agoodsname:
  5361. description: 竞拍商品名称
  5362. type: string
  5363. amount:
  5364. description: 资金金额
  5365. type: number
  5366. amountadjusttype:
  5367. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5368. type: integer
  5369. autoid:
  5370. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5371. type: integer
  5372. balance:
  5373. description: 期初余额
  5374. type: number
  5375. businesscode:
  5376. description: 业务编号
  5377. type: integer
  5378. createtime:
  5379. description: 发生时间
  5380. type: string
  5381. currencyid:
  5382. description: 币种ID
  5383. type: integer
  5384. currentbalance:
  5385. description: 期末余额(变动后金额)
  5386. type: number
  5387. dgoodscode:
  5388. description: 交割商品代码
  5389. type: string
  5390. dgoodsname:
  5391. description: 交割商品名称
  5392. type: string
  5393. goodscode:
  5394. description: 商品代码
  5395. type: string
  5396. goodsid:
  5397. description: 商品ID
  5398. type: integer
  5399. goodsname:
  5400. description: 商品名称
  5401. type: string
  5402. histradedate:
  5403. description: 历史交易日
  5404. type: string
  5405. isvaliddata:
  5406. description: 是否有效 - 0:无效 1:有效
  5407. type: integer
  5408. marketid:
  5409. description: 市场ID
  5410. type: integer
  5411. marketname:
  5412. description: 市场名称
  5413. type: string
  5414. moneyticket:
  5415. description: 资金流水号:银行端流水号
  5416. type: integer
  5417. operatetype:
  5418. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5419. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5420. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5421. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5422. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5423. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5424. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5425. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5426. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5427. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5428. type: integer
  5429. relationorderid:
  5430. description: 关联单号
  5431. type: string
  5432. remark:
  5433. description: 备注
  5434. type: string
  5435. trademode:
  5436. description: 交易模式
  5437. type: integer
  5438. required:
  5439. - accountid
  5440. - amount
  5441. - amountadjusttype
  5442. - autoid
  5443. - balance
  5444. - createtime
  5445. - currentbalance
  5446. - histradedate
  5447. - operatetype
  5448. type: object
  5449. trade.QueryRecieptOrderRsp:
  5450. properties:
  5451. accountName:
  5452. description: 所属账号名称(已脱敏)
  5453. type: string
  5454. accountid:
  5455. description: 资金账号
  5456. type: integer
  5457. buyorsell:
  5458. description: 方向 - 0:买 1:卖
  5459. type: integer
  5460. enableqty:
  5461. description: 可摘数量
  5462. type: integer
  5463. goodscode:
  5464. description: 商品代码
  5465. type: string
  5466. goodsid:
  5467. description: 商品ID
  5468. type: integer
  5469. goodsname:
  5470. description: 商品名称
  5471. type: string
  5472. orderid:
  5473. description: 委托单号
  5474. type: string
  5475. orderprice:
  5476. description: 委托价格
  5477. type: number
  5478. ordertime:
  5479. description: 委托时间
  5480. type: string
  5481. tradedate:
  5482. description: 交易日(yyyyMMdd)
  5483. type: string
  5484. required:
  5485. - ordertime
  5486. type: object
  5487. info:
  5488. contact: {}
  5489. description: 新的查询服务,替代原通用查询服务。
  5490. termsOfService: http://muchinfo.cn
  5491. title: MTP2.0 查询服务 API
  5492. version: "1.0"
  5493. paths:
  5494. /CPTrade/QueryCPTradeMyBidInfos:
  5495. get:
  5496. parameters:
  5497. - description: 资金账户
  5498. in: query
  5499. name: accountid
  5500. required: true
  5501. type: integer
  5502. - description: 预售市场ID
  5503. in: query
  5504. name: marketid
  5505. type: integer
  5506. - description: 预售商品ID
  5507. in: query
  5508. name: goodsid
  5509. type: integer
  5510. produces:
  5511. - application/json
  5512. responses:
  5513. "200":
  5514. description: OK
  5515. schema:
  5516. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  5517. "500":
  5518. description: Internal Server Error
  5519. schema:
  5520. $ref: '#/definitions/app.Response'
  5521. security:
  5522. - ApiKeyAuth: []
  5523. summary: 查询产能预售我的出价信息
  5524. tags:
  5525. - 产能预售
  5526. /CPTrade/QueryCPTradeOrderDetail:
  5527. get:
  5528. parameters:
  5529. - description: 预售商品ID
  5530. in: query
  5531. name: goodsid
  5532. type: integer
  5533. - description: 预售市场ID
  5534. in: query
  5535. name: marketid
  5536. type: integer
  5537. - description: 预售商品ID列表 - 格式:1,2,3
  5538. in: query
  5539. name: goodsids
  5540. type: string
  5541. produces:
  5542. - application/json
  5543. responses:
  5544. "200":
  5545. description: OK
  5546. schema:
  5547. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  5548. "500":
  5549. description: Internal Server Error
  5550. schema:
  5551. $ref: '#/definitions/app.Response'
  5552. security:
  5553. - ApiKeyAuth: []
  5554. summary: 查询产能预售委托单信息
  5555. tags:
  5556. - 产能预售
  5557. /CPTrade/QueryMyCPTradeGoods:
  5558. get:
  5559. parameters:
  5560. - description: 资金账户
  5561. in: query
  5562. name: accountid
  5563. required: true
  5564. type: integer
  5565. produces:
  5566. - application/json
  5567. responses:
  5568. "200":
  5569. description: OK
  5570. schema:
  5571. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  5572. "500":
  5573. description: Internal Server Error
  5574. schema:
  5575. $ref: '#/definitions/app.Response'
  5576. security:
  5577. - ApiKeyAuth: []
  5578. summary: 查询我的预售信息
  5579. tags:
  5580. - 产能预售
  5581. /CPTrade/QueryPositionCancel:
  5582. get:
  5583. parameters:
  5584. - description: 账户ID
  5585. in: query
  5586. name: userid
  5587. required: true
  5588. type: integer
  5589. - description: 注销ID
  5590. in: query
  5591. name: cancelid
  5592. type: integer
  5593. - description: 资金账户ID
  5594. in: query
  5595. name: accountid
  5596. type: integer
  5597. produces:
  5598. - application/json
  5599. responses:
  5600. "200":
  5601. description: OK
  5602. schema:
  5603. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  5604. "500":
  5605. description: Internal Server Error
  5606. schema:
  5607. $ref: '#/definitions/app.Response'
  5608. security:
  5609. - ApiKeyAuth: []
  5610. summary: 查询远期订单注销申请信息
  5611. tags:
  5612. - 产能预售
  5613. /CPTrade/QueryPreasleApply:
  5614. get:
  5615. parameters:
  5616. - description: 账户ID
  5617. in: query
  5618. name: userid
  5619. required: true
  5620. type: integer
  5621. - description: 申请ID
  5622. in: query
  5623. name: applyid
  5624. type: integer
  5625. - description: 资金账户ID
  5626. in: query
  5627. name: accountid
  5628. type: integer
  5629. produces:
  5630. - application/json
  5631. responses:
  5632. "200":
  5633. description: OK
  5634. schema:
  5635. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  5636. "500":
  5637. description: Internal Server Error
  5638. schema:
  5639. $ref: '#/definitions/app.Response'
  5640. security:
  5641. - ApiKeyAuth: []
  5642. summary: 查询产能预售申请信息
  5643. tags:
  5644. - 产能预售
  5645. /CPTrade/QueryPresaleGoodsEx:
  5646. get:
  5647. parameters:
  5648. - description: 预售商品ID
  5649. in: query
  5650. name: goodsid
  5651. type: integer
  5652. - description: 预售市场ID
  5653. in: query
  5654. name: marketid
  5655. type: integer
  5656. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  5657. in: query
  5658. name: presalemode
  5659. type: integer
  5660. - description: 预售商品ID列表 - 格式:1,2,3
  5661. in: query
  5662. name: goodsids
  5663. type: string
  5664. - description: 预售商品代码
  5665. in: query
  5666. name: goodscode
  5667. type: string
  5668. produces:
  5669. - application/json
  5670. responses:
  5671. "200":
  5672. description: OK
  5673. schema:
  5674. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  5675. "500":
  5676. description: Internal Server Error
  5677. schema:
  5678. $ref: '#/definitions/app.Response'
  5679. security:
  5680. - ApiKeyAuth: []
  5681. summary: 查询产能预售商品扩展信息
  5682. tags:
  5683. - 产能预售
  5684. /CPTrade/QueryUserGoodsData:
  5685. get:
  5686. parameters:
  5687. - description: 资金账户ID
  5688. in: query
  5689. name: accountid
  5690. required: true
  5691. type: integer
  5692. produces:
  5693. - application/json
  5694. responses:
  5695. "200":
  5696. description: OK
  5697. schema:
  5698. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  5699. "500":
  5700. description: Internal Server Error
  5701. schema:
  5702. $ref: '#/definitions/app.Response'
  5703. security:
  5704. - ApiKeyAuth: []
  5705. summary: 查询远期订单信息
  5706. tags:
  5707. - 产能预售
  5708. /Common/GetAllEnums:
  5709. get:
  5710. produces:
  5711. - application/json
  5712. responses:
  5713. "200":
  5714. description: OK
  5715. schema:
  5716. $ref: '#/definitions/models.Enumdicitem'
  5717. "500":
  5718. description: Internal Server Error
  5719. schema:
  5720. $ref: '#/definitions/app.Response'
  5721. summary: 获取所有枚举信息
  5722. tags:
  5723. - 通用服务
  5724. /Common/GetServerTime:
  5725. get:
  5726. produces:
  5727. - application/json
  5728. responses:
  5729. "200":
  5730. description: OK
  5731. schema:
  5732. $ref: '#/definitions/app.Response'
  5733. "500":
  5734. description: Internal Server Error
  5735. schema:
  5736. $ref: '#/definitions/app.Response'
  5737. summary: 获取服务器时间
  5738. tags:
  5739. - 通用服务
  5740. /Common/NoticeReaded:
  5741. post:
  5742. parameters:
  5743. - description: 登录账号
  5744. in: query
  5745. name: loginID
  5746. required: true
  5747. type: integer
  5748. - description: 通知公告ID
  5749. in: query
  5750. name: noticeID
  5751. required: true
  5752. type: integer
  5753. produces:
  5754. - application/json
  5755. responses:
  5756. "200":
  5757. description: OK
  5758. schema:
  5759. $ref: '#/definitions/app.Response'
  5760. "500":
  5761. description: Internal Server Error
  5762. schema:
  5763. $ref: '#/definitions/app.Response'
  5764. security:
  5765. - ApiKeyAuth: []
  5766. summary: 通知公告设置已读请求
  5767. tags:
  5768. - 通用服务
  5769. /Common/QueryImageConfigs:
  5770. get:
  5771. parameters:
  5772. - description: 类型 - 1:App首页轮播 2:我的
  5773. in: query
  5774. name: imageType
  5775. type: integer
  5776. produces:
  5777. - application/json
  5778. responses:
  5779. "200":
  5780. description: OK
  5781. schema:
  5782. $ref: '#/definitions/models.Szdz2imageconfig'
  5783. "500":
  5784. description: Internal Server Error
  5785. schema:
  5786. $ref: '#/definitions/app.Response'
  5787. summary: 查询轮播图配置信息
  5788. tags:
  5789. - 通用服务
  5790. /Common/QueryNotice:
  5791. get:
  5792. parameters:
  5793. - description: 页码
  5794. in: query
  5795. name: page
  5796. type: integer
  5797. - description: 每页条数
  5798. in: query
  5799. name: pagesize
  5800. type: integer
  5801. - description: 登录账号
  5802. in: query
  5803. name: loginID
  5804. required: true
  5805. type: integer
  5806. - description: 消息类型 - 1:公告通知 2:系统消息
  5807. in: query
  5808. name: msgType
  5809. type: integer
  5810. - description: 是否只获取未读信息
  5811. in: query
  5812. name: onlyUnRead
  5813. type: boolean
  5814. produces:
  5815. - application/json
  5816. responses:
  5817. "200":
  5818. description: OK
  5819. schema:
  5820. $ref: '#/definitions/common.QueryNoticeRsp'
  5821. "500":
  5822. description: Internal Server Error
  5823. schema:
  5824. $ref: '#/definitions/app.Response'
  5825. security:
  5826. - ApiKeyAuth: []
  5827. summary: 通知公告系统消息查询
  5828. tags:
  5829. - 通用服务
  5830. /Common/QueryProvincesAndCities:
  5831. get:
  5832. parameters:
  5833. - description: 省ID
  5834. in: query
  5835. name: provinceID
  5836. type: integer
  5837. produces:
  5838. - application/json
  5839. responses:
  5840. "200":
  5841. description: OK
  5842. schema:
  5843. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  5844. "500":
  5845. description: Internal Server Error
  5846. schema:
  5847. $ref: '#/definitions/app.Response'
  5848. summary: 查询省市信息(不包括区)
  5849. tags:
  5850. - 通用服务
  5851. /Common/QueryTableDefine:
  5852. get:
  5853. parameters:
  5854. - description: 表key
  5855. in: query
  5856. name: TableKey
  5857. type: string
  5858. produces:
  5859. - application/json
  5860. responses:
  5861. "200":
  5862. description: OK
  5863. schema:
  5864. $ref: '#/definitions/common.QueryTableDefineRsp'
  5865. "500":
  5866. description: Internal Server Error
  5867. schema:
  5868. $ref: '#/definitions/app.Response'
  5869. summary: 查询交易端列表头信息
  5870. tags:
  5871. - 通用服务
  5872. /Common/QueryTraderMenu:
  5873. get:
  5874. parameters:
  5875. - description: 登录账号
  5876. in: query
  5877. name: loginid
  5878. required: true
  5879. type: integer
  5880. produces:
  5881. - application/json
  5882. responses:
  5883. "200":
  5884. description: OK
  5885. schema:
  5886. $ref: '#/definitions/common.QueryTraderMenuRsp'
  5887. "500":
  5888. description: Internal Server Error
  5889. schema:
  5890. $ref: '#/definitions/app.Response'
  5891. summary: 查询交易端菜单
  5892. tags:
  5893. - 通用服务
  5894. /Delivery/QueryDeliveryRelation:
  5895. get:
  5896. parameters:
  5897. - description: 商品ID
  5898. in: query
  5899. name: goodsid
  5900. type: integer
  5901. - description: 品种ID
  5902. in: query
  5903. name: deliverygoodsid
  5904. type: integer
  5905. - description: 市场ID
  5906. in: query
  5907. name: marketid
  5908. type: integer
  5909. produces:
  5910. - application/json
  5911. responses:
  5912. "200":
  5913. description: OK
  5914. schema:
  5915. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  5916. "500":
  5917. description: Internal Server Error
  5918. schema:
  5919. $ref: '#/definitions/app.Response'
  5920. security:
  5921. - ApiKeyAuth: []
  5922. summary: 查询商品交割关系表
  5923. tags:
  5924. - 交割服务
  5925. /Erms2/QueryArbitrageStrategy:
  5926. get:
  5927. parameters:
  5928. - description: 账户ID
  5929. in: query
  5930. name: userid
  5931. required: true
  5932. type: integer
  5933. - description: 商品组ID(品种ID)
  5934. in: query
  5935. name: goodsgroupid
  5936. type: string
  5937. produces:
  5938. - application/json
  5939. responses:
  5940. "200":
  5941. description: OK
  5942. schema:
  5943. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  5944. "500":
  5945. description: Internal Server Error
  5946. schema:
  5947. $ref: '#/definitions/app.Response'
  5948. security:
  5949. - ApiKeyAuth: []
  5950. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  5951. tags:
  5952. - 风险管理
  5953. /Erms2/QueryInnerTradeDetail:
  5954. get:
  5955. parameters:
  5956. - description: 资金账户
  5957. in: query
  5958. name: accountid
  5959. required: true
  5960. type: integer
  5961. produces:
  5962. - application/json
  5963. responses:
  5964. "200":
  5965. description: OK
  5966. schema:
  5967. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  5968. "500":
  5969. description: Internal Server Error
  5970. schema:
  5971. $ref: '#/definitions/app.Response'
  5972. security:
  5973. - ApiKeyAuth: []
  5974. summary: 查询内部成交单信息
  5975. tags:
  5976. - 风险管理
  5977. /Erms2/QuerySpotContract:
  5978. get:
  5979. parameters:
  5980. - description: 策略申请ID
  5981. in: query
  5982. name: asapplyid
  5983. required: true
  5984. type: integer
  5985. - description: 现货合同ID
  5986. in: query
  5987. name: spotcontractid
  5988. type: integer
  5989. produces:
  5990. - application/json
  5991. responses:
  5992. "200":
  5993. description: OK
  5994. schema:
  5995. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5996. "500":
  5997. description: Internal Server Error
  5998. schema:
  5999. $ref: '#/definitions/app.Response'
  6000. security:
  6001. - ApiKeyAuth: []
  6002. summary: 查询现货合同表信息(指定策略ID、未结束的)
  6003. tags:
  6004. - 风险管理
  6005. /Erms3/AddErms2ASApply:
  6006. post:
  6007. parameters:
  6008. - description: 申请参数
  6009. in: body
  6010. name: jsonBody
  6011. required: true
  6012. schema:
  6013. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  6014. produces:
  6015. - application/json
  6016. responses:
  6017. "200":
  6018. description: OK
  6019. schema:
  6020. $ref: '#/definitions/app.Response'
  6021. "500":
  6022. description: Internal Server Error
  6023. schema:
  6024. $ref: '#/definitions/app.Response'
  6025. security:
  6026. - ApiKeyAuth: []
  6027. summary: 新增期现套利业务申请
  6028. tags:
  6029. - 风险管理v3
  6030. /Erms3/AddErms2SpotTradeApply:
  6031. post:
  6032. parameters:
  6033. - description: 申请参数
  6034. in: body
  6035. name: jsonBody
  6036. required: true
  6037. schema:
  6038. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  6039. produces:
  6040. - application/json
  6041. responses:
  6042. "200":
  6043. description: OK
  6044. schema:
  6045. $ref: '#/definitions/app.Response'
  6046. "500":
  6047. description: Internal Server Error
  6048. schema:
  6049. $ref: '#/definitions/app.Response'
  6050. security:
  6051. - ApiKeyAuth: []
  6052. summary: 新增现货贸易业务申请
  6053. tags:
  6054. - 风险管理v3
  6055. /Erms3/AddSpotContractApply:
  6056. post:
  6057. parameters:
  6058. - description: 申请参数
  6059. in: body
  6060. name: jsonBody
  6061. required: true
  6062. schema:
  6063. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  6064. produces:
  6065. - application/json
  6066. responses:
  6067. "200":
  6068. description: OK
  6069. schema:
  6070. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  6071. "500":
  6072. description: Internal Server Error
  6073. schema:
  6074. $ref: '#/definitions/app.Response'
  6075. security:
  6076. - ApiKeyAuth: []
  6077. summary: 新增现货合同申请
  6078. tags:
  6079. - 风险管理v3
  6080. /Erms3/AddUserInfoApply:
  6081. post:
  6082. parameters:
  6083. - description: 申请参数
  6084. in: body
  6085. name: jsonBody
  6086. required: true
  6087. schema:
  6088. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  6089. produces:
  6090. - application/json
  6091. responses:
  6092. "200":
  6093. description: OK
  6094. schema:
  6095. $ref: '#/definitions/app.Response'
  6096. "500":
  6097. description: Internal Server Error
  6098. schema:
  6099. $ref: '#/definitions/app.Response'
  6100. security:
  6101. - ApiKeyAuth: []
  6102. summary: 新增客户申请
  6103. tags:
  6104. - 风险管理v3
  6105. /Erms3/QueryBusinessInfo:
  6106. get:
  6107. parameters:
  6108. - description: 资金账号ID列表,用逗号分隔
  6109. in: query
  6110. name: accountids
  6111. required: true
  6112. type: string
  6113. - description: 状态,0为未结束 1为已结束
  6114. in: query
  6115. name: status
  6116. required: true
  6117. type: integer
  6118. produces:
  6119. - application/json
  6120. responses:
  6121. "200":
  6122. description: OK
  6123. schema:
  6124. items:
  6125. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  6126. type: array
  6127. "500":
  6128. description: Internal Server Error
  6129. schema:
  6130. $ref: '#/definitions/app.Response'
  6131. security:
  6132. - ApiKeyAuth: []
  6133. summary: 查询业务表单数据
  6134. tags:
  6135. - 风险管理v3
  6136. /Erms3/QueryPendingAuditContract:
  6137. get:
  6138. parameters:
  6139. - description: 资金账号ID列表,逗号隔开
  6140. in: query
  6141. name: accountids
  6142. required: true
  6143. type: string
  6144. - description: 合同类型 1-采购 -1-销售
  6145. in: query
  6146. name: contracttype
  6147. required: true
  6148. type: integer
  6149. - description: 合同模式 1-普通 2-回购
  6150. in: query
  6151. name: contractmode
  6152. required: true
  6153. type: integer
  6154. produces:
  6155. - application/json
  6156. responses:
  6157. "200":
  6158. description: OK
  6159. schema:
  6160. items:
  6161. $ref: '#/definitions/erms3.QryAuditContractRsp'
  6162. type: array
  6163. "500":
  6164. description: Internal Server Error
  6165. schema:
  6166. $ref: '#/definitions/app.Response'
  6167. security:
  6168. - ApiKeyAuth: []
  6169. summary: 查询待审核合同
  6170. tags:
  6171. - 风险管理v3
  6172. /Erms3/QueryPendingBusiness:
  6173. get:
  6174. parameters:
  6175. - description: 资金账号ID列表,逗号隔开
  6176. in: query
  6177. name: accountids
  6178. required: true
  6179. type: string
  6180. produces:
  6181. - application/json
  6182. responses:
  6183. "200":
  6184. description: OK
  6185. schema:
  6186. items:
  6187. $ref: '#/definitions/erms3.QryPendingBizRsp'
  6188. type: array
  6189. "500":
  6190. description: Internal Server Error
  6191. schema:
  6192. $ref: '#/definitions/app.Response'
  6193. security:
  6194. - ApiKeyAuth: []
  6195. summary: 查询待审核基差贸易业务
  6196. tags:
  6197. - 风险管理v3
  6198. /Erms3/QuerySpotContractAppleForm:
  6199. get:
  6200. parameters:
  6201. - description: 登录账号
  6202. in: query
  6203. name: loginID
  6204. required: true
  6205. type: integer
  6206. produces:
  6207. - application/json
  6208. responses:
  6209. "200":
  6210. description: OK
  6211. schema:
  6212. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  6213. "500":
  6214. description: Internal Server Error
  6215. schema:
  6216. $ref: '#/definitions/app.Response'
  6217. security:
  6218. - ApiKeyAuth: []
  6219. summary: 查询合同申请表单数据
  6220. tags:
  6221. - 风险管理v3
  6222. /Erms3/QuerySpotContractDetail:
  6223. get:
  6224. parameters:
  6225. - description: 资金账号ID列表,用逗号分隔
  6226. in: query
  6227. name: accountids
  6228. required: true
  6229. type: string
  6230. - description: 合同类型,1为采购合同 -1为销售合同
  6231. in: query
  6232. name: contracttype
  6233. required: true
  6234. type: integer
  6235. - description: 合同模式,1为普通合同 2为回购销售合同
  6236. in: query
  6237. name: contractmode
  6238. required: true
  6239. type: integer
  6240. - description: 状态,0为履约中 1为已完成
  6241. in: query
  6242. name: status
  6243. required: true
  6244. type: integer
  6245. produces:
  6246. - application/json
  6247. responses:
  6248. "200":
  6249. description: OK
  6250. schema:
  6251. items:
  6252. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  6253. type: array
  6254. "500":
  6255. description: Internal Server Error
  6256. schema:
  6257. $ref: '#/definitions/app.Response'
  6258. security:
  6259. - ApiKeyAuth: []
  6260. summary: 查询合同详细信息
  6261. tags:
  6262. - 风险管理v3
  6263. /Erms3/QueryUserInfoApplies:
  6264. get:
  6265. parameters:
  6266. - description: 页码
  6267. in: query
  6268. name: page
  6269. type: integer
  6270. - description: 每页条数
  6271. in: query
  6272. name: pagesize
  6273. type: integer
  6274. - description: 客户名称,支持模糊查询
  6275. in: query
  6276. name: userName
  6277. type: string
  6278. produces:
  6279. - application/json
  6280. responses:
  6281. "200":
  6282. description: OK
  6283. schema:
  6284. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  6285. "500":
  6286. description: Internal Server Error
  6287. schema:
  6288. $ref: '#/definitions/app.Response'
  6289. security:
  6290. - ApiKeyAuth: []
  6291. summary: 客户申请信息查询
  6292. tags:
  6293. - 风险管理v3
  6294. /Erms3/QueryUserInfos:
  6295. get:
  6296. parameters:
  6297. - description: 页码
  6298. in: query
  6299. name: page
  6300. type: integer
  6301. - description: 每页条数
  6302. in: query
  6303. name: pagesize
  6304. type: integer
  6305. - description: 客户名称,支持模糊查询
  6306. in: query
  6307. name: userName
  6308. type: string
  6309. produces:
  6310. - application/json
  6311. responses:
  6312. "200":
  6313. description: OK
  6314. schema:
  6315. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  6316. "500":
  6317. description: Internal Server Error
  6318. schema:
  6319. $ref: '#/definitions/app.Response'
  6320. security:
  6321. - ApiKeyAuth: []
  6322. summary: 客户信息查询
  6323. tags:
  6324. - 风险管理v3
  6325. /HSBY/GetHsbyMyCount:
  6326. get:
  6327. description: 说明: 不包括已完成的数量。
  6328. parameters:
  6329. - description: 资金账户列表,格式:1,2,3
  6330. in: query
  6331. name: accountIDs
  6332. required: true
  6333. type: string
  6334. produces:
  6335. - application/json
  6336. responses:
  6337. "200":
  6338. description: OK
  6339. schema:
  6340. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  6341. "500":
  6342. description: Internal Server Error
  6343. schema:
  6344. $ref: '#/definitions/app.Response'
  6345. security:
  6346. - ApiKeyAuth: []
  6347. summary: 获取我的订单与包裹数量
  6348. tags:
  6349. - 定制【海商报业】
  6350. /HSBY/QueryHsbyBuyMyTradeDetail:
  6351. get:
  6352. parameters:
  6353. - description: 页码
  6354. in: query
  6355. name: page
  6356. type: integer
  6357. - description: 每页条数
  6358. in: query
  6359. name: pagesize
  6360. type: integer
  6361. - description: 资金账户列表,格式:1,2,3
  6362. in: query
  6363. name: accountIDs
  6364. required: true
  6365. type: string
  6366. produces:
  6367. - application/json
  6368. responses:
  6369. "200":
  6370. description: OK
  6371. schema:
  6372. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  6373. "500":
  6374. description: Internal Server Error
  6375. schema:
  6376. $ref: '#/definitions/app.Response'
  6377. security:
  6378. - ApiKeyAuth: []
  6379. summary: 查询"我的订单 - 已完成"单据信息
  6380. tags:
  6381. - 定制【海商报业】
  6382. /HSBY/QueryHsbyGoodsOrderDetails:
  6383. get:
  6384. description: 说明:查询结果已按委托价格和委托时间排序
  6385. parameters:
  6386. - description: 商品ID
  6387. in: query
  6388. name: goodsID
  6389. required: true
  6390. type: integer
  6391. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  6392. in: query
  6393. name: accountIDs
  6394. type: string
  6395. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  6396. in: query
  6397. name: buyOrSell
  6398. type: integer
  6399. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  6400. in: query
  6401. name: price
  6402. type: number
  6403. - description: 档位,不传则默认为3档
  6404. in: query
  6405. name: speed
  6406. type: integer
  6407. produces:
  6408. - application/json
  6409. responses:
  6410. "200":
  6411. description: OK
  6412. schema:
  6413. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  6414. "500":
  6415. description: Internal Server Error
  6416. schema:
  6417. $ref: '#/definitions/app.Response'
  6418. security:
  6419. - ApiKeyAuth: []
  6420. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  6421. tags:
  6422. - 定制【海商报业】
  6423. /HSBY/QueryHsbyListingGoodsDetail:
  6424. get:
  6425. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  6426. parameters:
  6427. - description: 商品ID
  6428. in: query
  6429. name: goodsID
  6430. required: true
  6431. type: integer
  6432. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  6433. in: query
  6434. name: AccountID
  6435. type: integer
  6436. produces:
  6437. - application/json
  6438. responses:
  6439. "200":
  6440. description: OK
  6441. schema:
  6442. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  6443. "500":
  6444. description: Internal Server Error
  6445. schema:
  6446. $ref: '#/definitions/app.Response'
  6447. security:
  6448. - ApiKeyAuth: []
  6449. summary: 查询二级市场(挂牌点选)商品信息详情
  6450. tags:
  6451. - 定制【海商报业】
  6452. /HSBY/QueryHsbyMarketGoodsDetail:
  6453. get:
  6454. parameters:
  6455. - description: 委托单号
  6456. in: query
  6457. name: orderID
  6458. required: true
  6459. type: integer
  6460. produces:
  6461. - application/json
  6462. responses:
  6463. "200":
  6464. description: OK
  6465. schema:
  6466. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  6467. "500":
  6468. description: Internal Server Error
  6469. schema:
  6470. $ref: '#/definitions/app.Response'
  6471. security:
  6472. - ApiKeyAuth: []
  6473. summary: 查询三级市场(商城)商品信息详情
  6474. tags:
  6475. - 定制【海商报业】
  6476. /HSBY/QueryHsbyMarketGoodses:
  6477. get:
  6478. parameters:
  6479. - description: 页码
  6480. in: query
  6481. name: page
  6482. type: integer
  6483. - description: 每页条数
  6484. in: query
  6485. name: pagesize
  6486. type: integer
  6487. - description: 市场ID列表,格式:1,2,3
  6488. in: query
  6489. name: marketIDs
  6490. required: true
  6491. type: string
  6492. - description: 资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。
  6493. in: query
  6494. name: accountID
  6495. type: integer
  6496. - description: 类别ID
  6497. in: query
  6498. name: categoryID
  6499. type: integer
  6500. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  6501. in: query
  6502. name: goodsIDs
  6503. type: string
  6504. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  6505. in: query
  6506. name: couponTypeID
  6507. type: integer
  6508. produces:
  6509. - application/json
  6510. responses:
  6511. "200":
  6512. description: OK
  6513. schema:
  6514. $ref: '#/definitions/models.HsbyMarketGoods'
  6515. "500":
  6516. description: Internal Server Error
  6517. schema:
  6518. $ref: '#/definitions/app.Response'
  6519. security:
  6520. - ApiKeyAuth: []
  6521. summary: 查询特卖商品列表(三级商城)
  6522. tags:
  6523. - 定制【海商报业】
  6524. /HSBY/QueryHsbyMarkets:
  6525. get:
  6526. produces:
  6527. - application/json
  6528. responses:
  6529. "200":
  6530. description: OK
  6531. schema:
  6532. $ref: '#/definitions/models.HsbyMarketInfo'
  6533. "500":
  6534. description: Internal Server Error
  6535. schema:
  6536. $ref: '#/definitions/app.Response'
  6537. security:
  6538. - ApiKeyAuth: []
  6539. summary: 查询海商报业相关市场信息
  6540. tags:
  6541. - 定制【海商报业】
  6542. /HSBY/QueryHsbyMyBuyOrderDetails:
  6543. get:
  6544. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  6545. parameters:
  6546. - description: 资金账户列表,格式:1,2,3
  6547. in: query
  6548. name: accountIDs
  6549. required: true
  6550. type: string
  6551. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  6552. in: query
  6553. name: myBuyStatus
  6554. type: integer
  6555. produces:
  6556. - application/json
  6557. responses:
  6558. "200":
  6559. description: OK
  6560. schema:
  6561. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  6562. "500":
  6563. description: Internal Server Error
  6564. schema:
  6565. $ref: '#/definitions/app.Response'
  6566. security:
  6567. - ApiKeyAuth: []
  6568. summary: 查询“我的订单”信息
  6569. tags:
  6570. - 定制【海商报业】
  6571. /HSBY/QueryHsbyMyGoods:
  6572. get:
  6573. parameters:
  6574. - description: 资金账户列表,格式:1,2,3
  6575. in: query
  6576. name: accountIDs
  6577. required: true
  6578. type: string
  6579. produces:
  6580. - application/json
  6581. responses:
  6582. "200":
  6583. description: OK
  6584. schema:
  6585. $ref: '#/definitions/models.HsbyMyGoods'
  6586. "500":
  6587. description: Internal Server Error
  6588. schema:
  6589. $ref: '#/definitions/app.Response'
  6590. security:
  6591. - ApiKeyAuth: []
  6592. summary: 查询“我的商品”信息
  6593. tags:
  6594. - 定制【海商报业】
  6595. /HSBY/QueryHsbyMyPackages:
  6596. get:
  6597. parameters:
  6598. - description: 资金账户列表,格式:1,2,3
  6599. in: query
  6600. name: accountIDs
  6601. required: true
  6602. type: string
  6603. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6604. in: query
  6605. name: takeOrderStatus
  6606. type: integer
  6607. produces:
  6608. - application/json
  6609. responses:
  6610. "200":
  6611. description: OK
  6612. schema:
  6613. $ref: '#/definitions/models.HsbyMyPackage'
  6614. "500":
  6615. description: Internal Server Error
  6616. schema:
  6617. $ref: '#/definitions/app.Response'
  6618. security:
  6619. - ApiKeyAuth: []
  6620. summary: 查询我的包裹信息
  6621. tags:
  6622. - 定制【海商报业】
  6623. /HSBY/QueryHsbyPreGoodsDetail:
  6624. get:
  6625. parameters:
  6626. - description: 商品ID
  6627. in: query
  6628. name: goodsID
  6629. required: true
  6630. type: integer
  6631. - description: 资金账户,主要用于获取预售商品购买上限
  6632. in: query
  6633. name: accountID
  6634. type: integer
  6635. produces:
  6636. - application/json
  6637. responses:
  6638. "200":
  6639. description: OK
  6640. schema:
  6641. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  6642. "500":
  6643. description: Internal Server Error
  6644. schema:
  6645. $ref: '#/definitions/app.Response'
  6646. security:
  6647. - ApiKeyAuth: []
  6648. summary: 查询一级市场(预售)商品信息详情
  6649. tags:
  6650. - 定制【海商报业】
  6651. /HSBY/QueryHsbyPreGoodses:
  6652. get:
  6653. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  6654. parameters:
  6655. - description: 页码
  6656. in: query
  6657. name: page
  6658. type: integer
  6659. - description: 每页条数
  6660. in: query
  6661. name: pagesize
  6662. type: integer
  6663. - description: 市场ID列表,格式:1,2,3
  6664. in: query
  6665. name: marketIDs
  6666. required: true
  6667. type: string
  6668. - description: 目的地(省)ID
  6669. in: query
  6670. name: descProvinceID
  6671. type: integer
  6672. - description: 目的地(市)ID
  6673. in: query
  6674. name: descCityID
  6675. type: integer
  6676. produces:
  6677. - application/json
  6678. responses:
  6679. "200":
  6680. description: OK
  6681. schema:
  6682. $ref: '#/definitions/models.HsbyPreGoods'
  6683. "500":
  6684. description: Internal Server Error
  6685. schema:
  6686. $ref: '#/definitions/app.Response'
  6687. security:
  6688. - ApiKeyAuth: []
  6689. summary: 查询新品上市商品列表(一级市场预售)
  6690. tags:
  6691. - 定制【海商报业】
  6692. /HSBY/QueryHsbySellMyDetails:
  6693. get:
  6694. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  6695. parameters:
  6696. - description: 页码
  6697. in: query
  6698. name: page
  6699. type: integer
  6700. - description: 每页条数
  6701. in: query
  6702. name: pagesize
  6703. type: integer
  6704. - description: 资金账户列表,格式:1,2,3
  6705. in: query
  6706. name: accountIDs
  6707. required: true
  6708. type: string
  6709. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  6710. in: query
  6711. name: orderType
  6712. type: integer
  6713. produces:
  6714. - application/json
  6715. responses:
  6716. "200":
  6717. description: OK
  6718. schema:
  6719. $ref: '#/definitions/models.HsbySellMyDetail'
  6720. "500":
  6721. description: Internal Server Error
  6722. schema:
  6723. $ref: '#/definitions/app.Response'
  6724. security:
  6725. - ApiKeyAuth: []
  6726. summary: 查询"我的闲置"单据信息
  6727. tags:
  6728. - 定制【海商报业】
  6729. /HSBY/QueryHsbyTopGoodses:
  6730. get:
  6731. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  6732. parameters:
  6733. - description: 页码
  6734. in: query
  6735. name: page
  6736. type: integer
  6737. - description: 每页条数
  6738. in: query
  6739. name: pagesize
  6740. type: integer
  6741. - description: 市场ID列表,格式:1,2,3
  6742. in: query
  6743. name: marketIDs
  6744. required: true
  6745. type: string
  6746. - description: 目的地(省)ID
  6747. in: query
  6748. name: descProvinceID
  6749. type: integer
  6750. - description: 目的地(市)ID
  6751. in: query
  6752. name: descCityID
  6753. type: integer
  6754. produces:
  6755. - application/json
  6756. responses:
  6757. "200":
  6758. description: OK
  6759. schema:
  6760. $ref: '#/definitions/models.HsbyTopGoods'
  6761. "500":
  6762. description: Internal Server Error
  6763. schema:
  6764. $ref: '#/definitions/app.Response'
  6765. security:
  6766. - ApiKeyAuth: []
  6767. summary: 查询热卖商品列表(二级市场挂牌点选)
  6768. tags:
  6769. - 定制【海商报业】
  6770. /HSBY/QueryMyCollectionOrders:
  6771. get:
  6772. parameters:
  6773. - description: 页码
  6774. in: query
  6775. name: page
  6776. type: integer
  6777. - description: 每页条数
  6778. in: query
  6779. name: pagesize
  6780. type: integer
  6781. - description: 资金账户,格式:1,2,3
  6782. in: query
  6783. name: accountIDs
  6784. required: true
  6785. type: string
  6786. produces:
  6787. - application/json
  6788. responses:
  6789. "200":
  6790. description: OK
  6791. schema:
  6792. $ref: '#/definitions/models.HsbySellCollectionOrder'
  6793. "500":
  6794. description: Internal Server Error
  6795. schema:
  6796. $ref: '#/definitions/app.Response'
  6797. security:
  6798. - ApiKeyAuth: []
  6799. summary: 我的闲置中收款信息查询
  6800. tags:
  6801. - 定制【海商报业】
  6802. /HSBY/QueryMyCouponHolds:
  6803. get:
  6804. parameters:
  6805. - description: 资金账户列表,格式:1,2,3
  6806. in: query
  6807. name: accountIDs
  6808. required: true
  6809. type: string
  6810. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  6811. in: query
  6812. name: holdStatus
  6813. type: string
  6814. produces:
  6815. - application/json
  6816. responses:
  6817. "200":
  6818. description: OK
  6819. schema:
  6820. $ref: '#/definitions/models.MyCouponHold'
  6821. "500":
  6822. description: Internal Server Error
  6823. schema:
  6824. $ref: '#/definitions/app.Response'
  6825. security:
  6826. - ApiKeyAuth: []
  6827. summary: 我的优惠卷持仓查询
  6828. tags:
  6829. - 定制【海商报业】
  6830. /HSBY/QueryMyCoupons:
  6831. get:
  6832. parameters:
  6833. - description: 资金账户列表,格式:1,2,3
  6834. in: query
  6835. name: accountIDs
  6836. required: true
  6837. type: string
  6838. - description: 商品ID, 一般与sellUserID配套传入
  6839. in: query
  6840. name: goodsID
  6841. type: integer
  6842. - description: 卖方UserID
  6843. in: query
  6844. name: sellUserID
  6845. type: integer
  6846. produces:
  6847. - application/json
  6848. responses:
  6849. "200":
  6850. description: OK
  6851. schema:
  6852. $ref: '#/definitions/models.MyCoupon'
  6853. "500":
  6854. description: Internal Server Error
  6855. schema:
  6856. $ref: '#/definitions/app.Response'
  6857. security:
  6858. - ApiKeyAuth: []
  6859. summary: 我的优惠卷查询
  6860. tags:
  6861. - 定制【海商报业】
  6862. /HSBY/QueryMyPayOrders:
  6863. get:
  6864. parameters:
  6865. - description: 页码
  6866. in: query
  6867. name: page
  6868. type: integer
  6869. - description: 每页条数
  6870. in: query
  6871. name: pagesize
  6872. type: integer
  6873. - description: 资金账户列表,格式:1,2,3
  6874. in: query
  6875. name: accountIDs
  6876. required: true
  6877. type: string
  6878. - description: 买方委托单号
  6879. in: query
  6880. name: buyOrderID
  6881. type: integer
  6882. - description: 卖方委托单号
  6883. in: query
  6884. name: sellOrderID
  6885. type: integer
  6886. produces:
  6887. - application/json
  6888. responses:
  6889. "200":
  6890. description: OK
  6891. schema:
  6892. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  6893. "500":
  6894. description: Internal Server Error
  6895. schema:
  6896. $ref: '#/definitions/app.Response'
  6897. security:
  6898. - ApiKeyAuth: []
  6899. summary: 获取我的订单中待付款信息
  6900. tags:
  6901. - 定制【海商报业】
  6902. /HSBY/QueryMyUsedCoupon:
  6903. get:
  6904. parameters:
  6905. - description: 资金账户列表,格式:1,2,3
  6906. in: query
  6907. name: accountIDs
  6908. required: true
  6909. type: string
  6910. produces:
  6911. - application/json
  6912. responses:
  6913. "200":
  6914. description: OK
  6915. schema:
  6916. $ref: '#/definitions/models.MyUsedCoupon'
  6917. "500":
  6918. description: Internal Server Error
  6919. schema:
  6920. $ref: '#/definitions/app.Response'
  6921. security:
  6922. - ApiKeyAuth: []
  6923. summary: 已使用优惠卷查询
  6924. tags:
  6925. - 定制【海商报业】
  6926. /HSBY/QueryProvincesAndCities:
  6927. get:
  6928. description: 查询结果只包括二级市场商品已关连的省市信息。
  6929. parameters:
  6930. - description: 省ID
  6931. in: query
  6932. name: provinceID
  6933. type: integer
  6934. produces:
  6935. - application/json
  6936. responses:
  6937. "200":
  6938. description: OK
  6939. schema:
  6940. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  6941. "500":
  6942. description: Internal Server Error
  6943. schema:
  6944. $ref: '#/definitions/app.Response'
  6945. security:
  6946. - ApiKeyAuth: []
  6947. summary: 查询省市信息(不包括区)
  6948. tags:
  6949. - 定制【海商报业】
  6950. /HSBY/SetHsbyMyPackagesStatus:
  6951. post:
  6952. parameters:
  6953. - description: 提货单号
  6954. in: query
  6955. name: takeOrderID
  6956. required: true
  6957. type: string
  6958. - description: 资金账号
  6959. in: query
  6960. name: accountID
  6961. required: true
  6962. type: integer
  6963. produces:
  6964. - application/json
  6965. responses:
  6966. "200":
  6967. description: OK
  6968. schema:
  6969. $ref: '#/definitions/app.Response'
  6970. "500":
  6971. description: Internal Server Error
  6972. schema:
  6973. $ref: '#/definitions/app.Response'
  6974. security:
  6975. - ApiKeyAuth: []
  6976. summary: 设置我的包裹已收货状态
  6977. tags:
  6978. - 定制【海商报业】
  6979. /Market/QueryMarketRun:
  6980. get:
  6981. parameters:
  6982. - description: 市场ID,不传返回所有
  6983. in: query
  6984. name: marketID
  6985. type: integer
  6986. produces:
  6987. - application/json
  6988. responses:
  6989. "200":
  6990. description: OK
  6991. schema:
  6992. $ref: '#/definitions/models.Marketrun'
  6993. "500":
  6994. description: Internal Server Error
  6995. schema:
  6996. $ref: '#/definitions/app.Response'
  6997. security:
  6998. - ApiKeyAuth: []
  6999. summary: 查询市场运行信息
  7000. tags:
  7001. - 通用市场
  7002. /Order/QueryHisTradeDetail:
  7003. get:
  7004. parameters:
  7005. - description: 资金账户 - 格式:1,2,3
  7006. in: query
  7007. name: accountID
  7008. required: true
  7009. type: string
  7010. - description: 成交单号
  7011. in: query
  7012. name: tradeID
  7013. type: integer
  7014. - description: 委托单号
  7015. in: query
  7016. name: orderID
  7017. type: integer
  7018. - description: 交易模式 - 格式:1,2,3
  7019. in: query
  7020. name: tradeMode
  7021. type: string
  7022. - description: 委托单据类型
  7023. in: query
  7024. name: buildType
  7025. type: integer
  7026. - description: 成交类别 - 格式:1,2,3
  7027. in: query
  7028. name: tradeType
  7029. type: string
  7030. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7031. in: query
  7032. name: startDate
  7033. type: string
  7034. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7035. in: query
  7036. name: endDate
  7037. type: string
  7038. produces:
  7039. - application/json
  7040. responses:
  7041. "200":
  7042. description: OK
  7043. schema:
  7044. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  7045. "500":
  7046. description: Internal Server Error
  7047. schema:
  7048. $ref: '#/definitions/app.Response'
  7049. security:
  7050. - ApiKeyAuth: []
  7051. summary: 历史成交单查询(合约市场)
  7052. tags:
  7053. - 通用单据
  7054. /Order/QueryHisTradeOrderDetail:
  7055. get:
  7056. parameters:
  7057. - description: 资金账户 - 格式:1,2,3
  7058. in: query
  7059. name: accountID
  7060. required: true
  7061. type: string
  7062. - description: 交易模式 - 格式:1,2,3
  7063. in: query
  7064. name: tradeMode
  7065. type: string
  7066. - description: 委托状态 - 格式:1,2,3
  7067. in: query
  7068. name: orderStatus
  7069. type: string
  7070. - description: 委托单号
  7071. in: query
  7072. name: orderID
  7073. type: integer
  7074. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7075. in: query
  7076. name: startDate
  7077. type: string
  7078. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7079. in: query
  7080. name: endDate
  7081. type: string
  7082. produces:
  7083. - application/json
  7084. responses:
  7085. "200":
  7086. description: OK
  7087. schema:
  7088. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  7089. "500":
  7090. description: Internal Server Error
  7091. schema:
  7092. $ref: '#/definitions/app.Response'
  7093. security:
  7094. - ApiKeyAuth: []
  7095. summary: 历史委托单查询请求(合约市场)
  7096. tags:
  7097. - 通用单据
  7098. /Order/QueryTradeDetail:
  7099. get:
  7100. parameters:
  7101. - description: 资金账户 - 格式:1,2,3
  7102. in: query
  7103. name: accountID
  7104. required: true
  7105. type: string
  7106. - description: 成交单号
  7107. in: query
  7108. name: tradeID
  7109. type: integer
  7110. - description: 委托单号
  7111. in: query
  7112. name: orderID
  7113. type: integer
  7114. - description: 交易模式 - 格式:1,2,3
  7115. in: query
  7116. name: tradeMode
  7117. type: string
  7118. - description: 委托单据类型
  7119. in: query
  7120. name: buildType
  7121. type: integer
  7122. - description: 成交类别 - 格式:1,2,3
  7123. in: query
  7124. name: tradeType
  7125. type: string
  7126. produces:
  7127. - application/json
  7128. responses:
  7129. "200":
  7130. description: OK
  7131. schema:
  7132. $ref: '#/definitions/order.QueryTradeDetailRsp'
  7133. "500":
  7134. description: Internal Server Error
  7135. schema:
  7136. $ref: '#/definitions/app.Response'
  7137. security:
  7138. - ApiKeyAuth: []
  7139. summary: 成交单查询(合约市场)
  7140. tags:
  7141. - 通用单据
  7142. /Order/QueryTradeOrderDetail:
  7143. get:
  7144. parameters:
  7145. - description: 资金账户 - 格式:1,2,3
  7146. in: query
  7147. name: accountID
  7148. required: true
  7149. type: string
  7150. - description: 交易模式 - 格式:1,2,3
  7151. in: query
  7152. name: tradeMode
  7153. type: string
  7154. - description: 委托状态 - 格式:1,2,3
  7155. in: query
  7156. name: orderStatus
  7157. type: string
  7158. - description: 委托单号
  7159. in: query
  7160. name: orderID
  7161. type: integer
  7162. produces:
  7163. - application/json
  7164. responses:
  7165. "200":
  7166. description: OK
  7167. schema:
  7168. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  7169. "500":
  7170. description: Internal Server Error
  7171. schema:
  7172. $ref: '#/definitions/app.Response'
  7173. security:
  7174. - ApiKeyAuth: []
  7175. summary: 委托单查询请求(合约市场)
  7176. tags:
  7177. - 通用单据
  7178. /Order/QueryTradePosition:
  7179. get:
  7180. parameters:
  7181. - description: 资金账户 - 格式:1,2,3
  7182. in: query
  7183. name: accountID
  7184. required: true
  7185. type: string
  7186. - description: 交易模式 - 格式:1,2,3
  7187. in: query
  7188. name: tradeMode
  7189. type: string
  7190. produces:
  7191. - application/json
  7192. responses:
  7193. "200":
  7194. description: OK
  7195. schema:
  7196. $ref: '#/definitions/order.QueryTradePositionRsp'
  7197. "500":
  7198. description: Internal Server Error
  7199. schema:
  7200. $ref: '#/definitions/app.Response'
  7201. security:
  7202. - ApiKeyAuth: []
  7203. summary: 持仓汇总查询(合约市场)
  7204. tags:
  7205. - 通用单据
  7206. /Quote/QueryHistoryDatas:
  7207. get:
  7208. parameters:
  7209. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  7210. 日线 10: Tik'
  7211. in: query
  7212. name: cycleType
  7213. required: true
  7214. type: integer
  7215. - description: 商品代码
  7216. in: query
  7217. name: goodsCode
  7218. required: true
  7219. type: string
  7220. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  7221. in: query
  7222. name: startTime
  7223. type: string
  7224. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  7225. in: query
  7226. name: endTime
  7227. type: string
  7228. - description: 条数
  7229. in: query
  7230. name: count
  7231. type: integer
  7232. - description: 是否按时间顺序排序(默认为时间倒序排序)
  7233. in: query
  7234. name: isAsc
  7235. type: boolean
  7236. produces:
  7237. - application/json
  7238. responses:
  7239. "200":
  7240. description: OK
  7241. schema:
  7242. $ref: '#/definitions/quote.HistoryData'
  7243. "500":
  7244. description: Internal Server Error
  7245. schema:
  7246. $ref: '#/definitions/app.Response'
  7247. security:
  7248. - ApiKeyAuth: []
  7249. summary: 查询行情历史数据
  7250. tags:
  7251. - 行情服务
  7252. /Quote/QueryTSData:
  7253. get:
  7254. parameters:
  7255. - description: 商品代码
  7256. in: query
  7257. name: GoodsCode
  7258. required: true
  7259. type: string
  7260. produces:
  7261. - application/json
  7262. responses:
  7263. "200":
  7264. description: OK
  7265. schema:
  7266. $ref: '#/definitions/quote.QueryTSDataRsp'
  7267. "500":
  7268. description: Internal Server Error
  7269. schema:
  7270. $ref: '#/definitions/app.Response'
  7271. summary: 分时图数据查询
  7272. tags:
  7273. - 行情服务
  7274. /SZDZ/QueryConvertConfig:
  7275. get:
  7276. parameters:
  7277. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7278. 6:交易转花生米(不设置)
  7279. in: query
  7280. name: convertType
  7281. type: integer
  7282. - description: 外部商品代码[JD\PD]
  7283. in: query
  7284. name: outerGoodsCode
  7285. type: string
  7286. - description: 内部商品ID列表[交易],格式:1,2,3
  7287. in: query
  7288. name: innerGoodsIDs
  7289. type: string
  7290. produces:
  7291. - application/json
  7292. responses:
  7293. "200":
  7294. description: OK
  7295. schema:
  7296. $ref: '#/definitions/models.Szdz3convertconfig'
  7297. "500":
  7298. description: Internal Server Error
  7299. schema:
  7300. $ref: '#/definitions/app.Response'
  7301. security:
  7302. - ApiKeyAuth: []
  7303. summary: 查询交易系统转换设置
  7304. tags:
  7305. - 定制【尚志大宗】
  7306. /SZDZ/QueryConvertLog:
  7307. get:
  7308. parameters:
  7309. - description: 资金账户 - 格式:1,2,3
  7310. in: query
  7311. name: accountID
  7312. required: true
  7313. type: string
  7314. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  7315. in: query
  7316. name: startDate
  7317. type: string
  7318. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  7319. in: query
  7320. name: endDate
  7321. type: string
  7322. produces:
  7323. - application/json
  7324. responses:
  7325. "200":
  7326. description: OK
  7327. schema:
  7328. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  7329. "500":
  7330. description: Internal Server Error
  7331. schema:
  7332. $ref: '#/definitions/app.Response'
  7333. security:
  7334. - ApiKeyAuth: []
  7335. summary: 交易系统转换流水查询
  7336. tags:
  7337. - 定制【尚志大宗】
  7338. /SZDZ/QueryGoodsPickup:
  7339. get:
  7340. parameters:
  7341. - description: 资金账户 - 格式:1,2,3
  7342. in: query
  7343. name: accountID
  7344. required: true
  7345. type: string
  7346. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7347. in: query
  7348. name: takeOrderStatus
  7349. type: integer
  7350. produces:
  7351. - application/json
  7352. responses:
  7353. "200":
  7354. description: OK
  7355. schema:
  7356. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  7357. "500":
  7358. description: Internal Server Error
  7359. schema:
  7360. $ref: '#/definitions/app.Response'
  7361. security:
  7362. - ApiKeyAuth: []
  7363. summary: 商品提货单查询
  7364. tags:
  7365. - 定制【尚志大宗】
  7366. /SZDZ/QueryRecieptOrder:
  7367. get:
  7368. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  7369. parameters:
  7370. - description: 页码
  7371. in: query
  7372. name: page
  7373. type: integer
  7374. - description: 每页条数
  7375. in: query
  7376. name: pagesize
  7377. type: integer
  7378. - description: 商品ID
  7379. in: query
  7380. name: goodsID
  7381. required: true
  7382. type: integer
  7383. - description: 所属账户名称
  7384. in: query
  7385. name: accountName
  7386. type: string
  7387. - description: 市场ID
  7388. in: query
  7389. name: marketID
  7390. type: integer
  7391. - description: 方向 - 0:买 1:卖
  7392. in: query
  7393. name: buyorsell
  7394. required: true
  7395. type: integer
  7396. produces:
  7397. - application/json
  7398. responses:
  7399. "200":
  7400. description: OK
  7401. schema:
  7402. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  7403. "500":
  7404. description: Internal Server Error
  7405. schema:
  7406. $ref: '#/definitions/app.Response'
  7407. security:
  7408. - ApiKeyAuth: []
  7409. summary: 点选挂牌委托单据查询(摘牌大厅)
  7410. tags:
  7411. - 定制【尚志大宗】
  7412. /SZDZ/QuerySZDZTradePosition:
  7413. get:
  7414. parameters:
  7415. - description: 资金账户
  7416. in: query
  7417. name: accountID
  7418. required: true
  7419. type: integer
  7420. produces:
  7421. - application/json
  7422. responses:
  7423. "200":
  7424. description: OK
  7425. schema:
  7426. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  7427. "500":
  7428. description: Internal Server Error
  7429. schema:
  7430. $ref: '#/definitions/app.Response'
  7431. security:
  7432. - ApiKeyAuth: []
  7433. summary: 持仓汇总查询(尚志大宗)
  7434. tags:
  7435. - 定制【尚志大宗】
  7436. /SZDZ/SearchWhite:
  7437. get:
  7438. parameters:
  7439. - description: 用户ID
  7440. in: query
  7441. name: userID
  7442. required: true
  7443. type: integer
  7444. produces:
  7445. - application/json
  7446. responses:
  7447. "200":
  7448. description: OK
  7449. schema:
  7450. $ref: '#/definitions/models.Szdz3searchwhitelist'
  7451. "500":
  7452. description: Internal Server Error
  7453. schema:
  7454. $ref: '#/definitions/app.Response'
  7455. security:
  7456. - ApiKeyAuth: []
  7457. summary: 搜索白名单
  7458. tags:
  7459. - 定制【尚志大宗】
  7460. /Search/SearchGoodses:
  7461. get:
  7462. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  7463. parameters:
  7464. - description: 检索内容
  7465. in: query
  7466. name: content
  7467. required: true
  7468. type: string
  7469. - description: 交易模式,格式:1,2,3
  7470. in: query
  7471. name: tradeModes
  7472. type: string
  7473. produces:
  7474. - application/json
  7475. responses:
  7476. "200":
  7477. description: OK
  7478. schema:
  7479. $ref: '#/definitions/models.SearchGoods'
  7480. "500":
  7481. description: Internal Server Error
  7482. schema:
  7483. $ref: '#/definitions/app.Response'
  7484. summary: 检索商品信息
  7485. tags:
  7486. - 检索服务
  7487. /TaAccount/QueryAmountLog:
  7488. get:
  7489. parameters:
  7490. - description: 页码
  7491. in: query
  7492. name: page
  7493. type: integer
  7494. - description: 每页条数
  7495. in: query
  7496. name: pagesize
  7497. type: integer
  7498. - description: 资金账户 - 格式:1,2,3
  7499. in: query
  7500. name: accountID
  7501. required: true
  7502. type: string
  7503. - description: 资金操作类型 - 格式:1,2,3
  7504. in: query
  7505. name: OperateType
  7506. type: string
  7507. produces:
  7508. - application/json
  7509. responses:
  7510. "200":
  7511. description: OK
  7512. schema:
  7513. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  7514. "500":
  7515. description: Internal Server Error
  7516. schema:
  7517. $ref: '#/definitions/app.Response'
  7518. security:
  7519. - ApiKeyAuth: []
  7520. summary: 资金流水查询(当前)
  7521. tags:
  7522. - 资金账户
  7523. /TaAccount/QueryHisAmountLog:
  7524. get:
  7525. parameters:
  7526. - description: 页码
  7527. in: query
  7528. name: page
  7529. type: integer
  7530. - description: 每页条数
  7531. in: query
  7532. name: pagesize
  7533. type: integer
  7534. - description: 资金账户 - 格式:1,2,3
  7535. in: query
  7536. name: accountID
  7537. required: true
  7538. type: string
  7539. - description: 资金操作类型 - 格式:1,2,3
  7540. in: query
  7541. name: OperateType
  7542. type: string
  7543. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7544. in: query
  7545. name: startDate
  7546. type: string
  7547. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7548. in: query
  7549. name: endDate
  7550. type: string
  7551. produces:
  7552. - application/json
  7553. responses:
  7554. "200":
  7555. description: OK
  7556. schema:
  7557. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  7558. "500":
  7559. description: Internal Server Error
  7560. schema:
  7561. $ref: '#/definitions/app.Response'
  7562. security:
  7563. - ApiKeyAuth: []
  7564. summary: 资金流水查询(历史)
  7565. tags:
  7566. - 资金账户
  7567. /Trade/QueryRecieptOrder:
  7568. get:
  7569. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  7570. parameters:
  7571. - description: 页码
  7572. in: query
  7573. name: page
  7574. type: integer
  7575. - description: 每页条数
  7576. in: query
  7577. name: pagesize
  7578. type: integer
  7579. - description: 商品ID
  7580. in: query
  7581. name: goodsID
  7582. required: true
  7583. type: integer
  7584. - description: 所属账户名称
  7585. in: query
  7586. name: accountName
  7587. type: string
  7588. - description: 市场ID
  7589. in: query
  7590. name: marketID
  7591. type: integer
  7592. - description: 方向 - 0:买 1:卖
  7593. in: query
  7594. name: buyorsell
  7595. required: true
  7596. type: integer
  7597. produces:
  7598. - application/json
  7599. responses:
  7600. "200":
  7601. description: OK
  7602. schema:
  7603. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  7604. "500":
  7605. description: Internal Server Error
  7606. schema:
  7607. $ref: '#/definitions/app.Response'
  7608. security:
  7609. - ApiKeyAuth: []
  7610. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  7611. tags:
  7612. - 通用交易
  7613. /User/AddMessageBoard:
  7614. post:
  7615. parameters:
  7616. - description: 用户ID
  7617. in: query
  7618. name: userID
  7619. required: true
  7620. type: integer
  7621. - description: 留言信息
  7622. in: query
  7623. name: message
  7624. required: true
  7625. type: string
  7626. produces:
  7627. - application/json
  7628. responses:
  7629. "200":
  7630. description: OK
  7631. schema:
  7632. $ref: '#/definitions/app.Response'
  7633. "500":
  7634. description: Internal Server Error
  7635. schema:
  7636. $ref: '#/definitions/app.Response'
  7637. security:
  7638. - ApiKeyAuth: []
  7639. summary: 添加用户留言板信息
  7640. tags:
  7641. - 用户信息
  7642. /User/AddUserFavoriteGoods:
  7643. post:
  7644. parameters:
  7645. - description: 用户ID
  7646. in: query
  7647. name: userID
  7648. required: true
  7649. type: integer
  7650. - description: 商品ID
  7651. in: query
  7652. name: goodsID
  7653. required: true
  7654. type: integer
  7655. produces:
  7656. - application/json
  7657. responses:
  7658. "200":
  7659. description: OK
  7660. schema:
  7661. $ref: '#/definitions/app.Response'
  7662. "500":
  7663. description: Internal Server Error
  7664. schema:
  7665. $ref: '#/definitions/app.Response'
  7666. security:
  7667. - ApiKeyAuth: []
  7668. summary: 添加用户商品收藏信息
  7669. tags:
  7670. - 用户信息
  7671. /User/GetLoginID:
  7672. get:
  7673. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  7674. parameters:
  7675. - description: 登录代码
  7676. in: query
  7677. name: username
  7678. required: true
  7679. type: string
  7680. produces:
  7681. - application/json
  7682. responses:
  7683. "200":
  7684. description: OK
  7685. schema:
  7686. $ref: '#/definitions/app.Response'
  7687. "500":
  7688. description: Internal Server Error
  7689. schema:
  7690. $ref: '#/definitions/app.Response'
  7691. summary: 获取登录ID
  7692. tags:
  7693. - 用户信息
  7694. /User/GetUserAccount:
  7695. get:
  7696. parameters:
  7697. - description: 用户ID
  7698. in: query
  7699. name: userID
  7700. required: true
  7701. type: integer
  7702. produces:
  7703. - application/json
  7704. responses:
  7705. "200":
  7706. description: OK
  7707. schema:
  7708. $ref: '#/definitions/models.Useraccount'
  7709. "500":
  7710. description: Internal Server Error
  7711. schema:
  7712. $ref: '#/definitions/app.Response'
  7713. security:
  7714. - ApiKeyAuth: []
  7715. summary: 获取用户账号信息
  7716. tags:
  7717. - 用户信息
  7718. /User/GetUserAuthStatus:
  7719. get:
  7720. parameters:
  7721. - description: 用户ID
  7722. in: query
  7723. name: userID
  7724. required: true
  7725. type: integer
  7726. produces:
  7727. - application/json
  7728. responses:
  7729. "200":
  7730. description: OK
  7731. schema:
  7732. $ref: '#/definitions/app.Response'
  7733. "500":
  7734. description: Internal Server Error
  7735. schema:
  7736. $ref: '#/definitions/app.Response'
  7737. security:
  7738. - ApiKeyAuth: []
  7739. summary: 获取用户实名认证状态
  7740. tags:
  7741. - 用户信息
  7742. /User/QueryMessageBoard:
  7743. get:
  7744. parameters:
  7745. - description: 用户ID
  7746. in: query
  7747. name: userID
  7748. required: true
  7749. type: integer
  7750. produces:
  7751. - application/json
  7752. responses:
  7753. "200":
  7754. description: OK
  7755. schema:
  7756. $ref: '#/definitions/models.Messageboard'
  7757. "500":
  7758. description: Internal Server Error
  7759. schema:
  7760. $ref: '#/definitions/app.Response'
  7761. security:
  7762. - ApiKeyAuth: []
  7763. summary: 获取用户留言板信息
  7764. tags:
  7765. - 用户信息
  7766. /User/QueryUserFavoriteGoodses:
  7767. get:
  7768. parameters:
  7769. - description: 用户ID
  7770. in: query
  7771. name: userID
  7772. required: true
  7773. type: integer
  7774. produces:
  7775. - application/json
  7776. responses:
  7777. "200":
  7778. description: OK
  7779. schema:
  7780. $ref: '#/definitions/models.Userfavoritegoods'
  7781. "500":
  7782. description: Internal Server Error
  7783. schema:
  7784. $ref: '#/definitions/app.Response'
  7785. security:
  7786. - ApiKeyAuth: []
  7787. summary: 获取用户商品收藏信息
  7788. tags:
  7789. - 用户信息
  7790. /User/QueryUserInfo:
  7791. get:
  7792. parameters:
  7793. - description: 用户ID
  7794. in: query
  7795. name: userID
  7796. required: true
  7797. type: integer
  7798. produces:
  7799. - application/json
  7800. responses:
  7801. "200":
  7802. description: OK
  7803. schema:
  7804. $ref: '#/definitions/models.Userinfo'
  7805. "500":
  7806. description: Internal Server Error
  7807. schema:
  7808. $ref: '#/definitions/app.Response'
  7809. security:
  7810. - ApiKeyAuth: []
  7811. summary: 获取用户信息
  7812. tags:
  7813. - 用户信息
  7814. /User/QueryUserReferNum:
  7815. get:
  7816. parameters:
  7817. - description: 用户ID
  7818. in: query
  7819. name: userID
  7820. required: true
  7821. type: integer
  7822. produces:
  7823. - application/json
  7824. responses:
  7825. "200":
  7826. description: OK
  7827. schema:
  7828. $ref: '#/definitions/app.Response'
  7829. "500":
  7830. description: Internal Server Error
  7831. schema:
  7832. $ref: '#/definitions/app.Response'
  7833. summary: 获取用户邀请码
  7834. tags:
  7835. - 用户信息
  7836. /User/RemoveUserFavoriteGoods:
  7837. post:
  7838. parameters:
  7839. - description: 用户ID
  7840. in: query
  7841. name: userID
  7842. required: true
  7843. type: integer
  7844. - description: 商品ID
  7845. in: query
  7846. name: goodsID
  7847. required: true
  7848. type: integer
  7849. produces:
  7850. - application/json
  7851. responses:
  7852. "200":
  7853. description: OK
  7854. schema:
  7855. $ref: '#/definitions/app.Response'
  7856. "500":
  7857. description: Internal Server Error
  7858. schema:
  7859. $ref: '#/definitions/app.Response'
  7860. security:
  7861. - ApiKeyAuth: []
  7862. summary: 移除用户商品收藏信息
  7863. tags:
  7864. - 用户信息
  7865. /WR/GetWRCategoryInfo:
  7866. get:
  7867. produces:
  7868. - application/json
  7869. responses:
  7870. "200":
  7871. description: OK
  7872. schema:
  7873. $ref: '#/definitions/models.WRCategoryTree'
  7874. "500":
  7875. description: Internal Server Error
  7876. schema:
  7877. $ref: '#/definitions/app.Response'
  7878. summary: 获取现货分类信息
  7879. tags:
  7880. - 仓单服务
  7881. /WRTrade/GetAllDeliveryGoods:
  7882. get:
  7883. produces:
  7884. - application/json
  7885. - application/json
  7886. responses:
  7887. "200":
  7888. description: OK
  7889. schema:
  7890. $ref: '#/definitions/app.Response'
  7891. "500":
  7892. description: Internal Server Error
  7893. schema:
  7894. $ref: '#/definitions/app.Response'
  7895. security:
  7896. - ApiKeyAuth: []
  7897. - ApiKeyAuth: []
  7898. summary: 获取带仓单分类的种类信息
  7899. tags:
  7900. - 仓单贸易
  7901. - 仓单贸易
  7902. securityDefinitions:
  7903. ApiKeyAuth:
  7904. in: header
  7905. name: Authorization
  7906. type: apiKey
  7907. swagger: "2.0"