docs.go 302 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396
  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/NoticeReaded": {
  368. "post": {
  369. "security": [
  370. {
  371. "ApiKeyAuth": []
  372. }
  373. ],
  374. "produces": [
  375. "application/json"
  376. ],
  377. "tags": [
  378. "通用服务"
  379. ],
  380. "summary": "通知公告设置已读请求",
  381. "parameters": [
  382. {
  383. "type": "integer",
  384. "description": "登录账号",
  385. "name": "loginID",
  386. "in": "query",
  387. "required": true
  388. },
  389. {
  390. "type": "integer",
  391. "description": "通知公告ID",
  392. "name": "noticeID",
  393. "in": "query",
  394. "required": true
  395. }
  396. ],
  397. "responses": {
  398. "200": {
  399. "description": "OK",
  400. "schema": {
  401. "$ref": "#/definitions/app.Response"
  402. }
  403. },
  404. "500": {
  405. "description": "Internal Server Error",
  406. "schema": {
  407. "$ref": "#/definitions/app.Response"
  408. }
  409. }
  410. }
  411. }
  412. },
  413. "/Common/QueryImageConfigs": {
  414. "get": {
  415. "produces": [
  416. "application/json"
  417. ],
  418. "tags": [
  419. "通用服务"
  420. ],
  421. "summary": "查询轮播图配置信息",
  422. "parameters": [
  423. {
  424. "type": "integer",
  425. "description": "类型 - 1:App首页轮播 2:我的",
  426. "name": "imageType",
  427. "in": "query"
  428. }
  429. ],
  430. "responses": {
  431. "200": {
  432. "description": "OK",
  433. "schema": {
  434. "$ref": "#/definitions/models.Szdz2imageconfig"
  435. }
  436. },
  437. "500": {
  438. "description": "Internal Server Error",
  439. "schema": {
  440. "$ref": "#/definitions/app.Response"
  441. }
  442. }
  443. }
  444. }
  445. },
  446. "/Common/QueryNotice": {
  447. "get": {
  448. "security": [
  449. {
  450. "ApiKeyAuth": []
  451. }
  452. ],
  453. "produces": [
  454. "application/json"
  455. ],
  456. "tags": [
  457. "通用服务"
  458. ],
  459. "summary": "通知公告系统消息查询",
  460. "parameters": [
  461. {
  462. "type": "integer",
  463. "description": "页码",
  464. "name": "page",
  465. "in": "query"
  466. },
  467. {
  468. "type": "integer",
  469. "description": "每页条数",
  470. "name": "pagesize",
  471. "in": "query"
  472. },
  473. {
  474. "type": "integer",
  475. "description": "登录账号",
  476. "name": "loginID",
  477. "in": "query",
  478. "required": true
  479. },
  480. {
  481. "type": "integer",
  482. "description": "消息类型 - 1:公告通知 2:系统消息",
  483. "name": "msgType",
  484. "in": "query"
  485. },
  486. {
  487. "type": "boolean",
  488. "description": "是否只获取未读信息",
  489. "name": "onlyUnRead",
  490. "in": "query"
  491. }
  492. ],
  493. "responses": {
  494. "200": {
  495. "description": "OK",
  496. "schema": {
  497. "$ref": "#/definitions/common.QueryNoticeRsp"
  498. }
  499. },
  500. "500": {
  501. "description": "Internal Server Error",
  502. "schema": {
  503. "$ref": "#/definitions/app.Response"
  504. }
  505. }
  506. }
  507. }
  508. },
  509. "/Common/QueryProvincesAndCities": {
  510. "get": {
  511. "produces": [
  512. "application/json"
  513. ],
  514. "tags": [
  515. "通用服务"
  516. ],
  517. "summary": "查询省市信息(不包括区)",
  518. "parameters": [
  519. {
  520. "type": "integer",
  521. "description": "省ID",
  522. "name": "provinceID",
  523. "in": "query"
  524. }
  525. ],
  526. "responses": {
  527. "200": {
  528. "description": "OK",
  529. "schema": {
  530. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  531. }
  532. },
  533. "500": {
  534. "description": "Internal Server Error",
  535. "schema": {
  536. "$ref": "#/definitions/app.Response"
  537. }
  538. }
  539. }
  540. }
  541. },
  542. "/Common/QueryTableDefine": {
  543. "get": {
  544. "produces": [
  545. "application/json"
  546. ],
  547. "tags": [
  548. "通用服务"
  549. ],
  550. "summary": "查询交易端列表头信息",
  551. "parameters": [
  552. {
  553. "type": "string",
  554. "description": "表key",
  555. "name": "TableKey",
  556. "in": "query"
  557. }
  558. ],
  559. "responses": {
  560. "200": {
  561. "description": "OK",
  562. "schema": {
  563. "$ref": "#/definitions/common.QueryTableDefineRsp"
  564. }
  565. },
  566. "500": {
  567. "description": "Internal Server Error",
  568. "schema": {
  569. "$ref": "#/definitions/app.Response"
  570. }
  571. }
  572. }
  573. }
  574. },
  575. "/Common/QueryTraderMenu": {
  576. "get": {
  577. "produces": [
  578. "application/json"
  579. ],
  580. "tags": [
  581. "通用服务"
  582. ],
  583. "summary": "查询交易端菜单",
  584. "parameters": [
  585. {
  586. "type": "integer",
  587. "description": "登录账号",
  588. "name": "loginid",
  589. "in": "query",
  590. "required": true
  591. }
  592. ],
  593. "responses": {
  594. "200": {
  595. "description": "OK",
  596. "schema": {
  597. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  598. }
  599. },
  600. "500": {
  601. "description": "Internal Server Error",
  602. "schema": {
  603. "$ref": "#/definitions/app.Response"
  604. }
  605. }
  606. }
  607. }
  608. },
  609. "/Delivery/QueryDeliveryRelation": {
  610. "get": {
  611. "security": [
  612. {
  613. "ApiKeyAuth": []
  614. }
  615. ],
  616. "produces": [
  617. "application/json"
  618. ],
  619. "tags": [
  620. "交割服务"
  621. ],
  622. "summary": "查询商品交割关系表",
  623. "parameters": [
  624. {
  625. "type": "integer",
  626. "description": "商品ID",
  627. "name": "goodsid",
  628. "in": "query"
  629. },
  630. {
  631. "type": "integer",
  632. "description": "品种ID",
  633. "name": "deliverygoodsid",
  634. "in": "query"
  635. },
  636. {
  637. "type": "integer",
  638. "description": "市场ID",
  639. "name": "marketid",
  640. "in": "query"
  641. }
  642. ],
  643. "responses": {
  644. "200": {
  645. "description": "OK",
  646. "schema": {
  647. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  648. }
  649. },
  650. "500": {
  651. "description": "Internal Server Error",
  652. "schema": {
  653. "$ref": "#/definitions/app.Response"
  654. }
  655. }
  656. }
  657. }
  658. },
  659. "/Erms2/QueryArbitrageStrategy": {
  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": "userid",
  678. "in": "query",
  679. "required": true
  680. },
  681. {
  682. "type": "string",
  683. "description": "商品组ID(品种ID)",
  684. "name": "goodsgroupid",
  685. "in": "query"
  686. }
  687. ],
  688. "responses": {
  689. "200": {
  690. "description": "OK",
  691. "schema": {
  692. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  693. }
  694. },
  695. "500": {
  696. "description": "Internal Server Error",
  697. "schema": {
  698. "$ref": "#/definitions/app.Response"
  699. }
  700. }
  701. }
  702. }
  703. },
  704. "/Erms2/QueryInnerTradeDetail": {
  705. "get": {
  706. "security": [
  707. {
  708. "ApiKeyAuth": []
  709. }
  710. ],
  711. "produces": [
  712. "application/json"
  713. ],
  714. "tags": [
  715. "风险管理"
  716. ],
  717. "summary": "查询内部成交单信息",
  718. "parameters": [
  719. {
  720. "type": "integer",
  721. "description": "资金账户",
  722. "name": "accountid",
  723. "in": "query",
  724. "required": true
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Erms2/QuerySpotContract": {
  744. "get": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "风险管理"
  755. ],
  756. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "策略申请ID",
  761. "name": "asapplyid",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "现货合同ID",
  768. "name": "spotcontractid",
  769. "in": "query"
  770. }
  771. ],
  772. "responses": {
  773. "200": {
  774. "description": "OK",
  775. "schema": {
  776. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  777. }
  778. },
  779. "500": {
  780. "description": "Internal Server Error",
  781. "schema": {
  782. "$ref": "#/definitions/app.Response"
  783. }
  784. }
  785. }
  786. }
  787. },
  788. "/Erms3/AddSpotContractApply": {
  789. "post": {
  790. "security": [
  791. {
  792. "ApiKeyAuth": []
  793. }
  794. ],
  795. "produces": [
  796. "application/json"
  797. ],
  798. "tags": [
  799. "风险管理v3"
  800. ],
  801. "summary": "新增现货合同申请",
  802. "parameters": [
  803. {
  804. "description": "申请参数",
  805. "name": "jsonBody",
  806. "in": "body",
  807. "required": true,
  808. "schema": {
  809. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  810. }
  811. }
  812. ],
  813. "responses": {
  814. "200": {
  815. "description": "OK",
  816. "schema": {
  817. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  818. }
  819. },
  820. "500": {
  821. "description": "Internal Server Error",
  822. "schema": {
  823. "$ref": "#/definitions/app.Response"
  824. }
  825. }
  826. }
  827. }
  828. },
  829. "/Erms3/QuerySpotContractAppleForm": {
  830. "get": {
  831. "security": [
  832. {
  833. "ApiKeyAuth": []
  834. }
  835. ],
  836. "produces": [
  837. "application/json"
  838. ],
  839. "tags": [
  840. "风险管理v3"
  841. ],
  842. "summary": "查询合同申请表单数据",
  843. "parameters": [
  844. {
  845. "type": "integer",
  846. "description": "用户ID",
  847. "name": "userID",
  848. "in": "query",
  849. "required": true
  850. }
  851. ],
  852. "responses": {
  853. "200": {
  854. "description": "OK",
  855. "schema": {
  856. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  857. }
  858. },
  859. "500": {
  860. "description": "Internal Server Error",
  861. "schema": {
  862. "$ref": "#/definitions/app.Response"
  863. }
  864. }
  865. }
  866. }
  867. },
  868. "/Erms3/QuerySpotContractDetail": {
  869. "get": {
  870. "security": [
  871. {
  872. "ApiKeyAuth": []
  873. }
  874. ],
  875. "produces": [
  876. "application/json"
  877. ],
  878. "tags": [
  879. "风险管理v3"
  880. ],
  881. "summary": "查询合同详细信息",
  882. "parameters": [
  883. {
  884. "type": "string",
  885. "description": "资金账号ID列表,用逗号分隔",
  886. "name": "accountids",
  887. "in": "query",
  888. "required": true
  889. },
  890. {
  891. "type": "integer",
  892. "description": "合同类型,1为采购合同 -1为销售合同",
  893. "name": "contracttype",
  894. "in": "query",
  895. "required": true
  896. },
  897. {
  898. "type": "integer",
  899. "description": "合同模式,1为普通合同 2为回购销售合同",
  900. "name": "contractmode",
  901. "in": "query",
  902. "required": true
  903. },
  904. {
  905. "type": "integer",
  906. "description": "状态,0为履约中 1为已完成",
  907. "name": "status",
  908. "in": "query",
  909. "required": true
  910. }
  911. ],
  912. "responses": {
  913. "200": {
  914. "description": "OK",
  915. "schema": {
  916. "type": "array",
  917. "items": {
  918. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  919. }
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/HSBY/GetHsbyMyCount": {
  932. "get": {
  933. "security": [
  934. {
  935. "ApiKeyAuth": []
  936. }
  937. ],
  938. "description": "说明: 不包括已完成的数量。",
  939. "produces": [
  940. "application/json"
  941. ],
  942. "tags": [
  943. "定制【海商报业】"
  944. ],
  945. "summary": "获取我的订单与包裹数量",
  946. "parameters": [
  947. {
  948. "type": "string",
  949. "description": "资金账户列表,格式:1,2,3",
  950. "name": "accountIDs",
  951. "in": "query",
  952. "required": true
  953. }
  954. ],
  955. "responses": {
  956. "200": {
  957. "description": "OK",
  958. "schema": {
  959. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  960. }
  961. },
  962. "500": {
  963. "description": "Internal Server Error",
  964. "schema": {
  965. "$ref": "#/definitions/app.Response"
  966. }
  967. }
  968. }
  969. }
  970. },
  971. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  972. "get": {
  973. "security": [
  974. {
  975. "ApiKeyAuth": []
  976. }
  977. ],
  978. "produces": [
  979. "application/json"
  980. ],
  981. "tags": [
  982. "定制【海商报业】"
  983. ],
  984. "summary": "查询\"我的订单 - 已完成\"单据信息",
  985. "parameters": [
  986. {
  987. "type": "integer",
  988. "description": "页码",
  989. "name": "page",
  990. "in": "query"
  991. },
  992. {
  993. "type": "integer",
  994. "description": "每页条数",
  995. "name": "pagesize",
  996. "in": "query"
  997. },
  998. {
  999. "type": "string",
  1000. "description": "资金账户列表,格式:1,2,3",
  1001. "name": "accountIDs",
  1002. "in": "query",
  1003. "required": true
  1004. }
  1005. ],
  1006. "responses": {
  1007. "200": {
  1008. "description": "OK",
  1009. "schema": {
  1010. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1011. }
  1012. },
  1013. "500": {
  1014. "description": "Internal Server Error",
  1015. "schema": {
  1016. "$ref": "#/definitions/app.Response"
  1017. }
  1018. }
  1019. }
  1020. }
  1021. },
  1022. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1023. "get": {
  1024. "security": [
  1025. {
  1026. "ApiKeyAuth": []
  1027. }
  1028. ],
  1029. "description": "说明:查询结果已按委托价格和委托时间排序",
  1030. "produces": [
  1031. "application/json"
  1032. ],
  1033. "tags": [
  1034. "定制【海商报业】"
  1035. ],
  1036. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1037. "parameters": [
  1038. {
  1039. "type": "integer",
  1040. "description": "商品ID",
  1041. "name": "goodsID",
  1042. "in": "query",
  1043. "required": true
  1044. },
  1045. {
  1046. "type": "string",
  1047. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1048. "name": "accountIDs",
  1049. "in": "query",
  1050. "required": true
  1051. },
  1052. {
  1053. "type": "integer",
  1054. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1055. "name": "buyOrSell",
  1056. "in": "query"
  1057. },
  1058. {
  1059. "type": "number",
  1060. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1061. "name": "price",
  1062. "in": "query"
  1063. },
  1064. {
  1065. "type": "integer",
  1066. "description": "档位,不传则默认为3档",
  1067. "name": "speed",
  1068. "in": "query"
  1069. }
  1070. ],
  1071. "responses": {
  1072. "200": {
  1073. "description": "OK",
  1074. "schema": {
  1075. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1076. }
  1077. },
  1078. "500": {
  1079. "description": "Internal Server Error",
  1080. "schema": {
  1081. "$ref": "#/definitions/app.Response"
  1082. }
  1083. }
  1084. }
  1085. }
  1086. },
  1087. "/HSBY/QueryHsbyListingGoodsDetail": {
  1088. "get": {
  1089. "security": [
  1090. {
  1091. "ApiKeyAuth": []
  1092. }
  1093. ],
  1094. "produces": [
  1095. "application/json"
  1096. ],
  1097. "tags": [
  1098. "定制【海商报业】"
  1099. ],
  1100. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1101. "parameters": [
  1102. {
  1103. "type": "integer",
  1104. "description": "商品ID",
  1105. "name": "goodsID",
  1106. "in": "query",
  1107. "required": true
  1108. },
  1109. {
  1110. "type": "integer",
  1111. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1112. "name": "AccountID",
  1113. "in": "query"
  1114. }
  1115. ],
  1116. "responses": {
  1117. "200": {
  1118. "description": "OK",
  1119. "schema": {
  1120. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1121. }
  1122. },
  1123. "500": {
  1124. "description": "Internal Server Error",
  1125. "schema": {
  1126. "$ref": "#/definitions/app.Response"
  1127. }
  1128. }
  1129. }
  1130. }
  1131. },
  1132. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  1133. "get": {
  1134. "security": [
  1135. {
  1136. "ApiKeyAuth": []
  1137. }
  1138. ],
  1139. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  1140. "produces": [
  1141. "application/json"
  1142. ],
  1143. "tags": [
  1144. "定制【海商报业】"
  1145. ],
  1146. "summary": "查询“我的订单”信息",
  1147. "parameters": [
  1148. {
  1149. "type": "string",
  1150. "description": "资金账户列表,格式:1,2,3",
  1151. "name": "accountIDs",
  1152. "in": "query",
  1153. "required": true
  1154. },
  1155. {
  1156. "type": "integer",
  1157. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  1158. "name": "myBuyStatus",
  1159. "in": "query"
  1160. }
  1161. ],
  1162. "responses": {
  1163. "200": {
  1164. "description": "OK",
  1165. "schema": {
  1166. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  1167. }
  1168. },
  1169. "500": {
  1170. "description": "Internal Server Error",
  1171. "schema": {
  1172. "$ref": "#/definitions/app.Response"
  1173. }
  1174. }
  1175. }
  1176. }
  1177. },
  1178. "/HSBY/QueryHsbyMyGoods": {
  1179. "get": {
  1180. "security": [
  1181. {
  1182. "ApiKeyAuth": []
  1183. }
  1184. ],
  1185. "produces": [
  1186. "application/json"
  1187. ],
  1188. "tags": [
  1189. "定制【海商报业】"
  1190. ],
  1191. "summary": "查询“我的商品”信息",
  1192. "parameters": [
  1193. {
  1194. "type": "string",
  1195. "description": "资金账户列表,格式:1,2,3",
  1196. "name": "accountIDs",
  1197. "in": "query",
  1198. "required": true
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "$ref": "#/definitions/models.HsbyMyGoods"
  1206. }
  1207. },
  1208. "500": {
  1209. "description": "Internal Server Error",
  1210. "schema": {
  1211. "$ref": "#/definitions/app.Response"
  1212. }
  1213. }
  1214. }
  1215. }
  1216. },
  1217. "/HSBY/QueryHsbyMyPackages": {
  1218. "get": {
  1219. "security": [
  1220. {
  1221. "ApiKeyAuth": []
  1222. }
  1223. ],
  1224. "produces": [
  1225. "application/json"
  1226. ],
  1227. "tags": [
  1228. "定制【海商报业】"
  1229. ],
  1230. "summary": "查询我的包裹信息",
  1231. "parameters": [
  1232. {
  1233. "type": "string",
  1234. "description": "资金账户列表,格式:1,2,3",
  1235. "name": "accountIDs",
  1236. "in": "query",
  1237. "required": true
  1238. },
  1239. {
  1240. "type": "integer",
  1241. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  1242. "name": "takeOrderStatus",
  1243. "in": "query"
  1244. }
  1245. ],
  1246. "responses": {
  1247. "200": {
  1248. "description": "OK",
  1249. "schema": {
  1250. "$ref": "#/definitions/models.HsbyMyPackage"
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/app.Response"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/HSBY/QueryHsbyPreGoodsDetail": {
  1263. "get": {
  1264. "security": [
  1265. {
  1266. "ApiKeyAuth": []
  1267. }
  1268. ],
  1269. "produces": [
  1270. "application/json"
  1271. ],
  1272. "tags": [
  1273. "定制【海商报业】"
  1274. ],
  1275. "summary": "查询一级市场(产能预售)商品信息详情",
  1276. "parameters": [
  1277. {
  1278. "type": "integer",
  1279. "description": "商品ID",
  1280. "name": "goodsID",
  1281. "in": "query",
  1282. "required": true
  1283. },
  1284. {
  1285. "type": "integer",
  1286. "description": "资金账户,主要用于获取预售商品购买上限",
  1287. "name": "accountID",
  1288. "in": "query",
  1289. "required": true
  1290. }
  1291. ],
  1292. "responses": {
  1293. "200": {
  1294. "description": "OK",
  1295. "schema": {
  1296. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  1297. }
  1298. },
  1299. "500": {
  1300. "description": "Internal Server Error",
  1301. "schema": {
  1302. "$ref": "#/definitions/app.Response"
  1303. }
  1304. }
  1305. }
  1306. }
  1307. },
  1308. "/HSBY/QueryHsbyPreGoodses": {
  1309. "get": {
  1310. "security": [
  1311. {
  1312. "ApiKeyAuth": []
  1313. }
  1314. ],
  1315. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  1316. "produces": [
  1317. "application/json"
  1318. ],
  1319. "tags": [
  1320. "定制【海商报业】"
  1321. ],
  1322. "summary": "查询新品上市商品列表(一级市场产能预售)",
  1323. "parameters": [
  1324. {
  1325. "type": "integer",
  1326. "description": "页码",
  1327. "name": "page",
  1328. "in": "query"
  1329. },
  1330. {
  1331. "type": "integer",
  1332. "description": "每页条数",
  1333. "name": "pagesize",
  1334. "in": "query"
  1335. },
  1336. {
  1337. "type": "string",
  1338. "description": "市场ID列表,格式:1,2,3",
  1339. "name": "marketIDs",
  1340. "in": "query",
  1341. "required": true
  1342. },
  1343. {
  1344. "type": "integer",
  1345. "description": "目的地(省)ID",
  1346. "name": "descProvinceID",
  1347. "in": "query"
  1348. },
  1349. {
  1350. "type": "integer",
  1351. "description": "目的地(市)ID",
  1352. "name": "descCityID",
  1353. "in": "query"
  1354. }
  1355. ],
  1356. "responses": {
  1357. "200": {
  1358. "description": "OK",
  1359. "schema": {
  1360. "$ref": "#/definitions/models.HsbyPreGoods"
  1361. }
  1362. },
  1363. "500": {
  1364. "description": "Internal Server Error",
  1365. "schema": {
  1366. "$ref": "#/definitions/app.Response"
  1367. }
  1368. }
  1369. }
  1370. }
  1371. },
  1372. "/HSBY/QueryHsbySellMyDetails": {
  1373. "get": {
  1374. "security": [
  1375. {
  1376. "ApiKeyAuth": []
  1377. }
  1378. ],
  1379. "description": "说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  1380. "produces": [
  1381. "application/json"
  1382. ],
  1383. "tags": [
  1384. "定制【海商报业】"
  1385. ],
  1386. "summary": "查询\"我的闲置\"单据信息",
  1387. "parameters": [
  1388. {
  1389. "type": "integer",
  1390. "description": "页码",
  1391. "name": "page",
  1392. "in": "query"
  1393. },
  1394. {
  1395. "type": "integer",
  1396. "description": "每页条数",
  1397. "name": "pagesize",
  1398. "in": "query"
  1399. },
  1400. {
  1401. "type": "string",
  1402. "description": "资金账户列表,格式:1,2,3",
  1403. "name": "accountIDs",
  1404. "in": "query",
  1405. "required": true
  1406. },
  1407. {
  1408. "type": "integer",
  1409. "description": "单据类型:0 - 已发布(默认), 1 - 已完成",
  1410. "name": "orderType",
  1411. "in": "query"
  1412. }
  1413. ],
  1414. "responses": {
  1415. "200": {
  1416. "description": "OK",
  1417. "schema": {
  1418. "$ref": "#/definitions/models.HsbySellMyDetail"
  1419. }
  1420. },
  1421. "500": {
  1422. "description": "Internal Server Error",
  1423. "schema": {
  1424. "$ref": "#/definitions/app.Response"
  1425. }
  1426. }
  1427. }
  1428. }
  1429. },
  1430. "/HSBY/QueryHsbyTopGoodses": {
  1431. "get": {
  1432. "security": [
  1433. {
  1434. "ApiKeyAuth": []
  1435. }
  1436. ],
  1437. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  1438. "produces": [
  1439. "application/json"
  1440. ],
  1441. "tags": [
  1442. "定制【海商报业】"
  1443. ],
  1444. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  1445. "parameters": [
  1446. {
  1447. "type": "integer",
  1448. "description": "页码",
  1449. "name": "page",
  1450. "in": "query"
  1451. },
  1452. {
  1453. "type": "integer",
  1454. "description": "每页条数",
  1455. "name": "pagesize",
  1456. "in": "query"
  1457. },
  1458. {
  1459. "type": "string",
  1460. "description": "市场ID列表,格式:1,2,3",
  1461. "name": "marketIDs",
  1462. "in": "query",
  1463. "required": true
  1464. },
  1465. {
  1466. "type": "integer",
  1467. "description": "目的地(省)ID",
  1468. "name": "descProvinceID",
  1469. "in": "query"
  1470. },
  1471. {
  1472. "type": "integer",
  1473. "description": "目的地(市)ID",
  1474. "name": "descCityID",
  1475. "in": "query"
  1476. }
  1477. ],
  1478. "responses": {
  1479. "200": {
  1480. "description": "OK",
  1481. "schema": {
  1482. "$ref": "#/definitions/models.HsbyTopGoods"
  1483. }
  1484. },
  1485. "500": {
  1486. "description": "Internal Server Error",
  1487. "schema": {
  1488. "$ref": "#/definitions/app.Response"
  1489. }
  1490. }
  1491. }
  1492. }
  1493. },
  1494. "/HSBY/QueryProvincesAndCities": {
  1495. "get": {
  1496. "security": [
  1497. {
  1498. "ApiKeyAuth": []
  1499. }
  1500. ],
  1501. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  1502. "produces": [
  1503. "application/json"
  1504. ],
  1505. "tags": [
  1506. "定制【海商报业】"
  1507. ],
  1508. "summary": "查询省市信息(不包括区)",
  1509. "parameters": [
  1510. {
  1511. "type": "integer",
  1512. "description": "省ID",
  1513. "name": "provinceID",
  1514. "in": "query"
  1515. }
  1516. ],
  1517. "responses": {
  1518. "200": {
  1519. "description": "OK",
  1520. "schema": {
  1521. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  1522. }
  1523. },
  1524. "500": {
  1525. "description": "Internal Server Error",
  1526. "schema": {
  1527. "$ref": "#/definitions/app.Response"
  1528. }
  1529. }
  1530. }
  1531. }
  1532. },
  1533. "/HSBY/SetHsbyMyPackagesStatus": {
  1534. "post": {
  1535. "security": [
  1536. {
  1537. "ApiKeyAuth": []
  1538. }
  1539. ],
  1540. "produces": [
  1541. "application/json"
  1542. ],
  1543. "tags": [
  1544. "定制【海商报业】"
  1545. ],
  1546. "summary": "设置我的包裹已收货状态",
  1547. "parameters": [
  1548. {
  1549. "type": "string",
  1550. "description": "提货单号",
  1551. "name": "takeOrderID",
  1552. "in": "query",
  1553. "required": true
  1554. },
  1555. {
  1556. "type": "integer",
  1557. "description": "资金账号",
  1558. "name": "accountID",
  1559. "in": "query",
  1560. "required": true
  1561. }
  1562. ],
  1563. "responses": {
  1564. "200": {
  1565. "description": "OK",
  1566. "schema": {
  1567. "$ref": "#/definitions/app.Response"
  1568. }
  1569. },
  1570. "500": {
  1571. "description": "Internal Server Error",
  1572. "schema": {
  1573. "$ref": "#/definitions/app.Response"
  1574. }
  1575. }
  1576. }
  1577. }
  1578. },
  1579. "/Order/QueryHisTradeDetail": {
  1580. "get": {
  1581. "security": [
  1582. {
  1583. "ApiKeyAuth": []
  1584. }
  1585. ],
  1586. "produces": [
  1587. "application/json"
  1588. ],
  1589. "tags": [
  1590. "通用单据"
  1591. ],
  1592. "summary": "历史成交单查询(合约市场)",
  1593. "parameters": [
  1594. {
  1595. "type": "string",
  1596. "description": "资金账户 - 格式:1,2,3",
  1597. "name": "accountID",
  1598. "in": "query",
  1599. "required": true
  1600. },
  1601. {
  1602. "type": "integer",
  1603. "description": "成交单号",
  1604. "name": "tradeID",
  1605. "in": "query"
  1606. },
  1607. {
  1608. "type": "integer",
  1609. "description": "委托单号",
  1610. "name": "orderID",
  1611. "in": "query"
  1612. },
  1613. {
  1614. "type": "string",
  1615. "description": "交易模式 - 格式:1,2,3",
  1616. "name": "tradeMode",
  1617. "in": "query"
  1618. },
  1619. {
  1620. "type": "integer",
  1621. "description": "委托单据类型",
  1622. "name": "buildType",
  1623. "in": "query"
  1624. },
  1625. {
  1626. "type": "string",
  1627. "description": "成交类别 - 格式:1,2,3",
  1628. "name": "tradeType",
  1629. "in": "query"
  1630. },
  1631. {
  1632. "type": "string",
  1633. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1634. "name": "startDate",
  1635. "in": "query"
  1636. },
  1637. {
  1638. "type": "string",
  1639. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1640. "name": "endDate",
  1641. "in": "query"
  1642. }
  1643. ],
  1644. "responses": {
  1645. "200": {
  1646. "description": "OK",
  1647. "schema": {
  1648. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  1649. }
  1650. },
  1651. "500": {
  1652. "description": "Internal Server Error",
  1653. "schema": {
  1654. "$ref": "#/definitions/app.Response"
  1655. }
  1656. }
  1657. }
  1658. }
  1659. },
  1660. "/Order/QueryHisTradeOrderDetail": {
  1661. "get": {
  1662. "security": [
  1663. {
  1664. "ApiKeyAuth": []
  1665. }
  1666. ],
  1667. "produces": [
  1668. "application/json"
  1669. ],
  1670. "tags": [
  1671. "通用单据"
  1672. ],
  1673. "summary": "历史委托单查询请求(合约市场)",
  1674. "parameters": [
  1675. {
  1676. "type": "string",
  1677. "description": "资金账户 - 格式:1,2,3",
  1678. "name": "accountID",
  1679. "in": "query",
  1680. "required": true
  1681. },
  1682. {
  1683. "type": "string",
  1684. "description": "交易模式 - 格式:1,2,3",
  1685. "name": "tradeMode",
  1686. "in": "query"
  1687. },
  1688. {
  1689. "type": "string",
  1690. "description": "委托状态 - 格式:1,2,3",
  1691. "name": "orderStatus",
  1692. "in": "query"
  1693. },
  1694. {
  1695. "type": "integer",
  1696. "description": "委托单号",
  1697. "name": "orderID",
  1698. "in": "query"
  1699. },
  1700. {
  1701. "type": "string",
  1702. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1703. "name": "startDate",
  1704. "in": "query"
  1705. },
  1706. {
  1707. "type": "string",
  1708. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1709. "name": "endDate",
  1710. "in": "query"
  1711. }
  1712. ],
  1713. "responses": {
  1714. "200": {
  1715. "description": "OK",
  1716. "schema": {
  1717. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  1718. }
  1719. },
  1720. "500": {
  1721. "description": "Internal Server Error",
  1722. "schema": {
  1723. "$ref": "#/definitions/app.Response"
  1724. }
  1725. }
  1726. }
  1727. }
  1728. },
  1729. "/Order/QueryTradeDetail": {
  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": "accountID",
  1748. "in": "query",
  1749. "required": true
  1750. },
  1751. {
  1752. "type": "integer",
  1753. "description": "成交单号",
  1754. "name": "tradeID",
  1755. "in": "query"
  1756. },
  1757. {
  1758. "type": "integer",
  1759. "description": "委托单号",
  1760. "name": "orderID",
  1761. "in": "query"
  1762. },
  1763. {
  1764. "type": "string",
  1765. "description": "交易模式 - 格式:1,2,3",
  1766. "name": "tradeMode",
  1767. "in": "query"
  1768. },
  1769. {
  1770. "type": "integer",
  1771. "description": "委托单据类型",
  1772. "name": "buildType",
  1773. "in": "query"
  1774. },
  1775. {
  1776. "type": "string",
  1777. "description": "成交类别 - 格式:1,2,3",
  1778. "name": "tradeType",
  1779. "in": "query"
  1780. }
  1781. ],
  1782. "responses": {
  1783. "200": {
  1784. "description": "OK",
  1785. "schema": {
  1786. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  1787. }
  1788. },
  1789. "500": {
  1790. "description": "Internal Server Error",
  1791. "schema": {
  1792. "$ref": "#/definitions/app.Response"
  1793. }
  1794. }
  1795. }
  1796. }
  1797. },
  1798. "/Order/QueryTradeOrderDetail": {
  1799. "get": {
  1800. "security": [
  1801. {
  1802. "ApiKeyAuth": []
  1803. }
  1804. ],
  1805. "produces": [
  1806. "application/json"
  1807. ],
  1808. "tags": [
  1809. "通用单据"
  1810. ],
  1811. "summary": "委托单查询请求(合约市场)",
  1812. "parameters": [
  1813. {
  1814. "type": "string",
  1815. "description": "资金账户 - 格式:1,2,3",
  1816. "name": "accountID",
  1817. "in": "query",
  1818. "required": true
  1819. },
  1820. {
  1821. "type": "string",
  1822. "description": "交易模式 - 格式:1,2,3",
  1823. "name": "tradeMode",
  1824. "in": "query"
  1825. },
  1826. {
  1827. "type": "string",
  1828. "description": "委托状态 - 格式:1,2,3",
  1829. "name": "orderStatus",
  1830. "in": "query"
  1831. },
  1832. {
  1833. "type": "integer",
  1834. "description": "委托单号",
  1835. "name": "orderID",
  1836. "in": "query"
  1837. }
  1838. ],
  1839. "responses": {
  1840. "200": {
  1841. "description": "OK",
  1842. "schema": {
  1843. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  1844. }
  1845. },
  1846. "500": {
  1847. "description": "Internal Server Error",
  1848. "schema": {
  1849. "$ref": "#/definitions/app.Response"
  1850. }
  1851. }
  1852. }
  1853. }
  1854. },
  1855. "/Order/QueryTradePosition": {
  1856. "get": {
  1857. "security": [
  1858. {
  1859. "ApiKeyAuth": []
  1860. }
  1861. ],
  1862. "produces": [
  1863. "application/json"
  1864. ],
  1865. "tags": [
  1866. "通用单据"
  1867. ],
  1868. "summary": "持仓汇总查询(合约市场)",
  1869. "parameters": [
  1870. {
  1871. "type": "string",
  1872. "description": "资金账户 - 格式:1,2,3",
  1873. "name": "accountID",
  1874. "in": "query",
  1875. "required": true
  1876. },
  1877. {
  1878. "type": "string",
  1879. "description": "交易模式 - 格式:1,2,3",
  1880. "name": "tradeMode",
  1881. "in": "query"
  1882. }
  1883. ],
  1884. "responses": {
  1885. "200": {
  1886. "description": "OK",
  1887. "schema": {
  1888. "$ref": "#/definitions/order.QueryTradePositionRsp"
  1889. }
  1890. },
  1891. "500": {
  1892. "description": "Internal Server Error",
  1893. "schema": {
  1894. "$ref": "#/definitions/app.Response"
  1895. }
  1896. }
  1897. }
  1898. }
  1899. },
  1900. "/Quote/QueryHistoryDatas": {
  1901. "get": {
  1902. "security": [
  1903. {
  1904. "ApiKeyAuth": []
  1905. }
  1906. ],
  1907. "produces": [
  1908. "application/json"
  1909. ],
  1910. "tags": [
  1911. "行情服务"
  1912. ],
  1913. "summary": "查询行情历史数据",
  1914. "parameters": [
  1915. {
  1916. "type": "integer",
  1917. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  1918. "name": "cycleType",
  1919. "in": "query",
  1920. "required": true
  1921. },
  1922. {
  1923. "type": "string",
  1924. "description": "商品代码",
  1925. "name": "goodsCode",
  1926. "in": "query",
  1927. "required": true
  1928. },
  1929. {
  1930. "type": "string",
  1931. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  1932. "name": "startTime",
  1933. "in": "query"
  1934. },
  1935. {
  1936. "type": "string",
  1937. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  1938. "name": "endTime",
  1939. "in": "query"
  1940. },
  1941. {
  1942. "type": "integer",
  1943. "description": "条数",
  1944. "name": "count",
  1945. "in": "query"
  1946. },
  1947. {
  1948. "type": "boolean",
  1949. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  1950. "name": "isAsc",
  1951. "in": "query"
  1952. }
  1953. ],
  1954. "responses": {
  1955. "200": {
  1956. "description": "OK",
  1957. "schema": {
  1958. "$ref": "#/definitions/quote.HistoryData"
  1959. }
  1960. },
  1961. "500": {
  1962. "description": "Internal Server Error",
  1963. "schema": {
  1964. "$ref": "#/definitions/app.Response"
  1965. }
  1966. }
  1967. }
  1968. }
  1969. },
  1970. "/Quote/QueryTSData": {
  1971. "get": {
  1972. "produces": [
  1973. "application/json"
  1974. ],
  1975. "tags": [
  1976. "行情服务"
  1977. ],
  1978. "summary": "分时图数据查询",
  1979. "parameters": [
  1980. {
  1981. "type": "string",
  1982. "description": "商品代码",
  1983. "name": "GoodsCode",
  1984. "in": "query",
  1985. "required": true
  1986. }
  1987. ],
  1988. "responses": {
  1989. "200": {
  1990. "description": "OK",
  1991. "schema": {
  1992. "$ref": "#/definitions/quote.QueryTSDataRsp"
  1993. }
  1994. },
  1995. "500": {
  1996. "description": "Internal Server Error",
  1997. "schema": {
  1998. "$ref": "#/definitions/app.Response"
  1999. }
  2000. }
  2001. }
  2002. }
  2003. },
  2004. "/SZDZ/QueryConvertConfig": {
  2005. "get": {
  2006. "security": [
  2007. {
  2008. "ApiKeyAuth": []
  2009. }
  2010. ],
  2011. "produces": [
  2012. "application/json"
  2013. ],
  2014. "tags": [
  2015. "定制【尚志大宗】"
  2016. ],
  2017. "summary": "查询交易系统转换设置",
  2018. "parameters": [
  2019. {
  2020. "type": "integer",
  2021. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  2022. "name": "convertType",
  2023. "in": "query"
  2024. },
  2025. {
  2026. "type": "string",
  2027. "description": "外部商品代码[JD\\PD]",
  2028. "name": "outerGoodsCode",
  2029. "in": "query"
  2030. },
  2031. {
  2032. "type": "string",
  2033. "description": "内部商品ID列表[交易],格式:1,2,3",
  2034. "name": "innerGoodsIDs",
  2035. "in": "query"
  2036. }
  2037. ],
  2038. "responses": {
  2039. "200": {
  2040. "description": "OK",
  2041. "schema": {
  2042. "$ref": "#/definitions/models.Szdz3convertconfig"
  2043. }
  2044. },
  2045. "500": {
  2046. "description": "Internal Server Error",
  2047. "schema": {
  2048. "$ref": "#/definitions/app.Response"
  2049. }
  2050. }
  2051. }
  2052. }
  2053. },
  2054. "/SZDZ/QueryConvertLog": {
  2055. "get": {
  2056. "security": [
  2057. {
  2058. "ApiKeyAuth": []
  2059. }
  2060. ],
  2061. "produces": [
  2062. "application/json"
  2063. ],
  2064. "tags": [
  2065. "定制【尚志大宗】"
  2066. ],
  2067. "summary": "交易系统转换流水查询",
  2068. "parameters": [
  2069. {
  2070. "type": "string",
  2071. "description": "资金账户 - 格式:1,2,3",
  2072. "name": "accountID",
  2073. "in": "query",
  2074. "required": true
  2075. },
  2076. {
  2077. "type": "string",
  2078. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2079. "name": "startDate",
  2080. "in": "query"
  2081. },
  2082. {
  2083. "type": "string",
  2084. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  2085. "name": "endDate",
  2086. "in": "query"
  2087. }
  2088. ],
  2089. "responses": {
  2090. "200": {
  2091. "description": "OK",
  2092. "schema": {
  2093. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  2094. }
  2095. },
  2096. "500": {
  2097. "description": "Internal Server Error",
  2098. "schema": {
  2099. "$ref": "#/definitions/app.Response"
  2100. }
  2101. }
  2102. }
  2103. }
  2104. },
  2105. "/SZDZ/QueryGoodsPickup": {
  2106. "get": {
  2107. "security": [
  2108. {
  2109. "ApiKeyAuth": []
  2110. }
  2111. ],
  2112. "produces": [
  2113. "application/json"
  2114. ],
  2115. "tags": [
  2116. "定制【尚志大宗】"
  2117. ],
  2118. "summary": "商品提货单查询",
  2119. "parameters": [
  2120. {
  2121. "type": "string",
  2122. "description": "资金账户 - 格式:1,2,3",
  2123. "name": "accountID",
  2124. "in": "query",
  2125. "required": true
  2126. },
  2127. {
  2128. "type": "integer",
  2129. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2130. "name": "takeOrderStatus",
  2131. "in": "query"
  2132. }
  2133. ],
  2134. "responses": {
  2135. "200": {
  2136. "description": "OK",
  2137. "schema": {
  2138. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  2139. }
  2140. },
  2141. "500": {
  2142. "description": "Internal Server Error",
  2143. "schema": {
  2144. "$ref": "#/definitions/app.Response"
  2145. }
  2146. }
  2147. }
  2148. }
  2149. },
  2150. "/SZDZ/QueryRecieptOrder": {
  2151. "get": {
  2152. "security": [
  2153. {
  2154. "ApiKeyAuth": []
  2155. }
  2156. ],
  2157. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  2158. "produces": [
  2159. "application/json"
  2160. ],
  2161. "tags": [
  2162. "定制【尚志大宗】"
  2163. ],
  2164. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  2165. "parameters": [
  2166. {
  2167. "type": "integer",
  2168. "description": "页码",
  2169. "name": "page",
  2170. "in": "query"
  2171. },
  2172. {
  2173. "type": "integer",
  2174. "description": "每页条数",
  2175. "name": "pagesize",
  2176. "in": "query"
  2177. },
  2178. {
  2179. "type": "integer",
  2180. "description": "商品ID",
  2181. "name": "goodsID",
  2182. "in": "query",
  2183. "required": true
  2184. },
  2185. {
  2186. "type": "string",
  2187. "description": "所属账户名称",
  2188. "name": "accountName",
  2189. "in": "query"
  2190. },
  2191. {
  2192. "type": "integer",
  2193. "description": "市场ID",
  2194. "name": "marketID",
  2195. "in": "query"
  2196. },
  2197. {
  2198. "type": "integer",
  2199. "description": "方向 - 0:买 1:卖",
  2200. "name": "buyorsell",
  2201. "in": "query",
  2202. "required": true
  2203. }
  2204. ],
  2205. "responses": {
  2206. "200": {
  2207. "description": "OK",
  2208. "schema": {
  2209. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  2210. }
  2211. },
  2212. "500": {
  2213. "description": "Internal Server Error",
  2214. "schema": {
  2215. "$ref": "#/definitions/app.Response"
  2216. }
  2217. }
  2218. }
  2219. }
  2220. },
  2221. "/SZDZ/QuerySZDZTradePosition": {
  2222. "get": {
  2223. "security": [
  2224. {
  2225. "ApiKeyAuth": []
  2226. }
  2227. ],
  2228. "produces": [
  2229. "application/json"
  2230. ],
  2231. "tags": [
  2232. "定制【尚志大宗】"
  2233. ],
  2234. "summary": "持仓汇总查询(尚志大宗)",
  2235. "parameters": [
  2236. {
  2237. "type": "integer",
  2238. "description": "资金账户",
  2239. "name": "accountID",
  2240. "in": "query",
  2241. "required": true
  2242. }
  2243. ],
  2244. "responses": {
  2245. "200": {
  2246. "description": "OK",
  2247. "schema": {
  2248. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  2249. }
  2250. },
  2251. "500": {
  2252. "description": "Internal Server Error",
  2253. "schema": {
  2254. "$ref": "#/definitions/app.Response"
  2255. }
  2256. }
  2257. }
  2258. }
  2259. },
  2260. "/SZDZ/SearchWhite": {
  2261. "get": {
  2262. "security": [
  2263. {
  2264. "ApiKeyAuth": []
  2265. }
  2266. ],
  2267. "produces": [
  2268. "application/json"
  2269. ],
  2270. "tags": [
  2271. "定制【尚志大宗】"
  2272. ],
  2273. "summary": "搜索白名单",
  2274. "parameters": [
  2275. {
  2276. "type": "integer",
  2277. "description": "用户ID",
  2278. "name": "userID",
  2279. "in": "query",
  2280. "required": true
  2281. }
  2282. ],
  2283. "responses": {
  2284. "200": {
  2285. "description": "OK",
  2286. "schema": {
  2287. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  2288. }
  2289. },
  2290. "500": {
  2291. "description": "Internal Server Error",
  2292. "schema": {
  2293. "$ref": "#/definitions/app.Response"
  2294. }
  2295. }
  2296. }
  2297. }
  2298. },
  2299. "/Search/SearchGoodses": {
  2300. "get": {
  2301. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  2302. "produces": [
  2303. "application/json"
  2304. ],
  2305. "tags": [
  2306. "检索服务"
  2307. ],
  2308. "summary": "检索商品信息",
  2309. "parameters": [
  2310. {
  2311. "type": "string",
  2312. "description": "检索内容",
  2313. "name": "content",
  2314. "in": "query",
  2315. "required": true
  2316. }
  2317. ],
  2318. "responses": {
  2319. "200": {
  2320. "description": "OK",
  2321. "schema": {
  2322. "$ref": "#/definitions/models.SearchGoods"
  2323. }
  2324. },
  2325. "500": {
  2326. "description": "Internal Server Error",
  2327. "schema": {
  2328. "$ref": "#/definitions/app.Response"
  2329. }
  2330. }
  2331. }
  2332. }
  2333. },
  2334. "/TaAccount/QueryAmountLog": {
  2335. "get": {
  2336. "security": [
  2337. {
  2338. "ApiKeyAuth": []
  2339. }
  2340. ],
  2341. "produces": [
  2342. "application/json"
  2343. ],
  2344. "tags": [
  2345. "资金账户"
  2346. ],
  2347. "summary": "资金流水查询(当前)",
  2348. "parameters": [
  2349. {
  2350. "type": "integer",
  2351. "description": "页码",
  2352. "name": "page",
  2353. "in": "query"
  2354. },
  2355. {
  2356. "type": "integer",
  2357. "description": "每页条数",
  2358. "name": "pagesize",
  2359. "in": "query"
  2360. },
  2361. {
  2362. "type": "string",
  2363. "description": "资金账户 - 格式:1,2,3",
  2364. "name": "accountID",
  2365. "in": "query",
  2366. "required": true
  2367. },
  2368. {
  2369. "type": "string",
  2370. "description": "资金操作类型 - 格式:1,2,3",
  2371. "name": "OperateType",
  2372. "in": "query"
  2373. }
  2374. ],
  2375. "responses": {
  2376. "200": {
  2377. "description": "OK",
  2378. "schema": {
  2379. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  2380. }
  2381. },
  2382. "500": {
  2383. "description": "Internal Server Error",
  2384. "schema": {
  2385. "$ref": "#/definitions/app.Response"
  2386. }
  2387. }
  2388. }
  2389. }
  2390. },
  2391. "/TaAccount/QueryHisAmountLog": {
  2392. "get": {
  2393. "security": [
  2394. {
  2395. "ApiKeyAuth": []
  2396. }
  2397. ],
  2398. "produces": [
  2399. "application/json"
  2400. ],
  2401. "tags": [
  2402. "资金账户"
  2403. ],
  2404. "summary": "资金流水查询(历史)",
  2405. "parameters": [
  2406. {
  2407. "type": "integer",
  2408. "description": "页码",
  2409. "name": "page",
  2410. "in": "query"
  2411. },
  2412. {
  2413. "type": "integer",
  2414. "description": "每页条数",
  2415. "name": "pagesize",
  2416. "in": "query"
  2417. },
  2418. {
  2419. "type": "string",
  2420. "description": "资金账户 - 格式:1,2,3",
  2421. "name": "accountID",
  2422. "in": "query",
  2423. "required": true
  2424. },
  2425. {
  2426. "type": "string",
  2427. "description": "资金操作类型 - 格式:1,2,3",
  2428. "name": "OperateType",
  2429. "in": "query"
  2430. },
  2431. {
  2432. "type": "string",
  2433. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2434. "name": "startDate",
  2435. "in": "query"
  2436. },
  2437. {
  2438. "type": "string",
  2439. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2440. "name": "endDate",
  2441. "in": "query"
  2442. }
  2443. ],
  2444. "responses": {
  2445. "200": {
  2446. "description": "OK",
  2447. "schema": {
  2448. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  2449. }
  2450. },
  2451. "500": {
  2452. "description": "Internal Server Error",
  2453. "schema": {
  2454. "$ref": "#/definitions/app.Response"
  2455. }
  2456. }
  2457. }
  2458. }
  2459. },
  2460. "/User/AddMessageBoard": {
  2461. "post": {
  2462. "security": [
  2463. {
  2464. "ApiKeyAuth": []
  2465. }
  2466. ],
  2467. "produces": [
  2468. "application/json"
  2469. ],
  2470. "tags": [
  2471. "用户信息"
  2472. ],
  2473. "summary": "添加用户留言板信息",
  2474. "parameters": [
  2475. {
  2476. "type": "integer",
  2477. "description": "用户ID",
  2478. "name": "userID",
  2479. "in": "query",
  2480. "required": true
  2481. },
  2482. {
  2483. "type": "string",
  2484. "description": "留言信息",
  2485. "name": "message",
  2486. "in": "query",
  2487. "required": true
  2488. }
  2489. ],
  2490. "responses": {
  2491. "200": {
  2492. "description": "OK",
  2493. "schema": {
  2494. "$ref": "#/definitions/app.Response"
  2495. }
  2496. },
  2497. "500": {
  2498. "description": "Internal Server Error",
  2499. "schema": {
  2500. "$ref": "#/definitions/app.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/User/AddUserFavoriteGoods": {
  2507. "post": {
  2508. "security": [
  2509. {
  2510. "ApiKeyAuth": []
  2511. }
  2512. ],
  2513. "produces": [
  2514. "application/json"
  2515. ],
  2516. "tags": [
  2517. "用户信息"
  2518. ],
  2519. "summary": "添加用户商品收藏信息",
  2520. "parameters": [
  2521. {
  2522. "type": "integer",
  2523. "description": "用户ID",
  2524. "name": "userID",
  2525. "in": "query",
  2526. "required": true
  2527. },
  2528. {
  2529. "type": "integer",
  2530. "description": "商品ID",
  2531. "name": "goodsID",
  2532. "in": "query",
  2533. "required": true
  2534. }
  2535. ],
  2536. "responses": {
  2537. "200": {
  2538. "description": "OK",
  2539. "schema": {
  2540. "$ref": "#/definitions/app.Response"
  2541. }
  2542. },
  2543. "500": {
  2544. "description": "Internal Server Error",
  2545. "schema": {
  2546. "$ref": "#/definitions/app.Response"
  2547. }
  2548. }
  2549. }
  2550. }
  2551. },
  2552. "/User/GetLoginID": {
  2553. "get": {
  2554. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  2555. "produces": [
  2556. "application/json"
  2557. ],
  2558. "tags": [
  2559. "用户信息"
  2560. ],
  2561. "summary": "获取登录ID",
  2562. "parameters": [
  2563. {
  2564. "type": "string",
  2565. "description": "登录代码",
  2566. "name": "username",
  2567. "in": "query",
  2568. "required": true
  2569. }
  2570. ],
  2571. "responses": {
  2572. "200": {
  2573. "description": "OK",
  2574. "schema": {
  2575. "$ref": "#/definitions/app.Response"
  2576. }
  2577. },
  2578. "500": {
  2579. "description": "Internal Server Error",
  2580. "schema": {
  2581. "$ref": "#/definitions/app.Response"
  2582. }
  2583. }
  2584. }
  2585. }
  2586. },
  2587. "/User/GetUserAuthStatus": {
  2588. "get": {
  2589. "security": [
  2590. {
  2591. "ApiKeyAuth": []
  2592. }
  2593. ],
  2594. "produces": [
  2595. "application/json"
  2596. ],
  2597. "tags": [
  2598. "用户信息"
  2599. ],
  2600. "summary": "获取用户实名认证状态",
  2601. "parameters": [
  2602. {
  2603. "type": "integer",
  2604. "description": "用户ID",
  2605. "name": "userID",
  2606. "in": "query",
  2607. "required": true
  2608. }
  2609. ],
  2610. "responses": {
  2611. "200": {
  2612. "description": "OK",
  2613. "schema": {
  2614. "$ref": "#/definitions/app.Response"
  2615. }
  2616. },
  2617. "500": {
  2618. "description": "Internal Server Error",
  2619. "schema": {
  2620. "$ref": "#/definitions/app.Response"
  2621. }
  2622. }
  2623. }
  2624. }
  2625. },
  2626. "/User/QueryMessageBoard": {
  2627. "get": {
  2628. "security": [
  2629. {
  2630. "ApiKeyAuth": []
  2631. }
  2632. ],
  2633. "produces": [
  2634. "application/json"
  2635. ],
  2636. "tags": [
  2637. "用户信息"
  2638. ],
  2639. "summary": "获取用户留言板信息",
  2640. "parameters": [
  2641. {
  2642. "type": "integer",
  2643. "description": "用户ID",
  2644. "name": "userID",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "$ref": "#/definitions/models.Messageboard"
  2654. }
  2655. },
  2656. "500": {
  2657. "description": "Internal Server Error",
  2658. "schema": {
  2659. "$ref": "#/definitions/app.Response"
  2660. }
  2661. }
  2662. }
  2663. }
  2664. },
  2665. "/User/QueryUserFavoriteGoodses": {
  2666. "get": {
  2667. "security": [
  2668. {
  2669. "ApiKeyAuth": []
  2670. }
  2671. ],
  2672. "produces": [
  2673. "application/json"
  2674. ],
  2675. "tags": [
  2676. "用户信息"
  2677. ],
  2678. "summary": "获取用户商品收藏信息",
  2679. "parameters": [
  2680. {
  2681. "type": "integer",
  2682. "description": "用户ID",
  2683. "name": "userID",
  2684. "in": "query",
  2685. "required": true
  2686. }
  2687. ],
  2688. "responses": {
  2689. "200": {
  2690. "description": "OK",
  2691. "schema": {
  2692. "$ref": "#/definitions/models.Userfavoritegoods"
  2693. }
  2694. },
  2695. "500": {
  2696. "description": "Internal Server Error",
  2697. "schema": {
  2698. "$ref": "#/definitions/app.Response"
  2699. }
  2700. }
  2701. }
  2702. }
  2703. },
  2704. "/User/QueryUserInfo": {
  2705. "get": {
  2706. "security": [
  2707. {
  2708. "ApiKeyAuth": []
  2709. }
  2710. ],
  2711. "produces": [
  2712. "application/json"
  2713. ],
  2714. "tags": [
  2715. "用户信息"
  2716. ],
  2717. "summary": "获取用户信息",
  2718. "parameters": [
  2719. {
  2720. "type": "integer",
  2721. "description": "用户ID",
  2722. "name": "userID",
  2723. "in": "query",
  2724. "required": true
  2725. }
  2726. ],
  2727. "responses": {
  2728. "200": {
  2729. "description": "OK",
  2730. "schema": {
  2731. "$ref": "#/definitions/models.Userinfo"
  2732. }
  2733. },
  2734. "500": {
  2735. "description": "Internal Server Error",
  2736. "schema": {
  2737. "$ref": "#/definitions/app.Response"
  2738. }
  2739. }
  2740. }
  2741. }
  2742. },
  2743. "/User/QueryUserReferNum": {
  2744. "get": {
  2745. "produces": [
  2746. "application/json"
  2747. ],
  2748. "tags": [
  2749. "用户信息"
  2750. ],
  2751. "summary": "获取用户邀请码",
  2752. "parameters": [
  2753. {
  2754. "type": "integer",
  2755. "description": "用户ID",
  2756. "name": "userID",
  2757. "in": "query",
  2758. "required": true
  2759. }
  2760. ],
  2761. "responses": {
  2762. "200": {
  2763. "description": "OK",
  2764. "schema": {
  2765. "$ref": "#/definitions/app.Response"
  2766. }
  2767. },
  2768. "500": {
  2769. "description": "Internal Server Error",
  2770. "schema": {
  2771. "$ref": "#/definitions/app.Response"
  2772. }
  2773. }
  2774. }
  2775. }
  2776. },
  2777. "/User/RemoveUserFavoriteGoods": {
  2778. "post": {
  2779. "security": [
  2780. {
  2781. "ApiKeyAuth": []
  2782. }
  2783. ],
  2784. "produces": [
  2785. "application/json"
  2786. ],
  2787. "tags": [
  2788. "用户信息"
  2789. ],
  2790. "summary": "移除用户商品收藏信息",
  2791. "parameters": [
  2792. {
  2793. "type": "integer",
  2794. "description": "用户ID",
  2795. "name": "userID",
  2796. "in": "query",
  2797. "required": true
  2798. },
  2799. {
  2800. "type": "integer",
  2801. "description": "商品ID",
  2802. "name": "goodsID",
  2803. "in": "query",
  2804. "required": true
  2805. }
  2806. ],
  2807. "responses": {
  2808. "200": {
  2809. "description": "OK",
  2810. "schema": {
  2811. "$ref": "#/definitions/app.Response"
  2812. }
  2813. },
  2814. "500": {
  2815. "description": "Internal Server Error",
  2816. "schema": {
  2817. "$ref": "#/definitions/app.Response"
  2818. }
  2819. }
  2820. }
  2821. }
  2822. },
  2823. "/WRTrade/GetAllDeliveryGoods": {
  2824. "get": {
  2825. "security": [
  2826. {
  2827. "ApiKeyAuth": []
  2828. }
  2829. ],
  2830. "produces": [
  2831. "application/json"
  2832. ],
  2833. "tags": [
  2834. "仓单贸易"
  2835. ],
  2836. "summary": "获取带仓单分类的种类信息",
  2837. "responses": {
  2838. "200": {
  2839. "description": "OK",
  2840. "schema": {
  2841. "$ref": "#/definitions/app.Response"
  2842. }
  2843. },
  2844. "500": {
  2845. "description": "Internal Server Error",
  2846. "schema": {
  2847. "$ref": "#/definitions/app.Response"
  2848. }
  2849. }
  2850. }
  2851. }
  2852. }
  2853. },
  2854. "definitions": {
  2855. "app.Response": {
  2856. "type": "object",
  2857. "properties": {
  2858. "code": {
  2859. "type": "integer"
  2860. },
  2861. "data": {
  2862. "type": "object"
  2863. },
  2864. "msg": {
  2865. "type": "string"
  2866. },
  2867. "page": {
  2868. "description": "页码",
  2869. "type": "integer"
  2870. },
  2871. "pagesize": {
  2872. "description": "每页条数",
  2873. "type": "integer"
  2874. },
  2875. "total": {
  2876. "description": "总条数",
  2877. "type": "integer"
  2878. }
  2879. }
  2880. },
  2881. "common.QueryNoticeRsp": {
  2882. "type": "object",
  2883. "required": [
  2884. "autoid"
  2885. ],
  2886. "properties": {
  2887. "auditoruserid": {
  2888. "description": "审核人",
  2889. "type": "integer"
  2890. },
  2891. "auditremark": {
  2892. "description": "审核备注",
  2893. "type": "string"
  2894. },
  2895. "audittime": {
  2896. "description": "审核日期",
  2897. "type": "string"
  2898. },
  2899. "autoid": {
  2900. "description": "自增ID",
  2901. "type": "integer"
  2902. },
  2903. "content": {
  2904. "description": "内容",
  2905. "type": "string"
  2906. },
  2907. "createtime": {
  2908. "description": "创建时间",
  2909. "type": "string"
  2910. },
  2911. "creatorid": {
  2912. "description": "建仓人",
  2913. "type": "integer"
  2914. },
  2915. "endtime": {
  2916. "description": "结束时间",
  2917. "type": "string"
  2918. },
  2919. "istop": {
  2920. "description": "是否置顶 - 0:不置顶 1:置顶",
  2921. "type": "integer"
  2922. },
  2923. "msgiconurl": {
  2924. "description": "消息图标Url",
  2925. "type": "string"
  2926. },
  2927. "msgtype": {
  2928. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  2929. "type": "integer"
  2930. },
  2931. "publisher": {
  2932. "description": "消息发布者",
  2933. "type": "string"
  2934. },
  2935. "readed": {
  2936. "description": "是否已读",
  2937. "type": "boolean"
  2938. },
  2939. "scheduletime": {
  2940. "description": "计划发送时间",
  2941. "type": "string"
  2942. },
  2943. "sendtype": {
  2944. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  2945. "type": "integer"
  2946. },
  2947. "sentstatus": {
  2948. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  2949. "type": "integer"
  2950. },
  2951. "title": {
  2952. "description": "标题",
  2953. "type": "string"
  2954. },
  2955. "userid": {
  2956. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  2957. "type": "integer"
  2958. }
  2959. }
  2960. },
  2961. "common.QueryProvincesAndCitiesRsp": {
  2962. "type": "object",
  2963. "properties": {
  2964. "cities": {
  2965. "description": "市",
  2966. "type": "array",
  2967. "items": {
  2968. "$ref": "#/definitions/models.Division"
  2969. }
  2970. },
  2971. "province": {
  2972. "description": "省",
  2973. "$ref": "#/definitions/models.Division"
  2974. }
  2975. }
  2976. },
  2977. "common.QueryTableDefineRsp": {
  2978. "type": "object",
  2979. "required": [
  2980. "tablekey"
  2981. ],
  2982. "properties": {
  2983. "columns": {
  2984. "description": "列头信息数组",
  2985. "type": "array",
  2986. "items": {
  2987. "$ref": "#/definitions/models.Tablecolumnconfig"
  2988. }
  2989. },
  2990. "remark": {
  2991. "description": "Remark",
  2992. "type": "string"
  2993. },
  2994. "tabelmenu": {
  2995. "description": "列表菜单",
  2996. "type": "string"
  2997. },
  2998. "tablekey": {
  2999. "description": "列表Key",
  3000. "type": "string"
  3001. },
  3002. "tablename": {
  3003. "description": "列表名称",
  3004. "type": "string"
  3005. },
  3006. "tabletype": {
  3007. "description": "列表类型 - 1:管理端 2:终端",
  3008. "type": "integer"
  3009. }
  3010. }
  3011. },
  3012. "common.QueryTraderMenuRsp": {
  3013. "type": "object",
  3014. "properties": {
  3015. "OperationMenu": {
  3016. "description": "功能菜单",
  3017. "type": "array",
  3018. "items": {
  3019. "$ref": "#/definitions/models.OperationPrimaryMenu"
  3020. }
  3021. },
  3022. "QuoteMenu": {
  3023. "description": "报价牌分类菜单",
  3024. "type": "array",
  3025. "items": {
  3026. "$ref": "#/definitions/models.QuotePrimaryMenu"
  3027. }
  3028. }
  3029. }
  3030. },
  3031. "cptrade.Cptradepositioncancel": {
  3032. "type": "object",
  3033. "required": [
  3034. "cancelid"
  3035. ],
  3036. "properties": {
  3037. "accountid": {
  3038. "description": "申请人账户ID",
  3039. "type": "integer"
  3040. },
  3041. "applystatus": {
  3042. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3043. "type": "integer"
  3044. },
  3045. "applytime": {
  3046. "description": "申请时间",
  3047. "type": "string"
  3048. },
  3049. "cancelid": {
  3050. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  3051. "type": "integer"
  3052. },
  3053. "cancelqty": {
  3054. "description": "注销数量",
  3055. "type": "integer"
  3056. },
  3057. "createtime": {
  3058. "description": "创建时间",
  3059. "type": "string"
  3060. },
  3061. "creatorid": {
  3062. "description": "创建人ID",
  3063. "type": "integer"
  3064. },
  3065. "creatorname": {
  3066. "description": "创建人",
  3067. "type": "string"
  3068. },
  3069. "goodscode": {
  3070. "description": "订单商品代码",
  3071. "type": "string"
  3072. },
  3073. "goodsid": {
  3074. "description": "商品ID",
  3075. "type": "integer"
  3076. },
  3077. "goodsname": {
  3078. "description": "订单商品名称",
  3079. "type": "string"
  3080. },
  3081. "goodunit": {
  3082. "description": "报价单位",
  3083. "type": "string"
  3084. },
  3085. "handlestatus": {
  3086. "description": "处理状态",
  3087. "type": "integer"
  3088. },
  3089. "marketid": {
  3090. "description": "市场ID",
  3091. "type": "integer"
  3092. },
  3093. "marketname": {
  3094. "description": "市场名称",
  3095. "type": "string"
  3096. },
  3097. "tradedate": {
  3098. "description": "交易日(yyyyMMdd)",
  3099. "type": "string"
  3100. },
  3101. "userid": {
  3102. "description": "申请人ID",
  3103. "type": "integer"
  3104. }
  3105. }
  3106. },
  3107. "cptrade.Cptradepresaleapply": {
  3108. "type": "object",
  3109. "required": [
  3110. "applyid"
  3111. ],
  3112. "properties": {
  3113. "accountid": {
  3114. "description": "申请人账户ID",
  3115. "type": "integer"
  3116. },
  3117. "applyid": {
  3118. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  3119. "type": "integer"
  3120. },
  3121. "applyremark": {
  3122. "description": "申请备注",
  3123. "type": "string"
  3124. },
  3125. "applystatus": {
  3126. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  3127. "type": "integer"
  3128. },
  3129. "applytime": {
  3130. "description": "申请时间",
  3131. "type": "string"
  3132. },
  3133. "attachmenturl": {
  3134. "description": "附件地址",
  3135. "type": "string"
  3136. },
  3137. "endtime": {
  3138. "description": "预售结束时间",
  3139. "type": "string"
  3140. },
  3141. "goodscode": {
  3142. "description": "商品代码",
  3143. "type": "string"
  3144. },
  3145. "goodsid": {
  3146. "description": "商品ID",
  3147. "type": "integer"
  3148. },
  3149. "goodsname": {
  3150. "description": "商品名称",
  3151. "type": "string"
  3152. },
  3153. "goodunit": {
  3154. "description": "报价单位",
  3155. "type": "string"
  3156. },
  3157. "handlestatus": {
  3158. "description": "处理状态",
  3159. "type": "integer"
  3160. },
  3161. "marketid": {
  3162. "description": "预售市场ID",
  3163. "type": "integer"
  3164. },
  3165. "marketname": {
  3166. "description": "预售市场名称",
  3167. "type": "string"
  3168. },
  3169. "presaleqty": {
  3170. "description": "预售数量",
  3171. "type": "integer"
  3172. },
  3173. "relatedgoodscode": {
  3174. "description": "关联交易合约代码",
  3175. "type": "string"
  3176. },
  3177. "relatedgoodsid": {
  3178. "description": "关联交易合约ID",
  3179. "type": "integer"
  3180. },
  3181. "relatedgoodsname": {
  3182. "description": "关联交易合约名称",
  3183. "type": "string"
  3184. },
  3185. "starttime": {
  3186. "description": "预售开始时间",
  3187. "type": "string"
  3188. },
  3189. "tradedate": {
  3190. "description": "交易日(yyyyMMdd)",
  3191. "type": "string"
  3192. },
  3193. "trademode": {
  3194. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  3195. "type": "integer"
  3196. },
  3197. "userid": {
  3198. "description": "申请人ID",
  3199. "type": "integer"
  3200. }
  3201. }
  3202. },
  3203. "cptrade.Cptradeusergoodsdata": {
  3204. "type": "object",
  3205. "required": [
  3206. "accountid",
  3207. "goodsid"
  3208. ],
  3209. "properties": {
  3210. "EnabledQty": {
  3211. "description": "可用量",
  3212. "type": "integer"
  3213. },
  3214. "GoodsCode": {
  3215. "description": "订单商品代码",
  3216. "type": "string"
  3217. },
  3218. "GoodsName": {
  3219. "description": "订单商品名称",
  3220. "type": "string"
  3221. },
  3222. "WRStandardCode": {
  3223. "description": "仓单标准代码",
  3224. "type": "string"
  3225. },
  3226. "WRStandardName": {
  3227. "description": "仓单标准名称",
  3228. "type": "string"
  3229. },
  3230. "accountid": {
  3231. "description": "账户ID",
  3232. "type": "integer"
  3233. },
  3234. "cancelqty": {
  3235. "description": "注销量",
  3236. "type": "integer"
  3237. },
  3238. "curpresaleqty": {
  3239. "description": "当前预售量",
  3240. "type": "integer"
  3241. },
  3242. "deliveryqty": {
  3243. "description": "交割量",
  3244. "type": "integer"
  3245. },
  3246. "freezeamount": {
  3247. "description": "冻结金额",
  3248. "type": "number"
  3249. },
  3250. "goodsid": {
  3251. "description": "商品ID",
  3252. "type": "integer"
  3253. },
  3254. "goodunit": {
  3255. "description": "报价单位",
  3256. "type": "string"
  3257. },
  3258. "hasspotfreeze": {
  3259. "description": "是否有现货冻结 - 0:否 1:有",
  3260. "type": "integer"
  3261. },
  3262. "inqty": {
  3263. "description": "转入量(总数量)",
  3264. "type": "integer"
  3265. },
  3266. "marketid": {
  3267. "description": "市场ID",
  3268. "type": "integer"
  3269. },
  3270. "presaledamount": {
  3271. "description": "已预售总金额",
  3272. "type": "integer"
  3273. },
  3274. "presaledqty": {
  3275. "description": "已预售量",
  3276. "type": "integer"
  3277. },
  3278. "userid": {
  3279. "description": "用户ID",
  3280. "type": "integer"
  3281. },
  3282. "wrstandardid": {
  3283. "description": "仓单标准ID",
  3284. "type": "integer"
  3285. }
  3286. }
  3287. },
  3288. "cptrade.QueryCPTradeMyBidRsp": {
  3289. "type": "object",
  3290. "required": [
  3291. "accountid",
  3292. "goodsid",
  3293. "marketid",
  3294. "orderid",
  3295. "orderqty",
  3296. "ordertime",
  3297. "tradeprice",
  3298. "tradeqty"
  3299. ],
  3300. "properties": {
  3301. "accountid": {
  3302. "description": "账户ID[报价币种]",
  3303. "type": "integer"
  3304. },
  3305. "goodsid": {
  3306. "description": "商品ID",
  3307. "type": "integer"
  3308. },
  3309. "goodunit": {
  3310. "description": "报价单位",
  3311. "type": "string"
  3312. },
  3313. "marketid": {
  3314. "description": "市场ID",
  3315. "type": "integer"
  3316. },
  3317. "orderid": {
  3318. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  3319. "type": "integer"
  3320. },
  3321. "orderprice": {
  3322. "description": "委托价格",
  3323. "type": "number"
  3324. },
  3325. "orderqty": {
  3326. "description": "委托数量",
  3327. "type": "integer"
  3328. },
  3329. "ordertime": {
  3330. "description": "委托时间",
  3331. "type": "string"
  3332. },
  3333. "ordertotalprice": {
  3334. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  3335. "type": "number"
  3336. },
  3337. "ordertotalweight": {
  3338. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  3339. "type": "integer"
  3340. },
  3341. "totaltotalprice": {
  3342. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  3343. "type": "number"
  3344. },
  3345. "tradeprice": {
  3346. "description": "成交价格",
  3347. "type": "number"
  3348. },
  3349. "tradeqty": {
  3350. "description": "成交数量",
  3351. "type": "integer"
  3352. }
  3353. }
  3354. },
  3355. "cptrade.QueryCPTradeOrderDetailRsq": {
  3356. "type": "object",
  3357. "required": [
  3358. "accountid",
  3359. "buildtype",
  3360. "buyorsell",
  3361. "goodsid",
  3362. "marketid",
  3363. "memberuserid",
  3364. "operatetype",
  3365. "orderqty",
  3366. "ordertime",
  3367. "pricemode",
  3368. "strorderid",
  3369. "tradedate",
  3370. "validtype"
  3371. ],
  3372. "properties": {
  3373. "accountid": {
  3374. "description": "账户ID[报价币种]",
  3375. "type": "integer"
  3376. },
  3377. "buildtype": {
  3378. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  3379. "type": "integer"
  3380. },
  3381. "buyorsell": {
  3382. "description": "买卖 - 0:买 1:卖",
  3383. "type": "integer"
  3384. },
  3385. "cancelorderid": {
  3386. "description": "撤单单号(撤单时填写)",
  3387. "type": "integer"
  3388. },
  3389. "cancelqty": {
  3390. "description": "撤单数量",
  3391. "type": "integer"
  3392. },
  3393. "clientordertime": {
  3394. "description": "客户端委托时间",
  3395. "type": "string"
  3396. },
  3397. "clientticket": {
  3398. "description": "客户端流水号",
  3399. "type": "string"
  3400. },
  3401. "clienttype": {
  3402. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  3403. "type": "integer"
  3404. },
  3405. "closeexchagechargevalue": {
  3406. "description": "平仓交易所手续费设置值",
  3407. "type": "number"
  3408. },
  3409. "closefeealgorithm": {
  3410. "description": "平仓手续费收取方式 1:比率 2:固定",
  3411. "type": "integer"
  3412. },
  3413. "closefreezecharge": {
  3414. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  3415. "type": "number"
  3416. },
  3417. "closememberchargevalue": {
  3418. "description": "平仓会员手续费设置值",
  3419. "type": "number"
  3420. },
  3421. "closeqty": {
  3422. "description": "平仓数量(先建后平操作 需要记录)",
  3423. "type": "integer"
  3424. },
  3425. "closetradeqty": {
  3426. "description": "平仓成交数量(先建后平操作,需要记录)",
  3427. "type": "integer"
  3428. },
  3429. "closeunfreezecharge": {
  3430. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  3431. "type": "number"
  3432. },
  3433. "delistingtype": {
  3434. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  3435. "type": "integer"
  3436. },
  3437. "freezecharge": {
  3438. "description": "冻结手续费",
  3439. "type": "number"
  3440. },
  3441. "freezemargin": {
  3442. "description": "冻结保证金(冻结交易金额)",
  3443. "type": "number"
  3444. },
  3445. "gcaccountid": {
  3446. "description": "账户ID[合约币种]",
  3447. "type": "integer"
  3448. },
  3449. "goodsid": {
  3450. "description": "商品ID",
  3451. "type": "integer"
  3452. },
  3453. "isconfirmexercise": {
  3454. "description": "是否确认行权- 0:否 1:是",
  3455. "type": "integer"
  3456. },
  3457. "ispreexercise": {
  3458. "description": "是否预申报- 0:否 1:是",
  3459. "type": "integer"
  3460. },
  3461. "listingselecttype": {
  3462. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  3463. "type": "integer"
  3464. },
  3465. "marginalgorithm": {
  3466. "description": "保证金收取方式 1:比率 2:固定",
  3467. "type": "integer"
  3468. },
  3469. "marginvalue": {
  3470. "description": "即市保证金设置值",
  3471. "type": "number"
  3472. },
  3473. "marketid": {
  3474. "description": "市场ID",
  3475. "type": "integer"
  3476. },
  3477. "marketmaxsub": {
  3478. "description": "市价最大偏移范围",
  3479. "type": "number"
  3480. },
  3481. "memberuserid": {
  3482. "description": "所属会员UserID",
  3483. "type": "integer"
  3484. },
  3485. "openexchagechargevalue": {
  3486. "description": "建仓交易所手续费设置值",
  3487. "type": "number"
  3488. },
  3489. "openfeealgorithm": {
  3490. "description": "建仓手续费收取方式 1:比率 2:固定",
  3491. "type": "integer"
  3492. },
  3493. "openfreezecharge": {
  3494. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  3495. "type": "number"
  3496. },
  3497. "openmemberchargevalue": {
  3498. "description": "建仓会员手续费设置值",
  3499. "type": "number"
  3500. },
  3501. "openqty": {
  3502. "description": "开仓数量(先建后平操作,需要记录)",
  3503. "type": "integer"
  3504. },
  3505. "opentradeqty": {
  3506. "description": "开仓成交数量(先建后平操作,需要记录)",
  3507. "type": "integer"
  3508. },
  3509. "openunfreezecharge": {
  3510. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  3511. "type": "number"
  3512. },
  3513. "operatetype": {
  3514. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  3515. "type": "integer"
  3516. },
  3517. "operatorid": {
  3518. "description": "登录账号(LoginID)",
  3519. "type": "integer"
  3520. },
  3521. "optiontype": {
  3522. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  3523. "type": "integer"
  3524. },
  3525. "orderprice": {
  3526. "description": "委托价格",
  3527. "type": "number"
  3528. },
  3529. "orderqty": {
  3530. "description": "委托数量",
  3531. "type": "integer"
  3532. },
  3533. "ordersrc": {
  3534. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  3535. "type": "integer"
  3536. },
  3537. "orderstatus": {
  3538. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  3539. "type": "integer"
  3540. },
  3541. "ordertime": {
  3542. "description": "委托时间",
  3543. "type": "string"
  3544. },
  3545. "preexerciseprice": {
  3546. "description": "预申报价格",
  3547. "type": "number"
  3548. },
  3549. "premium": {
  3550. "description": "权利金",
  3551. "type": "number"
  3552. },
  3553. "preorderid": {
  3554. "description": "关联预埋单号(止盈止损单时填写)",
  3555. "type": "integer"
  3556. },
  3557. "pricemode": {
  3558. "description": "取价方式 - 1:市价 2: 限价",
  3559. "type": "integer"
  3560. },
  3561. "quoteid": {
  3562. "description": "报价单ID",
  3563. "type": "integer"
  3564. },
  3565. "relatedid": {
  3566. "description": "关联单号(交割单)",
  3567. "type": "integer"
  3568. },
  3569. "retcode": {
  3570. "description": "错误代码",
  3571. "type": "integer"
  3572. },
  3573. "sessionid": {
  3574. "description": "会话ID",
  3575. "type": "integer"
  3576. },
  3577. "strorderid": {
  3578. "description": "委托单号",
  3579. "type": "string"
  3580. },
  3581. "tradedate": {
  3582. "description": "交易日(yyyyMMdd)",
  3583. "type": "string"
  3584. },
  3585. "tradeproperty": {
  3586. "description": "交易属性",
  3587. "type": "integer"
  3588. },
  3589. "tradeqty": {
  3590. "description": "成交数量",
  3591. "type": "integer"
  3592. },
  3593. "unfreezecharge": {
  3594. "description": "解冻手续费",
  3595. "type": "number"
  3596. },
  3597. "unfreezemargin": {
  3598. "description": "解冻保证金",
  3599. "type": "number"
  3600. },
  3601. "updatetime": {
  3602. "description": "更新时间",
  3603. "type": "string"
  3604. },
  3605. "uuid": {
  3606. "description": "发起端唯一id",
  3607. "type": "string"
  3608. },
  3609. "validtime": {
  3610. "description": "有效期限",
  3611. "type": "string"
  3612. },
  3613. "validtype": {
  3614. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  3615. "type": "integer"
  3616. },
  3617. "volumetype": {
  3618. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  3619. "type": "integer"
  3620. }
  3621. }
  3622. },
  3623. "cptrade.QueryMyCPTradeGoodsRsp": {
  3624. "type": "object",
  3625. "required": [
  3626. "goodscode",
  3627. "goodsid",
  3628. "goodsname",
  3629. "marketid",
  3630. "relatedgoodscode",
  3631. "relatedgoodsname"
  3632. ],
  3633. "properties": {
  3634. "accountid": {
  3635. "description": "卖方账户ID",
  3636. "type": "integer"
  3637. },
  3638. "agreeunit": {
  3639. "description": "合约单位",
  3640. "type": "number"
  3641. },
  3642. "applyid": {
  3643. "description": "关联申请ID",
  3644. "type": "integer"
  3645. },
  3646. "attachmenturl": {
  3647. "description": "附件地址",
  3648. "type": "string"
  3649. },
  3650. "createtime": {
  3651. "description": "创建时间",
  3652. "type": "string"
  3653. },
  3654. "currencyid": {
  3655. "description": "报价货币ID",
  3656. "type": "integer"
  3657. },
  3658. "decimalplace": {
  3659. "description": "报价小数位",
  3660. "type": "integer"
  3661. },
  3662. "endtime": {
  3663. "description": "预售结束时间",
  3664. "type": "string"
  3665. },
  3666. "floorprice": {
  3667. "description": "底价[大宗式竞拍]",
  3668. "type": "number"
  3669. },
  3670. "goodscode": {
  3671. "description": "商品代码(预售)",
  3672. "type": "string"
  3673. },
  3674. "goodsdetail": {
  3675. "description": "详情[大宗]",
  3676. "type": "string"
  3677. },
  3678. "goodsid": {
  3679. "description": "商品ID(自增ID SEQ_GOODS)",
  3680. "type": "integer"
  3681. },
  3682. "goodsname": {
  3683. "description": "商品名称(预售)",
  3684. "type": "string"
  3685. },
  3686. "goodunit": {
  3687. "description": "报价单位",
  3688. "type": "string"
  3689. },
  3690. "goodunitid": {
  3691. "description": "报价单位ID",
  3692. "type": "integer"
  3693. },
  3694. "marketid": {
  3695. "description": "所属市场ID",
  3696. "type": "integer"
  3697. },
  3698. "marketname": {
  3699. "description": "预售市场名称",
  3700. "type": "string"
  3701. },
  3702. "presaledamount": {
  3703. "description": "已预售总金额(预售结束时更新)",
  3704. "type": "number"
  3705. },
  3706. "presaledqty": {
  3707. "description": "已预售量(预售结束时更新)",
  3708. "type": "integer"
  3709. },
  3710. "presalemode": {
  3711. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3712. "type": "integer"
  3713. },
  3714. "presaleqty": {
  3715. "description": "预售数量",
  3716. "type": "integer"
  3717. },
  3718. "refprice": {
  3719. "description": "参考价格[一口价]",
  3720. "type": "number"
  3721. },
  3722. "relatedgoodscode": {
  3723. "description": "商品代码(订单)",
  3724. "type": "string"
  3725. },
  3726. "relatedgoodsid": {
  3727. "description": "关联交易合约ID",
  3728. "type": "integer"
  3729. },
  3730. "relatedgoodsname": {
  3731. "description": "商品名称(订单)",
  3732. "type": "string"
  3733. },
  3734. "relatedmarketid": {
  3735. "description": "关联交易合约市场ID",
  3736. "type": "integer"
  3737. },
  3738. "sellstatus": {
  3739. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3740. "type": "integer"
  3741. },
  3742. "startprice": {
  3743. "description": "起拍价[大宗式竞拍]",
  3744. "type": "number"
  3745. },
  3746. "starttime": {
  3747. "description": "预售开始时间",
  3748. "type": "string"
  3749. },
  3750. "tradedate": {
  3751. "description": "交易日(yyyyMMdd)",
  3752. "type": "string"
  3753. },
  3754. "tradeprice": {
  3755. "description": "成交价[大宗]",
  3756. "type": "number"
  3757. },
  3758. "userid": {
  3759. "description": "卖方用户ID",
  3760. "type": "integer"
  3761. }
  3762. }
  3763. },
  3764. "cptrade.QueryPresaleGoodsExRsp": {
  3765. "type": "object",
  3766. "required": [
  3767. "goodsid"
  3768. ],
  3769. "properties": {
  3770. "attachmenturl": {
  3771. "description": "附件地址",
  3772. "type": "string"
  3773. },
  3774. "createtime": {
  3775. "description": "创建时间",
  3776. "type": "string"
  3777. },
  3778. "endtime": {
  3779. "description": "预售结束时间",
  3780. "type": "string"
  3781. },
  3782. "floorprice": {
  3783. "description": "底价[大宗式竞拍]",
  3784. "type": "number"
  3785. },
  3786. "goodsdetail": {
  3787. "description": "详情[大宗]",
  3788. "type": "string"
  3789. },
  3790. "goodsid": {
  3791. "description": "商品ID(预售)",
  3792. "type": "integer"
  3793. },
  3794. "goodunit": {
  3795. "description": "报价单位",
  3796. "type": "string"
  3797. },
  3798. "marketid": {
  3799. "description": "预售市场ID - 根据预售模式选择市场",
  3800. "type": "integer"
  3801. },
  3802. "presaledamount": {
  3803. "description": "已预售总金额(预售结束时更新)",
  3804. "type": "number"
  3805. },
  3806. "presaledqty": {
  3807. "description": "已预售量(预售结束时更新)",
  3808. "type": "integer"
  3809. },
  3810. "presalemode": {
  3811. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  3812. "type": "integer"
  3813. },
  3814. "presaleqty": {
  3815. "description": "预售数量",
  3816. "type": "integer"
  3817. },
  3818. "refprice": {
  3819. "description": "参考价格[一口价]",
  3820. "type": "number"
  3821. },
  3822. "relatedgoodsid": {
  3823. "description": "关联交易合约ID",
  3824. "type": "integer"
  3825. },
  3826. "relatedmarketid": {
  3827. "description": "关联交易合约市场ID",
  3828. "type": "integer"
  3829. },
  3830. "sellstatus": {
  3831. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  3832. "type": "integer"
  3833. },
  3834. "startprice": {
  3835. "description": "起拍价[大宗式竞拍]",
  3836. "type": "number"
  3837. },
  3838. "starttime": {
  3839. "description": "预售开始时间",
  3840. "type": "string"
  3841. },
  3842. "tradedate": {
  3843. "description": "交易日(yyyyMMdd)",
  3844. "type": "string"
  3845. },
  3846. "tradeprice": {
  3847. "description": "成交价[大宗]",
  3848. "type": "number"
  3849. }
  3850. }
  3851. },
  3852. "delivery.QueryDeliveryRelationRsp": {
  3853. "type": "object",
  3854. "required": [
  3855. "begindate",
  3856. "enddate",
  3857. "goodsid",
  3858. "mindeliveryqty",
  3859. "xdeliveryratio"
  3860. ],
  3861. "properties": {
  3862. "begindate": {
  3863. "description": "起始日期(yyyyMMdd)",
  3864. "type": "string"
  3865. },
  3866. "buytemplateid": {
  3867. "description": "买履约计划模板ID",
  3868. "type": "integer"
  3869. },
  3870. "deliverygoodscode": {
  3871. "description": "品种代码",
  3872. "type": "string"
  3873. },
  3874. "deliverygoodsid": {
  3875. "description": "交割商品",
  3876. "type": "integer"
  3877. },
  3878. "deliverygoodsname": {
  3879. "description": "品种名称",
  3880. "type": "string"
  3881. },
  3882. "deliverymode": {
  3883. "description": "交割方式 - 1:点选式 2:申报式",
  3884. "type": "integer"
  3885. },
  3886. "deliverypricerule": {
  3887. "description": "交割价规则- 1:行情价 2:建仓价",
  3888. "type": "integer"
  3889. },
  3890. "deliverytype": {
  3891. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  3892. "type": "integer"
  3893. },
  3894. "enddate": {
  3895. "description": "结束日期(yyyyMMdd)",
  3896. "type": "string"
  3897. },
  3898. "goodscode": {
  3899. "description": "商品代码",
  3900. "type": "string"
  3901. },
  3902. "goodsid": {
  3903. "description": "交易合约ID",
  3904. "type": "integer"
  3905. },
  3906. "goodsname": {
  3907. "description": "商品名称",
  3908. "type": "string"
  3909. },
  3910. "marketid": {
  3911. "description": "市场ID",
  3912. "type": "integer"
  3913. },
  3914. "mindeliveryqty": {
  3915. "description": "最小交割系数(K)",
  3916. "type": "integer"
  3917. },
  3918. "p2deliveryprice": {
  3919. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  3920. "type": "number"
  3921. },
  3922. "p2deliveryratio": {
  3923. "description": "P2合约系数(p)",
  3924. "type": "integer"
  3925. },
  3926. "p2goodsid": {
  3927. "description": "P2合约ID",
  3928. "type": "integer"
  3929. },
  3930. "p2pricemode": {
  3931. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  3932. "type": "integer"
  3933. },
  3934. "pdeliveryprice": {
  3935. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  3936. "type": "number"
  3937. },
  3938. "pdeliveryratio": {
  3939. "description": "P合约系数(n)",
  3940. "type": "integer"
  3941. },
  3942. "pgoodsid": {
  3943. "description": "P合约ID",
  3944. "type": "integer"
  3945. },
  3946. "ppricemode": {
  3947. "description": "P合约价格方式 - 1:商品价 2:固定值",
  3948. "type": "integer"
  3949. },
  3950. "rratio": {
  3951. "description": "兑换系数(R)",
  3952. "type": "integer"
  3953. },
  3954. "rratio1": {
  3955. "description": "兑换系数(交易合约)(R1)",
  3956. "type": "integer"
  3957. },
  3958. "rratio2": {
  3959. "description": "兑换系数(仓单标准)(R2)",
  3960. "type": "integer"
  3961. },
  3962. "selltemplateid": {
  3963. "description": "卖履约计划模板ID",
  3964. "type": "integer"
  3965. },
  3966. "wrstandardid": {
  3967. "description": "仓单标准ID",
  3968. "type": "integer"
  3969. },
  3970. "xdeliveryratio": {
  3971. "description": "交易合约系数(m)",
  3972. "type": "integer"
  3973. }
  3974. }
  3975. },
  3976. "erms2.QueryArbitrageStrategyRsp": {
  3977. "type": "object",
  3978. "required": [
  3979. "asapplyid"
  3980. ],
  3981. "properties": {
  3982. "applybasis": {
  3983. "description": "申请基差",
  3984. "type": "number"
  3985. },
  3986. "asapplyid": {
  3987. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  3988. "type": "string"
  3989. },
  3990. "asname": {
  3991. "description": "策略名称",
  3992. "type": "string"
  3993. },
  3994. "asno": {
  3995. "description": "策略编号",
  3996. "type": "string"
  3997. },
  3998. "basischangepl": {
  3999. "description": "基差变动损益[结算更新]",
  4000. "type": "number"
  4001. },
  4002. "biztype": {
  4003. "description": "业务类型 - 1:正向套利 -1:反向套利",
  4004. "type": "integer"
  4005. },
  4006. "closetradedate": {
  4007. "description": "完结交易日(yyyyMMdd)",
  4008. "type": "string"
  4009. },
  4010. "curbasis": {
  4011. "description": "当前基差[结算更新]",
  4012. "type": "number"
  4013. },
  4014. "deliverygoodsid": {
  4015. "description": "现货品种ID",
  4016. "type": "integer"
  4017. },
  4018. "futureavgprice": {
  4019. "description": "期货建仓均价",
  4020. "type": "number"
  4021. },
  4022. "futurecloseamount": {
  4023. "description": "期货平仓金额",
  4024. "type": "number"
  4025. },
  4026. "futurecloseqty": {
  4027. "description": "期货平仓数量",
  4028. "type": "number"
  4029. },
  4030. "futureopenamount": {
  4031. "description": "期货开仓金额",
  4032. "type": "number"
  4033. },
  4034. "futureopenqty": {
  4035. "description": "期货开仓数量",
  4036. "type": "number"
  4037. },
  4038. "futurepl": {
  4039. "description": "期货总盈亏[结算更新]",
  4040. "type": "number"
  4041. },
  4042. "futureqty": {
  4043. "description": "期货持仓数量",
  4044. "type": "number"
  4045. },
  4046. "futurequote": {
  4047. "description": "期货额度",
  4048. "type": "number"
  4049. },
  4050. "goodsgroupid": {
  4051. "description": "期货品种ID",
  4052. "type": "integer"
  4053. },
  4054. "marketid": {
  4055. "description": "市场ID",
  4056. "type": "integer"
  4057. },
  4058. "netexposure": {
  4059. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  4060. "type": "number"
  4061. },
  4062. "netexposurepl": {
  4063. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  4064. "type": "number"
  4065. },
  4066. "netexposurerate": {
  4067. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  4068. "type": "number"
  4069. },
  4070. "openbasis": {
  4071. "description": "建仓基差",
  4072. "type": "number"
  4073. },
  4074. "pricedspotqty": {
  4075. "description": "已定价现货数量",
  4076. "type": "number"
  4077. },
  4078. "pricedspotqtynotax": {
  4079. "description": "已定价现货不含税数量",
  4080. "type": "number"
  4081. },
  4082. "remark": {
  4083. "description": "备注",
  4084. "type": "string"
  4085. },
  4086. "spotavgprice": {
  4087. "description": "现货均价",
  4088. "type": "number"
  4089. },
  4090. "spotbuyamount": {
  4091. "description": "现货采购金额",
  4092. "type": "number"
  4093. },
  4094. "spotbuyqty": {
  4095. "description": "现货采购数量",
  4096. "type": "number"
  4097. },
  4098. "spotpl": {
  4099. "description": "现货总盈亏[结算更新]",
  4100. "type": "number"
  4101. },
  4102. "spotquota": {
  4103. "description": "现货额度",
  4104. "type": "number"
  4105. },
  4106. "spotsellamount": {
  4107. "description": "现货销售金额",
  4108. "type": "number"
  4109. },
  4110. "spotsellqty": {
  4111. "description": "现货销售数量",
  4112. "type": "number"
  4113. },
  4114. "spotusedquota": {
  4115. "description": "现货占用资金",
  4116. "type": "number"
  4117. },
  4118. "strategystatus": {
  4119. "description": "策略状态 - 0:未结束 1:已结束",
  4120. "type": "integer"
  4121. },
  4122. "totalpl": {
  4123. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  4124. "type": "number"
  4125. },
  4126. "tradedate": {
  4127. "description": "交易日(yyyyMMdd)",
  4128. "type": "string"
  4129. },
  4130. "updatetime": {
  4131. "description": "更新时间",
  4132. "type": "string"
  4133. },
  4134. "usedquota": {
  4135. "description": "已占用资金",
  4136. "type": "number"
  4137. },
  4138. "userid": {
  4139. "description": "所属机构",
  4140. "type": "integer"
  4141. }
  4142. }
  4143. },
  4144. "erms2.QueryInnerTradeDetailRsp": {
  4145. "type": "object",
  4146. "required": [
  4147. "asapplyid",
  4148. "buyorsell",
  4149. "goodscode",
  4150. "goodsgroupid",
  4151. "goodsgroupname",
  4152. "goodsname",
  4153. "tradeid"
  4154. ],
  4155. "properties": {
  4156. "accountid": {
  4157. "description": "账号ID",
  4158. "type": "integer"
  4159. },
  4160. "agreeunit": {
  4161. "description": "合约单位",
  4162. "type": "number"
  4163. },
  4164. "asapplyid": {
  4165. "description": "策略申请ID",
  4166. "type": "integer"
  4167. },
  4168. "asname": {
  4169. "description": "策略名称",
  4170. "type": "string"
  4171. },
  4172. "asno": {
  4173. "description": "策略编号",
  4174. "type": "string"
  4175. },
  4176. "buyorsell": {
  4177. "description": "方向 - 0:买 1:卖",
  4178. "type": "integer"
  4179. },
  4180. "channelbuildtype": {
  4181. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  4182. "type": "integer"
  4183. },
  4184. "closetype": {
  4185. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  4186. "type": "integer"
  4187. },
  4188. "decimalplace": {
  4189. "description": "报价小数位",
  4190. "type": "integer"
  4191. },
  4192. "detailtype": {
  4193. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  4194. "type": "integer"
  4195. },
  4196. "exexchangecode": {
  4197. "description": "外部交易所代码",
  4198. "type": "string"
  4199. },
  4200. "exexchangename": {
  4201. "description": "外部交易所名称",
  4202. "type": "string"
  4203. },
  4204. "goodscode": {
  4205. "description": "商品代码(合约)",
  4206. "type": "string"
  4207. },
  4208. "goodsgroupid": {
  4209. "description": "商品组ID(品种ID)",
  4210. "type": "integer"
  4211. },
  4212. "goodsgroupname": {
  4213. "description": "商品组名称(品种)",
  4214. "type": "string"
  4215. },
  4216. "goodsid": {
  4217. "description": "商品ID",
  4218. "type": "integer"
  4219. },
  4220. "goodsname": {
  4221. "description": "商品名称(合约)",
  4222. "type": "string"
  4223. },
  4224. "goodunit": {
  4225. "description": "报价单位",
  4226. "type": "string"
  4227. },
  4228. "marketid": {
  4229. "description": "市场ID",
  4230. "type": "integer"
  4231. },
  4232. "orderid": {
  4233. "description": "委托单号",
  4234. "type": "string"
  4235. },
  4236. "outgoodscode": {
  4237. "description": "商品代码(外部)",
  4238. "type": "string"
  4239. },
  4240. "relatedouttradeid": {
  4241. "description": "关联外部成交单ID",
  4242. "type": "string"
  4243. },
  4244. "remark": {
  4245. "description": "备注",
  4246. "type": "string"
  4247. },
  4248. "spotcontractid": {
  4249. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  4250. "type": "integer"
  4251. },
  4252. "spotcontractno": {
  4253. "description": "现货合同编号",
  4254. "type": "string"
  4255. },
  4256. "tradeid": {
  4257. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4258. "type": "string"
  4259. },
  4260. "tradeprice": {
  4261. "description": "成交价格",
  4262. "type": "number"
  4263. },
  4264. "tradeqty": {
  4265. "description": "成交数量",
  4266. "type": "integer"
  4267. },
  4268. "tradetime": {
  4269. "description": "成交时间",
  4270. "type": "string"
  4271. },
  4272. "updatetime": {
  4273. "description": "更新时间",
  4274. "type": "string"
  4275. }
  4276. }
  4277. },
  4278. "erms2.QuerySpotContractRsp": {
  4279. "type": "object",
  4280. "required": [
  4281. "spotcontractid"
  4282. ],
  4283. "properties": {
  4284. "accountid": {
  4285. "description": "资金账户ID",
  4286. "type": "integer"
  4287. },
  4288. "areauserid": {
  4289. "description": "所属机构",
  4290. "type": "integer"
  4291. },
  4292. "closedate": {
  4293. "description": "终止日期",
  4294. "type": "string"
  4295. },
  4296. "closeremark": {
  4297. "description": "结束备注",
  4298. "type": "string"
  4299. },
  4300. "closetradedate": {
  4301. "description": "完结交易日(yyyyMMdd)",
  4302. "type": "string"
  4303. },
  4304. "closetype": {
  4305. "description": "终止类型 - 1:违约 2:提前终止",
  4306. "type": "integer"
  4307. },
  4308. "contractamount": {
  4309. "description": "合同金额",
  4310. "type": "number"
  4311. },
  4312. "contractattachment": {
  4313. "description": "合同附件",
  4314. "type": "string"
  4315. },
  4316. "contractno": {
  4317. "description": "现货合同编号",
  4318. "type": "string"
  4319. },
  4320. "contractqty": {
  4321. "description": "合同数量(数值) (用于计算)",
  4322. "type": "number"
  4323. },
  4324. "contractqtychar": {
  4325. "description": "合同数量\\已订价数量 (用于显示)",
  4326. "type": "string"
  4327. },
  4328. "contractstatus": {
  4329. "description": "合同状态 - 0:未结束 1:已结束",
  4330. "type": "integer"
  4331. },
  4332. "contracttype": {
  4333. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  4334. "type": "integer"
  4335. },
  4336. "customeraccountid": {
  4337. "description": "客户资金账户ID",
  4338. "type": "integer"
  4339. },
  4340. "customeruserid": {
  4341. "description": "客户ID",
  4342. "type": "integer"
  4343. },
  4344. "deliverygoodsdesc": {
  4345. "description": "品种说明",
  4346. "type": "string"
  4347. },
  4348. "deliverygoodsid": {
  4349. "description": "现货品种ID",
  4350. "type": "integer"
  4351. },
  4352. "handlestatus": {
  4353. "description": "处理状态",
  4354. "type": "integer"
  4355. },
  4356. "invoiceatt": {
  4357. "description": "发票附件",
  4358. "type": "string"
  4359. },
  4360. "invoicedatetime": {
  4361. "description": "开收票更新时间",
  4362. "type": "string"
  4363. },
  4364. "invoiceopentime": {
  4365. "description": "开票时间",
  4366. "type": "string"
  4367. },
  4368. "invoiceremark": {
  4369. "description": "发票备注",
  4370. "type": "string"
  4371. },
  4372. "invoicestatus": {
  4373. "description": "开收票状态 - 0:未开票 1:已开票",
  4374. "type": "integer"
  4375. },
  4376. "lastdate": {
  4377. "description": "交货时间",
  4378. "type": "string"
  4379. },
  4380. "marketid": {
  4381. "description": "市场ID",
  4382. "type": "integer"
  4383. },
  4384. "paydatetime": {
  4385. "description": "收付款更新时间",
  4386. "type": "string"
  4387. },
  4388. "payremark": {
  4389. "description": "收付款备注",
  4390. "type": "string"
  4391. },
  4392. "paystatus": {
  4393. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  4394. "type": "integer"
  4395. },
  4396. "positionqty": {
  4397. "description": "头寸数量 - 合同数量去小数部分",
  4398. "type": "integer"
  4399. },
  4400. "producttype": {
  4401. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  4402. "type": "integer"
  4403. },
  4404. "relatedqty": {
  4405. "description": "已关联数量",
  4406. "type": "number"
  4407. },
  4408. "relatedstatus": {
  4409. "description": "关联完结状态 - 0:未结束 1:已结束",
  4410. "type": "integer"
  4411. },
  4412. "remark": {
  4413. "description": "备注",
  4414. "type": "string"
  4415. },
  4416. "signdate": {
  4417. "description": "签订日期",
  4418. "type": "string"
  4419. },
  4420. "spotcontractid": {
  4421. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  4422. "type": "string"
  4423. },
  4424. "spotdatetime": {
  4425. "description": "收发货更新时间",
  4426. "type": "string"
  4427. },
  4428. "spotprice": {
  4429. "description": "价格",
  4430. "type": "number"
  4431. },
  4432. "spotremark": {
  4433. "description": "收发货备注",
  4434. "type": "string"
  4435. },
  4436. "spotstatus": {
  4437. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  4438. "type": "integer"
  4439. },
  4440. "tradedate": {
  4441. "description": "交易日(yyyyMMdd)",
  4442. "type": "string"
  4443. },
  4444. "userid": {
  4445. "description": "业务员用户ID",
  4446. "type": "integer"
  4447. },
  4448. "warehouseid": {
  4449. "description": "仓库ID",
  4450. "type": "integer"
  4451. },
  4452. "wrfactortypeid": {
  4453. "description": "仓单要素类型ID",
  4454. "type": "integer"
  4455. },
  4456. "wrstandardid": {
  4457. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  4458. "type": "integer"
  4459. }
  4460. }
  4461. },
  4462. "erms3.AddSpotContractApplyReq": {
  4463. "type": "object",
  4464. "required": [
  4465. "accountid",
  4466. "areauserid",
  4467. "contractno",
  4468. "contracttype",
  4469. "customeraccountid",
  4470. "customeruserid",
  4471. "details",
  4472. "lastdate",
  4473. "marketid",
  4474. "orimargin",
  4475. "orimarginpayer",
  4476. "signdate"
  4477. ],
  4478. "properties": {
  4479. "accountid": {
  4480. "description": "资金账户ID",
  4481. "type": "integer"
  4482. },
  4483. "areauserid": {
  4484. "description": "所属机构",
  4485. "type": "integer"
  4486. },
  4487. "contractattachment": {
  4488. "description": "合同附件",
  4489. "type": "string"
  4490. },
  4491. "contractno": {
  4492. "description": "现货合同编号",
  4493. "type": "string"
  4494. },
  4495. "contracttype": {
  4496. "description": "现货合同类型 - 1:采购 -1:销售",
  4497. "type": "integer"
  4498. },
  4499. "creatorid": {
  4500. "description": "申请人",
  4501. "type": "integer"
  4502. },
  4503. "customeraccountid": {
  4504. "description": "客户资金账户ID",
  4505. "type": "integer"
  4506. },
  4507. "customeruserid": {
  4508. "description": "客户ID",
  4509. "type": "integer"
  4510. },
  4511. "details": {
  4512. "description": "明细",
  4513. "type": "array",
  4514. "items": {
  4515. "$ref": "#/definitions/erms3.SoptContractDetail"
  4516. }
  4517. },
  4518. "lastdate": {
  4519. "description": "交货时间",
  4520. "type": "string"
  4521. },
  4522. "marketid": {
  4523. "description": "市场ID",
  4524. "type": "integer"
  4525. },
  4526. "orimargin": {
  4527. "description": "初始保证金",
  4528. "type": "number"
  4529. },
  4530. "orimarginpayer": {
  4531. "description": "初始保证金支付方 -1:买方 2:卖方",
  4532. "type": "integer"
  4533. },
  4534. "remark": {
  4535. "description": "备注",
  4536. "type": "string"
  4537. },
  4538. "signdate": {
  4539. "description": "签订日期",
  4540. "type": "string"
  4541. }
  4542. }
  4543. },
  4544. "erms3.AddSpotContractApplyRsp": {
  4545. "type": "object",
  4546. "required": [
  4547. "contractno"
  4548. ],
  4549. "properties": {
  4550. "contractno": {
  4551. "description": "现货合同编号",
  4552. "type": "string"
  4553. },
  4554. "spotcontractid": {
  4555. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  4556. "type": "integer"
  4557. }
  4558. }
  4559. },
  4560. "erms3.CustomerInfo": {
  4561. "type": "object",
  4562. "required": [
  4563. "userid"
  4564. ],
  4565. "properties": {
  4566. "accountids": {
  4567. "description": "资金账户ID列表",
  4568. "type": "array",
  4569. "items": {
  4570. "type": "integer"
  4571. }
  4572. },
  4573. "customername": {
  4574. "description": "名称(企业名称)",
  4575. "type": "string"
  4576. },
  4577. "mobile": {
  4578. "description": "手机号码",
  4579. "type": "string"
  4580. },
  4581. "userid": {
  4582. "description": "用户ID",
  4583. "type": "integer"
  4584. }
  4585. }
  4586. },
  4587. "erms3.QuerySpotContractAppleFormRsp": {
  4588. "type": "object",
  4589. "properties": {
  4590. "goodses": {
  4591. "description": "合约列表",
  4592. "type": "array",
  4593. "items": {
  4594. "$ref": "#/definitions/models.GoodsIDAndName"
  4595. }
  4596. },
  4597. "oppositeusers": {
  4598. "description": "对方账号列表",
  4599. "type": "array",
  4600. "items": {
  4601. "$ref": "#/definitions/erms3.CustomerInfo"
  4602. }
  4603. },
  4604. "ouruser": {
  4605. "description": "我方账号",
  4606. "$ref": "#/definitions/erms3.CustomerInfo"
  4607. },
  4608. "warehouseinfos": {
  4609. "description": "仓库信息列表",
  4610. "type": "array",
  4611. "items": {
  4612. "$ref": "#/definitions/models.Warehouseinfo"
  4613. }
  4614. },
  4615. "wrstandards": {
  4616. "description": "仓单标准列表",
  4617. "type": "array",
  4618. "items": {
  4619. "$ref": "#/definitions/models.Wrstandard"
  4620. }
  4621. }
  4622. }
  4623. },
  4624. "erms3.QuerySpotContractInfoRsp": {
  4625. "type": "object",
  4626. "properties": {
  4627. "accountid": {
  4628. "description": "表示交易员ID.",
  4629. "type": "integer"
  4630. },
  4631. "curdeliveryqty": {
  4632. "description": "表示未交收量.",
  4633. "type": "number"
  4634. },
  4635. "customername": {
  4636. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  4637. "type": "string"
  4638. },
  4639. "deliverygoodsid": {
  4640. "description": "表示品种ID.",
  4641. "type": "string"
  4642. },
  4643. "deliveryqty": {
  4644. "description": "表示交收量.",
  4645. "type": "number"
  4646. },
  4647. "matchaccountid": {
  4648. "description": "表示业务员ID.",
  4649. "type": "integer"
  4650. },
  4651. "matchcustomername": {
  4652. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  4653. "type": "string"
  4654. },
  4655. "priceqty": {
  4656. "description": "表示定价量.",
  4657. "type": "number"
  4658. },
  4659. "relatedbizid": {
  4660. "description": "表示业务ID.",
  4661. "type": "string"
  4662. },
  4663. "signdate": {
  4664. "description": "表示签订日期.",
  4665. "type": "string"
  4666. },
  4667. "spotcontractid": {
  4668. "description": "合同ID",
  4669. "type": "string"
  4670. },
  4671. "status": {
  4672. "description": "表示状态,0-履约中 1-已完成.",
  4673. "type": "integer"
  4674. },
  4675. "totalqty": {
  4676. "description": "表示合同量.",
  4677. "type": "number"
  4678. },
  4679. "unpricedqty": {
  4680. "description": "表示未定价量.",
  4681. "type": "number"
  4682. },
  4683. "wrstandardname": {
  4684. "description": "表示商品ID.",
  4685. "type": "string"
  4686. }
  4687. }
  4688. },
  4689. "erms3.SoptContractDetail": {
  4690. "type": "object",
  4691. "required": [
  4692. "deliverygoodsid",
  4693. "producttype",
  4694. "unitname",
  4695. "warehouseid",
  4696. "wrstandardid",
  4697. "wrstandardname"
  4698. ],
  4699. "properties": {
  4700. "deliverygoodsdesc": {
  4701. "description": "现货品种说明",
  4702. "type": "string"
  4703. },
  4704. "deliverygoodsid": {
  4705. "description": "现货品种ID",
  4706. "type": "integer"
  4707. },
  4708. "deliverygoodsname": {
  4709. "description": "现货品种名称",
  4710. "type": "string"
  4711. },
  4712. "pointdesc": {
  4713. "description": "点价描述",
  4714. "type": "string"
  4715. },
  4716. "producttype": {
  4717. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  4718. "type": "integer"
  4719. },
  4720. "producttypename": {
  4721. "description": "产品类型名称",
  4722. "type": "string"
  4723. },
  4724. "spotPointOrderVoList": {
  4725. "description": "点价列表",
  4726. "type": "array",
  4727. "items": {
  4728. "$ref": "#/definitions/erms3.SpotPointOrder"
  4729. }
  4730. },
  4731. "spotPriceOrderList": {
  4732. "description": "定价列表",
  4733. "type": "array",
  4734. "items": {
  4735. "$ref": "#/definitions/erms3.SpotPriceOrder"
  4736. }
  4737. },
  4738. "unitname": {
  4739. "description": "单位名称",
  4740. "type": "string"
  4741. },
  4742. "warehouseid": {
  4743. "description": "仓库ID",
  4744. "type": "integer"
  4745. },
  4746. "warehousename": {
  4747. "description": "仓库名称",
  4748. "type": "integer"
  4749. },
  4750. "wrstandardid": {
  4751. "description": "交易标的ID",
  4752. "type": "integer"
  4753. },
  4754. "wrstandardname": {
  4755. "description": "交易标的名称",
  4756. "type": "string"
  4757. }
  4758. }
  4759. },
  4760. "erms3.SpotPointOrder": {
  4761. "type": "object",
  4762. "required": [
  4763. "basic",
  4764. "enddate",
  4765. "goodsid",
  4766. "qty",
  4767. "startdate"
  4768. ],
  4769. "properties": {
  4770. "basic": {
  4771. "description": "基差",
  4772. "type": "number"
  4773. },
  4774. "enddate": {
  4775. "description": "点价结束日期",
  4776. "type": "string"
  4777. },
  4778. "goodsid": {
  4779. "description": "商品ID",
  4780. "type": "integer"
  4781. },
  4782. "goodsname": {
  4783. "description": "商品名称",
  4784. "type": "string"
  4785. },
  4786. "qty": {
  4787. "description": "数量",
  4788. "type": "number"
  4789. },
  4790. "startdate": {
  4791. "description": "点价开始日期",
  4792. "type": "string"
  4793. }
  4794. }
  4795. },
  4796. "erms3.SpotPriceOrder": {
  4797. "type": "object",
  4798. "required": [
  4799. "amount",
  4800. "price",
  4801. "qty"
  4802. ],
  4803. "properties": {
  4804. "amount": {
  4805. "description": "金额",
  4806. "type": "number"
  4807. },
  4808. "price": {
  4809. "description": "价格",
  4810. "type": "number"
  4811. },
  4812. "qty": {
  4813. "description": "数量",
  4814. "type": "number"
  4815. }
  4816. }
  4817. },
  4818. "hsby.GetHsbyMyCountRsp": {
  4819. "type": "object",
  4820. "properties": {
  4821. "myOrderDetailListingCount": {
  4822. "description": "我的订单求购中数量",
  4823. "type": "integer"
  4824. },
  4825. "myOrderDetailPreCount": {
  4826. "description": "我的订单抢购中数量",
  4827. "type": "integer"
  4828. },
  4829. "myPackageUnReceiveCount": {
  4830. "description": "我的包裹待收货数量",
  4831. "type": "integer"
  4832. },
  4833. "myPackageUnSendCount": {
  4834. "description": "我的包裹待发货数量",
  4835. "type": "integer"
  4836. }
  4837. }
  4838. },
  4839. "hsby.QueryProvincesAndCitiesRsp": {
  4840. "type": "object",
  4841. "properties": {
  4842. "cities": {
  4843. "description": "市",
  4844. "type": "array",
  4845. "items": {
  4846. "$ref": "#/definitions/models.Division"
  4847. }
  4848. },
  4849. "province": {
  4850. "description": "省",
  4851. "$ref": "#/definitions/models.Division"
  4852. }
  4853. }
  4854. },
  4855. "models.Division": {
  4856. "type": "object",
  4857. "required": [
  4858. "autoid",
  4859. "divisioncode"
  4860. ],
  4861. "properties": {
  4862. "autoid": {
  4863. "description": "自增ID",
  4864. "type": "integer"
  4865. },
  4866. "divisioncode": {
  4867. "description": "行政代码",
  4868. "type": "string"
  4869. },
  4870. "divisionlevel": {
  4871. "description": "行政级别",
  4872. "type": "string"
  4873. },
  4874. "divisionname": {
  4875. "description": "行政名称",
  4876. "type": "string"
  4877. },
  4878. "modifierid": {
  4879. "description": "修改人",
  4880. "type": "integer"
  4881. },
  4882. "modifytime": {
  4883. "description": "修改时间",
  4884. "type": "string"
  4885. },
  4886. "parentcode": {
  4887. "description": "上级行政代码",
  4888. "type": "string"
  4889. },
  4890. "pathname": {
  4891. "description": "路径名称",
  4892. "type": "string"
  4893. },
  4894. "postcode": {
  4895. "description": "邮政编码",
  4896. "type": "string"
  4897. },
  4898. "separablename": {
  4899. "description": "可拆分的全称",
  4900. "type": "string"
  4901. },
  4902. "shortcode": {
  4903. "description": "地区简码",
  4904. "type": "string"
  4905. }
  4906. }
  4907. },
  4908. "models.GoodsIDAndName": {
  4909. "type": "object",
  4910. "required": [
  4911. "goodscode",
  4912. "goodsid",
  4913. "goodsname",
  4914. "marketid"
  4915. ],
  4916. "properties": {
  4917. "goodscode": {
  4918. "description": "商品代码(内部)",
  4919. "type": "string"
  4920. },
  4921. "goodsid": {
  4922. "description": "商品ID(自增ID SEQ_GOODS)",
  4923. "type": "integer"
  4924. },
  4925. "goodsname": {
  4926. "description": "商品名称",
  4927. "type": "string"
  4928. },
  4929. "marketid": {
  4930. "description": "所属市场ID",
  4931. "type": "integer"
  4932. }
  4933. }
  4934. },
  4935. "models.HsbyBuyMyTradeDetail": {
  4936. "type": "object",
  4937. "required": [
  4938. "accountid",
  4939. "buyorsell",
  4940. "goodscode",
  4941. "goodsid",
  4942. "goodsname",
  4943. "marketid",
  4944. "orderid",
  4945. "qty",
  4946. "time",
  4947. "trademode"
  4948. ],
  4949. "properties": {
  4950. "accountid": {
  4951. "description": "账户ID[报价币种]",
  4952. "type": "integer"
  4953. },
  4954. "agreeunit": {
  4955. "description": "合约单位",
  4956. "type": "number"
  4957. },
  4958. "amount": {
  4959. "description": "金额 = 价格 * 数量 * 合约单位",
  4960. "type": "number"
  4961. },
  4962. "buyorsell": {
  4963. "description": "买卖 - 0:买 1:卖",
  4964. "type": "integer"
  4965. },
  4966. "currencysign": {
  4967. "description": "货币符号",
  4968. "type": "string"
  4969. },
  4970. "decimalplace": {
  4971. "description": "报价小数位",
  4972. "type": "integer"
  4973. },
  4974. "goodscode": {
  4975. "description": "商品代码(内部)",
  4976. "type": "string"
  4977. },
  4978. "goodsid": {
  4979. "description": "商品ID",
  4980. "type": "integer"
  4981. },
  4982. "goodsname": {
  4983. "description": "商品名称",
  4984. "type": "string"
  4985. },
  4986. "marketid": {
  4987. "description": "市场ID",
  4988. "type": "integer"
  4989. },
  4990. "orderid": {
  4991. "description": "单号(成交单号)",
  4992. "type": "string"
  4993. },
  4994. "picurls1": {
  4995. "description": "预售商品介绍图片[多张用逗号分隔]",
  4996. "type": "string"
  4997. },
  4998. "picurls2": {
  4999. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5000. "type": "string"
  5001. },
  5002. "price": {
  5003. "description": "价格",
  5004. "type": "number"
  5005. },
  5006. "qty": {
  5007. "description": "数量",
  5008. "type": "integer"
  5009. },
  5010. "time": {
  5011. "description": "时间",
  5012. "type": "string"
  5013. },
  5014. "trademode": {
  5015. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5016. "type": "integer"
  5017. },
  5018. "vendorname1": {
  5019. "description": "预售商品供应商名称",
  5020. "type": "string"
  5021. },
  5022. "vendorname2": {
  5023. "description": "挂牌商品供应商名称",
  5024. "type": "string"
  5025. }
  5026. }
  5027. },
  5028. "models.HsbyGoodsOrderDetail": {
  5029. "type": "object",
  5030. "required": [
  5031. "buyorsell",
  5032. "orderid",
  5033. "ordertime"
  5034. ],
  5035. "properties": {
  5036. "buyorsell": {
  5037. "description": "买卖 - 0:买 1:卖",
  5038. "type": "integer"
  5039. },
  5040. "currencysign": {
  5041. "description": "货币符号",
  5042. "type": "string"
  5043. },
  5044. "customername": {
  5045. "description": "客户名称(企业名称),已脱敏",
  5046. "type": "string"
  5047. },
  5048. "enableqty": {
  5049. "description": "可用数量",
  5050. "type": "integer"
  5051. },
  5052. "goodunit": {
  5053. "description": "报价单位",
  5054. "type": "string"
  5055. },
  5056. "orderid": {
  5057. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5058. "type": "string"
  5059. },
  5060. "orderprice": {
  5061. "description": "委托价格",
  5062. "type": "number"
  5063. },
  5064. "ordertime": {
  5065. "description": "委托时间",
  5066. "type": "string"
  5067. }
  5068. }
  5069. },
  5070. "models.HsbyListingGoodsDetail": {
  5071. "type": "object",
  5072. "required": [
  5073. "goodscode",
  5074. "goodsid",
  5075. "goodsname",
  5076. "marketid",
  5077. "trademode"
  5078. ],
  5079. "properties": {
  5080. "agreeunit": {
  5081. "description": "合约单位",
  5082. "type": "number"
  5083. },
  5084. "currency": {
  5085. "description": "货币",
  5086. "type": "string"
  5087. },
  5088. "currencysign": {
  5089. "description": "货币符号",
  5090. "type": "string"
  5091. },
  5092. "decimalplace": {
  5093. "description": "报价小数位",
  5094. "type": "integer"
  5095. },
  5096. "desccityid": {
  5097. "description": "目的地(市)ID",
  5098. "type": "integer"
  5099. },
  5100. "descprovinceid": {
  5101. "description": "目的地(省)ID",
  5102. "type": "integer"
  5103. },
  5104. "goodscode": {
  5105. "description": "商品代码(内部)",
  5106. "type": "string"
  5107. },
  5108. "goodsdesc": {
  5109. "description": "商品详情",
  5110. "type": "string"
  5111. },
  5112. "goodsid": {
  5113. "description": "商品ID(自增ID SEQ_GOODS)",
  5114. "type": "integer"
  5115. },
  5116. "goodsname": {
  5117. "description": "商品名称",
  5118. "type": "string"
  5119. },
  5120. "hotindex": {
  5121. "description": "景点热度",
  5122. "type": "integer"
  5123. },
  5124. "last": {
  5125. "description": "现价",
  5126. "type": "number"
  5127. },
  5128. "limitdown": {
  5129. "description": "跌停价",
  5130. "type": "number"
  5131. },
  5132. "limitup": {
  5133. "description": "涨停价",
  5134. "type": "number"
  5135. },
  5136. "lotsize": {
  5137. "description": "手数最小变动单位",
  5138. "type": "integer"
  5139. },
  5140. "marketid": {
  5141. "description": "所属市场ID",
  5142. "type": "integer"
  5143. },
  5144. "picurls": {
  5145. "description": "介绍图片[多张用逗号分隔]",
  5146. "type": "string"
  5147. },
  5148. "quoteminunit": {
  5149. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5150. "type": "integer"
  5151. },
  5152. "stepvalue": {
  5153. "description": "价格最小变动单位",
  5154. "type": "number"
  5155. },
  5156. "trademode": {
  5157. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5158. "type": "integer"
  5159. },
  5160. "vendorattr": {
  5161. "description": "供应商附件(多张,逗号分隔)",
  5162. "type": "string"
  5163. },
  5164. "vendorname": {
  5165. "description": "供应商名称",
  5166. "type": "string"
  5167. },
  5168. "vendorphone": {
  5169. "description": "供应商客服电话",
  5170. "type": "string"
  5171. },
  5172. "videourls": {
  5173. "description": "介绍视频[多张用逗号分隔]",
  5174. "type": "string"
  5175. }
  5176. }
  5177. },
  5178. "models.HsbyMyGoods": {
  5179. "type": "object",
  5180. "required": [
  5181. "accountid",
  5182. "goodscode",
  5183. "goodsid",
  5184. "goodsname"
  5185. ],
  5186. "properties": {
  5187. "accountid": {
  5188. "description": "账号Id",
  5189. "type": "integer"
  5190. },
  5191. "agreeunit": {
  5192. "description": "合约单位",
  5193. "type": "number"
  5194. },
  5195. "buyaverageprice": {
  5196. "description": "持仓均价",
  5197. "type": "number"
  5198. },
  5199. "buycurholderamount": {
  5200. "description": "买当前持仓总金额[商品币种]",
  5201. "type": "number"
  5202. },
  5203. "buycurpositionqty": {
  5204. "description": "买当前持仓总数量",
  5205. "type": "integer"
  5206. },
  5207. "currencysign": {
  5208. "description": "货币符号",
  5209. "type": "string"
  5210. },
  5211. "decimalplace": {
  5212. "description": "报价小数位",
  5213. "type": "integer"
  5214. },
  5215. "enableqty": {
  5216. "description": "可用数量",
  5217. "type": "integer"
  5218. },
  5219. "goodscode": {
  5220. "description": "商品代码(内部)",
  5221. "type": "string"
  5222. },
  5223. "goodsid": {
  5224. "description": "商品Id",
  5225. "type": "integer"
  5226. },
  5227. "goodsname": {
  5228. "description": "商品名称",
  5229. "type": "string"
  5230. },
  5231. "goodsstatus": {
  5232. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  5233. "type": "integer"
  5234. },
  5235. "picurls": {
  5236. "description": "介绍图片[多张用逗号分隔]",
  5237. "type": "string"
  5238. }
  5239. }
  5240. },
  5241. "models.HsbyMyPackage": {
  5242. "type": "object",
  5243. "required": [
  5244. "goodscode",
  5245. "goodsname",
  5246. "takeorderid"
  5247. ],
  5248. "properties": {
  5249. "accountid": {
  5250. "description": "账户ID",
  5251. "type": "integer"
  5252. },
  5253. "address": {
  5254. "description": "提货人详细地址",
  5255. "type": "string"
  5256. },
  5257. "agreeunit": {
  5258. "description": "合约单位",
  5259. "type": "number"
  5260. },
  5261. "amount": {
  5262. "description": "提货金额",
  5263. "type": "number"
  5264. },
  5265. "auditer": {
  5266. "description": "审核人",
  5267. "type": "integer"
  5268. },
  5269. "audittime": {
  5270. "description": "审核时间",
  5271. "type": "string"
  5272. },
  5273. "averageprice": {
  5274. "description": "均价",
  5275. "type": "number"
  5276. },
  5277. "cardnum": {
  5278. "description": "提货人证件号码",
  5279. "type": "string"
  5280. },
  5281. "cardtypeid": {
  5282. "description": "提货人证件类型",
  5283. "type": "integer"
  5284. },
  5285. "checkremark": {
  5286. "description": "审核备注",
  5287. "type": "string"
  5288. },
  5289. "currencysign": {
  5290. "description": "货币符号",
  5291. "type": "string"
  5292. },
  5293. "decimalplace": {
  5294. "description": "报价小数位",
  5295. "type": "integer"
  5296. },
  5297. "goodscode": {
  5298. "description": "商品代码(内部)",
  5299. "type": "string"
  5300. },
  5301. "goodsid": {
  5302. "description": "商品ID",
  5303. "type": "integer"
  5304. },
  5305. "goodsname": {
  5306. "description": "商品名称",
  5307. "type": "string"
  5308. },
  5309. "handlestatus": {
  5310. "description": "处理状态",
  5311. "type": "integer"
  5312. },
  5313. "marketid": {
  5314. "description": "市场ID",
  5315. "type": "integer"
  5316. },
  5317. "phonenum": {
  5318. "description": "提货人联系方式",
  5319. "type": "string"
  5320. },
  5321. "picurls": {
  5322. "description": "介绍图片[多张用逗号分隔]",
  5323. "type": "string"
  5324. },
  5325. "qty": {
  5326. "description": "提货数量",
  5327. "type": "number"
  5328. },
  5329. "recivername": {
  5330. "description": "提货人姓名",
  5331. "type": "string"
  5332. },
  5333. "reqtime": {
  5334. "description": "更新时间",
  5335. "type": "string"
  5336. },
  5337. "takemode": {
  5338. "description": "提货方式 - 2:自提 3:配送",
  5339. "type": "integer"
  5340. },
  5341. "takeorderid": {
  5342. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  5343. "type": "string"
  5344. },
  5345. "takeorderstatus": {
  5346. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5347. "type": "integer"
  5348. },
  5349. "takeremark": {
  5350. "description": "提货备注",
  5351. "type": "string"
  5352. },
  5353. "tradedate": {
  5354. "description": "交易日(yyyyMMdd)",
  5355. "type": "string"
  5356. },
  5357. "userid": {
  5358. "description": "用户ID",
  5359. "type": "integer"
  5360. },
  5361. "vendorname": {
  5362. "description": "供应商名称",
  5363. "type": "string"
  5364. }
  5365. }
  5366. },
  5367. "models.HsbyPreGoods": {
  5368. "type": "object",
  5369. "required": [
  5370. "goodscode",
  5371. "goodsid",
  5372. "goodsname",
  5373. "marketid",
  5374. "trademode"
  5375. ],
  5376. "properties": {
  5377. "agreeunit": {
  5378. "description": "合约单位",
  5379. "type": "number"
  5380. },
  5381. "currency": {
  5382. "description": "货币",
  5383. "type": "string"
  5384. },
  5385. "currencysign": {
  5386. "description": "货币符号",
  5387. "type": "string"
  5388. },
  5389. "decimalplace": {
  5390. "description": "报价小数位",
  5391. "type": "integer"
  5392. },
  5393. "enableqty": {
  5394. "description": "剩余数量",
  5395. "type": "integer"
  5396. },
  5397. "goodscode": {
  5398. "description": "商品代码(内部)",
  5399. "type": "string"
  5400. },
  5401. "goodsid": {
  5402. "description": "商品ID(自增ID SEQ_GOODS)",
  5403. "type": "integer"
  5404. },
  5405. "goodsname": {
  5406. "description": "商品名称",
  5407. "type": "string"
  5408. },
  5409. "goodsstatus": {
  5410. "description": "商品状态- 2:未上市 3:上市",
  5411. "type": "integer"
  5412. },
  5413. "lasttradedate": {
  5414. "description": "最后交易日期(状态:待退市)",
  5415. "type": "string"
  5416. },
  5417. "listingdate": {
  5418. "description": "交易开始日期",
  5419. "type": "string"
  5420. },
  5421. "marketid": {
  5422. "description": "所属市场ID",
  5423. "type": "integer"
  5424. },
  5425. "picurls": {
  5426. "description": "介绍图片[多张用逗号分隔]",
  5427. "type": "string"
  5428. },
  5429. "presaledqty": {
  5430. "description": "已预售量(预售结束时更新)",
  5431. "type": "integer"
  5432. },
  5433. "presaleqty": {
  5434. "description": "预售数量",
  5435. "type": "integer"
  5436. },
  5437. "quoteminunit": {
  5438. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5439. "type": "integer"
  5440. },
  5441. "refprice": {
  5442. "description": "参考价格[一口价]",
  5443. "type": "number"
  5444. },
  5445. "relatedgoodsid": {
  5446. "description": "关联交易合约ID",
  5447. "type": "integer"
  5448. },
  5449. "trademode": {
  5450. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5451. "type": "integer"
  5452. },
  5453. "videourls": {
  5454. "description": "介绍视频[多张用逗号分隔]",
  5455. "type": "string"
  5456. }
  5457. }
  5458. },
  5459. "models.HsbyPreGoodsDetail": {
  5460. "type": "object",
  5461. "required": [
  5462. "goodscode",
  5463. "goodsid",
  5464. "goodsname",
  5465. "marketid",
  5466. "trademode"
  5467. ],
  5468. "properties": {
  5469. "agreeunit": {
  5470. "description": "合约单位",
  5471. "type": "number"
  5472. },
  5473. "buymaxqty": {
  5474. "description": "购买上限 [71] - 0为不限",
  5475. "type": "integer"
  5476. },
  5477. "currency": {
  5478. "description": "货币",
  5479. "type": "string"
  5480. },
  5481. "currencysign": {
  5482. "description": "货币符号",
  5483. "type": "string"
  5484. },
  5485. "customername": {
  5486. "description": "发行单位",
  5487. "type": "string"
  5488. },
  5489. "decimalplace": {
  5490. "description": "报价小数位",
  5491. "type": "integer"
  5492. },
  5493. "desccityid": {
  5494. "description": "目的地(市)ID",
  5495. "type": "integer"
  5496. },
  5497. "descprovinceid": {
  5498. "description": "目的地(省)ID",
  5499. "type": "integer"
  5500. },
  5501. "enableqty": {
  5502. "description": "剩余数量",
  5503. "type": "integer"
  5504. },
  5505. "goodscode": {
  5506. "description": "商品代码(内部)",
  5507. "type": "string"
  5508. },
  5509. "goodsdesc": {
  5510. "description": "商品详情",
  5511. "type": "string"
  5512. },
  5513. "goodsid": {
  5514. "description": "商品ID(自增ID SEQ_GOODS)",
  5515. "type": "integer"
  5516. },
  5517. "goodsname": {
  5518. "description": "商品名称",
  5519. "type": "string"
  5520. },
  5521. "goodsstatus": {
  5522. "description": "商品状态- 2:未上市 3:上市",
  5523. "type": "integer"
  5524. },
  5525. "goodunit": {
  5526. "description": "报价单位",
  5527. "type": "string"
  5528. },
  5529. "lasttradedate": {
  5530. "description": "最后交易日期(状态:待退市)",
  5531. "type": "string"
  5532. },
  5533. "listingdate": {
  5534. "description": "交易开始日期",
  5535. "type": "string"
  5536. },
  5537. "lotsize": {
  5538. "description": "手数最小变动单位",
  5539. "type": "integer"
  5540. },
  5541. "marketid": {
  5542. "description": "所属市场ID",
  5543. "type": "integer"
  5544. },
  5545. "picurls": {
  5546. "description": "介绍图片[多张用逗号分隔]",
  5547. "type": "string"
  5548. },
  5549. "presaledqty": {
  5550. "description": "已预售量(预售结束时更新)",
  5551. "type": "integer"
  5552. },
  5553. "presaleqty": {
  5554. "description": "预售数量",
  5555. "type": "integer"
  5556. },
  5557. "quoteminunit": {
  5558. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5559. "type": "integer"
  5560. },
  5561. "refprice": {
  5562. "description": "参考价格[一口价]",
  5563. "type": "number"
  5564. },
  5565. "relatedgoodsid": {
  5566. "description": "关联交易合约ID",
  5567. "type": "integer"
  5568. },
  5569. "stepvalue": {
  5570. "description": "价格最小变动单位",
  5571. "type": "number"
  5572. },
  5573. "trademode": {
  5574. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5575. "type": "integer"
  5576. },
  5577. "vendorattr": {
  5578. "description": "供应商附件(多张,逗号分隔)",
  5579. "type": "string"
  5580. },
  5581. "vendorname": {
  5582. "description": "供应商名称",
  5583. "type": "string"
  5584. },
  5585. "vendorphone": {
  5586. "description": "供应商客服电话",
  5587. "type": "string"
  5588. },
  5589. "videourls": {
  5590. "description": "介绍视频[多张用逗号分隔]",
  5591. "type": "string"
  5592. }
  5593. }
  5594. },
  5595. "models.HsbySellMyDetail": {
  5596. "type": "object",
  5597. "required": [
  5598. "accountid",
  5599. "buyorsell",
  5600. "goodscode",
  5601. "goodsid",
  5602. "goodsname",
  5603. "marketid",
  5604. "orderid",
  5605. "qty",
  5606. "time",
  5607. "trademode"
  5608. ],
  5609. "properties": {
  5610. "accountid": {
  5611. "description": "账户ID[报价币种]",
  5612. "type": "integer"
  5613. },
  5614. "agreeunit": {
  5615. "description": "合约单位",
  5616. "type": "number"
  5617. },
  5618. "amount": {
  5619. "description": "金额 = 价格 * 数量 * 合约单位",
  5620. "type": "number"
  5621. },
  5622. "buyorsell": {
  5623. "description": "买卖 - 0:买 1:卖",
  5624. "type": "integer"
  5625. },
  5626. "currencysign": {
  5627. "description": "货币符号",
  5628. "type": "string"
  5629. },
  5630. "decimalplace": {
  5631. "description": "报价小数位",
  5632. "type": "integer"
  5633. },
  5634. "goodscode": {
  5635. "description": "商品代码(内部)",
  5636. "type": "string"
  5637. },
  5638. "goodsid": {
  5639. "description": "商品ID",
  5640. "type": "integer"
  5641. },
  5642. "goodsname": {
  5643. "description": "商品名称",
  5644. "type": "string"
  5645. },
  5646. "marketid": {
  5647. "description": "市场ID",
  5648. "type": "integer"
  5649. },
  5650. "orderid": {
  5651. "description": "单号(已发布 - 委托单号;已完成 - 成交单号)",
  5652. "type": "string"
  5653. },
  5654. "ordertype": {
  5655. "description": "单据类型:0 - 已发布, 1 - 已完成",
  5656. "type": "integer"
  5657. },
  5658. "picurls": {
  5659. "description": "介绍图片[多张用逗号分隔]",
  5660. "type": "string"
  5661. },
  5662. "price": {
  5663. "description": "价格",
  5664. "type": "number"
  5665. },
  5666. "qty": {
  5667. "description": "数量",
  5668. "type": "integer"
  5669. },
  5670. "time": {
  5671. "description": "时间",
  5672. "type": "string"
  5673. },
  5674. "trademode": {
  5675. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5676. "type": "integer"
  5677. },
  5678. "vendorname": {
  5679. "description": "供应商名称",
  5680. "type": "string"
  5681. }
  5682. }
  5683. },
  5684. "models.HsbyTopGoods": {
  5685. "type": "object",
  5686. "required": [
  5687. "goodscode",
  5688. "goodsid",
  5689. "goodsname",
  5690. "marketid",
  5691. "trademode"
  5692. ],
  5693. "properties": {
  5694. "agreeunit": {
  5695. "description": "合约单位",
  5696. "type": "number"
  5697. },
  5698. "currency": {
  5699. "description": "货币",
  5700. "type": "string"
  5701. },
  5702. "currencysign": {
  5703. "description": "货币符号",
  5704. "type": "string"
  5705. },
  5706. "decimalplace": {
  5707. "description": "报价小数位",
  5708. "type": "integer"
  5709. },
  5710. "goodscode": {
  5711. "description": "商品代码(内部)",
  5712. "type": "string"
  5713. },
  5714. "goodsid": {
  5715. "description": "商品ID(自增ID SEQ_GOODS)",
  5716. "type": "integer"
  5717. },
  5718. "goodsname": {
  5719. "description": "商品名称",
  5720. "type": "string"
  5721. },
  5722. "hotindex": {
  5723. "description": "景点热度",
  5724. "type": "integer"
  5725. },
  5726. "last": {
  5727. "description": "现价",
  5728. "type": "number"
  5729. },
  5730. "marketid": {
  5731. "description": "所属市场ID",
  5732. "type": "integer"
  5733. },
  5734. "picurls": {
  5735. "description": "介绍图片[多张用逗号分隔]",
  5736. "type": "string"
  5737. },
  5738. "quoteminunit": {
  5739. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  5740. "type": "integer"
  5741. },
  5742. "trademode": {
  5743. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5744. "type": "integer"
  5745. },
  5746. "videourls": {
  5747. "description": "介绍视频[多张用逗号分隔]",
  5748. "type": "string"
  5749. }
  5750. }
  5751. },
  5752. "models.HybsMyBuyOrderDetail": {
  5753. "type": "object",
  5754. "required": [
  5755. "accountid",
  5756. "buyorsell",
  5757. "goodscode",
  5758. "goodsid",
  5759. "goodsname",
  5760. "marketid",
  5761. "orderid",
  5762. "orderqty",
  5763. "ordertime",
  5764. "trademode"
  5765. ],
  5766. "properties": {
  5767. "accountid": {
  5768. "description": "账户ID[报价币种]",
  5769. "type": "integer"
  5770. },
  5771. "agreeunit": {
  5772. "description": "合约单位",
  5773. "type": "number"
  5774. },
  5775. "buyorsell": {
  5776. "description": "买卖 - 0:买 1:卖",
  5777. "type": "integer"
  5778. },
  5779. "cancelqty": {
  5780. "description": "撤单数量",
  5781. "type": "integer"
  5782. },
  5783. "currencysign": {
  5784. "description": "货币符号",
  5785. "type": "string"
  5786. },
  5787. "decimalplace": {
  5788. "description": "报价小数位",
  5789. "type": "integer"
  5790. },
  5791. "goodscode": {
  5792. "description": "商品代码(内部)",
  5793. "type": "string"
  5794. },
  5795. "goodsid": {
  5796. "description": "商品ID",
  5797. "type": "integer"
  5798. },
  5799. "goodsname": {
  5800. "description": "商品名称",
  5801. "type": "string"
  5802. },
  5803. "listingselecttype": {
  5804. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  5805. "type": "integer"
  5806. },
  5807. "marketid": {
  5808. "description": "市场ID",
  5809. "type": "integer"
  5810. },
  5811. "mybuystatus": {
  5812. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  5813. "type": "integer"
  5814. },
  5815. "orderamount": {
  5816. "description": "委托金额",
  5817. "type": "number"
  5818. },
  5819. "orderid": {
  5820. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  5821. "type": "string"
  5822. },
  5823. "orderprice": {
  5824. "description": "委托价格",
  5825. "type": "number"
  5826. },
  5827. "orderqty": {
  5828. "description": "委托数量",
  5829. "type": "integer"
  5830. },
  5831. "orderstatus": {
  5832. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  5833. "type": "integer"
  5834. },
  5835. "ordertime": {
  5836. "description": "委托时间",
  5837. "type": "string"
  5838. },
  5839. "picurls1": {
  5840. "description": "预售商品介绍图片[多张用逗号分隔]",
  5841. "type": "string"
  5842. },
  5843. "picurls2": {
  5844. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  5845. "type": "string"
  5846. },
  5847. "trademode": {
  5848. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  5849. "type": "integer"
  5850. },
  5851. "tradeqty": {
  5852. "description": "成交数量",
  5853. "type": "integer"
  5854. },
  5855. "vendorname1": {
  5856. "description": "预售商品供应商名称",
  5857. "type": "string"
  5858. },
  5859. "vendorname2": {
  5860. "description": "挂牌商品供应商名称",
  5861. "type": "string"
  5862. }
  5863. }
  5864. },
  5865. "models.Messageboard": {
  5866. "type": "object",
  5867. "required": [
  5868. "messageboardid"
  5869. ],
  5870. "properties": {
  5871. "createtime": {
  5872. "description": "创建时间",
  5873. "type": "string"
  5874. },
  5875. "message": {
  5876. "description": "留言信息",
  5877. "type": "string"
  5878. },
  5879. "messageboardid": {
  5880. "description": "留言簿ID(SEQ_MessageBoard)",
  5881. "type": "integer"
  5882. },
  5883. "userid": {
  5884. "description": "用户ID",
  5885. "type": "integer"
  5886. }
  5887. }
  5888. },
  5889. "models.OperationPrimaryMenu": {
  5890. "type": "object",
  5891. "properties": {
  5892. "Children": {
  5893. "description": "二级功能菜单",
  5894. "type": "array",
  5895. "items": {
  5896. "$ref": "#/definitions/models.OperationSecondaryMenu"
  5897. }
  5898. },
  5899. "Key": {
  5900. "description": "菜单KEY",
  5901. "type": "string"
  5902. },
  5903. "Label": {
  5904. "description": "菜单标题",
  5905. "type": "string"
  5906. }
  5907. }
  5908. },
  5909. "models.OperationSecondaryMenu": {
  5910. "type": "object",
  5911. "properties": {
  5912. "Key": {
  5913. "description": "菜单KEY",
  5914. "type": "string"
  5915. },
  5916. "Label": {
  5917. "description": "菜单标题",
  5918. "type": "string"
  5919. },
  5920. "TabList": {
  5921. "description": "三级功能菜单",
  5922. "type": "array",
  5923. "items": {
  5924. "$ref": "#/definitions/models.OperationTabMenu"
  5925. }
  5926. }
  5927. }
  5928. },
  5929. "models.OperationTabMenu": {
  5930. "type": "object",
  5931. "properties": {
  5932. "Key": {
  5933. "description": "菜单KEY",
  5934. "type": "string"
  5935. },
  5936. "Label": {
  5937. "description": "菜单标题",
  5938. "type": "string"
  5939. }
  5940. }
  5941. },
  5942. "models.QuotePrimaryMenu": {
  5943. "type": "object",
  5944. "properties": {
  5945. "Index": {
  5946. "description": "序号",
  5947. "type": "integer"
  5948. },
  5949. "Key": {
  5950. "description": "键名",
  5951. "type": "string"
  5952. },
  5953. "Name": {
  5954. "description": "菜单名称",
  5955. "type": "string"
  5956. },
  5957. "SubMenus": {
  5958. "description": "子菜单",
  5959. "type": "array",
  5960. "items": {
  5961. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  5962. }
  5963. },
  5964. "SubTitleType": {
  5965. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  5966. "type": "integer"
  5967. },
  5968. "TradeModes": {
  5969. "description": "包含市场交易类型",
  5970. "type": "string"
  5971. }
  5972. }
  5973. },
  5974. "models.QuoteSecondaryMenu": {
  5975. "type": "object",
  5976. "properties": {
  5977. "ExExchangeCode": {
  5978. "description": "外部交易所代码",
  5979. "type": "string"
  5980. },
  5981. "ExExchangeID": {
  5982. "description": "外部交易所ID",
  5983. "type": "integer"
  5984. },
  5985. "GoodsGroupIDs": {
  5986. "description": "商品组ID列表",
  5987. "type": "array",
  5988. "items": {
  5989. "type": "integer"
  5990. }
  5991. },
  5992. "Index": {
  5993. "description": "序号",
  5994. "type": "integer"
  5995. },
  5996. "MarketID": {
  5997. "description": "市场ID",
  5998. "type": "integer"
  5999. },
  6000. "MenuTitle": {
  6001. "description": "菜单标题(市场名称或外部交易所名称)",
  6002. "type": "string"
  6003. },
  6004. "TradeMode": {
  6005. "description": "交易模式",
  6006. "type": "integer"
  6007. }
  6008. }
  6009. },
  6010. "models.SearchGoods": {
  6011. "type": "object",
  6012. "required": [
  6013. "goodscode",
  6014. "goodsid",
  6015. "goodsname",
  6016. "marketid",
  6017. "trademode"
  6018. ],
  6019. "properties": {
  6020. "goodscode": {
  6021. "description": "商品代码(内部)",
  6022. "type": "string"
  6023. },
  6024. "goodsid": {
  6025. "description": "商品ID(自增ID SEQ_GOODS)",
  6026. "type": "integer"
  6027. },
  6028. "goodsname": {
  6029. "description": "商品名称",
  6030. "type": "string"
  6031. },
  6032. "marketid": {
  6033. "description": "所属市场ID",
  6034. "type": "integer"
  6035. },
  6036. "marketname": {
  6037. "description": "市场名称",
  6038. "type": "string"
  6039. },
  6040. "trademode": {
  6041. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  6042. "type": "integer"
  6043. }
  6044. }
  6045. },
  6046. "models.Szdz2imageconfig": {
  6047. "type": "object",
  6048. "required": [
  6049. "configid"
  6050. ],
  6051. "properties": {
  6052. "configid": {
  6053. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6054. "type": "integer"
  6055. },
  6056. "imagepath": {
  6057. "description": "图片",
  6058. "type": "string"
  6059. },
  6060. "imagetype": {
  6061. "description": "类型 - 1:App首页轮播 2:我的",
  6062. "type": "integer"
  6063. },
  6064. "sort": {
  6065. "description": "排序",
  6066. "type": "integer"
  6067. },
  6068. "title": {
  6069. "description": "标题",
  6070. "type": "string"
  6071. },
  6072. "url": {
  6073. "description": "链接",
  6074. "type": "string"
  6075. }
  6076. }
  6077. },
  6078. "models.Szdz3convertconfig": {
  6079. "type": "object",
  6080. "required": [
  6081. "converttype",
  6082. "innergoodsid",
  6083. "outergoodscode"
  6084. ],
  6085. "properties": {
  6086. "canin": {
  6087. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  6088. "type": "integer"
  6089. },
  6090. "canout": {
  6091. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  6092. "type": "integer"
  6093. },
  6094. "converttype": {
  6095. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6096. "type": "integer"
  6097. },
  6098. "createtime": {
  6099. "description": "创建时间",
  6100. "type": "string"
  6101. },
  6102. "creatorid": {
  6103. "description": "创建人",
  6104. "type": "integer"
  6105. },
  6106. "daymaxvalue": {
  6107. "description": "当日最大转入限制",
  6108. "type": "number"
  6109. },
  6110. "freezedays": {
  6111. "description": "冻结天数 [5:花生米转交易]",
  6112. "type": "integer"
  6113. },
  6114. "innergoodsid": {
  6115. "description": "内部商品ID[交易]",
  6116. "type": "integer"
  6117. },
  6118. "inratio": {
  6119. "description": "目标值",
  6120. "type": "integer"
  6121. },
  6122. "modifierid": {
  6123. "description": "修改人",
  6124. "type": "integer"
  6125. },
  6126. "modifytime": {
  6127. "description": "修改时间",
  6128. "type": "string"
  6129. },
  6130. "outergoodscode": {
  6131. "description": "外部商品代码[JD\\PD]",
  6132. "type": "string"
  6133. },
  6134. "outratio": {
  6135. "description": "源值",
  6136. "type": "integer"
  6137. },
  6138. "pddecimalplace": {
  6139. "description": "PD小数位",
  6140. "type": "integer"
  6141. },
  6142. "timemaxvalue": {
  6143. "description": "单次最大转入限制",
  6144. "type": "number"
  6145. },
  6146. "timeminvalue": {
  6147. "description": "单次最小转入限制",
  6148. "type": "number"
  6149. }
  6150. }
  6151. },
  6152. "models.Szdz3searchwhitelist": {
  6153. "type": "object",
  6154. "required": [
  6155. "userid"
  6156. ],
  6157. "properties": {
  6158. "createtime": {
  6159. "description": "创建时间",
  6160. "type": "string"
  6161. },
  6162. "creatorid": {
  6163. "description": "创建人",
  6164. "type": "integer"
  6165. },
  6166. "modifierid": {
  6167. "description": "修改人",
  6168. "type": "integer"
  6169. },
  6170. "modifytime": {
  6171. "description": "修改时间",
  6172. "type": "string"
  6173. },
  6174. "userid": {
  6175. "description": "用户ID",
  6176. "type": "integer"
  6177. }
  6178. }
  6179. },
  6180. "models.Tablecolumnconfig": {
  6181. "type": "object",
  6182. "required": [
  6183. "autoid"
  6184. ],
  6185. "properties": {
  6186. "aligntype": {
  6187. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  6188. "type": "integer"
  6189. },
  6190. "autoid": {
  6191. "description": "AutoID",
  6192. "type": "integer"
  6193. },
  6194. "columnfield": {
  6195. "description": "列字段",
  6196. "type": "string"
  6197. },
  6198. "columntitle": {
  6199. "description": "列Title",
  6200. "type": "string"
  6201. },
  6202. "columnwidth": {
  6203. "description": "列宽",
  6204. "type": "string"
  6205. },
  6206. "formatterstring": {
  6207. "description": "格式化字符",
  6208. "type": "string"
  6209. },
  6210. "formattertype": {
  6211. "description": "格式化类型",
  6212. "type": "string"
  6213. },
  6214. "groupname": {
  6215. "description": "表头分组名称",
  6216. "type": "string"
  6217. },
  6218. "isshow": {
  6219. "description": "是否显示 - 0:不显示 1:显示",
  6220. "type": "integer"
  6221. },
  6222. "needsummary": {
  6223. "description": "是否需要汇总 - 0:不需要 1:需要",
  6224. "type": "integer"
  6225. },
  6226. "orderindex": {
  6227. "description": "顺序",
  6228. "type": "integer"
  6229. },
  6230. "remark": {
  6231. "description": "备注",
  6232. "type": "string"
  6233. },
  6234. "summarytype": {
  6235. "description": "汇总类型 - 1:加总 2:最后一个",
  6236. "type": "integer"
  6237. },
  6238. "tablekey": {
  6239. "description": "列表Key",
  6240. "type": "string"
  6241. }
  6242. }
  6243. },
  6244. "models.Userfavoritegoods": {
  6245. "type": "object",
  6246. "required": [
  6247. "goodsid"
  6248. ],
  6249. "properties": {
  6250. "goodsid": {
  6251. "description": "商品ID",
  6252. "type": "integer"
  6253. }
  6254. }
  6255. },
  6256. "models.Userinfo": {
  6257. "type": "object",
  6258. "required": [
  6259. "userid"
  6260. ],
  6261. "properties": {
  6262. "address": {
  6263. "description": "地址",
  6264. "type": "string"
  6265. },
  6266. "attachment1": {
  6267. "description": "附件1",
  6268. "type": "string"
  6269. },
  6270. "attachment2": {
  6271. "description": "附件2",
  6272. "type": "string"
  6273. },
  6274. "bankaccount": {
  6275. "description": "银行帐号 (加密存储)",
  6276. "type": "string"
  6277. },
  6278. "bankaccountname": {
  6279. "description": "收款人名称",
  6280. "type": "string"
  6281. },
  6282. "bankcardfrontphotourl": {
  6283. "description": "银行卡正面照地址",
  6284. "type": "string"
  6285. },
  6286. "bankid": {
  6287. "description": "银行编码",
  6288. "type": "string"
  6289. },
  6290. "bankname": {
  6291. "description": "银行名称",
  6292. "type": "string"
  6293. },
  6294. "biznature": {
  6295. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6296. "type": "integer"
  6297. },
  6298. "bizscope": {
  6299. "description": "企业经营范围(企业)",
  6300. "type": "string"
  6301. },
  6302. "cardbackphotourl": {
  6303. "description": "证件背面图片地址",
  6304. "type": "string"
  6305. },
  6306. "cardfrontphotourl": {
  6307. "description": "证件正面图片地址",
  6308. "type": "string"
  6309. },
  6310. "cardnum": {
  6311. "description": "证件号码(加密存储)",
  6312. "type": "string"
  6313. },
  6314. "cardtypeid": {
  6315. "description": "证件类型ID",
  6316. "type": "integer"
  6317. },
  6318. "cityid": {
  6319. "description": "市",
  6320. "type": "integer"
  6321. },
  6322. "company": {
  6323. "description": "公司(个人)",
  6324. "type": "string"
  6325. },
  6326. "contactname": {
  6327. "description": "联系人",
  6328. "type": "string"
  6329. },
  6330. "countryid": {
  6331. "description": "国家",
  6332. "type": "integer"
  6333. },
  6334. "createtime": {
  6335. "description": "创建时间",
  6336. "type": "string"
  6337. },
  6338. "creatorid": {
  6339. "description": "创建人",
  6340. "type": "integer"
  6341. },
  6342. "customername": {
  6343. "description": "客户名称(企业名称)",
  6344. "type": "string"
  6345. },
  6346. "districtid": {
  6347. "description": "地区",
  6348. "type": "integer"
  6349. },
  6350. "email": {
  6351. "description": "邮件(加密存储)",
  6352. "type": "string"
  6353. },
  6354. "fax": {
  6355. "description": "传真(加密存储)",
  6356. "type": "string"
  6357. },
  6358. "halfbodyphotourl": {
  6359. "description": "半身照地址",
  6360. "type": "string"
  6361. },
  6362. "hasencrypt": {
  6363. "description": "数据是否已加密 - 0:未加密 1:已加密",
  6364. "type": "integer"
  6365. },
  6366. "headurl": {
  6367. "description": "头像地址",
  6368. "type": "string"
  6369. },
  6370. "legalcardbackphotourl": {
  6371. "description": "法人身份证背面照地址",
  6372. "type": "string"
  6373. },
  6374. "legalcardfrontphotourl": {
  6375. "description": "法人身份证正面照地址",
  6376. "type": "string"
  6377. },
  6378. "legalpersonname": {
  6379. "description": "法人姓名(企业)",
  6380. "type": "string"
  6381. },
  6382. "mobile": {
  6383. "description": "手机号码(加密存储)",
  6384. "type": "string"
  6385. },
  6386. "mobile2": {
  6387. "description": "手机号码[明文-尚志]",
  6388. "type": "string"
  6389. },
  6390. "modifierid": {
  6391. "description": "修改人",
  6392. "type": "integer"
  6393. },
  6394. "modifiertime": {
  6395. "description": "修改时间",
  6396. "type": "string"
  6397. },
  6398. "needinvoice": {
  6399. "description": "是否需要发票 - 0:不需要 1:需要",
  6400. "type": "integer"
  6401. },
  6402. "nickname": {
  6403. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  6404. "type": "string"
  6405. },
  6406. "openmode": {
  6407. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  6408. "type": "integer"
  6409. },
  6410. "otherurl": {
  6411. "description": "其它图片地址[使用分号分隔]",
  6412. "type": "string"
  6413. },
  6414. "postalcode": {
  6415. "description": "邮政编码",
  6416. "type": "string"
  6417. },
  6418. "provinceid": {
  6419. "description": "省",
  6420. "type": "integer"
  6421. },
  6422. "qq": {
  6423. "description": "QQ(加密存储",
  6424. "type": "string"
  6425. },
  6426. "remark": {
  6427. "description": "备注",
  6428. "type": "string"
  6429. },
  6430. "sex": {
  6431. "description": "用户性别 0: 女 1: 男",
  6432. "type": "integer"
  6433. },
  6434. "signpdfurl": {
  6435. "description": "签约pdf文件",
  6436. "type": "string"
  6437. },
  6438. "telphone": {
  6439. "description": "联系电话(加密存储)",
  6440. "type": "string"
  6441. },
  6442. "userid": {
  6443. "description": "用户ID",
  6444. "type": "integer"
  6445. },
  6446. "userinfotype": {
  6447. "description": "用户信息类型 - 1:个人 2:企业",
  6448. "type": "integer"
  6449. },
  6450. "userstatus": {
  6451. "description": "用户状态 - 1:正常 2:注销",
  6452. "type": "integer"
  6453. },
  6454. "usertype": {
  6455. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  6456. "type": "integer"
  6457. },
  6458. "wechat": {
  6459. "description": "微信(加密存储)",
  6460. "type": "string"
  6461. },
  6462. "wskhinfo": {
  6463. "description": "开户申请信息(JSON)",
  6464. "type": "string"
  6465. }
  6466. }
  6467. },
  6468. "models.Warehouseinfo": {
  6469. "type": "object",
  6470. "required": [
  6471. "autoid",
  6472. "warehousecode"
  6473. ],
  6474. "properties": {
  6475. "address": {
  6476. "description": "详细地址",
  6477. "type": "string"
  6478. },
  6479. "areauserid": {
  6480. "description": "所属机构",
  6481. "type": "integer"
  6482. },
  6483. "autoid": {
  6484. "description": "自增ID",
  6485. "type": "integer"
  6486. },
  6487. "cityid": {
  6488. "description": "市",
  6489. "type": "integer"
  6490. },
  6491. "contactname": {
  6492. "description": "联系人",
  6493. "type": "string"
  6494. },
  6495. "contactnum": {
  6496. "description": "联系电话",
  6497. "type": "string"
  6498. },
  6499. "countryid": {
  6500. "description": "国家",
  6501. "type": "integer"
  6502. },
  6503. "createtime": {
  6504. "description": "创建时间",
  6505. "type": "string"
  6506. },
  6507. "districtid": {
  6508. "description": "区",
  6509. "type": "integer"
  6510. },
  6511. "hasvideo": {
  6512. "description": "是否有视频 - 0:无 1:有",
  6513. "type": "integer"
  6514. },
  6515. "provinceid": {
  6516. "description": "省",
  6517. "type": "integer"
  6518. },
  6519. "remark": {
  6520. "description": "审核备注",
  6521. "type": "string"
  6522. },
  6523. "videourl": {
  6524. "description": "视频地址",
  6525. "type": "string"
  6526. },
  6527. "warehousecode": {
  6528. "description": "仓库代码",
  6529. "type": "string"
  6530. },
  6531. "warehousename": {
  6532. "description": "仓库名称",
  6533. "type": "string"
  6534. },
  6535. "warehousestatus": {
  6536. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  6537. "type": "integer"
  6538. },
  6539. "warehousetype": {
  6540. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  6541. "type": "integer"
  6542. }
  6543. }
  6544. },
  6545. "models.Wrstandard": {
  6546. "type": "object",
  6547. "required": [
  6548. "wrstandardid"
  6549. ],
  6550. "properties": {
  6551. "createtime": {
  6552. "description": "创建时间",
  6553. "type": "string"
  6554. },
  6555. "creatorid": {
  6556. "description": "创建人",
  6557. "type": "integer"
  6558. },
  6559. "deliverygoodsid": {
  6560. "description": "品种ID",
  6561. "type": "integer"
  6562. },
  6563. "factoryitemjson": {
  6564. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  6565. "type": "string"
  6566. },
  6567. "isvalid": {
  6568. "description": "是否有效 - 0:无效 1:有效",
  6569. "type": "integer"
  6570. },
  6571. "minivalue": {
  6572. "description": "最小变动值",
  6573. "type": "integer"
  6574. },
  6575. "minivaluedp": {
  6576. "description": "最小变动值小数位",
  6577. "type": "integer"
  6578. },
  6579. "realminivalue": {
  6580. "description": "实际最小变动值",
  6581. "type": "integer"
  6582. },
  6583. "realminivaluedp": {
  6584. "description": "实际最小变动值小数位",
  6585. "type": "integer"
  6586. },
  6587. "unitid": {
  6588. "description": "单位ID",
  6589. "type": "integer"
  6590. },
  6591. "updatetime": {
  6592. "description": "更新时间",
  6593. "type": "string"
  6594. },
  6595. "updatorid": {
  6596. "description": "更新人",
  6597. "type": "integer"
  6598. },
  6599. "wrsstatus": {
  6600. "description": "状态 - 作废 - 0:未激活 1:正常",
  6601. "type": "integer"
  6602. },
  6603. "wrstandardcode": {
  6604. "description": "仓单标准代码",
  6605. "type": "string"
  6606. },
  6607. "wrstandardid": {
  6608. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6609. "type": "integer"
  6610. },
  6611. "wrstandardname": {
  6612. "description": "仓单标准名称",
  6613. "type": "string"
  6614. }
  6615. }
  6616. },
  6617. "order.QueryHisTradeDetailRsp": {
  6618. "type": "object",
  6619. "required": [
  6620. "accountid",
  6621. "buyorsell",
  6622. "goodsid",
  6623. "histradedate",
  6624. "marketid",
  6625. "memberuserid",
  6626. "orderid",
  6627. "tradeamount",
  6628. "tradedate",
  6629. "tradeid",
  6630. "tradeprice",
  6631. "tradeqty",
  6632. "tradetime"
  6633. ],
  6634. "properties": {
  6635. "accountid": {
  6636. "description": "账户ID[报价币种]",
  6637. "type": "integer"
  6638. },
  6639. "buildtype": {
  6640. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  6641. "type": "integer"
  6642. },
  6643. "buyorsell": {
  6644. "description": "方向 - 0:买 1:卖",
  6645. "type": "integer"
  6646. },
  6647. "charge": {
  6648. "description": "手续费",
  6649. "type": "number"
  6650. },
  6651. "closecharge": {
  6652. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6653. "type": "number"
  6654. },
  6655. "closeexchagechargevalue": {
  6656. "description": "平仓交易所手续费设置值",
  6657. "type": "number"
  6658. },
  6659. "closefeealgorithm": {
  6660. "description": "平仓手续费收取方式 1:比率 2:固定",
  6661. "type": "integer"
  6662. },
  6663. "closememberchargevalue": {
  6664. "description": "平仓会员手续费设置值",
  6665. "type": "number"
  6666. },
  6667. "closepl": {
  6668. "description": "平仓盈亏",
  6669. "type": "number"
  6670. },
  6671. "closepl2": {
  6672. "description": "平仓盈亏[逐笔]",
  6673. "type": "number"
  6674. },
  6675. "closeqty": {
  6676. "description": "平仓数量(先建后平操作 需要记录)",
  6677. "type": "integer"
  6678. },
  6679. "creditamount": {
  6680. "description": "授信金额",
  6681. "type": "number"
  6682. },
  6683. "gcaccountid": {
  6684. "description": "账户ID[合约币种]",
  6685. "type": "integer"
  6686. },
  6687. "goodscode": {
  6688. "description": "商品代码",
  6689. "type": "string"
  6690. },
  6691. "goodsid": {
  6692. "description": "商品ID",
  6693. "type": "integer"
  6694. },
  6695. "goodsname": {
  6696. "description": "商品名称",
  6697. "type": "string"
  6698. },
  6699. "histradedate": {
  6700. "description": "历史交易日",
  6701. "type": "string"
  6702. },
  6703. "intclosepl": {
  6704. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  6705. "type": "integer"
  6706. },
  6707. "isconfirmexercise": {
  6708. "description": "是否确认行权- 0:否 1:是",
  6709. "type": "integer"
  6710. },
  6711. "ismain": {
  6712. "description": "是否主单 - 0:不是 1:是",
  6713. "type": "integer"
  6714. },
  6715. "ispreexercise": {
  6716. "description": "是否预申报- 0:否 1:是",
  6717. "type": "integer"
  6718. },
  6719. "isreckoned": {
  6720. "description": "是否结算 - 0:未结算 1:已结算",
  6721. "type": "integer"
  6722. },
  6723. "isvaliddata": {
  6724. "description": "是否有效 - 0:无效 1:有效",
  6725. "type": "integer"
  6726. },
  6727. "listingselecttype": {
  6728. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6729. "type": "integer"
  6730. },
  6731. "marketid": {
  6732. "description": "市场ID",
  6733. "type": "integer"
  6734. },
  6735. "marketname": {
  6736. "description": "市场名称",
  6737. "type": "string"
  6738. },
  6739. "matchaccountid": {
  6740. "description": "对手账号id",
  6741. "type": "integer"
  6742. },
  6743. "memberuserid": {
  6744. "description": "会员id 个人投资者 需要填写",
  6745. "type": "integer"
  6746. },
  6747. "opencharge": {
  6748. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  6749. "type": "number"
  6750. },
  6751. "openexchagechargevalue": {
  6752. "description": "建仓交易所手续费设置值",
  6753. "type": "number"
  6754. },
  6755. "openfeealgorithm": {
  6756. "description": "建仓手续费收取方式 1:比率 2:固定",
  6757. "type": "integer"
  6758. },
  6759. "openmemberchargevalue": {
  6760. "description": "建仓会员手续费设置值",
  6761. "type": "number"
  6762. },
  6763. "openqty": {
  6764. "description": "开仓数量(先建后平操作 需要记录)",
  6765. "type": "integer"
  6766. },
  6767. "optiontype": {
  6768. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6769. "type": "integer"
  6770. },
  6771. "orderid": {
  6772. "description": "委托单号",
  6773. "type": "string"
  6774. },
  6775. "performanceplanid": {
  6776. "description": "履约计划ID[期权]",
  6777. "type": "integer"
  6778. },
  6779. "performancestatus": {
  6780. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  6781. "type": "integer"
  6782. },
  6783. "preexerciseprice": {
  6784. "description": "预申报价格",
  6785. "type": "number"
  6786. },
  6787. "premium": {
  6788. "description": "权利金 - [持仓单的权利金]",
  6789. "type": "number"
  6790. },
  6791. "relatedouttradeid": {
  6792. "description": "关联外部成交单ID",
  6793. "type": "integer"
  6794. },
  6795. "status": {
  6796. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  6797. "type": "integer"
  6798. },
  6799. "tradeamount": {
  6800. "description": "成交金额[账户币种,用于所有权]",
  6801. "type": "number"
  6802. },
  6803. "tradedate": {
  6804. "description": "交易日(yyyyMMdd)",
  6805. "type": "string"
  6806. },
  6807. "tradeid": {
  6808. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6809. "type": "string"
  6810. },
  6811. "trademode": {
  6812. "description": "交易模式",
  6813. "type": "integer"
  6814. },
  6815. "tradeprice": {
  6816. "description": "成交价格",
  6817. "type": "number"
  6818. },
  6819. "tradeproperty": {
  6820. "description": "交易属性",
  6821. "type": "integer"
  6822. },
  6823. "tradeqty": {
  6824. "description": "成交数量",
  6825. "type": "integer"
  6826. },
  6827. "tradetime": {
  6828. "description": "成交时间",
  6829. "type": "string"
  6830. },
  6831. "tradetype": {
  6832. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  6833. "type": "integer"
  6834. }
  6835. }
  6836. },
  6837. "order.QueryHisTradeOrderDetailRsp": {
  6838. "type": "object",
  6839. "required": [
  6840. "accountid",
  6841. "buildtype",
  6842. "buyorsell",
  6843. "goodsid",
  6844. "histradedate",
  6845. "marketid",
  6846. "memberuserid",
  6847. "operatetype",
  6848. "orderid",
  6849. "orderqty",
  6850. "ordertime",
  6851. "pricemode",
  6852. "tradedate",
  6853. "validtype"
  6854. ],
  6855. "properties": {
  6856. "accountid": {
  6857. "description": "账户ID[报价币种]",
  6858. "type": "integer"
  6859. },
  6860. "buildtype": {
  6861. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6862. "type": "integer"
  6863. },
  6864. "buyorsell": {
  6865. "description": "买卖 - 0:买 1:卖",
  6866. "type": "integer"
  6867. },
  6868. "cancelorderid": {
  6869. "description": "撤单单号(撤单时填写)",
  6870. "type": "string"
  6871. },
  6872. "cancelqty": {
  6873. "description": "撤单数量",
  6874. "type": "integer"
  6875. },
  6876. "clientordertime": {
  6877. "description": "客户端委托时间",
  6878. "type": "string"
  6879. },
  6880. "clientticket": {
  6881. "description": "客户端流水号",
  6882. "type": "string"
  6883. },
  6884. "clienttype": {
  6885. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6886. "type": "integer"
  6887. },
  6888. "closeexchagechargevalue": {
  6889. "description": "平仓交易所手续费设置值",
  6890. "type": "number"
  6891. },
  6892. "closefeealgorithm": {
  6893. "description": "平仓手续费收取方式 1:比率 2:固定",
  6894. "type": "integer"
  6895. },
  6896. "closefreezecharge": {
  6897. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6898. "type": "number"
  6899. },
  6900. "closememberchargevalue": {
  6901. "description": "平仓会员手续费设置值",
  6902. "type": "number"
  6903. },
  6904. "closeqty": {
  6905. "description": "平仓数量(先建后平操作 需要记录)",
  6906. "type": "integer"
  6907. },
  6908. "closetradeqty": {
  6909. "description": "平仓成交数量(先建后平操作,需要记录)",
  6910. "type": "integer"
  6911. },
  6912. "closeunfreezecharge": {
  6913. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6914. "type": "number"
  6915. },
  6916. "delistingtype": {
  6917. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6918. "type": "integer"
  6919. },
  6920. "freezecharge": {
  6921. "description": "冻结手续费",
  6922. "type": "number"
  6923. },
  6924. "freezemargin": {
  6925. "description": "冻结保证金(冻结交易金额)",
  6926. "type": "number"
  6927. },
  6928. "gcaccountid": {
  6929. "description": "账户ID[合约币种]",
  6930. "type": "integer"
  6931. },
  6932. "goodscode": {
  6933. "description": "商品代码",
  6934. "type": "string"
  6935. },
  6936. "goodsid": {
  6937. "description": "商品ID",
  6938. "type": "integer"
  6939. },
  6940. "goodsname": {
  6941. "description": "商品名称",
  6942. "type": "string"
  6943. },
  6944. "histradedate": {
  6945. "description": "历史交易日",
  6946. "type": "string"
  6947. },
  6948. "isconfirmexercise": {
  6949. "description": "是否确认行权- 0:否 1:是",
  6950. "type": "integer"
  6951. },
  6952. "ispreexercise": {
  6953. "description": "是否预申报- 0:否 1:是",
  6954. "type": "integer"
  6955. },
  6956. "isvaliddata": {
  6957. "description": "是否有效 - 0:无效 1:有效",
  6958. "type": "integer"
  6959. },
  6960. "listingselecttype": {
  6961. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6962. "type": "integer"
  6963. },
  6964. "marginalgorithm": {
  6965. "description": "保证金收取方式 1:比率 2:固定",
  6966. "type": "integer"
  6967. },
  6968. "marginvalue": {
  6969. "description": "即市保证金设置值",
  6970. "type": "number"
  6971. },
  6972. "marketid": {
  6973. "description": "市场ID",
  6974. "type": "integer"
  6975. },
  6976. "marketmaxsub": {
  6977. "description": "市价最大偏移范围",
  6978. "type": "number"
  6979. },
  6980. "marketname": {
  6981. "description": "市场名称",
  6982. "type": "string"
  6983. },
  6984. "memberuserid": {
  6985. "description": "所属会员UserID",
  6986. "type": "integer"
  6987. },
  6988. "openexchagechargevalue": {
  6989. "description": "建仓交易所手续费设置值",
  6990. "type": "number"
  6991. },
  6992. "openfeealgorithm": {
  6993. "description": "建仓手续费收取方式 1:比率 2:固定",
  6994. "type": "integer"
  6995. },
  6996. "openfreezecharge": {
  6997. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6998. "type": "number"
  6999. },
  7000. "openmemberchargevalue": {
  7001. "description": "建仓会员手续费设置值",
  7002. "type": "number"
  7003. },
  7004. "openqty": {
  7005. "description": "开仓数量(先建后平操作,需要记录)",
  7006. "type": "integer"
  7007. },
  7008. "opentradeqty": {
  7009. "description": "开仓成交数量(先建后平操作,需要记录)",
  7010. "type": "integer"
  7011. },
  7012. "openunfreezecharge": {
  7013. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7014. "type": "number"
  7015. },
  7016. "operatetype": {
  7017. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7018. "type": "integer"
  7019. },
  7020. "operatorid": {
  7021. "description": "登录账号(LoginID)",
  7022. "type": "integer"
  7023. },
  7024. "optiontype": {
  7025. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7026. "type": "integer"
  7027. },
  7028. "orderid": {
  7029. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7030. "type": "string"
  7031. },
  7032. "orderprice": {
  7033. "description": "委托价格",
  7034. "type": "number"
  7035. },
  7036. "orderqty": {
  7037. "description": "委托数量",
  7038. "type": "integer"
  7039. },
  7040. "ordersrc": {
  7041. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7042. "type": "integer"
  7043. },
  7044. "orderstatus": {
  7045. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7046. "type": "integer"
  7047. },
  7048. "ordertime": {
  7049. "description": "委托时间",
  7050. "type": "string"
  7051. },
  7052. "preexerciseprice": {
  7053. "description": "预申报价格",
  7054. "type": "number"
  7055. },
  7056. "premium": {
  7057. "description": "权利金",
  7058. "type": "number"
  7059. },
  7060. "preorderid": {
  7061. "description": "关联预埋单号(止盈止损单时填写)",
  7062. "type": "string"
  7063. },
  7064. "pricemode": {
  7065. "description": "取价方式 - 1:市价 2: 限价",
  7066. "type": "integer"
  7067. },
  7068. "quoteid": {
  7069. "description": "报价单ID",
  7070. "type": "integer"
  7071. },
  7072. "relatedid": {
  7073. "description": "关联单号(交割单)",
  7074. "type": "string"
  7075. },
  7076. "retcode": {
  7077. "description": "错误代码",
  7078. "type": "integer"
  7079. },
  7080. "sessionid": {
  7081. "description": "会话ID",
  7082. "type": "integer"
  7083. },
  7084. "tradedate": {
  7085. "description": "交易日(yyyyMMdd)",
  7086. "type": "string"
  7087. },
  7088. "trademode": {
  7089. "description": "交易模式",
  7090. "type": "integer"
  7091. },
  7092. "tradeproperty": {
  7093. "description": "交易属性",
  7094. "type": "integer"
  7095. },
  7096. "tradeqty": {
  7097. "description": "成交数量",
  7098. "type": "integer"
  7099. },
  7100. "unfreezecharge": {
  7101. "description": "解冻手续费",
  7102. "type": "number"
  7103. },
  7104. "unfreezemargin": {
  7105. "description": "解冻保证金",
  7106. "type": "number"
  7107. },
  7108. "updatetime": {
  7109. "description": "更新时间",
  7110. "type": "string"
  7111. },
  7112. "uuid": {
  7113. "description": "发起端唯一id",
  7114. "type": "string"
  7115. },
  7116. "validtime": {
  7117. "description": "有效期限",
  7118. "type": "string"
  7119. },
  7120. "validtype": {
  7121. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7122. "type": "integer"
  7123. },
  7124. "volumetype": {
  7125. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7126. "type": "integer"
  7127. }
  7128. }
  7129. },
  7130. "order.QueryTradeDetailRsp": {
  7131. "type": "object",
  7132. "required": [
  7133. "accountid",
  7134. "buyorsell",
  7135. "goodsid",
  7136. "marketid",
  7137. "memberuserid",
  7138. "orderid",
  7139. "tradeamount",
  7140. "tradedate",
  7141. "tradeid",
  7142. "tradeprice",
  7143. "tradeqty",
  7144. "tradetime"
  7145. ],
  7146. "properties": {
  7147. "accountid": {
  7148. "description": "账户ID[报价币种]",
  7149. "type": "integer"
  7150. },
  7151. "buildtype": {
  7152. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  7153. "type": "integer"
  7154. },
  7155. "buyorsell": {
  7156. "description": "方向 - 0:买 1:卖",
  7157. "type": "integer"
  7158. },
  7159. "charge": {
  7160. "description": "手续费",
  7161. "type": "number"
  7162. },
  7163. "closecharge": {
  7164. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7165. "type": "number"
  7166. },
  7167. "closeexchagechargevalue": {
  7168. "description": "平仓交易所手续费设置值",
  7169. "type": "number"
  7170. },
  7171. "closefeealgorithm": {
  7172. "description": "平仓手续费收取方式 1:比率 2:固定",
  7173. "type": "integer"
  7174. },
  7175. "closememberchargevalue": {
  7176. "description": "平仓会员手续费设置值",
  7177. "type": "number"
  7178. },
  7179. "closepl": {
  7180. "description": "平仓盈亏",
  7181. "type": "number"
  7182. },
  7183. "closepl2": {
  7184. "description": "平仓盈亏[逐笔]",
  7185. "type": "number"
  7186. },
  7187. "closeqty": {
  7188. "description": "平仓数量(先建后平操作 需要记录)",
  7189. "type": "integer"
  7190. },
  7191. "creditamount": {
  7192. "description": "授信金额",
  7193. "type": "number"
  7194. },
  7195. "gcaccountid": {
  7196. "description": "账户ID[合约币种]",
  7197. "type": "integer"
  7198. },
  7199. "goodscode": {
  7200. "description": "商品代码",
  7201. "type": "string"
  7202. },
  7203. "goodsid": {
  7204. "description": "商品ID",
  7205. "type": "integer"
  7206. },
  7207. "goodsname": {
  7208. "description": "商品名称",
  7209. "type": "string"
  7210. },
  7211. "intclosepl": {
  7212. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  7213. "type": "integer"
  7214. },
  7215. "isconfirmexercise": {
  7216. "description": "是否确认行权- 0:否 1:是",
  7217. "type": "integer"
  7218. },
  7219. "ismain": {
  7220. "description": "是否主单 - 0:不是 1:是",
  7221. "type": "integer"
  7222. },
  7223. "ispreexercise": {
  7224. "description": "是否预申报- 0:否 1:是",
  7225. "type": "integer"
  7226. },
  7227. "isreckoned": {
  7228. "description": "是否结算 - 0:未结算 1:已结算",
  7229. "type": "integer"
  7230. },
  7231. "listingselecttype": {
  7232. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7233. "type": "integer"
  7234. },
  7235. "marketid": {
  7236. "description": "市场ID",
  7237. "type": "integer"
  7238. },
  7239. "marketname": {
  7240. "description": "市场名称",
  7241. "type": "string"
  7242. },
  7243. "matchaccountid": {
  7244. "description": "对手账号id",
  7245. "type": "integer"
  7246. },
  7247. "memberuserid": {
  7248. "description": "会员id 个人投资者 需要填写",
  7249. "type": "integer"
  7250. },
  7251. "opencharge": {
  7252. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  7253. "type": "number"
  7254. },
  7255. "openexchagechargevalue": {
  7256. "description": "建仓交易所手续费设置值",
  7257. "type": "number"
  7258. },
  7259. "openfeealgorithm": {
  7260. "description": "建仓手续费收取方式 1:比率 2:固定",
  7261. "type": "integer"
  7262. },
  7263. "openmemberchargevalue": {
  7264. "description": "建仓会员手续费设置值",
  7265. "type": "number"
  7266. },
  7267. "openqty": {
  7268. "description": "开仓数量(先建后平操作 需要记录)",
  7269. "type": "integer"
  7270. },
  7271. "optiontype": {
  7272. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  7273. "type": "integer"
  7274. },
  7275. "orderid": {
  7276. "description": "委托单号",
  7277. "type": "string"
  7278. },
  7279. "performanceplanid": {
  7280. "description": "履约计划ID[期权]",
  7281. "type": "integer"
  7282. },
  7283. "performancestatus": {
  7284. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  7285. "type": "integer"
  7286. },
  7287. "preexerciseprice": {
  7288. "description": "预申报价格",
  7289. "type": "number"
  7290. },
  7291. "premium": {
  7292. "description": "权利金 - [持仓单的权利金]",
  7293. "type": "number"
  7294. },
  7295. "relatedouttradeid": {
  7296. "description": "关联外部成交单ID",
  7297. "type": "integer"
  7298. },
  7299. "status": {
  7300. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  7301. "type": "integer"
  7302. },
  7303. "tradeamount": {
  7304. "description": "成交金额[账户币种,用于所有权]",
  7305. "type": "number"
  7306. },
  7307. "tradedate": {
  7308. "description": "交易日(yyyyMMdd)",
  7309. "type": "string"
  7310. },
  7311. "tradeid": {
  7312. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7313. "type": "string"
  7314. },
  7315. "trademode": {
  7316. "description": "交易模式",
  7317. "type": "integer"
  7318. },
  7319. "tradeprice": {
  7320. "description": "成交价格",
  7321. "type": "number"
  7322. },
  7323. "tradeproperty": {
  7324. "description": "交易属性",
  7325. "type": "integer"
  7326. },
  7327. "tradeqty": {
  7328. "description": "成交数量",
  7329. "type": "integer"
  7330. },
  7331. "tradetime": {
  7332. "description": "成交时间",
  7333. "type": "string"
  7334. },
  7335. "tradetype": {
  7336. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  7337. "type": "integer"
  7338. }
  7339. }
  7340. },
  7341. "order.QueryTradeOrderDetailRsp": {
  7342. "type": "object",
  7343. "required": [
  7344. "accountid",
  7345. "buildtype",
  7346. "buyorsell",
  7347. "goodsid",
  7348. "marketid",
  7349. "operatetype",
  7350. "orderqty",
  7351. "ordertime",
  7352. "pricemode",
  7353. "tradedate",
  7354. "validtype"
  7355. ],
  7356. "properties": {
  7357. "accountid": {
  7358. "description": "账户ID[报价币种]",
  7359. "type": "integer"
  7360. },
  7361. "buildtype": {
  7362. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  7363. "type": "integer"
  7364. },
  7365. "buyorsell": {
  7366. "description": "买卖 - 0:买 1:卖",
  7367. "type": "integer"
  7368. },
  7369. "cancelorderid": {
  7370. "description": "撤单单号(撤单时填写)",
  7371. "type": "string"
  7372. },
  7373. "cancelqty": {
  7374. "description": "撤单数量",
  7375. "type": "integer"
  7376. },
  7377. "clienttype": {
  7378. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  7379. "type": "integer"
  7380. },
  7381. "closefreezecharge": {
  7382. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  7383. "type": "number"
  7384. },
  7385. "closeqty": {
  7386. "description": "平仓数量(先建后平操作 需要记录)",
  7387. "type": "integer"
  7388. },
  7389. "closetradeqty": {
  7390. "description": "平仓成交数量(先建后平操作,需要记录)",
  7391. "type": "integer"
  7392. },
  7393. "closeunfreezecharge": {
  7394. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  7395. "type": "number"
  7396. },
  7397. "delistingtype": {
  7398. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  7399. "type": "integer"
  7400. },
  7401. "enableqty": {
  7402. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  7403. "type": "integer"
  7404. },
  7405. "freezecharge": {
  7406. "description": "冻结手续费",
  7407. "type": "number"
  7408. },
  7409. "freezemargin": {
  7410. "description": "冻结保证金(冻结交易金额)",
  7411. "type": "number"
  7412. },
  7413. "goodscode": {
  7414. "description": "商品代码",
  7415. "type": "string"
  7416. },
  7417. "goodsid": {
  7418. "description": "商品ID",
  7419. "type": "integer"
  7420. },
  7421. "goodsname": {
  7422. "description": "商品名称",
  7423. "type": "string"
  7424. },
  7425. "listingselecttype": {
  7426. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  7427. "type": "integer"
  7428. },
  7429. "marketid": {
  7430. "description": "市场ID",
  7431. "type": "integer"
  7432. },
  7433. "marketname": {
  7434. "description": "市场名称",
  7435. "type": "string"
  7436. },
  7437. "openfreezecharge": {
  7438. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  7439. "type": "number"
  7440. },
  7441. "openqty": {
  7442. "description": "开仓数量(先建后平操作,需要记录)",
  7443. "type": "integer"
  7444. },
  7445. "opentradeqty": {
  7446. "description": "开仓成交数量(先建后平操作,需要记录)",
  7447. "type": "integer"
  7448. },
  7449. "openunfreezecharge": {
  7450. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  7451. "type": "number"
  7452. },
  7453. "operatetype": {
  7454. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  7455. "type": "integer"
  7456. },
  7457. "operatorid": {
  7458. "description": "登录账号(LoginID)",
  7459. "type": "integer"
  7460. },
  7461. "orderid": {
  7462. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7463. "type": "string"
  7464. },
  7465. "orderprice": {
  7466. "description": "委托价格",
  7467. "type": "number"
  7468. },
  7469. "orderqty": {
  7470. "description": "委托数量",
  7471. "type": "integer"
  7472. },
  7473. "ordersrc": {
  7474. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  7475. "type": "integer"
  7476. },
  7477. "orderstatus": {
  7478. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  7479. "type": "integer"
  7480. },
  7481. "ordertime": {
  7482. "description": "委托时间",
  7483. "type": "string"
  7484. },
  7485. "preorderid": {
  7486. "description": "关联预埋单号(止盈止损单时填写)",
  7487. "type": "string"
  7488. },
  7489. "pricemode": {
  7490. "description": "取价方式 - 1:市价 2: 限价",
  7491. "type": "integer"
  7492. },
  7493. "relatedid": {
  7494. "description": "关联单号(交割单)",
  7495. "type": "string"
  7496. },
  7497. "tradedate": {
  7498. "description": "交易日(yyyyMMdd)",
  7499. "type": "string"
  7500. },
  7501. "trademode": {
  7502. "description": "交易模式",
  7503. "type": "integer"
  7504. },
  7505. "tradeqty": {
  7506. "description": "成交数量",
  7507. "type": "integer"
  7508. },
  7509. "unfreezecharge": {
  7510. "description": "解冻手续费",
  7511. "type": "number"
  7512. },
  7513. "unfreezemargin": {
  7514. "description": "解冻保证金",
  7515. "type": "number"
  7516. },
  7517. "validtime": {
  7518. "description": "有效期限",
  7519. "type": "string"
  7520. },
  7521. "validtype": {
  7522. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7523. "type": "integer"
  7524. },
  7525. "volumetype": {
  7526. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7527. "type": "integer"
  7528. }
  7529. }
  7530. },
  7531. "order.QueryTradePositionRsp": {
  7532. "type": "object",
  7533. "required": [
  7534. "goodsid"
  7535. ],
  7536. "properties": {
  7537. "accountid": {
  7538. "description": "资金账户",
  7539. "type": "integer"
  7540. },
  7541. "agreeunit": {
  7542. "description": "合约单位",
  7543. "type": "number"
  7544. },
  7545. "averageprice": {
  7546. "description": "持仓均价",
  7547. "type": "number"
  7548. },
  7549. "buyorsell": {
  7550. "description": "方向 - 0:买 1:卖",
  7551. "type": "integer"
  7552. },
  7553. "closetotalqty": {
  7554. "description": "平仓总数量",
  7555. "type": "integer"
  7556. },
  7557. "curholderamount": {
  7558. "description": "当前持仓总金额[商品币种]",
  7559. "type": "number"
  7560. },
  7561. "curpositionqty": {
  7562. "description": "当前持仓总数量",
  7563. "type": "integer"
  7564. },
  7565. "currencyid": {
  7566. "description": "报价货币ID",
  7567. "type": "integer"
  7568. },
  7569. "curtdposition": {
  7570. "description": "期末今日头寸",
  7571. "type": "integer"
  7572. },
  7573. "decimalplace": {
  7574. "description": "报价小数位",
  7575. "type": "integer"
  7576. },
  7577. "enableqty": {
  7578. "description": "可用量",
  7579. "type": "integer"
  7580. },
  7581. "fretdposition": {
  7582. "description": "冻结今日头寸",
  7583. "type": "integer"
  7584. },
  7585. "frozenqty": {
  7586. "description": "持仓冻结数量",
  7587. "type": "integer"
  7588. },
  7589. "goodscode": {
  7590. "description": "商品代码",
  7591. "type": "string"
  7592. },
  7593. "goodsid": {
  7594. "description": "商品Id",
  7595. "type": "integer"
  7596. },
  7597. "goodsname": {
  7598. "description": "商品名称",
  7599. "type": "string"
  7600. },
  7601. "goodunit": {
  7602. "description": "报价单位",
  7603. "type": "string"
  7604. },
  7605. "goodunitid": {
  7606. "description": "报价单位ID",
  7607. "type": "integer"
  7608. },
  7609. "holderamount": {
  7610. "description": "期初持仓总金额[商品币种]",
  7611. "type": "number"
  7612. },
  7613. "marketid": {
  7614. "description": "所属市场ID",
  7615. "type": "integer"
  7616. },
  7617. "openreqqty": {
  7618. "description": "开仓申请数量(用于比较最大持仓数量)",
  7619. "type": "integer"
  7620. },
  7621. "opentotalqty": {
  7622. "description": "开仓总数量",
  7623. "type": "integer"
  7624. },
  7625. "otherfrozenqty": {
  7626. "description": "持仓其他冻结数量(交割冻结)",
  7627. "type": "integer"
  7628. },
  7629. "positionqty": {
  7630. "description": "期初持仓数量",
  7631. "type": "integer"
  7632. },
  7633. "tnqty": {
  7634. "description": "T+N冻结总量",
  7635. "type": "integer"
  7636. },
  7637. "tnusedqty": {
  7638. "description": "T+N使用量(可以使用T+N的冻结数量)",
  7639. "type": "integer"
  7640. },
  7641. "trademode": {
  7642. "description": "交易模式",
  7643. "type": "integer"
  7644. },
  7645. "usedmargin": {
  7646. "description": "占用保证金[商品币种]",
  7647. "type": "number"
  7648. }
  7649. }
  7650. },
  7651. "quote.HistoryData": {
  7652. "type": "object",
  7653. "properties": {
  7654. "c": {
  7655. "description": "收盘价",
  7656. "type": "number"
  7657. },
  7658. "h": {
  7659. "description": "最高价",
  7660. "type": "number"
  7661. },
  7662. "hv": {
  7663. "description": "持仓量",
  7664. "type": "integer"
  7665. },
  7666. "l": {
  7667. "description": "最低价",
  7668. "type": "number"
  7669. },
  7670. "o": {
  7671. "description": "开盘价",
  7672. "type": "number"
  7673. },
  7674. "s": {
  7675. "description": "结算价,日线周期(包括)以上才有",
  7676. "type": "number"
  7677. },
  7678. "ts": {
  7679. "description": "时间",
  7680. "type": "string"
  7681. },
  7682. "tt": {
  7683. "description": "总金额",
  7684. "type": "number"
  7685. },
  7686. "tv": {
  7687. "description": "总量",
  7688. "type": "integer"
  7689. }
  7690. }
  7691. },
  7692. "quote.QueryTSDataRsp": {
  7693. "type": "object",
  7694. "properties": {
  7695. "decimalPlace": {
  7696. "description": "小数位",
  7697. "type": "integer"
  7698. },
  7699. "endTime": {
  7700. "description": "结束时间",
  7701. "type": "string"
  7702. },
  7703. "goodsCode": {
  7704. "description": "商品代码",
  7705. "type": "string"
  7706. },
  7707. "historyDatas": {
  7708. "description": "历史数据",
  7709. "type": "array",
  7710. "items": {
  7711. "$ref": "#/definitions/quote.HistoryData"
  7712. }
  7713. },
  7714. "preSettle": {
  7715. "description": "昨结",
  7716. "type": "number"
  7717. },
  7718. "startTime": {
  7719. "description": "开始时间",
  7720. "type": "string"
  7721. },
  7722. "tradeDate": {
  7723. "description": "交易日",
  7724. "type": "string"
  7725. }
  7726. }
  7727. },
  7728. "szdz.QueryConvertLogRsp": {
  7729. "type": "object",
  7730. "required": [
  7731. "logid"
  7732. ],
  7733. "properties": {
  7734. "accountid": {
  7735. "description": "资金账户ID",
  7736. "type": "integer"
  7737. },
  7738. "clientticket": {
  7739. "description": "客户端流水号",
  7740. "type": "string"
  7741. },
  7742. "converttype": {
  7743. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  7744. "type": "integer"
  7745. },
  7746. "createtime": {
  7747. "description": "记账时间",
  7748. "type": "string"
  7749. },
  7750. "daymaxvalue": {
  7751. "description": "配置当日最大转入限制",
  7752. "type": "number"
  7753. },
  7754. "daymaxvalue2": {
  7755. "description": "配置当日最大转入限制(转入)",
  7756. "type": "number"
  7757. },
  7758. "goodscode": {
  7759. "description": "商品代码",
  7760. "type": "string"
  7761. },
  7762. "goodsname": {
  7763. "description": "商品名称",
  7764. "type": "string"
  7765. },
  7766. "handlestatus": {
  7767. "description": "处理状态",
  7768. "type": "integer"
  7769. },
  7770. "innergoodsid": {
  7771. "description": "内部商品ID",
  7772. "type": "integer"
  7773. },
  7774. "inratio": {
  7775. "description": "配置转入比值",
  7776. "type": "integer"
  7777. },
  7778. "invalue": {
  7779. "description": "目标值",
  7780. "type": "number"
  7781. },
  7782. "logid": {
  7783. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7784. "type": "integer"
  7785. },
  7786. "mobile": {
  7787. "description": "手机号码(加密存储)",
  7788. "type": "string"
  7789. },
  7790. "outergoodscode": {
  7791. "description": "外部商品代码[JD\\PD]",
  7792. "type": "string"
  7793. },
  7794. "outratio": {
  7795. "description": "配置转出比值",
  7796. "type": "integer"
  7797. },
  7798. "outvalue": {
  7799. "description": "源值",
  7800. "type": "number"
  7801. },
  7802. "pddecimalplace": {
  7803. "description": "PD小数位",
  7804. "type": "integer"
  7805. },
  7806. "qty": {
  7807. "description": "数量",
  7808. "type": "string"
  7809. },
  7810. "remark": {
  7811. "description": "备注",
  7812. "type": "string"
  7813. },
  7814. "sessionid": {
  7815. "description": "会话ID",
  7816. "type": "integer"
  7817. },
  7818. "timemaxvalue": {
  7819. "description": "配置单次最大转入限制",
  7820. "type": "number"
  7821. },
  7822. "timemaxvalue2": {
  7823. "description": "配置单次最大转入限制(转入)",
  7824. "type": "number"
  7825. },
  7826. "timeminvalue": {
  7827. "description": "配置单次最小数量限制",
  7828. "type": "number"
  7829. },
  7830. "timeminvalue2": {
  7831. "description": "配置单次最小数量限制(转入)",
  7832. "type": "number"
  7833. },
  7834. "tradedate": {
  7835. "description": "交易日(yyyyMMdd)",
  7836. "type": "string"
  7837. },
  7838. "userid": {
  7839. "description": "用户ID",
  7840. "type": "integer"
  7841. }
  7842. }
  7843. },
  7844. "szdz.QueryGoodsPickupRsp": {
  7845. "type": "object",
  7846. "required": [
  7847. "takeorderid"
  7848. ],
  7849. "properties": {
  7850. "accountid": {
  7851. "description": "账户ID",
  7852. "type": "integer"
  7853. },
  7854. "address": {
  7855. "description": "提货人详细地址",
  7856. "type": "string"
  7857. },
  7858. "auditer": {
  7859. "description": "审核人",
  7860. "type": "integer"
  7861. },
  7862. "audittime": {
  7863. "description": "审核时间",
  7864. "type": "string"
  7865. },
  7866. "cardnum": {
  7867. "description": "提货人证件号码",
  7868. "type": "string"
  7869. },
  7870. "cardtypeid": {
  7871. "description": "提货人证件类型",
  7872. "type": "integer"
  7873. },
  7874. "checkremark": {
  7875. "description": "审核备注",
  7876. "type": "string"
  7877. },
  7878. "goodscode": {
  7879. "description": "商品代码",
  7880. "type": "string"
  7881. },
  7882. "goodsid": {
  7883. "description": "商品ID",
  7884. "type": "integer"
  7885. },
  7886. "goodsname": {
  7887. "description": "商品名称",
  7888. "type": "string"
  7889. },
  7890. "handlestatus": {
  7891. "description": "处理状态",
  7892. "type": "integer"
  7893. },
  7894. "marketid": {
  7895. "description": "市场ID",
  7896. "type": "integer"
  7897. },
  7898. "phonenum": {
  7899. "description": "提货人联系方式",
  7900. "type": "string"
  7901. },
  7902. "qty": {
  7903. "description": "提货数量",
  7904. "type": "number"
  7905. },
  7906. "recivername": {
  7907. "description": "提货人姓名",
  7908. "type": "string"
  7909. },
  7910. "reqtime": {
  7911. "description": "更新时间",
  7912. "type": "string"
  7913. },
  7914. "takemode": {
  7915. "description": "提货方式 - 2:自提 3:配送",
  7916. "type": "integer"
  7917. },
  7918. "takeorderid": {
  7919. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  7920. "type": "string"
  7921. },
  7922. "takeorderstatus": {
  7923. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7924. "type": "integer"
  7925. },
  7926. "takeremark": {
  7927. "description": "提货备注",
  7928. "type": "string"
  7929. },
  7930. "tradedate": {
  7931. "description": "交易日(yyyyMMdd)",
  7932. "type": "string"
  7933. },
  7934. "userid": {
  7935. "description": "用户ID",
  7936. "type": "integer"
  7937. }
  7938. }
  7939. },
  7940. "szdz.QueryRecieptOrderRsp": {
  7941. "type": "object",
  7942. "properties": {
  7943. "accountName": {
  7944. "description": "所属账号名称(已脱敏)",
  7945. "type": "string"
  7946. },
  7947. "accountid": {
  7948. "description": "资金账号",
  7949. "type": "integer"
  7950. },
  7951. "buyorsell": {
  7952. "description": "方向 - 0:买 1:卖",
  7953. "type": "integer"
  7954. },
  7955. "enableqty": {
  7956. "description": "可摘数量",
  7957. "type": "integer"
  7958. },
  7959. "goodscode": {
  7960. "description": "商品代码",
  7961. "type": "string"
  7962. },
  7963. "goodsid": {
  7964. "description": "商品ID",
  7965. "type": "integer"
  7966. },
  7967. "goodsname": {
  7968. "description": "商品名称",
  7969. "type": "string"
  7970. },
  7971. "orderid": {
  7972. "description": "委托单号",
  7973. "type": "string"
  7974. },
  7975. "orderprice": {
  7976. "description": "委托价格",
  7977. "type": "number"
  7978. },
  7979. "tradedate": {
  7980. "description": "交易日(yyyyMMdd)",
  7981. "type": "string"
  7982. }
  7983. }
  7984. },
  7985. "szdz.QuerySZDZTradePositionRsp": {
  7986. "type": "object",
  7987. "properties": {
  7988. "accountid": {
  7989. "description": "账号Id",
  7990. "type": "integer"
  7991. },
  7992. "agreeunit": {
  7993. "description": "合约单位",
  7994. "type": "number"
  7995. },
  7996. "averageprice": {
  7997. "description": "持仓均价",
  7998. "type": "number"
  7999. },
  8000. "buyorsell": {
  8001. "description": "方向 - 0:买 1:卖",
  8002. "type": "integer"
  8003. },
  8004. "closetotalqty": {
  8005. "description": "平仓总数量",
  8006. "type": "integer"
  8007. },
  8008. "curholderamount": {
  8009. "description": "当前持仓总金额",
  8010. "type": "number"
  8011. },
  8012. "curpositionqty": {
  8013. "description": "当前持仓总数量",
  8014. "type": "integer"
  8015. },
  8016. "currencyid": {
  8017. "description": "报价货币ID",
  8018. "type": "integer"
  8019. },
  8020. "curtdposition": {
  8021. "description": "期末今日头寸",
  8022. "type": "integer"
  8023. },
  8024. "decimalplace": {
  8025. "description": "报价小数位",
  8026. "type": "integer"
  8027. },
  8028. "enableqty": {
  8029. "description": "可用量",
  8030. "type": "integer"
  8031. },
  8032. "fretdposition": {
  8033. "description": "冻结今日头寸",
  8034. "type": "integer"
  8035. },
  8036. "frozenqty": {
  8037. "description": "持仓冻结数量",
  8038. "type": "integer"
  8039. },
  8040. "goodscode": {
  8041. "description": "商品代码(内部)",
  8042. "type": "string"
  8043. },
  8044. "goodsid": {
  8045. "description": "商品Id",
  8046. "type": "integer"
  8047. },
  8048. "goodsname": {
  8049. "description": "商品名称",
  8050. "type": "string"
  8051. },
  8052. "goodunit": {
  8053. "description": "报价单位",
  8054. "type": "string"
  8055. },
  8056. "goodunitid": {
  8057. "description": "报价单位ID",
  8058. "type": "integer"
  8059. },
  8060. "holderamount": {
  8061. "description": "期初持仓总金额",
  8062. "type": "number"
  8063. },
  8064. "marketid": {
  8065. "description": "市场ID",
  8066. "type": "integer"
  8067. },
  8068. "openreqqty": {
  8069. "description": "开仓申请数量",
  8070. "type": "integer"
  8071. },
  8072. "opentotalqty": {
  8073. "description": "开仓总数量",
  8074. "type": "integer"
  8075. },
  8076. "otherfrozenqty": {
  8077. "description": "持仓其他冻结数量(交割冻结)",
  8078. "type": "integer"
  8079. },
  8080. "positionqty": {
  8081. "description": "期初持仓数量",
  8082. "type": "integer"
  8083. },
  8084. "szdz3freezqty": {
  8085. "description": "尚志大宗转换冻结总数量",
  8086. "type": "integer"
  8087. },
  8088. "tnqty": {
  8089. "description": "T+N冻结总量",
  8090. "type": "integer"
  8091. },
  8092. "tnusedqty": {
  8093. "description": "T+N使用量",
  8094. "type": "integer"
  8095. },
  8096. "trademode": {
  8097. "description": "交易模式",
  8098. "type": "integer"
  8099. },
  8100. "usedmargin": {
  8101. "description": "占用保证金",
  8102. "type": "number"
  8103. }
  8104. }
  8105. },
  8106. "taaccount.QueryAmountLogRsp": {
  8107. "type": "object",
  8108. "required": [
  8109. "accountid",
  8110. "amount",
  8111. "amountadjusttype",
  8112. "autoid",
  8113. "balance",
  8114. "createtime",
  8115. "currentbalance",
  8116. "operatetype"
  8117. ],
  8118. "properties": {
  8119. "OPERATETYPENAME": {
  8120. "description": "资金操作类型名称",
  8121. "type": "string"
  8122. },
  8123. "accountid": {
  8124. "description": "资金账户ID",
  8125. "type": "integer"
  8126. },
  8127. "agoodscode": {
  8128. "description": "竞拍商品代码",
  8129. "type": "string"
  8130. },
  8131. "agoodsname": {
  8132. "description": "竞拍商品名称",
  8133. "type": "string"
  8134. },
  8135. "amount": {
  8136. "description": "资金金额",
  8137. "type": "number"
  8138. },
  8139. "amountadjusttype": {
  8140. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8141. "type": "integer"
  8142. },
  8143. "autoid": {
  8144. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8145. "type": "integer"
  8146. },
  8147. "balance": {
  8148. "description": "期初余额",
  8149. "type": "number"
  8150. },
  8151. "businesscode": {
  8152. "description": "业务编号",
  8153. "type": "integer"
  8154. },
  8155. "createtime": {
  8156. "description": "发生时间",
  8157. "type": "string"
  8158. },
  8159. "currencyid": {
  8160. "description": "币种ID",
  8161. "type": "integer"
  8162. },
  8163. "currentbalance": {
  8164. "description": "期末余额(变动后金额)",
  8165. "type": "number"
  8166. },
  8167. "dgoodscode": {
  8168. "description": "交割商品代码",
  8169. "type": "string"
  8170. },
  8171. "dgoodsname": {
  8172. "description": "交割商品名称",
  8173. "type": "string"
  8174. },
  8175. "goodscode": {
  8176. "description": "商品代码",
  8177. "type": "string"
  8178. },
  8179. "goodsid": {
  8180. "description": "商品ID",
  8181. "type": "integer"
  8182. },
  8183. "goodsname": {
  8184. "description": "商品名称",
  8185. "type": "string"
  8186. },
  8187. "marketid": {
  8188. "description": "市场ID",
  8189. "type": "integer"
  8190. },
  8191. "marketname": {
  8192. "description": "市场名称",
  8193. "type": "string"
  8194. },
  8195. "moneyticket": {
  8196. "description": "资金流水号:银行端流水号",
  8197. "type": "integer"
  8198. },
  8199. "operatetype": {
  8200. "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:营销收款",
  8201. "type": "integer"
  8202. },
  8203. "relationorderid": {
  8204. "description": "关联单号",
  8205. "type": "string"
  8206. },
  8207. "remark": {
  8208. "description": "备注",
  8209. "type": "string"
  8210. },
  8211. "trademode": {
  8212. "description": "交易模式",
  8213. "type": "integer"
  8214. }
  8215. }
  8216. },
  8217. "taaccount.QueryHisAmountLogRsp": {
  8218. "type": "object",
  8219. "required": [
  8220. "accountid",
  8221. "amount",
  8222. "amountadjusttype",
  8223. "autoid",
  8224. "balance",
  8225. "createtime",
  8226. "currentbalance",
  8227. "histradedate",
  8228. "operatetype"
  8229. ],
  8230. "properties": {
  8231. "OPERATETYPENAME": {
  8232. "description": "资金操作类型名称",
  8233. "type": "string"
  8234. },
  8235. "accountid": {
  8236. "description": "资金账户ID",
  8237. "type": "integer"
  8238. },
  8239. "agoodscode": {
  8240. "description": "竞拍商品代码",
  8241. "type": "string"
  8242. },
  8243. "agoodsname": {
  8244. "description": "竞拍商品名称",
  8245. "type": "string"
  8246. },
  8247. "amount": {
  8248. "description": "资金金额",
  8249. "type": "number"
  8250. },
  8251. "amountadjusttype": {
  8252. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  8253. "type": "integer"
  8254. },
  8255. "autoid": {
  8256. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  8257. "type": "integer"
  8258. },
  8259. "balance": {
  8260. "description": "期初余额",
  8261. "type": "number"
  8262. },
  8263. "businesscode": {
  8264. "description": "业务编号",
  8265. "type": "integer"
  8266. },
  8267. "createtime": {
  8268. "description": "发生时间",
  8269. "type": "string"
  8270. },
  8271. "currencyid": {
  8272. "description": "币种ID",
  8273. "type": "integer"
  8274. },
  8275. "currentbalance": {
  8276. "description": "期末余额(变动后金额)",
  8277. "type": "number"
  8278. },
  8279. "dgoodscode": {
  8280. "description": "交割商品代码",
  8281. "type": "string"
  8282. },
  8283. "dgoodsname": {
  8284. "description": "交割商品名称",
  8285. "type": "string"
  8286. },
  8287. "goodscode": {
  8288. "description": "商品代码",
  8289. "type": "string"
  8290. },
  8291. "goodsid": {
  8292. "description": "商品ID",
  8293. "type": "integer"
  8294. },
  8295. "goodsname": {
  8296. "description": "商品名称",
  8297. "type": "string"
  8298. },
  8299. "histradedate": {
  8300. "description": "历史交易日",
  8301. "type": "string"
  8302. },
  8303. "isvaliddata": {
  8304. "description": "是否有效 - 0:无效 1:有效",
  8305. "type": "integer"
  8306. },
  8307. "marketid": {
  8308. "description": "市场ID",
  8309. "type": "integer"
  8310. },
  8311. "marketname": {
  8312. "description": "市场名称",
  8313. "type": "string"
  8314. },
  8315. "moneyticket": {
  8316. "description": "资金流水号:银行端流水号",
  8317. "type": "integer"
  8318. },
  8319. "operatetype": {
  8320. "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:营销收款",
  8321. "type": "integer"
  8322. },
  8323. "relationorderid": {
  8324. "description": "关联单号",
  8325. "type": "string"
  8326. },
  8327. "remark": {
  8328. "description": "备注",
  8329. "type": "string"
  8330. },
  8331. "trademode": {
  8332. "description": "交易模式",
  8333. "type": "integer"
  8334. }
  8335. }
  8336. }
  8337. },
  8338. "securityDefinitions": {
  8339. "ApiKeyAuth": {
  8340. "type": "apiKey",
  8341. "name": "Authorization",
  8342. "in": "header"
  8343. }
  8344. }
  8345. }`
  8346. type swaggerInfo struct {
  8347. Version string
  8348. Host string
  8349. BasePath string
  8350. Schemes []string
  8351. Title string
  8352. Description string
  8353. }
  8354. // SwaggerInfo holds exported Swagger Info so clients can modify it
  8355. var SwaggerInfo = swaggerInfo{
  8356. Version: "1.0",
  8357. Host: "",
  8358. BasePath: "/api",
  8359. Schemes: []string{},
  8360. Title: "MTP2.0 查询服务 API",
  8361. Description: "新的查询服务,替代原通用查询服务。",
  8362. }
  8363. type s struct{}
  8364. func (s *s) ReadDoc() string {
  8365. sInfo := SwaggerInfo
  8366. sInfo.Description = strings.Replace(sInfo.Description, "\n", "\\n", -1)
  8367. t, err := template.New("swagger_info").Funcs(template.FuncMap{
  8368. "marshal": func(v interface{}) string {
  8369. a, _ := json.Marshal(v)
  8370. return string(a)
  8371. },
  8372. }).Parse(doc)
  8373. if err != nil {
  8374. return doc
  8375. }
  8376. var tpl bytes.Buffer
  8377. if err := t.Execute(&tpl, sInfo); err != nil {
  8378. return doc
  8379. }
  8380. return tpl.String()
  8381. }
  8382. func init() {
  8383. swag.Register(swag.Name, &s{})
  8384. }