docs.go 328 KB

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