docs.go 393 KB

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