swagger.yaml 216 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829
  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: integer
  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: integer
  3360. couponname:
  3361. description: 优惠券名称
  3362. type: string
  3363. coupontypeid:
  3364. description: 优惠券类型ID - SEQ_COUPONTYPE
  3365. type: integer
  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.OperationPrimaryMenu:
  3406. properties:
  3407. Children:
  3408. description: 二级功能菜单
  3409. items:
  3410. $ref: '#/definitions/models.OperationSecondaryMenu'
  3411. type: array
  3412. Key:
  3413. description: 菜单KEY
  3414. type: string
  3415. Label:
  3416. description: 菜单标题
  3417. type: string
  3418. type: object
  3419. models.OperationSecondaryMenu:
  3420. properties:
  3421. Key:
  3422. description: 菜单KEY
  3423. type: string
  3424. Label:
  3425. description: 菜单标题
  3426. type: string
  3427. TabList:
  3428. description: 三级功能菜单
  3429. items:
  3430. $ref: '#/definitions/models.OperationTabMenu'
  3431. type: array
  3432. type: object
  3433. models.OperationTabMenu:
  3434. properties:
  3435. Key:
  3436. description: 菜单KEY
  3437. type: string
  3438. Label:
  3439. description: 菜单标题
  3440. type: string
  3441. type: object
  3442. models.QuotePrimaryMenu:
  3443. properties:
  3444. Index:
  3445. description: 序号
  3446. type: integer
  3447. Key:
  3448. description: 键名
  3449. type: string
  3450. Name:
  3451. description: 菜单名称
  3452. type: string
  3453. SubMenus:
  3454. description: 子菜单
  3455. items:
  3456. $ref: '#/definitions/models.QuoteSecondaryMenu'
  3457. type: array
  3458. SubTitleType:
  3459. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  3460. type: integer
  3461. TradeModes:
  3462. description: 包含市场交易类型
  3463. type: string
  3464. type: object
  3465. models.QuoteSecondaryMenu:
  3466. properties:
  3467. ExExchangeCode:
  3468. description: 外部交易所代码
  3469. type: string
  3470. ExExchangeID:
  3471. description: 外部交易所ID
  3472. type: integer
  3473. GoodsGroupIDs:
  3474. description: 商品组ID列表
  3475. items:
  3476. type: integer
  3477. type: array
  3478. Index:
  3479. description: 序号
  3480. type: integer
  3481. MarketID:
  3482. description: 市场ID
  3483. type: integer
  3484. MenuTitle:
  3485. description: 菜单标题(市场名称或外部交易所名称)
  3486. type: string
  3487. TradeMode:
  3488. description: 交易模式
  3489. type: integer
  3490. type: object
  3491. models.SearchGoods:
  3492. properties:
  3493. goodscode:
  3494. description: 商品代码(内部)
  3495. type: string
  3496. goodsid:
  3497. description: 商品ID(自增ID SEQ_GOODS)
  3498. type: integer
  3499. goodsname:
  3500. description: 商品名称
  3501. type: string
  3502. marketid:
  3503. description: 所属市场ID
  3504. type: integer
  3505. marketname:
  3506. description: 市场名称
  3507. type: string
  3508. trademode:
  3509. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3510. 21:竞拍-大宗式 22:受托竞价
  3511. type: integer
  3512. required:
  3513. - goodscode
  3514. - goodsid
  3515. - goodsname
  3516. - marketid
  3517. - trademode
  3518. type: object
  3519. models.Szdz2imageconfig:
  3520. properties:
  3521. configid:
  3522. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  3523. type: integer
  3524. imagepath:
  3525. description: 图片
  3526. type: string
  3527. imagetype:
  3528. description: 类型 - 1:App首页轮播 2:我的
  3529. type: integer
  3530. sort:
  3531. description: 排序
  3532. type: integer
  3533. title:
  3534. description: 标题
  3535. type: string
  3536. url:
  3537. description: 链接
  3538. type: string
  3539. required:
  3540. - configid
  3541. type: object
  3542. models.Szdz3convertconfig:
  3543. properties:
  3544. canin:
  3545. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  3546. type: integer
  3547. canout:
  3548. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  3549. type: integer
  3550. converttype:
  3551. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  3552. 6:交易转花生米(不设置)
  3553. type: integer
  3554. createtime:
  3555. description: 创建时间
  3556. type: string
  3557. creatorid:
  3558. description: 创建人
  3559. type: integer
  3560. daymaxvalue:
  3561. description: 当日最大转入限制
  3562. type: number
  3563. freezedays:
  3564. description: 冻结天数 [5:花生米转交易]
  3565. type: integer
  3566. innergoodsid:
  3567. description: 内部商品ID[交易]
  3568. type: integer
  3569. inratio:
  3570. description: 目标值
  3571. type: integer
  3572. modifierid:
  3573. description: 修改人
  3574. type: integer
  3575. modifytime:
  3576. description: 修改时间
  3577. type: string
  3578. outergoodscode:
  3579. description: 外部商品代码[JD\PD]
  3580. type: string
  3581. outratio:
  3582. description: 源值
  3583. type: integer
  3584. pddecimalplace:
  3585. description: PD小数位
  3586. type: integer
  3587. timemaxvalue:
  3588. description: 单次最大转入限制
  3589. type: number
  3590. timeminvalue:
  3591. description: 单次最小转入限制
  3592. type: number
  3593. required:
  3594. - converttype
  3595. - innergoodsid
  3596. - outergoodscode
  3597. type: object
  3598. models.Szdz3searchwhitelist:
  3599. properties:
  3600. createtime:
  3601. description: 创建时间
  3602. type: string
  3603. creatorid:
  3604. description: 创建人
  3605. type: integer
  3606. modifierid:
  3607. description: 修改人
  3608. type: integer
  3609. modifytime:
  3610. description: 修改时间
  3611. type: string
  3612. userid:
  3613. description: 用户ID
  3614. type: integer
  3615. required:
  3616. - userid
  3617. type: object
  3618. models.Tablecolumnconfig:
  3619. properties:
  3620. aligntype:
  3621. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  3622. type: integer
  3623. autoid:
  3624. description: AutoID
  3625. type: integer
  3626. columnfield:
  3627. description: 列字段
  3628. type: string
  3629. columntitle:
  3630. description: 列Title
  3631. type: string
  3632. columnwidth:
  3633. description: 列宽
  3634. type: string
  3635. formatterstring:
  3636. description: 格式化字符
  3637. type: string
  3638. formattertype:
  3639. description: 格式化类型
  3640. type: string
  3641. groupname:
  3642. description: 表头分组名称
  3643. type: string
  3644. isshow:
  3645. description: 是否显示 - 0:不显示 1:显示
  3646. type: integer
  3647. needsummary:
  3648. description: 是否需要汇总 - 0:不需要 1:需要
  3649. type: integer
  3650. orderindex:
  3651. description: 顺序
  3652. type: integer
  3653. remark:
  3654. description: 备注
  3655. type: string
  3656. summarytype:
  3657. description: 汇总类型 - 1:加总 2:最后一个
  3658. type: integer
  3659. tablekey:
  3660. description: 列表Key
  3661. type: string
  3662. required:
  3663. - autoid
  3664. type: object
  3665. models.Useraccount:
  3666. properties:
  3667. accountname:
  3668. description: 账户名称(机构名称)
  3669. type: string
  3670. accountstatus:
  3671. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  3672. type: integer
  3673. auditremark:
  3674. description: 审核备注
  3675. type: string
  3676. audittime:
  3677. description: 审核时间
  3678. type: string
  3679. audituserid:
  3680. description: 审核人
  3681. type: integer
  3682. broker:
  3683. description: 所属经纪人ID
  3684. type: integer
  3685. canceltime:
  3686. description: 销户时间
  3687. type: string
  3688. canceluserid:
  3689. description: 销户人
  3690. type: integer
  3691. createtime:
  3692. description: 创建时间
  3693. type: string
  3694. creatorid:
  3695. description: 创建人
  3696. type: integer
  3697. hasauth:
  3698. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  3699. type: integer
  3700. isanonymous:
  3701. description: 是否匿名下单 - 0:否 1:是
  3702. type: integer
  3703. maxinvestornum:
  3704. description: 最大用户数(经纪会员下投资者个数)
  3705. type: integer
  3706. memberuserid:
  3707. description: 所属会员ID
  3708. type: integer
  3709. modifierid:
  3710. description: 修改人
  3711. type: integer
  3712. modifyremark:
  3713. description: 变更备注
  3714. type: string
  3715. modifystatus:
  3716. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  3717. type: integer
  3718. modifytime:
  3719. description: 修改时间
  3720. type: string
  3721. parentuserid:
  3722. description: 所属机构ID
  3723. type: integer
  3724. reckonaccountid:
  3725. description: 默认结算资金账号ID(机构分润使用) 作废
  3726. type: integer
  3727. refercount:
  3728. description: 推荐总人数
  3729. type: integer
  3730. refereeuserid:
  3731. description: 推荐人ID
  3732. type: integer
  3733. refernum:
  3734. description: 推荐码
  3735. type: string
  3736. subarealevelpath:
  3737. description: 子机构层级路径(逗号分隔,首尾加逗号)
  3738. type: string
  3739. userid:
  3740. description: 用户ID
  3741. type: integer
  3742. usertype:
  3743. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3744. type: integer
  3745. required:
  3746. - userid
  3747. type: object
  3748. models.Userfavoritegoods:
  3749. properties:
  3750. goodsid:
  3751. description: 商品ID
  3752. type: integer
  3753. required:
  3754. - goodsid
  3755. type: object
  3756. models.Userinfo:
  3757. properties:
  3758. address:
  3759. description: 地址
  3760. type: string
  3761. attachment1:
  3762. description: 附件1
  3763. type: string
  3764. attachment2:
  3765. description: 附件2
  3766. type: string
  3767. bankaccount:
  3768. description: 银行帐号 (加密存储)
  3769. type: string
  3770. bankaccountname:
  3771. description: 收款人名称
  3772. type: string
  3773. bankcardfrontphotourl:
  3774. description: 银行卡正面照地址
  3775. type: string
  3776. bankid:
  3777. description: 银行编码
  3778. type: string
  3779. bankname:
  3780. description: 银行名称
  3781. type: string
  3782. biznature:
  3783. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3784. type: integer
  3785. bizscope:
  3786. description: 企业经营范围(企业)
  3787. type: string
  3788. cardbackphotourl:
  3789. description: 证件背面图片地址
  3790. type: string
  3791. cardfrontphotourl:
  3792. description: 证件正面图片地址
  3793. type: string
  3794. cardnum:
  3795. description: 证件号码(加密存储)
  3796. type: string
  3797. cardtypeid:
  3798. description: 证件类型ID
  3799. type: integer
  3800. cityid:
  3801. description: 市
  3802. type: integer
  3803. company:
  3804. description: 公司(个人)
  3805. type: string
  3806. contactname:
  3807. description: 联系人
  3808. type: string
  3809. countryid:
  3810. description: 国家
  3811. type: integer
  3812. createtime:
  3813. description: 创建时间
  3814. type: string
  3815. creatorid:
  3816. description: 创建人
  3817. type: integer
  3818. customername:
  3819. description: 客户名称(企业名称)
  3820. type: string
  3821. districtid:
  3822. description: 地区
  3823. type: integer
  3824. email:
  3825. description: 邮件(加密存储)
  3826. type: string
  3827. fax:
  3828. description: 传真(加密存储)
  3829. type: string
  3830. halfbodyphotourl:
  3831. description: 半身照地址
  3832. type: string
  3833. hasencrypt:
  3834. description: 数据是否已加密 - 0:未加密 1:已加密
  3835. type: integer
  3836. headurl:
  3837. description: 头像地址
  3838. type: string
  3839. legalcardbackphotourl:
  3840. description: 法人身份证背面照地址
  3841. type: string
  3842. legalcardfrontphotourl:
  3843. description: 法人身份证正面照地址
  3844. type: string
  3845. legalpersonname:
  3846. description: 法人姓名(企业)
  3847. type: string
  3848. mobile:
  3849. description: 手机号码(加密存储)
  3850. type: string
  3851. mobile2:
  3852. description: 手机号码[明文-尚志]
  3853. type: string
  3854. modifierid:
  3855. description: 修改人
  3856. type: integer
  3857. modifiertime:
  3858. description: 修改时间
  3859. type: string
  3860. needinvoice:
  3861. description: 是否需要发票 - 0:不需要 1:需要
  3862. type: integer
  3863. nickname:
  3864. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3865. type: string
  3866. openmode:
  3867. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3868. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3869. type: integer
  3870. otherurl:
  3871. description: 其它图片地址[使用分号分隔]
  3872. type: string
  3873. postalcode:
  3874. description: 邮政编码
  3875. type: string
  3876. provinceid:
  3877. description: 省
  3878. type: integer
  3879. qq:
  3880. description: QQ(加密存储
  3881. type: string
  3882. remark:
  3883. description: 备注
  3884. type: string
  3885. sex:
  3886. description: '用户性别 0: 女 1: 男'
  3887. type: integer
  3888. signpdfurl:
  3889. description: 签约pdf文件
  3890. type: string
  3891. telphone:
  3892. description: 联系电话(加密存储)
  3893. type: string
  3894. userid:
  3895. description: 用户ID
  3896. type: integer
  3897. userinfotype:
  3898. description: 用户信息类型 - 1:个人 2:企业
  3899. type: integer
  3900. userstatus:
  3901. description: 用户状态 - 1:正常 2:注销
  3902. type: integer
  3903. usertype:
  3904. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3905. type: integer
  3906. wechat:
  3907. description: 微信(加密存储)
  3908. type: string
  3909. wskhinfo:
  3910. description: 开户申请信息(JSON)
  3911. type: string
  3912. required:
  3913. - userid
  3914. type: object
  3915. models.WRCategoryTree:
  3916. properties:
  3917. areauserid:
  3918. description: 所属机构
  3919. type: integer
  3920. categorydesc:
  3921. description: 类别描述
  3922. type: string
  3923. categoryid:
  3924. description: 类别ID(SEQ_WRCATEGORY)
  3925. type: integer
  3926. categoryname:
  3927. description: 类别名称
  3928. type: string
  3929. iconurl:
  3930. description: 图标地址
  3931. type: string
  3932. orderindex:
  3933. description: 顺序
  3934. type: integer
  3935. parentcategoryid:
  3936. description: 父类别ID
  3937. type: integer
  3938. subcategory:
  3939. description: 子分类
  3940. items:
  3941. $ref: '#/definitions/models.WRCategoryTree'
  3942. type: array
  3943. required:
  3944. - categoryid
  3945. type: object
  3946. models.WRStandardInfo:
  3947. properties:
  3948. createtime:
  3949. description: 创建时间
  3950. type: string
  3951. creatorid:
  3952. description: 创建人
  3953. type: integer
  3954. deliverygoodsid:
  3955. description: 品种ID
  3956. type: integer
  3957. deliverygoodsname:
  3958. description: 交割商品名称
  3959. type: string
  3960. factoryitemjson:
  3961. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  3962. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  3963. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  3964. 逗号分隔'
  3965. type: string
  3966. isvalid:
  3967. description: 是否有效 - 0:无效 1:有效
  3968. type: integer
  3969. minivalue:
  3970. description: 最小变动值
  3971. type: integer
  3972. minivaluedp:
  3973. description: 最小变动值小数位
  3974. type: integer
  3975. realminivalue:
  3976. description: 实际最小变动值
  3977. type: integer
  3978. realminivaluedp:
  3979. description: 实际最小变动值小数位
  3980. type: integer
  3981. unitid:
  3982. description: 单位ID
  3983. type: integer
  3984. unitname:
  3985. description: 单位
  3986. type: string
  3987. updatetime:
  3988. description: 更新时间
  3989. type: string
  3990. updatorid:
  3991. description: 更新人
  3992. type: integer
  3993. wrsstatus:
  3994. description: 状态 - 作废 - 0:未激活 1:正常
  3995. type: integer
  3996. wrstandardcode:
  3997. description: 仓单标准代码
  3998. type: string
  3999. wrstandardid:
  4000. description: 仓单标准ID(SEQ_WRSTANDARD)
  4001. type: integer
  4002. wrstandardname:
  4003. description: 仓单标准名称
  4004. type: string
  4005. required:
  4006. - wrstandardid
  4007. type: object
  4008. models.Warehouseinfo:
  4009. properties:
  4010. address:
  4011. description: 详细地址
  4012. type: string
  4013. areauserid:
  4014. description: 所属机构
  4015. type: integer
  4016. autoid:
  4017. description: 自增ID
  4018. type: integer
  4019. cityid:
  4020. description: 市
  4021. type: integer
  4022. contactname:
  4023. description: 联系人
  4024. type: string
  4025. contactnum:
  4026. description: 联系电话
  4027. type: string
  4028. countryid:
  4029. description: 国家
  4030. type: integer
  4031. createtime:
  4032. description: 创建时间
  4033. type: string
  4034. districtid:
  4035. description: 区
  4036. type: integer
  4037. hasvideo:
  4038. description: 是否有视频 - 0:无 1:有
  4039. type: integer
  4040. provinceid:
  4041. description: 省
  4042. type: integer
  4043. remark:
  4044. description: 审核备注
  4045. type: string
  4046. videourl:
  4047. description: 视频地址
  4048. type: string
  4049. warehousecode:
  4050. description: 仓库代码
  4051. type: string
  4052. warehousename:
  4053. description: 仓库名称
  4054. type: string
  4055. warehousestatus:
  4056. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4057. type: integer
  4058. warehousetype:
  4059. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4060. type: integer
  4061. required:
  4062. - autoid
  4063. - warehousecode
  4064. type: object
  4065. order.QueryHisTradeDetailRsp:
  4066. properties:
  4067. accountid:
  4068. description: 账户ID[报价币种]
  4069. type: integer
  4070. buildtype:
  4071. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4072. type: integer
  4073. buyorsell:
  4074. description: 方向 - 0:买 1:卖
  4075. type: integer
  4076. charge:
  4077. description: 手续费
  4078. type: number
  4079. closecharge:
  4080. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4081. type: number
  4082. closeexchagechargevalue:
  4083. description: 平仓交易所手续费设置值
  4084. type: number
  4085. closefeealgorithm:
  4086. description: 平仓手续费收取方式 1:比率 2:固定
  4087. type: integer
  4088. closememberchargevalue:
  4089. description: 平仓会员手续费设置值
  4090. type: number
  4091. closepl:
  4092. description: 平仓盈亏
  4093. type: number
  4094. closepl2:
  4095. description: 平仓盈亏[逐笔]
  4096. type: number
  4097. closeqty:
  4098. description: 平仓数量(先建后平操作 需要记录)
  4099. type: integer
  4100. creditamount:
  4101. description: 授信金额
  4102. type: number
  4103. gcaccountid:
  4104. description: 账户ID[合约币种]
  4105. type: integer
  4106. goodscode:
  4107. description: 商品代码
  4108. type: string
  4109. goodsid:
  4110. description: 商品ID
  4111. type: integer
  4112. goodsname:
  4113. description: 商品名称
  4114. type: string
  4115. histradedate:
  4116. description: 历史交易日
  4117. type: string
  4118. intclosepl:
  4119. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4120. type: integer
  4121. isconfirmexercise:
  4122. description: 是否确认行权- 0:否 1:是
  4123. type: integer
  4124. ismain:
  4125. description: 是否主单 - 0:不是 1:是
  4126. type: integer
  4127. ispreexercise:
  4128. description: 是否预申报- 0:否 1:是
  4129. type: integer
  4130. isreckoned:
  4131. description: 是否结算 - 0:未结算 1:已结算
  4132. type: integer
  4133. isvaliddata:
  4134. description: 是否有效 - 0:无效 1:有效
  4135. type: integer
  4136. listingselecttype:
  4137. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4138. type: integer
  4139. marketid:
  4140. description: 市场ID
  4141. type: integer
  4142. marketname:
  4143. description: 市场名称
  4144. type: string
  4145. matchaccountid:
  4146. description: 对手账号id
  4147. type: integer
  4148. memberuserid:
  4149. description: 会员id 个人投资者 需要填写
  4150. type: integer
  4151. opencharge:
  4152. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4153. type: number
  4154. openexchagechargevalue:
  4155. description: 建仓交易所手续费设置值
  4156. type: number
  4157. openfeealgorithm:
  4158. description: 建仓手续费收取方式 1:比率 2:固定
  4159. type: integer
  4160. openmemberchargevalue:
  4161. description: 建仓会员手续费设置值
  4162. type: number
  4163. openqty:
  4164. description: 开仓数量(先建后平操作 需要记录)
  4165. type: integer
  4166. optiontype:
  4167. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4168. type: integer
  4169. orderid:
  4170. description: 委托单号
  4171. type: string
  4172. performanceplanid:
  4173. description: 履约计划ID[期权]
  4174. type: integer
  4175. performancestatus:
  4176. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4177. type: integer
  4178. preexerciseprice:
  4179. description: 预申报价格
  4180. type: number
  4181. premium:
  4182. description: 权利金 - [持仓单的权利金]
  4183. type: number
  4184. relatedouttradeid:
  4185. description: 关联外部成交单ID
  4186. type: integer
  4187. status:
  4188. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4189. type: integer
  4190. tradeamount:
  4191. description: 成交金额[账户币种,用于所有权]
  4192. type: number
  4193. tradedate:
  4194. description: 交易日(yyyyMMdd)
  4195. type: string
  4196. tradeid:
  4197. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4198. type: string
  4199. trademode:
  4200. description: 交易模式
  4201. type: integer
  4202. tradeprice:
  4203. description: 成交价格
  4204. type: number
  4205. tradeproperty:
  4206. description: 交易属性
  4207. type: integer
  4208. tradeqty:
  4209. description: 成交数量
  4210. type: integer
  4211. tradetime:
  4212. description: 成交时间
  4213. type: string
  4214. tradetype:
  4215. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4216. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4217. type: integer
  4218. required:
  4219. - accountid
  4220. - buyorsell
  4221. - goodsid
  4222. - histradedate
  4223. - marketid
  4224. - memberuserid
  4225. - orderid
  4226. - tradeamount
  4227. - tradedate
  4228. - tradeid
  4229. - tradeprice
  4230. - tradeqty
  4231. - tradetime
  4232. type: object
  4233. order.QueryHisTradeOrderDetailRsp:
  4234. properties:
  4235. accountid:
  4236. description: 账户ID[报价币种]
  4237. type: integer
  4238. buildtype:
  4239. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4240. type: integer
  4241. buyorsell:
  4242. description: 买卖 - 0:买 1:卖
  4243. type: integer
  4244. cancelorderid:
  4245. description: 撤单单号(撤单时填写)
  4246. type: string
  4247. cancelqty:
  4248. description: 撤单数量
  4249. type: integer
  4250. clientordertime:
  4251. description: 客户端委托时间
  4252. type: string
  4253. clientticket:
  4254. description: 客户端流水号
  4255. type: string
  4256. clienttype:
  4257. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4258. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4259. type: integer
  4260. closeexchagechargevalue:
  4261. description: 平仓交易所手续费设置值
  4262. type: number
  4263. closefeealgorithm:
  4264. description: 平仓手续费收取方式 1:比率 2:固定
  4265. type: integer
  4266. closefreezecharge:
  4267. description: 平仓冻结手续费(先建后平操作,需要记录)
  4268. type: number
  4269. closememberchargevalue:
  4270. description: 平仓会员手续费设置值
  4271. type: number
  4272. closeqty:
  4273. description: 平仓数量(先建后平操作 需要记录)
  4274. type: integer
  4275. closetradeqty:
  4276. description: 平仓成交数量(先建后平操作,需要记录)
  4277. type: integer
  4278. closeunfreezecharge:
  4279. description: 平仓解冻手续费(先建后平操作,需要记录)
  4280. type: number
  4281. delistingtype:
  4282. description: 摘牌类型 - 1:价格最优 2:点选成交
  4283. type: integer
  4284. freezecharge:
  4285. description: 冻结手续费
  4286. type: number
  4287. freezemargin:
  4288. description: 冻结保证金(冻结交易金额)
  4289. type: number
  4290. gcaccountid:
  4291. description: 账户ID[合约币种]
  4292. type: integer
  4293. goodscode:
  4294. description: 商品代码
  4295. type: string
  4296. goodsid:
  4297. description: 商品ID
  4298. type: integer
  4299. goodsname:
  4300. description: 商品名称
  4301. type: string
  4302. histradedate:
  4303. description: 历史交易日
  4304. type: string
  4305. isconfirmexercise:
  4306. description: 是否确认行权- 0:否 1:是
  4307. type: integer
  4308. ispreexercise:
  4309. description: 是否预申报- 0:否 1:是
  4310. type: integer
  4311. isvaliddata:
  4312. description: 是否有效 - 0:无效 1:有效
  4313. type: integer
  4314. listingselecttype:
  4315. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4316. type: integer
  4317. marginalgorithm:
  4318. description: 保证金收取方式 1:比率 2:固定
  4319. type: integer
  4320. marginvalue:
  4321. description: 即市保证金设置值
  4322. type: number
  4323. marketid:
  4324. description: 市场ID
  4325. type: integer
  4326. marketmaxsub:
  4327. description: 市价最大偏移范围
  4328. type: number
  4329. marketname:
  4330. description: 市场名称
  4331. type: string
  4332. memberuserid:
  4333. description: 所属会员UserID
  4334. type: integer
  4335. openexchagechargevalue:
  4336. description: 建仓交易所手续费设置值
  4337. type: number
  4338. openfeealgorithm:
  4339. description: 建仓手续费收取方式 1:比率 2:固定
  4340. type: integer
  4341. openfreezecharge:
  4342. description: 开仓冻结手续费(先建后平操作,需要记录)
  4343. type: number
  4344. openmemberchargevalue:
  4345. description: 建仓会员手续费设置值
  4346. type: number
  4347. openqty:
  4348. description: 开仓数量(先建后平操作,需要记录)
  4349. type: integer
  4350. opentradeqty:
  4351. description: 开仓成交数量(先建后平操作,需要记录)
  4352. type: integer
  4353. openunfreezecharge:
  4354. description: 开仓解冻手续费(先建后平操作,需要记录)
  4355. type: number
  4356. operatetype:
  4357. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4358. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4359. 15:管理端协议转让
  4360. type: integer
  4361. operatorid:
  4362. description: 登录账号(LoginID)
  4363. type: integer
  4364. optiontype:
  4365. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4366. type: integer
  4367. orderid:
  4368. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4369. type: string
  4370. orderprice:
  4371. description: 委托价格
  4372. type: number
  4373. orderqty:
  4374. description: 委托数量
  4375. type: integer
  4376. ordersrc:
  4377. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4378. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4379. type: integer
  4380. orderstatus:
  4381. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4382. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4383. 16:成交失败违约(荷兰式竞拍专用)
  4384. type: integer
  4385. ordertime:
  4386. description: 委托时间
  4387. type: string
  4388. preexerciseprice:
  4389. description: 预申报价格
  4390. type: number
  4391. premium:
  4392. description: 权利金
  4393. type: number
  4394. preorderid:
  4395. description: 关联预埋单号(止盈止损单时填写)
  4396. type: string
  4397. pricemode:
  4398. description: '取价方式 - 1:市价 2: 限价'
  4399. type: integer
  4400. quoteid:
  4401. description: 报价单ID
  4402. type: integer
  4403. relatedid:
  4404. description: 关联单号(交割单)
  4405. type: string
  4406. retcode:
  4407. description: 错误代码
  4408. type: integer
  4409. sessionid:
  4410. description: 会话ID
  4411. type: integer
  4412. tradedate:
  4413. description: 交易日(yyyyMMdd)
  4414. type: string
  4415. trademode:
  4416. description: 交易模式
  4417. type: integer
  4418. tradeproperty:
  4419. description: 交易属性
  4420. type: integer
  4421. tradeqty:
  4422. description: 成交数量
  4423. type: integer
  4424. unfreezecharge:
  4425. description: 解冻手续费
  4426. type: number
  4427. unfreezemargin:
  4428. description: 解冻保证金
  4429. type: number
  4430. updatetime:
  4431. description: 更新时间
  4432. type: string
  4433. uuid:
  4434. description: 发起端唯一id
  4435. type: string
  4436. validtime:
  4437. description: 有效期限
  4438. type: string
  4439. validtype:
  4440. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4441. type: integer
  4442. volumetype:
  4443. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4444. type: integer
  4445. required:
  4446. - accountid
  4447. - buildtype
  4448. - buyorsell
  4449. - goodsid
  4450. - histradedate
  4451. - marketid
  4452. - memberuserid
  4453. - operatetype
  4454. - orderid
  4455. - orderqty
  4456. - ordertime
  4457. - pricemode
  4458. - tradedate
  4459. - validtype
  4460. type: object
  4461. order.QueryTradeDetailRsp:
  4462. properties:
  4463. accountid:
  4464. description: 账户ID[报价币种]
  4465. type: integer
  4466. buildtype:
  4467. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4468. type: integer
  4469. buyorsell:
  4470. description: 方向 - 0:买 1:卖
  4471. type: integer
  4472. charge:
  4473. description: 手续费
  4474. type: number
  4475. closecharge:
  4476. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4477. type: number
  4478. closeexchagechargevalue:
  4479. description: 平仓交易所手续费设置值
  4480. type: number
  4481. closefeealgorithm:
  4482. description: 平仓手续费收取方式 1:比率 2:固定
  4483. type: integer
  4484. closememberchargevalue:
  4485. description: 平仓会员手续费设置值
  4486. type: number
  4487. closepl:
  4488. description: 平仓盈亏
  4489. type: number
  4490. closepl2:
  4491. description: 平仓盈亏[逐笔]
  4492. type: number
  4493. closeqty:
  4494. description: 平仓数量(先建后平操作 需要记录)
  4495. type: integer
  4496. creditamount:
  4497. description: 授信金额
  4498. type: number
  4499. gcaccountid:
  4500. description: 账户ID[合约币种]
  4501. type: integer
  4502. goodscode:
  4503. description: 商品代码
  4504. type: string
  4505. goodsid:
  4506. description: 商品ID
  4507. type: integer
  4508. goodsname:
  4509. description: 商品名称
  4510. type: string
  4511. intclosepl:
  4512. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4513. type: integer
  4514. isconfirmexercise:
  4515. description: 是否确认行权- 0:否 1:是
  4516. type: integer
  4517. ismain:
  4518. description: 是否主单 - 0:不是 1:是
  4519. type: integer
  4520. ispreexercise:
  4521. description: 是否预申报- 0:否 1:是
  4522. type: integer
  4523. isreckoned:
  4524. description: 是否结算 - 0:未结算 1:已结算
  4525. type: integer
  4526. listingselecttype:
  4527. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4528. type: integer
  4529. marketid:
  4530. description: 市场ID
  4531. type: integer
  4532. marketname:
  4533. description: 市场名称
  4534. type: string
  4535. matchaccountid:
  4536. description: 对手账号id
  4537. type: integer
  4538. memberuserid:
  4539. description: 会员id 个人投资者 需要填写
  4540. type: integer
  4541. opencharge:
  4542. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4543. type: number
  4544. openexchagechargevalue:
  4545. description: 建仓交易所手续费设置值
  4546. type: number
  4547. openfeealgorithm:
  4548. description: 建仓手续费收取方式 1:比率 2:固定
  4549. type: integer
  4550. openmemberchargevalue:
  4551. description: 建仓会员手续费设置值
  4552. type: number
  4553. openqty:
  4554. description: 开仓数量(先建后平操作 需要记录)
  4555. type: integer
  4556. optiontype:
  4557. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4558. type: integer
  4559. orderid:
  4560. description: 委托单号
  4561. type: string
  4562. performanceplanid:
  4563. description: 履约计划ID[期权]
  4564. type: integer
  4565. performancestatus:
  4566. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4567. type: integer
  4568. preexerciseprice:
  4569. description: 预申报价格
  4570. type: number
  4571. premium:
  4572. description: 权利金 - [持仓单的权利金]
  4573. type: number
  4574. relatedouttradeid:
  4575. description: 关联外部成交单ID
  4576. type: integer
  4577. status:
  4578. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4579. type: integer
  4580. tradeamount:
  4581. description: 成交金额[账户币种,用于所有权]
  4582. type: number
  4583. tradedate:
  4584. description: 交易日(yyyyMMdd)
  4585. type: string
  4586. tradeid:
  4587. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4588. type: string
  4589. trademode:
  4590. description: 交易模式
  4591. type: integer
  4592. tradeprice:
  4593. description: 成交价格
  4594. type: number
  4595. tradeproperty:
  4596. description: 交易属性
  4597. type: integer
  4598. tradeqty:
  4599. description: 成交数量
  4600. type: integer
  4601. tradetime:
  4602. description: 成交时间
  4603. type: string
  4604. tradetype:
  4605. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4606. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4607. type: integer
  4608. required:
  4609. - accountid
  4610. - buyorsell
  4611. - goodsid
  4612. - marketid
  4613. - memberuserid
  4614. - orderid
  4615. - tradeamount
  4616. - tradedate
  4617. - tradeid
  4618. - tradeprice
  4619. - tradeqty
  4620. - tradetime
  4621. type: object
  4622. order.QueryTradeOrderDetailRsp:
  4623. properties:
  4624. accountid:
  4625. description: 账户ID[报价币种]
  4626. type: integer
  4627. buildtype:
  4628. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4629. type: integer
  4630. buyorsell:
  4631. description: 买卖 - 0:买 1:卖
  4632. type: integer
  4633. cancelorderid:
  4634. description: 撤单单号(撤单时填写)
  4635. type: string
  4636. cancelqty:
  4637. description: 撤单数量
  4638. type: integer
  4639. clienttype:
  4640. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4641. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4642. type: integer
  4643. closefreezecharge:
  4644. description: 平仓冻结手续费(先建后平操作,需要记录)
  4645. type: number
  4646. closeqty:
  4647. description: 平仓数量(先建后平操作 需要记录)
  4648. type: integer
  4649. closetradeqty:
  4650. description: 平仓成交数量(先建后平操作,需要记录)
  4651. type: integer
  4652. closeunfreezecharge:
  4653. description: 平仓解冻手续费(先建后平操作,需要记录)
  4654. type: number
  4655. delistingtype:
  4656. description: 摘牌类型 - 1:价格最优 2:点选成交
  4657. type: integer
  4658. enableqty:
  4659. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  4660. type: integer
  4661. freezecharge:
  4662. description: 冻结手续费
  4663. type: number
  4664. freezemargin:
  4665. description: 冻结保证金(冻结交易金额)
  4666. type: number
  4667. goodscode:
  4668. description: 商品代码
  4669. type: string
  4670. goodsid:
  4671. description: 商品ID
  4672. type: integer
  4673. goodsname:
  4674. description: 商品名称
  4675. type: string
  4676. listingselecttype:
  4677. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4678. type: integer
  4679. marketid:
  4680. description: 市场ID
  4681. type: integer
  4682. marketname:
  4683. description: 市场名称
  4684. type: string
  4685. openfreezecharge:
  4686. description: 开仓冻结手续费(先建后平操作,需要记录)
  4687. type: number
  4688. openqty:
  4689. description: 开仓数量(先建后平操作,需要记录)
  4690. type: integer
  4691. opentradeqty:
  4692. description: 开仓成交数量(先建后平操作,需要记录)
  4693. type: integer
  4694. openunfreezecharge:
  4695. description: 开仓解冻手续费(先建后平操作,需要记录)
  4696. type: number
  4697. operatetype:
  4698. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4699. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4700. 15:管理端协议转让
  4701. type: integer
  4702. operatorid:
  4703. description: 登录账号(LoginID)
  4704. type: integer
  4705. orderid:
  4706. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4707. type: string
  4708. orderprice:
  4709. description: 委托价格
  4710. type: number
  4711. orderqty:
  4712. description: 委托数量
  4713. type: integer
  4714. ordersrc:
  4715. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4716. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4717. type: integer
  4718. orderstatus:
  4719. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4720. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4721. 16:成交失败违约(荷兰式竞拍专用)
  4722. type: integer
  4723. ordertime:
  4724. description: 委托时间
  4725. type: string
  4726. preorderid:
  4727. description: 关联预埋单号(止盈止损单时填写)
  4728. type: string
  4729. pricemode:
  4730. description: '取价方式 - 1:市价 2: 限价'
  4731. type: integer
  4732. relatedid:
  4733. description: 关联单号(交割单)
  4734. type: string
  4735. tradedate:
  4736. description: 交易日(yyyyMMdd)
  4737. type: string
  4738. trademode:
  4739. description: 交易模式
  4740. type: integer
  4741. tradeqty:
  4742. description: 成交数量
  4743. type: integer
  4744. unfreezecharge:
  4745. description: 解冻手续费
  4746. type: number
  4747. unfreezemargin:
  4748. description: 解冻保证金
  4749. type: number
  4750. validtime:
  4751. description: 有效期限
  4752. type: string
  4753. validtype:
  4754. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4755. type: integer
  4756. volumetype:
  4757. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4758. type: integer
  4759. required:
  4760. - accountid
  4761. - buildtype
  4762. - buyorsell
  4763. - goodsid
  4764. - marketid
  4765. - operatetype
  4766. - orderqty
  4767. - ordertime
  4768. - pricemode
  4769. - tradedate
  4770. - validtype
  4771. type: object
  4772. order.QueryTradePositionRsp:
  4773. properties:
  4774. accountid:
  4775. description: 资金账户
  4776. type: integer
  4777. agreeunit:
  4778. description: 合约单位
  4779. type: number
  4780. averageprice:
  4781. description: 持仓均价
  4782. type: number
  4783. buyorsell:
  4784. description: 方向 - 0:买 1:卖
  4785. type: integer
  4786. closetotalqty:
  4787. description: 平仓总数量
  4788. type: integer
  4789. curholderamount:
  4790. description: 当前持仓总金额[商品币种]
  4791. type: number
  4792. curpositionqty:
  4793. description: 当前持仓总数量
  4794. type: integer
  4795. currencyid:
  4796. description: 报价货币ID
  4797. type: integer
  4798. curtdposition:
  4799. description: 期末今日头寸
  4800. type: integer
  4801. decimalplace:
  4802. description: 报价小数位
  4803. type: integer
  4804. enableqty:
  4805. description: 可用量
  4806. type: integer
  4807. fretdposition:
  4808. description: 冻结今日头寸
  4809. type: integer
  4810. frozenqty:
  4811. description: 持仓冻结数量
  4812. type: integer
  4813. goodscode:
  4814. description: 商品代码
  4815. type: string
  4816. goodsid:
  4817. description: 商品Id
  4818. type: integer
  4819. goodsname:
  4820. description: 商品名称
  4821. type: string
  4822. goodunit:
  4823. description: 报价单位
  4824. type: string
  4825. goodunitid:
  4826. description: 报价单位ID
  4827. type: integer
  4828. holderamount:
  4829. description: 期初持仓总金额[商品币种]
  4830. type: number
  4831. marketid:
  4832. description: 所属市场ID
  4833. type: integer
  4834. openreqqty:
  4835. description: 开仓申请数量(用于比较最大持仓数量)
  4836. type: integer
  4837. opentotalqty:
  4838. description: 开仓总数量
  4839. type: integer
  4840. otherfrozenqty:
  4841. description: 持仓其他冻结数量(交割冻结)
  4842. type: integer
  4843. positionqty:
  4844. description: 期初持仓数量
  4845. type: integer
  4846. tnqty:
  4847. description: T+N冻结总量
  4848. type: integer
  4849. tnusedqty:
  4850. description: T+N使用量(可以使用T+N的冻结数量)
  4851. type: integer
  4852. trademode:
  4853. description: 交易模式
  4854. type: integer
  4855. usedmargin:
  4856. description: 占用保证金[商品币种]
  4857. type: number
  4858. required:
  4859. - goodsid
  4860. type: object
  4861. quote.HistoryData:
  4862. properties:
  4863. c:
  4864. description: 收盘价
  4865. type: number
  4866. h:
  4867. description: 最高价
  4868. type: number
  4869. hv:
  4870. description: 持仓量
  4871. type: integer
  4872. l:
  4873. description: 最低价
  4874. type: number
  4875. o:
  4876. description: 开盘价
  4877. type: number
  4878. s:
  4879. description: 结算价,日线周期(包括)以上才有
  4880. type: number
  4881. ts:
  4882. description: 时间
  4883. type: string
  4884. tt:
  4885. description: 总金额
  4886. type: number
  4887. tv:
  4888. description: 总量
  4889. type: integer
  4890. type: object
  4891. quote.QueryTSDataRsp:
  4892. properties:
  4893. decimalPlace:
  4894. description: 小数位
  4895. type: integer
  4896. endTime:
  4897. description: 结束时间
  4898. type: string
  4899. goodsCode:
  4900. description: 商品代码
  4901. type: string
  4902. historyDatas:
  4903. description: 历史数据
  4904. items:
  4905. $ref: '#/definitions/quote.HistoryData'
  4906. type: array
  4907. preSettle:
  4908. description: 昨结
  4909. type: number
  4910. startTime:
  4911. description: 开始时间
  4912. type: string
  4913. tradeDate:
  4914. description: 交易日
  4915. type: string
  4916. type: object
  4917. szdz.QueryConvertLogRsp:
  4918. properties:
  4919. accountid:
  4920. description: 资金账户ID
  4921. type: integer
  4922. clientticket:
  4923. description: 客户端流水号
  4924. type: string
  4925. converttype:
  4926. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4927. type: integer
  4928. createtime:
  4929. description: 记账时间
  4930. type: string
  4931. daymaxvalue:
  4932. description: 配置当日最大转入限制
  4933. type: number
  4934. daymaxvalue2:
  4935. description: 配置当日最大转入限制(转入)
  4936. type: number
  4937. goodscode:
  4938. description: 商品代码
  4939. type: string
  4940. goodsname:
  4941. description: 商品名称
  4942. type: string
  4943. handlestatus:
  4944. description: 处理状态
  4945. type: integer
  4946. innergoodsid:
  4947. description: 内部商品ID
  4948. type: integer
  4949. inratio:
  4950. description: 配置转入比值
  4951. type: integer
  4952. invalue:
  4953. description: 目标值
  4954. type: number
  4955. logid:
  4956. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4957. type: integer
  4958. mobile:
  4959. description: 手机号码(加密存储)
  4960. type: string
  4961. outergoodscode:
  4962. description: 外部商品代码[JD\PD]
  4963. type: string
  4964. outratio:
  4965. description: 配置转出比值
  4966. type: integer
  4967. outvalue:
  4968. description: 源值
  4969. type: number
  4970. pddecimalplace:
  4971. description: PD小数位
  4972. type: integer
  4973. qty:
  4974. description: 数量
  4975. type: string
  4976. remark:
  4977. description: 备注
  4978. type: string
  4979. sessionid:
  4980. description: 会话ID
  4981. type: integer
  4982. timemaxvalue:
  4983. description: 配置单次最大转入限制
  4984. type: number
  4985. timemaxvalue2:
  4986. description: 配置单次最大转入限制(转入)
  4987. type: number
  4988. timeminvalue:
  4989. description: 配置单次最小数量限制
  4990. type: number
  4991. timeminvalue2:
  4992. description: 配置单次最小数量限制(转入)
  4993. type: number
  4994. tradedate:
  4995. description: 交易日(yyyyMMdd)
  4996. type: string
  4997. userid:
  4998. description: 用户ID
  4999. type: integer
  5000. required:
  5001. - logid
  5002. type: object
  5003. szdz.QueryGoodsPickupRsp:
  5004. properties:
  5005. accountid:
  5006. description: 账户ID
  5007. type: integer
  5008. address:
  5009. description: 提货人详细地址
  5010. type: string
  5011. auditer:
  5012. description: 审核人
  5013. type: integer
  5014. audittime:
  5015. description: 审核时间
  5016. type: string
  5017. cardnum:
  5018. description: 提货人证件号码
  5019. type: string
  5020. cardtypeid:
  5021. description: 提货人证件类型
  5022. type: integer
  5023. checkremark:
  5024. description: 审核备注
  5025. type: string
  5026. goodscode:
  5027. description: 商品代码
  5028. type: string
  5029. goodsid:
  5030. description: 商品ID
  5031. type: integer
  5032. goodsname:
  5033. description: 商品名称
  5034. type: string
  5035. handlestatus:
  5036. description: 处理状态
  5037. type: integer
  5038. marketid:
  5039. description: 市场ID
  5040. type: integer
  5041. phonenum:
  5042. description: 提货人联系方式
  5043. type: string
  5044. qty:
  5045. description: 提货数量
  5046. type: number
  5047. recivername:
  5048. description: 提货人姓名
  5049. type: string
  5050. reqtime:
  5051. description: 更新时间
  5052. type: string
  5053. takemode:
  5054. description: 提货方式 - 2:自提 3:配送
  5055. type: integer
  5056. takeorderid:
  5057. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5058. type: string
  5059. takeorderstatus:
  5060. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5061. type: integer
  5062. takeremark:
  5063. description: 提货备注
  5064. type: string
  5065. tradedate:
  5066. description: 交易日(yyyyMMdd)
  5067. type: string
  5068. userid:
  5069. description: 用户ID
  5070. type: integer
  5071. required:
  5072. - takeorderid
  5073. type: object
  5074. szdz.QueryRecieptOrderRsp:
  5075. properties:
  5076. accountName:
  5077. description: 所属账号名称(已脱敏)
  5078. type: string
  5079. accountid:
  5080. description: 资金账号
  5081. type: integer
  5082. buyorsell:
  5083. description: 方向 - 0:买 1:卖
  5084. type: integer
  5085. enableqty:
  5086. description: 可摘数量
  5087. type: integer
  5088. goodscode:
  5089. description: 商品代码
  5090. type: string
  5091. goodsid:
  5092. description: 商品ID
  5093. type: integer
  5094. goodsname:
  5095. description: 商品名称
  5096. type: string
  5097. orderid:
  5098. description: 委托单号
  5099. type: string
  5100. orderprice:
  5101. description: 委托价格
  5102. type: number
  5103. ordertime:
  5104. description: 委托时间
  5105. type: string
  5106. tradedate:
  5107. description: 交易日(yyyyMMdd)
  5108. type: string
  5109. required:
  5110. - ordertime
  5111. type: object
  5112. szdz.QuerySZDZTradePositionRsp:
  5113. properties:
  5114. accountid:
  5115. description: 账号Id
  5116. type: integer
  5117. agreeunit:
  5118. description: 合约单位
  5119. type: number
  5120. averageprice:
  5121. description: 持仓均价
  5122. type: number
  5123. buyorsell:
  5124. description: 方向 - 0:买 1:卖
  5125. type: integer
  5126. closetotalqty:
  5127. description: 平仓总数量
  5128. type: integer
  5129. curholderamount:
  5130. description: 当前持仓总金额
  5131. type: number
  5132. curpositionqty:
  5133. description: 当前持仓总数量
  5134. type: integer
  5135. currencyid:
  5136. description: 报价货币ID
  5137. type: integer
  5138. curtdposition:
  5139. description: 期末今日头寸
  5140. type: integer
  5141. decimalplace:
  5142. description: 报价小数位
  5143. type: integer
  5144. enableqty:
  5145. description: 可用量
  5146. type: integer
  5147. fretdposition:
  5148. description: 冻结今日头寸
  5149. type: integer
  5150. frozenqty:
  5151. description: 持仓冻结数量
  5152. type: integer
  5153. goodscode:
  5154. description: 商品代码(内部)
  5155. type: string
  5156. goodsid:
  5157. description: 商品Id
  5158. type: integer
  5159. goodsname:
  5160. description: 商品名称
  5161. type: string
  5162. goodunit:
  5163. description: 报价单位
  5164. type: string
  5165. goodunitid:
  5166. description: 报价单位ID
  5167. type: integer
  5168. holderamount:
  5169. description: 期初持仓总金额
  5170. type: number
  5171. marketid:
  5172. description: 市场ID
  5173. type: integer
  5174. openreqqty:
  5175. description: 开仓申请数量
  5176. type: integer
  5177. opentotalqty:
  5178. description: 开仓总数量
  5179. type: integer
  5180. otherfrozenqty:
  5181. description: 持仓其他冻结数量(交割冻结)
  5182. type: integer
  5183. positionqty:
  5184. description: 期初持仓数量
  5185. type: integer
  5186. szdz3freezqty:
  5187. description: 尚志大宗转换冻结总数量
  5188. type: integer
  5189. tnqty:
  5190. description: T+N冻结总量
  5191. type: integer
  5192. tnusedqty:
  5193. description: T+N使用量
  5194. type: integer
  5195. trademode:
  5196. description: 交易模式
  5197. type: integer
  5198. usedmargin:
  5199. description: 占用保证金
  5200. type: number
  5201. type: object
  5202. taaccount.QueryAmountLogRsp:
  5203. properties:
  5204. OPERATETYPENAME:
  5205. description: 资金操作类型名称
  5206. type: string
  5207. accountid:
  5208. description: 资金账户ID
  5209. type: integer
  5210. agoodscode:
  5211. description: 竞拍商品代码
  5212. type: string
  5213. agoodsname:
  5214. description: 竞拍商品名称
  5215. type: string
  5216. amount:
  5217. description: 资金金额
  5218. type: number
  5219. amountadjusttype:
  5220. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5221. type: integer
  5222. autoid:
  5223. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5224. type: integer
  5225. balance:
  5226. description: 期初余额
  5227. type: number
  5228. businesscode:
  5229. description: 业务编号
  5230. type: integer
  5231. createtime:
  5232. description: 发生时间
  5233. type: string
  5234. currencyid:
  5235. description: 币种ID
  5236. type: integer
  5237. currentbalance:
  5238. description: 期末余额(变动后金额)
  5239. type: number
  5240. dgoodscode:
  5241. description: 交割商品代码
  5242. type: string
  5243. dgoodsname:
  5244. description: 交割商品名称
  5245. type: string
  5246. goodscode:
  5247. description: 商品代码
  5248. type: string
  5249. goodsid:
  5250. description: 商品ID
  5251. type: integer
  5252. goodsname:
  5253. description: 商品名称
  5254. type: string
  5255. marketid:
  5256. description: 市场ID
  5257. type: integer
  5258. marketname:
  5259. description: 市场名称
  5260. type: string
  5261. moneyticket:
  5262. description: 资金流水号:银行端流水号
  5263. type: integer
  5264. operatetype:
  5265. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5266. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5267. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5268. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5269. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5270. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5271. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5272. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5273. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5274. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5275. type: integer
  5276. relationorderid:
  5277. description: 关联单号
  5278. type: string
  5279. remark:
  5280. description: 备注
  5281. type: string
  5282. trademode:
  5283. description: 交易模式
  5284. type: integer
  5285. required:
  5286. - accountid
  5287. - amount
  5288. - amountadjusttype
  5289. - autoid
  5290. - balance
  5291. - createtime
  5292. - currentbalance
  5293. - operatetype
  5294. type: object
  5295. taaccount.QueryHisAmountLogRsp:
  5296. properties:
  5297. OPERATETYPENAME:
  5298. description: 资金操作类型名称
  5299. type: string
  5300. accountid:
  5301. description: 资金账户ID
  5302. type: integer
  5303. agoodscode:
  5304. description: 竞拍商品代码
  5305. type: string
  5306. agoodsname:
  5307. description: 竞拍商品名称
  5308. type: string
  5309. amount:
  5310. description: 资金金额
  5311. type: number
  5312. amountadjusttype:
  5313. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5314. type: integer
  5315. autoid:
  5316. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5317. type: integer
  5318. balance:
  5319. description: 期初余额
  5320. type: number
  5321. businesscode:
  5322. description: 业务编号
  5323. type: integer
  5324. createtime:
  5325. description: 发生时间
  5326. type: string
  5327. currencyid:
  5328. description: 币种ID
  5329. type: integer
  5330. currentbalance:
  5331. description: 期末余额(变动后金额)
  5332. type: number
  5333. dgoodscode:
  5334. description: 交割商品代码
  5335. type: string
  5336. dgoodsname:
  5337. description: 交割商品名称
  5338. type: string
  5339. goodscode:
  5340. description: 商品代码
  5341. type: string
  5342. goodsid:
  5343. description: 商品ID
  5344. type: integer
  5345. goodsname:
  5346. description: 商品名称
  5347. type: string
  5348. histradedate:
  5349. description: 历史交易日
  5350. type: string
  5351. isvaliddata:
  5352. description: 是否有效 - 0:无效 1:有效
  5353. type: integer
  5354. marketid:
  5355. description: 市场ID
  5356. type: integer
  5357. marketname:
  5358. description: 市场名称
  5359. type: string
  5360. moneyticket:
  5361. description: 资金流水号:银行端流水号
  5362. type: integer
  5363. operatetype:
  5364. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5365. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5366. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5367. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5368. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5369. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5370. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5371. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5372. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5373. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5374. type: integer
  5375. relationorderid:
  5376. description: 关联单号
  5377. type: string
  5378. remark:
  5379. description: 备注
  5380. type: string
  5381. trademode:
  5382. description: 交易模式
  5383. type: integer
  5384. required:
  5385. - accountid
  5386. - amount
  5387. - amountadjusttype
  5388. - autoid
  5389. - balance
  5390. - createtime
  5391. - currentbalance
  5392. - histradedate
  5393. - operatetype
  5394. type: object
  5395. trade.QueryRecieptOrderRsp:
  5396. properties:
  5397. accountName:
  5398. description: 所属账号名称(已脱敏)
  5399. type: string
  5400. accountid:
  5401. description: 资金账号
  5402. type: integer
  5403. buyorsell:
  5404. description: 方向 - 0:买 1:卖
  5405. type: integer
  5406. enableqty:
  5407. description: 可摘数量
  5408. type: integer
  5409. goodscode:
  5410. description: 商品代码
  5411. type: string
  5412. goodsid:
  5413. description: 商品ID
  5414. type: integer
  5415. goodsname:
  5416. description: 商品名称
  5417. type: string
  5418. orderid:
  5419. description: 委托单号
  5420. type: string
  5421. orderprice:
  5422. description: 委托价格
  5423. type: number
  5424. ordertime:
  5425. description: 委托时间
  5426. type: string
  5427. tradedate:
  5428. description: 交易日(yyyyMMdd)
  5429. type: string
  5430. required:
  5431. - ordertime
  5432. type: object
  5433. info:
  5434. contact: {}
  5435. description: 新的查询服务,替代原通用查询服务。
  5436. termsOfService: http://muchinfo.cn
  5437. title: MTP2.0 查询服务 API
  5438. version: "1.0"
  5439. paths:
  5440. /CPTrade/QueryCPTradeMyBidInfos:
  5441. get:
  5442. parameters:
  5443. - description: 资金账户
  5444. in: query
  5445. name: accountid
  5446. required: true
  5447. type: integer
  5448. - description: 预售市场ID
  5449. in: query
  5450. name: marketid
  5451. type: integer
  5452. - description: 预售商品ID
  5453. in: query
  5454. name: goodsid
  5455. type: integer
  5456. produces:
  5457. - application/json
  5458. responses:
  5459. "200":
  5460. description: OK
  5461. schema:
  5462. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  5463. "500":
  5464. description: Internal Server Error
  5465. schema:
  5466. $ref: '#/definitions/app.Response'
  5467. security:
  5468. - ApiKeyAuth: []
  5469. summary: 查询产能预售我的出价信息
  5470. tags:
  5471. - 产能预售
  5472. /CPTrade/QueryCPTradeOrderDetail:
  5473. get:
  5474. parameters:
  5475. - description: 预售商品ID
  5476. in: query
  5477. name: goodsid
  5478. type: integer
  5479. - description: 预售市场ID
  5480. in: query
  5481. name: marketid
  5482. type: integer
  5483. - description: 预售商品ID列表 - 格式:1,2,3
  5484. in: query
  5485. name: goodsids
  5486. type: string
  5487. produces:
  5488. - application/json
  5489. responses:
  5490. "200":
  5491. description: OK
  5492. schema:
  5493. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  5494. "500":
  5495. description: Internal Server Error
  5496. schema:
  5497. $ref: '#/definitions/app.Response'
  5498. security:
  5499. - ApiKeyAuth: []
  5500. summary: 查询产能预售委托单信息
  5501. tags:
  5502. - 产能预售
  5503. /CPTrade/QueryMyCPTradeGoods:
  5504. get:
  5505. parameters:
  5506. - description: 资金账户
  5507. in: query
  5508. name: accountid
  5509. required: true
  5510. type: integer
  5511. produces:
  5512. - application/json
  5513. responses:
  5514. "200":
  5515. description: OK
  5516. schema:
  5517. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  5518. "500":
  5519. description: Internal Server Error
  5520. schema:
  5521. $ref: '#/definitions/app.Response'
  5522. security:
  5523. - ApiKeyAuth: []
  5524. summary: 查询我的预售信息
  5525. tags:
  5526. - 产能预售
  5527. /CPTrade/QueryPositionCancel:
  5528. get:
  5529. parameters:
  5530. - description: 账户ID
  5531. in: query
  5532. name: userid
  5533. required: true
  5534. type: integer
  5535. - description: 注销ID
  5536. in: query
  5537. name: cancelid
  5538. type: integer
  5539. - description: 资金账户ID
  5540. in: query
  5541. name: accountid
  5542. type: integer
  5543. produces:
  5544. - application/json
  5545. responses:
  5546. "200":
  5547. description: OK
  5548. schema:
  5549. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  5550. "500":
  5551. description: Internal Server Error
  5552. schema:
  5553. $ref: '#/definitions/app.Response'
  5554. security:
  5555. - ApiKeyAuth: []
  5556. summary: 查询远期订单注销申请信息
  5557. tags:
  5558. - 产能预售
  5559. /CPTrade/QueryPreasleApply:
  5560. get:
  5561. parameters:
  5562. - description: 账户ID
  5563. in: query
  5564. name: userid
  5565. required: true
  5566. type: integer
  5567. - description: 申请ID
  5568. in: query
  5569. name: applyid
  5570. type: integer
  5571. - description: 资金账户ID
  5572. in: query
  5573. name: accountid
  5574. type: integer
  5575. produces:
  5576. - application/json
  5577. responses:
  5578. "200":
  5579. description: OK
  5580. schema:
  5581. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  5582. "500":
  5583. description: Internal Server Error
  5584. schema:
  5585. $ref: '#/definitions/app.Response'
  5586. security:
  5587. - ApiKeyAuth: []
  5588. summary: 查询产能预售申请信息
  5589. tags:
  5590. - 产能预售
  5591. /CPTrade/QueryPresaleGoodsEx:
  5592. get:
  5593. parameters:
  5594. - description: 预售商品ID
  5595. in: query
  5596. name: goodsid
  5597. type: integer
  5598. - description: 预售市场ID
  5599. in: query
  5600. name: marketid
  5601. type: integer
  5602. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  5603. in: query
  5604. name: presalemode
  5605. type: integer
  5606. - description: 预售商品ID列表 - 格式:1,2,3
  5607. in: query
  5608. name: goodsids
  5609. type: string
  5610. - description: 预售商品代码
  5611. in: query
  5612. name: goodscode
  5613. type: string
  5614. produces:
  5615. - application/json
  5616. responses:
  5617. "200":
  5618. description: OK
  5619. schema:
  5620. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  5621. "500":
  5622. description: Internal Server Error
  5623. schema:
  5624. $ref: '#/definitions/app.Response'
  5625. security:
  5626. - ApiKeyAuth: []
  5627. summary: 查询产能预售商品扩展信息
  5628. tags:
  5629. - 产能预售
  5630. /CPTrade/QueryUserGoodsData:
  5631. get:
  5632. parameters:
  5633. - description: 资金账户ID
  5634. in: query
  5635. name: accountid
  5636. required: true
  5637. type: integer
  5638. produces:
  5639. - application/json
  5640. responses:
  5641. "200":
  5642. description: OK
  5643. schema:
  5644. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  5645. "500":
  5646. description: Internal Server Error
  5647. schema:
  5648. $ref: '#/definitions/app.Response'
  5649. security:
  5650. - ApiKeyAuth: []
  5651. summary: 查询远期订单信息
  5652. tags:
  5653. - 产能预售
  5654. /Common/GetAllEnums:
  5655. get:
  5656. produces:
  5657. - application/json
  5658. responses:
  5659. "200":
  5660. description: OK
  5661. schema:
  5662. $ref: '#/definitions/models.Enumdicitem'
  5663. "500":
  5664. description: Internal Server Error
  5665. schema:
  5666. $ref: '#/definitions/app.Response'
  5667. summary: 获取所有枚举信息
  5668. tags:
  5669. - 通用服务
  5670. /Common/GetServerTime:
  5671. get:
  5672. produces:
  5673. - application/json
  5674. responses:
  5675. "200":
  5676. description: OK
  5677. schema:
  5678. $ref: '#/definitions/app.Response'
  5679. "500":
  5680. description: Internal Server Error
  5681. schema:
  5682. $ref: '#/definitions/app.Response'
  5683. summary: 获取服务器时间
  5684. tags:
  5685. - 通用服务
  5686. /Common/NoticeReaded:
  5687. post:
  5688. parameters:
  5689. - description: 登录账号
  5690. in: query
  5691. name: loginID
  5692. required: true
  5693. type: integer
  5694. - description: 通知公告ID
  5695. in: query
  5696. name: noticeID
  5697. required: true
  5698. type: integer
  5699. produces:
  5700. - application/json
  5701. responses:
  5702. "200":
  5703. description: OK
  5704. schema:
  5705. $ref: '#/definitions/app.Response'
  5706. "500":
  5707. description: Internal Server Error
  5708. schema:
  5709. $ref: '#/definitions/app.Response'
  5710. security:
  5711. - ApiKeyAuth: []
  5712. summary: 通知公告设置已读请求
  5713. tags:
  5714. - 通用服务
  5715. /Common/QueryImageConfigs:
  5716. get:
  5717. parameters:
  5718. - description: 类型 - 1:App首页轮播 2:我的
  5719. in: query
  5720. name: imageType
  5721. type: integer
  5722. produces:
  5723. - application/json
  5724. responses:
  5725. "200":
  5726. description: OK
  5727. schema:
  5728. $ref: '#/definitions/models.Szdz2imageconfig'
  5729. "500":
  5730. description: Internal Server Error
  5731. schema:
  5732. $ref: '#/definitions/app.Response'
  5733. summary: 查询轮播图配置信息
  5734. tags:
  5735. - 通用服务
  5736. /Common/QueryNotice:
  5737. get:
  5738. parameters:
  5739. - description: 页码
  5740. in: query
  5741. name: page
  5742. type: integer
  5743. - description: 每页条数
  5744. in: query
  5745. name: pagesize
  5746. type: integer
  5747. - description: 登录账号
  5748. in: query
  5749. name: loginID
  5750. required: true
  5751. type: integer
  5752. - description: 消息类型 - 1:公告通知 2:系统消息
  5753. in: query
  5754. name: msgType
  5755. type: integer
  5756. - description: 是否只获取未读信息
  5757. in: query
  5758. name: onlyUnRead
  5759. type: boolean
  5760. produces:
  5761. - application/json
  5762. responses:
  5763. "200":
  5764. description: OK
  5765. schema:
  5766. $ref: '#/definitions/common.QueryNoticeRsp'
  5767. "500":
  5768. description: Internal Server Error
  5769. schema:
  5770. $ref: '#/definitions/app.Response'
  5771. security:
  5772. - ApiKeyAuth: []
  5773. summary: 通知公告系统消息查询
  5774. tags:
  5775. - 通用服务
  5776. /Common/QueryProvincesAndCities:
  5777. get:
  5778. parameters:
  5779. - description: 省ID
  5780. in: query
  5781. name: provinceID
  5782. type: integer
  5783. produces:
  5784. - application/json
  5785. responses:
  5786. "200":
  5787. description: OK
  5788. schema:
  5789. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  5790. "500":
  5791. description: Internal Server Error
  5792. schema:
  5793. $ref: '#/definitions/app.Response'
  5794. summary: 查询省市信息(不包括区)
  5795. tags:
  5796. - 通用服务
  5797. /Common/QueryTableDefine:
  5798. get:
  5799. parameters:
  5800. - description: 表key
  5801. in: query
  5802. name: TableKey
  5803. type: string
  5804. produces:
  5805. - application/json
  5806. responses:
  5807. "200":
  5808. description: OK
  5809. schema:
  5810. $ref: '#/definitions/common.QueryTableDefineRsp'
  5811. "500":
  5812. description: Internal Server Error
  5813. schema:
  5814. $ref: '#/definitions/app.Response'
  5815. summary: 查询交易端列表头信息
  5816. tags:
  5817. - 通用服务
  5818. /Common/QueryTraderMenu:
  5819. get:
  5820. parameters:
  5821. - description: 登录账号
  5822. in: query
  5823. name: loginid
  5824. required: true
  5825. type: integer
  5826. produces:
  5827. - application/json
  5828. responses:
  5829. "200":
  5830. description: OK
  5831. schema:
  5832. $ref: '#/definitions/common.QueryTraderMenuRsp'
  5833. "500":
  5834. description: Internal Server Error
  5835. schema:
  5836. $ref: '#/definitions/app.Response'
  5837. summary: 查询交易端菜单
  5838. tags:
  5839. - 通用服务
  5840. /Delivery/QueryDeliveryRelation:
  5841. get:
  5842. parameters:
  5843. - description: 商品ID
  5844. in: query
  5845. name: goodsid
  5846. type: integer
  5847. - description: 品种ID
  5848. in: query
  5849. name: deliverygoodsid
  5850. type: integer
  5851. - description: 市场ID
  5852. in: query
  5853. name: marketid
  5854. type: integer
  5855. produces:
  5856. - application/json
  5857. responses:
  5858. "200":
  5859. description: OK
  5860. schema:
  5861. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  5862. "500":
  5863. description: Internal Server Error
  5864. schema:
  5865. $ref: '#/definitions/app.Response'
  5866. security:
  5867. - ApiKeyAuth: []
  5868. summary: 查询商品交割关系表
  5869. tags:
  5870. - 交割服务
  5871. /Erms2/QueryArbitrageStrategy:
  5872. get:
  5873. parameters:
  5874. - description: 账户ID
  5875. in: query
  5876. name: userid
  5877. required: true
  5878. type: integer
  5879. - description: 商品组ID(品种ID)
  5880. in: query
  5881. name: goodsgroupid
  5882. type: string
  5883. produces:
  5884. - application/json
  5885. responses:
  5886. "200":
  5887. description: OK
  5888. schema:
  5889. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  5890. "500":
  5891. description: Internal Server Error
  5892. schema:
  5893. $ref: '#/definitions/app.Response'
  5894. security:
  5895. - ApiKeyAuth: []
  5896. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  5897. tags:
  5898. - 风险管理
  5899. /Erms2/QueryInnerTradeDetail:
  5900. get:
  5901. parameters:
  5902. - description: 资金账户
  5903. in: query
  5904. name: accountid
  5905. required: true
  5906. type: integer
  5907. produces:
  5908. - application/json
  5909. responses:
  5910. "200":
  5911. description: OK
  5912. schema:
  5913. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  5914. "500":
  5915. description: Internal Server Error
  5916. schema:
  5917. $ref: '#/definitions/app.Response'
  5918. security:
  5919. - ApiKeyAuth: []
  5920. summary: 查询内部成交单信息
  5921. tags:
  5922. - 风险管理
  5923. /Erms2/QuerySpotContract:
  5924. get:
  5925. parameters:
  5926. - description: 策略申请ID
  5927. in: query
  5928. name: asapplyid
  5929. required: true
  5930. type: integer
  5931. - description: 现货合同ID
  5932. in: query
  5933. name: spotcontractid
  5934. type: integer
  5935. produces:
  5936. - application/json
  5937. responses:
  5938. "200":
  5939. description: OK
  5940. schema:
  5941. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5942. "500":
  5943. description: Internal Server Error
  5944. schema:
  5945. $ref: '#/definitions/app.Response'
  5946. security:
  5947. - ApiKeyAuth: []
  5948. summary: 查询现货合同表信息(指定策略ID、未结束的)
  5949. tags:
  5950. - 风险管理
  5951. /Erms3/AddErms2ASApply:
  5952. post:
  5953. parameters:
  5954. - description: 申请参数
  5955. in: body
  5956. name: jsonBody
  5957. required: true
  5958. schema:
  5959. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  5960. produces:
  5961. - application/json
  5962. responses:
  5963. "200":
  5964. description: OK
  5965. schema:
  5966. $ref: '#/definitions/app.Response'
  5967. "500":
  5968. description: Internal Server Error
  5969. schema:
  5970. $ref: '#/definitions/app.Response'
  5971. security:
  5972. - ApiKeyAuth: []
  5973. summary: 新增期现套利业务申请
  5974. tags:
  5975. - 风险管理v3
  5976. /Erms3/AddErms2SpotTradeApply:
  5977. post:
  5978. parameters:
  5979. - description: 申请参数
  5980. in: body
  5981. name: jsonBody
  5982. required: true
  5983. schema:
  5984. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  5985. produces:
  5986. - application/json
  5987. responses:
  5988. "200":
  5989. description: OK
  5990. schema:
  5991. $ref: '#/definitions/app.Response'
  5992. "500":
  5993. description: Internal Server Error
  5994. schema:
  5995. $ref: '#/definitions/app.Response'
  5996. security:
  5997. - ApiKeyAuth: []
  5998. summary: 新增现货贸易业务申请
  5999. tags:
  6000. - 风险管理v3
  6001. /Erms3/AddSpotContractApply:
  6002. post:
  6003. parameters:
  6004. - description: 申请参数
  6005. in: body
  6006. name: jsonBody
  6007. required: true
  6008. schema:
  6009. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  6010. produces:
  6011. - application/json
  6012. responses:
  6013. "200":
  6014. description: OK
  6015. schema:
  6016. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  6017. "500":
  6018. description: Internal Server Error
  6019. schema:
  6020. $ref: '#/definitions/app.Response'
  6021. security:
  6022. - ApiKeyAuth: []
  6023. summary: 新增现货合同申请
  6024. tags:
  6025. - 风险管理v3
  6026. /Erms3/AddUserInfoApply:
  6027. post:
  6028. parameters:
  6029. - description: 申请参数
  6030. in: body
  6031. name: jsonBody
  6032. required: true
  6033. schema:
  6034. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  6035. produces:
  6036. - application/json
  6037. responses:
  6038. "200":
  6039. description: OK
  6040. schema:
  6041. $ref: '#/definitions/app.Response'
  6042. "500":
  6043. description: Internal Server Error
  6044. schema:
  6045. $ref: '#/definitions/app.Response'
  6046. security:
  6047. - ApiKeyAuth: []
  6048. summary: 新增客户申请
  6049. tags:
  6050. - 风险管理v3
  6051. /Erms3/QueryBusinessInfo:
  6052. get:
  6053. parameters:
  6054. - description: 资金账号ID列表,用逗号分隔
  6055. in: query
  6056. name: accountids
  6057. required: true
  6058. type: string
  6059. - description: 状态,0为未结束 1为已结束
  6060. in: query
  6061. name: status
  6062. required: true
  6063. type: integer
  6064. produces:
  6065. - application/json
  6066. responses:
  6067. "200":
  6068. description: OK
  6069. schema:
  6070. items:
  6071. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  6072. type: array
  6073. "500":
  6074. description: Internal Server Error
  6075. schema:
  6076. $ref: '#/definitions/app.Response'
  6077. security:
  6078. - ApiKeyAuth: []
  6079. summary: 查询业务表单数据
  6080. tags:
  6081. - 风险管理v3
  6082. /Erms3/QueryPendingAuditContract:
  6083. get:
  6084. parameters:
  6085. - description: 资金账号ID列表,逗号隔开
  6086. in: query
  6087. name: accountids
  6088. required: true
  6089. type: string
  6090. - description: 合同类型 1-采购 -1-销售
  6091. in: query
  6092. name: contracttype
  6093. required: true
  6094. type: integer
  6095. - description: 合同模式 1-普通 2-回购
  6096. in: query
  6097. name: contractmode
  6098. required: true
  6099. type: integer
  6100. produces:
  6101. - application/json
  6102. responses:
  6103. "200":
  6104. description: OK
  6105. schema:
  6106. items:
  6107. $ref: '#/definitions/erms3.QryAuditContractRsp'
  6108. type: array
  6109. "500":
  6110. description: Internal Server Error
  6111. schema:
  6112. $ref: '#/definitions/app.Response'
  6113. security:
  6114. - ApiKeyAuth: []
  6115. summary: 查询待审核合同
  6116. tags:
  6117. - 风险管理v3
  6118. /Erms3/QueryPendingBusiness:
  6119. get:
  6120. parameters:
  6121. - description: 资金账号ID列表,逗号隔开
  6122. in: query
  6123. name: accountids
  6124. required: true
  6125. type: string
  6126. produces:
  6127. - application/json
  6128. responses:
  6129. "200":
  6130. description: OK
  6131. schema:
  6132. items:
  6133. $ref: '#/definitions/erms3.QryPendingBizRsp'
  6134. type: array
  6135. "500":
  6136. description: Internal Server Error
  6137. schema:
  6138. $ref: '#/definitions/app.Response'
  6139. security:
  6140. - ApiKeyAuth: []
  6141. summary: 查询待审核基差贸易业务
  6142. tags:
  6143. - 风险管理v3
  6144. /Erms3/QuerySpotContractAppleForm:
  6145. get:
  6146. parameters:
  6147. - description: 登录账号
  6148. in: query
  6149. name: loginID
  6150. required: true
  6151. type: integer
  6152. produces:
  6153. - application/json
  6154. responses:
  6155. "200":
  6156. description: OK
  6157. schema:
  6158. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  6159. "500":
  6160. description: Internal Server Error
  6161. schema:
  6162. $ref: '#/definitions/app.Response'
  6163. security:
  6164. - ApiKeyAuth: []
  6165. summary: 查询合同申请表单数据
  6166. tags:
  6167. - 风险管理v3
  6168. /Erms3/QuerySpotContractDetail:
  6169. get:
  6170. parameters:
  6171. - description: 资金账号ID列表,用逗号分隔
  6172. in: query
  6173. name: accountids
  6174. required: true
  6175. type: string
  6176. - description: 合同类型,1为采购合同 -1为销售合同
  6177. in: query
  6178. name: contracttype
  6179. required: true
  6180. type: integer
  6181. - description: 合同模式,1为普通合同 2为回购销售合同
  6182. in: query
  6183. name: contractmode
  6184. required: true
  6185. type: integer
  6186. - description: 状态,0为履约中 1为已完成
  6187. in: query
  6188. name: status
  6189. required: true
  6190. type: integer
  6191. produces:
  6192. - application/json
  6193. responses:
  6194. "200":
  6195. description: OK
  6196. schema:
  6197. items:
  6198. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  6199. type: array
  6200. "500":
  6201. description: Internal Server Error
  6202. schema:
  6203. $ref: '#/definitions/app.Response'
  6204. security:
  6205. - ApiKeyAuth: []
  6206. summary: 查询合同详细信息
  6207. tags:
  6208. - 风险管理v3
  6209. /Erms3/QueryUserInfoApplies:
  6210. get:
  6211. parameters:
  6212. - description: 页码
  6213. in: query
  6214. name: page
  6215. type: integer
  6216. - description: 每页条数
  6217. in: query
  6218. name: pagesize
  6219. type: integer
  6220. - description: 客户名称,支持模糊查询
  6221. in: query
  6222. name: userName
  6223. type: string
  6224. produces:
  6225. - application/json
  6226. responses:
  6227. "200":
  6228. description: OK
  6229. schema:
  6230. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  6231. "500":
  6232. description: Internal Server Error
  6233. schema:
  6234. $ref: '#/definitions/app.Response'
  6235. security:
  6236. - ApiKeyAuth: []
  6237. summary: 客户申请信息查询
  6238. tags:
  6239. - 风险管理v3
  6240. /Erms3/QueryUserInfos:
  6241. get:
  6242. parameters:
  6243. - description: 页码
  6244. in: query
  6245. name: page
  6246. type: integer
  6247. - description: 每页条数
  6248. in: query
  6249. name: pagesize
  6250. type: integer
  6251. - description: 客户名称,支持模糊查询
  6252. in: query
  6253. name: userName
  6254. type: string
  6255. produces:
  6256. - application/json
  6257. responses:
  6258. "200":
  6259. description: OK
  6260. schema:
  6261. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  6262. "500":
  6263. description: Internal Server Error
  6264. schema:
  6265. $ref: '#/definitions/app.Response'
  6266. security:
  6267. - ApiKeyAuth: []
  6268. summary: 客户信息查询
  6269. tags:
  6270. - 风险管理v3
  6271. /HSBY/GetHsbyMyCount:
  6272. get:
  6273. description: 说明: 不包括已完成的数量。
  6274. parameters:
  6275. - description: 资金账户列表,格式:1,2,3
  6276. in: query
  6277. name: accountIDs
  6278. required: true
  6279. type: string
  6280. produces:
  6281. - application/json
  6282. responses:
  6283. "200":
  6284. description: OK
  6285. schema:
  6286. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  6287. "500":
  6288. description: Internal Server Error
  6289. schema:
  6290. $ref: '#/definitions/app.Response'
  6291. security:
  6292. - ApiKeyAuth: []
  6293. summary: 获取我的订单与包裹数量
  6294. tags:
  6295. - 定制【海商报业】
  6296. /HSBY/QueryHsbyBuyMyTradeDetail:
  6297. get:
  6298. parameters:
  6299. - description: 页码
  6300. in: query
  6301. name: page
  6302. type: integer
  6303. - description: 每页条数
  6304. in: query
  6305. name: pagesize
  6306. type: integer
  6307. - description: 资金账户列表,格式:1,2,3
  6308. in: query
  6309. name: accountIDs
  6310. required: true
  6311. type: string
  6312. produces:
  6313. - application/json
  6314. responses:
  6315. "200":
  6316. description: OK
  6317. schema:
  6318. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  6319. "500":
  6320. description: Internal Server Error
  6321. schema:
  6322. $ref: '#/definitions/app.Response'
  6323. security:
  6324. - ApiKeyAuth: []
  6325. summary: 查询"我的订单 - 已完成"单据信息
  6326. tags:
  6327. - 定制【海商报业】
  6328. /HSBY/QueryHsbyGoodsOrderDetails:
  6329. get:
  6330. description: 说明:查询结果已按委托价格和委托时间排序
  6331. parameters:
  6332. - description: 商品ID
  6333. in: query
  6334. name: goodsID
  6335. required: true
  6336. type: integer
  6337. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  6338. in: query
  6339. name: accountIDs
  6340. type: string
  6341. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  6342. in: query
  6343. name: buyOrSell
  6344. type: integer
  6345. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  6346. in: query
  6347. name: price
  6348. type: number
  6349. - description: 档位,不传则默认为3档
  6350. in: query
  6351. name: speed
  6352. type: integer
  6353. produces:
  6354. - application/json
  6355. responses:
  6356. "200":
  6357. description: OK
  6358. schema:
  6359. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  6360. "500":
  6361. description: Internal Server Error
  6362. schema:
  6363. $ref: '#/definitions/app.Response'
  6364. security:
  6365. - ApiKeyAuth: []
  6366. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  6367. tags:
  6368. - 定制【海商报业】
  6369. /HSBY/QueryHsbyListingGoodsDetail:
  6370. get:
  6371. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  6372. parameters:
  6373. - description: 商品ID
  6374. in: query
  6375. name: goodsID
  6376. required: true
  6377. type: integer
  6378. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  6379. in: query
  6380. name: AccountID
  6381. type: integer
  6382. produces:
  6383. - application/json
  6384. responses:
  6385. "200":
  6386. description: OK
  6387. schema:
  6388. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  6389. "500":
  6390. description: Internal Server Error
  6391. schema:
  6392. $ref: '#/definitions/app.Response'
  6393. security:
  6394. - ApiKeyAuth: []
  6395. summary: 查询二级市场(挂牌点选)商品信息详情
  6396. tags:
  6397. - 定制【海商报业】
  6398. /HSBY/QueryHsbyMarketGoodsDetail:
  6399. get:
  6400. parameters:
  6401. - description: 委托单号
  6402. in: query
  6403. name: orderID
  6404. required: true
  6405. type: integer
  6406. produces:
  6407. - application/json
  6408. responses:
  6409. "200":
  6410. description: OK
  6411. schema:
  6412. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  6413. "500":
  6414. description: Internal Server Error
  6415. schema:
  6416. $ref: '#/definitions/app.Response'
  6417. security:
  6418. - ApiKeyAuth: []
  6419. summary: 查询三级市场(商城)商品信息详情
  6420. tags:
  6421. - 定制【海商报业】
  6422. /HSBY/QueryHsbyMarketGoodses:
  6423. get:
  6424. parameters:
  6425. - description: 页码
  6426. in: query
  6427. name: page
  6428. type: integer
  6429. - description: 每页条数
  6430. in: query
  6431. name: pagesize
  6432. type: integer
  6433. - description: 市场ID列表,格式:1,2,3
  6434. in: query
  6435. name: marketIDs
  6436. required: true
  6437. type: string
  6438. - description: 资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。
  6439. in: query
  6440. name: accountID
  6441. type: integer
  6442. - description: 类别ID
  6443. in: query
  6444. name: categoryID
  6445. type: integer
  6446. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  6447. in: query
  6448. name: goodsIDs
  6449. type: string
  6450. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  6451. in: query
  6452. name: couponTypeID
  6453. type: integer
  6454. produces:
  6455. - application/json
  6456. responses:
  6457. "200":
  6458. description: OK
  6459. schema:
  6460. $ref: '#/definitions/models.HsbyMarketGoods'
  6461. "500":
  6462. description: Internal Server Error
  6463. schema:
  6464. $ref: '#/definitions/app.Response'
  6465. security:
  6466. - ApiKeyAuth: []
  6467. summary: 查询特卖商品列表(三级商城)
  6468. tags:
  6469. - 定制【海商报业】
  6470. /HSBY/QueryHsbyMarkets:
  6471. get:
  6472. produces:
  6473. - application/json
  6474. responses:
  6475. "200":
  6476. description: OK
  6477. schema:
  6478. $ref: '#/definitions/models.HsbyMarketInfo'
  6479. "500":
  6480. description: Internal Server Error
  6481. schema:
  6482. $ref: '#/definitions/app.Response'
  6483. security:
  6484. - ApiKeyAuth: []
  6485. summary: 查询海商报业相关市场信息
  6486. tags:
  6487. - 定制【海商报业】
  6488. /HSBY/QueryHsbyMyBuyOrderDetails:
  6489. get:
  6490. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  6491. parameters:
  6492. - description: 资金账户列表,格式:1,2,3
  6493. in: query
  6494. name: accountIDs
  6495. required: true
  6496. type: string
  6497. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  6498. in: query
  6499. name: myBuyStatus
  6500. type: integer
  6501. produces:
  6502. - application/json
  6503. responses:
  6504. "200":
  6505. description: OK
  6506. schema:
  6507. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  6508. "500":
  6509. description: Internal Server Error
  6510. schema:
  6511. $ref: '#/definitions/app.Response'
  6512. security:
  6513. - ApiKeyAuth: []
  6514. summary: 查询“我的订单”信息
  6515. tags:
  6516. - 定制【海商报业】
  6517. /HSBY/QueryHsbyMyGoods:
  6518. get:
  6519. parameters:
  6520. - description: 资金账户列表,格式:1,2,3
  6521. in: query
  6522. name: accountIDs
  6523. required: true
  6524. type: string
  6525. produces:
  6526. - application/json
  6527. responses:
  6528. "200":
  6529. description: OK
  6530. schema:
  6531. $ref: '#/definitions/models.HsbyMyGoods'
  6532. "500":
  6533. description: Internal Server Error
  6534. schema:
  6535. $ref: '#/definitions/app.Response'
  6536. security:
  6537. - ApiKeyAuth: []
  6538. summary: 查询“我的商品”信息
  6539. tags:
  6540. - 定制【海商报业】
  6541. /HSBY/QueryHsbyMyPackages:
  6542. get:
  6543. parameters:
  6544. - description: 资金账户列表,格式:1,2,3
  6545. in: query
  6546. name: accountIDs
  6547. required: true
  6548. type: string
  6549. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6550. in: query
  6551. name: takeOrderStatus
  6552. type: integer
  6553. produces:
  6554. - application/json
  6555. responses:
  6556. "200":
  6557. description: OK
  6558. schema:
  6559. $ref: '#/definitions/models.HsbyMyPackage'
  6560. "500":
  6561. description: Internal Server Error
  6562. schema:
  6563. $ref: '#/definitions/app.Response'
  6564. security:
  6565. - ApiKeyAuth: []
  6566. summary: 查询我的包裹信息
  6567. tags:
  6568. - 定制【海商报业】
  6569. /HSBY/QueryHsbyPreGoodsDetail:
  6570. get:
  6571. parameters:
  6572. - description: 商品ID
  6573. in: query
  6574. name: goodsID
  6575. required: true
  6576. type: integer
  6577. - description: 资金账户,主要用于获取预售商品购买上限
  6578. in: query
  6579. name: accountID
  6580. type: integer
  6581. produces:
  6582. - application/json
  6583. responses:
  6584. "200":
  6585. description: OK
  6586. schema:
  6587. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  6588. "500":
  6589. description: Internal Server Error
  6590. schema:
  6591. $ref: '#/definitions/app.Response'
  6592. security:
  6593. - ApiKeyAuth: []
  6594. summary: 查询一级市场(预售)商品信息详情
  6595. tags:
  6596. - 定制【海商报业】
  6597. /HSBY/QueryHsbyPreGoodses:
  6598. get:
  6599. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  6600. parameters:
  6601. - description: 页码
  6602. in: query
  6603. name: page
  6604. type: integer
  6605. - description: 每页条数
  6606. in: query
  6607. name: pagesize
  6608. type: integer
  6609. - description: 市场ID列表,格式:1,2,3
  6610. in: query
  6611. name: marketIDs
  6612. required: true
  6613. type: string
  6614. - description: 目的地(省)ID
  6615. in: query
  6616. name: descProvinceID
  6617. type: integer
  6618. - description: 目的地(市)ID
  6619. in: query
  6620. name: descCityID
  6621. type: integer
  6622. produces:
  6623. - application/json
  6624. responses:
  6625. "200":
  6626. description: OK
  6627. schema:
  6628. $ref: '#/definitions/models.HsbyPreGoods'
  6629. "500":
  6630. description: Internal Server Error
  6631. schema:
  6632. $ref: '#/definitions/app.Response'
  6633. security:
  6634. - ApiKeyAuth: []
  6635. summary: 查询新品上市商品列表(一级市场预售)
  6636. tags:
  6637. - 定制【海商报业】
  6638. /HSBY/QueryHsbySellMyDetails:
  6639. get:
  6640. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  6641. parameters:
  6642. - description: 页码
  6643. in: query
  6644. name: page
  6645. type: integer
  6646. - description: 每页条数
  6647. in: query
  6648. name: pagesize
  6649. type: integer
  6650. - description: 资金账户列表,格式:1,2,3
  6651. in: query
  6652. name: accountIDs
  6653. required: true
  6654. type: string
  6655. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  6656. in: query
  6657. name: orderType
  6658. type: integer
  6659. produces:
  6660. - application/json
  6661. responses:
  6662. "200":
  6663. description: OK
  6664. schema:
  6665. $ref: '#/definitions/models.HsbySellMyDetail'
  6666. "500":
  6667. description: Internal Server Error
  6668. schema:
  6669. $ref: '#/definitions/app.Response'
  6670. security:
  6671. - ApiKeyAuth: []
  6672. summary: 查询"我的闲置"单据信息
  6673. tags:
  6674. - 定制【海商报业】
  6675. /HSBY/QueryHsbyTopGoodses:
  6676. get:
  6677. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  6678. parameters:
  6679. - description: 页码
  6680. in: query
  6681. name: page
  6682. type: integer
  6683. - description: 每页条数
  6684. in: query
  6685. name: pagesize
  6686. type: integer
  6687. - description: 市场ID列表,格式:1,2,3
  6688. in: query
  6689. name: marketIDs
  6690. required: true
  6691. type: string
  6692. - description: 目的地(省)ID
  6693. in: query
  6694. name: descProvinceID
  6695. type: integer
  6696. - description: 目的地(市)ID
  6697. in: query
  6698. name: descCityID
  6699. type: integer
  6700. produces:
  6701. - application/json
  6702. responses:
  6703. "200":
  6704. description: OK
  6705. schema:
  6706. $ref: '#/definitions/models.HsbyTopGoods'
  6707. "500":
  6708. description: Internal Server Error
  6709. schema:
  6710. $ref: '#/definitions/app.Response'
  6711. security:
  6712. - ApiKeyAuth: []
  6713. summary: 查询热卖商品列表(二级市场挂牌点选)
  6714. tags:
  6715. - 定制【海商报业】
  6716. /HSBY/QueryMyCollectionOrders:
  6717. get:
  6718. parameters:
  6719. - description: 页码
  6720. in: query
  6721. name: page
  6722. type: integer
  6723. - description: 每页条数
  6724. in: query
  6725. name: pagesize
  6726. type: integer
  6727. - description: 资金账户,格式:1,2,3
  6728. in: query
  6729. name: accountIDs
  6730. required: true
  6731. type: string
  6732. produces:
  6733. - application/json
  6734. responses:
  6735. "200":
  6736. description: OK
  6737. schema:
  6738. $ref: '#/definitions/models.HsbySellCollectionOrder'
  6739. "500":
  6740. description: Internal Server Error
  6741. schema:
  6742. $ref: '#/definitions/app.Response'
  6743. security:
  6744. - ApiKeyAuth: []
  6745. summary: 我的闲置中收款信息查询
  6746. tags:
  6747. - 定制【海商报业】
  6748. /HSBY/QueryMyCouponHolds:
  6749. get:
  6750. parameters:
  6751. - description: 资金账户列表,格式:1,2,3
  6752. in: query
  6753. name: accountIDs
  6754. required: true
  6755. type: string
  6756. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  6757. in: query
  6758. name: holdStatus
  6759. type: string
  6760. produces:
  6761. - application/json
  6762. responses:
  6763. "200":
  6764. description: OK
  6765. schema:
  6766. $ref: '#/definitions/models.MyCouponHold'
  6767. "500":
  6768. description: Internal Server Error
  6769. schema:
  6770. $ref: '#/definitions/app.Response'
  6771. security:
  6772. - ApiKeyAuth: []
  6773. summary: 我的优惠卷持仓查询
  6774. tags:
  6775. - 定制【海商报业】
  6776. /HSBY/QueryMyCoupons:
  6777. get:
  6778. parameters:
  6779. - description: 资金账户列表,格式:1,2,3
  6780. in: query
  6781. name: accountIDs
  6782. required: true
  6783. type: string
  6784. - description: 商品ID, 一般与sellUserID配套传入
  6785. in: query
  6786. name: goodsID
  6787. type: integer
  6788. - description: 卖方UserID
  6789. in: query
  6790. name: sellUserID
  6791. type: integer
  6792. produces:
  6793. - application/json
  6794. responses:
  6795. "200":
  6796. description: OK
  6797. schema:
  6798. $ref: '#/definitions/models.MyCoupon'
  6799. "500":
  6800. description: Internal Server Error
  6801. schema:
  6802. $ref: '#/definitions/app.Response'
  6803. security:
  6804. - ApiKeyAuth: []
  6805. summary: 我的优惠卷查询
  6806. tags:
  6807. - 定制【海商报业】
  6808. /HSBY/QueryMyPayOrders:
  6809. get:
  6810. parameters:
  6811. - description: 页码
  6812. in: query
  6813. name: page
  6814. type: integer
  6815. - description: 每页条数
  6816. in: query
  6817. name: pagesize
  6818. type: integer
  6819. - description: 资金账户列表,格式:1,2,3
  6820. in: query
  6821. name: accountIDs
  6822. required: true
  6823. type: string
  6824. - description: 买方委托单号
  6825. in: query
  6826. name: buyOrderID
  6827. type: integer
  6828. - description: 卖方委托单号
  6829. in: query
  6830. name: sellOrderID
  6831. type: integer
  6832. produces:
  6833. - application/json
  6834. responses:
  6835. "200":
  6836. description: OK
  6837. schema:
  6838. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  6839. "500":
  6840. description: Internal Server Error
  6841. schema:
  6842. $ref: '#/definitions/app.Response'
  6843. security:
  6844. - ApiKeyAuth: []
  6845. summary: 获取我的订单中待付款信息
  6846. tags:
  6847. - 定制【海商报业】
  6848. /HSBY/QueryProvincesAndCities:
  6849. get:
  6850. description: 查询结果只包括二级市场商品已关连的省市信息。
  6851. parameters:
  6852. - description: 省ID
  6853. in: query
  6854. name: provinceID
  6855. type: integer
  6856. produces:
  6857. - application/json
  6858. responses:
  6859. "200":
  6860. description: OK
  6861. schema:
  6862. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  6863. "500":
  6864. description: Internal Server Error
  6865. schema:
  6866. $ref: '#/definitions/app.Response'
  6867. security:
  6868. - ApiKeyAuth: []
  6869. summary: 查询省市信息(不包括区)
  6870. tags:
  6871. - 定制【海商报业】
  6872. /HSBY/SetHsbyMyPackagesStatus:
  6873. post:
  6874. parameters:
  6875. - description: 提货单号
  6876. in: query
  6877. name: takeOrderID
  6878. required: true
  6879. type: string
  6880. - description: 资金账号
  6881. in: query
  6882. name: accountID
  6883. required: true
  6884. type: integer
  6885. produces:
  6886. - application/json
  6887. responses:
  6888. "200":
  6889. description: OK
  6890. schema:
  6891. $ref: '#/definitions/app.Response'
  6892. "500":
  6893. description: Internal Server Error
  6894. schema:
  6895. $ref: '#/definitions/app.Response'
  6896. security:
  6897. - ApiKeyAuth: []
  6898. summary: 设置我的包裹已收货状态
  6899. tags:
  6900. - 定制【海商报业】
  6901. /Market/QueryMarketRun:
  6902. get:
  6903. parameters:
  6904. - description: 市场ID,不传返回所有
  6905. in: query
  6906. name: marketID
  6907. type: integer
  6908. produces:
  6909. - application/json
  6910. responses:
  6911. "200":
  6912. description: OK
  6913. schema:
  6914. $ref: '#/definitions/models.Marketrun'
  6915. "500":
  6916. description: Internal Server Error
  6917. schema:
  6918. $ref: '#/definitions/app.Response'
  6919. security:
  6920. - ApiKeyAuth: []
  6921. summary: 查询市场运行信息
  6922. tags:
  6923. - 通用市场
  6924. /Order/QueryHisTradeDetail:
  6925. get:
  6926. parameters:
  6927. - description: 资金账户 - 格式:1,2,3
  6928. in: query
  6929. name: accountID
  6930. required: true
  6931. type: string
  6932. - description: 成交单号
  6933. in: query
  6934. name: tradeID
  6935. type: integer
  6936. - description: 委托单号
  6937. in: query
  6938. name: orderID
  6939. type: integer
  6940. - description: 交易模式 - 格式:1,2,3
  6941. in: query
  6942. name: tradeMode
  6943. type: string
  6944. - description: 委托单据类型
  6945. in: query
  6946. name: buildType
  6947. type: integer
  6948. - description: 成交类别 - 格式:1,2,3
  6949. in: query
  6950. name: tradeType
  6951. type: string
  6952. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6953. in: query
  6954. name: startDate
  6955. type: string
  6956. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6957. in: query
  6958. name: endDate
  6959. type: string
  6960. produces:
  6961. - application/json
  6962. responses:
  6963. "200":
  6964. description: OK
  6965. schema:
  6966. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  6967. "500":
  6968. description: Internal Server Error
  6969. schema:
  6970. $ref: '#/definitions/app.Response'
  6971. security:
  6972. - ApiKeyAuth: []
  6973. summary: 历史成交单查询(合约市场)
  6974. tags:
  6975. - 通用单据
  6976. /Order/QueryHisTradeOrderDetail:
  6977. get:
  6978. parameters:
  6979. - description: 资金账户 - 格式:1,2,3
  6980. in: query
  6981. name: accountID
  6982. required: true
  6983. type: string
  6984. - description: 交易模式 - 格式:1,2,3
  6985. in: query
  6986. name: tradeMode
  6987. type: string
  6988. - description: 委托状态 - 格式:1,2,3
  6989. in: query
  6990. name: orderStatus
  6991. type: string
  6992. - description: 委托单号
  6993. in: query
  6994. name: orderID
  6995. type: integer
  6996. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6997. in: query
  6998. name: startDate
  6999. type: string
  7000. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7001. in: query
  7002. name: endDate
  7003. type: string
  7004. produces:
  7005. - application/json
  7006. responses:
  7007. "200":
  7008. description: OK
  7009. schema:
  7010. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  7011. "500":
  7012. description: Internal Server Error
  7013. schema:
  7014. $ref: '#/definitions/app.Response'
  7015. security:
  7016. - ApiKeyAuth: []
  7017. summary: 历史委托单查询请求(合约市场)
  7018. tags:
  7019. - 通用单据
  7020. /Order/QueryTradeDetail:
  7021. get:
  7022. parameters:
  7023. - description: 资金账户 - 格式:1,2,3
  7024. in: query
  7025. name: accountID
  7026. required: true
  7027. type: string
  7028. - description: 成交单号
  7029. in: query
  7030. name: tradeID
  7031. type: integer
  7032. - description: 委托单号
  7033. in: query
  7034. name: orderID
  7035. type: integer
  7036. - description: 交易模式 - 格式:1,2,3
  7037. in: query
  7038. name: tradeMode
  7039. type: string
  7040. - description: 委托单据类型
  7041. in: query
  7042. name: buildType
  7043. type: integer
  7044. - description: 成交类别 - 格式:1,2,3
  7045. in: query
  7046. name: tradeType
  7047. type: string
  7048. produces:
  7049. - application/json
  7050. responses:
  7051. "200":
  7052. description: OK
  7053. schema:
  7054. $ref: '#/definitions/order.QueryTradeDetailRsp'
  7055. "500":
  7056. description: Internal Server Error
  7057. schema:
  7058. $ref: '#/definitions/app.Response'
  7059. security:
  7060. - ApiKeyAuth: []
  7061. summary: 成交单查询(合约市场)
  7062. tags:
  7063. - 通用单据
  7064. /Order/QueryTradeOrderDetail:
  7065. get:
  7066. parameters:
  7067. - description: 资金账户 - 格式:1,2,3
  7068. in: query
  7069. name: accountID
  7070. required: true
  7071. type: string
  7072. - description: 交易模式 - 格式:1,2,3
  7073. in: query
  7074. name: tradeMode
  7075. type: string
  7076. - description: 委托状态 - 格式:1,2,3
  7077. in: query
  7078. name: orderStatus
  7079. type: string
  7080. - description: 委托单号
  7081. in: query
  7082. name: orderID
  7083. type: integer
  7084. produces:
  7085. - application/json
  7086. responses:
  7087. "200":
  7088. description: OK
  7089. schema:
  7090. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  7091. "500":
  7092. description: Internal Server Error
  7093. schema:
  7094. $ref: '#/definitions/app.Response'
  7095. security:
  7096. - ApiKeyAuth: []
  7097. summary: 委托单查询请求(合约市场)
  7098. tags:
  7099. - 通用单据
  7100. /Order/QueryTradePosition:
  7101. get:
  7102. parameters:
  7103. - description: 资金账户 - 格式:1,2,3
  7104. in: query
  7105. name: accountID
  7106. required: true
  7107. type: string
  7108. - description: 交易模式 - 格式:1,2,3
  7109. in: query
  7110. name: tradeMode
  7111. type: string
  7112. produces:
  7113. - application/json
  7114. responses:
  7115. "200":
  7116. description: OK
  7117. schema:
  7118. $ref: '#/definitions/order.QueryTradePositionRsp'
  7119. "500":
  7120. description: Internal Server Error
  7121. schema:
  7122. $ref: '#/definitions/app.Response'
  7123. security:
  7124. - ApiKeyAuth: []
  7125. summary: 持仓汇总查询(合约市场)
  7126. tags:
  7127. - 通用单据
  7128. /Quote/QueryHistoryDatas:
  7129. get:
  7130. parameters:
  7131. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  7132. 日线 10: Tik'
  7133. in: query
  7134. name: cycleType
  7135. required: true
  7136. type: integer
  7137. - description: 商品代码
  7138. in: query
  7139. name: goodsCode
  7140. required: true
  7141. type: string
  7142. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  7143. in: query
  7144. name: startTime
  7145. type: string
  7146. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  7147. in: query
  7148. name: endTime
  7149. type: string
  7150. - description: 条数
  7151. in: query
  7152. name: count
  7153. type: integer
  7154. - description: 是否按时间顺序排序(默认为时间倒序排序)
  7155. in: query
  7156. name: isAsc
  7157. type: boolean
  7158. produces:
  7159. - application/json
  7160. responses:
  7161. "200":
  7162. description: OK
  7163. schema:
  7164. $ref: '#/definitions/quote.HistoryData'
  7165. "500":
  7166. description: Internal Server Error
  7167. schema:
  7168. $ref: '#/definitions/app.Response'
  7169. security:
  7170. - ApiKeyAuth: []
  7171. summary: 查询行情历史数据
  7172. tags:
  7173. - 行情服务
  7174. /Quote/QueryTSData:
  7175. get:
  7176. parameters:
  7177. - description: 商品代码
  7178. in: query
  7179. name: GoodsCode
  7180. required: true
  7181. type: string
  7182. produces:
  7183. - application/json
  7184. responses:
  7185. "200":
  7186. description: OK
  7187. schema:
  7188. $ref: '#/definitions/quote.QueryTSDataRsp'
  7189. "500":
  7190. description: Internal Server Error
  7191. schema:
  7192. $ref: '#/definitions/app.Response'
  7193. summary: 分时图数据查询
  7194. tags:
  7195. - 行情服务
  7196. /SZDZ/QueryConvertConfig:
  7197. get:
  7198. parameters:
  7199. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7200. 6:交易转花生米(不设置)
  7201. in: query
  7202. name: convertType
  7203. type: integer
  7204. - description: 外部商品代码[JD\PD]
  7205. in: query
  7206. name: outerGoodsCode
  7207. type: string
  7208. - description: 内部商品ID列表[交易],格式:1,2,3
  7209. in: query
  7210. name: innerGoodsIDs
  7211. type: string
  7212. produces:
  7213. - application/json
  7214. responses:
  7215. "200":
  7216. description: OK
  7217. schema:
  7218. $ref: '#/definitions/models.Szdz3convertconfig'
  7219. "500":
  7220. description: Internal Server Error
  7221. schema:
  7222. $ref: '#/definitions/app.Response'
  7223. security:
  7224. - ApiKeyAuth: []
  7225. summary: 查询交易系统转换设置
  7226. tags:
  7227. - 定制【尚志大宗】
  7228. /SZDZ/QueryConvertLog:
  7229. get:
  7230. parameters:
  7231. - description: 资金账户 - 格式:1,2,3
  7232. in: query
  7233. name: accountID
  7234. required: true
  7235. type: string
  7236. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  7237. in: query
  7238. name: startDate
  7239. type: string
  7240. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  7241. in: query
  7242. name: endDate
  7243. type: string
  7244. produces:
  7245. - application/json
  7246. responses:
  7247. "200":
  7248. description: OK
  7249. schema:
  7250. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  7251. "500":
  7252. description: Internal Server Error
  7253. schema:
  7254. $ref: '#/definitions/app.Response'
  7255. security:
  7256. - ApiKeyAuth: []
  7257. summary: 交易系统转换流水查询
  7258. tags:
  7259. - 定制【尚志大宗】
  7260. /SZDZ/QueryGoodsPickup:
  7261. get:
  7262. parameters:
  7263. - description: 资金账户 - 格式:1,2,3
  7264. in: query
  7265. name: accountID
  7266. required: true
  7267. type: string
  7268. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7269. in: query
  7270. name: takeOrderStatus
  7271. type: integer
  7272. produces:
  7273. - application/json
  7274. responses:
  7275. "200":
  7276. description: OK
  7277. schema:
  7278. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  7279. "500":
  7280. description: Internal Server Error
  7281. schema:
  7282. $ref: '#/definitions/app.Response'
  7283. security:
  7284. - ApiKeyAuth: []
  7285. summary: 商品提货单查询
  7286. tags:
  7287. - 定制【尚志大宗】
  7288. /SZDZ/QueryRecieptOrder:
  7289. get:
  7290. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  7291. parameters:
  7292. - description: 页码
  7293. in: query
  7294. name: page
  7295. type: integer
  7296. - description: 每页条数
  7297. in: query
  7298. name: pagesize
  7299. type: integer
  7300. - description: 商品ID
  7301. in: query
  7302. name: goodsID
  7303. required: true
  7304. type: integer
  7305. - description: 所属账户名称
  7306. in: query
  7307. name: accountName
  7308. type: string
  7309. - description: 市场ID
  7310. in: query
  7311. name: marketID
  7312. type: integer
  7313. - description: 方向 - 0:买 1:卖
  7314. in: query
  7315. name: buyorsell
  7316. required: true
  7317. type: integer
  7318. produces:
  7319. - application/json
  7320. responses:
  7321. "200":
  7322. description: OK
  7323. schema:
  7324. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  7325. "500":
  7326. description: Internal Server Error
  7327. schema:
  7328. $ref: '#/definitions/app.Response'
  7329. security:
  7330. - ApiKeyAuth: []
  7331. summary: 点选挂牌委托单据查询(摘牌大厅)
  7332. tags:
  7333. - 定制【尚志大宗】
  7334. /SZDZ/QuerySZDZTradePosition:
  7335. get:
  7336. parameters:
  7337. - description: 资金账户
  7338. in: query
  7339. name: accountID
  7340. required: true
  7341. type: integer
  7342. produces:
  7343. - application/json
  7344. responses:
  7345. "200":
  7346. description: OK
  7347. schema:
  7348. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  7349. "500":
  7350. description: Internal Server Error
  7351. schema:
  7352. $ref: '#/definitions/app.Response'
  7353. security:
  7354. - ApiKeyAuth: []
  7355. summary: 持仓汇总查询(尚志大宗)
  7356. tags:
  7357. - 定制【尚志大宗】
  7358. /SZDZ/SearchWhite:
  7359. get:
  7360. parameters:
  7361. - description: 用户ID
  7362. in: query
  7363. name: userID
  7364. required: true
  7365. type: integer
  7366. produces:
  7367. - application/json
  7368. responses:
  7369. "200":
  7370. description: OK
  7371. schema:
  7372. $ref: '#/definitions/models.Szdz3searchwhitelist'
  7373. "500":
  7374. description: Internal Server Error
  7375. schema:
  7376. $ref: '#/definitions/app.Response'
  7377. security:
  7378. - ApiKeyAuth: []
  7379. summary: 搜索白名单
  7380. tags:
  7381. - 定制【尚志大宗】
  7382. /Search/SearchGoodses:
  7383. get:
  7384. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  7385. parameters:
  7386. - description: 检索内容
  7387. in: query
  7388. name: content
  7389. required: true
  7390. type: string
  7391. - description: 交易模式,格式:1,2,3
  7392. in: query
  7393. name: tradeModes
  7394. type: string
  7395. produces:
  7396. - application/json
  7397. responses:
  7398. "200":
  7399. description: OK
  7400. schema:
  7401. $ref: '#/definitions/models.SearchGoods'
  7402. "500":
  7403. description: Internal Server Error
  7404. schema:
  7405. $ref: '#/definitions/app.Response'
  7406. summary: 检索商品信息
  7407. tags:
  7408. - 检索服务
  7409. /TaAccount/QueryAmountLog:
  7410. get:
  7411. parameters:
  7412. - description: 页码
  7413. in: query
  7414. name: page
  7415. type: integer
  7416. - description: 每页条数
  7417. in: query
  7418. name: pagesize
  7419. type: integer
  7420. - description: 资金账户 - 格式:1,2,3
  7421. in: query
  7422. name: accountID
  7423. required: true
  7424. type: string
  7425. - description: 资金操作类型 - 格式:1,2,3
  7426. in: query
  7427. name: OperateType
  7428. type: string
  7429. produces:
  7430. - application/json
  7431. responses:
  7432. "200":
  7433. description: OK
  7434. schema:
  7435. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  7436. "500":
  7437. description: Internal Server Error
  7438. schema:
  7439. $ref: '#/definitions/app.Response'
  7440. security:
  7441. - ApiKeyAuth: []
  7442. summary: 资金流水查询(当前)
  7443. tags:
  7444. - 资金账户
  7445. /TaAccount/QueryHisAmountLog:
  7446. get:
  7447. parameters:
  7448. - description: 页码
  7449. in: query
  7450. name: page
  7451. type: integer
  7452. - description: 每页条数
  7453. in: query
  7454. name: pagesize
  7455. type: integer
  7456. - description: 资金账户 - 格式:1,2,3
  7457. in: query
  7458. name: accountID
  7459. required: true
  7460. type: string
  7461. - description: 资金操作类型 - 格式:1,2,3
  7462. in: query
  7463. name: OperateType
  7464. type: string
  7465. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7466. in: query
  7467. name: startDate
  7468. type: string
  7469. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7470. in: query
  7471. name: endDate
  7472. type: string
  7473. produces:
  7474. - application/json
  7475. responses:
  7476. "200":
  7477. description: OK
  7478. schema:
  7479. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  7480. "500":
  7481. description: Internal Server Error
  7482. schema:
  7483. $ref: '#/definitions/app.Response'
  7484. security:
  7485. - ApiKeyAuth: []
  7486. summary: 资金流水查询(历史)
  7487. tags:
  7488. - 资金账户
  7489. /Trade/QueryRecieptOrder:
  7490. get:
  7491. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  7492. parameters:
  7493. - description: 页码
  7494. in: query
  7495. name: page
  7496. type: integer
  7497. - description: 每页条数
  7498. in: query
  7499. name: pagesize
  7500. type: integer
  7501. - description: 商品ID
  7502. in: query
  7503. name: goodsID
  7504. required: true
  7505. type: integer
  7506. - description: 所属账户名称
  7507. in: query
  7508. name: accountName
  7509. type: string
  7510. - description: 市场ID
  7511. in: query
  7512. name: marketID
  7513. type: integer
  7514. - description: 方向 - 0:买 1:卖
  7515. in: query
  7516. name: buyorsell
  7517. required: true
  7518. type: integer
  7519. produces:
  7520. - application/json
  7521. responses:
  7522. "200":
  7523. description: OK
  7524. schema:
  7525. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  7526. "500":
  7527. description: Internal Server Error
  7528. schema:
  7529. $ref: '#/definitions/app.Response'
  7530. security:
  7531. - ApiKeyAuth: []
  7532. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  7533. tags:
  7534. - 通用交易
  7535. /User/AddMessageBoard:
  7536. post:
  7537. parameters:
  7538. - description: 用户ID
  7539. in: query
  7540. name: userID
  7541. required: true
  7542. type: integer
  7543. - description: 留言信息
  7544. in: query
  7545. name: message
  7546. required: true
  7547. type: string
  7548. produces:
  7549. - application/json
  7550. responses:
  7551. "200":
  7552. description: OK
  7553. schema:
  7554. $ref: '#/definitions/app.Response'
  7555. "500":
  7556. description: Internal Server Error
  7557. schema:
  7558. $ref: '#/definitions/app.Response'
  7559. security:
  7560. - ApiKeyAuth: []
  7561. summary: 添加用户留言板信息
  7562. tags:
  7563. - 用户信息
  7564. /User/AddUserFavoriteGoods:
  7565. post:
  7566. parameters:
  7567. - description: 用户ID
  7568. in: query
  7569. name: userID
  7570. required: true
  7571. type: integer
  7572. - description: 商品ID
  7573. in: query
  7574. name: goodsID
  7575. required: true
  7576. type: integer
  7577. produces:
  7578. - application/json
  7579. responses:
  7580. "200":
  7581. description: OK
  7582. schema:
  7583. $ref: '#/definitions/app.Response'
  7584. "500":
  7585. description: Internal Server Error
  7586. schema:
  7587. $ref: '#/definitions/app.Response'
  7588. security:
  7589. - ApiKeyAuth: []
  7590. summary: 添加用户商品收藏信息
  7591. tags:
  7592. - 用户信息
  7593. /User/GetLoginID:
  7594. get:
  7595. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  7596. parameters:
  7597. - description: 登录代码
  7598. in: query
  7599. name: username
  7600. required: true
  7601. type: string
  7602. produces:
  7603. - application/json
  7604. responses:
  7605. "200":
  7606. description: OK
  7607. schema:
  7608. $ref: '#/definitions/app.Response'
  7609. "500":
  7610. description: Internal Server Error
  7611. schema:
  7612. $ref: '#/definitions/app.Response'
  7613. summary: 获取登录ID
  7614. tags:
  7615. - 用户信息
  7616. /User/GetUserAccount:
  7617. get:
  7618. parameters:
  7619. - description: 用户ID
  7620. in: query
  7621. name: userID
  7622. required: true
  7623. type: integer
  7624. produces:
  7625. - application/json
  7626. responses:
  7627. "200":
  7628. description: OK
  7629. schema:
  7630. $ref: '#/definitions/models.Useraccount'
  7631. "500":
  7632. description: Internal Server Error
  7633. schema:
  7634. $ref: '#/definitions/app.Response'
  7635. security:
  7636. - ApiKeyAuth: []
  7637. summary: 获取用户账号信息
  7638. tags:
  7639. - 用户信息
  7640. /User/GetUserAuthStatus:
  7641. get:
  7642. parameters:
  7643. - description: 用户ID
  7644. in: query
  7645. name: userID
  7646. required: true
  7647. type: integer
  7648. produces:
  7649. - application/json
  7650. responses:
  7651. "200":
  7652. description: OK
  7653. schema:
  7654. $ref: '#/definitions/app.Response'
  7655. "500":
  7656. description: Internal Server Error
  7657. schema:
  7658. $ref: '#/definitions/app.Response'
  7659. security:
  7660. - ApiKeyAuth: []
  7661. summary: 获取用户实名认证状态
  7662. tags:
  7663. - 用户信息
  7664. /User/QueryMessageBoard:
  7665. get:
  7666. parameters:
  7667. - description: 用户ID
  7668. in: query
  7669. name: userID
  7670. required: true
  7671. type: integer
  7672. produces:
  7673. - application/json
  7674. responses:
  7675. "200":
  7676. description: OK
  7677. schema:
  7678. $ref: '#/definitions/models.Messageboard'
  7679. "500":
  7680. description: Internal Server Error
  7681. schema:
  7682. $ref: '#/definitions/app.Response'
  7683. security:
  7684. - ApiKeyAuth: []
  7685. summary: 获取用户留言板信息
  7686. tags:
  7687. - 用户信息
  7688. /User/QueryUserFavoriteGoodses:
  7689. get:
  7690. parameters:
  7691. - description: 用户ID
  7692. in: query
  7693. name: userID
  7694. required: true
  7695. type: integer
  7696. produces:
  7697. - application/json
  7698. responses:
  7699. "200":
  7700. description: OK
  7701. schema:
  7702. $ref: '#/definitions/models.Userfavoritegoods'
  7703. "500":
  7704. description: Internal Server Error
  7705. schema:
  7706. $ref: '#/definitions/app.Response'
  7707. security:
  7708. - ApiKeyAuth: []
  7709. summary: 获取用户商品收藏信息
  7710. tags:
  7711. - 用户信息
  7712. /User/QueryUserInfo:
  7713. get:
  7714. parameters:
  7715. - description: 用户ID
  7716. in: query
  7717. name: userID
  7718. required: true
  7719. type: integer
  7720. produces:
  7721. - application/json
  7722. responses:
  7723. "200":
  7724. description: OK
  7725. schema:
  7726. $ref: '#/definitions/models.Userinfo'
  7727. "500":
  7728. description: Internal Server Error
  7729. schema:
  7730. $ref: '#/definitions/app.Response'
  7731. security:
  7732. - ApiKeyAuth: []
  7733. summary: 获取用户信息
  7734. tags:
  7735. - 用户信息
  7736. /User/QueryUserReferNum:
  7737. get:
  7738. parameters:
  7739. - description: 用户ID
  7740. in: query
  7741. name: userID
  7742. required: true
  7743. type: integer
  7744. produces:
  7745. - application/json
  7746. responses:
  7747. "200":
  7748. description: OK
  7749. schema:
  7750. $ref: '#/definitions/app.Response'
  7751. "500":
  7752. description: Internal Server Error
  7753. schema:
  7754. $ref: '#/definitions/app.Response'
  7755. summary: 获取用户邀请码
  7756. tags:
  7757. - 用户信息
  7758. /User/RemoveUserFavoriteGoods:
  7759. post:
  7760. parameters:
  7761. - description: 用户ID
  7762. in: query
  7763. name: userID
  7764. required: true
  7765. type: integer
  7766. - description: 商品ID
  7767. in: query
  7768. name: goodsID
  7769. required: true
  7770. type: integer
  7771. produces:
  7772. - application/json
  7773. responses:
  7774. "200":
  7775. description: OK
  7776. schema:
  7777. $ref: '#/definitions/app.Response'
  7778. "500":
  7779. description: Internal Server Error
  7780. schema:
  7781. $ref: '#/definitions/app.Response'
  7782. security:
  7783. - ApiKeyAuth: []
  7784. summary: 移除用户商品收藏信息
  7785. tags:
  7786. - 用户信息
  7787. /WR/GetWRCategoryInfo:
  7788. get:
  7789. produces:
  7790. - application/json
  7791. responses:
  7792. "200":
  7793. description: OK
  7794. schema:
  7795. $ref: '#/definitions/models.WRCategoryTree'
  7796. "500":
  7797. description: Internal Server Error
  7798. schema:
  7799. $ref: '#/definitions/app.Response'
  7800. summary: 获取现货分类信息
  7801. tags:
  7802. - 仓单服务
  7803. /WRTrade/GetAllDeliveryGoods:
  7804. get:
  7805. produces:
  7806. - application/json
  7807. - application/json
  7808. responses:
  7809. "200":
  7810. description: OK
  7811. schema:
  7812. $ref: '#/definitions/app.Response'
  7813. "500":
  7814. description: Internal Server Error
  7815. schema:
  7816. $ref: '#/definitions/app.Response'
  7817. security:
  7818. - ApiKeyAuth: []
  7819. - ApiKeyAuth: []
  7820. summary: 获取带仓单分类的种类信息
  7821. tags:
  7822. - 仓单贸易
  7823. - 仓单贸易
  7824. securityDefinitions:
  7825. ApiKeyAuth:
  7826. in: header
  7827. name: Authorization
  7828. type: apiKey
  7829. swagger: "2.0"