swagger.yaml 198 KB

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