swagger.yaml 210 KB

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