docs.go 382 KB

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