docs.go 398 KB

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