swagger.yaml 186 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779
  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.AddSpotContractApplyReq:
  1207. properties:
  1208. accountid:
  1209. description: 资金账户ID
  1210. type: integer
  1211. areauserid:
  1212. description: 所属机构
  1213. type: integer
  1214. contractattachment:
  1215. description: 合同附件
  1216. type: string
  1217. contractno:
  1218. description: 现货合同编号
  1219. type: string
  1220. contracttype:
  1221. description: 现货合同类型 - 1:采购 -1:销售
  1222. type: integer
  1223. creatorid:
  1224. description: 申请人
  1225. type: integer
  1226. customeraccountid:
  1227. description: 客户资金账户ID
  1228. type: integer
  1229. customeruserid:
  1230. description: 客户ID
  1231. type: integer
  1232. details:
  1233. description: 明细
  1234. items:
  1235. $ref: '#/definitions/erms3.SoptContractDetail'
  1236. type: array
  1237. orimargin:
  1238. description: 初始保证金
  1239. type: number
  1240. remark:
  1241. description: 备注
  1242. type: string
  1243. signdate:
  1244. description: 签订日期
  1245. type: string
  1246. required:
  1247. - accountid
  1248. - areauserid
  1249. - contractno
  1250. - contracttype
  1251. - customeraccountid
  1252. - customeruserid
  1253. - details
  1254. - orimargin
  1255. - signdate
  1256. type: object
  1257. erms3.AddSpotContractApplyRsp:
  1258. properties:
  1259. contractno:
  1260. description: 现货合同编号
  1261. type: string
  1262. spotcontractid:
  1263. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1264. type: integer
  1265. required:
  1266. - contractno
  1267. type: object
  1268. erms3.AddUserInfoApplyReq:
  1269. properties:
  1270. accountid:
  1271. description: 交易系统帐号Id (加密存储)
  1272. type: integer
  1273. areacode:
  1274. description: 机构代码
  1275. type: string
  1276. areaid:
  1277. description: 机构Id
  1278. type: integer
  1279. attachment1:
  1280. description: 附件1
  1281. type: string
  1282. attachment2:
  1283. description: 附件2
  1284. type: string
  1285. attachment3:
  1286. description: 附件3
  1287. type: string
  1288. attachment4:
  1289. description: 附件4
  1290. type: string
  1291. attachment5:
  1292. description: 附件5
  1293. type: string
  1294. auditedby:
  1295. description: 审核人
  1296. type: string
  1297. auditime:
  1298. description: 审核时间
  1299. type: string
  1300. bankaccount:
  1301. description: 银行帐号 (加密存储)
  1302. type: string
  1303. bankaccountname:
  1304. description: 收款人名称
  1305. type: string
  1306. bankcardbackphotourl:
  1307. description: 银行卡背面照地址
  1308. type: string
  1309. bankcardfrontphotourl:
  1310. description: 银行卡正面照地址
  1311. type: string
  1312. bankid:
  1313. description: 银行编码
  1314. type: string
  1315. bankname:
  1316. description: 银行名称
  1317. type: string
  1318. bankpictureurl:
  1319. description: 银行卡正面地址
  1320. type: string
  1321. biznature:
  1322. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1323. type: integer
  1324. bizscope:
  1325. description: 企业经营范围(企业)
  1326. type: string
  1327. biztype:
  1328. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1329. type: integer
  1330. brokerid:
  1331. description: 经纪人ID(加密存储)
  1332. type: string
  1333. cardaddress:
  1334. description: 证件地址 (加密存储)
  1335. type: string
  1336. cardbackphotourl:
  1337. description: 背面证件照地址
  1338. type: string
  1339. cardfrontphotourl:
  1340. description: 正面证件照地址
  1341. type: string
  1342. cardnum:
  1343. description: 证件号码 (加密存储)
  1344. type: string
  1345. cardtype:
  1346. description: 证件类型
  1347. type: integer
  1348. cityid:
  1349. description: 市
  1350. type: integer
  1351. company:
  1352. description: 公司(个人)
  1353. type: string
  1354. contactcardbackphotourl:
  1355. description: 联系人证件背面图片地址
  1356. type: string
  1357. contactcardfrontphotourl:
  1358. description: 联系人证件正面图片地址
  1359. type: string
  1360. contactname:
  1361. description: 联系人
  1362. type: string
  1363. countryid:
  1364. description: 国家
  1365. type: integer
  1366. createtime:
  1367. description: 开户申请时间
  1368. type: string
  1369. cusbankid:
  1370. description: 签约类型
  1371. type: string
  1372. cusbankname:
  1373. description: 签约类型名称
  1374. type: string
  1375. customername:
  1376. description: 客户名称(企业名称)
  1377. type: string
  1378. districtid:
  1379. description: 地区
  1380. type: integer
  1381. email:
  1382. description: Email地址(加密存储)
  1383. type: string
  1384. halfbodyphotourl:
  1385. description: 半身照地址
  1386. type: string
  1387. headurl:
  1388. description: 头像地址
  1389. type: string
  1390. ipaddress:
  1391. description: IP地址
  1392. type: string
  1393. isvalidate:
  1394. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1395. type: string
  1396. legalcardbackphotourl:
  1397. description: 法人身份证背面照地址
  1398. type: string
  1399. legalcardfrontphotourl:
  1400. description: 法人身份证正面照地址
  1401. type: string
  1402. legalpersonname:
  1403. description: 法人姓名(企业)
  1404. type: string
  1405. logincode:
  1406. description: 登录帐号 (加密存储)
  1407. type: string
  1408. memberareaid:
  1409. description: 所属会员ID
  1410. type: integer
  1411. mobile2:
  1412. description: 手机号码[明文-尚志]
  1413. type: string
  1414. mobilephone:
  1415. description: 手机号码 (加密存储)
  1416. type: string
  1417. modifiedby:
  1418. description: 修改人帐号
  1419. type: integer
  1420. modifiedtime:
  1421. description: 修改时间
  1422. type: string
  1423. nickname:
  1424. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1425. type: string
  1426. openmode:
  1427. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1428. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1429. type: integer
  1430. otherurl:
  1431. description: 其它图片地址[使用分号分隔]
  1432. type: string
  1433. postalcode:
  1434. description: 邮政编码
  1435. type: string
  1436. provinceid:
  1437. description: 省
  1438. type: integer
  1439. proxystatementurl:
  1440. description: 授权委托书
  1441. type: string
  1442. qq:
  1443. description: QQ(加密存储
  1444. type: string
  1445. referral:
  1446. description: 推荐人编码
  1447. type: string
  1448. remark:
  1449. description: 备注
  1450. type: string
  1451. removebeforestatus:
  1452. description: REMOVEBEFORESTATUS
  1453. type: integer
  1454. sex:
  1455. description: 性别 - 0:女 1:男
  1456. type: integer
  1457. signedstatus:
  1458. description: 账户一号签签约状态
  1459. type: integer
  1460. signpdfurl:
  1461. description: 签约pdf文件
  1462. type: string
  1463. subbranch:
  1464. description: 开户支行
  1465. type: string
  1466. telphone:
  1467. description: 联系电话(加密存储)
  1468. type: string
  1469. userid:
  1470. description: 用户ID(自增ID)
  1471. type: integer
  1472. userinfotype:
  1473. description: 用户信息类型 - 1:个人 2:企业
  1474. type: integer
  1475. username:
  1476. description: 用户姓名
  1477. type: string
  1478. userstate:
  1479. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1480. type: integer
  1481. usertype:
  1482. description: 用户类型 - 1:投资者 2:机构
  1483. type: integer
  1484. videourl:
  1485. description: 视频地址
  1486. type: string
  1487. wechat:
  1488. description: 微信号 (加密存储)
  1489. type: string
  1490. required:
  1491. - userid
  1492. type: object
  1493. erms3.CustomerInfo:
  1494. properties:
  1495. accountids:
  1496. description: 资金账户ID列表
  1497. items:
  1498. type: integer
  1499. type: array
  1500. customername:
  1501. description: 名称(企业名称)
  1502. type: string
  1503. mobile:
  1504. description: 手机号码
  1505. type: string
  1506. userid:
  1507. description: 用户ID
  1508. type: integer
  1509. required:
  1510. - userid
  1511. type: object
  1512. erms3.QryAuditContractRsp:
  1513. properties:
  1514. accountid:
  1515. description: 交易员ID
  1516. type: string
  1517. applystatus:
  1518. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1519. type: integer
  1520. curdeliveryqty:
  1521. description: 未交收量
  1522. type: integer
  1523. customername:
  1524. description: 采购方ID
  1525. type: string
  1526. deliverygoodsid:
  1527. description: 品种ID
  1528. type: string
  1529. deliveryqty:
  1530. description: 交收量
  1531. type: integer
  1532. enumdicname:
  1533. description: 单位名称
  1534. type: string
  1535. matchaccountid:
  1536. description: 业务员ID
  1537. type: string
  1538. matchcustomername:
  1539. description: 销售方ID
  1540. type: string
  1541. pricedqty:
  1542. description: 定价量
  1543. type: number
  1544. signdate:
  1545. description: 签订日期
  1546. type: string
  1547. spotcontractid:
  1548. description: 合同ID
  1549. type: string
  1550. totaldqty:
  1551. description: 合同量
  1552. type: number
  1553. unpricedqty:
  1554. description: 未定价量
  1555. type: number
  1556. wrstandardname:
  1557. description: 商品名称
  1558. type: string
  1559. required:
  1560. - matchcustomername
  1561. - spotcontractid
  1562. type: object
  1563. erms3.QryPendingBizRsp:
  1564. properties:
  1565. accountid:
  1566. description: 现货账户
  1567. type: string
  1568. areaname:
  1569. description: 所属部门
  1570. type: string
  1571. bizid:
  1572. description: 业务ID
  1573. type: string
  1574. bizname:
  1575. description: 业务名称
  1576. type: string
  1577. status:
  1578. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1579. type: integer
  1580. type:
  1581. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  1582. type: integer
  1583. type: object
  1584. erms3.QueryBusinessInfoRsp:
  1585. properties:
  1586. businessid:
  1587. description: 业务ID.
  1588. type: integer
  1589. buyamount:
  1590. description: 采购额.
  1591. type: number
  1592. buyqty:
  1593. description: 采购量.
  1594. type: string
  1595. futurepl:
  1596. description: 期货盈亏.
  1597. type: number
  1598. futureqty:
  1599. description: 期货敞口.
  1600. type: string
  1601. goodsid:
  1602. description: 商品名称/商品代码.
  1603. type: string
  1604. hedgingqty:
  1605. description: 套保量.
  1606. type: string
  1607. sellamount:
  1608. description: 销售额.
  1609. type: number
  1610. sellqty:
  1611. description: 销售量.
  1612. type: string
  1613. spotmarketvalue:
  1614. description: 现货市值.
  1615. type: number
  1616. spotpl:
  1617. description: 浮动权益.
  1618. type: number
  1619. spotqty:
  1620. description: 现货量.
  1621. type: string
  1622. statu:
  1623. description: 状态,0-未结束 1-已结束.
  1624. type: integer
  1625. totalpl:
  1626. description: 总盈亏.
  1627. type: number
  1628. totalqty:
  1629. description: 总敞口.
  1630. type: string
  1631. type:
  1632. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  1633. type: integer
  1634. type: object
  1635. erms3.QuerySpotContractAppleFormRsp:
  1636. properties:
  1637. goodses:
  1638. description: 合约列表
  1639. items:
  1640. $ref: '#/definitions/models.GoodsIDAndName'
  1641. type: array
  1642. oppositeusers:
  1643. description: 对方账号列表
  1644. items:
  1645. $ref: '#/definitions/erms3.CustomerInfo'
  1646. type: array
  1647. ouruser:
  1648. $ref: '#/definitions/erms3.CustomerInfo'
  1649. description: 我方账号
  1650. warehouseinfos:
  1651. description: 仓库信息列表
  1652. items:
  1653. $ref: '#/definitions/models.Warehouseinfo'
  1654. type: array
  1655. wrstandards:
  1656. description: 仓单标准列表
  1657. items:
  1658. $ref: '#/definitions/models.WRStandardInfo'
  1659. type: array
  1660. type: object
  1661. erms3.QuerySpotContractInfoRsp:
  1662. properties:
  1663. accountid:
  1664. description: 表示交易员ID.
  1665. type: integer
  1666. curdeliveryqty:
  1667. description: 表示未交收量.
  1668. type: number
  1669. customername:
  1670. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  1671. type: string
  1672. deliverygoodsid:
  1673. description: 表示品种ID.
  1674. type: string
  1675. deliveryqty:
  1676. description: 表示交收量.
  1677. type: number
  1678. matchaccountid:
  1679. description: 表示业务员ID.
  1680. type: integer
  1681. matchcustomername:
  1682. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  1683. type: string
  1684. priceqty:
  1685. description: 表示定价量.
  1686. type: number
  1687. relatedbizid:
  1688. description: 表示业务ID.
  1689. type: string
  1690. signdate:
  1691. description: 表示签订日期.
  1692. type: string
  1693. spotcontractid:
  1694. description: 合同ID
  1695. type: string
  1696. status:
  1697. description: 表示状态,0-履约中 1-已完成.
  1698. type: integer
  1699. totalqty:
  1700. description: 表示合同量.
  1701. type: number
  1702. unpricedqty:
  1703. description: 表示未定价量.
  1704. type: number
  1705. wrstandardname:
  1706. description: 表示商品ID.
  1707. type: string
  1708. type: object
  1709. erms3.QueryUserInfoAppliesRsp:
  1710. properties:
  1711. biznature:
  1712. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1713. type: integer
  1714. contactname:
  1715. description: 联系人
  1716. type: string
  1717. createtime:
  1718. description: 开户申请时间
  1719. type: string
  1720. userid:
  1721. description: 用户ID(自增ID)
  1722. type: integer
  1723. userinfotype:
  1724. description: 用户信息类型 - 1:个人 2:企业
  1725. type: integer
  1726. username:
  1727. description: 用户姓名
  1728. type: string
  1729. userstate:
  1730. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1731. type: integer
  1732. required:
  1733. - userid
  1734. type: object
  1735. erms3.QueryUserInfosRsp:
  1736. properties:
  1737. biznature:
  1738. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1739. type: integer
  1740. contactname:
  1741. description: 联系人
  1742. type: string
  1743. customername:
  1744. description: 客户名称(企业名称)
  1745. type: string
  1746. userid:
  1747. description: 用户ID
  1748. type: integer
  1749. userinfotype:
  1750. description: 用户信息类型 - 1:个人 2:企业
  1751. type: integer
  1752. userstatus:
  1753. description: 用户状态 - 1:正常 2:注销
  1754. type: integer
  1755. required:
  1756. - userid
  1757. type: object
  1758. erms3.SoptContractDetail:
  1759. properties:
  1760. deliverygoodsdesc:
  1761. description: 现货品种说明
  1762. type: string
  1763. deliverygoodsid:
  1764. description: 现货品种ID
  1765. type: integer
  1766. deliverygoodsname:
  1767. description: 现货品种名称
  1768. type: string
  1769. pointdesc:
  1770. description: 点价描述
  1771. type: string
  1772. producttype:
  1773. description: 产品类型 1:标准仓单 2:等标 3:非标
  1774. type: integer
  1775. producttypename:
  1776. description: 产品类型名称
  1777. type: string
  1778. spotPointOrderVoList:
  1779. description: 点价列表
  1780. items:
  1781. $ref: '#/definitions/erms3.SpotPointOrder'
  1782. type: array
  1783. spotPriceOrderList:
  1784. description: 定价列表
  1785. items:
  1786. $ref: '#/definitions/erms3.SpotPriceOrder'
  1787. type: array
  1788. unitname:
  1789. description: 单位名称
  1790. type: string
  1791. warehouseid:
  1792. description: 仓库ID
  1793. type: integer
  1794. warehousename:
  1795. description: 仓库名称
  1796. type: string
  1797. wrstandardid:
  1798. description: 交易标的ID
  1799. type: integer
  1800. wrstandardname:
  1801. description: 交易标的名称
  1802. type: string
  1803. required:
  1804. - deliverygoodsid
  1805. - producttype
  1806. - unitname
  1807. - warehouseid
  1808. - wrstandardid
  1809. - wrstandardname
  1810. type: object
  1811. erms3.SpotPointOrder:
  1812. properties:
  1813. basic:
  1814. description: 基差
  1815. type: number
  1816. deliveryendtdate:
  1817. description: 交收结束日期
  1818. type: string
  1819. deliverystartdate:
  1820. description: 交收开始日期
  1821. type: string
  1822. enddate:
  1823. description: 点价结束日期
  1824. type: string
  1825. goodsid:
  1826. description: 商品ID
  1827. type: integer
  1828. goodsname:
  1829. description: 商品名称
  1830. type: string
  1831. qty:
  1832. description: 数量
  1833. type: number
  1834. startdate:
  1835. description: 点价开始日期
  1836. type: string
  1837. required:
  1838. - basic
  1839. - goodsid
  1840. - qty
  1841. type: object
  1842. erms3.SpotPriceOrder:
  1843. properties:
  1844. amount:
  1845. description: 金额
  1846. type: number
  1847. deliveryendtdate:
  1848. description: 交收结束日期
  1849. type: string
  1850. deliverystartdate:
  1851. description: 交收开始日期
  1852. type: string
  1853. price:
  1854. description: 价格
  1855. type: number
  1856. qty:
  1857. description: 数量
  1858. type: number
  1859. required:
  1860. - amount
  1861. - price
  1862. - qty
  1863. type: object
  1864. hsby.GetHsbyMyCountRsp:
  1865. properties:
  1866. myOrderDetailListingCount:
  1867. description: 我的订单求购中数量
  1868. type: integer
  1869. myOrderDetailPreCount:
  1870. description: 我的订单抢购中数量
  1871. type: integer
  1872. myPackageUnReceiveCount:
  1873. description: 我的包裹待收货数量
  1874. type: integer
  1875. myPackageUnSendCount:
  1876. description: 我的包裹待发货数量
  1877. type: integer
  1878. type: object
  1879. hsby.QueryProvincesAndCitiesRsp:
  1880. properties:
  1881. cities:
  1882. description: 市
  1883. items:
  1884. $ref: '#/definitions/models.Division'
  1885. type: array
  1886. province:
  1887. $ref: '#/definitions/models.Division'
  1888. description: 省
  1889. type: object
  1890. models.Division:
  1891. properties:
  1892. autoid:
  1893. description: 自增ID
  1894. type: integer
  1895. divisioncode:
  1896. description: 行政代码
  1897. type: string
  1898. divisionlevel:
  1899. description: 行政级别
  1900. type: string
  1901. divisionname:
  1902. description: 行政名称
  1903. type: string
  1904. modifierid:
  1905. description: 修改人
  1906. type: integer
  1907. modifytime:
  1908. description: 修改时间
  1909. type: string
  1910. parentcode:
  1911. description: 上级行政代码
  1912. type: string
  1913. pathname:
  1914. description: 路径名称
  1915. type: string
  1916. postcode:
  1917. description: 邮政编码
  1918. type: string
  1919. separablename:
  1920. description: 可拆分的全称
  1921. type: string
  1922. shortcode:
  1923. description: 地区简码
  1924. type: string
  1925. required:
  1926. - autoid
  1927. - divisioncode
  1928. type: object
  1929. models.Enumdicitem:
  1930. properties:
  1931. autoid:
  1932. description: 自增ID
  1933. type: integer
  1934. bankmappedvalue:
  1935. description: 银行服务对应值
  1936. type: string
  1937. enumdiccode:
  1938. description: 所属枚举代码
  1939. type: string
  1940. enumdicid:
  1941. description: 所属枚举ID
  1942. type: integer
  1943. enumdicname:
  1944. description: 枚举项名称
  1945. type: string
  1946. enumitemname:
  1947. description: 枚举项值
  1948. type: integer
  1949. enumitemstatus:
  1950. description: 枚举项状态 - 1.启用 2.不启用
  1951. type: integer
  1952. enumitemvalue:
  1953. description: 通用值 - [币种通用简写]
  1954. type: string
  1955. param1:
  1956. description: 参数1[币种:币种小数位]
  1957. type: string
  1958. param2:
  1959. description: 参数1[币种:币种显示单位]
  1960. type: string
  1961. remark:
  1962. description: 备注
  1963. type: string
  1964. required:
  1965. - autoid
  1966. - enumdiccode
  1967. - enumdicid
  1968. - enumitemname
  1969. type: object
  1970. models.GoodsIDAndName:
  1971. properties:
  1972. goodscode:
  1973. description: 商品代码(内部)
  1974. type: string
  1975. goodsid:
  1976. description: 商品ID(自增ID SEQ_GOODS)
  1977. type: integer
  1978. goodsname:
  1979. description: 商品名称
  1980. type: string
  1981. marketid:
  1982. description: 所属市场ID
  1983. type: integer
  1984. required:
  1985. - goodscode
  1986. - goodsid
  1987. - goodsname
  1988. - marketid
  1989. type: object
  1990. models.HsbyBuyMyTradeDetail:
  1991. properties:
  1992. accountid:
  1993. description: 账户ID[报价币种]
  1994. type: integer
  1995. agreeunit:
  1996. description: 合约单位
  1997. type: number
  1998. amount:
  1999. description: 金额 = 价格 * 数量 * 合约单位
  2000. type: number
  2001. buyorsell:
  2002. description: 买卖 - 0:买 1:卖
  2003. type: integer
  2004. currencysign:
  2005. description: 货币符号
  2006. type: string
  2007. decimalplace:
  2008. description: 报价小数位
  2009. type: integer
  2010. goodscode:
  2011. description: 商品代码(内部)
  2012. type: string
  2013. goodsid:
  2014. description: 商品ID
  2015. type: integer
  2016. goodsname:
  2017. description: 商品名称
  2018. type: string
  2019. marketid:
  2020. description: 市场ID
  2021. type: integer
  2022. orderid:
  2023. description: 单号(成交单号)
  2024. type: string
  2025. picurls1:
  2026. description: 预售商品介绍图片[多张用逗号分隔]
  2027. type: string
  2028. picurls2:
  2029. description: 挂牌商品介绍图片[多张用逗号分隔]
  2030. type: string
  2031. price:
  2032. description: 价格
  2033. type: number
  2034. qty:
  2035. description: 数量
  2036. type: integer
  2037. time:
  2038. description: 时间
  2039. type: string
  2040. trademode:
  2041. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2042. 21:竞拍-大宗式 22:受托竞价
  2043. type: integer
  2044. vendorname1:
  2045. description: 预售商品供应商名称
  2046. type: string
  2047. vendorname2:
  2048. description: 挂牌商品供应商名称
  2049. type: string
  2050. required:
  2051. - accountid
  2052. - buyorsell
  2053. - goodscode
  2054. - goodsid
  2055. - goodsname
  2056. - marketid
  2057. - orderid
  2058. - qty
  2059. - time
  2060. - trademode
  2061. type: object
  2062. models.HsbyGoodsOrderDetail:
  2063. properties:
  2064. buyorsell:
  2065. description: 买卖 - 0:买 1:卖
  2066. type: integer
  2067. currencysign:
  2068. description: 货币符号
  2069. type: string
  2070. customername:
  2071. description: 客户名称(企业名称),已脱敏
  2072. type: string
  2073. enableqty:
  2074. description: 可用数量
  2075. type: integer
  2076. goodunit:
  2077. description: 报价单位
  2078. type: string
  2079. orderid:
  2080. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2081. type: string
  2082. orderprice:
  2083. description: 委托价格
  2084. type: number
  2085. ordertime:
  2086. description: 委托时间
  2087. type: string
  2088. required:
  2089. - buyorsell
  2090. - orderid
  2091. - ordertime
  2092. type: object
  2093. models.HsbyListingGoodsDetail:
  2094. properties:
  2095. agreeunit:
  2096. description: 合约单位
  2097. type: number
  2098. currency:
  2099. description: 货币
  2100. type: string
  2101. currencysign:
  2102. description: 货币符号
  2103. type: string
  2104. decimalplace:
  2105. description: 报价小数位
  2106. type: integer
  2107. desccityid:
  2108. description: 目的地(市)ID
  2109. type: integer
  2110. descprovinceid:
  2111. description: 目的地(省)ID
  2112. type: integer
  2113. goodscode:
  2114. description: 商品代码(内部)
  2115. type: string
  2116. goodsdesc:
  2117. description: 商品详情
  2118. type: string
  2119. goodsid:
  2120. description: 商品ID(自增ID SEQ_GOODS)
  2121. type: integer
  2122. goodsname:
  2123. description: 商品名称
  2124. type: string
  2125. hotindex:
  2126. description: 景点热度
  2127. type: integer
  2128. last:
  2129. description: 现价
  2130. type: number
  2131. limitdown:
  2132. description: 跌停价
  2133. type: number
  2134. limitup:
  2135. description: 涨停价
  2136. type: number
  2137. lotsize:
  2138. description: 手数最小变动单位
  2139. type: integer
  2140. marketid:
  2141. description: 所属市场ID
  2142. type: integer
  2143. picurls:
  2144. description: 介绍图片[多张用逗号分隔]
  2145. type: string
  2146. quoteminunit:
  2147. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2148. type: integer
  2149. stepvalue:
  2150. description: 价格最小变动单位
  2151. type: number
  2152. trademode:
  2153. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2154. 21:竞拍-大宗式 22:受托竞价
  2155. type: integer
  2156. vendorattr:
  2157. description: 供应商附件(多张,逗号分隔)
  2158. type: string
  2159. vendorname:
  2160. description: 供应商名称
  2161. type: string
  2162. vendorphone:
  2163. description: 供应商客服电话
  2164. type: string
  2165. videourls:
  2166. description: 介绍视频[多张用逗号分隔]
  2167. type: string
  2168. required:
  2169. - goodscode
  2170. - goodsid
  2171. - goodsname
  2172. - marketid
  2173. - trademode
  2174. type: object
  2175. models.HsbyMyGoods:
  2176. properties:
  2177. accountid:
  2178. description: 账号Id
  2179. type: integer
  2180. agreeunit:
  2181. description: 合约单位
  2182. type: number
  2183. buyaverageprice:
  2184. description: 持仓均价
  2185. type: number
  2186. buycurholderamount:
  2187. description: 买当前持仓总金额[商品币种]
  2188. type: number
  2189. buycurpositionqty:
  2190. description: 买当前持仓总数量
  2191. type: integer
  2192. currencysign:
  2193. description: 货币符号
  2194. type: string
  2195. decimalplace:
  2196. description: 报价小数位
  2197. type: integer
  2198. enableqty:
  2199. description: 可用数量
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码(内部)
  2203. type: string
  2204. goodsid:
  2205. description: 商品Id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. goodsstatus:
  2211. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  2212. type: integer
  2213. picurls:
  2214. description: 介绍图片[多张用逗号分隔]
  2215. type: string
  2216. required:
  2217. - accountid
  2218. - goodscode
  2219. - goodsid
  2220. - goodsname
  2221. type: object
  2222. models.HsbyMyPackage:
  2223. properties:
  2224. accountid:
  2225. description: 账户ID
  2226. type: integer
  2227. address:
  2228. description: 提货人详细地址
  2229. type: string
  2230. agreeunit:
  2231. description: 合约单位
  2232. type: number
  2233. amount:
  2234. description: 提货金额
  2235. type: number
  2236. auditer:
  2237. description: 审核人
  2238. type: integer
  2239. audittime:
  2240. description: 审核时间
  2241. type: string
  2242. averageprice:
  2243. description: 均价
  2244. type: number
  2245. cardnum:
  2246. description: 提货人证件号码
  2247. type: string
  2248. cardtypeid:
  2249. description: 提货人证件类型
  2250. type: integer
  2251. checkremark:
  2252. description: 审核备注
  2253. type: string
  2254. currencysign:
  2255. description: 货币符号
  2256. type: string
  2257. decimalplace:
  2258. description: 报价小数位
  2259. type: integer
  2260. goodscode:
  2261. description: 商品代码(内部)
  2262. type: string
  2263. goodsid:
  2264. description: 商品ID
  2265. type: integer
  2266. goodsname:
  2267. description: 商品名称
  2268. type: string
  2269. handlestatus:
  2270. description: 处理状态
  2271. type: integer
  2272. marketid:
  2273. description: 市场ID
  2274. type: integer
  2275. phonenum:
  2276. description: 提货人联系方式
  2277. type: string
  2278. picurls:
  2279. description: 介绍图片[多张用逗号分隔]
  2280. type: string
  2281. qty:
  2282. description: 提货数量
  2283. type: number
  2284. recivername:
  2285. description: 提货人姓名
  2286. type: string
  2287. reqtime:
  2288. description: 更新时间
  2289. type: string
  2290. takemode:
  2291. description: 提货方式 - 2:自提 3:配送
  2292. type: integer
  2293. takeorderid:
  2294. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2295. type: string
  2296. takeorderstatus:
  2297. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2298. type: integer
  2299. takeremark:
  2300. description: 提货备注
  2301. type: string
  2302. tradedate:
  2303. description: 交易日(yyyyMMdd)
  2304. type: string
  2305. userid:
  2306. description: 用户ID
  2307. type: integer
  2308. vendorname:
  2309. description: 供应商名称
  2310. type: string
  2311. required:
  2312. - goodscode
  2313. - goodsname
  2314. - takeorderid
  2315. type: object
  2316. models.HsbyPreGoods:
  2317. properties:
  2318. agreeunit:
  2319. description: 合约单位
  2320. type: number
  2321. currency:
  2322. description: 货币
  2323. type: string
  2324. currencysign:
  2325. description: 货币符号
  2326. type: string
  2327. decimalplace:
  2328. description: 报价小数位
  2329. type: integer
  2330. enableqty:
  2331. description: 剩余数量
  2332. type: integer
  2333. goodscode:
  2334. description: 商品代码(内部)
  2335. type: string
  2336. goodsid:
  2337. description: 商品ID(自增ID SEQ_GOODS)
  2338. type: integer
  2339. goodsname:
  2340. description: 商品名称
  2341. type: string
  2342. goodsstatus:
  2343. description: 商品状态- 2:未上市 3:上市
  2344. type: integer
  2345. lasttradedate:
  2346. description: 最后交易日期(状态:待退市)
  2347. type: string
  2348. listingdate:
  2349. description: 交易开始日期
  2350. type: string
  2351. marketid:
  2352. description: 所属市场ID
  2353. type: integer
  2354. picurls:
  2355. description: 介绍图片[多张用逗号分隔]
  2356. type: string
  2357. presaledqty:
  2358. description: 已预售量(预售结束时更新)
  2359. type: integer
  2360. presaleqty:
  2361. description: 预售数量
  2362. type: integer
  2363. quoteminunit:
  2364. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2365. type: integer
  2366. refprice:
  2367. description: 参考价格[一口价]
  2368. type: number
  2369. relatedgoodsid:
  2370. description: 关联交易合约ID
  2371. type: integer
  2372. trademode:
  2373. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2374. 21:竞拍-大宗式 22:受托竞价
  2375. type: integer
  2376. videourls:
  2377. description: 介绍视频[多张用逗号分隔]
  2378. type: string
  2379. required:
  2380. - goodscode
  2381. - goodsid
  2382. - goodsname
  2383. - marketid
  2384. - trademode
  2385. type: object
  2386. models.HsbyPreGoodsDetail:
  2387. properties:
  2388. agreeunit:
  2389. description: 合约单位
  2390. type: number
  2391. buymaxqty:
  2392. description: 购买上限 [71] - 0为不限
  2393. type: integer
  2394. currency:
  2395. description: 货币
  2396. type: string
  2397. currencysign:
  2398. description: 货币符号
  2399. type: string
  2400. customername:
  2401. description: 发行单位
  2402. type: string
  2403. decimalplace:
  2404. description: 报价小数位
  2405. type: integer
  2406. desccityid:
  2407. description: 目的地(市)ID
  2408. type: integer
  2409. descprovinceid:
  2410. description: 目的地(省)ID
  2411. type: integer
  2412. enableqty:
  2413. description: 剩余数量
  2414. type: integer
  2415. goodscode:
  2416. description: 商品代码(内部)
  2417. type: string
  2418. goodsdesc:
  2419. description: 商品详情
  2420. type: string
  2421. goodsid:
  2422. description: 商品ID(自增ID SEQ_GOODS)
  2423. type: integer
  2424. goodsname:
  2425. description: 商品名称
  2426. type: string
  2427. goodsstatus:
  2428. description: 商品状态- 2:未上市 3:上市
  2429. type: integer
  2430. goodunit:
  2431. description: 报价单位
  2432. type: string
  2433. lasttradedate:
  2434. description: 最后交易日期(状态:待退市)
  2435. type: string
  2436. listingdate:
  2437. description: 交易开始日期
  2438. type: string
  2439. lotsize:
  2440. description: 手数最小变动单位
  2441. type: integer
  2442. marketid:
  2443. description: 所属市场ID
  2444. type: integer
  2445. picurls:
  2446. description: 介绍图片[多张用逗号分隔]
  2447. type: string
  2448. presaledqty:
  2449. description: 已预售量(预售结束时更新)
  2450. type: integer
  2451. presaleqty:
  2452. description: 预售数量
  2453. type: integer
  2454. quoteminunit:
  2455. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2456. type: integer
  2457. refprice:
  2458. description: 参考价格[一口价]
  2459. type: number
  2460. relatedgoodsid:
  2461. description: 关联交易合约ID
  2462. type: integer
  2463. stepvalue:
  2464. description: 价格最小变动单位
  2465. type: number
  2466. trademode:
  2467. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2468. 21:竞拍-大宗式 22:受托竞价
  2469. type: integer
  2470. vendorattr:
  2471. description: 供应商附件(多张,逗号分隔)
  2472. type: string
  2473. vendorname:
  2474. description: 供应商名称
  2475. type: string
  2476. vendorphone:
  2477. description: 供应商客服电话
  2478. type: string
  2479. videourls:
  2480. description: 介绍视频[多张用逗号分隔]
  2481. type: string
  2482. required:
  2483. - goodscode
  2484. - goodsid
  2485. - goodsname
  2486. - marketid
  2487. - trademode
  2488. type: object
  2489. models.HsbySellMyDetail:
  2490. properties:
  2491. accountid:
  2492. description: 账户ID[报价币种]
  2493. type: integer
  2494. agreeunit:
  2495. description: 合约单位
  2496. type: number
  2497. amount:
  2498. description: 金额 = 价格 * 数量 * 合约单位
  2499. type: number
  2500. buyorsell:
  2501. description: 买卖 - 0:买 1:卖
  2502. type: integer
  2503. currencysign:
  2504. description: 货币符号
  2505. type: string
  2506. decimalplace:
  2507. description: 报价小数位
  2508. type: integer
  2509. goodscode:
  2510. description: 商品代码(内部)
  2511. type: string
  2512. goodsid:
  2513. description: 商品ID
  2514. type: integer
  2515. goodsname:
  2516. description: 商品名称
  2517. type: string
  2518. marketid:
  2519. description: 市场ID
  2520. type: integer
  2521. orderid:
  2522. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  2523. type: string
  2524. ordertype:
  2525. description: 单据类型:0 - 已发布, 1 - 已完成
  2526. type: integer
  2527. picurls:
  2528. description: 介绍图片[多张用逗号分隔]
  2529. type: string
  2530. price:
  2531. description: 价格
  2532. type: number
  2533. qty:
  2534. description: 数量
  2535. type: integer
  2536. time:
  2537. description: 时间
  2538. type: string
  2539. trademode:
  2540. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2541. 21:竞拍-大宗式 22:受托竞价
  2542. type: integer
  2543. vendorname:
  2544. description: 供应商名称
  2545. type: string
  2546. required:
  2547. - accountid
  2548. - buyorsell
  2549. - goodscode
  2550. - goodsid
  2551. - goodsname
  2552. - marketid
  2553. - orderid
  2554. - qty
  2555. - time
  2556. - trademode
  2557. type: object
  2558. models.HsbyTopGoods:
  2559. properties:
  2560. agreeunit:
  2561. description: 合约单位
  2562. type: number
  2563. currency:
  2564. description: 货币
  2565. type: string
  2566. currencysign:
  2567. description: 货币符号
  2568. type: string
  2569. decimalplace:
  2570. description: 报价小数位
  2571. type: integer
  2572. goodscode:
  2573. description: 商品代码(内部)
  2574. type: string
  2575. goodsid:
  2576. description: 商品ID(自增ID SEQ_GOODS)
  2577. type: integer
  2578. goodsname:
  2579. description: 商品名称
  2580. type: string
  2581. hotindex:
  2582. description: 景点热度
  2583. type: integer
  2584. last:
  2585. description: 现价
  2586. type: number
  2587. marketid:
  2588. description: 所属市场ID
  2589. type: integer
  2590. picurls:
  2591. description: 介绍图片[多张用逗号分隔]
  2592. type: string
  2593. quoteminunit:
  2594. description: 行情最小变动单位 [整数,报价小数位一起使用]
  2595. type: integer
  2596. trademode:
  2597. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2598. 21:竞拍-大宗式 22:受托竞价
  2599. type: integer
  2600. videourls:
  2601. description: 介绍视频[多张用逗号分隔]
  2602. type: string
  2603. required:
  2604. - goodscode
  2605. - goodsid
  2606. - goodsname
  2607. - marketid
  2608. - trademode
  2609. type: object
  2610. models.HybsMyBuyOrderDetail:
  2611. properties:
  2612. accountid:
  2613. description: 账户ID[报价币种]
  2614. type: integer
  2615. agreeunit:
  2616. description: 合约单位
  2617. type: number
  2618. buyorsell:
  2619. description: 买卖 - 0:买 1:卖
  2620. type: integer
  2621. cancelqty:
  2622. description: 撤单数量
  2623. type: integer
  2624. currencysign:
  2625. description: 货币符号
  2626. type: string
  2627. decimalplace:
  2628. description: 报价小数位
  2629. type: integer
  2630. goodscode:
  2631. description: 商品代码(内部)
  2632. type: string
  2633. goodsid:
  2634. description: 商品ID
  2635. type: integer
  2636. goodsname:
  2637. description: 商品名称
  2638. type: string
  2639. listingselecttype:
  2640. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2641. type: integer
  2642. marketid:
  2643. description: 市场ID
  2644. type: integer
  2645. mybuystatus:
  2646. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  2647. type: integer
  2648. orderamount:
  2649. description: 委托金额
  2650. type: number
  2651. orderid:
  2652. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2653. type: string
  2654. orderprice:
  2655. description: 委托价格
  2656. type: number
  2657. orderqty:
  2658. description: 委托数量
  2659. type: integer
  2660. orderstatus:
  2661. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2662. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2663. 16:成交失败违约(荷兰式竞拍专用)
  2664. type: integer
  2665. ordertime:
  2666. description: 委托时间
  2667. type: string
  2668. picurls1:
  2669. description: 预售商品介绍图片[多张用逗号分隔]
  2670. type: string
  2671. picurls2:
  2672. description: 挂牌商品介绍图片[多张用逗号分隔]
  2673. type: string
  2674. trademode:
  2675. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2676. 21:竞拍-大宗式 22:受托竞价
  2677. type: integer
  2678. tradeqty:
  2679. description: 成交数量
  2680. type: integer
  2681. vendorname1:
  2682. description: 预售商品供应商名称
  2683. type: string
  2684. vendorname2:
  2685. description: 挂牌商品供应商名称
  2686. type: string
  2687. required:
  2688. - accountid
  2689. - buyorsell
  2690. - goodscode
  2691. - goodsid
  2692. - goodsname
  2693. - marketid
  2694. - orderid
  2695. - orderqty
  2696. - ordertime
  2697. - trademode
  2698. type: object
  2699. models.Messageboard:
  2700. properties:
  2701. createtime:
  2702. description: 创建时间
  2703. type: string
  2704. message:
  2705. description: 留言信息
  2706. type: string
  2707. messageboardid:
  2708. description: 留言簿ID(SEQ_MessageBoard)
  2709. type: integer
  2710. userid:
  2711. description: 用户ID
  2712. type: integer
  2713. required:
  2714. - messageboardid
  2715. type: object
  2716. models.OperationPrimaryMenu:
  2717. properties:
  2718. Children:
  2719. description: 二级功能菜单
  2720. items:
  2721. $ref: '#/definitions/models.OperationSecondaryMenu'
  2722. type: array
  2723. Key:
  2724. description: 菜单KEY
  2725. type: string
  2726. Label:
  2727. description: 菜单标题
  2728. type: string
  2729. type: object
  2730. models.OperationSecondaryMenu:
  2731. properties:
  2732. Key:
  2733. description: 菜单KEY
  2734. type: string
  2735. Label:
  2736. description: 菜单标题
  2737. type: string
  2738. TabList:
  2739. description: 三级功能菜单
  2740. items:
  2741. $ref: '#/definitions/models.OperationTabMenu'
  2742. type: array
  2743. type: object
  2744. models.OperationTabMenu:
  2745. properties:
  2746. Key:
  2747. description: 菜单KEY
  2748. type: string
  2749. Label:
  2750. description: 菜单标题
  2751. type: string
  2752. type: object
  2753. models.QuotePrimaryMenu:
  2754. properties:
  2755. Index:
  2756. description: 序号
  2757. type: integer
  2758. Key:
  2759. description: 键名
  2760. type: string
  2761. Name:
  2762. description: 菜单名称
  2763. type: string
  2764. SubMenus:
  2765. description: 子菜单
  2766. items:
  2767. $ref: '#/definitions/models.QuoteSecondaryMenu'
  2768. type: array
  2769. SubTitleType:
  2770. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  2771. type: integer
  2772. TradeModes:
  2773. description: 包含市场交易类型
  2774. type: string
  2775. type: object
  2776. models.QuoteSecondaryMenu:
  2777. properties:
  2778. ExExchangeCode:
  2779. description: 外部交易所代码
  2780. type: string
  2781. ExExchangeID:
  2782. description: 外部交易所ID
  2783. type: integer
  2784. GoodsGroupIDs:
  2785. description: 商品组ID列表
  2786. items:
  2787. type: integer
  2788. type: array
  2789. Index:
  2790. description: 序号
  2791. type: integer
  2792. MarketID:
  2793. description: 市场ID
  2794. type: integer
  2795. MenuTitle:
  2796. description: 菜单标题(市场名称或外部交易所名称)
  2797. type: string
  2798. TradeMode:
  2799. description: 交易模式
  2800. type: integer
  2801. type: object
  2802. models.SearchGoods:
  2803. properties:
  2804. goodscode:
  2805. description: 商品代码(内部)
  2806. type: string
  2807. goodsid:
  2808. description: 商品ID(自增ID SEQ_GOODS)
  2809. type: integer
  2810. goodsname:
  2811. description: 商品名称
  2812. type: string
  2813. marketid:
  2814. description: 所属市场ID
  2815. type: integer
  2816. marketname:
  2817. description: 市场名称
  2818. type: string
  2819. trademode:
  2820. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2821. 21:竞拍-大宗式 22:受托竞价
  2822. type: integer
  2823. required:
  2824. - goodscode
  2825. - goodsid
  2826. - goodsname
  2827. - marketid
  2828. - trademode
  2829. type: object
  2830. models.Szdz2imageconfig:
  2831. properties:
  2832. configid:
  2833. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  2834. type: integer
  2835. imagepath:
  2836. description: 图片
  2837. type: string
  2838. imagetype:
  2839. description: 类型 - 1:App首页轮播 2:我的
  2840. type: integer
  2841. sort:
  2842. description: 排序
  2843. type: integer
  2844. title:
  2845. description: 标题
  2846. type: string
  2847. url:
  2848. description: 链接
  2849. type: string
  2850. required:
  2851. - configid
  2852. type: object
  2853. models.Szdz3convertconfig:
  2854. properties:
  2855. canin:
  2856. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  2857. type: integer
  2858. canout:
  2859. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  2860. type: integer
  2861. converttype:
  2862. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  2863. 6:交易转花生米(不设置)
  2864. type: integer
  2865. createtime:
  2866. description: 创建时间
  2867. type: string
  2868. creatorid:
  2869. description: 创建人
  2870. type: integer
  2871. daymaxvalue:
  2872. description: 当日最大转入限制
  2873. type: number
  2874. freezedays:
  2875. description: 冻结天数 [5:花生米转交易]
  2876. type: integer
  2877. innergoodsid:
  2878. description: 内部商品ID[交易]
  2879. type: integer
  2880. inratio:
  2881. description: 目标值
  2882. type: integer
  2883. modifierid:
  2884. description: 修改人
  2885. type: integer
  2886. modifytime:
  2887. description: 修改时间
  2888. type: string
  2889. outergoodscode:
  2890. description: 外部商品代码[JD\PD]
  2891. type: string
  2892. outratio:
  2893. description: 源值
  2894. type: integer
  2895. pddecimalplace:
  2896. description: PD小数位
  2897. type: integer
  2898. timemaxvalue:
  2899. description: 单次最大转入限制
  2900. type: number
  2901. timeminvalue:
  2902. description: 单次最小转入限制
  2903. type: number
  2904. required:
  2905. - converttype
  2906. - innergoodsid
  2907. - outergoodscode
  2908. type: object
  2909. models.Szdz3searchwhitelist:
  2910. properties:
  2911. createtime:
  2912. description: 创建时间
  2913. type: string
  2914. creatorid:
  2915. description: 创建人
  2916. type: integer
  2917. modifierid:
  2918. description: 修改人
  2919. type: integer
  2920. modifytime:
  2921. description: 修改时间
  2922. type: string
  2923. userid:
  2924. description: 用户ID
  2925. type: integer
  2926. required:
  2927. - userid
  2928. type: object
  2929. models.Tablecolumnconfig:
  2930. properties:
  2931. aligntype:
  2932. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2933. type: integer
  2934. autoid:
  2935. description: AutoID
  2936. type: integer
  2937. columnfield:
  2938. description: 列字段
  2939. type: string
  2940. columntitle:
  2941. description: 列Title
  2942. type: string
  2943. columnwidth:
  2944. description: 列宽
  2945. type: string
  2946. formatterstring:
  2947. description: 格式化字符
  2948. type: string
  2949. formattertype:
  2950. description: 格式化类型
  2951. type: string
  2952. groupname:
  2953. description: 表头分组名称
  2954. type: string
  2955. isshow:
  2956. description: 是否显示 - 0:不显示 1:显示
  2957. type: integer
  2958. needsummary:
  2959. description: 是否需要汇总 - 0:不需要 1:需要
  2960. type: integer
  2961. orderindex:
  2962. description: 顺序
  2963. type: integer
  2964. remark:
  2965. description: 备注
  2966. type: string
  2967. summarytype:
  2968. description: 汇总类型 - 1:加总 2:最后一个
  2969. type: integer
  2970. tablekey:
  2971. description: 列表Key
  2972. type: string
  2973. required:
  2974. - autoid
  2975. type: object
  2976. models.Useraccount:
  2977. properties:
  2978. accountname:
  2979. description: 账户名称(机构名称)
  2980. type: string
  2981. accountstatus:
  2982. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2983. type: integer
  2984. auditremark:
  2985. description: 审核备注
  2986. type: string
  2987. audittime:
  2988. description: 审核时间
  2989. type: string
  2990. audituserid:
  2991. description: 审核人
  2992. type: integer
  2993. broker:
  2994. description: 所属经纪人ID
  2995. type: integer
  2996. canceltime:
  2997. description: 销户时间
  2998. type: string
  2999. canceluserid:
  3000. description: 销户人
  3001. type: integer
  3002. createtime:
  3003. description: 创建时间
  3004. type: string
  3005. creatorid:
  3006. description: 创建人
  3007. type: integer
  3008. hasauth:
  3009. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  3010. type: integer
  3011. isanonymous:
  3012. description: 是否匿名下单 - 0:否 1:是
  3013. type: integer
  3014. maxinvestornum:
  3015. description: 最大用户数(经纪会员下投资者个数)
  3016. type: integer
  3017. memberuserid:
  3018. description: 所属会员ID
  3019. type: integer
  3020. modifierid:
  3021. description: 修改人
  3022. type: integer
  3023. modifyremark:
  3024. description: 变更备注
  3025. type: string
  3026. modifystatus:
  3027. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  3028. type: integer
  3029. modifytime:
  3030. description: 修改时间
  3031. type: string
  3032. parentuserid:
  3033. description: 所属机构ID
  3034. type: integer
  3035. reckonaccountid:
  3036. description: 默认结算资金账号ID(机构分润使用) 作废
  3037. type: integer
  3038. refercount:
  3039. description: 推荐总人数
  3040. type: integer
  3041. refereeuserid:
  3042. description: 推荐人ID
  3043. type: integer
  3044. refernum:
  3045. description: 推荐码
  3046. type: string
  3047. subarealevelpath:
  3048. description: 子机构层级路径(逗号分隔,首尾加逗号)
  3049. type: string
  3050. userid:
  3051. description: 用户ID
  3052. type: integer
  3053. usertype:
  3054. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3055. type: integer
  3056. required:
  3057. - userid
  3058. type: object
  3059. models.Userfavoritegoods:
  3060. properties:
  3061. goodsid:
  3062. description: 商品ID
  3063. type: integer
  3064. required:
  3065. - goodsid
  3066. type: object
  3067. models.Userinfo:
  3068. properties:
  3069. address:
  3070. description: 地址
  3071. type: string
  3072. attachment1:
  3073. description: 附件1
  3074. type: string
  3075. attachment2:
  3076. description: 附件2
  3077. type: string
  3078. bankaccount:
  3079. description: 银行帐号 (加密存储)
  3080. type: string
  3081. bankaccountname:
  3082. description: 收款人名称
  3083. type: string
  3084. bankcardfrontphotourl:
  3085. description: 银行卡正面照地址
  3086. type: string
  3087. bankid:
  3088. description: 银行编码
  3089. type: string
  3090. bankname:
  3091. description: 银行名称
  3092. type: string
  3093. biznature:
  3094. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3095. type: integer
  3096. bizscope:
  3097. description: 企业经营范围(企业)
  3098. type: string
  3099. cardbackphotourl:
  3100. description: 证件背面图片地址
  3101. type: string
  3102. cardfrontphotourl:
  3103. description: 证件正面图片地址
  3104. type: string
  3105. cardnum:
  3106. description: 证件号码(加密存储)
  3107. type: string
  3108. cardtypeid:
  3109. description: 证件类型ID
  3110. type: integer
  3111. cityid:
  3112. description: 市
  3113. type: integer
  3114. company:
  3115. description: 公司(个人)
  3116. type: string
  3117. contactname:
  3118. description: 联系人
  3119. type: string
  3120. countryid:
  3121. description: 国家
  3122. type: integer
  3123. createtime:
  3124. description: 创建时间
  3125. type: string
  3126. creatorid:
  3127. description: 创建人
  3128. type: integer
  3129. customername:
  3130. description: 客户名称(企业名称)
  3131. type: string
  3132. districtid:
  3133. description: 地区
  3134. type: integer
  3135. email:
  3136. description: 邮件(加密存储)
  3137. type: string
  3138. fax:
  3139. description: 传真(加密存储)
  3140. type: string
  3141. halfbodyphotourl:
  3142. description: 半身照地址
  3143. type: string
  3144. hasencrypt:
  3145. description: 数据是否已加密 - 0:未加密 1:已加密
  3146. type: integer
  3147. headurl:
  3148. description: 头像地址
  3149. type: string
  3150. legalcardbackphotourl:
  3151. description: 法人身份证背面照地址
  3152. type: string
  3153. legalcardfrontphotourl:
  3154. description: 法人身份证正面照地址
  3155. type: string
  3156. legalpersonname:
  3157. description: 法人姓名(企业)
  3158. type: string
  3159. mobile:
  3160. description: 手机号码(加密存储)
  3161. type: string
  3162. mobile2:
  3163. description: 手机号码[明文-尚志]
  3164. type: string
  3165. modifierid:
  3166. description: 修改人
  3167. type: integer
  3168. modifiertime:
  3169. description: 修改时间
  3170. type: string
  3171. needinvoice:
  3172. description: 是否需要发票 - 0:不需要 1:需要
  3173. type: integer
  3174. nickname:
  3175. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  3176. type: string
  3177. openmode:
  3178. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  3179. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  3180. type: integer
  3181. otherurl:
  3182. description: 其它图片地址[使用分号分隔]
  3183. type: string
  3184. postalcode:
  3185. description: 邮政编码
  3186. type: string
  3187. provinceid:
  3188. description: 省
  3189. type: integer
  3190. qq:
  3191. description: QQ(加密存储
  3192. type: string
  3193. remark:
  3194. description: 备注
  3195. type: string
  3196. sex:
  3197. description: '用户性别 0: 女 1: 男'
  3198. type: integer
  3199. signpdfurl:
  3200. description: 签约pdf文件
  3201. type: string
  3202. telphone:
  3203. description: 联系电话(加密存储)
  3204. type: string
  3205. userid:
  3206. description: 用户ID
  3207. type: integer
  3208. userinfotype:
  3209. description: 用户信息类型 - 1:个人 2:企业
  3210. type: integer
  3211. userstatus:
  3212. description: 用户状态 - 1:正常 2:注销
  3213. type: integer
  3214. usertype:
  3215. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  3216. type: integer
  3217. wechat:
  3218. description: 微信(加密存储)
  3219. type: string
  3220. wskhinfo:
  3221. description: 开户申请信息(JSON)
  3222. type: string
  3223. required:
  3224. - userid
  3225. type: object
  3226. models.WRStandardInfo:
  3227. properties:
  3228. createtime:
  3229. description: 创建时间
  3230. type: string
  3231. creatorid:
  3232. description: 创建人
  3233. type: integer
  3234. deliverygoodsid:
  3235. description: 品种ID
  3236. type: integer
  3237. deliverygoodsname:
  3238. description: 交割商品名称
  3239. type: string
  3240. factoryitemjson:
  3241. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  3242. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  3243. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  3244. 逗号分隔'
  3245. type: string
  3246. isvalid:
  3247. description: 是否有效 - 0:无效 1:有效
  3248. type: integer
  3249. minivalue:
  3250. description: 最小变动值
  3251. type: integer
  3252. minivaluedp:
  3253. description: 最小变动值小数位
  3254. type: integer
  3255. realminivalue:
  3256. description: 实际最小变动值
  3257. type: integer
  3258. realminivaluedp:
  3259. description: 实际最小变动值小数位
  3260. type: integer
  3261. unitid:
  3262. description: 单位ID
  3263. type: integer
  3264. unitname:
  3265. description: 单位
  3266. type: string
  3267. updatetime:
  3268. description: 更新时间
  3269. type: string
  3270. updatorid:
  3271. description: 更新人
  3272. type: integer
  3273. wrsstatus:
  3274. description: 状态 - 作废 - 0:未激活 1:正常
  3275. type: integer
  3276. wrstandardcode:
  3277. description: 仓单标准代码
  3278. type: string
  3279. wrstandardid:
  3280. description: 仓单标准ID(SEQ_WRSTANDARD)
  3281. type: integer
  3282. wrstandardname:
  3283. description: 仓单标准名称
  3284. type: string
  3285. required:
  3286. - wrstandardid
  3287. type: object
  3288. models.Warehouseinfo:
  3289. properties:
  3290. address:
  3291. description: 详细地址
  3292. type: string
  3293. areauserid:
  3294. description: 所属机构
  3295. type: integer
  3296. autoid:
  3297. description: 自增ID
  3298. type: integer
  3299. cityid:
  3300. description: 市
  3301. type: integer
  3302. contactname:
  3303. description: 联系人
  3304. type: string
  3305. contactnum:
  3306. description: 联系电话
  3307. type: string
  3308. countryid:
  3309. description: 国家
  3310. type: integer
  3311. createtime:
  3312. description: 创建时间
  3313. type: string
  3314. districtid:
  3315. description: 区
  3316. type: integer
  3317. hasvideo:
  3318. description: 是否有视频 - 0:无 1:有
  3319. type: integer
  3320. provinceid:
  3321. description: 省
  3322. type: integer
  3323. remark:
  3324. description: 审核备注
  3325. type: string
  3326. videourl:
  3327. description: 视频地址
  3328. type: string
  3329. warehousecode:
  3330. description: 仓库代码
  3331. type: string
  3332. warehousename:
  3333. description: 仓库名称
  3334. type: string
  3335. warehousestatus:
  3336. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  3337. type: integer
  3338. warehousetype:
  3339. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3340. type: integer
  3341. required:
  3342. - autoid
  3343. - warehousecode
  3344. type: object
  3345. order.QueryHisTradeDetailRsp:
  3346. properties:
  3347. accountid:
  3348. description: 账户ID[报价币种]
  3349. type: integer
  3350. buildtype:
  3351. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3352. type: integer
  3353. buyorsell:
  3354. description: 方向 - 0:买 1:卖
  3355. type: integer
  3356. charge:
  3357. description: 手续费
  3358. type: number
  3359. closecharge:
  3360. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3361. type: number
  3362. closeexchagechargevalue:
  3363. description: 平仓交易所手续费设置值
  3364. type: number
  3365. closefeealgorithm:
  3366. description: 平仓手续费收取方式 1:比率 2:固定
  3367. type: integer
  3368. closememberchargevalue:
  3369. description: 平仓会员手续费设置值
  3370. type: number
  3371. closepl:
  3372. description: 平仓盈亏
  3373. type: number
  3374. closepl2:
  3375. description: 平仓盈亏[逐笔]
  3376. type: number
  3377. closeqty:
  3378. description: 平仓数量(先建后平操作 需要记录)
  3379. type: integer
  3380. creditamount:
  3381. description: 授信金额
  3382. type: number
  3383. gcaccountid:
  3384. description: 账户ID[合约币种]
  3385. type: integer
  3386. goodscode:
  3387. description: 商品代码
  3388. type: string
  3389. goodsid:
  3390. description: 商品ID
  3391. type: integer
  3392. goodsname:
  3393. description: 商品名称
  3394. type: string
  3395. histradedate:
  3396. description: 历史交易日
  3397. type: string
  3398. intclosepl:
  3399. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3400. type: integer
  3401. isconfirmexercise:
  3402. description: 是否确认行权- 0:否 1:是
  3403. type: integer
  3404. ismain:
  3405. description: 是否主单 - 0:不是 1:是
  3406. type: integer
  3407. ispreexercise:
  3408. description: 是否预申报- 0:否 1:是
  3409. type: integer
  3410. isreckoned:
  3411. description: 是否结算 - 0:未结算 1:已结算
  3412. type: integer
  3413. isvaliddata:
  3414. description: 是否有效 - 0:无效 1:有效
  3415. type: integer
  3416. listingselecttype:
  3417. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3418. type: integer
  3419. marketid:
  3420. description: 市场ID
  3421. type: integer
  3422. marketname:
  3423. description: 市场名称
  3424. type: string
  3425. matchaccountid:
  3426. description: 对手账号id
  3427. type: integer
  3428. memberuserid:
  3429. description: 会员id 个人投资者 需要填写
  3430. type: integer
  3431. opencharge:
  3432. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3433. type: number
  3434. openexchagechargevalue:
  3435. description: 建仓交易所手续费设置值
  3436. type: number
  3437. openfeealgorithm:
  3438. description: 建仓手续费收取方式 1:比率 2:固定
  3439. type: integer
  3440. openmemberchargevalue:
  3441. description: 建仓会员手续费设置值
  3442. type: number
  3443. openqty:
  3444. description: 开仓数量(先建后平操作 需要记录)
  3445. type: integer
  3446. optiontype:
  3447. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3448. type: integer
  3449. orderid:
  3450. description: 委托单号
  3451. type: string
  3452. performanceplanid:
  3453. description: 履约计划ID[期权]
  3454. type: integer
  3455. performancestatus:
  3456. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3457. type: integer
  3458. preexerciseprice:
  3459. description: 预申报价格
  3460. type: number
  3461. premium:
  3462. description: 权利金 - [持仓单的权利金]
  3463. type: number
  3464. relatedouttradeid:
  3465. description: 关联外部成交单ID
  3466. type: integer
  3467. status:
  3468. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3469. type: integer
  3470. tradeamount:
  3471. description: 成交金额[账户币种,用于所有权]
  3472. type: number
  3473. tradedate:
  3474. description: 交易日(yyyyMMdd)
  3475. type: string
  3476. tradeid:
  3477. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3478. type: string
  3479. trademode:
  3480. description: 交易模式
  3481. type: integer
  3482. tradeprice:
  3483. description: 成交价格
  3484. type: number
  3485. tradeproperty:
  3486. description: 交易属性
  3487. type: integer
  3488. tradeqty:
  3489. description: 成交数量
  3490. type: integer
  3491. tradetime:
  3492. description: 成交时间
  3493. type: string
  3494. tradetype:
  3495. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3496. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3497. type: integer
  3498. required:
  3499. - accountid
  3500. - buyorsell
  3501. - goodsid
  3502. - histradedate
  3503. - marketid
  3504. - memberuserid
  3505. - orderid
  3506. - tradeamount
  3507. - tradedate
  3508. - tradeid
  3509. - tradeprice
  3510. - tradeqty
  3511. - tradetime
  3512. type: object
  3513. order.QueryHisTradeOrderDetailRsp:
  3514. properties:
  3515. accountid:
  3516. description: 账户ID[报价币种]
  3517. type: integer
  3518. buildtype:
  3519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3520. type: integer
  3521. buyorsell:
  3522. description: 买卖 - 0:买 1:卖
  3523. type: integer
  3524. cancelorderid:
  3525. description: 撤单单号(撤单时填写)
  3526. type: string
  3527. cancelqty:
  3528. description: 撤单数量
  3529. type: integer
  3530. clientordertime:
  3531. description: 客户端委托时间
  3532. type: string
  3533. clientticket:
  3534. description: 客户端流水号
  3535. type: string
  3536. clienttype:
  3537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3539. type: integer
  3540. closeexchagechargevalue:
  3541. description: 平仓交易所手续费设置值
  3542. type: number
  3543. closefeealgorithm:
  3544. description: 平仓手续费收取方式 1:比率 2:固定
  3545. type: integer
  3546. closefreezecharge:
  3547. description: 平仓冻结手续费(先建后平操作,需要记录)
  3548. type: number
  3549. closememberchargevalue:
  3550. description: 平仓会员手续费设置值
  3551. type: number
  3552. closeqty:
  3553. description: 平仓数量(先建后平操作 需要记录)
  3554. type: integer
  3555. closetradeqty:
  3556. description: 平仓成交数量(先建后平操作,需要记录)
  3557. type: integer
  3558. closeunfreezecharge:
  3559. description: 平仓解冻手续费(先建后平操作,需要记录)
  3560. type: number
  3561. delistingtype:
  3562. description: 摘牌类型 - 1:价格最优 2:点选成交
  3563. type: integer
  3564. freezecharge:
  3565. description: 冻结手续费
  3566. type: number
  3567. freezemargin:
  3568. description: 冻结保证金(冻结交易金额)
  3569. type: number
  3570. gcaccountid:
  3571. description: 账户ID[合约币种]
  3572. type: integer
  3573. goodscode:
  3574. description: 商品代码
  3575. type: string
  3576. goodsid:
  3577. description: 商品ID
  3578. type: integer
  3579. goodsname:
  3580. description: 商品名称
  3581. type: string
  3582. histradedate:
  3583. description: 历史交易日
  3584. type: string
  3585. isconfirmexercise:
  3586. description: 是否确认行权- 0:否 1:是
  3587. type: integer
  3588. ispreexercise:
  3589. description: 是否预申报- 0:否 1:是
  3590. type: integer
  3591. isvaliddata:
  3592. description: 是否有效 - 0:无效 1:有效
  3593. type: integer
  3594. listingselecttype:
  3595. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3596. type: integer
  3597. marginalgorithm:
  3598. description: 保证金收取方式 1:比率 2:固定
  3599. type: integer
  3600. marginvalue:
  3601. description: 即市保证金设置值
  3602. type: number
  3603. marketid:
  3604. description: 市场ID
  3605. type: integer
  3606. marketmaxsub:
  3607. description: 市价最大偏移范围
  3608. type: number
  3609. marketname:
  3610. description: 市场名称
  3611. type: string
  3612. memberuserid:
  3613. description: 所属会员UserID
  3614. type: integer
  3615. openexchagechargevalue:
  3616. description: 建仓交易所手续费设置值
  3617. type: number
  3618. openfeealgorithm:
  3619. description: 建仓手续费收取方式 1:比率 2:固定
  3620. type: integer
  3621. openfreezecharge:
  3622. description: 开仓冻结手续费(先建后平操作,需要记录)
  3623. type: number
  3624. openmemberchargevalue:
  3625. description: 建仓会员手续费设置值
  3626. type: number
  3627. openqty:
  3628. description: 开仓数量(先建后平操作,需要记录)
  3629. type: integer
  3630. opentradeqty:
  3631. description: 开仓成交数量(先建后平操作,需要记录)
  3632. type: integer
  3633. openunfreezecharge:
  3634. description: 开仓解冻手续费(先建后平操作,需要记录)
  3635. type: number
  3636. operatetype:
  3637. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3638. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3639. 15:管理端协议转让
  3640. type: integer
  3641. operatorid:
  3642. description: 登录账号(LoginID)
  3643. type: integer
  3644. optiontype:
  3645. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3646. type: integer
  3647. orderid:
  3648. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3649. type: string
  3650. orderprice:
  3651. description: 委托价格
  3652. type: number
  3653. orderqty:
  3654. description: 委托数量
  3655. type: integer
  3656. ordersrc:
  3657. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3658. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3659. type: integer
  3660. orderstatus:
  3661. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3662. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3663. 16:成交失败违约(荷兰式竞拍专用)
  3664. type: integer
  3665. ordertime:
  3666. description: 委托时间
  3667. type: string
  3668. preexerciseprice:
  3669. description: 预申报价格
  3670. type: number
  3671. premium:
  3672. description: 权利金
  3673. type: number
  3674. preorderid:
  3675. description: 关联预埋单号(止盈止损单时填写)
  3676. type: string
  3677. pricemode:
  3678. description: '取价方式 - 1:市价 2: 限价'
  3679. type: integer
  3680. quoteid:
  3681. description: 报价单ID
  3682. type: integer
  3683. relatedid:
  3684. description: 关联单号(交割单)
  3685. type: string
  3686. retcode:
  3687. description: 错误代码
  3688. type: integer
  3689. sessionid:
  3690. description: 会话ID
  3691. type: integer
  3692. tradedate:
  3693. description: 交易日(yyyyMMdd)
  3694. type: string
  3695. trademode:
  3696. description: 交易模式
  3697. type: integer
  3698. tradeproperty:
  3699. description: 交易属性
  3700. type: integer
  3701. tradeqty:
  3702. description: 成交数量
  3703. type: integer
  3704. unfreezecharge:
  3705. description: 解冻手续费
  3706. type: number
  3707. unfreezemargin:
  3708. description: 解冻保证金
  3709. type: number
  3710. updatetime:
  3711. description: 更新时间
  3712. type: string
  3713. uuid:
  3714. description: 发起端唯一id
  3715. type: string
  3716. validtime:
  3717. description: 有效期限
  3718. type: string
  3719. validtype:
  3720. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  3721. type: integer
  3722. volumetype:
  3723. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  3724. type: integer
  3725. required:
  3726. - accountid
  3727. - buildtype
  3728. - buyorsell
  3729. - goodsid
  3730. - histradedate
  3731. - marketid
  3732. - memberuserid
  3733. - operatetype
  3734. - orderid
  3735. - orderqty
  3736. - ordertime
  3737. - pricemode
  3738. - tradedate
  3739. - validtype
  3740. type: object
  3741. order.QueryTradeDetailRsp:
  3742. properties:
  3743. accountid:
  3744. description: 账户ID[报价币种]
  3745. type: integer
  3746. buildtype:
  3747. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  3748. type: integer
  3749. buyorsell:
  3750. description: 方向 - 0:买 1:卖
  3751. type: integer
  3752. charge:
  3753. description: 手续费
  3754. type: number
  3755. closecharge:
  3756. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3757. type: number
  3758. closeexchagechargevalue:
  3759. description: 平仓交易所手续费设置值
  3760. type: number
  3761. closefeealgorithm:
  3762. description: 平仓手续费收取方式 1:比率 2:固定
  3763. type: integer
  3764. closememberchargevalue:
  3765. description: 平仓会员手续费设置值
  3766. type: number
  3767. closepl:
  3768. description: 平仓盈亏
  3769. type: number
  3770. closepl2:
  3771. description: 平仓盈亏[逐笔]
  3772. type: number
  3773. closeqty:
  3774. description: 平仓数量(先建后平操作 需要记录)
  3775. type: integer
  3776. creditamount:
  3777. description: 授信金额
  3778. type: number
  3779. gcaccountid:
  3780. description: 账户ID[合约币种]
  3781. type: integer
  3782. goodscode:
  3783. description: 商品代码
  3784. type: string
  3785. goodsid:
  3786. description: 商品ID
  3787. type: integer
  3788. goodsname:
  3789. description: 商品名称
  3790. type: string
  3791. intclosepl:
  3792. description: 整型盈亏(用于交易结算试算平衡-收益权)
  3793. type: integer
  3794. isconfirmexercise:
  3795. description: 是否确认行权- 0:否 1:是
  3796. type: integer
  3797. ismain:
  3798. description: 是否主单 - 0:不是 1:是
  3799. type: integer
  3800. ispreexercise:
  3801. description: 是否预申报- 0:否 1:是
  3802. type: integer
  3803. isreckoned:
  3804. description: 是否结算 - 0:未结算 1:已结算
  3805. type: integer
  3806. listingselecttype:
  3807. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3808. type: integer
  3809. marketid:
  3810. description: 市场ID
  3811. type: integer
  3812. marketname:
  3813. description: 市场名称
  3814. type: string
  3815. matchaccountid:
  3816. description: 对手账号id
  3817. type: integer
  3818. memberuserid:
  3819. description: 会员id 个人投资者 需要填写
  3820. type: integer
  3821. opencharge:
  3822. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  3823. type: number
  3824. openexchagechargevalue:
  3825. description: 建仓交易所手续费设置值
  3826. type: number
  3827. openfeealgorithm:
  3828. description: 建仓手续费收取方式 1:比率 2:固定
  3829. type: integer
  3830. openmemberchargevalue:
  3831. description: 建仓会员手续费设置值
  3832. type: number
  3833. openqty:
  3834. description: 开仓数量(先建后平操作 需要记录)
  3835. type: integer
  3836. optiontype:
  3837. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  3838. type: integer
  3839. orderid:
  3840. description: 委托单号
  3841. type: string
  3842. performanceplanid:
  3843. description: 履约计划ID[期权]
  3844. type: integer
  3845. performancestatus:
  3846. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  3847. type: integer
  3848. preexerciseprice:
  3849. description: 预申报价格
  3850. type: number
  3851. premium:
  3852. description: 权利金 - [持仓单的权利金]
  3853. type: number
  3854. relatedouttradeid:
  3855. description: 关联外部成交单ID
  3856. type: integer
  3857. status:
  3858. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  3859. type: integer
  3860. tradeamount:
  3861. description: 成交金额[账户币种,用于所有权]
  3862. type: number
  3863. tradedate:
  3864. description: 交易日(yyyyMMdd)
  3865. type: string
  3866. tradeid:
  3867. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3868. type: string
  3869. trademode:
  3870. description: 交易模式
  3871. type: integer
  3872. tradeprice:
  3873. description: 成交价格
  3874. type: number
  3875. tradeproperty:
  3876. description: 交易属性
  3877. type: integer
  3878. tradeqty:
  3879. description: 成交数量
  3880. type: integer
  3881. tradetime:
  3882. description: 成交时间
  3883. type: string
  3884. tradetype:
  3885. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  3886. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  3887. type: integer
  3888. required:
  3889. - accountid
  3890. - buyorsell
  3891. - goodsid
  3892. - marketid
  3893. - memberuserid
  3894. - orderid
  3895. - tradeamount
  3896. - tradedate
  3897. - tradeid
  3898. - tradeprice
  3899. - tradeqty
  3900. - tradetime
  3901. type: object
  3902. order.QueryTradeOrderDetailRsp:
  3903. properties:
  3904. accountid:
  3905. description: 账户ID[报价币种]
  3906. type: integer
  3907. buildtype:
  3908. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  3909. type: integer
  3910. buyorsell:
  3911. description: 买卖 - 0:买 1:卖
  3912. type: integer
  3913. cancelorderid:
  3914. description: 撤单单号(撤单时填写)
  3915. type: string
  3916. cancelqty:
  3917. description: 撤单数量
  3918. type: integer
  3919. clienttype:
  3920. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  3921. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  3922. type: integer
  3923. closefreezecharge:
  3924. description: 平仓冻结手续费(先建后平操作,需要记录)
  3925. type: number
  3926. closeqty:
  3927. description: 平仓数量(先建后平操作 需要记录)
  3928. type: integer
  3929. closetradeqty:
  3930. description: 平仓成交数量(先建后平操作,需要记录)
  3931. type: integer
  3932. closeunfreezecharge:
  3933. description: 平仓解冻手续费(先建后平操作,需要记录)
  3934. type: number
  3935. delistingtype:
  3936. description: 摘牌类型 - 1:价格最优 2:点选成交
  3937. type: integer
  3938. enableqty:
  3939. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  3940. type: integer
  3941. freezecharge:
  3942. description: 冻结手续费
  3943. type: number
  3944. freezemargin:
  3945. description: 冻结保证金(冻结交易金额)
  3946. type: number
  3947. goodscode:
  3948. description: 商品代码
  3949. type: string
  3950. goodsid:
  3951. description: 商品ID
  3952. type: integer
  3953. goodsname:
  3954. description: 商品名称
  3955. type: string
  3956. listingselecttype:
  3957. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3958. type: integer
  3959. marketid:
  3960. description: 市场ID
  3961. type: integer
  3962. marketname:
  3963. description: 市场名称
  3964. type: string
  3965. openfreezecharge:
  3966. description: 开仓冻结手续费(先建后平操作,需要记录)
  3967. type: number
  3968. openqty:
  3969. description: 开仓数量(先建后平操作,需要记录)
  3970. type: integer
  3971. opentradeqty:
  3972. description: 开仓成交数量(先建后平操作,需要记录)
  3973. type: integer
  3974. openunfreezecharge:
  3975. description: 开仓解冻手续费(先建后平操作,需要记录)
  3976. type: number
  3977. operatetype:
  3978. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  3979. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  3980. 15:管理端协议转让
  3981. type: integer
  3982. operatorid:
  3983. description: 登录账号(LoginID)
  3984. type: integer
  3985. orderid:
  3986. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3987. type: string
  3988. orderprice:
  3989. description: 委托价格
  3990. type: number
  3991. orderqty:
  3992. description: 委托数量
  3993. type: integer
  3994. ordersrc:
  3995. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  3996. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  3997. type: integer
  3998. orderstatus:
  3999. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4000. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4001. 16:成交失败违约(荷兰式竞拍专用)
  4002. type: integer
  4003. ordertime:
  4004. description: 委托时间
  4005. type: string
  4006. preorderid:
  4007. description: 关联预埋单号(止盈止损单时填写)
  4008. type: string
  4009. pricemode:
  4010. description: '取价方式 - 1:市价 2: 限价'
  4011. type: integer
  4012. relatedid:
  4013. description: 关联单号(交割单)
  4014. type: string
  4015. tradedate:
  4016. description: 交易日(yyyyMMdd)
  4017. type: string
  4018. trademode:
  4019. description: 交易模式
  4020. type: integer
  4021. tradeqty:
  4022. description: 成交数量
  4023. type: integer
  4024. unfreezecharge:
  4025. description: 解冻手续费
  4026. type: number
  4027. unfreezemargin:
  4028. description: 解冻保证金
  4029. type: number
  4030. validtime:
  4031. description: 有效期限
  4032. type: string
  4033. validtype:
  4034. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  4035. type: integer
  4036. volumetype:
  4037. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  4038. type: integer
  4039. required:
  4040. - accountid
  4041. - buildtype
  4042. - buyorsell
  4043. - goodsid
  4044. - marketid
  4045. - operatetype
  4046. - orderqty
  4047. - ordertime
  4048. - pricemode
  4049. - tradedate
  4050. - validtype
  4051. type: object
  4052. order.QueryTradePositionRsp:
  4053. properties:
  4054. accountid:
  4055. description: 资金账户
  4056. type: integer
  4057. agreeunit:
  4058. description: 合约单位
  4059. type: number
  4060. averageprice:
  4061. description: 持仓均价
  4062. type: number
  4063. buyorsell:
  4064. description: 方向 - 0:买 1:卖
  4065. type: integer
  4066. closetotalqty:
  4067. description: 平仓总数量
  4068. type: integer
  4069. curholderamount:
  4070. description: 当前持仓总金额[商品币种]
  4071. type: number
  4072. curpositionqty:
  4073. description: 当前持仓总数量
  4074. type: integer
  4075. currencyid:
  4076. description: 报价货币ID
  4077. type: integer
  4078. curtdposition:
  4079. description: 期末今日头寸
  4080. type: integer
  4081. decimalplace:
  4082. description: 报价小数位
  4083. type: integer
  4084. enableqty:
  4085. description: 可用量
  4086. type: integer
  4087. fretdposition:
  4088. description: 冻结今日头寸
  4089. type: integer
  4090. frozenqty:
  4091. description: 持仓冻结数量
  4092. type: integer
  4093. goodscode:
  4094. description: 商品代码
  4095. type: string
  4096. goodsid:
  4097. description: 商品Id
  4098. type: integer
  4099. goodsname:
  4100. description: 商品名称
  4101. type: string
  4102. goodunit:
  4103. description: 报价单位
  4104. type: string
  4105. goodunitid:
  4106. description: 报价单位ID
  4107. type: integer
  4108. holderamount:
  4109. description: 期初持仓总金额[商品币种]
  4110. type: number
  4111. marketid:
  4112. description: 所属市场ID
  4113. type: integer
  4114. openreqqty:
  4115. description: 开仓申请数量(用于比较最大持仓数量)
  4116. type: integer
  4117. opentotalqty:
  4118. description: 开仓总数量
  4119. type: integer
  4120. otherfrozenqty:
  4121. description: 持仓其他冻结数量(交割冻结)
  4122. type: integer
  4123. positionqty:
  4124. description: 期初持仓数量
  4125. type: integer
  4126. tnqty:
  4127. description: T+N冻结总量
  4128. type: integer
  4129. tnusedqty:
  4130. description: T+N使用量(可以使用T+N的冻结数量)
  4131. type: integer
  4132. trademode:
  4133. description: 交易模式
  4134. type: integer
  4135. usedmargin:
  4136. description: 占用保证金[商品币种]
  4137. type: number
  4138. required:
  4139. - goodsid
  4140. type: object
  4141. quote.HistoryData:
  4142. properties:
  4143. c:
  4144. description: 收盘价
  4145. type: number
  4146. h:
  4147. description: 最高价
  4148. type: number
  4149. hv:
  4150. description: 持仓量
  4151. type: integer
  4152. l:
  4153. description: 最低价
  4154. type: number
  4155. o:
  4156. description: 开盘价
  4157. type: number
  4158. s:
  4159. description: 结算价,日线周期(包括)以上才有
  4160. type: number
  4161. ts:
  4162. description: 时间
  4163. type: string
  4164. tt:
  4165. description: 总金额
  4166. type: number
  4167. tv:
  4168. description: 总量
  4169. type: integer
  4170. type: object
  4171. quote.QueryTSDataRsp:
  4172. properties:
  4173. decimalPlace:
  4174. description: 小数位
  4175. type: integer
  4176. endTime:
  4177. description: 结束时间
  4178. type: string
  4179. goodsCode:
  4180. description: 商品代码
  4181. type: string
  4182. historyDatas:
  4183. description: 历史数据
  4184. items:
  4185. $ref: '#/definitions/quote.HistoryData'
  4186. type: array
  4187. preSettle:
  4188. description: 昨结
  4189. type: number
  4190. startTime:
  4191. description: 开始时间
  4192. type: string
  4193. tradeDate:
  4194. description: 交易日
  4195. type: string
  4196. type: object
  4197. szdz.QueryConvertLogRsp:
  4198. properties:
  4199. accountid:
  4200. description: 资金账户ID
  4201. type: integer
  4202. clientticket:
  4203. description: 客户端流水号
  4204. type: string
  4205. converttype:
  4206. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  4207. type: integer
  4208. createtime:
  4209. description: 记账时间
  4210. type: string
  4211. daymaxvalue:
  4212. description: 配置当日最大转入限制
  4213. type: number
  4214. daymaxvalue2:
  4215. description: 配置当日最大转入限制(转入)
  4216. type: number
  4217. goodscode:
  4218. description: 商品代码
  4219. type: string
  4220. goodsname:
  4221. description: 商品名称
  4222. type: string
  4223. handlestatus:
  4224. description: 处理状态
  4225. type: integer
  4226. innergoodsid:
  4227. description: 内部商品ID
  4228. type: integer
  4229. inratio:
  4230. description: 配置转入比值
  4231. type: integer
  4232. invalue:
  4233. description: 目标值
  4234. type: number
  4235. logid:
  4236. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4237. type: integer
  4238. mobile:
  4239. description: 手机号码(加密存储)
  4240. type: string
  4241. outergoodscode:
  4242. description: 外部商品代码[JD\PD]
  4243. type: string
  4244. outratio:
  4245. description: 配置转出比值
  4246. type: integer
  4247. outvalue:
  4248. description: 源值
  4249. type: number
  4250. pddecimalplace:
  4251. description: PD小数位
  4252. type: integer
  4253. qty:
  4254. description: 数量
  4255. type: string
  4256. remark:
  4257. description: 备注
  4258. type: string
  4259. sessionid:
  4260. description: 会话ID
  4261. type: integer
  4262. timemaxvalue:
  4263. description: 配置单次最大转入限制
  4264. type: number
  4265. timemaxvalue2:
  4266. description: 配置单次最大转入限制(转入)
  4267. type: number
  4268. timeminvalue:
  4269. description: 配置单次最小数量限制
  4270. type: number
  4271. timeminvalue2:
  4272. description: 配置单次最小数量限制(转入)
  4273. type: number
  4274. tradedate:
  4275. description: 交易日(yyyyMMdd)
  4276. type: string
  4277. userid:
  4278. description: 用户ID
  4279. type: integer
  4280. required:
  4281. - logid
  4282. type: object
  4283. szdz.QueryGoodsPickupRsp:
  4284. properties:
  4285. accountid:
  4286. description: 账户ID
  4287. type: integer
  4288. address:
  4289. description: 提货人详细地址
  4290. type: string
  4291. auditer:
  4292. description: 审核人
  4293. type: integer
  4294. audittime:
  4295. description: 审核时间
  4296. type: string
  4297. cardnum:
  4298. description: 提货人证件号码
  4299. type: string
  4300. cardtypeid:
  4301. description: 提货人证件类型
  4302. type: integer
  4303. checkremark:
  4304. description: 审核备注
  4305. type: string
  4306. goodscode:
  4307. description: 商品代码
  4308. type: string
  4309. goodsid:
  4310. description: 商品ID
  4311. type: integer
  4312. goodsname:
  4313. description: 商品名称
  4314. type: string
  4315. handlestatus:
  4316. description: 处理状态
  4317. type: integer
  4318. marketid:
  4319. description: 市场ID
  4320. type: integer
  4321. phonenum:
  4322. description: 提货人联系方式
  4323. type: string
  4324. qty:
  4325. description: 提货数量
  4326. type: number
  4327. recivername:
  4328. description: 提货人姓名
  4329. type: string
  4330. reqtime:
  4331. description: 更新时间
  4332. type: string
  4333. takemode:
  4334. description: 提货方式 - 2:自提 3:配送
  4335. type: integer
  4336. takeorderid:
  4337. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  4338. type: string
  4339. takeorderstatus:
  4340. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4341. type: integer
  4342. takeremark:
  4343. description: 提货备注
  4344. type: string
  4345. tradedate:
  4346. description: 交易日(yyyyMMdd)
  4347. type: string
  4348. userid:
  4349. description: 用户ID
  4350. type: integer
  4351. required:
  4352. - takeorderid
  4353. type: object
  4354. szdz.QueryRecieptOrderRsp:
  4355. properties:
  4356. accountName:
  4357. description: 所属账号名称(已脱敏)
  4358. type: string
  4359. accountid:
  4360. description: 资金账号
  4361. type: integer
  4362. buyorsell:
  4363. description: 方向 - 0:买 1:卖
  4364. type: integer
  4365. enableqty:
  4366. description: 可摘数量
  4367. type: integer
  4368. goodscode:
  4369. description: 商品代码
  4370. type: string
  4371. goodsid:
  4372. description: 商品ID
  4373. type: integer
  4374. goodsname:
  4375. description: 商品名称
  4376. type: string
  4377. orderid:
  4378. description: 委托单号
  4379. type: string
  4380. orderprice:
  4381. description: 委托价格
  4382. type: number
  4383. ordertime:
  4384. description: 委托时间
  4385. type: string
  4386. tradedate:
  4387. description: 交易日(yyyyMMdd)
  4388. type: string
  4389. required:
  4390. - ordertime
  4391. type: object
  4392. szdz.QuerySZDZTradePositionRsp:
  4393. properties:
  4394. accountid:
  4395. description: 账号Id
  4396. type: integer
  4397. agreeunit:
  4398. description: 合约单位
  4399. type: number
  4400. averageprice:
  4401. description: 持仓均价
  4402. type: number
  4403. buyorsell:
  4404. description: 方向 - 0:买 1:卖
  4405. type: integer
  4406. closetotalqty:
  4407. description: 平仓总数量
  4408. type: integer
  4409. curholderamount:
  4410. description: 当前持仓总金额
  4411. type: number
  4412. curpositionqty:
  4413. description: 当前持仓总数量
  4414. type: integer
  4415. currencyid:
  4416. description: 报价货币ID
  4417. type: integer
  4418. curtdposition:
  4419. description: 期末今日头寸
  4420. type: integer
  4421. decimalplace:
  4422. description: 报价小数位
  4423. type: integer
  4424. enableqty:
  4425. description: 可用量
  4426. type: integer
  4427. fretdposition:
  4428. description: 冻结今日头寸
  4429. type: integer
  4430. frozenqty:
  4431. description: 持仓冻结数量
  4432. type: integer
  4433. goodscode:
  4434. description: 商品代码(内部)
  4435. type: string
  4436. goodsid:
  4437. description: 商品Id
  4438. type: integer
  4439. goodsname:
  4440. description: 商品名称
  4441. type: string
  4442. goodunit:
  4443. description: 报价单位
  4444. type: string
  4445. goodunitid:
  4446. description: 报价单位ID
  4447. type: integer
  4448. holderamount:
  4449. description: 期初持仓总金额
  4450. type: number
  4451. marketid:
  4452. description: 市场ID
  4453. type: integer
  4454. openreqqty:
  4455. description: 开仓申请数量
  4456. type: integer
  4457. opentotalqty:
  4458. description: 开仓总数量
  4459. type: integer
  4460. otherfrozenqty:
  4461. description: 持仓其他冻结数量(交割冻结)
  4462. type: integer
  4463. positionqty:
  4464. description: 期初持仓数量
  4465. type: integer
  4466. szdz3freezqty:
  4467. description: 尚志大宗转换冻结总数量
  4468. type: integer
  4469. tnqty:
  4470. description: T+N冻结总量
  4471. type: integer
  4472. tnusedqty:
  4473. description: T+N使用量
  4474. type: integer
  4475. trademode:
  4476. description: 交易模式
  4477. type: integer
  4478. usedmargin:
  4479. description: 占用保证金
  4480. type: number
  4481. type: object
  4482. taaccount.QueryAmountLogRsp:
  4483. properties:
  4484. OPERATETYPENAME:
  4485. description: 资金操作类型名称
  4486. type: string
  4487. accountid:
  4488. description: 资金账户ID
  4489. type: integer
  4490. agoodscode:
  4491. description: 竞拍商品代码
  4492. type: string
  4493. agoodsname:
  4494. description: 竞拍商品名称
  4495. type: string
  4496. amount:
  4497. description: 资金金额
  4498. type: number
  4499. amountadjusttype:
  4500. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4501. type: integer
  4502. autoid:
  4503. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4504. type: integer
  4505. balance:
  4506. description: 期初余额
  4507. type: number
  4508. businesscode:
  4509. description: 业务编号
  4510. type: integer
  4511. createtime:
  4512. description: 发生时间
  4513. type: string
  4514. currencyid:
  4515. description: 币种ID
  4516. type: integer
  4517. currentbalance:
  4518. description: 期末余额(变动后金额)
  4519. type: number
  4520. dgoodscode:
  4521. description: 交割商品代码
  4522. type: string
  4523. dgoodsname:
  4524. description: 交割商品名称
  4525. type: string
  4526. goodscode:
  4527. description: 商品代码
  4528. type: string
  4529. goodsid:
  4530. description: 商品ID
  4531. type: integer
  4532. goodsname:
  4533. description: 商品名称
  4534. type: string
  4535. marketid:
  4536. description: 市场ID
  4537. type: integer
  4538. marketname:
  4539. description: 市场名称
  4540. type: string
  4541. moneyticket:
  4542. description: 资金流水号:银行端流水号
  4543. type: integer
  4544. operatetype:
  4545. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4546. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4547. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4548. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4549. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4550. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4551. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4552. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4553. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4554. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4555. type: integer
  4556. relationorderid:
  4557. description: 关联单号
  4558. type: string
  4559. remark:
  4560. description: 备注
  4561. type: string
  4562. trademode:
  4563. description: 交易模式
  4564. type: integer
  4565. required:
  4566. - accountid
  4567. - amount
  4568. - amountadjusttype
  4569. - autoid
  4570. - balance
  4571. - createtime
  4572. - currentbalance
  4573. - operatetype
  4574. type: object
  4575. taaccount.QueryHisAmountLogRsp:
  4576. properties:
  4577. OPERATETYPENAME:
  4578. description: 资金操作类型名称
  4579. type: string
  4580. accountid:
  4581. description: 资金账户ID
  4582. type: integer
  4583. agoodscode:
  4584. description: 竞拍商品代码
  4585. type: string
  4586. agoodsname:
  4587. description: 竞拍商品名称
  4588. type: string
  4589. amount:
  4590. description: 资金金额
  4591. type: number
  4592. amountadjusttype:
  4593. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  4594. type: integer
  4595. autoid:
  4596. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  4597. type: integer
  4598. balance:
  4599. description: 期初余额
  4600. type: number
  4601. businesscode:
  4602. description: 业务编号
  4603. type: integer
  4604. createtime:
  4605. description: 发生时间
  4606. type: string
  4607. currencyid:
  4608. description: 币种ID
  4609. type: integer
  4610. currentbalance:
  4611. description: 期末余额(变动后金额)
  4612. type: number
  4613. dgoodscode:
  4614. description: 交割商品代码
  4615. type: string
  4616. dgoodsname:
  4617. description: 交割商品名称
  4618. type: string
  4619. goodscode:
  4620. description: 商品代码
  4621. type: string
  4622. goodsid:
  4623. description: 商品ID
  4624. type: integer
  4625. goodsname:
  4626. description: 商品名称
  4627. type: string
  4628. histradedate:
  4629. description: 历史交易日
  4630. type: string
  4631. isvaliddata:
  4632. description: 是否有效 - 0:无效 1:有效
  4633. type: integer
  4634. marketid:
  4635. description: 市场ID
  4636. type: integer
  4637. marketname:
  4638. description: 市场名称
  4639. type: string
  4640. moneyticket:
  4641. description: 资金流水号:银行端流水号
  4642. type: integer
  4643. operatetype:
  4644. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  4645. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  4646. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  4647. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  4648. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  4649. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  4650. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  4651. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  4652. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  4653. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  4654. type: integer
  4655. relationorderid:
  4656. description: 关联单号
  4657. type: string
  4658. remark:
  4659. description: 备注
  4660. type: string
  4661. trademode:
  4662. description: 交易模式
  4663. type: integer
  4664. required:
  4665. - accountid
  4666. - amount
  4667. - amountadjusttype
  4668. - autoid
  4669. - balance
  4670. - createtime
  4671. - currentbalance
  4672. - histradedate
  4673. - operatetype
  4674. type: object
  4675. trade.QueryRecieptOrderRsp:
  4676. properties:
  4677. accountName:
  4678. description: 所属账号名称(已脱敏)
  4679. type: string
  4680. accountid:
  4681. description: 资金账号
  4682. type: integer
  4683. buyorsell:
  4684. description: 方向 - 0:买 1:卖
  4685. type: integer
  4686. enableqty:
  4687. description: 可摘数量
  4688. type: integer
  4689. goodscode:
  4690. description: 商品代码
  4691. type: string
  4692. goodsid:
  4693. description: 商品ID
  4694. type: integer
  4695. goodsname:
  4696. description: 商品名称
  4697. type: string
  4698. orderid:
  4699. description: 委托单号
  4700. type: string
  4701. orderprice:
  4702. description: 委托价格
  4703. type: number
  4704. ordertime:
  4705. description: 委托时间
  4706. type: string
  4707. tradedate:
  4708. description: 交易日(yyyyMMdd)
  4709. type: string
  4710. required:
  4711. - ordertime
  4712. type: object
  4713. info:
  4714. contact: {}
  4715. description: 新的查询服务,替代原通用查询服务。
  4716. termsOfService: http://muchinfo.cn
  4717. title: MTP2.0 查询服务 API
  4718. version: "1.0"
  4719. paths:
  4720. /CPTrade/QueryCPTradeMyBidInfos:
  4721. get:
  4722. parameters:
  4723. - description: 资金账户
  4724. in: query
  4725. name: accountid
  4726. required: true
  4727. type: integer
  4728. - description: 预售市场ID
  4729. in: query
  4730. name: marketid
  4731. type: integer
  4732. - description: 预售商品ID
  4733. in: query
  4734. name: goodsid
  4735. type: integer
  4736. produces:
  4737. - application/json
  4738. responses:
  4739. "200":
  4740. description: OK
  4741. schema:
  4742. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  4743. "500":
  4744. description: Internal Server Error
  4745. schema:
  4746. $ref: '#/definitions/app.Response'
  4747. security:
  4748. - ApiKeyAuth: []
  4749. summary: 查询产能预售我的出价信息
  4750. tags:
  4751. - 产能预售
  4752. /CPTrade/QueryCPTradeOrderDetail:
  4753. get:
  4754. parameters:
  4755. - description: 预售商品ID
  4756. in: query
  4757. name: goodsid
  4758. type: integer
  4759. - description: 预售市场ID
  4760. in: query
  4761. name: marketid
  4762. type: integer
  4763. - description: 预售商品ID列表 - 格式:1,2,3
  4764. in: query
  4765. name: goodsids
  4766. type: string
  4767. produces:
  4768. - application/json
  4769. responses:
  4770. "200":
  4771. description: OK
  4772. schema:
  4773. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  4774. "500":
  4775. description: Internal Server Error
  4776. schema:
  4777. $ref: '#/definitions/app.Response'
  4778. security:
  4779. - ApiKeyAuth: []
  4780. summary: 查询产能预售委托单信息
  4781. tags:
  4782. - 产能预售
  4783. /CPTrade/QueryMyCPTradeGoods:
  4784. get:
  4785. parameters:
  4786. - description: 资金账户
  4787. in: query
  4788. name: accountid
  4789. required: true
  4790. type: integer
  4791. produces:
  4792. - application/json
  4793. responses:
  4794. "200":
  4795. description: OK
  4796. schema:
  4797. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  4798. "500":
  4799. description: Internal Server Error
  4800. schema:
  4801. $ref: '#/definitions/app.Response'
  4802. security:
  4803. - ApiKeyAuth: []
  4804. summary: 查询我的预售信息
  4805. tags:
  4806. - 产能预售
  4807. /CPTrade/QueryPositionCancel:
  4808. get:
  4809. parameters:
  4810. - description: 账户ID
  4811. in: query
  4812. name: userid
  4813. required: true
  4814. type: integer
  4815. - description: 注销ID
  4816. in: query
  4817. name: cancelid
  4818. type: integer
  4819. - description: 资金账户ID
  4820. in: query
  4821. name: accountid
  4822. type: integer
  4823. produces:
  4824. - application/json
  4825. responses:
  4826. "200":
  4827. description: OK
  4828. schema:
  4829. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  4830. "500":
  4831. description: Internal Server Error
  4832. schema:
  4833. $ref: '#/definitions/app.Response'
  4834. security:
  4835. - ApiKeyAuth: []
  4836. summary: 查询远期订单注销申请信息
  4837. tags:
  4838. - 产能预售
  4839. /CPTrade/QueryPreasleApply:
  4840. get:
  4841. parameters:
  4842. - description: 账户ID
  4843. in: query
  4844. name: userid
  4845. required: true
  4846. type: integer
  4847. - description: 申请ID
  4848. in: query
  4849. name: applyid
  4850. type: integer
  4851. - description: 资金账户ID
  4852. in: query
  4853. name: accountid
  4854. type: integer
  4855. produces:
  4856. - application/json
  4857. responses:
  4858. "200":
  4859. description: OK
  4860. schema:
  4861. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  4862. "500":
  4863. description: Internal Server Error
  4864. schema:
  4865. $ref: '#/definitions/app.Response'
  4866. security:
  4867. - ApiKeyAuth: []
  4868. summary: 查询产能预售申请信息
  4869. tags:
  4870. - 产能预售
  4871. /CPTrade/QueryPresaleGoodsEx:
  4872. get:
  4873. parameters:
  4874. - description: 预售商品ID
  4875. in: query
  4876. name: goodsid
  4877. type: integer
  4878. - description: 预售市场ID
  4879. in: query
  4880. name: marketid
  4881. type: integer
  4882. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  4883. in: query
  4884. name: presalemode
  4885. type: integer
  4886. - description: 预售商品ID列表 - 格式:1,2,3
  4887. in: query
  4888. name: goodsids
  4889. type: string
  4890. - description: 预售商品代码
  4891. in: query
  4892. name: goodscode
  4893. type: string
  4894. produces:
  4895. - application/json
  4896. responses:
  4897. "200":
  4898. description: OK
  4899. schema:
  4900. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  4901. "500":
  4902. description: Internal Server Error
  4903. schema:
  4904. $ref: '#/definitions/app.Response'
  4905. security:
  4906. - ApiKeyAuth: []
  4907. summary: 查询产能预售商品扩展信息
  4908. tags:
  4909. - 产能预售
  4910. /CPTrade/QueryUserGoodsData:
  4911. get:
  4912. parameters:
  4913. - description: 资金账户ID
  4914. in: query
  4915. name: accountid
  4916. required: true
  4917. type: integer
  4918. produces:
  4919. - application/json
  4920. responses:
  4921. "200":
  4922. description: OK
  4923. schema:
  4924. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  4925. "500":
  4926. description: Internal Server Error
  4927. schema:
  4928. $ref: '#/definitions/app.Response'
  4929. security:
  4930. - ApiKeyAuth: []
  4931. summary: 查询远期订单信息
  4932. tags:
  4933. - 产能预售
  4934. /Common/GetAllEnums:
  4935. get:
  4936. produces:
  4937. - application/json
  4938. responses:
  4939. "200":
  4940. description: OK
  4941. schema:
  4942. $ref: '#/definitions/models.Enumdicitem'
  4943. "500":
  4944. description: Internal Server Error
  4945. schema:
  4946. $ref: '#/definitions/app.Response'
  4947. summary: 获取所有枚举信息
  4948. tags:
  4949. - 通用服务
  4950. /Common/NoticeReaded:
  4951. post:
  4952. parameters:
  4953. - description: 登录账号
  4954. in: query
  4955. name: loginID
  4956. required: true
  4957. type: integer
  4958. - description: 通知公告ID
  4959. in: query
  4960. name: noticeID
  4961. required: true
  4962. type: integer
  4963. produces:
  4964. - application/json
  4965. responses:
  4966. "200":
  4967. description: OK
  4968. schema:
  4969. $ref: '#/definitions/app.Response'
  4970. "500":
  4971. description: Internal Server Error
  4972. schema:
  4973. $ref: '#/definitions/app.Response'
  4974. security:
  4975. - ApiKeyAuth: []
  4976. summary: 通知公告设置已读请求
  4977. tags:
  4978. - 通用服务
  4979. /Common/QueryImageConfigs:
  4980. get:
  4981. parameters:
  4982. - description: 类型 - 1:App首页轮播 2:我的
  4983. in: query
  4984. name: imageType
  4985. type: integer
  4986. produces:
  4987. - application/json
  4988. responses:
  4989. "200":
  4990. description: OK
  4991. schema:
  4992. $ref: '#/definitions/models.Szdz2imageconfig'
  4993. "500":
  4994. description: Internal Server Error
  4995. schema:
  4996. $ref: '#/definitions/app.Response'
  4997. summary: 查询轮播图配置信息
  4998. tags:
  4999. - 通用服务
  5000. /Common/QueryNotice:
  5001. get:
  5002. parameters:
  5003. - description: 页码
  5004. in: query
  5005. name: page
  5006. type: integer
  5007. - description: 每页条数
  5008. in: query
  5009. name: pagesize
  5010. type: integer
  5011. - description: 登录账号
  5012. in: query
  5013. name: loginID
  5014. required: true
  5015. type: integer
  5016. - description: 消息类型 - 1:公告通知 2:系统消息
  5017. in: query
  5018. name: msgType
  5019. type: integer
  5020. - description: 是否只获取未读信息
  5021. in: query
  5022. name: onlyUnRead
  5023. type: boolean
  5024. produces:
  5025. - application/json
  5026. responses:
  5027. "200":
  5028. description: OK
  5029. schema:
  5030. $ref: '#/definitions/common.QueryNoticeRsp'
  5031. "500":
  5032. description: Internal Server Error
  5033. schema:
  5034. $ref: '#/definitions/app.Response'
  5035. security:
  5036. - ApiKeyAuth: []
  5037. summary: 通知公告系统消息查询
  5038. tags:
  5039. - 通用服务
  5040. /Common/QueryProvincesAndCities:
  5041. get:
  5042. parameters:
  5043. - description: 省ID
  5044. in: query
  5045. name: provinceID
  5046. type: integer
  5047. produces:
  5048. - application/json
  5049. responses:
  5050. "200":
  5051. description: OK
  5052. schema:
  5053. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  5054. "500":
  5055. description: Internal Server Error
  5056. schema:
  5057. $ref: '#/definitions/app.Response'
  5058. summary: 查询省市信息(不包括区)
  5059. tags:
  5060. - 通用服务
  5061. /Common/QueryTableDefine:
  5062. get:
  5063. parameters:
  5064. - description: 表key
  5065. in: query
  5066. name: TableKey
  5067. type: string
  5068. produces:
  5069. - application/json
  5070. responses:
  5071. "200":
  5072. description: OK
  5073. schema:
  5074. $ref: '#/definitions/common.QueryTableDefineRsp'
  5075. "500":
  5076. description: Internal Server Error
  5077. schema:
  5078. $ref: '#/definitions/app.Response'
  5079. summary: 查询交易端列表头信息
  5080. tags:
  5081. - 通用服务
  5082. /Common/QueryTraderMenu:
  5083. get:
  5084. parameters:
  5085. - description: 登录账号
  5086. in: query
  5087. name: loginid
  5088. required: true
  5089. type: integer
  5090. produces:
  5091. - application/json
  5092. responses:
  5093. "200":
  5094. description: OK
  5095. schema:
  5096. $ref: '#/definitions/common.QueryTraderMenuRsp'
  5097. "500":
  5098. description: Internal Server Error
  5099. schema:
  5100. $ref: '#/definitions/app.Response'
  5101. summary: 查询交易端菜单
  5102. tags:
  5103. - 通用服务
  5104. /Delivery/QueryDeliveryRelation:
  5105. get:
  5106. parameters:
  5107. - description: 商品ID
  5108. in: query
  5109. name: goodsid
  5110. type: integer
  5111. - description: 品种ID
  5112. in: query
  5113. name: deliverygoodsid
  5114. type: integer
  5115. - description: 市场ID
  5116. in: query
  5117. name: marketid
  5118. type: integer
  5119. produces:
  5120. - application/json
  5121. responses:
  5122. "200":
  5123. description: OK
  5124. schema:
  5125. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  5126. "500":
  5127. description: Internal Server Error
  5128. schema:
  5129. $ref: '#/definitions/app.Response'
  5130. security:
  5131. - ApiKeyAuth: []
  5132. summary: 查询商品交割关系表
  5133. tags:
  5134. - 交割服务
  5135. /Erms2/QueryArbitrageStrategy:
  5136. get:
  5137. parameters:
  5138. - description: 账户ID
  5139. in: query
  5140. name: userid
  5141. required: true
  5142. type: integer
  5143. - description: 商品组ID(品种ID)
  5144. in: query
  5145. name: goodsgroupid
  5146. type: string
  5147. produces:
  5148. - application/json
  5149. responses:
  5150. "200":
  5151. description: OK
  5152. schema:
  5153. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  5154. "500":
  5155. description: Internal Server Error
  5156. schema:
  5157. $ref: '#/definitions/app.Response'
  5158. security:
  5159. - ApiKeyAuth: []
  5160. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  5161. tags:
  5162. - 风险管理
  5163. /Erms2/QueryInnerTradeDetail:
  5164. get:
  5165. parameters:
  5166. - description: 资金账户
  5167. in: query
  5168. name: accountid
  5169. required: true
  5170. type: integer
  5171. produces:
  5172. - application/json
  5173. responses:
  5174. "200":
  5175. description: OK
  5176. schema:
  5177. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  5178. "500":
  5179. description: Internal Server Error
  5180. schema:
  5181. $ref: '#/definitions/app.Response'
  5182. security:
  5183. - ApiKeyAuth: []
  5184. summary: 查询内部成交单信息
  5185. tags:
  5186. - 风险管理
  5187. /Erms2/QuerySpotContract:
  5188. get:
  5189. parameters:
  5190. - description: 策略申请ID
  5191. in: query
  5192. name: asapplyid
  5193. required: true
  5194. type: integer
  5195. - description: 现货合同ID
  5196. in: query
  5197. name: spotcontractid
  5198. type: integer
  5199. produces:
  5200. - application/json
  5201. responses:
  5202. "200":
  5203. description: OK
  5204. schema:
  5205. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  5206. "500":
  5207. description: Internal Server Error
  5208. schema:
  5209. $ref: '#/definitions/app.Response'
  5210. security:
  5211. - ApiKeyAuth: []
  5212. summary: 查询现货合同表信息(指定策略ID、未结束的)
  5213. tags:
  5214. - 风险管理
  5215. /Erms3/AddSpotContractApply:
  5216. post:
  5217. parameters:
  5218. - description: 申请参数
  5219. in: body
  5220. name: jsonBody
  5221. required: true
  5222. schema:
  5223. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  5224. produces:
  5225. - application/json
  5226. responses:
  5227. "200":
  5228. description: OK
  5229. schema:
  5230. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  5231. "500":
  5232. description: Internal Server Error
  5233. schema:
  5234. $ref: '#/definitions/app.Response'
  5235. security:
  5236. - ApiKeyAuth: []
  5237. summary: 新增现货合同申请
  5238. tags:
  5239. - 风险管理v3
  5240. /Erms3/AddUserInfoApply:
  5241. post:
  5242. parameters:
  5243. - description: 申请参数
  5244. in: body
  5245. name: jsonBody
  5246. required: true
  5247. schema:
  5248. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  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. security:
  5261. - ApiKeyAuth: []
  5262. summary: 新增客户申请
  5263. tags:
  5264. - 风险管理v3
  5265. /Erms3/QueryBusinessInfo:
  5266. get:
  5267. parameters:
  5268. - description: 资金账号ID列表,用逗号分隔
  5269. in: query
  5270. name: accountids
  5271. required: true
  5272. type: string
  5273. - description: 状态,0为未结束 1为已结束
  5274. in: query
  5275. name: status
  5276. required: true
  5277. type: integer
  5278. produces:
  5279. - application/json
  5280. responses:
  5281. "200":
  5282. description: OK
  5283. schema:
  5284. items:
  5285. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  5286. type: array
  5287. "500":
  5288. description: Internal Server Error
  5289. schema:
  5290. $ref: '#/definitions/app.Response'
  5291. security:
  5292. - ApiKeyAuth: []
  5293. summary: 查询业务表单数据
  5294. tags:
  5295. - 风险管理v3
  5296. /Erms3/QueryPendingAuditContract:
  5297. get:
  5298. parameters:
  5299. - description: 资金账号ID列表,逗号隔开
  5300. in: query
  5301. name: accountids
  5302. required: true
  5303. type: string
  5304. - description: 合同类型 1-采购 -1-销售
  5305. in: query
  5306. name: contracttype
  5307. required: true
  5308. type: integer
  5309. - description: 合同模式 1-普通 2-回购
  5310. in: query
  5311. name: contractmode
  5312. required: true
  5313. type: integer
  5314. produces:
  5315. - application/json
  5316. responses:
  5317. "200":
  5318. description: OK
  5319. schema:
  5320. items:
  5321. $ref: '#/definitions/erms3.QryAuditContractRsp'
  5322. type: array
  5323. "500":
  5324. description: Internal Server Error
  5325. schema:
  5326. $ref: '#/definitions/app.Response'
  5327. security:
  5328. - ApiKeyAuth: []
  5329. summary: 查询待审核合同
  5330. tags:
  5331. - 风险管理v3
  5332. /Erms3/QueryPendingBusiness:
  5333. get:
  5334. parameters:
  5335. - description: 资金账号ID列表,逗号隔开
  5336. in: query
  5337. name: accountids
  5338. required: true
  5339. type: string
  5340. produces:
  5341. - application/json
  5342. responses:
  5343. "200":
  5344. description: OK
  5345. schema:
  5346. items:
  5347. $ref: '#/definitions/erms3.QryPendingBizRsp'
  5348. type: array
  5349. "500":
  5350. description: Internal Server Error
  5351. schema:
  5352. $ref: '#/definitions/app.Response'
  5353. security:
  5354. - ApiKeyAuth: []
  5355. summary: 查询待审核基差贸易业务
  5356. tags:
  5357. - 风险管理v3
  5358. /Erms3/QuerySpotContractAppleForm:
  5359. get:
  5360. parameters:
  5361. - description: 登录账号
  5362. in: query
  5363. name: loginID
  5364. required: true
  5365. type: integer
  5366. produces:
  5367. - application/json
  5368. responses:
  5369. "200":
  5370. description: OK
  5371. schema:
  5372. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  5373. "500":
  5374. description: Internal Server Error
  5375. schema:
  5376. $ref: '#/definitions/app.Response'
  5377. security:
  5378. - ApiKeyAuth: []
  5379. summary: 查询合同申请表单数据
  5380. tags:
  5381. - 风险管理v3
  5382. /Erms3/QuerySpotContractDetail:
  5383. get:
  5384. parameters:
  5385. - description: 资金账号ID列表,用逗号分隔
  5386. in: query
  5387. name: accountids
  5388. required: true
  5389. type: string
  5390. - description: 合同类型,1为采购合同 -1为销售合同
  5391. in: query
  5392. name: contracttype
  5393. required: true
  5394. type: integer
  5395. - description: 合同模式,1为普通合同 2为回购销售合同
  5396. in: query
  5397. name: contractmode
  5398. required: true
  5399. type: integer
  5400. - description: 状态,0为履约中 1为已完成
  5401. in: query
  5402. name: status
  5403. required: true
  5404. type: integer
  5405. produces:
  5406. - application/json
  5407. responses:
  5408. "200":
  5409. description: OK
  5410. schema:
  5411. items:
  5412. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  5413. type: array
  5414. "500":
  5415. description: Internal Server Error
  5416. schema:
  5417. $ref: '#/definitions/app.Response'
  5418. security:
  5419. - ApiKeyAuth: []
  5420. summary: 查询合同详细信息
  5421. tags:
  5422. - 风险管理v3
  5423. /Erms3/QueryUserInfoApplies:
  5424. get:
  5425. parameters:
  5426. - description: 页码
  5427. in: query
  5428. name: page
  5429. type: integer
  5430. - description: 每页条数
  5431. in: query
  5432. name: pagesize
  5433. type: integer
  5434. - description: 客户名称,支持模糊查询
  5435. in: query
  5436. name: userName
  5437. type: string
  5438. produces:
  5439. - application/json
  5440. responses:
  5441. "200":
  5442. description: OK
  5443. schema:
  5444. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  5445. "500":
  5446. description: Internal Server Error
  5447. schema:
  5448. $ref: '#/definitions/app.Response'
  5449. security:
  5450. - ApiKeyAuth: []
  5451. summary: 客户申请信息查询
  5452. tags:
  5453. - 风险管理v3
  5454. /Erms3/QueryUserInfos:
  5455. get:
  5456. parameters:
  5457. - description: 页码
  5458. in: query
  5459. name: page
  5460. type: integer
  5461. - description: 每页条数
  5462. in: query
  5463. name: pagesize
  5464. type: integer
  5465. - description: 客户名称,支持模糊查询
  5466. in: query
  5467. name: userName
  5468. type: string
  5469. produces:
  5470. - application/json
  5471. responses:
  5472. "200":
  5473. description: OK
  5474. schema:
  5475. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  5476. "500":
  5477. description: Internal Server Error
  5478. schema:
  5479. $ref: '#/definitions/app.Response'
  5480. security:
  5481. - ApiKeyAuth: []
  5482. summary: 客户信息查询
  5483. tags:
  5484. - 风险管理v3
  5485. /HSBY/GetHsbyMyCount:
  5486. get:
  5487. description: 说明: 不包括已完成的数量。
  5488. parameters:
  5489. - description: 资金账户列表,格式:1,2,3
  5490. in: query
  5491. name: accountIDs
  5492. required: true
  5493. type: string
  5494. produces:
  5495. - application/json
  5496. responses:
  5497. "200":
  5498. description: OK
  5499. schema:
  5500. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  5501. "500":
  5502. description: Internal Server Error
  5503. schema:
  5504. $ref: '#/definitions/app.Response'
  5505. security:
  5506. - ApiKeyAuth: []
  5507. summary: 获取我的订单与包裹数量
  5508. tags:
  5509. - 定制【海商报业】
  5510. /HSBY/QueryHsbyBuyMyTradeDetail:
  5511. get:
  5512. parameters:
  5513. - description: 页码
  5514. in: query
  5515. name: page
  5516. type: integer
  5517. - description: 每页条数
  5518. in: query
  5519. name: pagesize
  5520. type: integer
  5521. - description: 资金账户列表,格式:1,2,3
  5522. in: query
  5523. name: accountIDs
  5524. required: true
  5525. type: string
  5526. produces:
  5527. - application/json
  5528. responses:
  5529. "200":
  5530. description: OK
  5531. schema:
  5532. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  5533. "500":
  5534. description: Internal Server Error
  5535. schema:
  5536. $ref: '#/definitions/app.Response'
  5537. security:
  5538. - ApiKeyAuth: []
  5539. summary: 查询"我的订单 - 已完成"单据信息
  5540. tags:
  5541. - 定制【海商报业】
  5542. /HSBY/QueryHsbyGoodsOrderDetails:
  5543. get:
  5544. description: 说明:查询结果已按委托价格和委托时间排序
  5545. parameters:
  5546. - description: 商品ID
  5547. in: query
  5548. name: goodsID
  5549. required: true
  5550. type: integer
  5551. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  5552. in: query
  5553. name: accountIDs
  5554. required: true
  5555. type: string
  5556. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  5557. in: query
  5558. name: buyOrSell
  5559. type: integer
  5560. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  5561. in: query
  5562. name: price
  5563. type: number
  5564. - description: 档位,不传则默认为3档
  5565. in: query
  5566. name: speed
  5567. type: integer
  5568. produces:
  5569. - application/json
  5570. responses:
  5571. "200":
  5572. description: OK
  5573. schema:
  5574. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  5575. "500":
  5576. description: Internal Server Error
  5577. schema:
  5578. $ref: '#/definitions/app.Response'
  5579. security:
  5580. - ApiKeyAuth: []
  5581. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  5582. tags:
  5583. - 定制【海商报业】
  5584. /HSBY/QueryHsbyListingGoodsDetail:
  5585. get:
  5586. parameters:
  5587. - description: 商品ID
  5588. in: query
  5589. name: goodsID
  5590. required: true
  5591. type: integer
  5592. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  5593. in: query
  5594. name: AccountID
  5595. type: integer
  5596. produces:
  5597. - application/json
  5598. responses:
  5599. "200":
  5600. description: OK
  5601. schema:
  5602. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  5603. "500":
  5604. description: Internal Server Error
  5605. schema:
  5606. $ref: '#/definitions/app.Response'
  5607. security:
  5608. - ApiKeyAuth: []
  5609. summary: 查询二级市场(挂牌点选)商品信息详情
  5610. tags:
  5611. - 定制【海商报业】
  5612. /HSBY/QueryHsbyMyBuyOrderDetails:
  5613. get:
  5614. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  5615. parameters:
  5616. - description: 资金账户列表,格式:1,2,3
  5617. in: query
  5618. name: accountIDs
  5619. required: true
  5620. type: string
  5621. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  5622. in: query
  5623. name: myBuyStatus
  5624. type: integer
  5625. produces:
  5626. - application/json
  5627. responses:
  5628. "200":
  5629. description: OK
  5630. schema:
  5631. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  5632. "500":
  5633. description: Internal Server Error
  5634. schema:
  5635. $ref: '#/definitions/app.Response'
  5636. security:
  5637. - ApiKeyAuth: []
  5638. summary: 查询“我的订单”信息
  5639. tags:
  5640. - 定制【海商报业】
  5641. /HSBY/QueryHsbyMyGoods:
  5642. get:
  5643. parameters:
  5644. - description: 资金账户列表,格式:1,2,3
  5645. in: query
  5646. name: accountIDs
  5647. required: true
  5648. type: string
  5649. produces:
  5650. - application/json
  5651. responses:
  5652. "200":
  5653. description: OK
  5654. schema:
  5655. $ref: '#/definitions/models.HsbyMyGoods'
  5656. "500":
  5657. description: Internal Server Error
  5658. schema:
  5659. $ref: '#/definitions/app.Response'
  5660. security:
  5661. - ApiKeyAuth: []
  5662. summary: 查询“我的商品”信息
  5663. tags:
  5664. - 定制【海商报业】
  5665. /HSBY/QueryHsbyMyPackages:
  5666. get:
  5667. parameters:
  5668. - description: 资金账户列表,格式:1,2,3
  5669. in: query
  5670. name: accountIDs
  5671. required: true
  5672. type: string
  5673. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5674. in: query
  5675. name: takeOrderStatus
  5676. type: integer
  5677. produces:
  5678. - application/json
  5679. responses:
  5680. "200":
  5681. description: OK
  5682. schema:
  5683. $ref: '#/definitions/models.HsbyMyPackage'
  5684. "500":
  5685. description: Internal Server Error
  5686. schema:
  5687. $ref: '#/definitions/app.Response'
  5688. security:
  5689. - ApiKeyAuth: []
  5690. summary: 查询我的包裹信息
  5691. tags:
  5692. - 定制【海商报业】
  5693. /HSBY/QueryHsbyPreGoodsDetail:
  5694. get:
  5695. parameters:
  5696. - description: 商品ID
  5697. in: query
  5698. name: goodsID
  5699. required: true
  5700. type: integer
  5701. - description: 资金账户,主要用于获取预售商品购买上限
  5702. in: query
  5703. name: accountID
  5704. required: true
  5705. type: integer
  5706. produces:
  5707. - application/json
  5708. responses:
  5709. "200":
  5710. description: OK
  5711. schema:
  5712. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  5713. "500":
  5714. description: Internal Server Error
  5715. schema:
  5716. $ref: '#/definitions/app.Response'
  5717. security:
  5718. - ApiKeyAuth: []
  5719. summary: 查询一级市场(产能预售)商品信息详情
  5720. tags:
  5721. - 定制【海商报业】
  5722. /HSBY/QueryHsbyPreGoodses:
  5723. get:
  5724. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  5725. parameters:
  5726. - description: 页码
  5727. in: query
  5728. name: page
  5729. type: integer
  5730. - description: 每页条数
  5731. in: query
  5732. name: pagesize
  5733. type: integer
  5734. - description: 市场ID列表,格式:1,2,3
  5735. in: query
  5736. name: marketIDs
  5737. required: true
  5738. type: string
  5739. - description: 目的地(省)ID
  5740. in: query
  5741. name: descProvinceID
  5742. type: integer
  5743. - description: 目的地(市)ID
  5744. in: query
  5745. name: descCityID
  5746. type: integer
  5747. produces:
  5748. - application/json
  5749. responses:
  5750. "200":
  5751. description: OK
  5752. schema:
  5753. $ref: '#/definitions/models.HsbyPreGoods'
  5754. "500":
  5755. description: Internal Server Error
  5756. schema:
  5757. $ref: '#/definitions/app.Response'
  5758. security:
  5759. - ApiKeyAuth: []
  5760. summary: 查询新品上市商品列表(一级市场产能预售)
  5761. tags:
  5762. - 定制【海商报业】
  5763. /HSBY/QueryHsbySellMyDetails:
  5764. get:
  5765. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  5766. parameters:
  5767. - description: 页码
  5768. in: query
  5769. name: page
  5770. type: integer
  5771. - description: 每页条数
  5772. in: query
  5773. name: pagesize
  5774. type: integer
  5775. - description: 资金账户列表,格式:1,2,3
  5776. in: query
  5777. name: accountIDs
  5778. required: true
  5779. type: string
  5780. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  5781. in: query
  5782. name: orderType
  5783. type: integer
  5784. produces:
  5785. - application/json
  5786. responses:
  5787. "200":
  5788. description: OK
  5789. schema:
  5790. $ref: '#/definitions/models.HsbySellMyDetail'
  5791. "500":
  5792. description: Internal Server Error
  5793. schema:
  5794. $ref: '#/definitions/app.Response'
  5795. security:
  5796. - ApiKeyAuth: []
  5797. summary: 查询"我的闲置"单据信息
  5798. tags:
  5799. - 定制【海商报业】
  5800. /HSBY/QueryHsbyTopGoodses:
  5801. get:
  5802. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  5803. parameters:
  5804. - description: 页码
  5805. in: query
  5806. name: page
  5807. type: integer
  5808. - description: 每页条数
  5809. in: query
  5810. name: pagesize
  5811. type: integer
  5812. - description: 市场ID列表,格式:1,2,3
  5813. in: query
  5814. name: marketIDs
  5815. required: true
  5816. type: string
  5817. - description: 目的地(省)ID
  5818. in: query
  5819. name: descProvinceID
  5820. type: integer
  5821. - description: 目的地(市)ID
  5822. in: query
  5823. name: descCityID
  5824. type: integer
  5825. produces:
  5826. - application/json
  5827. responses:
  5828. "200":
  5829. description: OK
  5830. schema:
  5831. $ref: '#/definitions/models.HsbyTopGoods'
  5832. "500":
  5833. description: Internal Server Error
  5834. schema:
  5835. $ref: '#/definitions/app.Response'
  5836. security:
  5837. - ApiKeyAuth: []
  5838. summary: 查询热卖商品列表(二级市场挂牌点选)
  5839. tags:
  5840. - 定制【海商报业】
  5841. /HSBY/QueryProvincesAndCities:
  5842. get:
  5843. description: 查询结果只包括二级市场商品已关连的省市信息。
  5844. parameters:
  5845. - description: 省ID
  5846. in: query
  5847. name: provinceID
  5848. type: integer
  5849. produces:
  5850. - application/json
  5851. responses:
  5852. "200":
  5853. description: OK
  5854. schema:
  5855. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  5856. "500":
  5857. description: Internal Server Error
  5858. schema:
  5859. $ref: '#/definitions/app.Response'
  5860. security:
  5861. - ApiKeyAuth: []
  5862. summary: 查询省市信息(不包括区)
  5863. tags:
  5864. - 定制【海商报业】
  5865. /HSBY/SetHsbyMyPackagesStatus:
  5866. post:
  5867. parameters:
  5868. - description: 提货单号
  5869. in: query
  5870. name: takeOrderID
  5871. required: true
  5872. type: string
  5873. - description: 资金账号
  5874. in: query
  5875. name: accountID
  5876. required: true
  5877. type: integer
  5878. produces:
  5879. - application/json
  5880. responses:
  5881. "200":
  5882. description: OK
  5883. schema:
  5884. $ref: '#/definitions/app.Response'
  5885. "500":
  5886. description: Internal Server Error
  5887. schema:
  5888. $ref: '#/definitions/app.Response'
  5889. security:
  5890. - ApiKeyAuth: []
  5891. summary: 设置我的包裹已收货状态
  5892. tags:
  5893. - 定制【海商报业】
  5894. /Order/QueryHisTradeDetail:
  5895. get:
  5896. parameters:
  5897. - description: 资金账户 - 格式:1,2,3
  5898. in: query
  5899. name: accountID
  5900. required: true
  5901. type: string
  5902. - description: 成交单号
  5903. in: query
  5904. name: tradeID
  5905. type: integer
  5906. - description: 委托单号
  5907. in: query
  5908. name: orderID
  5909. type: integer
  5910. - description: 交易模式 - 格式:1,2,3
  5911. in: query
  5912. name: tradeMode
  5913. type: string
  5914. - description: 委托单据类型
  5915. in: query
  5916. name: buildType
  5917. type: integer
  5918. - description: 成交类别 - 格式:1,2,3
  5919. in: query
  5920. name: tradeType
  5921. type: string
  5922. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5923. in: query
  5924. name: startDate
  5925. type: string
  5926. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5927. in: query
  5928. name: endDate
  5929. type: string
  5930. produces:
  5931. - application/json
  5932. responses:
  5933. "200":
  5934. description: OK
  5935. schema:
  5936. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  5937. "500":
  5938. description: Internal Server Error
  5939. schema:
  5940. $ref: '#/definitions/app.Response'
  5941. security:
  5942. - ApiKeyAuth: []
  5943. summary: 历史成交单查询(合约市场)
  5944. tags:
  5945. - 通用单据
  5946. /Order/QueryHisTradeOrderDetail:
  5947. get:
  5948. parameters:
  5949. - description: 资金账户 - 格式:1,2,3
  5950. in: query
  5951. name: accountID
  5952. required: true
  5953. type: string
  5954. - description: 交易模式 - 格式:1,2,3
  5955. in: query
  5956. name: tradeMode
  5957. type: string
  5958. - description: 委托状态 - 格式:1,2,3
  5959. in: query
  5960. name: orderStatus
  5961. type: string
  5962. - description: 委托单号
  5963. in: query
  5964. name: orderID
  5965. type: integer
  5966. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  5967. in: query
  5968. name: startDate
  5969. type: string
  5970. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  5971. in: query
  5972. name: endDate
  5973. type: string
  5974. produces:
  5975. - application/json
  5976. responses:
  5977. "200":
  5978. description: OK
  5979. schema:
  5980. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  5981. "500":
  5982. description: Internal Server Error
  5983. schema:
  5984. $ref: '#/definitions/app.Response'
  5985. security:
  5986. - ApiKeyAuth: []
  5987. summary: 历史委托单查询请求(合约市场)
  5988. tags:
  5989. - 通用单据
  5990. /Order/QueryTradeDetail:
  5991. get:
  5992. parameters:
  5993. - description: 资金账户 - 格式:1,2,3
  5994. in: query
  5995. name: accountID
  5996. required: true
  5997. type: string
  5998. - description: 成交单号
  5999. in: query
  6000. name: tradeID
  6001. type: integer
  6002. - description: 委托单号
  6003. in: query
  6004. name: orderID
  6005. type: integer
  6006. - description: 交易模式 - 格式:1,2,3
  6007. in: query
  6008. name: tradeMode
  6009. type: string
  6010. - description: 委托单据类型
  6011. in: query
  6012. name: buildType
  6013. type: integer
  6014. - description: 成交类别 - 格式:1,2,3
  6015. in: query
  6016. name: tradeType
  6017. type: string
  6018. produces:
  6019. - application/json
  6020. responses:
  6021. "200":
  6022. description: OK
  6023. schema:
  6024. $ref: '#/definitions/order.QueryTradeDetailRsp'
  6025. "500":
  6026. description: Internal Server Error
  6027. schema:
  6028. $ref: '#/definitions/app.Response'
  6029. security:
  6030. - ApiKeyAuth: []
  6031. summary: 成交单查询(合约市场)
  6032. tags:
  6033. - 通用单据
  6034. /Order/QueryTradeOrderDetail:
  6035. get:
  6036. parameters:
  6037. - description: 资金账户 - 格式:1,2,3
  6038. in: query
  6039. name: accountID
  6040. required: true
  6041. type: string
  6042. - description: 交易模式 - 格式:1,2,3
  6043. in: query
  6044. name: tradeMode
  6045. type: string
  6046. - description: 委托状态 - 格式:1,2,3
  6047. in: query
  6048. name: orderStatus
  6049. type: string
  6050. - description: 委托单号
  6051. in: query
  6052. name: orderID
  6053. type: integer
  6054. produces:
  6055. - application/json
  6056. responses:
  6057. "200":
  6058. description: OK
  6059. schema:
  6060. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  6061. "500":
  6062. description: Internal Server Error
  6063. schema:
  6064. $ref: '#/definitions/app.Response'
  6065. security:
  6066. - ApiKeyAuth: []
  6067. summary: 委托单查询请求(合约市场)
  6068. tags:
  6069. - 通用单据
  6070. /Order/QueryTradePosition:
  6071. get:
  6072. parameters:
  6073. - description: 资金账户 - 格式:1,2,3
  6074. in: query
  6075. name: accountID
  6076. required: true
  6077. type: string
  6078. - description: 交易模式 - 格式:1,2,3
  6079. in: query
  6080. name: tradeMode
  6081. type: string
  6082. produces:
  6083. - application/json
  6084. responses:
  6085. "200":
  6086. description: OK
  6087. schema:
  6088. $ref: '#/definitions/order.QueryTradePositionRsp'
  6089. "500":
  6090. description: Internal Server Error
  6091. schema:
  6092. $ref: '#/definitions/app.Response'
  6093. security:
  6094. - ApiKeyAuth: []
  6095. summary: 持仓汇总查询(合约市场)
  6096. tags:
  6097. - 通用单据
  6098. /Quote/QueryHistoryDatas:
  6099. get:
  6100. parameters:
  6101. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  6102. 日线 10: Tik'
  6103. in: query
  6104. name: cycleType
  6105. required: true
  6106. type: integer
  6107. - description: 商品代码
  6108. in: query
  6109. name: goodsCode
  6110. required: true
  6111. type: string
  6112. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  6113. in: query
  6114. name: startTime
  6115. type: string
  6116. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  6117. in: query
  6118. name: endTime
  6119. type: string
  6120. - description: 条数
  6121. in: query
  6122. name: count
  6123. type: integer
  6124. - description: 是否按时间顺序排序(默认为时间倒序排序)
  6125. in: query
  6126. name: isAsc
  6127. type: boolean
  6128. produces:
  6129. - application/json
  6130. responses:
  6131. "200":
  6132. description: OK
  6133. schema:
  6134. $ref: '#/definitions/quote.HistoryData'
  6135. "500":
  6136. description: Internal Server Error
  6137. schema:
  6138. $ref: '#/definitions/app.Response'
  6139. security:
  6140. - ApiKeyAuth: []
  6141. summary: 查询行情历史数据
  6142. tags:
  6143. - 行情服务
  6144. /Quote/QueryTSData:
  6145. get:
  6146. parameters:
  6147. - description: 商品代码
  6148. in: query
  6149. name: GoodsCode
  6150. required: true
  6151. type: string
  6152. produces:
  6153. - application/json
  6154. responses:
  6155. "200":
  6156. description: OK
  6157. schema:
  6158. $ref: '#/definitions/quote.QueryTSDataRsp'
  6159. "500":
  6160. description: Internal Server Error
  6161. schema:
  6162. $ref: '#/definitions/app.Response'
  6163. summary: 分时图数据查询
  6164. tags:
  6165. - 行情服务
  6166. /SZDZ/QueryConvertConfig:
  6167. get:
  6168. parameters:
  6169. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6170. 6:交易转花生米(不设置)
  6171. in: query
  6172. name: convertType
  6173. type: integer
  6174. - description: 外部商品代码[JD\PD]
  6175. in: query
  6176. name: outerGoodsCode
  6177. type: string
  6178. - description: 内部商品ID列表[交易],格式:1,2,3
  6179. in: query
  6180. name: innerGoodsIDs
  6181. type: string
  6182. produces:
  6183. - application/json
  6184. responses:
  6185. "200":
  6186. description: OK
  6187. schema:
  6188. $ref: '#/definitions/models.Szdz3convertconfig'
  6189. "500":
  6190. description: Internal Server Error
  6191. schema:
  6192. $ref: '#/definitions/app.Response'
  6193. security:
  6194. - ApiKeyAuth: []
  6195. summary: 查询交易系统转换设置
  6196. tags:
  6197. - 定制【尚志大宗】
  6198. /SZDZ/QueryConvertLog:
  6199. get:
  6200. parameters:
  6201. - description: 资金账户 - 格式:1,2,3
  6202. in: query
  6203. name: accountID
  6204. required: true
  6205. type: string
  6206. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6207. in: query
  6208. name: startDate
  6209. type: string
  6210. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  6211. in: query
  6212. name: endDate
  6213. type: string
  6214. produces:
  6215. - application/json
  6216. responses:
  6217. "200":
  6218. description: OK
  6219. schema:
  6220. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  6221. "500":
  6222. description: Internal Server Error
  6223. schema:
  6224. $ref: '#/definitions/app.Response'
  6225. security:
  6226. - ApiKeyAuth: []
  6227. summary: 交易系统转换流水查询
  6228. tags:
  6229. - 定制【尚志大宗】
  6230. /SZDZ/QueryGoodsPickup:
  6231. get:
  6232. parameters:
  6233. - description: 资金账户 - 格式:1,2,3
  6234. in: query
  6235. name: accountID
  6236. required: true
  6237. type: string
  6238. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6239. in: query
  6240. name: takeOrderStatus
  6241. type: integer
  6242. produces:
  6243. - application/json
  6244. responses:
  6245. "200":
  6246. description: OK
  6247. schema:
  6248. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  6249. "500":
  6250. description: Internal Server Error
  6251. schema:
  6252. $ref: '#/definitions/app.Response'
  6253. security:
  6254. - ApiKeyAuth: []
  6255. summary: 商品提货单查询
  6256. tags:
  6257. - 定制【尚志大宗】
  6258. /SZDZ/QueryRecieptOrder:
  6259. get:
  6260. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  6261. parameters:
  6262. - description: 页码
  6263. in: query
  6264. name: page
  6265. type: integer
  6266. - description: 每页条数
  6267. in: query
  6268. name: pagesize
  6269. type: integer
  6270. - description: 商品ID
  6271. in: query
  6272. name: goodsID
  6273. required: true
  6274. type: integer
  6275. - description: 所属账户名称
  6276. in: query
  6277. name: accountName
  6278. type: string
  6279. - description: 市场ID
  6280. in: query
  6281. name: marketID
  6282. type: integer
  6283. - description: 方向 - 0:买 1:卖
  6284. in: query
  6285. name: buyorsell
  6286. required: true
  6287. type: integer
  6288. produces:
  6289. - application/json
  6290. responses:
  6291. "200":
  6292. description: OK
  6293. schema:
  6294. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  6295. "500":
  6296. description: Internal Server Error
  6297. schema:
  6298. $ref: '#/definitions/app.Response'
  6299. security:
  6300. - ApiKeyAuth: []
  6301. summary: 点选挂牌委托单据查询(摘牌大厅)
  6302. tags:
  6303. - 定制【尚志大宗】
  6304. /SZDZ/QuerySZDZTradePosition:
  6305. get:
  6306. parameters:
  6307. - description: 资金账户
  6308. in: query
  6309. name: accountID
  6310. required: true
  6311. type: integer
  6312. produces:
  6313. - application/json
  6314. responses:
  6315. "200":
  6316. description: OK
  6317. schema:
  6318. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  6319. "500":
  6320. description: Internal Server Error
  6321. schema:
  6322. $ref: '#/definitions/app.Response'
  6323. security:
  6324. - ApiKeyAuth: []
  6325. summary: 持仓汇总查询(尚志大宗)
  6326. tags:
  6327. - 定制【尚志大宗】
  6328. /SZDZ/SearchWhite:
  6329. get:
  6330. parameters:
  6331. - description: 用户ID
  6332. in: query
  6333. name: userID
  6334. required: true
  6335. type: integer
  6336. produces:
  6337. - application/json
  6338. responses:
  6339. "200":
  6340. description: OK
  6341. schema:
  6342. $ref: '#/definitions/models.Szdz3searchwhitelist'
  6343. "500":
  6344. description: Internal Server Error
  6345. schema:
  6346. $ref: '#/definitions/app.Response'
  6347. security:
  6348. - ApiKeyAuth: []
  6349. summary: 搜索白名单
  6350. tags:
  6351. - 定制【尚志大宗】
  6352. /Search/SearchGoodses:
  6353. get:
  6354. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  6355. parameters:
  6356. - description: 检索内容
  6357. in: query
  6358. name: content
  6359. required: true
  6360. type: string
  6361. produces:
  6362. - application/json
  6363. responses:
  6364. "200":
  6365. description: OK
  6366. schema:
  6367. $ref: '#/definitions/models.SearchGoods'
  6368. "500":
  6369. description: Internal Server Error
  6370. schema:
  6371. $ref: '#/definitions/app.Response'
  6372. summary: 检索商品信息
  6373. tags:
  6374. - 检索服务
  6375. /TaAccount/QueryAmountLog:
  6376. get:
  6377. parameters:
  6378. - description: 页码
  6379. in: query
  6380. name: page
  6381. type: integer
  6382. - description: 每页条数
  6383. in: query
  6384. name: pagesize
  6385. type: integer
  6386. - description: 资金账户 - 格式:1,2,3
  6387. in: query
  6388. name: accountID
  6389. required: true
  6390. type: string
  6391. - description: 资金操作类型 - 格式:1,2,3
  6392. in: query
  6393. name: OperateType
  6394. type: string
  6395. produces:
  6396. - application/json
  6397. responses:
  6398. "200":
  6399. description: OK
  6400. schema:
  6401. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  6402. "500":
  6403. description: Internal Server Error
  6404. schema:
  6405. $ref: '#/definitions/app.Response'
  6406. security:
  6407. - ApiKeyAuth: []
  6408. summary: 资金流水查询(当前)
  6409. tags:
  6410. - 资金账户
  6411. /TaAccount/QueryHisAmountLog:
  6412. get:
  6413. parameters:
  6414. - description: 页码
  6415. in: query
  6416. name: page
  6417. type: integer
  6418. - description: 每页条数
  6419. in: query
  6420. name: pagesize
  6421. type: integer
  6422. - description: 资金账户 - 格式:1,2,3
  6423. in: query
  6424. name: accountID
  6425. required: true
  6426. type: string
  6427. - description: 资金操作类型 - 格式:1,2,3
  6428. in: query
  6429. name: OperateType
  6430. type: string
  6431. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  6432. in: query
  6433. name: startDate
  6434. type: string
  6435. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  6436. in: query
  6437. name: endDate
  6438. type: string
  6439. produces:
  6440. - application/json
  6441. responses:
  6442. "200":
  6443. description: OK
  6444. schema:
  6445. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  6446. "500":
  6447. description: Internal Server Error
  6448. schema:
  6449. $ref: '#/definitions/app.Response'
  6450. security:
  6451. - ApiKeyAuth: []
  6452. summary: 资金流水查询(历史)
  6453. tags:
  6454. - 资金账户
  6455. /Trade/QueryRecieptOrder:
  6456. get:
  6457. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  6458. parameters:
  6459. - description: 页码
  6460. in: query
  6461. name: page
  6462. type: integer
  6463. - description: 每页条数
  6464. in: query
  6465. name: pagesize
  6466. type: integer
  6467. - description: 商品ID
  6468. in: query
  6469. name: goodsID
  6470. required: true
  6471. type: integer
  6472. - description: 所属账户名称
  6473. in: query
  6474. name: accountName
  6475. type: string
  6476. - description: 市场ID
  6477. in: query
  6478. name: marketID
  6479. type: integer
  6480. - description: 方向 - 0:买 1:卖
  6481. in: query
  6482. name: buyorsell
  6483. required: true
  6484. type: integer
  6485. produces:
  6486. - application/json
  6487. responses:
  6488. "200":
  6489. description: OK
  6490. schema:
  6491. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  6492. "500":
  6493. description: Internal Server Error
  6494. schema:
  6495. $ref: '#/definitions/app.Response'
  6496. security:
  6497. - ApiKeyAuth: []
  6498. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  6499. tags:
  6500. - 通用交易
  6501. /User/AddMessageBoard:
  6502. post:
  6503. parameters:
  6504. - description: 用户ID
  6505. in: query
  6506. name: userID
  6507. required: true
  6508. type: integer
  6509. - description: 留言信息
  6510. in: query
  6511. name: message
  6512. required: true
  6513. type: string
  6514. produces:
  6515. - application/json
  6516. responses:
  6517. "200":
  6518. description: OK
  6519. schema:
  6520. $ref: '#/definitions/app.Response'
  6521. "500":
  6522. description: Internal Server Error
  6523. schema:
  6524. $ref: '#/definitions/app.Response'
  6525. security:
  6526. - ApiKeyAuth: []
  6527. summary: 添加用户留言板信息
  6528. tags:
  6529. - 用户信息
  6530. /User/AddUserFavoriteGoods:
  6531. post:
  6532. parameters:
  6533. - description: 用户ID
  6534. in: query
  6535. name: userID
  6536. required: true
  6537. type: integer
  6538. - description: 商品ID
  6539. in: query
  6540. name: goodsID
  6541. required: true
  6542. type: integer
  6543. produces:
  6544. - application/json
  6545. responses:
  6546. "200":
  6547. description: OK
  6548. schema:
  6549. $ref: '#/definitions/app.Response'
  6550. "500":
  6551. description: Internal Server Error
  6552. schema:
  6553. $ref: '#/definitions/app.Response'
  6554. security:
  6555. - ApiKeyAuth: []
  6556. summary: 添加用户商品收藏信息
  6557. tags:
  6558. - 用户信息
  6559. /User/GetLoginID:
  6560. get:
  6561. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  6562. parameters:
  6563. - description: 登录代码
  6564. in: query
  6565. name: username
  6566. required: true
  6567. type: string
  6568. produces:
  6569. - application/json
  6570. responses:
  6571. "200":
  6572. description: OK
  6573. schema:
  6574. $ref: '#/definitions/app.Response'
  6575. "500":
  6576. description: Internal Server Error
  6577. schema:
  6578. $ref: '#/definitions/app.Response'
  6579. summary: 获取登录ID
  6580. tags:
  6581. - 用户信息
  6582. /User/GetUserAccount:
  6583. get:
  6584. parameters:
  6585. - description: 用户ID
  6586. in: query
  6587. name: userID
  6588. required: true
  6589. type: integer
  6590. produces:
  6591. - application/json
  6592. responses:
  6593. "200":
  6594. description: OK
  6595. schema:
  6596. $ref: '#/definitions/models.Useraccount'
  6597. "500":
  6598. description: Internal Server Error
  6599. schema:
  6600. $ref: '#/definitions/app.Response'
  6601. security:
  6602. - ApiKeyAuth: []
  6603. summary: 获取用户账号信息
  6604. tags:
  6605. - 用户信息
  6606. /User/GetUserAuthStatus:
  6607. get:
  6608. parameters:
  6609. - description: 用户ID
  6610. in: query
  6611. name: userID
  6612. required: true
  6613. type: integer
  6614. produces:
  6615. - application/json
  6616. responses:
  6617. "200":
  6618. description: OK
  6619. schema:
  6620. $ref: '#/definitions/app.Response'
  6621. "500":
  6622. description: Internal Server Error
  6623. schema:
  6624. $ref: '#/definitions/app.Response'
  6625. security:
  6626. - ApiKeyAuth: []
  6627. summary: 获取用户实名认证状态
  6628. tags:
  6629. - 用户信息
  6630. /User/QueryMessageBoard:
  6631. get:
  6632. parameters:
  6633. - description: 用户ID
  6634. in: query
  6635. name: userID
  6636. required: true
  6637. type: integer
  6638. produces:
  6639. - application/json
  6640. responses:
  6641. "200":
  6642. description: OK
  6643. schema:
  6644. $ref: '#/definitions/models.Messageboard'
  6645. "500":
  6646. description: Internal Server Error
  6647. schema:
  6648. $ref: '#/definitions/app.Response'
  6649. security:
  6650. - ApiKeyAuth: []
  6651. summary: 获取用户留言板信息
  6652. tags:
  6653. - 用户信息
  6654. /User/QueryUserFavoriteGoodses:
  6655. get:
  6656. parameters:
  6657. - description: 用户ID
  6658. in: query
  6659. name: userID
  6660. required: true
  6661. type: integer
  6662. produces:
  6663. - application/json
  6664. responses:
  6665. "200":
  6666. description: OK
  6667. schema:
  6668. $ref: '#/definitions/models.Userfavoritegoods'
  6669. "500":
  6670. description: Internal Server Error
  6671. schema:
  6672. $ref: '#/definitions/app.Response'
  6673. security:
  6674. - ApiKeyAuth: []
  6675. summary: 获取用户商品收藏信息
  6676. tags:
  6677. - 用户信息
  6678. /User/QueryUserInfo:
  6679. get:
  6680. parameters:
  6681. - description: 用户ID
  6682. in: query
  6683. name: userID
  6684. required: true
  6685. type: integer
  6686. produces:
  6687. - application/json
  6688. responses:
  6689. "200":
  6690. description: OK
  6691. schema:
  6692. $ref: '#/definitions/models.Userinfo'
  6693. "500":
  6694. description: Internal Server Error
  6695. schema:
  6696. $ref: '#/definitions/app.Response'
  6697. security:
  6698. - ApiKeyAuth: []
  6699. summary: 获取用户信息
  6700. tags:
  6701. - 用户信息
  6702. /User/QueryUserReferNum:
  6703. get:
  6704. parameters:
  6705. - description: 用户ID
  6706. in: query
  6707. name: userID
  6708. required: true
  6709. type: integer
  6710. produces:
  6711. - application/json
  6712. responses:
  6713. "200":
  6714. description: OK
  6715. schema:
  6716. $ref: '#/definitions/app.Response'
  6717. "500":
  6718. description: Internal Server Error
  6719. schema:
  6720. $ref: '#/definitions/app.Response'
  6721. summary: 获取用户邀请码
  6722. tags:
  6723. - 用户信息
  6724. /User/RemoveUserFavoriteGoods:
  6725. post:
  6726. parameters:
  6727. - description: 用户ID
  6728. in: query
  6729. name: userID
  6730. required: true
  6731. type: integer
  6732. - description: 商品ID
  6733. in: query
  6734. name: goodsID
  6735. required: true
  6736. type: integer
  6737. produces:
  6738. - application/json
  6739. responses:
  6740. "200":
  6741. description: OK
  6742. schema:
  6743. $ref: '#/definitions/app.Response'
  6744. "500":
  6745. description: Internal Server Error
  6746. schema:
  6747. $ref: '#/definitions/app.Response'
  6748. security:
  6749. - ApiKeyAuth: []
  6750. summary: 移除用户商品收藏信息
  6751. tags:
  6752. - 用户信息
  6753. /WRTrade/GetAllDeliveryGoods:
  6754. get:
  6755. produces:
  6756. - application/json
  6757. - application/json
  6758. responses:
  6759. "200":
  6760. description: OK
  6761. schema:
  6762. $ref: '#/definitions/app.Response'
  6763. "500":
  6764. description: Internal Server Error
  6765. schema:
  6766. $ref: '#/definitions/app.Response'
  6767. security:
  6768. - ApiKeyAuth: []
  6769. - ApiKeyAuth: []
  6770. summary: 获取带仓单分类的种类信息
  6771. tags:
  6772. - 仓单贸易
  6773. - 仓单贸易
  6774. securityDefinitions:
  6775. ApiKeyAuth:
  6776. in: header
  6777. name: Authorization
  6778. type: apiKey
  6779. swagger: "2.0"