swagger.yaml 195 KB

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