swagger.yaml 213 KB

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