docs.go 387 KB

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