docs.go 388 KB

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