docs.go 358 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000
  1. // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import (
  5. "bytes"
  6. "encoding/json"
  7. "strings"
  8. "github.com/alecthomas/template"
  9. "github.com/swaggo/swag"
  10. )
  11. var doc = `{
  12. "schemes": {{ marshal .Schemes }},
  13. "swagger": "2.0",
  14. "info": {
  15. "description": "{{.Description}}",
  16. "title": "{{.Title}}",
  17. "termsOfService": "http://muchinfo.cn",
  18. "contact": {},
  19. "version": "{{.Version}}"
  20. },
  21. "host": "{{.Host}}",
  22. "basePath": "{{.BasePath}}",
  23. "paths": {
  24. "/CPTrade/QueryCPTradeMyBidInfos": {
  25. "get": {
  26. "security": [
  27. {
  28. "ApiKeyAuth": []
  29. }
  30. ],
  31. "produces": [
  32. "application/json"
  33. ],
  34. "tags": [
  35. "产能预售"
  36. ],
  37. "summary": "查询产能预售我的出价信息",
  38. "parameters": [
  39. {
  40. "type": "integer",
  41. "description": "资金账户",
  42. "name": "accountid",
  43. "in": "query",
  44. "required": true
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售市场ID",
  49. "name": "marketid",
  50. "in": "query"
  51. },
  52. {
  53. "type": "integer",
  54. "description": "预售商品ID",
  55. "name": "goodsid",
  56. "in": "query"
  57. }
  58. ],
  59. "responses": {
  60. "200": {
  61. "description": "OK",
  62. "schema": {
  63. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  64. }
  65. },
  66. "500": {
  67. "description": "Internal Server Error",
  68. "schema": {
  69. "$ref": "#/definitions/app.Response"
  70. }
  71. }
  72. }
  73. }
  74. },
  75. "/CPTrade/QueryCPTradeOrderDetail": {
  76. "get": {
  77. "security": [
  78. {
  79. "ApiKeyAuth": []
  80. }
  81. ],
  82. "produces": [
  83. "application/json"
  84. ],
  85. "tags": [
  86. "产能预售"
  87. ],
  88. "summary": "查询产能预售委托单信息",
  89. "parameters": [
  90. {
  91. "type": "integer",
  92. "description": "预售商品ID",
  93. "name": "goodsid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "integer",
  98. "description": "预售市场ID",
  99. "name": "marketid",
  100. "in": "query"
  101. },
  102. {
  103. "type": "string",
  104. "description": "预售商品ID列表 - 格式:1,2,3",
  105. "name": "goodsids",
  106. "in": "query"
  107. }
  108. ],
  109. "responses": {
  110. "200": {
  111. "description": "OK",
  112. "schema": {
  113. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  114. }
  115. },
  116. "500": {
  117. "description": "Internal Server Error",
  118. "schema": {
  119. "$ref": "#/definitions/app.Response"
  120. }
  121. }
  122. }
  123. }
  124. },
  125. "/CPTrade/QueryMyCPTradeGoods": {
  126. "get": {
  127. "security": [
  128. {
  129. "ApiKeyAuth": []
  130. }
  131. ],
  132. "produces": [
  133. "application/json"
  134. ],
  135. "tags": [
  136. "产能预售"
  137. ],
  138. "summary": "查询我的预售信息",
  139. "parameters": [
  140. {
  141. "type": "integer",
  142. "description": "资金账户",
  143. "name": "accountid",
  144. "in": "query",
  145. "required": true
  146. }
  147. ],
  148. "responses": {
  149. "200": {
  150. "description": "OK",
  151. "schema": {
  152. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  153. }
  154. },
  155. "500": {
  156. "description": "Internal Server Error",
  157. "schema": {
  158. "$ref": "#/definitions/app.Response"
  159. }
  160. }
  161. }
  162. }
  163. },
  164. "/CPTrade/QueryPositionCancel": {
  165. "get": {
  166. "security": [
  167. {
  168. "ApiKeyAuth": []
  169. }
  170. ],
  171. "produces": [
  172. "application/json"
  173. ],
  174. "tags": [
  175. "产能预售"
  176. ],
  177. "summary": "查询远期订单注销申请信息",
  178. "parameters": [
  179. {
  180. "type": "integer",
  181. "description": "账户ID",
  182. "name": "userid",
  183. "in": "query",
  184. "required": true
  185. },
  186. {
  187. "type": "integer",
  188. "description": "注销ID",
  189. "name": "cancelid",
  190. "in": "query"
  191. },
  192. {
  193. "type": "integer",
  194. "description": "资金账户ID",
  195. "name": "accountid",
  196. "in": "query"
  197. }
  198. ],
  199. "responses": {
  200. "200": {
  201. "description": "OK",
  202. "schema": {
  203. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  204. }
  205. },
  206. "500": {
  207. "description": "Internal Server Error",
  208. "schema": {
  209. "$ref": "#/definitions/app.Response"
  210. }
  211. }
  212. }
  213. }
  214. },
  215. "/CPTrade/QueryPreasleApply": {
  216. "get": {
  217. "security": [
  218. {
  219. "ApiKeyAuth": []
  220. }
  221. ],
  222. "produces": [
  223. "application/json"
  224. ],
  225. "tags": [
  226. "产能预售"
  227. ],
  228. "summary": "查询产能预售申请信息",
  229. "parameters": [
  230. {
  231. "type": "integer",
  232. "description": "账户ID",
  233. "name": "userid",
  234. "in": "query",
  235. "required": true
  236. },
  237. {
  238. "type": "integer",
  239. "description": "申请ID",
  240. "name": "applyid",
  241. "in": "query"
  242. },
  243. {
  244. "type": "integer",
  245. "description": "资金账户ID",
  246. "name": "accountid",
  247. "in": "query"
  248. }
  249. ],
  250. "responses": {
  251. "200": {
  252. "description": "OK",
  253. "schema": {
  254. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  255. }
  256. },
  257. "500": {
  258. "description": "Internal Server Error",
  259. "schema": {
  260. "$ref": "#/definitions/app.Response"
  261. }
  262. }
  263. }
  264. }
  265. },
  266. "/CPTrade/QueryPresaleGoodsEx": {
  267. "get": {
  268. "security": [
  269. {
  270. "ApiKeyAuth": []
  271. }
  272. ],
  273. "produces": [
  274. "application/json"
  275. ],
  276. "tags": [
  277. "产能预售"
  278. ],
  279. "summary": "查询产能预售商品扩展信息",
  280. "parameters": [
  281. {
  282. "type": "integer",
  283. "description": "预售商品ID",
  284. "name": "goodsid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售市场ID",
  290. "name": "marketid",
  291. "in": "query"
  292. },
  293. {
  294. "type": "integer",
  295. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  296. "name": "presalemode",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品ID列表 - 格式:1,2,3",
  302. "name": "goodsids",
  303. "in": "query"
  304. },
  305. {
  306. "type": "string",
  307. "description": "预售商品代码",
  308. "name": "goodscode",
  309. "in": "query"
  310. }
  311. ],
  312. "responses": {
  313. "200": {
  314. "description": "OK",
  315. "schema": {
  316. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  317. }
  318. },
  319. "500": {
  320. "description": "Internal Server Error",
  321. "schema": {
  322. "$ref": "#/definitions/app.Response"
  323. }
  324. }
  325. }
  326. }
  327. },
  328. "/CPTrade/QueryUserGoodsData": {
  329. "get": {
  330. "security": [
  331. {
  332. "ApiKeyAuth": []
  333. }
  334. ],
  335. "produces": [
  336. "application/json"
  337. ],
  338. "tags": [
  339. "产能预售"
  340. ],
  341. "summary": "查询远期订单信息",
  342. "parameters": [
  343. {
  344. "type": "integer",
  345. "description": "资金账户ID",
  346. "name": "accountid",
  347. "in": "query",
  348. "required": true
  349. }
  350. ],
  351. "responses": {
  352. "200": {
  353. "description": "OK",
  354. "schema": {
  355. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  356. }
  357. },
  358. "500": {
  359. "description": "Internal Server Error",
  360. "schema": {
  361. "$ref": "#/definitions/app.Response"
  362. }
  363. }
  364. }
  365. }
  366. },
  367. "/Common/GetAllEnums": {
  368. "get": {
  369. "produces": [
  370. "application/json"
  371. ],
  372. "tags": [
  373. "通用服务"
  374. ],
  375. "summary": "获取所有枚举信息",
  376. "responses": {
  377. "200": {
  378. "description": "OK",
  379. "schema": {
  380. "$ref": "#/definitions/models.Enumdicitem"
  381. }
  382. },
  383. "500": {
  384. "description": "Internal Server Error",
  385. "schema": {
  386. "$ref": "#/definitions/app.Response"
  387. }
  388. }
  389. }
  390. }
  391. },
  392. "/Common/NoticeReaded": {
  393. "post": {
  394. "security": [
  395. {
  396. "ApiKeyAuth": []
  397. }
  398. ],
  399. "produces": [
  400. "application/json"
  401. ],
  402. "tags": [
  403. "通用服务"
  404. ],
  405. "summary": "通知公告设置已读请求",
  406. "parameters": [
  407. {
  408. "type": "integer",
  409. "description": "登录账号",
  410. "name": "loginID",
  411. "in": "query",
  412. "required": true
  413. },
  414. {
  415. "type": "integer",
  416. "description": "通知公告ID",
  417. "name": "noticeID",
  418. "in": "query",
  419. "required": true
  420. }
  421. ],
  422. "responses": {
  423. "200": {
  424. "description": "OK",
  425. "schema": {
  426. "$ref": "#/definitions/app.Response"
  427. }
  428. },
  429. "500": {
  430. "description": "Internal Server Error",
  431. "schema": {
  432. "$ref": "#/definitions/app.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/Common/QueryImageConfigs": {
  439. "get": {
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "通用服务"
  445. ],
  446. "summary": "查询轮播图配置信息",
  447. "parameters": [
  448. {
  449. "type": "integer",
  450. "description": "类型 - 1:App首页轮播 2:我的",
  451. "name": "imageType",
  452. "in": "query"
  453. }
  454. ],
  455. "responses": {
  456. "200": {
  457. "description": "OK",
  458. "schema": {
  459. "$ref": "#/definitions/models.Szdz2imageconfig"
  460. }
  461. },
  462. "500": {
  463. "description": "Internal Server Error",
  464. "schema": {
  465. "$ref": "#/definitions/app.Response"
  466. }
  467. }
  468. }
  469. }
  470. },
  471. "/Common/QueryNotice": {
  472. "get": {
  473. "security": [
  474. {
  475. "ApiKeyAuth": []
  476. }
  477. ],
  478. "produces": [
  479. "application/json"
  480. ],
  481. "tags": [
  482. "通用服务"
  483. ],
  484. "summary": "通知公告系统消息查询",
  485. "parameters": [
  486. {
  487. "type": "integer",
  488. "description": "页码",
  489. "name": "page",
  490. "in": "query"
  491. },
  492. {
  493. "type": "integer",
  494. "description": "每页条数",
  495. "name": "pagesize",
  496. "in": "query"
  497. },
  498. {
  499. "type": "integer",
  500. "description": "登录账号",
  501. "name": "loginID",
  502. "in": "query",
  503. "required": true
  504. },
  505. {
  506. "type": "integer",
  507. "description": "消息类型 - 1:公告通知 2:系统消息",
  508. "name": "msgType",
  509. "in": "query"
  510. },
  511. {
  512. "type": "boolean",
  513. "description": "是否只获取未读信息",
  514. "name": "onlyUnRead",
  515. "in": "query"
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "OK",
  521. "schema": {
  522. "$ref": "#/definitions/common.QueryNoticeRsp"
  523. }
  524. },
  525. "500": {
  526. "description": "Internal Server Error",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/Common/QueryProvincesAndCities": {
  535. "get": {
  536. "produces": [
  537. "application/json"
  538. ],
  539. "tags": [
  540. "通用服务"
  541. ],
  542. "summary": "查询省市信息(不包括区)",
  543. "parameters": [
  544. {
  545. "type": "integer",
  546. "description": "省ID",
  547. "name": "provinceID",
  548. "in": "query"
  549. }
  550. ],
  551. "responses": {
  552. "200": {
  553. "description": "OK",
  554. "schema": {
  555. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  556. }
  557. },
  558. "500": {
  559. "description": "Internal Server Error",
  560. "schema": {
  561. "$ref": "#/definitions/app.Response"
  562. }
  563. }
  564. }
  565. }
  566. },
  567. "/Common/QueryTableDefine": {
  568. "get": {
  569. "produces": [
  570. "application/json"
  571. ],
  572. "tags": [
  573. "通用服务"
  574. ],
  575. "summary": "查询交易端列表头信息",
  576. "parameters": [
  577. {
  578. "type": "string",
  579. "description": "表key",
  580. "name": "TableKey",
  581. "in": "query"
  582. }
  583. ],
  584. "responses": {
  585. "200": {
  586. "description": "OK",
  587. "schema": {
  588. "$ref": "#/definitions/common.QueryTableDefineRsp"
  589. }
  590. },
  591. "500": {
  592. "description": "Internal Server Error",
  593. "schema": {
  594. "$ref": "#/definitions/app.Response"
  595. }
  596. }
  597. }
  598. }
  599. },
  600. "/Common/QueryTraderMenu": {
  601. "get": {
  602. "produces": [
  603. "application/json"
  604. ],
  605. "tags": [
  606. "通用服务"
  607. ],
  608. "summary": "查询交易端菜单",
  609. "parameters": [
  610. {
  611. "type": "integer",
  612. "description": "登录账号",
  613. "name": "loginid",
  614. "in": "query",
  615. "required": true
  616. }
  617. ],
  618. "responses": {
  619. "200": {
  620. "description": "OK",
  621. "schema": {
  622. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  623. }
  624. },
  625. "500": {
  626. "description": "Internal Server Error",
  627. "schema": {
  628. "$ref": "#/definitions/app.Response"
  629. }
  630. }
  631. }
  632. }
  633. },
  634. "/Delivery/QueryDeliveryRelation": {
  635. "get": {
  636. "security": [
  637. {
  638. "ApiKeyAuth": []
  639. }
  640. ],
  641. "produces": [
  642. "application/json"
  643. ],
  644. "tags": [
  645. "交割服务"
  646. ],
  647. "summary": "查询商品交割关系表",
  648. "parameters": [
  649. {
  650. "type": "integer",
  651. "description": "商品ID",
  652. "name": "goodsid",
  653. "in": "query"
  654. },
  655. {
  656. "type": "integer",
  657. "description": "品种ID",
  658. "name": "deliverygoodsid",
  659. "in": "query"
  660. },
  661. {
  662. "type": "integer",
  663. "description": "市场ID",
  664. "name": "marketid",
  665. "in": "query"
  666. }
  667. ],
  668. "responses": {
  669. "200": {
  670. "description": "OK",
  671. "schema": {
  672. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  673. }
  674. },
  675. "500": {
  676. "description": "Internal Server Error",
  677. "schema": {
  678. "$ref": "#/definitions/app.Response"
  679. }
  680. }
  681. }
  682. }
  683. },
  684. "/Erms2/QueryArbitrageStrategy": {
  685. "get": {
  686. "security": [
  687. {
  688. "ApiKeyAuth": []
  689. }
  690. ],
  691. "produces": [
  692. "application/json"
  693. ],
  694. "tags": [
  695. "风险管理"
  696. ],
  697. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  698. "parameters": [
  699. {
  700. "type": "integer",
  701. "description": "账户ID",
  702. "name": "userid",
  703. "in": "query",
  704. "required": true
  705. },
  706. {
  707. "type": "string",
  708. "description": "商品组ID(品种ID)",
  709. "name": "goodsgroupid",
  710. "in": "query"
  711. }
  712. ],
  713. "responses": {
  714. "200": {
  715. "description": "OK",
  716. "schema": {
  717. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  718. }
  719. },
  720. "500": {
  721. "description": "Internal Server Error",
  722. "schema": {
  723. "$ref": "#/definitions/app.Response"
  724. }
  725. }
  726. }
  727. }
  728. },
  729. "/Erms2/QueryInnerTradeDetail": {
  730. "get": {
  731. "security": [
  732. {
  733. "ApiKeyAuth": []
  734. }
  735. ],
  736. "produces": [
  737. "application/json"
  738. ],
  739. "tags": [
  740. "风险管理"
  741. ],
  742. "summary": "查询内部成交单信息",
  743. "parameters": [
  744. {
  745. "type": "integer",
  746. "description": "资金账户",
  747. "name": "accountid",
  748. "in": "query",
  749. "required": true
  750. }
  751. ],
  752. "responses": {
  753. "200": {
  754. "description": "OK",
  755. "schema": {
  756. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  757. }
  758. },
  759. "500": {
  760. "description": "Internal Server Error",
  761. "schema": {
  762. "$ref": "#/definitions/app.Response"
  763. }
  764. }
  765. }
  766. }
  767. },
  768. "/Erms2/QuerySpotContract": {
  769. "get": {
  770. "security": [
  771. {
  772. "ApiKeyAuth": []
  773. }
  774. ],
  775. "produces": [
  776. "application/json"
  777. ],
  778. "tags": [
  779. "风险管理"
  780. ],
  781. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  782. "parameters": [
  783. {
  784. "type": "integer",
  785. "description": "策略申请ID",
  786. "name": "asapplyid",
  787. "in": "query",
  788. "required": true
  789. },
  790. {
  791. "type": "integer",
  792. "description": "现货合同ID",
  793. "name": "spotcontractid",
  794. "in": "query"
  795. }
  796. ],
  797. "responses": {
  798. "200": {
  799. "description": "OK",
  800. "schema": {
  801. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  802. }
  803. },
  804. "500": {
  805. "description": "Internal Server Error",
  806. "schema": {
  807. "$ref": "#/definitions/app.Response"
  808. }
  809. }
  810. }
  811. }
  812. },
  813. "/Erms3/AddErms2ASApply": {
  814. "post": {
  815. "security": [
  816. {
  817. "ApiKeyAuth": []
  818. }
  819. ],
  820. "produces": [
  821. "application/json"
  822. ],
  823. "tags": [
  824. "风险管理v3"
  825. ],
  826. "summary": "新增期现套利业务申请",
  827. "parameters": [
  828. {
  829. "description": "申请参数",
  830. "name": "jsonBody",
  831. "in": "body",
  832. "required": true,
  833. "schema": {
  834. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  835. }
  836. }
  837. ],
  838. "responses": {
  839. "200": {
  840. "description": "OK",
  841. "schema": {
  842. "$ref": "#/definitions/app.Response"
  843. }
  844. },
  845. "500": {
  846. "description": "Internal Server Error",
  847. "schema": {
  848. "$ref": "#/definitions/app.Response"
  849. }
  850. }
  851. }
  852. }
  853. },
  854. "/Erms3/AddErms2SpotTradeApply": {
  855. "post": {
  856. "security": [
  857. {
  858. "ApiKeyAuth": []
  859. }
  860. ],
  861. "produces": [
  862. "application/json"
  863. ],
  864. "tags": [
  865. "风险管理v3"
  866. ],
  867. "summary": "新增现货贸易业务申请",
  868. "parameters": [
  869. {
  870. "description": "申请参数",
  871. "name": "jsonBody",
  872. "in": "body",
  873. "required": true,
  874. "schema": {
  875. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  876. }
  877. }
  878. ],
  879. "responses": {
  880. "200": {
  881. "description": "OK",
  882. "schema": {
  883. "$ref": "#/definitions/app.Response"
  884. }
  885. },
  886. "500": {
  887. "description": "Internal Server Error",
  888. "schema": {
  889. "$ref": "#/definitions/app.Response"
  890. }
  891. }
  892. }
  893. }
  894. },
  895. "/Erms3/AddSpotContractApply": {
  896. "post": {
  897. "security": [
  898. {
  899. "ApiKeyAuth": []
  900. }
  901. ],
  902. "produces": [
  903. "application/json"
  904. ],
  905. "tags": [
  906. "风险管理v3"
  907. ],
  908. "summary": "新增现货合同申请",
  909. "parameters": [
  910. {
  911. "description": "申请参数",
  912. "name": "jsonBody",
  913. "in": "body",
  914. "required": true,
  915. "schema": {
  916. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  917. }
  918. }
  919. ],
  920. "responses": {
  921. "200": {
  922. "description": "OK",
  923. "schema": {
  924. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  925. }
  926. },
  927. "500": {
  928. "description": "Internal Server Error",
  929. "schema": {
  930. "$ref": "#/definitions/app.Response"
  931. }
  932. }
  933. }
  934. }
  935. },
  936. "/Erms3/AddUserInfoApply": {
  937. "post": {
  938. "security": [
  939. {
  940. "ApiKeyAuth": []
  941. }
  942. ],
  943. "produces": [
  944. "application/json"
  945. ],
  946. "tags": [
  947. "风险管理v3"
  948. ],
  949. "summary": "新增客户申请",
  950. "parameters": [
  951. {
  952. "description": "申请参数",
  953. "name": "jsonBody",
  954. "in": "body",
  955. "required": true,
  956. "schema": {
  957. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  958. }
  959. }
  960. ],
  961. "responses": {
  962. "200": {
  963. "description": "OK",
  964. "schema": {
  965. "$ref": "#/definitions/app.Response"
  966. }
  967. },
  968. "500": {
  969. "description": "Internal Server Error",
  970. "schema": {
  971. "$ref": "#/definitions/app.Response"
  972. }
  973. }
  974. }
  975. }
  976. },
  977. "/Erms3/QueryBusinessInfo": {
  978. "get": {
  979. "security": [
  980. {
  981. "ApiKeyAuth": []
  982. }
  983. ],
  984. "produces": [
  985. "application/json"
  986. ],
  987. "tags": [
  988. "风险管理v3"
  989. ],
  990. "summary": "查询业务表单数据",
  991. "parameters": [
  992. {
  993. "type": "string",
  994. "description": "资金账号ID列表,用逗号分隔",
  995. "name": "accountids",
  996. "in": "query",
  997. "required": true
  998. },
  999. {
  1000. "type": "integer",
  1001. "description": "状态,0为未结束 1为已结束",
  1002. "name": "status",
  1003. "in": "query",
  1004. "required": true
  1005. }
  1006. ],
  1007. "responses": {
  1008. "200": {
  1009. "description": "OK",
  1010. "schema": {
  1011. "type": "array",
  1012. "items": {
  1013. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1014. }
  1015. }
  1016. },
  1017. "500": {
  1018. "description": "Internal Server Error",
  1019. "schema": {
  1020. "$ref": "#/definitions/app.Response"
  1021. }
  1022. }
  1023. }
  1024. }
  1025. },
  1026. "/Erms3/QueryPendingAuditContract": {
  1027. "get": {
  1028. "security": [
  1029. {
  1030. "ApiKeyAuth": []
  1031. }
  1032. ],
  1033. "produces": [
  1034. "application/json"
  1035. ],
  1036. "tags": [
  1037. "风险管理v3"
  1038. ],
  1039. "summary": "查询待审核合同",
  1040. "parameters": [
  1041. {
  1042. "type": "string",
  1043. "description": "资金账号ID列表,逗号隔开",
  1044. "name": "accountids",
  1045. "in": "query",
  1046. "required": true
  1047. },
  1048. {
  1049. "type": "integer",
  1050. "description": "合同类型 1-采购 -1-销售",
  1051. "name": "contracttype",
  1052. "in": "query",
  1053. "required": true
  1054. },
  1055. {
  1056. "type": "integer",
  1057. "description": "合同模式 1-普通 2-回购",
  1058. "name": "contractmode",
  1059. "in": "query",
  1060. "required": true
  1061. }
  1062. ],
  1063. "responses": {
  1064. "200": {
  1065. "description": "OK",
  1066. "schema": {
  1067. "type": "array",
  1068. "items": {
  1069. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1070. }
  1071. }
  1072. },
  1073. "500": {
  1074. "description": "Internal Server Error",
  1075. "schema": {
  1076. "$ref": "#/definitions/app.Response"
  1077. }
  1078. }
  1079. }
  1080. }
  1081. },
  1082. "/Erms3/QueryPendingBusiness": {
  1083. "get": {
  1084. "security": [
  1085. {
  1086. "ApiKeyAuth": []
  1087. }
  1088. ],
  1089. "produces": [
  1090. "application/json"
  1091. ],
  1092. "tags": [
  1093. "风险管理v3"
  1094. ],
  1095. "summary": "查询待审核基差贸易业务",
  1096. "parameters": [
  1097. {
  1098. "type": "string",
  1099. "description": "资金账号ID列表,逗号隔开",
  1100. "name": "accountids",
  1101. "in": "query",
  1102. "required": true
  1103. }
  1104. ],
  1105. "responses": {
  1106. "200": {
  1107. "description": "OK",
  1108. "schema": {
  1109. "type": "array",
  1110. "items": {
  1111. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1112. }
  1113. }
  1114. },
  1115. "500": {
  1116. "description": "Internal Server Error",
  1117. "schema": {
  1118. "$ref": "#/definitions/app.Response"
  1119. }
  1120. }
  1121. }
  1122. }
  1123. },
  1124. "/Erms3/QuerySpotContractAppleForm": {
  1125. "get": {
  1126. "security": [
  1127. {
  1128. "ApiKeyAuth": []
  1129. }
  1130. ],
  1131. "produces": [
  1132. "application/json"
  1133. ],
  1134. "tags": [
  1135. "风险管理v3"
  1136. ],
  1137. "summary": "查询合同申请表单数据",
  1138. "parameters": [
  1139. {
  1140. "type": "integer",
  1141. "description": "登录账号",
  1142. "name": "loginID",
  1143. "in": "query",
  1144. "required": true
  1145. }
  1146. ],
  1147. "responses": {
  1148. "200": {
  1149. "description": "OK",
  1150. "schema": {
  1151. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1152. }
  1153. },
  1154. "500": {
  1155. "description": "Internal Server Error",
  1156. "schema": {
  1157. "$ref": "#/definitions/app.Response"
  1158. }
  1159. }
  1160. }
  1161. }
  1162. },
  1163. "/Erms3/QuerySpotContractDetail": {
  1164. "get": {
  1165. "security": [
  1166. {
  1167. "ApiKeyAuth": []
  1168. }
  1169. ],
  1170. "produces": [
  1171. "application/json"
  1172. ],
  1173. "tags": [
  1174. "风险管理v3"
  1175. ],
  1176. "summary": "查询合同详细信息",
  1177. "parameters": [
  1178. {
  1179. "type": "string",
  1180. "description": "资金账号ID列表,用逗号分隔",
  1181. "name": "accountids",
  1182. "in": "query",
  1183. "required": true
  1184. },
  1185. {
  1186. "type": "integer",
  1187. "description": "合同类型,1为采购合同 -1为销售合同",
  1188. "name": "contracttype",
  1189. "in": "query",
  1190. "required": true
  1191. },
  1192. {
  1193. "type": "integer",
  1194. "description": "合同模式,1为普通合同 2为回购销售合同",
  1195. "name": "contractmode",
  1196. "in": "query",
  1197. "required": true
  1198. },
  1199. {
  1200. "type": "integer",
  1201. "description": "状态,0为履约中 1为已完成",
  1202. "name": "status",
  1203. "in": "query",
  1204. "required": true
  1205. }
  1206. ],
  1207. "responses": {
  1208. "200": {
  1209. "description": "OK",
  1210. "schema": {
  1211. "type": "array",
  1212. "items": {
  1213. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1214. }
  1215. }
  1216. },
  1217. "500": {
  1218. "description": "Internal Server Error",
  1219. "schema": {
  1220. "$ref": "#/definitions/app.Response"
  1221. }
  1222. }
  1223. }
  1224. }
  1225. },
  1226. "/Erms3/QueryUserInfoApplies": {
  1227. "get": {
  1228. "security": [
  1229. {
  1230. "ApiKeyAuth": []
  1231. }
  1232. ],
  1233. "produces": [
  1234. "application/json"
  1235. ],
  1236. "tags": [
  1237. "风险管理v3"
  1238. ],
  1239. "summary": "客户申请信息查询",
  1240. "parameters": [
  1241. {
  1242. "type": "integer",
  1243. "description": "页码",
  1244. "name": "page",
  1245. "in": "query"
  1246. },
  1247. {
  1248. "type": "integer",
  1249. "description": "每页条数",
  1250. "name": "pagesize",
  1251. "in": "query"
  1252. },
  1253. {
  1254. "type": "string",
  1255. "description": "客户名称,支持模糊查询",
  1256. "name": "userName",
  1257. "in": "query"
  1258. }
  1259. ],
  1260. "responses": {
  1261. "200": {
  1262. "description": "OK",
  1263. "schema": {
  1264. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1265. }
  1266. },
  1267. "500": {
  1268. "description": "Internal Server Error",
  1269. "schema": {
  1270. "$ref": "#/definitions/app.Response"
  1271. }
  1272. }
  1273. }
  1274. }
  1275. },
  1276. "/Erms3/QueryUserInfos": {
  1277. "get": {
  1278. "security": [
  1279. {
  1280. "ApiKeyAuth": []
  1281. }
  1282. ],
  1283. "produces": [
  1284. "application/json"
  1285. ],
  1286. "tags": [
  1287. "风险管理v3"
  1288. ],
  1289. "summary": "客户信息查询",
  1290. "parameters": [
  1291. {
  1292. "type": "integer",
  1293. "description": "页码",
  1294. "name": "page",
  1295. "in": "query"
  1296. },
  1297. {
  1298. "type": "integer",
  1299. "description": "每页条数",
  1300. "name": "pagesize",
  1301. "in": "query"
  1302. },
  1303. {
  1304. "type": "string",
  1305. "description": "客户名称,支持模糊查询",
  1306. "name": "userName",
  1307. "in": "query"
  1308. }
  1309. ],
  1310. "responses": {
  1311. "200": {
  1312. "description": "OK",
  1313. "schema": {
  1314. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1315. }
  1316. },
  1317. "500": {
  1318. "description": "Internal Server Error",
  1319. "schema": {
  1320. "$ref": "#/definitions/app.Response"
  1321. }
  1322. }
  1323. }
  1324. }
  1325. },
  1326. "/HSBY/GetHsbyMyCount": {
  1327. "get": {
  1328. "security": [
  1329. {
  1330. "ApiKeyAuth": []
  1331. }
  1332. ],
  1333. "description": "说明: 不包括已完成的数量。",
  1334. "produces": [
  1335. "application/json"
  1336. ],
  1337. "tags": [
  1338. "定制【海商报业】"
  1339. ],
  1340. "summary": "获取我的订单与包裹数量",
  1341. "parameters": [
  1342. {
  1343. "type": "string",
  1344. "description": "资金账户列表,格式:1,2,3",
  1345. "name": "accountIDs",
  1346. "in": "query",
  1347. "required": true
  1348. }
  1349. ],
  1350. "responses": {
  1351. "200": {
  1352. "description": "OK",
  1353. "schema": {
  1354. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1355. }
  1356. },
  1357. "500": {
  1358. "description": "Internal Server Error",
  1359. "schema": {
  1360. "$ref": "#/definitions/app.Response"
  1361. }
  1362. }
  1363. }
  1364. }
  1365. },
  1366. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1367. "get": {
  1368. "security": [
  1369. {
  1370. "ApiKeyAuth": []
  1371. }
  1372. ],
  1373. "produces": [
  1374. "application/json"
  1375. ],
  1376. "tags": [
  1377. "定制【海商报业】"
  1378. ],
  1379. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1380. "parameters": [
  1381. {
  1382. "type": "integer",
  1383. "description": "页码",
  1384. "name": "page",
  1385. "in": "query"
  1386. },
  1387. {
  1388. "type": "integer",
  1389. "description": "每页条数",
  1390. "name": "pagesize",
  1391. "in": "query"
  1392. },
  1393. {
  1394. "type": "string",
  1395. "description": "资金账户列表,格式:1,2,3",
  1396. "name": "accountIDs",
  1397. "in": "query",
  1398. "required": true
  1399. }
  1400. ],
  1401. "responses": {
  1402. "200": {
  1403. "description": "OK",
  1404. "schema": {
  1405. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1406. }
  1407. },
  1408. "500": {
  1409. "description": "Internal Server Error",
  1410. "schema": {
  1411. "$ref": "#/definitions/app.Response"
  1412. }
  1413. }
  1414. }
  1415. }
  1416. },
  1417. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1418. "get": {
  1419. "security": [
  1420. {
  1421. "ApiKeyAuth": []
  1422. }
  1423. ],
  1424. "description": "说明:查询结果已按委托价格和委托时间排序",
  1425. "produces": [
  1426. "application/json"
  1427. ],
  1428. "tags": [
  1429. "定制【海商报业】"
  1430. ],
  1431. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1432. "parameters": [
  1433. {
  1434. "type": "integer",
  1435. "description": "商品ID",
  1436. "name": "goodsID",
  1437. "in": "query",
  1438. "required": true
  1439. },
  1440. {
  1441. "type": "string",
  1442. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1443. "name": "accountIDs",
  1444. "in": "query",
  1445. "required": true
  1446. },
  1447. {
  1448. "type": "integer",
  1449. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1450. "name": "buyOrSell",
  1451. "in": "query"
  1452. },
  1453. {
  1454. "type": "number",
  1455. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1456. "name": "price",
  1457. "in": "query"
  1458. },
  1459. {
  1460. "type": "integer",
  1461. "description": "档位,不传则默认为3档",
  1462. "name": "speed",
  1463. "in": "query"
  1464. }
  1465. ],
  1466. "responses": {
  1467. "200": {
  1468. "description": "OK",
  1469. "schema": {
  1470. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1471. }
  1472. },
  1473. "500": {
  1474. "description": "Internal Server Error",
  1475. "schema": {
  1476. "$ref": "#/definitions/app.Response"
  1477. }
  1478. }
  1479. }
  1480. }
  1481. },
  1482. "/HSBY/QueryHsbyListingGoodsDetail": {
  1483. "get": {
  1484. "security": [
  1485. {
  1486. "ApiKeyAuth": []
  1487. }
  1488. ],
  1489. "produces": [
  1490. "application/json"
  1491. ],
  1492. "tags": [
  1493. "定制【海商报业】"
  1494. ],
  1495. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1496. "parameters": [
  1497. {
  1498. "type": "integer",
  1499. "description": "商品ID",
  1500. "name": "goodsID",
  1501. "in": "query",
  1502. "required": true
  1503. },
  1504. {
  1505. "type": "integer",
  1506. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1507. "name": "AccountID",
  1508. "in": "query"
  1509. }
  1510. ],
  1511. "responses": {
  1512. "200": {
  1513. "description": "OK",
  1514. "schema": {
  1515. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1516. }
  1517. },
  1518. "500": {
  1519. "description": "Internal Server Error",
  1520. "schema": {
  1521. "$ref": "#/definitions/app.Response"
  1522. }
  1523. }
  1524. }
  1525. }
  1526. },
  1527. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1528. "get": {
  1529. "security": [
  1530. {
  1531. "ApiKeyAuth": []
  1532. }
  1533. ],
  1534. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1535. "produces": [
  1536. "application/json"
  1537. ],
  1538. "tags": [
  1539. "定制【海商报业】"
  1540. ],
  1541. "summary": "查询“我的订单”信息",
  1542. "parameters": [
  1543. {
  1544. "type": "string",
  1545. "description": "资金账户列表,格式:1,2,3",
  1546. "name": "accountIDs",
  1547. "in": "query",
  1548. "required": true
  1549. },
  1550. {
  1551. "type": "integer",
  1552. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1553. "name": "myBuyStatus",
  1554. "in": "query"
  1555. }
  1556. ],
  1557. "responses": {
  1558. "200": {
  1559. "description": "OK",
  1560. "schema": {
  1561. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1562. }
  1563. },
  1564. "500": {
  1565. "description": "Internal Server Error",
  1566. "schema": {
  1567. "$ref": "#/definitions/app.Response"
  1568. }
  1569. }
  1570. }
  1571. }
  1572. },
  1573. "/HSBY/QueryHsbyMyGoods": {
  1574. "get": {
  1575. "security": [
  1576. {
  1577. "ApiKeyAuth": []
  1578. }
  1579. ],
  1580. "produces": [
  1581. "application/json"
  1582. ],
  1583. "tags": [
  1584. "定制【海商报业】"
  1585. ],
  1586. "summary": "查询“我的商品”信息",
  1587. "parameters": [
  1588. {
  1589. "type": "string",
  1590. "description": "资金账户列表,格式:1,2,3",
  1591. "name": "accountIDs",
  1592. "in": "query",
  1593. "required": true
  1594. }
  1595. ],
  1596. "responses": {
  1597. "200": {
  1598. "description": "OK",
  1599. "schema": {
  1600. "$ref": "#/definitions/models.HsbyMyGoods"
  1601. }
  1602. },
  1603. "500": {
  1604. "description": "Internal Server Error",
  1605. "schema": {
  1606. "$ref": "#/definitions/app.Response"
  1607. }
  1608. }
  1609. }
  1610. }
  1611. },
  1612. "/HSBY/QueryHsbyMyPackages": {
  1613. "get": {
  1614. "security": [
  1615. {
  1616. "ApiKeyAuth": []
  1617. }
  1618. ],
  1619. "produces": [
  1620. "application/json"
  1621. ],
  1622. "tags": [
  1623. "定制【海商报业】"
  1624. ],
  1625. "summary": "查询我的包裹信息",
  1626. "parameters": [
  1627. {
  1628. "type": "string",
  1629. "description": "资金账户列表,格式:1,2,3",
  1630. "name": "accountIDs",
  1631. "in": "query",
  1632. "required": true
  1633. },
  1634. {
  1635. "type": "integer",
  1636. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1637. "name": "takeOrderStatus",
  1638. "in": "query"
  1639. }
  1640. ],
  1641. "responses": {
  1642. "200": {
  1643. "description": "OK",
  1644. "schema": {
  1645. "$ref": "#/definitions/models.HsbyMyPackage"
  1646. }
  1647. },
  1648. "500": {
  1649. "description": "Internal Server Error",
  1650. "schema": {
  1651. "$ref": "#/definitions/app.Response"
  1652. }
  1653. }
  1654. }
  1655. }
  1656. },
  1657. "/HSBY/QueryHsbyPreGoodsDetail": {
  1658. "get": {
  1659. "security": [
  1660. {
  1661. "ApiKeyAuth": []
  1662. }
  1663. ],
  1664. "produces": [
  1665. "application/json"
  1666. ],
  1667. "tags": [
  1668. "定制【海商报业】"
  1669. ],
  1670. "summary": "查询一级市场(产能预售)商品信息详情",
  1671. "parameters": [
  1672. {
  1673. "type": "integer",
  1674. "description": "商品ID",
  1675. "name": "goodsID",
  1676. "in": "query",
  1677. "required": true
  1678. },
  1679. {
  1680. "type": "integer",
  1681. "description": "资金账户,主要用于获取预售商品购买上限",
  1682. "name": "accountID",
  1683. "in": "query",
  1684. "required": true
  1685. }
  1686. ],
  1687. "responses": {
  1688. "200": {
  1689. "description": "OK",
  1690. "schema": {
  1691. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1692. }
  1693. },
  1694. "500": {
  1695. "description": "Internal Server Error",
  1696. "schema": {
  1697. "$ref": "#/definitions/app.Response"
  1698. }
  1699. }
  1700. }
  1701. }
  1702. },
  1703. "/HSBY/QueryHsbyPreGoodses": {
  1704. "get": {
  1705. "security": [
  1706. {
  1707. "ApiKeyAuth": []
  1708. }
  1709. ],
  1710. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1711. "produces": [
  1712. "application/json"
  1713. ],
  1714. "tags": [
  1715. "定制【海商报业】"
  1716. ],
  1717. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1718. "parameters": [
  1719. {
  1720. "type": "integer",
  1721. "description": "页码",
  1722. "name": "page",
  1723. "in": "query"
  1724. },
  1725. {
  1726. "type": "integer",
  1727. "description": "每页条数",
  1728. "name": "pagesize",
  1729. "in": "query"
  1730. },
  1731. {
  1732. "type": "string",
  1733. "description": "市场ID列表,格式:1,2,3",
  1734. "name": "marketIDs",
  1735. "in": "query",
  1736. "required": true
  1737. },
  1738. {
  1739. "type": "integer",
  1740. "description": "目的地(省)ID",
  1741. "name": "descProvinceID",
  1742. "in": "query"
  1743. },
  1744. {
  1745. "type": "integer",
  1746. "description": "目的地(市)ID",
  1747. "name": "descCityID",
  1748. "in": "query"
  1749. }
  1750. ],
  1751. "responses": {
  1752. "200": {
  1753. "description": "OK",
  1754. "schema": {
  1755. "$ref": "#/definitions/models.HsbyPreGoods"
  1756. }
  1757. },
  1758. "500": {
  1759. "description": "Internal Server Error",
  1760. "schema": {
  1761. "$ref": "#/definitions/app.Response"
  1762. }
  1763. }
  1764. }
  1765. }
  1766. },
  1767. "/HSBY/QueryHsbySellMyDetails": {
  1768. "get": {
  1769. "security": [
  1770. {
  1771. "ApiKeyAuth": []
  1772. }
  1773. ],
  1774. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1775. "produces": [
  1776. "application/json"
  1777. ],
  1778. "tags": [
  1779. "定制【海商报业】"
  1780. ],
  1781. "summary": "查询\"我的闲置\"单据信息",
  1782. "parameters": [
  1783. {
  1784. "type": "integer",
  1785. "description": "页码",
  1786. "name": "page",
  1787. "in": "query"
  1788. },
  1789. {
  1790. "type": "integer",
  1791. "description": "每页条数",
  1792. "name": "pagesize",
  1793. "in": "query"
  1794. },
  1795. {
  1796. "type": "string",
  1797. "description": "资金账户列表,格式:1,2,3",
  1798. "name": "accountIDs",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "integer",
  1804. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1805. "name": "orderType",
  1806. "in": "query"
  1807. }
  1808. ],
  1809. "responses": {
  1810. "200": {
  1811. "description": "OK",
  1812. "schema": {
  1813. "$ref": "#/definitions/models.HsbySellMyDetail"
  1814. }
  1815. },
  1816. "500": {
  1817. "description": "Internal Server Error",
  1818. "schema": {
  1819. "$ref": "#/definitions/app.Response"
  1820. }
  1821. }
  1822. }
  1823. }
  1824. },
  1825. "/HSBY/QueryHsbyTopGoodses": {
  1826. "get": {
  1827. "security": [
  1828. {
  1829. "ApiKeyAuth": []
  1830. }
  1831. ],
  1832. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1833. "produces": [
  1834. "application/json"
  1835. ],
  1836. "tags": [
  1837. "定制【海商报业】"
  1838. ],
  1839. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1840. "parameters": [
  1841. {
  1842. "type": "integer",
  1843. "description": "页码",
  1844. "name": "page",
  1845. "in": "query"
  1846. },
  1847. {
  1848. "type": "integer",
  1849. "description": "每页条数",
  1850. "name": "pagesize",
  1851. "in": "query"
  1852. },
  1853. {
  1854. "type": "string",
  1855. "description": "市场ID列表,格式:1,2,3",
  1856. "name": "marketIDs",
  1857. "in": "query",
  1858. "required": true
  1859. },
  1860. {
  1861. "type": "integer",
  1862. "description": "目的地(省)ID",
  1863. "name": "descProvinceID",
  1864. "in": "query"
  1865. },
  1866. {
  1867. "type": "integer",
  1868. "description": "目的地(市)ID",
  1869. "name": "descCityID",
  1870. "in": "query"
  1871. }
  1872. ],
  1873. "responses": {
  1874. "200": {
  1875. "description": "OK",
  1876. "schema": {
  1877. "$ref": "#/definitions/models.HsbyTopGoods"
  1878. }
  1879. },
  1880. "500": {
  1881. "description": "Internal Server Error",
  1882. "schema": {
  1883. "$ref": "#/definitions/app.Response"
  1884. }
  1885. }
  1886. }
  1887. }
  1888. },
  1889. "/HSBY/QueryProvincesAndCities": {
  1890. "get": {
  1891. "security": [
  1892. {
  1893. "ApiKeyAuth": []
  1894. }
  1895. ],
  1896. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1897. "produces": [
  1898. "application/json"
  1899. ],
  1900. "tags": [
  1901. "定制【海商报业】"
  1902. ],
  1903. "summary": "查询省市信息(不包括区)",
  1904. "parameters": [
  1905. {
  1906. "type": "integer",
  1907. "description": "省ID",
  1908. "name": "provinceID",
  1909. "in": "query"
  1910. }
  1911. ],
  1912. "responses": {
  1913. "200": {
  1914. "description": "OK",
  1915. "schema": {
  1916. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1917. }
  1918. },
  1919. "500": {
  1920. "description": "Internal Server Error",
  1921. "schema": {
  1922. "$ref": "#/definitions/app.Response"
  1923. }
  1924. }
  1925. }
  1926. }
  1927. },
  1928. "/HSBY/QueryTradePayOrders": {
  1929. "get": {
  1930. "security": [
  1931. {
  1932. "ApiKeyAuth": []
  1933. }
  1934. ],
  1935. "produces": [
  1936. "application/json"
  1937. ],
  1938. "tags": [
  1939. "定制【海商报业】"
  1940. ],
  1941. "summary": "获取待付款信息",
  1942. "parameters": [
  1943. {
  1944. "type": "integer",
  1945. "description": "页码",
  1946. "name": "page",
  1947. "in": "query"
  1948. },
  1949. {
  1950. "type": "integer",
  1951. "description": "每页条数",
  1952. "name": "pagesize",
  1953. "in": "query"
  1954. },
  1955. {
  1956. "type": "string",
  1957. "description": "资金账户列表,格式:1,2,3",
  1958. "name": "accountIDs",
  1959. "in": "query",
  1960. "required": true
  1961. }
  1962. ],
  1963. "responses": {
  1964. "200": {
  1965. "description": "OK",
  1966. "schema": {
  1967. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  1968. }
  1969. },
  1970. "500": {
  1971. "description": "Internal Server Error",
  1972. "schema": {
  1973. "$ref": "#/definitions/app.Response"
  1974. }
  1975. }
  1976. }
  1977. }
  1978. },
  1979. "/HSBY/SetHsbyMyPackagesStatus": {
  1980. "post": {
  1981. "security": [
  1982. {
  1983. "ApiKeyAuth": []
  1984. }
  1985. ],
  1986. "produces": [
  1987. "application/json"
  1988. ],
  1989. "tags": [
  1990. "定制【海商报业】"
  1991. ],
  1992. "summary": "设置我的包裹已收货状态",
  1993. "parameters": [
  1994. {
  1995. "type": "string",
  1996. "description": "提货单号",
  1997. "name": "takeOrderID",
  1998. "in": "query",
  1999. "required": true
  2000. },
  2001. {
  2002. "type": "integer",
  2003. "description": "资金账号",
  2004. "name": "accountID",
  2005. "in": "query",
  2006. "required": true
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "$ref": "#/definitions/app.Response"
  2014. }
  2015. },
  2016. "500": {
  2017. "description": "Internal Server Error",
  2018. "schema": {
  2019. "$ref": "#/definitions/app.Response"
  2020. }
  2021. }
  2022. }
  2023. }
  2024. },
  2025. "/Order/QueryHisTradeDetail": {
  2026. "get": {
  2027. "security": [
  2028. {
  2029. "ApiKeyAuth": []
  2030. }
  2031. ],
  2032. "produces": [
  2033. "application/json"
  2034. ],
  2035. "tags": [
  2036. "通用单据"
  2037. ],
  2038. "summary": "历史成交单查询(合约市场)",
  2039. "parameters": [
  2040. {
  2041. "type": "string",
  2042. "description": "资金账户 - 格式:1,2,3",
  2043. "name": "accountID",
  2044. "in": "query",
  2045. "required": true
  2046. },
  2047. {
  2048. "type": "integer",
  2049. "description": "成交单号",
  2050. "name": "tradeID",
  2051. "in": "query"
  2052. },
  2053. {
  2054. "type": "integer",
  2055. "description": "委托单号",
  2056. "name": "orderID",
  2057. "in": "query"
  2058. },
  2059. {
  2060. "type": "string",
  2061. "description": "交易模式 - 格式:1,2,3",
  2062. "name": "tradeMode",
  2063. "in": "query"
  2064. },
  2065. {
  2066. "type": "integer",
  2067. "description": "委托单据类型",
  2068. "name": "buildType",
  2069. "in": "query"
  2070. },
  2071. {
  2072. "type": "string",
  2073. "description": "成交类别 - 格式:1,2,3",
  2074. "name": "tradeType",
  2075. "in": "query"
  2076. },
  2077. {
  2078. "type": "string",
  2079. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2080. "name": "startDate",
  2081. "in": "query"
  2082. },
  2083. {
  2084. "type": "string",
  2085. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2086. "name": "endDate",
  2087. "in": "query"
  2088. }
  2089. ],
  2090. "responses": {
  2091. "200": {
  2092. "description": "OK",
  2093. "schema": {
  2094. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2095. }
  2096. },
  2097. "500": {
  2098. "description": "Internal Server Error",
  2099. "schema": {
  2100. "$ref": "#/definitions/app.Response"
  2101. }
  2102. }
  2103. }
  2104. }
  2105. },
  2106. "/Order/QueryHisTradeOrderDetail": {
  2107. "get": {
  2108. "security": [
  2109. {
  2110. "ApiKeyAuth": []
  2111. }
  2112. ],
  2113. "produces": [
  2114. "application/json"
  2115. ],
  2116. "tags": [
  2117. "通用单据"
  2118. ],
  2119. "summary": "历史委托单查询请求(合约市场)",
  2120. "parameters": [
  2121. {
  2122. "type": "string",
  2123. "description": "资金账户 - 格式:1,2,3",
  2124. "name": "accountID",
  2125. "in": "query",
  2126. "required": true
  2127. },
  2128. {
  2129. "type": "string",
  2130. "description": "交易模式 - 格式:1,2,3",
  2131. "name": "tradeMode",
  2132. "in": "query"
  2133. },
  2134. {
  2135. "type": "string",
  2136. "description": "委托状态 - 格式:1,2,3",
  2137. "name": "orderStatus",
  2138. "in": "query"
  2139. },
  2140. {
  2141. "type": "integer",
  2142. "description": "委托单号",
  2143. "name": "orderID",
  2144. "in": "query"
  2145. },
  2146. {
  2147. "type": "string",
  2148. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2149. "name": "startDate",
  2150. "in": "query"
  2151. },
  2152. {
  2153. "type": "string",
  2154. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2155. "name": "endDate",
  2156. "in": "query"
  2157. }
  2158. ],
  2159. "responses": {
  2160. "200": {
  2161. "description": "OK",
  2162. "schema": {
  2163. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2164. }
  2165. },
  2166. "500": {
  2167. "description": "Internal Server Error",
  2168. "schema": {
  2169. "$ref": "#/definitions/app.Response"
  2170. }
  2171. }
  2172. }
  2173. }
  2174. },
  2175. "/Order/QueryTradeDetail": {
  2176. "get": {
  2177. "security": [
  2178. {
  2179. "ApiKeyAuth": []
  2180. }
  2181. ],
  2182. "produces": [
  2183. "application/json"
  2184. ],
  2185. "tags": [
  2186. "通用单据"
  2187. ],
  2188. "summary": "成交单查询(合约市场)",
  2189. "parameters": [
  2190. {
  2191. "type": "string",
  2192. "description": "资金账户 - 格式:1,2,3",
  2193. "name": "accountID",
  2194. "in": "query",
  2195. "required": true
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "成交单号",
  2200. "name": "tradeID",
  2201. "in": "query"
  2202. },
  2203. {
  2204. "type": "integer",
  2205. "description": "委托单号",
  2206. "name": "orderID",
  2207. "in": "query"
  2208. },
  2209. {
  2210. "type": "string",
  2211. "description": "交易模式 - 格式:1,2,3",
  2212. "name": "tradeMode",
  2213. "in": "query"
  2214. },
  2215. {
  2216. "type": "integer",
  2217. "description": "委托单据类型",
  2218. "name": "buildType",
  2219. "in": "query"
  2220. },
  2221. {
  2222. "type": "string",
  2223. "description": "成交类别 - 格式:1,2,3",
  2224. "name": "tradeType",
  2225. "in": "query"
  2226. }
  2227. ],
  2228. "responses": {
  2229. "200": {
  2230. "description": "OK",
  2231. "schema": {
  2232. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2233. }
  2234. },
  2235. "500": {
  2236. "description": "Internal Server Error",
  2237. "schema": {
  2238. "$ref": "#/definitions/app.Response"
  2239. }
  2240. }
  2241. }
  2242. }
  2243. },
  2244. "/Order/QueryTradeOrderDetail": {
  2245. "get": {
  2246. "security": [
  2247. {
  2248. "ApiKeyAuth": []
  2249. }
  2250. ],
  2251. "produces": [
  2252. "application/json"
  2253. ],
  2254. "tags": [
  2255. "通用单据"
  2256. ],
  2257. "summary": "委托单查询请求(合约市场)",
  2258. "parameters": [
  2259. {
  2260. "type": "string",
  2261. "description": "资金账户 - 格式:1,2,3",
  2262. "name": "accountID",
  2263. "in": "query",
  2264. "required": true
  2265. },
  2266. {
  2267. "type": "string",
  2268. "description": "交易模式 - 格式:1,2,3",
  2269. "name": "tradeMode",
  2270. "in": "query"
  2271. },
  2272. {
  2273. "type": "string",
  2274. "description": "委托状态 - 格式:1,2,3",
  2275. "name": "orderStatus",
  2276. "in": "query"
  2277. },
  2278. {
  2279. "type": "integer",
  2280. "description": "委托单号",
  2281. "name": "orderID",
  2282. "in": "query"
  2283. }
  2284. ],
  2285. "responses": {
  2286. "200": {
  2287. "description": "OK",
  2288. "schema": {
  2289. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  2290. }
  2291. },
  2292. "500": {
  2293. "description": "Internal Server Error",
  2294. "schema": {
  2295. "$ref": "#/definitions/app.Response"
  2296. }
  2297. }
  2298. }
  2299. }
  2300. },
  2301. "/Order/QueryTradePosition": {
  2302. "get": {
  2303. "security": [
  2304. {
  2305. "ApiKeyAuth": []
  2306. }
  2307. ],
  2308. "produces": [
  2309. "application/json"
  2310. ],
  2311. "tags": [
  2312. "通用单据"
  2313. ],
  2314. "summary": "持仓汇总查询(合约市场)",
  2315. "parameters": [
  2316. {
  2317. "type": "string",
  2318. "description": "资金账户 - 格式:1,2,3",
  2319. "name": "accountID",
  2320. "in": "query",
  2321. "required": true
  2322. },
  2323. {
  2324. "type": "string",
  2325. "description": "交易模式 - 格式:1,2,3",
  2326. "name": "tradeMode",
  2327. "in": "query"
  2328. }
  2329. ],
  2330. "responses": {
  2331. "200": {
  2332. "description": "OK",
  2333. "schema": {
  2334. "$ref": "#/definitions/order.QueryTradePositionRsp"
  2335. }
  2336. },
  2337. "500": {
  2338. "description": "Internal Server Error",
  2339. "schema": {
  2340. "$ref": "#/definitions/app.Response"
  2341. }
  2342. }
  2343. }
  2344. }
  2345. },
  2346. "/Quote/QueryHistoryDatas": {
  2347. "get": {
  2348. "security": [
  2349. {
  2350. "ApiKeyAuth": []
  2351. }
  2352. ],
  2353. "produces": [
  2354. "application/json"
  2355. ],
  2356. "tags": [
  2357. "行情服务"
  2358. ],
  2359. "summary": "查询行情历史数据",
  2360. "parameters": [
  2361. {
  2362. "type": "integer",
  2363. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  2364. "name": "cycleType",
  2365. "in": "query",
  2366. "required": true
  2367. },
  2368. {
  2369. "type": "string",
  2370. "description": "商品代码",
  2371. "name": "goodsCode",
  2372. "in": "query",
  2373. "required": true
  2374. },
  2375. {
  2376. "type": "string",
  2377. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  2378. "name": "startTime",
  2379. "in": "query"
  2380. },
  2381. {
  2382. "type": "string",
  2383. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  2384. "name": "endTime",
  2385. "in": "query"
  2386. },
  2387. {
  2388. "type": "integer",
  2389. "description": "条数",
  2390. "name": "count",
  2391. "in": "query"
  2392. },
  2393. {
  2394. "type": "boolean",
  2395. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  2396. "name": "isAsc",
  2397. "in": "query"
  2398. }
  2399. ],
  2400. "responses": {
  2401. "200": {
  2402. "description": "OK",
  2403. "schema": {
  2404. "$ref": "#/definitions/quote.HistoryData"
  2405. }
  2406. },
  2407. "500": {
  2408. "description": "Internal Server Error",
  2409. "schema": {
  2410. "$ref": "#/definitions/app.Response"
  2411. }
  2412. }
  2413. }
  2414. }
  2415. },
  2416. "/Quote/QueryTSData": {
  2417. "get": {
  2418. "produces": [
  2419. "application/json"
  2420. ],
  2421. "tags": [
  2422. "行情服务"
  2423. ],
  2424. "summary": "分时图数据查询",
  2425. "parameters": [
  2426. {
  2427. "type": "string",
  2428. "description": "商品代码",
  2429. "name": "GoodsCode",
  2430. "in": "query",
  2431. "required": true
  2432. }
  2433. ],
  2434. "responses": {
  2435. "200": {
  2436. "description": "OK",
  2437. "schema": {
  2438. "$ref": "#/definitions/quote.QueryTSDataRsp"
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/SZDZ/QueryConvertConfig": {
  2451. "get": {
  2452. "security": [
  2453. {
  2454. "ApiKeyAuth": []
  2455. }
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "定制【尚志大宗】"
  2462. ],
  2463. "summary": "查询交易系统转换设置",
  2464. "parameters": [
  2465. {
  2466. "type": "integer",
  2467. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2468. "name": "convertType",
  2469. "in": "query"
  2470. },
  2471. {
  2472. "type": "string",
  2473. "description": "外部商品代码[JD\\PD]",
  2474. "name": "outerGoodsCode",
  2475. "in": "query"
  2476. },
  2477. {
  2478. "type": "string",
  2479. "description": "内部商品ID列表[交易],格式:1,2,3",
  2480. "name": "innerGoodsIDs",
  2481. "in": "query"
  2482. }
  2483. ],
  2484. "responses": {
  2485. "200": {
  2486. "description": "OK",
  2487. "schema": {
  2488. "$ref": "#/definitions/models.Szdz3convertconfig"
  2489. }
  2490. },
  2491. "500": {
  2492. "description": "Internal Server Error",
  2493. "schema": {
  2494. "$ref": "#/definitions/app.Response"
  2495. }
  2496. }
  2497. }
  2498. }
  2499. },
  2500. "/SZDZ/QueryConvertLog": {
  2501. "get": {
  2502. "security": [
  2503. {
  2504. "ApiKeyAuth": []
  2505. }
  2506. ],
  2507. "produces": [
  2508. "application/json"
  2509. ],
  2510. "tags": [
  2511. "定制【尚志大宗】"
  2512. ],
  2513. "summary": "交易系统转换流水查询",
  2514. "parameters": [
  2515. {
  2516. "type": "string",
  2517. "description": "资金账户 - 格式:1,2,3",
  2518. "name": "accountID",
  2519. "in": "query",
  2520. "required": true
  2521. },
  2522. {
  2523. "type": "string",
  2524. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2525. "name": "startDate",
  2526. "in": "query"
  2527. },
  2528. {
  2529. "type": "string",
  2530. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2531. "name": "endDate",
  2532. "in": "query"
  2533. }
  2534. ],
  2535. "responses": {
  2536. "200": {
  2537. "description": "OK",
  2538. "schema": {
  2539. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2540. }
  2541. },
  2542. "500": {
  2543. "description": "Internal Server Error",
  2544. "schema": {
  2545. "$ref": "#/definitions/app.Response"
  2546. }
  2547. }
  2548. }
  2549. }
  2550. },
  2551. "/SZDZ/QueryGoodsPickup": {
  2552. "get": {
  2553. "security": [
  2554. {
  2555. "ApiKeyAuth": []
  2556. }
  2557. ],
  2558. "produces": [
  2559. "application/json"
  2560. ],
  2561. "tags": [
  2562. "定制【尚志大宗】"
  2563. ],
  2564. "summary": "商品提货单查询",
  2565. "parameters": [
  2566. {
  2567. "type": "string",
  2568. "description": "资金账户 - 格式:1,2,3",
  2569. "name": "accountID",
  2570. "in": "query",
  2571. "required": true
  2572. },
  2573. {
  2574. "type": "integer",
  2575. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2576. "name": "takeOrderStatus",
  2577. "in": "query"
  2578. }
  2579. ],
  2580. "responses": {
  2581. "200": {
  2582. "description": "OK",
  2583. "schema": {
  2584. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2585. }
  2586. },
  2587. "500": {
  2588. "description": "Internal Server Error",
  2589. "schema": {
  2590. "$ref": "#/definitions/app.Response"
  2591. }
  2592. }
  2593. }
  2594. }
  2595. },
  2596. "/SZDZ/QueryRecieptOrder": {
  2597. "get": {
  2598. "security": [
  2599. {
  2600. "ApiKeyAuth": []
  2601. }
  2602. ],
  2603. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2604. "produces": [
  2605. "application/json"
  2606. ],
  2607. "tags": [
  2608. "定制【尚志大宗】"
  2609. ],
  2610. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2611. "parameters": [
  2612. {
  2613. "type": "integer",
  2614. "description": "页码",
  2615. "name": "page",
  2616. "in": "query"
  2617. },
  2618. {
  2619. "type": "integer",
  2620. "description": "每页条数",
  2621. "name": "pagesize",
  2622. "in": "query"
  2623. },
  2624. {
  2625. "type": "integer",
  2626. "description": "商品ID",
  2627. "name": "goodsID",
  2628. "in": "query",
  2629. "required": true
  2630. },
  2631. {
  2632. "type": "string",
  2633. "description": "所属账户名称",
  2634. "name": "accountName",
  2635. "in": "query"
  2636. },
  2637. {
  2638. "type": "integer",
  2639. "description": "市场ID",
  2640. "name": "marketID",
  2641. "in": "query"
  2642. },
  2643. {
  2644. "type": "integer",
  2645. "description": "方向 - 0:买 1:卖",
  2646. "name": "buyorsell",
  2647. "in": "query",
  2648. "required": true
  2649. }
  2650. ],
  2651. "responses": {
  2652. "200": {
  2653. "description": "OK",
  2654. "schema": {
  2655. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2656. }
  2657. },
  2658. "500": {
  2659. "description": "Internal Server Error",
  2660. "schema": {
  2661. "$ref": "#/definitions/app.Response"
  2662. }
  2663. }
  2664. }
  2665. }
  2666. },
  2667. "/SZDZ/QuerySZDZTradePosition": {
  2668. "get": {
  2669. "security": [
  2670. {
  2671. "ApiKeyAuth": []
  2672. }
  2673. ],
  2674. "produces": [
  2675. "application/json"
  2676. ],
  2677. "tags": [
  2678. "定制【尚志大宗】"
  2679. ],
  2680. "summary": "持仓汇总查询(尚志大宗)",
  2681. "parameters": [
  2682. {
  2683. "type": "integer",
  2684. "description": "资金账户",
  2685. "name": "accountID",
  2686. "in": "query",
  2687. "required": true
  2688. }
  2689. ],
  2690. "responses": {
  2691. "200": {
  2692. "description": "OK",
  2693. "schema": {
  2694. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2695. }
  2696. },
  2697. "500": {
  2698. "description": "Internal Server Error",
  2699. "schema": {
  2700. "$ref": "#/definitions/app.Response"
  2701. }
  2702. }
  2703. }
  2704. }
  2705. },
  2706. "/SZDZ/SearchWhite": {
  2707. "get": {
  2708. "security": [
  2709. {
  2710. "ApiKeyAuth": []
  2711. }
  2712. ],
  2713. "produces": [
  2714. "application/json"
  2715. ],
  2716. "tags": [
  2717. "定制【尚志大宗】"
  2718. ],
  2719. "summary": "搜索白名单",
  2720. "parameters": [
  2721. {
  2722. "type": "integer",
  2723. "description": "用户ID",
  2724. "name": "userID",
  2725. "in": "query",
  2726. "required": true
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2734. }
  2735. },
  2736. "500": {
  2737. "description": "Internal Server Error",
  2738. "schema": {
  2739. "$ref": "#/definitions/app.Response"
  2740. }
  2741. }
  2742. }
  2743. }
  2744. },
  2745. "/Search/SearchGoodses": {
  2746. "get": {
  2747. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2748. "produces": [
  2749. "application/json"
  2750. ],
  2751. "tags": [
  2752. "检索服务"
  2753. ],
  2754. "summary": "检索商品信息",
  2755. "parameters": [
  2756. {
  2757. "type": "string",
  2758. "description": "检索内容",
  2759. "name": "content",
  2760. "in": "query",
  2761. "required": true
  2762. }
  2763. ],
  2764. "responses": {
  2765. "200": {
  2766. "description": "OK",
  2767. "schema": {
  2768. "$ref": "#/definitions/models.SearchGoods"
  2769. }
  2770. },
  2771. "500": {
  2772. "description": "Internal Server Error",
  2773. "schema": {
  2774. "$ref": "#/definitions/app.Response"
  2775. }
  2776. }
  2777. }
  2778. }
  2779. },
  2780. "/TaAccount/QueryAmountLog": {
  2781. "get": {
  2782. "security": [
  2783. {
  2784. "ApiKeyAuth": []
  2785. }
  2786. ],
  2787. "produces": [
  2788. "application/json"
  2789. ],
  2790. "tags": [
  2791. "资金账户"
  2792. ],
  2793. "summary": "资金流水查询(当前)",
  2794. "parameters": [
  2795. {
  2796. "type": "integer",
  2797. "description": "页码",
  2798. "name": "page",
  2799. "in": "query"
  2800. },
  2801. {
  2802. "type": "integer",
  2803. "description": "每页条数",
  2804. "name": "pagesize",
  2805. "in": "query"
  2806. },
  2807. {
  2808. "type": "string",
  2809. "description": "资金账户 - 格式:1,2,3",
  2810. "name": "accountID",
  2811. "in": "query",
  2812. "required": true
  2813. },
  2814. {
  2815. "type": "string",
  2816. "description": "资金操作类型 - 格式:1,2,3",
  2817. "name": "OperateType",
  2818. "in": "query"
  2819. }
  2820. ],
  2821. "responses": {
  2822. "200": {
  2823. "description": "OK",
  2824. "schema": {
  2825. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2826. }
  2827. },
  2828. "500": {
  2829. "description": "Internal Server Error",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. }
  2834. }
  2835. }
  2836. },
  2837. "/TaAccount/QueryHisAmountLog": {
  2838. "get": {
  2839. "security": [
  2840. {
  2841. "ApiKeyAuth": []
  2842. }
  2843. ],
  2844. "produces": [
  2845. "application/json"
  2846. ],
  2847. "tags": [
  2848. "资金账户"
  2849. ],
  2850. "summary": "资金流水查询(历史)",
  2851. "parameters": [
  2852. {
  2853. "type": "integer",
  2854. "description": "页码",
  2855. "name": "page",
  2856. "in": "query"
  2857. },
  2858. {
  2859. "type": "integer",
  2860. "description": "每页条数",
  2861. "name": "pagesize",
  2862. "in": "query"
  2863. },
  2864. {
  2865. "type": "string",
  2866. "description": "资金账户 - 格式:1,2,3",
  2867. "name": "accountID",
  2868. "in": "query",
  2869. "required": true
  2870. },
  2871. {
  2872. "type": "string",
  2873. "description": "资金操作类型 - 格式:1,2,3",
  2874. "name": "OperateType",
  2875. "in": "query"
  2876. },
  2877. {
  2878. "type": "string",
  2879. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2880. "name": "startDate",
  2881. "in": "query"
  2882. },
  2883. {
  2884. "type": "string",
  2885. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2886. "name": "endDate",
  2887. "in": "query"
  2888. }
  2889. ],
  2890. "responses": {
  2891. "200": {
  2892. "description": "OK",
  2893. "schema": {
  2894. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2895. }
  2896. },
  2897. "500": {
  2898. "description": "Internal Server Error",
  2899. "schema": {
  2900. "$ref": "#/definitions/app.Response"
  2901. }
  2902. }
  2903. }
  2904. }
  2905. },
  2906. "/Trade/QueryRecieptOrder": {
  2907. "get": {
  2908. "security": [
  2909. {
  2910. "ApiKeyAuth": []
  2911. }
  2912. ],
  2913. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2914. "produces": [
  2915. "application/json"
  2916. ],
  2917. "tags": [
  2918. "通用交易"
  2919. ],
  2920. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  2921. "parameters": [
  2922. {
  2923. "type": "integer",
  2924. "description": "页码",
  2925. "name": "page",
  2926. "in": "query"
  2927. },
  2928. {
  2929. "type": "integer",
  2930. "description": "每页条数",
  2931. "name": "pagesize",
  2932. "in": "query"
  2933. },
  2934. {
  2935. "type": "integer",
  2936. "description": "商品ID",
  2937. "name": "goodsID",
  2938. "in": "query",
  2939. "required": true
  2940. },
  2941. {
  2942. "type": "string",
  2943. "description": "所属账户名称",
  2944. "name": "accountName",
  2945. "in": "query"
  2946. },
  2947. {
  2948. "type": "integer",
  2949. "description": "市场ID",
  2950. "name": "marketID",
  2951. "in": "query"
  2952. },
  2953. {
  2954. "type": "integer",
  2955. "description": "方向 - 0:买 1:卖",
  2956. "name": "buyorsell",
  2957. "in": "query",
  2958. "required": true
  2959. }
  2960. ],
  2961. "responses": {
  2962. "200": {
  2963. "description": "OK",
  2964. "schema": {
  2965. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  2966. }
  2967. },
  2968. "500": {
  2969. "description": "Internal Server Error",
  2970. "schema": {
  2971. "$ref": "#/definitions/app.Response"
  2972. }
  2973. }
  2974. }
  2975. }
  2976. },
  2977. "/User/AddMessageBoard": {
  2978. "post": {
  2979. "security": [
  2980. {
  2981. "ApiKeyAuth": []
  2982. }
  2983. ],
  2984. "produces": [
  2985. "application/json"
  2986. ],
  2987. "tags": [
  2988. "用户信息"
  2989. ],
  2990. "summary": "添加用户留言板信息",
  2991. "parameters": [
  2992. {
  2993. "type": "integer",
  2994. "description": "用户ID",
  2995. "name": "userID",
  2996. "in": "query",
  2997. "required": true
  2998. },
  2999. {
  3000. "type": "string",
  3001. "description": "留言信息",
  3002. "name": "message",
  3003. "in": "query",
  3004. "required": true
  3005. }
  3006. ],
  3007. "responses": {
  3008. "200": {
  3009. "description": "OK",
  3010. "schema": {
  3011. "$ref": "#/definitions/app.Response"
  3012. }
  3013. },
  3014. "500": {
  3015. "description": "Internal Server Error",
  3016. "schema": {
  3017. "$ref": "#/definitions/app.Response"
  3018. }
  3019. }
  3020. }
  3021. }
  3022. },
  3023. "/User/AddUserFavoriteGoods": {
  3024. "post": {
  3025. "security": [
  3026. {
  3027. "ApiKeyAuth": []
  3028. }
  3029. ],
  3030. "produces": [
  3031. "application/json"
  3032. ],
  3033. "tags": [
  3034. "用户信息"
  3035. ],
  3036. "summary": "添加用户商品收藏信息",
  3037. "parameters": [
  3038. {
  3039. "type": "integer",
  3040. "description": "用户ID",
  3041. "name": "userID",
  3042. "in": "query",
  3043. "required": true
  3044. },
  3045. {
  3046. "type": "integer",
  3047. "description": "商品ID",
  3048. "name": "goodsID",
  3049. "in": "query",
  3050. "required": true
  3051. }
  3052. ],
  3053. "responses": {
  3054. "200": {
  3055. "description": "OK",
  3056. "schema": {
  3057. "$ref": "#/definitions/app.Response"
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/User/GetLoginID": {
  3070. "get": {
  3071. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3072. "produces": [
  3073. "application/json"
  3074. ],
  3075. "tags": [
  3076. "用户信息"
  3077. ],
  3078. "summary": "获取登录ID",
  3079. "parameters": [
  3080. {
  3081. "type": "string",
  3082. "description": "登录代码",
  3083. "name": "username",
  3084. "in": "query",
  3085. "required": true
  3086. }
  3087. ],
  3088. "responses": {
  3089. "200": {
  3090. "description": "OK",
  3091. "schema": {
  3092. "$ref": "#/definitions/app.Response"
  3093. }
  3094. },
  3095. "500": {
  3096. "description": "Internal Server Error",
  3097. "schema": {
  3098. "$ref": "#/definitions/app.Response"
  3099. }
  3100. }
  3101. }
  3102. }
  3103. },
  3104. "/User/GetUserAccount": {
  3105. "get": {
  3106. "security": [
  3107. {
  3108. "ApiKeyAuth": []
  3109. }
  3110. ],
  3111. "produces": [
  3112. "application/json"
  3113. ],
  3114. "tags": [
  3115. "用户信息"
  3116. ],
  3117. "summary": "获取用户账号信息",
  3118. "parameters": [
  3119. {
  3120. "type": "integer",
  3121. "description": "用户ID",
  3122. "name": "userID",
  3123. "in": "query",
  3124. "required": true
  3125. }
  3126. ],
  3127. "responses": {
  3128. "200": {
  3129. "description": "OK",
  3130. "schema": {
  3131. "$ref": "#/definitions/models.Useraccount"
  3132. }
  3133. },
  3134. "500": {
  3135. "description": "Internal Server Error",
  3136. "schema": {
  3137. "$ref": "#/definitions/app.Response"
  3138. }
  3139. }
  3140. }
  3141. }
  3142. },
  3143. "/User/GetUserAuthStatus": {
  3144. "get": {
  3145. "security": [
  3146. {
  3147. "ApiKeyAuth": []
  3148. }
  3149. ],
  3150. "produces": [
  3151. "application/json"
  3152. ],
  3153. "tags": [
  3154. "用户信息"
  3155. ],
  3156. "summary": "获取用户实名认证状态",
  3157. "parameters": [
  3158. {
  3159. "type": "integer",
  3160. "description": "用户ID",
  3161. "name": "userID",
  3162. "in": "query",
  3163. "required": true
  3164. }
  3165. ],
  3166. "responses": {
  3167. "200": {
  3168. "description": "OK",
  3169. "schema": {
  3170. "$ref": "#/definitions/app.Response"
  3171. }
  3172. },
  3173. "500": {
  3174. "description": "Internal Server Error",
  3175. "schema": {
  3176. "$ref": "#/definitions/app.Response"
  3177. }
  3178. }
  3179. }
  3180. }
  3181. },
  3182. "/User/QueryMessageBoard": {
  3183. "get": {
  3184. "security": [
  3185. {
  3186. "ApiKeyAuth": []
  3187. }
  3188. ],
  3189. "produces": [
  3190. "application/json"
  3191. ],
  3192. "tags": [
  3193. "用户信息"
  3194. ],
  3195. "summary": "获取用户留言板信息",
  3196. "parameters": [
  3197. {
  3198. "type": "integer",
  3199. "description": "用户ID",
  3200. "name": "userID",
  3201. "in": "query",
  3202. "required": true
  3203. }
  3204. ],
  3205. "responses": {
  3206. "200": {
  3207. "description": "OK",
  3208. "schema": {
  3209. "$ref": "#/definitions/models.Messageboard"
  3210. }
  3211. },
  3212. "500": {
  3213. "description": "Internal Server Error",
  3214. "schema": {
  3215. "$ref": "#/definitions/app.Response"
  3216. }
  3217. }
  3218. }
  3219. }
  3220. },
  3221. "/User/QueryUserFavoriteGoodses": {
  3222. "get": {
  3223. "security": [
  3224. {
  3225. "ApiKeyAuth": []
  3226. }
  3227. ],
  3228. "produces": [
  3229. "application/json"
  3230. ],
  3231. "tags": [
  3232. "用户信息"
  3233. ],
  3234. "summary": "获取用户商品收藏信息",
  3235. "parameters": [
  3236. {
  3237. "type": "integer",
  3238. "description": "用户ID",
  3239. "name": "userID",
  3240. "in": "query",
  3241. "required": true
  3242. }
  3243. ],
  3244. "responses": {
  3245. "200": {
  3246. "description": "OK",
  3247. "schema": {
  3248. "$ref": "#/definitions/models.Userfavoritegoods"
  3249. }
  3250. },
  3251. "500": {
  3252. "description": "Internal Server Error",
  3253. "schema": {
  3254. "$ref": "#/definitions/app.Response"
  3255. }
  3256. }
  3257. }
  3258. }
  3259. },
  3260. "/User/QueryUserInfo": {
  3261. "get": {
  3262. "security": [
  3263. {
  3264. "ApiKeyAuth": []
  3265. }
  3266. ],
  3267. "produces": [
  3268. "application/json"
  3269. ],
  3270. "tags": [
  3271. "用户信息"
  3272. ],
  3273. "summary": "获取用户信息",
  3274. "parameters": [
  3275. {
  3276. "type": "integer",
  3277. "description": "用户ID",
  3278. "name": "userID",
  3279. "in": "query",
  3280. "required": true
  3281. }
  3282. ],
  3283. "responses": {
  3284. "200": {
  3285. "description": "OK",
  3286. "schema": {
  3287. "$ref": "#/definitions/models.Userinfo"
  3288. }
  3289. },
  3290. "500": {
  3291. "description": "Internal Server Error",
  3292. "schema": {
  3293. "$ref": "#/definitions/app.Response"
  3294. }
  3295. }
  3296. }
  3297. }
  3298. },
  3299. "/User/QueryUserReferNum": {
  3300. "get": {
  3301. "produces": [
  3302. "application/json"
  3303. ],
  3304. "tags": [
  3305. "用户信息"
  3306. ],
  3307. "summary": "获取用户邀请码",
  3308. "parameters": [
  3309. {
  3310. "type": "integer",
  3311. "description": "用户ID",
  3312. "name": "userID",
  3313. "in": "query",
  3314. "required": true
  3315. }
  3316. ],
  3317. "responses": {
  3318. "200": {
  3319. "description": "OK",
  3320. "schema": {
  3321. "$ref": "#/definitions/app.Response"
  3322. }
  3323. },
  3324. "500": {
  3325. "description": "Internal Server Error",
  3326. "schema": {
  3327. "$ref": "#/definitions/app.Response"
  3328. }
  3329. }
  3330. }
  3331. }
  3332. },
  3333. "/User/RemoveUserFavoriteGoods": {
  3334. "post": {
  3335. "security": [
  3336. {
  3337. "ApiKeyAuth": []
  3338. }
  3339. ],
  3340. "produces": [
  3341. "application/json"
  3342. ],
  3343. "tags": [
  3344. "用户信息"
  3345. ],
  3346. "summary": "移除用户商品收藏信息",
  3347. "parameters": [
  3348. {
  3349. "type": "integer",
  3350. "description": "用户ID",
  3351. "name": "userID",
  3352. "in": "query",
  3353. "required": true
  3354. },
  3355. {
  3356. "type": "integer",
  3357. "description": "商品ID",
  3358. "name": "goodsID",
  3359. "in": "query",
  3360. "required": true
  3361. }
  3362. ],
  3363. "responses": {
  3364. "200": {
  3365. "description": "OK",
  3366. "schema": {
  3367. "$ref": "#/definitions/app.Response"
  3368. }
  3369. },
  3370. "500": {
  3371. "description": "Internal Server Error",
  3372. "schema": {
  3373. "$ref": "#/definitions/app.Response"
  3374. }
  3375. }
  3376. }
  3377. }
  3378. },
  3379. "/WRTrade/GetAllDeliveryGoods": {
  3380. "get": {
  3381. "security": [
  3382. {
  3383. "ApiKeyAuth": []
  3384. },
  3385. {
  3386. "ApiKeyAuth": []
  3387. }
  3388. ],
  3389. "produces": [
  3390. "application/json",
  3391. "application/json"
  3392. ],
  3393. "tags": [
  3394. "仓单贸易",
  3395. "仓单贸易"
  3396. ],
  3397. "summary": "获取带仓单分类的种类信息",
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "$ref": "#/definitions/app.Response"
  3403. }
  3404. },
  3405. "500": {
  3406. "description": "Internal Server Error",
  3407. "schema": {
  3408. "$ref": "#/definitions/app.Response"
  3409. }
  3410. }
  3411. }
  3412. }
  3413. }
  3414. },
  3415. "definitions": {
  3416. "app.Response": {
  3417. "type": "object",
  3418. "properties": {
  3419. "code": {
  3420. "type": "integer"
  3421. },
  3422. "data": {
  3423. "type": "object"
  3424. },
  3425. "msg": {
  3426. "type": "string"
  3427. },
  3428. "page": {
  3429. "description": "页码",
  3430. "type": "integer"
  3431. },
  3432. "pagesize": {
  3433. "description": "每页条数",
  3434. "type": "integer"
  3435. },
  3436. "total": {
  3437. "description": "总条数",
  3438. "type": "integer"
  3439. }
  3440. }
  3441. },
  3442. "common.QueryNoticeRsp": {
  3443. "type": "object",
  3444. "required": [
  3445. "autoid"
  3446. ],
  3447. "properties": {
  3448. "auditoruserid": {
  3449. "description": "审核人",
  3450. "type": "integer"
  3451. },
  3452. "auditremark": {
  3453. "description": "审核备注",
  3454. "type": "string"
  3455. },
  3456. "audittime": {
  3457. "description": "审核日期",
  3458. "type": "string"
  3459. },
  3460. "autoid": {
  3461. "description": "自增ID",
  3462. "type": "integer"
  3463. },
  3464. "content": {
  3465. "description": "内容",
  3466. "type": "string"
  3467. },
  3468. "createtime": {
  3469. "description": "创建时间",
  3470. "type": "string"
  3471. },
  3472. "creatorid": {
  3473. "description": "建仓人",
  3474. "type": "integer"
  3475. },
  3476. "endtime": {
  3477. "description": "结束时间",
  3478. "type": "string"
  3479. },
  3480. "istop": {
  3481. "description": "是否置顶 - 0:不置顶 1:置顶",
  3482. "type": "integer"
  3483. },
  3484. "msgiconurl": {
  3485. "description": "消息图标Url",
  3486. "type": "string"
  3487. },
  3488. "msgtype": {
  3489. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  3490. "type": "integer"
  3491. },
  3492. "publisher": {
  3493. "description": "消息发布者",
  3494. "type": "string"
  3495. },
  3496. "readed": {
  3497. "description": "是否已读",
  3498. "type": "boolean"
  3499. },
  3500. "scheduletime": {
  3501. "description": "计划发送时间",
  3502. "type": "string"
  3503. },
  3504. "sendtype": {
  3505. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  3506. "type": "integer"
  3507. },
  3508. "sentstatus": {
  3509. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  3510. "type": "integer"
  3511. },
  3512. "title": {
  3513. "description": "标题",
  3514. "type": "string"
  3515. },
  3516. "userid": {
  3517. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  3518. "type": "integer"
  3519. }
  3520. }
  3521. },
  3522. "common.QueryProvincesAndCitiesRsp": {
  3523. "type": "object",
  3524. "properties": {
  3525. "cities": {
  3526. "description": "市",
  3527. "type": "array",
  3528. "items": {
  3529. "$ref": "#/definitions/models.Division"
  3530. }
  3531. },
  3532. "province": {
  3533. "description": "省",
  3534. "$ref": "#/definitions/models.Division"
  3535. }
  3536. }
  3537. },
  3538. "common.QueryTableDefineRsp": {
  3539. "type": "object",
  3540. "required": [
  3541. "tablekey"
  3542. ],
  3543. "properties": {
  3544. "columns": {
  3545. "description": "列头信息数组",
  3546. "type": "array",
  3547. "items": {
  3548. "$ref": "#/definitions/models.Tablecolumnconfig"
  3549. }
  3550. },
  3551. "remark": {
  3552. "description": "Remark",
  3553. "type": "string"
  3554. },
  3555. "tabelmenu": {
  3556. "description": "列表菜单",
  3557. "type": "string"
  3558. },
  3559. "tablekey": {
  3560. "description": "列表Key",
  3561. "type": "string"
  3562. },
  3563. "tablename": {
  3564. "description": "列表名称",
  3565. "type": "string"
  3566. },
  3567. "tabletype": {
  3568. "description": "列表类型 - 1:管理端 2:终端",
  3569. "type": "integer"
  3570. }
  3571. }
  3572. },
  3573. "common.QueryTraderMenuRsp": {
  3574. "type": "object",
  3575. "properties": {
  3576. "OperationMenu": {
  3577. "description": "功能菜单",
  3578. "type": "array",
  3579. "items": {
  3580. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3581. }
  3582. },
  3583. "QuoteMenu": {
  3584. "description": "报价牌分类菜单",
  3585. "type": "array",
  3586. "items": {
  3587. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3588. }
  3589. }
  3590. }
  3591. },
  3592. "cptrade.Cptradepositioncancel": {
  3593. "type": "object",
  3594. "required": [
  3595. "cancelid"
  3596. ],
  3597. "properties": {
  3598. "accountid": {
  3599. "description": "申请人账户ID",
  3600. "type": "integer"
  3601. },
  3602. "applystatus": {
  3603. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3604. "type": "integer"
  3605. },
  3606. "applytime": {
  3607. "description": "申请时间",
  3608. "type": "string"
  3609. },
  3610. "cancelid": {
  3611. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3612. "type": "integer"
  3613. },
  3614. "cancelqty": {
  3615. "description": "注销数量",
  3616. "type": "integer"
  3617. },
  3618. "createtime": {
  3619. "description": "创建时间",
  3620. "type": "string"
  3621. },
  3622. "creatorid": {
  3623. "description": "创建人ID",
  3624. "type": "integer"
  3625. },
  3626. "creatorname": {
  3627. "description": "创建人",
  3628. "type": "string"
  3629. },
  3630. "goodscode": {
  3631. "description": "订单商品代码",
  3632. "type": "string"
  3633. },
  3634. "goodsid": {
  3635. "description": "商品ID",
  3636. "type": "integer"
  3637. },
  3638. "goodsname": {
  3639. "description": "订单商品名称",
  3640. "type": "string"
  3641. },
  3642. "goodunit": {
  3643. "description": "报价单位",
  3644. "type": "string"
  3645. },
  3646. "handlestatus": {
  3647. "description": "处理状态",
  3648. "type": "integer"
  3649. },
  3650. "marketid": {
  3651. "description": "市场ID",
  3652. "type": "integer"
  3653. },
  3654. "marketname": {
  3655. "description": "市场名称",
  3656. "type": "string"
  3657. },
  3658. "tradedate": {
  3659. "description": "交易日(yyyyMMdd)",
  3660. "type": "string"
  3661. },
  3662. "userid": {
  3663. "description": "申请人ID",
  3664. "type": "integer"
  3665. }
  3666. }
  3667. },
  3668. "cptrade.Cptradepresaleapply": {
  3669. "type": "object",
  3670. "required": [
  3671. "applyid"
  3672. ],
  3673. "properties": {
  3674. "accountid": {
  3675. "description": "申请人账户ID",
  3676. "type": "integer"
  3677. },
  3678. "applyid": {
  3679. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3680. "type": "integer"
  3681. },
  3682. "applyremark": {
  3683. "description": "申请备注",
  3684. "type": "string"
  3685. },
  3686. "applystatus": {
  3687. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3688. "type": "integer"
  3689. },
  3690. "applytime": {
  3691. "description": "申请时间",
  3692. "type": "string"
  3693. },
  3694. "attachmenturl": {
  3695. "description": "附件地址",
  3696. "type": "string"
  3697. },
  3698. "endtime": {
  3699. "description": "预售结束时间",
  3700. "type": "string"
  3701. },
  3702. "goodscode": {
  3703. "description": "商品代码",
  3704. "type": "string"
  3705. },
  3706. "goodsid": {
  3707. "description": "商品ID",
  3708. "type": "integer"
  3709. },
  3710. "goodsname": {
  3711. "description": "商品名称",
  3712. "type": "string"
  3713. },
  3714. "goodunit": {
  3715. "description": "报价单位",
  3716. "type": "string"
  3717. },
  3718. "handlestatus": {
  3719. "description": "处理状态",
  3720. "type": "integer"
  3721. },
  3722. "marketid": {
  3723. "description": "预售市场ID",
  3724. "type": "integer"
  3725. },
  3726. "marketname": {
  3727. "description": "预售市场名称",
  3728. "type": "string"
  3729. },
  3730. "presaleqty": {
  3731. "description": "预售数量",
  3732. "type": "integer"
  3733. },
  3734. "relatedgoodscode": {
  3735. "description": "关联交易合约代码",
  3736. "type": "string"
  3737. },
  3738. "relatedgoodsid": {
  3739. "description": "关联交易合约ID",
  3740. "type": "integer"
  3741. },
  3742. "relatedgoodsname": {
  3743. "description": "关联交易合约名称",
  3744. "type": "string"
  3745. },
  3746. "starttime": {
  3747. "description": "预售开始时间",
  3748. "type": "string"
  3749. },
  3750. "tradedate": {
  3751. "description": "交易日(yyyyMMdd)",
  3752. "type": "string"
  3753. },
  3754. "trademode": {
  3755. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3756. "type": "integer"
  3757. },
  3758. "userid": {
  3759. "description": "申请人ID",
  3760. "type": "integer"
  3761. }
  3762. }
  3763. },
  3764. "cptrade.Cptradeusergoodsdata": {
  3765. "type": "object",
  3766. "required": [
  3767. "accountid",
  3768. "goodsid"
  3769. ],
  3770. "properties": {
  3771. "EnabledQty": {
  3772. "description": "可用量",
  3773. "type": "integer"
  3774. },
  3775. "GoodsCode": {
  3776. "description": "订单商品代码",
  3777. "type": "string"
  3778. },
  3779. "GoodsName": {
  3780. "description": "订单商品名称",
  3781. "type": "string"
  3782. },
  3783. "WRStandardCode": {
  3784. "description": "仓单标准代码",
  3785. "type": "string"
  3786. },
  3787. "WRStandardName": {
  3788. "description": "仓单标准名称",
  3789. "type": "string"
  3790. },
  3791. "accountid": {
  3792. "description": "账户ID",
  3793. "type": "integer"
  3794. },
  3795. "cancelqty": {
  3796. "description": "注销量",
  3797. "type": "integer"
  3798. },
  3799. "curpresaleqty": {
  3800. "description": "当前预售量",
  3801. "type": "integer"
  3802. },
  3803. "deliveryqty": {
  3804. "description": "交割量",
  3805. "type": "integer"
  3806. },
  3807. "freezeamount": {
  3808. "description": "冻结金额",
  3809. "type": "number"
  3810. },
  3811. "goodsid": {
  3812. "description": "商品ID",
  3813. "type": "integer"
  3814. },
  3815. "goodunit": {
  3816. "description": "报价单位",
  3817. "type": "string"
  3818. },
  3819. "hasspotfreeze": {
  3820. "description": "是否有现货冻结 - 0:否 1:有",
  3821. "type": "integer"
  3822. },
  3823. "inqty": {
  3824. "description": "转入量(总数量)",
  3825. "type": "integer"
  3826. },
  3827. "marketid": {
  3828. "description": "市场ID",
  3829. "type": "integer"
  3830. },
  3831. "presaledamount": {
  3832. "description": "已预售总金额",
  3833. "type": "integer"
  3834. },
  3835. "presaledqty": {
  3836. "description": "已预售量",
  3837. "type": "integer"
  3838. },
  3839. "userid": {
  3840. "description": "用户ID",
  3841. "type": "integer"
  3842. },
  3843. "wrstandardid": {
  3844. "description": "仓单标准ID",
  3845. "type": "integer"
  3846. }
  3847. }
  3848. },
  3849. "cptrade.QueryCPTradeMyBidRsp": {
  3850. "type": "object",
  3851. "required": [
  3852. "accountid",
  3853. "goodsid",
  3854. "marketid",
  3855. "orderid",
  3856. "orderqty",
  3857. "ordertime",
  3858. "tradeprice",
  3859. "tradeqty"
  3860. ],
  3861. "properties": {
  3862. "accountid": {
  3863. "description": "账户ID[报价币种]",
  3864. "type": "integer"
  3865. },
  3866. "goodsid": {
  3867. "description": "商品ID",
  3868. "type": "integer"
  3869. },
  3870. "goodunit": {
  3871. "description": "报价单位",
  3872. "type": "string"
  3873. },
  3874. "marketid": {
  3875. "description": "市场ID",
  3876. "type": "integer"
  3877. },
  3878. "orderid": {
  3879. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3880. "type": "integer"
  3881. },
  3882. "orderprice": {
  3883. "description": "委托价格",
  3884. "type": "number"
  3885. },
  3886. "orderqty": {
  3887. "description": "委托数量",
  3888. "type": "integer"
  3889. },
  3890. "ordertime": {
  3891. "description": "委托时间",
  3892. "type": "string"
  3893. },
  3894. "ordertotalprice": {
  3895. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3896. "type": "number"
  3897. },
  3898. "ordertotalweight": {
  3899. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3900. "type": "integer"
  3901. },
  3902. "totaltotalprice": {
  3903. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3904. "type": "number"
  3905. },
  3906. "tradeprice": {
  3907. "description": "成交价格",
  3908. "type": "number"
  3909. },
  3910. "tradeqty": {
  3911. "description": "成交数量",
  3912. "type": "integer"
  3913. }
  3914. }
  3915. },
  3916. "cptrade.QueryCPTradeOrderDetailRsq": {
  3917. "type": "object",
  3918. "required": [
  3919. "accountid",
  3920. "buildtype",
  3921. "buyorsell",
  3922. "goodsid",
  3923. "marketid",
  3924. "memberuserid",
  3925. "operatetype",
  3926. "orderqty",
  3927. "ordertime",
  3928. "pricemode",
  3929. "strorderid",
  3930. "tradedate",
  3931. "validtype"
  3932. ],
  3933. "properties": {
  3934. "accountid": {
  3935. "description": "账户ID[报价币种]",
  3936. "type": "integer"
  3937. },
  3938. "buildtype": {
  3939. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3940. "type": "integer"
  3941. },
  3942. "buyorsell": {
  3943. "description": "买卖 - 0:买 1:卖",
  3944. "type": "integer"
  3945. },
  3946. "cancelorderid": {
  3947. "description": "撤单单号(撤单时填写)",
  3948. "type": "integer"
  3949. },
  3950. "cancelqty": {
  3951. "description": "撤单数量",
  3952. "type": "integer"
  3953. },
  3954. "clientordertime": {
  3955. "description": "客户端委托时间",
  3956. "type": "string"
  3957. },
  3958. "clientticket": {
  3959. "description": "客户端流水号",
  3960. "type": "string"
  3961. },
  3962. "clienttype": {
  3963. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3964. "type": "integer"
  3965. },
  3966. "closeexchagechargevalue": {
  3967. "description": "平仓交易所手续费设置值",
  3968. "type": "number"
  3969. },
  3970. "closefeealgorithm": {
  3971. "description": "平仓手续费收取方式 1:比率 2:固定",
  3972. "type": "integer"
  3973. },
  3974. "closefreezecharge": {
  3975. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3976. "type": "number"
  3977. },
  3978. "closememberchargevalue": {
  3979. "description": "平仓会员手续费设置值",
  3980. "type": "number"
  3981. },
  3982. "closeqty": {
  3983. "description": "平仓数量(先建后平操作 需要记录)",
  3984. "type": "integer"
  3985. },
  3986. "closetradeqty": {
  3987. "description": "平仓成交数量(先建后平操作,需要记录)",
  3988. "type": "integer"
  3989. },
  3990. "closeunfreezecharge": {
  3991. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3992. "type": "number"
  3993. },
  3994. "delistingtype": {
  3995. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3996. "type": "integer"
  3997. },
  3998. "freezecharge": {
  3999. "description": "冻结手续费",
  4000. "type": "number"
  4001. },
  4002. "freezemargin": {
  4003. "description": "冻结保证金(冻结交易金额)",
  4004. "type": "number"
  4005. },
  4006. "gcaccountid": {
  4007. "description": "账户ID[合约币种]",
  4008. "type": "integer"
  4009. },
  4010. "goodsid": {
  4011. "description": "商品ID",
  4012. "type": "integer"
  4013. },
  4014. "isconfirmexercise": {
  4015. "description": "是否确认行权- 0:否 1:是",
  4016. "type": "integer"
  4017. },
  4018. "ispreexercise": {
  4019. "description": "是否预申报- 0:否 1:是",
  4020. "type": "integer"
  4021. },
  4022. "listingselecttype": {
  4023. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4024. "type": "integer"
  4025. },
  4026. "marginalgorithm": {
  4027. "description": "保证金收取方式 1:比率 2:固定",
  4028. "type": "integer"
  4029. },
  4030. "marginvalue": {
  4031. "description": "即市保证金设置值",
  4032. "type": "number"
  4033. },
  4034. "marketid": {
  4035. "description": "市场ID",
  4036. "type": "integer"
  4037. },
  4038. "marketmaxsub": {
  4039. "description": "市价最大偏移范围",
  4040. "type": "number"
  4041. },
  4042. "memberuserid": {
  4043. "description": "所属会员UserID",
  4044. "type": "integer"
  4045. },
  4046. "openexchagechargevalue": {
  4047. "description": "建仓交易所手续费设置值",
  4048. "type": "number"
  4049. },
  4050. "openfeealgorithm": {
  4051. "description": "建仓手续费收取方式 1:比率 2:固定",
  4052. "type": "integer"
  4053. },
  4054. "openfreezecharge": {
  4055. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4056. "type": "number"
  4057. },
  4058. "openmemberchargevalue": {
  4059. "description": "建仓会员手续费设置值",
  4060. "type": "number"
  4061. },
  4062. "openqty": {
  4063. "description": "开仓数量(先建后平操作,需要记录)",
  4064. "type": "integer"
  4065. },
  4066. "opentradeqty": {
  4067. "description": "开仓成交数量(先建后平操作,需要记录)",
  4068. "type": "integer"
  4069. },
  4070. "openunfreezecharge": {
  4071. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4072. "type": "number"
  4073. },
  4074. "operatetype": {
  4075. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4076. "type": "integer"
  4077. },
  4078. "operatorid": {
  4079. "description": "登录账号(LoginID)",
  4080. "type": "integer"
  4081. },
  4082. "optiontype": {
  4083. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4084. "type": "integer"
  4085. },
  4086. "orderprice": {
  4087. "description": "委托价格",
  4088. "type": "number"
  4089. },
  4090. "orderqty": {
  4091. "description": "委托数量",
  4092. "type": "integer"
  4093. },
  4094. "ordersrc": {
  4095. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4096. "type": "integer"
  4097. },
  4098. "orderstatus": {
  4099. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4100. "type": "integer"
  4101. },
  4102. "ordertime": {
  4103. "description": "委托时间",
  4104. "type": "string"
  4105. },
  4106. "preexerciseprice": {
  4107. "description": "预申报价格",
  4108. "type": "number"
  4109. },
  4110. "premium": {
  4111. "description": "权利金",
  4112. "type": "number"
  4113. },
  4114. "preorderid": {
  4115. "description": "关联预埋单号(止盈止损单时填写)",
  4116. "type": "integer"
  4117. },
  4118. "pricemode": {
  4119. "description": "取价方式 - 1:市价 2: 限价",
  4120. "type": "integer"
  4121. },
  4122. "quoteid": {
  4123. "description": "报价单ID",
  4124. "type": "integer"
  4125. },
  4126. "relatedid": {
  4127. "description": "关联单号(交割单)",
  4128. "type": "integer"
  4129. },
  4130. "retcode": {
  4131. "description": "错误代码",
  4132. "type": "integer"
  4133. },
  4134. "sessionid": {
  4135. "description": "会话ID",
  4136. "type": "integer"
  4137. },
  4138. "strorderid": {
  4139. "description": "委托单号",
  4140. "type": "string"
  4141. },
  4142. "tradedate": {
  4143. "description": "交易日(yyyyMMdd)",
  4144. "type": "string"
  4145. },
  4146. "tradeproperty": {
  4147. "description": "交易属性",
  4148. "type": "integer"
  4149. },
  4150. "tradeqty": {
  4151. "description": "成交数量",
  4152. "type": "integer"
  4153. },
  4154. "unfreezecharge": {
  4155. "description": "解冻手续费",
  4156. "type": "number"
  4157. },
  4158. "unfreezemargin": {
  4159. "description": "解冻保证金",
  4160. "type": "number"
  4161. },
  4162. "updatetime": {
  4163. "description": "更新时间",
  4164. "type": "string"
  4165. },
  4166. "uuid": {
  4167. "description": "发起端唯一id",
  4168. "type": "string"
  4169. },
  4170. "validtime": {
  4171. "description": "有效期限",
  4172. "type": "string"
  4173. },
  4174. "validtype": {
  4175. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4176. "type": "integer"
  4177. },
  4178. "volumetype": {
  4179. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4180. "type": "integer"
  4181. }
  4182. }
  4183. },
  4184. "cptrade.QueryMyCPTradeGoodsRsp": {
  4185. "type": "object",
  4186. "required": [
  4187. "goodscode",
  4188. "goodsid",
  4189. "goodsname",
  4190. "marketid",
  4191. "relatedgoodscode",
  4192. "relatedgoodsname"
  4193. ],
  4194. "properties": {
  4195. "accountid": {
  4196. "description": "卖方账户ID",
  4197. "type": "integer"
  4198. },
  4199. "agreeunit": {
  4200. "description": "合约单位",
  4201. "type": "number"
  4202. },
  4203. "applyid": {
  4204. "description": "关联申请ID",
  4205. "type": "integer"
  4206. },
  4207. "attachmenturl": {
  4208. "description": "附件地址",
  4209. "type": "string"
  4210. },
  4211. "createtime": {
  4212. "description": "创建时间",
  4213. "type": "string"
  4214. },
  4215. "currencyid": {
  4216. "description": "报价货币ID",
  4217. "type": "integer"
  4218. },
  4219. "decimalplace": {
  4220. "description": "报价小数位",
  4221. "type": "integer"
  4222. },
  4223. "endtime": {
  4224. "description": "预售结束时间",
  4225. "type": "string"
  4226. },
  4227. "floorprice": {
  4228. "description": "底价[大宗式竞拍]",
  4229. "type": "number"
  4230. },
  4231. "goodscode": {
  4232. "description": "商品代码(预售)",
  4233. "type": "string"
  4234. },
  4235. "goodsdetail": {
  4236. "description": "详情[大宗]",
  4237. "type": "string"
  4238. },
  4239. "goodsid": {
  4240. "description": "商品ID(自增ID SEQ_GOODS)",
  4241. "type": "integer"
  4242. },
  4243. "goodsname": {
  4244. "description": "商品名称(预售)",
  4245. "type": "string"
  4246. },
  4247. "goodunit": {
  4248. "description": "报价单位",
  4249. "type": "string"
  4250. },
  4251. "goodunitid": {
  4252. "description": "报价单位ID",
  4253. "type": "integer"
  4254. },
  4255. "marketid": {
  4256. "description": "所属市场ID",
  4257. "type": "integer"
  4258. },
  4259. "marketname": {
  4260. "description": "预售市场名称",
  4261. "type": "string"
  4262. },
  4263. "presaledamount": {
  4264. "description": "已预售总金额(预售结束时更新)",
  4265. "type": "number"
  4266. },
  4267. "presaledqty": {
  4268. "description": "已预售量(预售结束时更新)",
  4269. "type": "integer"
  4270. },
  4271. "presalemode": {
  4272. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4273. "type": "integer"
  4274. },
  4275. "presaleqty": {
  4276. "description": "预售数量",
  4277. "type": "integer"
  4278. },
  4279. "refprice": {
  4280. "description": "参考价格[一口价]",
  4281. "type": "number"
  4282. },
  4283. "relatedgoodscode": {
  4284. "description": "商品代码(订单)",
  4285. "type": "string"
  4286. },
  4287. "relatedgoodsid": {
  4288. "description": "关联交易合约ID",
  4289. "type": "integer"
  4290. },
  4291. "relatedgoodsname": {
  4292. "description": "商品名称(订单)",
  4293. "type": "string"
  4294. },
  4295. "relatedmarketid": {
  4296. "description": "关联交易合约市场ID",
  4297. "type": "integer"
  4298. },
  4299. "sellstatus": {
  4300. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4301. "type": "integer"
  4302. },
  4303. "startprice": {
  4304. "description": "起拍价[大宗式竞拍]",
  4305. "type": "number"
  4306. },
  4307. "starttime": {
  4308. "description": "预售开始时间",
  4309. "type": "string"
  4310. },
  4311. "tradedate": {
  4312. "description": "交易日(yyyyMMdd)",
  4313. "type": "string"
  4314. },
  4315. "tradeprice": {
  4316. "description": "成交价[大宗]",
  4317. "type": "number"
  4318. },
  4319. "userid": {
  4320. "description": "卖方用户ID",
  4321. "type": "integer"
  4322. }
  4323. }
  4324. },
  4325. "cptrade.QueryPresaleGoodsExRsp": {
  4326. "type": "object",
  4327. "required": [
  4328. "goodsid"
  4329. ],
  4330. "properties": {
  4331. "attachmenturl": {
  4332. "description": "附件地址",
  4333. "type": "string"
  4334. },
  4335. "createtime": {
  4336. "description": "创建时间",
  4337. "type": "string"
  4338. },
  4339. "endtime": {
  4340. "description": "预售结束时间",
  4341. "type": "string"
  4342. },
  4343. "floorprice": {
  4344. "description": "底价[大宗式竞拍]",
  4345. "type": "number"
  4346. },
  4347. "goodsdetail": {
  4348. "description": "详情[大宗]",
  4349. "type": "string"
  4350. },
  4351. "goodsid": {
  4352. "description": "商品ID(预售)",
  4353. "type": "integer"
  4354. },
  4355. "goodunit": {
  4356. "description": "报价单位",
  4357. "type": "string"
  4358. },
  4359. "marketid": {
  4360. "description": "预售市场ID - 根据预售模式选择市场",
  4361. "type": "integer"
  4362. },
  4363. "presaledamount": {
  4364. "description": "已预售总金额(预售结束时更新)",
  4365. "type": "number"
  4366. },
  4367. "presaledqty": {
  4368. "description": "已预售量(预售结束时更新)",
  4369. "type": "integer"
  4370. },
  4371. "presalemode": {
  4372. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  4373. "type": "integer"
  4374. },
  4375. "presaleqty": {
  4376. "description": "预售数量",
  4377. "type": "integer"
  4378. },
  4379. "refprice": {
  4380. "description": "参考价格[一口价]",
  4381. "type": "number"
  4382. },
  4383. "relatedgoodsid": {
  4384. "description": "关联交易合约ID",
  4385. "type": "integer"
  4386. },
  4387. "relatedmarketid": {
  4388. "description": "关联交易合约市场ID",
  4389. "type": "integer"
  4390. },
  4391. "sellstatus": {
  4392. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  4393. "type": "integer"
  4394. },
  4395. "startprice": {
  4396. "description": "起拍价[大宗式竞拍]",
  4397. "type": "number"
  4398. },
  4399. "starttime": {
  4400. "description": "预售开始时间",
  4401. "type": "string"
  4402. },
  4403. "tradedate": {
  4404. "description": "交易日(yyyyMMdd)",
  4405. "type": "string"
  4406. },
  4407. "tradeprice": {
  4408. "description": "成交价[大宗]",
  4409. "type": "number"
  4410. }
  4411. }
  4412. },
  4413. "delivery.QueryDeliveryRelationRsp": {
  4414. "type": "object",
  4415. "required": [
  4416. "begindate",
  4417. "enddate",
  4418. "goodsid",
  4419. "mindeliveryqty",
  4420. "xdeliveryratio"
  4421. ],
  4422. "properties": {
  4423. "begindate": {
  4424. "description": "起始日期(yyyyMMdd)",
  4425. "type": "string"
  4426. },
  4427. "buytemplateid": {
  4428. "description": "买履约计划模板ID",
  4429. "type": "integer"
  4430. },
  4431. "deliverygoodscode": {
  4432. "description": "品种代码",
  4433. "type": "string"
  4434. },
  4435. "deliverygoodsid": {
  4436. "description": "交割商品",
  4437. "type": "integer"
  4438. },
  4439. "deliverygoodsname": {
  4440. "description": "品种名称",
  4441. "type": "string"
  4442. },
  4443. "deliverymode": {
  4444. "description": "交割方式 - 1:点选式 2:申报式",
  4445. "type": "integer"
  4446. },
  4447. "deliverypricerule": {
  4448. "description": "交割价规则- 1:行情价 2:建仓价",
  4449. "type": "integer"
  4450. },
  4451. "deliverytype": {
  4452. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  4453. "type": "integer"
  4454. },
  4455. "enddate": {
  4456. "description": "结束日期(yyyyMMdd)",
  4457. "type": "string"
  4458. },
  4459. "goodscode": {
  4460. "description": "商品代码",
  4461. "type": "string"
  4462. },
  4463. "goodsid": {
  4464. "description": "交易合约ID",
  4465. "type": "integer"
  4466. },
  4467. "goodsname": {
  4468. "description": "商品名称",
  4469. "type": "string"
  4470. },
  4471. "marketid": {
  4472. "description": "市场ID",
  4473. "type": "integer"
  4474. },
  4475. "mindeliveryqty": {
  4476. "description": "最小交割系数(K)",
  4477. "type": "integer"
  4478. },
  4479. "p2deliveryprice": {
  4480. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  4481. "type": "number"
  4482. },
  4483. "p2deliveryratio": {
  4484. "description": "P2合约系数(p)",
  4485. "type": "integer"
  4486. },
  4487. "p2goodsid": {
  4488. "description": "P2合约ID",
  4489. "type": "integer"
  4490. },
  4491. "p2pricemode": {
  4492. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  4493. "type": "integer"
  4494. },
  4495. "pdeliveryprice": {
  4496. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  4497. "type": "number"
  4498. },
  4499. "pdeliveryratio": {
  4500. "description": "P合约系数(n)",
  4501. "type": "integer"
  4502. },
  4503. "pgoodsid": {
  4504. "description": "P合约ID",
  4505. "type": "integer"
  4506. },
  4507. "ppricemode": {
  4508. "description": "P合约价格方式 - 1:商品价 2:固定值",
  4509. "type": "integer"
  4510. },
  4511. "rratio": {
  4512. "description": "兑换系数(R)",
  4513. "type": "integer"
  4514. },
  4515. "rratio1": {
  4516. "description": "兑换系数(交易合约)(R1)",
  4517. "type": "integer"
  4518. },
  4519. "rratio2": {
  4520. "description": "兑换系数(仓单标准)(R2)",
  4521. "type": "integer"
  4522. },
  4523. "selltemplateid": {
  4524. "description": "卖履约计划模板ID",
  4525. "type": "integer"
  4526. },
  4527. "wrstandardid": {
  4528. "description": "仓单标准ID",
  4529. "type": "integer"
  4530. },
  4531. "xdeliveryratio": {
  4532. "description": "交易合约系数(m)",
  4533. "type": "integer"
  4534. }
  4535. }
  4536. },
  4537. "erms2.QueryArbitrageStrategyRsp": {
  4538. "type": "object",
  4539. "required": [
  4540. "asapplyid"
  4541. ],
  4542. "properties": {
  4543. "applybasis": {
  4544. "description": "申请基差",
  4545. "type": "number"
  4546. },
  4547. "asapplyid": {
  4548. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  4549. "type": "string"
  4550. },
  4551. "asname": {
  4552. "description": "策略名称",
  4553. "type": "string"
  4554. },
  4555. "asno": {
  4556. "description": "策略编号",
  4557. "type": "string"
  4558. },
  4559. "basischangepl": {
  4560. "description": "基差变动损益[结算更新]",
  4561. "type": "number"
  4562. },
  4563. "biztype": {
  4564. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4565. "type": "integer"
  4566. },
  4567. "closetradedate": {
  4568. "description": "完结交易日(yyyyMMdd)",
  4569. "type": "string"
  4570. },
  4571. "curbasis": {
  4572. "description": "当前基差[结算更新]",
  4573. "type": "number"
  4574. },
  4575. "deliverygoodsid": {
  4576. "description": "现货品种ID",
  4577. "type": "integer"
  4578. },
  4579. "futureavgprice": {
  4580. "description": "期货建仓均价",
  4581. "type": "number"
  4582. },
  4583. "futurecloseamount": {
  4584. "description": "期货平仓金额",
  4585. "type": "number"
  4586. },
  4587. "futurecloseqty": {
  4588. "description": "期货平仓数量",
  4589. "type": "number"
  4590. },
  4591. "futureopenamount": {
  4592. "description": "期货开仓金额",
  4593. "type": "number"
  4594. },
  4595. "futureopenqty": {
  4596. "description": "期货开仓数量",
  4597. "type": "number"
  4598. },
  4599. "futurepl": {
  4600. "description": "期货总盈亏[结算更新]",
  4601. "type": "number"
  4602. },
  4603. "futureqty": {
  4604. "description": "期货持仓数量",
  4605. "type": "number"
  4606. },
  4607. "futurequote": {
  4608. "description": "期货额度",
  4609. "type": "number"
  4610. },
  4611. "goodsgroupid": {
  4612. "description": "期货品种ID",
  4613. "type": "integer"
  4614. },
  4615. "marketid": {
  4616. "description": "市场ID",
  4617. "type": "integer"
  4618. },
  4619. "netexposure": {
  4620. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4621. "type": "number"
  4622. },
  4623. "netexposurepl": {
  4624. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4625. "type": "number"
  4626. },
  4627. "netexposurerate": {
  4628. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4629. "type": "number"
  4630. },
  4631. "openbasis": {
  4632. "description": "建仓基差",
  4633. "type": "number"
  4634. },
  4635. "pricedspotqty": {
  4636. "description": "已定价现货数量",
  4637. "type": "number"
  4638. },
  4639. "pricedspotqtynotax": {
  4640. "description": "已定价现货不含税数量",
  4641. "type": "number"
  4642. },
  4643. "remark": {
  4644. "description": "备注",
  4645. "type": "string"
  4646. },
  4647. "spotavgprice": {
  4648. "description": "现货均价",
  4649. "type": "number"
  4650. },
  4651. "spotbuyamount": {
  4652. "description": "现货采购金额",
  4653. "type": "number"
  4654. },
  4655. "spotbuyqty": {
  4656. "description": "现货采购数量",
  4657. "type": "number"
  4658. },
  4659. "spotpl": {
  4660. "description": "现货总盈亏[结算更新]",
  4661. "type": "number"
  4662. },
  4663. "spotquota": {
  4664. "description": "现货额度",
  4665. "type": "number"
  4666. },
  4667. "spotsellamount": {
  4668. "description": "现货销售金额",
  4669. "type": "number"
  4670. },
  4671. "spotsellqty": {
  4672. "description": "现货销售数量",
  4673. "type": "number"
  4674. },
  4675. "spotusedquota": {
  4676. "description": "现货占用资金",
  4677. "type": "number"
  4678. },
  4679. "strategystatus": {
  4680. "description": "策略状态 - 0:未结束 1:已结束",
  4681. "type": "integer"
  4682. },
  4683. "totalpl": {
  4684. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4685. "type": "number"
  4686. },
  4687. "tradedate": {
  4688. "description": "交易日(yyyyMMdd)",
  4689. "type": "string"
  4690. },
  4691. "updatetime": {
  4692. "description": "更新时间",
  4693. "type": "string"
  4694. },
  4695. "usedquota": {
  4696. "description": "已占用资金",
  4697. "type": "number"
  4698. },
  4699. "userid": {
  4700. "description": "所属机构",
  4701. "type": "integer"
  4702. }
  4703. }
  4704. },
  4705. "erms2.QueryInnerTradeDetailRsp": {
  4706. "type": "object",
  4707. "required": [
  4708. "asapplyid",
  4709. "buyorsell",
  4710. "goodscode",
  4711. "goodsgroupid",
  4712. "goodsgroupname",
  4713. "goodsname",
  4714. "tradeid"
  4715. ],
  4716. "properties": {
  4717. "accountid": {
  4718. "description": "账号ID",
  4719. "type": "integer"
  4720. },
  4721. "agreeunit": {
  4722. "description": "合约单位",
  4723. "type": "number"
  4724. },
  4725. "asapplyid": {
  4726. "description": "策略申请ID",
  4727. "type": "integer"
  4728. },
  4729. "asname": {
  4730. "description": "策略名称",
  4731. "type": "string"
  4732. },
  4733. "asno": {
  4734. "description": "策略编号",
  4735. "type": "string"
  4736. },
  4737. "buyorsell": {
  4738. "description": "方向 - 0:买 1:卖",
  4739. "type": "integer"
  4740. },
  4741. "channelbuildtype": {
  4742. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4743. "type": "integer"
  4744. },
  4745. "closetype": {
  4746. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4747. "type": "integer"
  4748. },
  4749. "decimalplace": {
  4750. "description": "报价小数位",
  4751. "type": "integer"
  4752. },
  4753. "detailtype": {
  4754. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4755. "type": "integer"
  4756. },
  4757. "exexchangecode": {
  4758. "description": "外部交易所代码",
  4759. "type": "string"
  4760. },
  4761. "exexchangename": {
  4762. "description": "外部交易所名称",
  4763. "type": "string"
  4764. },
  4765. "goodscode": {
  4766. "description": "商品代码(合约)",
  4767. "type": "string"
  4768. },
  4769. "goodsgroupid": {
  4770. "description": "商品组ID(品种ID)",
  4771. "type": "integer"
  4772. },
  4773. "goodsgroupname": {
  4774. "description": "商品组名称(品种)",
  4775. "type": "string"
  4776. },
  4777. "goodsid": {
  4778. "description": "商品ID",
  4779. "type": "integer"
  4780. },
  4781. "goodsname": {
  4782. "description": "商品名称(合约)",
  4783. "type": "string"
  4784. },
  4785. "goodunit": {
  4786. "description": "报价单位",
  4787. "type": "string"
  4788. },
  4789. "marketid": {
  4790. "description": "市场ID",
  4791. "type": "integer"
  4792. },
  4793. "orderid": {
  4794. "description": "委托单号",
  4795. "type": "string"
  4796. },
  4797. "outgoodscode": {
  4798. "description": "商品代码(外部)",
  4799. "type": "string"
  4800. },
  4801. "relatedouttradeid": {
  4802. "description": "关联外部成交单ID",
  4803. "type": "string"
  4804. },
  4805. "remark": {
  4806. "description": "备注",
  4807. "type": "string"
  4808. },
  4809. "spotcontractid": {
  4810. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4811. "type": "integer"
  4812. },
  4813. "spotcontractno": {
  4814. "description": "现货合同编号",
  4815. "type": "string"
  4816. },
  4817. "tradeid": {
  4818. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4819. "type": "string"
  4820. },
  4821. "tradeprice": {
  4822. "description": "成交价格",
  4823. "type": "number"
  4824. },
  4825. "tradeqty": {
  4826. "description": "成交数量",
  4827. "type": "integer"
  4828. },
  4829. "tradetime": {
  4830. "description": "成交时间",
  4831. "type": "string"
  4832. },
  4833. "updatetime": {
  4834. "description": "更新时间",
  4835. "type": "string"
  4836. }
  4837. }
  4838. },
  4839. "erms2.QuerySpotContractRsp": {
  4840. "type": "object",
  4841. "required": [
  4842. "spotcontractid"
  4843. ],
  4844. "properties": {
  4845. "accountid": {
  4846. "description": "资金账户ID",
  4847. "type": "integer"
  4848. },
  4849. "areauserid": {
  4850. "description": "所属机构",
  4851. "type": "integer"
  4852. },
  4853. "closedate": {
  4854. "description": "终止日期",
  4855. "type": "string"
  4856. },
  4857. "closeremark": {
  4858. "description": "结束备注",
  4859. "type": "string"
  4860. },
  4861. "closetradedate": {
  4862. "description": "完结交易日(yyyyMMdd)",
  4863. "type": "string"
  4864. },
  4865. "closetype": {
  4866. "description": "终止类型 - 1:违约 2:提前终止",
  4867. "type": "integer"
  4868. },
  4869. "contractamount": {
  4870. "description": "合同金额",
  4871. "type": "number"
  4872. },
  4873. "contractattachment": {
  4874. "description": "合同附件",
  4875. "type": "string"
  4876. },
  4877. "contractno": {
  4878. "description": "现货合同编号",
  4879. "type": "string"
  4880. },
  4881. "contractqty": {
  4882. "description": "合同数量(数值) (用于计算)",
  4883. "type": "number"
  4884. },
  4885. "contractqtychar": {
  4886. "description": "合同数量\\已订价数量 (用于显示)",
  4887. "type": "string"
  4888. },
  4889. "contractstatus": {
  4890. "description": "合同状态 - 0:未结束 1:已结束",
  4891. "type": "integer"
  4892. },
  4893. "contracttype": {
  4894. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4895. "type": "integer"
  4896. },
  4897. "customeraccountid": {
  4898. "description": "客户资金账户ID",
  4899. "type": "integer"
  4900. },
  4901. "customeruserid": {
  4902. "description": "客户ID",
  4903. "type": "integer"
  4904. },
  4905. "deliverygoodsdesc": {
  4906. "description": "品种说明",
  4907. "type": "string"
  4908. },
  4909. "deliverygoodsid": {
  4910. "description": "现货品种ID",
  4911. "type": "integer"
  4912. },
  4913. "handlestatus": {
  4914. "description": "处理状态",
  4915. "type": "integer"
  4916. },
  4917. "invoiceatt": {
  4918. "description": "发票附件",
  4919. "type": "string"
  4920. },
  4921. "invoicedatetime": {
  4922. "description": "开收票更新时间",
  4923. "type": "string"
  4924. },
  4925. "invoiceopentime": {
  4926. "description": "开票时间",
  4927. "type": "string"
  4928. },
  4929. "invoiceremark": {
  4930. "description": "发票备注",
  4931. "type": "string"
  4932. },
  4933. "invoicestatus": {
  4934. "description": "开收票状态 - 0:未开票 1:已开票",
  4935. "type": "integer"
  4936. },
  4937. "lastdate": {
  4938. "description": "交货时间",
  4939. "type": "string"
  4940. },
  4941. "marketid": {
  4942. "description": "市场ID",
  4943. "type": "integer"
  4944. },
  4945. "paydatetime": {
  4946. "description": "收付款更新时间",
  4947. "type": "string"
  4948. },
  4949. "payremark": {
  4950. "description": "收付款备注",
  4951. "type": "string"
  4952. },
  4953. "paystatus": {
  4954. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4955. "type": "integer"
  4956. },
  4957. "positionqty": {
  4958. "description": "头寸数量 - 合同数量去小数部分",
  4959. "type": "integer"
  4960. },
  4961. "producttype": {
  4962. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4963. "type": "integer"
  4964. },
  4965. "relatedqty": {
  4966. "description": "已关联数量",
  4967. "type": "number"
  4968. },
  4969. "relatedstatus": {
  4970. "description": "关联完结状态 - 0:未结束 1:已结束",
  4971. "type": "integer"
  4972. },
  4973. "remark": {
  4974. "description": "备注",
  4975. "type": "string"
  4976. },
  4977. "signdate": {
  4978. "description": "签订日期",
  4979. "type": "string"
  4980. },
  4981. "spotcontractid": {
  4982. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4983. "type": "string"
  4984. },
  4985. "spotdatetime": {
  4986. "description": "收发货更新时间",
  4987. "type": "string"
  4988. },
  4989. "spotprice": {
  4990. "description": "价格",
  4991. "type": "number"
  4992. },
  4993. "spotremark": {
  4994. "description": "收发货备注",
  4995. "type": "string"
  4996. },
  4997. "spotstatus": {
  4998. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4999. "type": "integer"
  5000. },
  5001. "tradedate": {
  5002. "description": "交易日(yyyyMMdd)",
  5003. "type": "string"
  5004. },
  5005. "userid": {
  5006. "description": "业务员用户ID",
  5007. "type": "integer"
  5008. },
  5009. "warehouseid": {
  5010. "description": "仓库ID",
  5011. "type": "integer"
  5012. },
  5013. "wrfactortypeid": {
  5014. "description": "仓单要素类型ID",
  5015. "type": "integer"
  5016. },
  5017. "wrstandardid": {
  5018. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  5019. "type": "integer"
  5020. }
  5021. }
  5022. },
  5023. "erms3.AddErms2ASApplyReq": {
  5024. "type": "object",
  5025. "required": [
  5026. "asapplyid"
  5027. ],
  5028. "properties": {
  5029. "applybasis": {
  5030. "description": "申请基差",
  5031. "type": "number"
  5032. },
  5033. "applystatus": {
  5034. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5035. "type": "integer"
  5036. },
  5037. "asapplyid": {
  5038. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  5039. "type": "integer"
  5040. },
  5041. "asname": {
  5042. "description": "策略名称",
  5043. "type": "string"
  5044. },
  5045. "asno": {
  5046. "description": "策略编号",
  5047. "type": "string"
  5048. },
  5049. "auditid": {
  5050. "description": "审核人",
  5051. "type": "integer"
  5052. },
  5053. "auditremark": {
  5054. "description": "审核备注",
  5055. "type": "string"
  5056. },
  5057. "audittime": {
  5058. "description": "审核时间",
  5059. "type": "string"
  5060. },
  5061. "biztype": {
  5062. "description": "业务类型 - 1:正向套利 2:反向套利",
  5063. "type": "integer"
  5064. },
  5065. "createtime": {
  5066. "description": "创建时间",
  5067. "type": "string"
  5068. },
  5069. "creatorid": {
  5070. "description": "创建人",
  5071. "type": "integer"
  5072. },
  5073. "deliverygoodsid": {
  5074. "description": "现货品种ID",
  5075. "type": "integer"
  5076. },
  5077. "futurequote": {
  5078. "description": "期货额度",
  5079. "type": "number"
  5080. },
  5081. "goodsgroupid": {
  5082. "description": "期货品种ID",
  5083. "type": "integer"
  5084. },
  5085. "marketid": {
  5086. "description": "市场ID",
  5087. "type": "integer"
  5088. },
  5089. "remark": {
  5090. "description": "备注",
  5091. "type": "string"
  5092. },
  5093. "spotquota": {
  5094. "description": "现货额度",
  5095. "type": "number"
  5096. },
  5097. "tradedate": {
  5098. "description": "交易日(yyyyMMdd)",
  5099. "type": "string"
  5100. },
  5101. "userid": {
  5102. "description": "所属机构",
  5103. "type": "integer"
  5104. }
  5105. }
  5106. },
  5107. "erms3.AddErms2SpotTradeApplyReq": {
  5108. "type": "object",
  5109. "required": [
  5110. "spottradeid"
  5111. ],
  5112. "properties": {
  5113. "applyjsondetail": {
  5114. "description": "申请明细(JSON)",
  5115. "type": "string"
  5116. },
  5117. "applystatus": {
  5118. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5119. "type": "integer"
  5120. },
  5121. "areauserid": {
  5122. "description": "所属机构",
  5123. "type": "integer"
  5124. },
  5125. "auditid": {
  5126. "description": "审核人",
  5127. "type": "integer"
  5128. },
  5129. "auditremark": {
  5130. "description": "审核备注",
  5131. "type": "string"
  5132. },
  5133. "audittime": {
  5134. "description": "审核时间",
  5135. "type": "string"
  5136. },
  5137. "createtime": {
  5138. "description": "创建时间",
  5139. "type": "string"
  5140. },
  5141. "creatorid": {
  5142. "description": "创建人",
  5143. "type": "integer"
  5144. },
  5145. "deliverygoodsid": {
  5146. "description": "现货品种ID",
  5147. "type": "integer"
  5148. },
  5149. "futureaccountid": {
  5150. "description": "期货资金账户",
  5151. "type": "integer"
  5152. },
  5153. "goodsgroupid": {
  5154. "description": "期货品种",
  5155. "type": "integer"
  5156. },
  5157. "marketid": {
  5158. "description": "市场ID",
  5159. "type": "integer"
  5160. },
  5161. "remark": {
  5162. "description": "备注",
  5163. "type": "string"
  5164. },
  5165. "spotaccountid": {
  5166. "description": "现货资金账户",
  5167. "type": "integer"
  5168. },
  5169. "spottradeid": {
  5170. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  5171. "type": "integer"
  5172. },
  5173. "spottradename": {
  5174. "description": "业务名称",
  5175. "type": "string"
  5176. },
  5177. "spottradeno": {
  5178. "description": "业务编号",
  5179. "type": "string"
  5180. },
  5181. "tradedate": {
  5182. "description": "交易日(yyyyMMdd)",
  5183. "type": "string"
  5184. },
  5185. "wrstandardid": {
  5186. "description": "仓单标准ID",
  5187. "type": "integer"
  5188. }
  5189. }
  5190. },
  5191. "erms3.AddSpotContractApplyReq": {
  5192. "type": "object",
  5193. "required": [
  5194. "accountid",
  5195. "areauserid",
  5196. "contractno",
  5197. "contracttype",
  5198. "customeraccountid",
  5199. "customeruserid",
  5200. "details",
  5201. "orimargin",
  5202. "signdate"
  5203. ],
  5204. "properties": {
  5205. "accountid": {
  5206. "description": "资金账户ID",
  5207. "type": "integer"
  5208. },
  5209. "areauserid": {
  5210. "description": "所属机构",
  5211. "type": "integer"
  5212. },
  5213. "contractattachment": {
  5214. "description": "合同附件",
  5215. "type": "string"
  5216. },
  5217. "contractno": {
  5218. "description": "现货合同编号",
  5219. "type": "string"
  5220. },
  5221. "contracttype": {
  5222. "description": "现货合同类型 - 1:采购 -1:销售",
  5223. "type": "integer"
  5224. },
  5225. "creatorid": {
  5226. "description": "申请人",
  5227. "type": "integer"
  5228. },
  5229. "customeraccountid": {
  5230. "description": "客户资金账户ID",
  5231. "type": "integer"
  5232. },
  5233. "customeruserid": {
  5234. "description": "客户ID",
  5235. "type": "integer"
  5236. },
  5237. "details": {
  5238. "description": "明细",
  5239. "type": "array",
  5240. "items": {
  5241. "$ref": "#/definitions/erms3.SoptContractDetail"
  5242. }
  5243. },
  5244. "orimargin": {
  5245. "description": "初始保证金",
  5246. "type": "number"
  5247. },
  5248. "remark": {
  5249. "description": "备注",
  5250. "type": "string"
  5251. },
  5252. "signdate": {
  5253. "description": "签订日期",
  5254. "type": "string"
  5255. }
  5256. }
  5257. },
  5258. "erms3.AddSpotContractApplyRsp": {
  5259. "type": "object",
  5260. "required": [
  5261. "contractno"
  5262. ],
  5263. "properties": {
  5264. "contractno": {
  5265. "description": "现货合同编号",
  5266. "type": "string"
  5267. },
  5268. "spotcontractid": {
  5269. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  5270. "type": "integer"
  5271. }
  5272. }
  5273. },
  5274. "erms3.AddUserInfoApplyReq": {
  5275. "type": "object",
  5276. "required": [
  5277. "userid"
  5278. ],
  5279. "properties": {
  5280. "accountid": {
  5281. "description": "交易系统帐号Id (加密存储)",
  5282. "type": "integer"
  5283. },
  5284. "areacode": {
  5285. "description": "机构代码",
  5286. "type": "string"
  5287. },
  5288. "areaid": {
  5289. "description": "机构Id",
  5290. "type": "integer"
  5291. },
  5292. "attachment1": {
  5293. "description": "附件1",
  5294. "type": "string"
  5295. },
  5296. "attachment2": {
  5297. "description": "附件2",
  5298. "type": "string"
  5299. },
  5300. "attachment3": {
  5301. "description": "附件3",
  5302. "type": "string"
  5303. },
  5304. "attachment4": {
  5305. "description": "附件4",
  5306. "type": "string"
  5307. },
  5308. "attachment5": {
  5309. "description": "附件5",
  5310. "type": "string"
  5311. },
  5312. "auditedby": {
  5313. "description": "审核人",
  5314. "type": "string"
  5315. },
  5316. "auditime": {
  5317. "description": "审核时间",
  5318. "type": "string"
  5319. },
  5320. "bankaccount": {
  5321. "description": "银行帐号 (加密存储)",
  5322. "type": "string"
  5323. },
  5324. "bankaccountname": {
  5325. "description": "收款人名称",
  5326. "type": "string"
  5327. },
  5328. "bankcardbackphotourl": {
  5329. "description": "银行卡背面照地址",
  5330. "type": "string"
  5331. },
  5332. "bankcardfrontphotourl": {
  5333. "description": "银行卡正面照地址",
  5334. "type": "string"
  5335. },
  5336. "bankid": {
  5337. "description": "银行编码",
  5338. "type": "string"
  5339. },
  5340. "bankname": {
  5341. "description": "银行名称",
  5342. "type": "string"
  5343. },
  5344. "bankpictureurl": {
  5345. "description": "银行卡正面地址",
  5346. "type": "string"
  5347. },
  5348. "biznature": {
  5349. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5350. "type": "integer"
  5351. },
  5352. "bizscope": {
  5353. "description": "企业经营范围(企业)",
  5354. "type": "string"
  5355. },
  5356. "biztype": {
  5357. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  5358. "type": "integer"
  5359. },
  5360. "brokerid": {
  5361. "description": "经纪人ID(加密存储)",
  5362. "type": "string"
  5363. },
  5364. "cardaddress": {
  5365. "description": "证件地址 (加密存储)",
  5366. "type": "string"
  5367. },
  5368. "cardbackphotourl": {
  5369. "description": "背面证件照地址",
  5370. "type": "string"
  5371. },
  5372. "cardfrontphotourl": {
  5373. "description": "正面证件照地址",
  5374. "type": "string"
  5375. },
  5376. "cardnum": {
  5377. "description": "证件号码 (加密存储)",
  5378. "type": "string"
  5379. },
  5380. "cardtype": {
  5381. "description": "证件类型",
  5382. "type": "integer"
  5383. },
  5384. "cityid": {
  5385. "description": "市",
  5386. "type": "integer"
  5387. },
  5388. "company": {
  5389. "description": "公司(个人)",
  5390. "type": "string"
  5391. },
  5392. "contactcardbackphotourl": {
  5393. "description": "联系人证件背面图片地址",
  5394. "type": "string"
  5395. },
  5396. "contactcardfrontphotourl": {
  5397. "description": "联系人证件正面图片地址",
  5398. "type": "string"
  5399. },
  5400. "contactname": {
  5401. "description": "联系人",
  5402. "type": "string"
  5403. },
  5404. "countryid": {
  5405. "description": "国家",
  5406. "type": "integer"
  5407. },
  5408. "createtime": {
  5409. "description": "开户申请时间",
  5410. "type": "string"
  5411. },
  5412. "cusbankid": {
  5413. "description": "签约类型",
  5414. "type": "string"
  5415. },
  5416. "cusbankname": {
  5417. "description": "签约类型名称",
  5418. "type": "string"
  5419. },
  5420. "customername": {
  5421. "description": "客户名称(企业名称)",
  5422. "type": "string"
  5423. },
  5424. "districtid": {
  5425. "description": "地区",
  5426. "type": "integer"
  5427. },
  5428. "email": {
  5429. "description": "Email地址(加密存储)",
  5430. "type": "string"
  5431. },
  5432. "halfbodyphotourl": {
  5433. "description": "半身照地址",
  5434. "type": "string"
  5435. },
  5436. "headurl": {
  5437. "description": "头像地址",
  5438. "type": "string"
  5439. },
  5440. "ipaddress": {
  5441. "description": "IP地址",
  5442. "type": "string"
  5443. },
  5444. "isvalidate": {
  5445. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  5446. "type": "string"
  5447. },
  5448. "legalcardbackphotourl": {
  5449. "description": "法人身份证背面照地址",
  5450. "type": "string"
  5451. },
  5452. "legalcardfrontphotourl": {
  5453. "description": "法人身份证正面照地址",
  5454. "type": "string"
  5455. },
  5456. "legalpersonname": {
  5457. "description": "法人姓名(企业)",
  5458. "type": "string"
  5459. },
  5460. "logincode": {
  5461. "description": "登录帐号 (加密存储)",
  5462. "type": "string"
  5463. },
  5464. "memberareaid": {
  5465. "description": "所属会员ID",
  5466. "type": "integer"
  5467. },
  5468. "mobile2": {
  5469. "description": "手机号码[明文-尚志]",
  5470. "type": "string"
  5471. },
  5472. "mobilephone": {
  5473. "description": "手机号码 (加密存储)",
  5474. "type": "string"
  5475. },
  5476. "modifiedby": {
  5477. "description": "修改人帐号",
  5478. "type": "integer"
  5479. },
  5480. "modifiedtime": {
  5481. "description": "修改时间",
  5482. "type": "string"
  5483. },
  5484. "nickname": {
  5485. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  5486. "type": "string"
  5487. },
  5488. "openmode": {
  5489. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  5490. "type": "integer"
  5491. },
  5492. "otherurl": {
  5493. "description": "其它图片地址[使用分号分隔]",
  5494. "type": "string"
  5495. },
  5496. "postalcode": {
  5497. "description": "邮政编码",
  5498. "type": "string"
  5499. },
  5500. "provinceid": {
  5501. "description": "省",
  5502. "type": "integer"
  5503. },
  5504. "proxystatementurl": {
  5505. "description": "授权委托书",
  5506. "type": "string"
  5507. },
  5508. "qq": {
  5509. "description": "QQ(加密存储",
  5510. "type": "string"
  5511. },
  5512. "referral": {
  5513. "description": "推荐人编码",
  5514. "type": "string"
  5515. },
  5516. "remark": {
  5517. "description": "备注",
  5518. "type": "string"
  5519. },
  5520. "removebeforestatus": {
  5521. "description": "REMOVEBEFORESTATUS",
  5522. "type": "integer"
  5523. },
  5524. "sex": {
  5525. "description": "性别 - 0:女 1:男",
  5526. "type": "integer"
  5527. },
  5528. "signedstatus": {
  5529. "description": "账户一号签签约状态",
  5530. "type": "integer"
  5531. },
  5532. "signpdfurl": {
  5533. "description": "签约pdf文件",
  5534. "type": "string"
  5535. },
  5536. "subbranch": {
  5537. "description": "开户支行",
  5538. "type": "string"
  5539. },
  5540. "telphone": {
  5541. "description": "联系电话(加密存储)",
  5542. "type": "string"
  5543. },
  5544. "userid": {
  5545. "description": "用户ID(自增ID)",
  5546. "type": "integer"
  5547. },
  5548. "userinfotype": {
  5549. "description": "用户信息类型 - 1:个人 2:企业",
  5550. "type": "integer"
  5551. },
  5552. "username": {
  5553. "description": "用户姓名",
  5554. "type": "string"
  5555. },
  5556. "userstate": {
  5557. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5558. "type": "integer"
  5559. },
  5560. "usertype": {
  5561. "description": "用户类型 - 1:投资者 2:机构",
  5562. "type": "integer"
  5563. },
  5564. "videourl": {
  5565. "description": "视频地址",
  5566. "type": "string"
  5567. },
  5568. "wechat": {
  5569. "description": "微信号 (加密存储)",
  5570. "type": "string"
  5571. }
  5572. }
  5573. },
  5574. "erms3.CustomerInfo": {
  5575. "type": "object",
  5576. "required": [
  5577. "userid"
  5578. ],
  5579. "properties": {
  5580. "accountids": {
  5581. "description": "资金账户ID列表",
  5582. "type": "array",
  5583. "items": {
  5584. "type": "integer"
  5585. }
  5586. },
  5587. "customername": {
  5588. "description": "名称(企业名称)",
  5589. "type": "string"
  5590. },
  5591. "mobile": {
  5592. "description": "手机号码",
  5593. "type": "string"
  5594. },
  5595. "userid": {
  5596. "description": "用户ID",
  5597. "type": "integer"
  5598. }
  5599. }
  5600. },
  5601. "erms3.QryAuditContractRsp": {
  5602. "type": "object",
  5603. "required": [
  5604. "matchcustomername",
  5605. "spotcontractid"
  5606. ],
  5607. "properties": {
  5608. "accountid": {
  5609. "description": "交易员ID",
  5610. "type": "string"
  5611. },
  5612. "applystatus": {
  5613. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5614. "type": "integer"
  5615. },
  5616. "curdeliveryqty": {
  5617. "description": "未交收量",
  5618. "type": "integer"
  5619. },
  5620. "customername": {
  5621. "description": "采购方ID",
  5622. "type": "string"
  5623. },
  5624. "deliverygoodsid": {
  5625. "description": "品种ID",
  5626. "type": "string"
  5627. },
  5628. "deliveryqty": {
  5629. "description": "交收量",
  5630. "type": "integer"
  5631. },
  5632. "enumdicname": {
  5633. "description": "单位名称",
  5634. "type": "string"
  5635. },
  5636. "matchaccountid": {
  5637. "description": "业务员ID",
  5638. "type": "string"
  5639. },
  5640. "matchcustomername": {
  5641. "description": "销售方ID",
  5642. "type": "string"
  5643. },
  5644. "pricedqty": {
  5645. "description": "定价量",
  5646. "type": "number"
  5647. },
  5648. "signdate": {
  5649. "description": "签订日期",
  5650. "type": "string"
  5651. },
  5652. "spotcontractid": {
  5653. "description": "合同ID",
  5654. "type": "string"
  5655. },
  5656. "totaldqty": {
  5657. "description": "合同量",
  5658. "type": "number"
  5659. },
  5660. "unpricedqty": {
  5661. "description": "未定价量",
  5662. "type": "number"
  5663. },
  5664. "wrstandardname": {
  5665. "description": "商品名称",
  5666. "type": "string"
  5667. }
  5668. }
  5669. },
  5670. "erms3.QryPendingBizRsp": {
  5671. "type": "object",
  5672. "properties": {
  5673. "accountid": {
  5674. "description": "现货账户",
  5675. "type": "string"
  5676. },
  5677. "areaname": {
  5678. "description": "所属部门",
  5679. "type": "string"
  5680. },
  5681. "bizid": {
  5682. "description": "业务ID",
  5683. "type": "string"
  5684. },
  5685. "bizname": {
  5686. "description": "业务名称",
  5687. "type": "string"
  5688. },
  5689. "status": {
  5690. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  5691. "type": "integer"
  5692. },
  5693. "type": {
  5694. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  5695. "type": "integer"
  5696. }
  5697. }
  5698. },
  5699. "erms3.QueryBusinessInfoRsp": {
  5700. "type": "object",
  5701. "properties": {
  5702. "businessid": {
  5703. "description": "业务ID.",
  5704. "type": "integer"
  5705. },
  5706. "buyamount": {
  5707. "description": "采购额.",
  5708. "type": "number"
  5709. },
  5710. "buyqty": {
  5711. "description": "采购量.",
  5712. "type": "string"
  5713. },
  5714. "futurepl": {
  5715. "description": "期货盈亏.",
  5716. "type": "number"
  5717. },
  5718. "futureqty": {
  5719. "description": "期货敞口.",
  5720. "type": "string"
  5721. },
  5722. "goodsid": {
  5723. "description": "商品名称/商品代码.",
  5724. "type": "string"
  5725. },
  5726. "hedgingqty": {
  5727. "description": "套保量.",
  5728. "type": "string"
  5729. },
  5730. "sellamount": {
  5731. "description": "销售额.",
  5732. "type": "number"
  5733. },
  5734. "sellqty": {
  5735. "description": "销售量.",
  5736. "type": "string"
  5737. },
  5738. "spotmarketvalue": {
  5739. "description": "现货市值.",
  5740. "type": "number"
  5741. },
  5742. "spotpl": {
  5743. "description": "浮动权益.",
  5744. "type": "number"
  5745. },
  5746. "spotqty": {
  5747. "description": "现货量.",
  5748. "type": "string"
  5749. },
  5750. "statu": {
  5751. "description": "状态,0-未结束 1-已结束.",
  5752. "type": "integer"
  5753. },
  5754. "totalpl": {
  5755. "description": "总盈亏.",
  5756. "type": "number"
  5757. },
  5758. "totalqty": {
  5759. "description": "总敞口.",
  5760. "type": "string"
  5761. },
  5762. "type": {
  5763. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  5764. "type": "integer"
  5765. }
  5766. }
  5767. },
  5768. "erms3.QuerySpotContractAppleFormRsp": {
  5769. "type": "object",
  5770. "properties": {
  5771. "goodses": {
  5772. "description": "合约列表",
  5773. "type": "array",
  5774. "items": {
  5775. "$ref": "#/definitions/models.GoodsIDAndName"
  5776. }
  5777. },
  5778. "oppositeusers": {
  5779. "description": "对方账号列表",
  5780. "type": "array",
  5781. "items": {
  5782. "$ref": "#/definitions/erms3.CustomerInfo"
  5783. }
  5784. },
  5785. "ouruser": {
  5786. "description": "我方账号",
  5787. "$ref": "#/definitions/erms3.CustomerInfo"
  5788. },
  5789. "warehouseinfos": {
  5790. "description": "仓库信息列表",
  5791. "type": "array",
  5792. "items": {
  5793. "$ref": "#/definitions/models.Warehouseinfo"
  5794. }
  5795. },
  5796. "wrstandards": {
  5797. "description": "仓单标准列表",
  5798. "type": "array",
  5799. "items": {
  5800. "$ref": "#/definitions/models.WRStandardInfo"
  5801. }
  5802. }
  5803. }
  5804. },
  5805. "erms3.QuerySpotContractInfoRsp": {
  5806. "type": "object",
  5807. "properties": {
  5808. "accountid": {
  5809. "description": "表示交易员ID.",
  5810. "type": "integer"
  5811. },
  5812. "curdeliveryqty": {
  5813. "description": "表示未交收量.",
  5814. "type": "number"
  5815. },
  5816. "customername": {
  5817. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  5818. "type": "string"
  5819. },
  5820. "deliverygoodsid": {
  5821. "description": "表示品种ID.",
  5822. "type": "string"
  5823. },
  5824. "deliveryqty": {
  5825. "description": "表示交收量.",
  5826. "type": "number"
  5827. },
  5828. "matchaccountid": {
  5829. "description": "表示业务员ID.",
  5830. "type": "integer"
  5831. },
  5832. "matchcustomername": {
  5833. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  5834. "type": "string"
  5835. },
  5836. "priceqty": {
  5837. "description": "表示定价量.",
  5838. "type": "number"
  5839. },
  5840. "relatedbizid": {
  5841. "description": "表示业务ID.",
  5842. "type": "string"
  5843. },
  5844. "signdate": {
  5845. "description": "表示签订日期.",
  5846. "type": "string"
  5847. },
  5848. "spotcontractid": {
  5849. "description": "合同ID",
  5850. "type": "string"
  5851. },
  5852. "status": {
  5853. "description": "表示状态,0-履约中 1-已完成.",
  5854. "type": "integer"
  5855. },
  5856. "totalqty": {
  5857. "description": "表示合同量.",
  5858. "type": "number"
  5859. },
  5860. "unpricedqty": {
  5861. "description": "表示未定价量.",
  5862. "type": "number"
  5863. },
  5864. "wrstandardname": {
  5865. "description": "表示商品ID.",
  5866. "type": "string"
  5867. }
  5868. }
  5869. },
  5870. "erms3.QueryUserInfoAppliesRsp": {
  5871. "type": "object",
  5872. "required": [
  5873. "userid"
  5874. ],
  5875. "properties": {
  5876. "biznature": {
  5877. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5878. "type": "integer"
  5879. },
  5880. "contactname": {
  5881. "description": "联系人",
  5882. "type": "string"
  5883. },
  5884. "createtime": {
  5885. "description": "开户申请时间",
  5886. "type": "string"
  5887. },
  5888. "userid": {
  5889. "description": "用户ID(自增ID)",
  5890. "type": "integer"
  5891. },
  5892. "userinfotype": {
  5893. "description": "用户信息类型 - 1:个人 2:企业",
  5894. "type": "integer"
  5895. },
  5896. "username": {
  5897. "description": "用户姓名",
  5898. "type": "string"
  5899. },
  5900. "userstate": {
  5901. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  5902. "type": "integer"
  5903. }
  5904. }
  5905. },
  5906. "erms3.QueryUserInfosRsp": {
  5907. "type": "object",
  5908. "required": [
  5909. "userid"
  5910. ],
  5911. "properties": {
  5912. "biznature": {
  5913. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  5914. "type": "integer"
  5915. },
  5916. "contactname": {
  5917. "description": "联系人",
  5918. "type": "string"
  5919. },
  5920. "customername": {
  5921. "description": "客户名称(企业名称)",
  5922. "type": "string"
  5923. },
  5924. "userid": {
  5925. "description": "用户ID",
  5926. "type": "integer"
  5927. },
  5928. "userinfotype": {
  5929. "description": "用户信息类型 - 1:个人 2:企业",
  5930. "type": "integer"
  5931. },
  5932. "userstatus": {
  5933. "description": "用户状态 - 1:正常 2:注销",
  5934. "type": "integer"
  5935. }
  5936. }
  5937. },
  5938. "erms3.SoptContractDetail": {
  5939. "type": "object",
  5940. "required": [
  5941. "deliverygoodsid",
  5942. "producttype",
  5943. "unitname",
  5944. "warehouseid",
  5945. "wrstandardid",
  5946. "wrstandardname"
  5947. ],
  5948. "properties": {
  5949. "deliverygoodsdesc": {
  5950. "description": "现货品种说明",
  5951. "type": "string"
  5952. },
  5953. "deliverygoodsid": {
  5954. "description": "现货品种ID",
  5955. "type": "integer"
  5956. },
  5957. "deliverygoodsname": {
  5958. "description": "现货品种名称",
  5959. "type": "string"
  5960. },
  5961. "pointdesc": {
  5962. "description": "点价描述",
  5963. "type": "string"
  5964. },
  5965. "producttype": {
  5966. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  5967. "type": "integer"
  5968. },
  5969. "producttypename": {
  5970. "description": "产品类型名称",
  5971. "type": "string"
  5972. },
  5973. "spotPointOrderVoList": {
  5974. "description": "点价列表",
  5975. "type": "array",
  5976. "items": {
  5977. "$ref": "#/definitions/erms3.SpotPointOrder"
  5978. }
  5979. },
  5980. "spotPriceOrderList": {
  5981. "description": "定价列表",
  5982. "type": "array",
  5983. "items": {
  5984. "$ref": "#/definitions/erms3.SpotPriceOrder"
  5985. }
  5986. },
  5987. "unitname": {
  5988. "description": "单位名称",
  5989. "type": "string"
  5990. },
  5991. "warehouseid": {
  5992. "description": "仓库ID",
  5993. "type": "integer"
  5994. },
  5995. "warehousename": {
  5996. "description": "仓库名称",
  5997. "type": "string"
  5998. },
  5999. "wrstandardid": {
  6000. "description": "交易标的ID",
  6001. "type": "integer"
  6002. },
  6003. "wrstandardname": {
  6004. "description": "交易标的名称",
  6005. "type": "string"
  6006. }
  6007. }
  6008. },
  6009. "erms3.SpotPointOrder": {
  6010. "type": "object",
  6011. "required": [
  6012. "basic",
  6013. "goodsid",
  6014. "qty"
  6015. ],
  6016. "properties": {
  6017. "basic": {
  6018. "description": "基差",
  6019. "type": "number"
  6020. },
  6021. "deliveryenddate": {
  6022. "description": "交收结束日期",
  6023. "type": "string"
  6024. },
  6025. "deliverystartdate": {
  6026. "description": "交收开始日期",
  6027. "type": "string"
  6028. },
  6029. "enddate": {
  6030. "description": "点价结束日期",
  6031. "type": "string"
  6032. },
  6033. "goodsid": {
  6034. "description": "商品ID",
  6035. "type": "integer"
  6036. },
  6037. "goodsname": {
  6038. "description": "商品名称",
  6039. "type": "string"
  6040. },
  6041. "qty": {
  6042. "description": "数量",
  6043. "type": "number"
  6044. },
  6045. "startdate": {
  6046. "description": "点价开始日期",
  6047. "type": "string"
  6048. }
  6049. }
  6050. },
  6051. "erms3.SpotPriceOrder": {
  6052. "type": "object",
  6053. "required": [
  6054. "amount",
  6055. "price",
  6056. "qty"
  6057. ],
  6058. "properties": {
  6059. "amount": {
  6060. "description": "金额",
  6061. "type": "number"
  6062. },
  6063. "deliveryenddate": {
  6064. "description": "交收结束日期",
  6065. "type": "string"
  6066. },
  6067. "deliverystartdate": {
  6068. "description": "交收开始日期",
  6069. "type": "string"
  6070. },
  6071. "price": {
  6072. "description": "价格",
  6073. "type": "number"
  6074. },
  6075. "qty": {
  6076. "description": "数量",
  6077. "type": "number"
  6078. }
  6079. }
  6080. },
  6081. "hsby.GetHsbyMyCountRsp": {
  6082. "type": "object",
  6083. "properties": {
  6084. "myOrderDetailListingCount": {
  6085. "description": "我的订单求购中数量",
  6086. "type": "integer"
  6087. },
  6088. "myOrderDetailPreCount": {
  6089. "description": "我的订单抢购中数量",
  6090. "type": "integer"
  6091. },
  6092. "myPackageUnReceiveCount": {
  6093. "description": "我的包裹待收货数量",
  6094. "type": "integer"
  6095. },
  6096. "myPackageUnSendCount": {
  6097. "description": "我的包裹待发货数量",
  6098. "type": "integer"
  6099. }
  6100. }
  6101. },
  6102. "hsby.QueryProvincesAndCitiesRsp": {
  6103. "type": "object",
  6104. "properties": {
  6105. "cities": {
  6106. "description": "市",
  6107. "type": "array",
  6108. "items": {
  6109. "$ref": "#/definitions/models.Division"
  6110. }
  6111. },
  6112. "province": {
  6113. "description": "省",
  6114. "$ref": "#/definitions/models.Division"
  6115. }
  6116. }
  6117. },
  6118. "models.Division": {
  6119. "type": "object",
  6120. "required": [
  6121. "autoid",
  6122. "divisioncode"
  6123. ],
  6124. "properties": {
  6125. "autoid": {
  6126. "description": "自增ID",
  6127. "type": "integer"
  6128. },
  6129. "divisioncode": {
  6130. "description": "行政代码",
  6131. "type": "string"
  6132. },
  6133. "divisionlevel": {
  6134. "description": "行政级别",
  6135. "type": "string"
  6136. },
  6137. "divisionname": {
  6138. "description": "行政名称",
  6139. "type": "string"
  6140. },
  6141. "modifierid": {
  6142. "description": "修改人",
  6143. "type": "integer"
  6144. },
  6145. "modifytime": {
  6146. "description": "修改时间",
  6147. "type": "string"
  6148. },
  6149. "parentcode": {
  6150. "description": "上级行政代码",
  6151. "type": "string"
  6152. },
  6153. "pathname": {
  6154. "description": "路径名称",
  6155. "type": "string"
  6156. },
  6157. "postcode": {
  6158. "description": "邮政编码",
  6159. "type": "string"
  6160. },
  6161. "separablename": {
  6162. "description": "可拆分的全称",
  6163. "type": "string"
  6164. },
  6165. "shortcode": {
  6166. "description": "地区简码",
  6167. "type": "string"
  6168. }
  6169. }
  6170. },
  6171. "models.Enumdicitem": {
  6172. "type": "object",
  6173. "required": [
  6174. "autoid",
  6175. "enumdiccode",
  6176. "enumdicid",
  6177. "enumitemname"
  6178. ],
  6179. "properties": {
  6180. "autoid": {
  6181. "description": "自增ID",
  6182. "type": "integer"
  6183. },
  6184. "bankmappedvalue": {
  6185. "description": "银行服务对应值",
  6186. "type": "string"
  6187. },
  6188. "enumdiccode": {
  6189. "description": "所属枚举代码",
  6190. "type": "string"
  6191. },
  6192. "enumdicid": {
  6193. "description": "所属枚举ID",
  6194. "type": "integer"
  6195. },
  6196. "enumdicname": {
  6197. "description": "枚举项名称",
  6198. "type": "string"
  6199. },
  6200. "enumitemname": {
  6201. "description": "枚举项值",
  6202. "type": "integer"
  6203. },
  6204. "enumitemstatus": {
  6205. "description": "枚举项状态 - 1.启用 2.不启用",
  6206. "type": "integer"
  6207. },
  6208. "enumitemvalue": {
  6209. "description": "通用值 - [币种通用简写]",
  6210. "type": "string"
  6211. },
  6212. "param1": {
  6213. "description": "参数1[币种:币种小数位]",
  6214. "type": "string"
  6215. },
  6216. "param2": {
  6217. "description": "参数1[币种:币种显示单位]",
  6218. "type": "string"
  6219. },
  6220. "remark": {
  6221. "description": "备注",
  6222. "type": "string"
  6223. }
  6224. }
  6225. },
  6226. "models.GoodsIDAndName": {
  6227. "type": "object",
  6228. "required": [
  6229. "goodscode",
  6230. "goodsid",
  6231. "goodsname",
  6232. "marketid"
  6233. ],
  6234. "properties": {
  6235. "goodscode": {
  6236. "description": "商品代码(内部)",
  6237. "type": "string"
  6238. },
  6239. "goodsid": {
  6240. "description": "商品ID(自增ID SEQ_GOODS)",
  6241. "type": "integer"
  6242. },
  6243. "goodsname": {
  6244. "description": "商品名称",
  6245. "type": "string"
  6246. },
  6247. "marketid": {
  6248. "description": "所属市场ID",
  6249. "type": "integer"
  6250. }
  6251. }
  6252. },
  6253. "models.HsbyBuyMyPayOrder": {
  6254. "type": "object",
  6255. "required": [
  6256. "accountid",
  6257. "buyorsell",
  6258. "goodscode",
  6259. "goodsid",
  6260. "goodsname",
  6261. "marketid",
  6262. "orderid",
  6263. "trademode"
  6264. ],
  6265. "properties": {
  6266. "accountid": {
  6267. "description": "账户ID[报价币种]",
  6268. "type": "integer"
  6269. },
  6270. "agreeunit": {
  6271. "description": "合约单位",
  6272. "type": "number"
  6273. },
  6274. "buyorsell": {
  6275. "description": "买卖 - 0:买 1:卖",
  6276. "type": "integer"
  6277. },
  6278. "createtime": {
  6279. "description": "创建时间",
  6280. "type": "string"
  6281. },
  6282. "currencysign": {
  6283. "description": "货币符号",
  6284. "type": "string"
  6285. },
  6286. "decimalplace": {
  6287. "description": "报价小数位",
  6288. "type": "integer"
  6289. },
  6290. "goodscode": {
  6291. "description": "商品代码(内部)",
  6292. "type": "string"
  6293. },
  6294. "goodsid": {
  6295. "description": "商品ID",
  6296. "type": "integer"
  6297. },
  6298. "goodsname": {
  6299. "description": "商品名称",
  6300. "type": "string"
  6301. },
  6302. "marketid": {
  6303. "description": "市场ID",
  6304. "type": "integer"
  6305. },
  6306. "offamount": {
  6307. "description": "优惠金额",
  6308. "type": "number"
  6309. },
  6310. "orderid": {
  6311. "description": "单号(成交单号)",
  6312. "type": "string"
  6313. },
  6314. "payflag": {
  6315. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期",
  6316. "type": "integer"
  6317. },
  6318. "paylimitedtime": {
  6319. "description": "支付期限",
  6320. "type": "string"
  6321. },
  6322. "picurls1": {
  6323. "description": "预售商品介绍图片[多张用逗号分隔]",
  6324. "type": "string"
  6325. },
  6326. "picurls2": {
  6327. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6328. "type": "string"
  6329. },
  6330. "tradeamount": {
  6331. "description": "成交金额",
  6332. "type": "number"
  6333. },
  6334. "tradecharge": {
  6335. "description": "成交手续费(买方)",
  6336. "type": "number"
  6337. },
  6338. "trademode": {
  6339. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6340. "type": "integer"
  6341. },
  6342. "tradeprice": {
  6343. "description": "成交价格",
  6344. "type": "number"
  6345. },
  6346. "tradeqty": {
  6347. "description": "成交数量",
  6348. "type": "integer"
  6349. },
  6350. "vendorname1": {
  6351. "description": "预售商品供应商名称",
  6352. "type": "string"
  6353. },
  6354. "vendorname2": {
  6355. "description": "挂牌商品供应商名称",
  6356. "type": "string"
  6357. }
  6358. }
  6359. },
  6360. "models.HsbyBuyMyTradeDetail": {
  6361. "type": "object",
  6362. "required": [
  6363. "accountid",
  6364. "buyorsell",
  6365. "goodscode",
  6366. "goodsid",
  6367. "goodsname",
  6368. "marketid",
  6369. "orderid",
  6370. "qty",
  6371. "time",
  6372. "trademode"
  6373. ],
  6374. "properties": {
  6375. "accountid": {
  6376. "description": "账户ID[报价币种]",
  6377. "type": "integer"
  6378. },
  6379. "agreeunit": {
  6380. "description": "合约单位",
  6381. "type": "number"
  6382. },
  6383. "amount": {
  6384. "description": "金额 = 价格 * 数量 * 合约单位",
  6385. "type": "number"
  6386. },
  6387. "buyorsell": {
  6388. "description": "买卖 - 0:买 1:卖",
  6389. "type": "integer"
  6390. },
  6391. "currencysign": {
  6392. "description": "货币符号",
  6393. "type": "string"
  6394. },
  6395. "decimalplace": {
  6396. "description": "报价小数位",
  6397. "type": "integer"
  6398. },
  6399. "goodscode": {
  6400. "description": "商品代码(内部)",
  6401. "type": "string"
  6402. },
  6403. "goodsid": {
  6404. "description": "商品ID",
  6405. "type": "integer"
  6406. },
  6407. "goodsname": {
  6408. "description": "商品名称",
  6409. "type": "string"
  6410. },
  6411. "marketid": {
  6412. "description": "市场ID",
  6413. "type": "integer"
  6414. },
  6415. "orderid": {
  6416. "description": "单号(成交单号)",
  6417. "type": "string"
  6418. },
  6419. "picurls1": {
  6420. "description": "预售商品介绍图片[多张用逗号分隔]",
  6421. "type": "string"
  6422. },
  6423. "picurls2": {
  6424. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  6425. "type": "string"
  6426. },
  6427. "price": {
  6428. "description": "价格",
  6429. "type": "number"
  6430. },
  6431. "qty": {
  6432. "description": "数量",
  6433. "type": "integer"
  6434. },
  6435. "time": {
  6436. "description": "时间",
  6437. "type": "string"
  6438. },
  6439. "trademode": {
  6440. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6441. "type": "integer"
  6442. },
  6443. "vendorname1": {
  6444. "description": "预售商品供应商名称",
  6445. "type": "string"
  6446. },
  6447. "vendorname2": {
  6448. "description": "挂牌商品供应商名称",
  6449. "type": "string"
  6450. }
  6451. }
  6452. },
  6453. "models.HsbyGoodsOrderDetail": {
  6454. "type": "object",
  6455. "required": [
  6456. "buyorsell",
  6457. "orderid",
  6458. "ordertime"
  6459. ],
  6460. "properties": {
  6461. "buyorsell": {
  6462. "description": "买卖 - 0:买 1:卖",
  6463. "type": "integer"
  6464. },
  6465. "currencysign": {
  6466. "description": "货币符号",
  6467. "type": "string"
  6468. },
  6469. "customername": {
  6470. "description": "客户名称(企业名称),已脱敏",
  6471. "type": "string"
  6472. },
  6473. "enableqty": {
  6474. "description": "可用数量",
  6475. "type": "integer"
  6476. },
  6477. "goodunit": {
  6478. "description": "报价单位",
  6479. "type": "string"
  6480. },
  6481. "orderid": {
  6482. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6483. "type": "string"
  6484. },
  6485. "orderprice": {
  6486. "description": "委托价格",
  6487. "type": "number"
  6488. },
  6489. "ordertime": {
  6490. "description": "委托时间",
  6491. "type": "string"
  6492. }
  6493. }
  6494. },
  6495. "models.HsbyListingGoodsDetail": {
  6496. "type": "object",
  6497. "required": [
  6498. "goodscode",
  6499. "goodsid",
  6500. "goodsname",
  6501. "marketid",
  6502. "trademode"
  6503. ],
  6504. "properties": {
  6505. "agreeunit": {
  6506. "description": "合约单位",
  6507. "type": "number"
  6508. },
  6509. "currency": {
  6510. "description": "货币",
  6511. "type": "string"
  6512. },
  6513. "currencysign": {
  6514. "description": "货币符号",
  6515. "type": "string"
  6516. },
  6517. "decimalplace": {
  6518. "description": "报价小数位",
  6519. "type": "integer"
  6520. },
  6521. "desccityid": {
  6522. "description": "目的地(市)ID",
  6523. "type": "integer"
  6524. },
  6525. "descprovinceid": {
  6526. "description": "目的地(省)ID",
  6527. "type": "integer"
  6528. },
  6529. "goodscode": {
  6530. "description": "商品代码(内部)",
  6531. "type": "string"
  6532. },
  6533. "goodsdesc": {
  6534. "description": "商品详情",
  6535. "type": "string"
  6536. },
  6537. "goodsid": {
  6538. "description": "商品ID(自增ID SEQ_GOODS)",
  6539. "type": "integer"
  6540. },
  6541. "goodsname": {
  6542. "description": "商品名称",
  6543. "type": "string"
  6544. },
  6545. "hotindex": {
  6546. "description": "景点热度",
  6547. "type": "integer"
  6548. },
  6549. "last": {
  6550. "description": "现价",
  6551. "type": "number"
  6552. },
  6553. "limitdown": {
  6554. "description": "跌停价",
  6555. "type": "number"
  6556. },
  6557. "limitup": {
  6558. "description": "涨停价",
  6559. "type": "number"
  6560. },
  6561. "lotsize": {
  6562. "description": "手数最小变动单位",
  6563. "type": "integer"
  6564. },
  6565. "marketid": {
  6566. "description": "所属市场ID",
  6567. "type": "integer"
  6568. },
  6569. "picurls": {
  6570. "description": "介绍图片[多张用逗号分隔]",
  6571. "type": "string"
  6572. },
  6573. "quoteminunit": {
  6574. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6575. "type": "integer"
  6576. },
  6577. "stepvalue": {
  6578. "description": "价格最小变动单位",
  6579. "type": "number"
  6580. },
  6581. "trademode": {
  6582. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6583. "type": "integer"
  6584. },
  6585. "vendorattr": {
  6586. "description": "供应商附件(多张,逗号分隔)",
  6587. "type": "string"
  6588. },
  6589. "vendorname": {
  6590. "description": "供应商名称",
  6591. "type": "string"
  6592. },
  6593. "vendorphone": {
  6594. "description": "供应商客服电话",
  6595. "type": "string"
  6596. },
  6597. "videourls": {
  6598. "description": "介绍视频[多张用逗号分隔]",
  6599. "type": "string"
  6600. }
  6601. }
  6602. },
  6603. "models.HsbyMyGoods": {
  6604. "type": "object",
  6605. "required": [
  6606. "accountid",
  6607. "goodscode",
  6608. "goodsid",
  6609. "goodsname"
  6610. ],
  6611. "properties": {
  6612. "accountid": {
  6613. "description": "账号Id",
  6614. "type": "integer"
  6615. },
  6616. "agreeunit": {
  6617. "description": "合约单位",
  6618. "type": "number"
  6619. },
  6620. "buyaverageprice": {
  6621. "description": "持仓均价",
  6622. "type": "number"
  6623. },
  6624. "buycurholderamount": {
  6625. "description": "买当前持仓总金额[商品币种]",
  6626. "type": "number"
  6627. },
  6628. "buycurpositionqty": {
  6629. "description": "买当前持仓总数量",
  6630. "type": "integer"
  6631. },
  6632. "currencysign": {
  6633. "description": "货币符号",
  6634. "type": "string"
  6635. },
  6636. "decimalplace": {
  6637. "description": "报价小数位",
  6638. "type": "integer"
  6639. },
  6640. "enableqty": {
  6641. "description": "可用数量",
  6642. "type": "integer"
  6643. },
  6644. "goodscode": {
  6645. "description": "商品代码(内部)",
  6646. "type": "string"
  6647. },
  6648. "goodsid": {
  6649. "description": "商品Id",
  6650. "type": "integer"
  6651. },
  6652. "goodsname": {
  6653. "description": "商品名称",
  6654. "type": "string"
  6655. },
  6656. "goodsstatus": {
  6657. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  6658. "type": "integer"
  6659. },
  6660. "picurls": {
  6661. "description": "介绍图片[多张用逗号分隔]",
  6662. "type": "string"
  6663. }
  6664. }
  6665. },
  6666. "models.HsbyMyPackage": {
  6667. "type": "object",
  6668. "required": [
  6669. "goodscode",
  6670. "goodsname",
  6671. "takeorderid"
  6672. ],
  6673. "properties": {
  6674. "accountid": {
  6675. "description": "账户ID",
  6676. "type": "integer"
  6677. },
  6678. "address": {
  6679. "description": "提货人详细地址",
  6680. "type": "string"
  6681. },
  6682. "agreeunit": {
  6683. "description": "合约单位",
  6684. "type": "number"
  6685. },
  6686. "amount": {
  6687. "description": "提货金额",
  6688. "type": "number"
  6689. },
  6690. "auditer": {
  6691. "description": "审核人",
  6692. "type": "integer"
  6693. },
  6694. "audittime": {
  6695. "description": "审核时间",
  6696. "type": "string"
  6697. },
  6698. "averageprice": {
  6699. "description": "均价",
  6700. "type": "number"
  6701. },
  6702. "cardnum": {
  6703. "description": "提货人证件号码",
  6704. "type": "string"
  6705. },
  6706. "cardtypeid": {
  6707. "description": "提货人证件类型",
  6708. "type": "integer"
  6709. },
  6710. "checkremark": {
  6711. "description": "审核备注",
  6712. "type": "string"
  6713. },
  6714. "currencysign": {
  6715. "description": "货币符号",
  6716. "type": "string"
  6717. },
  6718. "decimalplace": {
  6719. "description": "报价小数位",
  6720. "type": "integer"
  6721. },
  6722. "goodscode": {
  6723. "description": "商品代码(内部)",
  6724. "type": "string"
  6725. },
  6726. "goodsid": {
  6727. "description": "商品ID",
  6728. "type": "integer"
  6729. },
  6730. "goodsname": {
  6731. "description": "商品名称",
  6732. "type": "string"
  6733. },
  6734. "handlestatus": {
  6735. "description": "处理状态",
  6736. "type": "integer"
  6737. },
  6738. "marketid": {
  6739. "description": "市场ID",
  6740. "type": "integer"
  6741. },
  6742. "phonenum": {
  6743. "description": "提货人联系方式",
  6744. "type": "string"
  6745. },
  6746. "picurls": {
  6747. "description": "介绍图片[多张用逗号分隔]",
  6748. "type": "string"
  6749. },
  6750. "qty": {
  6751. "description": "提货数量",
  6752. "type": "number"
  6753. },
  6754. "recivername": {
  6755. "description": "提货人姓名",
  6756. "type": "string"
  6757. },
  6758. "reqtime": {
  6759. "description": "更新时间",
  6760. "type": "string"
  6761. },
  6762. "takemode": {
  6763. "description": "提货方式 - 2:自提 3:配送",
  6764. "type": "integer"
  6765. },
  6766. "takeorderid": {
  6767. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  6768. "type": "string"
  6769. },
  6770. "takeorderstatus": {
  6771. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6772. "type": "integer"
  6773. },
  6774. "takeremark": {
  6775. "description": "提货备注",
  6776. "type": "string"
  6777. },
  6778. "tradedate": {
  6779. "description": "交易日(yyyyMMdd)",
  6780. "type": "string"
  6781. },
  6782. "userid": {
  6783. "description": "用户ID",
  6784. "type": "integer"
  6785. },
  6786. "vendorname": {
  6787. "description": "供应商名称",
  6788. "type": "string"
  6789. }
  6790. }
  6791. },
  6792. "models.HsbyPreGoods": {
  6793. "type": "object",
  6794. "required": [
  6795. "goodscode",
  6796. "goodsid",
  6797. "goodsname",
  6798. "marketid",
  6799. "trademode"
  6800. ],
  6801. "properties": {
  6802. "agreeunit": {
  6803. "description": "合约单位",
  6804. "type": "number"
  6805. },
  6806. "currency": {
  6807. "description": "货币",
  6808. "type": "string"
  6809. },
  6810. "currencysign": {
  6811. "description": "货币符号",
  6812. "type": "string"
  6813. },
  6814. "decimalplace": {
  6815. "description": "报价小数位",
  6816. "type": "integer"
  6817. },
  6818. "enableqty": {
  6819. "description": "剩余数量",
  6820. "type": "integer"
  6821. },
  6822. "goodscode": {
  6823. "description": "商品代码(内部)",
  6824. "type": "string"
  6825. },
  6826. "goodsid": {
  6827. "description": "商品ID(自增ID SEQ_GOODS)",
  6828. "type": "integer"
  6829. },
  6830. "goodsname": {
  6831. "description": "商品名称",
  6832. "type": "string"
  6833. },
  6834. "goodsstatus": {
  6835. "description": "商品状态- 2:未上市 3:上市",
  6836. "type": "integer"
  6837. },
  6838. "lasttradedate": {
  6839. "description": "最后交易日期(状态:待退市)",
  6840. "type": "string"
  6841. },
  6842. "listingdate": {
  6843. "description": "交易开始日期",
  6844. "type": "string"
  6845. },
  6846. "marketid": {
  6847. "description": "所属市场ID",
  6848. "type": "integer"
  6849. },
  6850. "picurls": {
  6851. "description": "介绍图片[多张用逗号分隔]",
  6852. "type": "string"
  6853. },
  6854. "presaledqty": {
  6855. "description": "已预售量(预售结束时更新)",
  6856. "type": "integer"
  6857. },
  6858. "presaleqty": {
  6859. "description": "预售数量",
  6860. "type": "integer"
  6861. },
  6862. "quoteminunit": {
  6863. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6864. "type": "integer"
  6865. },
  6866. "refprice": {
  6867. "description": "参考价格[一口价]",
  6868. "type": "number"
  6869. },
  6870. "relatedgoodsid": {
  6871. "description": "关联交易合约ID",
  6872. "type": "integer"
  6873. },
  6874. "trademode": {
  6875. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6876. "type": "integer"
  6877. },
  6878. "videourls": {
  6879. "description": "介绍视频[多张用逗号分隔]",
  6880. "type": "string"
  6881. }
  6882. }
  6883. },
  6884. "models.HsbyPreGoodsDetail": {
  6885. "type": "object",
  6886. "required": [
  6887. "goodscode",
  6888. "goodsid",
  6889. "goodsname",
  6890. "marketid",
  6891. "trademode"
  6892. ],
  6893. "properties": {
  6894. "agreeunit": {
  6895. "description": "合约单位",
  6896. "type": "number"
  6897. },
  6898. "buymaxqty": {
  6899. "description": "购买上限 [71] - 0为不限",
  6900. "type": "integer"
  6901. },
  6902. "currency": {
  6903. "description": "货币",
  6904. "type": "string"
  6905. },
  6906. "currencysign": {
  6907. "description": "货币符号",
  6908. "type": "string"
  6909. },
  6910. "customername": {
  6911. "description": "发行单位",
  6912. "type": "string"
  6913. },
  6914. "decimalplace": {
  6915. "description": "报价小数位",
  6916. "type": "integer"
  6917. },
  6918. "desccityid": {
  6919. "description": "目的地(市)ID",
  6920. "type": "integer"
  6921. },
  6922. "descprovinceid": {
  6923. "description": "目的地(省)ID",
  6924. "type": "integer"
  6925. },
  6926. "enableqty": {
  6927. "description": "剩余数量",
  6928. "type": "integer"
  6929. },
  6930. "goodscode": {
  6931. "description": "商品代码(内部)",
  6932. "type": "string"
  6933. },
  6934. "goodsdesc": {
  6935. "description": "商品详情",
  6936. "type": "string"
  6937. },
  6938. "goodsid": {
  6939. "description": "商品ID(自增ID SEQ_GOODS)",
  6940. "type": "integer"
  6941. },
  6942. "goodsname": {
  6943. "description": "商品名称",
  6944. "type": "string"
  6945. },
  6946. "goodsstatus": {
  6947. "description": "商品状态- 2:未上市 3:上市",
  6948. "type": "integer"
  6949. },
  6950. "goodunit": {
  6951. "description": "报价单位",
  6952. "type": "string"
  6953. },
  6954. "lasttradedate": {
  6955. "description": "最后交易日期(状态:待退市)",
  6956. "type": "string"
  6957. },
  6958. "listingdate": {
  6959. "description": "交易开始日期",
  6960. "type": "string"
  6961. },
  6962. "lotsize": {
  6963. "description": "手数最小变动单位",
  6964. "type": "integer"
  6965. },
  6966. "marketid": {
  6967. "description": "所属市场ID",
  6968. "type": "integer"
  6969. },
  6970. "picurls": {
  6971. "description": "介绍图片[多张用逗号分隔]",
  6972. "type": "string"
  6973. },
  6974. "presaledqty": {
  6975. "description": "已预售量(预售结束时更新)",
  6976. "type": "integer"
  6977. },
  6978. "presaleqty": {
  6979. "description": "预售数量",
  6980. "type": "integer"
  6981. },
  6982. "quoteminunit": {
  6983. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  6984. "type": "integer"
  6985. },
  6986. "refprice": {
  6987. "description": "参考价格[一口价]",
  6988. "type": "number"
  6989. },
  6990. "relatedgoodsid": {
  6991. "description": "关联交易合约ID",
  6992. "type": "integer"
  6993. },
  6994. "stepvalue": {
  6995. "description": "价格最小变动单位",
  6996. "type": "number"
  6997. },
  6998. "trademode": {
  6999. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7000. "type": "integer"
  7001. },
  7002. "vendorattr": {
  7003. "description": "供应商附件(多张,逗号分隔)",
  7004. "type": "string"
  7005. },
  7006. "vendorname": {
  7007. "description": "供应商名称",
  7008. "type": "string"
  7009. },
  7010. "vendorphone": {
  7011. "description": "供应商客服电话",
  7012. "type": "string"
  7013. },
  7014. "videourls": {
  7015. "description": "介绍视频[多张用逗号分隔]",
  7016. "type": "string"
  7017. }
  7018. }
  7019. },
  7020. "models.HsbySellMyDetail": {
  7021. "type": "object",
  7022. "required": [
  7023. "accountid",
  7024. "buyorsell",
  7025. "goodscode",
  7026. "goodsid",
  7027. "goodsname",
  7028. "marketid",
  7029. "orderid",
  7030. "qty",
  7031. "time",
  7032. "trademode"
  7033. ],
  7034. "properties": {
  7035. "accountid": {
  7036. "description": "账户ID[报价币种]",
  7037. "type": "integer"
  7038. },
  7039. "agreeunit": {
  7040. "description": "合约单位",
  7041. "type": "number"
  7042. },
  7043. "amount": {
  7044. "description": "金额 = 价格 * 数量 * 合约单位",
  7045. "type": "number"
  7046. },
  7047. "buyorsell": {
  7048. "description": "买卖 - 0:买 1:卖",
  7049. "type": "integer"
  7050. },
  7051. "currencysign": {
  7052. "description": "货币符号",
  7053. "type": "string"
  7054. },
  7055. "decimalplace": {
  7056. "description": "报价小数位",
  7057. "type": "integer"
  7058. },
  7059. "goodscode": {
  7060. "description": "商品代码(内部)",
  7061. "type": "string"
  7062. },
  7063. "goodsid": {
  7064. "description": "商品ID",
  7065. "type": "integer"
  7066. },
  7067. "goodsname": {
  7068. "description": "商品名称",
  7069. "type": "string"
  7070. },
  7071. "marketid": {
  7072. "description": "市场ID",
  7073. "type": "integer"
  7074. },
  7075. "orderid": {
  7076. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  7077. "type": "string"
  7078. },
  7079. "ordertype": {
  7080. "description": "单据类型:0 - 已发布, 1 - 已完成",
  7081. "type": "integer"
  7082. },
  7083. "picurls": {
  7084. "description": "介绍图片[多张用逗号分隔]",
  7085. "type": "string"
  7086. },
  7087. "price": {
  7088. "description": "价格",
  7089. "type": "number"
  7090. },
  7091. "qty": {
  7092. "description": "数量",
  7093. "type": "integer"
  7094. },
  7095. "time": {
  7096. "description": "时间",
  7097. "type": "string"
  7098. },
  7099. "trademode": {
  7100. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7101. "type": "integer"
  7102. },
  7103. "vendorname": {
  7104. "description": "供应商名称",
  7105. "type": "string"
  7106. }
  7107. }
  7108. },
  7109. "models.HsbyTopGoods": {
  7110. "type": "object",
  7111. "required": [
  7112. "goodscode",
  7113. "goodsid",
  7114. "goodsname",
  7115. "marketid",
  7116. "trademode"
  7117. ],
  7118. "properties": {
  7119. "agreeunit": {
  7120. "description": "合约单位",
  7121. "type": "number"
  7122. },
  7123. "currency": {
  7124. "description": "货币",
  7125. "type": "string"
  7126. },
  7127. "currencysign": {
  7128. "description": "货币符号",
  7129. "type": "string"
  7130. },
  7131. "decimalplace": {
  7132. "description": "报价小数位",
  7133. "type": "integer"
  7134. },
  7135. "goodscode": {
  7136. "description": "商品代码(内部)",
  7137. "type": "string"
  7138. },
  7139. "goodsid": {
  7140. "description": "商品ID(自增ID SEQ_GOODS)",
  7141. "type": "integer"
  7142. },
  7143. "goodsname": {
  7144. "description": "商品名称",
  7145. "type": "string"
  7146. },
  7147. "hotindex": {
  7148. "description": "景点热度",
  7149. "type": "integer"
  7150. },
  7151. "last": {
  7152. "description": "现价",
  7153. "type": "number"
  7154. },
  7155. "marketid": {
  7156. "description": "所属市场ID",
  7157. "type": "integer"
  7158. },
  7159. "picurls": {
  7160. "description": "介绍图片[多张用逗号分隔]",
  7161. "type": "string"
  7162. },
  7163. "quoteminunit": {
  7164. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  7165. "type": "integer"
  7166. },
  7167. "trademode": {
  7168. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7169. "type": "integer"
  7170. },
  7171. "videourls": {
  7172. "description": "介绍视频[多张用逗号分隔]",
  7173. "type": "string"
  7174. }
  7175. }
  7176. },
  7177. "models.HybsMyBuyOrderDetail": {
  7178. "type": "object",
  7179. "required": [
  7180. "accountid",
  7181. "buyorsell",
  7182. "goodscode",
  7183. "goodsid",
  7184. "goodsname",
  7185. "marketid",
  7186. "orderid",
  7187. "orderqty",
  7188. "ordertime",
  7189. "trademode"
  7190. ],
  7191. "properties": {
  7192. "accountid": {
  7193. "description": "账户ID[报价币种]",
  7194. "type": "integer"
  7195. },
  7196. "agreeunit": {
  7197. "description": "合约单位",
  7198. "type": "number"
  7199. },
  7200. "buyorsell": {
  7201. "description": "买卖 - 0:买 1:卖",
  7202. "type": "integer"
  7203. },
  7204. "cancelqty": {
  7205. "description": "撤单数量",
  7206. "type": "integer"
  7207. },
  7208. "currencysign": {
  7209. "description": "货币符号",
  7210. "type": "string"
  7211. },
  7212. "decimalplace": {
  7213. "description": "报价小数位",
  7214. "type": "integer"
  7215. },
  7216. "goodscode": {
  7217. "description": "商品代码(内部)",
  7218. "type": "string"
  7219. },
  7220. "goodsid": {
  7221. "description": "商品ID",
  7222. "type": "integer"
  7223. },
  7224. "goodsname": {
  7225. "description": "商品名称",
  7226. "type": "string"
  7227. },
  7228. "listingselecttype": {
  7229. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7230. "type": "integer"
  7231. },
  7232. "marketid": {
  7233. "description": "市场ID",
  7234. "type": "integer"
  7235. },
  7236. "mybuystatus": {
  7237. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  7238. "type": "integer"
  7239. },
  7240. "orderamount": {
  7241. "description": "委托金额",
  7242. "type": "number"
  7243. },
  7244. "orderid": {
  7245. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7246. "type": "string"
  7247. },
  7248. "orderprice": {
  7249. "description": "委托价格",
  7250. "type": "number"
  7251. },
  7252. "orderqty": {
  7253. "description": "委托数量",
  7254. "type": "integer"
  7255. },
  7256. "orderstatus": {
  7257. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7258. "type": "integer"
  7259. },
  7260. "ordertime": {
  7261. "description": "委托时间",
  7262. "type": "string"
  7263. },
  7264. "picurls1": {
  7265. "description": "预售商品介绍图片[多张用逗号分隔]",
  7266. "type": "string"
  7267. },
  7268. "picurls2": {
  7269. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7270. "type": "string"
  7271. },
  7272. "trademode": {
  7273. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7274. "type": "integer"
  7275. },
  7276. "tradeqty": {
  7277. "description": "成交数量",
  7278. "type": "integer"
  7279. },
  7280. "vendorname1": {
  7281. "description": "预售商品供应商名称",
  7282. "type": "string"
  7283. },
  7284. "vendorname2": {
  7285. "description": "挂牌商品供应商名称",
  7286. "type": "string"
  7287. }
  7288. }
  7289. },
  7290. "models.Messageboard": {
  7291. "type": "object",
  7292. "required": [
  7293. "messageboardid"
  7294. ],
  7295. "properties": {
  7296. "createtime": {
  7297. "description": "创建时间",
  7298. "type": "string"
  7299. },
  7300. "message": {
  7301. "description": "留言信息",
  7302. "type": "string"
  7303. },
  7304. "messageboardid": {
  7305. "description": "留言簿ID(SEQ_MessageBoard)",
  7306. "type": "integer"
  7307. },
  7308. "userid": {
  7309. "description": "用户ID",
  7310. "type": "integer"
  7311. }
  7312. }
  7313. },
  7314. "models.OperationPrimaryMenu": {
  7315. "type": "object",
  7316. "properties": {
  7317. "Children": {
  7318. "description": "二级功能菜单",
  7319. "type": "array",
  7320. "items": {
  7321. "$ref": "#/definitions/models.OperationSecondaryMenu"
  7322. }
  7323. },
  7324. "Key": {
  7325. "description": "菜单KEY",
  7326. "type": "string"
  7327. },
  7328. "Label": {
  7329. "description": "菜单标题",
  7330. "type": "string"
  7331. }
  7332. }
  7333. },
  7334. "models.OperationSecondaryMenu": {
  7335. "type": "object",
  7336. "properties": {
  7337. "Key": {
  7338. "description": "菜单KEY",
  7339. "type": "string"
  7340. },
  7341. "Label": {
  7342. "description": "菜单标题",
  7343. "type": "string"
  7344. },
  7345. "TabList": {
  7346. "description": "三级功能菜单",
  7347. "type": "array",
  7348. "items": {
  7349. "$ref": "#/definitions/models.OperationTabMenu"
  7350. }
  7351. }
  7352. }
  7353. },
  7354. "models.OperationTabMenu": {
  7355. "type": "object",
  7356. "properties": {
  7357. "Key": {
  7358. "description": "菜单KEY",
  7359. "type": "string"
  7360. },
  7361. "Label": {
  7362. "description": "菜单标题",
  7363. "type": "string"
  7364. }
  7365. }
  7366. },
  7367. "models.QuotePrimaryMenu": {
  7368. "type": "object",
  7369. "properties": {
  7370. "Index": {
  7371. "description": "序号",
  7372. "type": "integer"
  7373. },
  7374. "Key": {
  7375. "description": "键名",
  7376. "type": "string"
  7377. },
  7378. "Name": {
  7379. "description": "菜单名称",
  7380. "type": "string"
  7381. },
  7382. "SubMenus": {
  7383. "description": "子菜单",
  7384. "type": "array",
  7385. "items": {
  7386. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  7387. }
  7388. },
  7389. "SubTitleType": {
  7390. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  7391. "type": "integer"
  7392. },
  7393. "TradeModes": {
  7394. "description": "包含市场交易类型",
  7395. "type": "string"
  7396. }
  7397. }
  7398. },
  7399. "models.QuoteSecondaryMenu": {
  7400. "type": "object",
  7401. "properties": {
  7402. "ExExchangeCode": {
  7403. "description": "外部交易所代码",
  7404. "type": "string"
  7405. },
  7406. "ExExchangeID": {
  7407. "description": "外部交易所ID",
  7408. "type": "integer"
  7409. },
  7410. "GoodsGroupIDs": {
  7411. "description": "商品组ID列表",
  7412. "type": "array",
  7413. "items": {
  7414. "type": "integer"
  7415. }
  7416. },
  7417. "Index": {
  7418. "description": "序号",
  7419. "type": "integer"
  7420. },
  7421. "MarketID": {
  7422. "description": "市场ID",
  7423. "type": "integer"
  7424. },
  7425. "MenuTitle": {
  7426. "description": "菜单标题(市场名称或外部交易所名称)",
  7427. "type": "string"
  7428. },
  7429. "TradeMode": {
  7430. "description": "交易模式",
  7431. "type": "integer"
  7432. }
  7433. }
  7434. },
  7435. "models.SearchGoods": {
  7436. "type": "object",
  7437. "required": [
  7438. "goodscode",
  7439. "goodsid",
  7440. "goodsname",
  7441. "marketid",
  7442. "trademode"
  7443. ],
  7444. "properties": {
  7445. "goodscode": {
  7446. "description": "商品代码(内部)",
  7447. "type": "string"
  7448. },
  7449. "goodsid": {
  7450. "description": "商品ID(自增ID SEQ_GOODS)",
  7451. "type": "integer"
  7452. },
  7453. "goodsname": {
  7454. "description": "商品名称",
  7455. "type": "string"
  7456. },
  7457. "marketid": {
  7458. "description": "所属市场ID",
  7459. "type": "integer"
  7460. },
  7461. "marketname": {
  7462. "description": "市场名称",
  7463. "type": "string"
  7464. },
  7465. "trademode": {
  7466. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7467. "type": "integer"
  7468. }
  7469. }
  7470. },
  7471. "models.Szdz2imageconfig": {
  7472. "type": "object",
  7473. "required": [
  7474. "configid"
  7475. ],
  7476. "properties": {
  7477. "configid": {
  7478. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7479. "type": "integer"
  7480. },
  7481. "imagepath": {
  7482. "description": "图片",
  7483. "type": "string"
  7484. },
  7485. "imagetype": {
  7486. "description": "类型 - 1:App首页轮播 2:我的",
  7487. "type": "integer"
  7488. },
  7489. "sort": {
  7490. "description": "排序",
  7491. "type": "integer"
  7492. },
  7493. "title": {
  7494. "description": "标题",
  7495. "type": "string"
  7496. },
  7497. "url": {
  7498. "description": "链接",
  7499. "type": "string"
  7500. }
  7501. }
  7502. },
  7503. "models.Szdz3convertconfig": {
  7504. "type": "object",
  7505. "required": [
  7506. "converttype",
  7507. "innergoodsid",
  7508. "outergoodscode"
  7509. ],
  7510. "properties": {
  7511. "canin": {
  7512. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  7513. "type": "integer"
  7514. },
  7515. "canout": {
  7516. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  7517. "type": "integer"
  7518. },
  7519. "converttype": {
  7520. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  7521. "type": "integer"
  7522. },
  7523. "createtime": {
  7524. "description": "创建时间",
  7525. "type": "string"
  7526. },
  7527. "creatorid": {
  7528. "description": "创建人",
  7529. "type": "integer"
  7530. },
  7531. "daymaxvalue": {
  7532. "description": "当日最大转入限制",
  7533. "type": "number"
  7534. },
  7535. "freezedays": {
  7536. "description": "冻结天数 [5:花生米转交易]",
  7537. "type": "integer"
  7538. },
  7539. "innergoodsid": {
  7540. "description": "内部商品ID[交易]",
  7541. "type": "integer"
  7542. },
  7543. "inratio": {
  7544. "description": "目标值",
  7545. "type": "integer"
  7546. },
  7547. "modifierid": {
  7548. "description": "修改人",
  7549. "type": "integer"
  7550. },
  7551. "modifytime": {
  7552. "description": "修改时间",
  7553. "type": "string"
  7554. },
  7555. "outergoodscode": {
  7556. "description": "外部商品代码[JD\\PD]",
  7557. "type": "string"
  7558. },
  7559. "outratio": {
  7560. "description": "源值",
  7561. "type": "integer"
  7562. },
  7563. "pddecimalplace": {
  7564. "description": "PD小数位",
  7565. "type": "integer"
  7566. },
  7567. "timemaxvalue": {
  7568. "description": "单次最大转入限制",
  7569. "type": "number"
  7570. },
  7571. "timeminvalue": {
  7572. "description": "单次最小转入限制",
  7573. "type": "number"
  7574. }
  7575. }
  7576. },
  7577. "models.Szdz3searchwhitelist": {
  7578. "type": "object",
  7579. "required": [
  7580. "userid"
  7581. ],
  7582. "properties": {
  7583. "createtime": {
  7584. "description": "创建时间",
  7585. "type": "string"
  7586. },
  7587. "creatorid": {
  7588. "description": "创建人",
  7589. "type": "integer"
  7590. },
  7591. "modifierid": {
  7592. "description": "修改人",
  7593. "type": "integer"
  7594. },
  7595. "modifytime": {
  7596. "description": "修改时间",
  7597. "type": "string"
  7598. },
  7599. "userid": {
  7600. "description": "用户ID",
  7601. "type": "integer"
  7602. }
  7603. }
  7604. },
  7605. "models.Tablecolumnconfig": {
  7606. "type": "object",
  7607. "required": [
  7608. "autoid"
  7609. ],
  7610. "properties": {
  7611. "aligntype": {
  7612. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  7613. "type": "integer"
  7614. },
  7615. "autoid": {
  7616. "description": "AutoID",
  7617. "type": "integer"
  7618. },
  7619. "columnfield": {
  7620. "description": "列字段",
  7621. "type": "string"
  7622. },
  7623. "columntitle": {
  7624. "description": "列Title",
  7625. "type": "string"
  7626. },
  7627. "columnwidth": {
  7628. "description": "列宽",
  7629. "type": "string"
  7630. },
  7631. "formatterstring": {
  7632. "description": "格式化字符",
  7633. "type": "string"
  7634. },
  7635. "formattertype": {
  7636. "description": "格式化类型",
  7637. "type": "string"
  7638. },
  7639. "groupname": {
  7640. "description": "表头分组名称",
  7641. "type": "string"
  7642. },
  7643. "isshow": {
  7644. "description": "是否显示 - 0:不显示 1:显示",
  7645. "type": "integer"
  7646. },
  7647. "needsummary": {
  7648. "description": "是否需要汇总 - 0:不需要 1:需要",
  7649. "type": "integer"
  7650. },
  7651. "orderindex": {
  7652. "description": "顺序",
  7653. "type": "integer"
  7654. },
  7655. "remark": {
  7656. "description": "备注",
  7657. "type": "string"
  7658. },
  7659. "summarytype": {
  7660. "description": "汇总类型 - 1:加总 2:最后一个",
  7661. "type": "integer"
  7662. },
  7663. "tablekey": {
  7664. "description": "列表Key",
  7665. "type": "string"
  7666. }
  7667. }
  7668. },
  7669. "models.Useraccount": {
  7670. "type": "object",
  7671. "required": [
  7672. "userid"
  7673. ],
  7674. "properties": {
  7675. "accountname": {
  7676. "description": "账户名称(机构名称)",
  7677. "type": "string"
  7678. },
  7679. "accountstatus": {
  7680. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  7681. "type": "integer"
  7682. },
  7683. "auditremark": {
  7684. "description": "审核备注",
  7685. "type": "string"
  7686. },
  7687. "audittime": {
  7688. "description": "审核时间",
  7689. "type": "string"
  7690. },
  7691. "audituserid": {
  7692. "description": "审核人",
  7693. "type": "integer"
  7694. },
  7695. "broker": {
  7696. "description": "所属经纪人ID",
  7697. "type": "integer"
  7698. },
  7699. "canceltime": {
  7700. "description": "销户时间",
  7701. "type": "string"
  7702. },
  7703. "canceluserid": {
  7704. "description": "销户人",
  7705. "type": "integer"
  7706. },
  7707. "createtime": {
  7708. "description": "创建时间",
  7709. "type": "string"
  7710. },
  7711. "creatorid": {
  7712. "description": "创建人",
  7713. "type": "integer"
  7714. },
  7715. "hasauth": {
  7716. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  7717. "type": "integer"
  7718. },
  7719. "isanonymous": {
  7720. "description": "是否匿名下单 - 0:否 1:是",
  7721. "type": "integer"
  7722. },
  7723. "maxinvestornum": {
  7724. "description": "最大用户数(经纪会员下投资者个数)",
  7725. "type": "integer"
  7726. },
  7727. "memberuserid": {
  7728. "description": "所属会员ID",
  7729. "type": "integer"
  7730. },
  7731. "modifierid": {
  7732. "description": "修改人",
  7733. "type": "integer"
  7734. },
  7735. "modifyremark": {
  7736. "description": "变更备注",
  7737. "type": "string"
  7738. },
  7739. "modifystatus": {
  7740. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  7741. "type": "integer"
  7742. },
  7743. "modifytime": {
  7744. "description": "修改时间",
  7745. "type": "string"
  7746. },
  7747. "parentuserid": {
  7748. "description": "所属机构ID",
  7749. "type": "integer"
  7750. },
  7751. "reckonaccountid": {
  7752. "description": "默认结算资金账号ID(机构分润使用) 作废",
  7753. "type": "integer"
  7754. },
  7755. "refercount": {
  7756. "description": "推荐总人数",
  7757. "type": "integer"
  7758. },
  7759. "refereeuserid": {
  7760. "description": "推荐人ID",
  7761. "type": "integer"
  7762. },
  7763. "refernum": {
  7764. "description": "推荐码",
  7765. "type": "string"
  7766. },
  7767. "subarealevelpath": {
  7768. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  7769. "type": "string"
  7770. },
  7771. "userid": {
  7772. "description": "用户ID",
  7773. "type": "integer"
  7774. },
  7775. "usertype": {
  7776. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7777. "type": "integer"
  7778. }
  7779. }
  7780. },
  7781. "models.Userfavoritegoods": {
  7782. "type": "object",
  7783. "required": [
  7784. "goodsid"
  7785. ],
  7786. "properties": {
  7787. "goodsid": {
  7788. "description": "商品ID",
  7789. "type": "integer"
  7790. }
  7791. }
  7792. },
  7793. "models.Userinfo": {
  7794. "type": "object",
  7795. "required": [
  7796. "userid"
  7797. ],
  7798. "properties": {
  7799. "address": {
  7800. "description": "地址",
  7801. "type": "string"
  7802. },
  7803. "attachment1": {
  7804. "description": "附件1",
  7805. "type": "string"
  7806. },
  7807. "attachment2": {
  7808. "description": "附件2",
  7809. "type": "string"
  7810. },
  7811. "bankaccount": {
  7812. "description": "银行帐号 (加密存储)",
  7813. "type": "string"
  7814. },
  7815. "bankaccountname": {
  7816. "description": "收款人名称",
  7817. "type": "string"
  7818. },
  7819. "bankcardfrontphotourl": {
  7820. "description": "银行卡正面照地址",
  7821. "type": "string"
  7822. },
  7823. "bankid": {
  7824. "description": "银行编码",
  7825. "type": "string"
  7826. },
  7827. "bankname": {
  7828. "description": "银行名称",
  7829. "type": "string"
  7830. },
  7831. "biznature": {
  7832. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7833. "type": "integer"
  7834. },
  7835. "bizscope": {
  7836. "description": "企业经营范围(企业)",
  7837. "type": "string"
  7838. },
  7839. "cardbackphotourl": {
  7840. "description": "证件背面图片地址",
  7841. "type": "string"
  7842. },
  7843. "cardfrontphotourl": {
  7844. "description": "证件正面图片地址",
  7845. "type": "string"
  7846. },
  7847. "cardnum": {
  7848. "description": "证件号码(加密存储)",
  7849. "type": "string"
  7850. },
  7851. "cardtypeid": {
  7852. "description": "证件类型ID",
  7853. "type": "integer"
  7854. },
  7855. "cityid": {
  7856. "description": "市",
  7857. "type": "integer"
  7858. },
  7859. "company": {
  7860. "description": "公司(个人)",
  7861. "type": "string"
  7862. },
  7863. "contactname": {
  7864. "description": "联系人",
  7865. "type": "string"
  7866. },
  7867. "countryid": {
  7868. "description": "国家",
  7869. "type": "integer"
  7870. },
  7871. "createtime": {
  7872. "description": "创建时间",
  7873. "type": "string"
  7874. },
  7875. "creatorid": {
  7876. "description": "创建人",
  7877. "type": "integer"
  7878. },
  7879. "customername": {
  7880. "description": "客户名称(企业名称)",
  7881. "type": "string"
  7882. },
  7883. "districtid": {
  7884. "description": "地区",
  7885. "type": "integer"
  7886. },
  7887. "email": {
  7888. "description": "邮件(加密存储)",
  7889. "type": "string"
  7890. },
  7891. "fax": {
  7892. "description": "传真(加密存储)",
  7893. "type": "string"
  7894. },
  7895. "halfbodyphotourl": {
  7896. "description": "半身照地址",
  7897. "type": "string"
  7898. },
  7899. "hasencrypt": {
  7900. "description": "数据是否已加密 - 0:未加密 1:已加密",
  7901. "type": "integer"
  7902. },
  7903. "headurl": {
  7904. "description": "头像地址",
  7905. "type": "string"
  7906. },
  7907. "legalcardbackphotourl": {
  7908. "description": "法人身份证背面照地址",
  7909. "type": "string"
  7910. },
  7911. "legalcardfrontphotourl": {
  7912. "description": "法人身份证正面照地址",
  7913. "type": "string"
  7914. },
  7915. "legalpersonname": {
  7916. "description": "法人姓名(企业)",
  7917. "type": "string"
  7918. },
  7919. "mobile": {
  7920. "description": "手机号码(加密存储)",
  7921. "type": "string"
  7922. },
  7923. "mobile2": {
  7924. "description": "手机号码[明文-尚志]",
  7925. "type": "string"
  7926. },
  7927. "modifierid": {
  7928. "description": "修改人",
  7929. "type": "integer"
  7930. },
  7931. "modifiertime": {
  7932. "description": "修改时间",
  7933. "type": "string"
  7934. },
  7935. "needinvoice": {
  7936. "description": "是否需要发票 - 0:不需要 1:需要",
  7937. "type": "integer"
  7938. },
  7939. "nickname": {
  7940. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  7941. "type": "string"
  7942. },
  7943. "openmode": {
  7944. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  7945. "type": "integer"
  7946. },
  7947. "otherurl": {
  7948. "description": "其它图片地址[使用分号分隔]",
  7949. "type": "string"
  7950. },
  7951. "postalcode": {
  7952. "description": "邮政编码",
  7953. "type": "string"
  7954. },
  7955. "provinceid": {
  7956. "description": "省",
  7957. "type": "integer"
  7958. },
  7959. "qq": {
  7960. "description": "QQ(加密存储",
  7961. "type": "string"
  7962. },
  7963. "remark": {
  7964. "description": "备注",
  7965. "type": "string"
  7966. },
  7967. "sex": {
  7968. "description": "用户性别 0: 女 1: 男",
  7969. "type": "integer"
  7970. },
  7971. "signpdfurl": {
  7972. "description": "签约pdf文件",
  7973. "type": "string"
  7974. },
  7975. "telphone": {
  7976. "description": "联系电话(加密存储)",
  7977. "type": "string"
  7978. },
  7979. "userid": {
  7980. "description": "用户ID",
  7981. "type": "integer"
  7982. },
  7983. "userinfotype": {
  7984. "description": "用户信息类型 - 1:个人 2:企业",
  7985. "type": "integer"
  7986. },
  7987. "userstatus": {
  7988. "description": "用户状态 - 1:正常 2:注销",
  7989. "type": "integer"
  7990. },
  7991. "usertype": {
  7992. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  7993. "type": "integer"
  7994. },
  7995. "wechat": {
  7996. "description": "微信(加密存储)",
  7997. "type": "string"
  7998. },
  7999. "wskhinfo": {
  8000. "description": "开户申请信息(JSON)",
  8001. "type": "string"
  8002. }
  8003. }
  8004. },
  8005. "models.WRStandardInfo": {
  8006. "type": "object",
  8007. "required": [
  8008. "wrstandardid"
  8009. ],
  8010. "properties": {
  8011. "createtime": {
  8012. "description": "创建时间",
  8013. "type": "string"
  8014. },
  8015. "creatorid": {
  8016. "description": "创建人",
  8017. "type": "integer"
  8018. },
  8019. "deliverygoodsid": {
  8020. "description": "品种ID",
  8021. "type": "integer"
  8022. },
  8023. "deliverygoodsname": {
  8024. "description": "交割商品名称",
  8025. "type": "string"
  8026. },
  8027. "factoryitemjson": {
  8028. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  8029. "type": "string"
  8030. },
  8031. "isvalid": {
  8032. "description": "是否有效 - 0:无效 1:有效",
  8033. "type": "integer"
  8034. },
  8035. "minivalue": {
  8036. "description": "最小变动值",
  8037. "type": "integer"
  8038. },
  8039. "minivaluedp": {
  8040. "description": "最小变动值小数位",
  8041. "type": "integer"
  8042. },
  8043. "realminivalue": {
  8044. "description": "实际最小变动值",
  8045. "type": "integer"
  8046. },
  8047. "realminivaluedp": {
  8048. "description": "实际最小变动值小数位",
  8049. "type": "integer"
  8050. },
  8051. "unitid": {
  8052. "description": "单位ID",
  8053. "type": "integer"
  8054. },
  8055. "unitname": {
  8056. "description": "单位",
  8057. "type": "string"
  8058. },
  8059. "updatetime": {
  8060. "description": "更新时间",
  8061. "type": "string"
  8062. },
  8063. "updatorid": {
  8064. "description": "更新人",
  8065. "type": "integer"
  8066. },
  8067. "wrsstatus": {
  8068. "description": "状态 - 作废 - 0:未激活 1:正常",
  8069. "type": "integer"
  8070. },
  8071. "wrstandardcode": {
  8072. "description": "仓单标准代码",
  8073. "type": "string"
  8074. },
  8075. "wrstandardid": {
  8076. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  8077. "type": "integer"
  8078. },
  8079. "wrstandardname": {
  8080. "description": "仓单标准名称",
  8081. "type": "string"
  8082. }
  8083. }
  8084. },
  8085. "models.Warehouseinfo": {
  8086. "type": "object",
  8087. "required": [
  8088. "autoid",
  8089. "warehousecode"
  8090. ],
  8091. "properties": {
  8092. "address": {
  8093. "description": "详细地址",
  8094. "type": "string"
  8095. },
  8096. "areauserid": {
  8097. "description": "所属机构",
  8098. "type": "integer"
  8099. },
  8100. "autoid": {
  8101. "description": "自增ID",
  8102. "type": "integer"
  8103. },
  8104. "cityid": {
  8105. "description": "市",
  8106. "type": "integer"
  8107. },
  8108. "contactname": {
  8109. "description": "联系人",
  8110. "type": "string"
  8111. },
  8112. "contactnum": {
  8113. "description": "联系电话",
  8114. "type": "string"
  8115. },
  8116. "countryid": {
  8117. "description": "国家",
  8118. "type": "integer"
  8119. },
  8120. "createtime": {
  8121. "description": "创建时间",
  8122. "type": "string"
  8123. },
  8124. "districtid": {
  8125. "description": "区",
  8126. "type": "integer"
  8127. },
  8128. "hasvideo": {
  8129. "description": "是否有视频 - 0:无 1:有",
  8130. "type": "integer"
  8131. },
  8132. "provinceid": {
  8133. "description": "省",
  8134. "type": "integer"
  8135. },
  8136. "remark": {
  8137. "description": "审核备注",
  8138. "type": "string"
  8139. },
  8140. "videourl": {
  8141. "description": "视频地址",
  8142. "type": "string"
  8143. },
  8144. "warehousecode": {
  8145. "description": "仓库代码",
  8146. "type": "string"
  8147. },
  8148. "warehousename": {
  8149. "description": "仓库名称",
  8150. "type": "string"
  8151. },
  8152. "warehousestatus": {
  8153. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  8154. "type": "integer"
  8155. },
  8156. "warehousetype": {
  8157. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  8158. "type": "integer"
  8159. }
  8160. }
  8161. },
  8162. "order.QueryHisTradeDetailRsp": {
  8163. "type": "object",
  8164. "required": [
  8165. "accountid",
  8166. "buyorsell",
  8167. "goodsid",
  8168. "histradedate",
  8169. "marketid",
  8170. "memberuserid",
  8171. "orderid",
  8172. "tradeamount",
  8173. "tradedate",
  8174. "tradeid",
  8175. "tradeprice",
  8176. "tradeqty",
  8177. "tradetime"
  8178. ],
  8179. "properties": {
  8180. "accountid": {
  8181. "description": "账户ID[报价币种]",
  8182. "type": "integer"
  8183. },
  8184. "buildtype": {
  8185. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8186. "type": "integer"
  8187. },
  8188. "buyorsell": {
  8189. "description": "方向 - 0:买 1:卖",
  8190. "type": "integer"
  8191. },
  8192. "charge": {
  8193. "description": "手续费",
  8194. "type": "number"
  8195. },
  8196. "closecharge": {
  8197. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8198. "type": "number"
  8199. },
  8200. "closeexchagechargevalue": {
  8201. "description": "平仓交易所手续费设置值",
  8202. "type": "number"
  8203. },
  8204. "closefeealgorithm": {
  8205. "description": "平仓手续费收取方式 1:比率 2:固定",
  8206. "type": "integer"
  8207. },
  8208. "closememberchargevalue": {
  8209. "description": "平仓会员手续费设置值",
  8210. "type": "number"
  8211. },
  8212. "closepl": {
  8213. "description": "平仓盈亏",
  8214. "type": "number"
  8215. },
  8216. "closepl2": {
  8217. "description": "平仓盈亏[逐笔]",
  8218. "type": "number"
  8219. },
  8220. "closeqty": {
  8221. "description": "平仓数量(先建后平操作 需要记录)",
  8222. "type": "integer"
  8223. },
  8224. "creditamount": {
  8225. "description": "授信金额",
  8226. "type": "number"
  8227. },
  8228. "gcaccountid": {
  8229. "description": "账户ID[合约币种]",
  8230. "type": "integer"
  8231. },
  8232. "goodscode": {
  8233. "description": "商品代码",
  8234. "type": "string"
  8235. },
  8236. "goodsid": {
  8237. "description": "商品ID",
  8238. "type": "integer"
  8239. },
  8240. "goodsname": {
  8241. "description": "商品名称",
  8242. "type": "string"
  8243. },
  8244. "histradedate": {
  8245. "description": "历史交易日",
  8246. "type": "string"
  8247. },
  8248. "intclosepl": {
  8249. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8250. "type": "integer"
  8251. },
  8252. "isconfirmexercise": {
  8253. "description": "是否确认行权- 0:否 1:是",
  8254. "type": "integer"
  8255. },
  8256. "ismain": {
  8257. "description": "是否主单 - 0:不是 1:是",
  8258. "type": "integer"
  8259. },
  8260. "ispreexercise": {
  8261. "description": "是否预申报- 0:否 1:是",
  8262. "type": "integer"
  8263. },
  8264. "isreckoned": {
  8265. "description": "是否结算 - 0:未结算 1:已结算",
  8266. "type": "integer"
  8267. },
  8268. "isvaliddata": {
  8269. "description": "是否有效 - 0:无效 1:有效",
  8270. "type": "integer"
  8271. },
  8272. "listingselecttype": {
  8273. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8274. "type": "integer"
  8275. },
  8276. "marketid": {
  8277. "description": "市场ID",
  8278. "type": "integer"
  8279. },
  8280. "marketname": {
  8281. "description": "市场名称",
  8282. "type": "string"
  8283. },
  8284. "matchaccountid": {
  8285. "description": "对手账号id",
  8286. "type": "integer"
  8287. },
  8288. "memberuserid": {
  8289. "description": "会员id 个人投资者 需要填写",
  8290. "type": "integer"
  8291. },
  8292. "opencharge": {
  8293. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8294. "type": "number"
  8295. },
  8296. "openexchagechargevalue": {
  8297. "description": "建仓交易所手续费设置值",
  8298. "type": "number"
  8299. },
  8300. "openfeealgorithm": {
  8301. "description": "建仓手续费收取方式 1:比率 2:固定",
  8302. "type": "integer"
  8303. },
  8304. "openmemberchargevalue": {
  8305. "description": "建仓会员手续费设置值",
  8306. "type": "number"
  8307. },
  8308. "openqty": {
  8309. "description": "开仓数量(先建后平操作 需要记录)",
  8310. "type": "integer"
  8311. },
  8312. "optiontype": {
  8313. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8314. "type": "integer"
  8315. },
  8316. "orderid": {
  8317. "description": "委托单号",
  8318. "type": "string"
  8319. },
  8320. "performanceplanid": {
  8321. "description": "履约计划ID[期权]",
  8322. "type": "integer"
  8323. },
  8324. "performancestatus": {
  8325. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8326. "type": "integer"
  8327. },
  8328. "preexerciseprice": {
  8329. "description": "预申报价格",
  8330. "type": "number"
  8331. },
  8332. "premium": {
  8333. "description": "权利金 - [持仓单的权利金]",
  8334. "type": "number"
  8335. },
  8336. "relatedouttradeid": {
  8337. "description": "关联外部成交单ID",
  8338. "type": "integer"
  8339. },
  8340. "status": {
  8341. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8342. "type": "integer"
  8343. },
  8344. "tradeamount": {
  8345. "description": "成交金额[账户币种,用于所有权]",
  8346. "type": "number"
  8347. },
  8348. "tradedate": {
  8349. "description": "交易日(yyyyMMdd)",
  8350. "type": "string"
  8351. },
  8352. "tradeid": {
  8353. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8354. "type": "string"
  8355. },
  8356. "trademode": {
  8357. "description": "交易模式",
  8358. "type": "integer"
  8359. },
  8360. "tradeprice": {
  8361. "description": "成交价格",
  8362. "type": "number"
  8363. },
  8364. "tradeproperty": {
  8365. "description": "交易属性",
  8366. "type": "integer"
  8367. },
  8368. "tradeqty": {
  8369. "description": "成交数量",
  8370. "type": "integer"
  8371. },
  8372. "tradetime": {
  8373. "description": "成交时间",
  8374. "type": "string"
  8375. },
  8376. "tradetype": {
  8377. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8378. "type": "integer"
  8379. }
  8380. }
  8381. },
  8382. "order.QueryHisTradeOrderDetailRsp": {
  8383. "type": "object",
  8384. "required": [
  8385. "accountid",
  8386. "buildtype",
  8387. "buyorsell",
  8388. "goodsid",
  8389. "histradedate",
  8390. "marketid",
  8391. "memberuserid",
  8392. "operatetype",
  8393. "orderid",
  8394. "orderqty",
  8395. "ordertime",
  8396. "pricemode",
  8397. "tradedate",
  8398. "validtype"
  8399. ],
  8400. "properties": {
  8401. "accountid": {
  8402. "description": "账户ID[报价币种]",
  8403. "type": "integer"
  8404. },
  8405. "buildtype": {
  8406. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8407. "type": "integer"
  8408. },
  8409. "buyorsell": {
  8410. "description": "买卖 - 0:买 1:卖",
  8411. "type": "integer"
  8412. },
  8413. "cancelorderid": {
  8414. "description": "撤单单号(撤单时填写)",
  8415. "type": "string"
  8416. },
  8417. "cancelqty": {
  8418. "description": "撤单数量",
  8419. "type": "integer"
  8420. },
  8421. "clientordertime": {
  8422. "description": "客户端委托时间",
  8423. "type": "string"
  8424. },
  8425. "clientticket": {
  8426. "description": "客户端流水号",
  8427. "type": "string"
  8428. },
  8429. "clienttype": {
  8430. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8431. "type": "integer"
  8432. },
  8433. "closeexchagechargevalue": {
  8434. "description": "平仓交易所手续费设置值",
  8435. "type": "number"
  8436. },
  8437. "closefeealgorithm": {
  8438. "description": "平仓手续费收取方式 1:比率 2:固定",
  8439. "type": "integer"
  8440. },
  8441. "closefreezecharge": {
  8442. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8443. "type": "number"
  8444. },
  8445. "closememberchargevalue": {
  8446. "description": "平仓会员手续费设置值",
  8447. "type": "number"
  8448. },
  8449. "closeqty": {
  8450. "description": "平仓数量(先建后平操作 需要记录)",
  8451. "type": "integer"
  8452. },
  8453. "closetradeqty": {
  8454. "description": "平仓成交数量(先建后平操作,需要记录)",
  8455. "type": "integer"
  8456. },
  8457. "closeunfreezecharge": {
  8458. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8459. "type": "number"
  8460. },
  8461. "delistingtype": {
  8462. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8463. "type": "integer"
  8464. },
  8465. "freezecharge": {
  8466. "description": "冻结手续费",
  8467. "type": "number"
  8468. },
  8469. "freezemargin": {
  8470. "description": "冻结保证金(冻结交易金额)",
  8471. "type": "number"
  8472. },
  8473. "gcaccountid": {
  8474. "description": "账户ID[合约币种]",
  8475. "type": "integer"
  8476. },
  8477. "goodscode": {
  8478. "description": "商品代码",
  8479. "type": "string"
  8480. },
  8481. "goodsid": {
  8482. "description": "商品ID",
  8483. "type": "integer"
  8484. },
  8485. "goodsname": {
  8486. "description": "商品名称",
  8487. "type": "string"
  8488. },
  8489. "histradedate": {
  8490. "description": "历史交易日",
  8491. "type": "string"
  8492. },
  8493. "isconfirmexercise": {
  8494. "description": "是否确认行权- 0:否 1:是",
  8495. "type": "integer"
  8496. },
  8497. "ispreexercise": {
  8498. "description": "是否预申报- 0:否 1:是",
  8499. "type": "integer"
  8500. },
  8501. "isvaliddata": {
  8502. "description": "是否有效 - 0:无效 1:有效",
  8503. "type": "integer"
  8504. },
  8505. "listingselecttype": {
  8506. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8507. "type": "integer"
  8508. },
  8509. "marginalgorithm": {
  8510. "description": "保证金收取方式 1:比率 2:固定",
  8511. "type": "integer"
  8512. },
  8513. "marginvalue": {
  8514. "description": "即市保证金设置值",
  8515. "type": "number"
  8516. },
  8517. "marketid": {
  8518. "description": "市场ID",
  8519. "type": "integer"
  8520. },
  8521. "marketmaxsub": {
  8522. "description": "市价最大偏移范围",
  8523. "type": "number"
  8524. },
  8525. "marketname": {
  8526. "description": "市场名称",
  8527. "type": "string"
  8528. },
  8529. "memberuserid": {
  8530. "description": "所属会员UserID",
  8531. "type": "integer"
  8532. },
  8533. "openexchagechargevalue": {
  8534. "description": "建仓交易所手续费设置值",
  8535. "type": "number"
  8536. },
  8537. "openfeealgorithm": {
  8538. "description": "建仓手续费收取方式 1:比率 2:固定",
  8539. "type": "integer"
  8540. },
  8541. "openfreezecharge": {
  8542. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8543. "type": "number"
  8544. },
  8545. "openmemberchargevalue": {
  8546. "description": "建仓会员手续费设置值",
  8547. "type": "number"
  8548. },
  8549. "openqty": {
  8550. "description": "开仓数量(先建后平操作,需要记录)",
  8551. "type": "integer"
  8552. },
  8553. "opentradeqty": {
  8554. "description": "开仓成交数量(先建后平操作,需要记录)",
  8555. "type": "integer"
  8556. },
  8557. "openunfreezecharge": {
  8558. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8559. "type": "number"
  8560. },
  8561. "operatetype": {
  8562. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8563. "type": "integer"
  8564. },
  8565. "operatorid": {
  8566. "description": "登录账号(LoginID)",
  8567. "type": "integer"
  8568. },
  8569. "optiontype": {
  8570. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8571. "type": "integer"
  8572. },
  8573. "orderid": {
  8574. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8575. "type": "string"
  8576. },
  8577. "orderprice": {
  8578. "description": "委托价格",
  8579. "type": "number"
  8580. },
  8581. "orderqty": {
  8582. "description": "委托数量",
  8583. "type": "integer"
  8584. },
  8585. "ordersrc": {
  8586. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8587. "type": "integer"
  8588. },
  8589. "orderstatus": {
  8590. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8591. "type": "integer"
  8592. },
  8593. "ordertime": {
  8594. "description": "委托时间",
  8595. "type": "string"
  8596. },
  8597. "preexerciseprice": {
  8598. "description": "预申报价格",
  8599. "type": "number"
  8600. },
  8601. "premium": {
  8602. "description": "权利金",
  8603. "type": "number"
  8604. },
  8605. "preorderid": {
  8606. "description": "关联预埋单号(止盈止损单时填写)",
  8607. "type": "string"
  8608. },
  8609. "pricemode": {
  8610. "description": "取价方式 - 1:市价 2: 限价",
  8611. "type": "integer"
  8612. },
  8613. "quoteid": {
  8614. "description": "报价单ID",
  8615. "type": "integer"
  8616. },
  8617. "relatedid": {
  8618. "description": "关联单号(交割单)",
  8619. "type": "string"
  8620. },
  8621. "retcode": {
  8622. "description": "错误代码",
  8623. "type": "integer"
  8624. },
  8625. "sessionid": {
  8626. "description": "会话ID",
  8627. "type": "integer"
  8628. },
  8629. "tradedate": {
  8630. "description": "交易日(yyyyMMdd)",
  8631. "type": "string"
  8632. },
  8633. "trademode": {
  8634. "description": "交易模式",
  8635. "type": "integer"
  8636. },
  8637. "tradeproperty": {
  8638. "description": "交易属性",
  8639. "type": "integer"
  8640. },
  8641. "tradeqty": {
  8642. "description": "成交数量",
  8643. "type": "integer"
  8644. },
  8645. "unfreezecharge": {
  8646. "description": "解冻手续费",
  8647. "type": "number"
  8648. },
  8649. "unfreezemargin": {
  8650. "description": "解冻保证金",
  8651. "type": "number"
  8652. },
  8653. "updatetime": {
  8654. "description": "更新时间",
  8655. "type": "string"
  8656. },
  8657. "uuid": {
  8658. "description": "发起端唯一id",
  8659. "type": "string"
  8660. },
  8661. "validtime": {
  8662. "description": "有效期限",
  8663. "type": "string"
  8664. },
  8665. "validtype": {
  8666. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8667. "type": "integer"
  8668. },
  8669. "volumetype": {
  8670. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8671. "type": "integer"
  8672. }
  8673. }
  8674. },
  8675. "order.QueryTradeDetailRsp": {
  8676. "type": "object",
  8677. "required": [
  8678. "accountid",
  8679. "buyorsell",
  8680. "goodsid",
  8681. "marketid",
  8682. "memberuserid",
  8683. "orderid",
  8684. "tradeamount",
  8685. "tradedate",
  8686. "tradeid",
  8687. "tradeprice",
  8688. "tradeqty",
  8689. "tradetime"
  8690. ],
  8691. "properties": {
  8692. "accountid": {
  8693. "description": "账户ID[报价币种]",
  8694. "type": "integer"
  8695. },
  8696. "buildtype": {
  8697. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  8698. "type": "integer"
  8699. },
  8700. "buyorsell": {
  8701. "description": "方向 - 0:买 1:卖",
  8702. "type": "integer"
  8703. },
  8704. "charge": {
  8705. "description": "手续费",
  8706. "type": "number"
  8707. },
  8708. "closecharge": {
  8709. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8710. "type": "number"
  8711. },
  8712. "closeexchagechargevalue": {
  8713. "description": "平仓交易所手续费设置值",
  8714. "type": "number"
  8715. },
  8716. "closefeealgorithm": {
  8717. "description": "平仓手续费收取方式 1:比率 2:固定",
  8718. "type": "integer"
  8719. },
  8720. "closememberchargevalue": {
  8721. "description": "平仓会员手续费设置值",
  8722. "type": "number"
  8723. },
  8724. "closepl": {
  8725. "description": "平仓盈亏",
  8726. "type": "number"
  8727. },
  8728. "closepl2": {
  8729. "description": "平仓盈亏[逐笔]",
  8730. "type": "number"
  8731. },
  8732. "closeqty": {
  8733. "description": "平仓数量(先建后平操作 需要记录)",
  8734. "type": "integer"
  8735. },
  8736. "creditamount": {
  8737. "description": "授信金额",
  8738. "type": "number"
  8739. },
  8740. "gcaccountid": {
  8741. "description": "账户ID[合约币种]",
  8742. "type": "integer"
  8743. },
  8744. "goodscode": {
  8745. "description": "商品代码",
  8746. "type": "string"
  8747. },
  8748. "goodsid": {
  8749. "description": "商品ID",
  8750. "type": "integer"
  8751. },
  8752. "goodsname": {
  8753. "description": "商品名称",
  8754. "type": "string"
  8755. },
  8756. "intclosepl": {
  8757. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  8758. "type": "integer"
  8759. },
  8760. "isconfirmexercise": {
  8761. "description": "是否确认行权- 0:否 1:是",
  8762. "type": "integer"
  8763. },
  8764. "ismain": {
  8765. "description": "是否主单 - 0:不是 1:是",
  8766. "type": "integer"
  8767. },
  8768. "ispreexercise": {
  8769. "description": "是否预申报- 0:否 1:是",
  8770. "type": "integer"
  8771. },
  8772. "isreckoned": {
  8773. "description": "是否结算 - 0:未结算 1:已结算",
  8774. "type": "integer"
  8775. },
  8776. "listingselecttype": {
  8777. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8778. "type": "integer"
  8779. },
  8780. "marketid": {
  8781. "description": "市场ID",
  8782. "type": "integer"
  8783. },
  8784. "marketname": {
  8785. "description": "市场名称",
  8786. "type": "string"
  8787. },
  8788. "matchaccountid": {
  8789. "description": "对手账号id",
  8790. "type": "integer"
  8791. },
  8792. "memberuserid": {
  8793. "description": "会员id 个人投资者 需要填写",
  8794. "type": "integer"
  8795. },
  8796. "opencharge": {
  8797. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  8798. "type": "number"
  8799. },
  8800. "openexchagechargevalue": {
  8801. "description": "建仓交易所手续费设置值",
  8802. "type": "number"
  8803. },
  8804. "openfeealgorithm": {
  8805. "description": "建仓手续费收取方式 1:比率 2:固定",
  8806. "type": "integer"
  8807. },
  8808. "openmemberchargevalue": {
  8809. "description": "建仓会员手续费设置值",
  8810. "type": "number"
  8811. },
  8812. "openqty": {
  8813. "description": "开仓数量(先建后平操作 需要记录)",
  8814. "type": "integer"
  8815. },
  8816. "optiontype": {
  8817. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8818. "type": "integer"
  8819. },
  8820. "orderid": {
  8821. "description": "委托单号",
  8822. "type": "string"
  8823. },
  8824. "performanceplanid": {
  8825. "description": "履约计划ID[期权]",
  8826. "type": "integer"
  8827. },
  8828. "performancestatus": {
  8829. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  8830. "type": "integer"
  8831. },
  8832. "preexerciseprice": {
  8833. "description": "预申报价格",
  8834. "type": "number"
  8835. },
  8836. "premium": {
  8837. "description": "权利金 - [持仓单的权利金]",
  8838. "type": "number"
  8839. },
  8840. "relatedouttradeid": {
  8841. "description": "关联外部成交单ID",
  8842. "type": "integer"
  8843. },
  8844. "status": {
  8845. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  8846. "type": "integer"
  8847. },
  8848. "tradeamount": {
  8849. "description": "成交金额[账户币种,用于所有权]",
  8850. "type": "number"
  8851. },
  8852. "tradedate": {
  8853. "description": "交易日(yyyyMMdd)",
  8854. "type": "string"
  8855. },
  8856. "tradeid": {
  8857. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8858. "type": "string"
  8859. },
  8860. "trademode": {
  8861. "description": "交易模式",
  8862. "type": "integer"
  8863. },
  8864. "tradeprice": {
  8865. "description": "成交价格",
  8866. "type": "number"
  8867. },
  8868. "tradeproperty": {
  8869. "description": "交易属性",
  8870. "type": "integer"
  8871. },
  8872. "tradeqty": {
  8873. "description": "成交数量",
  8874. "type": "integer"
  8875. },
  8876. "tradetime": {
  8877. "description": "成交时间",
  8878. "type": "string"
  8879. },
  8880. "tradetype": {
  8881. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  8882. "type": "integer"
  8883. }
  8884. }
  8885. },
  8886. "order.QueryTradeOrderDetailRsp": {
  8887. "type": "object",
  8888. "required": [
  8889. "accountid",
  8890. "buildtype",
  8891. "buyorsell",
  8892. "goodsid",
  8893. "marketid",
  8894. "operatetype",
  8895. "orderqty",
  8896. "ordertime",
  8897. "pricemode",
  8898. "tradedate",
  8899. "validtype"
  8900. ],
  8901. "properties": {
  8902. "accountid": {
  8903. "description": "账户ID[报价币种]",
  8904. "type": "integer"
  8905. },
  8906. "buildtype": {
  8907. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8908. "type": "integer"
  8909. },
  8910. "buyorsell": {
  8911. "description": "买卖 - 0:买 1:卖",
  8912. "type": "integer"
  8913. },
  8914. "cancelorderid": {
  8915. "description": "撤单单号(撤单时填写)",
  8916. "type": "string"
  8917. },
  8918. "cancelqty": {
  8919. "description": "撤单数量",
  8920. "type": "integer"
  8921. },
  8922. "clienttype": {
  8923. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8924. "type": "integer"
  8925. },
  8926. "closefreezecharge": {
  8927. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8928. "type": "number"
  8929. },
  8930. "closeqty": {
  8931. "description": "平仓数量(先建后平操作 需要记录)",
  8932. "type": "integer"
  8933. },
  8934. "closetradeqty": {
  8935. "description": "平仓成交数量(先建后平操作,需要记录)",
  8936. "type": "integer"
  8937. },
  8938. "closeunfreezecharge": {
  8939. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8940. "type": "number"
  8941. },
  8942. "delistingtype": {
  8943. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8944. "type": "integer"
  8945. },
  8946. "enableqty": {
  8947. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  8948. "type": "integer"
  8949. },
  8950. "freezecharge": {
  8951. "description": "冻结手续费",
  8952. "type": "number"
  8953. },
  8954. "freezemargin": {
  8955. "description": "冻结保证金(冻结交易金额)",
  8956. "type": "number"
  8957. },
  8958. "goodscode": {
  8959. "description": "商品代码",
  8960. "type": "string"
  8961. },
  8962. "goodsid": {
  8963. "description": "商品ID",
  8964. "type": "integer"
  8965. },
  8966. "goodsname": {
  8967. "description": "商品名称",
  8968. "type": "string"
  8969. },
  8970. "listingselecttype": {
  8971. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8972. "type": "integer"
  8973. },
  8974. "marketid": {
  8975. "description": "市场ID",
  8976. "type": "integer"
  8977. },
  8978. "marketname": {
  8979. "description": "市场名称",
  8980. "type": "string"
  8981. },
  8982. "openfreezecharge": {
  8983. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8984. "type": "number"
  8985. },
  8986. "openqty": {
  8987. "description": "开仓数量(先建后平操作,需要记录)",
  8988. "type": "integer"
  8989. },
  8990. "opentradeqty": {
  8991. "description": "开仓成交数量(先建后平操作,需要记录)",
  8992. "type": "integer"
  8993. },
  8994. "openunfreezecharge": {
  8995. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8996. "type": "number"
  8997. },
  8998. "operatetype": {
  8999. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  9000. "type": "integer"
  9001. },
  9002. "operatorid": {
  9003. "description": "登录账号(LoginID)",
  9004. "type": "integer"
  9005. },
  9006. "orderid": {
  9007. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9008. "type": "string"
  9009. },
  9010. "orderprice": {
  9011. "description": "委托价格",
  9012. "type": "number"
  9013. },
  9014. "orderqty": {
  9015. "description": "委托数量",
  9016. "type": "integer"
  9017. },
  9018. "ordersrc": {
  9019. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  9020. "type": "integer"
  9021. },
  9022. "orderstatus": {
  9023. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9024. "type": "integer"
  9025. },
  9026. "ordertime": {
  9027. "description": "委托时间",
  9028. "type": "string"
  9029. },
  9030. "preorderid": {
  9031. "description": "关联预埋单号(止盈止损单时填写)",
  9032. "type": "string"
  9033. },
  9034. "pricemode": {
  9035. "description": "取价方式 - 1:市价 2: 限价",
  9036. "type": "integer"
  9037. },
  9038. "relatedid": {
  9039. "description": "关联单号(交割单)",
  9040. "type": "string"
  9041. },
  9042. "tradedate": {
  9043. "description": "交易日(yyyyMMdd)",
  9044. "type": "string"
  9045. },
  9046. "trademode": {
  9047. "description": "交易模式",
  9048. "type": "integer"
  9049. },
  9050. "tradeqty": {
  9051. "description": "成交数量",
  9052. "type": "integer"
  9053. },
  9054. "unfreezecharge": {
  9055. "description": "解冻手续费",
  9056. "type": "number"
  9057. },
  9058. "unfreezemargin": {
  9059. "description": "解冻保证金",
  9060. "type": "number"
  9061. },
  9062. "validtime": {
  9063. "description": "有效期限",
  9064. "type": "string"
  9065. },
  9066. "validtype": {
  9067. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  9068. "type": "integer"
  9069. },
  9070. "volumetype": {
  9071. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  9072. "type": "integer"
  9073. }
  9074. }
  9075. },
  9076. "order.QueryTradePositionRsp": {
  9077. "type": "object",
  9078. "required": [
  9079. "goodsid"
  9080. ],
  9081. "properties": {
  9082. "accountid": {
  9083. "description": "资金账户",
  9084. "type": "integer"
  9085. },
  9086. "agreeunit": {
  9087. "description": "合约单位",
  9088. "type": "number"
  9089. },
  9090. "averageprice": {
  9091. "description": "持仓均价",
  9092. "type": "number"
  9093. },
  9094. "buyorsell": {
  9095. "description": "方向 - 0:买 1:卖",
  9096. "type": "integer"
  9097. },
  9098. "closetotalqty": {
  9099. "description": "平仓总数量",
  9100. "type": "integer"
  9101. },
  9102. "curholderamount": {
  9103. "description": "当前持仓总金额[商品币种]",
  9104. "type": "number"
  9105. },
  9106. "curpositionqty": {
  9107. "description": "当前持仓总数量",
  9108. "type": "integer"
  9109. },
  9110. "currencyid": {
  9111. "description": "报价货币ID",
  9112. "type": "integer"
  9113. },
  9114. "curtdposition": {
  9115. "description": "期末今日头寸",
  9116. "type": "integer"
  9117. },
  9118. "decimalplace": {
  9119. "description": "报价小数位",
  9120. "type": "integer"
  9121. },
  9122. "enableqty": {
  9123. "description": "可用量",
  9124. "type": "integer"
  9125. },
  9126. "fretdposition": {
  9127. "description": "冻结今日头寸",
  9128. "type": "integer"
  9129. },
  9130. "frozenqty": {
  9131. "description": "持仓冻结数量",
  9132. "type": "integer"
  9133. },
  9134. "goodscode": {
  9135. "description": "商品代码",
  9136. "type": "string"
  9137. },
  9138. "goodsid": {
  9139. "description": "商品Id",
  9140. "type": "integer"
  9141. },
  9142. "goodsname": {
  9143. "description": "商品名称",
  9144. "type": "string"
  9145. },
  9146. "goodunit": {
  9147. "description": "报价单位",
  9148. "type": "string"
  9149. },
  9150. "goodunitid": {
  9151. "description": "报价单位ID",
  9152. "type": "integer"
  9153. },
  9154. "holderamount": {
  9155. "description": "期初持仓总金额[商品币种]",
  9156. "type": "number"
  9157. },
  9158. "marketid": {
  9159. "description": "所属市场ID",
  9160. "type": "integer"
  9161. },
  9162. "openreqqty": {
  9163. "description": "开仓申请数量(用于比较最大持仓数量)",
  9164. "type": "integer"
  9165. },
  9166. "opentotalqty": {
  9167. "description": "开仓总数量",
  9168. "type": "integer"
  9169. },
  9170. "otherfrozenqty": {
  9171. "description": "持仓其他冻结数量(交割冻结)",
  9172. "type": "integer"
  9173. },
  9174. "positionqty": {
  9175. "description": "期初持仓数量",
  9176. "type": "integer"
  9177. },
  9178. "tnqty": {
  9179. "description": "T+N冻结总量",
  9180. "type": "integer"
  9181. },
  9182. "tnusedqty": {
  9183. "description": "T+N使用量(可以使用T+N的冻结数量)",
  9184. "type": "integer"
  9185. },
  9186. "trademode": {
  9187. "description": "交易模式",
  9188. "type": "integer"
  9189. },
  9190. "usedmargin": {
  9191. "description": "占用保证金[商品币种]",
  9192. "type": "number"
  9193. }
  9194. }
  9195. },
  9196. "quote.HistoryData": {
  9197. "type": "object",
  9198. "properties": {
  9199. "c": {
  9200. "description": "收盘价",
  9201. "type": "number"
  9202. },
  9203. "h": {
  9204. "description": "最高价",
  9205. "type": "number"
  9206. },
  9207. "hv": {
  9208. "description": "持仓量",
  9209. "type": "integer"
  9210. },
  9211. "l": {
  9212. "description": "最低价",
  9213. "type": "number"
  9214. },
  9215. "o": {
  9216. "description": "开盘价",
  9217. "type": "number"
  9218. },
  9219. "s": {
  9220. "description": "结算价,日线周期(包括)以上才有",
  9221. "type": "number"
  9222. },
  9223. "ts": {
  9224. "description": "时间",
  9225. "type": "string"
  9226. },
  9227. "tt": {
  9228. "description": "总金额",
  9229. "type": "number"
  9230. },
  9231. "tv": {
  9232. "description": "总量",
  9233. "type": "integer"
  9234. }
  9235. }
  9236. },
  9237. "quote.QueryTSDataRsp": {
  9238. "type": "object",
  9239. "properties": {
  9240. "decimalPlace": {
  9241. "description": "小数位",
  9242. "type": "integer"
  9243. },
  9244. "endTime": {
  9245. "description": "结束时间",
  9246. "type": "string"
  9247. },
  9248. "goodsCode": {
  9249. "description": "商品代码",
  9250. "type": "string"
  9251. },
  9252. "historyDatas": {
  9253. "description": "历史数据",
  9254. "type": "array",
  9255. "items": {
  9256. "$ref": "#/definitions/quote.HistoryData"
  9257. }
  9258. },
  9259. "preSettle": {
  9260. "description": "昨结",
  9261. "type": "number"
  9262. },
  9263. "startTime": {
  9264. "description": "开始时间",
  9265. "type": "string"
  9266. },
  9267. "tradeDate": {
  9268. "description": "交易日",
  9269. "type": "string"
  9270. }
  9271. }
  9272. },
  9273. "szdz.QueryConvertLogRsp": {
  9274. "type": "object",
  9275. "required": [
  9276. "logid"
  9277. ],
  9278. "properties": {
  9279. "accountid": {
  9280. "description": "资金账户ID",
  9281. "type": "integer"
  9282. },
  9283. "clientticket": {
  9284. "description": "客户端流水号",
  9285. "type": "string"
  9286. },
  9287. "converttype": {
  9288. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  9289. "type": "integer"
  9290. },
  9291. "createtime": {
  9292. "description": "记账时间",
  9293. "type": "string"
  9294. },
  9295. "daymaxvalue": {
  9296. "description": "配置当日最大转入限制",
  9297. "type": "number"
  9298. },
  9299. "daymaxvalue2": {
  9300. "description": "配置当日最大转入限制(转入)",
  9301. "type": "number"
  9302. },
  9303. "goodscode": {
  9304. "description": "商品代码",
  9305. "type": "string"
  9306. },
  9307. "goodsname": {
  9308. "description": "商品名称",
  9309. "type": "string"
  9310. },
  9311. "handlestatus": {
  9312. "description": "处理状态",
  9313. "type": "integer"
  9314. },
  9315. "innergoodsid": {
  9316. "description": "内部商品ID",
  9317. "type": "integer"
  9318. },
  9319. "inratio": {
  9320. "description": "配置转入比值",
  9321. "type": "integer"
  9322. },
  9323. "invalue": {
  9324. "description": "目标值",
  9325. "type": "number"
  9326. },
  9327. "logid": {
  9328. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9329. "type": "integer"
  9330. },
  9331. "mobile": {
  9332. "description": "手机号码(加密存储)",
  9333. "type": "string"
  9334. },
  9335. "outergoodscode": {
  9336. "description": "外部商品代码[JD\\PD]",
  9337. "type": "string"
  9338. },
  9339. "outratio": {
  9340. "description": "配置转出比值",
  9341. "type": "integer"
  9342. },
  9343. "outvalue": {
  9344. "description": "源值",
  9345. "type": "number"
  9346. },
  9347. "pddecimalplace": {
  9348. "description": "PD小数位",
  9349. "type": "integer"
  9350. },
  9351. "qty": {
  9352. "description": "数量",
  9353. "type": "string"
  9354. },
  9355. "remark": {
  9356. "description": "备注",
  9357. "type": "string"
  9358. },
  9359. "sessionid": {
  9360. "description": "会话ID",
  9361. "type": "integer"
  9362. },
  9363. "timemaxvalue": {
  9364. "description": "配置单次最大转入限制",
  9365. "type": "number"
  9366. },
  9367. "timemaxvalue2": {
  9368. "description": "配置单次最大转入限制(转入)",
  9369. "type": "number"
  9370. },
  9371. "timeminvalue": {
  9372. "description": "配置单次最小数量限制",
  9373. "type": "number"
  9374. },
  9375. "timeminvalue2": {
  9376. "description": "配置单次最小数量限制(转入)",
  9377. "type": "number"
  9378. },
  9379. "tradedate": {
  9380. "description": "交易日(yyyyMMdd)",
  9381. "type": "string"
  9382. },
  9383. "userid": {
  9384. "description": "用户ID",
  9385. "type": "integer"
  9386. }
  9387. }
  9388. },
  9389. "szdz.QueryGoodsPickupRsp": {
  9390. "type": "object",
  9391. "required": [
  9392. "takeorderid"
  9393. ],
  9394. "properties": {
  9395. "accountid": {
  9396. "description": "账户ID",
  9397. "type": "integer"
  9398. },
  9399. "address": {
  9400. "description": "提货人详细地址",
  9401. "type": "string"
  9402. },
  9403. "auditer": {
  9404. "description": "审核人",
  9405. "type": "integer"
  9406. },
  9407. "audittime": {
  9408. "description": "审核时间",
  9409. "type": "string"
  9410. },
  9411. "cardnum": {
  9412. "description": "提货人证件号码",
  9413. "type": "string"
  9414. },
  9415. "cardtypeid": {
  9416. "description": "提货人证件类型",
  9417. "type": "integer"
  9418. },
  9419. "checkremark": {
  9420. "description": "审核备注",
  9421. "type": "string"
  9422. },
  9423. "goodscode": {
  9424. "description": "商品代码",
  9425. "type": "string"
  9426. },
  9427. "goodsid": {
  9428. "description": "商品ID",
  9429. "type": "integer"
  9430. },
  9431. "goodsname": {
  9432. "description": "商品名称",
  9433. "type": "string"
  9434. },
  9435. "handlestatus": {
  9436. "description": "处理状态",
  9437. "type": "integer"
  9438. },
  9439. "marketid": {
  9440. "description": "市场ID",
  9441. "type": "integer"
  9442. },
  9443. "phonenum": {
  9444. "description": "提货人联系方式",
  9445. "type": "string"
  9446. },
  9447. "qty": {
  9448. "description": "提货数量",
  9449. "type": "number"
  9450. },
  9451. "recivername": {
  9452. "description": "提货人姓名",
  9453. "type": "string"
  9454. },
  9455. "reqtime": {
  9456. "description": "更新时间",
  9457. "type": "string"
  9458. },
  9459. "takemode": {
  9460. "description": "提货方式 - 2:自提 3:配送",
  9461. "type": "integer"
  9462. },
  9463. "takeorderid": {
  9464. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  9465. "type": "string"
  9466. },
  9467. "takeorderstatus": {
  9468. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  9469. "type": "integer"
  9470. },
  9471. "takeremark": {
  9472. "description": "提货备注",
  9473. "type": "string"
  9474. },
  9475. "tradedate": {
  9476. "description": "交易日(yyyyMMdd)",
  9477. "type": "string"
  9478. },
  9479. "userid": {
  9480. "description": "用户ID",
  9481. "type": "integer"
  9482. }
  9483. }
  9484. },
  9485. "szdz.QueryRecieptOrderRsp": {
  9486. "type": "object",
  9487. "required": [
  9488. "ordertime"
  9489. ],
  9490. "properties": {
  9491. "accountName": {
  9492. "description": "所属账号名称(已脱敏)",
  9493. "type": "string"
  9494. },
  9495. "accountid": {
  9496. "description": "资金账号",
  9497. "type": "integer"
  9498. },
  9499. "buyorsell": {
  9500. "description": "方向 - 0:买 1:卖",
  9501. "type": "integer"
  9502. },
  9503. "enableqty": {
  9504. "description": "可摘数量",
  9505. "type": "integer"
  9506. },
  9507. "goodscode": {
  9508. "description": "商品代码",
  9509. "type": "string"
  9510. },
  9511. "goodsid": {
  9512. "description": "商品ID",
  9513. "type": "integer"
  9514. },
  9515. "goodsname": {
  9516. "description": "商品名称",
  9517. "type": "string"
  9518. },
  9519. "orderid": {
  9520. "description": "委托单号",
  9521. "type": "string"
  9522. },
  9523. "orderprice": {
  9524. "description": "委托价格",
  9525. "type": "number"
  9526. },
  9527. "ordertime": {
  9528. "description": "委托时间",
  9529. "type": "string"
  9530. },
  9531. "tradedate": {
  9532. "description": "交易日(yyyyMMdd)",
  9533. "type": "string"
  9534. }
  9535. }
  9536. },
  9537. "szdz.QuerySZDZTradePositionRsp": {
  9538. "type": "object",
  9539. "properties": {
  9540. "accountid": {
  9541. "description": "账号Id",
  9542. "type": "integer"
  9543. },
  9544. "agreeunit": {
  9545. "description": "合约单位",
  9546. "type": "number"
  9547. },
  9548. "averageprice": {
  9549. "description": "持仓均价",
  9550. "type": "number"
  9551. },
  9552. "buyorsell": {
  9553. "description": "方向 - 0:买 1:卖",
  9554. "type": "integer"
  9555. },
  9556. "closetotalqty": {
  9557. "description": "平仓总数量",
  9558. "type": "integer"
  9559. },
  9560. "curholderamount": {
  9561. "description": "当前持仓总金额",
  9562. "type": "number"
  9563. },
  9564. "curpositionqty": {
  9565. "description": "当前持仓总数量",
  9566. "type": "integer"
  9567. },
  9568. "currencyid": {
  9569. "description": "报价货币ID",
  9570. "type": "integer"
  9571. },
  9572. "curtdposition": {
  9573. "description": "期末今日头寸",
  9574. "type": "integer"
  9575. },
  9576. "decimalplace": {
  9577. "description": "报价小数位",
  9578. "type": "integer"
  9579. },
  9580. "enableqty": {
  9581. "description": "可用量",
  9582. "type": "integer"
  9583. },
  9584. "fretdposition": {
  9585. "description": "冻结今日头寸",
  9586. "type": "integer"
  9587. },
  9588. "frozenqty": {
  9589. "description": "持仓冻结数量",
  9590. "type": "integer"
  9591. },
  9592. "goodscode": {
  9593. "description": "商品代码(内部)",
  9594. "type": "string"
  9595. },
  9596. "goodsid": {
  9597. "description": "商品Id",
  9598. "type": "integer"
  9599. },
  9600. "goodsname": {
  9601. "description": "商品名称",
  9602. "type": "string"
  9603. },
  9604. "goodunit": {
  9605. "description": "报价单位",
  9606. "type": "string"
  9607. },
  9608. "goodunitid": {
  9609. "description": "报价单位ID",
  9610. "type": "integer"
  9611. },
  9612. "holderamount": {
  9613. "description": "期初持仓总金额",
  9614. "type": "number"
  9615. },
  9616. "marketid": {
  9617. "description": "市场ID",
  9618. "type": "integer"
  9619. },
  9620. "openreqqty": {
  9621. "description": "开仓申请数量",
  9622. "type": "integer"
  9623. },
  9624. "opentotalqty": {
  9625. "description": "开仓总数量",
  9626. "type": "integer"
  9627. },
  9628. "otherfrozenqty": {
  9629. "description": "持仓其他冻结数量(交割冻结)",
  9630. "type": "integer"
  9631. },
  9632. "positionqty": {
  9633. "description": "期初持仓数量",
  9634. "type": "integer"
  9635. },
  9636. "szdz3freezqty": {
  9637. "description": "尚志大宗转换冻结总数量",
  9638. "type": "integer"
  9639. },
  9640. "tnqty": {
  9641. "description": "T+N冻结总量",
  9642. "type": "integer"
  9643. },
  9644. "tnusedqty": {
  9645. "description": "T+N使用量",
  9646. "type": "integer"
  9647. },
  9648. "trademode": {
  9649. "description": "交易模式",
  9650. "type": "integer"
  9651. },
  9652. "usedmargin": {
  9653. "description": "占用保证金",
  9654. "type": "number"
  9655. }
  9656. }
  9657. },
  9658. "taaccount.QueryAmountLogRsp": {
  9659. "type": "object",
  9660. "required": [
  9661. "accountid",
  9662. "amount",
  9663. "amountadjusttype",
  9664. "autoid",
  9665. "balance",
  9666. "createtime",
  9667. "currentbalance",
  9668. "operatetype"
  9669. ],
  9670. "properties": {
  9671. "OPERATETYPENAME": {
  9672. "description": "资金操作类型名称",
  9673. "type": "string"
  9674. },
  9675. "accountid": {
  9676. "description": "资金账户ID",
  9677. "type": "integer"
  9678. },
  9679. "agoodscode": {
  9680. "description": "竞拍商品代码",
  9681. "type": "string"
  9682. },
  9683. "agoodsname": {
  9684. "description": "竞拍商品名称",
  9685. "type": "string"
  9686. },
  9687. "amount": {
  9688. "description": "资金金额",
  9689. "type": "number"
  9690. },
  9691. "amountadjusttype": {
  9692. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9693. "type": "integer"
  9694. },
  9695. "autoid": {
  9696. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9697. "type": "integer"
  9698. },
  9699. "balance": {
  9700. "description": "期初余额",
  9701. "type": "number"
  9702. },
  9703. "businesscode": {
  9704. "description": "业务编号",
  9705. "type": "integer"
  9706. },
  9707. "createtime": {
  9708. "description": "发生时间",
  9709. "type": "string"
  9710. },
  9711. "currencyid": {
  9712. "description": "币种ID",
  9713. "type": "integer"
  9714. },
  9715. "currentbalance": {
  9716. "description": "期末余额(变动后金额)",
  9717. "type": "number"
  9718. },
  9719. "dgoodscode": {
  9720. "description": "交割商品代码",
  9721. "type": "string"
  9722. },
  9723. "dgoodsname": {
  9724. "description": "交割商品名称",
  9725. "type": "string"
  9726. },
  9727. "goodscode": {
  9728. "description": "商品代码",
  9729. "type": "string"
  9730. },
  9731. "goodsid": {
  9732. "description": "商品ID",
  9733. "type": "integer"
  9734. },
  9735. "goodsname": {
  9736. "description": "商品名称",
  9737. "type": "string"
  9738. },
  9739. "marketid": {
  9740. "description": "市场ID",
  9741. "type": "integer"
  9742. },
  9743. "marketname": {
  9744. "description": "市场名称",
  9745. "type": "string"
  9746. },
  9747. "moneyticket": {
  9748. "description": "资金流水号:银行端流水号",
  9749. "type": "integer"
  9750. },
  9751. "operatetype": {
  9752. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9753. "type": "integer"
  9754. },
  9755. "relationorderid": {
  9756. "description": "关联单号",
  9757. "type": "string"
  9758. },
  9759. "remark": {
  9760. "description": "备注",
  9761. "type": "string"
  9762. },
  9763. "trademode": {
  9764. "description": "交易模式",
  9765. "type": "integer"
  9766. }
  9767. }
  9768. },
  9769. "taaccount.QueryHisAmountLogRsp": {
  9770. "type": "object",
  9771. "required": [
  9772. "accountid",
  9773. "amount",
  9774. "amountadjusttype",
  9775. "autoid",
  9776. "balance",
  9777. "createtime",
  9778. "currentbalance",
  9779. "histradedate",
  9780. "operatetype"
  9781. ],
  9782. "properties": {
  9783. "OPERATETYPENAME": {
  9784. "description": "资金操作类型名称",
  9785. "type": "string"
  9786. },
  9787. "accountid": {
  9788. "description": "资金账户ID",
  9789. "type": "integer"
  9790. },
  9791. "agoodscode": {
  9792. "description": "竞拍商品代码",
  9793. "type": "string"
  9794. },
  9795. "agoodsname": {
  9796. "description": "竞拍商品名称",
  9797. "type": "string"
  9798. },
  9799. "amount": {
  9800. "description": "资金金额",
  9801. "type": "number"
  9802. },
  9803. "amountadjusttype": {
  9804. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  9805. "type": "integer"
  9806. },
  9807. "autoid": {
  9808. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  9809. "type": "integer"
  9810. },
  9811. "balance": {
  9812. "description": "期初余额",
  9813. "type": "number"
  9814. },
  9815. "businesscode": {
  9816. "description": "业务编号",
  9817. "type": "integer"
  9818. },
  9819. "createtime": {
  9820. "description": "发生时间",
  9821. "type": "string"
  9822. },
  9823. "currencyid": {
  9824. "description": "币种ID",
  9825. "type": "integer"
  9826. },
  9827. "currentbalance": {
  9828. "description": "期末余额(变动后金额)",
  9829. "type": "number"
  9830. },
  9831. "dgoodscode": {
  9832. "description": "交割商品代码",
  9833. "type": "string"
  9834. },
  9835. "dgoodsname": {
  9836. "description": "交割商品名称",
  9837. "type": "string"
  9838. },
  9839. "goodscode": {
  9840. "description": "商品代码",
  9841. "type": "string"
  9842. },
  9843. "goodsid": {
  9844. "description": "商品ID",
  9845. "type": "integer"
  9846. },
  9847. "goodsname": {
  9848. "description": "商品名称",
  9849. "type": "string"
  9850. },
  9851. "histradedate": {
  9852. "description": "历史交易日",
  9853. "type": "string"
  9854. },
  9855. "isvaliddata": {
  9856. "description": "是否有效 - 0:无效 1:有效",
  9857. "type": "integer"
  9858. },
  9859. "marketid": {
  9860. "description": "市场ID",
  9861. "type": "integer"
  9862. },
  9863. "marketname": {
  9864. "description": "市场名称",
  9865. "type": "string"
  9866. },
  9867. "moneyticket": {
  9868. "description": "资金流水号:银行端流水号",
  9869. "type": "integer"
  9870. },
  9871. "operatetype": {
  9872. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  9873. "type": "integer"
  9874. },
  9875. "relationorderid": {
  9876. "description": "关联单号",
  9877. "type": "string"
  9878. },
  9879. "remark": {
  9880. "description": "备注",
  9881. "type": "string"
  9882. },
  9883. "trademode": {
  9884. "description": "交易模式",
  9885. "type": "integer"
  9886. }
  9887. }
  9888. },
  9889. "trade.QueryRecieptOrderRsp": {
  9890. "type": "object",
  9891. "required": [
  9892. "ordertime"
  9893. ],
  9894. "properties": {
  9895. "accountName": {
  9896. "description": "所属账号名称(已脱敏)",
  9897. "type": "string"
  9898. },
  9899. "accountid": {
  9900. "description": "资金账号",
  9901. "type": "integer"
  9902. },
  9903. "buyorsell": {
  9904. "description": "方向 - 0:买 1:卖",
  9905. "type": "integer"
  9906. },
  9907. "enableqty": {
  9908. "description": "可摘数量",
  9909. "type": "integer"
  9910. },
  9911. "goodscode": {
  9912. "description": "商品代码",
  9913. "type": "string"
  9914. },
  9915. "goodsid": {
  9916. "description": "商品ID",
  9917. "type": "integer"
  9918. },
  9919. "goodsname": {
  9920. "description": "商品名称",
  9921. "type": "string"
  9922. },
  9923. "orderid": {
  9924. "description": "委托单号",
  9925. "type": "string"
  9926. },
  9927. "orderprice": {
  9928. "description": "委托价格",
  9929. "type": "number"
  9930. },
  9931. "ordertime": {
  9932. "description": "委托时间",
  9933. "type": "string"
  9934. },
  9935. "tradedate": {
  9936. "description": "交易日(yyyyMMdd)",
  9937. "type": "string"
  9938. }
  9939. }
  9940. }
  9941. },
  9942. "securityDefinitions": {
  9943. "ApiKeyAuth": {
  9944. "type": "apiKey",
  9945. "name": "Authorization",
  9946. "in": "header"
  9947. }
  9948. }
  9949. }`
  9950. type swaggerInfo struct {
  9951. Version string
  9952. Host string
  9953. BasePath string
  9954. Schemes []string
  9955. Title string
  9956. Description string
  9957. }
  9958. // SwaggerInfo holds exported Swagger Info so clients can modify it
  9959. var SwaggerInfo = swaggerInfo{
  9960. Version: "1.0",
  9961. Host: "",
  9962. BasePath: "/api",
  9963. Schemes: []string{},
  9964. Title: "MTP2.0 查询服务 API",
  9965. Description: "新的查询服务,替代原通用查询服务。",
  9966. }
  9967. type s struct{}
  9968. func (s *s) ReadDoc() string {
  9969. sInfo := SwaggerInfo
  9970. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  9971. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  9972. "marshal": func(v interface{}) string {
  9973. a, _ := json.Marshal(v)
  9974. return string(a)
  9975. },
  9976. }).Parse(doc)
  9977. if err != nil {
  9978. return doc
  9979. }
  9980. var tpl bytes.Buffer
  9981. if err := t.Execute(&tpl, sInfo); err != nil {
  9982. return doc
  9983. }
  9984. return tpl.String()
  9985. }
  9986. func init() {
  9987. swag.Register(swag.Name, &s{})
  9988. }