swagger.yaml 210 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646
  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. myOrderDetailListingCount:
  1991. description: 我的订单求购中数量
  1992. type: integer
  1993. myOrderDetailPreCount:
  1994. description: 我的订单抢购中数量
  1995. type: integer
  1996. myPackageUnReceiveCount:
  1997. description: 我的包裹待收货数量
  1998. type: integer
  1999. myPackageUnSendCount:
  2000. description: 我的包裹待发货数量
  2001. type: integer
  2002. myPayOrderCount:
  2003. description: 我的订单待付款数量
  2004. type: integer
  2005. type: object
  2006. hsby.QueryProvincesAndCitiesRsp:
  2007. properties:
  2008. cities:
  2009. description: 市
  2010. items:
  2011. $ref: '#/definitions/models.Division'
  2012. type: array
  2013. province:
  2014. $ref: '#/definitions/models.Division'
  2015. description: 省
  2016. type: object
  2017. models.Division:
  2018. properties:
  2019. autoid:
  2020. description: 自增ID
  2021. type: integer
  2022. divisioncode:
  2023. description: 行政代码
  2024. type: string
  2025. divisionlevel:
  2026. description: 行政级别
  2027. type: string
  2028. divisionname:
  2029. description: 行政名称
  2030. type: string
  2031. modifierid:
  2032. description: 修改人
  2033. type: integer
  2034. modifytime:
  2035. description: 修改时间
  2036. type: string
  2037. parentcode:
  2038. description: 上级行政代码
  2039. type: string
  2040. pathname:
  2041. description: 路径名称
  2042. type: string
  2043. postcode:
  2044. description: 邮政编码
  2045. type: string
  2046. separablename:
  2047. description: 可拆分的全称
  2048. type: string
  2049. shortcode:
  2050. description: 地区简码
  2051. type: string
  2052. required:
  2053. - autoid
  2054. - divisioncode
  2055. type: object
  2056. models.Enumdicitem:
  2057. properties:
  2058. autoid:
  2059. description: 自增ID
  2060. type: integer
  2061. bankmappedvalue:
  2062. description: 银行服务对应值
  2063. type: string
  2064. enumdiccode:
  2065. description: 所属枚举代码
  2066. type: string
  2067. enumdicid:
  2068. description: 所属枚举ID
  2069. type: integer
  2070. enumdicname:
  2071. description: 枚举项名称
  2072. type: string
  2073. enumitemname:
  2074. description: 枚举项值
  2075. type: integer
  2076. enumitemstatus:
  2077. description: 枚举项状态 - 1.启用 2.不启用
  2078. type: integer
  2079. enumitemvalue:
  2080. description: 通用值 - [币种通用简写]
  2081. type: string
  2082. param1:
  2083. description: 参数1[币种:币种小数位]
  2084. type: string
  2085. param2:
  2086. description: 参数1[币种:币种显示单位]
  2087. type: string
  2088. remark:
  2089. description: 备注
  2090. type: string
  2091. required:
  2092. - autoid
  2093. - enumdiccode
  2094. - enumdicid
  2095. - enumitemname
  2096. type: object
  2097. models.GoodsIDAndName:
  2098. properties:
  2099. goodscode:
  2100. description: 商品代码(内部)
  2101. type: string
  2102. goodsid:
  2103. description: 商品ID(自增ID SEQ_GOODS)
  2104. type: integer
  2105. goodsname:
  2106. description: 商品名称
  2107. type: string
  2108. marketid:
  2109. description: 所属市场ID
  2110. type: integer
  2111. required:
  2112. - goodscode
  2113. - goodsid
  2114. - goodsname
  2115. - marketid
  2116. type: object
  2117. models.HsbyBuyMyPayOrder:
  2118. properties:
  2119. agreeunit:
  2120. description: 合约单位
  2121. type: number
  2122. buyaccountid:
  2123. description: 买方账号ID[报价币种]
  2124. type: integer
  2125. buyorderid:
  2126. description: 买方委托单号
  2127. type: string
  2128. createtime:
  2129. description: 创建时间
  2130. type: string
  2131. currencysign:
  2132. description: 货币符号
  2133. type: string
  2134. decimalplace:
  2135. description: 报价小数位
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. marketid:
  2147. description: 市场ID
  2148. type: integer
  2149. offamount:
  2150. description: 优惠金额
  2151. type: number
  2152. payamount:
  2153. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2154. type: number
  2155. payflag:
  2156. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2157. type: integer
  2158. paylimitedtime:
  2159. description: 支付期限
  2160. type: string
  2161. paytime:
  2162. description: 付款时间
  2163. type: string
  2164. picurls1:
  2165. description: 预售商品介绍图片[多张用逗号分隔]
  2166. type: string
  2167. picurls2:
  2168. description: 挂牌商品介绍图片[多张用逗号分隔]
  2169. type: string
  2170. sellaccountid:
  2171. description: 卖方账号ID[报价币种]
  2172. type: integer
  2173. sellorderid:
  2174. description: 卖方委托单号
  2175. type: string
  2176. tradeamount:
  2177. description: 成交金额
  2178. type: number
  2179. tradecharge:
  2180. description: 成交手续费(买方)
  2181. type: number
  2182. tradedate:
  2183. description: 交易日(yyyyMMdd)
  2184. type: string
  2185. tradeid:
  2186. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2187. type: string
  2188. trademode:
  2189. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2190. 21:竞拍-大宗式 22:受托竞价
  2191. type: integer
  2192. tradeprice:
  2193. description: 成交价格
  2194. type: number
  2195. tradeqty:
  2196. description: 成交数量
  2197. type: integer
  2198. vendorname1:
  2199. description: 预售商品供应商名称
  2200. type: string
  2201. vendorname2:
  2202. description: 挂牌商品供应商名称
  2203. type: string
  2204. required:
  2205. - goodscode
  2206. - goodsname
  2207. - tradeid
  2208. - trademode
  2209. type: object
  2210. models.HsbyBuyMyTradeDetail:
  2211. properties:
  2212. accountid:
  2213. description: 账户ID[报价币种]
  2214. type: integer
  2215. agreeunit:
  2216. description: 合约单位
  2217. type: number
  2218. amount:
  2219. description: 金额 = 价格 * 数量 * 合约单位
  2220. type: number
  2221. buyorsell:
  2222. description: 买卖 - 0:买 1:卖
  2223. type: integer
  2224. currencysign:
  2225. description: 货币符号
  2226. type: string
  2227. decimalplace:
  2228. description: 报价小数位
  2229. type: integer
  2230. goodscode:
  2231. description: 商品代码(内部)
  2232. type: string
  2233. goodsid:
  2234. description: 商品ID
  2235. type: integer
  2236. goodsname:
  2237. description: 商品名称
  2238. type: string
  2239. marketid:
  2240. description: 市场ID
  2241. type: integer
  2242. orderid:
  2243. description: 单号(成交单号)
  2244. type: string
  2245. picurls1:
  2246. description: 预售商品介绍图片[多张用逗号分隔]
  2247. type: string
  2248. picurls2:
  2249. description: 挂牌商品介绍图片[多张用逗号分隔]
  2250. type: string
  2251. price:
  2252. description: 价格
  2253. type: number
  2254. qty:
  2255. description: 数量
  2256. type: integer
  2257. time:
  2258. description: 时间
  2259. type: string
  2260. trademode:
  2261. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2262. 21:竞拍-大宗式 22:受托竞价
  2263. type: integer
  2264. vendorname1:
  2265. description: 预售商品供应商名称
  2266. type: string
  2267. vendorname2:
  2268. description: 挂牌商品供应商名称
  2269. type: string
  2270. required:
  2271. - accountid
  2272. - buyorsell
  2273. - goodscode
  2274. - goodsid
  2275. - goodsname
  2276. - marketid
  2277. - orderid
  2278. - qty
  2279. - time
  2280. - trademode
  2281. type: object
  2282. models.HsbyGoodsOrderDetail:
  2283. properties:
  2284. buyorsell:
  2285. description: 买卖 - 0:买 1:卖
  2286. type: integer
  2287. currencysign:
  2288. description: 货币符号
  2289. type: string
  2290. customername:
  2291. description: 客户名称(企业名称),已脱敏
  2292. type: string
  2293. enableqty:
  2294. description: 可用数量
  2295. type: integer
  2296. goodunit:
  2297. description: 报价单位
  2298. type: string
  2299. orderid:
  2300. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2301. type: string
  2302. orderprice:
  2303. description: 委托价格
  2304. type: number
  2305. ordertime:
  2306. description: 委托时间
  2307. type: string
  2308. required:
  2309. - buyorsell
  2310. - orderid
  2311. - ordertime
  2312. type: object
  2313. models.HsbyListingGoodsDetail:
  2314. properties:
  2315. agreeunit:
  2316. description: 合约单位
  2317. type: number
  2318. currency:
  2319. description: 货币
  2320. type: string
  2321. currencysign:
  2322. description: 货币符号
  2323. type: string
  2324. decimalplace:
  2325. description: 报价小数位
  2326. type: integer
  2327. desccityid:
  2328. description: 目的地(市)ID
  2329. type: integer
  2330. descprovinceid:
  2331. description: 目的地(省)ID
  2332. type: integer
  2333. goodscode:
  2334. description: 商品代码(内部)
  2335. type: string
  2336. goodsdesc:
  2337. description: 商品详情
  2338. type: string
  2339. goodsid:
  2340. description: 商品ID(自增ID SEQ_GOODS)
  2341. type: integer
  2342. goodsname:
  2343. description: 商品名称
  2344. type: string
  2345. hotindex:
  2346. description: 景点热度
  2347. type: integer
  2348. last:
  2349. description: 现价
  2350. type: number
  2351. limitdown:
  2352. description: 跌停价
  2353. type: number
  2354. limitup:
  2355. description: 涨停价
  2356. type: number
  2357. lotsize:
  2358. description: 手数最小变动单位
  2359. type: integer
  2360. marketid:
  2361. description: 所属市场ID
  2362. type: integer
  2363. picurls:
  2364. description: 介绍图片[多张用逗号分隔]
  2365. type: string
  2366. quoteminunit:
  2367. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2368. type: integer
  2369. stepvalue:
  2370. description: 价格最小变动单位
  2371. type: number
  2372. trademode:
  2373. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2374. 21:竞拍-大宗式 22:受托竞价
  2375. type: integer
  2376. vendorattr:
  2377. description: 供应商附件(多张,逗号分隔)
  2378. type: string
  2379. vendorname:
  2380. description: 供应商名称
  2381. type: string
  2382. vendorphone:
  2383. description: 供应商客服电话
  2384. type: string
  2385. videourls:
  2386. description: 介绍视频[多张用逗号分隔]
  2387. type: string
  2388. required:
  2389. - goodscode
  2390. - goodsid
  2391. - goodsname
  2392. - marketid
  2393. - trademode
  2394. type: object
  2395. models.HsbyMarketGoods:
  2396. properties:
  2397. accountid:
  2398. description: 账户ID[报价币种]
  2399. type: integer
  2400. agreeunit:
  2401. description: 合约单位
  2402. type: number
  2403. buyorsell:
  2404. description: 买卖 - 0:买 1:卖
  2405. type: integer
  2406. categoryid:
  2407. description: 类别ID(WRCATEGORY)
  2408. type: integer
  2409. currency:
  2410. description: 货币
  2411. type: string
  2412. currencysign:
  2413. description: 货币符号
  2414. type: string
  2415. customername:
  2416. description: 卖家名称
  2417. type: string
  2418. decimalplace:
  2419. description: 报价小数位
  2420. type: integer
  2421. goodscode:
  2422. description: 商品代码(内部)
  2423. type: string
  2424. goodsid:
  2425. description: 商品ID
  2426. type: integer
  2427. goodsname:
  2428. description: 商品名称
  2429. type: string
  2430. hascoupon:
  2431. description: 是否可用优惠卷
  2432. type: boolean
  2433. hotindex:
  2434. description: 景点热度
  2435. type: integer
  2436. marketid:
  2437. description: 市场ID
  2438. type: integer
  2439. orderid:
  2440. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2441. type: string
  2442. orderprice:
  2443. description: 委托价格
  2444. type: number
  2445. orderstatus:
  2446. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2447. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2448. 16:成交失败违约(荷兰式竞拍专用)
  2449. type: integer
  2450. picurls:
  2451. description: 介绍图片[多张用逗号分隔]
  2452. type: string
  2453. quoteminunit:
  2454. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2455. type: integer
  2456. sellUserID:
  2457. description: 卖方UserID
  2458. type: integer
  2459. trademode:
  2460. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2461. 21:竞拍-大宗式 22:受托竞价
  2462. type: integer
  2463. videourls:
  2464. description: 介绍视频[多张用逗号分隔]
  2465. type: string
  2466. required:
  2467. - accountid
  2468. - buyorsell
  2469. - goodscode
  2470. - goodsid
  2471. - goodsname
  2472. - marketid
  2473. - orderid
  2474. - trademode
  2475. type: object
  2476. models.HsbyMarketGoodsDetail:
  2477. properties:
  2478. accountid:
  2479. description: 账户ID[报价币种]
  2480. type: integer
  2481. agreeunit:
  2482. description: 合约单位
  2483. type: number
  2484. buyorsell:
  2485. description: 买卖 - 0:买 1:卖
  2486. type: integer
  2487. cancelqty:
  2488. description: 撤单数量
  2489. type: integer
  2490. categoryid:
  2491. description: 类别ID(WRCATEGORY)
  2492. type: integer
  2493. currency:
  2494. description: 货币
  2495. type: string
  2496. currencysign:
  2497. description: 货币符号
  2498. type: string
  2499. customername:
  2500. description: 卖家名称
  2501. type: string
  2502. decimalplace:
  2503. description: 报价小数位
  2504. type: integer
  2505. goodscode:
  2506. description: 商品代码(内部)
  2507. type: string
  2508. goodsdesc:
  2509. description: 商品详情
  2510. type: string
  2511. goodsid:
  2512. description: 商品ID
  2513. type: integer
  2514. goodsname:
  2515. description: 商品名称
  2516. type: string
  2517. hotindex:
  2518. description: 景点热度
  2519. type: integer
  2520. marketid:
  2521. description: 市场ID
  2522. type: integer
  2523. orderid:
  2524. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2525. type: string
  2526. orderprice:
  2527. description: 委托价格
  2528. type: number
  2529. orderqty:
  2530. description: 委托数量
  2531. type: integer
  2532. orderstatus:
  2533. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2534. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2535. 16:成交失败违约(荷兰式竞拍专用)
  2536. type: integer
  2537. picurls:
  2538. description: 介绍图片[多张用逗号分隔]
  2539. type: string
  2540. quoteminunit:
  2541. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2542. type: integer
  2543. sellUserID:
  2544. description: 卖方UserID
  2545. type: integer
  2546. trademode:
  2547. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2548. 21:竞拍-大宗式 22:受托竞价
  2549. type: integer
  2550. tradeqty:
  2551. description: 成交数量
  2552. type: integer
  2553. vendorname:
  2554. description: 供应商名称
  2555. type: string
  2556. videourls:
  2557. description: 介绍视频[多张用逗号分隔]
  2558. type: string
  2559. required:
  2560. - accountid
  2561. - buyorsell
  2562. - goodscode
  2563. - goodsid
  2564. - goodsname
  2565. - marketid
  2566. - orderid
  2567. - orderqty
  2568. - trademode
  2569. type: object
  2570. models.HsbyMarketInfo:
  2571. properties:
  2572. marketid:
  2573. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  2574. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  2575. type: integer
  2576. marketname:
  2577. description: 市场名称
  2578. type: string
  2579. marketstatus:
  2580. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  2581. type: integer
  2582. trademode:
  2583. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2584. 21:竞拍-大宗式 22:受托竞价
  2585. type: integer
  2586. required:
  2587. - marketid
  2588. - marketstatus
  2589. - trademode
  2590. type: object
  2591. models.HsbyMyGoods:
  2592. properties:
  2593. accountid:
  2594. description: 账号Id
  2595. type: integer
  2596. agreeunit:
  2597. description: 合约单位
  2598. type: number
  2599. buyaverageprice:
  2600. description: 持仓均价
  2601. type: number
  2602. buycurholderamount:
  2603. description: 买当前持仓总金额[商品币种]
  2604. type: number
  2605. buycurpositionqty:
  2606. description: 买当前持仓总数量
  2607. type: integer
  2608. currencysign:
  2609. description: 货币符号
  2610. type: string
  2611. decimalplace:
  2612. description: 报价小数位
  2613. type: integer
  2614. enableqty:
  2615. description: 可用数量
  2616. type: integer
  2617. goodscode:
  2618. description: 商品代码(内部)
  2619. type: string
  2620. goodsid:
  2621. description: 商品Id
  2622. type: integer
  2623. goodsname:
  2624. description: 商品名称
  2625. type: string
  2626. goodsstatus:
  2627. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  2628. type: integer
  2629. picurls:
  2630. description: 介绍图片[多张用逗号分隔]
  2631. type: string
  2632. required:
  2633. - accountid
  2634. - goodscode
  2635. - goodsid
  2636. - goodsname
  2637. type: object
  2638. models.HsbyMyPackage:
  2639. properties:
  2640. accountid:
  2641. description: 账户ID
  2642. type: integer
  2643. address:
  2644. description: 提货人详细地址
  2645. type: string
  2646. agreeunit:
  2647. description: 合约单位
  2648. type: number
  2649. amount:
  2650. description: 提货金额
  2651. type: number
  2652. auditer:
  2653. description: 审核人
  2654. type: integer
  2655. audittime:
  2656. description: 审核时间
  2657. type: string
  2658. averageprice:
  2659. description: 均价
  2660. type: number
  2661. cardnum:
  2662. description: 提货人证件号码
  2663. type: string
  2664. cardtypeid:
  2665. description: 提货人证件类型
  2666. type: integer
  2667. checkremark:
  2668. description: 审核备注
  2669. type: string
  2670. currencysign:
  2671. description: 货币符号
  2672. type: string
  2673. decimalplace:
  2674. description: 报价小数位
  2675. type: integer
  2676. goodscode:
  2677. description: 商品代码(内部)
  2678. type: string
  2679. goodsid:
  2680. description: 商品ID
  2681. type: integer
  2682. goodsname:
  2683. description: 商品名称
  2684. type: string
  2685. handlestatus:
  2686. description: 处理状态
  2687. type: integer
  2688. marketid:
  2689. description: 市场ID
  2690. type: integer
  2691. phonenum:
  2692. description: 提货人联系方式
  2693. type: string
  2694. picurls:
  2695. description: 介绍图片[多张用逗号分隔]
  2696. type: string
  2697. qty:
  2698. description: 提货数量
  2699. type: number
  2700. recivername:
  2701. description: 提货人姓名
  2702. type: string
  2703. reqtime:
  2704. description: 更新时间
  2705. type: string
  2706. takemode:
  2707. description: 提货方式 - 2:自提 3:配送
  2708. type: integer
  2709. takeorderid:
  2710. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2711. type: string
  2712. takeorderstatus:
  2713. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2714. type: integer
  2715. takeremark:
  2716. description: 提货备注
  2717. type: string
  2718. tradedate:
  2719. description: 交易日(yyyyMMdd)
  2720. type: string
  2721. userid:
  2722. description: 用户ID
  2723. type: integer
  2724. vendorname:
  2725. description: 供应商名称
  2726. type: string
  2727. required:
  2728. - goodscode
  2729. - goodsname
  2730. - takeorderid
  2731. type: object
  2732. models.HsbyPreGoods:
  2733. properties:
  2734. agreeunit:
  2735. description: 合约单位
  2736. type: number
  2737. currency:
  2738. description: 货币
  2739. type: string
  2740. currencysign:
  2741. description: 货币符号
  2742. type: string
  2743. decimalplace:
  2744. description: 报价小数位
  2745. type: integer
  2746. enableqty:
  2747. description: 剩余数量
  2748. type: integer
  2749. goodscode:
  2750. description: 商品代码(内部)
  2751. type: string
  2752. goodsid:
  2753. description: 商品ID(自增ID SEQ_GOODS)
  2754. type: integer
  2755. goodsname:
  2756. description: 商品名称
  2757. type: string
  2758. goodsstatus:
  2759. description: 商品状态- 2:未上市 3:上市
  2760. type: integer
  2761. lasttradedate:
  2762. description: 最后交易日期(状态:待退市)
  2763. type: string
  2764. listingdate:
  2765. description: 交易开始日期
  2766. type: string
  2767. marketid:
  2768. description: 所属市场ID
  2769. type: integer
  2770. picurls:
  2771. description: 介绍图片[多张用逗号分隔]
  2772. type: string
  2773. presaledqty:
  2774. description: 已预售量(预售结束时更新)
  2775. type: integer
  2776. presaleqty:
  2777. description: 预售数量
  2778. type: integer
  2779. quoteminunit:
  2780. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2781. type: integer
  2782. refprice:
  2783. description: 参考价格[一口价]
  2784. type: number
  2785. relatedgoodsid:
  2786. description: 关联交易合约ID
  2787. type: integer
  2788. trademode:
  2789. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2790. 21:竞拍-大宗式 22:受托竞价
  2791. type: integer
  2792. videourls:
  2793. description: 介绍视频[多张用逗号分隔]
  2794. type: string
  2795. required:
  2796. - goodscode
  2797. - goodsid
  2798. - goodsname
  2799. - marketid
  2800. - trademode
  2801. type: object
  2802. models.HsbyPreGoodsDetail:
  2803. properties:
  2804. agreeunit:
  2805. description: 合约单位
  2806. type: number
  2807. buymaxqty:
  2808. description: 购买上限 [71] - 0为不限
  2809. type: integer
  2810. currency:
  2811. description: 货币
  2812. type: string
  2813. currencysign:
  2814. description: 货币符号
  2815. type: string
  2816. customername:
  2817. description: 发行单位
  2818. type: string
  2819. decimalplace:
  2820. description: 报价小数位
  2821. type: integer
  2822. desccityid:
  2823. description: 目的地(市)ID
  2824. type: integer
  2825. descprovinceid:
  2826. description: 目的地(省)ID
  2827. type: integer
  2828. enableqty:
  2829. description: 剩余数量
  2830. type: integer
  2831. goodscode:
  2832. description: 商品代码(内部)
  2833. type: string
  2834. goodsdesc:
  2835. description: 商品详情
  2836. type: string
  2837. goodsid:
  2838. description: 商品ID(自增ID SEQ_GOODS)
  2839. type: integer
  2840. goodsname:
  2841. description: 商品名称
  2842. type: string
  2843. goodsstatus:
  2844. description: 商品状态- 2:未上市 3:上市
  2845. type: integer
  2846. goodunit:
  2847. description: 报价单位
  2848. type: string
  2849. lasttradedate:
  2850. description: 最后交易日期(状态:待退市)
  2851. type: string
  2852. listingdate:
  2853. description: 交易开始日期
  2854. type: string
  2855. lotsize:
  2856. description: 手数最小变动单位
  2857. type: integer
  2858. marketid:
  2859. description: 所属市场ID
  2860. type: integer
  2861. picurls:
  2862. description: 介绍图片[多张用逗号分隔]
  2863. type: string
  2864. presaledqty:
  2865. description: 已预售量(预售结束时更新)
  2866. type: integer
  2867. presaleqty:
  2868. description: 预售数量
  2869. type: integer
  2870. quoteminunit:
  2871. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2872. type: integer
  2873. refprice:
  2874. description: 参考价格[一口价]
  2875. type: number
  2876. relatedgoodsid:
  2877. description: 关联交易合约ID
  2878. type: integer
  2879. stepvalue:
  2880. description: 价格最小变动单位
  2881. type: number
  2882. trademode:
  2883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2884. 21:竞拍-大宗式 22:受托竞价
  2885. type: integer
  2886. vendorattr:
  2887. description: 供应商附件(多张,逗号分隔)
  2888. type: string
  2889. vendorname:
  2890. description: 供应商名称
  2891. type: string
  2892. vendorphone:
  2893. description: 供应商客服电话
  2894. type: string
  2895. videourls:
  2896. description: 介绍视频[多张用逗号分隔]
  2897. type: string
  2898. required:
  2899. - goodscode
  2900. - goodsid
  2901. - goodsname
  2902. - marketid
  2903. - trademode
  2904. type: object
  2905. models.HsbySellCollectionOrder:
  2906. properties:
  2907. agreeunit:
  2908. description: 合约单位
  2909. type: number
  2910. buyaccountid:
  2911. description: 买方账号ID[报价币种]
  2912. type: integer
  2913. buyorderid:
  2914. description: 买方委托单号
  2915. type: string
  2916. createtime:
  2917. description: 创建时间
  2918. type: string
  2919. currencysign:
  2920. description: 货币符号
  2921. type: string
  2922. decimalplace:
  2923. description: 报价小数位
  2924. type: integer
  2925. goodscode:
  2926. description: 商品代码(内部)
  2927. type: string
  2928. goodsid:
  2929. description: 商品ID
  2930. type: integer
  2931. goodsname:
  2932. description: 商品名称
  2933. type: string
  2934. marketid:
  2935. description: 市场ID
  2936. type: integer
  2937. offamount:
  2938. description: 优惠金额
  2939. type: number
  2940. payamount:
  2941. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2942. type: number
  2943. payflag:
  2944. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2945. type: integer
  2946. paylimitedtime:
  2947. description: 支付期限
  2948. type: string
  2949. paytime:
  2950. description: 付款时间
  2951. type: string
  2952. picurls:
  2953. description: 商品介绍图片[多张用逗号分隔]
  2954. type: string
  2955. sellaccountid:
  2956. description: 卖方账号ID[报价币种]
  2957. type: integer
  2958. sellorderid:
  2959. description: 卖方委托单号
  2960. type: string
  2961. tradeamount:
  2962. description: 成交金额
  2963. type: number
  2964. tradecharge:
  2965. description: 成交手续费(买方)
  2966. type: number
  2967. tradedate:
  2968. description: 交易日(yyyyMMdd)
  2969. type: string
  2970. tradeid:
  2971. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2972. type: string
  2973. trademode:
  2974. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2975. 21:竞拍-大宗式 22:受托竞价
  2976. type: integer
  2977. tradeprice:
  2978. description: 成交价格
  2979. type: number
  2980. tradeqty:
  2981. description: 成交数量
  2982. type: integer
  2983. required:
  2984. - goodscode
  2985. - goodsname
  2986. - tradeid
  2987. - trademode
  2988. type: object
  2989. models.HsbySellMyDetail:
  2990. properties:
  2991. accountid:
  2992. description: 账户ID[报价币种]
  2993. type: integer
  2994. agreeunit:
  2995. description: 合约单位
  2996. type: number
  2997. buyorsell:
  2998. description: 买卖 - 0:买 1:卖
  2999. type: integer
  3000. currencysign:
  3001. description: 货币符号
  3002. type: string
  3003. decimalplace:
  3004. description: 报价小数位
  3005. type: integer
  3006. goodscode:
  3007. description: 商品代码(内部)
  3008. type: string
  3009. goodsid:
  3010. description: 商品ID
  3011. type: integer
  3012. goodsname:
  3013. description: 商品名称
  3014. type: string
  3015. marketid:
  3016. description: 市场ID
  3017. type: integer
  3018. orderid:
  3019. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  3020. type: string
  3021. ordertype:
  3022. description: 单据类型:0 - 发布中, 1 - 已完成
  3023. type: integer
  3024. picurls:
  3025. description: 介绍图片[多张用逗号分隔]
  3026. type: string
  3027. price:
  3028. description: 价格
  3029. type: number
  3030. qty:
  3031. description: 数量
  3032. type: integer
  3033. time:
  3034. description: 时间
  3035. type: string
  3036. trademode:
  3037. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3038. 21:竞拍-大宗式 22:受托竞价
  3039. type: integer
  3040. vendorname:
  3041. description: 供应商名称
  3042. type: string
  3043. required:
  3044. - accountid
  3045. - buyorsell
  3046. - goodscode
  3047. - goodsid
  3048. - goodsname
  3049. - marketid
  3050. - orderid
  3051. - time
  3052. - trademode
  3053. type: object
  3054. models.HsbyTopGoods:
  3055. properties:
  3056. agreeunit:
  3057. description: 合约单位
  3058. type: number
  3059. currency:
  3060. description: 货币
  3061. type: string
  3062. currencysign:
  3063. description: 货币符号
  3064. type: string
  3065. decimalplace:
  3066. description: 报价小数位
  3067. type: integer
  3068. goodscode:
  3069. description: 商品代码(内部)
  3070. type: string
  3071. goodsid:
  3072. description: 商品ID(自增ID SEQ_GOODS)
  3073. type: integer
  3074. goodsname:
  3075. description: 商品名称
  3076. type: string
  3077. hotindex:
  3078. description: 景点热度
  3079. type: integer
  3080. last:
  3081. description: 现价
  3082. type: number
  3083. marketid:
  3084. description: 所属市场ID
  3085. type: integer
  3086. picurls:
  3087. description: 介绍图片[多张用逗号分隔]
  3088. type: string
  3089. quoteminunit:
  3090. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3091. type: integer
  3092. trademode:
  3093. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3094. 21:竞拍-大宗式 22:受托竞价
  3095. type: integer
  3096. videourls:
  3097. description: 介绍视频[多张用逗号分隔]
  3098. type: string
  3099. required:
  3100. - goodscode
  3101. - goodsid
  3102. - goodsname
  3103. - marketid
  3104. - trademode
  3105. type: object
  3106. models.HybsMyBuyOrderDetail:
  3107. properties:
  3108. accountid:
  3109. description: 账户ID[报价币种]
  3110. type: integer
  3111. agreeunit:
  3112. description: 合约单位
  3113. type: number
  3114. buyorsell:
  3115. description: 买卖 - 0:买 1:卖
  3116. type: integer
  3117. cancelqty:
  3118. description: 撤单数量
  3119. type: integer
  3120. currencysign:
  3121. description: 货币符号
  3122. type: string
  3123. decimalplace:
  3124. description: 报价小数位
  3125. type: integer
  3126. goodscode:
  3127. description: 商品代码(内部)
  3128. type: string
  3129. goodsid:
  3130. description: 商品ID
  3131. type: integer
  3132. goodsname:
  3133. description: 商品名称
  3134. type: string
  3135. listingselecttype:
  3136. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3137. type: integer
  3138. marketid:
  3139. description: 市场ID
  3140. type: integer
  3141. mybuystatus:
  3142. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  3143. type: integer
  3144. orderamount:
  3145. description: 委托金额
  3146. type: number
  3147. orderid:
  3148. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3149. type: string
  3150. orderprice:
  3151. description: 委托价格
  3152. type: number
  3153. orderqty:
  3154. description: 委托数量
  3155. type: integer
  3156. orderstatus:
  3157. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3158. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3159. 16:成交失败违约(荷兰式竞拍专用)
  3160. type: integer
  3161. ordertime:
  3162. description: 委托时间
  3163. type: string
  3164. picurls1:
  3165. description: 预售商品介绍图片[多张用逗号分隔]
  3166. type: string
  3167. picurls2:
  3168. description: 挂牌商品介绍图片[多张用逗号分隔]
  3169. type: string
  3170. trademode:
  3171. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3172. 21:竞拍-大宗式 22:受托竞价
  3173. type: integer
  3174. tradeqty:
  3175. description: 成交数量
  3176. type: integer
  3177. vendorname1:
  3178. description: 预售商品供应商名称
  3179. type: string
  3180. vendorname2:
  3181. description: 挂牌商品供应商名称
  3182. type: string
  3183. required:
  3184. - accountid
  3185. - buyorsell
  3186. - goodscode
  3187. - goodsid
  3188. - goodsname
  3189. - marketid
  3190. - orderid
  3191. - orderqty
  3192. - ordertime
  3193. - trademode
  3194. type: object
  3195. models.Messageboard:
  3196. properties:
  3197. createtime:
  3198. description: 创建时间
  3199. type: string
  3200. message:
  3201. description: 留言信息
  3202. type: string
  3203. messageboardid:
  3204. description: 留言簿ID(SEQ_MessageBoard)
  3205. type: integer
  3206. userid:
  3207. description: 用户ID
  3208. type: integer
  3209. required:
  3210. - messageboardid
  3211. type: object
  3212. models.MyCoupon:
  3213. properties:
  3214. accountid:
  3215. description: 资金账户ID
  3216. type: integer
  3217. areauserid:
  3218. description: 所属机构
  3219. type: integer
  3220. conditionvalue:
  3221. description: 条件阈值(可为0)
  3222. type: number
  3223. couponcategroy:
  3224. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  3225. type: integer
  3226. couponname:
  3227. description: 优惠券名称
  3228. type: string
  3229. coupontypeid:
  3230. description: 优惠券类型ID
  3231. type: integer
  3232. couponvalue:
  3233. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  3234. type: number
  3235. curfreezeqty:
  3236. description: 期末冻结数量
  3237. type: integer
  3238. curqty:
  3239. description: 期末数量
  3240. type: integer
  3241. isgeneral:
  3242. description: 是否通用券 - 0:否 1:是
  3243. type: integer
  3244. isunusable:
  3245. description: 是否不可用
  3246. type: boolean
  3247. limitedflag:
  3248. description: 是否指定商品 - 0:不限 1:限制
  3249. type: integer
  3250. limitedgoodsids:
  3251. description: 指定商品IDs[逗号分隔,前后加逗号]
  3252. type: string
  3253. orifreezeqty:
  3254. description: 期初冻结数量
  3255. type: integer
  3256. oriqty:
  3257. description: 期初数量
  3258. type: integer
  3259. reasontype:
  3260. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  3261. type: integer
  3262. todaydecrease:
  3263. description: 今日减少
  3264. type: integer
  3265. todayincrease:
  3266. description: 今日增加
  3267. type: integer
  3268. userid:
  3269. description: 用户ID
  3270. type: integer
  3271. userscope:
  3272. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  3273. type: string
  3274. required:
  3275. - accountid
  3276. - coupontypeid
  3277. type: object
  3278. models.OperationPrimaryMenu:
  3279. properties:
  3280. Children:
  3281. description: 二级功能菜单
  3282. items:
  3283. $ref: '#/definitions/models.OperationSecondaryMenu'
  3284. type: array
  3285. Key:
  3286. description: 菜单KEY
  3287. type: string
  3288. Label:
  3289. description: 菜单标题
  3290. type: string
  3291. type: object
  3292. models.OperationSecondaryMenu:
  3293. properties:
  3294. Key:
  3295. description: 菜单KEY
  3296. type: string
  3297. Label:
  3298. description: 菜单标题
  3299. type: string
  3300. TabList:
  3301. description: 三级功能菜单
  3302. items:
  3303. $ref: '#/definitions/models.OperationTabMenu'
  3304. type: array
  3305. type: object
  3306. models.OperationTabMenu:
  3307. properties:
  3308. Key:
  3309. description: 菜单KEY
  3310. type: string
  3311. Label:
  3312. description: 菜单标题
  3313. type: string
  3314. type: object
  3315. models.QuotePrimaryMenu:
  3316. properties:
  3317. Index:
  3318. description: 序号
  3319. type: integer
  3320. Key:
  3321. description: 键名
  3322. type: string
  3323. Name:
  3324. description: 菜单名称
  3325. type: string
  3326. SubMenus:
  3327. description: 子菜单
  3328. items:
  3329. $ref: '#/definitions/models.QuoteSecondaryMenu'
  3330. type: array
  3331. SubTitleType:
  3332. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  3333. type: integer
  3334. TradeModes:
  3335. description: 包含市场交易类型
  3336. type: string
  3337. type: object
  3338. models.QuoteSecondaryMenu:
  3339. properties:
  3340. ExExchangeCode:
  3341. description: 外部交易所代码
  3342. type: string
  3343. ExExchangeID:
  3344. description: 外部交易所ID
  3345. type: integer
  3346. GoodsGroupIDs:
  3347. description: 商品组ID列表
  3348. items:
  3349. type: integer
  3350. type: array
  3351. Index:
  3352. description: 序号
  3353. type: integer
  3354. MarketID:
  3355. description: 市场ID
  3356. type: integer
  3357. MenuTitle:
  3358. description: 菜单标题(市场名称或外部交易所名称)
  3359. type: string
  3360. TradeMode:
  3361. description: 交易模式
  3362. type: integer
  3363. type: object
  3364. models.SearchGoods:
  3365. properties:
  3366. goodscode:
  3367. description: 商品代码(内部)
  3368. type: string
  3369. goodsid:
  3370. description: 商品ID(自增ID SEQ_GOODS)
  3371. type: integer
  3372. goodsname:
  3373. description: 商品名称
  3374. type: string
  3375. marketid:
  3376. description: 所属市场ID
  3377. type: integer
  3378. marketname:
  3379. description: 市场名称
  3380. type: string
  3381. trademode:
  3382. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3383. 21:竞拍-大宗式 22:受托竞价
  3384. type: integer
  3385. required:
  3386. - goodscode
  3387. - goodsid
  3388. - goodsname
  3389. - marketid
  3390. - trademode
  3391. type: object
  3392. models.Szdz2imageconfig:
  3393. properties:
  3394. configid:
  3395. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  3396. type: integer
  3397. imagepath:
  3398. description: 图片
  3399. type: string
  3400. imagetype:
  3401. description: 类型 - 1:App首页轮播 2:我的
  3402. type: integer
  3403. sort:
  3404. description: 排序
  3405. type: integer
  3406. title:
  3407. description: 标题
  3408. type: string
  3409. url:
  3410. description: 链接
  3411. type: string
  3412. required:
  3413. - configid
  3414. type: object
  3415. models.Szdz3convertconfig:
  3416. properties:
  3417. canin:
  3418. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  3419. type: integer
  3420. canout:
  3421. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  3422. type: integer
  3423. converttype:
  3424. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  3425. 6:交易转花生米(不设置)
  3426. type: integer
  3427. createtime:
  3428. description: 创建时间
  3429. type: string
  3430. creatorid:
  3431. description: 创建人
  3432. type: integer
  3433. daymaxvalue:
  3434. description: 当日最大转入限制
  3435. type: number
  3436. freezedays:
  3437. description: 冻结天数 [5:花生米转交易]
  3438. type: integer
  3439. innergoodsid:
  3440. description: 内部商品ID[交易]
  3441. type: integer
  3442. inratio:
  3443. description: 目标值
  3444. type: integer
  3445. modifierid:
  3446. description: 修改人
  3447. type: integer
  3448. modifytime:
  3449. description: 修改时间
  3450. type: string
  3451. outergoodscode:
  3452. description: 外部商品代码[JD\PD]
  3453. type: string
  3454. outratio:
  3455. description: 源值
  3456. type: integer
  3457. pddecimalplace:
  3458. description: PD小数位
  3459. type: integer
  3460. timemaxvalue:
  3461. description: 单次最大转入限制
  3462. type: number
  3463. timeminvalue:
  3464. description: 单次最小转入限制
  3465. type: number
  3466. required:
  3467. - converttype
  3468. - innergoodsid
  3469. - outergoodscode
  3470. type: object
  3471. models.Szdz3searchwhitelist:
  3472. properties:
  3473. createtime:
  3474. description: 创建时间
  3475. type: string
  3476. creatorid:
  3477. description: 创建人
  3478. type: integer
  3479. modifierid:
  3480. description: 修改人
  3481. type: integer
  3482. modifytime:
  3483. description: 修改时间
  3484. type: string
  3485. userid:
  3486. description: 用户ID
  3487. type: integer
  3488. required:
  3489. - userid
  3490. type: object
  3491. models.Tablecolumnconfig:
  3492. properties:
  3493. aligntype:
  3494. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  3495. type: integer
  3496. autoid:
  3497. description: AutoID
  3498. type: integer
  3499. columnfield:
  3500. description: 列字段
  3501. type: string
  3502. columntitle:
  3503. description: 列Title
  3504. type: string
  3505. columnwidth:
  3506. description: 列宽
  3507. type: string
  3508. formatterstring:
  3509. description: 格式化字符
  3510. type: string
  3511. formattertype:
  3512. description: 格式化类型
  3513. type: string
  3514. groupname:
  3515. description: 表头分组名称
  3516. type: string
  3517. isshow:
  3518. description: 是否显示 - 0:不显示 1:显示
  3519. type: integer
  3520. needsummary:
  3521. description: 是否需要汇总 - 0:不需要 1:需要
  3522. type: integer
  3523. orderindex:
  3524. description: 顺序
  3525. type: integer
  3526. remark:
  3527. description: 备注
  3528. type: string
  3529. summarytype:
  3530. description: 汇总类型 - 1:加总 2:最后一个
  3531. type: integer
  3532. tablekey:
  3533. description: 列表Key
  3534. type: string
  3535. required:
  3536. - autoid
  3537. type: object
  3538. models.Useraccount:
  3539. properties:
  3540. accountname:
  3541. description: 账户名称(机构名称)
  3542. type: string
  3543. accountstatus:
  3544. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  3545. type: integer
  3546. auditremark:
  3547. description: 审核备注
  3548. type: string
  3549. audittime:
  3550. description: 审核时间
  3551. type: string
  3552. audituserid:
  3553. description: 审核人
  3554. type: integer
  3555. broker:
  3556. description: 所属经纪人ID
  3557. type: integer
  3558. canceltime:
  3559. description: 销户时间
  3560. type: string
  3561. canceluserid:
  3562. description: 销户人
  3563. type: integer
  3564. createtime:
  3565. description: 创建时间
  3566. type: string
  3567. creatorid:
  3568. description: 创建人
  3569. type: integer
  3570. hasauth:
  3571. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  3572. type: integer
  3573. isanonymous:
  3574. description: 是否匿名下单 - 0:否 1:是
  3575. type: integer
  3576. maxinvestornum:
  3577. description: 最大用户数(经纪会员下投资者个数)
  3578. type: integer
  3579. memberuserid:
  3580. description: 所属会员ID
  3581. type: integer
  3582. modifierid:
  3583. description: 修改人
  3584. type: integer
  3585. modifyremark:
  3586. description: 变更备注
  3587. type: string
  3588. modifystatus:
  3589. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  3590. type: integer
  3591. modifytime:
  3592. description: 修改时间
  3593. type: string
  3594. parentuserid:
  3595. description: 所属机构ID
  3596. type: integer
  3597. reckonaccountid:
  3598. description: 默认结算资金账号ID(机构分润使用) 作废
  3599. type: integer
  3600. refercount:
  3601. description: 推荐总人数
  3602. type: integer
  3603. refereeuserid:
  3604. description: 推荐人ID
  3605. type: integer
  3606. refernum:
  3607. description: 推荐码
  3608. type: string
  3609. subarealevelpath:
  3610. description: 子机构层级路径(逗号分隔,首尾加逗号)
  3611. type: string
  3612. userid:
  3613. description: 用户ID
  3614. type: integer
  3615. usertype:
  3616. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3617. type: integer
  3618. required:
  3619. - userid
  3620. type: object
  3621. models.Userfavoritegoods:
  3622. properties:
  3623. goodsid:
  3624. description: 商品ID
  3625. type: integer
  3626. required:
  3627. - goodsid
  3628. type: object
  3629. models.Userinfo:
  3630. properties:
  3631. address:
  3632. description: 地址
  3633. type: string
  3634. attachment1:
  3635. description: 附件1
  3636. type: string
  3637. attachment2:
  3638. description: 附件2
  3639. type: string
  3640. bankaccount:
  3641. description: 银行帐号 (加密存储)
  3642. type: string
  3643. bankaccountname:
  3644. description: 收款人名称
  3645. type: string
  3646. bankcardfrontphotourl:
  3647. description: 银行卡正面照地址
  3648. type: string
  3649. bankid:
  3650. description: 银行编码
  3651. type: string
  3652. bankname:
  3653. description: 银行名称
  3654. type: string
  3655. biznature:
  3656. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3657. type: integer
  3658. bizscope:
  3659. description: 企业经营范围(企业)
  3660. type: string
  3661. cardbackphotourl:
  3662. description: 证件背面图片地址
  3663. type: string
  3664. cardfrontphotourl:
  3665. description: 证件正面图片地址
  3666. type: string
  3667. cardnum:
  3668. description: 证件号码(加密存储)
  3669. type: string
  3670. cardtypeid:
  3671. description: 证件类型ID
  3672. type: integer
  3673. cityid:
  3674. description: 市
  3675. type: integer
  3676. company:
  3677. description: 公司(个人)
  3678. type: string
  3679. contactname:
  3680. description: 联系人
  3681. type: string
  3682. countryid:
  3683. description: 国家
  3684. type: integer
  3685. createtime:
  3686. description: 创建时间
  3687. type: string
  3688. creatorid:
  3689. description: 创建人
  3690. type: integer
  3691. customername:
  3692. description: 客户名称(企业名称)
  3693. type: string
  3694. districtid:
  3695. description: 地区
  3696. type: integer
  3697. email:
  3698. description: 邮件(加密存储)
  3699. type: string
  3700. fax:
  3701. description: 传真(加密存储)
  3702. type: string
  3703. halfbodyphotourl:
  3704. description: 半身照地址
  3705. type: string
  3706. hasencrypt:
  3707. description: 数据是否已加密 - 0:未加密 1:已加密
  3708. type: integer
  3709. headurl:
  3710. description: 头像地址
  3711. type: string
  3712. legalcardbackphotourl:
  3713. description: 法人身份证背面照地址
  3714. type: string
  3715. legalcardfrontphotourl:
  3716. description: 法人身份证正面照地址
  3717. type: string
  3718. legalpersonname:
  3719. description: 法人姓名(企业)
  3720. type: string
  3721. mobile:
  3722. description: 手机号码(加密存储)
  3723. type: string
  3724. mobile2:
  3725. description: 手机号码[明文-尚志]
  3726. type: string
  3727. modifierid:
  3728. description: 修改人
  3729. type: integer
  3730. modifiertime:
  3731. description: 修改时间
  3732. type: string
  3733. needinvoice:
  3734. description: 是否需要发票 - 0:不需要 1:需要
  3735. type: integer
  3736. nickname:
  3737. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3738. type: string
  3739. openmode:
  3740. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3741. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3742. type: integer
  3743. otherurl:
  3744. description: 其它图片地址[使用分号分隔]
  3745. type: string
  3746. postalcode:
  3747. description: 邮政编码
  3748. type: string
  3749. provinceid:
  3750. description: 省
  3751. type: integer
  3752. qq:
  3753. description: QQ(加密存储
  3754. type: string
  3755. remark:
  3756. description: 备注
  3757. type: string
  3758. sex:
  3759. description: '用户性别 0: 女 1: 男'
  3760. type: integer
  3761. signpdfurl:
  3762. description: 签约pdf文件
  3763. type: string
  3764. telphone:
  3765. description: 联系电话(加密存储)
  3766. type: string
  3767. userid:
  3768. description: 用户ID
  3769. type: integer
  3770. userinfotype:
  3771. description: 用户信息类型 - 1:个人 2:企业
  3772. type: integer
  3773. userstatus:
  3774. description: 用户状态 - 1:正常 2:注销
  3775. type: integer
  3776. usertype:
  3777. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3778. type: integer
  3779. wechat:
  3780. description: 微信(加密存储)
  3781. type: string
  3782. wskhinfo:
  3783. description: 开户申请信息(JSON)
  3784. type: string
  3785. required:
  3786. - userid
  3787. type: object
  3788. models.WRCategoryTree:
  3789. properties:
  3790. areauserid:
  3791. description: 所属机构
  3792. type: integer
  3793. categorydesc:
  3794. description: 类别描述
  3795. type: string
  3796. categoryid:
  3797. description: 类别ID(SEQ_WRCATEGORY)
  3798. type: integer
  3799. categoryname:
  3800. description: 类别名称
  3801. type: string
  3802. iconurl:
  3803. description: 图标地址
  3804. type: string
  3805. orderindex:
  3806. description: 顺序
  3807. type: integer
  3808. parentcategoryid:
  3809. description: 父类别ID
  3810. type: integer
  3811. subCategory:
  3812. description: 子分类
  3813. items:
  3814. $ref: '#/definitions/models.WRCategoryTree'
  3815. type: array
  3816. required:
  3817. - categoryid
  3818. type: object
  3819. models.WRStandardInfo:
  3820. properties:
  3821. createtime:
  3822. description: 创建时间
  3823. type: string
  3824. creatorid:
  3825. description: 创建人
  3826. type: integer
  3827. deliverygoodsid:
  3828. description: 品种ID
  3829. type: integer
  3830. deliverygoodsname:
  3831. description: 交割商品名称
  3832. type: string
  3833. factoryitemjson:
  3834. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  3835. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  3836. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  3837. 逗号分隔'
  3838. type: string
  3839. isvalid:
  3840. description: 是否有效 - 0:无效 1:有效
  3841. type: integer
  3842. minivalue:
  3843. description: 最小变动值
  3844. type: integer
  3845. minivaluedp:
  3846. description: 最小变动值小数位
  3847. type: integer
  3848. realminivalue:
  3849. description: 实际最小变动值
  3850. type: integer
  3851. realminivaluedp:
  3852. description: 实际最小变动值小数位
  3853. type: integer
  3854. unitid:
  3855. description: 单位ID
  3856. type: integer
  3857. unitname:
  3858. description: 单位
  3859. type: string
  3860. updatetime:
  3861. description: 更新时间
  3862. type: string
  3863. updatorid:
  3864. description: 更新人
  3865. type: integer
  3866. wrsstatus:
  3867. description: 状态 - 作废 - 0:未激活 1:正常
  3868. type: integer
  3869. wrstandardcode:
  3870. description: 仓单标准代码
  3871. type: string
  3872. wrstandardid:
  3873. description: 仓单标准ID(SEQ_WRSTANDARD)
  3874. type: integer
  3875. wrstandardname:
  3876. description: 仓单标准名称
  3877. type: string
  3878. required:
  3879. - wrstandardid
  3880. type: object
  3881. models.Warehouseinfo:
  3882. properties:
  3883. address:
  3884. description: 详细地址
  3885. type: string
  3886. areauserid:
  3887. description: 所属机构
  3888. type: integer
  3889. autoid:
  3890. description: 自增ID
  3891. type: integer
  3892. cityid:
  3893. description: 市
  3894. type: integer
  3895. contactname:
  3896. description: 联系人
  3897. type: string
  3898. contactnum:
  3899. description: 联系电话
  3900. type: string
  3901. countryid:
  3902. description: 国家
  3903. type: integer
  3904. createtime:
  3905. description: 创建时间
  3906. type: string
  3907. districtid:
  3908. description: 区
  3909. type: integer
  3910. hasvideo:
  3911. description: 是否有视频 - 0:无 1:有
  3912. type: integer
  3913. provinceid:
  3914. description: 省
  3915. type: integer
  3916. remark:
  3917. description: 审核备注
  3918. type: string
  3919. videourl:
  3920. description: 视频地址
  3921. type: string
  3922. warehousecode:
  3923. description: 仓库代码
  3924. type: string
  3925. warehousename:
  3926. description: 仓库名称
  3927. type: string
  3928. warehousestatus:
  3929. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  3930. type: integer
  3931. warehousetype:
  3932. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3933. type: integer
  3934. required:
  3935. - autoid
  3936. - warehousecode
  3937. type: object
  3938. order.QueryHisTradeDetailRsp:
  3939. properties:
  3940. accountid:
  3941. description: 账户ID[报价币种]
  3942. type: integer
  3943. buildtype:
  3944. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3945. type: integer
  3946. buyorsell:
  3947. description: 方向 - 0:买 1:卖
  3948. type: integer
  3949. charge:
  3950. description: 手续费
  3951. type: number
  3952. closecharge:
  3953. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3954. type: number
  3955. closeexchagechargevalue:
  3956. description: 平仓交易所手续费设置值
  3957. type: number
  3958. closefeealgorithm:
  3959. description: 平仓手续费收取方式 1:比率 2:固定
  3960. type: integer
  3961. closememberchargevalue:
  3962. description: 平仓会员手续费设置值
  3963. type: number
  3964. closepl:
  3965. description: 平仓盈亏
  3966. type: number
  3967. closepl2:
  3968. description: 平仓盈亏[逐笔]
  3969. type: number
  3970. closeqty:
  3971. description: 平仓数量(先建后平操作 需要记录)
  3972. type: integer
  3973. creditamount:
  3974. description: 授信金额
  3975. type: number
  3976. gcaccountid:
  3977. description: 账户ID[合约币种]
  3978. type: integer
  3979. goodscode:
  3980. description: 商品代码
  3981. type: string
  3982. goodsid:
  3983. description: 商品ID
  3984. type: integer
  3985. goodsname:
  3986. description: 商品名称
  3987. type: string
  3988. histradedate:
  3989. description: 历史交易日
  3990. type: string
  3991. intclosepl:
  3992. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3993. type: integer
  3994. isconfirmexercise:
  3995. description: 是否确认行权- 0:否 1:是
  3996. type: integer
  3997. ismain:
  3998. description: 是否主单 - 0:不是 1:是
  3999. type: integer
  4000. ispreexercise:
  4001. description: 是否预申报- 0:否 1:是
  4002. type: integer
  4003. isreckoned:
  4004. description: 是否结算 - 0:未结算 1:已结算
  4005. type: integer
  4006. isvaliddata:
  4007. description: 是否有效 - 0:无效 1:有效
  4008. type: integer
  4009. listingselecttype:
  4010. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4011. type: integer
  4012. marketid:
  4013. description: 市场ID
  4014. type: integer
  4015. marketname:
  4016. description: 市场名称
  4017. type: string
  4018. matchaccountid:
  4019. description: 对手账号id
  4020. type: integer
  4021. memberuserid:
  4022. description: 会员id 个人投资者 需要填写
  4023. type: integer
  4024. opencharge:
  4025. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4026. type: number
  4027. openexchagechargevalue:
  4028. description: 建仓交易所手续费设置值
  4029. type: number
  4030. openfeealgorithm:
  4031. description: 建仓手续费收取方式 1:比率 2:固定
  4032. type: integer
  4033. openmemberchargevalue:
  4034. description: 建仓会员手续费设置值
  4035. type: number
  4036. openqty:
  4037. description: 开仓数量(先建后平操作 需要记录)
  4038. type: integer
  4039. optiontype:
  4040. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4041. type: integer
  4042. orderid:
  4043. description: 委托单号
  4044. type: string
  4045. performanceplanid:
  4046. description: 履约计划ID[期权]
  4047. type: integer
  4048. performancestatus:
  4049. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4050. type: integer
  4051. preexerciseprice:
  4052. description: 预申报价格
  4053. type: number
  4054. premium:
  4055. description: 权利金 - [持仓单的权利金]
  4056. type: number
  4057. relatedouttradeid:
  4058. description: 关联外部成交单ID
  4059. type: integer
  4060. status:
  4061. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4062. type: integer
  4063. tradeamount:
  4064. description: 成交金额[账户币种,用于所有权]
  4065. type: number
  4066. tradedate:
  4067. description: 交易日(yyyyMMdd)
  4068. type: string
  4069. tradeid:
  4070. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4071. type: string
  4072. trademode:
  4073. description: 交易模式
  4074. type: integer
  4075. tradeprice:
  4076. description: 成交价格
  4077. type: number
  4078. tradeproperty:
  4079. description: 交易属性
  4080. type: integer
  4081. tradeqty:
  4082. description: 成交数量
  4083. type: integer
  4084. tradetime:
  4085. description: 成交时间
  4086. type: string
  4087. tradetype:
  4088. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4089. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4090. type: integer
  4091. required:
  4092. - accountid
  4093. - buyorsell
  4094. - goodsid
  4095. - histradedate
  4096. - marketid
  4097. - memberuserid
  4098. - orderid
  4099. - tradeamount
  4100. - tradedate
  4101. - tradeid
  4102. - tradeprice
  4103. - tradeqty
  4104. - tradetime
  4105. type: object
  4106. order.QueryHisTradeOrderDetailRsp:
  4107. properties:
  4108. accountid:
  4109. description: 账户ID[报价币种]
  4110. type: integer
  4111. buildtype:
  4112. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4113. type: integer
  4114. buyorsell:
  4115. description: 买卖 - 0:买 1:卖
  4116. type: integer
  4117. cancelorderid:
  4118. description: 撤单单号(撤单时填写)
  4119. type: string
  4120. cancelqty:
  4121. description: 撤单数量
  4122. type: integer
  4123. clientordertime:
  4124. description: 客户端委托时间
  4125. type: string
  4126. clientticket:
  4127. description: 客户端流水号
  4128. type: string
  4129. clienttype:
  4130. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4131. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4132. type: integer
  4133. closeexchagechargevalue:
  4134. description: 平仓交易所手续费设置值
  4135. type: number
  4136. closefeealgorithm:
  4137. description: 平仓手续费收取方式 1:比率 2:固定
  4138. type: integer
  4139. closefreezecharge:
  4140. description: 平仓冻结手续费(先建后平操作,需要记录)
  4141. type: number
  4142. closememberchargevalue:
  4143. description: 平仓会员手续费设置值
  4144. type: number
  4145. closeqty:
  4146. description: 平仓数量(先建后平操作 需要记录)
  4147. type: integer
  4148. closetradeqty:
  4149. description: 平仓成交数量(先建后平操作,需要记录)
  4150. type: integer
  4151. closeunfreezecharge:
  4152. description: 平仓解冻手续费(先建后平操作,需要记录)
  4153. type: number
  4154. delistingtype:
  4155. description: 摘牌类型 - 1:价格最优 2:点选成交
  4156. type: integer
  4157. freezecharge:
  4158. description: 冻结手续费
  4159. type: number
  4160. freezemargin:
  4161. description: 冻结保证金(冻结交易金额)
  4162. type: number
  4163. gcaccountid:
  4164. description: 账户ID[合约币种]
  4165. type: integer
  4166. goodscode:
  4167. description: 商品代码
  4168. type: string
  4169. goodsid:
  4170. description: 商品ID
  4171. type: integer
  4172. goodsname:
  4173. description: 商品名称
  4174. type: string
  4175. histradedate:
  4176. description: 历史交易日
  4177. type: string
  4178. isconfirmexercise:
  4179. description: 是否确认行权- 0:否 1:是
  4180. type: integer
  4181. ispreexercise:
  4182. description: 是否预申报- 0:否 1:是
  4183. type: integer
  4184. isvaliddata:
  4185. description: 是否有效 - 0:无效 1:有效
  4186. type: integer
  4187. listingselecttype:
  4188. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4189. type: integer
  4190. marginalgorithm:
  4191. description: 保证金收取方式 1:比率 2:固定
  4192. type: integer
  4193. marginvalue:
  4194. description: 即市保证金设置值
  4195. type: number
  4196. marketid:
  4197. description: 市场ID
  4198. type: integer
  4199. marketmaxsub:
  4200. description: 市价最大偏移范围
  4201. type: number
  4202. marketname:
  4203. description: 市场名称
  4204. type: string
  4205. memberuserid:
  4206. description: 所属会员UserID
  4207. type: integer
  4208. openexchagechargevalue:
  4209. description: 建仓交易所手续费设置值
  4210. type: number
  4211. openfeealgorithm:
  4212. description: 建仓手续费收取方式 1:比率 2:固定
  4213. type: integer
  4214. openfreezecharge:
  4215. description: 开仓冻结手续费(先建后平操作,需要记录)
  4216. type: number
  4217. openmemberchargevalue:
  4218. description: 建仓会员手续费设置值
  4219. type: number
  4220. openqty:
  4221. description: 开仓数量(先建后平操作,需要记录)
  4222. type: integer
  4223. opentradeqty:
  4224. description: 开仓成交数量(先建后平操作,需要记录)
  4225. type: integer
  4226. openunfreezecharge:
  4227. description: 开仓解冻手续费(先建后平操作,需要记录)
  4228. type: number
  4229. operatetype:
  4230. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4231. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4232. 15:管理端协议转让
  4233. type: integer
  4234. operatorid:
  4235. description: 登录账号(LoginID)
  4236. type: integer
  4237. optiontype:
  4238. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4239. type: integer
  4240. orderid:
  4241. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4242. type: string
  4243. orderprice:
  4244. description: 委托价格
  4245. type: number
  4246. orderqty:
  4247. description: 委托数量
  4248. type: integer
  4249. ordersrc:
  4250. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4251. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4252. type: integer
  4253. orderstatus:
  4254. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4255. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4256. 16:成交失败违约(荷兰式竞拍专用)
  4257. type: integer
  4258. ordertime:
  4259. description: 委托时间
  4260. type: string
  4261. preexerciseprice:
  4262. description: 预申报价格
  4263. type: number
  4264. premium:
  4265. description: 权利金
  4266. type: number
  4267. preorderid:
  4268. description: 关联预埋单号(止盈止损单时填写)
  4269. type: string
  4270. pricemode:
  4271. description: '取价方式 - 1:市价 2: 限价'
  4272. type: integer
  4273. quoteid:
  4274. description: 报价单ID
  4275. type: integer
  4276. relatedid:
  4277. description: 关联单号(交割单)
  4278. type: string
  4279. retcode:
  4280. description: 错误代码
  4281. type: integer
  4282. sessionid:
  4283. description: 会话ID
  4284. type: integer
  4285. tradedate:
  4286. description: 交易日(yyyyMMdd)
  4287. type: string
  4288. trademode:
  4289. description: 交易模式
  4290. type: integer
  4291. tradeproperty:
  4292. description: 交易属性
  4293. type: integer
  4294. tradeqty:
  4295. description: 成交数量
  4296. type: integer
  4297. unfreezecharge:
  4298. description: 解冻手续费
  4299. type: number
  4300. unfreezemargin:
  4301. description: 解冻保证金
  4302. type: number
  4303. updatetime:
  4304. description: 更新时间
  4305. type: string
  4306. uuid:
  4307. description: 发起端唯一id
  4308. type: string
  4309. validtime:
  4310. description: 有效期限
  4311. type: string
  4312. validtype:
  4313. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4314. type: integer
  4315. volumetype:
  4316. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4317. type: integer
  4318. required:
  4319. - accountid
  4320. - buildtype
  4321. - buyorsell
  4322. - goodsid
  4323. - histradedate
  4324. - marketid
  4325. - memberuserid
  4326. - operatetype
  4327. - orderid
  4328. - orderqty
  4329. - ordertime
  4330. - pricemode
  4331. - tradedate
  4332. - validtype
  4333. type: object
  4334. order.QueryTradeDetailRsp:
  4335. properties:
  4336. accountid:
  4337. description: 账户ID[报价币种]
  4338. type: integer
  4339. buildtype:
  4340. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4341. type: integer
  4342. buyorsell:
  4343. description: 方向 - 0:买 1:卖
  4344. type: integer
  4345. charge:
  4346. description: 手续费
  4347. type: number
  4348. closecharge:
  4349. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4350. type: number
  4351. closeexchagechargevalue:
  4352. description: 平仓交易所手续费设置值
  4353. type: number
  4354. closefeealgorithm:
  4355. description: 平仓手续费收取方式 1:比率 2:固定
  4356. type: integer
  4357. closememberchargevalue:
  4358. description: 平仓会员手续费设置值
  4359. type: number
  4360. closepl:
  4361. description: 平仓盈亏
  4362. type: number
  4363. closepl2:
  4364. description: 平仓盈亏[逐笔]
  4365. type: number
  4366. closeqty:
  4367. description: 平仓数量(先建后平操作 需要记录)
  4368. type: integer
  4369. creditamount:
  4370. description: 授信金额
  4371. type: number
  4372. gcaccountid:
  4373. description: 账户ID[合约币种]
  4374. type: integer
  4375. goodscode:
  4376. description: 商品代码
  4377. type: string
  4378. goodsid:
  4379. description: 商品ID
  4380. type: integer
  4381. goodsname:
  4382. description: 商品名称
  4383. type: string
  4384. intclosepl:
  4385. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4386. type: integer
  4387. isconfirmexercise:
  4388. description: 是否确认行权- 0:否 1:是
  4389. type: integer
  4390. ismain:
  4391. description: 是否主单 - 0:不是 1:是
  4392. type: integer
  4393. ispreexercise:
  4394. description: 是否预申报- 0:否 1:是
  4395. type: integer
  4396. isreckoned:
  4397. description: 是否结算 - 0:未结算 1:已结算
  4398. type: integer
  4399. listingselecttype:
  4400. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4401. type: integer
  4402. marketid:
  4403. description: 市场ID
  4404. type: integer
  4405. marketname:
  4406. description: 市场名称
  4407. type: string
  4408. matchaccountid:
  4409. description: 对手账号id
  4410. type: integer
  4411. memberuserid:
  4412. description: 会员id 个人投资者 需要填写
  4413. type: integer
  4414. opencharge:
  4415. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4416. type: number
  4417. openexchagechargevalue:
  4418. description: 建仓交易所手续费设置值
  4419. type: number
  4420. openfeealgorithm:
  4421. description: 建仓手续费收取方式 1:比率 2:固定
  4422. type: integer
  4423. openmemberchargevalue:
  4424. description: 建仓会员手续费设置值
  4425. type: number
  4426. openqty:
  4427. description: 开仓数量(先建后平操作 需要记录)
  4428. type: integer
  4429. optiontype:
  4430. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4431. type: integer
  4432. orderid:
  4433. description: 委托单号
  4434. type: string
  4435. performanceplanid:
  4436. description: 履约计划ID[期权]
  4437. type: integer
  4438. performancestatus:
  4439. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4440. type: integer
  4441. preexerciseprice:
  4442. description: 预申报价格
  4443. type: number
  4444. premium:
  4445. description: 权利金 - [持仓单的权利金]
  4446. type: number
  4447. relatedouttradeid:
  4448. description: 关联外部成交单ID
  4449. type: integer
  4450. status:
  4451. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4452. type: integer
  4453. tradeamount:
  4454. description: 成交金额[账户币种,用于所有权]
  4455. type: number
  4456. tradedate:
  4457. description: 交易日(yyyyMMdd)
  4458. type: string
  4459. tradeid:
  4460. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4461. type: string
  4462. trademode:
  4463. description: 交易模式
  4464. type: integer
  4465. tradeprice:
  4466. description: 成交价格
  4467. type: number
  4468. tradeproperty:
  4469. description: 交易属性
  4470. type: integer
  4471. tradeqty:
  4472. description: 成交数量
  4473. type: integer
  4474. tradetime:
  4475. description: 成交时间
  4476. type: string
  4477. tradetype:
  4478. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4479. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4480. type: integer
  4481. required:
  4482. - accountid
  4483. - buyorsell
  4484. - goodsid
  4485. - marketid
  4486. - memberuserid
  4487. - orderid
  4488. - tradeamount
  4489. - tradedate
  4490. - tradeid
  4491. - tradeprice
  4492. - tradeqty
  4493. - tradetime
  4494. type: object
  4495. order.QueryTradeOrderDetailRsp:
  4496. properties:
  4497. accountid:
  4498. description: 账户ID[报价币种]
  4499. type: integer
  4500. buildtype:
  4501. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  4502. type: integer
  4503. buyorsell:
  4504. description: 买卖 - 0:买 1:卖
  4505. type: integer
  4506. cancelorderid:
  4507. description: 撤单单号(撤单时填写)
  4508. type: string
  4509. cancelqty:
  4510. description: 撤单数量
  4511. type: integer
  4512. clienttype:
  4513. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  4514. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  4515. type: integer
  4516. closefreezecharge:
  4517. description: 平仓冻结手续费(先建后平操作,需要记录)
  4518. type: number
  4519. closeqty:
  4520. description: 平仓数量(先建后平操作 需要记录)
  4521. type: integer
  4522. closetradeqty:
  4523. description: 平仓成交数量(先建后平操作,需要记录)
  4524. type: integer
  4525. closeunfreezecharge:
  4526. description: 平仓解冻手续费(先建后平操作,需要记录)
  4527. type: number
  4528. delistingtype:
  4529. description: 摘牌类型 - 1:价格最优 2:点选成交
  4530. type: integer
  4531. enableqty:
  4532. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  4533. type: integer
  4534. freezecharge:
  4535. description: 冻结手续费
  4536. type: number
  4537. freezemargin:
  4538. description: 冻结保证金(冻结交易金额)
  4539. type: number
  4540. goodscode:
  4541. description: 商品代码
  4542. type: string
  4543. goodsid:
  4544. description: 商品ID
  4545. type: integer
  4546. goodsname:
  4547. description: 商品名称
  4548. type: string
  4549. listingselecttype:
  4550. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4551. type: integer
  4552. marketid:
  4553. description: 市场ID
  4554. type: integer
  4555. marketname:
  4556. description: 市场名称
  4557. type: string
  4558. openfreezecharge:
  4559. description: 开仓冻结手续费(先建后平操作,需要记录)
  4560. type: number
  4561. openqty:
  4562. description: 开仓数量(先建后平操作,需要记录)
  4563. type: integer
  4564. opentradeqty:
  4565. description: 开仓成交数量(先建后平操作,需要记录)
  4566. type: integer
  4567. openunfreezecharge:
  4568. description: 开仓解冻手续费(先建后平操作,需要记录)
  4569. type: number
  4570. operatetype:
  4571. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  4572. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  4573. 15:管理端协议转让
  4574. type: integer
  4575. operatorid:
  4576. description: 登录账号(LoginID)
  4577. type: integer
  4578. orderid:
  4579. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4580. type: string
  4581. orderprice:
  4582. description: 委托价格
  4583. type: number
  4584. orderqty:
  4585. description: 委托数量
  4586. type: integer
  4587. ordersrc:
  4588. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  4589. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  4590. type: integer
  4591. orderstatus:
  4592. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4593. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4594. 16:成交失败违约(荷兰式竞拍专用)
  4595. type: integer
  4596. ordertime:
  4597. description: 委托时间
  4598. type: string
  4599. preorderid:
  4600. description: 关联预埋单号(止盈止损单时填写)
  4601. type: string
  4602. pricemode:
  4603. description: '取价方式 - 1:市价 2: 限价'
  4604. type: integer
  4605. relatedid:
  4606. description: 关联单号(交割单)
  4607. type: string
  4608. tradedate:
  4609. description: 交易日(yyyyMMdd)
  4610. type: string
  4611. trademode:
  4612. description: 交易模式
  4613. type: integer
  4614. tradeqty:
  4615. description: 成交数量
  4616. type: integer
  4617. unfreezecharge:
  4618. description: 解冻手续费
  4619. type: number
  4620. unfreezemargin:
  4621. description: 解冻保证金
  4622. type: number
  4623. validtime:
  4624. description: 有效期限
  4625. type: string
  4626. validtype:
  4627. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4628. type: integer
  4629. volumetype:
  4630. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4631. type: integer
  4632. required:
  4633. - accountid
  4634. - buildtype
  4635. - buyorsell
  4636. - goodsid
  4637. - marketid
  4638. - operatetype
  4639. - orderqty
  4640. - ordertime
  4641. - pricemode
  4642. - tradedate
  4643. - validtype
  4644. type: object
  4645. order.QueryTradePositionRsp:
  4646. properties:
  4647. accountid:
  4648. description: 资金账户
  4649. type: integer
  4650. agreeunit:
  4651. description: 合约单位
  4652. type: number
  4653. averageprice:
  4654. description: 持仓均价
  4655. type: number
  4656. buyorsell:
  4657. description: 方向 - 0:买 1:卖
  4658. type: integer
  4659. closetotalqty:
  4660. description: 平仓总数量
  4661. type: integer
  4662. curholderamount:
  4663. description: 当前持仓总金额[商品币种]
  4664. type: number
  4665. curpositionqty:
  4666. description: 当前持仓总数量
  4667. type: integer
  4668. currencyid:
  4669. description: 报价货币ID
  4670. type: integer
  4671. curtdposition:
  4672. description: 期末今日头寸
  4673. type: integer
  4674. decimalplace:
  4675. description: 报价小数位
  4676. type: integer
  4677. enableqty:
  4678. description: 可用量
  4679. type: integer
  4680. fretdposition:
  4681. description: 冻结今日头寸
  4682. type: integer
  4683. frozenqty:
  4684. description: 持仓冻结数量
  4685. type: integer
  4686. goodscode:
  4687. description: 商品代码
  4688. type: string
  4689. goodsid:
  4690. description: 商品Id
  4691. type: integer
  4692. goodsname:
  4693. description: 商品名称
  4694. type: string
  4695. goodunit:
  4696. description: 报价单位
  4697. type: string
  4698. goodunitid:
  4699. description: 报价单位ID
  4700. type: integer
  4701. holderamount:
  4702. description: 期初持仓总金额[商品币种]
  4703. type: number
  4704. marketid:
  4705. description: 所属市场ID
  4706. type: integer
  4707. openreqqty:
  4708. description: 开仓申请数量(用于比较最大持仓数量)
  4709. type: integer
  4710. opentotalqty:
  4711. description: 开仓总数量
  4712. type: integer
  4713. otherfrozenqty:
  4714. description: 持仓其他冻结数量(交割冻结)
  4715. type: integer
  4716. positionqty:
  4717. description: 期初持仓数量
  4718. type: integer
  4719. tnqty:
  4720. description: T+N冻结总量
  4721. type: integer
  4722. tnusedqty:
  4723. description: T+N使用量(可以使用T+N的冻结数量)
  4724. type: integer
  4725. trademode:
  4726. description: 交易模式
  4727. type: integer
  4728. usedmargin:
  4729. description: 占用保证金[商品币种]
  4730. type: number
  4731. required:
  4732. - goodsid
  4733. type: object
  4734. quote.HistoryData:
  4735. properties:
  4736. c:
  4737. description: 收盘价
  4738. type: number
  4739. h:
  4740. description: 最高价
  4741. type: number
  4742. hv:
  4743. description: 持仓量
  4744. type: integer
  4745. l:
  4746. description: 最低价
  4747. type: number
  4748. o:
  4749. description: 开盘价
  4750. type: number
  4751. s:
  4752. description: 结算价,日线周期(包括)以上才有
  4753. type: number
  4754. ts:
  4755. description: 时间
  4756. type: string
  4757. tt:
  4758. description: 总金额
  4759. type: number
  4760. tv:
  4761. description: 总量
  4762. type: integer
  4763. type: object
  4764. quote.QueryTSDataRsp:
  4765. properties:
  4766. decimalPlace:
  4767. description: 小数位
  4768. type: integer
  4769. endTime:
  4770. description: 结束时间
  4771. type: string
  4772. goodsCode:
  4773. description: 商品代码
  4774. type: string
  4775. historyDatas:
  4776. description: 历史数据
  4777. items:
  4778. $ref: '#/definitions/quote.HistoryData'
  4779. type: array
  4780. preSettle:
  4781. description: 昨结
  4782. type: number
  4783. startTime:
  4784. description: 开始时间
  4785. type: string
  4786. tradeDate:
  4787. description: 交易日
  4788. type: string
  4789. type: object
  4790. szdz.QueryConvertLogRsp:
  4791. properties:
  4792. accountid:
  4793. description: 资金账户ID
  4794. type: integer
  4795. clientticket:
  4796. description: 客户端流水号
  4797. type: string
  4798. converttype:
  4799. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4800. type: integer
  4801. createtime:
  4802. description: 记账时间
  4803. type: string
  4804. daymaxvalue:
  4805. description: 配置当日最大转入限制
  4806. type: number
  4807. daymaxvalue2:
  4808. description: 配置当日最大转入限制(转入)
  4809. type: number
  4810. goodscode:
  4811. description: 商品代码
  4812. type: string
  4813. goodsname:
  4814. description: 商品名称
  4815. type: string
  4816. handlestatus:
  4817. description: 处理状态
  4818. type: integer
  4819. innergoodsid:
  4820. description: 内部商品ID
  4821. type: integer
  4822. inratio:
  4823. description: 配置转入比值
  4824. type: integer
  4825. invalue:
  4826. description: 目标值
  4827. type: number
  4828. logid:
  4829. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4830. type: integer
  4831. mobile:
  4832. description: 手机号码(加密存储)
  4833. type: string
  4834. outergoodscode:
  4835. description: 外部商品代码[JD\PD]
  4836. type: string
  4837. outratio:
  4838. description: 配置转出比值
  4839. type: integer
  4840. outvalue:
  4841. description: 源值
  4842. type: number
  4843. pddecimalplace:
  4844. description: PD小数位
  4845. type: integer
  4846. qty:
  4847. description: 数量
  4848. type: string
  4849. remark:
  4850. description: 备注
  4851. type: string
  4852. sessionid:
  4853. description: 会话ID
  4854. type: integer
  4855. timemaxvalue:
  4856. description: 配置单次最大转入限制
  4857. type: number
  4858. timemaxvalue2:
  4859. description: 配置单次最大转入限制(转入)
  4860. type: number
  4861. timeminvalue:
  4862. description: 配置单次最小数量限制
  4863. type: number
  4864. timeminvalue2:
  4865. description: 配置单次最小数量限制(转入)
  4866. type: number
  4867. tradedate:
  4868. description: 交易日(yyyyMMdd)
  4869. type: string
  4870. userid:
  4871. description: 用户ID
  4872. type: integer
  4873. required:
  4874. - logid
  4875. type: object
  4876. szdz.QueryGoodsPickupRsp:
  4877. properties:
  4878. accountid:
  4879. description: 账户ID
  4880. type: integer
  4881. address:
  4882. description: 提货人详细地址
  4883. type: string
  4884. auditer:
  4885. description: 审核人
  4886. type: integer
  4887. audittime:
  4888. description: 审核时间
  4889. type: string
  4890. cardnum:
  4891. description: 提货人证件号码
  4892. type: string
  4893. cardtypeid:
  4894. description: 提货人证件类型
  4895. type: integer
  4896. checkremark:
  4897. description: 审核备注
  4898. type: string
  4899. goodscode:
  4900. description: 商品代码
  4901. type: string
  4902. goodsid:
  4903. description: 商品ID
  4904. type: integer
  4905. goodsname:
  4906. description: 商品名称
  4907. type: string
  4908. handlestatus:
  4909. description: 处理状态
  4910. type: integer
  4911. marketid:
  4912. description: 市场ID
  4913. type: integer
  4914. phonenum:
  4915. description: 提货人联系方式
  4916. type: string
  4917. qty:
  4918. description: 提货数量
  4919. type: number
  4920. recivername:
  4921. description: 提货人姓名
  4922. type: string
  4923. reqtime:
  4924. description: 更新时间
  4925. type: string
  4926. takemode:
  4927. description: 提货方式 - 2:自提 3:配送
  4928. type: integer
  4929. takeorderid:
  4930. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4931. type: string
  4932. takeorderstatus:
  4933. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4934. type: integer
  4935. takeremark:
  4936. description: 提货备注
  4937. type: string
  4938. tradedate:
  4939. description: 交易日(yyyyMMdd)
  4940. type: string
  4941. userid:
  4942. description: 用户ID
  4943. type: integer
  4944. required:
  4945. - takeorderid
  4946. type: object
  4947. szdz.QueryRecieptOrderRsp:
  4948. properties:
  4949. accountName:
  4950. description: 所属账号名称(已脱敏)
  4951. type: string
  4952. accountid:
  4953. description: 资金账号
  4954. type: integer
  4955. buyorsell:
  4956. description: 方向 - 0:买 1:卖
  4957. type: integer
  4958. enableqty:
  4959. description: 可摘数量
  4960. type: integer
  4961. goodscode:
  4962. description: 商品代码
  4963. type: string
  4964. goodsid:
  4965. description: 商品ID
  4966. type: integer
  4967. goodsname:
  4968. description: 商品名称
  4969. type: string
  4970. orderid:
  4971. description: 委托单号
  4972. type: string
  4973. orderprice:
  4974. description: 委托价格
  4975. type: number
  4976. ordertime:
  4977. description: 委托时间
  4978. type: string
  4979. tradedate:
  4980. description: 交易日(yyyyMMdd)
  4981. type: string
  4982. required:
  4983. - ordertime
  4984. type: object
  4985. szdz.QuerySZDZTradePositionRsp:
  4986. properties:
  4987. accountid:
  4988. description: 账号Id
  4989. type: integer
  4990. agreeunit:
  4991. description: 合约单位
  4992. type: number
  4993. averageprice:
  4994. description: 持仓均价
  4995. type: number
  4996. buyorsell:
  4997. description: 方向 - 0:买 1:卖
  4998. type: integer
  4999. closetotalqty:
  5000. description: 平仓总数量
  5001. type: integer
  5002. curholderamount:
  5003. description: 当前持仓总金额
  5004. type: number
  5005. curpositionqty:
  5006. description: 当前持仓总数量
  5007. type: integer
  5008. currencyid:
  5009. description: 报价货币ID
  5010. type: integer
  5011. curtdposition:
  5012. description: 期末今日头寸
  5013. type: integer
  5014. decimalplace:
  5015. description: 报价小数位
  5016. type: integer
  5017. enableqty:
  5018. description: 可用量
  5019. type: integer
  5020. fretdposition:
  5021. description: 冻结今日头寸
  5022. type: integer
  5023. frozenqty:
  5024. description: 持仓冻结数量
  5025. type: integer
  5026. goodscode:
  5027. description: 商品代码(内部)
  5028. type: string
  5029. goodsid:
  5030. description: 商品Id
  5031. type: integer
  5032. goodsname:
  5033. description: 商品名称
  5034. type: string
  5035. goodunit:
  5036. description: 报价单位
  5037. type: string
  5038. goodunitid:
  5039. description: 报价单位ID
  5040. type: integer
  5041. holderamount:
  5042. description: 期初持仓总金额
  5043. type: number
  5044. marketid:
  5045. description: 市场ID
  5046. type: integer
  5047. openreqqty:
  5048. description: 开仓申请数量
  5049. type: integer
  5050. opentotalqty:
  5051. description: 开仓总数量
  5052. type: integer
  5053. otherfrozenqty:
  5054. description: 持仓其他冻结数量(交割冻结)
  5055. type: integer
  5056. positionqty:
  5057. description: 期初持仓数量
  5058. type: integer
  5059. szdz3freezqty:
  5060. description: 尚志大宗转换冻结总数量
  5061. type: integer
  5062. tnqty:
  5063. description: T+N冻结总量
  5064. type: integer
  5065. tnusedqty:
  5066. description: T+N使用量
  5067. type: integer
  5068. trademode:
  5069. description: 交易模式
  5070. type: integer
  5071. usedmargin:
  5072. description: 占用保证金
  5073. type: number
  5074. type: object
  5075. taaccount.QueryAmountLogRsp:
  5076. properties:
  5077. OPERATETYPENAME:
  5078. description: 资金操作类型名称
  5079. type: string
  5080. accountid:
  5081. description: 资金账户ID
  5082. type: integer
  5083. agoodscode:
  5084. description: 竞拍商品代码
  5085. type: string
  5086. agoodsname:
  5087. description: 竞拍商品名称
  5088. type: string
  5089. amount:
  5090. description: 资金金额
  5091. type: number
  5092. amountadjusttype:
  5093. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5094. type: integer
  5095. autoid:
  5096. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5097. type: integer
  5098. balance:
  5099. description: 期初余额
  5100. type: number
  5101. businesscode:
  5102. description: 业务编号
  5103. type: integer
  5104. createtime:
  5105. description: 发生时间
  5106. type: string
  5107. currencyid:
  5108. description: 币种ID
  5109. type: integer
  5110. currentbalance:
  5111. description: 期末余额(变动后金额)
  5112. type: number
  5113. dgoodscode:
  5114. description: 交割商品代码
  5115. type: string
  5116. dgoodsname:
  5117. description: 交割商品名称
  5118. type: string
  5119. goodscode:
  5120. description: 商品代码
  5121. type: string
  5122. goodsid:
  5123. description: 商品ID
  5124. type: integer
  5125. goodsname:
  5126. description: 商品名称
  5127. type: string
  5128. marketid:
  5129. description: 市场ID
  5130. type: integer
  5131. marketname:
  5132. description: 市场名称
  5133. type: string
  5134. moneyticket:
  5135. description: 资金流水号:银行端流水号
  5136. type: integer
  5137. operatetype:
  5138. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5139. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5140. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5141. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5142. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5143. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5144. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5145. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5146. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5147. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5148. type: integer
  5149. relationorderid:
  5150. description: 关联单号
  5151. type: string
  5152. remark:
  5153. description: 备注
  5154. type: string
  5155. trademode:
  5156. description: 交易模式
  5157. type: integer
  5158. required:
  5159. - accountid
  5160. - amount
  5161. - amountadjusttype
  5162. - autoid
  5163. - balance
  5164. - createtime
  5165. - currentbalance
  5166. - operatetype
  5167. type: object
  5168. taaccount.QueryHisAmountLogRsp:
  5169. properties:
  5170. OPERATETYPENAME:
  5171. description: 资金操作类型名称
  5172. type: string
  5173. accountid:
  5174. description: 资金账户ID
  5175. type: integer
  5176. agoodscode:
  5177. description: 竞拍商品代码
  5178. type: string
  5179. agoodsname:
  5180. description: 竞拍商品名称
  5181. type: string
  5182. amount:
  5183. description: 资金金额
  5184. type: number
  5185. amountadjusttype:
  5186. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5187. type: integer
  5188. autoid:
  5189. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5190. type: integer
  5191. balance:
  5192. description: 期初余额
  5193. type: number
  5194. businesscode:
  5195. description: 业务编号
  5196. type: integer
  5197. createtime:
  5198. description: 发生时间
  5199. type: string
  5200. currencyid:
  5201. description: 币种ID
  5202. type: integer
  5203. currentbalance:
  5204. description: 期末余额(变动后金额)
  5205. type: number
  5206. dgoodscode:
  5207. description: 交割商品代码
  5208. type: string
  5209. dgoodsname:
  5210. description: 交割商品名称
  5211. type: string
  5212. goodscode:
  5213. description: 商品代码
  5214. type: string
  5215. goodsid:
  5216. description: 商品ID
  5217. type: integer
  5218. goodsname:
  5219. description: 商品名称
  5220. type: string
  5221. histradedate:
  5222. description: 历史交易日
  5223. type: string
  5224. isvaliddata:
  5225. description: 是否有效 - 0:无效 1:有效
  5226. type: integer
  5227. marketid:
  5228. description: 市场ID
  5229. type: integer
  5230. marketname:
  5231. description: 市场名称
  5232. type: string
  5233. moneyticket:
  5234. description: 资金流水号:银行端流水号
  5235. type: integer
  5236. operatetype:
  5237. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  5238. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  5239. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  5240. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  5241. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  5242. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  5243. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  5244. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  5245. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  5246. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  5247. type: integer
  5248. relationorderid:
  5249. description: 关联单号
  5250. type: string
  5251. remark:
  5252. description: 备注
  5253. type: string
  5254. trademode:
  5255. description: 交易模式
  5256. type: integer
  5257. required:
  5258. - accountid
  5259. - amount
  5260. - amountadjusttype
  5261. - autoid
  5262. - balance
  5263. - createtime
  5264. - currentbalance
  5265. - histradedate
  5266. - operatetype
  5267. type: object
  5268. trade.QueryRecieptOrderRsp:
  5269. properties:
  5270. accountName:
  5271. description: 所属账号名称(已脱敏)
  5272. type: string
  5273. accountid:
  5274. description: 资金账号
  5275. type: integer
  5276. buyorsell:
  5277. description: 方向 - 0:买 1:卖
  5278. type: integer
  5279. enableqty:
  5280. description: 可摘数量
  5281. type: integer
  5282. goodscode:
  5283. description: 商品代码
  5284. type: string
  5285. goodsid:
  5286. description: 商品ID
  5287. type: integer
  5288. goodsname:
  5289. description: 商品名称
  5290. type: string
  5291. orderid:
  5292. description: 委托单号
  5293. type: string
  5294. orderprice:
  5295. description: 委托价格
  5296. type: number
  5297. ordertime:
  5298. description: 委托时间
  5299. type: string
  5300. tradedate:
  5301. description: 交易日(yyyyMMdd)
  5302. type: string
  5303. required:
  5304. - ordertime
  5305. type: object
  5306. info:
  5307. contact: {}
  5308. description: 新的查询服务,替代原通用查询服务。
  5309. termsOfService: http://muchinfo.cn
  5310. title: MTP2.0 查询服务 API
  5311. version: "1.0"
  5312. paths:
  5313. /CPTrade/QueryCPTradeMyBidInfos:
  5314. get:
  5315. parameters:
  5316. - description: 资金账户
  5317. in: query
  5318. name: accountid
  5319. required: true
  5320. type: integer
  5321. - description: 预售市场ID
  5322. in: query
  5323. name: marketid
  5324. type: integer
  5325. - description: 预售商品ID
  5326. in: query
  5327. name: goodsid
  5328. type: integer
  5329. produces:
  5330. - application/json
  5331. responses:
  5332. "200":
  5333. description: OK
  5334. schema:
  5335. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  5336. "500":
  5337. description: Internal Server Error
  5338. schema:
  5339. $ref: '#/definitions/app.Response'
  5340. security:
  5341. - ApiKeyAuth: []
  5342. summary: 查询产能预售我的出价信息
  5343. tags:
  5344. - 产能预售
  5345. /CPTrade/QueryCPTradeOrderDetail:
  5346. get:
  5347. parameters:
  5348. - description: 预售商品ID
  5349. in: query
  5350. name: goodsid
  5351. type: integer
  5352. - description: 预售市场ID
  5353. in: query
  5354. name: marketid
  5355. type: integer
  5356. - description: 预售商品ID列表 - 格式:1,2,3
  5357. in: query
  5358. name: goodsids
  5359. type: string
  5360. produces:
  5361. - application/json
  5362. responses:
  5363. "200":
  5364. description: OK
  5365. schema:
  5366. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  5367. "500":
  5368. description: Internal Server Error
  5369. schema:
  5370. $ref: '#/definitions/app.Response'
  5371. security:
  5372. - ApiKeyAuth: []
  5373. summary: 查询产能预售委托单信息
  5374. tags:
  5375. - 产能预售
  5376. /CPTrade/QueryMyCPTradeGoods:
  5377. get:
  5378. parameters:
  5379. - description: 资金账户
  5380. in: query
  5381. name: accountid
  5382. required: true
  5383. type: integer
  5384. produces:
  5385. - application/json
  5386. responses:
  5387. "200":
  5388. description: OK
  5389. schema:
  5390. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  5391. "500":
  5392. description: Internal Server Error
  5393. schema:
  5394. $ref: '#/definitions/app.Response'
  5395. security:
  5396. - ApiKeyAuth: []
  5397. summary: 查询我的预售信息
  5398. tags:
  5399. - 产能预售
  5400. /CPTrade/QueryPositionCancel:
  5401. get:
  5402. parameters:
  5403. - description: 账户ID
  5404. in: query
  5405. name: userid
  5406. required: true
  5407. type: integer
  5408. - description: 注销ID
  5409. in: query
  5410. name: cancelid
  5411. type: integer
  5412. - description: 资金账户ID
  5413. in: query
  5414. name: accountid
  5415. type: integer
  5416. produces:
  5417. - application/json
  5418. responses:
  5419. "200":
  5420. description: OK
  5421. schema:
  5422. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  5423. "500":
  5424. description: Internal Server Error
  5425. schema:
  5426. $ref: '#/definitions/app.Response'
  5427. security:
  5428. - ApiKeyAuth: []
  5429. summary: 查询远期订单注销申请信息
  5430. tags:
  5431. - 产能预售
  5432. /CPTrade/QueryPreasleApply:
  5433. get:
  5434. parameters:
  5435. - description: 账户ID
  5436. in: query
  5437. name: userid
  5438. required: true
  5439. type: integer
  5440. - description: 申请ID
  5441. in: query
  5442. name: applyid
  5443. type: integer
  5444. - description: 资金账户ID
  5445. in: query
  5446. name: accountid
  5447. type: integer
  5448. produces:
  5449. - application/json
  5450. responses:
  5451. "200":
  5452. description: OK
  5453. schema:
  5454. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  5455. "500":
  5456. description: Internal Server Error
  5457. schema:
  5458. $ref: '#/definitions/app.Response'
  5459. security:
  5460. - ApiKeyAuth: []
  5461. summary: 查询产能预售申请信息
  5462. tags:
  5463. - 产能预售
  5464. /CPTrade/QueryPresaleGoodsEx:
  5465. get:
  5466. parameters:
  5467. - description: 预售商品ID
  5468. in: query
  5469. name: goodsid
  5470. type: integer
  5471. - description: 预售市场ID
  5472. in: query
  5473. name: marketid
  5474. type: integer
  5475. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  5476. in: query
  5477. name: presalemode
  5478. type: integer
  5479. - description: 预售商品ID列表 - 格式:1,2,3
  5480. in: query
  5481. name: goodsids
  5482. type: string
  5483. - description: 预售商品代码
  5484. in: query
  5485. name: goodscode
  5486. type: string
  5487. produces:
  5488. - application/json
  5489. responses:
  5490. "200":
  5491. description: OK
  5492. schema:
  5493. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  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/QueryUserGoodsData:
  5504. get:
  5505. parameters:
  5506. - description: 资金账户ID
  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.Cptradeusergoodsdata'
  5518. "500":
  5519. description: Internal Server Error
  5520. schema:
  5521. $ref: '#/definitions/app.Response'
  5522. security:
  5523. - ApiKeyAuth: []
  5524. summary: 查询远期订单信息
  5525. tags:
  5526. - 产能预售
  5527. /Common/GetAllEnums:
  5528. get:
  5529. produces:
  5530. - application/json
  5531. responses:
  5532. "200":
  5533. description: OK
  5534. schema:
  5535. $ref: '#/definitions/models.Enumdicitem'
  5536. "500":
  5537. description: Internal Server Error
  5538. schema:
  5539. $ref: '#/definitions/app.Response'
  5540. summary: 获取所有枚举信息
  5541. tags:
  5542. - 通用服务
  5543. /Common/GetServerTime:
  5544. get:
  5545. produces:
  5546. - application/json
  5547. responses:
  5548. "200":
  5549. description: OK
  5550. schema:
  5551. $ref: '#/definitions/app.Response'
  5552. "500":
  5553. description: Internal Server Error
  5554. schema:
  5555. $ref: '#/definitions/app.Response'
  5556. summary: 获取服务器时间
  5557. tags:
  5558. - 通用服务
  5559. /Common/NoticeReaded:
  5560. post:
  5561. parameters:
  5562. - description: 登录账号
  5563. in: query
  5564. name: loginID
  5565. required: true
  5566. type: integer
  5567. - description: 通知公告ID
  5568. in: query
  5569. name: noticeID
  5570. required: true
  5571. type: integer
  5572. produces:
  5573. - application/json
  5574. responses:
  5575. "200":
  5576. description: OK
  5577. schema:
  5578. $ref: '#/definitions/app.Response'
  5579. "500":
  5580. description: Internal Server Error
  5581. schema:
  5582. $ref: '#/definitions/app.Response'
  5583. security:
  5584. - ApiKeyAuth: []
  5585. summary: 通知公告设置已读请求
  5586. tags:
  5587. - 通用服务
  5588. /Common/QueryImageConfigs:
  5589. get:
  5590. parameters:
  5591. - description: 类型 - 1:App首页轮播 2:我的
  5592. in: query
  5593. name: imageType
  5594. type: integer
  5595. produces:
  5596. - application/json
  5597. responses:
  5598. "200":
  5599. description: OK
  5600. schema:
  5601. $ref: '#/definitions/models.Szdz2imageconfig'
  5602. "500":
  5603. description: Internal Server Error
  5604. schema:
  5605. $ref: '#/definitions/app.Response'
  5606. summary: 查询轮播图配置信息
  5607. tags:
  5608. - 通用服务
  5609. /Common/QueryNotice:
  5610. get:
  5611. parameters:
  5612. - description: 页码
  5613. in: query
  5614. name: page
  5615. type: integer
  5616. - description: 每页条数
  5617. in: query
  5618. name: pagesize
  5619. type: integer
  5620. - description: 登录账号
  5621. in: query
  5622. name: loginID
  5623. required: true
  5624. type: integer
  5625. - description: 消息类型 - 1:公告通知 2:系统消息
  5626. in: query
  5627. name: msgType
  5628. type: integer
  5629. - description: 是否只获取未读信息
  5630. in: query
  5631. name: onlyUnRead
  5632. type: boolean
  5633. produces:
  5634. - application/json
  5635. responses:
  5636. "200":
  5637. description: OK
  5638. schema:
  5639. $ref: '#/definitions/common.QueryNoticeRsp'
  5640. "500":
  5641. description: Internal Server Error
  5642. schema:
  5643. $ref: '#/definitions/app.Response'
  5644. security:
  5645. - ApiKeyAuth: []
  5646. summary: 通知公告系统消息查询
  5647. tags:
  5648. - 通用服务
  5649. /Common/QueryProvincesAndCities:
  5650. get:
  5651. parameters:
  5652. - description: 省ID
  5653. in: query
  5654. name: provinceID
  5655. type: integer
  5656. produces:
  5657. - application/json
  5658. responses:
  5659. "200":
  5660. description: OK
  5661. schema:
  5662. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  5663. "500":
  5664. description: Internal Server Error
  5665. schema:
  5666. $ref: '#/definitions/app.Response'
  5667. summary: 查询省市信息(不包括区)
  5668. tags:
  5669. - 通用服务
  5670. /Common/QueryTableDefine:
  5671. get:
  5672. parameters:
  5673. - description: 表key
  5674. in: query
  5675. name: TableKey
  5676. type: string
  5677. produces:
  5678. - application/json
  5679. responses:
  5680. "200":
  5681. description: OK
  5682. schema:
  5683. $ref: '#/definitions/common.QueryTableDefineRsp'
  5684. "500":
  5685. description: Internal Server Error
  5686. schema:
  5687. $ref: '#/definitions/app.Response'
  5688. summary: 查询交易端列表头信息
  5689. tags:
  5690. - 通用服务
  5691. /Common/QueryTraderMenu:
  5692. get:
  5693. parameters:
  5694. - description: 登录账号
  5695. in: query
  5696. name: loginid
  5697. required: true
  5698. type: integer
  5699. produces:
  5700. - application/json
  5701. responses:
  5702. "200":
  5703. description: OK
  5704. schema:
  5705. $ref: '#/definitions/common.QueryTraderMenuRsp'
  5706. "500":
  5707. description: Internal Server Error
  5708. schema:
  5709. $ref: '#/definitions/app.Response'
  5710. summary: 查询交易端菜单
  5711. tags:
  5712. - 通用服务
  5713. /Delivery/QueryDeliveryRelation:
  5714. get:
  5715. parameters:
  5716. - description: 商品ID
  5717. in: query
  5718. name: goodsid
  5719. type: integer
  5720. - description: 品种ID
  5721. in: query
  5722. name: deliverygoodsid
  5723. type: integer
  5724. - description: 市场ID
  5725. in: query
  5726. name: marketid
  5727. type: integer
  5728. produces:
  5729. - application/json
  5730. responses:
  5731. "200":
  5732. description: OK
  5733. schema:
  5734. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  5735. "500":
  5736. description: Internal Server Error
  5737. schema:
  5738. $ref: '#/definitions/app.Response'
  5739. security:
  5740. - ApiKeyAuth: []
  5741. summary: 查询商品交割关系表
  5742. tags:
  5743. - 交割服务
  5744. /Erms2/QueryArbitrageStrategy:
  5745. get:
  5746. parameters:
  5747. - description: 账户ID
  5748. in: query
  5749. name: userid
  5750. required: true
  5751. type: integer
  5752. - description: 商品组ID(品种ID)
  5753. in: query
  5754. name: goodsgroupid
  5755. type: string
  5756. produces:
  5757. - application/json
  5758. responses:
  5759. "200":
  5760. description: OK
  5761. schema:
  5762. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  5763. "500":
  5764. description: Internal Server Error
  5765. schema:
  5766. $ref: '#/definitions/app.Response'
  5767. security:
  5768. - ApiKeyAuth: []
  5769. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  5770. tags:
  5771. - 风险管理
  5772. /Erms2/QueryInnerTradeDetail:
  5773. get:
  5774. parameters:
  5775. - description: 资金账户
  5776. in: query
  5777. name: accountid
  5778. required: true
  5779. type: integer
  5780. produces:
  5781. - application/json
  5782. responses:
  5783. "200":
  5784. description: OK
  5785. schema:
  5786. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  5787. "500":
  5788. description: Internal Server Error
  5789. schema:
  5790. $ref: '#/definitions/app.Response'
  5791. security:
  5792. - ApiKeyAuth: []
  5793. summary: 查询内部成交单信息
  5794. tags:
  5795. - 风险管理
  5796. /Erms2/QuerySpotContract:
  5797. get:
  5798. parameters:
  5799. - description: 策略申请ID
  5800. in: query
  5801. name: asapplyid
  5802. required: true
  5803. type: integer
  5804. - description: 现货合同ID
  5805. in: query
  5806. name: spotcontractid
  5807. type: integer
  5808. produces:
  5809. - application/json
  5810. responses:
  5811. "200":
  5812. description: OK
  5813. schema:
  5814. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5815. "500":
  5816. description: Internal Server Error
  5817. schema:
  5818. $ref: '#/definitions/app.Response'
  5819. security:
  5820. - ApiKeyAuth: []
  5821. summary: 查询现货合同表信息(指定策略ID、未结束的)
  5822. tags:
  5823. - 风险管理
  5824. /Erms3/AddErms2ASApply:
  5825. post:
  5826. parameters:
  5827. - description: 申请参数
  5828. in: body
  5829. name: jsonBody
  5830. required: true
  5831. schema:
  5832. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  5833. produces:
  5834. - application/json
  5835. responses:
  5836. "200":
  5837. description: OK
  5838. schema:
  5839. $ref: '#/definitions/app.Response'
  5840. "500":
  5841. description: Internal Server Error
  5842. schema:
  5843. $ref: '#/definitions/app.Response'
  5844. security:
  5845. - ApiKeyAuth: []
  5846. summary: 新增期现套利业务申请
  5847. tags:
  5848. - 风险管理v3
  5849. /Erms3/AddErms2SpotTradeApply:
  5850. post:
  5851. parameters:
  5852. - description: 申请参数
  5853. in: body
  5854. name: jsonBody
  5855. required: true
  5856. schema:
  5857. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  5858. produces:
  5859. - application/json
  5860. responses:
  5861. "200":
  5862. description: OK
  5863. schema:
  5864. $ref: '#/definitions/app.Response'
  5865. "500":
  5866. description: Internal Server Error
  5867. schema:
  5868. $ref: '#/definitions/app.Response'
  5869. security:
  5870. - ApiKeyAuth: []
  5871. summary: 新增现货贸易业务申请
  5872. tags:
  5873. - 风险管理v3
  5874. /Erms3/AddSpotContractApply:
  5875. post:
  5876. parameters:
  5877. - description: 申请参数
  5878. in: body
  5879. name: jsonBody
  5880. required: true
  5881. schema:
  5882. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  5883. produces:
  5884. - application/json
  5885. responses:
  5886. "200":
  5887. description: OK
  5888. schema:
  5889. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  5890. "500":
  5891. description: Internal Server Error
  5892. schema:
  5893. $ref: '#/definitions/app.Response'
  5894. security:
  5895. - ApiKeyAuth: []
  5896. summary: 新增现货合同申请
  5897. tags:
  5898. - 风险管理v3
  5899. /Erms3/AddUserInfoApply:
  5900. post:
  5901. parameters:
  5902. - description: 申请参数
  5903. in: body
  5904. name: jsonBody
  5905. required: true
  5906. schema:
  5907. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  5908. produces:
  5909. - application/json
  5910. responses:
  5911. "200":
  5912. description: OK
  5913. schema:
  5914. $ref: '#/definitions/app.Response'
  5915. "500":
  5916. description: Internal Server Error
  5917. schema:
  5918. $ref: '#/definitions/app.Response'
  5919. security:
  5920. - ApiKeyAuth: []
  5921. summary: 新增客户申请
  5922. tags:
  5923. - 风险管理v3
  5924. /Erms3/QueryBusinessInfo:
  5925. get:
  5926. parameters:
  5927. - description: 资金账号ID列表,用逗号分隔
  5928. in: query
  5929. name: accountids
  5930. required: true
  5931. type: string
  5932. - description: 状态,0为未结束 1为已结束
  5933. in: query
  5934. name: status
  5935. required: true
  5936. type: integer
  5937. produces:
  5938. - application/json
  5939. responses:
  5940. "200":
  5941. description: OK
  5942. schema:
  5943. items:
  5944. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  5945. type: array
  5946. "500":
  5947. description: Internal Server Error
  5948. schema:
  5949. $ref: '#/definitions/app.Response'
  5950. security:
  5951. - ApiKeyAuth: []
  5952. summary: 查询业务表单数据
  5953. tags:
  5954. - 风险管理v3
  5955. /Erms3/QueryPendingAuditContract:
  5956. get:
  5957. parameters:
  5958. - description: 资金账号ID列表,逗号隔开
  5959. in: query
  5960. name: accountids
  5961. required: true
  5962. type: string
  5963. - description: 合同类型 1-采购 -1-销售
  5964. in: query
  5965. name: contracttype
  5966. required: true
  5967. type: integer
  5968. - description: 合同模式 1-普通 2-回购
  5969. in: query
  5970. name: contractmode
  5971. required: true
  5972. type: integer
  5973. produces:
  5974. - application/json
  5975. responses:
  5976. "200":
  5977. description: OK
  5978. schema:
  5979. items:
  5980. $ref: '#/definitions/erms3.QryAuditContractRsp'
  5981. type: array
  5982. "500":
  5983. description: Internal Server Error
  5984. schema:
  5985. $ref: '#/definitions/app.Response'
  5986. security:
  5987. - ApiKeyAuth: []
  5988. summary: 查询待审核合同
  5989. tags:
  5990. - 风险管理v3
  5991. /Erms3/QueryPendingBusiness:
  5992. get:
  5993. parameters:
  5994. - description: 资金账号ID列表,逗号隔开
  5995. in: query
  5996. name: accountids
  5997. required: true
  5998. type: string
  5999. produces:
  6000. - application/json
  6001. responses:
  6002. "200":
  6003. description: OK
  6004. schema:
  6005. items:
  6006. $ref: '#/definitions/erms3.QryPendingBizRsp'
  6007. type: array
  6008. "500":
  6009. description: Internal Server Error
  6010. schema:
  6011. $ref: '#/definitions/app.Response'
  6012. security:
  6013. - ApiKeyAuth: []
  6014. summary: 查询待审核基差贸易业务
  6015. tags:
  6016. - 风险管理v3
  6017. /Erms3/QuerySpotContractAppleForm:
  6018. get:
  6019. parameters:
  6020. - description: 登录账号
  6021. in: query
  6022. name: loginID
  6023. required: true
  6024. type: integer
  6025. produces:
  6026. - application/json
  6027. responses:
  6028. "200":
  6029. description: OK
  6030. schema:
  6031. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  6032. "500":
  6033. description: Internal Server Error
  6034. schema:
  6035. $ref: '#/definitions/app.Response'
  6036. security:
  6037. - ApiKeyAuth: []
  6038. summary: 查询合同申请表单数据
  6039. tags:
  6040. - 风险管理v3
  6041. /Erms3/QuerySpotContractDetail:
  6042. get:
  6043. parameters:
  6044. - description: 资金账号ID列表,用逗号分隔
  6045. in: query
  6046. name: accountids
  6047. required: true
  6048. type: string
  6049. - description: 合同类型,1为采购合同 -1为销售合同
  6050. in: query
  6051. name: contracttype
  6052. required: true
  6053. type: integer
  6054. - description: 合同模式,1为普通合同 2为回购销售合同
  6055. in: query
  6056. name: contractmode
  6057. required: true
  6058. type: integer
  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.QuerySpotContractInfoRsp'
  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/QueryUserInfoApplies:
  6083. get:
  6084. parameters:
  6085. - description: 页码
  6086. in: query
  6087. name: page
  6088. type: integer
  6089. - description: 每页条数
  6090. in: query
  6091. name: pagesize
  6092. type: integer
  6093. - description: 客户名称,支持模糊查询
  6094. in: query
  6095. name: userName
  6096. type: string
  6097. produces:
  6098. - application/json
  6099. responses:
  6100. "200":
  6101. description: OK
  6102. schema:
  6103. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  6104. "500":
  6105. description: Internal Server Error
  6106. schema:
  6107. $ref: '#/definitions/app.Response'
  6108. security:
  6109. - ApiKeyAuth: []
  6110. summary: 客户申请信息查询
  6111. tags:
  6112. - 风险管理v3
  6113. /Erms3/QueryUserInfos:
  6114. get:
  6115. parameters:
  6116. - description: 页码
  6117. in: query
  6118. name: page
  6119. type: integer
  6120. - description: 每页条数
  6121. in: query
  6122. name: pagesize
  6123. type: integer
  6124. - description: 客户名称,支持模糊查询
  6125. in: query
  6126. name: userName
  6127. type: string
  6128. produces:
  6129. - application/json
  6130. responses:
  6131. "200":
  6132. description: OK
  6133. schema:
  6134. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  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. /HSBY/GetHsbyMyCount:
  6145. get:
  6146. description: 说明: 不包括已完成的数量。
  6147. parameters:
  6148. - description: 资金账户列表,格式:1,2,3
  6149. in: query
  6150. name: accountIDs
  6151. required: true
  6152. type: string
  6153. produces:
  6154. - application/json
  6155. responses:
  6156. "200":
  6157. description: OK
  6158. schema:
  6159. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  6160. "500":
  6161. description: Internal Server Error
  6162. schema:
  6163. $ref: '#/definitions/app.Response'
  6164. security:
  6165. - ApiKeyAuth: []
  6166. summary: 获取我的订单与包裹数量
  6167. tags:
  6168. - 定制【海商报业】
  6169. /HSBY/QueryHsbyBuyMyTradeDetail:
  6170. get:
  6171. parameters:
  6172. - description: 页码
  6173. in: query
  6174. name: page
  6175. type: integer
  6176. - description: 每页条数
  6177. in: query
  6178. name: pagesize
  6179. type: integer
  6180. - description: 资金账户列表,格式:1,2,3
  6181. in: query
  6182. name: accountIDs
  6183. required: true
  6184. type: string
  6185. produces:
  6186. - application/json
  6187. responses:
  6188. "200":
  6189. description: OK
  6190. schema:
  6191. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  6192. "500":
  6193. description: Internal Server Error
  6194. schema:
  6195. $ref: '#/definitions/app.Response'
  6196. security:
  6197. - ApiKeyAuth: []
  6198. summary: 查询"我的订单 - 已完成"单据信息
  6199. tags:
  6200. - 定制【海商报业】
  6201. /HSBY/QueryHsbyGoodsOrderDetails:
  6202. get:
  6203. description: 说明:查询结果已按委托价格和委托时间排序
  6204. parameters:
  6205. - description: 商品ID
  6206. in: query
  6207. name: goodsID
  6208. required: true
  6209. type: integer
  6210. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  6211. in: query
  6212. name: accountIDs
  6213. type: string
  6214. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  6215. in: query
  6216. name: buyOrSell
  6217. type: integer
  6218. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  6219. in: query
  6220. name: price
  6221. type: number
  6222. - description: 档位,不传则默认为3档
  6223. in: query
  6224. name: speed
  6225. type: integer
  6226. produces:
  6227. - application/json
  6228. responses:
  6229. "200":
  6230. description: OK
  6231. schema:
  6232. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  6233. "500":
  6234. description: Internal Server Error
  6235. schema:
  6236. $ref: '#/definitions/app.Response'
  6237. security:
  6238. - ApiKeyAuth: []
  6239. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  6240. tags:
  6241. - 定制【海商报业】
  6242. /HSBY/QueryHsbyListingGoodsDetail:
  6243. get:
  6244. parameters:
  6245. - description: 商品ID
  6246. in: query
  6247. name: goodsID
  6248. required: true
  6249. type: integer
  6250. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  6251. in: query
  6252. name: AccountID
  6253. type: integer
  6254. produces:
  6255. - application/json
  6256. responses:
  6257. "200":
  6258. description: OK
  6259. schema:
  6260. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  6261. "500":
  6262. description: Internal Server Error
  6263. schema:
  6264. $ref: '#/definitions/app.Response'
  6265. security:
  6266. - ApiKeyAuth: []
  6267. summary: 查询二级市场(挂牌点选)商品信息详情
  6268. tags:
  6269. - 定制【海商报业】
  6270. /HSBY/QueryHsbyMarketGoodsDetail:
  6271. get:
  6272. parameters:
  6273. - description: 委托单号
  6274. in: query
  6275. name: orderID
  6276. required: true
  6277. type: integer
  6278. produces:
  6279. - application/json
  6280. responses:
  6281. "200":
  6282. description: OK
  6283. schema:
  6284. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  6285. "500":
  6286. description: Internal Server Error
  6287. schema:
  6288. $ref: '#/definitions/app.Response'
  6289. security:
  6290. - ApiKeyAuth: []
  6291. summary: 查询三级市场(商城)商品信息详情
  6292. tags:
  6293. - 定制【海商报业】
  6294. /HSBY/QueryHsbyMarketGoodses:
  6295. get:
  6296. parameters:
  6297. - description: 页码
  6298. in: query
  6299. name: page
  6300. type: integer
  6301. - description: 每页条数
  6302. in: query
  6303. name: pagesize
  6304. type: integer
  6305. - description: 市场ID列表,格式:1,2,3
  6306. in: query
  6307. name: marketIDs
  6308. required: true
  6309. type: string
  6310. - description: 资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。
  6311. in: query
  6312. name: accountID
  6313. type: integer
  6314. - description: 类别ID
  6315. in: query
  6316. name: categoryID
  6317. type: integer
  6318. - description: 商品ID
  6319. in: query
  6320. name: goodsID
  6321. type: integer
  6322. produces:
  6323. - application/json
  6324. responses:
  6325. "200":
  6326. description: OK
  6327. schema:
  6328. $ref: '#/definitions/models.HsbyMarketGoods'
  6329. "500":
  6330. description: Internal Server Error
  6331. schema:
  6332. $ref: '#/definitions/app.Response'
  6333. security:
  6334. - ApiKeyAuth: []
  6335. summary: 查询特卖商品列表(三级商城)
  6336. tags:
  6337. - 定制【海商报业】
  6338. /HSBY/QueryHsbyMarkets:
  6339. get:
  6340. produces:
  6341. - application/json
  6342. responses:
  6343. "200":
  6344. description: OK
  6345. schema:
  6346. $ref: '#/definitions/models.HsbyMarketInfo'
  6347. "500":
  6348. description: Internal Server Error
  6349. schema:
  6350. $ref: '#/definitions/app.Response'
  6351. security:
  6352. - ApiKeyAuth: []
  6353. summary: 查询海商报业相关市场信息
  6354. tags:
  6355. - 定制【海商报业】
  6356. /HSBY/QueryHsbyMyBuyOrderDetails:
  6357. get:
  6358. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  6359. parameters:
  6360. - description: 资金账户列表,格式:1,2,3
  6361. in: query
  6362. name: accountIDs
  6363. required: true
  6364. type: string
  6365. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  6366. in: query
  6367. name: myBuyStatus
  6368. type: integer
  6369. produces:
  6370. - application/json
  6371. responses:
  6372. "200":
  6373. description: OK
  6374. schema:
  6375. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  6376. "500":
  6377. description: Internal Server Error
  6378. schema:
  6379. $ref: '#/definitions/app.Response'
  6380. security:
  6381. - ApiKeyAuth: []
  6382. summary: 查询“我的订单”信息
  6383. tags:
  6384. - 定制【海商报业】
  6385. /HSBY/QueryHsbyMyGoods:
  6386. get:
  6387. parameters:
  6388. - description: 资金账户列表,格式:1,2,3
  6389. in: query
  6390. name: accountIDs
  6391. required: true
  6392. type: string
  6393. produces:
  6394. - application/json
  6395. responses:
  6396. "200":
  6397. description: OK
  6398. schema:
  6399. $ref: '#/definitions/models.HsbyMyGoods'
  6400. "500":
  6401. description: Internal Server Error
  6402. schema:
  6403. $ref: '#/definitions/app.Response'
  6404. security:
  6405. - ApiKeyAuth: []
  6406. summary: 查询“我的商品”信息
  6407. tags:
  6408. - 定制【海商报业】
  6409. /HSBY/QueryHsbyMyPackages:
  6410. get:
  6411. parameters:
  6412. - description: 资金账户列表,格式:1,2,3
  6413. in: query
  6414. name: accountIDs
  6415. required: true
  6416. type: string
  6417. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6418. in: query
  6419. name: takeOrderStatus
  6420. type: integer
  6421. produces:
  6422. - application/json
  6423. responses:
  6424. "200":
  6425. description: OK
  6426. schema:
  6427. $ref: '#/definitions/models.HsbyMyPackage'
  6428. "500":
  6429. description: Internal Server Error
  6430. schema:
  6431. $ref: '#/definitions/app.Response'
  6432. security:
  6433. - ApiKeyAuth: []
  6434. summary: 查询我的包裹信息
  6435. tags:
  6436. - 定制【海商报业】
  6437. /HSBY/QueryHsbyPreGoodsDetail:
  6438. get:
  6439. parameters:
  6440. - description: 商品ID
  6441. in: query
  6442. name: goodsID
  6443. required: true
  6444. type: integer
  6445. - description: 资金账户,主要用于获取预售商品购买上限
  6446. in: query
  6447. name: accountID
  6448. type: integer
  6449. produces:
  6450. - application/json
  6451. responses:
  6452. "200":
  6453. description: OK
  6454. schema:
  6455. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  6456. "500":
  6457. description: Internal Server Error
  6458. schema:
  6459. $ref: '#/definitions/app.Response'
  6460. security:
  6461. - ApiKeyAuth: []
  6462. summary: 查询一级市场(预售)商品信息详情
  6463. tags:
  6464. - 定制【海商报业】
  6465. /HSBY/QueryHsbyPreGoodses:
  6466. get:
  6467. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  6468. parameters:
  6469. - description: 页码
  6470. in: query
  6471. name: page
  6472. type: integer
  6473. - description: 每页条数
  6474. in: query
  6475. name: pagesize
  6476. type: integer
  6477. - description: 市场ID列表,格式:1,2,3
  6478. in: query
  6479. name: marketIDs
  6480. required: true
  6481. type: string
  6482. - description: 目的地(省)ID
  6483. in: query
  6484. name: descProvinceID
  6485. type: integer
  6486. - description: 目的地(市)ID
  6487. in: query
  6488. name: descCityID
  6489. type: integer
  6490. produces:
  6491. - application/json
  6492. responses:
  6493. "200":
  6494. description: OK
  6495. schema:
  6496. $ref: '#/definitions/models.HsbyPreGoods'
  6497. "500":
  6498. description: Internal Server Error
  6499. schema:
  6500. $ref: '#/definitions/app.Response'
  6501. security:
  6502. - ApiKeyAuth: []
  6503. summary: 查询新品上市商品列表(一级市场预售)
  6504. tags:
  6505. - 定制【海商报业】
  6506. /HSBY/QueryHsbySellMyDetails:
  6507. get:
  6508. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  6509. parameters:
  6510. - description: 页码
  6511. in: query
  6512. name: page
  6513. type: integer
  6514. - description: 每页条数
  6515. in: query
  6516. name: pagesize
  6517. type: integer
  6518. - description: 资金账户列表,格式:1,2,3
  6519. in: query
  6520. name: accountIDs
  6521. required: true
  6522. type: string
  6523. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  6524. in: query
  6525. name: orderType
  6526. type: integer
  6527. produces:
  6528. - application/json
  6529. responses:
  6530. "200":
  6531. description: OK
  6532. schema:
  6533. $ref: '#/definitions/models.HsbySellMyDetail'
  6534. "500":
  6535. description: Internal Server Error
  6536. schema:
  6537. $ref: '#/definitions/app.Response'
  6538. security:
  6539. - ApiKeyAuth: []
  6540. summary: 查询"我的闲置"单据信息
  6541. tags:
  6542. - 定制【海商报业】
  6543. /HSBY/QueryHsbyTopGoodses:
  6544. get:
  6545. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  6546. parameters:
  6547. - description: 页码
  6548. in: query
  6549. name: page
  6550. type: integer
  6551. - description: 每页条数
  6552. in: query
  6553. name: pagesize
  6554. type: integer
  6555. - description: 市场ID列表,格式:1,2,3
  6556. in: query
  6557. name: marketIDs
  6558. required: true
  6559. type: string
  6560. - description: 目的地(省)ID
  6561. in: query
  6562. name: descProvinceID
  6563. type: integer
  6564. - description: 目的地(市)ID
  6565. in: query
  6566. name: descCityID
  6567. type: integer
  6568. produces:
  6569. - application/json
  6570. responses:
  6571. "200":
  6572. description: OK
  6573. schema:
  6574. $ref: '#/definitions/models.HsbyTopGoods'
  6575. "500":
  6576. description: Internal Server Error
  6577. schema:
  6578. $ref: '#/definitions/app.Response'
  6579. security:
  6580. - ApiKeyAuth: []
  6581. summary: 查询热卖商品列表(二级市场挂牌点选)
  6582. tags:
  6583. - 定制【海商报业】
  6584. /HSBY/QueryMyCollectionOrders:
  6585. get:
  6586. parameters:
  6587. - description: 页码
  6588. in: query
  6589. name: page
  6590. type: integer
  6591. - description: 每页条数
  6592. in: query
  6593. name: pagesize
  6594. type: integer
  6595. - description: 资金账户,格式:1,2,3
  6596. in: query
  6597. name: accountIDs
  6598. required: true
  6599. type: string
  6600. produces:
  6601. - application/json
  6602. responses:
  6603. "200":
  6604. description: OK
  6605. schema:
  6606. $ref: '#/definitions/models.HsbySellCollectionOrder'
  6607. "500":
  6608. description: Internal Server Error
  6609. schema:
  6610. $ref: '#/definitions/app.Response'
  6611. security:
  6612. - ApiKeyAuth: []
  6613. summary: 我的闲置中收款信息查询
  6614. tags:
  6615. - 定制【海商报业】
  6616. /HSBY/QueryMyCoupons:
  6617. get:
  6618. parameters:
  6619. - description: 资金账户列表,格式:1,2,3
  6620. in: query
  6621. name: accountIDs
  6622. required: true
  6623. type: string
  6624. - description: 商品ID, 一般与sellUserID配套传入
  6625. in: query
  6626. name: goodsID
  6627. type: integer
  6628. - description: 卖方UserID
  6629. in: query
  6630. name: sellUserID
  6631. type: integer
  6632. produces:
  6633. - application/json
  6634. responses:
  6635. "200":
  6636. description: OK
  6637. schema:
  6638. $ref: '#/definitions/models.MyCoupon'
  6639. "500":
  6640. description: Internal Server Error
  6641. schema:
  6642. $ref: '#/definitions/app.Response'
  6643. security:
  6644. - ApiKeyAuth: []
  6645. summary: 我的优惠卷查询
  6646. tags:
  6647. - 定制【海商报业】
  6648. /HSBY/QueryMyPayOrders:
  6649. get:
  6650. parameters:
  6651. - description: 页码
  6652. in: query
  6653. name: page
  6654. type: integer
  6655. - description: 每页条数
  6656. in: query
  6657. name: pagesize
  6658. type: integer
  6659. - description: 资金账户列表,格式:1,2,3
  6660. in: query
  6661. name: accountIDs
  6662. required: true
  6663. type: string
  6664. - description: 买方委托单号
  6665. in: query
  6666. name: buyOrderID
  6667. type: integer
  6668. - description: 卖方委托单号
  6669. in: query
  6670. name: sellOrderID
  6671. type: integer
  6672. produces:
  6673. - application/json
  6674. responses:
  6675. "200":
  6676. description: OK
  6677. schema:
  6678. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  6679. "500":
  6680. description: Internal Server Error
  6681. schema:
  6682. $ref: '#/definitions/app.Response'
  6683. security:
  6684. - ApiKeyAuth: []
  6685. summary: 获取我的订单中待付款信息
  6686. tags:
  6687. - 定制【海商报业】
  6688. /HSBY/QueryProvincesAndCities:
  6689. get:
  6690. description: 查询结果只包括二级市场商品已关连的省市信息。
  6691. parameters:
  6692. - description: 省ID
  6693. in: query
  6694. name: provinceID
  6695. type: integer
  6696. produces:
  6697. - application/json
  6698. responses:
  6699. "200":
  6700. description: OK
  6701. schema:
  6702. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  6703. "500":
  6704. description: Internal Server Error
  6705. schema:
  6706. $ref: '#/definitions/app.Response'
  6707. security:
  6708. - ApiKeyAuth: []
  6709. summary: 查询省市信息(不包括区)
  6710. tags:
  6711. - 定制【海商报业】
  6712. /HSBY/SetHsbyMyPackagesStatus:
  6713. post:
  6714. parameters:
  6715. - description: 提货单号
  6716. in: query
  6717. name: takeOrderID
  6718. required: true
  6719. type: string
  6720. - description: 资金账号
  6721. in: query
  6722. name: accountID
  6723. required: true
  6724. type: integer
  6725. produces:
  6726. - application/json
  6727. responses:
  6728. "200":
  6729. description: OK
  6730. schema:
  6731. $ref: '#/definitions/app.Response'
  6732. "500":
  6733. description: Internal Server Error
  6734. schema:
  6735. $ref: '#/definitions/app.Response'
  6736. security:
  6737. - ApiKeyAuth: []
  6738. summary: 设置我的包裹已收货状态
  6739. tags:
  6740. - 定制【海商报业】
  6741. /Order/QueryHisTradeDetail:
  6742. get:
  6743. parameters:
  6744. - description: 资金账户 - 格式:1,2,3
  6745. in: query
  6746. name: accountID
  6747. required: true
  6748. type: string
  6749. - description: 成交单号
  6750. in: query
  6751. name: tradeID
  6752. type: integer
  6753. - description: 委托单号
  6754. in: query
  6755. name: orderID
  6756. type: integer
  6757. - description: 交易模式 - 格式:1,2,3
  6758. in: query
  6759. name: tradeMode
  6760. type: string
  6761. - description: 委托单据类型
  6762. in: query
  6763. name: buildType
  6764. type: integer
  6765. - description: 成交类别 - 格式:1,2,3
  6766. in: query
  6767. name: tradeType
  6768. type: string
  6769. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6770. in: query
  6771. name: startDate
  6772. type: string
  6773. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6774. in: query
  6775. name: endDate
  6776. type: string
  6777. produces:
  6778. - application/json
  6779. responses:
  6780. "200":
  6781. description: OK
  6782. schema:
  6783. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  6784. "500":
  6785. description: Internal Server Error
  6786. schema:
  6787. $ref: '#/definitions/app.Response'
  6788. security:
  6789. - ApiKeyAuth: []
  6790. summary: 历史成交单查询(合约市场)
  6791. tags:
  6792. - 通用单据
  6793. /Order/QueryHisTradeOrderDetail:
  6794. get:
  6795. parameters:
  6796. - description: 资金账户 - 格式:1,2,3
  6797. in: query
  6798. name: accountID
  6799. required: true
  6800. type: string
  6801. - description: 交易模式 - 格式:1,2,3
  6802. in: query
  6803. name: tradeMode
  6804. type: string
  6805. - description: 委托状态 - 格式:1,2,3
  6806. in: query
  6807. name: orderStatus
  6808. type: string
  6809. - description: 委托单号
  6810. in: query
  6811. name: orderID
  6812. type: integer
  6813. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6814. in: query
  6815. name: startDate
  6816. type: string
  6817. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6818. in: query
  6819. name: endDate
  6820. type: string
  6821. produces:
  6822. - application/json
  6823. responses:
  6824. "200":
  6825. description: OK
  6826. schema:
  6827. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  6828. "500":
  6829. description: Internal Server Error
  6830. schema:
  6831. $ref: '#/definitions/app.Response'
  6832. security:
  6833. - ApiKeyAuth: []
  6834. summary: 历史委托单查询请求(合约市场)
  6835. tags:
  6836. - 通用单据
  6837. /Order/QueryTradeDetail:
  6838. get:
  6839. parameters:
  6840. - description: 资金账户 - 格式:1,2,3
  6841. in: query
  6842. name: accountID
  6843. required: true
  6844. type: string
  6845. - description: 成交单号
  6846. in: query
  6847. name: tradeID
  6848. type: integer
  6849. - description: 委托单号
  6850. in: query
  6851. name: orderID
  6852. type: integer
  6853. - description: 交易模式 - 格式:1,2,3
  6854. in: query
  6855. name: tradeMode
  6856. type: string
  6857. - description: 委托单据类型
  6858. in: query
  6859. name: buildType
  6860. type: integer
  6861. - description: 成交类别 - 格式:1,2,3
  6862. in: query
  6863. name: tradeType
  6864. type: string
  6865. produces:
  6866. - application/json
  6867. responses:
  6868. "200":
  6869. description: OK
  6870. schema:
  6871. $ref: '#/definitions/order.QueryTradeDetailRsp'
  6872. "500":
  6873. description: Internal Server Error
  6874. schema:
  6875. $ref: '#/definitions/app.Response'
  6876. security:
  6877. - ApiKeyAuth: []
  6878. summary: 成交单查询(合约市场)
  6879. tags:
  6880. - 通用单据
  6881. /Order/QueryTradeOrderDetail:
  6882. get:
  6883. parameters:
  6884. - description: 资金账户 - 格式:1,2,3
  6885. in: query
  6886. name: accountID
  6887. required: true
  6888. type: string
  6889. - description: 交易模式 - 格式:1,2,3
  6890. in: query
  6891. name: tradeMode
  6892. type: string
  6893. - description: 委托状态 - 格式:1,2,3
  6894. in: query
  6895. name: orderStatus
  6896. type: string
  6897. - description: 委托单号
  6898. in: query
  6899. name: orderID
  6900. type: integer
  6901. produces:
  6902. - application/json
  6903. responses:
  6904. "200":
  6905. description: OK
  6906. schema:
  6907. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  6908. "500":
  6909. description: Internal Server Error
  6910. schema:
  6911. $ref: '#/definitions/app.Response'
  6912. security:
  6913. - ApiKeyAuth: []
  6914. summary: 委托单查询请求(合约市场)
  6915. tags:
  6916. - 通用单据
  6917. /Order/QueryTradePosition:
  6918. get:
  6919. parameters:
  6920. - description: 资金账户 - 格式:1,2,3
  6921. in: query
  6922. name: accountID
  6923. required: true
  6924. type: string
  6925. - description: 交易模式 - 格式:1,2,3
  6926. in: query
  6927. name: tradeMode
  6928. type: string
  6929. produces:
  6930. - application/json
  6931. responses:
  6932. "200":
  6933. description: OK
  6934. schema:
  6935. $ref: '#/definitions/order.QueryTradePositionRsp'
  6936. "500":
  6937. description: Internal Server Error
  6938. schema:
  6939. $ref: '#/definitions/app.Response'
  6940. security:
  6941. - ApiKeyAuth: []
  6942. summary: 持仓汇总查询(合约市场)
  6943. tags:
  6944. - 通用单据
  6945. /Quote/QueryHistoryDatas:
  6946. get:
  6947. parameters:
  6948. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  6949. 日线 10: Tik'
  6950. in: query
  6951. name: cycleType
  6952. required: true
  6953. type: integer
  6954. - description: 商品代码
  6955. in: query
  6956. name: goodsCode
  6957. required: true
  6958. type: string
  6959. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  6960. in: query
  6961. name: startTime
  6962. type: string
  6963. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  6964. in: query
  6965. name: endTime
  6966. type: string
  6967. - description: 条数
  6968. in: query
  6969. name: count
  6970. type: integer
  6971. - description: 是否按时间顺序排序(默认为时间倒序排序)
  6972. in: query
  6973. name: isAsc
  6974. type: boolean
  6975. produces:
  6976. - application/json
  6977. responses:
  6978. "200":
  6979. description: OK
  6980. schema:
  6981. $ref: '#/definitions/quote.HistoryData'
  6982. "500":
  6983. description: Internal Server Error
  6984. schema:
  6985. $ref: '#/definitions/app.Response'
  6986. security:
  6987. - ApiKeyAuth: []
  6988. summary: 查询行情历史数据
  6989. tags:
  6990. - 行情服务
  6991. /Quote/QueryTSData:
  6992. get:
  6993. parameters:
  6994. - description: 商品代码
  6995. in: query
  6996. name: GoodsCode
  6997. required: true
  6998. type: string
  6999. produces:
  7000. - application/json
  7001. responses:
  7002. "200":
  7003. description: OK
  7004. schema:
  7005. $ref: '#/definitions/quote.QueryTSDataRsp'
  7006. "500":
  7007. description: Internal Server Error
  7008. schema:
  7009. $ref: '#/definitions/app.Response'
  7010. summary: 分时图数据查询
  7011. tags:
  7012. - 行情服务
  7013. /SZDZ/QueryConvertConfig:
  7014. get:
  7015. parameters:
  7016. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7017. 6:交易转花生米(不设置)
  7018. in: query
  7019. name: convertType
  7020. type: integer
  7021. - description: 外部商品代码[JD\PD]
  7022. in: query
  7023. name: outerGoodsCode
  7024. type: string
  7025. - description: 内部商品ID列表[交易],格式:1,2,3
  7026. in: query
  7027. name: innerGoodsIDs
  7028. type: string
  7029. produces:
  7030. - application/json
  7031. responses:
  7032. "200":
  7033. description: OK
  7034. schema:
  7035. $ref: '#/definitions/models.Szdz3convertconfig'
  7036. "500":
  7037. description: Internal Server Error
  7038. schema:
  7039. $ref: '#/definitions/app.Response'
  7040. security:
  7041. - ApiKeyAuth: []
  7042. summary: 查询交易系统转换设置
  7043. tags:
  7044. - 定制【尚志大宗】
  7045. /SZDZ/QueryConvertLog:
  7046. get:
  7047. parameters:
  7048. - description: 资金账户 - 格式:1,2,3
  7049. in: query
  7050. name: accountID
  7051. required: true
  7052. type: string
  7053. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  7054. in: query
  7055. name: startDate
  7056. type: string
  7057. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  7058. in: query
  7059. name: endDate
  7060. type: string
  7061. produces:
  7062. - application/json
  7063. responses:
  7064. "200":
  7065. description: OK
  7066. schema:
  7067. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  7068. "500":
  7069. description: Internal Server Error
  7070. schema:
  7071. $ref: '#/definitions/app.Response'
  7072. security:
  7073. - ApiKeyAuth: []
  7074. summary: 交易系统转换流水查询
  7075. tags:
  7076. - 定制【尚志大宗】
  7077. /SZDZ/QueryGoodsPickup:
  7078. get:
  7079. parameters:
  7080. - description: 资金账户 - 格式:1,2,3
  7081. in: query
  7082. name: accountID
  7083. required: true
  7084. type: string
  7085. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7086. in: query
  7087. name: takeOrderStatus
  7088. type: integer
  7089. produces:
  7090. - application/json
  7091. responses:
  7092. "200":
  7093. description: OK
  7094. schema:
  7095. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  7096. "500":
  7097. description: Internal Server Error
  7098. schema:
  7099. $ref: '#/definitions/app.Response'
  7100. security:
  7101. - ApiKeyAuth: []
  7102. summary: 商品提货单查询
  7103. tags:
  7104. - 定制【尚志大宗】
  7105. /SZDZ/QueryRecieptOrder:
  7106. get:
  7107. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  7108. parameters:
  7109. - description: 页码
  7110. in: query
  7111. name: page
  7112. type: integer
  7113. - description: 每页条数
  7114. in: query
  7115. name: pagesize
  7116. type: integer
  7117. - description: 商品ID
  7118. in: query
  7119. name: goodsID
  7120. required: true
  7121. type: integer
  7122. - description: 所属账户名称
  7123. in: query
  7124. name: accountName
  7125. type: string
  7126. - description: 市场ID
  7127. in: query
  7128. name: marketID
  7129. type: integer
  7130. - description: 方向 - 0:买 1:卖
  7131. in: query
  7132. name: buyorsell
  7133. required: true
  7134. type: integer
  7135. produces:
  7136. - application/json
  7137. responses:
  7138. "200":
  7139. description: OK
  7140. schema:
  7141. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  7142. "500":
  7143. description: Internal Server Error
  7144. schema:
  7145. $ref: '#/definitions/app.Response'
  7146. security:
  7147. - ApiKeyAuth: []
  7148. summary: 点选挂牌委托单据查询(摘牌大厅)
  7149. tags:
  7150. - 定制【尚志大宗】
  7151. /SZDZ/QuerySZDZTradePosition:
  7152. get:
  7153. parameters:
  7154. - description: 资金账户
  7155. in: query
  7156. name: accountID
  7157. required: true
  7158. type: integer
  7159. produces:
  7160. - application/json
  7161. responses:
  7162. "200":
  7163. description: OK
  7164. schema:
  7165. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  7166. "500":
  7167. description: Internal Server Error
  7168. schema:
  7169. $ref: '#/definitions/app.Response'
  7170. security:
  7171. - ApiKeyAuth: []
  7172. summary: 持仓汇总查询(尚志大宗)
  7173. tags:
  7174. - 定制【尚志大宗】
  7175. /SZDZ/SearchWhite:
  7176. get:
  7177. parameters:
  7178. - description: 用户ID
  7179. in: query
  7180. name: userID
  7181. required: true
  7182. type: integer
  7183. produces:
  7184. - application/json
  7185. responses:
  7186. "200":
  7187. description: OK
  7188. schema:
  7189. $ref: '#/definitions/models.Szdz3searchwhitelist'
  7190. "500":
  7191. description: Internal Server Error
  7192. schema:
  7193. $ref: '#/definitions/app.Response'
  7194. security:
  7195. - ApiKeyAuth: []
  7196. summary: 搜索白名单
  7197. tags:
  7198. - 定制【尚志大宗】
  7199. /Search/SearchGoodses:
  7200. get:
  7201. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  7202. parameters:
  7203. - description: 检索内容
  7204. in: query
  7205. name: content
  7206. required: true
  7207. type: string
  7208. - description: 交易模式,格式:1,2,3
  7209. in: query
  7210. name: tradeModes
  7211. type: string
  7212. produces:
  7213. - application/json
  7214. responses:
  7215. "200":
  7216. description: OK
  7217. schema:
  7218. $ref: '#/definitions/models.SearchGoods'
  7219. "500":
  7220. description: Internal Server Error
  7221. schema:
  7222. $ref: '#/definitions/app.Response'
  7223. summary: 检索商品信息
  7224. tags:
  7225. - 检索服务
  7226. /TaAccount/QueryAmountLog:
  7227. get:
  7228. parameters:
  7229. - description: 页码
  7230. in: query
  7231. name: page
  7232. type: integer
  7233. - description: 每页条数
  7234. in: query
  7235. name: pagesize
  7236. type: integer
  7237. - description: 资金账户 - 格式:1,2,3
  7238. in: query
  7239. name: accountID
  7240. required: true
  7241. type: string
  7242. - description: 资金操作类型 - 格式:1,2,3
  7243. in: query
  7244. name: OperateType
  7245. type: string
  7246. produces:
  7247. - application/json
  7248. responses:
  7249. "200":
  7250. description: OK
  7251. schema:
  7252. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  7253. "500":
  7254. description: Internal Server Error
  7255. schema:
  7256. $ref: '#/definitions/app.Response'
  7257. security:
  7258. - ApiKeyAuth: []
  7259. summary: 资金流水查询(当前)
  7260. tags:
  7261. - 资金账户
  7262. /TaAccount/QueryHisAmountLog:
  7263. get:
  7264. parameters:
  7265. - description: 页码
  7266. in: query
  7267. name: page
  7268. type: integer
  7269. - description: 每页条数
  7270. in: query
  7271. name: pagesize
  7272. type: integer
  7273. - description: 资金账户 - 格式:1,2,3
  7274. in: query
  7275. name: accountID
  7276. required: true
  7277. type: string
  7278. - description: 资金操作类型 - 格式:1,2,3
  7279. in: query
  7280. name: OperateType
  7281. type: string
  7282. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  7283. in: query
  7284. name: startDate
  7285. type: string
  7286. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  7287. in: query
  7288. name: endDate
  7289. type: string
  7290. produces:
  7291. - application/json
  7292. responses:
  7293. "200":
  7294. description: OK
  7295. schema:
  7296. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  7297. "500":
  7298. description: Internal Server Error
  7299. schema:
  7300. $ref: '#/definitions/app.Response'
  7301. security:
  7302. - ApiKeyAuth: []
  7303. summary: 资金流水查询(历史)
  7304. tags:
  7305. - 资金账户
  7306. /Trade/QueryRecieptOrder:
  7307. get:
  7308. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  7309. parameters:
  7310. - description: 页码
  7311. in: query
  7312. name: page
  7313. type: integer
  7314. - description: 每页条数
  7315. in: query
  7316. name: pagesize
  7317. type: integer
  7318. - description: 商品ID
  7319. in: query
  7320. name: goodsID
  7321. required: true
  7322. type: integer
  7323. - description: 所属账户名称
  7324. in: query
  7325. name: accountName
  7326. type: string
  7327. - description: 市场ID
  7328. in: query
  7329. name: marketID
  7330. type: integer
  7331. - description: 方向 - 0:买 1:卖
  7332. in: query
  7333. name: buyorsell
  7334. required: true
  7335. type: integer
  7336. produces:
  7337. - application/json
  7338. responses:
  7339. "200":
  7340. description: OK
  7341. schema:
  7342. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  7343. "500":
  7344. description: Internal Server Error
  7345. schema:
  7346. $ref: '#/definitions/app.Response'
  7347. security:
  7348. - ApiKeyAuth: []
  7349. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  7350. tags:
  7351. - 通用交易
  7352. /User/AddMessageBoard:
  7353. post:
  7354. parameters:
  7355. - description: 用户ID
  7356. in: query
  7357. name: userID
  7358. required: true
  7359. type: integer
  7360. - description: 留言信息
  7361. in: query
  7362. name: message
  7363. required: true
  7364. type: string
  7365. produces:
  7366. - application/json
  7367. responses:
  7368. "200":
  7369. description: OK
  7370. schema:
  7371. $ref: '#/definitions/app.Response'
  7372. "500":
  7373. description: Internal Server Error
  7374. schema:
  7375. $ref: '#/definitions/app.Response'
  7376. security:
  7377. - ApiKeyAuth: []
  7378. summary: 添加用户留言板信息
  7379. tags:
  7380. - 用户信息
  7381. /User/AddUserFavoriteGoods:
  7382. post:
  7383. parameters:
  7384. - description: 用户ID
  7385. in: query
  7386. name: userID
  7387. required: true
  7388. type: integer
  7389. - description: 商品ID
  7390. in: query
  7391. name: goodsID
  7392. required: true
  7393. type: integer
  7394. produces:
  7395. - application/json
  7396. responses:
  7397. "200":
  7398. description: OK
  7399. schema:
  7400. $ref: '#/definitions/app.Response'
  7401. "500":
  7402. description: Internal Server Error
  7403. schema:
  7404. $ref: '#/definitions/app.Response'
  7405. security:
  7406. - ApiKeyAuth: []
  7407. summary: 添加用户商品收藏信息
  7408. tags:
  7409. - 用户信息
  7410. /User/GetLoginID:
  7411. get:
  7412. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  7413. parameters:
  7414. - description: 登录代码
  7415. in: query
  7416. name: username
  7417. required: true
  7418. type: string
  7419. produces:
  7420. - application/json
  7421. responses:
  7422. "200":
  7423. description: OK
  7424. schema:
  7425. $ref: '#/definitions/app.Response'
  7426. "500":
  7427. description: Internal Server Error
  7428. schema:
  7429. $ref: '#/definitions/app.Response'
  7430. summary: 获取登录ID
  7431. tags:
  7432. - 用户信息
  7433. /User/GetUserAccount:
  7434. get:
  7435. parameters:
  7436. - description: 用户ID
  7437. in: query
  7438. name: userID
  7439. required: true
  7440. type: integer
  7441. produces:
  7442. - application/json
  7443. responses:
  7444. "200":
  7445. description: OK
  7446. schema:
  7447. $ref: '#/definitions/models.Useraccount'
  7448. "500":
  7449. description: Internal Server Error
  7450. schema:
  7451. $ref: '#/definitions/app.Response'
  7452. security:
  7453. - ApiKeyAuth: []
  7454. summary: 获取用户账号信息
  7455. tags:
  7456. - 用户信息
  7457. /User/GetUserAuthStatus:
  7458. get:
  7459. parameters:
  7460. - description: 用户ID
  7461. in: query
  7462. name: userID
  7463. required: true
  7464. type: integer
  7465. produces:
  7466. - application/json
  7467. responses:
  7468. "200":
  7469. description: OK
  7470. schema:
  7471. $ref: '#/definitions/app.Response'
  7472. "500":
  7473. description: Internal Server Error
  7474. schema:
  7475. $ref: '#/definitions/app.Response'
  7476. security:
  7477. - ApiKeyAuth: []
  7478. summary: 获取用户实名认证状态
  7479. tags:
  7480. - 用户信息
  7481. /User/QueryMessageBoard:
  7482. get:
  7483. parameters:
  7484. - description: 用户ID
  7485. in: query
  7486. name: userID
  7487. required: true
  7488. type: integer
  7489. produces:
  7490. - application/json
  7491. responses:
  7492. "200":
  7493. description: OK
  7494. schema:
  7495. $ref: '#/definitions/models.Messageboard'
  7496. "500":
  7497. description: Internal Server Error
  7498. schema:
  7499. $ref: '#/definitions/app.Response'
  7500. security:
  7501. - ApiKeyAuth: []
  7502. summary: 获取用户留言板信息
  7503. tags:
  7504. - 用户信息
  7505. /User/QueryUserFavoriteGoodses:
  7506. get:
  7507. parameters:
  7508. - description: 用户ID
  7509. in: query
  7510. name: userID
  7511. required: true
  7512. type: integer
  7513. produces:
  7514. - application/json
  7515. responses:
  7516. "200":
  7517. description: OK
  7518. schema:
  7519. $ref: '#/definitions/models.Userfavoritegoods'
  7520. "500":
  7521. description: Internal Server Error
  7522. schema:
  7523. $ref: '#/definitions/app.Response'
  7524. security:
  7525. - ApiKeyAuth: []
  7526. summary: 获取用户商品收藏信息
  7527. tags:
  7528. - 用户信息
  7529. /User/QueryUserInfo:
  7530. get:
  7531. parameters:
  7532. - description: 用户ID
  7533. in: query
  7534. name: userID
  7535. required: true
  7536. type: integer
  7537. produces:
  7538. - application/json
  7539. responses:
  7540. "200":
  7541. description: OK
  7542. schema:
  7543. $ref: '#/definitions/models.Userinfo'
  7544. "500":
  7545. description: Internal Server Error
  7546. schema:
  7547. $ref: '#/definitions/app.Response'
  7548. security:
  7549. - ApiKeyAuth: []
  7550. summary: 获取用户信息
  7551. tags:
  7552. - 用户信息
  7553. /User/QueryUserReferNum:
  7554. get:
  7555. parameters:
  7556. - description: 用户ID
  7557. in: query
  7558. name: userID
  7559. required: true
  7560. type: integer
  7561. produces:
  7562. - application/json
  7563. responses:
  7564. "200":
  7565. description: OK
  7566. schema:
  7567. $ref: '#/definitions/app.Response'
  7568. "500":
  7569. description: Internal Server Error
  7570. schema:
  7571. $ref: '#/definitions/app.Response'
  7572. summary: 获取用户邀请码
  7573. tags:
  7574. - 用户信息
  7575. /User/RemoveUserFavoriteGoods:
  7576. post:
  7577. parameters:
  7578. - description: 用户ID
  7579. in: query
  7580. name: userID
  7581. required: true
  7582. type: integer
  7583. - description: 商品ID
  7584. in: query
  7585. name: goodsID
  7586. required: true
  7587. type: integer
  7588. produces:
  7589. - application/json
  7590. responses:
  7591. "200":
  7592. description: OK
  7593. schema:
  7594. $ref: '#/definitions/app.Response'
  7595. "500":
  7596. description: Internal Server Error
  7597. schema:
  7598. $ref: '#/definitions/app.Response'
  7599. security:
  7600. - ApiKeyAuth: []
  7601. summary: 移除用户商品收藏信息
  7602. tags:
  7603. - 用户信息
  7604. /WR/GetWRCategoryInfo:
  7605. get:
  7606. produces:
  7607. - application/json
  7608. responses:
  7609. "200":
  7610. description: OK
  7611. schema:
  7612. $ref: '#/definitions/models.WRCategoryTree'
  7613. "500":
  7614. description: Internal Server Error
  7615. schema:
  7616. $ref: '#/definitions/app.Response'
  7617. summary: 获取现货分类信息
  7618. tags:
  7619. - 仓单服务
  7620. /WRTrade/GetAllDeliveryGoods:
  7621. get:
  7622. produces:
  7623. - application/json
  7624. - application/json
  7625. responses:
  7626. "200":
  7627. description: OK
  7628. schema:
  7629. $ref: '#/definitions/app.Response'
  7630. "500":
  7631. description: Internal Server Error
  7632. schema:
  7633. $ref: '#/definitions/app.Response'
  7634. security:
  7635. - ApiKeyAuth: []
  7636. - ApiKeyAuth: []
  7637. summary: 获取带仓单分类的种类信息
  7638. tags:
  7639. - 仓单贸易
  7640. - 仓单贸易
  7641. securityDefinitions:
  7642. ApiKeyAuth:
  7643. in: header
  7644. name: Authorization
  7645. type: apiKey
  7646. swagger: "2.0"