docs.go 388 KB

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